@flipdish/ui-library 0.51.0 → 0.52.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 (298) hide show
  1. package/README.md +17 -16
  2. package/dist/components/atoms/Checkbox/index.cjs +4 -2
  3. package/dist/components/atoms/Checkbox/index.cjs.map +1 -1
  4. package/dist/components/atoms/Checkbox/index.d.ts.map +1 -1
  5. package/dist/components/atoms/Checkbox/index.js +4 -2
  6. package/dist/components/atoms/Checkbox/index.js.map +1 -1
  7. package/dist/components/atoms/Slider/index.cjs +2 -2
  8. package/dist/components/atoms/Slider/index.cjs.map +1 -1
  9. package/dist/components/atoms/Slider/index.d.ts +3 -1
  10. package/dist/components/atoms/Slider/index.d.ts.map +1 -1
  11. package/dist/components/atoms/Slider/index.js +2 -2
  12. package/dist/components/atoms/Slider/index.js.map +1 -1
  13. package/dist/components/forms/Form/hooks/useForm.cjs +26 -0
  14. package/dist/components/forms/Form/hooks/useForm.cjs.map +1 -0
  15. package/dist/components/forms/Form/hooks/useForm.d.ts +13 -0
  16. package/dist/components/forms/Form/hooks/useForm.d.ts.map +1 -0
  17. package/dist/components/forms/Form/hooks/useForm.js +24 -0
  18. package/dist/components/forms/Form/hooks/useForm.js.map +1 -0
  19. package/dist/components/forms/Form/hooks/useSubmitInTurn/useSubmitInTurn.cjs +28 -0
  20. package/dist/components/forms/Form/hooks/useSubmitInTurn/useSubmitInTurn.cjs.map +1 -0
  21. package/dist/components/forms/Form/hooks/useSubmitInTurn/useSubmitInTurn.d.ts +10 -0
  22. package/dist/components/forms/Form/hooks/useSubmitInTurn/useSubmitInTurn.d.ts.map +1 -0
  23. package/dist/components/forms/Form/hooks/useSubmitInTurn/useSubmitInTurn.js +26 -0
  24. package/dist/components/forms/Form/hooks/useSubmitInTurn/useSubmitInTurn.js.map +1 -0
  25. package/dist/components/forms/Form/index.cjs +43 -0
  26. package/dist/components/forms/Form/index.cjs.map +1 -0
  27. package/dist/components/forms/Form/index.d.ts +30 -0
  28. package/dist/components/forms/Form/index.d.ts.map +1 -0
  29. package/dist/components/forms/Form/index.js +40 -0
  30. package/dist/components/forms/Form/index.js.map +1 -0
  31. package/dist/components/forms/Form/utilities/formSubmit.utils.cjs +23 -0
  32. package/dist/components/forms/Form/utilities/formSubmit.utils.cjs.map +1 -0
  33. package/dist/components/forms/Form/utilities/formSubmit.utils.d.ts +14 -0
  34. package/dist/components/forms/Form/utilities/formSubmit.utils.d.ts.map +1 -0
  35. package/dist/components/forms/Form/utilities/formSubmit.utils.js +21 -0
  36. package/dist/components/forms/Form/utilities/formSubmit.utils.js.map +1 -0
  37. package/dist/components/forms/FormFooter/hooks/useDestructiveConfirmation.cjs +39 -0
  38. package/dist/components/forms/FormFooter/hooks/useDestructiveConfirmation.cjs.map +1 -0
  39. package/dist/components/forms/FormFooter/hooks/useDestructiveConfirmation.d.ts +17 -0
  40. package/dist/components/forms/FormFooter/hooks/useDestructiveConfirmation.d.ts.map +1 -0
  41. package/dist/components/forms/FormFooter/hooks/useDestructiveConfirmation.js +37 -0
  42. package/dist/components/forms/FormFooter/hooks/useDestructiveConfirmation.js.map +1 -0
  43. package/dist/components/forms/FormFooter/hooks/useHasFieldError.cjs +26 -0
  44. package/dist/components/forms/FormFooter/hooks/useHasFieldError.cjs.map +1 -0
  45. package/dist/components/forms/FormFooter/hooks/useHasFieldError.d.ts +9 -0
  46. package/dist/components/forms/FormFooter/hooks/useHasFieldError.d.ts.map +1 -0
  47. package/dist/components/forms/FormFooter/hooks/useHasFieldError.js +24 -0
  48. package/dist/components/forms/FormFooter/hooks/useHasFieldError.js.map +1 -0
  49. package/dist/components/forms/FormFooter/index.cjs +41 -0
  50. package/dist/components/forms/FormFooter/index.cjs.map +1 -0
  51. package/dist/components/forms/FormFooter/index.d.ts +52 -0
  52. package/dist/components/forms/FormFooter/index.d.ts.map +1 -0
  53. package/dist/components/forms/FormFooter/index.js +39 -0
  54. package/dist/components/forms/FormFooter/index.js.map +1 -0
  55. package/dist/components/forms/FormFooter/utilities/formFooter.utils.cjs +21 -0
  56. package/dist/components/forms/FormFooter/utilities/formFooter.utils.cjs.map +1 -0
  57. package/dist/components/forms/FormFooter/utilities/formFooter.utils.d.ts +12 -0
  58. package/dist/components/forms/FormFooter/utilities/formFooter.utils.d.ts.map +1 -0
  59. package/dist/components/forms/FormFooter/utilities/formFooter.utils.js +19 -0
  60. package/dist/components/forms/FormFooter/utilities/formFooter.utils.js.map +1 -0
  61. package/dist/components/forms/FormSection/FormSection.styles.cjs +15 -0
  62. package/dist/components/forms/FormSection/FormSection.styles.cjs.map +1 -0
  63. package/dist/components/forms/FormSection/FormSection.styles.d.ts +9 -0
  64. package/dist/components/forms/FormSection/FormSection.styles.d.ts.map +1 -0
  65. package/dist/components/forms/FormSection/FormSection.styles.js +13 -0
  66. package/dist/components/forms/FormSection/FormSection.styles.js.map +1 -0
  67. package/dist/components/forms/FormSection/index.cjs +43 -0
  68. package/dist/components/forms/FormSection/index.cjs.map +1 -0
  69. package/dist/components/forms/FormSection/index.d.ts +41 -0
  70. package/dist/components/forms/FormSection/index.d.ts.map +1 -0
  71. package/dist/components/forms/FormSection/index.js +41 -0
  72. package/dist/components/forms/FormSection/index.js.map +1 -0
  73. package/dist/components/forms/__internal__/formField/hooks/useFocusTarget.cjs +28 -0
  74. package/dist/components/forms/__internal__/formField/hooks/useFocusTarget.cjs.map +1 -0
  75. package/dist/components/forms/__internal__/formField/hooks/useFocusTarget.d.ts +12 -0
  76. package/dist/components/forms/__internal__/formField/hooks/useFocusTarget.d.ts.map +1 -0
  77. package/dist/components/forms/__internal__/formField/hooks/useFocusTarget.js +26 -0
  78. package/dist/components/forms/__internal__/formField/hooks/useFocusTarget.js.map +1 -0
  79. package/dist/components/forms/__internal__/formField/hooks/useFocusThroughSubmit.cjs +68 -0
  80. package/dist/components/forms/__internal__/formField/hooks/useFocusThroughSubmit.cjs.map +1 -0
  81. package/dist/components/forms/__internal__/formField/hooks/useFocusThroughSubmit.d.ts +26 -0
  82. package/dist/components/forms/__internal__/formField/hooks/useFocusThroughSubmit.d.ts.map +1 -0
  83. package/dist/components/forms/__internal__/formField/hooks/useFocusThroughSubmit.js +66 -0
  84. package/dist/components/forms/__internal__/formField/hooks/useFocusThroughSubmit.js.map +1 -0
  85. package/dist/components/forms/__internal__/formField/hooks/useFormField.cjs +142 -0
  86. package/dist/components/forms/__internal__/formField/hooks/useFormField.cjs.map +1 -0
  87. package/dist/components/forms/__internal__/formField/hooks/useFormField.d.ts +35 -0
  88. package/dist/components/forms/__internal__/formField/hooks/useFormField.d.ts.map +1 -0
  89. package/dist/components/forms/__internal__/formField/hooks/useFormField.js +140 -0
  90. package/dist/components/forms/__internal__/formField/hooks/useFormField.js.map +1 -0
  91. package/dist/components/forms/__internal__/formField/providers/FieldElements.context.cjs +12 -0
  92. package/dist/components/forms/__internal__/formField/providers/FieldElements.context.cjs.map +1 -0
  93. package/dist/components/forms/__internal__/formField/providers/FieldElements.context.d.ts +7 -0
  94. package/dist/components/forms/__internal__/formField/providers/FieldElements.context.d.ts.map +1 -0
  95. package/dist/components/forms/__internal__/formField/providers/FieldElements.context.js +10 -0
  96. package/dist/components/forms/__internal__/formField/providers/FieldElements.context.js.map +1 -0
  97. package/dist/components/forms/__internal__/formField/utilities/fieldElements.utils.cjs +39 -0
  98. package/dist/components/forms/__internal__/formField/utilities/fieldElements.utils.cjs.map +1 -0
  99. package/dist/components/forms/__internal__/formField/utilities/fieldElements.utils.d.ts +21 -0
  100. package/dist/components/forms/__internal__/formField/utilities/fieldElements.utils.d.ts.map +1 -0
  101. package/dist/components/forms/__internal__/formField/utilities/fieldElements.utils.js +37 -0
  102. package/dist/components/forms/__internal__/formField/utilities/fieldElements.utils.js.map +1 -0
  103. package/dist/components/forms/__internal__/formField/utilities/fieldValue.utils.cjs +40 -0
  104. package/dist/components/forms/__internal__/formField/utilities/fieldValue.utils.cjs.map +1 -0
  105. package/dist/components/forms/__internal__/formField/utilities/fieldValue.utils.d.ts +18 -0
  106. package/dist/components/forms/__internal__/formField/utilities/fieldValue.utils.d.ts.map +1 -0
  107. package/dist/components/forms/__internal__/formField/utilities/fieldValue.utils.js +37 -0
  108. package/dist/components/forms/__internal__/formField/utilities/fieldValue.utils.js.map +1 -0
  109. package/dist/components/forms/__internal__/formField/utilities/formFocus.utils.cjs +21 -0
  110. package/dist/components/forms/__internal__/formField/utilities/formFocus.utils.cjs.map +1 -0
  111. package/dist/components/forms/__internal__/formField/utilities/formFocus.utils.d.ts +11 -0
  112. package/dist/components/forms/__internal__/formField/utilities/formFocus.utils.d.ts.map +1 -0
  113. package/dist/components/forms/__internal__/formField/utilities/formFocus.utils.js +19 -0
  114. package/dist/components/forms/__internal__/formField/utilities/formFocus.utils.js.map +1 -0
  115. package/dist/components/forms/__internal__/formField/utilities/validationQueue.utils.cjs +128 -0
  116. package/dist/components/forms/__internal__/formField/utilities/validationQueue.utils.cjs.map +1 -0
  117. package/dist/components/forms/__internal__/formField/utilities/validationQueue.utils.d.ts +72 -0
  118. package/dist/components/forms/__internal__/formField/utilities/validationQueue.utils.d.ts.map +1 -0
  119. package/dist/components/forms/__internal__/formField/utilities/validationQueue.utils.js +121 -0
  120. package/dist/components/forms/__internal__/formField/utilities/validationQueue.utils.js.map +1 -0
  121. package/dist/components/forms/fields/FormCheckbox/index.cjs +34 -0
  122. package/dist/components/forms/fields/FormCheckbox/index.cjs.map +1 -0
  123. package/dist/components/forms/fields/FormCheckbox/index.d.ts +16 -0
  124. package/dist/components/forms/fields/FormCheckbox/index.d.ts.map +1 -0
  125. package/dist/components/forms/fields/FormCheckbox/index.js +32 -0
  126. package/dist/components/forms/fields/FormCheckbox/index.js.map +1 -0
  127. package/dist/components/forms/fields/FormCheckboxGroup/index.cjs +33 -0
  128. package/dist/components/forms/fields/FormCheckboxGroup/index.cjs.map +1 -0
  129. package/dist/components/forms/fields/FormCheckboxGroup/index.d.ts +16 -0
  130. package/dist/components/forms/fields/FormCheckboxGroup/index.d.ts.map +1 -0
  131. package/dist/components/forms/fields/FormCheckboxGroup/index.js +31 -0
  132. package/dist/components/forms/fields/FormCheckboxGroup/index.js.map +1 -0
  133. package/dist/components/forms/fields/FormColorPicker/hooks/useEmptyFieldValue.cjs +26 -0
  134. package/dist/components/forms/fields/FormColorPicker/hooks/useEmptyFieldValue.cjs.map +1 -0
  135. package/dist/components/forms/fields/FormColorPicker/hooks/useEmptyFieldValue.d.ts +11 -0
  136. package/dist/components/forms/fields/FormColorPicker/hooks/useEmptyFieldValue.d.ts.map +1 -0
  137. package/dist/components/forms/fields/FormColorPicker/hooks/useEmptyFieldValue.js +24 -0
  138. package/dist/components/forms/fields/FormColorPicker/hooks/useEmptyFieldValue.js.map +1 -0
  139. package/dist/components/forms/fields/FormColorPicker/index.cjs +33 -0
  140. package/dist/components/forms/fields/FormColorPicker/index.cjs.map +1 -0
  141. package/dist/components/forms/fields/FormColorPicker/index.d.ts +21 -0
  142. package/dist/components/forms/fields/FormColorPicker/index.d.ts.map +1 -0
  143. package/dist/components/forms/fields/FormColorPicker/index.js +31 -0
  144. package/dist/components/forms/fields/FormColorPicker/index.js.map +1 -0
  145. package/dist/components/forms/fields/FormColorPicker/utilities/formColorPicker.utils.cjs +20 -0
  146. package/dist/components/forms/fields/FormColorPicker/utilities/formColorPicker.utils.cjs.map +1 -0
  147. package/dist/components/forms/fields/FormColorPicker/utilities/formColorPicker.utils.d.ts +17 -0
  148. package/dist/components/forms/fields/FormColorPicker/utilities/formColorPicker.utils.d.ts.map +1 -0
  149. package/dist/components/forms/fields/FormColorPicker/utilities/formColorPicker.utils.js +18 -0
  150. package/dist/components/forms/fields/FormColorPicker/utilities/formColorPicker.utils.js.map +1 -0
  151. package/dist/components/forms/fields/FormDatePicker/index.cjs +35 -0
  152. package/dist/components/forms/fields/FormDatePicker/index.cjs.map +1 -0
  153. package/dist/components/forms/fields/FormDatePicker/index.d.ts +17 -0
  154. package/dist/components/forms/fields/FormDatePicker/index.d.ts.map +1 -0
  155. package/dist/components/forms/fields/FormDatePicker/index.js +33 -0
  156. package/dist/components/forms/fields/FormDatePicker/index.js.map +1 -0
  157. package/dist/components/forms/fields/FormDatePicker/utilities/formDatePicker.utils.cjs +23 -0
  158. package/dist/components/forms/fields/FormDatePicker/utilities/formDatePicker.utils.cjs.map +1 -0
  159. package/dist/components/forms/fields/FormDatePicker/utilities/formDatePicker.utils.d.ts +9 -0
  160. package/dist/components/forms/fields/FormDatePicker/utilities/formDatePicker.utils.d.ts.map +1 -0
  161. package/dist/components/forms/fields/FormDatePicker/utilities/formDatePicker.utils.js +21 -0
  162. package/dist/components/forms/fields/FormDatePicker/utilities/formDatePicker.utils.js.map +1 -0
  163. package/dist/components/forms/fields/FormInput/index.cjs +27 -0
  164. package/dist/components/forms/fields/FormInput/index.cjs.map +1 -0
  165. package/dist/components/forms/fields/FormInput/index.d.ts +16 -0
  166. package/dist/components/forms/fields/FormInput/index.d.ts.map +1 -0
  167. package/dist/components/forms/fields/FormInput/index.js +25 -0
  168. package/dist/components/forms/fields/FormInput/index.js.map +1 -0
  169. package/dist/components/forms/fields/FormMultiSelect/index.cjs +44 -0
  170. package/dist/components/forms/fields/FormMultiSelect/index.cjs.map +1 -0
  171. package/dist/components/forms/fields/FormMultiSelect/index.d.ts +17 -0
  172. package/dist/components/forms/fields/FormMultiSelect/index.d.ts.map +1 -0
  173. package/dist/components/forms/fields/FormMultiSelect/index.js +42 -0
  174. package/dist/components/forms/fields/FormMultiSelect/index.js.map +1 -0
  175. package/dist/components/forms/fields/FormRadioCardGroup/index.cjs +36 -0
  176. package/dist/components/forms/fields/FormRadioCardGroup/index.cjs.map +1 -0
  177. package/dist/components/forms/fields/FormRadioCardGroup/index.d.ts +29 -0
  178. package/dist/components/forms/fields/FormRadioCardGroup/index.d.ts.map +1 -0
  179. package/dist/components/forms/fields/FormRadioCardGroup/index.js +34 -0
  180. package/dist/components/forms/fields/FormRadioCardGroup/index.js.map +1 -0
  181. package/dist/components/forms/fields/FormRadioGroup/index.cjs +31 -0
  182. package/dist/components/forms/fields/FormRadioGroup/index.cjs.map +1 -0
  183. package/dist/components/forms/fields/FormRadioGroup/index.d.ts +17 -0
  184. package/dist/components/forms/fields/FormRadioGroup/index.d.ts.map +1 -0
  185. package/dist/components/forms/fields/FormRadioGroup/index.js +29 -0
  186. package/dist/components/forms/fields/FormRadioGroup/index.js.map +1 -0
  187. package/dist/components/forms/fields/FormSelect/index.cjs +30 -0
  188. package/dist/components/forms/fields/FormSelect/index.cjs.map +1 -0
  189. package/dist/components/forms/fields/FormSelect/index.d.ts +16 -0
  190. package/dist/components/forms/fields/FormSelect/index.d.ts.map +1 -0
  191. package/dist/components/forms/fields/FormSelect/index.js +28 -0
  192. package/dist/components/forms/fields/FormSelect/index.js.map +1 -0
  193. package/dist/components/forms/fields/FormSlider/index.cjs +43 -0
  194. package/dist/components/forms/fields/FormSlider/index.cjs.map +1 -0
  195. package/dist/components/forms/fields/FormSlider/index.d.ts +17 -0
  196. package/dist/components/forms/fields/FormSlider/index.d.ts.map +1 -0
  197. package/dist/components/forms/fields/FormSlider/index.js +41 -0
  198. package/dist/components/forms/fields/FormSlider/index.js.map +1 -0
  199. package/dist/components/forms/fields/FormTextArea/index.cjs +27 -0
  200. package/dist/components/forms/fields/FormTextArea/index.cjs.map +1 -0
  201. package/dist/components/forms/fields/FormTextArea/index.d.ts +16 -0
  202. package/dist/components/forms/fields/FormTextArea/index.d.ts.map +1 -0
  203. package/dist/components/forms/fields/FormTextArea/index.js +25 -0
  204. package/dist/components/forms/fields/FormTextArea/index.js.map +1 -0
  205. package/dist/components/forms/fields/FormToggle/index.cjs +32 -0
  206. package/dist/components/forms/fields/FormToggle/index.cjs.map +1 -0
  207. package/dist/components/forms/fields/FormToggle/index.d.ts +16 -0
  208. package/dist/components/forms/fields/FormToggle/index.d.ts.map +1 -0
  209. package/dist/components/forms/fields/FormToggle/index.js +30 -0
  210. package/dist/components/forms/fields/FormToggle/index.js.map +1 -0
  211. package/dist/components/forms/validation/hooks/useSchemaResolver.cjs +39 -0
  212. package/dist/components/forms/validation/hooks/useSchemaResolver.cjs.map +1 -0
  213. package/dist/components/forms/validation/hooks/useSchemaResolver.d.ts +15 -0
  214. package/dist/components/forms/validation/hooks/useSchemaResolver.d.ts.map +1 -0
  215. package/dist/components/forms/validation/hooks/useSchemaResolver.js +37 -0
  216. package/dist/components/forms/validation/hooks/useSchemaResolver.js.map +1 -0
  217. package/dist/components/forms/validation/index.cjs +309 -0
  218. package/dist/components/forms/validation/index.cjs.map +1 -0
  219. package/dist/components/forms/validation/index.d.ts +214 -0
  220. package/dist/components/forms/validation/index.d.ts.map +1 -0
  221. package/dist/components/forms/validation/index.js +293 -0
  222. package/dist/components/forms/validation/index.js.map +1 -0
  223. package/dist/components/forms/validation/utilities/validation.utils.cjs +42 -0
  224. package/dist/components/forms/validation/utilities/validation.utils.cjs.map +1 -0
  225. package/dist/components/forms/validation/utilities/validation.utils.d.ts +20 -0
  226. package/dist/components/forms/validation/utilities/validation.utils.d.ts.map +1 -0
  227. package/dist/components/forms/validation/utilities/validation.utils.js +39 -0
  228. package/dist/components/forms/validation/utilities/validation.utils.js.map +1 -0
  229. package/dist/components/forms/validation/validation.types.d.ts +8 -0
  230. package/dist/components/forms/validation/validation.types.d.ts.map +1 -0
  231. package/dist/components/organisms/ColorPicker/components/ColorPickerField.cjs +13 -3
  232. package/dist/components/organisms/ColorPicker/components/ColorPickerField.cjs.map +1 -1
  233. package/dist/components/organisms/ColorPicker/components/ColorPickerField.d.ts +1 -1
  234. package/dist/components/organisms/ColorPicker/components/ColorPickerField.d.ts.map +1 -1
  235. package/dist/components/organisms/ColorPicker/components/ColorPickerField.js +13 -3
  236. package/dist/components/organisms/ColorPicker/components/ColorPickerField.js.map +1 -1
  237. package/dist/components/organisms/ColorPicker/hooks/useColorFieldEdit.cjs +2 -2
  238. package/dist/components/organisms/ColorPicker/hooks/useColorFieldEdit.cjs.map +1 -1
  239. package/dist/components/organisms/ColorPicker/hooks/useColorFieldEdit.d.ts +1 -0
  240. package/dist/components/organisms/ColorPicker/hooks/useColorFieldEdit.d.ts.map +1 -1
  241. package/dist/components/organisms/ColorPicker/hooks/useColorFieldEdit.js +2 -2
  242. package/dist/components/organisms/ColorPicker/hooks/useColorFieldEdit.js.map +1 -1
  243. package/dist/components/organisms/ColorPicker/hooks/useCssColorField.cjs +1 -1
  244. package/dist/components/organisms/ColorPicker/hooks/useCssColorField.js +1 -1
  245. package/dist/components/organisms/ColorPicker/index.cjs +1 -1
  246. package/dist/components/organisms/ColorPicker/index.d.ts.map +1 -1
  247. package/dist/components/organisms/ColorPicker/index.js +1 -1
  248. package/dist/components/organisms/ColorPicker/providers/ColorPicker.provider.d.ts +1 -1
  249. package/dist/components/organisms/ColorPicker/providers/ColorPicker.provider.d.ts.map +1 -1
  250. package/dist/components/organisms/ColorPicker/utilities/colorPicker.utils.cjs.map +1 -0
  251. package/dist/components/organisms/ColorPicker/utilities/colorPicker.utils.d.ts.map +1 -0
  252. package/dist/components/organisms/ColorPicker/utilities/colorPicker.utils.js.map +1 -0
  253. package/dist/components/organisms/GradientPicker/components/GradientStopRow.cjs +1 -1
  254. package/dist/components/organisms/GradientPicker/components/GradientStopRow.js +1 -1
  255. package/dist/localization/en.json.cjs +98 -0
  256. package/dist/localization/en.json.cjs.map +1 -0
  257. package/dist/localization/en.json.js +81 -0
  258. package/dist/localization/en.json.js.map +1 -0
  259. package/dist/native/components/forms/Form/index.d.ts +12 -0
  260. package/dist/native/components/forms/FormFooter/index.d.ts +12 -0
  261. package/dist/native/components/forms/FormSection/index.d.ts +12 -0
  262. package/dist/native/components/forms/fields/FormCheckbox/index.d.ts +12 -0
  263. package/dist/native/components/forms/fields/FormCheckboxGroup/index.d.ts +12 -0
  264. package/dist/native/components/forms/fields/FormColorPicker/index.d.ts +12 -0
  265. package/dist/native/components/forms/fields/FormDatePicker/index.d.ts +12 -0
  266. package/dist/native/components/forms/fields/FormInput/index.d.ts +12 -0
  267. package/dist/native/components/forms/fields/FormMultiSelect/index.d.ts +12 -0
  268. package/dist/native/components/forms/fields/FormRadioCardGroup/index.d.ts +12 -0
  269. package/dist/native/components/forms/fields/FormRadioGroup/index.d.ts +12 -0
  270. package/dist/native/components/forms/fields/FormSelect/index.d.ts +12 -0
  271. package/dist/native/components/forms/fields/FormSlider/index.d.ts +12 -0
  272. package/dist/native/components/forms/fields/FormTextArea/index.d.ts +12 -0
  273. package/dist/native/components/forms/fields/FormToggle/index.d.ts +12 -0
  274. package/dist/native/components/forms/validation/index.d.ts +12 -0
  275. package/dist/providers/UnsavedChangesGuardProvider/index.cjs +1 -1
  276. package/dist/providers/UnsavedChangesGuardProvider/index.js +1 -1
  277. package/dist/providers/UnsavedChangesGuardProvider/utilities/unsavedChangesGuard.utils.cjs.map +1 -0
  278. package/dist/providers/UnsavedChangesGuardProvider/{unsavedChangesGuard.utils.d.ts → utilities/unsavedChangesGuard.utils.d.ts} +1 -1
  279. package/dist/providers/UnsavedChangesGuardProvider/utilities/unsavedChangesGuard.utils.d.ts.map +1 -0
  280. package/dist/providers/UnsavedChangesGuardProvider/utilities/unsavedChangesGuard.utils.js.map +1 -0
  281. package/dist/utilities/__internal__/builtInTextUtils/builtInText.utils.cjs +74 -0
  282. package/dist/utilities/__internal__/builtInTextUtils/builtInText.utils.cjs.map +1 -0
  283. package/dist/utilities/__internal__/builtInTextUtils/builtInText.utils.d.ts +51 -0
  284. package/dist/utilities/__internal__/builtInTextUtils/builtInText.utils.d.ts.map +1 -0
  285. package/dist/utilities/__internal__/builtInTextUtils/builtInText.utils.js +68 -0
  286. package/dist/utilities/__internal__/builtInTextUtils/builtInText.utils.js.map +1 -0
  287. package/package.json +41 -6
  288. package/dist/components/organisms/ColorPicker/colorPicker.utils.cjs.map +0 -1
  289. package/dist/components/organisms/ColorPicker/colorPicker.utils.d.ts.map +0 -1
  290. package/dist/components/organisms/ColorPicker/colorPicker.utils.js.map +0 -1
  291. package/dist/providers/UnsavedChangesGuardProvider/unsavedChangesGuard.utils.cjs.map +0 -1
  292. package/dist/providers/UnsavedChangesGuardProvider/unsavedChangesGuard.utils.d.ts.map +0 -1
  293. package/dist/providers/UnsavedChangesGuardProvider/unsavedChangesGuard.utils.js.map +0 -1
  294. /package/dist/components/organisms/ColorPicker/{colorPicker.utils.cjs → utilities/colorPicker.utils.cjs} +0 -0
  295. /package/dist/components/organisms/ColorPicker/{colorPicker.utils.d.ts → utilities/colorPicker.utils.d.ts} +0 -0
  296. /package/dist/components/organisms/ColorPicker/{colorPicker.utils.js → utilities/colorPicker.utils.js} +0 -0
  297. /package/dist/providers/UnsavedChangesGuardProvider/{unsavedChangesGuard.utils.cjs → utilities/unsavedChangesGuard.utils.cjs} +0 -0
  298. /package/dist/providers/UnsavedChangesGuardProvider/{unsavedChangesGuard.utils.js → utilities/unsavedChangesGuard.utils.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"useColorFieldEdit.cjs","sources":["../../../../../src/components/organisms/ColorPicker/hooks/useColorFieldEdit.ts"],"sourcesContent":[null],"names":["toColor","toHexString","useRef"],"mappings":";;;;;AAMA;AACA,MAAM,cAAc,GAAG,SAAS;AAahC;;;;;;AAMG;AACI,MAAM,iBAAiB,GAAG,CAAC,EAAE,KAAK,EAAE,YAAY,GAAG,cAAc,EAAE,QAAQ,EAAE,WAAW,EAA4B,KAAI;AAC7H,IAAA,MAAM,KAAK,GAAGA,yBAAO,CAAC,KAAK,CAAC;IAC5B,MAAM,UAAU,GAAG,KAAK,IAAIA,yBAAO,CAAC,YAAY,CAAC;AACjD,IAAA,MAAM,UAAU,GAAG,UAAU,GAAGC,6BAAW,CAAC,UAAU,CAAC,GAAG,cAAc;;AAGxE,IAAA,MAAM,cAAc,GAAGC,YAAM,CAAC,KAAK,CAAC;;;AAGpC,IAAA,MAAM,cAAc,GAAGA,YAAM,CAAgB,IAAI,CAAC;AAClD,IAAA,MAAM,UAAU,GAAGA,YAAM,CAAC,KAAK,CAAC;AAChC,IAAA,MAAM,YAAY,GAAGA,YAAM,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E;AAChF;;"}
