@apify/ui-library 1.141.0 → 1.141.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 (472) hide show
  1. package/dist/src/components/{action_link.d.ts → action_link/action_link.d.ts} +2 -2
  2. package/dist/src/components/action_link/action_link.d.ts.map +1 -0
  3. package/dist/src/components/{action_link.js → action_link/action_link.js} +4 -4
  4. package/dist/src/components/action_link/action_link.js.map +1 -0
  5. package/dist/src/components/action_link/index.d.ts +2 -0
  6. package/dist/src/components/action_link/index.d.ts.map +1 -0
  7. package/dist/src/components/action_link/index.js +2 -0
  8. package/dist/src/components/action_link/index.js.map +1 -0
  9. package/dist/src/components/actor_template_card/actor_template_card.d.ts.map +1 -0
  10. package/dist/src/components/{actor_template_card.js → actor_template_card/actor_template_card.js} +4 -4
  11. package/dist/src/components/actor_template_card/actor_template_card.js.map +1 -0
  12. package/dist/src/components/actor_template_card/index.d.ts +2 -0
  13. package/dist/src/components/actor_template_card/index.d.ts.map +1 -0
  14. package/dist/src/components/actor_template_card/index.js +2 -0
  15. package/dist/src/components/actor_template_card/index.js.map +1 -0
  16. package/dist/src/components/{badge.d.ts → badge/badge.d.ts} +2 -2
  17. package/dist/src/components/badge/badge.d.ts.map +1 -0
  18. package/dist/src/components/{badge.js → badge/badge.js} +3 -3
  19. package/dist/src/components/badge/badge.js.map +1 -0
  20. package/dist/src/components/badge/index.d.ts +2 -0
  21. package/dist/src/components/badge/index.d.ts.map +1 -0
  22. package/dist/src/components/badge/index.js +2 -0
  23. package/dist/src/components/badge/index.js.map +1 -0
  24. package/dist/src/components/banner/banner.d.ts.map +1 -0
  25. package/dist/src/components/{banner.js → banner/banner.js} +1 -1
  26. package/dist/src/components/banner/banner.js.map +1 -0
  27. package/dist/src/components/banner/index.d.ts +2 -0
  28. package/dist/src/components/banner/index.d.ts.map +1 -0
  29. package/dist/src/components/banner/index.js +2 -0
  30. package/dist/src/components/banner/index.js.map +1 -0
  31. package/dist/src/components/blog_article/blog_article.d.ts.map +1 -0
  32. package/dist/src/components/{blog_article.js → blog_article/blog_article.js} +1 -1
  33. package/dist/src/components/blog_article/blog_article.js.map +1 -0
  34. package/dist/src/components/blog_article/index.d.ts +2 -0
  35. package/dist/src/components/blog_article/index.d.ts.map +1 -0
  36. package/dist/src/components/blog_article/index.js +2 -0
  37. package/dist/src/components/blog_article/index.js.map +1 -0
  38. package/dist/src/components/{box.d.ts → box/box.d.ts} +1 -1
  39. package/dist/src/components/box/box.d.ts.map +1 -0
  40. package/dist/src/components/{box.js → box/box.js} +1 -1
  41. package/dist/src/components/box/box.js.map +1 -0
  42. package/dist/src/components/box/index.d.ts +2 -0
  43. package/dist/src/components/box/index.d.ts.map +1 -0
  44. package/dist/src/components/box/index.js +2 -0
  45. package/dist/src/components/box/index.js.map +1 -0
  46. package/dist/src/components/breadcrumb/breadcrumb.js +3 -3
  47. package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
  48. package/dist/src/components/browser_window/browser_window.js +1 -1
  49. package/dist/src/components/browser_window/browser_window.js.map +1 -1
  50. package/dist/src/components/{button.d.ts → button/button.d.ts} +3 -3
  51. package/dist/src/components/button/button.d.ts.map +1 -0
  52. package/dist/src/components/{button.js → button/button.js} +5 -5
  53. package/dist/src/components/button/button.js.map +1 -0
  54. package/dist/src/components/button/index.d.ts +2 -0
  55. package/dist/src/components/button/index.d.ts.map +1 -0
  56. package/dist/src/components/button/index.js +2 -0
  57. package/dist/src/components/button/index.js.map +1 -0
  58. package/dist/src/components/{to_consolidate → card}/card.d.ts +2 -2
  59. package/dist/src/components/card/card.d.ts.map +1 -0
  60. package/dist/src/components/{to_consolidate → card}/card.js +2 -2
  61. package/dist/src/components/card/card.js.map +1 -0
  62. package/dist/src/components/card/index.d.ts +2 -0
  63. package/dist/src/components/card/index.d.ts.map +1 -0
  64. package/dist/src/components/card/index.js +2 -0
  65. package/dist/src/components/card/index.js.map +1 -0
  66. package/dist/src/components/{card_container.d.ts → card_container/card_container.d.ts} +2 -2
  67. package/dist/src/components/card_container/card_container.d.ts.map +1 -0
  68. package/dist/src/components/{card_container.js → card_container/card_container.js} +2 -2
  69. package/dist/src/components/card_container/card_container.js.map +1 -0
  70. package/dist/src/components/card_container/index.d.ts +2 -0
  71. package/dist/src/components/card_container/index.d.ts.map +1 -0
  72. package/dist/src/components/card_container/index.js +2 -0
  73. package/dist/src/components/card_container/index.js.map +1 -0
  74. package/dist/src/components/{chip.d.ts → chip/chip.d.ts} +1 -1
  75. package/dist/src/components/chip/chip.d.ts.map +1 -0
  76. package/dist/src/components/{chip.js → chip/chip.js} +1 -1
  77. package/dist/src/components/chip/chip.js.map +1 -0
  78. package/dist/src/components/chip/index.d.ts +2 -0
  79. package/dist/src/components/chip/index.d.ts.map +1 -0
  80. package/dist/src/components/chip/index.js +2 -0
  81. package/dist/src/components/chip/index.js.map +1 -0
  82. package/dist/src/components/code/action_button.js +2 -2
  83. package/dist/src/components/code/action_button.js.map +1 -1
  84. package/dist/src/components/code/code_block/code_block.d.ts +2 -2
  85. package/dist/src/components/code/code_block/code_block.d.ts.map +1 -1
  86. package/dist/src/components/code/code_block/code_block.js +3 -3
  87. package/dist/src/components/code/code_block/code_block.js.map +1 -1
  88. package/dist/src/components/code/code_block/code_block.styled.d.ts +3 -3
  89. package/dist/src/components/code/code_block/code_block.styled.d.ts.map +1 -1
  90. package/dist/src/components/code/code_block/code_block.styled.js +1 -1
  91. package/dist/src/components/code/code_block/code_block.styled.js.map +1 -1
  92. package/dist/src/components/code/code_block/code_block_with_tabs.d.ts +2 -2
  93. package/dist/src/components/code/code_block/code_block_with_tabs.d.ts.map +1 -1
  94. package/dist/src/components/code/code_block/code_block_with_tabs.js +2 -2
  95. package/dist/src/components/code/code_block/code_block_with_tabs.js.map +1 -1
  96. package/dist/src/components/code/inline_code/inline_code.d.ts +2 -2
  97. package/dist/src/components/code/inline_code/inline_code.d.ts.map +1 -1
  98. package/dist/src/components/code/inline_code/inline_code.js +1 -1
  99. package/dist/src/components/code/inline_code/inline_code.js.map +1 -1
  100. package/dist/src/components/code/one_line_code/one_line_code.d.ts +2 -2
  101. package/dist/src/components/code/one_line_code/one_line_code.d.ts.map +1 -1
  102. package/dist/src/components/code/one_line_code/one_line_code.js +1 -1
  103. package/dist/src/components/code/one_line_code/one_line_code.js.map +1 -1
  104. package/dist/src/components/code/prism_highlighter.d.ts +4 -4
  105. package/dist/src/components/code/prism_highlighter.d.ts.map +1 -1
  106. package/dist/src/components/code/prism_highlighter.js +1 -1
  107. package/dist/src/components/code/prism_highlighter.js.map +1 -1
  108. package/dist/src/components/collapsible_card/collapsible_card.js +1 -1
  109. package/dist/src/components/collapsible_card/collapsible_card.js.map +1 -1
  110. package/dist/src/components/color_wheel_gradient/color_wheel_gradient.d.ts.map +1 -0
  111. package/dist/src/components/color_wheel_gradient/color_wheel_gradient.js.map +1 -0
  112. package/dist/src/components/color_wheel_gradient/index.d.ts +2 -0
  113. package/dist/src/components/color_wheel_gradient/index.d.ts.map +1 -0
  114. package/dist/src/components/color_wheel_gradient/index.js +2 -0
  115. package/dist/src/components/color_wheel_gradient/index.js.map +1 -0
  116. package/dist/src/components/floating/menu.d.ts +1 -1
  117. package/dist/src/components/floating/menu.d.ts.map +1 -1
  118. package/dist/src/components/floating/menu.js +2 -2
  119. package/dist/src/components/floating/menu.js.map +1 -1
  120. package/dist/src/components/floating/menu_components.d.ts +1 -1
  121. package/dist/src/components/floating/menu_components.d.ts.map +1 -1
  122. package/dist/src/components/floating/menu_components.js +2 -2
  123. package/dist/src/components/floating/menu_components.js.map +1 -1
  124. package/dist/src/components/floating/tooltip_content.d.ts +1 -1
  125. package/dist/src/components/floating/tooltip_content.d.ts.map +1 -1
  126. package/dist/src/components/floating/tooltip_content.js +1 -1
  127. package/dist/src/components/floating/tooltip_content.js.map +1 -1
  128. package/dist/src/components/{icon_button.d.ts → icon_button/icon_button.d.ts} +3 -3
  129. package/dist/src/components/icon_button/icon_button.d.ts.map +1 -0
  130. package/dist/src/components/{icon_button.js → icon_button/icon_button.js} +5 -5
  131. package/dist/src/components/icon_button/icon_button.js.map +1 -0
  132. package/dist/src/components/icon_button/index.d.ts +2 -0
  133. package/dist/src/components/icon_button/index.d.ts.map +1 -0
  134. package/dist/src/components/icon_button/index.js +2 -0
  135. package/dist/src/components/icon_button/index.js.map +1 -0
  136. package/dist/src/components/{image.d.ts → image/image.d.ts} +2 -2
  137. package/dist/src/components/image/image.d.ts.map +1 -0
  138. package/dist/src/components/{image.js → image/image.js} +2 -2
  139. package/dist/src/components/image/image.js.map +1 -0
  140. package/dist/src/components/image/index.d.ts +2 -0
  141. package/dist/src/components/image/index.d.ts.map +1 -0
  142. package/dist/src/components/image/index.js +2 -0
  143. package/dist/src/components/image/index.js.map +1 -0
  144. package/dist/src/components/index.d.ts +39 -36
  145. package/dist/src/components/index.d.ts.map +1 -1
  146. package/dist/src/components/index.js +39 -36
  147. package/dist/src/components/index.js.map +1 -1
  148. package/dist/src/components/link/index.d.ts +2 -0
  149. package/dist/src/components/link/index.d.ts.map +1 -0
  150. package/dist/src/components/link/index.js +2 -0
  151. package/dist/src/components/link/index.js.map +1 -0
  152. package/dist/src/components/{link.d.ts → link/link.d.ts} +1 -1
  153. package/dist/src/components/link/link.d.ts.map +1 -0
  154. package/dist/src/components/{link.js → link/link.js} +3 -3
  155. package/dist/src/components/link/link.js.map +1 -0
  156. package/dist/src/components/markdown/index.d.ts +2 -0
  157. package/dist/src/components/markdown/index.d.ts.map +1 -0
  158. package/dist/src/components/markdown/index.js +2 -0
  159. package/dist/src/components/markdown/index.js.map +1 -0
  160. package/dist/src/components/{to_consolidate → markdown}/markdown.d.ts +1 -1
  161. package/dist/src/components/markdown/markdown.d.ts.map +1 -0
  162. package/dist/src/components/{to_consolidate → markdown}/markdown.js +5 -5
  163. package/dist/src/components/markdown/markdown.js.map +1 -0
  164. package/dist/src/components/message/index.d.ts +2 -0
  165. package/dist/src/components/message/index.d.ts.map +1 -0
  166. package/dist/src/components/message/index.js +2 -0
  167. package/dist/src/components/message/index.js.map +1 -0
  168. package/dist/src/components/{message.d.ts → message/message.d.ts} +2 -2
  169. package/dist/src/components/message/message.d.ts.map +1 -0
  170. package/dist/src/components/{message.js → message/message.js} +4 -4
  171. package/dist/src/components/message/message.js.map +1 -0
  172. package/dist/src/components/pagination/index.d.ts +2 -0
  173. package/dist/src/components/pagination/index.d.ts.map +1 -0
  174. package/dist/src/components/pagination/index.js +2 -0
  175. package/dist/src/components/pagination/index.js.map +1 -0
  176. package/dist/src/components/pagination/pagination.d.ts.map +1 -0
  177. package/dist/src/components/{to_consolidate → pagination}/pagination.js +2 -2
  178. package/dist/src/components/pagination/pagination.js.map +1 -0
  179. package/dist/src/components/rating/index.d.ts +2 -0
  180. package/dist/src/components/rating/index.d.ts.map +1 -0
  181. package/dist/src/components/rating/index.js +2 -0
  182. package/dist/src/components/rating/index.js.map +1 -0
  183. package/dist/src/components/{rating.d.ts → rating/rating.d.ts} +1 -1
  184. package/dist/src/components/rating/rating.d.ts.map +1 -0
  185. package/dist/src/components/{rating.js → rating/rating.js} +3 -3
  186. package/dist/src/components/rating/rating.js.map +1 -0
  187. package/dist/src/components/readme_renderer/table_of_contents.js +3 -3
  188. package/dist/src/components/readme_renderer/table_of_contents.js.map +1 -1
  189. package/dist/src/components/select/select.js +2 -2
  190. package/dist/src/components/select/select.js.map +1 -1
  191. package/dist/src/components/shortcut/index.d.ts +2 -0
  192. package/dist/src/components/shortcut/index.d.ts.map +1 -0
  193. package/dist/src/components/shortcut/index.js +2 -0
  194. package/dist/src/components/shortcut/index.js.map +1 -0
  195. package/dist/src/components/shortcut/shortcut.d.ts.map +1 -0
  196. package/dist/src/components/{shortcut.js → shortcut/shortcut.js} +2 -2
  197. package/dist/src/components/shortcut/shortcut.js.map +1 -0
  198. package/dist/src/components/simple_markdown/simple_markdown.js +5 -5
  199. package/dist/src/components/simple_markdown/simple_markdown.js.map +1 -1
  200. package/dist/src/components/simple_markdown/simple_markdown_components.d.ts +6 -6
  201. package/dist/src/components/simple_markdown/simple_markdown_components.d.ts.map +1 -1
  202. package/dist/src/components/simple_markdown/simple_markdown_components.js +6 -6
  203. package/dist/src/components/simple_markdown/simple_markdown_components.js.map +1 -1
  204. package/dist/src/components/spinner/index.d.ts +2 -0
  205. package/dist/src/components/spinner/index.d.ts.map +1 -0
  206. package/dist/src/components/spinner/index.js +2 -0
  207. package/dist/src/components/spinner/index.js.map +1 -0
  208. package/dist/src/components/spinner/spinner.d.ts.map +1 -0
  209. package/dist/src/components/{spinner.js → spinner/spinner.js} +1 -1
  210. package/dist/src/components/spinner/spinner.js.map +1 -0
  211. package/dist/src/components/store/store_actor_header.d.ts +1 -1
  212. package/dist/src/components/store/store_actor_header.d.ts.map +1 -1
  213. package/dist/src/components/store/store_actor_header.js +2 -2
  214. package/dist/src/components/store/store_actor_header.js.map +1 -1
  215. package/dist/src/components/tab_number_chip/index.d.ts +2 -0
  216. package/dist/src/components/tab_number_chip/index.d.ts.map +1 -0
  217. package/dist/src/components/tab_number_chip/index.js +2 -0
  218. package/dist/src/components/tab_number_chip/index.js.map +1 -0
  219. package/dist/src/components/tab_number_chip/tab_number_chip.d.ts.map +1 -0
  220. package/dist/src/components/{to_consolidate → tab_number_chip}/tab_number_chip.js +1 -1
  221. package/dist/src/components/tab_number_chip/tab_number_chip.js.map +1 -0
  222. package/dist/src/components/table/table.context.d.ts +1 -1
  223. package/dist/src/components/table/table.context.d.ts.map +1 -1
  224. package/dist/src/components/table/table.styled.d.ts +2 -2
  225. package/dist/src/components/table/table.styled.d.ts.map +1 -1
  226. package/dist/src/components/table/table.styled.js +1 -1
  227. package/dist/src/components/table/table.styled.js.map +1 -1
  228. package/dist/src/components/table/table.types.d.ts +1 -1
  229. package/dist/src/components/table/table.types.d.ts.map +1 -1
  230. package/dist/src/components/table/table_cell.d.ts +1 -1
  231. package/dist/src/components/table/table_cell.d.ts.map +1 -1
  232. package/dist/src/components/table/table_cell.js +1 -1
  233. package/dist/src/components/table/table_cell.js.map +1 -1
  234. package/dist/src/components/table/table_error_row.js +1 -1
  235. package/dist/src/components/table/table_error_row.js.map +1 -1
  236. package/dist/src/components/table/table_expansion_row.d.ts +1 -1
  237. package/dist/src/components/table/table_expansion_row.d.ts.map +1 -1
  238. package/dist/src/components/table/table_loading_row.js +1 -1
  239. package/dist/src/components/table/table_loading_row.js.map +1 -1
  240. package/dist/src/components/table/table_row.d.ts +1 -1
  241. package/dist/src/components/table/table_row.d.ts.map +1 -1
  242. package/dist/src/components/table/table_wrapper.d.ts +1 -1
  243. package/dist/src/components/table/table_wrapper.d.ts.map +1 -1
  244. package/dist/src/components/table/table_wrapper.js +1 -1
  245. package/dist/src/components/table/table_wrapper.js.map +1 -1
  246. package/dist/src/components/tabs/tab.d.ts +2 -2
  247. package/dist/src/components/tabs/tab.d.ts.map +1 -1
  248. package/dist/src/components/tabs/tab.js +3 -3
  249. package/dist/src/components/tabs/tab.js.map +1 -1
  250. package/dist/src/components/tabs/tabs.d.ts +2 -2
  251. package/dist/src/components/tabs/tabs.d.ts.map +1 -1
  252. package/dist/src/components/tabs/tabs.js +1 -1
  253. package/dist/src/components/tabs/tabs.js.map +1 -1
  254. package/dist/src/components/tag/index.d.ts +2 -0
  255. package/dist/src/components/tag/index.d.ts.map +1 -0
  256. package/dist/src/components/tag/index.js +2 -0
  257. package/dist/src/components/tag/index.js.map +1 -0
  258. package/dist/src/components/tag/tag.d.ts +44 -0
  259. package/dist/src/components/tag/tag.d.ts.map +1 -0
  260. package/dist/src/components/tag/tag.js +136 -0
  261. package/dist/src/components/tag/tag.js.map +1 -0
  262. package/dist/src/components/tag.d.ts +1 -42
  263. package/dist/src/components/tag.d.ts.map +1 -1
  264. package/dist/src/components/tag.js +1 -135
  265. package/dist/src/components/tag.js.map +1 -1
  266. package/dist/src/components/text/heading_content.d.ts +1 -1
  267. package/dist/src/components/text/heading_content.d.ts.map +1 -1
  268. package/dist/src/components/text/heading_marketing.d.ts +1 -1
  269. package/dist/src/components/text/heading_marketing.d.ts.map +1 -1
  270. package/dist/src/components/text/heading_shared.d.ts +1 -1
  271. package/dist/src/components/text/heading_shared.d.ts.map +1 -1
  272. package/dist/src/components/text/index.d.ts +4 -2
  273. package/dist/src/components/text/index.d.ts.map +1 -1
  274. package/dist/src/components/text/index.js +1 -1
  275. package/dist/src/components/text/index.js.map +1 -1
  276. package/dist/src/components/text/text_base.d.ts +2 -2
  277. package/dist/src/components/text/text_base.d.ts.map +1 -1
  278. package/dist/src/components/text/text_base.js +1 -1
  279. package/dist/src/components/text/text_base.js.map +1 -1
  280. package/dist/src/components/text/text_content.d.ts +1 -1
  281. package/dist/src/components/text/text_content.d.ts.map +1 -1
  282. package/dist/src/components/text/text_marketing.d.ts +1 -1
  283. package/dist/src/components/text/text_marketing.d.ts.map +1 -1
  284. package/dist/src/components/text/text_shared.d.ts +1 -1
  285. package/dist/src/components/text/text_shared.d.ts.map +1 -1
  286. package/dist/src/components/tile/horizontal_tile.d.ts +1 -1
  287. package/dist/src/components/tile/horizontal_tile.d.ts.map +1 -1
  288. package/dist/src/components/tile/vertical_tile.d.ts +1 -1
  289. package/dist/src/components/tile/vertical_tile.d.ts.map +1 -1
  290. package/dist/src/design_system/theme.js +2 -2
  291. package/dist/src/design_system/theme.js.map +1 -1
  292. package/dist/src/index.d.ts +4 -4
  293. package/dist/src/index.d.ts.map +1 -1
  294. package/dist/src/index.js +4 -4
  295. package/dist/src/index.js.map +1 -1
  296. package/dist/src/ui_dependency_provider.d.ts +1 -1
  297. package/dist/src/ui_dependency_provider.d.ts.map +1 -1
  298. package/dist/tsconfig.build.tsbuildinfo +1 -1
  299. package/package.json +2 -2
  300. package/src/components/{action_link.tsx → action_link/action_link.tsx} +4 -4
  301. package/src/components/action_link/index.ts +1 -0
  302. package/src/components/{actor_template_card.tsx → actor_template_card/actor_template_card.tsx} +4 -4
  303. package/src/components/actor_template_card/index.ts +1 -0
  304. package/src/components/{badge.stories.jsx → badge/badge.stories.jsx} +1 -1
  305. package/src/components/{badge.tsx → badge/badge.tsx} +6 -6
  306. package/src/components/badge/index.ts +1 -0
  307. package/src/components/{banner.tsx → banner/banner.tsx} +1 -1
  308. package/src/components/banner/index.ts +1 -0
  309. package/src/components/{blog_article.tsx → blog_article/blog_article.tsx} +1 -1
  310. package/src/components/blog_article/index.ts +1 -0
  311. package/src/components/box/box.stories.tsx +87 -0
  312. package/src/components/{box.tsx → box/box.tsx} +3 -3
  313. package/src/components/box/index.ts +1 -0
  314. package/src/components/breadcrumb/breadcrumb.tsx +3 -3
  315. package/src/components/browser_window/browser_window.tsx +1 -1
  316. package/src/components/{button.stories.tsx → button/button.stories.tsx} +1 -1
  317. package/src/components/{button.tsx → button/button.tsx} +5 -5
  318. package/src/components/button/index.ts +1 -0
  319. package/src/components/{to_consolidate → card}/card.stories.tsx +1 -1
  320. package/src/components/{to_consolidate → card}/card.tsx +4 -4
  321. package/src/components/card/index.ts +1 -0
  322. package/src/components/{card_container.stories.tsx → card_container/card_container.stories.tsx} +1 -1
  323. package/src/components/{card_container.tsx → card_container/card_container.tsx} +3 -3
  324. package/src/components/card_container/index.ts +1 -0
  325. package/src/components/{chip.tsx → chip/chip.tsx} +2 -2
  326. package/src/components/chip/index.ts +1 -0
  327. package/src/components/code/action_button.tsx +2 -2
  328. package/src/components/code/code_block/code_block.styled.tsx +2 -2
  329. package/src/components/code/code_block/code_block.tsx +5 -5
  330. package/src/components/code/code_block/code_block_with_tabs.tsx +2 -2
  331. package/src/components/code/inline_code/inline_code.stories.tsx +1 -1
  332. package/src/components/code/inline_code/inline_code.tsx +3 -3
  333. package/src/components/code/one_line_code/one_line_code.tsx +4 -4
  334. package/src/components/code/prism_highlighter.tsx +2 -2
  335. package/src/components/collapsible_card/collapsible_card.tsx +2 -2
  336. package/src/components/color_wheel_gradient/index.ts +1 -0
  337. package/src/components/floating/menu.tsx +2 -2
  338. package/src/components/floating/menu_components.tsx +3 -3
  339. package/src/components/floating/tooltip_content.tsx +2 -2
  340. package/src/components/{icon_button.tsx → icon_button/icon_button.tsx} +6 -6
  341. package/src/components/icon_button/index.ts +1 -0
  342. package/src/components/image/image.stories.tsx +77 -0
  343. package/src/components/{image.tsx → image/image.tsx} +3 -3
  344. package/src/components/image/index.ts +1 -0
  345. package/src/components/index.ts +39 -36
  346. package/src/components/link/index.ts +1 -0
  347. package/src/components/{link.tsx → link/link.tsx} +3 -3
  348. package/src/components/markdown/index.ts +1 -0
  349. package/src/components/{to_consolidate → markdown}/markdown.tsx +6 -6
  350. package/src/components/message/index.ts +1 -0
  351. package/src/components/{message.stories.jsx → message/message.stories.jsx} +1 -1
  352. package/src/components/{message.tsx → message/message.tsx} +5 -5
  353. package/src/components/pagination/index.ts +1 -0
  354. package/src/components/{to_consolidate → pagination}/pagination.tsx +2 -2
  355. package/src/components/rating/index.ts +1 -0
  356. package/src/components/{rating.tsx → rating/rating.tsx} +4 -4
  357. package/src/components/readme_renderer/table_of_contents.tsx +3 -3
  358. package/src/components/select/select.tsx +2 -2
  359. package/src/components/shortcut/index.ts +1 -0
  360. package/src/components/{shortcut.stories.jsx → shortcut/shortcut.stories.jsx} +1 -1
  361. package/src/components/{shortcut.tsx → shortcut/shortcut.tsx} +2 -2
  362. package/src/components/simple_markdown/simple_markdown.stories.tsx +1 -1
  363. package/src/components/simple_markdown/simple_markdown.tsx +5 -5
  364. package/src/components/simple_markdown/simple_markdown_components.tsx +11 -11
  365. package/src/components/spinner/index.ts +1 -0
  366. package/src/components/{spinner.tsx → spinner/spinner.tsx} +2 -2
  367. package/src/components/store/store_actor_header.tsx +2 -2
  368. package/src/components/tab_number_chip/index.ts +1 -0
  369. package/src/components/{to_consolidate → tab_number_chip}/tab_number_chip.tsx +1 -1
  370. package/src/components/table/table.context.ts +1 -1
  371. package/src/components/table/table.stories.tsx +1 -1
  372. package/src/components/table/table.styled.ts +1 -1
  373. package/src/components/table/table.types.ts +1 -1
  374. package/src/components/table/table_cell.tsx +1 -1
  375. package/src/components/table/table_error_row.tsx +1 -1
  376. package/src/components/table/table_expansion_row.tsx +1 -1
  377. package/src/components/table/table_loading_row.tsx +1 -1
  378. package/src/components/table/table_row.tsx +1 -1
  379. package/src/components/table/table_wrapper.tsx +2 -2
  380. package/src/components/tabs/tab.tsx +9 -9
  381. package/src/components/tabs/tabs.tsx +5 -5
  382. package/src/components/tag/index.ts +1 -0
  383. package/src/components/{tag.stories.jsx → tag/tag.stories.jsx} +1 -1
  384. package/src/components/tag/tag.tsx +203 -0
  385. package/src/components/tag.tsx +1 -202
  386. package/src/components/text/heading_content.tsx +2 -2
  387. package/src/components/text/heading_marketing.tsx +2 -2
  388. package/src/components/text/heading_shared.tsx +2 -2
  389. package/src/components/text/index.ts +4 -1
  390. package/src/components/text/text_base.tsx +3 -3
  391. package/src/components/text/text_content.tsx +3 -3
  392. package/src/components/text/text_marketing.tsx +3 -3
  393. package/src/components/text/text_shared.tsx +2 -2
  394. package/src/components/tile/horizontal_tile.stories.tsx +1 -1
  395. package/src/components/tile/horizontal_tile.tsx +1 -1
  396. package/src/components/tile/vertical_tile.stories.tsx +2 -2
  397. package/src/components/tile/vertical_tile.tsx +1 -1
  398. package/src/design_system/theme.ts +2 -2
  399. package/src/index.ts +4 -4
  400. package/src/ui_dependency_provider.tsx +1 -1
  401. package/dist/src/components/action_link.d.ts.map +0 -1
  402. package/dist/src/components/action_link.js.map +0 -1
  403. package/dist/src/components/actor_template_card.d.ts.map +0 -1
  404. package/dist/src/components/actor_template_card.js.map +0 -1
  405. package/dist/src/components/badge.d.ts.map +0 -1
  406. package/dist/src/components/badge.js.map +0 -1
  407. package/dist/src/components/banner.d.ts.map +0 -1
  408. package/dist/src/components/banner.js.map +0 -1
  409. package/dist/src/components/blog_article.d.ts.map +0 -1
  410. package/dist/src/components/blog_article.js.map +0 -1
  411. package/dist/src/components/box.d.ts.map +0 -1
  412. package/dist/src/components/box.js.map +0 -1
  413. package/dist/src/components/button.d.ts.map +0 -1
  414. package/dist/src/components/button.js.map +0 -1
  415. package/dist/src/components/card_container.d.ts.map +0 -1
  416. package/dist/src/components/card_container.js.map +0 -1
  417. package/dist/src/components/chip.d.ts.map +0 -1
  418. package/dist/src/components/chip.js.map +0 -1
  419. package/dist/src/components/color_wheel_gradient.d.ts.map +0 -1
  420. package/dist/src/components/color_wheel_gradient.js.map +0 -1
  421. package/dist/src/components/icon_button.d.ts.map +0 -1
  422. package/dist/src/components/icon_button.js.map +0 -1
  423. package/dist/src/components/image.d.ts.map +0 -1
  424. package/dist/src/components/image.js.map +0 -1
  425. package/dist/src/components/link.d.ts.map +0 -1
  426. package/dist/src/components/link.js.map +0 -1
  427. package/dist/src/components/message.d.ts.map +0 -1
  428. package/dist/src/components/message.js.map +0 -1
  429. package/dist/src/components/rating.d.ts.map +0 -1
  430. package/dist/src/components/rating.js.map +0 -1
  431. package/dist/src/components/shortcut.d.ts.map +0 -1
  432. package/dist/src/components/shortcut.js.map +0 -1
  433. package/dist/src/components/spinner.d.ts.map +0 -1
  434. package/dist/src/components/spinner.js.map +0 -1
  435. package/dist/src/components/to_consolidate/card.d.ts.map +0 -1
  436. package/dist/src/components/to_consolidate/card.js.map +0 -1
  437. package/dist/src/components/to_consolidate/index.d.ts +0 -5
  438. package/dist/src/components/to_consolidate/index.d.ts.map +0 -1
  439. package/dist/src/components/to_consolidate/index.js +0 -5
  440. package/dist/src/components/to_consolidate/index.js.map +0 -1
  441. package/dist/src/components/to_consolidate/markdown.d.ts.map +0 -1
  442. package/dist/src/components/to_consolidate/markdown.js.map +0 -1
  443. package/dist/src/components/to_consolidate/pagination.d.ts.map +0 -1
  444. package/dist/src/components/to_consolidate/pagination.js.map +0 -1
  445. package/dist/src/components/to_consolidate/tab_number_chip.d.ts.map +0 -1
  446. package/dist/src/components/to_consolidate/tab_number_chip.js.map +0 -1
  447. package/src/components/to_consolidate/index.ts +0 -4
  448. /package/dist/src/components/{actor_template_card.d.ts → actor_template_card/actor_template_card.d.ts} +0 -0
  449. /package/dist/src/components/{banner.d.ts → banner/banner.d.ts} +0 -0
  450. /package/dist/src/components/{blog_article.d.ts → blog_article/blog_article.d.ts} +0 -0
  451. /package/dist/src/components/{color_wheel_gradient.d.ts → color_wheel_gradient/color_wheel_gradient.d.ts} +0 -0
  452. /package/dist/src/components/{color_wheel_gradient.js → color_wheel_gradient/color_wheel_gradient.js} +0 -0
  453. /package/dist/src/components/{to_consolidate → pagination}/pagination.d.ts +0 -0
  454. /package/dist/src/components/{shortcut.d.ts → shortcut/shortcut.d.ts} +0 -0
  455. /package/dist/src/components/{spinner.d.ts → spinner/spinner.d.ts} +0 -0
  456. /package/dist/src/components/{to_consolidate → tab_number_chip}/tab_number_chip.d.ts +0 -0
  457. /package/src/components/{action_link.stories.tsx → action_link/action_link.stories.tsx} +0 -0
  458. /package/src/components/{actor_template_card.stories.tsx → actor_template_card/actor_template_card.stories.tsx} +0 -0
  459. /package/src/components/{badge.doc.mdx → badge/badge.doc.mdx} +0 -0
  460. /package/src/components/{banner.stories.tsx → banner/banner.stories.tsx} +0 -0
  461. /package/src/components/{blog_article.stories.tsx → blog_article/blog_article.stories.tsx} +0 -0
  462. /package/src/components/{chip.stories.tsx → chip/chip.stories.tsx} +0 -0
  463. /package/src/components/{color_wheel_gradient.stories.tsx → color_wheel_gradient/color_wheel_gradient.stories.tsx} +0 -0
  464. /package/src/components/{color_wheel_gradient.tsx → color_wheel_gradient/color_wheel_gradient.tsx} +0 -0
  465. /package/src/components/{icon_button.stories.tsx → icon_button/icon_button.stories.tsx} +0 -0
  466. /package/src/components/{link.stories.tsx → link/link.stories.tsx} +0 -0
  467. /package/src/components/{to_consolidate → markdown}/markdown.stories.tsx +0 -0
  468. /package/src/components/{to_consolidate → pagination}/pagination.stories.tsx +0 -0
  469. /package/src/components/{rating.stories.tsx → rating/rating.stories.tsx} +0 -0
  470. /package/src/components/{spinner.stories.tsx → spinner/spinner.stories.tsx} +0 -0
  471. /package/src/components/{to_consolidate → tab_number_chip}/tab_number_chip.stories.tsx +0 -0
  472. /package/src/components/{tag.doc.mdx → tag/tag.doc.mdx} +0 -0
