@vidispine/vdt-mui 23.3.0-pre.2 → 23.3.0-pre.4

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 (398) hide show
  1. package/dist/cjs/_utils/generateBadges.js +1 -1
  2. package/dist/cjs/_utils/isDefinedValue.js +1 -1
  3. package/dist/cjs/_utils/showSlot.js +1 -1
  4. package/dist/cjs/collection/CollectionCard/CollectionCard.js +1 -1
  5. package/dist/cjs/collection/CollectionCard/components/CollectionCardMedia.js +1 -1
  6. package/dist/cjs/collection/CollectionCard/index.js +1 -1
  7. package/dist/cjs/collection/CollectionList/CollectionList.js +1 -1
  8. package/dist/cjs/collection/CollectionList/index.js +1 -1
  9. package/dist/cjs/collection/CollectionListItem/CollectionListItem.js +1 -1
  10. package/dist/cjs/collection/CollectionListItem/index.js +1 -1
  11. package/dist/cjs/collection/CollectionRepresentativeThumbnail/CollectionRepresentativeThumbnail.js +1 -1
  12. package/dist/cjs/collection/CollectionRepresentativeThumbnail/index.js +1 -1
  13. package/dist/cjs/entity/EntityAvatar/EntityAvatar.js +1 -1
  14. package/dist/cjs/entity/EntityAvatar/index.js +1 -1
  15. package/dist/cjs/entity/EntityCard/_components/Typography.js +1 -0
  16. package/dist/cjs/entity/EntityCard/components/EntityCardActions.js +1 -1
  17. package/dist/cjs/entity/EntityCard/components/EntityCardBase.js +1 -1
  18. package/dist/cjs/entity/EntityCard/components/EntityCardContent.js +1 -1
  19. package/dist/cjs/entity/EntityCard/components/EntityCardHeader.js +1 -1
  20. package/dist/cjs/entity/EntityIcon/EntityIcon.js +1 -1
  21. package/dist/cjs/entity/EntityIcon/index.js +1 -1
  22. package/dist/cjs/entity/EntityList/EntityList.js +1 -1
  23. package/dist/cjs/entity/EntityList/index.js +1 -1
  24. package/dist/cjs/entity/EntityListItem/components/EntityListItemAvatar.js +1 -1
  25. package/dist/cjs/entity/EntityListItem/components/EntityListItemButton.js +1 -1
  26. package/dist/cjs/entity/EntityListItem/components/EntityListItemSecondaryAction.js +1 -1
  27. package/dist/cjs/entity/EntityListItem/components/EntityListItemText.js +1 -1
  28. package/dist/cjs/entity/EntityTableRow/components/EntityTableCellAvatar.js +1 -1
  29. package/dist/cjs/entity/EntityTableRow/components/EntityTableCellCheckbox.js +1 -1
  30. package/dist/cjs/entity/_utils/getEntityText.js +1 -1
  31. package/dist/cjs/general/AvatarMenu/AvatarMenu.js +1 -1
  32. package/dist/cjs/general/AvatarMenu/components/Avatar.js +1 -1
  33. package/dist/cjs/general/AvatarMenu/components/MenuItem.js +1 -1
  34. package/dist/cjs/general/AvatarMenu/index.js +1 -1
  35. package/dist/cjs/general/BlurredBackground/BlurredBackground.js +1 -1
  36. package/dist/cjs/general/BlurredBackground/index.js +1 -1
  37. package/dist/cjs/general/CalendarPicker/CalendarPicker.js +1 -1
  38. package/dist/cjs/general/CalendarPicker/components/PickersDay.js +1 -1
  39. package/dist/cjs/general/CalendarPicker/index.js +1 -1
  40. package/dist/cjs/general/CompactBadge/CompactBadge.js +1 -1
  41. package/dist/cjs/general/CompactBadge/index.js +1 -1
  42. package/dist/cjs/general/CompactLabel/CompactLabel.js +1 -1
  43. package/dist/cjs/general/CompactLabel/index.js +1 -1
  44. package/dist/cjs/general/CornerLabelPlacer/CornerLabelPlacer.js +1 -1
  45. package/dist/cjs/general/CornerLabelPlacer/index.js +1 -1
  46. package/dist/cjs/general/ExpandButton/ExpandButton.js +1 -1
  47. package/dist/cjs/general/ExpandButton/index.js +1 -1
  48. package/dist/cjs/general/Form/Form.js +1 -1
  49. package/dist/cjs/general/Form/index.js +1 -1
  50. package/dist/cjs/general/ImageCollage/ImageCollage.js +1 -1
  51. package/dist/cjs/general/ImageCollage/index.js +1 -1
  52. package/dist/cjs/general/MediaIcon/MediaIcon.js +1 -1
  53. package/dist/cjs/general/MenuItem/MenuItem.js +1 -1
  54. package/dist/cjs/general/MenuItem/index.js +1 -1
  55. package/dist/cjs/general/ScrubLine/ScrubLine.js +1 -1
  56. package/dist/cjs/general/ScrubLine/index.js +1 -1
  57. package/dist/cjs/general/Sort/Sort.js +1 -1
  58. package/dist/cjs/general/Sort/components/ButtonBase.js +1 -1
  59. package/dist/cjs/general/Sort/components/MenuItem.js +1 -1
  60. package/dist/cjs/general/Sort/index.js +1 -1
  61. package/dist/cjs/general/TablePagination/TablePagination.js +1 -1
  62. package/dist/cjs/general/TablePagination/index.js +1 -1
  63. package/dist/cjs/general/ThemeContext/ThemeContext.js +1 -1
  64. package/dist/cjs/index.js +1 -0
  65. package/dist/cjs/inputs/BasicDateTimeInput/BasicDateTimeInput.js +1 -1
  66. package/dist/cjs/inputs/BasicDateTimeInput/index.js +1 -1
  67. package/dist/cjs/inputs/BooleanInput/BooleanInput.js +1 -1
  68. package/dist/cjs/inputs/BooleanInput/index.js +1 -1
  69. package/dist/cjs/inputs/CheckboxGroupInput/CheckboxGroupInput.js +1 -1
  70. package/dist/cjs/inputs/CheckboxGroupInput/components/CheckboxGroup.js +1 -1
  71. package/dist/cjs/inputs/CheckboxGroupInput/index.js +1 -1
  72. package/dist/cjs/inputs/DateRangeInput/DateRangeInput.js +1 -1
  73. package/dist/cjs/inputs/DateRangeInput/index.js +1 -1
  74. package/dist/cjs/inputs/DateRangeInput/utils/valueManagers.js +1 -0
  75. package/dist/cjs/inputs/DateTimeInput/DateTimeInput.js +1 -1
  76. package/dist/cjs/inputs/DateTimeInput/index.js +1 -1
  77. package/dist/cjs/inputs/MaskedTextInput/MaskedTextInput.js +1 -1
  78. package/dist/cjs/inputs/MaskedTextInput/components/MaskedInputComponent.js +1 -1
  79. package/dist/cjs/inputs/MaskedTextInput/index.js +1 -1
  80. package/dist/cjs/inputs/NumberInput/NumberInput.js +1 -1
  81. package/dist/cjs/inputs/NumberInput/index.js +1 -1
  82. package/dist/cjs/inputs/RadioGroupInput/RadioGroupInput.js +1 -1
  83. package/dist/cjs/inputs/RadioGroupInput/components/RadioGroup.js +1 -1
  84. package/dist/cjs/inputs/RadioGroupInput/index.js +1 -1
  85. package/dist/cjs/inputs/SelectInput/SelectInput.js +1 -1
  86. package/dist/cjs/inputs/SelectInput/index.js +1 -1
  87. package/dist/cjs/inputs/SliderInput/SliderInput.js +1 -1
  88. package/dist/cjs/inputs/SliderInput/components/Slider.js +1 -1
  89. package/dist/cjs/inputs/SliderInput/index.js +1 -1
  90. package/dist/cjs/inputs/TagInput/TagInput.js +1 -1
  91. package/dist/cjs/inputs/TagInput/index.js +1 -1
  92. package/dist/cjs/inputs/TextInput/TextInput.js +1 -1
  93. package/dist/cjs/inputs/TextInput/index.js +1 -1
  94. package/dist/cjs/inputs/_components/FormControlLabel.js +1 -1
  95. package/dist/cjs/inputs/_components/MenuItem.js +1 -1
  96. package/dist/cjs/item/ItemCard/ItemCard.js +1 -1
  97. package/dist/cjs/item/ItemCard/components/ItemCardMedia.js +1 -1
  98. package/dist/cjs/item/ItemCard/index.js +1 -1
  99. package/dist/cjs/item/ItemList/ItemList.js +1 -1
  100. package/dist/cjs/item/ItemList/index.js +1 -1
  101. package/dist/cjs/item/ItemListItem/ItemListItem.js +1 -1
  102. package/dist/cjs/item/ItemListItem/index.js +1 -1
  103. package/dist/cjs/item/ItemPoster/ItemPoster.js +1 -1
  104. package/dist/cjs/item/ItemPoster/index.js +1 -1
  105. package/dist/cjs/item/ItemPosterList/ItemPosterList.js +1 -1
  106. package/dist/cjs/item/ItemPosterList/index.js +1 -1
  107. package/dist/cjs/item/ItemPosterViewer/ItemPosterViewer.js +1 -1
  108. package/dist/cjs/item/ItemPosterViewer/components/Toolbar.js +1 -1
  109. package/dist/cjs/item/ItemPosterViewer/index.js +1 -1
  110. package/dist/cjs/item/ItemTable/ItemTable.js +1 -1
  111. package/dist/cjs/item/ItemTable/components/ItemTableHead.js +1 -1
  112. package/dist/cjs/item/ItemTable/index.js +1 -1
  113. package/dist/cjs/item/ItemTableRow/ItemTableRow.js +1 -1
  114. package/dist/cjs/item/ItemTableRow/index.js +1 -1
  115. package/dist/cjs/item/ItemThumbnail/ItemThumbnail.js +1 -1
  116. package/dist/cjs/item/ItemThumbnail/index.js +1 -1
  117. package/dist/cjs/search/SearchFilterForm/SearchFilterForm.js +1 -1
  118. package/dist/cjs/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.js +1 -1
  119. package/dist/cjs/search/SearchFilterForm/index.js +1 -1
  120. package/dist/cjs/search/SearchFilterForm/utils/mapValuesToFilter.js +1 -1
  121. package/dist/cjs/shape/ShapeMediaBadges/ShapeMediaBadges.js +1 -1
  122. package/dist/cjs/shape/ShapeMediaBadges/index.js +1 -1
  123. package/dist/cjs/transcode/TranscodePresetMediaBadges/TranscodePresetMediaBadges.js +1 -1
  124. package/dist/cjs/transcode/TranscodePresetMediaBadges/index.js +1 -1
  125. package/dist/es/_consts/ENTITY_TYPES.d.ts +6 -0
  126. package/dist/es/_consts/index.d.ts +1 -0
  127. package/dist/es/_types.d.ts +21 -0
  128. package/dist/es/_utils/generateBadges.d.ts +2 -0
  129. package/dist/es/_utils/generateBadges.js +23 -22
  130. package/dist/es/_utils/index.d.ts +6 -0
  131. package/dist/es/_utils/isDefinedValue.d.ts +3 -0
  132. package/dist/es/_utils/isDefinedValue.js +2 -2
  133. package/dist/es/_utils/omit.d.ts +3 -0
  134. package/dist/es/_utils/showSlot.d.ts +1 -0
  135. package/dist/es/_utils/showSlot.js +2 -2
  136. package/dist/es/_utils/uuidv4.d.ts +1 -0
  137. package/dist/es/_utils/uuidv4.js +7 -4
  138. package/dist/es/_utils/withOverrides.d.ts +8 -0
  139. package/dist/es/collection/CollectionCard/CollectionCard.d.ts +165 -0
  140. package/dist/es/collection/CollectionCard/CollectionCard.js +92 -226
  141. package/dist/es/collection/CollectionCard/components/CollectionCardMedia.d.ts +11 -0
  142. package/dist/es/collection/CollectionCard/components/CollectionCardMedia.js +14 -11
  143. package/dist/es/collection/CollectionCard/index.d.ts +3 -0
  144. package/dist/es/collection/CollectionCard/index.js +1 -1
  145. package/dist/es/collection/CollectionList/CollectionList.d.ts +75 -0
  146. package/dist/es/collection/CollectionList/CollectionList.js +43 -128
  147. package/dist/es/collection/CollectionList/index.d.ts +3 -0
  148. package/dist/es/collection/CollectionList/index.js +1 -1
  149. package/dist/es/collection/CollectionListItem/CollectionListItem.d.ts +67 -0
  150. package/dist/es/collection/CollectionListItem/CollectionListItem.js +37 -107
  151. package/dist/es/collection/CollectionListItem/index.d.ts +3 -0
  152. package/dist/es/collection/CollectionListItem/index.js +1 -1
  153. package/dist/es/collection/CollectionRepresentativeThumbnail/CollectionRepresentativeThumbnail.d.ts +46 -0
  154. package/dist/es/collection/CollectionRepresentativeThumbnail/CollectionRepresentativeThumbnail.js +55 -112
  155. package/dist/es/collection/CollectionRepresentativeThumbnail/index.d.ts +3 -0
  156. package/dist/es/collection/CollectionRepresentativeThumbnail/index.js +6 -6
  157. package/dist/es/collection/index.d.ts +4 -0
  158. package/dist/es/entity/EntityAvatar/EntityAvatar.d.ts +39 -0
  159. package/dist/es/entity/EntityAvatar/EntityAvatar.js +43 -86
  160. package/dist/es/entity/EntityAvatar/index.d.ts +3 -0
  161. package/dist/es/entity/EntityAvatar/index.js +1 -1
  162. package/dist/es/entity/EntityCard/_components/Typography.d.ts +7 -0
  163. package/dist/es/entity/EntityCard/_components/Typography.js +15 -0
  164. package/dist/es/entity/EntityCard/components/EntityCardActions.d.ts +30 -0
  165. package/dist/es/entity/EntityCard/components/EntityCardActions.js +35 -28
  166. package/dist/es/entity/EntityCard/components/EntityCardBase.d.ts +7 -0
  167. package/dist/es/entity/EntityCard/components/EntityCardBase.js +9 -11
  168. package/dist/es/entity/EntityCard/components/EntityCardContent.d.ts +15 -0
  169. package/dist/es/entity/EntityCard/components/EntityCardContent.js +33 -31
  170. package/dist/es/entity/EntityCard/components/EntityCardHeader.d.ts +29 -0
  171. package/dist/es/entity/EntityCard/components/EntityCardHeader.js +37 -38
  172. package/dist/es/entity/EntityIcon/EntityIcon.d.ts +27 -0
  173. package/dist/es/entity/EntityIcon/EntityIcon.js +49 -83
  174. package/dist/es/entity/EntityIcon/index.d.ts +3 -0
  175. package/dist/es/entity/EntityIcon/index.js +1 -1
  176. package/dist/es/entity/EntityList/EntityList.d.ts +93 -0
  177. package/dist/es/entity/EntityList/EntityList.js +75 -170
  178. package/dist/es/entity/EntityList/index.d.ts +3 -0
  179. package/dist/es/entity/EntityList/index.js +1 -1
  180. package/dist/es/entity/EntityListItem/components/EntityListItemAvatar.d.ts +14 -0
  181. package/dist/es/entity/EntityListItem/components/EntityListItemAvatar.js +14 -13
  182. package/dist/es/entity/EntityListItem/components/EntityListItemButton.d.ts +12 -0
  183. package/dist/es/entity/EntityListItem/components/EntityListItemButton.js +14 -13
  184. package/dist/es/entity/EntityListItem/components/EntityListItemSecondaryAction.d.ts +12 -0
  185. package/dist/es/entity/EntityListItem/components/EntityListItemSecondaryAction.js +15 -19
  186. package/dist/es/entity/EntityListItem/components/EntityListItemText.d.ts +13 -0
  187. package/dist/es/entity/EntityListItem/components/EntityListItemText.js +20 -21
  188. package/dist/es/entity/EntityTableRow/components/EntityTableCellAvatar.d.ts +14 -0
  189. package/dist/es/entity/EntityTableRow/components/EntityTableCellAvatar.js +13 -12
  190. package/dist/es/entity/EntityTableRow/components/EntityTableCellCheckbox.d.ts +8 -0
  191. package/dist/es/entity/EntityTableRow/components/EntityTableCellCheckbox.js +12 -13
  192. package/dist/es/entity/_utils/getEntityProp.d.ts +9 -0
  193. package/dist/es/entity/_utils/getEntityText.d.ts +7 -0
  194. package/dist/es/entity/_utils/getEntityText.js +24 -24
  195. package/dist/es/entity/_utils/index.d.ts +2 -0
  196. package/dist/es/entity/index.d.ts +3 -0
  197. package/dist/es/general/AvatarMenu/AvatarMenu.d.ts +59 -0
  198. package/dist/es/general/AvatarMenu/AvatarMenu.js +50 -111
  199. package/dist/es/general/AvatarMenu/components/Avatar.d.ts +8 -0
  200. package/dist/es/general/AvatarMenu/components/Avatar.js +18 -13
  201. package/dist/es/general/AvatarMenu/components/MenuItem.d.ts +11 -0
  202. package/dist/es/general/AvatarMenu/components/MenuItem.js +12 -13
  203. package/dist/es/general/AvatarMenu/index.d.ts +3 -0
  204. package/dist/es/general/AvatarMenu/index.js +1 -1
  205. package/dist/es/general/BlurredBackground/BlurredBackground.d.ts +35 -0
  206. package/dist/es/general/BlurredBackground/BlurredBackground.js +26 -66
  207. package/dist/es/general/BlurredBackground/index.d.ts +3 -0
  208. package/dist/es/general/BlurredBackground/index.js +1 -1
  209. package/dist/es/general/CalendarPicker/CalendarPicker.d.ts +134 -0
  210. package/dist/es/general/CalendarPicker/CalendarPicker.js +170 -267
  211. package/dist/es/general/CalendarPicker/components/PickersDay.d.ts +15 -0
  212. package/dist/es/general/CalendarPicker/components/PickersDay.js +28 -23
  213. package/dist/es/general/CalendarPicker/index.d.ts +3 -0
  214. package/dist/es/general/CalendarPicker/index.js +5 -5
  215. package/dist/es/general/CalendarPicker/utils/index.d.ts +9 -0
  216. package/dist/es/general/CompactBadge/CompactBadge.d.ts +16 -0
  217. package/dist/es/general/CompactBadge/CompactBadge.js +19 -40
  218. package/dist/es/general/CompactBadge/index.d.ts +3 -0
  219. package/dist/es/general/CompactBadge/index.js +1 -1
  220. package/dist/es/general/CompactLabel/CompactLabel.d.ts +22 -0
  221. package/dist/es/general/CompactLabel/CompactLabel.js +20 -45
  222. package/dist/es/general/CompactLabel/index.d.ts +3 -0
  223. package/dist/es/general/CompactLabel/index.js +1 -1
  224. package/dist/es/general/CornerLabelPlacer/CornerLabelPlacer.d.ts +29 -0
  225. package/dist/es/general/CornerLabelPlacer/CornerLabelPlacer.js +35 -76
  226. package/dist/es/general/CornerLabelPlacer/index.d.ts +3 -0
  227. package/dist/es/general/CornerLabelPlacer/index.js +1 -1
  228. package/dist/es/general/ExpandButton/ExpandButton.d.ts +29 -0
  229. package/dist/es/general/ExpandButton/ExpandButton.js +31 -60
  230. package/dist/es/general/ExpandButton/index.d.ts +3 -0
  231. package/dist/es/general/ExpandButton/index.js +1 -1
  232. package/dist/es/general/Form/Form.d.ts +138 -0
  233. package/dist/es/general/Form/Form.js +90 -171
  234. package/dist/es/general/Form/index.d.ts +3 -0
  235. package/dist/es/general/Form/index.js +1 -1
  236. package/dist/es/general/ImageCollage/ImageCollage.d.ts +53 -0
  237. package/dist/es/general/ImageCollage/ImageCollage.js +50 -105
  238. package/dist/es/general/ImageCollage/index.d.ts +3 -0
  239. package/dist/es/general/ImageCollage/index.js +1 -1
  240. package/dist/es/general/MediaIcon/MediaIcon.d.ts +23 -0
  241. package/dist/es/general/MediaIcon/MediaIcon.js +50 -90
  242. package/dist/es/general/MediaIcon/index.d.ts +3 -0
  243. package/dist/es/general/MenuItem/MenuItem.d.ts +35 -0
  244. package/dist/es/general/MenuItem/MenuItem.js +30 -68
  245. package/dist/es/general/MenuItem/index.d.ts +3 -0
  246. package/dist/es/general/MenuItem/index.js +1 -1
  247. package/dist/es/general/ScrubLine/ScrubLine.d.ts +58 -0
  248. package/dist/es/general/ScrubLine/ScrubLine.js +45 -106
  249. package/dist/es/general/ScrubLine/index.d.ts +3 -0
  250. package/dist/es/general/ScrubLine/index.js +1 -1
  251. package/dist/es/general/Sort/Sort.d.ts +50 -0
  252. package/dist/es/general/Sort/Sort.js +75 -131
  253. package/dist/es/general/Sort/components/ButtonBase.d.ts +9 -0
  254. package/dist/es/general/Sort/components/ButtonBase.js +12 -14
  255. package/dist/es/general/Sort/components/MenuItem.d.ts +10 -0
  256. package/dist/es/general/Sort/components/MenuItem.js +9 -11
  257. package/dist/es/general/Sort/index.d.ts +3 -0
  258. package/dist/es/general/Sort/index.js +1 -1
  259. package/dist/es/general/TablePagination/TablePagination.d.ts +47 -0
  260. package/dist/es/general/TablePagination/TablePagination.js +48 -84
  261. package/dist/es/general/TablePagination/index.d.ts +3 -0
  262. package/dist/es/general/TablePagination/index.js +1 -1
  263. package/dist/es/general/ThemeContext/ThemeContext.d.ts +43 -0
  264. package/dist/es/general/ThemeContext/ThemeContext.js +58 -67
  265. package/dist/es/general/ThemeContext/index.d.ts +1 -0
  266. package/dist/es/general/index.d.ts +15 -0
  267. package/dist/es/index.d.ts +8 -0
  268. package/dist/es/index.js +95 -0
  269. package/dist/es/inputs/BasicDateTimeInput/BasicDateTimeInput.d.ts +68 -0
  270. package/dist/es/inputs/BasicDateTimeInput/BasicDateTimeInput.js +31 -105
  271. package/dist/es/inputs/BasicDateTimeInput/index.d.ts +3 -0
  272. package/dist/es/inputs/BasicDateTimeInput/index.js +1 -1
  273. package/dist/es/inputs/BooleanInput/BooleanInput.d.ts +85 -0
  274. package/dist/es/inputs/BooleanInput/BooleanInput.js +51 -137
  275. package/dist/es/inputs/BooleanInput/index.d.ts +3 -0
  276. package/dist/es/inputs/BooleanInput/index.js +1 -1
  277. package/dist/es/inputs/CheckboxGroupInput/CheckboxGroupInput.d.ts +106 -0
  278. package/dist/es/inputs/CheckboxGroupInput/CheckboxGroupInput.js +84 -196
  279. package/dist/es/inputs/CheckboxGroupInput/components/CheckboxGroup.d.ts +42 -0
  280. package/dist/es/inputs/CheckboxGroupInput/components/CheckboxGroup.js +64 -48
  281. package/dist/es/inputs/CheckboxGroupInput/index.d.ts +3 -0
  282. package/dist/es/inputs/CheckboxGroupInput/index.js +1 -1
  283. package/dist/es/inputs/DateRangeInput/DateRangeInput.d.ts +150 -0
  284. package/dist/es/inputs/DateRangeInput/DateRangeInput.js +134 -277
  285. package/dist/es/inputs/DateRangeInput/index.d.ts +3 -0
  286. package/dist/es/inputs/DateRangeInput/index.js +1 -1
  287. package/dist/es/inputs/DateRangeInput/utils/dateHelpers.d.ts +10 -0
  288. package/dist/es/inputs/DateRangeInput/utils/valueManagers.d.ts +10 -0
  289. package/dist/es/inputs/DateRangeInput/{components/utils → utils}/valueManagers.js +1 -1
  290. package/dist/es/inputs/DateTimeInput/DateTimeInput.d.ts +105 -0
  291. package/dist/es/inputs/DateTimeInput/DateTimeInput.js +96 -195
  292. package/dist/es/inputs/DateTimeInput/index.d.ts +3 -0
  293. package/dist/es/inputs/DateTimeInput/index.js +1 -1
  294. package/dist/es/inputs/MaskedTextInput/MaskedTextInput.d.ts +131 -0
  295. package/dist/es/inputs/MaskedTextInput/MaskedTextInput.js +58 -193
  296. package/dist/es/inputs/MaskedTextInput/components/MaskedInputComponent.d.ts +16 -0
  297. package/dist/es/inputs/MaskedTextInput/components/MaskedInputComponent.js +11 -7
  298. package/dist/es/inputs/MaskedTextInput/index.d.ts +3 -0
  299. package/dist/es/inputs/MaskedTextInput/index.js +1 -1
  300. package/dist/es/inputs/NumberInput/NumberInput.d.ts +70 -0
  301. package/dist/es/inputs/NumberInput/NumberInput.js +30 -106
  302. package/dist/es/inputs/NumberInput/index.d.ts +3 -0
  303. package/dist/es/inputs/NumberInput/index.js +1 -1
  304. package/dist/es/inputs/RadioGroupInput/RadioGroupInput.d.ts +106 -0
  305. package/dist/es/inputs/RadioGroupInput/RadioGroupInput.js +74 -187
  306. package/dist/es/inputs/RadioGroupInput/components/RadioGroup.d.ts +42 -0
  307. package/dist/es/inputs/RadioGroupInput/components/RadioGroup.js +49 -33
  308. package/dist/es/inputs/RadioGroupInput/index.d.ts +3 -0
  309. package/dist/es/inputs/RadioGroupInput/index.js +1 -1
  310. package/dist/es/inputs/SelectInput/SelectInput.d.ts +95 -0
  311. package/dist/es/inputs/SelectInput/SelectInput.js +52 -152
  312. package/dist/es/inputs/SelectInput/index.d.ts +3 -0
  313. package/dist/es/inputs/SelectInput/index.js +1 -1
  314. package/dist/es/inputs/SliderInput/SliderInput.d.ts +141 -0
  315. package/dist/es/inputs/SliderInput/SliderInput.js +94 -241
  316. package/dist/es/inputs/SliderInput/components/Slider.d.ts +30 -0
  317. package/dist/es/inputs/SliderInput/components/Slider.js +52 -50
  318. package/dist/es/inputs/SliderInput/index.d.ts +3 -0
  319. package/dist/es/inputs/SliderInput/index.js +1 -1
  320. package/dist/es/inputs/TagInput/TagInput.d.ts +118 -0
  321. package/dist/es/inputs/TagInput/TagInput.js +123 -215
  322. package/dist/es/inputs/TagInput/index.d.ts +3 -0
  323. package/dist/es/inputs/TagInput/index.js +1 -1
  324. package/dist/es/inputs/TextInput/TextInput.d.ts +80 -0
  325. package/dist/es/inputs/TextInput/TextInput.js +37 -123
  326. package/dist/es/inputs/TextInput/index.d.ts +3 -0
  327. package/dist/es/inputs/TextInput/index.js +1 -1
  328. package/dist/es/inputs/_components/FormControlLabel.d.ts +10 -0
  329. package/dist/es/inputs/_components/FormControlLabel.js +23 -23
  330. package/dist/es/inputs/_components/MenuItem.d.ts +11 -0
  331. package/dist/es/inputs/_components/MenuItem.js +11 -10
  332. package/dist/es/inputs/index.d.ts +12 -0
  333. package/dist/es/item/ItemCard/ItemCard.d.ts +165 -0
  334. package/dist/es/item/ItemCard/ItemCard.js +95 -230
  335. package/dist/es/item/ItemCard/components/ItemCardMedia.d.ts +12 -0
  336. package/dist/es/item/ItemCard/components/ItemCardMedia.js +16 -14
  337. package/dist/es/item/ItemCard/index.d.ts +3 -0
  338. package/dist/es/item/ItemCard/index.js +1 -1
  339. package/dist/es/item/ItemList/ItemList.d.ts +75 -0
  340. package/dist/es/item/ItemList/ItemList.js +47 -131
  341. package/dist/es/item/ItemList/index.d.ts +3 -0
  342. package/dist/es/item/ItemList/index.js +1 -1
  343. package/dist/es/item/ItemListItem/ItemListItem.d.ts +67 -0
  344. package/dist/es/item/ItemListItem/ItemListItem.js +36 -106
  345. package/dist/es/item/ItemListItem/index.d.ts +3 -0
  346. package/dist/es/item/ItemListItem/index.js +1 -1
  347. package/dist/es/item/ItemPoster/ItemPoster.d.ts +44 -0
  348. package/dist/es/item/ItemPoster/ItemPoster.js +37 -78
  349. package/dist/es/item/ItemPoster/index.d.ts +3 -0
  350. package/dist/es/item/ItemPoster/index.js +1 -1
  351. package/dist/es/item/ItemPosterList/ItemPosterList.d.ts +36 -0
  352. package/dist/es/item/ItemPosterList/ItemPosterList.js +30 -82
  353. package/dist/es/item/ItemPosterList/index.d.ts +3 -0
  354. package/dist/es/item/ItemPosterList/index.js +1 -1
  355. package/dist/es/item/ItemPosterViewer/ItemPosterViewer.d.ts +69 -0
  356. package/dist/es/item/ItemPosterViewer/ItemPosterViewer.js +72 -123
  357. package/dist/es/item/ItemPosterViewer/components/Toolbar.d.ts +10 -0
  358. package/dist/es/item/ItemPosterViewer/components/Toolbar.js +26 -22
  359. package/dist/es/item/ItemPosterViewer/index.d.ts +3 -0
  360. package/dist/es/item/ItemPosterViewer/index.js +1 -1
  361. package/dist/es/item/ItemTable/ItemTable.d.ts +79 -0
  362. package/dist/es/item/ItemTable/ItemTable.js +65 -150
  363. package/dist/es/item/ItemTable/components/ItemTableHead.d.ts +16 -0
  364. package/dist/es/item/ItemTable/components/ItemTableHead.js +30 -31
  365. package/dist/es/item/ItemTable/index.d.ts +3 -0
  366. package/dist/es/item/ItemTable/index.js +1 -1
  367. package/dist/es/item/ItemTableRow/ItemTableRow.d.ts +66 -0
  368. package/dist/es/item/ItemTableRow/ItemTableRow.js +56 -126
  369. package/dist/es/item/ItemTableRow/index.d.ts +3 -0
  370. package/dist/es/item/ItemTableRow/index.js +1 -1
  371. package/dist/es/item/ItemThumbnail/ItemThumbnail.d.ts +88 -0
  372. package/dist/es/item/ItemThumbnail/ItemThumbnail.js +46 -132
  373. package/dist/es/item/ItemThumbnail/index.d.ts +3 -0
  374. package/dist/es/item/ItemThumbnail/index.js +1 -1
  375. package/dist/es/item/index.d.ts +9 -0
  376. package/dist/es/search/SearchFilterForm/SearchFilterForm.d.ts +90 -0
  377. package/dist/es/search/SearchFilterForm/SearchFilterForm.js +57 -118
  378. package/dist/es/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.d.ts +100 -0
  379. package/dist/es/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.js +44 -40
  380. package/dist/es/search/SearchFilterForm/index.d.ts +3 -0
  381. package/dist/es/search/SearchFilterForm/index.js +8 -9
  382. package/dist/es/search/SearchFilterForm/utils/mapValuesToFilter.d.ts +15 -0
  383. package/dist/es/search/SearchFilterForm/utils/mapValuesToFilter.js +30 -33
  384. package/dist/es/search/index.d.ts +1 -0
  385. package/dist/es/shape/ShapeMediaBadges/ShapeMediaBadges.d.ts +35 -0
  386. package/dist/es/shape/ShapeMediaBadges/ShapeMediaBadges.js +21 -61
  387. package/dist/es/shape/ShapeMediaBadges/index.d.ts +3 -0
  388. package/dist/es/shape/ShapeMediaBadges/index.js +1 -1
  389. package/dist/es/shape/index.d.ts +1 -0
  390. package/dist/es/transcode/TranscodePresetMediaBadges/TranscodePresetMediaBadges.d.ts +35 -0
  391. package/dist/es/transcode/TranscodePresetMediaBadges/TranscodePresetMediaBadges.js +20 -60
  392. package/dist/es/transcode/TranscodePresetMediaBadges/index.d.ts +3 -0
  393. package/dist/es/transcode/TranscodePresetMediaBadges/index.js +1 -1
  394. package/dist/es/transcode/index.d.ts +1 -0
  395. package/package.json +28 -22
  396. package/dist/cjs/inputs/DateRangeInput/components/utils/valueManagers.js +0 -1
  397. package/dist/index.cjs.js +0 -1
  398. package/dist/index.es.js +0 -93
