@eyesee/ui-components 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/README.md +2 -0
  2. package/dist/components/Avatar/Avatar.d.ts +139 -0
  3. package/dist/components/Avatar/Avatar.js +8 -7
  4. package/dist/components/Badge/Badge.d.ts +59 -0
  5. package/dist/components/Badge/Badge.js +7 -7
  6. package/dist/components/Badge/badgeVariants.d.ts +17 -0
  7. package/dist/components/Button/Button.d.ts +299 -0
  8. package/dist/components/Button/Button.js +3 -3
  9. package/dist/components/Checkbox/Checkbox.d.ts +124 -0
  10. package/dist/components/Checkbox/Checkbox.js +13 -12
  11. package/dist/components/DropdownList/DropdownList.d.ts +153 -0
  12. package/dist/components/DropdownList/DropdownList.js +15 -15
  13. package/dist/components/EllipsisTooltip/EllipsisTooltip.d.ts +114 -0
  14. package/dist/components/EllipsisTooltip/EllipsisTooltip.js +24 -24
  15. package/dist/components/EllipsisTooltip/EllipsisTooltip.module.scss.js +4 -6
  16. package/dist/components/ExpandableItem/ExpandableItem.d.ts +89 -0
  17. package/dist/components/ExpandableItem/ExpandableItem.js +6 -6
  18. package/dist/components/Fields/InputField/InputField.d.ts +309 -0
  19. package/dist/components/Fields/InputField/InputField.js +54 -49
  20. package/dist/components/Fields/InputFieldContainer.d.ts +11 -0
  21. package/dist/components/Fields/SelectField/SelectField.d.ts +404 -0
  22. package/dist/components/Fields/SelectField/SelectField.js +61 -56
  23. package/dist/components/Fields/SelectField/SelectFieldTags.d.ts +6 -0
  24. package/dist/components/Fields/SelectField/selectOptionRow.d.ts +1 -0
  25. package/dist/components/Fields/SelectField/selectUtils.d.ts +35 -0
  26. package/dist/components/Fields/SelectField/useSelectFieldDropdownPosition.d.ts +7 -0
  27. package/dist/components/Fields/TextField/TextField.d.ts +272 -0
  28. package/dist/components/Fields/TextField/TextField.js +68 -61
  29. package/dist/components/FileType/FileType.d.ts +61 -0
  30. package/dist/components/FileType/FileType.js +6 -5
  31. package/dist/components/FileType/PaperIcon.d.ts +5 -0
  32. package/dist/components/ImagePlaceholder/ImageHoverPreview/ImageHoverPreview.d.ts +75 -0
  33. package/dist/components/ImagePlaceholder/ImageHoverPreview/ImageHoverPreview.js +13 -12
  34. package/dist/components/ImagePlaceholder/ImagePlaceholder.d.ts +606 -0
  35. package/dist/components/ImagePlaceholder/ImagePlaceholder.js +78 -76
  36. package/dist/components/ImagePlaceholder/ImagePlaceholder.module.scss.js +34 -32
  37. package/dist/components/ImagePlaceholder/constantsImgPh.d.ts +16 -0
  38. package/dist/components/ImagePlaceholder/utilsImgPh.d.ts +18 -0
  39. package/dist/components/ImageWithData/ImageWithData.d.ts +284 -0
  40. package/dist/components/ImageWithData/ImageWithData.js +11 -11
  41. package/dist/components/Infobox/Infobox.d.ts +90 -0
  42. package/dist/components/Infobox/Infobox.js +5 -5
  43. package/dist/components/Infobox/infoboxVariants.d.ts +8 -0
  44. package/dist/components/ListItem/ListItem.d.ts +311 -0
  45. package/dist/components/ListItem/ListItem.js +7 -7
  46. package/dist/components/ListItem/useListItems.d.ts +108 -0
  47. package/dist/components/ListItem/useListItems.js +18 -17
  48. package/dist/components/Modal/Modal.d.ts +239 -0
  49. package/dist/components/Modal/Modal.js +4 -3
  50. package/dist/components/Notifications/Notifications.d.ts +261 -0
  51. package/dist/components/Notifications/Notifications.js +4 -3
  52. package/dist/components/Notifications/useNotifications.d.ts +59 -0
  53. package/dist/components/Notifications/useNotifications.js +3 -2
  54. package/dist/components/Pill/Pill.d.ts +81 -0
  55. package/dist/components/Pill/Pill.js +7 -12
  56. package/dist/components/Pill/pillVariants.d.ts +16 -0
  57. package/dist/components/ProgressBar/ProgressBar.d.ts +111 -0
  58. package/dist/components/ProgressBar/ProgressBar.js +17 -16
  59. package/dist/components/Radio/Radio.d.ts +58 -0
  60. package/dist/components/Radio/Radio.js +12 -11
  61. package/dist/components/Tab/Tab.d.ts +204 -0
  62. package/dist/components/Tab/Tab.js +3 -3
  63. package/dist/components/Tabs/Tabs.d.ts +356 -0
  64. package/dist/components/Tabs/Tabs.js +3 -3
  65. package/dist/components/Tabs/tabsUtils.d.ts +33 -0
  66. package/dist/components/Tabs/tabsUtils.js +18 -12
  67. package/dist/components/Tag/Tag.d.ts +93 -0
  68. package/dist/components/Tag/Tag.js +4 -3
  69. package/dist/components/Tag/tagVariants.d.ts +7 -0
  70. package/dist/components/TextHoverable/TextHoverable.d.ts +46 -0
  71. package/dist/components/TextHoverable/TextHoverable.js +5 -3
  72. package/dist/components/Toggle/Toggle.d.ts +115 -0
  73. package/dist/components/Toggle/Toggle.js +6 -5
  74. package/dist/components/Tooltip/Tooltip.d.ts +294 -0
  75. package/dist/components/Tooltip/Tooltip.js +22 -21
  76. package/dist/components/Tooltip/Tooltip.module.scss.js +30 -28
  77. package/dist/components/Tooltip/useTooltipPositioning.d.ts +21 -0
  78. package/dist/components/icons-v2/AdIcon.d.ts +2 -0
  79. package/dist/components/icons-v2/AddMessageIcon.d.ts +13 -0
  80. package/dist/components/icons-v2/AddUserIcon.d.ts +13 -0
  81. package/dist/components/icons-v2/AdjustmentsIcon.d.ts +13 -0
  82. package/dist/components/icons-v2/AlertIcon.d.ts +13 -0
  83. package/dist/components/icons-v2/AlignCenterIcon.d.ts +13 -0
  84. package/dist/components/icons-v2/AlignHorizontallyIcon.d.ts +13 -0
  85. package/dist/components/icons-v2/AlignJustifyIcon.d.ts +13 -0
  86. package/dist/components/icons-v2/AlignLeftIcon.d.ts +13 -0
  87. package/dist/components/icons-v2/AlignRightIcon.d.ts +13 -0
  88. package/dist/components/icons-v2/AlignVerticallyIcon.d.ts +13 -0
  89. package/dist/components/icons-v2/AlphabetIcon.d.ts +20 -0
  90. package/dist/components/icons-v2/ArchiveIcon.d.ts +13 -0
  91. package/dist/components/icons-v2/ArrowDownIcon.d.ts +13 -0
  92. package/dist/components/icons-v2/ArrowDownRightIcon.d.ts +13 -0
  93. package/dist/components/icons-v2/ArrowLeftIcon.d.ts +13 -0
  94. package/dist/components/icons-v2/ArrowMoveDownIcon.d.ts +13 -0
  95. package/dist/components/icons-v2/ArrowRightIcon.d.ts +13 -0
  96. package/dist/components/icons-v2/ArrowUpIcon.d.ts +13 -0
  97. package/dist/components/icons-v2/AspectRatioIcon.d.ts +13 -0
  98. package/dist/components/icons-v2/AspectRatioIcon.js +15 -0
  99. package/dist/components/icons-v2/AttributesEvaluationIcon.d.ts +13 -0
  100. package/dist/components/icons-v2/BellIcon.d.ts +13 -0
  101. package/dist/components/icons-v2/BoldIcon.d.ts +13 -0
  102. package/dist/components/icons-v2/BoltIcon.d.ts +13 -0
  103. package/dist/components/icons-v2/BookIcon.d.ts +13 -0
  104. package/dist/components/icons-v2/BookmarkIcon.d.ts +13 -0
  105. package/dist/components/icons-v2/BooksIcon.d.ts +13 -0
  106. package/dist/components/icons-v2/BoxIcon.d.ts +13 -0
  107. package/dist/components/icons-v2/BugIcon.d.ts +13 -0
  108. package/dist/components/icons-v2/CalendarIcon.d.ts +13 -0
  109. package/dist/components/icons-v2/CameraPlusIcon.d.ts +13 -0
  110. package/dist/components/icons-v2/CardsIcon.d.ts +13 -0
  111. package/dist/components/icons-v2/CellIcon.d.ts +13 -0
  112. package/dist/components/icons-v2/ChartbarIcon.d.ts +13 -0
  113. package/dist/components/icons-v2/ChartbarOffIcon.d.ts +13 -0
  114. package/dist/components/icons-v2/ChatBubbleIcon.d.ts +13 -0
  115. package/dist/components/icons-v2/ChatbotIcon.d.ts +13 -0
  116. package/dist/components/icons-v2/CheckCircleIcon.d.ts +13 -0
  117. package/dist/components/icons-v2/CheckboxIcon.d.ts +13 -0
  118. package/dist/components/icons-v2/CheckmarkDoubleIcon.d.ts +13 -0
  119. package/dist/components/icons-v2/CheckmarkLargeIcon.d.ts +13 -0
  120. package/dist/components/icons-v2/ChevronDownIcon.d.ts +13 -0
  121. package/dist/components/icons-v2/ChevronLeftIcon.d.ts +13 -0
  122. package/dist/components/icons-v2/ChevronRightIcon.d.ts +13 -0
  123. package/dist/components/icons-v2/ChevronUpIcon.d.ts +13 -0
  124. package/dist/components/icons-v2/ChevronsDownIcon.d.ts +13 -0
  125. package/dist/components/icons-v2/ChevronsLeftIcon.d.ts +13 -0
  126. package/dist/components/icons-v2/ChevronsRightIcon.d.ts +13 -0
  127. package/dist/components/icons-v2/ChevronsUpIcon.d.ts +13 -0
  128. package/dist/components/icons-v2/CircleIcon.d.ts +11 -0
  129. package/dist/components/icons-v2/CirclesIcon.d.ts +13 -0
  130. package/dist/components/icons-v2/ClickIcon.d.ts +13 -0
  131. package/dist/components/icons-v2/ClipboardIcon.d.ts +13 -0
  132. package/dist/components/icons-v2/ClockIcon.d.ts +13 -0
  133. package/dist/components/icons-v2/ClockShareIcon.d.ts +13 -0
  134. package/dist/components/icons-v2/CloseIcon.d.ts +13 -0
  135. package/dist/components/icons-v2/ColumnIcon.d.ts +1 -0
  136. package/dist/components/icons-v2/CopyIcon.d.ts +13 -0
  137. package/dist/components/icons-v2/CreditCardIcon.d.ts +13 -0
  138. package/dist/components/icons-v2/CropIcon.d.ts +13 -0
  139. package/dist/components/icons-v2/DashboardMeterIcon.d.ts +13 -0
  140. package/dist/components/icons-v2/DatabaseCheckIcon.d.ts +13 -0
  141. package/dist/components/icons-v2/DatabaseIcon.d.ts +13 -0
  142. package/dist/components/icons-v2/DeleteIcon.d.ts +12 -0
  143. package/dist/components/icons-v2/DetailsIcon.d.ts +13 -0
  144. package/dist/components/icons-v2/DevicesIcon.d.ts +13 -0
  145. package/dist/components/icons-v2/DislikeIcon.d.ts +13 -0
  146. package/dist/components/icons-v2/DollarIcon.d.ts +13 -0
  147. package/dist/components/icons-v2/DownloadIcon.d.ts +13 -0
  148. package/dist/components/icons-v2/DragToolIcon.d.ts +13 -0
  149. package/dist/components/icons-v2/DrawRectangleIcon.d.ts +13 -0
  150. package/dist/components/icons-v2/EditIcon.d.ts +12 -0
  151. package/dist/components/icons-v2/EmailIcon.d.ts +13 -0
  152. package/dist/components/icons-v2/EmojiNeutralIcon.d.ts +13 -0
  153. package/dist/components/icons-v2/EmojiSadIcon.d.ts +13 -0
  154. package/dist/components/icons-v2/EmojiSlightSmileyIcon.d.ts +13 -0
  155. package/dist/components/icons-v2/EmojiSmileyIcon.d.ts +13 -0
  156. package/dist/components/icons-v2/EmojiVerySadIcon.d.ts +13 -0
  157. package/dist/components/icons-v2/EraserIcon.d.ts +13 -0
  158. package/dist/components/icons-v2/EtShelfIcon.d.ts +13 -0
  159. package/dist/components/icons-v2/EtStandaloneIcon.d.ts +13 -0
  160. package/dist/components/icons-v2/ExternalLinkIcon.d.ts +13 -0
  161. package/dist/components/icons-v2/EyeSeeTokenIcon.d.ts +1 -0
  162. package/dist/components/icons-v2/FileExportIcon.d.ts +13 -0
  163. package/dist/components/icons-v2/FileIcon.d.ts +13 -0
  164. package/dist/components/icons-v2/FileImportIcon.d.ts +13 -0
  165. package/dist/components/icons-v2/FileNewIcon.d.ts +13 -0
  166. package/dist/components/icons-v2/FileRemoveIcon.d.ts +13 -0
  167. package/dist/components/icons-v2/FileTemplateIcon.d.ts +13 -0
  168. package/dist/components/icons-v2/FileUploadIcon.d.ts +13 -0
  169. package/dist/components/icons-v2/FilesIcon.d.ts +13 -0
  170. package/dist/components/icons-v2/FilterOffIcon.d.ts +13 -0
  171. package/dist/components/icons-v2/FilterOnIcon.d.ts +13 -0
  172. package/dist/components/icons-v2/FlagIcon.d.ts +13 -0
  173. package/dist/components/icons-v2/FolderIcon.d.ts +13 -0
  174. package/dist/components/icons-v2/FullscreenIcon.d.ts +13 -0
  175. package/dist/components/icons-v2/GridviewIcon.d.ts +13 -0
  176. package/dist/components/icons-v2/HelpIcon.d.ts +10 -0
  177. package/dist/components/icons-v2/HomeIcon.d.ts +13 -0
  178. package/dist/components/icons-v2/ImageIcon.d.ts +13 -0
  179. package/dist/components/icons-v2/ImageOffIcon.d.ts +13 -0
  180. package/dist/components/icons-v2/ImageStarIcon.d.ts +15 -0
  181. package/dist/components/icons-v2/ImageUploadIcon.d.ts +13 -0
  182. package/dist/components/icons-v2/InfoIcon.d.ts +13 -0
  183. package/dist/components/icons-v2/ItalicIcon.d.ts +13 -0
  184. package/dist/components/icons-v2/LanguageIcon.d.ts +13 -0
  185. package/dist/components/icons-v2/LaunchIcon.d.ts +13 -0
  186. package/dist/components/icons-v2/LayersIcon.d.ts +13 -0
  187. package/dist/components/icons-v2/LeftSidebarCollapseIcon.d.ts +13 -0
  188. package/dist/components/icons-v2/LeftSidebarExpandIcon.d.ts +13 -0
  189. package/dist/components/icons-v2/LightDarkIcon.d.ts +13 -0
  190. package/dist/components/icons-v2/LightbulbIcon.d.ts +13 -0
  191. package/dist/components/icons-v2/LikeIcon.d.ts +13 -0
  192. package/dist/components/icons-v2/LinkIcon.d.ts +13 -0
  193. package/dist/components/icons-v2/ListCheckIcon.d.ts +1 -0
  194. package/dist/components/icons-v2/ListViewIcon.d.ts +13 -0
  195. package/dist/components/icons-v2/LoaderIcon.d.ts +14 -0
  196. package/dist/components/icons-v2/LoadingIcon.d.ts +14 -0
  197. package/dist/components/icons-v2/LockIcon.d.ts +13 -0
  198. package/dist/components/icons-v2/LockOffIcon.d.ts +13 -0
  199. package/dist/components/icons-v2/LoginIcon.d.ts +13 -0
  200. package/dist/components/icons-v2/LogoutIcon.d.ts +13 -0
  201. package/dist/components/icons-v2/MagicwandIcon.d.ts +13 -0
  202. package/dist/components/icons-v2/MaximizeIcon.d.ts +13 -0
  203. package/dist/components/icons-v2/MenuIcon.d.ts +13 -0
  204. package/dist/components/icons-v2/MessageIcon.d.ts +13 -0
  205. package/dist/components/icons-v2/MeterIcon.d.ts +13 -0
  206. package/dist/components/icons-v2/MinimizeIcon.d.ts +13 -0
  207. package/dist/components/icons-v2/MinusIcon.d.ts +13 -0
  208. package/dist/components/icons-v2/MoreHorizontalIcon.d.ts +13 -0
  209. package/dist/components/icons-v2/MoreIcon.d.ts +13 -0
  210. package/dist/components/icons-v2/MouseIcon.d.ts +13 -0
  211. package/dist/components/icons-v2/MoveIcon.d.ts +13 -0
  212. package/dist/components/icons-v2/Multiplier05Icon.d.ts +13 -0
  213. package/dist/components/icons-v2/Multiplier10Icon.d.ts +13 -0
  214. package/dist/components/icons-v2/Multiplier15Icon.d.ts +13 -0
  215. package/dist/components/icons-v2/Multiplier20Icon.d.ts +13 -0
  216. package/dist/components/icons-v2/NoteIcon.d.ts +13 -0
  217. package/dist/components/icons-v2/NoteOffIcon.d.ts +13 -0
  218. package/dist/components/icons-v2/NotifyIcon.d.ts +13 -0
  219. package/dist/components/icons-v2/PackAIIcon.d.ts +13 -0
  220. package/dist/components/icons-v2/PackseeIcon.d.ts +1 -0
  221. package/dist/components/icons-v2/PaperclipIcon.d.ts +13 -0
  222. package/dist/components/icons-v2/PauseIcon.d.ts +13 -0
  223. package/dist/components/icons-v2/PdfIcon.d.ts +13 -0
  224. package/dist/components/icons-v2/PentoolIcon.d.ts +13 -0
  225. package/dist/components/icons-v2/PiechartIcon.d.ts +13 -0
  226. package/dist/components/icons-v2/PinIcon.d.ts +13 -0
  227. package/dist/components/icons-v2/PinskewedIcon.d.ts +13 -0
  228. package/dist/components/icons-v2/PlayIcon.d.ts +13 -0
  229. package/dist/components/icons-v2/PlusIcon.d.ts +12 -0
  230. package/dist/components/icons-v2/PredictiveETIcon.d.ts +13 -0
  231. package/dist/components/icons-v2/RectanglesAddIcon.d.ts +1 -0
  232. package/dist/components/icons-v2/RedoIcon.d.ts +13 -0
  233. package/dist/components/icons-v2/RefreshAlertIcon.d.ts +13 -0
  234. package/dist/components/icons-v2/RefreshIcon.d.ts +13 -0
  235. package/dist/components/icons-v2/ReplaceIcon.d.ts +13 -0
  236. package/dist/components/icons-v2/ReplyIcon.d.ts +13 -0
  237. package/dist/components/icons-v2/SaveIcon.d.ts +12 -0
  238. package/dist/components/icons-v2/ScalesIcon.d.ts +13 -0
  239. package/dist/components/icons-v2/SearchIcon.d.ts +13 -0
  240. package/dist/components/icons-v2/SendIcon.d.ts +13 -0
  241. package/dist/components/icons-v2/SettingsIcon.d.ts +13 -0
  242. package/dist/components/icons-v2/ShareIcon.d.ts +13 -0
  243. package/dist/components/icons-v2/ShelfAddIcon.d.ts +13 -0
  244. package/dist/components/icons-v2/ShelfIcon.d.ts +13 -0
  245. package/dist/components/icons-v2/ShelfInfoIcon.d.ts +13 -0
  246. package/dist/components/icons-v2/ShoppingIcon.d.ts +13 -0
  247. package/dist/components/icons-v2/SlideshowIcon.d.ts +13 -0
  248. package/dist/components/icons-v2/SocialFacebookIcon.d.ts +13 -0
  249. package/dist/components/icons-v2/SocialInstagramIcon.d.ts +13 -0
  250. package/dist/components/icons-v2/SocialSnapchatIcon.d.ts +13 -0
  251. package/dist/components/icons-v2/SocialTiktok2Icon.d.ts +13 -0
  252. package/dist/components/icons-v2/SocialTiktokIcon.d.ts +13 -0
  253. package/dist/components/icons-v2/SocialXIcon.d.ts +13 -0
  254. package/dist/components/icons-v2/SocialYoutubeIcon.d.ts +13 -0
  255. package/dist/components/icons-v2/SortHorizontalIcon.d.ts +13 -0
  256. package/dist/components/icons-v2/SquareAddIcon.d.ts +1 -0
  257. package/dist/components/icons-v2/StarIcon.d.ts +20 -0
  258. package/dist/components/icons-v2/StopIcon.d.ts +11 -0
  259. package/dist/components/icons-v2/SurveyIcon.d.ts +13 -0
  260. package/dist/components/icons-v2/TableExportIcon.d.ts +13 -0
  261. package/dist/components/icons-v2/TableIcon.d.ts +13 -0
  262. package/dist/components/icons-v2/TableOptionsIcon.d.ts +13 -0
  263. package/dist/components/icons-v2/TagIcon.d.ts +13 -0
  264. package/dist/components/icons-v2/TargetArrowIcon.d.ts +13 -0
  265. package/dist/components/icons-v2/TargetIcon.d.ts +13 -0
  266. package/dist/components/icons-v2/TextRecognitionIcon.d.ts +13 -0
  267. package/dist/components/icons-v2/TriangleFlagIcon.d.ts +13 -0
  268. package/dist/components/icons-v2/TrophyIcon.d.ts +13 -0
  269. package/dist/components/icons-v2/UnderlineIcon.d.ts +13 -0
  270. package/dist/components/icons-v2/UndoIcon.d.ts +13 -0
  271. package/dist/components/icons-v2/UnitBuyRateIcon.d.ts +13 -0
  272. package/dist/components/icons-v2/UploadIcon.d.ts +13 -0
  273. package/dist/components/icons-v2/UserGroupIcon.d.ts +13 -0
  274. package/dist/components/icons-v2/UserIcon.d.ts +13 -0
  275. package/dist/components/icons-v2/UsersIcon.d.ts +13 -0
  276. package/dist/components/icons-v2/ValueBuyRateIcon.d.ts +13 -0
  277. package/dist/components/icons-v2/VideoIcon.d.ts +13 -0
  278. package/dist/components/icons-v2/ViewOffIcon.d.ts +13 -0
  279. package/dist/components/icons-v2/ViewOnIcon.d.ts +13 -0
  280. package/dist/components/icons-v2/VolumeOffIcon.d.ts +13 -0
  281. package/dist/components/icons-v2/VolumeOnIcon.d.ts +13 -0
  282. package/dist/components/icons-v2/WebIcon.d.ts +13 -0
  283. package/dist/components/icons-v2/XIcon.d.ts +13 -0
  284. package/dist/components/icons-v2/ZipFileIcon.d.ts +13 -0
  285. package/dist/components/icons-v2/ZonePercentageIcon.d.ts +1 -0
  286. package/dist/components/icons-v2/ZoomInIcon.d.ts +1 -0
  287. package/dist/components/icons-v2/ZoomOutIcon.d.ts +1 -0
  288. package/dist/components/icons-v2/constants.d.ts +61 -0
  289. package/dist/components/icons-v2/createIcon.d.ts +45 -0
  290. package/dist/components/icons-v2/index.d.ts +209 -0
  291. package/dist/components/icons-v2/index.js +376 -374
  292. package/dist/components/index.d.ts +30 -0
  293. package/dist/hooks/useClickOutside.d.ts +2 -0
  294. package/dist/hooks/useEscapeKey.d.ts +1 -0
  295. package/dist/index.d.ts +1 -0
  296. package/dist/style.css +1 -1
  297. package/package.json +17 -4