@@ -0,0 +1,203 @@
1
+ import type React from 'react';
2
+ import { type ForwardedRef, forwardRef } from 'react';
3
+ import styled, { css } from 'styled-components';
4
+
5
+ import type { IconComponent, IconSize } from '@apify/ui-icons';
6
+
7
+ import { theme } from '../../design_system/theme.js';
8
+ import type { WithTransientProps } from '../../type_utils';
9
+ import type { FlattenSimpleInterpolation } from '../../utils/type_utils';
10
+ import { Box, type MarginSpacingProps, type RegularBoxProps } from '../box';
11
+ import type { RegularButtonProps } from '../button';
12
+ import { Link, type RegularLinkProps } from '../link';
13
+ import { Text } from '../text';
14
+ import { type SharedTextSize, type SharedTextType } from '../text';
15
+
16
+ type TagSize = SharedTextSize;
17
+ export const TAG_SIZES: TagSize[] = ['big', 'regular', 'small'];
18
+
19
+ const TAG_ICON_SIZES = {
20
+ big: '20',
21
+ regular: '16',
22
+ small: '12',
23
+ } satisfies Record<TagSize, IconSize>;
24
+
25
+ export const TAG_VARIANTS = ['primary', 'secondary', 'subtle', 'accent', 'success', 'warning', 'error'] as const;
26
+ type TagVariant = (typeof TAG_VARIANTS)[number];
27
+
28
+ type TagNodeType = Extract<React.ElementType, 'a' | 'button'>;
29
+ type TagNodePropsMap = {
30
+ a: {
31
+ element: HTMLAnchorElement;
32
+ props: RegularLinkProps;
33
+ };
34
+ button: {
35
+ element: HTMLButtonElement;
36
+ props: RegularButtonProps;
37
+ };
38
+ };
39
+
40
+ type SharedTagProps = Omit<RegularBoxProps, 'as'> & MarginSpacingProps;
41
+ export type TagProps<T extends TagNodeType> = SharedTagProps &
42
+ ({
43
+ as?: T;
44
+ size?: TagSize;
45
+ type?: SharedTextType;
46
+ variant?: TagVariant;
47
+ LeadingIcon?: IconComponent;
48
+ TrailingIcon?: IconComponent;
49
+ title?: string;
50
+ } & Omit<TagNodePropsMap[T]['props'], 'size' | 'type'>);
51
+
52
+ const tagSizeStyle = {
53
+ big: css`
54
+ height: 4rem;
55
+ padding: ${theme.space.space8} ${theme.space.space12};
56
+ border-radius: ${theme.radius.radius12};
57
+ `,
58
+ regular: css`
59
+ height: 2.8rem;
60
+ padding: ${theme.space.space4} ${theme.space.space8};
61
+ border-radius: ${theme.radius.radius8};
62
+ `,
63
+ small: css`
64
+ height: 2rem;
65
+ padding: ${theme.space.space2} ${theme.space.space6};
66
+ border-radius: ${theme.radius.radius4};
67
+
68
+ &:has(> svg:last-child:nth-child(1)) {
69
+ padding: ${theme.space.space2} ${theme.space.space4};
70
+ }
71
+ `,
72
+ } satisfies Record<TagSize, FlattenSimpleInterpolation>;
73
+
74
+ const tagVariantStyle = {
75
+ primary: css`
76
+ color: ${theme.color.neutral.text};
77
+ fill: ${theme.color.neutral.icon};
78
+ background: transparent;
79
+ box-shadow: inset 0 0 0 1px ${theme.color.neutral.border};
80
+
81
+ &:hover {
82
+ background: ${theme.color.neutral.hover};
83
+ }
84
+ `,
85
+ secondary: css`
86
+ color: ${theme.color.neutral.text};
87
+ fill: ${theme.color.neutral.icon};
88
+ background: transparent;
89
+
90
+ &:hover {
91
+ background: ${theme.color.neutral.hover};
92
+ }
93
+ `,
94
+ subtle: css`
95
+ color: ${theme.color.neutral.text};
96
+ fill: ${theme.color.neutral.icon};
97
+ background: ${theme.color.neutral.backgroundSubtle};
98
+
99
+ &:hover {
100
+ background: ${theme.color.neutral.hover};
101
+ }
102
+ `,
103
+ accent: css`
104
+ color: ${theme.color.primary.chipText};
105
+ fill: ${theme.color.primary.chipText};
106
+ background: ${theme.color.primary.background};
107
+
108
+ &:hover {
109
+ background: ${theme.color.primary.backgroundHover};
110
+ }
111
+ `,
112
+ success: css`
113
+ color: ${theme.color.success.chipText};
114
+ fill: ${theme.color.success.chipText};
115
+ background: ${theme.color.success.background};
116
+
117
+ &:hover {
118
+ background: ${theme.color.success.backgroundHover};
119
+ }
120
+ `,
121
+ warning: css`
122
+ color: ${theme.color.warning.chipText};
123
+ fill: ${theme.color.warning.chipText};
124
+ background: ${theme.color.warning.background};
125
+
126
+ &:hover {
127
+ background: ${theme.color.warning.backgroundHover};
128
+ }
129
+ `,
130
+ error: css`
131
+ color: ${theme.color.danger.chipText};
132
+ fill: ${theme.color.danger.chipText};
133
+ background: ${theme.color.danger.background};
134
+
135
+ &:hover {
136
+ background: ${theme.color.danger.backgroundHover};
137
+ }
138
+ `,
139
+ } satisfies Record<TagVariant, FlattenSimpleInterpolation>;
140
+
141
+ type StyledTagProps = WithTransientProps<Required<Pick<TagProps<TagNodeType>, 'size' | 'variant'>>>;
142
+
143
+ const StyledTag = styled(Box)<StyledTagProps>`
144
+ ${({ $size }) => tagSizeStyle[$size]};
145
+ ${({ $variant }) => tagVariantStyle[$variant]};
146
+
147
+ /* Static styles */
148
+ width: fit-content;
149
+ border: none;
150
+ outline: none;
151
+ display: flex;
152
+ flex-direction: row;
153
+ justify-content: center;
154
+ align-items: center;
155
+ white-space: nowrap;
156
+ gap: ${theme.space.space4};
157
+ cursor: pointer;
158
+ transition: background ${theme.transition.fastEaseOut};
159
+
160
+ svg {
161
+ flex-shrink: 0;
162
+ }
163
+ `;
164
+
165
+ /**
166
+ * Component for displaying inherenly interactive chip descendant
167
+ */
168
+ function TagWrapper<T extends TagNodeType>(
169
+ {
170
+ as,
171
+ size = 'small',
172
+ type = 'body',
173
+ variant = 'primary',
174
+ LeadingIcon,
175
+ TrailingIcon,
176
+ children,
177
+ ...props
178
+ }: TagProps<T>,
179
+ ref: ForwardedRef<TagNodePropsMap[T]['element']>,
180
+ ) {
181
+ const component: React.ElementType = as === 'a' ? Link : (as ?? 'button');
182
+
183
+ // Map 'regular' tag size to 'small' text size for better visual balance when displayed next to small button
184
+ const textSize: SharedTextSize = size === 'regular' ? 'small' : size;
185
+
186
+ return (
187
+ <StyledTag as={component} ref={ref} $variant={variant} $size={size} {...props}>
188
+ {LeadingIcon && <LeadingIcon size={TAG_ICON_SIZES[size]} />}
189
+ {children && (
190
+ <Text size={textSize} type={type} weight="medium">
191
+ {children}
192
+ </Text>
193
+ )}
194
+ {TrailingIcon && <TrailingIcon size={TAG_ICON_SIZES[size]} />}
195
+ </StyledTag>
196
+ );
197
+ }
198
+ TagWrapper.displayName = 'Tag';
199
+
200
+ // `forwardRef` can't handle generic types, should be fixable with React 19
201
+ export const Tag = forwardRef(TagWrapper) as <T extends TagNodeType>(
202
+ props: TagProps<T> & { ref?: ForwardedRef<TagNodePropsMap[T]['element']> },
203
+ ) => ReturnType<typeof TagWrapper>;
@@ -1,202 +1 @@
1
- import type React from 'react';
2
- import { type ForwardedRef, forwardRef } from 'react';
3
- import styled, { css } from 'styled-components';
4
-
5
- import type { IconComponent, IconSize } from '@apify/ui-icons';
6
-
7
- import { theme } from '../design_system/theme.js';
8
- import type { WithTransientProps } from '../type_utils.js';
9
- import type { FlattenSimpleInterpolation } from '../utils/type_utils.js';
10
- import { Box, type MarginSpacingProps, type RegularBoxProps } from './box.js';
11
- import type { RegularButtonProps } from './button.js';
12
- import { Link, type RegularLinkProps } from './link.js';
13
- import { Text } from './text/index.js';
14
- import { type SharedTextSize, type SharedTextType } from './text/text_shared.js';
15
-
16
- type TagSize = SharedTextSize;
17
- export const TAG_SIZES: TagSize[] = ['big', 'regular', 'small'];
18
-
19
- const TAG_ICON_SIZES = {
20
- big: '20',
21
- regular: '16',
22
- small: '12',
23
- } satisfies Record<TagSize, IconSize>;
24
-
25
- export const TAG_VARIANTS = ['primary', 'secondary', 'subtle', 'accent', 'success', 'warning', 'error'] as const;
26
- type TagVariant = (typeof TAG_VARIANTS)[number];
27
-
28
- type TagNodeType = Extract<React.ElementType, 'a' | 'button'>;
29
- type TagNodePropsMap = {
30
- a: {
31
- element: HTMLAnchorElement;
32
- props: RegularLinkProps;
33
- };
34
- button: {
35
- element: HTMLButtonElement;
36
- props: RegularButtonProps;
37
- };
38
- };
39
-
40
- type SharedTagProps = Omit<RegularBoxProps, 'as'> & MarginSpacingProps;
41
- export type TagProps<T extends TagNodeType> = SharedTagProps &
42
- ({
43
- as?: T;
44
- size?: TagSize;
45
- type?: SharedTextType;
46
- variant?: TagVariant;
47
- LeadingIcon?: IconComponent;
48
- TrailingIcon?: IconComponent;
49
- } & Omit<TagNodePropsMap[T]['props'], 'size' | 'type'>);
50
-
51
- const tagSizeStyle = {
52
- big: css`
53
- height: 4rem;
54
- padding: ${theme.space.space8} ${theme.space.space12};
55
- border-radius: ${theme.radius.radius12};
56
- `,
57
- regular: css`
58
- height: 2.8rem;
59
- padding: ${theme.space.space4} ${theme.space.space8};
60
- border-radius: ${theme.radius.radius8};
61
- `,
62
- small: css`
63
- height: 2rem;
64
- padding: ${theme.space.space2} ${theme.space.space6};
65
- border-radius: ${theme.radius.radius4};
66
-
67
- &:has(> svg:last-child:nth-child(1)) {
68
- padding: ${theme.space.space2} ${theme.space.space4};
69
- }
70
- `,
71
- } satisfies Record<TagSize, FlattenSimpleInterpolation>;
72
-
73
- const tagVariantStyle = {
74
- primary: css`
75
- color: ${theme.color.neutral.text};
76
- fill: ${theme.color.neutral.icon};
77
- background: transparent;
78
- box-shadow: inset 0 0 0 1px ${theme.color.neutral.border};
79
-
80
- &:hover {
81
- background: ${theme.color.neutral.hover};
82
- }
83
- `,
84
- secondary: css`
85
- color: ${theme.color.neutral.text};
86
- fill: ${theme.color.neutral.icon};
87
- background: transparent;
88
-
89
- &:hover {
90
- background: ${theme.color.neutral.hover};
91
- }
92
- `,
93
- subtle: css`
94
- color: ${theme.color.neutral.text};
95
- fill: ${theme.color.neutral.icon};
96
- background: ${theme.color.neutral.backgroundSubtle};
97
-
98
- &:hover {
99
- background: ${theme.color.neutral.hover};
100
- }
101
- `,
102
- accent: css`
103
- color: ${theme.color.primary.chipText};
104
- fill: ${theme.color.primary.chipText};
105
- background: ${theme.color.primary.background};
106
-
107
- &:hover {
108
- background: ${theme.color.primary.backgroundHover};
109
- }
110
- `,
111
- success: css`
112
- color: ${theme.color.success.chipText};
113
- fill: ${theme.color.success.chipText};
114
- background: ${theme.color.success.background};
115
-
116
- &:hover {
117
- background: ${theme.color.success.backgroundHover};
118
- }
119
- `,
120
- warning: css`
121
- color: ${theme.color.warning.chipText};
122
- fill: ${theme.color.warning.chipText};
123
- background: ${theme.color.warning.background};
124
-
125
- &:hover {
126
- background: ${theme.color.warning.backgroundHover};
127
- }
128
- `,
129
- error: css`
130
- color: ${theme.color.danger.chipText};
131
- fill: ${theme.color.danger.chipText};
132
- background: ${theme.color.danger.background};
133
-
134
- &:hover {
135
- background: ${theme.color.danger.backgroundHover};
136
- }
137
- `,
138
- } satisfies Record<TagVariant, FlattenSimpleInterpolation>;
139
-
140
- type StyledTagProps = WithTransientProps<Required<Pick<TagProps<TagNodeType>, 'size' | 'variant'>>>;
141
-
142
- const StyledTag = styled(Box)<StyledTagProps>`
143
- ${({ $size }) => tagSizeStyle[$size]};
144
- ${({ $variant }) => tagVariantStyle[$variant]};
145
-
146
- /* Static styles */
147
- width: fit-content;
148
- border: none;
149
- outline: none;
150
- display: flex;
151
- flex-direction: row;
152
- justify-content: center;
153
- align-items: center;
154
- white-space: nowrap;
155
- gap: ${theme.space.space4};
156
- cursor: pointer;
157
- transition: background ${theme.transition.fastEaseOut};
158
-
159
- svg {
160
- flex-shrink: 0;
161
- }
162
- `;
163
-
164
- /**
165
- * Component for displaying inherenly interactive chip descendant
166
- */
167
- function TagWrapper<T extends TagNodeType>(
168
- {
169
- as,
170
- size = 'small',
171
- type = 'body',
172
- variant = 'primary',
173
- LeadingIcon,
174
- TrailingIcon,
175
- children,
176
- ...props
177
- }: TagProps<T>,
178
- ref: ForwardedRef<TagNodePropsMap[T]['element']>,
179
- ) {
180
- const component: React.ElementType = as === 'a' ? Link : (as ?? 'button');
181
-
182
- // Map 'regular' tag size to 'small' text size for better visual balance when displayed next to small button
183
- const textSize: SharedTextSize = size === 'regular' ? 'small' : size;
184
-
185
- return (
186
- <StyledTag as={component} ref={ref} $variant={variant} $size={size} {...props}>
187
- {LeadingIcon && <LeadingIcon size={TAG_ICON_SIZES[size]} />}
188
- {children && (
189
- <Text size={textSize} type={type} weight="medium">
190
- {children}
191
- </Text>
192
- )}
193
- {TrailingIcon && <TrailingIcon size={TAG_ICON_SIZES[size]} />}
194
- </StyledTag>
195
- );
196
- }
197
- TagWrapper.displayName = 'Tag';
198
-
199
- // `forwardRef` can't handle generic types, should be fixable with React 19
200
- export const Tag = forwardRef(TagWrapper) as <T extends TagNodeType>(
201
- props: TagProps<T> & { ref?: ForwardedRef<TagNodePropsMap[T]['element']> },
202
- ) => ReturnType<typeof TagWrapper>;
1
+ export * from './tag/tag.js';
@@ -2,8 +2,8 @@ import type React from 'react';
2
2
  import styled, { css } from 'styled-components';
