@canonical/react-ds-global-form 0.29.0 → 0.30.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 (310) hide show
  1. package/dist/esm/lib/common/Wrapper/InvisibleWrapper.js +2 -0
  2. package/dist/esm/lib/common/Wrapper/InvisibleWrapper.js.map +1 -1
  3. package/dist/esm/lib/common/Wrapper/ToggleWrapper.css +35 -0
  4. package/dist/esm/lib/common/Wrapper/ToggleWrapper.js +52 -0
  5. package/dist/esm/lib/common/Wrapper/ToggleWrapper.js.map +1 -0
  6. package/dist/esm/lib/common/Wrapper/Wrapper.js +4 -2
  7. package/dist/esm/lib/common/Wrapper/Wrapper.js.map +1 -1
  8. package/dist/esm/lib/common/Wrapper/hooks/useFieldWrapper.js +1 -1
  9. package/dist/esm/lib/common/Wrapper/hooks/useFieldWrapper.js.map +1 -1
  10. package/dist/esm/lib/common/Wrapper/index.js +2 -0
  11. package/dist/esm/lib/common/Wrapper/index.js.map +1 -1
  12. package/dist/esm/lib/common/Wrapper/withToggleWrapper.js +14 -0
  13. package/dist/esm/lib/common/Wrapper/withToggleWrapper.js.map +1 -0
  14. package/dist/esm/lib/component/CheckboxField/CheckboxField.js +10 -6
  15. package/dist/esm/lib/component/CheckboxField/CheckboxField.js.map +1 -1
  16. package/dist/esm/lib/component/ChoicesField/Choices.js +2 -0
  17. package/dist/esm/lib/component/ChoicesField/Choices.js.map +1 -1
  18. package/dist/esm/lib/component/ChoicesField/ChoicesField.js +4 -2
  19. package/dist/esm/lib/component/ChoicesField/ChoicesField.js.map +1 -1
  20. package/dist/esm/lib/component/ChoicesField/common/Option/Option.js +1 -1
  21. package/dist/esm/lib/component/ChoicesField/common/Option/Option.js.map +1 -1
  22. package/dist/esm/lib/component/ColorField/ColorField.js +3 -3
  23. package/dist/esm/lib/component/ColorField/ColorField.js.map +1 -1
  24. package/dist/esm/lib/component/ComboboxField/ComboboxField.js +5 -3
  25. package/dist/esm/lib/component/ComboboxField/ComboboxField.js.map +1 -1
  26. package/dist/esm/lib/component/DateField/DateField.js +5 -3
  27. package/dist/esm/lib/component/DateField/DateField.js.map +1 -1
  28. package/dist/esm/lib/component/DateTimeField/DateTimeField.js +5 -3
  29. package/dist/esm/lib/component/DateTimeField/DateTimeField.js.map +1 -1
  30. package/dist/esm/lib/component/FileUploadField/FileUploadField.js +5 -3
  31. package/dist/esm/lib/component/FileUploadField/FileUploadField.js.map +1 -1
  32. package/dist/esm/lib/component/HiddenField/HiddenField.js +5 -3
  33. package/dist/esm/lib/component/HiddenField/HiddenField.js.map +1 -1
  34. package/dist/esm/lib/component/NumberField/NumberField.js +5 -3
  35. package/dist/esm/lib/component/NumberField/NumberField.js.map +1 -1
  36. package/dist/esm/lib/component/PasswordField/PasswordField.js +5 -3
  37. package/dist/esm/lib/component/PasswordField/PasswordField.js.map +1 -1
  38. package/dist/esm/lib/component/PhoneField/PhoneField.js +5 -3
  39. package/dist/esm/lib/component/PhoneField/PhoneField.js.map +1 -1
  40. package/dist/esm/lib/component/RangeField/RangeField.js +4 -2
  41. package/dist/esm/lib/component/RangeField/RangeField.js.map +1 -1
  42. package/dist/esm/lib/component/RangeField/common/RangeControl/RangeControl.js +3 -1
  43. package/dist/esm/lib/component/RangeField/common/RangeControl/RangeControl.js.map +1 -1
  44. package/dist/esm/lib/component/RatingField/RatingField.js +12 -0
  45. package/dist/esm/lib/component/RatingField/RatingField.js.map +1 -0
  46. package/dist/esm/lib/component/RatingField/index.js +2 -0
  47. package/dist/esm/lib/component/RatingField/index.js.map +1 -0
  48. package/dist/esm/lib/component/RatingField/types.js +2 -0
  49. package/dist/esm/lib/component/RatingField/types.js.map +1 -0
  50. package/dist/esm/lib/component/RichChoicesField/RichChoices.js +2 -0
  51. package/dist/esm/lib/component/RichChoicesField/RichChoices.js.map +1 -1
  52. package/dist/esm/lib/component/RichChoicesField/RichChoicesField.js +4 -2
  53. package/dist/esm/lib/component/RichChoicesField/RichChoicesField.js.map +1 -1
  54. package/dist/esm/lib/component/RichChoicesField/common/Option/Option.js +1 -1
  55. package/dist/esm/lib/component/RichChoicesField/common/Option/Option.js.map +1 -1
  56. package/dist/esm/lib/component/RichChoicesField/styles.css +6 -0
  57. package/dist/esm/lib/component/SelectField/SelectField.js +5 -3
  58. package/dist/esm/lib/component/SelectField/SelectField.js.map +1 -1
  59. package/dist/esm/lib/component/SwitchField/SwitchField.js +13 -0
  60. package/dist/esm/lib/component/SwitchField/SwitchField.js.map +1 -0
  61. package/dist/esm/lib/component/SwitchField/index.js +2 -0
  62. package/dist/esm/lib/component/SwitchField/index.js.map +1 -0
  63. package/dist/esm/lib/component/SwitchField/types.js +2 -0
  64. package/dist/esm/lib/component/SwitchField/types.js.map +1 -0
  65. package/dist/esm/lib/component/TextField/TextField.js +5 -3
  66. package/dist/esm/lib/component/TextField/TextField.js.map +1 -1
  67. package/dist/esm/lib/component/TextareaField/TextareaField.js +5 -3
  68. package/dist/esm/lib/component/TextareaField/TextareaField.js.map +1 -1
  69. package/dist/esm/lib/component/TimeField/TimeField.js +5 -3
  70. package/dist/esm/lib/component/TimeField/TimeField.js.map +1 -1
  71. package/dist/esm/lib/component/index.js +2 -0
  72. package/dist/esm/lib/component/index.js.map +1 -1
  73. package/dist/esm/lib/index.js +2 -1
  74. package/dist/esm/lib/index.js.map +1 -1
  75. package/dist/esm/lib/pattern/Field/Field.js +25 -17
  76. package/dist/esm/lib/pattern/Field/Field.js.map +1 -1
  77. package/dist/esm/lib/pattern/Form/Form.js +2 -0
  78. package/dist/esm/lib/pattern/Form/Form.js.map +1 -1
  79. package/dist/esm/lib/subcomponent/CheckboxInput/CheckboxInput.js +2 -0
  80. package/dist/esm/lib/subcomponent/CheckboxInput/CheckboxInput.js.map +1 -1
  81. package/dist/esm/lib/subcomponent/ComboboxInput/ComboboxInput.js +2 -0
  82. package/dist/esm/lib/subcomponent/ComboboxInput/ComboboxInput.js.map +1 -1
  83. package/dist/esm/lib/subcomponent/ComboboxInput/MultipleCombobox.js +16 -8
  84. package/dist/esm/lib/subcomponent/ComboboxInput/MultipleCombobox.js.map +1 -1
  85. package/dist/esm/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.js +2 -0
  86. package/dist/esm/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.js.map +1 -1
  87. package/dist/esm/lib/subcomponent/DateInput/DateInput.js +2 -0
  88. package/dist/esm/lib/subcomponent/DateInput/DateInput.js.map +1 -1
  89. package/dist/esm/lib/subcomponent/DateTimeInput/DateTimeInput.js +2 -0
  90. package/dist/esm/lib/subcomponent/DateTimeInput/DateTimeInput.js.map +1 -1
  91. package/dist/esm/lib/subcomponent/Field/Description/Description.js +2 -0
  92. package/dist/esm/lib/subcomponent/Field/Description/Description.js.map +1 -1
  93. package/dist/esm/lib/subcomponent/Field/Error/Error.js +2 -0
  94. package/dist/esm/lib/subcomponent/Field/Error/Error.js.map +1 -1
  95. package/dist/esm/lib/subcomponent/Field/Label/Label.js +2 -0
  96. package/dist/esm/lib/subcomponent/Field/Label/Label.js.map +1 -1
  97. package/dist/esm/lib/subcomponent/FileUploadInput/FileUploadInput.js +2 -0
  98. package/dist/esm/lib/subcomponent/FileUploadInput/FileUploadInput.js.map +1 -1
  99. package/dist/esm/lib/subcomponent/FileUploadInput/styles.css +3 -0
  100. package/dist/esm/lib/subcomponent/HiddenInput/HiddenInput.js +2 -0
  101. package/dist/esm/lib/subcomponent/HiddenInput/HiddenInput.js.map +1 -1
  102. package/dist/esm/lib/subcomponent/NumberInput/NumberInput.js +2 -0
  103. package/dist/esm/lib/subcomponent/NumberInput/NumberInput.js.map +1 -1
  104. package/dist/esm/lib/subcomponent/PasswordInput/PasswordInput.js +2 -0
  105. package/dist/esm/lib/subcomponent/PasswordInput/PasswordInput.js.map +1 -1
  106. package/dist/esm/lib/subcomponent/PhoneInput/PhoneInput.js +3 -1
  107. package/dist/esm/lib/subcomponent/PhoneInput/PhoneInput.js.map +1 -1
  108. package/dist/esm/lib/subcomponent/RadioInput/RadioInput.js +2 -0
  109. package/dist/esm/lib/subcomponent/RadioInput/RadioInput.js.map +1 -1
  110. package/dist/esm/lib/subcomponent/RangeInput/RangeInput.js +2 -0
  111. package/dist/esm/lib/subcomponent/RangeInput/RangeInput.js.map +1 -1
  112. package/dist/esm/lib/subcomponent/RatingInput/RatingInput.js +48 -0
  113. package/dist/esm/lib/subcomponent/RatingInput/RatingInput.js.map +1 -0
  114. package/dist/esm/lib/subcomponent/RatingInput/index.js +2 -0
  115. package/dist/esm/lib/subcomponent/RatingInput/index.js.map +1 -0
  116. package/dist/esm/lib/subcomponent/RatingInput/styles.css +159 -0
  117. package/dist/esm/lib/subcomponent/RatingInput/types.js +2 -0
  118. package/dist/esm/lib/subcomponent/RatingInput/types.js.map +1 -0
  119. package/dist/esm/lib/subcomponent/SelectInput/SelectInput.js +2 -0
  120. package/dist/esm/lib/subcomponent/SelectInput/SelectInput.js.map +1 -1
  121. package/dist/esm/lib/subcomponent/SwitchInput/SwitchInput.js +26 -0
  122. package/dist/esm/lib/subcomponent/SwitchInput/SwitchInput.js.map +1 -0
  123. package/dist/esm/lib/subcomponent/SwitchInput/index.js +2 -0
  124. package/dist/esm/lib/subcomponent/SwitchInput/index.js.map +1 -0
  125. package/dist/esm/lib/subcomponent/SwitchInput/styles.css +88 -0
  126. package/dist/esm/lib/subcomponent/SwitchInput/types.js +2 -0
  127. package/dist/esm/lib/subcomponent/SwitchInput/types.js.map +1 -0
  128. package/dist/esm/lib/subcomponent/TextInput/TextInput.js +2 -0
  129. package/dist/esm/lib/subcomponent/TextInput/TextInput.js.map +1 -1
  130. package/dist/esm/lib/subcomponent/TextareaInput/TextareaInput.js +2 -0
  131. package/dist/esm/lib/subcomponent/TextareaInput/TextareaInput.js.map +1 -1
  132. package/dist/esm/lib/subcomponent/TimeInput/TimeInput.js +2 -0
  133. package/dist/esm/lib/subcomponent/TimeInput/TimeInput.js.map +1 -1
  134. package/dist/esm/lib/subcomponent/index.js +2 -0
  135. package/dist/esm/lib/subcomponent/index.js.map +1 -1
  136. package/dist/types/lib/common/Wrapper/InvisibleWrapper.d.ts +2 -0
  137. package/dist/types/lib/common/Wrapper/InvisibleWrapper.d.ts.map +1 -1
  138. package/dist/types/lib/common/Wrapper/ToggleWrapper.d.ts +24 -0
  139. package/dist/types/lib/common/Wrapper/ToggleWrapper.d.ts.map +1 -0
  140. package/dist/types/lib/common/Wrapper/Wrapper.d.ts +2 -0
  141. package/dist/types/lib/common/Wrapper/Wrapper.d.ts.map +1 -1
  142. package/dist/types/lib/common/Wrapper/index.d.ts +2 -0
  143. package/dist/types/lib/common/Wrapper/index.d.ts.map +1 -1
  144. package/dist/types/lib/common/Wrapper/withToggleWrapper.d.ts +20 -0
  145. package/dist/types/lib/common/Wrapper/withToggleWrapper.d.ts.map +1 -0
  146. package/dist/types/lib/common/Wrapper/withWrapper.d.ts +1 -1
  147. package/dist/types/lib/common/Wrapper/withWrapper.d.ts.map +1 -1
  148. package/dist/types/lib/common/types.d.ts +24 -2
  149. package/dist/types/lib/common/types.d.ts.map +1 -1
  150. package/dist/types/lib/component/CheckboxField/CheckboxField.d.ts +10 -332
  151. package/dist/types/lib/component/CheckboxField/CheckboxField.d.ts.map +1 -1
  152. package/dist/types/lib/component/CheckboxField/types.d.ts +7 -4
  153. package/dist/types/lib/component/CheckboxField/types.d.ts.map +1 -1
  154. package/dist/types/lib/component/ChoicesField/Choices.d.ts +2 -0
  155. package/dist/types/lib/component/ChoicesField/Choices.d.ts.map +1 -1
  156. package/dist/types/lib/component/ChoicesField/ChoicesField.d.ts +3 -0
  157. package/dist/types/lib/component/ChoicesField/ChoicesField.d.ts.map +1 -1
  158. package/dist/types/lib/component/ChoicesField/common/Option/types.d.ts +1 -1
  159. package/dist/types/lib/component/ChoicesField/common/Option/types.d.ts.map +1 -1
  160. package/dist/types/lib/component/ChoicesField/types.d.ts +2 -2
  161. package/dist/types/lib/component/ChoicesField/types.d.ts.map +1 -1
  162. package/dist/types/lib/component/ColorField/ColorField.d.ts +2 -1
  163. package/dist/types/lib/component/ColorField/ColorField.d.ts.map +1 -1
  164. package/dist/types/lib/component/ColorField/types.d.ts +2 -2
  165. package/dist/types/lib/component/ColorField/types.d.ts.map +1 -1
  166. package/dist/types/lib/component/ComboboxField/ComboboxField.d.ts +3 -0
  167. package/dist/types/lib/component/ComboboxField/ComboboxField.d.ts.map +1 -1
  168. package/dist/types/lib/component/ComboboxField/types.d.ts +2 -2
  169. package/dist/types/lib/component/ComboboxField/types.d.ts.map +1 -1
  170. package/dist/types/lib/component/DateField/DateField.d.ts +3 -0
  171. package/dist/types/lib/component/DateField/DateField.d.ts.map +1 -1
  172. package/dist/types/lib/component/DateField/types.d.ts +2 -2
  173. package/dist/types/lib/component/DateField/types.d.ts.map +1 -1
  174. package/dist/types/lib/component/DateTimeField/DateTimeField.d.ts +3 -0
  175. package/dist/types/lib/component/DateTimeField/DateTimeField.d.ts.map +1 -1
  176. package/dist/types/lib/component/DateTimeField/types.d.ts +2 -2
  177. package/dist/types/lib/component/DateTimeField/types.d.ts.map +1 -1
  178. package/dist/types/lib/component/FileUploadField/FileUploadField.d.ts +3 -0
  179. package/dist/types/lib/component/FileUploadField/FileUploadField.d.ts.map +1 -1
  180. package/dist/types/lib/component/FileUploadField/types.d.ts +2 -2
  181. package/dist/types/lib/component/FileUploadField/types.d.ts.map +1 -1
  182. package/dist/types/lib/component/HiddenField/HiddenField.d.ts +3 -0
  183. package/dist/types/lib/component/HiddenField/HiddenField.d.ts.map +1 -1
  184. package/dist/types/lib/component/HiddenField/types.d.ts +2 -2
  185. package/dist/types/lib/component/HiddenField/types.d.ts.map +1 -1
  186. package/dist/types/lib/component/NumberField/NumberField.d.ts +3 -0
  187. package/dist/types/lib/component/NumberField/NumberField.d.ts.map +1 -1
  188. package/dist/types/lib/component/NumberField/types.d.ts +2 -2
  189. package/dist/types/lib/component/NumberField/types.d.ts.map +1 -1
  190. package/dist/types/lib/component/PasswordField/PasswordField.d.ts +3 -0
  191. package/dist/types/lib/component/PasswordField/PasswordField.d.ts.map +1 -1
  192. package/dist/types/lib/component/PasswordField/types.d.ts +2 -2
  193. package/dist/types/lib/component/PasswordField/types.d.ts.map +1 -1
  194. package/dist/types/lib/component/PhoneField/PhoneField.d.ts +5 -2
  195. package/dist/types/lib/component/PhoneField/PhoneField.d.ts.map +1 -1
  196. package/dist/types/lib/component/PhoneField/index.d.ts +1 -1
  197. package/dist/types/lib/component/PhoneField/index.d.ts.map +1 -1
  198. package/dist/types/lib/component/PhoneField/types.d.ts +2 -2
  199. package/dist/types/lib/component/PhoneField/types.d.ts.map +1 -1
  200. package/dist/types/lib/component/RangeField/RangeField.d.ts +3 -0
  201. package/dist/types/lib/component/RangeField/RangeField.d.ts.map +1 -1
  202. package/dist/types/lib/component/RangeField/common/RangeControl/RangeControl.d.ts +2 -0
  203. package/dist/types/lib/component/RangeField/common/RangeControl/RangeControl.d.ts.map +1 -1
  204. package/dist/types/lib/component/RangeField/types.d.ts +1 -1
  205. package/dist/types/lib/component/RangeField/types.d.ts.map +1 -1
  206. package/dist/types/lib/component/RatingField/RatingField.d.ts +46 -0
  207. package/dist/types/lib/component/RatingField/RatingField.d.ts.map +1 -0
  208. package/dist/types/lib/component/RatingField/index.d.ts +3 -0
  209. package/dist/types/lib/component/RatingField/index.d.ts.map +1 -0
  210. package/dist/types/lib/component/RatingField/types.d.ts +9 -0
  211. package/dist/types/lib/component/RatingField/types.d.ts.map +1 -0
  212. package/dist/types/lib/component/RichChoicesField/RichChoices.d.ts +2 -0
  213. package/dist/types/lib/component/RichChoicesField/RichChoices.d.ts.map +1 -1
  214. package/dist/types/lib/component/RichChoicesField/RichChoicesField.d.ts +3 -0
  215. package/dist/types/lib/component/RichChoicesField/RichChoicesField.d.ts.map +1 -1
  216. package/dist/types/lib/component/RichChoicesField/types.d.ts +2 -2
  217. package/dist/types/lib/component/RichChoicesField/types.d.ts.map +1 -1
  218. package/dist/types/lib/component/SelectField/SelectField.d.ts +3 -0
  219. package/dist/types/lib/component/SelectField/SelectField.d.ts.map +1 -1
  220. package/dist/types/lib/component/SelectField/types.d.ts +2 -2
  221. package/dist/types/lib/component/SelectField/types.d.ts.map +1 -1
  222. package/dist/types/lib/component/SwitchField/SwitchField.d.ts +14 -0
  223. package/dist/types/lib/component/SwitchField/SwitchField.d.ts.map +1 -0
  224. package/dist/types/lib/component/SwitchField/index.d.ts +3 -0
  225. package/dist/types/lib/component/SwitchField/index.d.ts.map +1 -0
  226. package/dist/types/lib/component/SwitchField/types.d.ts +8 -0
  227. package/dist/types/lib/component/SwitchField/types.d.ts.map +1 -0
  228. package/dist/types/lib/component/TextField/TextField.d.ts +4 -1
  229. package/dist/types/lib/component/TextField/TextField.d.ts.map +1 -1
  230. package/dist/types/lib/component/TextField/types.d.ts +2 -2
  231. package/dist/types/lib/component/TextField/types.d.ts.map +1 -1
  232. package/dist/types/lib/component/TextareaField/TextareaField.d.ts +3 -0
  233. package/dist/types/lib/component/TextareaField/TextareaField.d.ts.map +1 -1
  234. package/dist/types/lib/component/TextareaField/types.d.ts +2 -2
  235. package/dist/types/lib/component/TextareaField/types.d.ts.map +1 -1
  236. package/dist/types/lib/component/TimeField/TimeField.d.ts +3 -0
  237. package/dist/types/lib/component/TimeField/TimeField.d.ts.map +1 -1
  238. package/dist/types/lib/component/TimeField/types.d.ts +2 -2
  239. package/dist/types/lib/component/TimeField/types.d.ts.map +1 -1
  240. package/dist/types/lib/component/index.d.ts +2 -0
  241. package/dist/types/lib/component/index.d.ts.map +1 -1
  242. package/dist/types/lib/index.d.ts +2 -0
  243. package/dist/types/lib/index.d.ts.map +1 -1
  244. package/dist/types/lib/pattern/Field/Field.d.ts +2 -0
  245. package/dist/types/lib/pattern/Field/Field.d.ts.map +1 -1
  246. package/dist/types/lib/pattern/Field/types.d.ts +27 -21
  247. package/dist/types/lib/pattern/Field/types.d.ts.map +1 -1
  248. package/dist/types/lib/pattern/Form/Form.d.ts +2 -0
  249. package/dist/types/lib/pattern/Form/Form.d.ts.map +1 -1
  250. package/dist/types/lib/subcomponent/CheckboxInput/CheckboxInput.d.ts +2 -0
  251. package/dist/types/lib/subcomponent/CheckboxInput/CheckboxInput.d.ts.map +1 -1
  252. package/dist/types/lib/subcomponent/ComboboxInput/ComboboxInput.d.ts +2 -0
  253. package/dist/types/lib/subcomponent/ComboboxInput/ComboboxInput.d.ts.map +1 -1
  254. package/dist/types/lib/subcomponent/ComboboxInput/MultipleCombobox.d.ts +2 -0
  255. package/dist/types/lib/subcomponent/ComboboxInput/MultipleCombobox.d.ts.map +1 -1
  256. package/dist/types/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.d.ts +2 -0
  257. package/dist/types/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.d.ts.map +1 -1
  258. package/dist/types/lib/subcomponent/DateInput/DateInput.d.ts +2 -0
  259. package/dist/types/lib/subcomponent/DateInput/DateInput.d.ts.map +1 -1
  260. package/dist/types/lib/subcomponent/DateTimeInput/DateTimeInput.d.ts +2 -0
  261. package/dist/types/lib/subcomponent/DateTimeInput/DateTimeInput.d.ts.map +1 -1
  262. package/dist/types/lib/subcomponent/Field/Description/Description.d.ts +2 -0
  263. package/dist/types/lib/subcomponent/Field/Description/Description.d.ts.map +1 -1
  264. package/dist/types/lib/subcomponent/Field/Error/Error.d.ts +2 -0
  265. package/dist/types/lib/subcomponent/Field/Error/Error.d.ts.map +1 -1
  266. package/dist/types/lib/subcomponent/Field/Label/Label.d.ts +2 -0
  267. package/dist/types/lib/subcomponent/Field/Label/Label.d.ts.map +1 -1
  268. package/dist/types/lib/subcomponent/FileUploadInput/FileUploadInput.d.ts +2 -0
  269. package/dist/types/lib/subcomponent/FileUploadInput/FileUploadInput.d.ts.map +1 -1
  270. package/dist/types/lib/subcomponent/HiddenInput/HiddenInput.d.ts +2 -0
  271. package/dist/types/lib/subcomponent/HiddenInput/HiddenInput.d.ts.map +1 -1
  272. package/dist/types/lib/subcomponent/NumberInput/NumberInput.d.ts +2 -0
  273. package/dist/types/lib/subcomponent/NumberInput/NumberInput.d.ts.map +1 -1
  274. package/dist/types/lib/subcomponent/PasswordInput/PasswordInput.d.ts +2 -0
  275. package/dist/types/lib/subcomponent/PasswordInput/PasswordInput.d.ts.map +1 -1
  276. package/dist/types/lib/subcomponent/PhoneInput/PhoneInput.d.ts +2 -0
  277. package/dist/types/lib/subcomponent/PhoneInput/PhoneInput.d.ts.map +1 -1
  278. package/dist/types/lib/subcomponent/PhoneInput/types.d.ts +2 -2
  279. package/dist/types/lib/subcomponent/PhoneInput/types.d.ts.map +1 -1
  280. package/dist/types/lib/subcomponent/RadioInput/RadioInput.d.ts +2 -0
  281. package/dist/types/lib/subcomponent/RadioInput/RadioInput.d.ts.map +1 -1
  282. package/dist/types/lib/subcomponent/RangeInput/RangeInput.d.ts +2 -0
  283. package/dist/types/lib/subcomponent/RangeInput/RangeInput.d.ts.map +1 -1
  284. package/dist/types/lib/subcomponent/RatingInput/RatingInput.d.ts +23 -0
  285. package/dist/types/lib/subcomponent/RatingInput/RatingInput.d.ts.map +1 -0
  286. package/dist/types/lib/subcomponent/RatingInput/index.d.ts +3 -0
  287. package/dist/types/lib/subcomponent/RatingInput/index.d.ts.map +1 -0
  288. package/dist/types/lib/subcomponent/RatingInput/types.d.ts +52 -0
  289. package/dist/types/lib/subcomponent/RatingInput/types.d.ts.map +1 -0
  290. package/dist/types/lib/subcomponent/SelectInput/SelectInput.d.ts +2 -0
  291. package/dist/types/lib/subcomponent/SelectInput/SelectInput.d.ts.map +1 -1
  292. package/dist/types/lib/subcomponent/SwitchInput/SwitchInput.d.ts +16 -0
  293. package/dist/types/lib/subcomponent/SwitchInput/SwitchInput.d.ts.map +1 -0
  294. package/dist/types/lib/subcomponent/SwitchInput/index.d.ts +3 -0
  295. package/dist/types/lib/subcomponent/SwitchInput/index.d.ts.map +1 -0
  296. package/dist/types/lib/subcomponent/SwitchInput/types.d.ts +8 -0
  297. package/dist/types/lib/subcomponent/SwitchInput/types.d.ts.map +1 -0
  298. package/dist/types/lib/subcomponent/TextInput/TextInput.d.ts +2 -0
  299. package/dist/types/lib/subcomponent/TextInput/TextInput.d.ts.map +1 -1
  300. package/dist/types/lib/subcomponent/TextareaInput/TextareaInput.d.ts +2 -0
  301. package/dist/types/lib/subcomponent/TextareaInput/TextareaInput.d.ts.map +1 -1
  302. package/dist/types/lib/subcomponent/TimeInput/TimeInput.d.ts +2 -0
  303. package/dist/types/lib/subcomponent/TimeInput/TimeInput.d.ts.map +1 -1
  304. package/dist/types/lib/subcomponent/index.d.ts +4 -0
  305. package/dist/types/lib/subcomponent/index.d.ts.map +1 -1
  306. package/dist/types/lib/utils/middleware/addRESTOptions.d.ts +2 -2
  307. package/dist/types/lib/utils/middleware/addRESTOptions.d.ts.map +1 -1
  308. package/dist/types/lib/utils/middleware/addRESTValidation.d.ts +1 -1
  309. package/dist/types/lib/utils/middleware/addRESTValidation.d.ts.map +1 -1
  310. package/package.json +14 -20
