@fibery/ui-kit 6.0.0 → 7.0.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 (761) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/package.json +26 -17
  3. package/scripts/generate-icons.ts +210 -0
  4. package/src/antd/input-number.tsx +1 -1
  5. package/src/design-system/colors.ts +6 -0
  6. package/src/icons/ast/abort.ts +27 -2
  7. package/src/icons/ast/access-template.ts +29 -2
  8. package/src/icons/ast/activity-filled.ts +27 -2
  9. package/src/icons/ast/activity-log.ts +29 -2
  10. package/src/icons/ast/activity.ts +29 -2
  11. package/src/icons/ast/add-after.ts +37 -2
  12. package/src/icons/ast/add-before.ts +37 -2
  13. package/src/icons/ast/add-compact.ts +27 -2
  14. package/src/icons/ast/add.ts +27 -2
  15. package/src/icons/ast/ai-assistant-filled.ts +29 -2
  16. package/src/icons/ast/ai-assistant.ts +29 -2
  17. package/src/icons/ast/ai-fibery-build.ts +28 -2
  18. package/src/icons/ast/alert-triangle.ts +29 -2
  19. package/src/icons/ast/app.ts +27 -2
  20. package/src/icons/ast/appearance-auto.ts +27 -2
  21. package/src/icons/ast/appearance-dark.ts +29 -2
  22. package/src/icons/ast/appearance-light.ts +29 -2
  23. package/src/icons/ast/architect.ts +29 -2
  24. package/src/icons/ast/arrow-back.ts +27 -2
  25. package/src/icons/ast/arrow-bar-down.ts +27 -2
  26. package/src/icons/ast/arrow-bar-left.ts +27 -2
  27. package/src/icons/ast/arrow-bar-right.ts +27 -2
  28. package/src/icons/ast/arrow-bar-up.ts +27 -2
  29. package/src/icons/ast/arrow-collapse-vertical.ts +29 -2
  30. package/src/icons/ast/arrow-collapse.ts +29 -2
  31. package/src/icons/ast/arrow-down.ts +29 -2
  32. package/src/icons/ast/arrow-forward.ts +27 -2
  33. package/src/icons/ast/arrow-left.ts +29 -2
  34. package/src/icons/ast/arrow-right.ts +29 -2
  35. package/src/icons/ast/arrow-send.ts +27 -2
  36. package/src/icons/ast/arrow-up-circle.ts +35 -2
  37. package/src/icons/ast/arrow-up.ts +29 -2
  38. package/src/icons/ast/arrows-right-left.ts +29 -2
  39. package/src/icons/ast/ask-for-input.ts +35 -2
  40. package/src/icons/ast/asterisk.ts +31 -2
  41. package/src/icons/ast/atom.ts +39 -2
  42. package/src/icons/ast/avatar.ts +45 -2
  43. package/src/icons/ast/backlog.ts +29 -2
  44. package/src/icons/ast/bell-circle.ts +37 -2
  45. package/src/icons/ast/bell-off.ts +37 -2
  46. package/src/icons/ast/bell-ringing.ts +37 -2
  47. package/src/icons/ast/bell-x.ts +37 -2
  48. package/src/icons/ast/bring-forward.ts +27 -2
  49. package/src/icons/ast/bring-to-front.ts +29 -2
  50. package/src/icons/ast/cards.ts +29 -2
  51. package/src/icons/ast/chat-bubble.ts +37 -2
  52. package/src/icons/ast/chat-float.ts +37 -2
  53. package/src/icons/ast/chat-sidebar.ts +37 -2
  54. package/src/icons/ast/checked.ts +27 -2
  55. package/src/icons/ast/circle-check-filled.ts +29 -2
  56. package/src/icons/ast/circle-check.ts +39 -2
  57. package/src/icons/ast/circle-cross-filled.ts +29 -2
  58. package/src/icons/ast/circle-cross.ts +30 -2
  59. package/src/icons/ast/circle-info-filled.ts +29 -2
  60. package/src/icons/ast/circle-info.ts +35 -2
  61. package/src/icons/ast/circle-pause.ts +30 -2
  62. package/src/icons/ast/circle-play.ts +30 -2
  63. package/src/icons/ast/clear-input-filled.ts +29 -2
  64. package/src/icons/ast/clear.ts +37 -2
  65. package/src/icons/ast/clock-alarm.ts +37 -2
  66. package/src/icons/ast/clock-forward.ts +29 -2
  67. package/src/icons/ast/clock.ts +37 -2
  68. package/src/icons/ast/close.ts +27 -2
  69. package/src/icons/ast/collapse-all-horizontal.ts +31 -2
  70. package/src/icons/ast/collapse-all.ts +31 -2
  71. package/src/icons/ast/color-coding.ts +29 -2
  72. package/src/icons/ast/columns-2.ts +29 -2
  73. package/src/icons/ast/columns-4.ts +29 -2
  74. package/src/icons/ast/columns.ts +29 -2
  75. package/src/icons/ast/comment-bubble.ts +29 -2
  76. package/src/icons/ast/comments.ts +37 -2
  77. package/src/icons/ast/copy.ts +37 -2
  78. package/src/icons/ast/credits-filled.ts +30 -2
  79. package/src/icons/ast/crosshair.ts +29 -2
  80. package/src/icons/ast/database-add.ts +29 -2
  81. package/src/icons/ast/database-outline.ts +31 -2
  82. package/src/icons/ast/database.ts +29 -2
  83. package/src/icons/ast/date-range.ts +37 -2
  84. package/src/icons/ast/delete.ts +37 -2
  85. package/src/icons/ast/drag-block-handle.ts +29 -2
  86. package/src/icons/ast/drag-handle.ts +27 -2
  87. package/src/icons/ast/duplicate.ts +45 -2
  88. package/src/icons/ast/dynamic-filter-value.ts +29 -2
  89. package/src/icons/ast/email.ts +29 -2
  90. package/src/icons/ast/emoji-delete.ts +47 -2
  91. package/src/icons/ast/entity-create-filled.ts +35 -2
  92. package/src/icons/ast/entity-create.ts +29 -2
  93. package/src/icons/ast/entity-merge.ts +33 -2
  94. package/src/icons/ast/equation.ts +35 -2
  95. package/src/icons/ast/expand-all-horizontal.ts +31 -2
  96. package/src/icons/ast/expand-all.ts +29 -2
  97. package/src/icons/ast/export.ts +35 -2
  98. package/src/icons/ast/eye-off.ts +27 -2
  99. package/src/icons/ast/eye.ts +29 -2
  100. package/src/icons/ast/favorites-filled.ts +29 -2
  101. package/src/icons/ast/favorites-off.ts +37 -2
  102. package/src/icons/ast/favorites.ts +29 -2
  103. package/src/icons/ast/fibery-mono.ts +27 -2
  104. package/src/icons/ast/field-units-large.ts +29 -2
  105. package/src/icons/ast/fields.ts +39 -2
  106. package/src/icons/ast/file-archive.ts +27 -2
  107. package/src/icons/ast/file-counter.ts +27 -2
  108. package/src/icons/ast/file-document.ts +27 -2
  109. package/src/icons/ast/file-download.ts +39 -2
  110. package/src/icons/ast/file-image.ts +27 -2
  111. package/src/icons/ast/file-multiple.ts +27 -2
  112. package/src/icons/ast/file-other.ts +27 -2
  113. package/src/icons/ast/file-presentation.ts +27 -2
  114. package/src/icons/ast/file-table.ts +27 -2
  115. package/src/icons/ast/file-upload.ts +37 -2
  116. package/src/icons/ast/file-video.ts +27 -2
  117. package/src/icons/ast/files.ts +27 -2
  118. package/src/icons/ast/filter.ts +29 -2
  119. package/src/icons/ast/fit-to-screen.ts +27 -2
  120. package/src/icons/ast/focus-mode-off.ts +27 -2
  121. package/src/icons/ast/focus-mode.ts +27 -2
  122. package/src/icons/ast/folder-favorite.ts +27 -2
  123. package/src/icons/ast/folder-smart.ts +37 -2
  124. package/src/icons/ast/folder.ts +29 -2
  125. package/src/icons/ast/form-with-cover.ts +88 -2
  126. package/src/icons/ast/form-without-cover.ts +75 -2
  127. package/src/icons/ast/fullscreen-mode-off.ts +29 -2
  128. package/src/icons/ast/fullscreen-mode-on.ts +29 -2
  129. package/src/icons/ast/gift.ts +29 -2
  130. package/src/icons/ast/globe-simple.ts +29 -2
  131. package/src/icons/ast/globe-unpublish.ts +27 -2
  132. package/src/icons/ast/go-to.ts +29 -2
  133. package/src/icons/ast/graduation-cap-filled.ts +37 -2
  134. package/src/icons/ast/group-add.ts +39 -2
  135. package/src/icons/ast/headphones-ai.ts +37 -2
  136. package/src/icons/ast/headphones.ts +29 -2
  137. package/src/icons/ast/highlights.ts +29 -2
  138. package/src/icons/ast/hint.ts +37 -2
  139. package/src/icons/ast/home-filled.ts +29 -2
  140. package/src/icons/ast/home.ts +35 -2
  141. package/src/icons/ast/image-error.ts +39 -2
  142. package/src/icons/ast/import-filled.ts +37 -2
  143. package/src/icons/ast/import.ts +35 -2
  144. package/src/icons/ast/index.tsx +1 -1
  145. package/src/icons/ast/integration-add.ts +29 -2
  146. package/src/icons/ast/integration-discourse.ts +76 -2
  147. package/src/icons/ast/integration-fibery.ts +802 -2
  148. package/src/icons/ast/integration-figma.ts +67 -2
  149. package/src/icons/ast/integration-github.ts +29 -2
  150. package/src/icons/ast/integration-gitlab.ts +27 -2
  151. package/src/icons/ast/integration-google-drive.ts +76 -2
  152. package/src/icons/ast/integration-google-map.ts +67 -2
  153. package/src/icons/ast/integration-intercom.ts +31 -2
  154. package/src/icons/ast/integration-jira.ts +29 -2
  155. package/src/icons/ast/integration-loom.ts +31 -2
  156. package/src/icons/ast/integration-miro.ts +42 -2
  157. package/src/icons/ast/integration-mixpanel.ts +31 -2
  158. package/src/icons/ast/integration-slack.ts +56 -2
  159. package/src/icons/ast/integration-suggest.ts +29 -2
  160. package/src/icons/ast/integration-twitter.ts +44 -2
  161. package/src/icons/ast/integration-unsplash.ts +27 -2
  162. package/src/icons/ast/integration-youtube.ts +40 -2
  163. package/src/icons/ast/integration-zendesk.ts +33 -2
  164. package/src/icons/ast/integration.ts +37 -2
  165. package/src/icons/ast/integrations-filled.ts +37 -2
  166. package/src/icons/ast/items-timeline.ts +29 -2
  167. package/src/icons/ast/items.ts +29 -2
  168. package/src/icons/ast/key.ts +29 -2
  169. package/src/icons/ast/keyboard-hide-down.ts +37 -2
  170. package/src/icons/ast/lab.ts +37 -2
  171. package/src/icons/ast/layout-double.ts +29 -2
  172. package/src/icons/ast/layout-multiple.ts +27 -2
  173. package/src/icons/ast/layout-single.ts +29 -2
  174. package/src/icons/ast/levels.ts +29 -2
  175. package/src/icons/ast/limits.ts +30 -2
  176. package/src/icons/ast/line-divider.ts +29 -2
  177. package/src/icons/ast/line-jump.ts +35 -2
  178. package/src/icons/ast/link.ts +43 -2
  179. package/src/icons/ast/location-edit.ts +37 -2
  180. package/src/icons/ast/lock-filled.ts +29 -2
  181. package/src/icons/ast/lock.ts +33 -2
  182. package/src/icons/ast/logout.ts +35 -2
  183. package/src/icons/ast/loupe-zoom-in.ts +29 -2
  184. package/src/icons/ast/loupe-zoom-out.ts +37 -2
  185. package/src/icons/ast/map-mode.ts +29 -2
  186. package/src/icons/ast/markdown.ts +30 -2
  187. package/src/icons/ast/menu-collapser.ts +27 -2
  188. package/src/icons/ast/mermaid.ts +29 -2
  189. package/src/icons/ast/message-plus.ts +35 -2
  190. package/src/icons/ast/milestones.ts +29 -2
  191. package/src/icons/ast/minus.ts +29 -2
  192. package/src/icons/ast/mirror-off.ts +39 -2
  193. package/src/icons/ast/mirror-on.ts +29 -2
  194. package/src/icons/ast/monitor.ts +29 -2
  195. package/src/icons/ast/more-compact.ts +27 -2
  196. package/src/icons/ast/more.ts +27 -2
  197. package/src/icons/ast/move-down.ts +29 -2
  198. package/src/icons/ast/move-left.ts +29 -2
  199. package/src/icons/ast/move-right.ts +29 -2
  200. package/src/icons/ast/move-up.ts +29 -2
  201. package/src/icons/ast/no-border.ts +27 -2
  202. package/src/icons/ast/no-fill.ts +39 -2
  203. package/src/icons/ast/obj-child.ts +27 -2
  204. package/src/icons/ast/obj-m2m.ts +27 -2
  205. package/src/icons/ast/obj-o2o.ts +27 -2
  206. package/src/icons/ast/obj-parent.ts +27 -2
  207. package/src/icons/ast/obj-self.ts +27 -2
  208. package/src/icons/ast/on-schedule.ts +27 -2
  209. package/src/icons/ast/open-in-panel.ts +35 -2
  210. package/src/icons/ast/open-link.ts +35 -2
  211. package/src/icons/ast/page-regular-mode.ts +35 -2
  212. package/src/icons/ast/page-wide-mode.ts +35 -2
  213. package/src/icons/ast/panel-add.ts +29 -2
  214. package/src/icons/ast/pencil.ts +29 -2
  215. package/src/icons/ast/people-all.ts +29 -2
  216. package/src/icons/ast/people-check.ts +29 -2
  217. package/src/icons/ast/people-edit.ts +27 -2
  218. package/src/icons/ast/people-group-remove.ts +39 -2
  219. package/src/icons/ast/people-group.ts +29 -2
  220. package/src/icons/ast/people-invite.ts +37 -2
  221. package/src/icons/ast/people-remove.ts +37 -2
  222. package/src/icons/ast/people-role.ts +29 -2
  223. package/src/icons/ast/people-x.ts +39 -2
  224. package/src/icons/ast/people.ts +37 -2
  225. package/src/icons/ast/photo.ts +27 -2
  226. package/src/icons/ast/pin-filled.ts +33 -2
  227. package/src/icons/ast/pin.ts +29 -2
  228. package/src/icons/ast/plus.ts +29 -2
  229. package/src/icons/ast/preferences.ts +55 -2
  230. package/src/icons/ast/present-play.ts +39 -2
  231. package/src/icons/ast/present-stop.ts +27 -2
  232. package/src/icons/ast/print.ts +27 -2
  233. package/src/icons/ast/private-items.ts +33 -2
  234. package/src/icons/ast/propagate.ts +29 -2
  235. package/src/icons/ast/question.ts +29 -2
  236. package/src/icons/ast/reactions-add.ts +43 -2
  237. package/src/icons/ast/read-only.ts +29 -2
  238. package/src/icons/ast/redo.ts +27 -2
  239. package/src/icons/ast/references.ts +29 -2
  240. package/src/icons/ast/refresh.ts +27 -2
  241. package/src/icons/ast/remove.ts +27 -2
  242. package/src/icons/ast/reset-password.ts +37 -2
  243. package/src/icons/ast/richeditor-block-callout.ts +29 -2
  244. package/src/icons/ast/richeditor-block-code.ts +43 -2
  245. package/src/icons/ast/richeditor-block-embed.ts +29 -2
  246. package/src/icons/ast/richeditor-block-entity.ts +27 -2
  247. package/src/icons/ast/richeditor-block-file.ts +38 -2
  248. package/src/icons/ast/richeditor-block-h1.ts +29 -2
  249. package/src/icons/ast/richeditor-block-h2.ts +29 -2
  250. package/src/icons/ast/richeditor-block-h3.ts +29 -2
  251. package/src/icons/ast/richeditor-block-h4.ts +37 -2
  252. package/src/icons/ast/richeditor-block-mention.ts +27 -2
  253. package/src/icons/ast/richeditor-block-paragraph.ts +34 -2
  254. package/src/icons/ast/richeditor-block-quote.ts +34 -2
  255. package/src/icons/ast/richeditor-checklist-create.ts +44 -2
  256. package/src/icons/ast/richeditor-image-align-center.ts +37 -2
  257. package/src/icons/ast/richeditor-image-align-left.ts +37 -2
  258. package/src/icons/ast/richeditor-image-align-right.ts +37 -2
  259. package/src/icons/ast/richeditor-image.ts +29 -2
  260. package/src/icons/ast/richeditor-linkedhighlight-create.ts +34 -2
  261. package/src/icons/ast/richeditor-list-bullet.ts +29 -2
  262. package/src/icons/ast/richeditor-list-indent.ts +27 -2
  263. package/src/icons/ast/richeditor-list-ordered.ts +29 -2
  264. package/src/icons/ast/richeditor-list-unindent.ts +27 -2
  265. package/src/icons/ast/richeditor-mark-code.ts +27 -2
  266. package/src/icons/ast/richeditor-mark-em.ts +27 -2
  267. package/src/icons/ast/richeditor-mark-highlight.ts +27 -2
  268. package/src/icons/ast/richeditor-mark-strike.ts +27 -2
  269. package/src/icons/ast/richeditor-mark-strong.ts +27 -2
  270. package/src/icons/ast/richeditor-mark-text-background-color.ts +34 -2
  271. package/src/icons/ast/richeditor-mark-underline.ts +27 -2
  272. package/src/icons/ast/richeditor-table-create.ts +27 -2
  273. package/src/icons/ast/richeditor-video-upload.ts +36 -2
  274. package/src/icons/ast/rows.ts +29 -2
  275. package/src/icons/ast/rule.ts +29 -2
  276. package/src/icons/ast/search-add.ts +29 -2
  277. package/src/icons/ast/search-filled.ts +27 -2
  278. package/src/icons/ast/search-remove.ts +29 -2
  279. package/src/icons/ast/search.ts +29 -2
  280. package/src/icons/ast/self-reference-off.ts +27 -2
  281. package/src/icons/ast/self-reference-on.ts +27 -2
  282. package/src/icons/ast/send-backward.ts +27 -2
  283. package/src/icons/ast/send-to-back.ts +29 -2
  284. package/src/icons/ast/settings-filled.ts +29 -2
  285. package/src/icons/ast/settings.ts +29 -2
  286. package/src/icons/ast/share.ts +35 -2
  287. package/src/icons/ast/shield-keyhole.ts +39 -2
  288. package/src/icons/ast/show-author.ts +47 -2
  289. package/src/icons/ast/simple-compass.ts +28 -2
  290. package/src/icons/ast/slide-menu-filled.ts +29 -2
  291. package/src/icons/ast/slide-menu.ts +37 -2
  292. package/src/icons/ast/sort.ts +29 -2
  293. package/src/icons/ast/space-add.ts +47 -2
  294. package/src/icons/ast/space-app.ts +29 -2
  295. package/src/icons/ast/space-generate.ts +29 -2
  296. package/src/icons/ast/space-move.ts +29 -2
  297. package/src/icons/ast/space-scratch.ts +29 -2
  298. package/src/icons/ast/space-template.ts +29 -2
  299. package/src/icons/ast/spinner.ts +42 -2
  300. package/src/icons/ast/switch-to-text.ts +37 -2
  301. package/src/icons/ast/switch-to-widget.ts +35 -2
  302. package/src/icons/ast/table-layout.ts +31 -2
  303. package/src/icons/ast/templates-filled.ts +29 -2
  304. package/src/icons/ast/templates.ts +39 -2
  305. package/src/icons/ast/terminal.ts +37 -2
  306. package/src/icons/ast/text-no-wrap.ts +27 -2
  307. package/src/icons/ast/text-tool-align-bottom.ts +29 -2
  308. package/src/icons/ast/text-tool-align-middle.ts +29 -2
  309. package/src/icons/ast/text-tool-align-top.ts +29 -2
  310. package/src/icons/ast/text-wrap.ts +29 -2
  311. package/src/icons/ast/toc.ts +27 -2
  312. package/src/icons/ast/type-button.ts +29 -2
  313. package/src/icons/ast/type-checkbox.ts +44 -2
  314. package/src/icons/ast/type-date.ts +30 -2
  315. package/src/icons/ast/type-email.ts +27 -2
  316. package/src/icons/ast/type-emoji.ts +45 -2
  317. package/src/icons/ast/type-formula.ts +27 -2
  318. package/src/icons/ast/type-location.ts +29 -2
  319. package/src/icons/ast/type-lookup.ts +44 -2
  320. package/src/icons/ast/type-money.ts +27 -2
  321. package/src/icons/ast/type-multi-select.ts +27 -2
  322. package/src/icons/ast/type-number.ts +29 -2
  323. package/src/icons/ast/type-percent.ts +27 -2
  324. package/src/icons/ast/type-phone.ts +27 -2
  325. package/src/icons/ast/type-relation.ts +44 -2
  326. package/src/icons/ast/type-rich-text.ts +34 -2
  327. package/src/icons/ast/type-single-select.ts +27 -2
  328. package/src/icons/ast/type-text.ts +27 -2
  329. package/src/icons/ast/undo.ts +27 -2
  330. package/src/icons/ast/units-avatar.ts +33 -2
  331. package/src/icons/ast/units-collection.ts +33 -2
  332. package/src/icons/ast/units-counter.ts +33 -2
  333. package/src/icons/ast/units-date.ts +33 -2
  334. package/src/icons/ast/units-field-icon-button.ts +33 -2
  335. package/src/icons/ast/units-field.ts +31 -2
  336. package/src/icons/ast/units-input.ts +33 -2
  337. package/src/icons/ast/units-normal.ts +29 -2
  338. package/src/icons/ast/units-progress-bar.ts +33 -2
  339. package/src/icons/ast/units-rich-text.ts +31 -2
  340. package/src/icons/ast/units-snippet.ts +33 -2
  341. package/src/icons/ast/unlink.ts +43 -2
  342. package/src/icons/ast/unlock-filled.ts +33 -2
  343. package/src/icons/ast/unlock.ts +33 -2
  344. package/src/icons/ast/usb-flash-drive.ts +37 -2
  345. package/src/icons/ast/value-clear.ts +35 -2
  346. package/src/icons/ast/value-edit.ts +31 -2
  347. package/src/icons/ast/view-ai.ts +31 -2
  348. package/src/icons/ast/view-app.ts +27 -2
  349. package/src/icons/ast/view-board.ts +34 -2
  350. package/src/icons/ast/view-calendar.ts +34 -2
  351. package/src/icons/ast/view-canvas.ts +34 -2
  352. package/src/icons/ast/view-chart.ts +34 -2
  353. package/src/icons/ast/view-dashboard.ts +27 -2
  354. package/src/icons/ast/view-details.ts +34 -2
  355. package/src/icons/ast/view-document.ts +34 -2
  356. package/src/icons/ast/view-embed.ts +27 -2
  357. package/src/icons/ast/view-feed.ts +27 -2
  358. package/src/icons/ast/view-form.ts +27 -2
  359. package/src/icons/ast/view-gallery.ts +27 -2
  360. package/src/icons/ast/view-gantt.ts +27 -2
  361. package/src/icons/ast/view-list.ts +34 -2
  362. package/src/icons/ast/view-map.ts +29 -2
  363. package/src/icons/ast/view-page.ts +29 -2
  364. package/src/icons/ast/view-table.ts +34 -2
  365. package/src/icons/ast/view-timeline.ts +34 -2
  366. package/src/icons/ast/views.ts +27 -2
  367. package/src/icons/ast/warning-triangle-filled.ts +29 -2
  368. package/src/icons/ast/warning-triangle.ts +27 -2
  369. package/src/icons/ast/warning.ts +27 -2
  370. package/src/icons/ast/webhooks.ts +44 -2
  371. package/src/icons/ast/workflow.ts +27 -2
  372. package/src/icons/icons-integrity.test.ts +36 -4
  373. package/src/icons/react/abort.tsx +1 -1
  374. package/src/icons/react/access-template.tsx +1 -1
  375. package/src/icons/react/activity-filled.tsx +1 -1
  376. package/src/icons/react/activity-log.tsx +1 -1
  377. package/src/icons/react/activity.tsx +1 -1
  378. package/src/icons/react/add-after.tsx +1 -1
  379. package/src/icons/react/add-before.tsx +1 -1
  380. package/src/icons/react/add-compact.tsx +1 -1
  381. package/src/icons/react/add.tsx +1 -1
  382. package/src/icons/react/ai-assistant-filled.tsx +1 -1
  383. package/src/icons/react/ai-assistant.tsx +1 -1
  384. package/src/icons/react/ai-fibery-build.tsx +1 -1
  385. package/src/icons/react/alert-triangle.tsx +1 -1
  386. package/src/icons/react/app.tsx +1 -1
  387. package/src/icons/react/appearance-auto.tsx +1 -1
  388. package/src/icons/react/appearance-dark.tsx +1 -1
  389. package/src/icons/react/appearance-light.tsx +1 -1
  390. package/src/icons/react/architect.tsx +1 -1
  391. package/src/icons/react/arrow-back.tsx +1 -1
  392. package/src/icons/react/arrow-bar-down.tsx +1 -1
  393. package/src/icons/react/arrow-bar-left.tsx +1 -1
  394. package/src/icons/react/arrow-bar-right.tsx +1 -1
  395. package/src/icons/react/arrow-bar-up.tsx +1 -1
  396. package/src/icons/react/arrow-collapse-vertical.tsx +1 -1
  397. package/src/icons/react/arrow-collapse.tsx +1 -1
  398. package/src/icons/react/arrow-down.tsx +1 -1
  399. package/src/icons/react/arrow-forward.tsx +1 -1
  400. package/src/icons/react/arrow-left.tsx +1 -1
  401. package/src/icons/react/arrow-right.tsx +1 -1
  402. package/src/icons/react/arrow-send.tsx +1 -1
  403. package/src/icons/react/arrow-up-circle.tsx +1 -1
  404. package/src/icons/react/arrow-up.tsx +1 -1
  405. package/src/icons/react/arrows-right-left.tsx +1 -1
  406. package/src/icons/react/ask-for-input.tsx +1 -1
  407. package/src/icons/react/asterisk.tsx +1 -1
  408. package/src/icons/react/atom.tsx +1 -1
  409. package/src/icons/react/avatar.tsx +1 -1
  410. package/src/icons/react/backlog.tsx +1 -1
  411. package/src/icons/react/bell-circle.tsx +1 -1
  412. package/src/icons/react/bell-off.tsx +1 -1
  413. package/src/icons/react/bell-ringing.tsx +1 -1
  414. package/src/icons/react/bell-x.tsx +1 -1
  415. package/src/icons/react/bring-forward.tsx +1 -1
  416. package/src/icons/react/bring-to-front.tsx +1 -1
  417. package/src/icons/react/cards.tsx +1 -1
  418. package/src/icons/react/chat-bubble.tsx +1 -1
  419. package/src/icons/react/chat-float.tsx +1 -1
  420. package/src/icons/react/chat-sidebar.tsx +1 -1
  421. package/src/icons/react/checked.tsx +1 -1
  422. package/src/icons/react/circle-check-filled.tsx +1 -1
  423. package/src/icons/react/circle-check.tsx +1 -1
  424. package/src/icons/react/circle-cross-filled.tsx +1 -1
  425. package/src/icons/react/circle-cross.tsx +1 -1
  426. package/src/icons/react/circle-info-filled.tsx +1 -1
  427. package/src/icons/react/circle-info.tsx +1 -1
  428. package/src/icons/react/circle-pause.tsx +1 -1
  429. package/src/icons/react/circle-play.tsx +1 -1
  430. package/src/icons/react/clear-input-filled.tsx +1 -1
  431. package/src/icons/react/clear.tsx +1 -1
  432. package/src/icons/react/clock-alarm.tsx +1 -1
  433. package/src/icons/react/clock-forward.tsx +1 -1
  434. package/src/icons/react/clock.tsx +1 -1
  435. package/src/icons/react/close.tsx +1 -1
  436. package/src/icons/react/collapse-all-horizontal.tsx +1 -1
  437. package/src/icons/react/collapse-all.tsx +1 -1
  438. package/src/icons/react/color-coding.tsx +1 -1
  439. package/src/icons/react/columns-2.tsx +1 -1
  440. package/src/icons/react/columns-4.tsx +1 -1
  441. package/src/icons/react/columns.tsx +1 -1
  442. package/src/icons/react/comment-bubble.tsx +1 -1
  443. package/src/icons/react/comments.tsx +1 -1
  444. package/src/icons/react/copy.tsx +1 -1
  445. package/src/icons/react/credits-filled.tsx +1 -1
  446. package/src/icons/react/crosshair.tsx +1 -1
  447. package/src/icons/react/database-add.tsx +1 -1
  448. package/src/icons/react/database-outline.tsx +1 -1
  449. package/src/icons/react/database.tsx +1 -1
  450. package/src/icons/react/date-range.tsx +1 -1
  451. package/src/icons/react/delete.tsx +1 -1
  452. package/src/icons/react/drag-block-handle.tsx +1 -1
  453. package/src/icons/react/drag-handle.tsx +1 -1
  454. package/src/icons/react/duplicate.tsx +1 -1
  455. package/src/icons/react/dynamic-filter-value.tsx +1 -1
  456. package/src/icons/react/email.tsx +1 -1
  457. package/src/icons/react/emoji-delete.tsx +1 -1
  458. package/src/icons/react/entity-create-filled.tsx +1 -1
  459. package/src/icons/react/entity-create.tsx +1 -1
  460. package/src/icons/react/entity-merge.tsx +1 -1
  461. package/src/icons/react/equation.tsx +1 -1
  462. package/src/icons/react/expand-all-horizontal.tsx +1 -1
  463. package/src/icons/react/expand-all.tsx +1 -1
  464. package/src/icons/react/export.tsx +1 -1
  465. package/src/icons/react/eye-off.tsx +1 -1
  466. package/src/icons/react/eye.tsx +1 -1
  467. package/src/icons/react/favorites-filled.tsx +1 -1
  468. package/src/icons/react/favorites-off.tsx +1 -1
  469. package/src/icons/react/favorites.tsx +1 -1
  470. package/src/icons/react/fibery-mono.tsx +1 -1
  471. package/src/icons/react/field-units-large.tsx +1 -1
  472. package/src/icons/react/fields.tsx +1 -1
  473. package/src/icons/react/file-archive.tsx +1 -1
  474. package/src/icons/react/file-counter.tsx +1 -1
  475. package/src/icons/react/file-document.tsx +1 -1
  476. package/src/icons/react/file-download.tsx +1 -1
  477. package/src/icons/react/file-image.tsx +1 -1
  478. package/src/icons/react/file-multiple.tsx +1 -1
  479. package/src/icons/react/file-other.tsx +1 -1
  480. package/src/icons/react/file-presentation.tsx +1 -1
  481. package/src/icons/react/file-table.tsx +1 -1
  482. package/src/icons/react/file-upload.tsx +1 -1
  483. package/src/icons/react/file-video.tsx +1 -1
  484. package/src/icons/react/files.tsx +1 -1
  485. package/src/icons/react/filter.tsx +1 -1
  486. package/src/icons/react/fit-to-screen.tsx +1 -1
  487. package/src/icons/react/focus-mode-off.tsx +1 -1
  488. package/src/icons/react/focus-mode.tsx +1 -1
  489. package/src/icons/react/folder-favorite.tsx +1 -1
  490. package/src/icons/react/folder-smart.tsx +1 -1
  491. package/src/icons/react/folder.tsx +1 -1
  492. package/src/icons/react/form-with-cover.tsx +1 -1
  493. package/src/icons/react/form-without-cover.tsx +1 -1
  494. package/src/icons/react/fullscreen-mode-off.tsx +1 -1
  495. package/src/icons/react/fullscreen-mode-on.tsx +1 -1
  496. package/src/icons/react/gift.tsx +1 -1
  497. package/src/icons/react/globe-simple.tsx +1 -1
  498. package/src/icons/react/globe-unpublish.tsx +1 -1
  499. package/src/icons/react/go-to.tsx +1 -1
  500. package/src/icons/react/graduation-cap-filled.tsx +1 -1
  501. package/src/icons/react/group-add.tsx +1 -1
  502. package/src/icons/react/headphones-ai.tsx +1 -1
  503. package/src/icons/react/headphones.tsx +1 -1
  504. package/src/icons/react/highlights.tsx +1 -1
  505. package/src/icons/react/hint.tsx +1 -1
  506. package/src/icons/react/home-filled.tsx +1 -1
  507. package/src/icons/react/home.tsx +1 -1
  508. package/src/icons/react/image-error.tsx +1 -1
  509. package/src/icons/react/import-filled.tsx +1 -1
  510. package/src/icons/react/import.tsx +1 -1
  511. package/src/icons/react/index.tsx +1 -1
  512. package/src/icons/react/integration-add.tsx +1 -1
  513. package/src/icons/react/integration-discourse.tsx +1 -1
  514. package/src/icons/react/integration-fibery.tsx +1 -1
  515. package/src/icons/react/integration-figma.tsx +1 -1
  516. package/src/icons/react/integration-github.tsx +1 -1
  517. package/src/icons/react/integration-gitlab.tsx +1 -1
  518. package/src/icons/react/integration-google-drive.tsx +1 -1
  519. package/src/icons/react/integration-google-map.tsx +1 -1
  520. package/src/icons/react/integration-intercom.tsx +1 -1
  521. package/src/icons/react/integration-jira.tsx +1 -1
  522. package/src/icons/react/integration-loom.tsx +1 -1
  523. package/src/icons/react/integration-miro.tsx +1 -1
  524. package/src/icons/react/integration-mixpanel.tsx +1 -1
  525. package/src/icons/react/integration-slack.tsx +1 -1
  526. package/src/icons/react/integration-suggest.tsx +1 -1
  527. package/src/icons/react/integration-twitter.tsx +1 -1
  528. package/src/icons/react/integration-unsplash.tsx +1 -1
  529. package/src/icons/react/integration-youtube.tsx +1 -1
  530. package/src/icons/react/integration-zendesk.tsx +1 -1
  531. package/src/icons/react/integration.tsx +1 -1
  532. package/src/icons/react/integrations-filled.tsx +1 -1
  533. package/src/icons/react/items-timeline.tsx +1 -1
  534. package/src/icons/react/items.tsx +1 -1
  535. package/src/icons/react/key.tsx +1 -1
  536. package/src/icons/react/keyboard-hide-down.tsx +1 -1
  537. package/src/icons/react/lab.tsx +1 -1
  538. package/src/icons/react/layout-double.tsx +1 -1
  539. package/src/icons/react/layout-multiple.tsx +1 -1
  540. package/src/icons/react/layout-single.tsx +1 -1
  541. package/src/icons/react/levels.tsx +1 -1
  542. package/src/icons/react/limits.tsx +1 -1
  543. package/src/icons/react/line-divider.tsx +1 -1
  544. package/src/icons/react/line-jump.tsx +1 -1
  545. package/src/icons/react/link.tsx +1 -1
  546. package/src/icons/react/location-edit.tsx +1 -1
  547. package/src/icons/react/lock-filled.tsx +1 -1
  548. package/src/icons/react/lock.tsx +1 -1
  549. package/src/icons/react/logout.tsx +1 -1
  550. package/src/icons/react/loupe-zoom-in.tsx +1 -1
  551. package/src/icons/react/loupe-zoom-out.tsx +1 -1
  552. package/src/icons/react/map-mode.tsx +1 -1
  553. package/src/icons/react/markdown.tsx +1 -1
  554. package/src/icons/react/menu-collapser.tsx +1 -1
  555. package/src/icons/react/mermaid.tsx +1 -1
  556. package/src/icons/react/message-plus.tsx +1 -1
  557. package/src/icons/react/milestones.tsx +1 -1
  558. package/src/icons/react/minus.tsx +1 -1
  559. package/src/icons/react/mirror-off.tsx +1 -1
  560. package/src/icons/react/mirror-on.tsx +1 -1
  561. package/src/icons/react/monitor.tsx +1 -1
  562. package/src/icons/react/more-compact.tsx +1 -1
  563. package/src/icons/react/more.tsx +1 -1
  564. package/src/icons/react/move-down.tsx +1 -1
  565. package/src/icons/react/move-left.tsx +1 -1
  566. package/src/icons/react/move-right.tsx +1 -1
  567. package/src/icons/react/move-up.tsx +1 -1
  568. package/src/icons/react/no-border.tsx +1 -1
  569. package/src/icons/react/no-fill.tsx +1 -1
  570. package/src/icons/react/obj-child.tsx +1 -1
  571. package/src/icons/react/obj-m2m.tsx +1 -1
  572. package/src/icons/react/obj-o2o.tsx +1 -1
  573. package/src/icons/react/obj-parent.tsx +1 -1
  574. package/src/icons/react/obj-self.tsx +1 -1
  575. package/src/icons/react/on-schedule.tsx +1 -1
  576. package/src/icons/react/open-in-panel.tsx +1 -1
  577. package/src/icons/react/open-link.tsx +1 -1
  578. package/src/icons/react/page-regular-mode.tsx +1 -1
  579. package/src/icons/react/page-wide-mode.tsx +1 -1
  580. package/src/icons/react/panel-add.tsx +1 -1
  581. package/src/icons/react/pencil.tsx +1 -1
  582. package/src/icons/react/people-all.tsx +1 -1
  583. package/src/icons/react/people-check.tsx +1 -1
  584. package/src/icons/react/people-edit.tsx +1 -1
  585. package/src/icons/react/people-group-remove.tsx +1 -1
  586. package/src/icons/react/people-group.tsx +1 -1
  587. package/src/icons/react/people-invite.tsx +1 -1
  588. package/src/icons/react/people-remove.tsx +1 -1
  589. package/src/icons/react/people-role.tsx +1 -1
  590. package/src/icons/react/people-x.tsx +1 -1
  591. package/src/icons/react/people.tsx +1 -1
  592. package/src/icons/react/photo.tsx +1 -1
  593. package/src/icons/react/pin-filled.tsx +1 -1
  594. package/src/icons/react/pin.tsx +1 -1
  595. package/src/icons/react/plus.tsx +1 -1
  596. package/src/icons/react/preferences.tsx +1 -1
  597. package/src/icons/react/present-play.tsx +1 -1
  598. package/src/icons/react/present-stop.tsx +1 -1
  599. package/src/icons/react/print.tsx +1 -1
  600. package/src/icons/react/private-items.tsx +1 -1
  601. package/src/icons/react/propagate.tsx +1 -1
  602. package/src/icons/react/question.tsx +1 -1
  603. package/src/icons/react/reactions-add.tsx +1 -1
  604. package/src/icons/react/read-only.tsx +1 -1
  605. package/src/icons/react/redo.tsx +1 -1
  606. package/src/icons/react/references.tsx +1 -1
  607. package/src/icons/react/refresh.tsx +1 -1
  608. package/src/icons/react/remove.tsx +1 -1
  609. package/src/icons/react/reset-password.tsx +1 -1
  610. package/src/icons/react/richeditor-block-callout.tsx +1 -1
  611. package/src/icons/react/richeditor-block-code.tsx +1 -1
  612. package/src/icons/react/richeditor-block-embed.tsx +1 -1
  613. package/src/icons/react/richeditor-block-entity.tsx +1 -1
  614. package/src/icons/react/richeditor-block-file.tsx +1 -1
  615. package/src/icons/react/richeditor-block-h1.tsx +1 -1
  616. package/src/icons/react/richeditor-block-h2.tsx +1 -1
  617. package/src/icons/react/richeditor-block-h3.tsx +1 -1
  618. package/src/icons/react/richeditor-block-h4.tsx +1 -1
  619. package/src/icons/react/richeditor-block-mention.tsx +1 -1
  620. package/src/icons/react/richeditor-block-paragraph.tsx +1 -1
  621. package/src/icons/react/richeditor-block-quote.tsx +1 -1
  622. package/src/icons/react/richeditor-checklist-create.tsx +1 -1
  623. package/src/icons/react/richeditor-image-align-center.tsx +1 -1
  624. package/src/icons/react/richeditor-image-align-left.tsx +1 -1
  625. package/src/icons/react/richeditor-image-align-right.tsx +1 -1
  626. package/src/icons/react/richeditor-image.tsx +1 -1
  627. package/src/icons/react/richeditor-linkedhighlight-create.tsx +1 -1
  628. package/src/icons/react/richeditor-list-bullet.tsx +1 -1
  629. package/src/icons/react/richeditor-list-indent.tsx +1 -1
  630. package/src/icons/react/richeditor-list-ordered.tsx +1 -1
  631. package/src/icons/react/richeditor-list-unindent.tsx +1 -1
  632. package/src/icons/react/richeditor-mark-code.tsx +1 -1
  633. package/src/icons/react/richeditor-mark-em.tsx +1 -1
  634. package/src/icons/react/richeditor-mark-highlight.tsx +1 -1
  635. package/src/icons/react/richeditor-mark-strike.tsx +1 -1
  636. package/src/icons/react/richeditor-mark-strong.tsx +1 -1
  637. package/src/icons/react/richeditor-mark-text-background-color.tsx +1 -1
  638. package/src/icons/react/richeditor-mark-underline.tsx +1 -1
  639. package/src/icons/react/richeditor-table-create.tsx +1 -1
  640. package/src/icons/react/richeditor-video-upload.tsx +1 -1
  641. package/src/icons/react/rows.tsx +1 -1
  642. package/src/icons/react/rule.tsx +1 -1
  643. package/src/icons/react/search-add.tsx +1 -1
  644. package/src/icons/react/search-filled.tsx +1 -1
  645. package/src/icons/react/search-remove.tsx +1 -1
  646. package/src/icons/react/search.tsx +1 -1
  647. package/src/icons/react/self-reference-off.tsx +1 -1
  648. package/src/icons/react/self-reference-on.tsx +1 -1
  649. package/src/icons/react/send-backward.tsx +1 -1
  650. package/src/icons/react/send-to-back.tsx +1 -1
  651. package/src/icons/react/settings-filled.tsx +1 -1
  652. package/src/icons/react/settings.tsx +1 -1
  653. package/src/icons/react/share.tsx +1 -1
  654. package/src/icons/react/shield-keyhole.tsx +1 -1
  655. package/src/icons/react/show-author.tsx +1 -1
  656. package/src/icons/react/simple-compass.tsx +1 -1
  657. package/src/icons/react/slide-menu-filled.tsx +1 -1
  658. package/src/icons/react/slide-menu.tsx +1 -1
  659. package/src/icons/react/sort.tsx +1 -1
  660. package/src/icons/react/space-add.tsx +1 -1
  661. package/src/icons/react/space-app.tsx +1 -1
  662. package/src/icons/react/space-generate.tsx +1 -1
  663. package/src/icons/react/space-move.tsx +1 -1
  664. package/src/icons/react/space-scratch.tsx +1 -1
  665. package/src/icons/react/space-template.tsx +1 -1
  666. package/src/icons/react/spinner.tsx +1 -1
  667. package/src/icons/react/switch-to-text.tsx +1 -1
  668. package/src/icons/react/switch-to-widget.tsx +1 -1
  669. package/src/icons/react/table-layout.tsx +1 -1
  670. package/src/icons/react/templates-filled.tsx +1 -1
  671. package/src/icons/react/templates.tsx +1 -1
  672. package/src/icons/react/terminal.tsx +1 -1
  673. package/src/icons/react/text-no-wrap.tsx +1 -1
  674. package/src/icons/react/text-tool-align-bottom.tsx +1 -1
  675. package/src/icons/react/text-tool-align-middle.tsx +1 -1
  676. package/src/icons/react/text-tool-align-top.tsx +1 -1
  677. package/src/icons/react/text-wrap.tsx +1 -1
  678. package/src/icons/react/toc.tsx +1 -1
  679. package/src/icons/react/type-button.tsx +1 -1
  680. package/src/icons/react/type-checkbox.tsx +1 -1
  681. package/src/icons/react/type-date.tsx +1 -1
  682. package/src/icons/react/type-email.tsx +1 -1
  683. package/src/icons/react/type-emoji.tsx +1 -1
  684. package/src/icons/react/type-formula.tsx +1 -1
  685. package/src/icons/react/type-location.tsx +1 -1
  686. package/src/icons/react/type-lookup.tsx +1 -1
  687. package/src/icons/react/type-money.tsx +1 -1
  688. package/src/icons/react/type-multi-select.tsx +1 -1
  689. package/src/icons/react/type-number.tsx +1 -1
  690. package/src/icons/react/type-percent.tsx +1 -1
  691. package/src/icons/react/type-phone.tsx +1 -1
  692. package/src/icons/react/type-relation.tsx +1 -1
  693. package/src/icons/react/type-rich-text.tsx +1 -1
  694. package/src/icons/react/type-single-select.tsx +1 -1
  695. package/src/icons/react/type-text.tsx +1 -1
  696. package/src/icons/react/undo.tsx +1 -1
  697. package/src/icons/react/units-avatar.tsx +1 -1
  698. package/src/icons/react/units-collection.tsx +1 -1
  699. package/src/icons/react/units-counter.tsx +1 -1
  700. package/src/icons/react/units-date.tsx +1 -1
  701. package/src/icons/react/units-field-icon-button.tsx +1 -1
  702. package/src/icons/react/units-field.tsx +1 -1
  703. package/src/icons/react/units-input.tsx +1 -1
  704. package/src/icons/react/units-normal.tsx +1 -1
  705. package/src/icons/react/units-progress-bar.tsx +1 -1
  706. package/src/icons/react/units-rich-text.tsx +1 -1
  707. package/src/icons/react/units-snippet.tsx +1 -1
  708. package/src/icons/react/unlink.tsx +1 -1
  709. package/src/icons/react/unlock-filled.tsx +1 -1
  710. package/src/icons/react/unlock.tsx +1 -1
  711. package/src/icons/react/usb-flash-drive.tsx +1 -1
  712. package/src/icons/react/value-clear.tsx +1 -1
  713. package/src/icons/react/value-edit.tsx +1 -1
  714. package/src/icons/react/view-ai.tsx +1 -1
  715. package/src/icons/react/view-app.tsx +1 -1
  716. package/src/icons/react/view-board.tsx +1 -1
  717. package/src/icons/react/view-calendar.tsx +1 -1
  718. package/src/icons/react/view-canvas.tsx +1 -1
  719. package/src/icons/react/view-chart.tsx +1 -1
  720. package/src/icons/react/view-dashboard.tsx +1 -1
  721. package/src/icons/react/view-details.tsx +1 -1
  722. package/src/icons/react/view-document.tsx +1 -1
  723. package/src/icons/react/view-embed.tsx +1 -1
  724. package/src/icons/react/view-feed.tsx +1 -1
  725. package/src/icons/react/view-form.tsx +1 -1
  726. package/src/icons/react/view-gallery.tsx +1 -1
  727. package/src/icons/react/view-gantt.tsx +1 -1
  728. package/src/icons/react/view-list.tsx +1 -1
  729. package/src/icons/react/view-map.tsx +1 -1
  730. package/src/icons/react/view-page.tsx +1 -1
  731. package/src/icons/react/view-table.tsx +1 -1
  732. package/src/icons/react/view-timeline.tsx +1 -1
  733. package/src/icons/react/views.tsx +1 -1
  734. package/src/icons/react/warning-triangle-filled.tsx +1 -1
  735. package/src/icons/react/warning-triangle.tsx +1 -1
  736. package/src/icons/react/warning.tsx +1 -1
  737. package/src/icons/react/webhooks.tsx +1 -1
  738. package/src/icons/react/workflow.tsx +1 -1
  739. package/src/number-input/number-input-inline-with-autosize.tsx +10 -2
  740. package/src/number-input/styles.ts +13 -0
  741. package/src/number-input/text-area-auto-sized.tsx +4 -3
  742. package/src/number-input/text-input-auto-sized.tsx +4 -3
  743. package/src/palettes/inspect.defs.colors.neutral-arch.test.ts +12 -0
  744. package/src/palettes/inspect.defs.colors.neutral-user.test.ts +12 -0
  745. package/src/palettes/inspect.defs.colors.warm-arch.test.ts +12 -0
  746. package/src/palettes/inspect.defs.colors.warm-user.test.ts +12 -0
  747. package/src/theming.generated.css +12 -0
  748. package/src/theming.generated.ts +15 -0
  749. package/src/tooltip.tsx +4 -1
  750. package/src/unit/index.tsx +2 -63
  751. package/src/unit/labeled-unit.tsx +28 -0
  752. package/src/unit/primitive.tsx +14 -17
  753. package/src/unit/styles.ts +17 -29
  754. package/src/unit/types.ts +4 -2
  755. package/src/unit/unit-content.tsx +15 -10
  756. package/src/unit/unit.tsx +88 -0
  757. package/vite.config.ts +85 -0
  758. package/babel.config.js +0 -3
  759. package/scripts/generate-icons.mjs +0 -142
  760. package/src/__mocks__/style-mock.js +0 -1
  761. package/src/unit/unit-with-title.tsx +0 -13