3
3
 
4
4
  import { theme } from '../../design_system/theme.js';
5
- import type { WithTransientProps } from '../../type_utils.js';
6
- import type { TextBaseProps } from './text_base.js';
5
+ import type { WithTransientProps } from '../../type_utils';
6
+ import type { TextBaseProps } from './text_base';
7
7
  import { TextBaseComponent } from './text_base.js';
8
8
 
9
9
  type HeadingContentType = 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
@@ -2,8 +2,8 @@ import type React from 'react';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  import { theme } from '../../design_system/theme.js';
5
- import type { WithTransientProps } from '../../type_utils.js';
6
- import type { TextBaseProps } from './text_base.js';
5
+ import type { WithTransientProps } from '../../type_utils';
6
+ import type { TextBaseProps } from './text_base';
7
7
  import { TextBaseComponent } from './text_base.js';
8
8
 
9
9
  type HeadingMarketingType =
@@ -2,8 +2,8 @@ import type React from 'react';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  import { theme } from '../../design_system/theme.js';
5
- import type { WithTransientProps } from '../../type_utils.js';
6
- import type { TextBaseProps } from './text_base.js';
5
+ import type { WithTransientProps } from '../../type_utils';
6
+ import type { TextBaseProps } from './text_base';
7
7
  import { TextBaseComponent } from './text_base.js';