@@ -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,CAA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AA0B,CAAC;AAE7B,6DAA6D;AAC7D,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,4BAA4B,CAAC,CAAC"}
@@ -2,6 +2,8 @@ import type { SelectFieldProps } from "./types.js";
2
2
  /**
3
3
  * SelectInput bound to react-hook-form, wrapped with field chrome
4
4
  * (label, description, error) and middleware/conditional-display support.
5
+ *
6
+ * `import { SelectField } from "@canonical/react-ds-global-form";`
5
7
  */
6
8
  declare const _default: (props: {
7
9
  name: string;
@@ -300,6 +302,7 @@ declare const _default: (props: {
300
302
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
301
303
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
302
304
  unregisterOnUnmount?: boolean | undefined;
305
+ controlLabel?: string | undefined;
303
306
  mockLabel?: boolean | undefined;
304
307
  middleware?: (import("../../index.js").Middleware<SelectFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<SelectFieldProps>, "Component"> & {
305
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;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -0,0 +1,3 @@
1
+ export { default as SwitchField } from "./SwitchField.js";
2
+ export type { SwitchFieldProps } from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SwitchField/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,8 @@
1
+ import type { ToggleFieldProps } from "../../common/types.js";
2
+ import type { SwitchInputProps } from "../../subcomponent/SwitchInput/index.js";
3
+ /**
4
+ * Props for the react-hook-form-bound Switch field (presentational + binding).
5
+ * A toggle field: requires at least one of `label`/`controlLabel`.
6
+ */
7
+ export type SwitchFieldProps = ToggleFieldProps<SwitchInputProps>;
8
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SwitchField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAEhF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,CAAC"}
@@ -2,13 +2,15 @@ import type { TextFieldProps } from "./types.js";
2
2
  /**
3
3
  * TextInput bound to react-hook-form, wrapped with field chrome
4
4
  * (label, description, error) and middleware/conditional-display support.
5
+ *
6
+ * `import { TextField } from "@canonical/react-ds-global-form";`
5
7
  */
6
8
  declare const _default: (props: {
7
9
  name: string;
8
10
  max?: number | string | undefined | undefined;
9
11
  required?: boolean | undefined | undefined;
10
12
  type?: import("react").HTMLInputTypeAttribute | undefined;
11
- inputType?: import("#lib/subcomponent/TextInput/index.js").TextInputType | undefined;
13
+ inputType?: import("../../subcomponent/TextInput/types.js").TextInputType | undefined;
12
14
  id?: string | undefined;
13
15
  height?: number | string | undefined | undefined;
14
16
  width?: number | string | undefined | undefined;
@@ -322,6 +324,7 @@ declare const _default: (props: {
322
324
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
323
325
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
324
326
  unregisterOnUnmount?: boolean | undefined;
327
+ controlLabel?: string | undefined;
325
328
  mockLabel?: boolean | undefined;
326
329
  middleware?: (import("../../index.js").Middleware<TextFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<TextFieldProps>, "Component"> & {
327
330
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextField/TextField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextField/TextField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { TextInputProps } from "#lib/subcomponent/TextInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { TextInputProps } from "../../subcomponent/TextInput/index.js";
3
3
  /** Props for the react-hook-form-bound Text field (presentational + binding). */
4
4
  export type TextFieldProps = InputProps<TextInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextField/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/TextField/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"}
@@ -2,6 +2,8 @@ import type { TextareaFieldProps } from "./types.js";
2
2
  /**
3
3
  * TextareaInput bound to react-hook-form, wrapped with field chrome
4
4
  * (label, description, error) and middleware/conditional-display support.
5
+ *
6
+ * `import { TextareaField } from "@canonical/react-ds-global-form";`
5
7
  */
6
8
  declare const _default: (props: {
7
9
  name: string;
@@ -305,6 +307,7 @@ declare const _default: (props: {
305
307
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
306
308
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
307
309
  unregisterOnUnmount?: boolean | undefined;
310
+ controlLabel?: string | undefined;
308
311
  mockLabel?: boolean | undefined;
309
312
  middleware?: (import("../../index.js").Middleware<TextareaFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<TextareaFieldProps>, "Component"> & {
310
313
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"TextareaField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextareaField/TextareaField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
1
+ {"version":3,"file":"TextareaField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextareaField/TextareaField.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 { TextareaInputProps } from "#lib/subcomponent/TextareaInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { TextareaInputProps } from "../../subcomponent/TextareaInput/index.js";
3
3
  /** Props for the react-hook-form-bound Textarea field (presentational + binding). */
4
4
  export type TextareaFieldProps = InputProps<TextareaInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextareaField/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/TextareaField/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"}
@@ -2,6 +2,8 @@ import type { TimeFieldProps } from "./types.js";
2
2
  /**
3
3
  * Time input bound to react-hook-form, wrapped with field chrome
4
4
  * (label, description, error) and middleware/conditional-display support.
5
+ *
6
+ * `import { TimeField } from "@canonical/react-ds-global-form";`
5
7
  */
6
8
  declare const _default: (props: {
7
9
  name: string;
@@ -321,6 +323,7 @@ declare const _default: (props: {
321
323
  requiredIndicator?: import("../../subcomponent/index.js").RequiredIndicator | undefined;
322
324
  nestedRegisterProps?: import("react-hook-form").RegisterOptions | undefined;
323
325
  unregisterOnUnmount?: boolean | undefined;
326
+ controlLabel?: string | undefined;
324
327
  mockLabel?: boolean | undefined;
325
328
  middleware?: (import("../../index.js").Middleware<TimeFieldProps>[] & import("../../index.js").Middleware<Omit<import("../../index.js").WrappedComponentProps<TimeFieldProps>, "Component"> & {
326
329
  condition?: import("../../index.js").Condition;
@@ -1 +1 @@
1
- {"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TimeField/TimeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
1
+ {"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TimeField/TimeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
@@ -1,5 +1,5 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { TimeInputProps } from "#lib/subcomponent/TimeInput/index.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { TimeInputProps } from "../../subcomponent/TimeInput/index.js";
3
3
  /** Props for the react-hook-form-bound time field (presentational + binding). */
4
4
  export type TimeFieldProps = InputProps<TimeInputProps>;
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TimeField/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/TimeField/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"}
@@ -10,8 +10,10 @@ export * from "./NumberField/index.js";
10
10
  export * from "./PasswordField/index.js";
11
11
  export * from "./PhoneField/index.js";
12
12
  export * from "./RangeField/index.js";
13
+ export * from "./RatingField/index.js";
13
14
  export * from "./RichChoicesField/index.js";
14
15
  export * from "./SelectField/index.js";
16
+ export * from "./SwitchField/index.js";
15
17
  export * from "./TextareaField/index.js";
16
18
  export * from "./TextField/index.js";
17
19
  export * from "./TimeField/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/component/index.ts"],"names":[],"mappings":"AAEA,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/component/index.ts"],"names":[],"mappings":"AAEA,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
@@ -1,3 +1,5 @@
1
1
  export * from "./pattern/index.js";
2
+ export type { RatingInputProps, RatingScale, } from "./subcomponent/index.js";
3
+ export { RatingInput } from "./subcomponent/index.js";
2
4
  export * from "./utils/middleware/index.js";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AAMnC,YAAY,EACV,gBAAgB,EAChB,WAAW,GACZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,cAAc,6BAA6B,CAAC"}
@@ -3,6 +3,8 @@ import type { FieldProps } from "./types.js";
3
3
  /**
4
4
  * description of the Field component
5
5
  * @returns {React.ReactElement} - Rendered Field
6
+ *
7
+ * `import { Field } from "@canonical/react-ds-global-form";`
6
8
  */
7
9
  declare const Field: ({ inputType, CustomComponent, ...props }: FieldProps) => React.ReactElement;
8
10
  export default Field;
@@ -1 +1 @@
1
- {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../src/lib/pattern/Field/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;GAGG;AACH,QAAA,MAAM,KAAK,GAAI,0CAIZ,UAAU,KAAG,KAAK,CAAC,YA4CrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../src/lib/pattern/Field/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,QAAA,MAAM,KAAK,GAAI,0CAIZ,UAAU,KAAG,KAAK,CAAC,YAgDrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,24 +1,26 @@
1
- import type { InputProps } from "#lib/common/types.js";
2
- import type { CheckboxFieldProps } from "#lib/component/CheckboxField/index.js";
3
- import type { ChoicesFieldProps } from "#lib/component/ChoicesField/index.js";
4
- import type { ColorFieldProps } from "#lib/component/ColorField/index.js";
5
- import type { ComboboxFieldProps } from "#lib/component/ComboboxField/index.js";
6
- import type { DateFieldProps } from "#lib/component/DateField/index.js";
7
- import type { DateTimeFieldProps } from "#lib/component/DateTimeField/index.js";
8
- import type { FileUploadFieldProps } from "#lib/component/FileUploadField/index.js";
9
- import type { HiddenFieldProps } from "#lib/component/HiddenField/index.js";
10
- import type { NumberFieldProps } from "#lib/component/NumberField/index.js";
11
- import type { PasswordFieldProps } from "#lib/component/PasswordField/index.js";
12
- import type { PhoneFieldProps } from "#lib/component/PhoneField/index.js";
13
- import type { RangeFieldProps } from "#lib/component/RangeField/index.js";
14
- import type { RichChoicesFieldProps } from "#lib/component/RichChoicesField/index.js";
15
- import type { SelectFieldProps } from "#lib/component/SelectField/index.js";
16
- import type { TextareaFieldProps } from "#lib/component/TextareaField/index.js";
17
- import type { TextFieldProps } from "#lib/component/TextField/index.js";
18
- import type { TimeFieldProps } from "#lib/component/TimeField/index.js";
19
- import type { NativeInputType } from "#lib/subcomponent/types.js";
20
- export type { BaseInputProps, BaseWrapperProps, Condition, InputProps, Middleware, WrappedComponentProps, WrapperHOCAdditionalProps, WrapperProps, } from "#lib/common/types.js";
21
- export type { BaseProps, NativeInputType, Option, OptionsProps, } from "#lib/subcomponent/types.js";
1
+ import type { InputProps } from "../../common/types.js";
2
+ import type { CheckboxFieldProps } from "../../component/CheckboxField/index.js";
3
+ import type { ChoicesFieldProps } from "../../component/ChoicesField/index.js";
4
+ import type { ColorFieldProps } from "../../component/ColorField/index.js";
5
+ import type { ComboboxFieldProps } from "../../component/ComboboxField/index.js";
6
+ import type { DateFieldProps } from "../../component/DateField/index.js";
7
+ import type { DateTimeFieldProps } from "../../component/DateTimeField/index.js";
8
+ import type { FileUploadFieldProps } from "../../component/FileUploadField/index.js";
9
+ import type { HiddenFieldProps } from "../../component/HiddenField/index.js";
10
+ import type { NumberFieldProps } from "../../component/NumberField/index.js";
11
+ import type { PasswordFieldProps } from "../../component/PasswordField/index.js";
12
+ import type { PhoneFieldProps } from "../../component/PhoneField/index.js";
13
+ import type { RangeFieldProps } from "../../component/RangeField/index.js";
14
+ import type { RatingFieldProps } from "../../component/RatingField/index.js";
15
+ import type { RichChoicesFieldProps } from "../../component/RichChoicesField/index.js";
16
+ import type { SelectFieldProps } from "../../component/SelectField/index.js";
17
+ import type { SwitchFieldProps } from "../../component/SwitchField/index.js";
18
+ import type { TextareaFieldProps } from "../../component/TextareaField/index.js";
19
+ import type { TextFieldProps } from "../../component/TextField/index.js";
20
+ import type { TimeFieldProps } from "../../component/TimeField/index.js";
21
+ import type { NativeInputType } from "../../subcomponent/types.js";
22
+ export type { BaseInputProps, BaseWrapperProps, Condition, InputProps, Middleware, WrappedComponentProps, WrapperHOCAdditionalProps, WrapperProps, } from "../../common/types.js";
23
+ export type { BaseProps, NativeInputType, Option, OptionsProps, } from "../../subcomponent/types.js";
22
24
  export type FieldProps = ({
23
25
  inputType: Exclude<NativeInputType, "password" | "number">;
24
26
  } & TextFieldProps) | ({
@@ -28,10 +30,14 @@ export type FieldProps = ({
28
30
  } & NumberFieldProps) | ({
29
31
  inputType: "checkbox";
30
32
  } & CheckboxFieldProps) | ({
33
+ inputType: "switch";
34
+ } & SwitchFieldProps) | ({
31
35
  inputType: "hidden";
32
36
  } & HiddenFieldProps) | ({
33
37
  inputType: "range";
34
38
  } & RangeFieldProps) | ({
39
+ inputType: "rating";
40
+ } & RatingFieldProps) | ({
35
41
  inputType: "select";
36
42
  } & SelectFieldProps) | ({
37
43
  inputType: "combobox";
@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S,EAAE,QAAQ,CAAA;CAAE,GAAG,gBAAgB,CAAC,GAC5C,CAAC;IAAE,SAAS,EAAE,QAAQ,CAAA;CAAE,GAAG,gBAAgB,CAAC,GAC5C,CAAC;IAAE,SAAS,EAAE,UAAU,CAAA;CAAE,GAAG,kBAAkB,CAAC,GAChD,CAAC;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,GAAG,iBAAiB,CAAC,GAC9C,CAAC;IAAE,SAAS,EAAE,UAAU,CAAA;CAAE,GAAG,kBAAkB,CAAC,GAChD,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAAC,GACxC,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAAC,GACxC,CAAC;IAAE,SAAS,EAAE,UAAU,CAAA;CAAE,GAAG,kBAAkB,CAAC,GAChD,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,oBAAoB,CAAC,GAC9C,CAAC;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,GAAG,eAAe,CAAC,GAC1C,CAAC;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,GAAG,eAAe,CAAC,GAC1C,CAAC;IAAE,SAAS,EAAE,cAAc,CAAA;CAAE,GAAG,qBAAqB,CAAC,GACvD,CAAC;IACC,SAAS,EAAE,QAAQ,CAAC;IAEpB,eAAe,EAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;CAEvD,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC"}
@@ -3,6 +3,8 @@ import type { FormProps } from "./types.js";
3
3
  /**
4
4
  * Public Form component that routes to the appropriate implementation
5
5
  * depending on whether external `methods` are provided.
6
+ *
7
+ * `import { Form } from "@canonical/react-ds-global-form";`
6
8
  */
7
9
  declare const Form: ({ methods, defaultValues, mode, ...rest }: FormProps) => React.ReactElement;
8
10
  export default Form;
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/lib/pattern/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAyD5C;;;GAGG;AACH,QAAA,MAAM,IAAI,GAAI,2CAKX,SAAS,KAAG,KAAK,CAAC,YAKpB,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/lib/pattern/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAyD5C;;;;;GAKG;AACH,QAAA,MAAM,IAAI,GAAI,2CAKX,SAAS,KAAG,KAAK,CAAC,YAKpB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -6,6 +6,8 @@ import "./styles.css";
6
6
  * via the field tier, which spreads react-hook-form's `register()` result onto
7
7
  * it.
8
8
  * @returns {ReactElement} - Rendered Checkbox
9
+ *
10
+ * `import { CheckboxInput } from "@canonical/react-ds-global-form";`
9
11
  */
10
12
  export declare const CheckboxInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
11
13
  export default CheckboxInput;
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/CheckboxInput/CheckboxInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,oJAgBzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"CheckboxInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/CheckboxInput/CheckboxInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,oJAgBzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -3,6 +3,8 @@ import "./styles.css";
3
3
  * Presentational combobox (controlled, no react-hook-form). Routes to the
4
4
  * single- or multiple-select implementation. The forwarded ref targets the
5
5
  * text input of the single-select variant.
6
+ *
7
+ * `import { ComboboxInput } from "@canonical/react-ds-global-form";`
6
8
  */
7
9
  export declare const ComboboxInput: import("react").ForwardRefExoticComponent<import("../types.js").BaseProps & import("../types.js").OptionsProps & {
8
10
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ComboboxInput/ComboboxInput.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAC;AAItB;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;oDAezB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"ComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ComboboxInput/ComboboxInput.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAC;AAItB;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;oDAezB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -8,6 +8,8 @@ import "./styles.css";
8
8
  *
9
9
  * @param {ComboboxInputProps} props - The component props
10
10
  * @returns {React.ReactElement} - Rendered MultipleCombobox component
11
+ *
12
+ * `import { MultipleCombobox } from "@canonical/react-ds-global-form";`
11
13
  */
12
14
  declare const MultipleCombobox: ({ id, className, style, options, value, onChange, disabled, placeholder, valueKey, convertItemToString, convertValueToItem, filterItems, onInputValueChangeFactory, }: ComboboxInputProps) => React.ReactElement;
13
15
  export default MultipleCombobox;
@@ -1 +1 @@
1
- {"version":3,"file":"MultipleCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ComboboxInput/MultipleCombobox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAMrD,OAAO,cAAc,CAAC;AAItB;;;;;;;GAOG;AACH,QAAA,MAAM,gBAAgB,GAAI,uKAcvB,kBAAkB,KAAG,KAAK,CAAC,YAiI7B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"MultipleCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ComboboxInput/MultipleCombobox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAMrD,OAAO,cAAc,CAAC;AAItB;;;;;;;;;GASG;AACH,QAAA,MAAM,gBAAgB,GAAI,uKAcvB,kBAAkB,KAAG,KAAK,CAAC,YAuI7B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -4,6 +4,8 @@ import "./styles.css";
4
4
  /**
5
5
  * description of the ResetButton component
6
6
  * @returns {React.ReactElement} - Rendered ResetButton
7
+ *
8
+ * `import { ResetButton } from "@canonical/react-ds-global-form";`
7
9
  */
8
10
  declare const ResetButton: ({ id, className, messages, style, onClick, }: ResetButtonProps) => React.ReactElement;
9
11
  export default ResetButton;
@@ -1 +1 @@
1
- {"version":3,"file":"ResetButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAMtB;;;GAGG;AACH,QAAA,MAAM,WAAW,GAAI,8CAMlB,gBAAgB,KAAG,KAAK,CAAC,YAa3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ResetButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAMtB;;;;;GAKG;AACH,QAAA,MAAM,WAAW,GAAI,8CAMlB,gBAAgB,KAAG,KAAK,CAAC,YAa3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -12,6 +12,8 @@ import "./styles.css";
12
12
  * The `value` is always locale-independent ISO `yyyy-mm-dd`. To control the
13
13
  * displayed format you would need a custom (non-native) date control.
14
14
  * @returns {ReactElement} - Rendered DateInput
15
+ *
16
+ * `import { DateInput } from "@canonical/react-ds-global-form";`
15
17
  */
16
18
  export declare const DateInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
17
19
  min?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/DateInput/DateInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,SAAS;;;oDAkBrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/DateInput/DateInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,SAAS;;;oDAkBrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -12,6 +12,8 @@ import "./styles.css";
12
12
  * ISO `yyyy-mm-ddTHH:mm`. Controlling the display would require a custom
13
13
  * (non-native) control.
14
14
  * @returns {ReactElement} - Rendered DateTimeInput
15
+ *
16
+ * `import { DateTimeInput } from "@canonical/react-ds-global-form";`
15
17
  */
16
18
  export declare const DateTimeInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
17
19
  min?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DateTimeInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/DateTimeInput/DateTimeInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa;;;;oDAmBzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"DateTimeInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/DateTimeInput/DateTimeInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa;;;;oDAmBzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -4,6 +4,8 @@ import "./styles.css";
4
4
  /**
5
5
  * description of the Description component
6
6
  * @returns {React.ReactElement} - Rendered Description
7
+ *
8
+ * `import { Description } from "@canonical/react-ds-global-form";`
7
9
  */
8
10
  declare const Description: ({ id, children, className, style, }: DescriptionProps) => React.ReactElement;
9
11
  export default Description;
@@ -1 +1 @@
1
- {"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Description/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAItB;;;GAGG;AACH,QAAA,MAAM,WAAW,GAAI,qCAKlB,gBAAgB,KAAG,KAAK,CAAC,YAY3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Description/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAItB;;;;;GAKG;AACH,QAAA,MAAM,WAAW,GAAI,qCAKlB,gBAAgB,KAAG,KAAK,CAAC,YAY3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -4,6 +4,8 @@ import "./styles.css";
4
4
  /**
5
5
  * description of the Error component
6
6
  * @returns {React.ReactElement} - Rendered Error
7
+ *
8
+ * `import { Error } from "@canonical/react-ds-global-form";`
7
9
  */
8
10
  declare const FieldError: ({ id, children, className, style, }: ErrorProps) => React.ReactElement;
9
11
  export default FieldError;
@@ -1 +1 @@
1
- {"version":3,"file":"Error.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Error/Error.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAItB;;;GAGG;AACH,QAAA,MAAM,UAAU,GAAI,qCAKjB,UAAU,KAAG,KAAK,CAAC,YAarB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Error.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Error/Error.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAItB;;;;;GAKG;AACH,QAAA,MAAM,UAAU,GAAI,qCAKjB,UAAU,KAAG,KAAK,CAAC,YAarB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -4,6 +4,8 @@ import "./styles.css";
4
4
  /**
5
5
  * description of the Label component
6
6
  * @returns {React.ReactElement} - Rendered Label
7
+ *
8
+ * `import { Label } from "@canonical/react-ds-global-form";`
7
9
  */
8
10
  declare const Label: ({ id, children, className, style, name, isOptional, requiredIndicator, messages, htmlFor, tag: Element, }: LabelProps) => React.ReactElement;
9
11
  export default Label;
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Label/Label.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAStB;;;GAGG;AACH,QAAA,MAAM,KAAK,GAAI,2GAWZ,UAAU,KAAG,KAAK,CAAC,YA2BrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Label/Label.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAStB;;;;;GAKG;AACH,QAAA,MAAM,KAAK,GAAI,2GAWZ,UAAU,KAAG,KAAK,CAAC,YA2BrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -6,6 +6,8 @@ import "./styles.css";
6
6
  * image preview. Controlled via `value`/`onChange` (no react-hook-form). The
7
7
  * field tier supplies the binding.
8
8
  * @returns {React.ReactElement} - Rendered FileUploadInput
9
+ *
10
+ * `import { FileUploadInput } from "@canonical/react-ds-global-form";`
9
11
  */
10
12
  export declare const FileUploadInput: ({ id, className, style, value, onChange, accept, maxSize, maxFiles, multiple, disabled, ...otherProps }: FileUploadInputProps) => React.ReactElement;
11
13
  export default FileUploadInput;
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploadInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/FileUploadInput/FileUploadInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,cAAc,CAAC;AAItB;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,yGAY7B,oBAAoB,KAAG,KAAK,CAAC,YAsK/B,CAAC;AASF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"FileUploadInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/FileUploadInput/FileUploadInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,cAAc,CAAC;AAItB;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,yGAY7B,oBAAoB,KAAG,KAAK,CAAC,YAsK/B,CAAC;AASF,eAAe,eAAe,CAAC"}
@@ -2,6 +2,8 @@ import type { HiddenInputProps } from "./types.js";
2
2
  /**
3
3
  * Presentational hidden input — pure markup, no react-hook-form.
4
4
  * @returns {ReactElement} - Rendered Hidden input
5
+ *
6
+ * `import { HiddenInput } from "@canonical/react-ds-global-form";`
5
7
  */
6
8
  export declare const HiddenInput: import("react").ForwardRefExoticComponent<HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
7
9
  export default HiddenInput;
@@ -1 +1 @@
1
- {"version":3,"file":"HiddenInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/HiddenInput/HiddenInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAInD;;;GAGG;AACH,eAAO,MAAM,WAAW,+GAgBvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"HiddenInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/HiddenInput/HiddenInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAInD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,+GAgBvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -7,6 +7,8 @@ import "./styles.css";
7
7
  * Usable standalone (controlled via `value`/`onChange`, or uncontrolled) or via
8
8
  * the field tier, which spreads react-hook-form's `register()` result onto it.
9
9
  * @returns {ReactElement} - Rendered NumberInput
10
+ *
11
+ * `import { NumberInput } from "@canonical/react-ds-global-form";`
10
12
  */
11
13
  export declare const NumberInput: import("react").ForwardRefExoticComponent<{
12
14
  name?: string | undefined | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAmBvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAmBvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -9,6 +9,8 @@ import "./styles.css";
9
9
  * Usable standalone (controlled via `value`/`onChange`, or uncontrolled) or via
10
10
  * the field tier, which spreads react-hook-form's `register()` result onto it.
11
11
  * @returns {ReactElement} - Rendered PasswordInput
12
+ *
13
+ * `import { PasswordInput } from "@canonical/react-ds-global-form";`
12
14
  */
13
15
  export declare const PasswordInput: import("react").ForwardRefExoticComponent<{
14
16
  name?: string | undefined | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/PasswordInput/PasswordInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAoDzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"PasswordInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/PasswordInput/PasswordInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAoDzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -11,6 +11,8 @@ import "./styles.css";
11
11
  * defaults defensively, so an undefined initial `value` renders the
12
12
  * `defaultCountry` with an empty number.
13
13
  * @returns {React.ReactElement} - Rendered Phone
14
+ *
15
+ * `import { PhoneInput } from "@canonical/react-ds-global-form";`
14
16
  */
15
17
  export declare const PhoneInput: ({ id, className, style, value, onChange, defaultCountry, preferredCountries, filteredCountries, countries, valueFormat, countryDisplay, mask, disabled, }: PhoneInputProps) => React.ReactElement;
16
18
  export default PhoneInput;