@bloomreach/react-banana-ui 1.8.5 → 1.9.1

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 (333) hide show
  1. package/dist/bloomreach-react-banana-ui.es.js +1973 -1876
  2. package/dist/bloomreach-react-banana-ui.es.js.map +1 -1
  3. package/dist/bloomreach-react-banana-ui.umd.js +12 -12
  4. package/dist/bloomreach-react-banana-ui.umd.js.map +1 -1
  5. package/dist/components/buttons/button/button.d.ts +2 -57
  6. package/dist/components/buttons/button/button.types.d.ts +57 -0
  7. package/dist/components/buttons/button/index.d.ts +1 -1
  8. package/dist/components/buttons/button-group/button-group.d.ts +2 -22
  9. package/dist/components/buttons/button-group/button-group.types.d.ts +22 -0
  10. package/dist/components/buttons/button-group/index.d.ts +1 -1
  11. package/dist/components/buttons/toggle-button/index.d.ts +1 -1
  12. package/dist/components/buttons/toggle-button/toggle-button.d.ts +2 -30
  13. package/dist/components/buttons/toggle-button/toggle-button.types.d.ts +30 -0
  14. package/dist/components/buttons/toggle-button-group/index.d.ts +1 -1
  15. package/dist/components/buttons/toggle-button-group/toggle-button-group.d.ts +2 -34
  16. package/dist/components/buttons/toggle-button-group/toggle-button-group.types.d.ts +35 -0
  17. package/dist/components/feedback/alert/alert-title.d.ts +2 -11
  18. package/dist/components/feedback/alert/alert.d.ts +2 -39
  19. package/dist/components/feedback/alert/alert.types.d.ts +49 -0
  20. package/dist/components/feedback/alert/index.d.ts +1 -2
  21. package/dist/components/foundations/icon/deprecated/NextStepIcon.d.ts +1 -1
  22. package/dist/components/foundations/icon/deprecated/SortAscIcon.d.ts +1 -1
  23. package/dist/components/foundations/icon/deprecated/SortDescIcon.d.ts +1 -1
  24. package/dist/components/foundations/icon/deprecated/SortInactiveIcon.d.ts +1 -1
  25. package/dist/components/foundations/icon/icon.d.ts +2 -17
  26. package/dist/components/foundations/icon/icon.types.d.ts +17 -0
  27. package/dist/components/foundations/icon/icons/AbTestIcon.d.ts +1 -1
  28. package/dist/components/foundations/icon/icons/AggregateIcon.d.ts +1 -1
  29. package/dist/components/foundations/icon/icons/AnalyticsIcon.d.ts +1 -1
  30. package/dist/components/foundations/icon/icons/AndroidIcon.d.ts +1 -1
  31. package/dist/components/foundations/icon/icons/AnonymizeIcon.d.ts +1 -1
  32. package/dist/components/foundations/icon/icons/AppleIcon.d.ts +1 -1
  33. package/dist/components/foundations/icon/icons/ArchiveAltIcon.d.ts +1 -1
  34. package/dist/components/foundations/icon/icons/ArchiveIcon.d.ts +1 -1
  35. package/dist/components/foundations/icon/icons/ArrowCollapseIcon.d.ts +1 -1
  36. package/dist/components/foundations/icon/icons/ArrowDownIcon.d.ts +1 -1
  37. package/dist/components/foundations/icon/icons/ArrowExpandIcon.d.ts +1 -1
  38. package/dist/components/foundations/icon/icons/ArrowKeyboardNextIcon.d.ts +1 -1
  39. package/dist/components/foundations/icon/icons/ArrowKeyboardPreviousIcon.d.ts +1 -1
  40. package/dist/components/foundations/icon/icons/ArrowKeyboardUpIcon.d.ts +1 -1
  41. package/dist/components/foundations/icon/icons/ArrowLeftIcon.d.ts +1 -1
  42. package/dist/components/foundations/icon/icons/ArrowRightIcon.d.ts +1 -1
  43. package/dist/components/foundations/icon/icons/ArrowUpIcon.d.ts +1 -1
  44. package/dist/components/foundations/icon/icons/AttributeSlotIcon.d.ts +1 -1
  45. package/dist/components/foundations/icon/icons/AxisIcon.d.ts +1 -1
  46. package/dist/components/foundations/icon/icons/AxisLimtIcon.d.ts +1 -1
  47. package/dist/components/foundations/icon/icons/BarChartIcon.d.ts +1 -1
  48. package/dist/components/foundations/icon/icons/BooleanIcon.d.ts +1 -1
  49. package/dist/components/foundations/icon/icons/BoostIcon.d.ts +1 -1
  50. package/dist/components/foundations/icon/icons/BracketsCancelIcon.d.ts +1 -1
  51. package/dist/components/foundations/icon/icons/BracketsIcon.d.ts +1 -1
  52. package/dist/components/foundations/icon/icons/BrowserIcon.d.ts +1 -1
  53. package/dist/components/foundations/icon/icons/BrowserPushIcon.d.ts +1 -1
  54. package/dist/components/foundations/icon/icons/BuryIcon.d.ts +1 -1
  55. package/dist/components/foundations/icon/icons/CalendarAltIcon.d.ts +1 -1
  56. package/dist/components/foundations/icon/icons/CalendarIcon.d.ts +1 -1
  57. package/dist/components/foundations/icon/icons/CatalogIcon.d.ts +1 -1
  58. package/dist/components/foundations/icon/icons/ChatAddIcon.d.ts +1 -1
  59. package/dist/components/foundations/icon/icons/ChatIcon.d.ts +1 -1
  60. package/dist/components/foundations/icon/icons/ChatsIcon.d.ts +1 -1
  61. package/dist/components/foundations/icon/icons/CheckCircleIcon.d.ts +1 -1
  62. package/dist/components/foundations/icon/icons/CheckFilledIcon.d.ts +1 -1
  63. package/dist/components/foundations/icon/icons/CheckIcon.d.ts +1 -1
  64. package/dist/components/foundations/icon/icons/CheckSmallIcon.d.ts +1 -1
  65. package/dist/components/foundations/icon/icons/ChevronDownFillIcon.d.ts +1 -1
  66. package/dist/components/foundations/icon/icons/ChevronDownIcon.d.ts +1 -1
  67. package/dist/components/foundations/icon/icons/ChevronLeftFillIcon.d.ts +1 -1
  68. package/dist/components/foundations/icon/icons/ChevronLeftIcon.d.ts +1 -1
  69. package/dist/components/foundations/icon/icons/ChevronRightFillIcon.d.ts +1 -1
  70. package/dist/components/foundations/icon/icons/ChevronRightIcon.d.ts +1 -1
  71. package/dist/components/foundations/icon/icons/ChevronUpFillIcon.d.ts +1 -1
  72. package/dist/components/foundations/icon/icons/ChevronUpIcon.d.ts +1 -1
  73. package/dist/components/foundations/icon/icons/ClearFillIcon.d.ts +1 -1
  74. package/dist/components/foundations/icon/icons/ClearIcon.d.ts +1 -1
  75. package/dist/components/foundations/icon/icons/ClipboardAddIcon.d.ts +1 -1
  76. package/dist/components/foundations/icon/icons/ClockCircleIcon.d.ts +1 -1
  77. package/dist/components/foundations/icon/icons/CloneIcon.d.ts +1 -1
  78. package/dist/components/foundations/icon/icons/CloseIcon.d.ts +1 -1
  79. package/dist/components/foundations/icon/icons/CloseSmallIcon.d.ts +1 -1
  80. package/dist/components/foundations/icon/icons/CloudCheckIcon.d.ts +1 -1
  81. package/dist/components/foundations/icon/icons/CloudDownloadIcon.d.ts +1 -1
  82. package/dist/components/foundations/icon/icons/CodeIcon.d.ts +1 -1
  83. package/dist/components/foundations/icon/icons/ColorPickerAltIcon.d.ts +1 -1
  84. package/dist/components/foundations/icon/icons/ColorPickerIcon.d.ts +1 -1
  85. package/dist/components/foundations/icon/icons/ColumnsIcon.d.ts +1 -1
  86. package/dist/components/foundations/icon/icons/ConditionAltIcon.d.ts +1 -1
  87. package/dist/components/foundations/icon/icons/ConditionIcon.d.ts +1 -1
  88. package/dist/components/foundations/icon/icons/ConsoleIcon.d.ts +1 -1
  89. package/dist/components/foundations/icon/icons/ConstantAltIcon.d.ts +1 -1
  90. package/dist/components/foundations/icon/icons/ConstantIcon.d.ts +1 -1
  91. package/dist/components/foundations/icon/icons/ContextualPersonalizationIcon.d.ts +1 -1
  92. package/dist/components/foundations/icon/icons/CopyIcon.d.ts +1 -1
  93. package/dist/components/foundations/icon/icons/CopyToDashboardIcon.d.ts +1 -1
  94. package/dist/components/foundations/icon/icons/CsvIcon.d.ts +1 -1
  95. package/dist/components/foundations/icon/icons/CustomRowIcon.d.ts +1 -1
  96. package/dist/components/foundations/icon/icons/CustomerIcon.d.ts +1 -1
  97. package/dist/components/foundations/icon/icons/CustomersFilterIcon.d.ts +1 -1
  98. package/dist/components/foundations/icon/icons/CustomersSegmentationIcon.d.ts +1 -1
  99. package/dist/components/foundations/icon/icons/DateTimeIcon.d.ts +1 -1
  100. package/dist/components/foundations/icon/icons/DescriptionIcon.d.ts +1 -1
  101. package/dist/components/foundations/icon/icons/DesktopIcon.d.ts +1 -1
  102. package/dist/components/foundations/icon/icons/DisabledIcon.d.ts +1 -1
  103. package/dist/components/foundations/icon/icons/DivideIcon.d.ts +1 -1
  104. package/dist/components/foundations/icon/icons/DocumentationIcon.d.ts +1 -1
  105. package/dist/components/foundations/icon/icons/DownloadIcon.d.ts +1 -1
  106. package/dist/components/foundations/icon/icons/DragHorizontalIcon.d.ts +1 -1
  107. package/dist/components/foundations/icon/icons/DragVericalIcon.d.ts +1 -1
  108. package/dist/components/foundations/icon/icons/EditIcon.d.ts +1 -1
  109. package/dist/components/foundations/icon/icons/EducationHubIcon.d.ts +1 -1
  110. package/dist/components/foundations/icon/icons/EllipsisVerticalIcon.d.ts +1 -1
  111. package/dist/components/foundations/icon/icons/EllipsissHorizontalIcon.d.ts +1 -1
  112. package/dist/components/foundations/icon/icons/EmailIcon.d.ts +1 -1
  113. package/dist/components/foundations/icon/icons/EmojiPickerIcon.d.ts +1 -1
  114. package/dist/components/foundations/icon/icons/EmptyIcon.d.ts +1 -1
  115. package/dist/components/foundations/icon/icons/ErrorFillIcon.d.ts +1 -1
  116. package/dist/components/foundations/icon/icons/EventIcon.d.ts +1 -1
  117. package/dist/components/foundations/icon/icons/EventsSegmentationIcon.d.ts +1 -1
  118. package/dist/components/foundations/icon/icons/ExperimentIcon.d.ts +1 -1
  119. package/dist/components/foundations/icon/icons/ExposeIcon.d.ts +1 -1
  120. package/dist/components/foundations/icon/icons/ExpressionIcon.d.ts +1 -1
  121. package/dist/components/foundations/icon/icons/ExternalLinkIcon.d.ts +1 -1
  122. package/dist/components/foundations/icon/icons/EyeCrossedIcon.d.ts +1 -1
  123. package/dist/components/foundations/icon/icons/EyeIcon.d.ts +1 -1
  124. package/dist/components/foundations/icon/icons/FastForwardIcon.d.ts +1 -1
  125. package/dist/components/foundations/icon/icons/FileIcon.d.ts +1 -1
  126. package/dist/components/foundations/icon/icons/FileVideoIcon.d.ts +1 -1
  127. package/dist/components/foundations/icon/icons/FilterIcon.d.ts +1 -1
  128. package/dist/components/foundations/icon/icons/FireIcon.d.ts +1 -1
  129. package/dist/components/foundations/icon/icons/FolderEmptyIcon.d.ts +1 -1
  130. package/dist/components/foundations/icon/icons/FolderFullIcon.d.ts +1 -1
  131. package/dist/components/foundations/icon/icons/ForceAddToRecallIcon.d.ts +1 -1
  132. package/dist/components/foundations/icon/icons/ForceAddToRecallUndoIcon.d.ts +1 -1
  133. package/dist/components/foundations/icon/icons/FormulaExpressionIcon.d.ts +1 -1
  134. package/dist/components/foundations/icon/icons/FormulaIcon.d.ts +1 -1
  135. package/dist/components/foundations/icon/icons/FromStartAltIcon.d.ts +1 -1
  136. package/dist/components/foundations/icon/icons/FullscreenIcon.d.ts +1 -1
  137. package/dist/components/foundations/icon/icons/GiftIcon.d.ts +1 -1
  138. package/dist/components/foundations/icon/icons/GoToIcon.d.ts +1 -1
  139. package/dist/components/foundations/icon/icons/GraphStatsIcon.d.ts +1 -1
  140. package/dist/components/foundations/icon/icons/GridAltIcon.d.ts +1 -1
  141. package/dist/components/foundations/icon/icons/GridIcon.d.ts +1 -1
  142. package/dist/components/foundations/icon/icons/HelpIcon.d.ts +1 -1
  143. package/dist/components/foundations/icon/icons/HistoryIcon.d.ts +1 -1
  144. package/dist/components/foundations/icon/icons/HomeIcon.d.ts +1 -1
  145. package/dist/components/foundations/icon/icons/HtmlIcon.d.ts +1 -1
  146. package/dist/components/foundations/icon/icons/ImageSearchIcon.d.ts +1 -1
  147. package/dist/components/foundations/icon/icons/ImagesIcon.d.ts +1 -1
  148. package/dist/components/foundations/icon/icons/ImpactDownIcon.d.ts +1 -1
  149. package/dist/components/foundations/icon/icons/InfoFilledIcon.d.ts +1 -1
  150. package/dist/components/foundations/icon/icons/InfoIcon.d.ts +1 -1
  151. package/dist/components/foundations/icon/icons/InfoSmallIcon.d.ts +1 -1
  152. package/dist/components/foundations/icon/icons/InternetIcon.d.ts +1 -1
  153. package/dist/components/foundations/icon/icons/KeyIcon.d.ts +1 -1
  154. package/dist/components/foundations/icon/icons/LayoutIcon.d.ts +1 -1
  155. package/dist/components/foundations/icon/icons/LikeIcon.d.ts +1 -1
  156. package/dist/components/foundations/icon/icons/LineChartIcon.d.ts +1 -1
  157. package/dist/components/foundations/icon/icons/LinkIcon.d.ts +1 -1
  158. package/dist/components/foundations/icon/icons/ListIcon.d.ts +1 -1
  159. package/dist/components/foundations/icon/icons/LoaderIcon.d.ts +1 -1
  160. package/dist/components/foundations/icon/icons/LockIcon.d.ts +1 -1
  161. package/dist/components/foundations/icon/icons/MapIcon.d.ts +1 -1
  162. package/dist/components/foundations/icon/icons/MetricAltIcon.d.ts +1 -1
  163. package/dist/components/foundations/icon/icons/MinusIcon.d.ts +1 -1
  164. package/dist/components/foundations/icon/icons/MobileAppInboxIcon.d.ts +1 -1
  165. package/dist/components/foundations/icon/icons/MobileImageMessageIcon.d.ts +1 -1
  166. package/dist/components/foundations/icon/icons/MobilePhoneLandscapeIcon.d.ts +1 -1
  167. package/dist/components/foundations/icon/icons/MobilePhonePortraitIcon.d.ts +1 -1
  168. package/dist/components/foundations/icon/icons/MobilePushIcon.d.ts +1 -1
  169. package/dist/components/foundations/icon/icons/MobileSmsIcon.d.ts +1 -1
  170. package/dist/components/foundations/icon/icons/MobileTextMessageIcon.d.ts +1 -1
  171. package/dist/components/foundations/icon/icons/MoveIcon.d.ts +1 -1
  172. package/dist/components/foundations/icon/icons/MultiParentRejectedIcon.d.ts +1 -1
  173. package/dist/components/foundations/icon/icons/MultiParentSelectedIcon.d.ts +1 -1
  174. package/dist/components/foundations/icon/icons/MultiParentUnassignedIcon.d.ts +1 -1
  175. package/dist/components/foundations/icon/icons/NegationIcon.d.ts +1 -1
  176. package/dist/components/foundations/icon/icons/NotificationIcon.d.ts +1 -1
  177. package/dist/components/foundations/icon/icons/NumberIcon.d.ts +1 -1
  178. package/dist/components/foundations/icon/icons/OfflineFillIcon.d.ts +1 -1
  179. package/dist/components/foundations/icon/icons/OfflineIcon.d.ts +1 -1
  180. package/dist/components/foundations/icon/icons/OutOfStockIcon.d.ts +1 -1
  181. package/dist/components/foundations/icon/icons/PagesIcon.d.ts +1 -1
  182. package/dist/components/foundations/icon/icons/PaintIcon.d.ts +1 -1
  183. package/dist/components/foundations/icon/icons/ParagraphCenterAlignIcon.d.ts +1 -1
  184. package/dist/components/foundations/icon/icons/ParagraphLeftAlignIcon.d.ts +1 -1
  185. package/dist/components/foundations/icon/icons/ParagraphRightAlignIcon.d.ts +1 -1
  186. package/dist/components/foundations/icon/icons/PassDownIcon.d.ts +1 -1
  187. package/dist/components/foundations/icon/icons/PassThroughIcon.d.ts +1 -1
  188. package/dist/components/foundations/icon/icons/PercentageIcon.d.ts +1 -1
  189. package/dist/components/foundations/icon/icons/PersAlt1Icon.d.ts +1 -1
  190. package/dist/components/foundations/icon/icons/PersAlt2Icon.d.ts +1 -1
  191. package/dist/components/foundations/icon/icons/PersAlt3Icon.d.ts +1 -1
  192. package/dist/components/foundations/icon/icons/PersAlt4Icon.d.ts +1 -1
  193. package/dist/components/foundations/icon/icons/PictureAltIcon.d.ts +1 -1
  194. package/dist/components/foundations/icon/icons/PictureIcon.d.ts +1 -1
  195. package/dist/components/foundations/icon/icons/PinIcon.d.ts +1 -1
  196. package/dist/components/foundations/icon/icons/PlugPlayIcon.d.ts +1 -1
  197. package/dist/components/foundations/icon/icons/PlusCircleFillIcon.d.ts +1 -1
  198. package/dist/components/foundations/icon/icons/PlusCircleIcon.d.ts +1 -1
  199. package/dist/components/foundations/icon/icons/PlusIcon.d.ts +1 -1
  200. package/dist/components/foundations/icon/icons/PoverButtonIcon.d.ts +1 -1
  201. package/dist/components/foundations/icon/icons/ProductSlotsIcon.d.ts +1 -1
  202. package/dist/components/foundations/icon/icons/ReceiveIcon.d.ts +1 -1
  203. package/dist/components/foundations/icon/icons/RefreshIcon.d.ts +1 -1
  204. package/dist/components/foundations/icon/icons/ReleaseNotesIcon.d.ts +1 -1
  205. package/dist/components/foundations/icon/icons/RenameAltIcon.d.ts +1 -1
  206. package/dist/components/foundations/icon/icons/RenameIcon.d.ts +1 -1
  207. package/dist/components/foundations/icon/icons/ReorderIcon.d.ts +1 -1
  208. package/dist/components/foundations/icon/icons/ReportIcon.d.ts +1 -1
  209. package/dist/components/foundations/icon/icons/RetentionIcon.d.ts +1 -1
  210. package/dist/components/foundations/icon/icons/RewertLeftIcon.d.ts +1 -1
  211. package/dist/components/foundations/icon/icons/RewertRightIcon.d.ts +1 -1
  212. package/dist/components/foundations/icon/icons/RibbonIcon.d.ts +1 -1
  213. package/dist/components/foundations/icon/icons/RoadmapIcon.d.ts +1 -1
  214. package/dist/components/foundations/icon/icons/RobotIcon.d.ts +1 -1
  215. package/dist/components/foundations/icon/icons/RuleLabelIcon.d.ts +1 -1
  216. package/dist/components/foundations/icon/icons/RunningAggregateIcon.d.ts +1 -1
  217. package/dist/components/foundations/icon/icons/SaveIcon.d.ts +1 -1
  218. package/dist/components/foundations/icon/icons/ScenarioIcon.d.ts +1 -1
  219. package/dist/components/foundations/icon/icons/SearchIcon.d.ts +1 -1
  220. package/dist/components/foundations/icon/icons/SecurityShieldIcon.d.ts +1 -1
  221. package/dist/components/foundations/icon/icons/SendIcon.d.ts +1 -1
  222. package/dist/components/foundations/icon/icons/SettingsAltIcon.d.ts +1 -1
  223. package/dist/components/foundations/icon/icons/SettingsIcon.d.ts +1 -1
  224. package/dist/components/foundations/icon/icons/ShareIcon.d.ts +1 -1
  225. package/dist/components/foundations/icon/icons/ShopIcon.d.ts +1 -1
  226. package/dist/components/foundations/icon/icons/ShrinkIcon.d.ts +1 -1
  227. package/dist/components/foundations/icon/icons/SortIcon.d.ts +1 -1
  228. package/dist/components/foundations/icon/icons/SplitFlowIcon.d.ts +1 -1
  229. package/dist/components/foundations/icon/icons/SqlIcon.d.ts +1 -1
  230. package/dist/components/foundations/icon/icons/StarFillIcon.d.ts +1 -1
  231. package/dist/components/foundations/icon/icons/StarIcon.d.ts +1 -1
  232. package/dist/components/foundations/icon/icons/StartFillIcon.d.ts +1 -1
  233. package/dist/components/foundations/icon/icons/StartIcon.d.ts +1 -1
  234. package/dist/components/foundations/icon/icons/StatusDotIcon.d.ts +1 -1
  235. package/dist/components/foundations/icon/icons/StopIcon.d.ts +1 -1
  236. package/dist/components/foundations/icon/icons/StopwatchIcon.d.ts +1 -1
  237. package/dist/components/foundations/icon/icons/StringComponentIcon.d.ts +1 -1
  238. package/dist/components/foundations/icon/icons/StringIcon.d.ts +1 -1
  239. package/dist/components/foundations/icon/icons/SuggestionIcon.d.ts +1 -1
  240. package/dist/components/foundations/icon/icons/SurveyIcon.d.ts +1 -1
  241. package/dist/components/foundations/icon/icons/SwapIcon.d.ts +1 -1
  242. package/dist/components/foundations/icon/icons/TabletLangscapeIcon.d.ts +1 -1
  243. package/dist/components/foundations/icon/icons/TabletPortraitIcon.d.ts +1 -1
  244. package/dist/components/foundations/icon/icons/TagAltIcon.d.ts +1 -1
  245. package/dist/components/foundations/icon/icons/TagIcon.d.ts +1 -1
  246. package/dist/components/foundations/icon/icons/TemplateIcon.d.ts +1 -1
  247. package/dist/components/foundations/icon/icons/TextBoldIcon.d.ts +1 -1
  248. package/dist/components/foundations/icon/icons/TextItalicIcon.d.ts +1 -1
  249. package/dist/components/foundations/icon/icons/TextStyleIcon.d.ts +1 -1
  250. package/dist/components/foundations/icon/icons/TragetIcon.d.ts +1 -1
  251. package/dist/components/foundations/icon/icons/TransferIcon.d.ts +1 -1
  252. package/dist/components/foundations/icon/icons/TrashIcon.d.ts +1 -1
  253. package/dist/components/foundations/icon/icons/TrendIcon.d.ts +1 -1
  254. package/dist/components/foundations/icon/icons/UnExposeIcon.d.ts +1 -1
  255. package/dist/components/foundations/icon/icons/UnarchiveAltIcon.d.ts +1 -1
  256. package/dist/components/foundations/icon/icons/UndoIcon.d.ts +1 -1
  257. package/dist/components/foundations/icon/icons/UnlinkIcon.d.ts +1 -1
  258. package/dist/components/foundations/icon/icons/UnlockIcon.d.ts +1 -1
  259. package/dist/components/foundations/icon/icons/UntilNowAltIcon.d.ts +1 -1
  260. package/dist/components/foundations/icon/icons/UploadIcon.d.ts +1 -1
  261. package/dist/components/foundations/icon/icons/UsagesIcon.d.ts +1 -1
  262. package/dist/components/foundations/icon/icons/UsersIcon.d.ts +1 -1
  263. package/dist/components/foundations/icon/icons/VariantsIcon.d.ts +1 -1
  264. package/dist/components/foundations/icon/icons/VisualIcon.d.ts +1 -1
  265. package/dist/components/foundations/icon/icons/VoucherIcon.d.ts +1 -1
  266. package/dist/components/foundations/icon/icons/WaitIcon.d.ts +1 -1
  267. package/dist/components/foundations/icon/icons/WalkthroughsIcon.d.ts +1 -1
  268. package/dist/components/foundations/icon/icons/WarningFillIcon.d.ts +1 -1
  269. package/dist/components/foundations/icon/icons/WebhookIcon.d.ts +1 -1
  270. package/dist/components/foundations/icon/icons/WeblayerIcon.d.ts +1 -1
  271. package/dist/components/foundations/icon/icons/WrenchIcon.d.ts +1 -1
  272. package/dist/components/foundations/icon/index.d.ts +1 -1
  273. package/dist/components/inputs/base-field/base-field.d.ts +2 -40
  274. package/dist/components/inputs/base-field/base-field.types.d.ts +40 -0
  275. package/dist/components/inputs/base-field/index.d.ts +1 -1
  276. package/dist/components/inputs/base-input/base-input.d.ts +3 -102
  277. package/dist/components/inputs/base-input/base-input.types.d.ts +101 -0
  278. package/dist/components/inputs/base-input/index.d.ts +1 -1
  279. package/dist/components/inputs/checkbox/checkbox.d.ts +23 -0
  280. package/dist/components/inputs/checkbox/checkbox.qa.stories.d.ts +8 -0
  281. package/dist/components/inputs/checkbox/checkbox.stories.d.ts +7 -0
  282. package/dist/components/inputs/checkbox/checkbox.types.d.ts +44 -0
  283. package/dist/components/inputs/checkbox/index.d.ts +2 -0
  284. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +23 -0
  285. package/dist/components/inputs/checkbox-field/checkbox-field.qa.stories.d.ts +7 -0
  286. package/dist/components/inputs/checkbox-field/checkbox-field.stories.d.ts +11 -0
  287. package/dist/components/inputs/checkbox-field/checkbox-field.types.d.ts +16 -0
  288. package/dist/components/inputs/checkbox-field/index.d.ts +2 -0
  289. package/dist/components/inputs/field-label/field-label.d.ts +2 -20
  290. package/dist/components/inputs/field-label/field-label.types.d.ts +20 -0
  291. package/dist/components/inputs/field-label/index.d.ts +1 -1
  292. package/dist/components/inputs/index.d.ts +2 -0
  293. package/dist/components/inputs/input-field/index.d.ts +1 -1
  294. package/dist/components/inputs/input-field/input-field.d.ts +2 -88
  295. package/dist/components/inputs/input-field/input-field.types.d.ts +88 -0
  296. package/dist/components/inputs/internal.d.ts +1 -0
  297. package/dist/components/inputs/select/select.d.ts +1 -1
  298. package/dist/components/inputs/select-field/select-field.d.ts +1 -1
  299. package/dist/components/inputs/select-option/select-option.d.ts +1 -1
  300. package/dist/components/inputs/text-field/index.d.ts +1 -1
  301. package/dist/components/inputs/text-field/text-field.d.ts +2 -106
  302. package/dist/components/inputs/text-field/text-field.types.d.ts +106 -0
  303. package/dist/components/inputs/toggle/index.d.ts +1 -1
  304. package/dist/components/inputs/toggle/toggle.d.ts +1 -38
  305. package/dist/components/inputs/toggle/toggle.types.d.ts +39 -0
  306. package/dist/components/inputs/toggle-field/index.d.ts +1 -1
  307. package/dist/components/inputs/toggle-field/toggle-field.d.ts +2 -16
  308. package/dist/components/inputs/toggle-field/toggle-field.types.d.ts +16 -0
  309. package/dist/components/lists/listbox/listbox.d.ts +1 -1
  310. package/dist/components/lists/listbox-item/listbox-item.d.ts +1 -1
  311. package/dist/components/navigation/pagination/index.d.ts +1 -1
  312. package/dist/components/navigation/pagination/pagination-config.d.ts +1 -1
  313. package/dist/components/navigation/pagination/pagination-context.d.ts +1 -1
  314. package/dist/components/navigation/pagination/pagination-navigation-helpers.d.ts +1 -1
  315. package/dist/components/navigation/pagination/pagination-navigation-item.d.ts +1 -1
  316. package/dist/components/navigation/pagination/pagination.d.ts +1 -1
  317. package/dist/components/popovers/modal/index.d.ts +1 -1
  318. package/dist/components/popovers/modal/modal-body.d.ts +1 -1
  319. package/dist/components/popovers/modal/modal-close-button.d.ts +1 -1
  320. package/dist/components/popovers/modal/modal-context.d.ts +1 -1
  321. package/dist/components/popovers/modal/modal-footer-actions.d.ts +1 -1
  322. package/dist/components/popovers/modal/modal-footer.d.ts +1 -1
  323. package/dist/components/popovers/modal/modal-header-title.d.ts +1 -1
  324. package/dist/components/popovers/modal/modal-header.d.ts +1 -1
  325. package/dist/components/popovers/modal/modal.d.ts +1 -1
  326. package/dist/components/popovers/modal/modal.qa.stories.d.ts +1 -1
  327. package/dist/components/popovers/tooltip/index.d.ts +1 -1
  328. package/dist/components/popovers/tooltip/tooltip.d.ts +2 -31
  329. package/dist/components/popovers/tooltip/tooltip.types.d.ts +31 -0
  330. package/dist/style.css +1 -1
  331. package/package.json +1 -1
  332. /package/dist/components/navigation/pagination/{pagination-types.d.ts → pagination.types.d.ts} +0 -0
  333. /package/dist/components/popovers/modal/{modal-types.d.ts → modal.types.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { SelectComponentType } from './select.types';
1
+ import type { SelectComponentType } from './select.types';
2
2
  import './select.scss';
3
3
  /**
4
4
  * @internal
@@ -1,4 +1,4 @@
1
- import { SelectFieldComponentType } from './select-field.types';
1
+ import type { SelectFieldComponentType } from './select-field.types';
2
2
  /**
3
3
  * The `SelectField` component is meant to optimize user interaction and experience.
4
4
  * It is a customizable dropdown list that allows users to choose one or more options from a list.
@@ -1,4 +1,4 @@
1
- import { SelectOptionComponentType } from './select-option.types';
1
+ import type { SelectOptionComponentType } from './select-option.types';
2
2
  import './select-option.scss';
3
3
  declare const _default: SelectOptionComponentType;
4
4
  export default _default;
@@ -1,2 +1,2 @@
1
1
  export { default as TextField } from './text-field';
2
- export type { TextFieldProps } from './text-field';
2
+ export type { TextFieldProps } from './text-field.types';
@@ -1,110 +1,6 @@
1
- import { ChangeEventHandler, FocusEventHandler, ReactNode, TextareaHTMLAttributes } from 'react';
1
+ /// <reference types="react" />
2
+ import type { TextFieldProps } from './text-field.types';
2
3
  import './text-field.scss';
3
- export interface TextFieldProps {
4
- /**
5
- * Automatically adjusts `textarea` height to match the length of the content within.
6
- */
7
- autoSize?: boolean;
8
- /**
9
- * Custom class name for the container of this component.
10
- */
11
- className?: string;
12
- /**
13
- * If `true`, the field will display a character counter.
14
- * When the `maxCount` is also specified, the counter will be displayed like `x/y`,
15
- * where `x` is the current number of characters entered and `y` is the maximum number of characters allowed.
16
- */
17
- counter?: boolean;
18
- /**
19
- * The default value. Use when the component is not controlled.
20
- */
21
- defaultValue?: string;
22
- /**
23
- * If `true`, the `field is disabled.
24
- */
25
- disabled?: boolean;
26
- /**
27
- * If `true`, the ``field` will indicate an error and set the `aria-invalid` attribute for `textarea`.
28
- */
29
- error?: boolean;
30
- /**
31
- * If `true`, the `field will take up the full width of its container.
32
- */
33
- fullWidth?: boolean;
34
- /**
35
- * The helper text content.
36
- */
37
- helperText?: ReactNode;
38
- /**
39
- * The `id` of the `textarea` element.
40
- */
41
- id?: string;
42
- /**
43
- * The label content.
44
- */
45
- label?: ReactNode;
46
- /**
47
- * The maximum number of characters allowed in the field to display in the counter.
48
- * It doesn't prevent the user from typing more characters.
49
- * To do that, set the `maxLength` attribute via `textareaProps`.
50
- */
51
- maxCount?: number;
52
- /**
53
- * The maximum number of text lines to grow when `autoSize` is `true`.
54
- */
55
- maxRows?: number;
56
- /**
57
- * The number of visible text lines for the field.
58
- * When `autoSize` is `false`, this prop behaves as `rows` for `textarea`.
59
- * @default 3
60
- */
61
- minRows?: number;
62
- /**
63
- * The `name` attribute of the `textarea` element.
64
- */
65
- name?: string;
66
- /**
67
- * Callback fired when the `textarea` is blurred.
68
- */
69
- onBlur?: FocusEventHandler<HTMLTextAreaElement>;
70
- /**
71
- * Callback fired when the value is changed.
72
- */
73
- onChange?: ChangeEventHandler<HTMLTextAreaElement>;
74
- /**
75
- * Callback fired when the `textarea` is focused.
76
- */
77
- onFocus?: FocusEventHandler<HTMLTextAreaElement>;
78
- /**
79
- * The short hint displayed in the `textarea` before the user enters a value.
80
- */
81
- placeholder?: string;
82
- /**
83
- * If `true`, the `textarea` will be read-only.
84
- */
85
- readOnly?: boolean;
86
- /**
87
- * If `true`, the `textarea` is required.
88
- */
89
- required?: boolean;
90
- /**
91
- * If `true`, the `textarea` will be manually resizable.
92
- */
93
- resizable?: boolean;
94
- /**
95
- * Attributes applied to the `textarea` element, check the link below for more details.
96
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#Attributes
97
- */
98
- textareaProps?: TextareaHTMLAttributes<HTMLTextAreaElement>;
99
- /**
100
- * Tooltip to display when the field has label.
101
- */
102
- tooltip?: ReactNode;
103
- /**
104
- * The `value` of the `textarea` element, required for a controlled component.
105
- */
106
- value?: string;
107
- }
108
4
  /**
109
5
  * The text field includes a label, a helper text and a textarea field where users can type multiline of text.
110
6
  * The text field component typically appears in forms and dialogs.
@@ -0,0 +1,106 @@
1
+ import { ChangeEventHandler, FocusEventHandler, ReactNode, TextareaHTMLAttributes } from 'react';
2
+ export interface TextFieldProps {
3
+ /**
4
+ * Automatically adjusts `textarea` height to match the length of the content within.
5
+ */
6
+ autoSize?: boolean;
7
+ /**
8
+ * Custom class name for the container of this component.
9
+ */
10
+ className?: string;
11
+ /**
12
+ * If `true`, the field will display a character counter.
13
+ * When the `maxCount` is also specified, the counter will be displayed like `x/y`,
14
+ * where `x` is the current number of characters entered and `y` is the maximum number of characters allowed.
15
+ */
16
+ counter?: boolean;
17
+ /**
18
+ * The default value. Use when the component is not controlled.
19
+ */
20
+ defaultValue?: string;
21
+ /**
22
+ * If `true`, the `field is disabled.
23
+ */
24
+ disabled?: boolean;
25
+ /**
26
+ * If `true`, the ``field` will indicate an error and set the `aria-invalid` attribute for `textarea`.
27
+ */
28
+ error?: boolean;
29
+ /**
30
+ * If `true`, the `field will take up the full width of its container.
31
+ */
32
+ fullWidth?: boolean;
33
+ /**
34
+ * The helper text content.
35
+ */
36
+ helperText?: ReactNode;
37
+ /**
38
+ * The `id` of the `textarea` element.
39
+ */
40
+ id?: string;
41
+ /**
42
+ * The label content.
43
+ */
44
+ label?: ReactNode;
45
+ /**
46
+ * The maximum number of characters allowed in the field to display in the counter.
47
+ * It doesn't prevent the user from typing more characters.
48
+ * To do that, set the `maxLength` attribute via `textareaProps`.
49
+ */
50
+ maxCount?: number;
51
+ /**
52
+ * The maximum number of text lines to grow when `autoSize` is `true`.
53
+ */
54
+ maxRows?: number;
55
+ /**
56
+ * The number of visible text lines for the field.
57
+ * When `autoSize` is `false`, this prop behaves as `rows` for `textarea`.
58
+ * @default 3
59
+ */
60
+ minRows?: number;
61
+ /**
62
+ * The `name` attribute of the `textarea` element.
63
+ */
64
+ name?: string;
65
+ /**
66
+ * Callback fired when the `textarea` is blurred.
67
+ */
68
+ onBlur?: FocusEventHandler<HTMLTextAreaElement>;
69
+ /**
70
+ * Callback fired when the value is changed.
71
+ */
72
+ onChange?: ChangeEventHandler<HTMLTextAreaElement>;
73
+ /**
74
+ * Callback fired when the `textarea` is focused.
75
+ */
76
+ onFocus?: FocusEventHandler<HTMLTextAreaElement>;
77
+ /**
78
+ * The short hint displayed in the `textarea` before the user enters a value.
79
+ */
80
+ placeholder?: string;
81
+ /**
82
+ * If `true`, the `textarea` will be read-only.
83
+ */
84
+ readOnly?: boolean;
85
+ /**
86
+ * If `true`, the `textarea` is required.
87
+ */
88
+ required?: boolean;
89
+ /**
90
+ * If `true`, the `textarea` will be manually resizable.
91
+ */
92
+ resizable?: boolean;
93
+ /**
94
+ * Attributes applied to the `textarea` element, check the link below for more details.
95
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#Attributes
96
+ */
97
+ textareaProps?: TextareaHTMLAttributes<HTMLTextAreaElement>;
98
+ /**
99
+ * Tooltip to display when the field has label.
100
+ */
101
+ tooltip?: ReactNode;
102
+ /**
103
+ * The `value` of the `textarea` element, required for a controlled component.
104
+ */
105
+ value?: string;
106
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as Toggle } from './toggle';
2
- export type { ToggleProps } from './toggle';
2
+ export type { ToggleProps } from './toggle.types';
@@ -1,43 +1,6 @@
1
1
  /// <reference types="react" />