8
8
 
9
9
  type HeadingSharedType = 'titleXs' | 'titleS' | 'titleM' | 'titleL' | 'titleXl' | 'title2xl' | 'title3xl';
@@ -1,5 +1,5 @@
1
1
  import { HeadingShared } from './heading_shared.js';
2
- import type { SharedTextProps } from './text_shared.js';
2
+ import type { SharedTextProps } from './text_shared';
3
3
  import { SHARED_TEXT_TYPES, TextShared } from './text_shared.js';
4
4
 
5
5
  export * from './text_base.js';
@@ -12,6 +12,9 @@ export {
12
12
  TextShared as Text, // Shared typography is the default
13
13
  HeadingShared as Heading, // Shared typography is the default
14
14
  SHARED_TEXT_TYPES,
15
+ TextShared,
15
16
  };
16
17
 
17
18
  export type { SharedTextProps };
19
+ export type { SharedTextSize, SharedTextType } from './text_shared.js';
20
+ export type { HeadingSharedProps } from './heading_shared.js';
@@ -1,9 +1,9 @@
1
1
  import type React from 'react';
2
2
  import styled, { css } from 'styled-components';
3
3
 
4
- import type { WithTransientProps } from '../../type_utils.js';
5
- import type { BoxProps } from '../box.js';
6
- import { Box } from '../box.js';
4
+ import type { WithTransientProps } from '../../type_utils';
5
+ import type { BoxProps } from '../box';
6
+ import { Box } from '../box';
7
7
 
