@hellobetterdigitalnz/betterui 0.0.3-23 → 0.0.3-231

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 (272) hide show
  1. package/dist/Components/BetterUIProvider/BetterUIContext.d.ts +3 -4
  2. package/dist/Components/DataDisplay/Accordion/AccordionItemProps.d.ts +2 -0
  3. package/dist/Components/DataDisplay/Badge/Badge.d.ts +1 -1
  4. package/dist/Components/DataDisplay/Badge/BadgeProps.d.ts +2 -1
  5. package/dist/Components/DataDisplay/Calendar/Calendar.d.ts +3 -0
  6. package/dist/Components/DataDisplay/Calendar/CalendarProps.d.ts +38 -0
  7. package/dist/Components/DataDisplay/Calendar/EventModal/EventModal.d.ts +8 -0
  8. package/dist/Components/DataDisplay/Calendar/Events/CalendarEvent.d.ts +3 -0
  9. package/dist/Components/DataDisplay/Calendar/Events/CalendarEventProps.d.ts +11 -0
  10. package/dist/Components/DataDisplay/Calendar/Events/MoreEvent/MoreEvent.d.ts +3 -0
  11. package/dist/Components/DataDisplay/Calendar/Events/MoreEvent/MoreEventProps.d.ts +4 -0
  12. package/dist/Components/DataDisplay/Calendar/Events/PrimaryIcon.d.ts +2 -0
  13. package/dist/Components/DataDisplay/Calendar/Events/SecondaryIcon.d.ts +2 -0
  14. package/dist/Components/DataDisplay/Calendar/MonthlyDayCell.d.ts +3 -0
  15. package/dist/Components/DataDisplay/Calendar/MonthlyDayCellProps.d.ts +8 -0
  16. package/dist/Components/DataDisplay/Calendar/Views/DayView/DayView.d.ts +3 -0
  17. package/dist/Components/DataDisplay/Calendar/Views/DayView/DayViewProps.d.ts +5 -0
  18. package/dist/Components/DataDisplay/Calendar/Views/MonthView/MonthView.d.ts +3 -0
  19. package/dist/Components/DataDisplay/Calendar/Views/WeekView/WeekView.d.ts +3 -0
  20. package/dist/Components/DataDisplay/Calendar/Views/WeekView/WeekViewProps.d.ts +5 -0
  21. package/dist/Components/DataDisplay/Cards/BannerCard/BannerCard.d.ts +1 -0
  22. package/dist/Components/DataDisplay/Cards/PathwayCard/PathwayCard.d.ts +1 -0
  23. package/dist/Components/DataDisplay/Modal/ModalHeaderProps.d.ts +1 -1
  24. package/dist/Components/DataDisplay/NotificationsPanel/NotificationProps.d.ts +1 -1
  25. package/dist/Components/DataDisplay/Tab/TabNavItemProps.d.ts +1 -0
  26. package/dist/Components/DataDisplay/Table/TableFooter.d.ts +2 -1
  27. package/dist/Components/DataDisplay/Table/TableFooterProps.d.ts +6 -0
  28. package/dist/Components/DataDisplay/Table/TableHeaderCellProps.d.ts +1 -0
  29. package/dist/Components/DataDisplay/index.d.ts +5 -3
  30. package/dist/Components/Form/Button/ButtonProps.d.ts +2 -0
  31. package/dist/Components/Form/Checkbox/CheckboxProps.d.ts +3 -2
  32. package/dist/Components/Form/CurrencyField/CurrencyFieldProps.d.ts +1 -0
  33. package/dist/Components/Form/DropdownBadge/DropdownBadgeItemProps.d.ts +1 -1
  34. package/dist/Components/Form/DropdownBadge/DropdownBadgeProps.d.ts +5 -3
  35. package/dist/Components/Form/DropdownBadge/DropdownBadgeSelector.d.ts +2 -1
  36. package/dist/Components/Form/DropdownBadge/DropdownBadgeSelectorProps.d.ts +3 -0
  37. package/dist/Components/Form/DropdownField/CountryDropdownField/CountryDropdownField.d.ts +3 -0
  38. package/dist/Components/Form/DropdownField/CountryDropdownField/CountryDropdownFieldProps.d.ts +28 -0
  39. package/dist/Components/Form/DropdownField/DropdownFieldItemProps.d.ts +2 -2
  40. package/dist/Components/Form/DropdownField/DropdownFieldProps.d.ts +5 -2
  41. package/dist/Components/Form/DropdownField/DropdownFieldSelector.d.ts +2 -1
  42. package/dist/Components/Form/DropdownField/DropdownFieldSelectorProps.d.ts +1 -0
  43. package/dist/Components/Form/FormFieldHolder/FormFieldHolderProps.d.ts +3 -1
  44. package/dist/Components/Form/IconButton/IconButtonProps.d.ts +1 -0
  45. package/dist/Components/Form/InputProps.d.ts +4 -1
  46. package/dist/Components/Form/LoadingInput/LoadingInput.d.ts +2 -0
  47. package/dist/Components/Form/MultiSelectField/MultiSelectField.d.ts +3 -8
  48. package/dist/Components/Form/MultiSelectField/MultiSelectFieldItem.d.ts +2 -10
  49. package/dist/Components/Form/MultiSelectField/MultiSelectFieldItemProps.d.ts +11 -0
  50. package/dist/Components/Form/MultiSelectField/MultiSelectFieldProps.d.ts +33 -0
  51. package/dist/Components/Form/MultiSelectField/MultiSelectFieldTag.d.ts +2 -9
  52. package/dist/Components/Form/MultiSelectField/MultiSelectFieldTagProps.d.ts +5 -0
  53. package/dist/Components/Form/NumberField/NumberField.d.ts +3 -0
  54. package/dist/Components/Form/NumberField/NumberField.stories.d.ts +13 -0
  55. package/dist/Components/Form/NumberField/NumberFieldProps.d.ts +7 -0
  56. package/dist/Components/Form/PhoneField/PhoneField.d.ts +3 -0
  57. package/dist/Components/Form/PhoneField/PhoneField.stories.d.ts +13 -0
  58. package/dist/Components/Form/RichTextEditor/RichTextEditor.d.ts +3 -0
  59. package/dist/Components/Form/RichTextEditor/RichTextEditor.stories.d.ts +18 -0
  60. package/dist/Components/Form/RichTextEditor/RichTextEditorProps.d.ts +23 -0
  61. package/dist/Components/Form/Textarea/TextareaProps.d.ts +1 -0
  62. package/dist/Components/Form/TypableDropdownField/TypableDropdownField.d.ts +3 -0
  63. package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldItem.d.ts +3 -0
  64. package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldItemProps.d.ts +7 -0
  65. package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldProps.d.ts +34 -0
  66. package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldSelector.d.ts +4 -0
  67. package/dist/Components/Form/TypableDropdownField/TypableDropdownFieldSelectorProps.d.ts +6 -0
  68. package/dist/Components/Form/UnitInput/UnitFieldProps.d.ts +1 -1
  69. package/dist/Components/Form/index.d.ts +15 -0
  70. package/dist/Components/Icons/Arrows/ArrowLeft/ArrowLeft.d.ts +3 -0
  71. package/dist/Components/Icons/Arrows/ArrowsDownUp/ArrowsDownUp.d.ts +3 -0
  72. package/dist/Components/Icons/Arrows/ArrowsOutCardinal/ArrowsOutCardinal.d.ts +3 -0
  73. package/dist/Components/Icons/Arrows/CaretUpDown/CaretUpDown.d.ts +3 -0
  74. package/dist/Components/Icons/Commerce/Scale/Scale.d.ts +3 -0
  75. package/dist/Components/Icons/Communication/EnvelopeSimple/EnvelopeSimple.d.ts +3 -0
  76. package/dist/Components/Icons/Communication/Export/Export.d.ts +3 -0
  77. package/dist/Components/Icons/Communication/Phone/Phone.d.ts +3 -0
  78. package/dist/Components/Icons/Communication/Translate/Translate.d.ts +3 -0
  79. package/dist/Components/Icons/Design/DropHalfBottom/DropHalfBottom.d.ts +3 -0
  80. package/dist/Components/Icons/Design/SquaresFour/SquaresFour.d.ts +3 -0
  81. package/dist/Components/Icons/HealthAndWellness/Barbell/Barbell.d.ts +3 -0
  82. package/dist/Components/Icons/MapAndTravel/House/House.d.ts +3 -0
  83. package/dist/Components/Icons/MapAndTravel/MapPin/MapPin.d.ts +3 -0
  84. package/dist/Components/Icons/MapAndTravel/MapTriFold/MapTriFold.d.ts +3 -0
  85. package/dist/Components/Icons/MapAndTravel/Path/Path.d.ts +3 -0
  86. package/dist/Components/Icons/MapAndTravel/RoadHorizon/RoadHorizon.d.ts +3 -0
  87. package/dist/Components/Icons/MapAndTravel/SteeringWheel/SteeringWheel.d.ts +3 -0
  88. package/dist/Components/Icons/MapAndTravel/SwimmingPool/SwimmingPool.d.ts +3 -0
  89. package/dist/Components/Icons/MapAndTravel/Tram/Tram.d.ts +3 -0
  90. package/dist/Components/Icons/MapAndTravel/Van/Van.d.ts +3 -0
  91. package/dist/Components/Icons/MathsAndFinance/Calculator/Calculator.d.ts +3 -0
  92. package/dist/Components/Icons/MathsAndFinance/ChartBarHorizontal/ChartBarHorizontal.d.ts +3 -0
  93. package/dist/Components/Icons/MathsAndFinance/ChartLine/ChartLine.d.ts +3 -0
  94. package/dist/Components/Icons/MathsAndFinance/ChartPie/ChartPie.d.ts +3 -0
  95. package/dist/Components/Icons/MathsAndFinance/Minus/Minus.d.ts +3 -0
  96. package/dist/Components/Icons/MathsAndFinance/PlusCircle/PlusCircle.d.ts +3 -0
  97. package/dist/Components/Icons/Media/Camera/Camera.d.ts +3 -0
  98. package/dist/Components/Icons/Media/PlayCircle/PlayCircle.d.ts +3 -0
  99. package/dist/Components/Icons/Media/SlidersHorizontal/SlidersHorizontal.d.ts +3 -0
  100. package/dist/Components/Icons/Media/StopCircle/StopCircle.d.ts +3 -0
  101. package/dist/Components/Icons/OfficeAndEditing/Copy/Copy.d.ts +3 -0
  102. package/dist/Components/Icons/OfficeAndEditing/Files/Files.d.ts +3 -0
  103. package/dist/Components/Icons/OfficeAndEditing/FloppyDisk/FloppyDisk.d.ts +3 -0
  104. package/dist/Components/Icons/OfficeAndEditing/List/List.d.ts +3 -0
  105. package/dist/Components/Icons/OfficeAndEditing/ListDashes/ListDashes.d.ts +3 -0
  106. package/dist/Components/Icons/OfficeAndEditing/Printer/Printer.d.ts +3 -0
  107. package/dist/Components/Icons/OfficeAndEditing/Trash/Trash.d.ts +3 -0
  108. package/dist/Components/Icons/OfficeAndEditing/TrashSimple/TrashSimple.d.ts +3 -0
  109. package/dist/Components/Icons/People/PersonSimpleBike/PersonSimpleBike.d.ts +3 -0
  110. package/dist/Components/Icons/People/PersonSimpleWalk/PersonSimpleWalk.d.ts +3 -0
  111. package/dist/Components/Icons/People/UserCircle/UserCircle.d.ts +3 -0
  112. package/dist/Components/Icons/People/UserSwitch/UserSwitch.d.ts +3 -0
  113. package/dist/Components/Icons/SecurityAndWarnings/Info/Info.d.ts +3 -0
  114. package/dist/Components/Icons/SecurityAndWarnings/Key/Key.d.ts +3 -0
  115. package/dist/Components/Icons/SecurityAndWarnings/LockKeyOpen/LockKeyOpen.d.ts +3 -0
  116. package/dist/Components/Icons/SecurityAndWarnings/LockSimple/LockSimple.d.ts +3 -0
  117. package/dist/Components/Icons/SecurityAndWarnings/Question/Question.d.ts +3 -0
  118. package/dist/Components/Icons/SystemAndDevice/Check/Check.d.ts +3 -0
  119. package/dist/Components/Icons/SystemAndDevice/DotsThree/DotsThree.d.ts +3 -0
  120. package/dist/Components/Icons/SystemAndDevice/DownloadSimple/DownloadSimple.d.ts +3 -0
  121. package/dist/Components/Icons/SystemAndDevice/SignIn/SignIn.d.ts +3 -0
  122. package/dist/Components/Icons/SystemAndDevice/SignOut/SignOut.d.ts +3 -0
  123. package/dist/Components/Icons/SystemAndDevice/ToggleLeft/ToggleLeft.d.ts +3 -0
  124. package/dist/Components/Icons/SystemAndDevice/ToggleRight/ToggleRight.d.ts +3 -0
  125. package/dist/Components/Icons/Time/Calendar/Calendar.d.ts +3 -0
  126. package/dist/Components/Icons/Time/CalendarCheck/CalendarCheck.d.ts +3 -0
  127. package/dist/Components/Icons/WeatherAndNature/Campfire/Campfire.d.ts +3 -0
  128. package/dist/Components/Icons/WeatherAndNature/CloudSun/CloudSun.d.ts +3 -0
  129. package/dist/Components/Icons/WeatherAndNature/Mountains/Mountains.d.ts +3 -0
  130. package/dist/Components/Icons/WeatherAndNature/Snowflake/Snowflake.d.ts +3 -0
  131. package/dist/Components/Icons/WeatherAndNature/Tree/Tree.d.ts +3 -0
  132. package/dist/Components/Icons/index.d.ts +62 -0
  133. package/dist/Components/Layout/CalloutPopup/CalloutPopupActionHolderProps.d.ts +4 -1
  134. package/dist/Components/Layout/Header/HeaderLeftProps.d.ts +2 -0
  135. package/dist/Components/Layout/Header/HeaderRightProps.d.ts +1 -0
  136. package/dist/Components/Layout/ProfileDropdown/ProfileNavigationItemProps.d.ts +1 -1
  137. package/dist/Components/Layout/Sidebar/SidebarChevronProps.d.ts +2 -1
  138. package/dist/Components/Layout/Sidebar/SidebarNavigationItemProps.d.ts +1 -0
  139. package/dist/Components/Layout/Sidebar/SidebarSubNavigation.d.ts +2 -2
  140. package/dist/Components/Layout/Sidebar/SidebarSubNavigationItemProps.d.ts +1 -0
  141. package/dist/Components/Layout/Sidebar/SidebarSubNavigationProps.d.ts +3 -0
  142. package/dist/image/logo-small.svg +4 -4
  143. package/dist/image/logo.svg +26 -26
  144. package/dist/index.cjs.js +21 -2
  145. package/dist/index.cjs.js.map +1 -1
  146. package/dist/index.es.js +9352 -2391
  147. package/dist/index.es.js.map +1 -1
  148. package/dist/lib/tinymce/icons/default/icons.min.js +1 -0
  149. package/dist/lib/tinymce/langs/README.md +3 -0
  150. package/dist/lib/tinymce/license.md +6 -0
  151. package/dist/lib/tinymce/models/dom/model.min.js +4 -0
  152. package/dist/lib/tinymce/plugins/accordion/plugin.min.js +4 -0
  153. package/dist/lib/tinymce/plugins/advlist/plugin.min.js +4 -0
  154. package/dist/lib/tinymce/plugins/anchor/plugin.min.js +4 -0
  155. package/dist/lib/tinymce/plugins/autolink/plugin.min.js +4 -0
  156. package/dist/lib/tinymce/plugins/autoresize/plugin.min.js +4 -0
  157. package/dist/lib/tinymce/plugins/autosave/plugin.min.js +4 -0
  158. package/dist/lib/tinymce/plugins/charmap/plugin.min.js +4 -0
  159. package/dist/lib/tinymce/plugins/code/plugin.min.js +4 -0
  160. package/dist/lib/tinymce/plugins/codesample/plugin.min.js +4 -0
  161. package/dist/lib/tinymce/plugins/directionality/plugin.min.js +4 -0
  162. package/dist/lib/tinymce/plugins/emoticons/js/emojiimages.js +1 -0
  163. package/dist/lib/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
  164. package/dist/lib/tinymce/plugins/emoticons/js/emojis.js +1 -0
  165. package/dist/lib/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
  166. package/dist/lib/tinymce/plugins/emoticons/plugin.min.js +4 -0
  167. package/dist/lib/tinymce/plugins/fullscreen/plugin.min.js +4 -0
  168. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
  169. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
  170. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
  171. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
  172. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
  173. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
  174. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
  175. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
  176. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
  177. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
  178. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
  179. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
  180. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
  181. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
  182. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
  183. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
  184. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
  185. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
  186. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
  187. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
  188. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
  189. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
  190. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
  191. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
  192. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
  193. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
  194. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
  195. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
  196. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
  197. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
  198. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
  199. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
  200. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
  201. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
  202. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
  203. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
  204. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
  205. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
  206. package/dist/lib/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
  207. package/dist/lib/tinymce/plugins/help/plugin.min.js +4 -0
  208. package/dist/lib/tinymce/plugins/image/plugin.min.js +4 -0
  209. package/dist/lib/tinymce/plugins/importcss/plugin.min.js +4 -0
  210. package/dist/lib/tinymce/plugins/insertdatetime/plugin.min.js +4 -0
  211. package/dist/lib/tinymce/plugins/link/plugin.min.js +4 -0
  212. package/dist/lib/tinymce/plugins/lists/plugin.min.js +4 -0
  213. package/dist/lib/tinymce/plugins/media/plugin.min.js +4 -0
  214. package/dist/lib/tinymce/plugins/nonbreaking/plugin.min.js +4 -0
  215. package/dist/lib/tinymce/plugins/pagebreak/plugin.min.js +4 -0
  216. package/dist/lib/tinymce/plugins/preview/plugin.min.js +4 -0
  217. package/dist/lib/tinymce/plugins/quickbars/plugin.min.js +4 -0
  218. package/dist/lib/tinymce/plugins/save/plugin.min.js +4 -0
  219. package/dist/lib/tinymce/plugins/searchreplace/plugin.min.js +4 -0
  220. package/dist/lib/tinymce/plugins/table/plugin.min.js +4 -0
  221. package/dist/lib/tinymce/plugins/visualblocks/plugin.min.js +4 -0
  222. package/dist/lib/tinymce/plugins/visualchars/plugin.min.js +4 -0
  223. package/dist/lib/tinymce/plugins/wordcount/plugin.min.js +4 -0
  224. package/dist/lib/tinymce/skins/content/dark/content.js +2 -0
  225. package/dist/lib/tinymce/skins/content/dark/content.min.css +1 -0
  226. package/dist/lib/tinymce/skins/content/default/content.js +2 -0
  227. package/dist/lib/tinymce/skins/content/default/content.min.css +1 -0
  228. package/dist/lib/tinymce/skins/content/document/content.js +2 -0
  229. package/dist/lib/tinymce/skins/content/document/content.min.css +1 -0
  230. package/dist/lib/tinymce/skins/content/tinymce-5/content.js +2 -0
  231. package/dist/lib/tinymce/skins/content/tinymce-5/content.min.css +1 -0
  232. package/dist/lib/tinymce/skins/content/tinymce-5-dark/content.js +2 -0
  233. package/dist/lib/tinymce/skins/content/tinymce-5-dark/content.min.css +1 -0
  234. package/dist/lib/tinymce/skins/content/writer/content.js +2 -0
  235. package/dist/lib/tinymce/skins/content/writer/content.min.css +1 -0
  236. package/dist/lib/tinymce/skins/ui/oxide/content.inline.js +2 -0
  237. package/dist/lib/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
  238. package/dist/lib/tinymce/skins/ui/oxide/content.js +2 -0
  239. package/dist/lib/tinymce/skins/ui/oxide/content.min.css +1 -0
  240. package/dist/lib/tinymce/skins/ui/oxide/skin.js +2 -0
  241. package/dist/lib/tinymce/skins/ui/oxide/skin.min.css +1 -0
  242. package/dist/lib/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
  243. package/dist/lib/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  244. package/dist/lib/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
  245. package/dist/lib/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
  246. package/dist/lib/tinymce/skins/ui/oxide-dark/content.js +2 -0
  247. package/dist/lib/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
  248. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.js +2 -0
  249. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
  250. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  251. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  252. package/dist/lib/tinymce/skins/ui/tinymce-5/content.inline.js +2 -0
  253. package/dist/lib/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -0
  254. package/dist/lib/tinymce/skins/ui/tinymce-5/content.js +2 -0
  255. package/dist/lib/tinymce/skins/ui/tinymce-5/content.min.css +1 -0
  256. package/dist/lib/tinymce/skins/ui/tinymce-5/skin.js +2 -0
  257. package/dist/lib/tinymce/skins/ui/tinymce-5/skin.min.css +1 -0
  258. package/dist/lib/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
  259. package/dist/lib/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
  260. package/dist/lib/tinymce/skins/ui/tinymce-5-dark/content.inline.js +2 -0
  261. package/dist/lib/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
  262. package/dist/lib/tinymce/skins/ui/tinymce-5-dark/content.js +2 -0
  263. package/dist/lib/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -0
  264. package/dist/lib/tinymce/skins/ui/tinymce-5-dark/skin.js +2 -0
  265. package/dist/lib/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -0
  266. package/dist/lib/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
  267. package/dist/lib/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
  268. package/dist/lib/tinymce/themes/silver/theme.min.js +4 -0
  269. package/dist/lib/tinymce/tinymce.d.ts +3250 -0
  270. package/dist/lib/tinymce/tinymce.min.js +4 -0
  271. package/dist/style.css +1 -1
  272. package/package.json +17 -13
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
1
+ import { ReactNode } from "react";
2
2
  interface BetterUIContextType {
3
- curtain: boolean;
4
- modal?: React.ReactNode;
3
+ modalStack: ReactNode[];
5
4
  openModal: (modal: React.ReactNode) => void;
6
5
  closeModal: () => void;
7
- setCurtain: (value: boolean) => void;
6
+ closeAllModals: () => void;
8
7
  }