2
+ import type { ToggleProps } from './toggle.types';
2
3
  import './toggle.scss';
3
- export interface ToggleProps {
4
- /**
5
- * If `true`, the toggle is checked.
6
- */
7
- checked?: boolean;
8
- /**
9
- * Custom class name for the container of the component.
10
- */
11
- className?: string;
12
- /**
13
- * The state of the toggle when it is initially rendered. Use when you do not need to control its state.
14
- */
15
- defaultChecked?: boolean;
16
- /**
17
- * When `true`, prevents the user from interacting with the switch.
18
- */
19
- disabled?: boolean;
20
- /**
21
- * The props applied to the input element.
22
- */
23
- inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
24
- /**
25
- * The `name` of the `input` element.
26
- */
27
- name?: string;
28
- /**
29
- * Callback fired when the state is changed.
30
- */
31
- onChange?: React.ChangeEventHandler<HTMLInputElement>;
32
- /**
33
- * If `true`, the component is read only and prevent user to change value.
34
- */
35
- readOnly?: boolean;
36
- /**
37
- * If `true`, the `input` element is required.
38
- */
39
- required?: boolean;
40
- }
41
4
  /**
42
5
  * Toggle represents an action that changes a state by clicking on it.
43
6
  * They are usually used for actions or options that have an immediate effect on the UI.
@@ -0,0 +1,39 @@
1
+ import { ChangeEventHandler, InputHTMLAttributes } from 'react';
2
+ export interface ToggleProps {
3
+ /**
4
+ * If `true`, the toggle is checked.
5
+ */
6
+ checked?: boolean;
7
+ /**
8
+ * Custom class name for the container of the component.
9
+ */
10
+ className?: string;
11
+ /**
12
+ * The state of the toggle when it is initially rendered. Use when you do not need to control its state.
13
+ */
14
+ defaultChecked?: boolean;
15
+ /**
16
+ * When `true`, prevents the user from interacting with the switch.
17
+ */
18
+ disabled?: boolean;
19
+ /**
20
+ * The props applied to the input element.
21
+ */
22
+ inputProps?: InputHTMLAttributes<HTMLInputElement>;
23
+ /**
24
+ * The `name` of the `input` element.
25
+ */
26
+ name?: string;
27
+ /**
28
+ * Callback fired when the state is changed.
29
+ */
30
+ onChange?: ChangeEventHandler<HTMLInputElement>;
31
+ /**
32
+ * If `true`, the component is read only and prevent user to change value.
33
+ */
34
+ readOnly?: boolean;
35
+ /**
36
+ * If `true`, the `input` element is required.
37
+ */
38
+ required?: boolean;
39
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as ToggleField } from './toggle-field';
2
- export type { ToggleFieldProps } from './toggle-field';
2
+ export type { ToggleFieldProps } from './toggle-field.types';
@@ -1,20 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { ToggleProps } from '../../internal';
1
+ /// <reference types="react" />
2
+ import type { ToggleFieldProps } from './toggle-field.types';
3
3
  import './toggle-field.scss';