8
8
  export interface TransientTextBaseProps {
9
9
  italic?: boolean;
@@ -2,9 +2,9 @@ import { forwardRef } from 'react';
2
2
  import styled, { css } from 'styled-components';
3
3
 
4
4
  import { theme } from '../../design_system/theme.js';
5
- import type { WithTransientProps } from '../../type_utils.js';
6
- import type { FlattenSimpleInterpolation } from '../../utils/type_utils.js';
7
- import type { TextBaseProps } from './text_base.js';
5
+ import type { WithTransientProps } from '../../type_utils';
6
+ import type { FlattenSimpleInterpolation } from '../../utils/type_utils';
7
+ import type { TextBaseProps } from './text_base';
8
8
  import { TextBaseComponent } from './text_base.js';
9
9
 
10
10
  export type ContentTextType = 'paragraph' | 'snippet';
@@ -2,9 +2,9 @@ import { forwardRef } from 'react';
2
2
  import styled, { css } from 'styled-components';
3
3
 
4
4
  import { theme } from '../../design_system/theme.js';
5
- import type { WithTransientProps } from '../../type_utils.js';
6
- import type { FlattenSimpleInterpolation } from '../../utils/type_utils.js';
7
- import type { TextBaseProps } from './text_base.js';
5
+ import type { WithTransientProps } from '../../type_utils';
6
+ import type { FlattenSimpleInterpolation } from '../../utils/type_utils';
7
+ import type { TextBaseProps } from './text_base';
8
8
  import { TextBaseComponent } from './text_base.js';
9
9
 
10
10
  export type MarketingTextSize = 'large' | 'regular' | 'small' | 'extraSmall';
@@ -2,8 +2,8 @@ import { forwardRef } from 'react';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  import { theme } from '../../design_system/theme.js';
5
- import type { WithTransientProps } from '../../type_utils.js';
6
- import type { TextBaseProps } from './text_base.js';
5
+ import type { WithTransientProps } from '../../type_utils';
6
+ import type { TextBaseProps } from './text_base';
7
7
  import { TextBaseComponent } from './text_base.js';
8
8
 
9
9
  export const SHARED_TEXT_TYPES = ['body', 'code'] as const;
@@ -3,7 +3,7 @@ import styled from 'styled-components';
3
3
 
4
4
  import { ChevronRightIcon, DeleteIcon, SettingsIcon, StarFullIcon } from '@apify/ui-icons';
5
5
 
6
- import { TextShared } from '../text/text_shared.js';
6
+ import { TextShared } from '../text';
7
7
  import { HorizontalTile } from './horizontal_tile.js';
8
8
  import { TILE_SIZES } from './shared.js';
9
9
 
@@ -2,7 +2,7 @@ import type React from 'react';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  import { theme } from '../../design_system/theme.js';
5
- import type { TileSharedProps, TileSizesType } from './shared.js';
5
+ import type { TileSharedProps, TileSizesType } from './shared';
6
6
  import { TILE_SIZES, tileStyle } from './shared.js';
7
7
 
8
8
  interface HorizontalTileProps extends TileSharedProps {
@@ -3,8 +3,8 @@ import styled from 'styled-components';
3
3
 
4
4
  import { CheckCircleIcon, SettingsIcon, StarFullIcon } from '@apify/ui-icons';
5
5
 
6
- import { Button } from '../button.js';
7
- import { TextShared } from '../text/text_shared.js';
6
+ import { Button } from '../button';
7
+ import { TextShared } from '../text';
8
8
  import { TILE_SIZES } from './shared.js';
9
9
  import { VerticalTile } from './vertical_tile.js';
10
10
 
@@ -2,7 +2,7 @@ import type React from 'react';
2
2
  import styled from 'styled-components';
3
3
 
4
4
  import { theme } from '../../design_system/theme.js';
5
- import type { TileSharedProps, TileSizesType } from './shared.js';
5
+ import type { TileSharedProps, TileSizesType } from './shared';
6
6
  import { TILE_SIZES, tileStyle } from './shared.js';
7
7
 
8
8
  interface VerticalTileProps extends TileSharedProps {
@@ -1,5 +1,5 @@
1
- import { colorProperties, darkTheme, lightTheme } from './colors/index.js';
2
- import { devices, layouts, radiuses, shadows, spaces, transitions } from './tokens/index.js';
1
+ import { colorProperties, darkTheme, lightTheme } from './colors';
2
+ import { devices, layouts, radiuses, shadows, spaces, transitions } from './tokens';
3
3
  import { typographyTokens } from './typography_theme.js';
4
4
 
5
5
  export const theme = {
package/src/index.ts CHANGED
@@ -1,8 +1,8 @@
1
- export * from './components/index.js';
2
- export * from './utils/index.js';
3
- export * from './design_system/tokens/index.js';
1
+ export * from './components';
2
+ export * from './utils';
3
+ export * from './design_system/tokens';
4
4
  export * from './design_system/theme.js';
5
5
  export * from './ui_dependency_provider.js';
6
- export * from './design_system/colors/index.js';
6
+ export * from './design_system/colors';
7
7
 
8
8
  export * from './type_utils.js';
@@ -2,7 +2,7 @@ import type React from 'react';
2
2
  import type { ReactNode } from 'react';
3
3
  import { createContext, useContext } from 'react';
4
4
 
5
- import type { UiThemeOption } from './design_system/theme.js';
5
+ import type { UiThemeOption } from './design_system/theme';
6
6
 
7
7
  export interface AgnosticInternalLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
8
8
  // Here we should add special props that are supported by all Link implementation we use (react-router on console & next.js on web)
@@ -1 +0,0 @@
1
- {"version":3,"file":"action_link.d.ts","sourceRoot":"","sources":["../../../src/components/action_link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGxD,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAQ,KAAK,SAAS,EAAgB,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,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,QAAQ,EAAC,EAAE,EAAC,MAAM,YACpE,QAAQ,GACN,CACV,EACA,YAAY,IAAI,KAAC,YAAY,IAAC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,GAAI,IACrD,CACjB,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../src/components/banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoD/B,UAAU,WAAW;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAuBD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CASxC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"banner.js","sourceRoot":"","sources":["../../../src/components/banner.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,MAAM,8BAA8B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CtC,CAAC;AAUF,MAAM,mBAAmB,GAAG,CAAC,UAAmB,EAAE,qBAA+B,EAAE,EAAE;IACjF,OAAO,GAAG,CAAA;4BACc,UAAU,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB;UACpE,qBAAqB;QACvB;wDACgD,kBAAkB,CAAC,8BAA8B,CAAC;;;;aAI7F;KACR,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAA4E;aAC9F,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,IAAI,MAAM;eAC9B,KAAK,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO;qBACpC,KAAK,CAAC,MAAM,CAAC,QAAQ;;MAEpC,CAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,EAAE,EAAE,CAAC,mBAAmB,CAAC,WAAW,EAAE,sBAAsB,CAAC;CAC1G,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAA0B,CAAC,EAC1C,qBAAqB,GAAG,IAAI,EAC5B,UAAU,EACV,QAAQ,EACR,GAAG,UAAU,EAChB,EAAE,EAAE,CAAC,CACF,KAAC,YAAY,mBAAc,UAAU,4BAA0B,qBAAqB,KAAM,UAAU,YAC/F,QAAQ,GACE,CAClB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blog_article.d.ts","sourceRoot":"","sources":["../../../src/components/blog_article.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqE/B,UAAU,gBAAgB;IACtB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,QAAsB,EAAE,EAAE,gBAAgB,2CAWzF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"blog_article.js","sourceRoot":"","sources":["../../../src/components/blog_article.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,MAAM,UAAU,GAAG;IACf,aAAa,EAAE,cAAc;IA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