@@ -0,0 +1,20 @@
1
+ /**
2
+ * SVG five-pointed star icon used to represent favourites, ratings, or
3
+ * bookmarked items.
4
+ *
5
+ * Unlike most icons in this set, `StarIcon` exposes a `fill` prop so the
6
+ * star can be rendered in a solid/filled state (e.g. to indicate a selected
7
+ * favourite).
8
+ *
9
+ * @param {object} props
10
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
11
+ * Accepts any valid CSS colour value.
12
+ * @param {import('./constants').IconSize} [props.iconSize='m']
13
+ * T-shirt size token that controls the rendered `width`/`height` and
14
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
15
+ * @param {string} [props.fill='none'] - SVG `fill` attribute for the star
16
+ * path. Pass a colour value (e.g. `'currentColor'` or a hex code) to render
17
+ * the star as solid/filled.
18
+ * @returns {JSX.Element}
19
+ */
20
+ export const StarIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * SVG filled stop icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - Fill colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height`.
9
+ * @returns {JSX.Element}
10
+ */
11
+ export const StopIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG survey icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const SurveyIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG table export icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const TableExportIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG table icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const TableIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG table options icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const TableOptionsIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG tag icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const TagIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG target with arrow icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const TargetArrowIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG target icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke/fill colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const TargetIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG text recognition icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const TextRecognitionIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG triangle flag icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const TriangleFlagIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG trophy icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const TrophyIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG underline icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const UnderlineIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG undo icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const UndoIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG unit buy rate icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const UnitBuyRateIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG upload icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const UploadIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG user group icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const UserGroupIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG user icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const UserIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG users icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const UsersIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG value buy rate icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const ValueBuyRateIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG video icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const VideoIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG view off icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const ViewOffIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG view on icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const ViewOnIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG volume off icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const VolumeOffIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG volume on icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const VolumeOnIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG web/globe icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const WebIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG x/close icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const XIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * SVG zip file icon.
3
+ *
4
+ * @param {object} props
5
+ * @param {string} [props.strokeColor='currentColor'] - SVG stroke colour.
6
+ * Accepts any valid CSS colour value.
7
+ * @param {import('./constants').IconSize} [props.iconSize='m']
8
+ * T-shirt size token that controls the rendered `width`/`height` and
9
+ * `stroke-width` via {@link iconSizes} and {@link iconStrokeWidths}.
10
+ * @param {string} [props.fill='none'] - SVG fill colour.
11
+ * @returns {JSX.Element}
12
+ */
13
+ export const ZipFileIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export const ZonePercentageIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export const ZoomInIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export const ZoomOutIcon: (props: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,61 @@
1
+ /**
2
+ * T-shirt size token recognised by every `icons-v2` component.
3
+ * Maps a human-readable size key to a concrete pixel dimension.
4
+ *
5
+ * @typedef {'s'|'m'|'l'|'xl'|'xxl'|'4xl'} IconSize
6
+ */
7
+ /**
8
+ * Pixel dimensions for each {@link IconSize} token.
9
+ *
10
+ * | Token | px |
11
+ * |-------|----|
12
+ * | `s` | 16 |
13
+ * | `m` | 20 |
14
+ * | `l` | 24 |
15
+ * | `xl` | 28 |
16
+ * | `xxl` | 32 |
17
+ * | `4xl` | 48 |
18
+ *
19
+ * @type {Record<IconSize, number>}
20
+ /**
21
+ * CSS variable tokens for icon sizes, aligned to `src/styles/variables.scss`.
22
+ * Use this when you want responsive sizing via CSS variables.
23
+ * | Token | CSS variable |
24
+ * |-------|--------------|
25
+ * | `4xl` | `--icon--icon-size--4xl` |
26
+ * | `xxl` | `--icon--icon-size--2xl` |
27
+ * | `xl` | `--icon--icon-size--xl` |
28
+ * | `l` | `--icon--icon-size--lg` |
29
+ * | `m` | `--icon--icon-size--default` |
30
+ * | `s` | `--icon--icon-size--sm` |
31
+ *
32
+ * @type {Record<IconSize, string>}
33
+ */
34
+ export const iconSizes: Record<IconSize, number>;
35
+ /**
36
+ * CSS variable tokens for icon stroke widths, aligned to `src/styles/variables.scss`.
37
+ * Use this when you want responsive sizing via CSS variables.
38
+ * | Token | CSS variable |
39
+ * |-------|--------------|
40
+ * | `4xl` | `--icon--icon-weight--4xl` |
41
+ * | `xxl` | `--icon--icon-weight--2xl` |
42
+ * | `xl` | `--icon--icon-weight--xl` |
43
+ * | `l` | `--icon--icon-weight--lg` |
44
+ * | `m` | `--icon--icon-weight--default` |
45
+ * | `s` | `--icon--icon-weight--sm` |
46
+ *
47
+ * @type {Record<IconSize, number>}
48
+ /**
49
+ * CSS variable tokens for icon stroke widths, aligned to `src/styles/variables.scss`.
50
+ *
51
+ * @type {Record<IconSize, string>}
52
+ */ export const iconStrokeWidths: Record<IconSize, number>;
53
+ export function getIconDimensions(iconSize?: string): {
54
+ size: any;
55
+ strokeWidth: any;
56
+ };
57
+ /**
58
+ * T-shirt size token recognised by every `icons-v2` component.
59
+ * Maps a human-readable size key to a concrete pixel dimension.
60
+ */
61
+ export type IconSize = "s" | "m" | "l" | "xl" | "xxl" | "4xl";
@@ -0,0 +1,45 @@
1
+ export function createIcon(renderPaths: (params: {
2
+ strokeColor: string;
3
+ strokeWidth: string;
4
+ fill: string;
5
+ }) => import("react").ReactNode, options?: {
6
+ animatedByDefault?: boolean;
7
+ }): (props: IconProps) => import("react").JSX.Element;
8
+ export type IconProps = {
9
+ /**
10
+ * T-shirt size token that controls the rendered `width`/`height` and stroke width.
11
+ */
12
+ iconSize?: import("./constants").IconSize;
13
+ /**
14
+ * Click handler. When provided the icon is clickable.
15
+ */
16
+ onClick?: Function;
17
+ /**
18
+ * SVG fill colour.
19
+ */
20
+ fill?: string;
21
+ /**
22
+ * SVG stroke colour. Accepts any valid CSS colour value.
23
+ */
24
+ strokeColor?: string;
25
+ /**
26
+ * Stroke colour applied on hover.
27
+ */
28
+ strokeColorOnHover?: string;
29
+ /**
30
+ * Fill colour applied on hover.
31
+ */
32
+ fillOnHover?: string;
33
+ /**
34
+ * Applies disabled colour tokens and ignores clicks.
35
+ */
36
+ disabled?: boolean;
37
+ /**
38
+ * When `true`, applies the spinner animation class.
39
+ */
40
+ animated?: boolean;
41
+ /**
42
+ * Custom viewBox size for icons that are not 32×32. Sets `0 0 {n} {n}`.
43
+ */
44
+ viewBoxSize?: number;
45
+ };