@@ -0,0 +1,28 @@
1
+ import {css, cx} from "@linaria/core";
2
+
3
+ import {space, textClasses} from "../design-system";
4
+
5
+ const labelCss = css`
6
+ padding-bottom: ${space.s2}px;
7
+ padding-top: ${space.s6}px;
8
+ `;
9
+
10
+ const labeledUnitCss = css`
11
+ display: flex;
12
+ flex-direction: column;
13
+ align-items: flex-start;
14
+ justify-content: flex-start;
15
+ line-height: 1.2;
16
+ width: 100%;
17
+ `;
18
+
19
+ export const UnitLabel = ({children}: {children: React.ReactNode}) => (
20
+ <div className={cx(textClasses.heading7, labelCss)}>{children}</div>
21
+ );
22
+
23
+ export const LabeledUnit = ({label, children}: {label: React.ReactNode; children: React.ReactElement}) => (
24
+ <div className={labeledUnitCss}>
25
+ <UnitLabel>{label}</UnitLabel>
26
+ {children}
27
+ </div>
28
+ );
@@ -7,6 +7,7 @@ import {border, space, themeVars} from "../design-system";
7
7
  import {FieldIcon} from "../field-icon";
8
8
  import {Tooltip} from "../tooltip";
9
9
  import {useTruncated} from "../tooltip-if-overflown";
