@payfit/unity-components 1.0.0 → 1.1.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 (254) hide show
  1. package/dist/esm/components/action-bar/ActionBar.d.ts +153 -0
  2. package/dist/esm/components/action-bar/ActionBar.js +173 -0
  3. package/dist/esm/components/action-bar/parts/ActionBarAction.d.ts +44 -0
  4. package/dist/esm/components/action-bar/parts/ActionBarAction.js +45 -0
  5. package/dist/esm/components/action-bar/parts/ActionBarRoot.d.ts +44 -0
  6. package/dist/esm/components/action-bar/parts/ActionBarRoot.js +46 -0
  7. package/dist/esm/components/actionable/Actionable.js +20 -21
  8. package/dist/esm/components/alert/Alert.d.ts +1 -1
  9. package/dist/esm/components/alert/Alert.js +1 -1
  10. package/dist/esm/components/alert/parts/AlertActions.d.ts +1 -1
  11. package/dist/esm/components/alert/parts/AlertActions.js +1 -1
  12. package/dist/esm/components/alert/parts/AlertContent.d.ts +1 -1
  13. package/dist/esm/components/alert/parts/AlertTitle.d.ts +1 -1
  14. package/dist/esm/components/anchor/Anchor.js +1 -1
  15. package/dist/esm/components/app-layout/AppLayout.js +6 -6
  16. package/dist/esm/components/app-menu/parts/AppMenuFooter.js +30 -30
  17. package/dist/esm/components/app-menu/parts/AppMenuNavContent.js +1 -1
  18. package/dist/esm/components/autocomplete/Autocomplete.d.ts +1 -1
  19. package/dist/esm/components/autocomplete/Autocomplete.js +14 -14
  20. package/dist/esm/components/autocomplete/parts/AutocompleteClearButton.js +5 -5
  21. package/dist/esm/components/autocomplete/parts/AutocompleteItem.d.ts +1 -1
  22. package/dist/esm/components/autocomplete/parts/AutocompleteItem.js +4 -4
  23. package/dist/esm/components/autocomplete/parts/AutocompleteItemGroup.d.ts +1 -1
  24. package/dist/esm/components/autocomplete/parts/AutocompleteItemGroup.js +12 -12
  25. package/dist/esm/components/autocomplete/parts/AutocompletePanel.d.ts +1 -1
  26. package/dist/esm/components/autocomplete/parts/AutocompletePanel.js +7 -7
  27. package/dist/esm/components/avatar/Avatar.d.ts +1 -1
  28. package/dist/esm/components/avatar/Avatar.js +15 -16
  29. package/dist/esm/components/avatar/Avatar.variants.js +1 -1
  30. package/dist/esm/components/avatar/parts/AvatarFallback.d.ts +1 -1
  31. package/dist/esm/components/avatar/parts/AvatarFallback.js +9 -10
  32. package/dist/esm/components/avatar/parts/AvatarImage.js +12 -12
  33. package/dist/esm/components/avatar/parts/AvatarPair.d.ts +1 -1
  34. package/dist/esm/components/avatar/parts/AvatarPair.js +4 -4
  35. package/dist/esm/components/badge/Badge.d.ts +1 -1
  36. package/dist/esm/components/badge/Badge.js +31 -35
  37. package/dist/esm/components/bottom-sheet/BottomSheet.d.ts +1 -1
  38. package/dist/esm/components/bottom-sheet/BottomSheet.js +14 -14
  39. package/dist/esm/components/bottom-sheet/parts/BottomSheetContent.d.ts +1 -1
  40. package/dist/esm/components/bottom-sheet/parts/BottomSheetContent.js +4 -4
  41. package/dist/esm/components/bottom-sheet/parts/BottomSheetDragIndicator.js +11 -11
  42. package/dist/esm/components/bottom-sheet/parts/BottomSheetFooter.d.ts +1 -1
  43. package/dist/esm/components/bottom-sheet/parts/BottomSheetFooter.js +4 -4
  44. package/dist/esm/components/bottom-sheet/parts/BottomSheetHeader.d.ts +4 -4
  45. package/dist/esm/components/bottom-sheet/parts/BottomSheetHeader.js +6 -6
  46. package/dist/esm/components/breadcrumbs/Breadcrumbs.context.d.ts +1 -1
  47. package/dist/esm/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
  48. package/dist/esm/components/breadcrumbs/Breadcrumbs.variant.js +3 -3
  49. package/dist/esm/components/button/Button.js +33 -41
  50. package/dist/esm/components/button/Button.variants.d.ts +1 -1
  51. package/dist/esm/components/button/Button.variants.js +1 -1
  52. package/dist/esm/components/checkbox/Checkbox.js +53 -49
  53. package/dist/esm/components/checkbox/Checkbox.variants.js +1 -1
  54. package/dist/esm/components/checkbox/parts/CheckboxIndicator.js +1 -1
  55. package/dist/esm/components/checkbox-field/CheckboxField.js +39 -34
  56. package/dist/esm/components/checkbox-group/CheckboxGroup.d.ts +1 -1
  57. package/dist/esm/components/checkbox-group/CheckboxGroup.js +12 -12
  58. package/dist/esm/components/collapsible/Collapsible.js +22 -16
  59. package/dist/esm/components/collapsible/parts/CollapsibleContent.js +16 -7
  60. package/dist/esm/components/collapsible/parts/CollapsibleTitle.js +23 -23
  61. package/dist/esm/components/data-table/DataTable.d.ts +48 -17
  62. package/dist/esm/components/data-table/DataTable.js +104 -60
  63. package/dist/esm/components/data-table/mocks/employee-columns.d.ts +4 -0
  64. package/dist/esm/components/data-table/parts/DataTableBulkActions.d.ts +55 -0
  65. package/dist/esm/components/data-table/parts/DataTableBulkActions.js +65 -0
  66. package/dist/esm/components/data-table/parts/DataTableRoot.d.ts +37 -0
  67. package/dist/esm/components/data-table/parts/DataTableRoot.js +13 -0
  68. package/dist/esm/components/date-calendar/DateCalendar.js +8 -8
  69. package/dist/esm/components/date-picker/DatePicker.js +9 -9
  70. package/dist/esm/components/date-picker/parts/DateInput.js +7 -7
  71. package/dist/esm/components/date-picker-field/DatePickerField.js +12 -12
  72. package/dist/esm/components/definition-tooltip/DefinitionTooltip.js +4 -4
  73. package/dist/esm/components/dialog/Dialog.d.ts +1 -1
  74. package/dist/esm/components/dialog/Dialog.js +9 -9
  75. package/dist/esm/components/dialog/parts/DialogActions/DialogButton.d.ts +1 -1
  76. package/dist/esm/components/fieldset/Fieldset.d.ts +1 -1
  77. package/dist/esm/components/fieldset/Fieldset.js +4 -4
  78. package/dist/esm/components/flex/Flex.d.ts +1 -1
  79. package/dist/esm/components/flex/Flex.variants.js +189 -207
  80. package/dist/esm/components/flex/FlexItem.d.ts +1 -1
  81. package/dist/esm/components/form/Form.context.d.ts +1 -4
  82. package/dist/esm/components/form/Form.context.js +11 -13
  83. package/dist/esm/components/form/Form.d.ts +13 -11
  84. package/dist/esm/components/form/Form.js +45 -48
  85. package/dist/esm/components/form-field/FormField.context.d.ts +1 -6
  86. package/dist/esm/components/form-field/FormField.context.js +39 -47
  87. package/dist/esm/components/form-field/FormField.d.ts +0 -2
  88. package/dist/esm/components/form-field/FormField.js +37 -42
  89. package/dist/esm/components/form-field/parts/FormContextualLink.js +17 -17
  90. package/dist/esm/components/form-field/parts/FormControl.js +39 -35
  91. package/dist/esm/components/form-field/parts/FormFeedbackText.js +15 -17
  92. package/dist/esm/components/full-page-loader/FullPageLoader.js +7 -7
  93. package/dist/esm/components/funnel-layout/FunnelLayout.d.ts +2 -2
  94. package/dist/esm/components/funnel-layout/FunnelLayout.js +26 -26
  95. package/dist/esm/components/funnel-layout/parts/FunnelBody.d.ts +2 -2
  96. package/dist/esm/components/funnel-layout/parts/FunnelBody.js +4 -4
  97. package/dist/esm/components/funnel-layout/parts/FunnelPage.d.ts +2 -2
  98. package/dist/esm/components/funnel-layout/parts/FunnelPage.js +10 -10
  99. package/dist/esm/components/funnel-layout/parts/FunnelPageAction.d.ts +1 -1
  100. package/dist/esm/components/funnel-layout/parts/FunnelPageActions.d.ts +2 -2
  101. package/dist/esm/components/funnel-layout/parts/FunnelPageActions.js +13 -13
  102. package/dist/esm/components/funnel-layout/parts/FunnelPageContent.d.ts +2 -2
  103. package/dist/esm/components/funnel-layout/parts/FunnelPageContent.js +1 -1
  104. package/dist/esm/components/funnel-layout/parts/FunnelPageFooter.d.ts +2 -2
  105. package/dist/esm/components/funnel-layout/parts/FunnelPageFooter.js +7 -7
  106. package/dist/esm/components/funnel-layout/parts/FunnelPageHeader.d.ts +2 -2
  107. package/dist/esm/components/funnel-layout/parts/FunnelPageHeader.js +4 -4
  108. package/dist/esm/components/funnel-layout/parts/FunnelProgressBar.d.ts +1 -1
  109. package/dist/esm/components/funnel-layout/parts/FunnelProgressBar.js +4 -4
  110. package/dist/esm/components/funnel-layout/parts/FunnelSidebar.d.ts +2 -2
  111. package/dist/esm/components/funnel-layout/parts/FunnelSidebar.js +7 -7
  112. package/dist/esm/components/funnel-layout/parts/FunnelTopBar.d.ts +2 -2
  113. package/dist/esm/components/funnel-layout/parts/FunnelTopBar.js +9 -9
  114. package/dist/esm/components/grid/Grid.d.ts +1 -1
  115. package/dist/esm/components/grid/Grid.variants.d.ts +1 -1
  116. package/dist/esm/components/grid/Grid.variants.js +3 -3
  117. package/dist/esm/components/grid/GridItem.d.ts +1 -1
  118. package/dist/esm/components/icon/Icon.d.ts +1 -1
  119. package/dist/esm/components/icon/Icon.js +1 -1
  120. package/dist/esm/components/icon-button/CircularIconButton.d.ts +1 -1
  121. package/dist/esm/components/icon-button/CircularIconButton.js +21 -20
  122. package/dist/esm/components/icon-button/IconButton.variants.d.ts +1 -1
  123. package/dist/esm/components/icon-button/IconButton.variants.js +2 -2
  124. package/dist/esm/components/input/Input.js +6 -6
  125. package/dist/esm/components/label/Label.js +13 -13
  126. package/dist/esm/components/link/Link.d.ts +11 -1
  127. package/dist/esm/components/link/Link.js +32 -30
  128. package/dist/esm/components/link/Link.variants.d.ts +141 -30
  129. package/dist/esm/components/link/Link.variants.js +44 -16
  130. package/dist/esm/components/menu/parts/MenuItem.js +8 -8
  131. package/dist/esm/components/multi-select/parts/MultiSelectButton.js +14 -14
  132. package/dist/esm/components/multi-select/parts/MultiSelectOptGroup.js +5 -5
  133. package/dist/esm/components/multi-select/parts/MultiSelectOption.js +3 -3
  134. package/dist/esm/components/multi-select/parts/MultiSelectPopover.js +1 -1
  135. package/dist/esm/components/multi-select-field/MultiSelectField.js +6 -6
  136. package/dist/esm/components/nav/parts/NavGroup.js +28 -29
  137. package/dist/esm/components/nav/parts/NavItem.d.ts +1 -1
  138. package/dist/esm/components/nav/parts/NavItem.js +13 -14
  139. package/dist/esm/components/number-field/NumberField.js +14 -14
  140. package/dist/esm/components/number-input/NumberInput.d.ts +2 -2
  141. package/dist/esm/components/number-input/NumberInput.js +37 -37
  142. package/dist/esm/components/page/Page.d.ts +1 -1
  143. package/dist/esm/components/page/Page.js +5 -5
  144. package/dist/esm/components/page/parts/PageHeader.d.ts +1 -1
  145. package/dist/esm/components/page/parts/PageHeader.js +4 -4
  146. package/dist/esm/components/pagination/Pagination.d.ts +1 -1
  147. package/dist/esm/components/pagination/Pagination.js +16 -16
  148. package/dist/esm/components/pagination/parts/PaginationEllipsis.d.ts +1 -1
  149. package/dist/esm/components/pagination/parts/PaginationEllipsis.js +8 -8
  150. package/dist/esm/components/pagination/parts/PaginationJumpDialog.js +9 -9
  151. package/dist/esm/components/pagination/parts/PaginationLink.d.ts +1 -1
  152. package/dist/esm/components/pagination/parts/PaginationLink.js +6 -6
  153. package/dist/esm/components/payfit-brand/PayFitBrand.js +4 -4
  154. package/dist/esm/components/pill/Pill.d.ts +1 -1
  155. package/dist/esm/components/pill/Pill.js +1 -1
  156. package/dist/esm/components/popover/Popover.js +5 -5
  157. package/dist/esm/components/popover/parts/PopoverHeader.js +7 -7
  158. package/dist/esm/components/progress-bar/ProgressBar.js +11 -11
  159. package/dist/esm/components/radio-button-group/parts/RadioButton.d.ts +1 -1
  160. package/dist/esm/components/radio-button-group/parts/RadioButton.js +5 -5
  161. package/dist/esm/components/search/Search.d.ts +1 -1
  162. package/dist/esm/components/search/Search.js +14 -14
  163. package/dist/esm/components/segmented-button-group/parts/ToggleButton.js +10 -10
  164. package/dist/esm/components/select/Select.js +12 -12
  165. package/dist/esm/components/select/parts/SearchInput.js +7 -7
  166. package/dist/esm/components/select/parts/SelectButton.js +17 -14
  167. package/dist/esm/components/select/parts/SelectOption.js +4 -4
  168. package/dist/esm/components/select/parts/SelectOptionGroup.js +8 -8
  169. package/dist/esm/components/select/parts/SelectOptionHelper.js +1 -1
  170. package/dist/esm/components/select-field/SelectField.d.ts +1 -1
  171. package/dist/esm/components/select-field/SelectField.js +16 -16
  172. package/dist/esm/components/selectable-button-group/SelectableButtonGroup.d.ts +1 -1
  173. package/dist/esm/components/selectable-button-group/SelectableButtonGroup.js +8 -8
  174. package/dist/esm/components/selectable-button-group/parts/SelectableButton.js +10 -10
  175. package/dist/esm/components/selectable-card/internals/Content.js +5 -5
  176. package/dist/esm/components/selectable-card/internals/Description.js +1 -1
  177. package/dist/esm/components/selectable-card/internals/Illustration.js +3 -3
  178. package/dist/esm/components/selectable-card/internals/SelectedIndicator.js +4 -4
  179. package/dist/esm/components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.d.ts +1 -1
  180. package/dist/esm/components/selectable-card/selectable-card-radio-group/parts/RadioIndicator.js +3 -3
  181. package/dist/esm/components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.d.ts +1 -1
  182. package/dist/esm/components/selectable-card/selectableCard.variant.js +1 -1
  183. package/dist/esm/components/selectable-card-radio-group-field/SelectableCardRadioGroupField.js +22 -22
  184. package/dist/esm/components/side-panel/SidePanel.d.ts +1 -1
  185. package/dist/esm/components/side-panel/SidePanel.js +6 -6
  186. package/dist/esm/components/side-panel/parts/SidePanelContent.d.ts +1 -1
  187. package/dist/esm/components/side-panel/parts/SidePanelContent.js +9 -9
  188. package/dist/esm/components/side-panel/parts/SidePanelDragIndicator.js +11 -11
  189. package/dist/esm/components/side-panel/parts/SidePanelFooter.d.ts +1 -1
  190. package/dist/esm/components/side-panel/parts/SidePanelFooter.js +4 -4
  191. package/dist/esm/components/side-panel/parts/SidePanelHeader.d.ts +4 -4
  192. package/dist/esm/components/side-panel/parts/SidePanelHeader.js +6 -6
  193. package/dist/esm/components/skip-links/SkipLinks.d.ts +79 -0
  194. package/dist/esm/components/skip-links/SkipLinks.js +80 -0
  195. package/dist/esm/components/spinner/Spinner.js +5 -5
  196. package/dist/esm/components/table/Table.js +101 -100
  197. package/dist/esm/components/table/hooks/useTableKeyboardNavigation.d.ts +1 -19
  198. package/dist/esm/components/table/hooks/useTableKeyboardNavigation.js +147 -95
  199. package/dist/esm/components/table/parts/TableBody.js +1 -1
  200. package/dist/esm/components/table/parts/TableCell.d.ts +17 -1
  201. package/dist/esm/components/table/parts/TableCell.js +45 -41
  202. package/dist/esm/components/table/parts/TableColumnHeader.d.ts +2 -1
  203. package/dist/esm/components/table/parts/TableColumnHeader.js +63 -57
  204. package/dist/esm/components/table/parts/TableEmptyState.d.ts +1 -1
  205. package/dist/esm/components/table/parts/TableEmptyState.js +1 -1
  206. package/dist/esm/components/table/parts/TableHeader.d.ts +3 -3
  207. package/dist/esm/components/table/parts/TableHeader.js +28 -26
  208. package/dist/esm/components/table/parts/TablePagination.d.ts +1 -1
  209. package/dist/esm/components/table/parts/TablePagination.js +9 -9
  210. package/dist/esm/components/table/parts/TableRow.d.ts +1 -1
  211. package/dist/esm/components/table/parts/TableRow.js +36 -34
  212. package/dist/esm/components/tabs/Tabs.context.d.ts +1 -1
  213. package/dist/esm/components/tabs/Tabs.d.ts +1 -1
  214. package/dist/esm/components/tabs/Tabs.variant.js +1 -1
  215. package/dist/esm/components/tabs/parts/NavigationButton.js +12 -12
  216. package/dist/esm/components/tabs/parts/Tab.d.ts +3 -2
  217. package/dist/esm/components/tabs/parts/Tab.js +12 -12
  218. package/dist/esm/components/tabs/parts/TabPanel.d.ts +4 -2
  219. package/dist/esm/components/tabs/parts/TabPanel.js +7 -7
  220. package/dist/esm/components/task-menu/TaskMenu.d.ts +1 -1
  221. package/dist/esm/components/task-menu/TaskMenu.js +7 -7
  222. package/dist/esm/components/task-menu/parts/Content.js +6 -6
  223. package/dist/esm/components/task-menu/parts/Header.js +7 -7
  224. package/dist/esm/components/task-menu/parts/SubTask.js +6 -6
  225. package/dist/esm/components/task-menu/parts/Task.d.ts +1 -1
  226. package/dist/esm/components/task-menu/parts/Task.js +12 -12
  227. package/dist/esm/components/task-menu/parts/TaskGroup.js +7 -7
  228. package/dist/esm/components/task-menu/parts/task.variants.js +1 -1
  229. package/dist/esm/components/text/Text.d.ts +1 -1
  230. package/dist/esm/components/text/Text.variants.js +1 -1
  231. package/dist/esm/components/text-area/TextArea.js +6 -6
  232. package/dist/esm/components/text-field/TextField.js +5 -5
  233. package/dist/esm/components/toast/UnityToast.d.ts +1 -1
  234. package/dist/esm/components/toast/UnityToast.js +11 -11
  235. package/dist/esm/components/toggle-switch/ToggleSwitch.d.ts +1 -1
  236. package/dist/esm/components/toggle-switch/ToggleSwitch.js +4 -4
  237. package/dist/esm/components/toggle-switch-field/ToggleSwitchField.js +35 -31
  238. package/dist/esm/components/toggle-switch-group/ToggleSwitchGroup.d.ts +1 -1
  239. package/dist/esm/components/toggle-switch-group/ToggleSwitchGroup.js +5 -5
  240. package/dist/esm/components/toggle-switch-group-field/ToggleSwitchGroupField.js +43 -38
  241. package/dist/esm/components/tooltip/Tooltip.d.ts +2 -0
  242. package/dist/esm/components/tooltip/Tooltip.js +27 -19
  243. package/dist/esm/hooks/use-form.js +7 -7
  244. package/dist/esm/index.d.ts +6 -1
  245. package/dist/esm/index.js +366 -352
  246. package/dist/esm/integrations/react-router/v5/UnityReactRouterV5Provider.js +28 -0
  247. package/dist/esm/integrations/react-router/v5/index.d.ts +1 -0
  248. package/dist/esm/integrations/react-router/v5.js +4 -0
  249. package/i18n/en-GB.json +6 -0
  250. package/i18n/es-ES.json +6 -0
  251. package/i18n/fr-FR.json +6 -0
  252. package/package.json +38 -35
  253. package/dist/esm/providers/router/integrations/UnityReactRouterV5Provider.js +0 -28
  254. /package/dist/esm/{providers/router/integrations → integrations/react-router/v5}/UnityReactRouterV5Provider.d.ts +0 -0
