@canonical/react-ds-global-form 0.29.1 → 0.31.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 (260) hide show
  1. package/dist/esm/density.css +234 -0
  2. package/dist/esm/docs/examples/density-examples.css +20 -0
  3. package/dist/esm/index.css +66 -6
  4. package/dist/esm/lib/_work_in_progress/DensityTestbed/Testbed.js +77 -0
  5. package/dist/esm/lib/_work_in_progress/DensityTestbed/Testbed.js.map +1 -0
  6. package/dist/esm/lib/_work_in_progress/DensityTestbed/baseline-system.css +81 -0
  7. package/dist/esm/lib/_work_in_progress/DensityTestbed/density.testbed.css +153 -0
  8. package/dist/esm/lib/_work_in_progress/DensityTestbed/mocks.js +23 -0
  9. package/dist/esm/lib/_work_in_progress/DensityTestbed/mocks.js.map +1 -0
  10. package/dist/esm/lib/common/Wrapper/ToggleWrapper.css +35 -0
  11. package/dist/esm/lib/common/Wrapper/ToggleWrapper.js +52 -0
  12. package/dist/esm/lib/common/Wrapper/ToggleWrapper.js.map +1 -0
  13. package/dist/esm/lib/common/Wrapper/Wrapper.js +2 -2
  14. package/dist/esm/lib/common/Wrapper/Wrapper.js.map +1 -1
  15. package/dist/esm/lib/common/Wrapper/hooks/useFieldWrapper.js +1 -1
  16. package/dist/esm/lib/common/Wrapper/hooks/useFieldWrapper.js.map +1 -1
  17. package/dist/esm/lib/common/Wrapper/index.js +2 -0
  18. package/dist/esm/lib/common/Wrapper/index.js.map +1 -1
  19. package/dist/esm/lib/common/Wrapper/styles.css +3 -1
  20. package/dist/esm/lib/common/Wrapper/withToggleWrapper.js +14 -0
  21. package/dist/esm/lib/common/Wrapper/withToggleWrapper.js.map +1 -0
  22. package/dist/esm/lib/common/bindField/bindField.js +15 -8
  23. package/dist/esm/lib/common/bindField/bindField.js.map +1 -1
  24. package/dist/esm/lib/component/CheckboxField/CheckboxField.js +8 -6
  25. package/dist/esm/lib/component/CheckboxField/CheckboxField.js.map +1 -1
  26. package/dist/esm/lib/component/ChoicesField/ChoicesField.js +2 -2
  27. package/dist/esm/lib/component/ChoicesField/ChoicesField.js.map +1 -1
  28. package/dist/esm/lib/component/ChoicesField/common/Option/Option.js +2 -2
  29. package/dist/esm/lib/component/ChoicesField/common/Option/Option.js.map +1 -1
  30. package/dist/esm/lib/component/ChoicesField/styles.css +55 -15
  31. package/dist/esm/lib/component/ColorField/ColorField.js +3 -3
  32. package/dist/esm/lib/component/ColorField/ColorField.js.map +1 -1
  33. package/dist/esm/lib/component/ComboboxField/ComboboxField.js +3 -3
  34. package/dist/esm/lib/component/ComboboxField/ComboboxField.js.map +1 -1
  35. package/dist/esm/lib/component/DateField/DateField.js +22 -4
  36. package/dist/esm/lib/component/DateField/DateField.js.map +1 -1
  37. package/dist/esm/lib/component/DateTimeField/DateTimeField.js +3 -3
  38. package/dist/esm/lib/component/DateTimeField/DateTimeField.js.map +1 -1
  39. package/dist/esm/lib/component/FileUploadField/FileUploadField.js +43 -6
  40. package/dist/esm/lib/component/FileUploadField/FileUploadField.js.map +1 -1
  41. package/dist/esm/lib/component/HiddenField/HiddenField.js +3 -3
  42. package/dist/esm/lib/component/HiddenField/HiddenField.js.map +1 -1
  43. package/dist/esm/lib/component/NumberField/NumberField.js +4 -4
  44. package/dist/esm/lib/component/NumberField/NumberField.js.map +1 -1
  45. package/dist/esm/lib/component/PasswordField/PasswordField.js +3 -3
  46. package/dist/esm/lib/component/PasswordField/PasswordField.js.map +1 -1
  47. package/dist/esm/lib/component/PhoneField/PhoneField.js +3 -3
  48. package/dist/esm/lib/component/PhoneField/PhoneField.js.map +1 -1
  49. package/dist/esm/lib/component/RangeField/RangeField.js +3 -3
  50. package/dist/esm/lib/component/RangeField/RangeField.js.map +1 -1
  51. package/dist/esm/lib/component/RangeField/common/RangeControl/RangeControl.js +1 -1
  52. package/dist/esm/lib/component/RangeField/common/RangeControl/RangeControl.js.map +1 -1
  53. package/dist/esm/lib/component/RatingField/RatingField.js +12 -0
  54. package/dist/esm/lib/component/RatingField/RatingField.js.map +1 -0
  55. package/dist/esm/lib/component/RatingField/index.js +2 -0
  56. package/dist/esm/lib/component/RatingField/index.js.map +1 -0
  57. package/dist/esm/lib/component/RatingField/types.js +2 -0
  58. package/dist/esm/lib/component/RatingField/types.js.map +1 -0
  59. package/dist/esm/lib/component/RichChoicesField/RichChoicesField.js +2 -2
  60. package/dist/esm/lib/component/RichChoicesField/RichChoicesField.js.map +1 -1
  61. package/dist/esm/lib/component/RichChoicesField/common/Option/Option.js +1 -1
  62. package/dist/esm/lib/component/RichChoicesField/common/Option/Option.js.map +1 -1
  63. package/dist/esm/lib/component/RichChoicesField/styles.css +6 -0
  64. package/dist/esm/lib/component/SelectField/SelectField.js +3 -3
  65. package/dist/esm/lib/component/SelectField/SelectField.js.map +1 -1
  66. package/dist/esm/lib/component/SwitchField/SwitchField.js +13 -0
  67. package/dist/esm/lib/component/SwitchField/SwitchField.js.map +1 -0
  68. package/dist/esm/lib/component/SwitchField/index.js +2 -0
  69. package/dist/esm/lib/component/SwitchField/index.js.map +1 -0
  70. package/dist/esm/lib/component/SwitchField/types.js +2 -0
  71. package/dist/esm/lib/component/SwitchField/types.js.map +1 -0
  72. package/dist/esm/lib/component/TextField/TextField.js +3 -3
  73. package/dist/esm/lib/component/TextField/TextField.js.map +1 -1
  74. package/dist/esm/lib/component/TextareaField/TextareaField.js +3 -3
  75. package/dist/esm/lib/component/TextareaField/TextareaField.js.map +1 -1
  76. package/dist/esm/lib/component/TimeField/TimeField.js +3 -3
  77. package/dist/esm/lib/component/TimeField/TimeField.js.map +1 -1
  78. package/dist/esm/lib/component/index.js +2 -0
  79. package/dist/esm/lib/component/index.js.map +1 -1
  80. package/dist/esm/lib/index.js +2 -1
  81. package/dist/esm/lib/index.js.map +1 -1
  82. package/dist/esm/lib/pattern/Field/Field.js +23 -17
  83. package/dist/esm/lib/pattern/Field/Field.js.map +1 -1
  84. package/dist/esm/lib/subcomponent/CheckboxInput/styles.css +45 -16
  85. package/dist/esm/lib/subcomponent/ComboboxInput/MultipleCombobox.js +14 -8
  86. package/dist/esm/lib/subcomponent/ComboboxInput/MultipleCombobox.js.map +1 -1
  87. package/dist/esm/lib/subcomponent/DateInput/styles.css +12 -0
  88. package/dist/esm/lib/subcomponent/DateTimeInput/styles.css +13 -0
  89. package/dist/esm/lib/subcomponent/Field/Label/Label.js +1 -3
  90. package/dist/esm/lib/subcomponent/Field/Label/Label.js.map +1 -1
  91. package/dist/esm/lib/subcomponent/Field/Label/styles.css +2 -3
  92. package/dist/esm/lib/subcomponent/FileUploadInput/FileUploadInput.js +11 -21
  93. package/dist/esm/lib/subcomponent/FileUploadInput/FileUploadInput.js.map +1 -1
  94. package/dist/esm/lib/subcomponent/FileUploadInput/styles.css +6 -3
  95. package/dist/esm/lib/subcomponent/PasswordInput/styles.css +5 -6
  96. package/dist/esm/lib/subcomponent/PhoneInput/PhoneInput.js +1 -1
  97. package/dist/esm/lib/subcomponent/PhoneInput/PhoneInput.js.map +1 -1
  98. package/dist/esm/lib/subcomponent/RadioInput/styles.css +36 -7
  99. package/dist/esm/lib/subcomponent/RangeInput/styles.css +10 -9
  100. package/dist/esm/lib/subcomponent/RatingInput/RatingInput.js +48 -0
  101. package/dist/esm/lib/subcomponent/RatingInput/RatingInput.js.map +1 -0
  102. package/dist/esm/lib/subcomponent/RatingInput/index.js +2 -0
  103. package/dist/esm/lib/subcomponent/RatingInput/index.js.map +1 -0
  104. package/dist/esm/lib/subcomponent/RatingInput/styles.css +159 -0
  105. package/dist/esm/lib/subcomponent/RatingInput/types.js +2 -0
  106. package/dist/esm/lib/subcomponent/RatingInput/types.js.map +1 -0
  107. package/dist/esm/lib/subcomponent/SwitchInput/SwitchInput.js +26 -0
  108. package/dist/esm/lib/subcomponent/SwitchInput/SwitchInput.js.map +1 -0
  109. package/dist/esm/lib/subcomponent/SwitchInput/index.js +2 -0
  110. package/dist/esm/lib/subcomponent/SwitchInput/index.js.map +1 -0
  111. package/dist/esm/lib/subcomponent/SwitchInput/styles.css +105 -0
  112. package/dist/esm/lib/subcomponent/SwitchInput/types.js +2 -0
  113. package/dist/esm/lib/subcomponent/SwitchInput/types.js.map +1 -0
  114. package/dist/esm/lib/subcomponent/TextInput/TextInput.js +1 -1
  115. package/dist/esm/lib/subcomponent/TextInput/TextInput.js.map +1 -1
  116. package/dist/esm/lib/subcomponent/TextareaInput/TextareaInput.js +1 -3
  117. package/dist/esm/lib/subcomponent/TextareaInput/TextareaInput.js.map +1 -1
  118. package/dist/esm/lib/subcomponent/TextareaInput/styles.css +4 -9
  119. package/dist/esm/lib/subcomponent/TimeInput/styles.css +8 -0
  120. package/dist/esm/lib/subcomponent/index.js +2 -0
  121. package/dist/esm/lib/subcomponent/index.js.map +1 -1
  122. package/dist/esm/lib/utils/countries/countries.js +1 -1
  123. package/dist/esm/lib/utils/countries/countries.js.map +1 -1
  124. package/dist/esm/lib/utils/hooks/useFieldError.js +21 -24
  125. package/dist/esm/lib/utils/hooks/useFieldError.js.map +1 -1
  126. package/dist/types/lib/_work_in_progress/DensityTestbed/Testbed.d.ts +42 -0
  127. package/dist/types/lib/_work_in_progress/DensityTestbed/Testbed.d.ts.map +1 -0
  128. package/dist/types/lib/_work_in_progress/DensityTestbed/mocks.d.ts +26 -0
  129. package/dist/types/lib/_work_in_progress/DensityTestbed/mocks.d.ts.map +1 -0
  130. package/dist/types/lib/common/Wrapper/ToggleWrapper.d.ts +24 -0
  131. package/dist/types/lib/common/Wrapper/ToggleWrapper.d.ts.map +1 -0
  132. package/dist/types/lib/common/Wrapper/index.d.ts +2 -0
  133. package/dist/types/lib/common/Wrapper/index.d.ts.map +1 -1
  134. package/dist/types/lib/common/Wrapper/withToggleWrapper.d.ts +20 -0
  135. package/dist/types/lib/common/Wrapper/withToggleWrapper.d.ts.map +1 -0
  136. package/dist/types/lib/common/Wrapper/withWrapper.d.ts +1 -1
  137. package/dist/types/lib/common/Wrapper/withWrapper.d.ts.map +1 -1
  138. package/dist/types/lib/common/bindField/bindField.d.ts.map +1 -1
  139. package/dist/types/lib/common/bindField/types.d.ts +14 -5
  140. package/dist/types/lib/common/bindField/types.d.ts.map +1 -1
  141. package/dist/types/lib/common/types.d.ts +24 -2
  142. package/dist/types/lib/common/types.d.ts.map +1 -1
  143. package/dist/types/lib/component/CheckboxField/CheckboxField.d.ts +8 -332
  144. package/dist/types/lib/component/CheckboxField/CheckboxField.d.ts.map +1 -1
  145. package/dist/types/lib/component/CheckboxField/types.d.ts +7 -4
  146. package/dist/types/lib/component/CheckboxField/types.d.ts.map +1 -1
  147. package/dist/types/lib/component/ChoicesField/ChoicesField.d.ts +1 -0
  148. package/dist/types/lib/component/ChoicesField/ChoicesField.d.ts.map +1 -1
  149. package/dist/types/lib/component/ChoicesField/common/Option/types.d.ts +1 -1
  150. package/dist/types/lib/component/ChoicesField/common/Option/types.d.ts.map +1 -1
  151. package/dist/types/lib/component/ChoicesField/types.d.ts +2 -2
  152. package/dist/types/lib/component/ChoicesField/types.d.ts.map +1 -1
  153. package/dist/types/lib/component/ColorField/ColorField.d.ts +2 -1
  154. package/dist/types/lib/component/ColorField/ColorField.d.ts.map +1 -1
  155. package/dist/types/lib/component/ColorField/types.d.ts +2 -2
  156. package/dist/types/lib/component/ColorField/types.d.ts.map +1 -1
  157. package/dist/types/lib/component/ComboboxField/ComboboxField.d.ts +1 -0
  158. package/dist/types/lib/component/ComboboxField/ComboboxField.d.ts.map +1 -1
  159. package/dist/types/lib/component/ComboboxField/types.d.ts +2 -2
  160. package/dist/types/lib/component/ComboboxField/types.d.ts.map +1 -1
  161. package/dist/types/lib/component/DateField/DateField.d.ts +4 -2
  162. package/dist/types/lib/component/DateField/DateField.d.ts.map +1 -1
  163. package/dist/types/lib/component/DateField/types.d.ts +2 -2
  164. package/dist/types/lib/component/DateField/types.d.ts.map +1 -1
  165. package/dist/types/lib/component/DateTimeField/DateTimeField.d.ts +1 -0
  166. package/dist/types/lib/component/DateTimeField/DateTimeField.d.ts.map +1 -1
  167. package/dist/types/lib/component/DateTimeField/types.d.ts +2 -2
  168. package/dist/types/lib/component/DateTimeField/types.d.ts.map +1 -1
  169. package/dist/types/lib/component/FileUploadField/FileUploadField.d.ts +9 -5
  170. package/dist/types/lib/component/FileUploadField/FileUploadField.d.ts.map +1 -1
  171. package/dist/types/lib/component/FileUploadField/types.d.ts +2 -2
  172. package/dist/types/lib/component/FileUploadField/types.d.ts.map +1 -1
  173. package/dist/types/lib/component/HiddenField/HiddenField.d.ts +1 -0
  174. package/dist/types/lib/component/HiddenField/HiddenField.d.ts.map +1 -1
  175. package/dist/types/lib/component/HiddenField/types.d.ts +2 -2
  176. package/dist/types/lib/component/HiddenField/types.d.ts.map +1 -1
  177. package/dist/types/lib/component/NumberField/NumberField.d.ts +1 -0
  178. package/dist/types/lib/component/NumberField/NumberField.d.ts.map +1 -1
  179. package/dist/types/lib/component/NumberField/types.d.ts +2 -2
  180. package/dist/types/lib/component/NumberField/types.d.ts.map +1 -1
  181. package/dist/types/lib/component/PasswordField/PasswordField.d.ts +1 -0
  182. package/dist/types/lib/component/PasswordField/PasswordField.d.ts.map +1 -1
  183. package/dist/types/lib/component/PasswordField/types.d.ts +2 -2
  184. package/dist/types/lib/component/PasswordField/types.d.ts.map +1 -1
  185. package/dist/types/lib/component/PhoneField/PhoneField.d.ts +3 -2
  186. package/dist/types/lib/component/PhoneField/PhoneField.d.ts.map +1 -1
  187. package/dist/types/lib/component/PhoneField/index.d.ts +1 -1
  188. package/dist/types/lib/component/PhoneField/index.d.ts.map +1 -1
  189. package/dist/types/lib/component/PhoneField/types.d.ts +2 -2
  190. package/dist/types/lib/component/PhoneField/types.d.ts.map +1 -1
  191. package/dist/types/lib/component/RangeField/RangeField.d.ts +1 -0
  192. package/dist/types/lib/component/RangeField/RangeField.d.ts.map +1 -1
  193. package/dist/types/lib/component/RangeField/types.d.ts +1 -1
  194. package/dist/types/lib/component/RangeField/types.d.ts.map +1 -1
  195. package/dist/types/lib/component/RatingField/RatingField.d.ts +46 -0
  196. package/dist/types/lib/component/RatingField/RatingField.d.ts.map +1 -0
  197. package/dist/types/lib/component/RatingField/index.d.ts +3 -0
  198. package/dist/types/lib/component/RatingField/index.d.ts.map +1 -0
  199. package/dist/types/lib/component/RatingField/types.d.ts +9 -0
  200. package/dist/types/lib/component/RatingField/types.d.ts.map +1 -0
  201. package/dist/types/lib/component/RichChoicesField/RichChoicesField.d.ts +1 -0
  202. package/dist/types/lib/component/RichChoicesField/RichChoicesField.d.ts.map +1 -1
  203. package/dist/types/lib/component/RichChoicesField/types.d.ts +2 -2
  204. package/dist/types/lib/component/RichChoicesField/types.d.ts.map +1 -1
  205. package/dist/types/lib/component/SelectField/SelectField.d.ts +1 -0
  206. package/dist/types/lib/component/SelectField/SelectField.d.ts.map +1 -1
  207. package/dist/types/lib/component/SelectField/types.d.ts +2 -2
  208. package/dist/types/lib/component/SelectField/types.d.ts.map +1 -1
  209. package/dist/types/lib/component/SwitchField/SwitchField.d.ts +14 -0
  210. package/dist/types/lib/component/SwitchField/SwitchField.d.ts.map +1 -0
  211. package/dist/types/lib/component/SwitchField/index.d.ts +3 -0
  212. package/dist/types/lib/component/SwitchField/index.d.ts.map +1 -0
  213. package/dist/types/lib/component/SwitchField/types.d.ts +8 -0
  214. package/dist/types/lib/component/SwitchField/types.d.ts.map +1 -0
  215. package/dist/types/lib/component/TextField/TextField.d.ts +2 -1
  216. package/dist/types/lib/component/TextField/TextField.d.ts.map +1 -1
  217. package/dist/types/lib/component/TextField/types.d.ts +2 -2
  218. package/dist/types/lib/component/TextField/types.d.ts.map +1 -1
  219. package/dist/types/lib/component/TextareaField/TextareaField.d.ts +1 -0
  220. package/dist/types/lib/component/TextareaField/TextareaField.d.ts.map +1 -1
  221. package/dist/types/lib/component/TextareaField/types.d.ts +2 -2
  222. package/dist/types/lib/component/TextareaField/types.d.ts.map +1 -1
  223. package/dist/types/lib/component/TimeField/TimeField.d.ts +1 -0
  224. package/dist/types/lib/component/TimeField/TimeField.d.ts.map +1 -1
  225. package/dist/types/lib/component/TimeField/types.d.ts +2 -2
  226. package/dist/types/lib/component/TimeField/types.d.ts.map +1 -1
  227. package/dist/types/lib/component/index.d.ts +2 -0
  228. package/dist/types/lib/component/index.d.ts.map +1 -1
  229. package/dist/types/lib/index.d.ts +2 -0
  230. package/dist/types/lib/index.d.ts.map +1 -1
  231. package/dist/types/lib/pattern/Field/Field.d.ts.map +1 -1
  232. package/dist/types/lib/pattern/Field/types.d.ts +27 -21
  233. package/dist/types/lib/pattern/Field/types.d.ts.map +1 -1
  234. package/dist/types/lib/subcomponent/ComboboxInput/MultipleCombobox.d.ts.map +1 -1
  235. package/dist/types/lib/subcomponent/Field/Label/Label.d.ts.map +1 -1
  236. package/dist/types/lib/subcomponent/FileUploadInput/FileUploadInput.d.ts.map +1 -1
  237. package/dist/types/lib/subcomponent/PhoneInput/types.d.ts +2 -2
  238. package/dist/types/lib/subcomponent/PhoneInput/types.d.ts.map +1 -1
  239. package/dist/types/lib/subcomponent/RatingInput/RatingInput.d.ts +23 -0
  240. package/dist/types/lib/subcomponent/RatingInput/RatingInput.d.ts.map +1 -0
  241. package/dist/types/lib/subcomponent/RatingInput/index.d.ts +3 -0
  242. package/dist/types/lib/subcomponent/RatingInput/index.d.ts.map +1 -0
  243. package/dist/types/lib/subcomponent/RatingInput/types.d.ts +52 -0
  244. package/dist/types/lib/subcomponent/RatingInput/types.d.ts.map +1 -0
  245. package/dist/types/lib/subcomponent/SwitchInput/SwitchInput.d.ts +16 -0
  246. package/dist/types/lib/subcomponent/SwitchInput/SwitchInput.d.ts.map +1 -0
  247. package/dist/types/lib/subcomponent/SwitchInput/index.d.ts +3 -0
  248. package/dist/types/lib/subcomponent/SwitchInput/index.d.ts.map +1 -0
  249. package/dist/types/lib/subcomponent/SwitchInput/types.d.ts +8 -0
  250. package/dist/types/lib/subcomponent/SwitchInput/types.d.ts.map +1 -0
  251. package/dist/types/lib/subcomponent/TextareaInput/TextareaInput.d.ts.map +1 -1
  252. package/dist/types/lib/subcomponent/index.d.ts +4 -0
  253. package/dist/types/lib/subcomponent/index.d.ts.map +1 -1
  254. package/dist/types/lib/utils/hooks/useFieldError.d.ts +14 -0
  255. package/dist/types/lib/utils/hooks/useFieldError.d.ts.map +1 -1
  256. package/dist/types/lib/utils/middleware/addRESTOptions.d.ts +2 -2
  257. package/dist/types/lib/utils/middleware/addRESTOptions.d.ts.map +1 -1
  258. package/dist/types/lib/utils/middleware/addRESTValidation.d.ts +1 -1
  259. package/dist/types/lib/utils/middleware/addRESTValidation.d.ts.map +1 -1
  260. package/package.json +14 -20