10
+ import {LabeledUnit} from "./labeled-unit";
10
11
  import {
11
12
  basicUnitClassName,
12
13
  bigSizeUnitClassName,
@@ -15,18 +16,20 @@ import {
15
16
  clickableClassName,
16
17
  fullUnitWrapperClassName,
17
18
  invalidUnitClassName,
19
+ pillRadiusClassName,
18
20
  positionUnitClass,
19
21
  regularSizeUnitClassName,
20
22
  regularSizeUnitMinWidthClassName,
21
- unitDescriptionClassName,
22
23
  unitMinHeightClassName,
23
- unitTitleClassName,
24
- unitWithTitleClassName,
25
24
  } from "./styles";
26
25
  import type {UnitPrimitiveProps} from "./types";
27
26
  import {UnitButtonGroup} from "./unit-button-group";
28
27
  import {UnitContent} from "./unit-content";
29
28
 
29
+ const unitDescriptionClassName = css`
30
+ margin-bottom: ${space.s1}px;
31
+ `;
32
+
30
33
  const resetButtonStylesClassName = css`
31
34
  all: unset;
32
35
  background-color: ${themeVars.transparent};
@@ -71,14 +74,15 @@ export const UnitPrimitive = ({
71
74
  navButton,
72
75
  // Appearance
73
76
  big = false,
77
+ pill = false,
74
78
  tooltip = true,
75
- header = false,
79
+ withLabel = false,
76
80
  border = true,
77
81
  color = themeVars.textColor,
78
82
  bgColor = themeVars.transparent,
79
83
  fontWeight,
80
84
  shrinkable = true,
81
- clickable = border,
85
+ clickable = false,
82
86
  setMinWidth = true,
83
87
  setMinHeight = true,
84
88
  // Callback
@@ -101,6 +105,7 @@ export const UnitPrimitive = ({
101
105
  setMinWidth && (big ? bigSizeUnitMinWidthClassName : regularSizeUnitMinWidthClassName),
102
106
  setMinHeight && unitMinHeightClassName,
103
107
  border && borderClassName,
108
+ pill && pillRadiusClassName,
104
109
  invalid && invalidUnitClassName,
105
110
  clickable && clickableClassName
106
111
  );
@@ -124,17 +129,10 @@ export const UnitPrimitive = ({
124
129
  />
125
130
  );
126
131
 
127
- const contentWithHeader = header ? (
128
- <div className={unitWithTitleClassName}>
129
- <div className={unitTitleClassName}>{title}</div>
130
- {content}
131
- </div>
132
- ) : (
133
- content
134
- );
132
+ const labeledContent = withLabel ? <LabeledUnit label={title}>{content}</LabeledUnit> : content;
135
133
 
136
134
  if (!tooltip) {
137
- return <div className={positionUnitClass}>{contentWithHeader}</div>;
135
+ return <div className={positionUnitClass}>{labeledContent}</div>;
138
136
  }
139
137
 
140
138
  const tooltipTitle = (
@@ -179,9 +177,8 @@ export const UnitPrimitive = ({
179
177
 
180
178
  return (
181
179
  <div className={positionUnitClass}>
182
- <Tooltip side="bottom" align="start" title={tooltipTitle} description={tooltipDescription}>
183
- {/* The trigger needs a host element: the unit content root does not forward refs/handlers */}
184
- <div>{contentWithHeader}</div>
180
+ <Tooltip side="bottom" align="start" openOnFocus={false} title={tooltipTitle} description={tooltipDescription}>
181
+ <div>{labeledContent}</div>
185
182
  </Tooltip>
186
183
  </div>
187
184
  );
@@ -1,6 +1,6 @@
1
1
  import {css} from "@linaria/core";
2
2
 
3
- import {fontSize, space, textStyles, themeVars} from "../../src/design-system";
3
+ import {border, fontSize, space, textStyles, themeVars} from "../../src/design-system";
4
4
 
5
5
  export const textEllipsisClassName = css`
6
6
  white-space: nowrap;
@@ -9,7 +9,7 @@ export const textEllipsisClassName = css`
9
9
  `;
10
10
 
11
11
  export const basicUnitClassName = css`
12
- border-radius: ${space.s6}px;
12
+ border-radius: ${border.radius6}px;
13
13
  border: none;
14
14
  `;
15
15
 
@@ -49,22 +49,6 @@ export const unitMinHeightClassName = css`
49
49
  min-height: ${space.s24}px;
50
50
  `;
51
51
 
52
- // TODO(textClasses migration): consumers in packages/ui-kit/src/unit/primitive.tsx, packages/ui-kit/src/unit/unit-with-title.tsx, fibery-ui/src/components/units/* need cx(textClasses.heading7, ...)
53
- export const unitTitleClassName = css`
54
- ${textStyles.heading7}
55
- padding-bottom: ${space.s2}px;
56
- padding-top: ${space.s6}px;
57
- `;
58
-
59
- export const unitWithTitleClassName = css`
60
- display: flex;
61
- flex-direction: column;
62
- align-items: flex-start;
63
- justify-content: flex-start;
64
- line-height: 1.2;
65
- width: 100%;
66
- `;
67
-
68
52
  export const invalidUnitClassName = css``;
69
53
 
70
54
  export const clickableClassName = css`
@@ -87,7 +71,7 @@ export const borderClassName = css`
87
71
  bottom: 0;
88
72
  box-shadow: ${themeVars.inputBorderColor} inset;
89
73
  mix-blend-mode: ${themeVars.inputBorderBlendMode};
90
- border-radius: ${space.s6}px;
74
+ border-radius: ${border.radius6}px;
91
75
  pointer-events: none;
92
76
  }