@@ -1,16 +1,15 @@
1
- import { jsxs as N, jsx as l } from "react/jsx-runtime";
2
- import e from "prop-types";
1
+ import { jsxs as N, jsx as e } from "react/jsx-runtime";
3
2
  import U from "@mui/material/FormControl";
4
- import V from "@mui/material/FormHelperText";
3
+ import W from "@mui/material/FormHelperText";
5
4
  import k from "@mui/material/InputLabel";
6
- import w from "@mui/material/OutlinedInput";
5
+ import q from "@mui/material/OutlinedInput";
7
6
  import E from "@mui/material/FilledInput";
8
- import P from "@mui/material/Input";
7
+ import V from "@mui/material/Input";
9
8
  import $ from "@mui/material/Radio";
10
- import { styled as n } from "@mui/material/styles";
11
- import A from "../_components/FormControlLabel.js";
12
- import D from "./components/RadioGroup.js";
13
- const J = n(w)(() => ({
9
+ import { styled as i } from "@mui/material/styles";
10
+ import w from "../_components/FormControlLabel.js";
11
+ import A from "./components/RadioGroup.js";
12
+ const D = i(q)(() => ({
14
13
  paddingLeft: 14,
15
14
  paddingRight: 14,
16
15
  // Medium Size (56px)
@@ -22,7 +21,7 @@ const J = n(w)(() => ({
22
21
  "&.MuiInputBase-sizeSmall": {
23
22
  paddingTop: 2
24
23
  }
25
- })), K = n(E)(() => ({
24
+ })), J = i(E)(() => ({
26
25
  // Medium Size
27
26
  "&:not(.MuiInputBase-sizeSmall)": {
28
27
  paddingLeft: 12,
@@ -43,7 +42,7 @@ const J = n(w)(() => ({
43
42
  }
44
43
  }
45
44
  }
46
- })), Q = n(P)(() => ({
45
+ })), K = i(V)(() => ({
47
46
  // Medium Size
48
47
  "&:not(.MuiInputBase-sizeSmall)": {
49
48
  paddingLeft: 11,
@@ -60,207 +59,95 @@ const J = n(w)(() => ({
60
59
  }
61
60
  }
62
61
  }
63
- })), X = n(k)(() => ({
62
+ })), Q = i(k)(() => ({
64
63
  paddingRight: 8
65
- })), Y = {
64
+ })), X = {
66
65
  Root: U,
67
- FormHelperText: V,
68
- InputLabel: X,
69
- Input: Q,
66
+ FormHelperText: W,
67
+ InputLabel: Q,
68
+ Input: K,
70
69
  // Standard Input
71
- FilledInput: K,
72
- OutlinedInput: J,
73
- RadioGroup: D,
74
- FormControlLabel: A,
70
+ FilledInput: J,
71
+ OutlinedInput: D,
72
+ RadioGroup: A,
73
+ FormControlLabel: w,
75
74
  Radio: $
76
- };
77
- function f({
78
- name: o,
79
- label: r,
80
- value: b,
81
- defaultValue: c,
75
+ }, Y = ({
76
+ name: t,
77
+ label: n,
78
+ value: s,
79
+ defaultValue: f,
82
80
  options: g,
83
- helperText: a,
84
- error: d,
81
+ helperText: l,
82
+ error: r,
85
83
  required: I,
86
- disabled: O,
87
- fullWidth: p,
88
- orientation: h,
89
- labelPlacement: C,
90
- justifyContent: T,
91
- variant: i,
84
+ disabled: M,
85
+ fullWidth: a,
86
+ orientation: C,
87
+ labelPlacement: b,
88
+ justifyContent: h,
89
+ variant: d,
92
90
  size: u,
93
91
  onChange: L,
94
- onBlur: F,
95
- onFocus: R,
96
- components: y,
97
- componentsProps: t
98
- }) {
92
+ onBlur: R,
93
+ onFocus: F,
94
+ components: c,
95
+ componentsProps: o
96
+ }) => {
99
97
  const {
100
- Root: M,
101
- FormHelperText: x,
102
- InputLabel: v,
103
- Input: j,
104
- FilledInput: B,
105
- OutlinedInput: S,
106
- RadioGroup: z,
98
+ Root: x,
99
+ FormHelperText: v,
100
+ InputLabel: B,
101
+ Input: S,
102
+ FilledInput: T,
103
+ OutlinedInput: z,
104
+ RadioGroup: y,
107
105
  FormControlLabel: G,
108
106
  Radio: H
109
- } = y, W = {
110
- standard: j,
111
- filled: B,
112
- outlined: S
113
- }[i], q = {
107
+ } = c, O = {
108
+ standard: S,
109
+ filled: T,
110
+ outlined: z
111
+ }[d], j = {
114
112
  standard: {
115
113
  disableUnderline: !0,
116
- ...t.input
114
+ ...o.input
117
115
  },
118
116
  filled: {
119
117
  disableUnderline: !0,
120
- ...t.filledInput
118
+ ...o.filledInput
121
119
  },
122
120
  outlined: {
123
- label: r,
121
+ label: n,
124
122
  notched: !0,
125
- ...t.outlinedInput
123
+ ...o.outlinedInput
126
124
  }
127
- }[i], m = !!d, s = (d || "").trim();
128
- return /* @__PURE__ */ N(M, { error: m, required: I, disabled: O, variant: i, fullWidth: p, ...t.root, children: [
129
- /* @__PURE__ */ l(v, { htmlFor: o, id: `${o}-label`, shrink: !0, ...t.inputLabel, children: r }),
130
- /* @__PURE__ */ l(W, { id: o, name: o, fullWidth: p, size: u, inputComponent: z, inputProps: {
131
- id: o,
132
- value: b,
133
- defaultValue: c,
125
+ }[d], p = !!r, m = (r || "").trim();
126
+ return /* @__PURE__ */ N(x, { error: p, required: I, disabled: M, variant: d, fullWidth: a, ...o.root, children: [
127
+ /* @__PURE__ */ e(B, { htmlFor: t, id: `${t}-label`, shrink: !0, ...o.inputLabel, children: n }),
128
+ /* @__PURE__ */ e(O, { id: t, name: t, fullWidth: a, size: u, inputComponent: y, inputProps: {
129
+ id: t,
130
+ value: s,
131
+ defaultValue: f,
134
132
  options: g,
135
- orientation: h,
136
- labelPlacement: C,
137
- justifyContent: T,
133
+ orientation: C,
134
+ labelPlacement: b,
135
+ justifyContent: h,
138
136
  size: u,
139
137
  onChange: L,
140
- onFocus: R,
141
- onBlur: F,
138
+ onFocus: F,
139
+ onBlur: R,
142
140
  FormControlLabelComponent: G,
143
- formControlLabelProps: t.formControlLabel,
141
+ formControlLabelProps: o.formControlLabel,
144
142
  RadioComponent: H,
145
- radioProps: t.radio,
146
- vdtClassNames: t.radioGroup.className,
147
- ...t.radioGroup
148
- }, ...q }),
149
- (s || a) && /* @__PURE__ */ l(x, { ...t.formHelperText, children: m ? s : a })
143
+ radioProps: o.radio,
144
+ vdtClassNames: o.radioGroup.className,
145
+ ...o.radioGroup
146
+ }, ...j }),
147
+ (m || l) && /* @__PURE__ */ e(v, { ...o.formHelperText, children: p ? m : l })
150
148
  ] });
151
- }
152
- f.propTypes = {
153
- /**
154
- * Name of input
155
- */
156
- name: e.string,
157
- /**
158
- * Label of input
159
- */
160
- label: e.string,
161
- /**
162
- * Value of input
163
- */
164
- value: e.string,
165
- /**
166
- * Default value of input (use if uncontrolled)
167
- */
168
- defaultValue: e.string,
169
- /**
170
- * Options for input
171
- */
172
- options: e.arrayOf(e.shape({
173
- name: e.string,
174
- value: e.string,
175
- label: e.string,
176
- disabled: e.bool
177
- })),
178
- /**
179
- * Help text underneath input
180
- */
181
- helperText: e.string,
182
- /**
183
- * Error to display underneath input (overrides `helperText`)
184
- */
185
- error: e.string,
186
- /**
187
- * Set if required
188
- */
189
- required: e.bool,
190
- /**
191
- * Set if disabled
192
- */
193
- disabled: e.bool,
194
- /**
195
- * Set if input should be full width
196
- */
197
- fullWidth: e.bool,
198
- /**
199
- * Set direction inputs should be aligned
200
- */
201
- orientation: e.oneOf(["horizontal", "vertical"]),
202
- /**
203
- * Radio label placement
204
- */
205
- labelPlacement: e.oneOf(["end", "start", "bottom", "top"]),
206
- /**
207
- * Alignment of inputs
208
- *
209
- * Only used when `orientation:horizontal`
210
- */
211
- justifyContent: e.oneOf(["flex-start", "center", "space-around", "space-evenly", "space-between", "flex-end"]),
212
- /**
213
- * Set variant of input
214
- */
215
- variant: e.oneOf(["outlined", "filled", "standard"]),
216
- /**
217
- * Whether the slider is a range or not
218
- */
219
- size: e.oneOf(["medium", "small"]),
220
- // Callbacks
221
- /**
222
- * Callback when value changed
223
- */
224
- onChange: e.func,
225
- /**
226
- * Callback when input is blurred
227
- */
228
- onBlur: e.func,
229
- /**
230
- * Callback when input is focused
231
- */
232
- onFocus: e.func,
233
- // Overrides
234
- /**
235
- * Replace internal components
236
- */
237
- components: e.shape({
238
- Root: e.elementType,
239
- FormHelperText: e.elementType,
240
- InputLabel: e.elementType,
241
- Input: e.elementType,
242
- FilledInput: e.elementType,
243
- OutlinedInput: e.elementType,
244
- RadioGroup: e.elementType,
245
- FormControlLabel: e.elementType,
246
- Radio: e.elementType
247
- }),
248
- /**
249
- * Add internal component props
250
- */
251
- componentsProps: e.shape({
252
- root: e.instanceOf(Object),
253
- formHelperText: e.instanceOf(Object),
254
- inputLabel: e.instanceOf(Object),
255
- input: e.instanceOf(Object),
256
- filledInput: e.instanceOf(Object),
257
- outlinedInput: e.instanceOf(Object),
258
- radioGroup: e.instanceOf(Object),
259
- formControlLabel: e.instanceOf(Object),
260
- radio: e.instanceOf(Object)
261
- })
262
149
  };
263
- f.defaultProps = {
150
+ Y.defaultProps = {
264
151
  name: void 0,
265
152
  label: void 0,
266
153
  value: void 0,
@@ -279,9 +166,9 @@ f.defaultProps = {
279
166
  onChange: () => null,
280
167
  onBlur: void 0,
281
168
  onFocus: void 0,
282
- components: Y,
169
+ components: X,
283
170
  componentsProps: void 0
284
171
  };
285
172
  export {
286
- f as default
173
+ Y as default
287
174
  };
@@ -0,0 +1,42 @@
1
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
2
+ /// <reference types="react" />
3
+ import type { RadioGroupProps as MuiRadioGroupProps, FormControlLabelProps as MuiFormControlLabelProps, RadioProps as MuiRadioProps } from '@mui/material';
4
+ export interface RadioGroupProps extends Omit<MuiRadioGroupProps, 'onChange'> {
5
+ value?: string;
6
+ defaultValue?: string;
7
+ disabled?: boolean;
8
+ options?: {
9
+ name: string;
10
+ value: string;
11
+ label?: string;
12
+ count?: string | number;
13
+ disabled?: boolean;
14
+ [key: string]: any;
15
+ }[];
16
+ orientation?: 'horizontal' | 'vertical';
17
+ labelPlacement?: 'bottom' | 'top' | 'end' | 'start';
18
+ justifyContent?: string;
19
+ size?: 'small' | 'medium';
20
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, payload: {
21
+ value: string;
22
+ }) => void;
23
+ FormControlLabelComponent?: (props?: MuiFormControlLabelProps & {
24
+ count?: string | number;
25
+ orientation?: 'horizontal' | 'vertical';
26
+ size?: 'small' | 'medium';
27
+ }) => JSX.Element;
28
+ formControlLabelProps?: MuiFormControlLabelProps & {
29
+ [key: string]: any;
30
+ };
31
+ RadioComponent?: (props?: MuiRadioProps) => JSX.Element;
32
+ radioProps?: MuiRadioProps & {
33
+ [key: string]: any;
34
+ };
35
+ vdtClassNames: string;
36
+ autoComplete: boolean;
37
+ autoFocus: boolean;
38
+ rows: boolean;
39
+ type: string;
40
+ }
41
+ declare const RadioGroup: ForwardRefExoticComponent<Pick<RadioGroupProps, keyof RadioGroupProps> & RefAttributes<unknown>>;
42
+ export default RadioGroup;
@@ -1,10 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { forwardRef as G } from "react";
2
+ import { forwardRef as M } from "react";
3
3
  import N from "@mui/material/RadioGroup";
4
- import P from "@mui/material/FormControlLabel";
5
- import $ from "@mui/material/Radio";
6
- import { styled as y } from "@mui/material/styles";
7
- const x = y(N, {
4
+ import n from "@mui/material/FormControlLabel";
5
+ import m from "@mui/material/Radio";
6
+ import { styled as $ } from "@mui/material/styles";
7
+ const j = $(N, {
8
8
  shouldForwardProp: (o) => o !== "justifyContent"
9
9
  })(({
10
10
  row: o,
@@ -22,51 +22,67 @@ const x = y(N, {
22
22
  marginLeft: 0,
23
23
  marginRight: 1.5
24
24
  }
25
- })), K = G(({
25
+ })), x = M(({
26
26
  id: o,
27
27
  value: l,
28
- defaultValue: n,
29
- disabled: i,
30
- options: s,
31
- orientation: e,
32
- labelPlacement: d,
33
- justifyContent: u,
34
- size: m,
35
- onChange: c,
36
- FormControlLabelComponent: p = P,
37
- formControlLabelProps: f = {},
38
- RadioComponent: h = $,
39
- radioProps: C = {},
28
+ defaultValue: s,
29
+ disabled: u,
30
+ options: e,
31
+ orientation: d,
32
+ labelPlacement: v,
33
+ justifyContent: C,
34
+ size: i,
35
+ onChange: p,
36
+ FormControlLabelComponent: c = n,
37
+ formControlLabelProps: f,
38
+ RadioComponent: b = m,
39
+ radioProps: h,
40
40
  ...g
41
- }, b) => {
41
+ }, P) => {
42
42
  const {
43
43
  vdtClassNames: R,
44
- // Ignore
44
+ // eslint-disable-next-line @typescript-eslint/naming-convention
45
45
  className: S,
46
- autoComplete: j,
46
+ // ignore as it adds styles we don't want
47
+ autoComplete: z,
47
48
  autoFocus: E,
48
49
  rows: _,
49
50
  type: k,
50
- ...v
51
+ ...L
51
52
  } = g;
52
- return /* @__PURE__ */ t(x, { ref: b, id: o, className: R, ...l !== void 0 ? {
53
+ return /* @__PURE__ */ t(j, { ref: P, id: o, className: R, ...l !== void 0 ? {
53
54
  value: l
54
55
  } : {
55
- defaultValue: n
56
- }, row: e === "horizontal", justifyContent: u, onChange: (a) => {
56
+ defaultValue: s
57
+ }, row: d === "horizontal", justifyContent: C, onChange: (a) => {
57
58
  var r;
58
- c(a, {
59
+ p(a, {
59
60
  value: (r = a == null ? void 0 : a.target) == null ? void 0 : r.value
60
61
  });
61
- }, ...v, children: s.map(({
62
+ }, ...L, children: e == null ? void 0 : e.map(({
62
63
  name: a,
63
64
  value: r,
64
- label: w,
65
- count: F,
66
- disabled: L,
67
- ...M
68
- }) => /* @__PURE__ */ t(p, { label: w, count: F, labelPlacement: d, orientation: e, size: m, control: /* @__PURE__ */ t(h, { id: `${o}-${a || r}`, value: r, disabled: L || i, size: m, ...M, ...C }), ...f }, `${o}-${r}`)) });
65
+ label: F,
66
+ count: w,
67
+ disabled: y,
68
+ ...G
69
+ }) => /* @__PURE__ */ t(c, { label: F, count: w, labelPlacement: v, orientation: d, size: i, control: /* @__PURE__ */ t(b, { id: `${o}-${a || r}`, value: r, disabled: y || u, size: i, ...G, ...h ?? {} }), ...f ?? {} }, `${o}-${r}`)) });
69
70
  });
71
+ x.defaultProps = {
72
+ value: void 0,
73
+ defaultValue: void 0,
74
+ disabled: void 0,
75
+ options: void 0,
76
+ orientation: void 0,
77
+ labelPlacement: void 0,
78
+ justifyContent: void 0,
79
+ size: void 0,
80
+ onChange: void 0,
81
+ FormControlLabelComponent: n,
82
+ formControlLabelProps: void 0,
83
+ RadioComponent: m,
84
+ radioProps: void 0
85
+ };
70
86
  export {
71
- K as default
87
+ x as default
72
88
  };
@@ -0,0 +1,3 @@
1
+ import Component from './RadioGroupInput';
2
+ declare const StyledComponent: typeof Component;
3
+ export default StyledComponent;
@@ -4,7 +4,7 @@ import m from "./RadioGroupInput.js";
4
4
  const o = "RadioGroupInput", t = `Vdt${o}`, p = n(t)(m), i = r(p, {
5
5
  name: t,
6
6
  overridesResolver: (s, e) => e.root
7
- })(() => ({}));
7
+ })({});
8
8
  i.displayName = o;
9
9
  export {
10
10
  i as default
@@ -0,0 +1,95 @@
1
+ /// <reference types="react" />
2
+ import { TextField as MuiTextField } from '@mui/material';
3
+ import VdtMenuItem from '../_components/MenuItem';
4
+ import type { WithOverrideProps } from '../../_types';
5
+ declare const StyledMuiTextField: typeof MuiTextField;
6
+ declare const defaultComponents: {
7
+ Root: typeof StyledMuiTextField;
8
+ MenuItem: typeof VdtMenuItem;
9
+ };
10
+ export interface SelectInputProps extends WithOverrideProps<typeof defaultComponents> {
11
+ /**
12
+ * Name for input (htmlFor attribute of InputLabel)
13
+ */
14
+ name?: string;
15
+ /**
16
+ * Label of input
17
+ */
18
+ label?: string;
19
+ /**
20
+ * Value of input (uncontrolled if unset)
21
+ */
22
+ value?: string | string[];
23
+ /**
24
+ * Default value of input component (use with uncontrolled)
25
+ */
26
+ defaultValue?: string | string[];
27
+ /**
28
+ * Options for input
29
+ */
30
+ options?: {
31
+ value: string;
32
+ label?: string;
33
+ count?: number;
34
+ }[];
35
+ /**
36
+ * Help text underneath input
37
+ */
38
+ helperText?: string;
39
+ /**
40
+ * An error message to display underneath input component
41
+ */
42
+ error?: string;
43
+ /**
44
+ * Set if required
45
+ */
46
+ required?: boolean;
47
+ /**
48
+ * Set if disabled
49
+ */
50
+ disabled?: boolean;
51
+ /**
52
+ * Set if input should be full width
53
+ */
54
+ fullWidth?: boolean;
55
+ /**
56
+ * Set if multiple options can be selected
57
+ */
58
+ multiple?: boolean;
59
+ /**
60
+ * Set variant of input
61
+ */
62
+ variant?: 'outlined' | 'filled' | 'standard';
63
+ /**
64
+ * Set size of input
65
+ */
66
+ size?: 'medium' | 'small';
67
+ /**
68
+ * Set placeholder for input
69
+ */
70
+ placeholder?: string;
71
+ /**
72
+ * Callback when value changed
73
+ */
74
+ onChange?: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, payload: {
75
+ value: string | string[];
76
+ }) => void;
77
+ /**
78
+ * Callback when input is blurred
79
+ */
80
+ onBlur?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
81
+ /**
82
+ * Callback when input is focused
83
+ */
84
+ onFocus?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
85
+ /**
86
+ * Callback when options are opened
87
+ */
88
+ onOpen?: (event: React.SyntheticEvent<Element, Event>) => void;
89
+ /**
90
+ * Callback when options are closed
91
+ */
92
+ onClose?: (event: React.SyntheticEvent<Element, Event>) => void;
93
+ }
94
+ declare const SelectInput: React.FC<SelectInputProps>;
95
+ export default SelectInput;