@@ -1,29 +1,25 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
2
  import { forwardRef as l } from "react";
3
- import { Slot as y } from "@radix-ui/react-slot";
4
- import { twMerge as i } from "tailwind-merge";
5
- import { tv as g } from "tailwind-variants";
6
- const d = g(
7
- {
8
- base: "uy:inline-block uy:rounded-75 uy:px-75 uy:py-25 uy:font-sans uy:typography-body uy:whitespace-nowrap uy:text-center",
9
- variants: {
10
- variant: {
11
- success: "uy:bg-surface-success-low uy:text-content-success-high",
12
- warning: "uy:bg-surface-warning-low uy:text-content-warning-high",
13
- danger: "uy:bg-surface-danger-low uy:text-content-danger-high",
14
- neutral: "uy:bg-surface-neutral-low uy:text-content-neutral",
15
- promo: "uy:bg-surface-promo-low uy:text-content-promo-high",
16
- attention: "uy:bg-surface-danger uy:text-content-inverted",
17
- numeric: "uy:bg-surface-info-low uy:text-content-info-high",
18
- contextual: "uy:bg-surface-neutral uy:border uy:border-solid uy:border-border-neutral uy:text-content-neutral"
19
- }
20
- },
21
- defaultVariants: {
22
- variant: "neutral"
3
+ import { uyTv as y } from "@payfit/unity-themes";
4
+ import { Slot as i } from "@radix-ui/react-slot";
5
+ const g = y({
6
+ base: "uy:inline-block uy:rounded-75 uy:px-75 uy:py-25 uy:font-sans uy:typography-body uy:whitespace-nowrap uy:text-center",
7
+ variants: {
8
+ variant: {
9
+ success: "uy:bg-surface-success-low uy:text-content-success-high",
10
+ warning: "uy:bg-surface-warning-low uy:text-content-warning-high",
11
+ danger: "uy:bg-surface-danger-low uy:text-content-danger-high",
12
+ neutral: "uy:bg-surface-neutral-low uy:text-content-neutral",
13
+ promo: "uy:bg-surface-promo-low uy:text-content-promo-high",
14
+ attention: "uy:bg-surface-danger uy:text-content-inverted",
15
+ numeric: "uy:bg-surface-info-low uy:text-content-info-high",
16
+ contextual: "uy:bg-surface-neutral uy:border uy:border-solid uy:border-border-neutral uy:text-content-neutral"
23
17
  }
24
18
  },
25
- { twMerge: !1 }
26
- ), f = {
19
+ defaultVariants: {
20
+ variant: "neutral"
21
+ }
22
+ }), d = {
27
23
  success: "status",
28
24
  warning: "alert",
29
25
  danger: "alert",
@@ -32,30 +28,30 @@ const d = g(
32
28
  attention: "alert",
33
29
  contextual: "status",
34
30
  numeric: "status"
35
- }, m = l(
31
+ }, f = l(
36
32
  ({
37
33
  className: e,
38
34
  variant: t = "neutral",
39
- role: r,
35
+ role: n,
40
36
  asChild: a = !1,
41
- children: n,
42
- ...o
43
- }, u) => {
44
- const s = r ?? f[t] ?? "status";
37
+ children: r,
38
+ ...u
39
+ }, o) => {
40
+ const s = n ?? d[t] ?? "status";
45
41
  return /* @__PURE__ */ c(
46
- a ? y : "span",
42
+ a ? i : "span",
47
43
  {
48
44
  "data-dd-privacy": "allow",
49
- ref: u,
50
- className: i(d({ variant: t }), e),
45
+ ref: o,
46
+ className: g({ variant: t, className: e }),
51
47
  role: s,
52
- ...o,
53
- children: n
48
+ ...u,
49
+ children: r
54
50
  }
55
51
  );
56
52
  }
57
53
  );
58
- m.displayName = "Badge";
54
+ f.displayName = "Badge";
59
55
  export {
60
- m as Badge
56
+ f as Badge
61
57
  };
@@ -1,5 +1,5 @@
1
+ import { VariantProps } from '@payfit/unity-themes';
1
2
  import { PropsWithChildren } from 'react';
2
- import { VariantProps } from 'tailwind-variants';
3
3
  export declare const bottomSheet: import('tailwind-variants').TVReturnType<{
4
4
  [key: string]: {
5
5
  [key: string]: import('tailwind-merge').ClassNameValue | {
@@ -1,9 +1,9 @@
1
- import { jsx as t, jsxs as f } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as f } from "react/jsx-runtime";
2
2
  import { forwardRef as s } from "react";
3
- import { ModalOverlay as c, Modal as h, Dialog as p } from "react-aria-components";
4
- import { tv as x } from "tailwind-variants";
3
+ import { uyTv as c } from "@payfit/unity-themes";
4
+ import { ModalOverlay as h, Modal as p, Dialog as x } from "react-aria-components";
5
5
  import { BottomSheetDragIndicator as w } from "./parts/BottomSheetDragIndicator.js";
6
- const g = x({
6
+ const g = c({
7
7
  slots: {
8
8
  overlay: [
9
9
  "uy:fixed uy:inset-0 uy:z-30 uy:overflow-y-auto",
@@ -25,26 +25,26 @@ const g = x({
25
25
  }
26
26
  }), v = s(
27
27
  ({
28
- children: e,
28
+ children: t,
29
29
  isOpen: o,
30
30
  onOpenChange: a,
31
31
  defaultOpen: u,
32
- isDismissable: r = !0,
33
- isKeyboardDismissDisabled: y = !1,
32
+ isDismissable: y = !0,
33
+ isKeyboardDismissDisabled: r = !1,
34
34
  ...i
35
35
  }, l) => {
36
36
  const { overlay: d, wrapper: n, content: m } = g();
37
- return /* @__PURE__ */ t(
38
- c,
37
+ return /* @__PURE__ */ e(
38
+ h,
39
39
  {
40
40
  className: d(),
41
41
  isOpen: o,
42
42
  onOpenChange: a,
43
43
  defaultOpen: u,
44
- isDismissable: r,
45
- isKeyboardDismissDisabled: y,
44
+ isDismissable: y,
45
+ isKeyboardDismissDisabled: r,
46
46
  children: /* @__PURE__ */ f(
47
- h,
47
+ p,
48
48
  {
49
49
  "data-dd-privacy": "allow",
50
50
  ...i,
@@ -52,8 +52,8 @@ const g = x({
52
52
  className: n(),
53
53
  "data-unity-bottom-sheet": !0,
54
54
  children: [
55
- /* @__PURE__ */ t(w, {}),
56
- /* @__PURE__ */ t(p, { className: m(), children: e })
55
+ /* @__PURE__ */ e(w, {}),
56
+ /* @__PURE__ */ e(x, { className: m(), children: t })
57
57
  ]
58
58
  }
59
59
  )
@@ -1,5 +1,5 @@
1
+ import { VariantProps } from '@payfit/unity-themes';
1
2
  import { PropsWithChildren } from 'react';
2
- import { VariantProps } from 'tailwind-variants';
3
3
  export declare const bottomSheetContent: import('tailwind-variants').TVReturnType<{
4
4
  [key: string]: {
5
5
  [key: string]: import('tailwind-merge').ClassNameValue | {
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as n } from "react";
3
- import { tv as y } from "tailwind-variants";
4
- const s = y({
2
+ import { forwardRef as y } from "react";
3
+ import { uyTv as n } from "@payfit/unity-themes";
4
+ const s = n({
5
5
  slots: {
6
6
  base: [
7
7
  "uy:bg-surface-neutral uy:typography-body uy:text-content-neutral",
@@ -13,7 +13,7 @@ const s = y({
13
13
  "uy:h-full uy:min-h-0"
14
14
  ]
15
15
  }
16
- }), f = n(
16
+ }), f = y(
17
17
  ({ children: o, ...t }, l) => {
18
18
  const { base: r, scroller: u } = s();
19
19
  return /* @__PURE__ */ e("section", { ref: l, className: r(), ...t, children: /* @__PURE__ */ e("div", { className: u(), children: o }) });
@@ -1,10 +1,10 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { useRef as b, useContext as g } from "react";
3
- import { useDrag as x } from "@use-gesture/react";
4
- import { OverlayTriggerStateContext as D } from "react-aria-components";
5
- import { tv as v } from "tailwind-variants";
3
+ import { uyTv as x } from "@payfit/unity-themes";
4
+ import { useDrag as D } from "@use-gesture/react";
5
+ import { OverlayTriggerStateContext as v } from "react-aria-components";
6
6
  import { useBreakpointListener as S } from "../../../hooks/use-breakpoint-listener.js";
7
- const I = v({
7
+ const T = x({
8
8
  slots: {
9
9
  base: [
10
10
  "uy:md:hidden uy:mx-auto uy:py-100 uy:w-500",
@@ -12,9 +12,9 @@ const I = v({
12
12
  ],
13
13
  indicator: "uy:h-50 uy:rounded-pill uy:bg-content-neutral-lowest"
14
14
  }
15
- }), N = 100;
16
- function T() {
17
- const r = b(null), o = g(D), n = S(), { base: i, indicator: l } = I(), m = n === "xs" || n === "sm", u = x(
15
+ }), I = 100;
16
+ function N() {
17
+ const r = b(null), o = g(v), n = S(), { base: i, indicator: l } = T(), m = n === "xs" || n === "sm", u = D(
18
18
  (c) => {
19
19
  var s;
20
20
  const {
@@ -38,7 +38,7 @@ function T() {
38
38
  t.style.transform = "translate3d(0, 0, 0)";
39
39
  return;
40
40
  }
41
- t.style.transform = `translate3d(0, ${e}px, 0)`, t.style.transition = "none", p && f && (e > N || d > 0 ? o && setTimeout(() => {
41
+ t.style.transform = `translate3d(0, ${e}px, 0)`, t.style.transition = "none", p && f && (e > I || d > 0 ? o && setTimeout(() => {
42
42
  o.close();
43
43
  }, 50) : (t.style.transform = "translate3d(0, 0, 0)", t.style.transition = "transform 0.3s ease"));
44
44
  }
@@ -60,8 +60,8 @@ function T() {
60
60
  }
61
61
  );
62
62
  }
63
- T.displayName = "BottomSheetDragIndicator";
63
+ N.displayName = "BottomSheetDragIndicator";
64
64
  export {
65
- T as BottomSheetDragIndicator,
66
- I as bottomSheetDragIndicator
65
+ N as BottomSheetDragIndicator,
66
+ T as bottomSheetDragIndicator
67
67
  };
@@ -1,5 +1,5 @@
1
+ import { VariantProps } from '@payfit/unity-themes';
1
2
  import { PropsWithChildren } from 'react';
2
- import { VariantProps } from 'tailwind-variants';
3
3
  export declare const bottomSheetFooter: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
4
4
  export interface BottomSheetFooterProps extends PropsWithChildren<VariantProps<typeof bottomSheetFooter>> {
5
5
  className?: string;
@@ -1,6 +1,6 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { forwardRef as y } from "react";
3
- import { tv as a } from "tailwind-variants";
3
+ import { uyTv as a } from "@payfit/unity-themes";
4
4
  const s = a({
5
5
  base: [
6
6
  "uy:py-150 uy:px-300 uy:w-full",
@@ -11,13 +11,13 @@ const s = a({
11
11
  "uy:pb-[max(env(safe-area-inset-bottom),var(--uy-spacing-200))] uy:md:pb-200"
12
12
  ]
13
13
  }), m = y(
14
- ({ children: t, className: o, ...e }, r) => /* @__PURE__ */ u(
14
+ ({ children: o, className: t, ...e }, r) => /* @__PURE__ */ u(
15
15
  "footer",
16
16
  {
17
17
  ref: r,
18
- className: s({ class: o }),
18
+ className: s({ class: t }),
19
19
  ...e,
20
- children: t
20
+ children: o
21
21
  }
22
22
  )
23
23
  );
@@ -1,10 +1,10 @@
1
+ import { VariantProps } from '@payfit/unity-themes';
1
2
  import { PropsWithChildren } from 'react';
2
- import { VariantProps } from 'tailwind-variants';
3
3
  export declare const bottomSheetHeader: import('tailwind-variants').TVReturnType<{
4
4
  [key: string]: {
5
5
  [key: string]: import('tailwind-merge').ClassNameValue | {
6
- base?: import('tailwind-merge').ClassNameValue;
7
6
  content?: import('tailwind-merge').ClassNameValue;
7
+ base?: import('tailwind-merge').ClassNameValue;
8
8
  heading?: import('tailwind-merge').ClassNameValue;
9
9
  buttonContainer?: import('tailwind-merge').ClassNameValue;
10
10
  };
@@ -12,8 +12,8 @@ export declare const bottomSheetHeader: import('tailwind-variants').TVReturnType
12
12
  } | {
13
13
  [x: string]: {
14
14
  [x: string]: import('tailwind-merge').ClassNameValue | {
15
- base?: import('tailwind-merge').ClassNameValue;
16
15
  content?: import('tailwind-merge').ClassNameValue;
16
+ base?: import('tailwind-merge').ClassNameValue;
17
17
  heading?: import('tailwind-merge').ClassNameValue;
18
18
  buttonContainer?: import('tailwind-merge').ClassNameValue;
19
19
  };
@@ -26,8 +26,8 @@ export declare const bottomSheetHeader: import('tailwind-variants').TVReturnType
26
26
  }, undefined, {
27
27
  [key: string]: {
28
28
  [key: string]: import('tailwind-merge').ClassNameValue | {
29
- base?: import('tailwind-merge').ClassNameValue;
30
29
  content?: import('tailwind-merge').ClassNameValue;
30
+ base?: import('tailwind-merge').ClassNameValue;
31
31
  heading?: import('tailwind-merge').ClassNameValue;
32
32
  buttonContainer?: import('tailwind-merge').ClassNameValue;
33
33
  };
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
- import { forwardRef as i } from "react";
3
- import { Heading as y } from "react-aria-components";
4
- import { tv as c } from "tailwind-variants";
2
+ import { forwardRef as y } from "react";
3
+ import { uyTv as i } from "@payfit/unity-themes";
4
+ import { Heading as c } from "react-aria-components";
5
5
  import { CircularIconButton as m } from "../../icon-button/CircularIconButton.js";
6
- const d = c({
6
+ const d = i({
7
7
  slots: {
8
8
  base: [
9
9
  "uy:py-200 uy:px-300 uy:w-full",
@@ -18,12 +18,12 @@ const d = c({
18
18
  ],
19
19
  buttonContainer: ["uy:flex-shrink-0 uy:flex-grow-0 uy:w-[28px]"]
20
20
  }
21
- }), f = i(
21
+ }), f = y(
22
22
  ({ children: o, ...r }, n) => {
23
23
  const { base: u, content: l, heading: a, buttonContainer: t } = d();
24
24
  return /* @__PURE__ */ e("header", { ref: n, className: u(), ...r, children: /* @__PURE__ */ s("div", { className: l(), children: [
25
25
  /* @__PURE__ */ e("div", { className: t() }),
26
- /* @__PURE__ */ e(y, { slot: "title", className: a(), children: o }),
26
+ /* @__PURE__ */ e(c, { slot: "title", className: a(), children: o }),
27
27
  /* @__PURE__ */ e("div", { className: t(), children: /* @__PURE__ */ e(
28
28
  m,
29
29
  {
@@ -1,5 +1,5 @@
1
+ import { VariantProps } from '@payfit/unity-themes';
1
2
  import { PropsWithChildren } from 'react';
2
- import { VariantProps } from 'tailwind-variants';
3
3
  import { breadcrumbsVariant } from './Breadcrumbs.variant.js';
4
4
  interface BreadcrumbsContextValue {
5
5
  wrap: VariantProps<typeof breadcrumbsVariant>['wrap'];
@@ -1,7 +1,7 @@
1
+ import { VariantProps } from '@payfit/unity-themes';
1
2
  import { ReactNode } from 'react';
2
3
  import { AriaBreadcrumbsProps as AriaAriaBreadcrumbsProps } from 'react-aria';
3
4
  import { BreadcrumbsProps as AriaBreadcrumbsProps } from 'react-aria-components';
4
- import { VariantProps } from 'tailwind-variants';
5
5
  import { BreadcrumbProps } from './parts/Breadcrumb.js';
6
6
  import { breadcrumbsVariant } from './Breadcrumbs.variant.js';
7
7
  export interface BreadcrumbsProps extends AriaAriaBreadcrumbsProps, Pick<AriaBreadcrumbsProps<BreadcrumbsProps>, 'onAction'> {
@@ -1,5 +1,5 @@
1
- import { tv as a } from "tailwind-variants";
2
- const t = a({
1
+ import { uyTv as a } from "@payfit/unity-themes";
2
+ const r = a({
3
3
  slots: {
4
4
  base: "uy:flex uy:gap-50 uy:list-none uy:text-content-neutral-enabled uy:typography-action",
5
5
  breadcrumb: "uy:flex uy:gap-50 uy:sm:leading-[1.75] uy:sm:items-center"
@@ -16,5 +16,5 @@ const t = a({
16
16
  }
17
17
  });
18
18
  export {
19
- t as breadcrumbsVariant
19
+ r as breadcrumbsVariant
20
20
  };
@@ -1,69 +1,61 @@
1
- import { jsx as o, jsxs as y } from "react/jsx-runtime";
2
- import { forwardRef as h, useMemo as b } from "react";
3
- import { Button as v } from "react-aria-components";
4
- import { twMerge as s } from "tailwind-merge";
5
- import { Icon as w } from "../icon/Icon.js";
6
- import { Spinner as x } from "../spinner/Spinner.js";
7
- import { buttonGhost as B, buttonOutlined as N, buttonFilled as j } from "./Button.variants.js";
8
- const M = h(
1
+ import { jsx as m, jsxs as y } from "react/jsx-runtime";
2
+ import { forwardRef as h, useMemo as x } from "react";
3
+ import { uyMerge as l } from "@payfit/unity-themes";
4
+ import { Button as b } from "react-aria-components";
5
+ import { Icon as v } from "../icon/Icon.js";
6
+ import { Spinner as B } from "../spinner/Spinner.js";
7
+ import { buttonGhost as w, buttonOutlined as N, buttonFilled as j } from "./Button.variants.js";
8
+ const I = (e, n) => e ? /* @__PURE__ */ m(B, { size: "small", color: "inherit", label: "Loading..." }) : n ? /* @__PURE__ */ m(v, { src: n, size: 20, color: "inherit", role: "presentation" }) : null, M = h(
9
9
  ({
10
- variant: m,
11
- children: c,
12
- color: e = "primary",
13
- size: l = "default",
10
+ variant: e,
11
+ children: n,
12
+ color: o = "primary",
13
+ size: u = "default",
14
14
  isDisabled: a = !1,
15
15
  isLoading: t = !1,
16
- prefixIcon: i = void 0,
17
- ...u
16
+ prefixIcon: c = void 0,
17
+ ...i
18
18
  }, p) => {
19
- const f = b(() => {
20
- const n = { size: l, isDisabled: a, isLoading: t };
21
- switch (m) {
19
+ const f = x(() => {
20
+ const s = { size: u, isDisabled: a, isLoading: t };
21
+ switch (e) {
22
22
  case "primary": {
23
23
  const r = {
24
- ...n,
25
- color: e
24
+ ...s,
25
+ color: o
26
26
  };
27
- return s(j(r));
27
+ return l(j(r));
28
28
  }
29
29
  case "secondary": {
30
30
  const r = {
31
- ...n,
32
- color: e
31
+ ...s,
32
+ color: o
33
33
  };
34
- return s(N(r));
34
+ return l(N(r));
35
35
  }
36
36
  case "ghost": {
37
37
  const r = {
38
- ...n,
39
- color: e
38
+ ...s,
39
+ color: o
40
40
  };
41
- return s(B(r));
41
+ return l(w(r));
42
42
  }
43
43
  }
44
- }, [m, e, l, a, t]), d = {
44
+ }, [e, o, u, a, t]), d = {
45
45
  ...t && { "data-loading": t }
46
46
  };
47
- return /* @__PURE__ */ o(
48
- v,
47
+ return /* @__PURE__ */ m(
48
+ b,
49
49
  {
50
50
  "data-dd-privacy": "allow",
51
- ...u,
51
+ ...i,
52
52
  ref: p,
53
53
  isDisabled: a || t,
54
54
  className: f,
55
55
  ...d,
56
- children: t ? /* @__PURE__ */ o(x, { size: "small", color: "inherit", label: "Loading..." }) : /* @__PURE__ */ y("span", { className: "uy:inline-flex uy:gap-50 uy:leading-[1.75] uy:items-center", children: [
57
- i && /* @__PURE__ */ o(
58
- w,
59
- {
60
- src: i,
61
- size: 20,
62
- color: "inherit",
63
- role: "presentation"
64
- }
65
- ),
66
- c
56
+ children: /* @__PURE__ */ y("span", { className: "uy:inline-flex uy:gap-50 uy:leading-[1.75] uy:items-center", children: [
57
+ I(t, c),
58
+ n
67
59
  ] })
68
60
  }
69
61
  );
@@ -1,4 +1,4 @@
1
- import { VariantProps } from 'tailwind-variants';
1
+ import { VariantProps } from '@payfit/unity-themes';
2
2
  declare const buttonBase: import('tailwind-variants').TVReturnType<{
3
3
  isDisabled: {
4
4
  true: string;
@@ -1,4 +1,4 @@
1
- import { tv as e } from "tailwind-variants";
1
+ import { uyTv as e } from "@payfit/unity-themes";
2
2
  const t = e({
3
3
  base: [
4
4
  "uy:group",
@@ -1,85 +1,89 @@
1
- import { jsxs as l, jsx as a, Fragment as S } from "react/jsx-runtime";
2
- import { forwardRef as j, isValidElement as m, cloneElement as b } from "react";
3
- import { useId as B } from "react-aria";
4
- import { Checkbox as R } from "react-aria-components";
5
- import { Text as p } from "../text/Text.js";
6
- import { checkbox as D } from "./Checkbox.variants.js";
7
- import { CheckboxIndicator as E } from "./parts/CheckboxIndicator.js";
8
- const V = j(
9
- ({ children: y, helperText: i, feedbackText: r, ...o }, h) => {
10
- const e = B(), {
11
- isDisabled: f,
12
- isReadOnly: v,
1
+ import { jsxs as o, jsx as a, Fragment as j } from "react/jsx-runtime";
2
+ import { forwardRef as B, isValidElement as p, cloneElement as y } from "react";
3
+ import { useId as R } from "react-aria";
4
+ import { Checkbox as D } from "react-aria-components";
5
+ import { Text as h } from "../text/Text.js";
6
+ import { checkbox as E } from "./Checkbox.variants.js";
7
+ import { CheckboxIndicator as V } from "./parts/CheckboxIndicator.js";
8
+ const F = B(
9
+ ({ children: f, helperText: i, feedbackText: r, ...l }, v) => {
10
+ const e = R(), {
11
+ isDisabled: s,
12
+ isReadOnly: d,
13
13
  isInvalid: t,
14
- isRequired: d,
15
- requiredVariant: n = "required"
16
- } = o, {
17
- base: x,
18
- wrapper: u,
19
- asterisk: N,
20
- optionalTag: g,
21
- descriptionsContainer: $,
22
- helperText: k,
23
- feedbackText: C
24
- } = D({
25
- isDisabled: f,
26
- isReadOnly: v,
14
+ isRequired: n,
15
+ requiredVariant: c = "required",
16
+ ...x
17
+ } = l, {
18
+ base: u,
19
+ wrapper: N,
20
+ asterisk: g,
21
+ optionalTag: $,
22
+ descriptionsContainer: k,
23
+ helperText: C,
24
+ feedbackText: q
25
+ } = E({
26
+ isDisabled: s,
27
+ isReadOnly: d,
27
28
  isInvalid: t
28
- }), s = [o["aria-labelledby"], `${e}-label`].filter(Boolean), c = [
29
- o["aria-describedby"],
29
+ }), m = [l["aria-labelledby"], `${e}-label`].filter(Boolean), b = [
30
+ l["aria-describedby"],
30
31
  typeof i == "string" ? `${e}-helper-text` : void 0,
31
32
  typeof r == "string" ? `${e}-feedback-text` : void 0
32
- ].filter(Boolean), q = s.length > 0 ? s.join(" ") : void 0, w = c.length > 0 ? c.join(" ") : void 0;
33
- return /* @__PURE__ */ l("div", { className: x(), children: [
33
+ ].filter(Boolean), w = m.length > 0 ? m.join(" ") : void 0, I = b.length > 0 ? b.join(" ") : void 0;
34
+ return /* @__PURE__ */ o("div", { className: u(), children: [
34
35
  /* @__PURE__ */ a(
35
- R,
36
+ D,
36
37
  {
37
- ...o,
38
- ref: h,
39
- className: u(),
40
- "aria-labelledby": q,
41
- "aria-describedby": w,
42
- children: (I) => /* @__PURE__ */ l(S, { children: [
43
- /* @__PURE__ */ a(E, { ...I, className: "uy:mr-[6px]" }),
44
- /* @__PURE__ */ a("span", { id: `${e}-label`, "data-dd-privacy": "allow", children: y }),
45
- n === "required" && d && /* @__PURE__ */ l("span", { className: N(), children: [
38
+ ...x,
39
+ isInvalid: t,
40
+ ref: v,
41
+ className: N(),
42
+ "aria-labelledby": w,
43
+ "aria-describedby": I,
44
+ isDisabled: s,
45
+ isReadOnly: d,
46
+ children: (S) => /* @__PURE__ */ o(j, { children: [
47
+ /* @__PURE__ */ a(V, { ...S, className: "uy:mr-[6px]" }),
48
+ /* @__PURE__ */ a("span", { id: `${e}-label`, "data-dd-privacy": "allow", children: f }),
49
+ c === "required" && n && /* @__PURE__ */ o("span", { className: g(), children: [
46
50
  "*",
47
51
  /* @__PURE__ */ a("span", { className: "uy:sr-only", children: "required" })
48
52
  ] }),
49
- n === "optional" && !d && /* @__PURE__ */ a("span", { className: g(), children: "(optional)" })
53
+ c === "optional" && !n && /* @__PURE__ */ a("span", { className: $(), children: "(optional)" })
50
54
  ] })
51
55
  }
52
56
  ),
53
- (i || r) && /* @__PURE__ */ l("div", { className: $(), "data-dd-privacy": "allow", children: [
57
+ (i || r) && /* @__PURE__ */ o("div", { className: k(), "data-dd-privacy": "allow", children: [
54
58
  typeof i == "string" ? /* @__PURE__ */ a(
55
- p,
59
+ h,
56
60
  {
57
61
  variant: "bodySmall",
58
62
  color: "content.neutral.low",
59
63
  id: `${e}-helper-text`,
60
64
  children: i
61
65
  }
62
- ) : m(i) && b(i, {
66
+ ) : p(i) && y(i, {
63
67
  "data-id": `${e}-helper-text`,
64
- className: k()
68
+ className: C()
65
69
  }),
66
70
  t && (typeof r == "string" ? /* @__PURE__ */ a(
67
- p,
71
+ h,
68
72
  {
69
73
  variant: "bodySmallStrong",
70
74
  color: "content.form.invalid",
71
75
  id: `${e}-feedback-text`,
72
76
  children: r
73
77
  }
74
- ) : m(r) && b(r, {
78
+ ) : p(r) && y(r, {
75
79
  "data-id": `${e}-feedback-text`,
76
- className: C()
80
+ className: q()
77
81
  }))
78
82
  ] })
79
83
  ] });
80
84
  }
81
85
  );
82
- V.displayName = "Checkbox";
86
+ F.displayName = "Checkbox";
83
87
  export {
84
- V as Checkbox
88
+ F as Checkbox
85
89
  };
@@ -1,4 +1,4 @@
1
- import { tv as e } from "tailwind-variants";
1
+ import { uyTv as e } from "@payfit/unity-themes";
2
2
  const l = e({
3
3
  slots: {
4
4
  base: "uy:group uy:inline-flex uy:flex-col uy:gap-50 uy:py-[1px]",
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { tv as u } from "tailwind-variants";
2
+ import { uyTv as u } from "@payfit/unity-themes";
3
3
  const c = u({
4
4
  slots: {
5
5
  base: [