93
77
 
@@ -117,24 +101,28 @@ export const borderClassName = css`
117
101
  }
118
102
  `;
119
103
 
120
- export const basicUnitContentClassName = css`
121
- padding-left: ${space.s4}px;
122
- padding-right: ${space.s4}px;
123
- `;
104
+ export const pillRadiusClassName = css`
105
+ border-radius: ${border.radius16}px;
124
106
 
125
- export const unitContentContainerClassName = css`
126
- overflow: hidden;
127
- `;
107
+ &::before {
108
+ border-radius: ${border.radius16}px;
109
+ box-shadow: ${themeVars.inputBorderColorThin} inset;
110
+ }
128
111
 
129
- export const unitDescriptionClassName = css`
130
- margin-bottom: ${space.s1}px;
112
+ &.${clickableClassName}:hover::before {
113
+ box-shadow: ${themeVars.inputBorderHoverColorThin} inset;
114
+ }
115
+
116
+ &.${clickableClassName}:focus::before {
117
+ box-shadow: ${themeVars.inputBorderFocusColorThin} inset;
118
+ }
131
119
  `;
132
120
 
133
121
  export const fullUnitWrapperClassName = css`
134
122
  display: flex;
135
123
  align-items: center;
136
124
  padding: ${space.s6}px;