@@ -1 +1 @@
1
- {"version":3,"file":"ChoicesField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ChoicesField/ChoicesField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAGE"}
1
+ {"version":3,"file":"ChoicesField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ChoicesField/ChoicesField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAGE"}
@@ -1,4 +1,4 @@
1
- import type { Option as ChoiceOption } from "#lib/subcomponent/types.js";
1
+ import type { Option as ChoiceOption } from "../../../../subcomponent/types.js";
2
2
  export interface OptionProps {
3
3
  /** Field name shared by every option input in the group */
4
4
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/ChoicesField/common/Option/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAEzE,MAAM,WAAW,WAAW;IAC1B,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC;IAC3B,2BAA2B;IAC3B,MAAM,EAAE,YAAY,CAAC;IACrB,gDAAgD;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,wCAAwC;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/ChoicesField/common/Option/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEhF,MAAM,WAAW,WAAW;IAC1B,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC;IAC3B,2BAA2B;IAC3B,MAAM,EAAE,YAAY,CAAC;IACrB,gDAAgD;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,wCAAwC;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { BaseProps, OptionsProps } from "#lib/subcomponent/types.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { BaseProps, OptionsProps } from "../../subcomponent/types.js";
3
3
  type AdditionalChoicesProps = OptionsProps & {
4
4
  /** Field name shared by every option input in the group */
5
5
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ChoicesField/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1E,KAAK,sBAAsB,GAAG,YAAY,GAAG;IAC3C,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IAEb,qIAAqI;IACrI,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAE1C;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAE1B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,6EAA6E;AAC7E,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,sBAAsB,CAAC;AAE1E,yDAAyD;AACzD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ChoicesField/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3E,KAAK,sBAAsB,GAAG,YAAY,GAAG;IAC3C,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IAEb,qIAAqI;IACrI,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAE1C;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAE1B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,6EAA6E;AAC7E,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,sBAAsB,CAAC;AAE1E,yDAAyD;AACzD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,wBAAwB,CAAC,CAAC"}
@@ -23,6 +23,7 @@ declare const _default: (props: {
23
23
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
24
24
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
25
25
  unregisterOnUnmount?: boolean | undefined;
26
+ controlLabel?: string | undefined;
26
27
  mockLabel?: boolean | undefined;
27
28
  middleware?: (import("../../index.js").Middleware<ColorFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<ColorFieldProps>, "Component"> & {
28
29
  condition?: import("../../index.js").Condition;
@@ -34,7 +35,7 @@ declare const _default: (props: {
34
35
  swatches?: string[] | undefined;
35
36
  showHexInput?: boolean | undefined;
36
37
  showCurrentColor?: boolean | undefined;
37
- hexFormats?: import("#lib/subcomponent/ColorInput/index.js").HexFormat[] | undefined;
38
+ hexFormats?: import("../../subcomponent/ColorInput/types.js").HexFormat[] | undefined;
38
39
  }) => import("react").ReactElement<Omit<import("../../index.js").WrappedComponentProps<ColorFieldProps>, "Component"> & {
39
40
  condition?: import("../../index.js").Condition;
40
41
  }, string | import("react").JSXElementConstructor<any>> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"ColorField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ColorField/ColorField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
1
+ {"version":3,"file":"ColorField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ColorField/ColorField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { ColorInputProps } from "#lib/subcomponent/ColorInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { ColorInputProps } from "../../subcomponent/ColorInput/index.js";
3
3
  /** Props for the react-hook-form-bound Color field. */
4
4
  export type ColorFieldProps = InputProps<ColorInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ColorField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAE7E,uDAAuD;AACvD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ColorField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAE9E,uDAAuD;AACvD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC,CAAC"}
@@ -28,6 +28,7 @@ declare const _default: (props: {
28
28
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
29
29
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
30
30
  unregisterOnUnmount?: boolean | undefined;
31
+ controlLabel?: string | undefined;
31
32
  mockLabel?: boolean | undefined;
32
33
  middleware?: (import("../../index.js").Middleware<ComboboxFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<ComboboxFieldProps>, "Component"> & {
33
34
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ComboboxField/ComboboxField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
1
+ {"version":3,"file":"ComboboxField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ComboboxField/ComboboxField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { ComboboxInputProps } from "#lib/subcomponent/ComboboxInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { ComboboxInputProps } from "../../subcomponent/ComboboxInput/index.js";
3
3
  /** Props for the react-hook-form-bound Combobox field. */
4
4
  export type ComboboxFieldProps = InputProps<ComboboxInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ComboboxField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAEnF,0DAA0D;AAC1D,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ComboboxField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,0DAA0D;AAC1D,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { RegisterOptions } from "react-hook-form";
1
2
  import type { DateFieldProps } from "./types.js";
2
3
  /**
3
4
  * Date input bound to react-hook-form, wrapped with field chrome
@@ -318,11 +319,12 @@ declare const _default: (props: {
318
319
  onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
319
320
  onTransitionStart?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
320
321
  onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
321
- registerProps?: import("react-hook-form").RegisterOptions | undefined;
322
+ registerProps?: RegisterOptions | undefined;
322
323
  isOptional?: boolean | undefined;
323
324
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
324
- nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
325
+ nestedRegisterProps?: RegisterOptions | undefined;
325
326
  unregisterOnUnmount?: boolean | undefined;
327
+ controlLabel?: string | undefined;
326
328
  mockLabel?: boolean | undefined;
327
329
  middleware?: (import("../../index.js").Middleware<DateFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<DateFieldProps>, "Component"> & {
328
330
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateField/DateField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
1
+ {"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateField/DateField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAsBjD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { DateInputProps } from "#lib/subcomponent/DateInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { DateInputProps } from "../../subcomponent/DateInput/index.js";
3
3
  /** Props for the react-hook-form-bound date field (presentational + binding). */
4
4
  export type DateFieldProps = InputProps<DateInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAE3E,iFAAiF;AACjF,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAE5E,iFAAiF;AACjF,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC"}
@@ -323,6 +323,7 @@ declare const _default: (props: {
323
323
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
324
324
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
325
325
  unregisterOnUnmount?: boolean | undefined;
326
+ controlLabel?: string | undefined;
326
327
  mockLabel?: boolean | undefined;
327
328
  middleware?: (import("../../index.js").Middleware<DateTimeFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<DateTimeFieldProps>, "Component"> & {
328
329
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"DateTimeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateTimeField/DateTimeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
1
+ {"version":3,"file":"DateTimeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateTimeField/DateTimeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { DateTimeInputProps } from "#lib/subcomponent/DateTimeInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { DateTimeInputProps } from "../../subcomponent/DateTimeInput/index.js";
3
3
  /** Props for the react-hook-form-bound datetime field (presentational + binding). */
4
4
  export type DateTimeFieldProps = InputProps<DateTimeInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateTimeField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAEnF,qFAAqF;AACrF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateTimeField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,qFAAqF;AACrF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC"}
@@ -1,8 +1,11 @@
1
+ import type { RegisterOptions } from "react-hook-form";
1
2
  import type { FileUploadFieldProps } from "./types.js";
2
3
  /**
3
- * FileUploadInput bound to react-hook-form (controlled), wrapped with field chrome.
4
- * The `defaultValue` preserves the registration default the original leaf set
5
- * in `useController` (`[]`).
4
+ * FileUploadInput bound to react-hook-form (controlled), wrapped with field
5
+ * chrome. The `defaultValue` preserves the registration default the original
6
+ * leaf set in `useController` (`[]`). `maxFiles`/`maxSize` are enforced as RHF
7
+ * validation rules so violations surface as a standard field error rather than
8
+ * being silently dropped in the input.
6
9
  *
7
10
  * `import { FileUploadField } from "@canonical/react-ds-global-form";`
8
11
  */
@@ -22,11 +25,12 @@ declare const _default: (props: {
22
25
  "aria-invalid"?: boolean | undefined;
23
26
  "aria-labelledby"?: string | undefined;
24
27
  onChange?: ((files: File[]) => void) | undefined;
25
- registerProps?: import("react-hook-form").RegisterOptions | undefined;
28
+ registerProps?: RegisterOptions | undefined;
26
29
  isOptional?: boolean | undefined;
27
30
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
28
- nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
31
+ nestedRegisterProps?: RegisterOptions | undefined;
29
32
  unregisterOnUnmount?: boolean | undefined;
33
+ controlLabel?: string | undefined;
30
34
  mockLabel?: boolean | undefined;
31
35
  middleware?: (import("../../index.js").Middleware<FileUploadFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<FileUploadFieldProps>, "Component"> & {
32
36
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploadField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/FileUploadField/FileUploadField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
1
+ {"version":3,"file":"FileUploadField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/FileUploadField/FileUploadField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAyCvD;;;;;;;;GAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAKE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { FileUploadInputProps } from "#lib/subcomponent/FileUploadInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { FileUploadInputProps } from "../../subcomponent/FileUploadInput/index.js";
3
3
  /** Props for the react-hook-form-bound FileUpload field. */
4
4
  export type FileUploadFieldProps = InputProps<FileUploadInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/FileUploadField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAEvF,4DAA4D;AAC5D,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/FileUploadField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAExF,4DAA4D;AAC5D,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,oBAAoB,CAAC,CAAC"}
@@ -323,6 +323,7 @@ declare const _default: (props: {
323
323
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
324
324
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
325
325
  unregisterOnUnmount?: boolean | undefined;
326
+ controlLabel?: string | undefined;
326
327
  mockLabel?: boolean | undefined;
327
328
  middleware?: (import("../../index.js").Middleware<HiddenFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<HiddenFieldProps>, "Component"> & {
328
329
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"HiddenField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/HiddenField/HiddenField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
1
+ {"version":3,"file":"HiddenField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/HiddenField/HiddenField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { HiddenInputProps } from "#lib/subcomponent/HiddenInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { HiddenInputProps } from "../../subcomponent/HiddenInput/index.js";
3
3
  /** Props for the react-hook-form-bound Hidden field. */
4
4
  export type HiddenFieldProps = InputProps<HiddenInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/HiddenField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,wDAAwD;AACxD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/HiddenField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,wDAAwD;AACxD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC"}
@@ -323,6 +323,7 @@ declare const _default: (props: {
323
323
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
324
324
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
325
325
  unregisterOnUnmount?: boolean | undefined;
326
+ controlLabel?: string | undefined;
326
327
  mockLabel?: boolean | undefined;
327
328
  middleware?: (import("../../index.js").Middleware<NumberFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<NumberFieldProps>, "Component"> & {
328
329
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/NumberField/NumberField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAME"}
1
+ {"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/NumberField/NumberField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAME"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { NumberInputProps } from "#lib/subcomponent/NumberInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { NumberInputProps } from "../../subcomponent/NumberInput/index.js";
3
3
  /** Props for the react-hook-form-bound Number field (presentational + binding). */
4
4
  export type NumberFieldProps = InputProps<NumberInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/NumberField/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,mFAAmF;AACnF,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/NumberField/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,mFAAmF;AACnF,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC"}
@@ -322,6 +322,7 @@ declare const _default: (props: {
322
322
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
323
323
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
324
324
  unregisterOnUnmount?: boolean | undefined;
325
+ controlLabel?: string | undefined;
325
326
  mockLabel?: boolean | undefined;
326
327
  middleware?: (import("../../index.js").Middleware<PasswordFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<PasswordFieldProps>, "Component"> & {
327
328
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PasswordField/PasswordField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
1
+ {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PasswordField/PasswordField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { PasswordInputProps } from "#lib/subcomponent/PasswordInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { PasswordInputProps } from "../../subcomponent/PasswordInput/index.js";
3
3
  /** Props for the react-hook-form-bound Password field (presentational + binding). */
4
4
  export type PasswordFieldProps = InputProps<PasswordInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PasswordField/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAEnF,qFAAqF;AACrF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PasswordField/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,qFAAqF;AACrF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC"}
@@ -15,7 +15,7 @@ declare const _default: (props: {
15
15
  name: string;
16
16
  id?: string | undefined;
17
17
  mask?: boolean | undefined;
18
- value?: (string | import("#lib/subcomponent/PhoneInput/index.js").PhoneValue) | undefined;
18
+ value?: (string | import("../../subcomponent/PhoneInput/types.js").PhoneValue) | undefined;
19
19
  label?: string | undefined;
20
20
  style?: React.CSSProperties | undefined;
21
21
  className?: string | undefined;
@@ -25,12 +25,13 @@ declare const _default: (props: {
25
25
  "aria-errormessage"?: string | undefined;
26
26
  "aria-invalid"?: boolean | undefined;
27
27
  "aria-labelledby"?: string | undefined;
28
- onChange?: ((value: string | import("#lib/subcomponent/PhoneInput/index.js").PhoneValue) => void) | undefined;
28
+ onChange?: ((value: string | import("../../subcomponent/PhoneInput/types.js").PhoneValue) => void) | undefined;
29
29
  registerProps?: import("react-hook-form").RegisterOptions | undefined;
30
30
  isOptional?: boolean | undefined;
31
31
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
32
32
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
33
33
  unregisterOnUnmount?: boolean | undefined;
34
+ controlLabel?: string | undefined;
34
35
  mockLabel?: boolean | undefined;
35
36
  middleware?: (import("../../index.js").Middleware<PhoneFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<PhoneFieldProps>, "Component"> & {
36
37
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PhoneField/PhoneField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
1
+ {"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PhoneField/PhoneField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
@@ -1,4 +1,4 @@
1
- export type { PhoneValue } from "#lib/subcomponent/PhoneInput/index.js";
1
+ export type { PhoneValue } from "../../subcomponent/PhoneInput/index.js";
2
2
  export { default as PhoneField } from "./PhoneField.js";
3
3
  export type { PhoneFieldProps } from "./types.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PhoneField/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PhoneField/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { PhoneInputProps } from "#lib/subcomponent/PhoneInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { PhoneInputProps } from "../../subcomponent/PhoneInput/index.js";
3
3
  /** Props for the react-hook-form-bound Phone field. */
4
4
  export type PhoneFieldProps = InputProps<PhoneInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PhoneField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAE7E,uDAAuD;AACvD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PhoneField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAE9E,uDAAuD;AACvD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC,CAAC"}
@@ -329,6 +329,7 @@ declare const _default: (props: {
329
329
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
330
330
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
331
331
  unregisterOnUnmount?: boolean | undefined;
332
+ controlLabel?: string | undefined;
332
333
  mockLabel?: boolean | undefined;
333
334
  middleware?: (import("../../index.js").Middleware<RangeFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<RangeFieldProps>, "Component"> & {
334
335
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"RangeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RangeField/RangeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
1
+ {"version":3,"file":"RangeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RangeField/RangeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
@@ -1,4 +1,4 @@
1
- import type { InputProps } from "#lib/common/types.js";
1
+ import type { InputProps } from "../../common/types.js";
2
2
  import type { RangeControlProps } from "./common/index.js";
3
3
  /** Props for the react-hook-form-bound Range field (number + synced slider). */
4
4
  export type RangeFieldProps = InputProps<RangeControlProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RangeField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,gFAAgF;AAChF,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RangeField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,gFAAgF;AAChF,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,46 @@
1
+ import type { RatingFieldProps } from "./types.js";
2
+ /**
3
+ * RatingInput bound to react-hook-form (controlled), wrapped with the field
4
+ * chrome (label, description, error) and middleware/conditional-display support.
5
+ * The numeric rating is owned by the field.
6
+ *
7
+ * `import { RatingField } from "@canonical/react-ds-global-form";`
8
+ */
9
+ declare const _default: (props: {
10
+ name: string;
11
+ id?: string | undefined;
12
+ value?: number | undefined;
13
+ label?: string | undefined;
14
+ style?: React.CSSProperties | undefined;
15
+ className?: string | undefined;
16
+ disabled?: boolean | undefined;
17
+ description?: string | undefined;
18
+ defaultValue?: number | undefined;
19
+ "aria-describedby"?: string | undefined;
20
+ "aria-errormessage"?: string | undefined;
21
+ "aria-invalid"?: boolean | undefined;
22
+ "aria-label"?: string | undefined;
23
+ "aria-labelledby"?: string | undefined;
24
+ onChange?: ((value: number) => void) | undefined;
25
+ registerProps?: import("react-hook-form").RegisterOptions | undefined;
26
+ isOptional?: boolean | undefined;
27
+ requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
28
+ nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
29
+ unregisterOnUnmount?: boolean | undefined;
30
+ controlLabel?: string | undefined;
31
+ mockLabel?: boolean | undefined;
32
+ middleware?: (import("../../index.js").Middleware<RatingFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<RatingFieldProps>, "Component"> & {
33
+ condition?: import("../../index.js").Condition;
34
+ }>[]) | undefined;
35
+ WrapperComponent?: (import("react").ComponentType<import("../../index.js").WrapperProps<RatingFieldProps>> & import("react").ComponentType<import("../../index.js").WrapperProps<Omit<import("../../index.js").WrappedComponentProps<RatingFieldProps>, "Component"> & {
36
+ condition?: import("../../index.js").Condition;
37
+ }>>) | undefined;
38
+ condition?: import("../../index.js").Condition | undefined;
39
+ count?: import("../../subcomponent/RatingInput/types.js").RatingScale | undefined;
40
+ allowHalf?: boolean | undefined;
41
+ formatStarLabel?: ((value: number, count: number) => string) | undefined;
42
+ }) => import("react").ReactElement<Omit<import("../../index.js").WrappedComponentProps<RatingFieldProps>, "Component"> & {
43
+ condition?: import("../../index.js").Condition;
44
+ }, string | import("react").JSXElementConstructor<any>> | null;
45
+ export default _default;
46
+ //# sourceMappingURL=RatingField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RatingField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RatingField/RatingField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
@@ -0,0 +1,3 @@
1
+ export { default as RatingField } from "./RatingField.js";
2
+ export type { RatingFieldProps } from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RatingField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC1D,YAAY,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { RatingInputProps } from "../../subcomponent/RatingInput/index.js";
3
+ /**
4
+ * Props for the react-hook-form-bound Rating field (presentational + binding).
5
+ * The rating value is owned by the field; the presentational RatingInput reads
6
+ * it via `value`/`onChange`.
7
+ */
8
+ export type RatingFieldProps = InputProps<RatingInputProps>;
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RatingField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAEhF;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC"}
@@ -26,6 +26,7 @@ declare const _default: (props: {
26
26
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
27
27
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
28
28
  unregisterOnUnmount?: boolean | undefined;
29
+ controlLabel?: string | undefined;
29
30
  mockLabel?: boolean | undefined;
30
31
  middleware?: (import("../../index.js").Middleware<RichChoicesFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<RichChoicesFieldProps>, "Component"> & {
31
32
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"RichChoicesField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RichChoicesField/RichChoicesField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAGE"}
1
+ {"version":3,"file":"RichChoicesField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RichChoicesField/RichChoicesField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAGE"}
@@ -1,6 +1,6 @@
1
1
  import type React from "react";
2
- import type { InputProps } from "#lib/common/types.js";
3
- import type { BaseProps } from "#lib/subcomponent/types.js";
2
+ import type { InputProps } from "../../common/types.js";
3
+ import type { BaseProps } from "../../subcomponent/types.js";
4
4
  export type RichChoiceOption = {
5
5
  value: string;
6
6
  /** Freely-shaped label content (text, card, icon, etc.) */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RichChoicesField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IAEb,2CAA2C;IAC3C,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAE5B,yDAAyD;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAE1B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,iFAAiF;AACjF,MAAM,MAAM,4BAA4B,GAAG,SAAS,GAClD,0BAA0B,CAAC;AAE7B,6DAA6D;AAC7D,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,4BAA4B,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RichChoicesField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IAEb,2CAA2C;IAC3C,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAE5B,yDAAyD;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAE1B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,iFAAiF;AACjF,MAAM,MAAM,4BAA4B,GAAG,SAAS,GAClD,0BAA0B,CAAC;AAE7B,6DAA6D;AAC7D,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,4BAA4B,CAAC,CAAC"}
@@ -302,6 +302,7 @@ declare const _default: (props: {
302
302
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
303
303
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
304
304
  unregisterOnUnmount?: boolean | undefined;
305
+ controlLabel?: string | undefined;
305
306
  mockLabel?: boolean | undefined;
306
307
  middleware?: (import("../../index.js").Middleware<SelectFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<SelectFieldProps>, "Component"> & {
307
308
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SelectField/SelectField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
1
+ {"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SelectField/SelectField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { SelectInputProps } from "#lib/subcomponent/SelectInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { SelectInputProps } from "../../subcomponent/SelectInput/index.js";
3
3
  /** Props for the react-hook-form-bound Select field (presentational + binding). */
4
4
  export type SelectFieldProps = InputProps<SelectInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SelectField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,mFAAmF;AACnF,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SelectField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,mFAAmF;AACnF,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { SwitchInputProps } from "../../subcomponent/SwitchInput/index.js";
3
+ type SwitchInputFieldProps = InputProps<SwitchInputProps>;
4
+ /**
5
+ * SwitchInput bound to react-hook-form, wrapped with the toggle field chrome
6
+ * (inline label, optional heading, description, error) and
7
+ * middleware/conditional-display support. Requires at least one of
8
+ * `label`/`controlLabel`.
9
+ *
10
+ * `import { SwitchField } from "@canonical/react-ds-global-form";`
11
+ */
12
+ declare const _default: import("react").FC<Omit<import("../../common/types.js").WrapperProps<SwitchInputFieldProps>, "label" | "Component" | "controlLabel"> & import("../../common/types.js").ToggleLabelProps>;
13
+ export default _default;
14
+ //# sourceMappingURL=SwitchField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwitchField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SwitchField/SwitchField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAGhF,KAAK,qBAAqB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;AAE1D;;;;;;;GAOG;;AACH,wBAEE"}