@gusto/embedded-react-sdk 0.11.3 → 0.12.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 (281) hide show
  1. package/CHANGELOG.md +181 -0
  2. package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js +1 -1
  3. package/dist/components/Common/DocumentList/DocumentList.module.scss.js +1 -1
  4. package/dist/components/Common/DocumentViewer/DocumentViewer.module.scss.js +1 -1
  5. package/dist/components/Common/EmptyData/EmptyData.module.scss.js +1 -1
  6. package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.module.scss.js +1 -1
  7. package/dist/components/Common/FieldLayout/FieldLayout.module.scss.js +6 -6
  8. package/dist/components/Common/Flex/Flex.d.ts +2 -2
  9. package/dist/components/Common/Flex/Flex.js +5 -5
  10. package/dist/components/Common/Flex/Flex.js.map +1 -1
  11. package/dist/components/Common/Form/Form.module.scss.js +2 -2
  12. package/dist/components/Common/Grid/Grid.d.ts +2 -2
  13. package/dist/components/Common/Grid/Grid.js +13 -13
  14. package/dist/components/Common/Grid/Grid.js.map +1 -1
  15. package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.module.scss.js +12 -12
  16. package/dist/components/Common/InternalError/InternalError.module.scss.js +1 -1
  17. package/dist/components/Common/Loading/Loading.module.scss.js +1 -1
  18. package/dist/components/Common/PaginationControl/PaginationControl.module.scss.js +1 -1
  19. package/dist/components/Common/ReorderableList/ReorderableList.module.scss.js +15 -15
  20. package/dist/components/Common/RequirementsList/RequirementsList.module.scss.js +1 -1
  21. package/dist/components/Common/SignatureForm/SignatureForm.js +1 -1
  22. package/dist/components/Common/SignatureForm/SignatureForm.module.scss.js +6 -6
  23. package/dist/components/Common/SignatureForm/SignatureFormActions.js +1 -1
  24. package/dist/components/Common/SignatureForm/SignatureFormFields.js +1 -1
  25. package/dist/components/Common/UI/Alert/Alert.module.scss.js +1 -1
  26. package/dist/components/Common/UI/Badge/Badge.module.scss.js +1 -1
  27. package/dist/components/Common/UI/Button/Button.module.scss.js +1 -1
  28. package/dist/components/Common/UI/Button/ButtonIcon.module.scss.js +1 -1
  29. package/dist/components/Common/UI/CalendarPreview/CalendarPreview.module.scss.js +5 -5
  30. package/dist/components/Common/UI/Card/Card.module.scss.js +1 -1
  31. package/dist/components/Common/UI/Checkbox/Checkbox.module.scss.js +8 -8
  32. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.module.scss.js +1 -1
  33. package/dist/components/Common/UI/ComboBox/ComboBox.module.scss.js +1 -1
  34. package/dist/components/Common/UI/DatePicker/DatePicker.module.scss.js +5 -5
  35. package/dist/components/Common/UI/Input/Input.module.scss.js +7 -7
  36. package/dist/components/Common/UI/Link/Link.module.scss.js +1 -1
  37. package/dist/components/Common/UI/List/List.module.scss.js +1 -1
  38. package/dist/components/Common/UI/Menu/Menu.module.scss.js +5 -5
  39. package/dist/components/Common/UI/NumberInput/NumberInput.js +36 -38
  40. package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
  41. package/dist/components/Common/UI/ProgressBar/ProgressBar.module.scss.js +1 -1
  42. package/dist/components/Common/UI/Radio/Radio.module.scss.js +1 -1
  43. package/dist/components/Common/UI/RadioGroup/RadioGroup.module.scss.js +1 -1
  44. package/dist/components/Common/UI/Select/Select.module.scss.js +1 -1
  45. package/dist/components/Common/UI/Switch/Switch.module.scss.js +4 -4
  46. package/dist/components/Common/UI/Table/Table.module.scss.js +1 -1
  47. package/dist/components/Common/UI/Text/Text.module.scss.js +14 -14
  48. package/dist/components/Company/AssignSignatory/AssignSignatory.js +7 -6
  49. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  50. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +2 -3
  51. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  52. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +2 -3
  53. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  54. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +3 -2
  55. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
  56. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +14 -13
  57. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
  58. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +2 -3
  59. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  60. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +6 -5
  61. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
  62. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +11 -10
  63. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
  64. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +6 -6
  65. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +8 -9
  66. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  67. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +8 -9
  68. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  69. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +7 -8
  70. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  71. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -5
  72. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  73. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +2 -3
  74. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  75. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +9 -8
  76. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  77. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +7 -6
  78. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  79. package/dist/components/Company/FederalTaxes/Actions.js +5 -6
  80. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  81. package/dist/components/Company/FederalTaxes/FederalTaxes.js +13 -12
  82. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  83. package/dist/components/Company/FederalTaxes/Form.js +3 -4
  84. package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
  85. package/dist/components/Company/Industry/Actions.js +2 -3
  86. package/dist/components/Company/Industry/Actions.js.map +1 -1
  87. package/dist/components/Company/Industry/Edit.js +4 -5
  88. package/dist/components/Company/Industry/Edit.js.map +1 -1
  89. package/dist/components/Company/Locations/LocationForm/Actions.js +6 -7
  90. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  91. package/dist/components/Company/Locations/LocationForm/Form.js +6 -5
  92. package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
  93. package/dist/components/Company/Locations/LocationForm/LocationForm.js +11 -10
  94. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  95. package/dist/components/Company/Locations/LocationsList/Actions.js +6 -7
  96. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  97. package/dist/components/Company/Locations/LocationsList/List.js +2 -3
  98. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  99. package/dist/components/Company/Locations/LocationsList/LocationsList.js +7 -6
  100. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  101. package/dist/components/Company/OnboardingOverview/Completed.js +10 -11
  102. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  103. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +6 -7
  104. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  105. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +3 -2
  106. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  107. package/dist/components/Company/PaySchedule/PaySchedule.js +34 -33
  108. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  109. package/dist/components/Company/PaySchedule/_parts/Actions.js +9 -10
  110. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  111. package/dist/components/Company/PaySchedule/_parts/Edit.js +17 -16
  112. package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
  113. package/dist/components/Company/PaySchedule/_parts/Edit.module.scss.js +1 -1
  114. package/dist/components/Company/PaySchedule/_parts/Head.js +6 -7
  115. package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
  116. package/dist/components/Company/PaySchedule/_parts/List.js +11 -12
  117. package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
  118. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +2 -3
  119. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  120. package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js +8 -8
  121. package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js.map +1 -1
  122. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +2 -3
  123. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  124. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +2 -3
  125. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  126. package/dist/components/Contractor/Address/Address.js +5 -4
  127. package/dist/components/Contractor/Address/Address.js.map +1 -1
  128. package/dist/components/Contractor/Address/Form.js +4 -3
  129. package/dist/components/Contractor/Address/Form.js.map +1 -1
  130. package/dist/components/Contractor/ContractorList/index.d.ts +16 -0
  131. package/dist/components/Contractor/ContractorList/index.js +125 -0
  132. package/dist/components/Contractor/ContractorList/index.js.map +1 -0
  133. package/dist/components/Contractor/{List → ContractorList}/useContractorList.d.ts +1 -3
  134. package/dist/components/Contractor/{List → ContractorList}/useContractorList.js +9 -10
  135. package/dist/components/Contractor/ContractorList/useContractorList.js.map +1 -0
  136. package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.d.ts +2 -0
  137. package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.js +25 -0
  138. package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.js.map +1 -0
  139. package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.d.ts +26 -0
  140. package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.js +71 -0
  141. package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.js.map +1 -0
  142. package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.d.ts +9 -0
  143. package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.js +119 -0
  144. package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.js.map +1 -0
  145. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +5 -6
  146. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  147. package/dist/components/Contractor/Profile/ContractorProfile.js +31 -17
  148. package/dist/components/Contractor/Profile/ContractorProfile.js.map +1 -1
  149. package/dist/components/Contractor/Profile/ContractorProfileForm.d.ts +1 -1
  150. package/dist/components/Contractor/Profile/ContractorProfileForm.js +40 -44
  151. package/dist/components/Contractor/Profile/ContractorProfileForm.js.map +1 -1
  152. package/dist/components/Contractor/Profile/useContractorProfile.d.ts +13 -12
  153. package/dist/components/Contractor/Profile/useContractorProfile.js +144 -144
  154. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  155. package/dist/components/Contractor/Submit/Submit.d.ts +7 -0
  156. package/dist/components/Contractor/Submit/Submit.js +77 -0
  157. package/dist/components/Contractor/Submit/Submit.js.map +1 -0
  158. package/dist/components/Contractor/Submit/SubmitDone.js +11 -11
  159. package/dist/components/Contractor/Submit/SubmitDone.js.map +1 -1
  160. package/dist/components/Contractor/index.d.ts +3 -2
  161. package/dist/components/Contractor/index.js +10 -8
  162. package/dist/components/Contractor/index.js.map +1 -1
  163. package/dist/components/Employee/Compensation/Actions.js +1 -1
  164. package/dist/components/Employee/Compensation/Edit.js +12 -12
  165. package/dist/components/Employee/Compensation/List.js +22 -23
  166. package/dist/components/Employee/Compensation/List.js.map +1 -1
  167. package/dist/components/Employee/Deductions/Deductions.d.ts +8 -14
  168. package/dist/components/Employee/Deductions/Deductions.js +47 -140
  169. package/dist/components/Employee/Deductions/Deductions.js.map +1 -1
  170. package/dist/components/Employee/Deductions/DeductionsComponents.d.ts +23 -0
  171. package/dist/components/Employee/Deductions/DeductionsComponents.js +31 -0
  172. package/dist/components/Employee/Deductions/DeductionsComponents.js.map +1 -0
  173. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.d.ts +41 -0
  174. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +135 -0
  175. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -0
  176. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.d.ts +6 -0
  177. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +99 -0
  178. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -0
  179. package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.d.ts +15 -0
  180. package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js +49 -0
  181. package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js.map +1 -0
  182. package/dist/components/Employee/Deductions/stateMachine.d.ts +7 -0
  183. package/dist/components/Employee/Deductions/stateMachine.js +107 -0
  184. package/dist/components/Employee/Deductions/stateMachine.js.map +1 -0
  185. package/dist/components/Employee/Deductions/useDeductions.d.ts +2 -2
  186. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +6 -7
  187. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  188. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +8 -7
  189. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  190. package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -3
  191. package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
  192. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +10 -9
  193. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  194. package/dist/components/Employee/EmployeeList/Actions.js +2 -3
  195. package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
  196. package/dist/components/Employee/EmployeeList/EmployeeList.js +4 -3
  197. package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
  198. package/dist/components/Employee/EmployeeList/Head.js +5 -6
  199. package/dist/components/Employee/EmployeeList/Head.js.map +1 -1
  200. package/dist/components/Employee/EmployeeList/List.js +12 -12
  201. package/dist/components/Employee/Landing/Landing.js +8 -8
  202. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
  203. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.module.scss.js +6 -6
  204. package/dist/components/Employee/PaymentMethod/Actions.js +5 -6
  205. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  206. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +1 -1
  207. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +8 -9
  208. package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
  209. package/dist/components/Employee/PaymentMethod/Split.js +8 -8
  210. package/dist/components/Employee/Profile/Actions.js +6 -7
  211. package/dist/components/Employee/Profile/Actions.js.map +1 -1
  212. package/dist/components/Employee/Profile/HomeAddress.js +6 -5
  213. package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
  214. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +22 -21
  215. package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
  216. package/dist/components/Employee/Taxes/Actions.js +8 -9
  217. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  218. package/dist/components/Employee/Taxes/FederalForm.js +12 -13
  219. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  220. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.d.ts +3 -3
  221. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +2 -3
  222. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  223. package/dist/contexts/ThemeProvider/ThemeProvider.d.ts +1 -5
  224. package/dist/contexts/ThemeProvider/ThemeProvider.js +18 -60
  225. package/dist/contexts/ThemeProvider/ThemeProvider.js.map +1 -1
  226. package/dist/contexts/ThemeProvider/theme.d.ts +42 -11
  227. package/dist/contexts/ThemeProvider/theme.js +31 -15
  228. package/dist/contexts/ThemeProvider/theme.js.map +1 -1
  229. package/dist/helpers/responsive.d.ts +0 -3
  230. package/dist/helpers/responsive.js +20 -34
  231. package/dist/helpers/responsive.js.map +1 -1
  232. package/dist/i18n/I18n.js +1 -1
  233. package/dist/i18n/I18n.js.map +1 -1
  234. package/dist/i18n/en/Contractor.ContractorList.json.js +14 -10
  235. package/dist/i18n/en/Contractor.ContractorList.json.js.map +1 -1
  236. package/dist/i18n/en/Contractor.Submit.json.js +22 -0
  237. package/dist/i18n/en/Contractor.Submit.json.js.map +1 -0
  238. package/dist/i18n/en/Employee.Deductions.json.js +49 -51
  239. package/dist/i18n/en/Employee.Deductions.json.js.map +1 -1
  240. package/dist/shared/constants.d.ts +20 -2
  241. package/dist/shared/constants.js +21 -11
  242. package/dist/shared/constants.js.map +1 -1
  243. package/dist/style.css +1 -1
  244. package/dist/types/i18next.d.ts +25 -14
  245. package/package.json +2 -1
  246. package/dist/components/Common/UI/NumberInput/NumberInput.module.scss.js +0 -8
  247. package/dist/components/Common/UI/NumberInput/NumberInput.module.scss.js.map +0 -1
  248. package/dist/components/Contractor/List/index.d.ts +0 -25
  249. package/dist/components/Contractor/List/index.js +0 -81
  250. package/dist/components/Contractor/List/index.js.map +0 -1
  251. package/dist/components/Contractor/List/useContractorList.js.map +0 -1
  252. package/dist/components/Contractor/Submit/ContractorSubmitWithApi.d.ts +0 -6
  253. package/dist/components/Contractor/Submit/ContractorSubmitWithApi.js +0 -27
  254. package/dist/components/Contractor/Submit/ContractorSubmitWithApi.js.map +0 -1
  255. package/dist/components/Contractor/Submit/index.d.ts +0 -6
  256. package/dist/components/Contractor/Submit/index.js +0 -20
  257. package/dist/components/Contractor/Submit/index.js.map +0 -1
  258. package/dist/components/Contractor/Submit/index.module.scss.js +0 -8
  259. package/dist/components/Contractor/Submit/index.module.scss.js.map +0 -1
  260. package/dist/components/Employee/Deductions/Actions.js +0 -27
  261. package/dist/components/Employee/Deductions/Actions.js.map +0 -1
  262. package/dist/components/Employee/Deductions/DeductionForm.d.ts +0 -1
  263. package/dist/components/Employee/Deductions/DeductionForm.js +0 -78
  264. package/dist/components/Employee/Deductions/DeductionForm.js.map +0 -1
  265. package/dist/components/Employee/Deductions/DeductionsList.d.ts +0 -2
  266. package/dist/components/Employee/Deductions/DeductionsList.js +0 -60
  267. package/dist/components/Employee/Deductions/DeductionsList.js.map +0 -1
  268. package/dist/components/Employee/Deductions/Head.js +0 -13
  269. package/dist/components/Employee/Deductions/Head.js.map +0 -1
  270. package/dist/components/Employee/Deductions/IncludeDeductionsForm.d.ts +0 -1
  271. package/dist/components/Employee/Deductions/IncludeDeductionsForm.js +0 -27
  272. package/dist/components/Employee/Deductions/IncludeDeductionsForm.js.map +0 -1
  273. package/dist/components/Employee/Deductions/useDeductions.js +0 -33
  274. package/dist/components/Employee/Deductions/useDeductions.js.map +0 -1
  275. package/dist/contexts/ThemeProvider/createTheme.d.ts +0 -21
  276. package/dist/contexts/ThemeProvider/createTheme.js +0 -269
  277. package/dist/contexts/ThemeProvider/createTheme.js.map +0 -1
  278. package/dist/i18n/en/Contractor.ContractorSubmit.json.js +0 -18
  279. package/dist/i18n/en/Contractor.ContractorSubmit.json.js.map +0 -1
  280. package/dist/types/GTheme.d.ts +0 -254
  281. /package/dist/contexts/ThemeProvider/{createTheme.test.d.ts → theme.test.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,186 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Updated theming
6
+
7
+ We have updated our theming approach for the SDK which is a breaking change. See the breaking changes section for this release below for more information.
8
+
9
+ ### Features & Enhancements
10
+
11
+ - Expose Speakeasy hooks to consumers of SDK for enhanced API interaction capabilities
12
+ - Navigate to add mode when payschedule list is empty
13
+ - Use virtualization to optimize comboboxes with long lists
14
+ - Update Button styling and variants
15
+
16
+ ### Fixes
17
+
18
+ - Fix deductions state machine flow and auto-redirect behavior
19
+ - Fix deductions copy and export components
20
+ - Fix pay schedule preview component registration to react-hook-form
21
+ - Fix DatePicker timezone issue
22
+ - Fix react-aria select onChange behavior
23
+ - Fix vite CSS file name requirement on v6
24
+ - Fix console issues in readme publish and type issue in select
25
+ - Fix dependencies to satisfy dependabot
26
+ - Fix only update onboarding status for admin
27
+ - Fix eliminate flash between datacards and datatable
28
+ - Fix mark required fields as required to prevent optional label display
29
+
30
+ ### Chores & Maintenance
31
+
32
+ - Update theming infrastructure and migrate all components to use new flat theme variables
33
+ - Change timeout for long running e2e test to 20s
34
+ - Add cursor rule files for AI assistance
35
+ - Fix docs publishing issues
36
+
37
+ ### Breaking changes
38
+
39
+ > Note: We are pre alpha and are regularly iterating on the SDK as we learn more about our consumers and their needs which sometimes involves breaking changes. [Read more about our current versioning strategy here](./docs/04/01/versioning.md).
40
+
41
+ #### Legacy theming infrastructure has been removed in favor of simplified flat theme approach
42
+
43
+ The legacy theming system with nested objects and complex component-specific themes has been updated. The new system uses a flat theme object that is more straightforward and easier to use.
44
+
45
+ See the following docs for more context:
46
+
47
+ - [Theming overview](./docs/theming/theming.md)
48
+ - [Theme variables inventory](./docs/theming/theme-variables.md)
49
+
50
+ The following example provides a before and after with a mapping of the old theme object to the new equivalent.
51
+
52
+ **Before (nested structure):**
53
+
54
+ ```tsx
55
+ <GustoProvider
56
+ theme={{
57
+ typography: {
58
+ font: 'Geist', // Maps to fontFamily
59
+ fontWeight: {
60
+ regular: 400, // Maps to fontWeightRegular
61
+ medium: 500, // Maps to fontWeightMedium
62
+ semibold: 600, // Maps to fontWeightSemibold
63
+ bold: 700, // Maps to fontWeightBold
64
+ },
65
+ fontSize: {
66
+ small: '14px', // Maps to fontSizeSmall
67
+ regular: '16px', // Maps to fontSizeRegular
68
+ medium: '18px', // Maps to fontSizeLarge
69
+ },
70
+ headings: {
71
+ 1: '32px', // Maps to fontSizeHeading1
72
+ 2: '24px', // Maps to fontSizeHeading2
73
+ 3: '20px', // Maps to fontSizeHeading3
74
+ 4: '18px', // Maps to fontSizeHeading4
75
+ 5: '16px', // Maps to fontSizeHeading5
76
+ 6: '14px', // Maps to fontSizeHeading6
77
+ },
78
+ textColor: '#1C1C1C', // Maps to colorBodyContent
79
+ },
80
+ colors: {
81
+ gray: {
82
+ 100: '#FFFFFF', // Maps to colorBody
83
+ 200: '#FBFAFA', // Maps to colorBodyAccent
84
+ 300: '#F4F4F3', // Maps to colorBodyAccent
85
+ 400: '#EAEAEA', // Maps to colorBorder
86
+ 500: '#DCDCDC', // Maps to inputBorderColor
87
+ 600: '#BABABC', // Maps to colorBodySubContent
88
+ 700: '#919197', // Maps to colorBodySubContent
89
+ 800: '#6C6C72', // Maps to colorBodySubContent
90
+ 900: '#525257', // Maps to colorPrimaryAccent
91
+ 1000: '#1C1C1C', // Maps to colorPrimary & colorBodyContent
92
+ },
93
+ error: {
94
+ 100: '#FFF7F5', // Maps to colorError
95
+ 500: '#D5351F', // Maps to colorErrorAccent
96
+ 800: '#B41D08', // Maps to colorErrorContent
97
+ },
98
+ },
99
+ input: {
100
+ fontSize: '14px', // Maps to inputLabelFontSize
101
+ radius: '8px', // Maps to inputRadius
102
+ textColor: '#1C1C1C', // Maps to inputContentColor
103
+ borderColor: '#DCDCDC', // Maps to inputBorderColor
104
+ background: '#FFFFFF', // Maps to inputBackgroundColor
105
+ },
106
+ button: {
107
+ fontSize: '14px', // Maps to fontSizeSmall
108
+ fontWeight: 500, // Maps to fontWeightMedium
109
+ borderRadius: '6px', // Maps to buttonRadius
110
+ primary: {
111
+ color: '#FFFFFF', // Maps to colorPrimaryContent
112
+ bg: '#1C1C1C', // Maps to colorPrimary
113
+ borderColor: '#1C1C1C', // Maps to colorPrimary
114
+ },
115
+ },
116
+ focus: {
117
+ color: '#1C1C1C', // Maps to focusRingColor
118
+ borderWidth: '2px', // Maps to focusRingWidth
119
+ },
120
+ shadow: {
121
+ 100: '0px 1px 2px 0px rgba(10, 13, 18, 0.05)', // Maps to shadowResting
122
+ 200: '0px 4px 6px 0px rgba(28, 28, 28, 0.05), 0px 10px 15px 0px rgba(28, 28, 28, 0.10)', // Maps to shadowTopmost
123
+ },
124
+ badge: {
125
+ borderRadius: '16px', // Maps to badgeRadius
126
+ },
127
+ radius: '6px', // Maps to buttonRadius (default)
128
+ transitionDuration: '200ms', // Maps to transitionDuration
129
+ }}
130
+ >
131
+ {children}
132
+ </GustoProvider>
133
+ ```
134
+
135
+ **After (simplified flat structure):**
136
+
137
+ ```tsx
138
+ <GustoProvider
139
+ theme={{
140
+ fontFamily: 'Geist',
141
+ fontWeightRegular: '400',
142
+ fontWeightMedium: '500',
143
+ fontWeightSemibold: '600',
144
+ fontWeightBold: '700',
145
+ fontSizeSmall: '14px',
146
+ fontSizeRegular: '16px',
147
+ fontSizeLarge: '18px',
148
+ fontSizeHeading1: '32px',
149
+ fontSizeHeading2: '24px',
150
+ fontSizeHeading3: '20px',
151
+ fontSizeHeading4: '18px',
152
+ fontSizeHeading5: '16px',
153
+ fontSizeHeading6: '14px',
154
+ colorBody: '#FFFFFF',
155
+ colorBodyAccent: '#F4F4F3',
156
+ colorBodyContent: '#1C1C1C',
157
+ colorBodySubContent: '#6C6C72',
158
+ colorBorder: '#EAEAEA',
159
+ colorPrimary: '#1C1C1C',
160
+ colorPrimaryAccent: '#525257',
161
+ colorPrimaryContent: '#FFFFFF',
162
+ colorError: '#FFF7F5',
163
+ colorErrorAccent: '#D5351F',
164
+ colorErrorContent: '#B41D08',
165
+ inputRadius: '8px',
166
+ inputBackgroundColor: '#FFFFFF',
167
+ inputBorderColor: '#DCDCDC',
168
+ inputContentColor: '#1C1C1C',
169
+ inputLabelFontSize: '16px',
170
+ buttonRadius: '8px',
171
+ focusRingColor: '#1C1C1C',
172
+ focusRingWidth: '2px',
173
+ shadowResting: '0px 1px 2px 0px rgba(10, 13, 18, 0.05)',
174
+ shadowTopmost:
175
+ '0px 4px 6px 0px rgba(28, 28, 28, 0.05), 0px 10px 15px 0px rgba(28, 28, 28, 0.10)',
176
+ badgeRadius: '16px',
177
+ transitionDuration: '200ms',
178
+ }}
179
+ >
180
+ {children}
181
+ </GustoProvider>
182
+ ```
183
+
3
184
  ## 0.11.3
4
185
 
5
186
  - Minor release to assist in docs publishing
@@ -1,4 +1,4 @@
1
- const t = "_columnTitle_1djp5_1", l = "_columnData_1djp5_8", o = {
1
+ const t = "_columnTitle_1rhjs_1", l = "_columnData_1rhjs_8", o = {
2
2
  columnTitle: t,
3
3
  columnData: l
4
4
  };
@@ -1,4 +1,4 @@
1
- const t = "_documentList_1edqy_1", o = "_formTitle_1edqy_8", s = "_formDescription_1edqy_12", e = "_statusCell_1edqy_16", r = "_documentListError_1edqy_20", c = {
1
+ const t = "_documentList_y7zef_1", o = "_formTitle_y7zef_8", s = "_formDescription_y7zef_12", e = "_statusCell_y7zef_16", r = "_documentListError_y7zef_20", c = {
2
2
  documentList: t,
3
3
  formTitle: o,
4
4
  formDescription: s,
@@ -1,4 +1,4 @@
1
- const n = "_container_jjjg0_1", d = "_embedPdf_jjjg0_4", e = "_smallEmbedPdfContainer_jjjg0_9", o = "_smallEmbedPdf_jjjg0_9", s = "_heading_jjjg0_23", t = "_downloadInstructions_jjjg0_26", a = {
1
+ const n = "_container_1ux7f_1", d = "_embedPdf_1ux7f_4", e = "_smallEmbedPdfContainer_1ux7f_9", o = "_smallEmbedPdf_1ux7f_9", s = "_heading_1ux7f_23", t = "_downloadInstructions_1ux7f_26", a = {
2
2
  container: n,
3
3
  embedPdf: d,
4
4
  smallEmbedPdfContainer: e,
@@ -1,4 +1,4 @@
1
- const t = "_emptyData_1dzn2_1", e = "_title_1dzn2_9", a = {
1
+ const t = "_emptyData_4b2s1_1", e = "_title_4b2s1_9", a = {
2
2
  emptyData: t,
3
3
  title: e
4
4
  };
@@ -1,4 +1,4 @@
1
- const o = "_root_1iceu_1", r = "_withErrorIcon_1iceu_9", t = {
1
+ const o = "_root_3cadn_1", r = "_withErrorIcon_3cadn_9", t = {
2
2
  root: o,
3
3
  withErrorIcon: r
4
4
  };
@@ -1,15 +1,15 @@
1
- const e = "_root_1axvp_1", i = "_labelAndDescription_1axvp_7", s = "_withVisibleLabel_1axvp_11", t = "_withDescription_1axvp_14", o = "_errorMessage_1axvp_18", r = {
2
- root: e,
3
- labelAndDescription: i,
1
+ const i = "_root_kyliw_1", e = "_labelAndDescription_kyliw_7", s = "_withVisibleLabel_kyliw_11", t = "_withDescription_kyliw_14", o = "_errorMessage_kyliw_18", l = {
2
+ root: i,
3
+ labelAndDescription: e,
4
4
  withVisibleLabel: s,
5
5
  withDescription: t,
6
6
  errorMessage: o
7
7
  };
8
8
  export {
9
- r as default,
9
+ l as default,
10
10
  o as errorMessage,
11
- i as labelAndDescription,
12
- e as root,
11
+ e as labelAndDescription,
12
+ i as root,
13
13
  t as withDescription,
14
14
  s as withVisibleLabel
15
15
  };
@@ -1,10 +1,10 @@
1
- import { Responsive, ResponsiveSpacing } from '../../../helpers/responsive';
1
+ import { Responsive, CustomPropertyValue } from '../../../helpers/responsive';
2
2
  export interface FlexProps {
3
3
  children: React.ReactNode;
4
4
  flexDirection?: Responsive<'row' | 'column'>;
5
5
  justifyContent?: Responsive<'space-between' | 'center' | 'flex-start' | 'flex-end' | 'space-around' | 'space-evenly' | 'normal'>;
6
6
  alignItems?: Responsive<'center' | 'flex-start' | 'flex-end' | 'stretch'>;
7
- gap?: ResponsiveSpacing;
7
+ gap?: Responsive<CustomPropertyValue>;
8
8
  }
9
9
  export declare function Flex({ children, flexDirection, justifyContent, alignItems, gap, }: FlexProps): import("react/jsx-runtime").JSX.Element;
10
10
  export interface FlexItemProps {
@@ -1,22 +1,22 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import t from "./Flex.module.scss.js";
3
- import { setResponsiveCustomProperties as a, transformResponsiveSpacingValue as m } from "../../../helpers/responsive.js";
4
- function x({
3
+ import { setResponsiveCustomProperties as m } from "../../../helpers/responsive.js";
4
+ function c({
5
5
  children: r,
6
6
  flexDirection: o = "row",
7
7
  justifyContent: s = "normal",
8
8
  alignItems: i = "flex-start",
9
9
  gap: n = 24
10
10
  }) {
11
- const l = a({
11
+ const l = m({
12
12
  "flex-direction": o,
13
13
  "justify-content": s,
14
14
  "align-items": i,
15
- gap: m(n)
15
+ gap: n
16
16
  });
17
17
  return /* @__PURE__ */ e("div", { className: t.flexContainer, children: /* @__PURE__ */ e("div", { className: t.flex, style: l, children: r }) });
18
18
  }
19
19
  export {
20
- x as Flex
20
+ c as Flex
21
21
  };
22
22
  //# sourceMappingURL=Flex.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Flex.js","sources":["../../../../src/components/Common/Flex/Flex.tsx"],"sourcesContent":["import style from './Flex.module.scss'\nimport {\n setResponsiveCustomProperties,\n transformResponsiveSpacingValue,\n type Responsive,\n type ResponsiveSpacing,\n} from '@/helpers/responsive'\n\nexport interface FlexProps {\n children: React.ReactNode\n flexDirection?: Responsive<'row' | 'column'>\n justifyContent?: Responsive<\n | 'space-between'\n | 'center'\n | 'flex-start'\n | 'flex-end'\n | 'space-around'\n | 'space-evenly'\n | 'normal'\n >\n alignItems?: Responsive<'center' | 'flex-start' | 'flex-end' | 'stretch'>\n gap?: ResponsiveSpacing\n}\n\nexport function Flex({\n children,\n flexDirection = 'row',\n justifyContent = 'normal',\n alignItems = 'flex-start',\n gap = 24,\n}: FlexProps) {\n const properties = setResponsiveCustomProperties({\n 'flex-direction': flexDirection,\n 'justify-content': justifyContent,\n 'align-items': alignItems,\n gap: transformResponsiveSpacingValue(gap),\n })\n\n return (\n <div className={style.flexContainer}>\n <div className={style.flex} style={properties}>\n {children}\n </div>\n </div>\n )\n}\n\nexport interface FlexItemProps {\n flexGrow?: number | 'initial'\n children: React.ReactNode\n}\n\nexport function FlexItem({ flexGrow = 'initial', children }: FlexItemProps) {\n return <div style={{ flexGrow: flexGrow }}>{children}</div>\n}\n"],"names":["Flex","children","flexDirection","justifyContent","alignItems","gap","properties","setResponsiveCustomProperties","transformResponsiveSpacingValue","jsx","style"],"mappings":";;;AAwBO,SAASA,EAAK;AAAA,EACnB,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,gBAAAC,IAAiB;AAAA,EACjB,YAAAC,IAAa;AAAA,EACb,KAAAC,IAAM;AACR,GAAc;AACZ,QAAMC,IAAaC,EAA8B;AAAA,IAC/C,kBAAkBL;AAAA,IAClB,mBAAmBC;AAAA,IACnB,eAAeC;AAAA,IACf,KAAKI,EAAgCH,CAAG;AAAA,EAAA,CACzC;AAED,SACE,gBAAAI,EAAC,OAAA,EAAI,WAAWC,EAAM,eACpB,UAAA,gBAAAD,EAAC,OAAA,EAAI,WAAWC,EAAM,MAAM,OAAOJ,GAChC,UAAAL,GACH,GACF;AAEJ;"}
1
+ {"version":3,"file":"Flex.js","sources":["../../../../src/components/Common/Flex/Flex.tsx"],"sourcesContent":["import style from './Flex.module.scss'\nimport {\n setResponsiveCustomProperties,\n type Responsive,\n type CustomPropertyValue,\n} from '@/helpers/responsive'\n\nexport interface FlexProps {\n children: React.ReactNode\n flexDirection?: Responsive<'row' | 'column'>\n justifyContent?: Responsive<\n | 'space-between'\n | 'center'\n | 'flex-start'\n | 'flex-end'\n | 'space-around'\n | 'space-evenly'\n | 'normal'\n >\n alignItems?: Responsive<'center' | 'flex-start' | 'flex-end' | 'stretch'>\n gap?: Responsive<CustomPropertyValue>\n}\n\nexport function Flex({\n children,\n flexDirection = 'row',\n justifyContent = 'normal',\n alignItems = 'flex-start',\n gap = 24,\n}: FlexProps) {\n const properties = setResponsiveCustomProperties({\n 'flex-direction': flexDirection,\n 'justify-content': justifyContent,\n 'align-items': alignItems,\n gap,\n })\n\n return (\n <div className={style.flexContainer}>\n <div className={style.flex} style={properties}>\n {children}\n </div>\n </div>\n )\n}\n\nexport interface FlexItemProps {\n flexGrow?: number | 'initial'\n children: React.ReactNode\n}\n\nexport function FlexItem({ flexGrow = 'initial', children }: FlexItemProps) {\n return <div style={{ flexGrow: flexGrow }}>{children}</div>\n}\n"],"names":["Flex","children","flexDirection","justifyContent","alignItems","gap","properties","setResponsiveCustomProperties","jsx","style"],"mappings":";;;AAuBO,SAASA,EAAK;AAAA,EACnB,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,gBAAAC,IAAiB;AAAA,EACjB,YAAAC,IAAa;AAAA,EACb,KAAAC,IAAM;AACR,GAAc;AACZ,QAAMC,IAAaC,EAA8B;AAAA,IAC/C,kBAAkBL;AAAA,IAClB,mBAAmBC;AAAA,IACnB,eAAeC;AAAA,IACf,KAAAC;AAAA,EAAA,CACD;AAED,SACE,gBAAAG,EAAC,OAAA,EAAI,WAAWC,EAAM,eACpB,UAAA,gBAAAD,EAAC,OAAA,EAAI,WAAWC,EAAM,MAAM,OAAOH,GAChC,UAAAL,GACH,GACF;AAEJ;"}
@@ -1,8 +1,8 @@
1
- const o = "_form_1rngm_1", r = {
1
+ const o = "_form_gdv4k_1", s = {
2
2
  form: o
3
3
  };
4
4
  export {
5
- r as default,
5
+ s as default,
6
6
  o as form
7
7
  };
8
8
  //# sourceMappingURL=Form.module.scss.js.map
@@ -1,10 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
- import { CustomPropertyValue, Responsive, ResponsiveSpacing } from '../../../helpers/responsive';
2
+ import { CustomPropertyValue, Responsive } from '../../../helpers/responsive';
3
3
  type Flow = 'row' | 'column' | 'row dense' | 'column dense';
4
4
  type Alignment = 'start' | 'end' | 'center' | 'stretch';
5
5
  export interface GridProps {
6
6
  children: ReactNode;
7
- gap?: ResponsiveSpacing;
7
+ gap?: Responsive<CustomPropertyValue>;
8
8
  gridTemplateColumns?: Responsive<CustomPropertyValue | CustomPropertyValue[]>;
9
9
  gridTemplateRows?: Responsive<CustomPropertyValue | CustomPropertyValue[]>;
10
10
  gridTemplateAreas?: Responsive<string>;
@@ -1,32 +1,32 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { jsx as t } from "react/jsx-runtime";
2
2
  import c from "classnames";
3
3
  import r from "./Grid.module.scss.js";
4
- import { setResponsiveCustomProperties as g, transformResponsiveSpacingValue as u } from "../../../helpers/responsive.js";
5
- function w({
6
- children: t,
4
+ import { setResponsiveCustomProperties as g } from "../../../helpers/responsive.js";
5
+ function N({
6
+ children: e,
7
7
  gap: s = 24,
8
8
  gridTemplateColumns: i = ["1fr"],
9
9
  gridTemplateRows: o,
10
10
  gridTemplateAreas: m,
11
11
  gridAutoFlow: a,
12
- alignItems: n,
13
- justifyItems: p,
14
- justifyContent: l,
12
+ alignItems: l,
13
+ justifyItems: n,
14
+ justifyContent: p,
15
15
  className: d
16
16
  }) {
17
17
  const f = g({
18
- gap: u(s),
18
+ gap: s,
19
19
  "grid-template-columns": i,
20
20
  "grid-template-rows": o,
21
21
  "grid-template-areas": m,
22
22
  "grid-auto-flow": a,
23
- "align-items": n,
24
- "justify-items": p,
25
- "justify-content": l
23
+ "align-items": l,
24
+ "justify-items": n,
25
+ "justify-content": p
26
26
  });
27
- return /* @__PURE__ */ e("div", { className: c(r.gridContainer, d), children: /* @__PURE__ */ e("div", { className: r.grid, style: f, children: t }) });
27
+ return /* @__PURE__ */ t("div", { className: c(r.gridContainer, d), children: /* @__PURE__ */ t("div", { className: r.grid, style: f, children: e }) });
28
28
  }
29
29
  export {
30
- w as Grid
30
+ N as Grid
31
31
  };
32
32
  //# sourceMappingURL=Grid.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.js","sources":["../../../../src/components/Common/Grid/Grid.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\nimport cn from 'classnames'\nimport styles from './Grid.module.scss'\nimport {\n setResponsiveCustomProperties,\n transformResponsiveSpacingValue,\n type CustomPropertyValue,\n type Responsive,\n type ResponsiveSpacing,\n} from '@/helpers/responsive'\n\ntype Flow = 'row' | 'column' | 'row dense' | 'column dense'\ntype Alignment = 'start' | 'end' | 'center' | 'stretch'\n\nexport interface GridProps {\n children: ReactNode\n gap?: ResponsiveSpacing\n gridTemplateColumns?: Responsive<CustomPropertyValue | CustomPropertyValue[]>\n gridTemplateRows?: Responsive<CustomPropertyValue | CustomPropertyValue[]>\n gridTemplateAreas?: Responsive<string>\n gridAutoFlow?: Responsive<Flow>\n alignItems?: Responsive<Alignment>\n justifyItems?: Responsive<Alignment>\n justifyContent?: Responsive<\n 'start' | 'end' | 'center' | 'stretch' | 'space-between' | 'space-around' | 'space-evenly'\n >\n className?: string\n}\n\nexport function Grid({\n children,\n gap = 24,\n gridTemplateColumns = ['1fr'],\n gridTemplateRows,\n gridTemplateAreas,\n gridAutoFlow,\n alignItems,\n justifyItems,\n justifyContent,\n className,\n}: GridProps) {\n const properties = setResponsiveCustomProperties({\n gap: transformResponsiveSpacingValue(gap),\n 'grid-template-columns': gridTemplateColumns,\n 'grid-template-rows': gridTemplateRows,\n 'grid-template-areas': gridTemplateAreas,\n 'grid-auto-flow': gridAutoFlow,\n 'align-items': alignItems,\n 'justify-items': justifyItems,\n 'justify-content': justifyContent,\n })\n\n return (\n <div className={cn(styles.gridContainer, className)}>\n <div className={styles.grid} style={properties}>\n {children}\n </div>\n </div>\n )\n}\n"],"names":["Grid","children","gap","gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridAutoFlow","alignItems","justifyItems","justifyContent","className","properties","setResponsiveCustomProperties","transformResponsiveSpacingValue","cn","styles","jsx"],"mappings":";;;;AA6BO,SAASA,EAAK;AAAA,EACnB,UAAAC;AAAA,EACA,KAAAC,IAAM;AAAA,EACN,qBAAAC,IAAsB,CAAC,KAAK;AAAA,EAC5B,kBAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,YAAAC;AAAA,EACA,cAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,WAAAC;AACF,GAAc;AACZ,QAAMC,IAAaC,EAA8B;AAAA,IAC/C,KAAKC,EAAgCX,CAAG;AAAA,IACxC,yBAAyBC;AAAA,IACzB,sBAAsBC;AAAA,IACtB,uBAAuBC;AAAA,IACvB,kBAAkBC;AAAA,IAClB,eAAeC;AAAA,IACf,iBAAiBC;AAAA,IACjB,mBAAmBC;AAAA,EAAA,CACpB;AAED,2BACG,OAAA,EAAI,WAAWK,EAAGC,EAAO,eAAeL,CAAS,GAChD,UAAA,gBAAAM,EAAC,OAAA,EAAI,WAAWD,EAAO,MAAM,OAAOJ,GACjC,UAAAV,GACH,GACF;AAEJ;"}
1
+ {"version":3,"file":"Grid.js","sources":["../../../../src/components/Common/Grid/Grid.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\nimport cn from 'classnames'\nimport styles from './Grid.module.scss'\nimport {\n setResponsiveCustomProperties,\n type CustomPropertyValue,\n type Responsive,\n} from '@/helpers/responsive'\n\ntype Flow = 'row' | 'column' | 'row dense' | 'column dense'\ntype Alignment = 'start' | 'end' | 'center' | 'stretch'\n\nexport interface GridProps {\n children: ReactNode\n gap?: Responsive<CustomPropertyValue>\n gridTemplateColumns?: Responsive<CustomPropertyValue | CustomPropertyValue[]>\n gridTemplateRows?: Responsive<CustomPropertyValue | CustomPropertyValue[]>\n gridTemplateAreas?: Responsive<string>\n gridAutoFlow?: Responsive<Flow>\n alignItems?: Responsive<Alignment>\n justifyItems?: Responsive<Alignment>\n justifyContent?: Responsive<\n 'start' | 'end' | 'center' | 'stretch' | 'space-between' | 'space-around' | 'space-evenly'\n >\n className?: string\n}\n\nexport function Grid({\n children,\n gap = 24,\n gridTemplateColumns = ['1fr'],\n gridTemplateRows,\n gridTemplateAreas,\n gridAutoFlow,\n alignItems,\n justifyItems,\n justifyContent,\n className,\n}: GridProps) {\n const properties = setResponsiveCustomProperties({\n gap,\n 'grid-template-columns': gridTemplateColumns,\n 'grid-template-rows': gridTemplateRows,\n 'grid-template-areas': gridTemplateAreas,\n 'grid-auto-flow': gridAutoFlow,\n 'align-items': alignItems,\n 'justify-items': justifyItems,\n 'justify-content': justifyContent,\n })\n\n return (\n <div className={cn(styles.gridContainer, className)}>\n <div className={styles.grid} style={properties}>\n {children}\n </div>\n </div>\n )\n}\n"],"names":["Grid","children","gap","gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridAutoFlow","alignItems","justifyItems","justifyContent","className","properties","setResponsiveCustomProperties","cn","styles","jsx"],"mappings":";;;;AA2BO,SAASA,EAAK;AAAA,EACnB,UAAAC;AAAA,EACA,KAAAC,IAAM;AAAA,EACN,qBAAAC,IAAsB,CAAC,KAAK;AAAA,EAC5B,kBAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,YAAAC;AAAA,EACA,cAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,WAAAC;AACF,GAAc;AACZ,QAAMC,IAAaC,EAA8B;AAAA,IAC/C,KAAAV;AAAA,IACA,yBAAyBC;AAAA,IACzB,sBAAsBC;AAAA,IACtB,uBAAuBC;AAAA,IACvB,kBAAkBC;AAAA,IAClB,eAAeC;AAAA,IACf,iBAAiBC;AAAA,IACjB,mBAAmBC;AAAA,EAAA,CACpB;AAED,2BACG,OAAA,EAAI,WAAWI,EAAGC,EAAO,eAAeJ,CAAS,GAChD,UAAA,gBAAAK,EAAC,OAAA,EAAI,WAAWD,EAAO,MAAM,OAAOH,GACjC,UAAAV,GACH,GACF;AAEJ;"}
@@ -1,20 +1,20 @@
1
- const i = "_root_yb31i_1", e = "_withoutVisibleLabel_yb31i_9", t = "_withOnlyChildren_yb31i_12", o = "_children_yb31i_18", l = "_label_yb31i_25", s = "_description_yb31i_36", r = "_errorMessage_yb31i_40", _ = {
1
+ const i = "_root_1lhin_1", e = "_withoutVisibleLabel_1lhin_9", l = "_withOnlyChildren_1lhin_12", n = "_children_1lhin_18", t = "_label_1lhin_25", o = "_description_1lhin_36", s = "_errorMessage_1lhin_40", r = {
2
2
  root: i,
3
3
  withoutVisibleLabel: e,
4
- withOnlyChildren: t,
5
- children: o,
6
- label: l,
7
- description: s,
8
- errorMessage: r
4
+ withOnlyChildren: l,
5
+ children: n,
6
+ label: t,
7
+ description: o,
8
+ errorMessage: s
9
9
  };
10
10
  export {
11
- o as children,
12
- _ as default,
13
- s as description,
14
- r as errorMessage,
15
- l as label,
11
+ n as children,
12
+ r as default,
13
+ o as description,
14
+ s as errorMessage,
15
+ t as label,
16
16
  i as root,
17
- t as withOnlyChildren,
17
+ l as withOnlyChildren,
18
18
  e as withoutVisibleLabel
19
19
  };
20
20
  //# sourceMappingURL=HorizontalFieldLayout.module.scss.js.map
@@ -1,4 +1,4 @@
1
- const r = "_internalErrorCardTitle_e6ns3_1", e = "_internalErrorCard_e6ns3_1", n = "_errorMessage_e6ns3_19", a = {
1
+ const r = "_internalErrorCardTitle_nf5ok_1", e = "_internalErrorCard_nf5ok_1", n = "_errorMessage_nf5ok_19", a = {
2
2
  internalErrorCardTitle: r,
3
3
  internalErrorCard: e,
4
4
  errorMessage: n
@@ -1,4 +1,4 @@
1
- const e = "_skeletonContainer_1774j_1", o = "_skeleton_1774j_1", n = "_skeletonBox_1774j_15", t = {
1
+ const e = "_skeletonContainer_q96wp_1", o = "_skeleton_q96wp_1", n = "_skeletonBox_q96wp_15", t = {
2
2
  skeletonContainer: e,
3
3
  skeleton: o,
4
4
  skeletonBox: n
@@ -1,4 +1,4 @@
1
- const o = "_paginationControl_18z1t_1", n = "_paginationControlCount_18z1t_7", t = "_paginationControlButtons_18z1t_12", a = {
1
+ const o = "_paginationControl_1g8dg_1", n = "_paginationControlCount_1g8dg_6", t = "_paginationControlButtons_1g8dg_11", a = {
2
2
  paginationControl: o,
3
3
  paginationControlCount: n,
4
4
  paginationControlButtons: t
@@ -1,28 +1,28 @@
1
- const e = "_reorderableList_90xu1_1", o = "_disabled_90xu1_10", r = "_reorderableItem_90xu1_10", n = "_contentContainer_90xu1_16", t = "_dragging_90xu1_37", d = "_reordering_90xu1_40", _ = "_dragHandle_90xu1_45", i = "_dropZoneContainer_90xu1_71", a = "_dropZone_90xu1_71", s = "_isHighlighted_90xu1_89", g = "_activeDropZone_90xu1_89", c = {
1
+ const e = "_reorderableList_q2syr_1", r = "_disabled_q2syr_10", o = "_reorderableItem_q2syr_10", n = "_contentContainer_q2syr_16", t = "_dragging_q2syr_37", s = "_reordering_q2syr_40", d = "_dragHandle_q2syr_45", _ = "_dropZoneContainer_q2syr_71", i = "_dropZone_q2syr_71", a = "_isHighlighted_q2syr_89", g = "_activeDropZone_q2syr_89", c = {
2
2
  reorderableList: e,
3
- disabled: o,
4
- reorderableItem: r,
3
+ disabled: r,
4
+ reorderableItem: o,
5
5
  contentContainer: n,
6
6
  dragging: t,
7
- reordering: d,
8
- dragHandle: _,
9
- dropZoneContainer: i,
10
- dropZone: a,
11
- isHighlighted: s,
7
+ reordering: s,
8
+ dragHandle: d,
9
+ dropZoneContainer: _,
10
+ dropZone: i,
11
+ isHighlighted: a,
12
12
  activeDropZone: g
13
13
  };
14
14
  export {
15
15
  g as activeDropZone,
16
16
  n as contentContainer,
17
17
  c as default,
18
- o as disabled,
19
- _ as dragHandle,
18
+ r as disabled,
19
+ d as dragHandle,
20
20
  t as dragging,
21
- a as dropZone,
22
- i as dropZoneContainer,
23
- s as isHighlighted,
24
- r as reorderableItem,
21
+ i as dropZone,
22
+ _ as dropZoneContainer,
23
+ a as isHighlighted,
24
+ o as reorderableItem,
25
25
  e as reorderableList,
26
- d as reordering
26
+ s as reordering
27
27
  };
28
28
  //# sourceMappingURL=ReorderableList.module.scss.js.map
@@ -1,4 +1,4 @@
1
- const s = "_list_k1b3f_1", t = "_listItem_k1b3f_5", c = "_listItemIcon_k1b3f_22", e = "_success_k1b3f_35", _ = {
1
+ const s = "_list_1m8z2_1", t = "_listItem_1m8z2_5", c = "_listItemIcon_1m8z2_22", e = "_success_1m8z2_35", _ = {
2
2
  list: s,
3
3
  listItem: t,
4
4
  listItemIcon: c,
@@ -5,8 +5,8 @@ import { zodResolver as l } from "@hookform/resolvers/zod";
5
5
  import t from "./SignatureForm.module.scss.js";
6
6
  import { Form as u } from "../Form/Form.js";
7
7
  import { Flex as c } from "../Flex/Flex.js";
8
+ import "react-i18next";
8
9
  import "classnames";
9
- import "../../../shared/constants.js";
10
10
  const f = o.object({
11
11
  signature: o.string().min(1),
12
12
  confirmSignature: o.literal(!0)
@@ -1,10 +1,10 @@
1
- const o = "_container_199qg_1", e = "_formFields_199qg_5", n = {
2
- container: o,
3
- formFields: e
1
+ const t = "_container_1htg1_1", o = "_formFields_1htg1_5", e = {
2
+ container: t,
3
+ formFields: o
4
4
  };
5
5
  export {
6
- o as container,
7
- n as default,
8
- e as formFields
6
+ t as container,
7
+ e as default,
8
+ o as formFields
9
9
  };
10
10
  //# sourceMappingURL=SignatureForm.module.scss.js.map
@@ -1,6 +1,6 @@
1
1
  import { jsxs as m, jsx as n } from "react/jsx-runtime";
2
+ import "react-i18next";
2
3
  import "classnames";
3
- import "../../../shared/constants.js";
4
4
  import { ActionsLayout as s } from "../ActionsLayout/ActionsLayout.js";
5
5
  import { useComponentContext as p } from "../../../contexts/ComponentAdapter/useComponentContext.js";
6
6
  function d({
@@ -1,6 +1,6 @@
1
1
  import { jsxs as n, Fragment as s, jsx as e } from "react/jsx-runtime";
2
+ import "react-i18next";
2
3
  import "classnames";
3
- import "../../../shared/constants.js";
4
4
  import { TextInputField as a } from "../Fields/TextInputField/TextInputField.js";
5
5
  import { CheckboxField as u } from "../Fields/CheckboxField/CheckboxField.js";
6
6
  function f({
@@ -1,4 +1,4 @@
1
- const t = "_root_1vxup_1", o = "_alert_1vxup_1", n = "_icon_1vxup_14", _ = "_content_1vxup_29", c = {
1
+ const t = "_root_1pj1j_1", o = "_alert_1pj1j_1", n = "_icon_1pj1j_14", _ = "_content_1pj1j_29", c = {
2
2
  root: t,
3
3
  alert: o,
4
4
  icon: n,
@@ -1,4 +1,4 @@
1
- const e = "_badge_imm46_1", a = {
1
+ const e = "_badge_1h2ej_1", a = {
2
2
  badge: e
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const o = "_root_q0mct_1", t = {
1
+ const o = "_root_kyosy_1", t = {
2
2
  root: o
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const o = "_root_zhhey_1", t = {
1
+ const o = "_root_vi5i4_1", t = {
2
2
  root: o
3
3
  };
4
4
  export {
@@ -1,13 +1,13 @@
1
- const a = "_calendar_p8rau_1", r = "_calendarWrapper_p8rau_1", e = "_calendarHeader_p8rau_5", d = "_dateMarker_p8rau_44", c = {
1
+ const a = "_calendar_1riep_1", e = "_calendarWrapper_1riep_1", r = "_calendarHeader_1riep_5", d = "_dateMarker_1riep_44", c = {
2
2
  calendar: a,
3
- calendarWrapper: r,
4
- calendarHeader: e,
3
+ calendarWrapper: e,
4
+ calendarHeader: r,
5
5
  dateMarker: d
6
6
  };
7
7
  export {
8
8
  a as calendar,
9
- e as calendarHeader,
10
- r as calendarWrapper,
9
+ r as calendarHeader,
10
+ e as calendarWrapper,
11
11
  d as dateMarker,
12
12
  c as default
13
13
  };
@@ -1,4 +1,4 @@
1
- const a = "_cardContainer_baj0w_1", n = {
1
+ const a = "_cardContainer_17qsq_1", n = {
2
2
  cardContainer: a
3
3
  };
4
4
  export {
@@ -1,14 +1,14 @@
1
- const c = "_checkboxWrapper_topwn_1", o = "_checkbox_topwn_1", e = "_check_topwn_1", t = "_checkboxInput_topwn_29", p = {
1
+ const c = "_checkboxWrapper_wiqs9_1", e = "_checkbox_wiqs9_1", o = "_check_wiqs9_1", h = "_checkboxInput_wiqs9_29", k = {
2
2
  checkboxWrapper: c,
3
- checkbox: o,
4
- check: e,
5
- checkboxInput: t
3
+ checkbox: e,
4
+ check: o,
5
+ checkboxInput: h
6
6
  };
7
7
  export {
8
- e as check,
9
- o as checkbox,
10
- t as checkboxInput,
8
+ o as check,
9
+ e as checkbox,
10
+ h as checkboxInput,
11
11
  c as checkboxWrapper,
12
- p as default
12
+ k as default
13
13
  };
14
14
  //# sourceMappingURL=Checkbox.module.scss.js.map
@@ -1,4 +1,4 @@
1
- const o = "_root_1b3le_1", t = {
1
+ const o = "_root_zsz14_1", t = {
2
2
  root: o
3
3
  };
4
4
  export {