137
- border-radius: ${space.s5}px;
125
+ border-radius: ${border.radius6}px;
138
126
  background-color: ${themeVars.cardBg};
139
127
  margin-bottom: ${space.s4}px;
140
128
  `;
package/src/unit/types.ts CHANGED
@@ -12,13 +12,15 @@ export type UnitPrimitiveProps = {
12
12
  title?: ReactNode;
13
13
  fieldIcon?: string;
14
14
  description?: ReactNode;
15
- icons?: React.ReactNodeArray;
15
+ icons?: React.ReactNode[];
16
16
  hint?: ReactNode;
17
17
  navButton?: ReactNode;
18
18
  // Appearance
19
19
  big?: boolean;
20
+ /** Round corners to half the height (pill/stadium shape). */
21
+ pill?: boolean;
20
22
  tooltip?: boolean;
21
- header?: boolean;
23
+ withLabel?: boolean;
22
24
  border?: boolean;
23
25
  color?: string;
24
26
  bgColor?: string | null;
@@ -1,17 +1,22 @@
1
- import {cx} from "@linaria/core";
1
+ import {css, cx} from "@linaria/core";
2
2
  import type {ReactNode} from "react";
3
3
 
4
- import {
5
- alignCenterClassName,
6
- basicUnitContentClassName,
7
- textEllipsisClassName,
8
- unitContentContainerClassName,
9
- } from "./styles";
4
+ import {space} from "../design-system";
5
+ import {alignCenterClassName, textEllipsisClassName} from "./styles";
10
6
  import {UnitContentLayout} from "./unit-content-layout";
11
7
 
8
+ const contentContainerCss = css`
9
+ overflow: hidden;
10
+ `;
11
+
12
+ const contentCss = css`
13
+ padding-left: ${space.s4}px;
14
+ padding-right: ${space.s4}px;
15
+ `;
16
+
12
17
  type Props = {
13
18
  big: boolean;
14
- icons?: React.ReactNodeArray;
19
+ icons?: React.ReactNode[];
15
20
  shrinkable?: boolean;
16
21
  truncate?: boolean;
17
22
  setNode?: (element: HTMLElement | null) => void;
@@ -35,8 +40,8 @@ export const UnitContent = ({big, icons, shrinkable, truncate, setNode, children
35
40
  : null}
36
41
 
37
42
  {children && (
38
- <div className={unitContentContainerClassName}>
39
- <div ref={setNode} className={cx(basicUnitContentClassName, truncate && textEllipsisClassName)}>
43
+ <div className={contentContainerCss}>
44
+ <div ref={setNode} className={cx(contentCss, truncate && textEllipsisClassName)}>
40
45
  {children}
41
46
  </div>
42
47
  </div>
@@ -0,0 +1,88 @@
1
+ import type {KeyboardEvent, ReactNode} from "react";
2
+
3
+ import {themeVars} from "../design-system";
4
+ import {UnitPrimitive} from "./primitive";
5
+
6
+ export type UnitVariant = "outlined" | "plain" | "filled";
7
+
8
+ export type UnitSize = "small" | "medium";
9
+
10
+ export type UnitProps = {
11
+ variant?: UnitVariant;
12
+ size?: UnitSize;
13
+ readOnly?: boolean;
14
+ /** Render the field label above the value (full-size presentation). */
15
+ withLabel?: boolean;
16
+ invalid?: boolean;
17
+ tooltip?: boolean;
18
+ // Content
19
+ children?: ReactNode;
20
+ title?: ReactNode;
21
+ fieldIcon?: string;
22
+ description?: ReactNode;
23
+ hint?: ReactNode;
24
+ icons?: ReactNode[];
25
+ navButton?: ReactNode;
26
+ // Data-driven appearance (overrides the variant's default fill/color)
27
+ color?: string;
28
+ bgColor?: string | null;
29
+ fontWeight?: number;
30
+ shrinkable?: boolean;
31
+ /** Round corners to half the height (pill/stadium shape). */
32
+ pill?: boolean;
33
+ // Interaction escape hatches — override the variant-derived defaults.
34
+ border?: boolean;
35
+ button?: boolean;
36
+ clickable?: boolean;
37
+ // Layout escape hatches — orthogonal to variant (markup, not appearance).
38
+ setMinWidth?: boolean;
39
+ setMinHeight?: boolean;
40
+ overflow?: boolean;
41
+ renderAsDiv?: boolean;
42
+ inline?: boolean;
43
+ multiline?: boolean;
44
+ // Callbacks
45
+ onClick?: (e: React.MouseEvent<HTMLElement>) => void;
46
+ onKeyDown?: (e: KeyboardEvent<HTMLButtonElement | HTMLDivElement>) => void;
47
+ };
48
+
49
+ const getVariantBgColor = (variant: UnitVariant, readOnly: boolean) => {
50
+ if (variant === "filled") {
51
+ return themeVars.unitBg;
52
+ }
53
+ if (variant === "outlined" && readOnly) {
54
+ return themeVars.inputDisabledBgColor;
55
+ }
56
+ return themeVars.transparent;
57
+ };
58
+
59
+ export const Unit = ({
60
+ variant = "outlined",
61
+ size = "small",
62
+ readOnly = false,
63
+ withLabel = false,
64
+ invalid,
65
+ color,
66
+ bgColor,
67
+ border,
68
+ button,
69
+ clickable,
70
+ onClick,
71
+ ...rest
72
+ }: UnitProps) => {
73
+ const interactive = variant === "outlined" && !readOnly;
74
+ return (
75
+ <UnitPrimitive
76
+ {...rest}
77
+ big={size === "medium"}
78
+ border={border ?? (variant === "outlined" && !readOnly)}
79
+ bgColor={bgColor ?? getVariantBgColor(variant, readOnly)}
80
+ button={button ?? (interactive || Boolean(onClick))}
81
+ clickable={clickable ?? interactive}
82
+ withLabel={withLabel}
83
+ invalid={invalid}
84
+ color={color}
85
+ onClick={onClick}
86
+ />
87
+ );
88
+ };
package/vite.config.ts ADDED
@@ -0,0 +1,85 @@
1
+ import {readFileSync} from "node:fs";
2
+ import path from "node:path";
3
+
4
+ import wyw from "@wyw-in-js/vite";
5
+ import {globSync} from "glob";
6
+ import {defineConfig} from "vite";
7
+
8
+ const root = import.meta.dirname;
9
+ const sourcePattern = path.join(root, "src/**/*.{ts,tsx}");
10
+ const linariaEntries = globSync(sourcePattern, {
11
+ absolute: true,
12
+ ignore: ["**/*.test.{ts,tsx}", "**/__tests__/**"],
13
+ }).filter((file) => readFileSync(file, "utf8").includes("@linaria/"));
14
+
15
+ if (linariaEntries.length === 0) {
16
+ throw new Error("No UI-kit Linaria modules found to evaluate.");
17
+ }
18
+
19
+ const droppedClassNameTitles = new Set([
20
+ "div",
21
+ "span",
22
+ "img",
23
+ "a",
24
+ "className",
25
+ "ul",
26
+ "li",
27
+ "p",
28
+ "b",
29
+ "style",
30
+ "h4",
31
+ "blockquote",
32
+ "pre",
33
+ "abbr",
34
+ ]);
35
+ const classNameSuffixNoise = /(Styles?|Css|Class|ClassName)$/u;
36
+ const wywViteConfig = {
37
+ conditionNames: ["@fibery/source", "..."],
38
+ configFile: false,
39
+ evalConsole: "pipe",
40
+ eval: {
41
+ resolver: "native",
42
+ require: "off",
43
+ strategy: "static",
44
+ },
45
+ prefixer: false,
46
+ evaluate: true,
47
+ classNameSlug(hash: string, title: string) {
48
+ if (droppedClassNameTitles.has(title)) {
49
+ return hash;
50
+ }
51
+ return `${hash}-${title.replace(classNameSuffixNoise, "")}`;
52
+ },
53
+ displayName: true,
54
+ sourceMap: false,
55
+ features: {
56
+ dangerousCodeRemover: true,
57
+ globalCache: true,
58
+ happyDOM: false,
59
+ softErrors: false,
60
+ useWeakRefInEval: true,
61
+ },
62
+ include: [sourcePattern],
63
+ exclude: ["**/node_modules/**"],
64
+ transformLibraries: false,
65
+ } as Parameters<typeof wyw>[0];
66
+
67
+ export default defineConfig({
68
+ resolve: {
69
+ conditions: ["@fibery/source", "browser"],
70
+ },
71
+ define: {
72
+ "process.env.NODE_ENV": JSON.stringify("production"),
73
+ "process.env.NODE_DEBUG": "undefined",
74
+ },
75
+ plugins: [wyw(wywViteConfig)],
76
+ build: {
77
+ target: "esnext",
78
+ write: false,
79
+ minify: false,
80
+ reportCompressedSize: false,
81
+ rollupOptions: {
82
+ input: linariaEntries,
83
+ },
84
+ },
85
+ });
package/babel.config.js DELETED
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- presets: [["@fibery/babel-preset/typescript"], ["@wyw-in-js"]],
3
- };
@@ -1,142 +0,0 @@
1
- import {readFile} from "fs/promises";
2
- import path from "node:path";
3
- import {fileURLToPath} from "node:url";
4
-
5
- import fs from "fs-extra";
6
- import {glob} from "glob";
7
- import {parse} from "svg-parser";
8
- import svgo from "svgo";
9
- import {recursiveReduce} from "unist-util-reduce";
10
-
11
- const __filename = fileURLToPath(import.meta.url);
12
- const __dirname = path.dirname(__filename);
13
-
14
- const WORD_RE = /[A-Z]+(?![a-z])|[A-Z]?[a-z]+|\d+/g;
15
- const words = (s) => String(s).match(WORD_RE) ?? [];
16
- const cap = (w) => w[0].toUpperCase() + w.slice(1).toLowerCase();
17
- const pascalCase = (s) => words(s).map(cap).join("");
18
- const camelCase = (s) =>
19
- words(s)
20
- .map((w, i) => (i ? cap(w) : w.toLowerCase()))
21
- .join("");
22
- const kebabCase = (s) =>
23
- words(s)
24
- .map((w) => w.toLowerCase())
25
- .join("-");
26
-
27
- const svgoConfig = (prefix) => ({
28
- plugins: [
29
- {
30
- name: "preset-default",
31
- },
32
- {
33
- name: "prefixIds",
34
- params: {
35
- prefix,
36
- },
37
- },
38
- ],
39
- });
40
-
41
- const preludeTemplate = ({source, generator}) => `/**
42
- * This file was automatically generated. Do not edit manually.
43
- * ${
44
- source
45
- ? `
46
- * @see import("${source}")`
47
- : ""
48
- }
49
- * @see import("${generator}")
50
- */
51
- `;
52
-
53
- const render = ({source, generator, svgIdentifier, svgIdentifierPath}) =>
54
- `${preludeTemplate({source, generator})}
55
- import {forwardRef} from "react";
56
- import ${svgIdentifier}Svg from "../ast/${svgIdentifierPath}";
57
- import {Icon} from "../icon";
58
- import type {IconBaseProps} from "../types";
59
-
60
- const ${svgIdentifier} = forwardRef<SVGSVGElement, IconBaseProps>(function ${svgIdentifier}(
61
- props: IconBaseProps,
62
- ref: React.Ref<SVGSVGElement>
63
- ) {return <Icon {...props} className={props.className} ref={ref} icon={${svgIdentifier}Svg} />});
64
-
65
- export default ${svgIdentifier};
66
- `.trim();
67
-
68
- const defTemplate = ({source, generator, identifier, content}) => `${preludeTemplate({source, generator})}
69
- import type {IconDefinition} from "../types";
70
-
71
- const ${identifier}: IconDefinition = ${content};
72
-
73
- export default ${identifier};
74
- `;
75
-
76
- const iconsDir = path.join(__dirname, "../src/icons");
77
- const iconsSvgPathDir = path.join(iconsDir, "./svg");
78
- const iconsReactPathDir = path.join(iconsDir, "./react");
79
- const iconsAstPathDir = path.join(iconsDir, "./ast");
80
- const pattern = "**/*.svg";
81
- const icons = await glob(pattern, {cwd: iconsSvgPathDir});
82
-
83
- await fs.remove(iconsReactPathDir);
84
- await fs.remove(iconsAstPathDir);
85
-
86
- const generator = path.relative(iconsReactPathDir, __filename);
87
- let barrelExportContent = preludeTemplate({source: null, generator: generator}) + "\n";
88
- for (const icon of icons) {
89
- const name = pascalCase(icon.replace("/", "-").replace(".svg", ""));
90
- const resultFileName = icon.replaceAll("/", "-").replace(".svg", "");
91
- const iconPath = path.join(iconsSvgPathDir, icon);
92
- const source = path.relative(iconsReactPathDir, iconPath);
93
-
94
- const ast = parse(svgo.optimize((await readFile(iconPath)).toString(), svgoConfig(name)).data);
95
-
96
- await fs.outputFile(
97
- path.join(iconsAstPathDir, `./${resultFileName}.ts`),
98
- defTemplate({
99
- source,
100
- generator,
101
- identifier: name,
102
- content: JSON.stringify({
103
- icon: recursiveReduce(ast, (node) => {
104
- const {class: className, xmlns, ...rest} = node.properties ?? {};
105
- return {
106
- ...node,
107
- properties: Object.fromEntries(
108
- Object.entries(rest).map(([key, value]) => {
109
- if (key === "style") {
110
- const style = {};
111
- value.split(";").forEach((styleItem) => {
112
- const [styleKey, styleValue] = styleItem.split(":").map((s) => s.trim());
113
- if (styleKey && styleValue) {
114
- style[camelCase(styleKey)] = styleValue;
115
- }
116
- });
117
- return [camelCase(key), style];
118
- }
119
- return [camelCase(key), value];
120
- })
121
- ),
122
- };
123
- }),
124
- name: kebabCase(name),
125
- }),
126
- })
127
- );
128
-
129
- await fs.outputFile(
130
- path.join(iconsReactPathDir, `${resultFileName}.tsx`),
131
- render({
132
- source,
133
- generator,
134
- svgIdentifier: name,
135
- svgIdentifierPath: resultFileName,
136
- })
137
- );
138
-
139
- barrelExportContent += `export {default as ${name}} from "./${resultFileName}";\n`;
140
- }
141
- await fs.outputFile(path.join(iconsReactPathDir, `./index.tsx`), barrelExportContent);
142
- await fs.outputFile(path.join(iconsAstPathDir, `./index.tsx`), barrelExportContent);
@@ -1 +0,0 @@
1
- module.exports = {};
@@ -1,13 +0,0 @@
1
- import {unitTitleClassName, unitWithTitleClassName} from "./styles";
2
-
3
- type Props = {
4
- title: React.ReactNode;
5
- children: React.ReactElement;
6
- };
7
-
8
- export const UnitWithTitle = ({children, title}: Props) => (
9
- <div className={unitWithTitleClassName}>
10
- <div className={unitTitleClassName}>{title}</div>
11
- {children}
12
- </div>
13
- );