4
- export interface ToggleFieldProps extends ToggleProps {
5
- /**
6
- * Custom class name for the container of the component.
7
- */
8
- className?: string;
9
- /**
10
- * The label content.
11
- */
12
- label?: ReactNode;
13
- /**
14
- * Tooltip to display when the field has label.
15
- */
16
- tooltip?: ReactNode;
17
- }
18
4
  /**
19
5
  * The toggle field represents an action that changes a state by clicking on it.
20
6
  * Usually used for actions or options that have an immediate effect on the UI and
@@ -0,0 +1,16 @@
1
+ import { ReactNode } from 'react';
2
+ import type { ToggleProps } from '../../internal';
3
+ export interface ToggleFieldProps extends ToggleProps {
4
+ /**
5
+ * Custom class name for the container of the component.
6
+ */
7
+ className?: string;
8
+ /**
9
+ * The label content.
10
+ */
11
+ label?: ReactNode;
12
+ /**
13
+ * Tooltip to display when the field has label.
14
+ */
15
+ tooltip?: ReactNode;
16
+ }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ListboxProps } from './listbox.types';
2
+ import type { ListboxProps } from './listbox.types';
3
3
  import './listbox.scss';
4
4
  /**
5
5
  * @internal
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ListboxItemProps } from './listbox-item.types';
2
+ import type { ListboxItemProps } from './listbox-item.types';
3
3
  import './listbox-item.scss';
4
4
  /**
5
5
  * @internal
@@ -1,2 +1,2 @@
1
1
  export { default as Pagination } from './pagination';
2
- export type { PaginationProps } from './pagination-types';
2
+ export type { PaginationProps } from './pagination.types';
@@ -1,4 +1,4 @@
1
- import { ItemsPerPageOptionsType } from './pagination-types';
1
+ import type { ItemsPerPageOptionsType } from './pagination.types';
2
2
  export declare const DEFAULT_ITEMS_PER_PAGE_OPTIONS: ItemsPerPageOptionsType;
3
3
  export declare const PAGINATION_PAGES_LIMIT = 9;
4
4
  export declare const PAGINATION_PAGES_BUFFER = 2;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { PaginationProps } from './pagination-types';
2
+ import type { PaginationProps } from './pagination.types';
3
3
  declare const PaginationContext: import("react").Context<PaginationProps | null>;
4
4
  export declare function usePaginationContext(): PaginationProps | null;
5
5
  export default PaginationContext;
@@ -1,4 +1,4 @@
1
- import { PageNavigationItemsListType } from './pagination-types';
1
+ import type { PageNavigationItemsListType } from './pagination.types';
2
2
  export declare const SEPARATOR = "...";
3
3
  export declare function range(from: number, count: number): Array<number>;
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { PageNavigationItemType } from './pagination-types';
2
+ import type { PageNavigationItemType } from './pagination.types';
3
3
  export interface PaginationNavigationItemProps {
4
4
  value: PageNavigationItemType;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { PaginationProps } from './pagination-types';
2
+ import type { PaginationProps } from './pagination.types';
3
3
  import './pagination.scss';
4
4
  /**
5
5
  * Pagination component to display pagination links and manage the number of items per page
@@ -5,4 +5,4 @@ export { default as ModalBody } from './modal-body';
5
5
  export { default as ModalFooter } from './modal-footer';
6
6
  export { default as ModalFooterActions } from './modal-footer-actions';
7
7
  export { default as ModalCloseButton } from './modal-close-button';
8
- export type { ModalProps, ModalChildProps, ModalBodyProps } from './modal-types';
8
+ export type { ModalProps, ModalChildProps, ModalBodyProps } from './modal.types';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ModalBodyProps } from './modal-types';
2
+ import type { ModalBodyProps } from './modal.types';
3
3
  import './modal.scss';
4
4
  /**
5
5
  * Modal body component is used to render the body section of the modal dialog.
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ButtonProps } from '../../buttons/button/button';
2
+ import { ButtonProps } from '../../buttons';
3
3
  /**
4
4
  * This button is a convenience component that applies the recommended styling for the Cancel button in the
5
5
  * modal footer. It wraps the BrButton and sets the type to tertiary and attaches the Modal's onClose handler
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ModalProps } from './modal-types';
2
+ import type { ModalProps } from './modal.types';
3
3
  declare const ModalContext: import("react").Context<ModalProps | null>;
4
4
  export declare function useModalContext(): ModalProps | null;
5
5
  export default ModalContext;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ModalChildProps } from './modal-types';
2
+ import type { ModalChildProps } from './modal.types';
3
3
  /**
4
4
  * Modal footer actions component is used to render the actions section of the modal dialog footer.
5
5
  * You can use `ModalCloseButton` component to render the cancel button which is call `onClose` by default.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ModalChildProps } from './modal-types';
2
+ import type { ModalChildProps } from './modal.types';
3
3
  /**
4
4
  * Modal footer component is used to render the footer section of the modal dialog and it is recommended to use
5
5
  * the `ModalFooterActions` component to render the actions in the footer section.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ModalChildProps } from './modal-types';
2
+ import type { ModalChildProps } from './modal.types';
3
3
  /**
4
4
  * Modal header title is used to render the title in the header section of the modal dialog.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ModalChildProps } from './modal-types';
2
+ import type { ModalChildProps } from './modal.types';
3
3
  /**
4
4
  * Modal header component is used to render the header section of the modal dialog.
5
5
  * If `onClose` is provided to the `Modal` component, then a close button is rendered in the header section.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ModalProps } from './modal-types';
2
+ import type { ModalProps } from './modal.types';
3
3
  import './modal.scss';
4
4
  /**
5
5
  * Modal component lets you create dialogs that force the user to take action before continuing
@@ -1,5 +1,5 @@
1
1
  import { Meta } from '@storybook/react';
2
- import { ModalProps } from './modal-types';
2
+ import type { ModalProps } from './modal.types';
3
3
  import { type Story } from './modal.stories';
4
4
  declare const meta: Meta<ModalProps>;
5
5
  export default meta;
@@ -1,2 +1,2 @@
1
1
  export { default as Tooltip } from './tooltip';
2
- export type { TooltipProps } from './tooltip';
2
+ export type { TooltipProps } from './tooltip.types';
@@ -1,35 +1,6 @@
1
- import { Placement } from '@floating-ui/react';
2
- import React, { ReactNode, ReactElement, HTMLAttributes } from 'react';
1
+ import React from 'react';
2
+ import type { TooltipProps } from './tooltip.types';
3
3
  import './tooltip.scss';
4
- export interface TooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
5
- /**
6
- * Custom class name for the tooltip container
7
- */
8
- className?: string;
9
- /**
10
- * The tooltip child has to be a valid React element
11
- */
12
- children: ReactElement;
13
- /**
14
- * The tooltip message, it can be string or any valid React node
15
- */
16
- title: ReactNode;
17
- /**
18
- * Location of the tooltip, default is 'top'. The placement automatically adjusts if there is not enough space
19
- * to render in the specified direction
20
- */
21
- placement?: Placement;
22
- /**
23
- * By default the tooltip container is attached to the body, turning on this flag will attach it to the container
24
- * where the tooltip component is used
25
- */
26
- disablePortal?: boolean;
27
- /**
28
- * Specify a custom container (using id or ref) to attach the tooltip to. The tooltip will also use this container to
29
- * determine the placement of the tooltip
30
- */
31
- portalRoot?: string | HTMLElement | React.MutableRefObject<HTMLElement | null>;
32
- }
33
4
  /**
34
5
  * The tooltip component is supposed to display informative text when users hover over or tap an element
35
6
  *
@@ -0,0 +1,31 @@
1
+ import { Placement } from '@floating-ui/react';
2
+ import React, { ReactNode, ReactElement, HTMLAttributes } from 'react';
3
+ export interface TooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
4
+ /**
5
+ * Custom class name for the tooltip container
6
+ */
7
+ className?: string;
8
+ /**
9
+ * The tooltip child has to be a valid React element
10
+ */
11
+ children: ReactElement;
12
+ /**
13
+ * The tooltip message, it can be string or any valid React node
14
+ */
15
+ title: ReactNode;
16
+ /**
17
+ * Location of the tooltip, default is 'top'. The placement automatically adjusts if there is not enough space
18
+ * to render in the specified direction
19
+ */
20
+ placement?: Placement;
21
+ /**
22
+ * By default the tooltip container is attached to the body, turning on this flag will attach it to the container
23
+ * where the tooltip component is used
24
+ */
25
+ disablePortal?: boolean;
26
+ /**
27
+ * Specify a custom container (using id or ref) to attach the tooltip to. The tooltip will also use this container to
28
+ * determine the placement of the tooltip
29
+ */
30
+ portalRoot?: string | HTMLElement | React.MutableRefObject<HTMLElement | null>;
31
+ }