@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,53 +1,47 @@
1
- import { jsx as F } from "react/jsx-runtime";
2
- import { createContext as x, useContext as p } from "react";
3
- import { useFormContext as I, useFormState as v } from "react-hook-form";
4
- const u = x({
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { createContext as l, useContext as u } from "react";
3
+ import { useFormState as c } from "react-hook-form";
4
+ const s = l({
5
5
  id: "",
6
6
  name: ""
7
7
  });
8
- function $({
8
+ function C({
9
9
  children: o,
10
10
  id: i,
11
- name: t,
12
- isRequired: s,
13
- isInvalid: r,
14
- isLoading: e,
15
- isReadOnly: n,
16
- isDisabled: d,
17
- hasHelperText: m,
18
- hasContextualLink: a
11
+ name: e,
12
+ isRequired: n,
13
+ isLoading: d,
14
+ isReadOnly: m,
15
+ isDisabled: f,
16
+ hasHelperText: r,
17
+ hasContextualLink: t
19
18
  }) {
20
- return /* @__PURE__ */ F(
21
- u.Provider,
19
+ return /* @__PURE__ */ a(
20
+ s.Provider,
22
21
  {
23
22
  value: {
24
23
  id: i,
25
- name: t,
26
- isRequired: s,
27
- isInvalid: r,
28
- isLoading: e,
29
- isReadOnly: n,
30
- isDisabled: d,
31
- hasHelperText: m,
32
- hasContextualLink: a
24
+ name: e,
25
+ isRequired: n,
26
+ isLoading: d,
27
+ isReadOnly: m,
28
+ isDisabled: f,
29
+ hasHelperText: r,
30
+ hasContextualLink: t
33
31
  },
34
32
  children: o
35
33
  }
36
34
  );
37
35
  }
38
- function k() {
39
- const o = p(u), { getFieldState: i } = I(), t = v({ name: o.name }), { invalid: s, ...r } = i(
40
- o.name,
41
- t
42
- ), {
36
+ function b() {
37
+ const o = u(s), i = c({ name: o.name }), {
43
38
  id: e,
44
39
  isRequired: n,
45
- isInvalid: d,
46
- isLoading: m,
47
- isReadOnly: a,
48
- isDisabled: c,
49
- hasHelperText: l,
50
- hasContextualLink: f
40
+ isLoading: d,
41
+ isReadOnly: m,
42
+ isDisabled: f,
43
+ hasHelperText: r,
44
+ hasContextualLink: t
51
45
  } = o;
52
46
  if (!o)
53
47
  throw new Error("useFormField should be used within <FormField> component");
@@ -55,27 +49,25 @@ function k() {
55
49
  ...{
56
50
  id: e,
57
51
  name: o.name,
58
- hasHelperText: l,
59
- hasContextualLink: f,
52
+ hasHelperText: r,
53
+ hasContextualLink: t,
60
54
  formLabelId: `${e}-form-field-label`,
61
55
  formItemId: `${e}-form-item`,
62
- formDescriptionId: l ? `${e}-form-field-description` : void 0,
56
+ formDescriptionId: r ? `${e}-form-field-description` : void 0,
63
57
  formMessageId: `${e}-form-field-feedback-text`,
64
- formContextualLinkId: f ? `${e}-form-field-contextual-link` : void 0
58
+ formContextualLinkId: t ? `${e}-form-field-contextual-link` : void 0
65
59
  },
66
60
  fieldState: {
67
- ...r,
68
61
  isRequired: n,
69
- isInvalid: d,
70
- isLoading: m,
71
- isReadOnly: a,
72
- isDisabled: c
62
+ isLoading: d,
63
+ isReadOnly: m,
64
+ isDisabled: f
73
65
  },
74
- formState: t
66
+ formState: i
75
67
  };
76
68
  }
77
69
  export {
78
- u as FormFieldContext,
79
- $ as FormFieldProvider,
80
- k as useFormField
70
+ s as FormFieldContext,
71
+ C as FormFieldProvider,
72
+ b as useFormField
81
73
  };
@@ -7,8 +7,6 @@ export interface FormFieldProps<TFieldValues extends FieldValues = FieldValues,
7
7
  name: TName;
8
8
  /** Whether the field is required */
9
9
  isRequired?: boolean;
10
- /** Whether the field is in an invalid state */
11
- isInvalid?: boolean;
12
10
  /** Whether the field is in a loading state */
13
11
  isLoading?: boolean;
14
12
  /** Whether the field is disabled */
@@ -1,60 +1,55 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import d, { forwardRef as T, useMemo as p } from "react";
3
- import { useController as I } from "react-hook-form";
4
- import { tv as P } from "tailwind-variants";
5
- import g from "../../hooks/use-id.js";
6
- import { useUnityFormProvider as j } from "../form/Form.context.js";
7
- import { FormFieldProvider as D } from "./FormField.context.js";
8
- import { FormContextualLink as E } from "./parts/FormContextualLink.js";
9
- import { FormHelperText as N } from "./parts/FormHelperText.js";
10
- import { isFieldRequired as _ } from "./utils/isFieldRequired.js";
11
- const w = P({
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import a, { forwardRef as H, useMemo as d } from "react";
3
+ import { uyTv as L } from "@payfit/unity-themes";
4
+ import { useController as P } from "react-hook-form";
5
+ import S from "../../hooks/use-id.js";
6
+ import { useUnityFormProvider as g } from "../form/Form.context.js";
7
+ import { FormFieldProvider as j } from "./FormField.context.js";
8
+ import { FormContextualLink as D } from "./parts/FormContextualLink.js";
9
+ import { FormHelperText as E } from "./parts/FormHelperText.js";
10
+ import { isFieldRequired as I } from "./utils/isFieldRequired.js";
11
+ const N = L({
12
12
  slots: {
13
13
  base: "uy:flex uy:flex-col uy:gap-100"
14
14
  }
15
- }), M = T(
15
+ }), _ = H(
16
16
  ({
17
17
  children: o,
18
18
  control: f,
19
19
  name: r,
20
- isInvalid: u,
21
- isLoading: c,
22
- isReadOnly: x,
23
- className: F,
24
- isRequired: h,
25
- isDisabled: y
26
- }, b) => {
27
- const C = g(), { schema: t } = j(), {
28
- fieldState: { invalid: v },
29
- formState: i
30
- } = I({ name: r, control: f }), R = p(
31
- () => _(t, r),
20
+ isLoading: u,
21
+ isReadOnly: c,
22
+ className: x,
23
+ isRequired: F,
24
+ isDisabled: h
25
+ }, y) => {
26
+ const b = S(), { schema: t } = g(), { formState: i } = P({ name: r, control: f }), C = d(
27
+ () => I(t, r),
32
28
  [t, r]
33
- ), { hasHelperText: k, hasContextualLink: q } = p(() => {
29
+ ), { hasHelperText: R, hasContextualLink: T } = d(() => {
34
30
  let s = !1, l = !1;
35
- const m = (S) => {
36
- d.Children.forEach(S, (n) => {
37
- if (!d.isValidElement(n)) return;
31
+ const m = (v) => {
32
+ a.Children.forEach(v, (n) => {
33
+ if (!a.isValidElement(n)) return;
38
34
  const e = n;
39
- e.type === N ? s = !0 : e.type === E && (l = !0), e.props && typeof e.props == "object" && "children" in e.props && m(e.props.children);
35
+ e.type === E ? s = !0 : e.type === D && (l = !0), e.props && typeof e.props == "object" && "children" in e.props && m(e.props.children);
40
36
  });
41
37
  };
42
38
  return m(o), { hasHelperText: s, hasContextualLink: l };
43
- }, [o]), H = {
39
+ }, [o]), k = {
44
40
  name: r,
45
- isLoading: c,
46
- isReadOnly: x,
47
- hasHelperText: k,
48
- hasContextualLink: q,
49
- id: C,
50
- isRequired: h ?? R,
51
- isInvalid: u ?? v,
52
- isDisabled: y ?? (i.isSubmitting || i.disabled)
53
- }, { base: L } = w();
54
- return /* @__PURE__ */ a("div", { ref: b, className: L({ className: F }), children: /* @__PURE__ */ a(D, { ...H, children: o }) });
41
+ isLoading: u,
42
+ isReadOnly: c,
43
+ hasHelperText: R,
44
+ hasContextualLink: T,
45
+ id: b,
46
+ isRequired: F ?? C,
47
+ isDisabled: h ?? (i.isSubmitting || i.disabled)
48
+ }, { base: q } = N();
49
+ return /* @__PURE__ */ p("div", { ref: y, className: q({ className: x }), children: /* @__PURE__ */ p(j, { ...k, children: o }) });
55
50
  }
56
51
  );
57
- M.displayName = "FormField";
52
+ _.displayName = "FormField";
58
53
  export {
59
- M as FormField
54
+ _ as FormField
60
55
  };
@@ -1,37 +1,37 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { forwardRef as l } from "react";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as n } from "react";
3
3
  import { Button as m } from "react-aria-components";
4
4
  import { Link as d } from "../../link/Link.js";
5
- import { Text as e } from "../../text/Text.js";
6
- import { useFormField as u } from "../FormField.context.js";
7
- const p = l(({ children: o, href: a, onPress: n }, r) => {
8
- const { formContextualLinkId: i } = u();
9
- return a ? /* @__PURE__ */ t(
5
+ import { useFormField as s } from "../FormField.context.js";
6
+ const e = n(({ children: o, href: t, onPress: l }, a) => {
7
+ const { formContextualLinkId: r } = s();
8
+ return t ? /* @__PURE__ */ i(
10
9
  d,
11
10
  {
12
- id: i,
11
+ id: r,
12
+ size: "small",
13
13
  color: "secondary",
14
14
  variant: "standalone",
15
15
  "data-unity-slot": "contextual-link",
16
- href: a,
17
- ref: r,
16
+ href: t,
17
+ ref: a,
18
18
  "data-dd-privacy": "allow",
19
- children: /* @__PURE__ */ t(e, { variant: "actionSmall", children: o })
19
+ children: o
20
20
  }
21
- ) : /* @__PURE__ */ t(
21
+ ) : /* @__PURE__ */ i(
22
22
  m,
23
23
  {
24
- id: i,
25
- onPress: n,
24
+ id: r,
25
+ onPress: l,
26
26
  "data-unity-slot": "contextual-link",
27
27
  className: "uy:typography-body-small uy:w-fit",
28
- ref: r,
28
+ ref: a,
29
29
  "data-dd-privacy": "allow",
30
30
  children: o
31
31
  }
32
32
  );
33
33
  });
34
- p.displayName = "FormContextualLink";
34
+ e.displayName = "FormContextualLink";
35
35
  export {
36
- p as FormContextualLink
36
+ e as FormContextualLink
37
37
  };
@@ -1,50 +1,54 @@
1
- import { jsx as v } from "react/jsx-runtime";
2
- import { useMemo as y } from "react";
3
- import { Slot as g } from "@radix-ui/react-slot";
4
- import { mergeProps as x } from "react-aria";
5
- import { useFormContext as C, useController as L } from "react-hook-form";
6
- import { useFormField as D } from "../FormField.context.js";
7
- function F({ ...t }) {
1
+ import { jsx as I } from "react/jsx-runtime";
2
+ import { useMemo as g } from "react";
3
+ import { Slot as x } from "@radix-ui/react-slot";
4
+ import { mergeProps as C } from "react-aria";
5
+ import { useFormContext as D, useController as F } from "react-hook-form";
6
+ import { useFormField as L } from "../FormField.context.js";
7
+ function R({ ...s }) {
8
8
  const {
9
- name: d,
9
+ name: t,
10
10
  hasHelperText: r,
11
- hasContextualLink: n,
12
- fieldState: i,
13
- formLabelId: l,
11
+ hasContextualLink: l,
12
+ fieldState: o,
13
+ formLabelId: n,
14
14
  formItemId: m,
15
15
  formDescriptionId: e,
16
- formMessageId: s,
16
+ formMessageId: a,
17
17
  formContextualLinkId: f
18
- } = D(), { control: c } = C(), {
19
- field: { ref: p, ...u }
20
- } = L({ name: d, control: c }), { error: a } = i, b = y(() => [
21
- a ? s : void 0,
18
+ } = L(), { control: p } = D(), {
19
+ field: { ref: c, ...b },
20
+ fieldState: { invalid: u, error: d }
21
+ } = F({ name: t, control: p }), y = g(() => [
22
+ d ? a : void 0,
22
23
  r ? e : void 0
23
- ].filter(Boolean).join(" "), [a, r, e, s]), o = {
24
- isDisabled: i.isDisabled,
25
- isInvalid: i.isInvalid,
26
- isLoading: i.isLoading,
27
- isReadOnly: i.isReadOnly,
28
- isRequired: i.isRequired
29
- }, I = x(t, o, u);
30
- return /* @__PURE__ */ v(
31
- g,
24
+ ].filter(Boolean).join(" "), [d, r, e, a]), i = {
25
+ isInvalid: u,
26
+ isDisabled: o.isDisabled,
27
+ isLoading: o.isLoading,
28
+ isReadOnly: o.isReadOnly
29
+ }, v = C(s, i, b);
30
+ return /* @__PURE__ */ I(
31
+ x,
32
32
  {
33
- ...I,
34
- ref: p,
33
+ ...v,
34
+ ref: c,
35
35
  "data-slot": "form-control",
36
36
  id: m,
37
- "aria-labelledby": l,
38
- "aria-describedby": b,
39
- "aria-details": n ? f : void 0,
40
- "aria-invalid": o.isInvalid,
41
- "aria-disabled": o.isDisabled,
37
+ "aria-labelledby": n,
38
+ "aria-describedby": y,
39
+ "aria-details": l ? f : void 0,
40
+ "aria-invalid": i.isInvalid,
41
+ "data-invalid": i.isInvalid,
42
+ "aria-disabled": i.isDisabled,
43
+ "data-disabled": i.isDisabled,
44
+ "aria-readonly": i.isReadOnly,
45
+ "data-readonly": i.isReadOnly,
42
46
  "aria-required": o.isRequired,
43
- "aria-busy": o.isLoading
47
+ "aria-busy": i.isLoading
44
48
  }
45
49
  );
46
50
  }
47
- F.displayName = "FormControl";
51
+ R.displayName = "FormControl";
48
52
  export {
49
- F as FormControl
53
+ R as FormControl
50
54
  };
@@ -1,28 +1,26 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as s } from "react";
3
- import { Text as l } from "../../text/Text.js";
4
- import { useFormField as n } from "../FormField.context.js";
5
- const f = s(
6
- ({ children: t, ...o }, a) => {
7
- const {
8
- fieldState: { error: r, isInvalid: d },
9
- formMessageId: m
10
- } = n(), e = r ? String(r.message) : t;
11
- return !d || !e ? null : /* @__PURE__ */ i(
12
- l,
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as c } from "react";
3
+ import { useFormContext as f, useController as p } from "react-hook-form";
4
+ import { Text as u } from "../../text/Text.js";
5
+ import { useFormField as y } from "../FormField.context.js";
6
+ const x = c(
7
+ ({ children: e, ...n }, a) => {
8
+ const { name: m, formMessageId: s } = y(), d = f(), o = p({ name: m, control: d.control }), t = o.fieldState.error, i = o.fieldState.invalid, r = t ? String(t.message) : e;
9
+ return !i || !r ? null : /* @__PURE__ */ l(
10
+ u,
13
11
  {
14
- ...o,
15
- id: m,
12
+ ...n,
13
+ id: s,
16
14
  ref: a,
17
15
  "data-unity-slot": "form-feedback-text",
18
16
  className: "uy:typography-body-small-strong uy:text-content-form-invalid",
19
17
  "data-dd-privacy": "allow",
20
- children: e
18
+ children: r
21
19
  }
22
20
  );
23
21
  }
24
22
  );
25
- f.displayName = "FormFeedbackText";
23
+ x.displayName = "FormFeedbackText";
26
24
  export {
27
- f as FormFeedbackText
25
+ x as FormFeedbackText
28
26
  };
@@ -1,13 +1,13 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { useId as o } from "react-aria";
2
+ import { uyTv as o } from "@payfit/unity-themes";
3
+ import { useId as s } from "react-aria";
3
4
  import { FormattedMessage as t } from "react-intl";
4
- import { tv as s } from "tailwind-variants";
5
5
  import { Spinner as i } from "../spinner/Spinner.js";
6
- const n = s({
6
+ const n = o({
7
7
  // add the component styles
8
8
  base: "uy:w-full uy:h-screen uy:flex uy:place-items-center uy:justify-center"
9
- }), m = ({ label: a }) => {
10
- const r = o();
9
+ }), u = ({ label: a }) => {
10
+ const r = s();
11
11
  return /* @__PURE__ */ l(
12
12
  "main",
13
13
  {
@@ -28,8 +28,8 @@ const n = s({
28
28
  }
29
29
  );
30
30
  };
31
- m.displayName = "FullPageLoader";
31
+ u.displayName = "FullPageLoader";
32
32
  export {
33
- m as FullPageLoader,
33
+ u as FullPageLoader,
34
34
  n as fullPageLoader
35
35
  };
@@ -1,5 +1,5 @@
1
1
  import { default as React, PropsWithChildren } from 'react';
2
- import { VariantProps } from 'tailwind-variants';
2
+ import { VariantProps } from '@payfit/unity-themes';
3
3
  export declare const funnelLayout: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:relative uy:h-dvh uy:flex uy:flex-col uy:bg-canvas", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:relative uy:h-dvh uy:flex uy:flex-col uy:bg-canvas", unknown, unknown, undefined>>;
4
4
  export interface FunnelLayoutProps extends PropsWithChildren<VariantProps<typeof funnelLayout>> {
5
5
  /** The header content for the funnel layout, typically a FunnelTopBar component */
@@ -31,7 +31,7 @@ export interface FunnelLayoutProps extends PropsWithChildren<VariantProps<typeof
31
31
  * - Creates a full viewport height layout with sticky top bar
32
32
  * - Automatically sets DataDog's session replay privacy to `data-dd-privacy="mask-user-input"`
33
33
  * @see {@link FunnelLayoutProps} for all available props
34
- * @see Source code in {@link https://github.com/PayFit/hr-apps/tree/master/packages/unity/components/src/components/funnel-layout GitHub}
34
+ * @see Source code in {@link https://github.com/PayFit/hr-apps/blob/master/libs/shared/unity/components/src/components/funnel-layout GitHub}
35
35
  * @see Design specs {@link https://www.figma.com/design/poaMyU7abAgL9VRhx4ygyy/Unity-DS-%3E-Components-Library?node-id=10802-11500&m=dev Figma}
36
36
  * @see Design docs in {@link https://www.payfit.design/24f360409/p/88f9fc-funnel/b/24ca6f Payfit.design}
37
37
  * @see Developer docs in {@link https://unity-components.payfit.io/?path=/docs/layout-funnellayout--docs unity-components.payfit.io}
@@ -1,15 +1,15 @@
1
1
  import { jsx as n, jsxs as l } from "react/jsx-runtime";
2
- import { forwardRef as d, useMemo as f } from "react";
3
- import { useId as y } from "react-aria";
4
- import { FormattedMessage as i } from "react-intl";
5
- import { tv as c } from "tailwind-variants";
6
- import { link as a } from "../link/Link.variants.js";
7
- import { FunnelLayoutProvider as p } from "./FunnelLayout.context.js";
8
- const m = c({
2
+ import { forwardRef as d, useMemo as y } from "react";
3
+ import { uyTv as f } from "@payfit/unity-themes";
4
+ import { useId as c } from "react-aria";
5
+ import { FormattedMessage as a } from "react-intl";
6
+ import { link as p } from "../link/Link.variants.js";
7
+ import { FunnelLayoutProvider as m } from "./FunnelLayout.context.js";
8
+ const h = f({
9
9
  base: "uy:relative uy:h-dvh uy:flex uy:flex-col uy:bg-canvas"
10
- }), h = d(
11
- ({ children: o, header: u, ...s }, r) => {
12
- const e = y(), t = f(
10
+ }), b = d(
11
+ ({ children: o, header: s, ...u }, r) => {
12
+ const e = c(), { base: i } = p(), t = y(
13
13
  () => ({
14
14
  mainContentId: `funnel-main-content-${e}`,
15
15
  topbarId: `funnel-top-bar-${e}`,
@@ -21,13 +21,13 @@ const m = c({
21
21
  }),
22
22
  [e]
23
23
  );
24
- return /* @__PURE__ */ n(p, { ids: t, children: /* @__PURE__ */ l(
24
+ return /* @__PURE__ */ n(m, { ids: t, children: /* @__PURE__ */ l(
25
25
  "div",
26
26
  {
27
27
  "data-dd-privacy": "mask-user-input",
28
- ...s,
28
+ ...u,
29
29
  ref: r,
30
- className: m(),
30
+ className: h(),
31
31
  "data-unity-component": "FunnelLayout",
32
32
  children: [
33
33
  /* @__PURE__ */ l(
@@ -38,7 +38,7 @@ const m = c({
38
38
  "aria-labelledby": `skip-links-label-${e}`,
39
39
  children: [
40
40
  /* @__PURE__ */ n("span", { id: `skip-links-label-${e}`, className: "uy:typography-h4", children: /* @__PURE__ */ n(
41
- i,
41
+ a,
42
42
  {
43
43
  id: "unity:layout:funnel:skip-links:label",
44
44
  defaultMessage: "Skip to:"
@@ -50,9 +50,9 @@ const m = c({
50
50
  {
51
51
  href: `#${t.topbarId}`,
52
52
  tabIndex: 0,
53
- className: a(),
53
+ className: i(),
54
54
  children: /* @__PURE__ */ n(
55
- i,
55
+ a,
56
56
  {
57
57
  id: "unity:layout:funnel:skip-links:top-bar",
58
58
  defaultMessage: "Top bar"
@@ -65,9 +65,9 @@ const m = c({
65
65
  {
66
66
  href: `#${t.mainContentId}`,
67
67
  tabIndex: 0,
68
- className: a(),
68
+ className: i(),
69
69
  children: /* @__PURE__ */ n(
70
- i,
70
+ a,
71
71
  {
72
72
  id: "unity:layout:funnel:skip-links:main-content",
73
73
  defaultMessage: "Main content"
@@ -80,9 +80,9 @@ const m = c({
80
80
  {
81
81
  href: `#${t.asideId}`,
82
82
  tabIndex: 0,
83
- className: a(),
83
+ className: i(),
84
84
  children: /* @__PURE__ */ n(
85
- i,
85
+ a,
86
86
  {
87
87
  id: "unity:layout:funnel:skip-links:sidebar",
88
88
  defaultMessage: "Sidebar"
@@ -95,9 +95,9 @@ const m = c({
95
95
  {
96
96
  href: `#${t.footerId}`,
97
97
  tabIndex: 0,
98
- className: a(),
98
+ className: i(),
99
99
  children: /* @__PURE__ */ n(
100
- i,
100
+ a,
101
101
  {
102
102
  id: "unity:layout:funnel:skip-links:footer",
103
103
  defaultMessage: "Footer"
@@ -114,7 +114,7 @@ const m = c({
114
114
  {
115
115
  "data-unity-component": "FunnelTopBar",
116
116
  className: "uy:sticky uy:top-0 uy:z-10",
117
- children: u
117
+ children: s
118
118
  }
119
119
  ),
120
120
  /* @__PURE__ */ n(
@@ -130,8 +130,8 @@ const m = c({
130
130
  ) });
131
131
  }
132
132
  );
133
- h.displayName = "FunnelLayout";
133
+ b.displayName = "FunnelLayout";
134
134
  export {
135
- h as FunnelLayout,
136
- m as funnelLayout
135
+ b as FunnelLayout,
136
+ h as funnelLayout
137
137
  };
@@ -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 funnelBody: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "uy:group/funnelbody uy:mx-auto uy:w-full uy:min-h-full uy:flex-1 uy:md:max-w-(--uy-container-lg) uy:md:px-300 uy:lg:max-w-(--uy-container-xl) uy:flex uy:flex-col uy:md:flex-row uy:gap-x-200 uy:md:py-600", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "uy:group/funnelbody uy:mx-auto uy:w-full uy:min-h-full uy:flex-1 uy:md:max-w-(--uy-container-lg) uy:md:px-300 uy:lg:max-w-(--uy-container-xl) uy:flex uy:flex-col uy:md:flex-row uy:gap-x-200 uy:md:py-600", unknown, unknown, undefined>>;
4
4
  export type FunnelBodyProps = PropsWithChildren<VariantProps<typeof funnelBody>>;
5
5
  /**
@@ -25,7 +25,7 @@ export type FunnelBodyProps = PropsWithChildren<VariantProps<typeof funnelBody>>
25
25
  * - Provides responsive breakpoints for mobile and desktop layouts
26
26
  * - Automatically sets DataDog's session replay privacy to `data-dd-privacy="allow"`
27
27
  * @see {@link FunnelBodyProps} for all available props
28
- * @see Source code in {@link https://github.com/PayFit/hr-apps/tree/master/packages/unity/components/src/components/funnel-layout/parts GitHub}
28
+ * @see Source code in {@link https://github.com/PayFit/hr-apps/blob/master/libs/shared/unity/components/src/components/funnel-layout/parts GitHub}
29
29
  * @see Design specs {@link https://www.figma.com/design/poaMyU7abAgL9VRhx4ygyy/Unity-DS-%3E-Components-Library?node-id=10802-11500&m=dev Figma}
30
30
  * @see Design docs in {@link https://www.payfit.design/24f360409/p/88f9fc-funnel/b/24ca6f Payfit.design}
31
31
  * @see Developer docs in {@link https://unity-components.payfit.io/?path=/docs/layout-funnellayout-funnelbody--docs unity-components.payfit.io}
@@ -1,15 +1,15 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as n } from "react";
3
- import { tv as a } from "tailwind-variants";
3
+ import { uyTv as a } from "@payfit/unity-themes";
4
4
  const e = a({
5
5
  base: "uy:group/funnelbody uy:mx-auto uy:w-full uy:min-h-full uy:flex-1 uy:md:max-w-(--uy-container-lg) uy:md:px-300 uy:lg:max-w-(--uy-container-xl) uy:flex uy:flex-col uy:md:flex-row uy:gap-x-200 uy:md:py-600"
6
6
  }), m = n(
7
- ({ children: u, ...o }, y) => /* @__PURE__ */ l(
7
+ ({ children: u, ...y }, o) => /* @__PURE__ */ l(
8
8
  "div",
9
9
  {
10
- ref: y,
10
+ ref: o,
11
11
  "data-dd-privacy": "allow",
12
- ...o,
12
+ ...y,
13
13
  className: e(),
14
14
  "data-unity-component": "FunnelBody",
15
15
  children: u
@@ -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 funnelPage: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
4
4
  export type FunnelPageProps = PropsWithChildren<VariantProps<typeof funnelPage>>;
5
5
  /**
@@ -25,7 +25,7 @@ export type FunnelPageProps = PropsWithChildren<VariantProps<typeof funnelPage>>
25
25
  * - Provides proper semantic structure with main element
26
26
  * - Automatically sets DataDog's session replay privacy to `data-dd-privacy="mask-user-input"`
27
27
  * @see {@link FunnelPageProps} for all available props
28
- * @see Source code in {@link https://github.com/PayFit/hr-apps/tree/master/packages/unity/components/src/components/funnel-layout/parts GitHub}
28
+ * @see Source code in {@link https://github.com/PayFit/hr-apps/blob/master/libs/shared/unity/components/src/components/funnel-layout/parts GitHub}
29
29
  * @see Design specs {@link https://www.figma.com/design/poaMyU7abAgL9VRhx4ygyy/Unity-DS-%3E-Components-Library?node-id=10802-11500&m=dev Figma}
30
30
  * @see Design docs in {@link https://www.payfit.design/24f360409/p/88f9fc-funnel/b/24ca6f Payfit.design}
31
31
  * @see Developer docs in {@link https://unity-components.payfit.io/?path=/docs/layout-funnellayout-funnelpage--docs unity-components.payfit.io}