1
+ {"version":3,"file":"useColorFieldEdit.cjs","sources":["../../../../../src/components/organisms/ColorPicker/hooks/useColorFieldEdit.ts"],"sourcesContent":[null],"names":["toColor","toHexString","useRef"],"mappings":";;;;;AAMA;AACA,MAAM,cAAc,GAAG,SAAS;AAahC;;;;;;AAMG;AACI,MAAM,iBAAiB,GAAG,CAAC,EAAE,KAAK,EAAE,YAAY,GAAG,cAAc,EAAE,QAAQ,EAAE,WAAW,EAA4B,KAAI;AAC7H,IAAA,MAAM,KAAK,GAAGA,yBAAO,CAAC,KAAK,CAAC;IAC5B,MAAM,UAAU,GAAG,KAAK,IAAIA,yBAAO,CAAC,YAAY,CAAC;AACjD,IAAA,MAAM,UAAU,GAAG,UAAU,GAAGC,6BAAW,CAAC,UAAU,CAAC,GAAG,cAAc;;AAGxE,IAAA,MAAM,cAAc,GAAGC,YAAM,CAAC,KAAK,CAAC;;;AAGpC,IAAA,MAAM,cAAc,GAAGA,YAAM,CAAgB,IAAI,CAAC;AAClD,IAAA,MAAM,UAAU,GAAGA,YAAM,CAAC,KAAK,CAAC;AAChC,IAAA,MAAM,YAAY,GAAGA,YAAM,CAAC,KAAK,CAAC;AAElC,IAAA,MAAM,YAAY,GAAG,CAAC,MAAe,KAAI;AACvC,QAAA,YAAY,CAAC,OAAO,GAAG,MAAM;QAC7B,IAAI,MAAM,EAAE;AACV,YAAA,cAAc,CAAC,OAAO,GAAG,CAAC,KAAK;AAC/B,YAAA,cAAc,CAAC,OAAO,GAAG,KAAK,IAAI,IAAI;;AAEtC,YAAA,IAAI,CAAC,KAAK;gBAAE,QAAQ,CAAC,UAAU,CAAC;YAChC;QACF;;QAEA,IAAI,cAAc,CAAC,OAAO,IAAI,UAAU,CAAC,OAAO,EAAE;AAChD,YAAA,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC;AAChC,YAAA,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC;YACrC;QACF;;AAEA,QAAA,WAAW,GAAG,KAAK,IAAI,IAAI,CAAC;AAC9B,IAAA,CAAC;AAED,IAAA,MAAM,MAAM,GAAG,CAAC,IAAW,KAAI;;QAE7B,IAAI,CAAC,YAAY,CAAC,OAAO;YAAE;AAC3B,QAAA,cAAc,CAAC,OAAO,GAAG,KAAK;AAC9B,QAAA,QAAQ,CAACD,6BAAW,CAAC,IAAI,CAAC,CAAC;AAC7B,IAAA,CAAC;IAED,MAAM,QAAQ,GAAG,MAAK;QACpB,QAAQ,CAAC,IAAI,CAAC;AACd,QAAA,WAAW,GAAG,IAAI,CAAC;AACrB,IAAA,CAAC;AAED,IAAA,MAAM,gBAAgB,GAAG,CAAC,KAAsB,KAAI;AAClD,QAAA,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ;YAAE;AAC5B,QAAA,UAAU,CAAC,OAAO,GAAG,IAAI;;QAEzB,UAAU,CAAC,MAAK;AACd,YAAA,UAAU,CAAC,OAAO,GAAG,KAAK;AAC5B,QAAA,CAAC,CAAC;AACJ,IAAA,CAAC;AAED,IAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE;AAC9F;;"}
@@ -19,6 +19,7 @@ export interface UseColorFieldEditOptions {
19
19
  export declare const useColorFieldEdit: ({ value, defaultColor, onChange, onChangeEnd }: UseColorFieldEditOptions) => {
20
20
  color: Color | null;
21
21
  startValue: string;
22
+ isPickerOpen: import("react").RefObject<boolean>;
22
23
  onOpenChange: (isOpen: boolean) => void;
23
24
  onPick: (next: Color) => void;
24
25
  onRemove: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useColorFieldEdit.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/ColorPicker/hooks/useColorFieldEdit.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAMnD,MAAM,WAAW,wBAAwB;IACvC,gFAAgF;IAChF,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,gEAAgE;IAChE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6GAA6G;IAC7G,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,6FAA6F;IAC7F,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,gDAAiE,wBAAwB;;;2BAa3F,OAAO;mBAmBf,KAAK;;8BAYM;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE;CAUjD,CAAC"}
1
+ {"version":3,"file":"useColorFieldEdit.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/ColorPicker/hooks/useColorFieldEdit.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAMnD,MAAM,WAAW,wBAAwB;IACvC,gFAAgF;IAChF,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,gEAAgE;IAChE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6GAA6G;IAC7G,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,6FAA6F;IAC7F,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,gDAAiE,wBAAwB;;;;2BAa3F,OAAO;mBAmBf,KAAK;;8BAYM;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE;CAUjD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { useRef } from 'react';
2
- import { toColor, toHexString } from '../colorPicker.utils.js';
2
+ import { toColor, toHexString } from '../utilities/colorPicker.utils.js';
3
3
 
4
4
  // The colour `ColorPicker.Provider` itself starts on.
5
5
  const FALLBACK_COLOR = '#7F56D9';
@@ -60,7 +60,7 @@ const useColorFieldEdit = ({ value, defaultColor = FALLBACK_COLOR, onChange, onC
60
60
  isEscaping.current = false;
61
61
  });
62
62
  };
63
- return { color, startValue, onOpenChange, onPick, onRemove, onKeyDownCapture };
63
+ return { color, startValue, isPickerOpen, onOpenChange, onPick, onRemove, onKeyDownCapture };
64
64
  };
65
65
 
66
66
  export { useColorFieldEdit };
@@ -1 +1 @@
1
- {"version":3,"file":"useColorFieldEdit.js","sources":["../../../../../src/components/organisms/ColorPicker/hooks/useColorFieldEdit.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAMA;AACA,MAAM,cAAc,GAAG,SAAS;AAahC;;;;;;AAMG;AACI,MAAM,iBAAiB,GAAG,CAAC,EAAE,KAAK,EAAE,YAAY,GAAG,cAAc,EAAE,QAAQ,EAAE,WAAW,EAA4B,KAAI;AAC7H,IAAA,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5B,MAAM,UAAU,GAAG,KAAK,IAAI,OAAO,CAAC,YAAY,CAAC;AACjD,IAAA,MAAM,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC,GAAG,cAAc;;AAGxE,IAAA,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC;;;AAGpC,IAAA,MAAM,cAAc,GAAG,MAAM,CAAgB,IAAI,CAAC;AAClD,IAAA,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC;AAChC,IAAA,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAAC;AAElC,IAAA,MAAM,YAAY,GAAG,CAAC,MAAe,KAAI;AACvC,QAAA,YAAY,CAAC,OAAO,GAAG,MAAM;QAC7B,IAAI,MAAM,EAAE;AACV,YAAA,cAAc,CAAC,OAAO,GAAG,CAAC,KAAK;AAC/B,YAAA,cAAc,CAAC,OAAO,GAAG,KAAK,IAAI,IAAI;;AAEtC,YAAA,IAAI,CAAC,KAAK;gBAAE,QAAQ,CAAC,UAAU,CAAC;YAChC;QACF;;QAEA,IAAI,cAAc,CAAC,OAAO,IAAI,UAAU,CAAC,OAAO,EAAE;AAChD,YAAA,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC;AAChC,YAAA,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC;YACrC;QACF;;AAEA,QAAA,WAAW,GAAG,KAAK,IAAI,IAAI,CAAC;AAC9B,IAAA,CAAC;AAED,IAAA,MAAM,MAAM,GAAG,CAAC,IAAW,KAAI;;QAE7B,IAAI,CAAC,YAAY,CAAC,OAAO;YAAE;AAC3B,QAAA,cAAc,CAAC,OAAO,GAAG,KAAK;AAC9B,QAAA,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;AAC7B,IAAA,CAAC;IAED,MAAM,QAAQ,GAAG,MAAK;QACpB,QAAQ,CAAC,IAAI,CAAC;AACd,QAAA,WAAW,GAAG,IAAI,CAAC;AACrB,IAAA,CAAC;AAED,IAAA,MAAM,gBAAgB,GAAG,CAAC,KAAsB,KAAI;AAClD,QAAA,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ;YAAE;AAC5B,QAAA,UAAU,CAAC,OAAO,GAAG,IAAI;;QAEzB,UAAU,CAAC,MAAK;AACd,YAAA,UAAU,CAAC,OAAO,GAAG,KAAK;AAC5B,QAAA,CAAC,CAAC;AACJ,IAAA,CAAC;AAED,IAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE;AAChF;;"}
1
+ {"version":3,"file":"useColorFieldEdit.js","sources":["../../../../../src/components/organisms/ColorPicker/hooks/useColorFieldEdit.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAMA;AACA,MAAM,cAAc,GAAG,SAAS;AAahC;;;;;;AAMG;AACI,MAAM,iBAAiB,GAAG,CAAC,EAAE,KAAK,EAAE,YAAY,GAAG,cAAc,EAAE,QAAQ,EA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,IAAI,CAAC;AACd,QAAA,WAAW,GAAG,IAAI,CAAC;AACrB,IAAA,CAAC;AAED,IAAA,MAAM,gBAAgB,GAAG,CAAC,KAAsB,KAAI;AAClD,QAAA,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ;YAAE;AAC5B,QAAA,UAAU,CAAC,OAAO,GAAG,IAAI;;QAEzB,UAAU,CAAC,MAAK;AACd,YAAA,UAAU,CAAC,OAAO,GAAG,KAAK;AAC5B,QAAA,CAAC,CAAC;AACJ,IAAA,CAAC;AAED,IAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE;AAC9F;;"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var colorPicker_utils = require('../colorPicker.utils.cjs');
4
+ var colorPicker_utils = require('../utilities/colorPicker.utils.cjs');
5
5
 
6
6
  /**
7
7
  * Draft editing for the CSS colour field. Focus selects the channel list inside the parentheses;
@@ -1,5 +1,5 @@
1
1
  import { useState, useRef } from 'react';
2
- import { cssChannelSelection } from '../colorPicker.utils.js';
2
+ import { cssChannelSelection } from '../utilities/colorPicker.utils.js';
3
3
 
4
4
  /**
5
5
  * Draft editing for the CSS colour field. Focus selects the channel list inside the parentheses;
@@ -7,12 +7,12 @@ var Select = require('@flipdish/ui-library/components/molecules/Select');
7
7
  var cx = require('@flipdish/ui-library/utilities/cx');
8
8
  var testIdUtils = require('@flipdish/ui-library/utilities/testIdUtils');
9
9
  var reactAriaComponents = require('react-aria-components');
10
- var colorPicker_utils = require('./colorPicker.utils.cjs');
11
10
  var ColorPickerDialog = require('./components/ColorPickerDialog.cjs');
12
11
  var ColorPickerField = require('./components/ColorPickerField.cjs');
13
12
  var InputCell = require('./components/InputCell.cjs');
14
13
  var useCssColorField = require('./hooks/useCssColorField.cjs');
15
14
  var ColorPicker_provider = require('./providers/ColorPicker.provider.cjs');
15
+ var colorPicker_utils = require('./utilities/colorPicker.utils.cjs');
16
16
 
17
17
  const COLOR_FORMAT_ITEMS = [
18
18
  { id: 'hex', label: 'Hex' },
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ColorPicker/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAI5F,OAAO,KAAK,EACV,cAAc,IAAI,kBAAkB,EACpC,gBAAgB,IAAI,oBAAoB,EACxC,0BAA0B,IAAI,8BAA8B,EAG7D,MAAM,uBAAuB,CAAC;AAgB/B,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAgJ7F,MAAM,WAAW,gBAAiB,SAAQ,8BAA8B;IACtE,sDAAsD;IACtD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AAQD,4GAA4G;AAC5G,eAAO,MAAM,UAAU,GAAI,2BAAkC,gBAAgB,gCAuB5E,CAAC;AA8HF,MAAM,WAAW,gBAAgB;IAC/B,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AA0CD;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;iBAnYuC,CAAC;gBAAoB,CAAC;qBAK1B,CAAC;;mBAkZtC,qBAAqB;;2CArWc,kBAAkB;yCAwB/B,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC;2CAqBnC,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC;0DAyBhB,WAAW;4EA4BC,IAAI,CAAC,WAAW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AAI,CAAC,WAAW,EAAE,UAAU,CAAC;;sDAgMzC,gBAAgB;4CAhKtB,gBAAgB;CAgO5E,CAAC;AAqBF,YAAY,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -5,12 +5,12 @@ import { Select } from '@flipdish/ui-library/components/molecules/Select';
5
5
  import { cx } from '@flipdish/ui-library/utilities/cx';
6
6
  import { useTestIdPrefix, joinTestId, slugifyTestId } from '@flipdish/ui-library/utilities/testIdUtils';
7
7
  import { ColorSwatchPickerItem, ColorSwatch, ColorArea, parseColor, ColorSlider, SliderTrack, ColorThumb as ColorThumb$1, ColorField, Input, ColorSwatchPicker } from 'react-aria-components';
8
- import { selectAllOnFocus, formatRgbaCss, isSolidColorList, dedupeColors } from './colorPicker.utils.js';
9
8
  import { ColorPickerDialog } from './components/ColorPickerDialog.js';
10
9
  import { ColorPickerField } from './components/ColorPickerField.js';
11
10
  import { InputCell } from './components/InputCell.js';
12
11
  import { useCssColorField } from './hooks/useCssColorField.js';
13
12
  import { useColorPicker, Provider } from './providers/ColorPicker.provider.js';
13
+ import { selectAllOnFocus, formatRgbaCss, isSolidColorList, dedupeColors } from './utilities/colorPicker.utils.js';
14
14
 
15
15
  const COLOR_FORMAT_ITEMS = [
16
16
  { id: 'hex', label: 'Hex' },
@@ -1,6 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { Color } from 'react-aria-components';
3
- import type { ColorDisplayFormat } from '../colorPicker.utils';
3
+ import type { ColorDisplayFormat } from '../utilities/colorPicker.utils';
4
4
  /** Color picker state. */
5
5
  export interface ColorPickerState {
6
6
  /** Currently selected color. */
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPicker.provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/ColorPicker/providers/ColorPicker.provider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,0BAA0B;AAC1B,MAAM,WAAW,gBAAgB;IAC/B,gCAAgC;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,+CAA+C;IAC/C,WAAW,EAAE,kBAAkB,CAAC;CACjC;AAED,oCAAoC;AACpC,MAAM,WAAW,kBAAkB;IACjC,4BAA4B;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,yDAAyD;IACzD,cAAc,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACtD;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,gBAAgB,CAAC;IACxB,OAAO,EAAE,kBAAkB,CAAC;CAC7B;AAKD,eAAO,MAAM,cAAc,QAAO,uBAIjC,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,kBAAkB,QAAO,uBAAuB,GAAG,IAAsC,CAAC;AAQvG,0CAA0C;AAC1C,MAAM,WAAW,aAAa;IAC5B,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC9B,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACvB,gDAAgD;IAChD,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAClC,iEAAiE;IACjE,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,gFAAgF;AAChF,eAAO,MAAM,QAAQ,GAAI,6FAOtB,aAAa,gCAgEf,CAAC"}
1
+ {"version":3,"file":"ColorPicker.provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/ColorPicker/providers/ColorPicker.provider.tsx"],"names":[],"mappings":"AAGA,O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version":3,"file":"colorPicker.utils.cjs","sources":["../../../../../src/components/organisms/ColorPicker/utilities/colorPicker.utils.ts"],"sourcesContent":[null],"names":["parseColor"],"mappings":";;;;AAKO,MAAM,gBAAgB,GAA8C,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM;AAEjG;;;;;;;;;AASG;MACU,aAAa,GAAG,CAAC,GAAW,EAAE,KAAa,EAAE,IAAY,EAAE,KAAa,KACnF,CAAA,KAAA,EAAQ,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA,EAAA,EAAK,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA,EAAA,EAAK,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA,EAAA,EAAK,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG,CAAA,CAAA;AAEtG;;;;;AAKG;AACI,MAAM,mBAAmB,GAAG,CAAC,KAAa,KAA2C;IAC1F,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC;IACpC,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;AAC9B,IAAA,IAAI,KAAK,GAAG,CAAC,IAAI,GAAG,GAAG,KAAK;AAAE,QAAA,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE;AACnD,IAAA,OAAO,IAAI;AACb;AAEA;;;;;;AAMG;AACI,MAAM,gBAAgB,GAAG,CAAC,MAAyB,KAAa;AACrE,IAAA,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;AAAE,QAAA,OAAO,KAAK;AACrC,IAAA,IAAI;AACF,QAAAA,8BAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACrB,QAAA,OAAO,IAAI;IACb;AAAE,IAAA,MAAM;AACN,QAAA,OAAO,KAAK;IACd;AACF;AAEA;;;;;;;;;AASG;AACI,MAAM,YAAY,GAAG,CAAC,MAAgB,KAAc;AACzD,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,KAAI;AACzB,QAAA,IAAI,GAAW;AACf,QAAA,IAAI;YACF,GAAG,GAAGA,8BAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;QACtC;AAAE,QAAA,MAAM;YACN,GAAG,GAAG,CAAC;QACT;AACA,QAAA,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;AAAE,YAAA,OAAO,KAAK;AAC/B,QAAA,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;AACb,QAAA,OAAO,IAAI;AACb,IAAA,CAAC,CAAC;AACJ;AAEA;;;;;AAKG;AACI,MAAM,OAAO,GAAG,CAAC,KAAgC,KAAkB;AACxE,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,EAAE;AAAE,QAAA,OAAO,IAAI;AAC1D,IAAA,IAAI;AACF,QAAA,OAAOA,8BAAU,CAAC,KAAK,CAAC;IAC1B;AAAE,IAAA,MAAM;AACN,QAAA,OAAO,IAAI;IACb;AACF;AAEA;;;;;AAKG;AACH;AACO,MAAM,WAAW,GAAG,CAAC,KAAY,KAAa,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,GAAG,MAAM,GAAG,KAAK;;;;;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorPicker.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/ColorPicker/utilities/colorPicker.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,KAAK,EAAc,MAAM,uBAAuB,CAAC;AAE/D,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAEvE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAA4B,CAAC;AAEpG;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,EAAE,OAAO,MAAM,EAAE,MAAM,MAAM,EAAE,OAAO,MAAM,KAAG,MACiB,CAAC;AAE1G;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,IAKpF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,SAAS,MAAM,EAAE,KAAG,OAQ5D,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,EAAE,KAAG,MAAM,EAarD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,OAAO,MAAM,GAAG,IAAI,GAAG,SAAS,KAAG,KAAK,GAAG,IAOlE,CAAC;AAEF;;;;;GAKG;AAEH,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,KAAG,MAAiG,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorPicker.utils.js","sources":["../../../../../src/components/organisms/ColorPicker/utilities/colorPicker.utils.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAKO,MAAM,gBAAgB,GAA8C,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM;AAEjG;;;;;;;;;AASG;MACU,aAAa,GAAG,CAAC,GAAW,EAAE,KAAa,EAAE,IAAY,EAAE,KAAa,KACnF,CAAA,KAAA,EAAQ,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA,EAAA,EAAK,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA,EAAA,EAAK,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA,EAAA,E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,MAAM,OAAO,GAAG,CAAC,KAAgC,KAAkB;AACxE,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,EAAE;AAAE,QAAA,OAAO,IAAI;AAC1D,IAAA,IAAI;AACF,QAAA,OAAO,UAAU,CAAC,KAAK,CAAC;IAC1B;AAAE,IAAA,MAAM;AACN,QAAA,OAAO,IAAI;IACb;AACF;AAEA;;;;;AAKG;AACH;AACO,MAAM,WAAW,GAAG,CAAC,KAAY,KAAa,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,GAAG,MAAM,GAAG,KAAK;;"}
@@ -6,8 +6,8 @@ var UtilityButton = require('@flipdish/ui-library/components/atoms/UtilityButton
6
6
  var testIdUtils = require('@flipdish/ui-library/utilities/testIdUtils');
7
7
  var React = require('react');
8
8
  var reactAriaComponents = require('react-aria-components');
9
- var colorPicker_utils = require('../../ColorPicker/colorPicker.utils.cjs');
10
9
  var InputCell = require('../../ColorPicker/components/InputCell.cjs');
10
+ var colorPicker_utils = require('../../ColorPicker/utilities/colorPicker.utils.cjs');
11
11
  var GradientPicker_provider = require('../providers/GradientPicker.provider.cjs');
12
12
  var PositionInput = require('./PositionInput.cjs');
13
13
 
@@ -4,8 +4,8 @@ import { ButtonUtility } from '@flipdish/ui-library/components/atoms/UtilityButt
4
4
  import { useTestIdPrefix, joinTestId } from '@flipdish/ui-library/utilities/testIdUtils';
5
5
  import { useMemo } from 'react';
6
6
  import { parseColor, ColorField, ColorSwatch, Input } from 'react-aria-components';
7
- import { selectAllOnFocus } from '../../ColorPicker/colorPicker.utils.js';
8
7
  import { InputCell } from '../../ColorPicker/components/InputCell.js';
8
+ import { selectAllOnFocus } from '../../ColorPicker/utilities/colorPicker.utils.js';
9
9
  import { useGradientColorPicker } from '../providers/GradientPicker.provider.js';
10
10
  import { PositionInput } from './PositionInput.js';
11
11
 
@@ -0,0 +1,98 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var This_field_is_required = {
6
+ value: "This field is required"
7
+ };
8
+ var Enter_a_valid_value = {
9
+ value: "Enter a valid value"
10
+ };
11
+ var Enter_a_valid_email_address = {
12
+ value: "Enter a valid email address"
13
+ };
14
+ var Enter_a_valid_web_address = {
15
+ value: "Enter a valid web address"
16
+ };
17
+ var Enter_a_valid_phone_number = {
18
+ value: "Enter a valid phone number"
19
+ };
20
+ var Enter_a_valid_amount = {
21
+ value: "Enter a valid amount"
22
+ };
23
+ var Enter_a_number = {
24
+ value: "Enter a number"
25
+ };
26
+ var Enter_a_whole_number = {
27
+ value: "Enter a whole number"
28
+ };
29
+ var Enter_a_valid_colour = {
30
+ value: "Enter a valid colour"
31
+ };
32
+ var Choose_an_option = {
33
+ value: "Choose an option"
34
+ };
35
+ var Choose_at_least_one_option = {
36
+ value: "Choose at least one option"
37
+ };
38
+ var Enter_digits_only = {
39
+ value: "Enter digits only"
40
+ };
41
+ var Select_this_box_to_continue = {
42
+ value: "Select this box to continue"
43
+ };
44
+ var en = {
45
+ This_field_is_required: This_field_is_required,
46
+ "Enter_{min}_or_more_characters": {
47
+ value: "Enter {min} or more characters"
48
+ },
49
+ "Enter_{max}_characters_or_fewer": {
50
+ value: "Enter {max} characters or fewer"
51
+ },
52
+ Enter_a_valid_value: Enter_a_valid_value,
53
+ Enter_a_valid_email_address: Enter_a_valid_email_address,
54
+ Enter_a_valid_web_address: Enter_a_valid_web_address,
55
+ Enter_a_valid_phone_number: Enter_a_valid_phone_number,
56
+ Enter_a_valid_amount: Enter_a_valid_amount,
57
+ Enter_a_number: Enter_a_number,
58
+ Enter_a_whole_number: Enter_a_whole_number,
59
+ "Enter_{min}_or_more": {
60
+ value: "Enter {min} or more"
61
+ },
62
+ "Enter_{max}_or_less": {
63
+ value: "Enter {max} or less"
64
+ },
65
+ Enter_a_valid_colour: Enter_a_valid_colour,
66
+ "Choose_a_date_on_or_after_{min}": {
67
+ value: "Choose a date on or after {min}"
68
+ },
69
+ "Choose_a_date_on_or_before_{max}": {
70
+ value: "Choose a date on or before {max}"
71
+ },
72
+ Choose_an_option: Choose_an_option,
73
+ Choose_at_least_one_option: Choose_at_least_one_option,
74
+ Enter_digits_only: Enter_digits_only,
75
+ "Enter_{length}_digits": {
76
+ value: "Enter {length} digits"
77
+ },
78
+ Select_this_box_to_continue: Select_this_box_to_continue,
79
+ "Choose_{max}_or_fewer": {
80
+ value: "Choose {max} or fewer"
81
+ }
82
+ };
83
+
84
+ exports.Choose_an_option = Choose_an_option;
85
+ exports.Choose_at_least_one_option = Choose_at_least_one_option;
86
+ exports.Enter_a_number = Enter_a_number;
87
+ exports.Enter_a_valid_amount = Enter_a_valid_amount;
88
+ exports.Enter_a_valid_colour = Enter_a_valid_colour;
89
+ exports.Enter_a_valid_email_address = Enter_a_valid_email_address;
90
+ exports.Enter_a_valid_phone_number = Enter_a_valid_phone_number;
91
+ exports.Enter_a_valid_value = Enter_a_valid_value;
92
+ exports.Enter_a_valid_web_address = Enter_a_valid_web_address;
93
+ exports.Enter_a_whole_number = Enter_a_whole_number;
94
+ exports.Enter_digits_only = Enter_digits_only;
95
+ exports.Select_this_box_to_continue = Select_this_box_to_continue;
96
+ exports.This_field_is_required = This_field_is_required;
97
+ exports.default = en;
98
+ //# sourceMappingURL=en.json.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,81 @@
1
+ var This_field_is_required = {
2
+ value: "This field is required"
3
+ };
4
+ var Enter_a_valid_value = {
5
+ value: "Enter a valid value"
6
+ };
7
+ var Enter_a_valid_email_address = {
8
+ value: "Enter a valid email address"
9
+ };
10
+ var Enter_a_valid_web_address = {
11
+ value: "Enter a valid web address"
12
+ };
13
+ var Enter_a_valid_phone_number = {
14
+ value: "Enter a valid phone number"
15
+ };
16
+ var Enter_a_valid_amount = {
17
+ value: "Enter a valid amount"
18
+ };
19
+ var Enter_a_number = {
20
+ value: "Enter a number"
21
+ };
22
+ var Enter_a_whole_number = {
23
+ value: "Enter a whole number"
24
+ };
25
+ var Enter_a_valid_colour = {
26
+ value: "Enter a valid colour"
27
+ };
28
+ var Choose_an_option = {
29
+ value: "Choose an option"
30
+ };
31
+ var Choose_at_least_one_option = {
32
+ value: "Choose at least one option"
33
+ };
34
+ var Enter_digits_only = {
35
+ value: "Enter digits only"
36
+ };
37
+ var Select_this_box_to_continue = {
38
+ value: "Select this box to continue"
39
+ };
40
+ var en = {
41
+ This_field_is_required: This_field_is_required,
42
+ "Enter_{min}_or_more_characters": {
43
+ value: "Enter {min} or more characters"
44
+ },
45
+ "Enter_{max}_characters_or_fewer": {
46
+ value: "Enter {max} characters or fewer"
47
+ },
48
+ Enter_a_valid_value: Enter_a_valid_value,
49
+ Enter_a_valid_email_address: Enter_a_valid_email_address,
50
+ Enter_a_valid_web_address: Enter_a_valid_web_address,
51
+ Enter_a_valid_phone_number: Enter_a_valid_phone_number,
52
+ Enter_a_valid_amount: Enter_a_valid_amount,
53
+ Enter_a_number: Enter_a_number,
54
+ Enter_a_whole_number: Enter_a_whole_number,
55
+ "Enter_{min}_or_more": {
56
+ value: "Enter {min} or more"
57
+ },
58
+ "Enter_{max}_or_less": {
59
+ value: "Enter {max} or less"
60
+ },
61
+ Enter_a_valid_colour: Enter_a_valid_colour,
62
+ "Choose_a_date_on_or_after_{min}": {
63
+ value: "Choose a date on or after {min}"
64
+ },
65
+ "Choose_a_date_on_or_before_{max}": {
66
+ value: "Choose a date on or before {max}"
67
+ },
68
+ Choose_an_option: Choose_an_option,
69
+ Choose_at_least_one_option: Choose_at_least_one_option,
70
+ Enter_digits_only: Enter_digits_only,
71
+ "Enter_{length}_digits": {
72
+ value: "Enter {length} digits"
73
+ },
74
+ Select_this_box_to_continue: Select_this_box_to_continue,
75
+ "Choose_{max}_or_fewer": {
76
+ value: "Choose {max} or fewer"
77
+ }
78
+ };
79
+
80
+ export { Choose_an_option, Choose_at_least_one_option, Enter_a_number, Enter_a_valid_amount, Enter_a_valid_colour, Enter_a_valid_email_address, Enter_a_valid_phone_number, Enter_a_valid_value, Enter_a_valid_web_address, Enter_a_whole_number, Enter_digits_only, Select_this_box_to_continue, This_field_is_required, en as default };
81
+ //# sourceMappingURL=en.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `Form` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/Form` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `Form` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormFooter` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/FormFooter` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormFooter` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormSection` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/FormSection` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormSection` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormCheckbox` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormCheckbox` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormCheckbox` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormCheckboxGroup` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormCheckboxGroup` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormCheckboxGroup` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormColorPicker` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormColorPicker` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormColorPicker` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormDatePicker` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormDatePicker` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormDatePicker` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormInput` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormInput` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormInput` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormMultiSelect` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormMultiSelect` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormMultiSelect` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormRadioCardGroup` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormRadioCardGroup` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormRadioCardGroup` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormRadioGroup` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormRadioGroup` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormRadioGroup` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormSelect` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormSelect` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormSelect` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormSlider` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormSlider` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormSlider` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormTextArea` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormTextArea` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormTextArea` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `FormToggle` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/fields/FormToggle` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `FormToggle` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * `validation` has no React Native implementation.
3
+ *
4
+ * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
+ * that importing `@flipdish/ui-library/components/forms/validation` from React Native fails at
6
+ * compile time rather than resolving to the web build's types. There is no
7
+ * matching `index.js`, so Metro cannot bundle this module either.
8
+ *
9
+ * To make `validation` available on React Native, add an `index.native.tsx` beside
10
+ * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
+ */
12
+ export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;
@@ -5,7 +5,7 @@ var React = require('react');
5
5
  var reactRouter = require('react-router');
6
6
  var UnsavedChangesGuard_context = require('../../hooks/useUnsavedChangesGuard/providers/UnsavedChangesGuard.context.cjs');
7
7
  var unsavedChangesGuard_constants = require('./unsavedChangesGuard.constants.cjs');
8
- var unsavedChangesGuard_utils = require('./unsavedChangesGuard.utils.cjs');
8
+ var unsavedChangesGuard_utils = require('./utilities/unsavedChangesGuard.utils.cjs');
9
9
 
10
10
  /** Registers the router's blocker. Rendered only while it is needed: react-router warns on every host navigation while one exists. */
11
11
  const NavigationHold = ({ shouldBlock, onChange }) => {
@@ -3,7 +3,7 @@ import { useContext, useState, useRef, useCallback, useEffect, useMemo } from 'r
3
3
  import { UNSAFE_DataRouterContext, useHref, useLocation, useBlocker } from 'react-router';
4
4
  import { UnsavedChangesGuardContext } from '../../hooks/useUnsavedChangesGuard/providers/UnsavedChangesGuard.context.js';
5
5
  import { HOST_APPROVAL_MS } from './unsavedChangesGuard.constants.js';
6
- import { browserEntry, isInside, hasLeftFrom, canRewind, historyPosition, historyIndex, watchLeftPosition, hostGuard } from './unsavedChangesGuard.utils.js';
6
+ import { browserEntry, isInside, hasLeftFrom, canRewind, historyPosition, historyIndex, watchLeftPosition, hostGuard } from './utilities/unsavedChangesGuard.utils.js';
7
7
 
8
8
  /** Registers the router's blocker. Rendered only while it is needed: react-router warns on every host navigation while one exists. */
9
9
  const NavigationHold = ({ shouldBlock, onChange }) => {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unsavedChangesGuard.utils.cjs","sources":["../../../../src/providers/UnsavedChangesGuardProvider/utilities/unsavedChangesGuard.utils.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA;;;;AAIG;AACI,MAAM,SAAS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A,OAAO,IAAI;IACzE,OAAO,EAAE,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,QAAQ;AACjD;AAEA;;;;;AAKG;AACI,MAAM,YAAY,GAAG,CAAC,OAAe,KAAkC;AAC5E,IAAA,MAAM,KAAK,GAAY,MAAM,CAAC,OAAO,CAAC,KAAK;AAC3C,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,EAAE,KAAK,IAAI,KAAK,CAAC;AAAE,QAAA,OAAO,SAAS;;AAEtF,IAAA,MAAM,GAAG,GAAG,KAAK,IAAI,KAAK,GAAG,KAAK,CAAC,GAAG,GAAG,SAAS;AAClD,IAAA,OAAO,GAAG,KAAK,OAAO,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,GAAG,SAAS;AACzD;AAEA;;;;;;AAMG;MACU,QAAQ,GAAG,CAAC,QAAgB,EAAE,QAAgB,KAAI;AAC7D,IAAA,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE;AACvD,IAAA,MAAM,IAAI,GAAG,QAAQ,CAAC,WAAW,EAAE;AACnC,IAAA,OAAO,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,CAAA,EAAG,IAAI,CAAA,CAAA,CAAG,CAAC;AACrD;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import type { FdNavigationGuard, HistoryPlace } from './unsavedChangesGuard.types';
1
+ import type { FdNavigationGuard, HistoryPlace } from '../unsavedChangesGuard.types';
2
2
  /**
3
3
  * Reads the bridge a host such as Portal puts on the window for the apps it mounts.
4
4
  *
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unsavedChangesGuard.utils.d.ts","sourceRoot":"","sources":["../../../../src/providers/UnsavedChangesGuardProvider/utilities/unsavedChangesGuard.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEpF;;;;GAIG;AACH,eAAO,MAAM,SAAS,QAAO,iBAAiB,GAAG,SAA6F,CAAC;AAE/I;;;;GAIG;AACH,eAAO,MAAM,YAAY,QAAO,OAAkE,CAAC;AAEnG;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAO,MAAM,GAAG,SAAgG,CAAC;AAS7I;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,KAAG,CAAC,MAAM,IAAI,CAO9F,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,YAAY,EAAE,cAAc,MAAM,GAAG,SAAS,YACc,CAAC;AAEhG;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,GAAI,MAAM,YAAY,EAAE,IAAI,YAAY,YAM7D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,SAAS,MAAM,KAAG;IAAE,GAAG,EAAE,OAAO,CAAA;CAAE,GAAG,SAMjE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,UAAU,MAAM,EAAE,UAAU,MAAM,YAI1D,CAAC"}