9
8
  declare const BetterUIContext: import("react").Context<BetterUIContextType>;
10
9
  export default BetterUIContext;
@@ -7,5 +7,7 @@ interface AccordionItemProps {
7
7
  onAfterClosed?: () => void;
8
8
  onBeforeClosed?: () => boolean;
9
9
  extraClass?: string;
10
+ accordionClass?: string;
11
+ icon?: ReactNode;
10
12
  }
11
13
  export default AccordionItemProps;
@@ -1,3 +1,3 @@
1
- import BadgeProps from "./BadgeProps.tsx";
1
+ import BadgeProps from "./BadgeProps";
2
2
  declare const Badge: (props: BadgeProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Badge;
@@ -1,5 +1,6 @@
1
1
  interface BadgeProps {
2
- status?: "pending" | "inProgress" | "complete";
2
+ status?: "pending" | "inProgress" | "complete" | 'draft' | "custom";
3
3
  label: string;
4
+ onClick?: () => void;
4
5
  }
5
6
  export default BadgeProps;
@@ -0,0 +1,3 @@
1
+ import CalendarProps from "./CalendarProps.tsx";
2
+ declare const Calendar: (props: CalendarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Calendar;
@@ -0,0 +1,38 @@
1
+ interface NameValueInterface {
2
+ label: string;
3
+ type?: "primary" | "secondary" | undefined;
4
+ color?: string;
5
+ startTime?: any;
6
+ timeDuration?: number;
7
+ content?: {
8
+ __html: any;
9
+ } | {
10
+ __jsx: any;
11
+ } | {
12
+ __tsx: any;
13
+ };
14
+ bufferTime?: {
15
+ preBuffer: number;
16
+ postBuffer: number;
17
+ };
18
+ }
19
+ interface NameValueHolidayInterface {
20
+ label: string;
21
+ startDate?: any;
22
+ endDate?: any;
23
+ }
24
+ interface CalendarProps {
25
+ startOfWeekOn?: "Monday" | "Sunday";
26
+ events: NameValueInterface[] | any;
27
+ holidays?: NameValueHolidayInterface[] | any;
28
+ currentDate?: any;
29
+ showPrepTime?: boolean;
30
+ viewChangeAction?: boolean;
31
+ calendarViewActive?: boolean;
32
+ listViewActive?: boolean;
33
+ calendarActionOnclick?: () => void;
34
+ listActionOnclick?: () => void;
35
+ }
36
+ export type { NameValueInterface };
37
+ export type { NameValueHolidayInterface };
38
+ export default CalendarProps;
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from "react";
2
+ import './eventModal.scss';
3
+ interface EventModalProps {
4
+ title?: string;
5
+ children?: ReactNode;
6
+ }
7
+ declare const EventModal: (props: EventModalProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default EventModal;
@@ -0,0 +1,3 @@
1
+ import CalendarEventProps from "./CalendarEventProps.tsx";
2
+ declare const CalendarEvent: (props: CalendarEventProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CalendarEvent;
@@ -0,0 +1,11 @@
1
+ interface CalendarEventProps {
2
+ key?: any;
3
+ type?: "primary" | "secondary";
4
+ label: string;
5
+ content?: {
6
+ __html: any;
7
+ };
8
+ timeDuration?: string;
9
+ color?: string;
10
+ }
11
+ export default CalendarEventProps;
@@ -0,0 +1,3 @@
1
+ import MoreEventProps from "./MoreEventProps.tsx";
2
+ declare const MoreEvent: (props: MoreEventProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MoreEvent;
@@ -0,0 +1,4 @@
1
+ interface MoreEventProps {
2
+ count?: number;
3
+ }
4
+ export default MoreEventProps;
@@ -0,0 +1,2 @@
1
+ declare const PrimaryIcon: () => import("react/jsx-runtime").JSX.Element;
2
+ export default PrimaryIcon;
@@ -0,0 +1,2 @@
1
+ declare const SecondaryIcon: () => import("react/jsx-runtime").JSX.Element;
2
+ export default SecondaryIcon;
@@ -0,0 +1,3 @@
1
+ import MonthlyDayCellProps from "./MonthlyDayCellProps.tsx";
2
+ declare const MonthlyDayCell: (props: MonthlyDayCellProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MonthlyDayCell;
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from "react";
2
+ interface MonthlyDayCellProps {
3
+ children?: ReactNode;
4
+ className?: string;
5
+ id?: any;
6
+ onClick?: () => void;
7
+ }
8
+ export default MonthlyDayCellProps;
@@ -0,0 +1,3 @@
1
+ import DayViewProps from "./DayViewProps.tsx";
2
+ declare const DayView: ({ date, events, holidays, showPrepTime }: DayViewProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DayView;
@@ -0,0 +1,5 @@
1
+ import CalendarProps from "../../CalendarProps.tsx";
2
+ interface DayViewProps extends Omit<CalendarProps, 'calendarActionOnclick' | 'listActionOnclick'> {
3
+ date: Date;
4
+ }
5
+ export default DayViewProps;
@@ -0,0 +1,3 @@
1
+ import CalendarProps from "../../CalendarProps.tsx";
2
+ declare const MonthView: (props: CalendarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MonthView;
@@ -0,0 +1,3 @@
1
+ import WeekViewProps from "./WeekViewProps.tsx";
2
+ declare const WeekView: ({ events, date, startOfWeekOn, showPrepTime }: WeekViewProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default WeekView;
@@ -0,0 +1,5 @@
1
+ import CalendarProps from "../../CalendarProps.tsx";
2
+ interface WeekViewProps extends Omit<CalendarProps, 'calendarActionOnclick' | 'listActionOnclick'> {
3
+ date: Date;
4
+ }
5
+ export default WeekViewProps;
@@ -1,3 +1,4 @@
1
1
  import BannerCardInterface from "./BannerCardInterface.tsx";
2
+ import './banner-card.scss';
2
3
  declare const BannerCard: (props: BannerCardInterface) => import("react/jsx-runtime").JSX.Element;
3
4
  export default BannerCard;
@@ -1,3 +1,4 @@
1
1
  import PathwayCardProps from "./PathwayCardProps";
2
+ import './pathway-card.scss';
2
3
  declare const PathwayCard: (props: PathwayCardProps) => import("react/jsx-runtime").JSX.Element;
3
4
  export default PathwayCard;
@@ -3,7 +3,7 @@ interface ModalHeaderProps {
3
3
  extraClass?: string;
4
4
  canClose?: boolean;
5
5
  canGoBack?: boolean;
6
- closeOnclick?: () => void;
6
+ closeOnclick?: (e: any) => void;
7
7
  canGoBackOnclick?: () => void;
8
8
  }
9
9
  export default ModalHeaderProps;
@@ -4,7 +4,7 @@ interface NotificationProps {
4
4
  boldText?: string;
5
5
  regularText?: string;
6
6
  summaryText?: string;
7
- notificatonItemOnClick?: () => void;
7
+ notificationItemOnClick?: () => void;
8
8
  closeOnClick?: () => void;
9
9
  }
10
10
  export default NotificationProps;
@@ -1,5 +1,6 @@
1
1
  interface TabNavItemProps {
2
2
  title: string;
3
+ bilingualTitle?: string;
3
4
  tabIndex: any;
4
5
  onBeforeOpen?: Function;
5
6
  onAfterOpened?: Function;
@@ -1,2 +1,3 @@
1
- declare const TableFooter: () => void;
1
+ import TableFooterProps from "./TableFooterProps.tsx";
2
+ declare const TableFooter: (props: TableFooterProps) => import("react/jsx-runtime").JSX.Element;
2
3
  export default TableFooter;
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from "react";
2
+ interface TableFooterProps {
3
+ children: ReactNode;
4
+ extraClass?: string;
5
+ }
6
+ export default TableFooterProps;
@@ -4,5 +4,6 @@ interface TableHeaderCellProps {
4
4
  extraClass?: string;
5
5
  rowspan?: number;
6
6
  colspan?: number;
7
+ onClick?: () => void;
7
8
  }
8
9
  export default TableHeaderCellProps;
@@ -32,10 +32,10 @@ export type { default as NotificationsBellProps } from './NotificationsBell/Noti
32
32
  export { default as Notification } from './NotificationsPanel/Notification';
33
33
  export { default as NotificationsGroup } from './NotificationsPanel/NotificationsGroup';
34
34
  export { default as NotificationsGroups } from './NotificationsPanel/NotificationsGroups';
35
+ export { default as NotificationsPanel } from './NotificationsPanel/NotificationsPanel';
36
+ export { default as NotificationsHeader } from './NotificationsPanel/NotificationsHeader';
37
+ export { default as NotificationsNone } from './NotificationsPanel/NotificationsNone';
35
38
  export type { default as NotificationProps } from './NotificationsPanel/NotificationProps';
36
- export type { default as NotificationsHeader } from './NotificationsPanel/NotificationsHeader';
37
- export type { default as NotificationsNone } from './NotificationsPanel/NotificationsNone';
38
- export type { default as NotificationsPanel } from './NotificationsPanel/NotificationsPanel';
39
39
  export type { default as NotificationsGroupProps } from './NotificationsPanel/NotificationsGroupProps';
40
40
  export type { default as NotificationsGroupsProps } from './NotificationsPanel/NotificationsGroupsProps';
41
41
  export type { default as NotificationsHeaderProps } from './NotificationsPanel/NotificationsHeaderProps';
@@ -71,3 +71,5 @@ export type { default as TableHeaderCellProps } from './Table/TableHeaderCellPro
71
71
  export type { default as TableHeadProps } from './Table/TableHeadProps';
72
72
  export type { default as TableProps } from './Table/TableProps';
73
73
  export type { default as TableRowProps } from './Table/TableRowProps';
74
+ export { default as CalendarView } from './Calendar/Calendar.tsx';
75
+ export type { default as CalendarProps } from './Calendar/CalendarProps.tsx';
@@ -7,6 +7,8 @@ interface ButtonProps {
7
7
  disabled?: boolean;
8
8
  primaryIcon?: ReactNode;
9
9
  secondaryIcon?: ReactNode;
10
+ loading?: boolean;
11
+ bilingualTitle?: string;
10
12
  label: string;
11
13
  onClick?: () => void;
12
14
  onHover?: () => void;
@@ -1,4 +1,4 @@
1
- import { FocusEvent, MouseEvent } from "react";
1
+ import { ChangeEvent, FocusEvent, MouseEvent } from "react";
2
2
  interface CheckboxProps {
3
3
  label?: string;
4
4
  name?: string;
@@ -14,7 +14,8 @@ interface CheckboxProps {
14
14
  ariaLabel?: string;
15
15
  ariaLabeledby?: string;
16
16
  ariaDescribedby?: string;
17
- onChange?: (e: MouseEvent, checked?: boolean) => void;
17
+ onClick?: (e: MouseEvent, checked?: boolean) => void;
18
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
18
19
  onFocus?: (e: FocusEvent) => void;
19
20
  onBlur?: (e: FocusEvent) => void;
20
21
  }
@@ -2,5 +2,6 @@ import { ReactNode } from "react";
2
2
  import InputProps from "../InputProps";
3
3
  interface CurrencyFieldProps extends InputProps {
4
4
  currencyIcon?: ReactNode;
5
+ value?: string | number | any;
5
6
  }
6
7
  export default CurrencyFieldProps;
@@ -2,7 +2,7 @@ import { MouseEvent } from "react";
2
2
  interface DropdownBadgeItemProps {
3
3
  label: string;
4
4
  value: string | number;
5
- status?: "pending" | "inProgress" | "complete";
5
+ status?: "draft" | "pending" | "inProgress" | "complete" | "custom";
6
6
  handleSelect: (e: MouseEvent, value: string | number) => void;
7
7
  }
8
8
  export default DropdownBadgeItemProps;
@@ -1,7 +1,7 @@
1
1
  import { MouseEvent, FocusEvent } from "react";
2
2
  interface BadgeNameValueInterface {
3
3
  label: string;
4
- status?: "pending" | "inProgress" | "complete" | undefined;
4
+ status?: "draft" | "pending" | "inProgress" | "complete" | "custom" | undefined;
5
5
  value: string | number;
6
6
  }
7
7
  interface DropdownBadgeProps {
@@ -9,8 +9,10 @@ interface DropdownBadgeProps {
9
9
  id?: string;
10
10
  value?: string;
11
11
  options: (BadgeNameValueInterface | string)[];
12
- status?: "pending" | "inProgress" | "complete" | undefined;
12
+ status?: "draft" | "pending" | "inProgress" | "complete" | "custom" | undefined;
13
+ lock?: boolean;
13
14
  extraClass?: string;
15
+ extraClassDropdown?: string;
14
16
  disabled?: boolean;
15
17
  readonly?: boolean;
16
18
  autoComplete?: boolean;
@@ -19,7 +21,7 @@ interface DropdownBadgeProps {
19
21
  ariaLabeledby?: string;
20
22
  ariaDescribedby?: string;
21
23
  onClick?: (e: MouseEvent) => void;
22
- onChange?: (e: MouseEvent) => void;
24
+ onChange?: (e: React.MouseEvent, value: string | number) => void;
23
25
  onFocus?: (e: FocusEvent) => void;
24
26
  onBlur?: (e: FocusEvent) => void;
25
27
  }
@@ -1,3 +1,4 @@
1
1
  import DropdownBadgeSelectorProps from "./DropdownBadgeSelectorProps";
2
- declare const DropdownBadgeSelector: (props: DropdownBadgeSelectorProps) => import("react/jsx-runtime").JSX.Element;
2
+ import React from "react";
3
+ declare const DropdownBadgeSelector: React.ForwardRefExoticComponent<Omit<DropdownBadgeSelectorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
4
  export default DropdownBadgeSelector;
@@ -1,5 +1,8 @@
1
1
  import { ReactNode } from "react";
2
2
  interface DropdownBadgeSelectorProps {
3
3
  children: ReactNode;
4
+ extraClassDropdown?: string;
5
+ style?: any;
6
+ ref?: React.Ref<any>;
4
7
  }
5
8
  export default DropdownBadgeSelectorProps;
@@ -0,0 +1,3 @@
1
+ import CountryDropdownFieldProps from "./CountryDropdownFieldProps.tsx";
2
+ declare const CountryDropdownField: (props: CountryDropdownFieldProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CountryDropdownField;
@@ -0,0 +1,28 @@
1
+ import { FocusEvent, MouseEvent } from "react";
2
+ interface CountryDropdownFieldProps {
3
+ name?: string;
4
+ id?: string;
5
+ value?: string;
6
+ extraClass?: string;
7
+ placeholder?: string;
8
+ emptyString?: string;
9
+ commentInDropdown?: string;
10
+ error?: boolean;
11
+ disabled?: boolean;
12
+ readonly?: boolean;
13
+ autoComplete?: boolean;
14
+ minLength?: number;
15
+ maxLength?: number;
16
+ required?: boolean;
17
+ ariaLabel?: string;
18
+ ariaLabeledby?: string;
19
+ ariaDescribedby?: string;
20
+ onClick?: (e: MouseEvent) => void;
21
+ onChange?: (e: React.MouseEvent, value: string | number | undefined | null | boolean) => void;
22
+ onFocus?: (e: FocusEvent) => void;
23
+ onBlur?: (e: FocusEvent) => void;
24
+ loading?: boolean;
25
+ allows?: string[];
26
+ denys?: string[];
27
+ }
28
+ export default CountryDropdownFieldProps;
@@ -1,7 +1,7 @@
1
1
  import { MouseEvent } from "react";
2
2
  interface DropdownFieldItemProps {
3
3
  label: string;
4
- value: string | number;
5
- handleSelect: (e: MouseEvent, value: string | number) => void;
4
+ value: string | number | undefined | null | boolean;
5
+ handleSelect: (e: MouseEvent, value: string | number | undefined | null | boolean) => void;
6
6
  }
7
7
  export default DropdownFieldItemProps;
@@ -1,7 +1,7 @@
1
1
  import { MouseEvent, FocusEvent } from "react";
2
2
  interface NameValueInterface {
3
3
  label: string;
4
- value: string | number;
4
+ value: string | number | undefined | null | boolean;
5
5
  }
6
6
  interface DropdownFieldProps {
7
7
  name?: string;
@@ -10,6 +10,8 @@ interface DropdownFieldProps {
10
10
  options: NameValueInterface[] | string[];
11
11
  extraClass?: string;
12
12
  placeholder?: string;
13
+ emptyString?: string;
14
+ commentInDropdown?: string;
13
15
  error?: boolean;
14
16
  disabled?: boolean;
15
17
  readonly?: boolean;
@@ -21,9 +23,10 @@ interface DropdownFieldProps {
21
23
  ariaLabeledby?: string;
22
24
  ariaDescribedby?: string;
23
25
  onClick?: (e: MouseEvent) => void;
24
- onChange?: (e: MouseEvent) => void;
26
+ onChange?: (e: React.MouseEvent, value: string | number | undefined | null | boolean) => void;
25
27
  onFocus?: (e: FocusEvent) => void;
26
28
  onBlur?: (e: FocusEvent) => void;
29
+ loading?: boolean;
27
30
  }
28
31
  export type { NameValueInterface };
29
32
  export default DropdownFieldProps;
@@ -1,3 +1,4 @@
1
1
  import DropdownFieldSelectorProps from "./DropdownFieldSelectorProps";
2
- declare const DropdownFieldSelector: (props: DropdownFieldSelectorProps) => import("react/jsx-runtime").JSX.Element;
2
+ import React from "react";
3
+ declare const DropdownFieldSelector: React.ForwardRefExoticComponent<DropdownFieldSelectorProps & React.RefAttributes<HTMLDivElement>>;
3
4
  export default DropdownFieldSelector;
@@ -1,5 +1,6 @@
1
1
  import { ReactNode } from "react";
2
2
  interface DropdownFieldSelectorProps {
3
3
  children: ReactNode;
4
+ style?: any;
4
5
  }
5
6
  export default DropdownFieldSelectorProps;
@@ -1,10 +1,12 @@
1
1
  import { ReactNode } from "react";
2
2
  interface FormFieldHolderProps {
3
- label?: string;
3
+ label?: string | any;
4
+ bilingualLabel?: string;
4
5
  description?: string | ReactNode;
5
6
  extraClass?: string;
6
7
  error?: boolean;
7
8
  children: ReactNode;
8
9
  icon?: ReactNode;
10
+ require?: boolean;
9
11
  }
10
12
  export default FormFieldHolderProps;
@@ -6,6 +6,7 @@ interface IconButtonProps {
6
6
  scheme?: "primary" | "secondary" | "gray";
7
7
  disabled?: boolean;
8
8
  icon?: ReactNode;
9
+ loading?: boolean;
9
10
  onClick?: () => void;
10
11
  onHover?: () => void;
11
12
  onFocus?: () => void;
@@ -2,7 +2,7 @@ import { FocusEvent, ChangeEvent, MouseEvent } from "react";
2
2
  interface InputProps {
3
3
  name?: string;
4
4
  id?: string;
5
- value?: string;
5
+ value?: string | number | bigint | any;
6
6
  extraClass?: string;
7
7
  placeholder?: string;
8
8
  error?: boolean;
@@ -11,6 +11,8 @@ interface InputProps {
11
11
  autoComplete?: boolean;
12
12
  required?: boolean;
13
13
  ariaLabel?: string;
14
+ min?: string;
15
+ max?: string;
14
16
  minLength?: number;
15
17
  maxLength?: number;
16
18
  ariaLabeledby?: string;
@@ -19,5 +21,6 @@ interface InputProps {
19
21
  onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
20
22
  onFocus?: (e: FocusEvent) => void;
21
23
  onBlur?: (e: FocusEvent) => void;
24
+ loading?: boolean;
22
25
  }
23
26
  export default InputProps;
@@ -0,0 +1,2 @@
1
+ declare const LoadingInput: () => import("react/jsx-runtime").JSX.Element;
2
+ export default LoadingInput;
@@ -1,9 +1,4 @@
1
- import React from 'react';
2
- interface Item {
3
- id: number;
4
- label: string;
5
- }
6
- declare const MultiSelectField: React.FC<{
7
- options: Item[];
8
- }>;
1
+ import React from "react";
2
+ import MultiSelectFieldProps from "./MultiSelectFieldProps";
3
+ declare const MultiSelectField: React.FC<MultiSelectFieldProps>;
9
4
  export default MultiSelectField;
@@ -1,11 +1,3 @@
1
- import React from 'react';
2
- interface MultiSelectFieldItemProps {
3
- item: {
4
- id: number;
5
- label: string;
6
- };
7
- onClick: () => void;
8
- isSelected: boolean;
9
- }
10
- declare const MultiSelectFieldItem: React.FC<MultiSelectFieldItemProps>;
1
+ import MultiSelectFieldItemProps from "./MultiSelectFieldItemProps.tsx";
2
+ declare const MultiSelectFieldItem: (props: MultiSelectFieldItemProps) => import("react/jsx-runtime").JSX.Element;
11
3
  export default MultiSelectFieldItem;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface MultiSelectFieldItemProps {
3
+ id?: number | string | undefined;
4
+ label?: string;
5
+ value?: string | number;
6
+ handleSelect: (e: React.MouseEvent, value: string | number | undefined) => void;
7
+ onMouseEnter?: () => void;
8
+ isSelected?: boolean;
9
+ isHighlighted?: boolean;
10
+ }
11
+ export default MultiSelectFieldItemProps;
@@ -0,0 +1,33 @@
1
+ import { MouseEvent, FocusEvent } from "react";
2
+ interface SelectOption {
3
+ label: string | any;
4
+ value: string | number | any;
5
+ }
6
+ interface MultiSelectFieldProps {
7
+ name?: string;
8
+ id?: string;
9
+ value?: SelectOption[];
10
+ options: SelectOption[];
11
+ extraClass?: string;
12
+ placeholder?: string;
13
+ error?: boolean;
14
+ disabled?: boolean;
15
+ readonly?: boolean;
16
+ autoComplete?: boolean;
17
+ minLength?: number;
18
+ maxLength?: number;
19
+ required?: boolean;
20
+ ariaLabel?: string;
21
+ ariaLabeledby?: string;
22
+ creatable?: boolean;
23
+ onCreateNew?: (option: string | number, e: any) => void;
24
+ ariaDescribedby?: string;
25
+ onClick?: (e: MouseEvent, value?: SelectOption[]) => void;
26
+ onChange: (value: SelectOption[]) => void;
27
+ onFocus?: (e: FocusEvent) => void;
28
+ onBlur?: (e: FocusEvent) => void;
29
+ onSearch?: (keywords: any) => void;
30
+ loading?: boolean;
31
+ }
32
+ export type { SelectOption };
33
+ export default MultiSelectFieldProps;
@@ -1,10 +1,3 @@
1
- import React from 'react';
2
- interface MultiSelectFieldTagProps {
3
- item: {
4
- id: number;
5
- label: string;
6
- };
7
- onRemove: () => void;
8
- }
9
- declare const MultiSelectFieldTag: React.FC<MultiSelectFieldTagProps>;
1
+ import MultiSelectFieldTagProps from "./MultiSelectFieldTagProps.tsx";
2
+ declare const MultiSelectFieldTag: (props: MultiSelectFieldTagProps) => import("react/jsx-runtime").JSX.Element;
10
3
  export default MultiSelectFieldTag;
@@ -0,0 +1,5 @@
1
+ interface MultiSelectFieldTagProps {
2
+ label: string;
3
+ onRemove: (e: any) => void;
4
+ }
5
+ export default MultiSelectFieldTagProps;
@@ -0,0 +1,3 @@
1
+ import NumberFieldProps from "./NumberFieldProps.tsx";
2
+ declare const NumberField: (props: NumberFieldProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default NumberField;
@@ -0,0 +1,13 @@
1
+ import type { StoryObj } from "@storybook/react";
2
+ import NumberField from "././NumberField.tsx";
3
+ declare const meta: {
4
+ title: string;
5
+ component: (props: import("./NumberFieldProps.tsx").default) => import("react/jsx-runtime").JSX.Element;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ tags: string[];
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof NumberField>;
13
+ export declare const Example: Story;
@@ -0,0 +1,7 @@
1
+ import InputProps from "../../Form/InputProps";
2
+ interface NumberFieldProps extends InputProps {
3
+ numberValue?: number | string | any | undefined;
4
+ preventScrolling?: boolean;
5
+ formatter?: boolean;
6
+ }
7
+ export default NumberFieldProps;
@@ -0,0 +1,3 @@
1
+ import inputProps from "../InputProps.tsx";
2
+ declare const PhoneField: (props: inputProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PhoneField;