@fibery/ui-kit 4.1.0 → 4.3.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 (917) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +9 -13
  3. package/src/antd/ant-upload.tsx +13 -13
  4. package/src/antd/auto-complete.tsx +10 -10
  5. package/src/antd/input-number.tsx +59 -49
  6. package/src/antd/input.tsx +1 -1
  7. package/src/antd/styles.ts +28 -22
  8. package/src/antd/tabs.tsx +28 -28
  9. package/src/apca.lc-low.test.ts +1 -3
  10. package/src/apca.test.ts +42 -43
  11. package/src/apca.ts +38 -39
  12. package/src/app-icon-with-fallback.tsx +6 -2
  13. package/src/avatar-colors.ts +71 -0
  14. package/src/avatar.tsx +2 -10
  15. package/src/banner/banner.tsx +1 -2
  16. package/src/box.tsx +26 -16
  17. package/src/button/back-button.tsx +2 -2
  18. package/src/button/make-button-colors.ts +13 -13
  19. package/src/button/select-button.tsx +2 -2
  20. package/src/canvas-colors.ts +71 -118
  21. package/src/checkbox.tsx +3 -3
  22. package/src/collapsible-section.tsx +3 -3
  23. package/src/color-filter.test.ts +13 -0
  24. package/src/color-filter.ts +27 -4
  25. package/src/color-utils.ts +9 -2
  26. package/src/command-menu/nested-command-menu.tsx +2 -2
  27. package/src/comment.tsx +2 -2
  28. package/src/count-badge.tsx +3 -11
  29. package/src/date-picker/date-range-picker-popup-content.tsx +3 -2
  30. package/src/date-picker/date-range-picker.tsx +23 -1
  31. package/src/date-picker/relative-date-picker.tsx +3 -2
  32. package/src/date-picker/single-date-picker-popup-content.tsx +3 -2
  33. package/src/date-picker/single-date-picker.tsx +19 -2
  34. package/src/design-system/alpha-coefficients.ts +235 -0
  35. package/src/design-system/alpha.ts +10 -1
  36. package/src/design-system/colors-enum.dark.neutral.test.ts +168 -168
  37. package/src/design-system/colors-enum.dark.warm.test.ts +168 -168
  38. package/src/design-system/colors-enum.light.neutral.test.ts +168 -168
  39. package/src/design-system/colors-enum.light.warm.test.ts +168 -168
  40. package/src/design-system/colors.ts +279 -182
  41. package/src/design-system/def.ts +1 -1
  42. package/src/design-system/fns.avatarPlaceholder.dark.neutral.test.ts +52 -0
  43. package/src/design-system/fns.avatarPlaceholder.dark.warm.test.ts +52 -0
  44. package/src/design-system/fns.avatarPlaceholder.light.neutral.test.ts +52 -0
  45. package/src/design-system/fns.avatarPlaceholder.light.warm.test.ts +52 -0
  46. package/src/design-system/fns.enum.ts +2 -0
  47. package/src/design-system/fns.icon.ts +1 -1
  48. package/src/design-system/fns.ts +43 -13
  49. package/src/design-system/theme.test.ts +4 -6
  50. package/src/design-system/theme.ts +22 -13
  51. package/src/design-system/vars.test.ts +2 -2
  52. package/src/design-system/vars.ts +3 -3
  53. package/src/design-system.ts +3 -1
  54. package/src/dom-utils.ts +5 -12
  55. package/src/dot.tsx +1 -0
  56. package/src/double-apply.ts +2 -2
  57. package/src/download-file.ts +36 -0
  58. package/src/dropdown-menu/index.tsx +0 -1
  59. package/src/emoji-picker/primitives/footer.tsx +1 -1
  60. package/src/emoji-picker/utils/frequently.ts +1 -1
  61. package/src/favorites-icon.tsx +2 -2
  62. package/src/fibermoji-placeholder.tsx +23 -56
  63. package/src/fibery-brand-logo.tsx +82 -0
  64. package/src/field-container.tsx +2 -2
  65. package/src/field-type-icon.tsx +18 -18
  66. package/src/file-item/file-menu-items.tsx +30 -12
  67. package/src/file-item/file-preview-actions.tsx +53 -12
  68. package/src/file-item/share-file.ts +53 -0
  69. package/src/file-item.tsx +9 -9
  70. package/src/format-date-from-now.ts +10 -5
  71. package/src/header-layout.tsx +41 -24
  72. package/src/highlight-colors.test.ts +1 -1
  73. package/src/highlight-colors.ts +27 -0
  74. package/src/html-styles.ts +0 -1
  75. package/src/icons/ast/appearance-auto.ts +1 -1
  76. package/src/icons/ast/architect.ts +12 -0
  77. package/src/icons/ast/arrow-back.ts +12 -0
  78. package/src/icons/ast/arrow-down.ts +12 -0
  79. package/src/icons/ast/{send-arrow.ts → arrow-send.ts} +3 -3
  80. package/src/icons/ast/arrow-up.ts +12 -0
  81. package/src/icons/ast/avatar.ts +12 -0
  82. package/src/icons/ast/backlog.ts +12 -0
  83. package/src/icons/ast/{check-circle-filled.ts → circle-check-filled.ts} +3 -3
  84. package/src/icons/ast/{check-circle.ts → circle-check.ts} +3 -3
  85. package/src/icons/ast/{error-circle-filled.ts → circle-cross-filled.ts} +3 -3
  86. package/src/icons/ast/circle-cross.ts +12 -0
  87. package/src/icons/ast/{info-circle-filled.ts → circle-info-filled.ts} +3 -3
  88. package/src/icons/ast/{info-circle.ts → circle-info.ts} +3 -3
  89. package/src/icons/ast/circle-pause.ts +12 -0
  90. package/src/icons/ast/circle-play.ts +12 -0
  91. package/src/icons/ast/comments.ts +12 -0
  92. package/src/icons/ast/credits-filled.ts +1 -1
  93. package/src/icons/ast/{add-database.ts → database-add.ts} +3 -3
  94. package/src/icons/ast/database-outline.ts +12 -0
  95. package/src/icons/ast/eye-off.ts +12 -0
  96. package/src/icons/ast/favorites-filled.ts +12 -0
  97. package/src/icons/ast/{switch-to-mention.ts → field-units-large.ts} +3 -3
  98. package/src/icons/ast/files.ts +12 -0
  99. package/src/icons/ast/{smart-folder.ts → folder-smart.ts} +3 -3
  100. package/src/icons/ast/fullscreen-mode-off.ts +12 -0
  101. package/src/icons/ast/fullscreen-mode-on.ts +1 -1
  102. package/src/icons/ast/{add-group.ts → group-add.ts} +3 -3
  103. package/src/icons/ast/{image-xmark.ts → image-error.ts} +3 -3
  104. package/src/icons/ast/index.tsx +132 -215
  105. package/src/icons/ast/{add-integration.ts → integration-add.ts} +3 -3
  106. package/src/icons/ast/integration-discourse.ts +12 -0
  107. package/src/icons/ast/integration-fibery.ts +12 -0
  108. package/src/icons/ast/integration-figma.ts +12 -0
  109. package/src/icons/ast/integration-github.ts +12 -0
  110. package/src/icons/ast/integration-gitlab.ts +12 -0
  111. package/src/icons/ast/integration-google-drive.ts +12 -0
  112. package/src/icons/ast/integration-google-map.ts +12 -0
  113. package/src/icons/ast/integration-intercom.ts +12 -0
  114. package/src/icons/ast/integration-jira.ts +12 -0
  115. package/src/icons/ast/integration-loom.ts +12 -0
  116. package/src/icons/ast/integration-miro.ts +12 -0
  117. package/src/icons/ast/integration-mixpanel.ts +12 -0
  118. package/src/icons/ast/integration-slack.ts +12 -0
  119. package/src/icons/ast/{suggest-integration.ts → integration-suggest.ts} +3 -3
  120. package/src/icons/ast/integration-twitter.ts +12 -0
  121. package/src/icons/ast/integration-unsplash.ts +12 -0
  122. package/src/icons/ast/integration-youtube.ts +12 -0
  123. package/src/icons/ast/integration-zendesk.ts +12 -0
  124. package/src/icons/ast/limits.ts +12 -0
  125. package/src/icons/ast/lock-filled.ts +12 -0
  126. package/src/icons/ast/lock.ts +1 -1
  127. package/src/icons/ast/move-down.ts +12 -0
  128. package/src/icons/ast/move-up.ts +12 -0
  129. package/src/icons/ast/open-in-panel.ts +12 -0
  130. package/src/icons/ast/open-link.ts +12 -0
  131. package/src/icons/ast/people-all.ts +12 -0
  132. package/src/icons/ast/people-edit.ts +12 -0
  133. package/src/icons/ast/people-group-remove.ts +12 -0
  134. package/src/icons/ast/people-group.ts +12 -0
  135. package/src/icons/ast/{invite-people.ts → people-invite.ts} +3 -3
  136. package/src/icons/ast/{remove-people.ts → people-remove.ts} +3 -3
  137. package/src/icons/ast/people-role.ts +12 -0
  138. package/src/icons/ast/people-x.ts +12 -0
  139. package/src/icons/ast/plus.ts +12 -0
  140. package/src/icons/ast/preferences.ts +12 -0
  141. package/src/icons/ast/propagate.ts +12 -0
  142. package/src/icons/ast/{add-reactions.ts → reactions-add.ts} +3 -3
  143. package/src/icons/ast/redo.ts +12 -0
  144. package/src/icons/ast/references.ts +12 -0
  145. package/src/icons/ast/richeditor-block-callout.ts +1 -1
  146. package/src/icons/ast/richeditor-block-code.ts +1 -1
  147. package/src/icons/ast/richeditor-block-embed.ts +1 -1
  148. package/src/icons/ast/richeditor-block-entity.ts +1 -1
  149. package/src/icons/ast/richeditor-block-file.ts +1 -1
  150. package/src/icons/ast/richeditor-block-h1.ts +1 -1
  151. package/src/icons/ast/richeditor-block-h2.ts +1 -1
  152. package/src/icons/ast/richeditor-block-h3.ts +1 -1
  153. package/src/icons/ast/richeditor-block-h4.ts +1 -1
  154. package/src/icons/ast/richeditor-block-mention.ts +1 -1
  155. package/src/icons/ast/richeditor-block-paragraph.ts +1 -1
  156. package/src/icons/ast/richeditor-block-quote.ts +1 -1
  157. package/src/icons/ast/richeditor-checklist-create.ts +1 -1
  158. package/src/icons/ast/richeditor-image-align-center.ts +1 -1
  159. package/src/icons/ast/richeditor-image-align-left.ts +1 -1
  160. package/src/icons/ast/richeditor-image-align-right.ts +1 -1
  161. package/src/icons/ast/richeditor-image.ts +12 -0
  162. package/src/icons/ast/richeditor-linkedhighlight-create.ts +1 -1
  163. package/src/icons/ast/richeditor-list-bullet.ts +1 -1
  164. package/src/icons/ast/richeditor-list-indent.ts +1 -1
  165. package/src/icons/ast/richeditor-list-ordered.ts +1 -1
  166. package/src/icons/ast/richeditor-list-unindent.ts +1 -1
  167. package/src/icons/ast/richeditor-mark-code.ts +1 -1
  168. package/src/icons/ast/richeditor-mark-em.ts +1 -1
  169. package/src/icons/ast/richeditor-mark-highlight.ts +1 -1
  170. package/src/icons/ast/richeditor-mark-strike.ts +1 -1
  171. package/src/icons/ast/richeditor-mark-strong.ts +1 -1
  172. package/src/icons/ast/richeditor-mark-text-background-color.ts +1 -1
  173. package/src/icons/ast/richeditor-mark-underline.ts +1 -1
  174. package/src/icons/ast/richeditor-table-create.ts +1 -1
  175. package/src/icons/ast/richeditor-video-upload.ts +1 -1
  176. package/src/icons/ast/{bolt.ts → rule.ts} +3 -3
  177. package/src/icons/ast/simple-compass.ts +1 -1
  178. package/src/icons/ast/space-add.ts +12 -0
  179. package/src/icons/ast/{move-space.ts → space-move.ts} +3 -3
  180. package/src/icons/ast/type-button.ts +1 -1
  181. package/src/icons/ast/type-checkbox.ts +1 -1
  182. package/src/icons/ast/type-date.ts +1 -1
  183. package/src/icons/ast/type-email.ts +1 -1
  184. package/src/icons/ast/type-emoji.ts +1 -1
  185. package/src/icons/ast/type-formula.ts +1 -1
  186. package/src/icons/ast/type-location.ts +1 -1
  187. package/src/icons/ast/type-lookup.ts +1 -1
  188. package/src/icons/ast/type-money.ts +1 -1
  189. package/src/icons/ast/type-multi-select.ts +1 -1
  190. package/src/icons/ast/type-number.ts +1 -1
  191. package/src/icons/ast/type-percent.ts +1 -1
  192. package/src/icons/ast/type-phone.ts +1 -1
  193. package/src/icons/ast/type-relation.ts +1 -1
  194. package/src/icons/ast/type-rich-text.ts +1 -1
  195. package/src/icons/ast/type-single-select.ts +1 -1
  196. package/src/icons/ast/type-text.ts +1 -1
  197. package/src/icons/ast/undo.ts +12 -0
  198. package/src/icons/ast/units-avatar.ts +1 -1
  199. package/src/icons/ast/units-collection.ts +1 -1
  200. package/src/icons/ast/units-counter.ts +1 -1
  201. package/src/icons/ast/units-date.ts +1 -1
  202. package/src/icons/ast/units-field-icon-button.ts +1 -1
  203. package/src/icons/ast/units-field.ts +1 -1
  204. package/src/icons/ast/units-input.ts +1 -1
  205. package/src/icons/ast/units-normal.ts +12 -0
  206. package/src/icons/ast/units-progress-bar.ts +1 -1
  207. package/src/icons/ast/units-rich-text.ts +1 -1
  208. package/src/icons/ast/units-snippet.ts +1 -1
  209. package/src/icons/ast/unlock.ts +12 -0
  210. package/src/icons/ast/{clear-value.ts → value-clear.ts} +3 -3
  211. package/src/icons/ast/view-app.ts +12 -0
  212. package/src/icons/ast/workflow.ts +12 -0
  213. package/src/icons/react/{anthropic.tsx → architect.tsx} +5 -5
  214. package/src/icons/react/arrow-back.tsx +18 -0
  215. package/src/icons/react/arrow-down.tsx +18 -0
  216. package/src/icons/react/arrow-send.tsx +18 -0
  217. package/src/icons/react/{app-wiki.tsx → arrow-up.tsx} +5 -5
  218. package/src/icons/react/avatar.tsx +18 -0
  219. package/src/icons/react/backlog.tsx +18 -0
  220. package/src/icons/react/circle-check-filled.tsx +18 -0
  221. package/src/icons/react/{add-database.tsx → circle-check.tsx} +5 -5
  222. package/src/icons/react/circle-cross-filled.tsx +18 -0
  223. package/src/icons/react/circle-cross.tsx +18 -0
  224. package/src/icons/react/circle-info-filled.tsx +18 -0
  225. package/src/icons/react/circle-info.tsx +18 -0
  226. package/src/icons/react/circle-pause.tsx +18 -0
  227. package/src/icons/react/circle-play.tsx +18 -0
  228. package/src/icons/react/comments.tsx +18 -0
  229. package/src/icons/react/database-add.tsx +18 -0
  230. package/src/icons/react/database-outline.tsx +18 -0
  231. package/src/icons/react/{chat-ai.tsx → eye-off.tsx} +5 -5
  232. package/src/icons/react/favorites-filled.tsx +18 -0
  233. package/src/icons/react/field-units-large.tsx +18 -0
  234. package/src/icons/react/{apple.tsx → files.tsx} +5 -5
  235. package/src/icons/react/folder-smart.tsx +18 -0
  236. package/src/icons/react/fullscreen-mode-off.tsx +18 -0
  237. package/src/icons/react/{app-store.tsx → group-add.tsx} +5 -5
  238. package/src/icons/react/image-error.tsx +18 -0
  239. package/src/icons/react/index.tsx +132 -215
  240. package/src/icons/react/{add-integration.tsx → integration-add.tsx} +5 -5
  241. package/src/icons/react/integration-discourse.tsx +18 -0
  242. package/src/icons/react/integration-fibery.tsx +18 -0
  243. package/src/icons/react/integration-figma.tsx +18 -0
  244. package/src/icons/react/integration-github.tsx +18 -0
  245. package/src/icons/react/integration-gitlab.tsx +18 -0
  246. package/src/icons/react/integration-google-drive.tsx +18 -0
  247. package/src/icons/react/integration-google-map.tsx +18 -0
  248. package/src/icons/react/{automations-disabled.tsx → integration-intercom.tsx} +5 -5
  249. package/src/icons/react/integration-jira.tsx +18 -0
  250. package/src/icons/react/integration-loom.tsx +18 -0
  251. package/src/icons/react/integration-miro.tsx +18 -0
  252. package/src/icons/react/{extension-references.tsx → integration-mixpanel.tsx} +5 -5
  253. package/src/icons/react/integration-slack.tsx +18 -0
  254. package/src/icons/react/integration-suggest.tsx +18 -0
  255. package/src/icons/react/integration-twitter.tsx +18 -0
  256. package/src/icons/react/integration-unsplash.tsx +18 -0
  257. package/src/icons/react/integration-youtube.tsx +18 -0
  258. package/src/icons/react/integration-zendesk.tsx +18 -0
  259. package/src/icons/react/{notifications.tsx → limits.tsx} +5 -5
  260. package/src/icons/react/lock-filled.tsx +18 -0
  261. package/src/icons/react/{add-group.tsx → move-down.tsx} +5 -5
  262. package/src/icons/react/move-up.tsx +18 -0
  263. package/src/icons/react/open-in-panel.tsx +18 -0
  264. package/src/icons/react/{ai-search.tsx → open-link.tsx} +5 -5
  265. package/src/icons/react/people-all.tsx +18 -0
  266. package/src/icons/react/people-edit.tsx +18 -0
  267. package/src/icons/react/people-group-remove.tsx +18 -0
  268. package/src/icons/react/people-group.tsx +18 -0
  269. package/src/icons/react/{add-reactions.tsx → people-invite.tsx} +5 -5
  270. package/src/icons/react/people-remove.tsx +18 -0
  271. package/src/icons/react/people-role.tsx +18 -0
  272. package/src/icons/react/people-x.tsx +18 -0
  273. package/src/icons/react/{chat.tsx → plus.tsx} +5 -5
  274. package/src/icons/react/preferences.tsx +18 -0
  275. package/src/icons/react/propagate.tsx +18 -0
  276. package/src/icons/react/reactions-add.tsx +18 -0
  277. package/src/icons/react/{csv.tsx → redo.tsx} +5 -5
  278. package/src/icons/react/references.tsx +18 -0
  279. package/src/icons/react/richeditor-block-callout.tsx +1 -1
  280. package/src/icons/react/richeditor-block-code.tsx +1 -1
  281. package/src/icons/react/richeditor-block-embed.tsx +1 -1
  282. package/src/icons/react/richeditor-block-entity.tsx +1 -1
  283. package/src/icons/react/richeditor-block-file.tsx +1 -1
  284. package/src/icons/react/richeditor-block-h1.tsx +1 -1
  285. package/src/icons/react/richeditor-block-h2.tsx +1 -1
  286. package/src/icons/react/richeditor-block-h3.tsx +1 -1
  287. package/src/icons/react/richeditor-block-h4.tsx +1 -1
  288. package/src/icons/react/richeditor-block-mention.tsx +1 -1
  289. package/src/icons/react/richeditor-block-paragraph.tsx +1 -1
  290. package/src/icons/react/richeditor-block-quote.tsx +1 -1
  291. package/src/icons/react/richeditor-checklist-create.tsx +1 -1
  292. package/src/icons/react/richeditor-image-align-center.tsx +1 -1
  293. package/src/icons/react/richeditor-image-align-left.tsx +1 -1
  294. package/src/icons/react/richeditor-image-align-right.tsx +1 -1
  295. package/src/icons/react/richeditor-image.tsx +18 -0
  296. package/src/icons/react/richeditor-linkedhighlight-create.tsx +1 -1
  297. package/src/icons/react/richeditor-list-bullet.tsx +1 -1
  298. package/src/icons/react/richeditor-list-indent.tsx +1 -1
  299. package/src/icons/react/richeditor-list-ordered.tsx +1 -1
  300. package/src/icons/react/richeditor-list-unindent.tsx +1 -1
  301. package/src/icons/react/richeditor-mark-code.tsx +1 -1
  302. package/src/icons/react/richeditor-mark-em.tsx +1 -1
  303. package/src/icons/react/richeditor-mark-highlight.tsx +1 -1
  304. package/src/icons/react/richeditor-mark-strike.tsx +1 -1
  305. package/src/icons/react/richeditor-mark-strong.tsx +1 -1
  306. package/src/icons/react/richeditor-mark-text-background-color.tsx +1 -1
  307. package/src/icons/react/richeditor-mark-underline.tsx +1 -1
  308. package/src/icons/react/richeditor-table-create.tsx +1 -1
  309. package/src/icons/react/richeditor-video-upload.tsx +1 -1
  310. package/src/icons/react/{back.tsx → rule.tsx} +5 -5
  311. package/src/icons/react/{ai-avatar.tsx → space-add.tsx} +5 -5
  312. package/src/icons/react/space-move.tsx +18 -0
  313. package/src/icons/react/type-button.tsx +1 -1
  314. package/src/icons/react/type-checkbox.tsx +1 -1
  315. package/src/icons/react/type-date.tsx +1 -1
  316. package/src/icons/react/type-email.tsx +1 -1
  317. package/src/icons/react/type-emoji.tsx +1 -1
  318. package/src/icons/react/type-formula.tsx +1 -1
  319. package/src/icons/react/type-location.tsx +1 -1
  320. package/src/icons/react/type-lookup.tsx +1 -1
  321. package/src/icons/react/type-money.tsx +1 -1
  322. package/src/icons/react/type-multi-select.tsx +1 -1
  323. package/src/icons/react/type-number.tsx +1 -1
  324. package/src/icons/react/type-percent.tsx +1 -1
  325. package/src/icons/react/type-phone.tsx +1 -1
  326. package/src/icons/react/type-relation.tsx +1 -1
  327. package/src/icons/react/type-rich-text.tsx +1 -1
  328. package/src/icons/react/type-single-select.tsx +1 -1
  329. package/src/icons/react/type-text.tsx +1 -1
  330. package/src/icons/react/{bolt.tsx → undo.tsx} +5 -5
  331. package/src/icons/react/units-avatar.tsx +1 -1
  332. package/src/icons/react/units-collection.tsx +1 -1
  333. package/src/icons/react/units-counter.tsx +1 -1
  334. package/src/icons/react/units-date.tsx +1 -1
  335. package/src/icons/react/units-field-icon-button.tsx +1 -1
  336. package/src/icons/react/units-field.tsx +1 -1
  337. package/src/icons/react/units-input.tsx +1 -1
  338. package/src/icons/react/units-normal.tsx +18 -0
  339. package/src/icons/react/units-progress-bar.tsx +1 -1
  340. package/src/icons/react/units-rich-text.tsx +1 -1
  341. package/src/icons/react/units-snippet.tsx +1 -1
  342. package/src/icons/react/unlock.tsx +18 -0
  343. package/src/icons/react/value-clear.tsx +18 -0
  344. package/src/icons/react/view-app.tsx +18 -0
  345. package/src/icons/react/workflow.tsx +18 -0
  346. package/src/icons/svg/appearance-auto.svg +1 -1
  347. package/src/icons/svg/{arrow-bottom.svg → arrow-down.svg} +1 -1
  348. package/src/icons/svg/arrow-forward.svg +1 -1
  349. package/src/icons/svg/arrow-left.svg +1 -1
  350. package/src/icons/svg/arrow-right.svg +1 -1
  351. package/src/icons/svg/{arrow-top.svg → arrow-up.svg} +1 -1
  352. package/src/icons/svg/asterisk.svg +2 -2
  353. package/src/icons/svg/{automations-error.svg → circle-cross.svg} +1 -1
  354. package/src/icons/svg/{automations-not-started.svg → circle-pause.svg} +1 -1
  355. package/src/icons/svg/{automations-in-progress.svg → circle-play.svg} +1 -1
  356. package/src/icons/svg/collapse-all-horizontal.svg +1 -1
  357. package/src/icons/svg/collapse-all.svg +1 -1
  358. package/src/icons/svg/credits-filled.svg +1 -1
  359. package/src/icons/svg/entity-create.svg +1 -1
  360. package/src/icons/svg/expand-all-horizontal.svg +1 -1
  361. package/src/icons/svg/fullscreen-mode-on.svg +2 -3
  362. package/src/icons/svg/go-to.svg +1 -1
  363. package/src/icons/svg/integration-unsplash.svg +3 -0
  364. package/src/icons/svg/layout-double.svg +1 -1
  365. package/src/icons/svg/layout-single.svg +1 -1
  366. package/src/icons/svg/limits.svg +3 -0
  367. package/src/icons/svg/lock-filled.svg +4 -0
  368. package/src/icons/svg/lock.svg +5 -4
  369. package/src/icons/svg/page-regular-mode.svg +3 -3
  370. package/src/icons/svg/page-wide-mode.svg +3 -3
  371. package/src/icons/svg/people-edit.svg +4 -0
  372. package/src/icons/svg/{user-group.svg → people-group.svg} +1 -1
  373. package/src/icons/svg/{user-role.svg → people-role.svg} +1 -1
  374. package/src/icons/svg/{richeditor/list/indent.svg → richeditor-list-indent.svg} +1 -1
  375. package/src/icons/svg/richeditor-mark-code.svg +5 -0
  376. package/src/icons/svg/richeditor-mark-em.svg +3 -0
  377. package/src/icons/svg/richeditor-mark-highlight.svg +3 -0
  378. package/src/icons/svg/richeditor-mark-strike.svg +3 -0
  379. package/src/icons/svg/richeditor-mark-strong.svg +3 -0
  380. package/src/icons/svg/simple-compass.svg +2 -2
  381. package/src/icons/svg/space-app.svg +1 -1
  382. package/src/icons/svg/space-generate.svg +1 -1
  383. package/src/icons/svg/space-scratch.svg +1 -1
  384. package/src/icons/svg/space-template.svg +1 -1
  385. package/src/icons/svg/value-edit.svg +1 -1
  386. package/src/icons/svg/view-app.svg +6 -0
  387. package/src/icons/svg/view-gantt.svg +3 -3
  388. package/src/icons/svg/warning-triangle-filled.svg +1 -1
  389. package/src/images-gallery/images-gallery.tsx +0 -1
  390. package/src/images-gallery/slide-buttons.tsx +52 -19
  391. package/src/is-in-popup.ts +0 -3
  392. package/src/loading-sausage.tsx +3 -3
  393. package/src/mobile-drawer.tsx +104 -0
  394. package/src/number-input/types.ts +1 -1
  395. package/src/palettes/common.ts +3 -3
  396. package/src/palettes/diff-colors.test.ts +135 -1
  397. package/src/palettes/diff-colors.ts +135 -1
  398. package/src/palettes/inspect.canvas-colors.test.ts +63 -63
  399. package/src/palettes/inspect.defs.colors.neutral-arch.test.ts +290 -90
  400. package/src/palettes/inspect.defs.colors.neutral-user.test.ts +290 -90
  401. package/src/palettes/inspect.defs.colors.warm-arch.test.ts +290 -90
  402. package/src/palettes/inspect.defs.colors.warm-user.test.ts +290 -90
  403. package/src/palettes/show-colors.test.ts +5 -4
  404. package/src/palettes/testkit.test.ts +6 -0
  405. package/src/palettes/testkit.ts +81 -23
  406. package/src/phone.ts +27 -0
  407. package/src/popover/index.tsx +20 -11
  408. package/src/popover/popup-modifiers-context.ts +1 -2
  409. package/src/reactions/reaction-picker.tsx +3 -3
  410. package/src/rich-text-embed-error.tsx +2 -2
  411. package/src/root-theme-provider.test.tsx +2 -3
  412. package/src/select/components/option.tsx +0 -1
  413. package/src/select/index.tsx +1 -0
  414. package/src/select/select-in-popover.tsx +42 -28
  415. package/src/select/select.tsx +2 -0
  416. package/src/select/util.ts +1 -1
  417. package/src/thematic.tsx +10 -10
  418. package/src/theme-provider.test.tsx +19 -19
  419. package/src/theme-provider.tsx +3 -7
  420. package/src/theme-settings-core.ts +118 -0
  421. package/src/theme-settings.ts +2 -117
  422. package/src/theme-snapshots.test.ts +6 -7
  423. package/src/theming.build.ts +21 -15
  424. package/src/theming.generated.css +2162 -1974
  425. package/src/theming.generated.ts +2701 -2472
  426. package/src/toast/toast.tsx +1 -1
  427. package/src/toggle-button/round-toggle-button.tsx +28 -4
  428. package/src/toggle-button/toggle-button.tsx +69 -23
  429. package/src/toggle-on-off.tsx +0 -9
  430. package/src/use-is-phone.tsx +3 -27
  431. package/vitest.config.ts +1 -0
  432. package/src/icons/ast/ai-avatar.ts +0 -12
  433. package/src/icons/ast/ai-search.ts +0 -12
  434. package/src/icons/ast/anthropic.ts +0 -12
  435. package/src/icons/ast/app-details.ts +0 -12
  436. package/src/icons/ast/app-store-one-color.ts +0 -12
  437. package/src/icons/ast/app-store.ts +0 -12
  438. package/src/icons/ast/app-templates.ts +0 -12
  439. package/src/icons/ast/app-webhooks.ts +0 -12
  440. package/src/icons/ast/app-wiki.ts +0 -12
  441. package/src/icons/ast/apple.ts +0 -12
  442. package/src/icons/ast/arrow-bottom.ts +0 -12
  443. package/src/icons/ast/arrow-top.ts +0 -12
  444. package/src/icons/ast/automations-cancelled.ts +0 -12
  445. package/src/icons/ast/automations-disabled.ts +0 -12
  446. package/src/icons/ast/automations-error.ts +0 -12
  447. package/src/icons/ast/automations-in-progress.ts +0 -12
  448. package/src/icons/ast/automations-not-started.ts +0 -12
  449. package/src/icons/ast/automations-success.ts +0 -12
  450. package/src/icons/ast/back.ts +0 -12
  451. package/src/icons/ast/backlog-icon.ts +0 -12
  452. package/src/icons/ast/batch-actions-icon.ts +0 -12
  453. package/src/icons/ast/bell-filled.ts +0 -12
  454. package/src/icons/ast/chat-ai.ts +0 -12
  455. package/src/icons/ast/chat.ts +0 -12
  456. package/src/icons/ast/clean.ts +0 -12
  457. package/src/icons/ast/color-coding-filled.ts +0 -12
  458. package/src/icons/ast/create.ts +0 -12
  459. package/src/icons/ast/cross-circle.ts +0 -12
  460. package/src/icons/ast/csv.ts +0 -12
  461. package/src/icons/ast/database-off.ts +0 -12
  462. package/src/icons/ast/database-stroke.ts +0 -12
  463. package/src/icons/ast/demo.ts +0 -12
  464. package/src/icons/ast/dependency.ts +0 -12
  465. package/src/icons/ast/dividers.ts +0 -12
  466. package/src/icons/ast/document.ts +0 -12
  467. package/src/icons/ast/double-arrow-left.ts +0 -12
  468. package/src/icons/ast/double-arrow-right.ts +0 -12
  469. package/src/icons/ast/double-line.ts +0 -12
  470. package/src/icons/ast/drag-block-handle-single.ts +0 -12
  471. package/src/icons/ast/edit-value.ts +0 -12
  472. package/src/icons/ast/extension-assignments.ts +0 -12
  473. package/src/icons/ast/extension-avatar.ts +0 -12
  474. package/src/icons/ast/extension-comments.ts +0 -12
  475. package/src/icons/ast/extension-files.ts +0 -12
  476. package/src/icons/ast/extension-references.ts +0 -12
  477. package/src/icons/ast/extension-workflow.ts +0 -12
  478. package/src/icons/ast/favorites-checked.ts +0 -12
  479. package/src/icons/ast/fibery-desktop-app.ts +0 -12
  480. package/src/icons/ast/field-unit.ts +0 -12
  481. package/src/icons/ast/figma.ts +0 -12
  482. package/src/icons/ast/file-broken.ts +0 -12
  483. package/src/icons/ast/fullscreen-mode-off-icon.ts +0 -12
  484. package/src/icons/ast/fullscreen-mode-on-icon.ts +0 -12
  485. package/src/icons/ast/github.ts +0 -12
  486. package/src/icons/ast/gitlab.ts +0 -12
  487. package/src/icons/ast/globe.ts +0 -12
  488. package/src/icons/ast/google-drive.ts +0 -12
  489. package/src/icons/ast/google-map.ts +0 -12
  490. package/src/icons/ast/hide.ts +0 -12
  491. package/src/icons/ast/integrations-integration-discourse-color.ts +0 -12
  492. package/src/icons/ast/integrations-integration-intercom-color.ts +0 -12
  493. package/src/icons/ast/integrations-integration-slack-color.ts +0 -12
  494. package/src/icons/ast/integrations-integration-zendesk-color.ts +0 -12
  495. package/src/icons/ast/intercom.ts +0 -12
  496. package/src/icons/ast/jira.ts +0 -12
  497. package/src/icons/ast/left-panel.ts +0 -12
  498. package/src/icons/ast/level-plus.ts +0 -12
  499. package/src/icons/ast/lock-outline.ts +0 -12
  500. package/src/icons/ast/loom.ts +0 -12
  501. package/src/icons/ast/loupe-zoom.ts +0 -12
  502. package/src/icons/ast/many-people.ts +0 -12
  503. package/src/icons/ast/message-plus-square.ts +0 -12
  504. package/src/icons/ast/miro.ts +0 -12
  505. package/src/icons/ast/mixpanel.ts +0 -12
  506. package/src/icons/ast/move-bottom.ts +0 -12
  507. package/src/icons/ast/move-top.ts +0 -12
  508. package/src/icons/ast/network-add.ts +0 -12
  509. package/src/icons/ast/network.ts +0 -12
  510. package/src/icons/ast/notifications.ts +0 -12
  511. package/src/icons/ast/open-ai.ts +0 -12
  512. package/src/icons/ast/open-as-page.ts +0 -12
  513. package/src/icons/ast/popup.ts +0 -12
  514. package/src/icons/ast/posts.ts +0 -12
  515. package/src/icons/ast/quick-filter-personal.ts +0 -12
  516. package/src/icons/ast/quick-filter.ts +0 -12
  517. package/src/icons/ast/reply.ts +0 -12
  518. package/src/icons/ast/restore.ts +0 -12
  519. package/src/icons/ast/richeditor-actions-more.ts +0 -12
  520. package/src/icons/ast/richeditor-comment-create.ts +0 -12
  521. package/src/icons/ast/richeditor-entity-link-create.ts +0 -12
  522. package/src/icons/ast/richeditor-history-redo.ts +0 -12
  523. package/src/icons/ast/richeditor-history-undo.ts +0 -12
  524. package/src/icons/ast/richeditor-image-upload.ts +0 -12
  525. package/src/icons/ast/richeditor-image-wrap-center.ts +0 -12
  526. package/src/icons/ast/richeditor-image-wrap-left.ts +0 -12
  527. package/src/icons/ast/richeditor-image-wrap-right.ts +0 -12
  528. package/src/icons/ast/richeditor-image-zoom.ts +0 -12
  529. package/src/icons/ast/richeditor-link-create.ts +0 -12
  530. package/src/icons/ast/richeditor-open-link.ts +0 -12
  531. package/src/icons/ast/richeditor-unlink.ts +0 -12
  532. package/src/icons/ast/right-panel.ts +0 -12
  533. package/src/icons/ast/rule-scheduled.ts +0 -12
  534. package/src/icons/ast/settings-off.ts +0 -12
  535. package/src/icons/ast/shared.ts +0 -12
  536. package/src/icons/ast/sidebar-fields-opened.ts +0 -12
  537. package/src/icons/ast/sidebar-fields.ts +0 -12
  538. package/src/icons/ast/sidebar.ts +0 -12
  539. package/src/icons/ast/slack-icon.ts +0 -12
  540. package/src/icons/ast/slack.ts +0 -12
  541. package/src/icons/ast/slide-menu-close.ts +0 -12
  542. package/src/icons/ast/slide-menu-open.ts +0 -12
  543. package/src/icons/ast/sort-on-bottom.ts +0 -12
  544. package/src/icons/ast/sort-on-top.ts +0 -12
  545. package/src/icons/ast/space-list.ts +0 -12
  546. package/src/icons/ast/success.ts +0 -12
  547. package/src/icons/ast/template.ts +0 -12
  548. package/src/icons/ast/thumbs-down.ts +0 -12
  549. package/src/icons/ast/thumbs-up.ts +0 -12
  550. package/src/icons/ast/twitter.ts +0 -12
  551. package/src/icons/ast/type-boolean.ts +0 -12
  552. package/src/icons/ast/type-function.ts +0 -12
  553. package/src/icons/ast/type-id.ts +0 -12
  554. package/src/icons/ast/type-rule.ts +0 -12
  555. package/src/icons/ast/type-url.ts +0 -12
  556. package/src/icons/ast/units-db-badge-abbr.ts +0 -12
  557. package/src/icons/ast/units-db-badge-full.ts +0 -12
  558. package/src/icons/ast/units-db-icon.ts +0 -12
  559. package/src/icons/ast/unlock-outline.ts +0 -12
  560. package/src/icons/ast/upgrade.ts +0 -12
  561. package/src/icons/ast/user-check.ts +0 -12
  562. package/src/icons/ast/user-group-remove.ts +0 -12
  563. package/src/icons/ast/user-group.ts +0 -12
  564. package/src/icons/ast/user-role.ts +0 -12
  565. package/src/icons/ast/user-x.ts +0 -12
  566. package/src/icons/ast/windows.ts +0 -12
  567. package/src/icons/ast/workspace-map.ts +0 -12
  568. package/src/icons/ast/youtube.ts +0 -12
  569. package/src/icons/ast/zoom-in.ts +0 -12
  570. package/src/icons/ast/zoom-out.ts +0 -12
  571. package/src/icons/react/app-details.tsx +0 -18
  572. package/src/icons/react/app-store-one-color.tsx +0 -18
  573. package/src/icons/react/app-templates.tsx +0 -18
  574. package/src/icons/react/app-webhooks.tsx +0 -18
  575. package/src/icons/react/arrow-bottom.tsx +0 -18
  576. package/src/icons/react/arrow-top.tsx +0 -18
  577. package/src/icons/react/automations-cancelled.tsx +0 -18
  578. package/src/icons/react/automations-error.tsx +0 -18
  579. package/src/icons/react/automations-in-progress.tsx +0 -18
  580. package/src/icons/react/automations-not-started.tsx +0 -18
  581. package/src/icons/react/automations-success.tsx +0 -18
  582. package/src/icons/react/backlog-icon.tsx +0 -18
  583. package/src/icons/react/batch-actions-icon.tsx +0 -18
  584. package/src/icons/react/bell-filled.tsx +0 -18
  585. package/src/icons/react/check-circle-filled.tsx +0 -18
  586. package/src/icons/react/check-circle.tsx +0 -18
  587. package/src/icons/react/clean.tsx +0 -18
  588. package/src/icons/react/clear-value.tsx +0 -18
  589. package/src/icons/react/color-coding-filled.tsx +0 -18
  590. package/src/icons/react/create.tsx +0 -18
  591. package/src/icons/react/cross-circle.tsx +0 -18
  592. package/src/icons/react/database-off.tsx +0 -18
  593. package/src/icons/react/database-stroke.tsx +0 -18
  594. package/src/icons/react/demo.tsx +0 -18
  595. package/src/icons/react/dependency.tsx +0 -18
  596. package/src/icons/react/dividers.tsx +0 -18
  597. package/src/icons/react/document.tsx +0 -18
  598. package/src/icons/react/double-arrow-left.tsx +0 -18
  599. package/src/icons/react/double-arrow-right.tsx +0 -18
  600. package/src/icons/react/double-line.tsx +0 -18
  601. package/src/icons/react/drag-block-handle-single.tsx +0 -18
  602. package/src/icons/react/edit-value.tsx +0 -18
  603. package/src/icons/react/error-circle-filled.tsx +0 -18
  604. package/src/icons/react/extension-assignments.tsx +0 -18
  605. package/src/icons/react/extension-avatar.tsx +0 -18
  606. package/src/icons/react/extension-comments.tsx +0 -18
  607. package/src/icons/react/extension-files.tsx +0 -18
  608. package/src/icons/react/extension-workflow.tsx +0 -18
  609. package/src/icons/react/favorites-checked.tsx +0 -18
  610. package/src/icons/react/fibery-desktop-app.tsx +0 -18
  611. package/src/icons/react/field-unit.tsx +0 -18
  612. package/src/icons/react/figma.tsx +0 -18
  613. package/src/icons/react/file-broken.tsx +0 -18
  614. package/src/icons/react/fullscreen-mode-off-icon.tsx +0 -18
  615. package/src/icons/react/fullscreen-mode-on-icon.tsx +0 -18
  616. package/src/icons/react/github.tsx +0 -18
  617. package/src/icons/react/gitlab.tsx +0 -18
  618. package/src/icons/react/globe.tsx +0 -18
  619. package/src/icons/react/google-drive.tsx +0 -18
  620. package/src/icons/react/google-map.tsx +0 -18
  621. package/src/icons/react/hide.tsx +0 -18
  622. package/src/icons/react/image-xmark.tsx +0 -18
  623. package/src/icons/react/info-circle-filled.tsx +0 -18
  624. package/src/icons/react/info-circle.tsx +0 -18
  625. package/src/icons/react/integrations-integration-discourse-color.tsx +0 -18
  626. package/src/icons/react/integrations-integration-intercom-color.tsx +0 -18
  627. package/src/icons/react/integrations-integration-slack-color.tsx +0 -18
  628. package/src/icons/react/integrations-integration-zendesk-color.tsx +0 -18
  629. package/src/icons/react/intercom.tsx +0 -18
  630. package/src/icons/react/invite-people.tsx +0 -18
  631. package/src/icons/react/jira.tsx +0 -18
  632. package/src/icons/react/left-panel.tsx +0 -18
  633. package/src/icons/react/level-plus.tsx +0 -18
  634. package/src/icons/react/lock-outline.tsx +0 -18
  635. package/src/icons/react/loom.tsx +0 -18
  636. package/src/icons/react/loupe-zoom.tsx +0 -18
  637. package/src/icons/react/many-people.tsx +0 -18
  638. package/src/icons/react/message-plus-square.tsx +0 -18
  639. package/src/icons/react/miro.tsx +0 -18
  640. package/src/icons/react/mixpanel.tsx +0 -18
  641. package/src/icons/react/move-bottom.tsx +0 -18
  642. package/src/icons/react/move-space.tsx +0 -18
  643. package/src/icons/react/move-top.tsx +0 -18
  644. package/src/icons/react/network-add.tsx +0 -18
  645. package/src/icons/react/network.tsx +0 -18
  646. package/src/icons/react/open-ai.tsx +0 -18
  647. package/src/icons/react/open-as-page.tsx +0 -18
  648. package/src/icons/react/popup.tsx +0 -18
  649. package/src/icons/react/posts.tsx +0 -18
  650. package/src/icons/react/quick-filter-personal.tsx +0 -18
  651. package/src/icons/react/quick-filter.tsx +0 -18
  652. package/src/icons/react/remove-people.tsx +0 -18
  653. package/src/icons/react/reply.tsx +0 -18
  654. package/src/icons/react/restore.tsx +0 -18
  655. package/src/icons/react/richeditor-actions-more.tsx +0 -18
  656. package/src/icons/react/richeditor-comment-create.tsx +0 -18
  657. package/src/icons/react/richeditor-entity-link-create.tsx +0 -18
  658. package/src/icons/react/richeditor-history-redo.tsx +0 -18
  659. package/src/icons/react/richeditor-history-undo.tsx +0 -18
  660. package/src/icons/react/richeditor-image-upload.tsx +0 -18
  661. package/src/icons/react/richeditor-image-wrap-center.tsx +0 -18
  662. package/src/icons/react/richeditor-image-wrap-left.tsx +0 -18
  663. package/src/icons/react/richeditor-image-wrap-right.tsx +0 -18
  664. package/src/icons/react/richeditor-image-zoom.tsx +0 -18
  665. package/src/icons/react/richeditor-link-create.tsx +0 -18
  666. package/src/icons/react/richeditor-open-link.tsx +0 -18
  667. package/src/icons/react/richeditor-unlink.tsx +0 -18
  668. package/src/icons/react/right-panel.tsx +0 -18
  669. package/src/icons/react/rule-scheduled.tsx +0 -18
  670. package/src/icons/react/send-arrow.tsx +0 -18
  671. package/src/icons/react/settings-off.tsx +0 -18
  672. package/src/icons/react/shared.tsx +0 -18
  673. package/src/icons/react/sidebar-fields-opened.tsx +0 -18
  674. package/src/icons/react/sidebar-fields.tsx +0 -18
  675. package/src/icons/react/sidebar.tsx +0 -18
  676. package/src/icons/react/slack-icon.tsx +0 -18
  677. package/src/icons/react/slack.tsx +0 -18
  678. package/src/icons/react/slide-menu-close.tsx +0 -18
  679. package/src/icons/react/slide-menu-open.tsx +0 -18
  680. package/src/icons/react/smart-folder.tsx +0 -18
  681. package/src/icons/react/sort-on-bottom.tsx +0 -18
  682. package/src/icons/react/sort-on-top.tsx +0 -18
  683. package/src/icons/react/space-list.tsx +0 -18
  684. package/src/icons/react/success.tsx +0 -18
  685. package/src/icons/react/suggest-integration.tsx +0 -18
  686. package/src/icons/react/switch-to-mention.tsx +0 -18
  687. package/src/icons/react/template.tsx +0 -18
  688. package/src/icons/react/thumbs-down.tsx +0 -18
  689. package/src/icons/react/thumbs-up.tsx +0 -18
  690. package/src/icons/react/twitter.tsx +0 -18
  691. package/src/icons/react/type-boolean.tsx +0 -18
  692. package/src/icons/react/type-function.tsx +0 -18
  693. package/src/icons/react/type-id.tsx +0 -18
  694. package/src/icons/react/type-rule.tsx +0 -18
  695. package/src/icons/react/type-url.tsx +0 -18
  696. package/src/icons/react/units-db-badge-abbr.tsx +0 -18
  697. package/src/icons/react/units-db-badge-full.tsx +0 -18
  698. package/src/icons/react/units-db-icon.tsx +0 -18
  699. package/src/icons/react/unlock-outline.tsx +0 -18
  700. package/src/icons/react/upgrade.tsx +0 -18
  701. package/src/icons/react/user-check.tsx +0 -18
  702. package/src/icons/react/user-group-remove.tsx +0 -18
  703. package/src/icons/react/user-group.tsx +0 -18
  704. package/src/icons/react/user-role.tsx +0 -18
  705. package/src/icons/react/user-x.tsx +0 -18
  706. package/src/icons/react/windows.tsx +0 -18
  707. package/src/icons/react/workspace-map.tsx +0 -18
  708. package/src/icons/react/youtube.tsx +0 -18
  709. package/src/icons/react/zoom-in.tsx +0 -18
  710. package/src/icons/react/zoom-out.tsx +0 -18
  711. package/src/icons/svg/ai-avatar.svg +0 -3
  712. package/src/icons/svg/ai-search.svg +0 -3
  713. package/src/icons/svg/anthropic.svg +0 -3
  714. package/src/icons/svg/app-store-one-color.svg +0 -4
  715. package/src/icons/svg/app-store.svg +0 -4
  716. package/src/icons/svg/app-webhooks.svg +0 -2
  717. package/src/icons/svg/app-wiki.svg +0 -2
  718. package/src/icons/svg/apple.svg +0 -4
  719. package/src/icons/svg/automations-cancelled.svg +0 -3
  720. package/src/icons/svg/automations-disabled.svg +0 -3
  721. package/src/icons/svg/automations-success.svg +0 -3
  722. package/src/icons/svg/batch-actions-icon.svg +0 -4
  723. package/src/icons/svg/bell-filled.svg +0 -4
  724. package/src/icons/svg/chat-ai.svg +0 -5
  725. package/src/icons/svg/chat.svg +0 -3
  726. package/src/icons/svg/clean.svg +0 -6
  727. package/src/icons/svg/color-coding-filled.svg +0 -3
  728. package/src/icons/svg/create.svg +0 -3
  729. package/src/icons/svg/cross-circle.svg +0 -4
  730. package/src/icons/svg/csv.svg +0 -3
  731. package/src/icons/svg/database-off.svg +0 -3
  732. package/src/icons/svg/demo.svg +0 -2
  733. package/src/icons/svg/dependency.svg +0 -3
  734. package/src/icons/svg/document.svg +0 -4
  735. package/src/icons/svg/double-arrow-left.svg +0 -2
  736. package/src/icons/svg/double-arrow-right.svg +0 -2
  737. package/src/icons/svg/double-line.svg +0 -3
  738. package/src/icons/svg/drag-block-handle-single.svg +0 -5
  739. package/src/icons/svg/edit-value.svg +0 -5
  740. package/src/icons/svg/extension/assignments.svg +0 -7
  741. package/src/icons/svg/file-broken.svg +0 -3
  742. package/src/icons/svg/fullscreen-mode-on-icon.svg +0 -3
  743. package/src/icons/svg/globe.svg +0 -3
  744. package/src/icons/svg/integrations/integration-slack-color.svg +0 -10
  745. package/src/icons/svg/intercom.svg +0 -3
  746. package/src/icons/svg/left-panel.svg +0 -11
  747. package/src/icons/svg/level-plus.svg +0 -4
  748. package/src/icons/svg/lock-outline.svg +0 -5
  749. package/src/icons/svg/loupe-zoom.svg +0 -3
  750. package/src/icons/svg/message-plus-square.svg +0 -4
  751. package/src/icons/svg/network-add.svg +0 -5
  752. package/src/icons/svg/notifications.svg +0 -2
  753. package/src/icons/svg/open-ai.svg +0 -3
  754. package/src/icons/svg/open-as-page.svg +0 -3
  755. package/src/icons/svg/posts.svg +0 -3
  756. package/src/icons/svg/quick-filter-personal.svg +0 -3
  757. package/src/icons/svg/quick-filter.svg +0 -3
  758. package/src/icons/svg/reply.svg +0 -2
  759. package/src/icons/svg/restore.svg +0 -2
  760. package/src/icons/svg/richeditor/actions/more.svg +0 -2
  761. package/src/icons/svg/richeditor/comment/create.svg +0 -5
  762. package/src/icons/svg/richeditor/entity-link/create.svg +0 -2
  763. package/src/icons/svg/richeditor/image/wrap-center.svg +0 -2
  764. package/src/icons/svg/richeditor/image/wrap-left.svg +0 -2
  765. package/src/icons/svg/richeditor/image/wrap-right.svg +0 -2
  766. package/src/icons/svg/richeditor/image/zoom.svg +0 -5
  767. package/src/icons/svg/richeditor/link/create.svg +0 -9
  768. package/src/icons/svg/richeditor/mark/code.svg +0 -5
  769. package/src/icons/svg/richeditor/mark/em.svg +0 -3
  770. package/src/icons/svg/richeditor/mark/highlight.svg +0 -3
  771. package/src/icons/svg/richeditor/mark/strike.svg +0 -3
  772. package/src/icons/svg/richeditor/mark/strong.svg +0 -3
  773. package/src/icons/svg/richeditor/unlink.svg +0 -10
  774. package/src/icons/svg/right-panel.svg +0 -11
  775. package/src/icons/svg/rule-scheduled.svg +0 -5
  776. package/src/icons/svg/settings-off.svg +0 -4
  777. package/src/icons/svg/shared.svg +0 -7
  778. package/src/icons/svg/sidebar-fields-opened.svg +0 -3
  779. package/src/icons/svg/sidebar-fields.svg +0 -6
  780. package/src/icons/svg/sidebar.svg +0 -2
  781. package/src/icons/svg/slack-icon.svg +0 -3
  782. package/src/icons/svg/slide-menu-close.svg +0 -4
  783. package/src/icons/svg/slide-menu-open.svg +0 -4
  784. package/src/icons/svg/sort-on-bottom.svg +0 -4
  785. package/src/icons/svg/sort-on-top.svg +0 -4
  786. package/src/icons/svg/space-list.svg +0 -4
  787. package/src/icons/svg/success.svg +0 -4
  788. package/src/icons/svg/template.svg +0 -3
  789. package/src/icons/svg/thumbs-down.svg +0 -3
  790. package/src/icons/svg/thumbs-up.svg +0 -3
  791. package/src/icons/svg/type/boolean.svg +0 -2
  792. package/src/icons/svg/type/function.svg +0 -2
  793. package/src/icons/svg/type/id.svg +0 -3
  794. package/src/icons/svg/type/rule.svg +0 -2
  795. package/src/icons/svg/type/url.svg +0 -9
  796. package/src/icons/svg/units/db-badge-abbr.svg +0 -4
  797. package/src/icons/svg/units/db-badge-full.svg +0 -4
  798. package/src/icons/svg/units/db-icon.svg +0 -4
  799. package/src/icons/svg/upgrade.svg +0 -2
  800. package/src/icons/svg/user-check.svg +0 -3
  801. package/src/icons/svg/windows.svg +0 -15
  802. package/src/icons/svg/workspace-map.svg +0 -3
  803. package/src/icons/svg/zoom-out.svg +0 -7
  804. /package/src/icons/svg/{dividers.svg → architect.svg} +0 -0
  805. /package/src/icons/svg/{back.svg → arrow-back.svg} +0 -0
  806. /package/src/icons/svg/{send-arrow.svg → arrow-send.svg} +0 -0
  807. /package/src/icons/svg/{extension/avatar.svg → avatar.svg} +0 -0
  808. /package/src/icons/svg/{backlog-icon.svg → backlog.svg} +0 -0
  809. /package/src/icons/svg/{check-circle-filled.svg → circle-check-filled.svg} +0 -0
  810. /package/src/icons/svg/{check-circle.svg → circle-check.svg} +0 -0
  811. /package/src/icons/svg/{error-circle-filled.svg → circle-cross-filled.svg} +0 -0
  812. /package/src/icons/svg/{info-circle-filled.svg → circle-info-filled.svg} +0 -0
  813. /package/src/icons/svg/{info-circle.svg → circle-info.svg} +0 -0
  814. /package/src/icons/svg/{extension/comments.svg → comments.svg} +0 -0
  815. /package/src/icons/svg/{add-database.svg → database-add.svg} +0 -0
  816. /package/src/icons/svg/{database-stroke.svg → database-outline.svg} +0 -0
  817. /package/src/icons/svg/{hide.svg → eye-off.svg} +0 -0
  818. /package/src/icons/svg/{favorites-checked.svg → favorites-filled.svg} +0 -0
  819. /package/src/icons/svg/{switch-to-mention.svg → field-units-large.svg} +0 -0
  820. /package/src/icons/svg/{extension/files.svg → files.svg} +0 -0
  821. /package/src/icons/svg/{smart-folder.svg → folder-smart.svg} +0 -0
  822. /package/src/icons/svg/{fullscreen-mode-off-icon.svg → fullscreen-mode-off.svg} +0 -0
  823. /package/src/icons/svg/{add-group.svg → group-add.svg} +0 -0
  824. /package/src/icons/svg/{image-xmark.svg → image-error.svg} +0 -0
  825. /package/src/icons/svg/{add-integration.svg → integration-add.svg} +0 -0
  826. /package/src/icons/svg/{integrations/integration-discourse-color.svg → integration-discourse.svg} +0 -0
  827. /package/src/icons/svg/{fibery-desktop-app.svg → integration-fibery.svg} +0 -0
  828. /package/src/icons/svg/{figma.svg → integration-figma.svg} +0 -0
  829. /package/src/icons/svg/{github.svg → integration-github.svg} +0 -0
  830. /package/src/icons/svg/{gitlab.svg → integration-gitlab.svg} +0 -0
  831. /package/src/icons/svg/{google-drive.svg → integration-google-drive.svg} +0 -0
  832. /package/src/icons/svg/{google-map.svg → integration-google-map.svg} +0 -0
  833. /package/src/icons/svg/{integrations/integration-intercom-color.svg → integration-intercom.svg} +0 -0
  834. /package/src/icons/svg/{jira.svg → integration-jira.svg} +0 -0
  835. /package/src/icons/svg/{loom.svg → integration-loom.svg} +0 -0
  836. /package/src/icons/svg/{miro.svg → integration-miro.svg} +0 -0
  837. /package/src/icons/svg/{mixpanel.svg → integration-mixpanel.svg} +0 -0
  838. /package/src/icons/svg/{slack.svg → integration-slack.svg} +0 -0
  839. /package/src/icons/svg/{suggest-integration.svg → integration-suggest.svg} +0 -0
  840. /package/src/icons/svg/{twitter.svg → integration-twitter.svg} +0 -0
  841. /package/src/icons/svg/{youtube.svg → integration-youtube.svg} +0 -0
  842. /package/src/icons/svg/{integrations/integration-zendesk-color.svg → integration-zendesk.svg} +0 -0
  843. /package/src/icons/svg/{move-bottom.svg → move-down.svg} +0 -0
  844. /package/src/icons/svg/{move-top.svg → move-up.svg} +0 -0
  845. /package/src/icons/svg/{popup.svg → open-in-panel.svg} +0 -0
  846. /package/src/icons/svg/{richeditor/open-link.svg → open-link.svg} +0 -0
  847. /package/src/icons/svg/{many-people.svg → people-all.svg} +0 -0
  848. /package/src/icons/svg/{user-group-remove.svg → people-group-remove.svg} +0 -0
  849. /package/src/icons/svg/{invite-people.svg → people-invite.svg} +0 -0
  850. /package/src/icons/svg/{remove-people.svg → people-remove.svg} +0 -0
  851. /package/src/icons/svg/{user-x.svg → people-x.svg} +0 -0
  852. /package/src/icons/svg/{zoom-in.svg → plus.svg} +0 -0
  853. /package/src/icons/svg/{app-details.svg → preferences.svg} +0 -0
  854. /package/src/icons/svg/{network.svg → propagate.svg} +0 -0
  855. /package/src/icons/svg/{add-reactions.svg → reactions-add.svg} +0 -0
  856. /package/src/icons/svg/{richeditor/history/redo.svg → redo.svg} +0 -0
  857. /package/src/icons/svg/{extension/references.svg → references.svg} +0 -0
  858. /package/src/icons/svg/{richeditor/block/callout.svg → richeditor-block-callout.svg} +0 -0
  859. /package/src/icons/svg/{richeditor/block/code.svg → richeditor-block-code.svg} +0 -0
  860. /package/src/icons/svg/{richeditor/block/embed.svg → richeditor-block-embed.svg} +0 -0
  861. /package/src/icons/svg/{richeditor/block/entity.svg → richeditor-block-entity.svg} +0 -0
  862. /package/src/icons/svg/{richeditor/block/file.svg → richeditor-block-file.svg} +0 -0
  863. /package/src/icons/svg/{richeditor/block/h1.svg → richeditor-block-h1.svg} +0 -0
  864. /package/src/icons/svg/{richeditor/block/h2.svg → richeditor-block-h2.svg} +0 -0
  865. /package/src/icons/svg/{richeditor/block/h3.svg → richeditor-block-h3.svg} +0 -0
  866. /package/src/icons/svg/{richeditor/block/h4.svg → richeditor-block-h4.svg} +0 -0
  867. /package/src/icons/svg/{richeditor/block/mention.svg → richeditor-block-mention.svg} +0 -0
  868. /package/src/icons/svg/{richeditor/block/paragraph.svg → richeditor-block-paragraph.svg} +0 -0
  869. /package/src/icons/svg/{richeditor/block/quote.svg → richeditor-block-quote.svg} +0 -0
  870. /package/src/icons/svg/{richeditor/checklist/create.svg → richeditor-checklist-create.svg} +0 -0
  871. /package/src/icons/svg/{richeditor/image/align-center.svg → richeditor-image-align-center.svg} +0 -0
  872. /package/src/icons/svg/{richeditor/image/align-left.svg → richeditor-image-align-left.svg} +0 -0
  873. /package/src/icons/svg/{richeditor/image/align-right.svg → richeditor-image-align-right.svg} +0 -0
  874. /package/src/icons/svg/{richeditor/image/upload.svg → richeditor-image.svg} +0 -0
  875. /package/src/icons/svg/{richeditor/linkedhighlight/create.svg → richeditor-linkedhighlight-create.svg} +0 -0
  876. /package/src/icons/svg/{richeditor/list/bullet.svg → richeditor-list-bullet.svg} +0 -0
  877. /package/src/icons/svg/{richeditor/list/ordered.svg → richeditor-list-ordered.svg} +0 -0
  878. /package/src/icons/svg/{richeditor/list/unindent.svg → richeditor-list-unindent.svg} +0 -0
  879. /package/src/icons/svg/{richeditor/mark/text-background-color.svg → richeditor-mark-text-background-color.svg} +0 -0
  880. /package/src/icons/svg/{richeditor/mark/underline.svg → richeditor-mark-underline.svg} +0 -0
  881. /package/src/icons/svg/{richeditor/table/create.svg → richeditor-table-create.svg} +0 -0
  882. /package/src/icons/svg/{richeditor/video/upload.svg → richeditor-video-upload.svg} +0 -0
  883. /package/src/icons/svg/{bolt.svg → rule.svg} +0 -0
  884. /package/src/icons/svg/{app-templates.svg → space-add.svg} +0 -0
  885. /package/src/icons/svg/{move-space.svg → space-move.svg} +0 -0
  886. /package/src/icons/svg/{type/button.svg → type-button.svg} +0 -0
  887. /package/src/icons/svg/{type/checkbox.svg → type-checkbox.svg} +0 -0
  888. /package/src/icons/svg/{type/date.svg → type-date.svg} +0 -0
  889. /package/src/icons/svg/{type/email.svg → type-email.svg} +0 -0
  890. /package/src/icons/svg/{type/emoji.svg → type-emoji.svg} +0 -0
  891. /package/src/icons/svg/{type/formula.svg → type-formula.svg} +0 -0
  892. /package/src/icons/svg/{type/location.svg → type-location.svg} +0 -0
  893. /package/src/icons/svg/{type/lookup.svg → type-lookup.svg} +0 -0
  894. /package/src/icons/svg/{type/money.svg → type-money.svg} +0 -0
  895. /package/src/icons/svg/{type/multi-select.svg → type-multi-select.svg} +0 -0
  896. /package/src/icons/svg/{type/number.svg → type-number.svg} +0 -0
  897. /package/src/icons/svg/{type/percent.svg → type-percent.svg} +0 -0
  898. /package/src/icons/svg/{type/phone.svg → type-phone.svg} +0 -0
  899. /package/src/icons/svg/{type/relation.svg → type-relation.svg} +0 -0
  900. /package/src/icons/svg/{type/rich-text.svg → type-rich-text.svg} +0 -0
  901. /package/src/icons/svg/{type/single-select.svg → type-single-select.svg} +0 -0
  902. /package/src/icons/svg/{type/text.svg → type-text.svg} +0 -0
  903. /package/src/icons/svg/{richeditor/history/undo.svg → undo.svg} +0 -0
  904. /package/src/icons/svg/{units/avatar.svg → units-avatar.svg} +0 -0
  905. /package/src/icons/svg/{units/collection.svg → units-collection.svg} +0 -0
  906. /package/src/icons/svg/{units/counter.svg → units-counter.svg} +0 -0
  907. /package/src/icons/svg/{units/date.svg → units-date.svg} +0 -0
  908. /package/src/icons/svg/{units/field-icon-button.svg → units-field-icon-button.svg} +0 -0
  909. /package/src/icons/svg/{units/field.svg → units-field.svg} +0 -0
  910. /package/src/icons/svg/{units/input.svg → units-input.svg} +0 -0
  911. /package/src/icons/svg/{field-unit.svg → units-normal.svg} +0 -0
  912. /package/src/icons/svg/{units/progress-bar.svg → units-progress-bar.svg} +0 -0
  913. /package/src/icons/svg/{units/rich-text.svg → units-rich-text.svg} +0 -0
  914. /package/src/icons/svg/{units/snippet.svg → units-snippet.svg} +0 -0
  915. /package/src/icons/svg/{unlock-outline.svg → unlock.svg} +0 -0
  916. /package/src/icons/svg/{clear-value.svg → value-clear.svg} +0 -0
  917. /package/src/icons/svg/{extension/workflow.svg → workflow.svg} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @fibery/ui-kit
2
2
 
3
+ ## 4.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d7293fd: updated banner component styles and colors.ts
8
+ - 8b11936: updated green dot indicator in ui-kit
9
+ - d08e68d: new token for required asterisk in colors.ts
10
+ - e35e5ec: icons refactoring, renaming, deduping
11
+
12
+ ### Patch Changes
13
+
14
+ - f49a044: icons refactoring, renaming and deduplication
15
+ - 4ac3476: final updates to icons refactoring
16
+
17
+ ## 4.2.0
18
+
19
+ ### Minor Changes
20
+
21
+ - eef68ad: Sync dark theme color tokens correction
22
+
3
23
  ## 4.1.0
4
24
 
5
25
  ### Minor Changes
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@fibery/ui-kit",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
6
  "dependencies": {
7
- "@linaria/core": "7.0.0",
8
- "@linaria/react": "7.0.1",
7
+ "@linaria/core": "8.0.0",
8
+ "@linaria/react": "8.0.0",
9
9
  "@popperjs/core": "2.11.6",
10
10
  "@radix-ui/react-collapsible": "1.1.0",
11
11
  "@radix-ui/react-context-menu": "2.2.1",
@@ -24,7 +24,6 @@
24
24
  "@types/react-select-country-list": "2.2.3",
25
25
  "@types/setimmediate": "1.0.4",
26
26
  "apca-w3": "0.1.9",
27
- "apcach": "github:antiflasher/apcach#54077b3",
28
27
  "chrono-node": "2.9.0",
29
28
  "classnames": "2.3.1",
30
29
  "cmdk": "1.0.0",
@@ -39,12 +38,11 @@
39
38
  "node-types-local": "npm:@types/node@^24",
40
39
  "photoswipe": "5.4.4",
41
40
  "popper-max-size-modifier": "0.2.0",
42
- "prop-types": "15.7.2",
43
41
  "rc-dialog": "9.0.4",
44
42
  "rc-input": "0.1.4",
45
43
  "rc-input-number": "8.5.0",
46
44
  "rc-input-number-v7": "npm:rc-input-number@7.3.11",
47
- "rc-progress": "3.4.1",
45
+ "rc-progress": "4.0.0",
48
46
  "rc-select": "14.1.18",
49
47
  "rc-tabs": "12.5.10",
50
48
  "rc-textarea": "0.4.7",
@@ -58,6 +56,7 @@
58
56
  "react-virtuoso": "4.18.1",
59
57
  "screenfull": "6.0.2",
60
58
  "tabbable": "5.2.1",
59
+ "vaul": "1.1.2",
61
60
  "virtua": "0.48.8",
62
61
  "@fibery/emoji-data": "2.7.3",
63
62
  "@fibery/helpers": "3.1.0",
@@ -74,19 +73,16 @@
74
73
  "@types/culori": "4.0.1",
75
74
  "@types/history": "4.7.11",
76
75
  "@types/invariant": "2.2.34",
77
- "@types/prop-types": "15.7.5",
78
76
  "@types/react": "18.3.12",
79
77
  "@types/react-color": "2.13.5",
80
78
  "@types/react-dom": "18.3.1",
81
- "@typescript/native-preview": "beta",
82
- "csstype": "3.0.8",
83
79
  "fs-extra": "10.0.0",
84
80
  "glob": "13.0.6",
85
81
  "react": "18.3.1",
86
82
  "react-dom": "18.3.1",
87
83
  "svg-parser": "2.0.4",
88
84
  "svgo": "2.8.0",
89
- "typescript": "6.0.1-rc",
85
+ "typescript": "rc",
90
86
  "unist-util-reduce": "0.2.2",
91
87
  "@fibery/babel-preset": "7.4.2"
92
88
  },
@@ -98,10 +94,10 @@
98
94
  "test": "../../scripts/test.sh",
99
95
  "test:ci": "../../scripts/test.sh --ci",
100
96
  "test:coverage": "../../scripts/test.sh --ci --coverage",
101
- "check": "../../scripts/check.sh",
102
- "lint": "pnpm -w lint .",
103
97
  "generate-icons": "node scripts/generate-icons.mjs",
104
98
  "show-colors": "cd ../.. && SHOW_COLORS=1 ./node_modules/.bin/vitest run --project ui-kit --disable-console-intercept -t 'show all current colors'",
105
- "typecheck": "../../scripts/typecheck.sh"
99
+ "lint": "pnpm -w lint .",
100
+ "typecheck": "../../scripts/typecheck.sh",
101
+ "check": "../../scripts/check.sh"
106
102
  }
107
103
  }
@@ -64,7 +64,7 @@ export const antUploadStyle = css`
64
64
  alignItems: "stretch",
65
65
  alignContent: "stretch",
66
66
  },
67
- "& .ant-upload": {
67
+ ":where(&) .ant-upload": {
68
68
  boxSizing: "border-box",
69
69
  margin: 0,
70
70
  padding: 0,
@@ -73,30 +73,30 @@ export const antUploadStyle = css`
73
73
  listStyle: "none",
74
74
  outline: "none",
75
75
  },
76
- "& .ant-upload p": {
76
+ ":where(&) .ant-upload p": {
77
77
  margin: 0,
78
78
  },
79
- "& .ant-upload-btn": {
79
+ ":where(&) .ant-upload-btn": {
80
80
  display: "block",
81
81
  width: "100%",
82
82
  outline: "none",
83
83
  },
84
- "& .ant-upload input[type='file']": {
84
+ ":where(&) .ant-upload input[type='file']": {
85
85
  cursor: "pointer",
86
86
  },
87
- "& .ant-upload.ant-upload-disabled": {
87
+ ":where(&) .ant-upload.ant-upload-disabled": {
88
88
  color: themeVars.disabledTextColor,
89
89
  cursor: "not-allowed",
90
90
  },
91
- "& .ant-upload.ant-upload-disabled input[type='file']": {
91
+ ":where(&) .ant-upload.ant-upload-disabled input[type='file']": {
92
92
  cursor: "not-allowed",
93
93
  },
94
- "& .ant-upload-select": {
94
+ ":where(&) .ant-upload-select": {
95
95
  display: "inline-flex",
96
96
  alignItems: "stretch",
97
97
  maxWidth: "100%",
98
98
  },
99
- "& .ant-upload-select > .ant-upload": {
99
+ ":where(&) .ant-upload-select > .ant-upload": {
100
100
  display: "inline-flex",
101
101
  alignItems: "center",
102
102
  outline: "none",
@@ -139,23 +139,23 @@ export const antUploadStyle = css`
139
139
  transition: "none",
140
140
  },
141
141
  },
142
- "& .ant-upload.ant-upload-drag .ant-upload-btn": {
142
+ ":where(&) .ant-upload.ant-upload-drag .ant-upload-btn": {
143
143
  display: "table",
144
144
  height: "100%",
145
145
  },
146
- "& .ant-upload.ant-upload-drag .ant-upload-drag-container": {
146
+ ":where(&) .ant-upload.ant-upload-drag .ant-upload-drag-container": {
147
147
  display: "table-cell",
148
148
  verticalAlign: "middle",
149
149
  },
150
- "& .ant-upload-picture-card-wrapper": {
150
+ ":where(&) .ant-upload-picture-card-wrapper": {
151
151
  display: "inline-block",
152
152
  width: "100%",
153
153
  },
154
- "& .ant-upload-picture-card-wrapper::before": {
154
+ ":where(&) .ant-upload-picture-card-wrapper::before": {
155
155
  display: "table",
156
156
  content: "''",
157
157
  },
158
- "& .ant-upload-picture-card-wrapper::after": {
158
+ ":where(&) .ant-upload-picture-card-wrapper::after": {
159
159
  display: "table",
160
160
  clear: "both",
161
161
  content: "''",
@@ -13,14 +13,14 @@ import {wrapWithPopupContainer} from "./utils";
13
13
  const autoCompleteStyles = css`
14
14
  ${{
15
15
  position: "relative",
16
- "& .ant-select": {
16
+ ":where(&) .ant-select": {
17
17
  ...textStyles.regular,
18
18
  boxSizing: "border-box",
19
19
  display: "inline-block",
20
20
  width: "100%",
21
21
  cursor: "text",
22
22
  },
23
- "& .ant-select-selector": {
23
+ ":where(&) .ant-select-selector": {
24
24
  boxSizing: "border-box",
25
25
  display: "flex",
26
26
  alignItems: "center",
@@ -29,7 +29,7 @@ const autoCompleteStyles = css`
29
29
  position: "relative",
30
30
  backgroundColor: themeVars.transparent,
31
31
  },
32
- "& .ant-select-selection-search": {
32
+ ":where(&) .ant-select-selection-search": {
33
33
  flex: 1,
34
34
  minWidth: 0,
35
35
  },
@@ -45,7 +45,7 @@ const autoCompleteStyles = css`
45
45
  appearance: "none",
46
46
  ...textStyles.regular,
47
47
  },
48
- "& .ant-select-dropdown": {
48
+ ":where(&) .ant-select-dropdown": {
49
49
  boxSizing: "border-box",
50
50
  position: "absolute",
51
51
  zIndex: 1050,
@@ -55,16 +55,16 @@ const autoCompleteStyles = css`
55
55
  paddingTop: space.s8,
56
56
  paddingBottom: space.s8,
57
57
  },
58
- "& .ant-select-dropdown-hidden": {
58
+ ":where(&) .ant-select-dropdown-hidden": {
59
59
  display: "none",
60
60
  },
61
- "& .ant-select-item-empty": {
61
+ ":where(&) .ant-select-item-empty": {
62
62
  minHeight: 32,
63
63
  padding: "5px 12px",
64
64
  lineHeight: "22px",
65
65
  color: themeVars.colorTextListItemGeneralDisabled,
66
66
  },
67
- "& .ant-select-item": {
67
+ ":where(&) .ant-select-item": {
68
68
  ...textStyles.regular,
69
69
  color: themeVars.textColor,
70
70
  minHeight: 32,
@@ -75,16 +75,16 @@ const autoCompleteStyles = css`
75
75
  cursor: "pointer",
76
76
  transition: `background-color ${transitions.slow}`,
77
77
  },
78
- "& .ant-select-item-option-content": {
78
+ ":where(&) .ant-select-item-option-content": {
79
79
  flex: 1,
80
80
  overflow: "hidden",
81
81
  textOverflow: "ellipsis",
82
82
  whiteSpace: "nowrap",
83
83
  },
84
- "& .ant-select-item-option-state": {
84
+ ":where(&) .ant-select-item-option-state": {
85
85
  display: "none",
86
86
  },
87
- "& .ant-select-item-option": {
87
+ ":where(&) .ant-select-item-option": {
88
88
  display: "flex",
89
89
  alignItems: "center",
90
90
  "&:hover": {
@@ -4,8 +4,8 @@ import type {ComponentProps} from "react";
4
4
  import {forwardRef} from "react";
5
5
 
6
6
  import {textStyles, themeVars, transitionDuration} from "../design-system";
7
- import ArrowBottomIcon from "../icons/react/arrow-bottom";
8
- import ArrowTopIcon from "../icons/react/arrow-top";
7
+ import ArrowDownIcon from "../icons/react/arrow-down";
8
+ import ArrowUpIcon from "../icons/react/arrow-up";
9
9
  import {getWrapper} from "./get-wrapper";
10
10
  import {inputOverrides} from "./styles";
11
11
  import {wrapWith} from "./utils";
@@ -14,8 +14,8 @@ type InputNumberPropsAny = ComponentProps<typeof InputNumber>;
14
14
 
15
15
  // rc-input-number renders empty .ant-input-number-handler-up/-down-inner spans unless
16
16
  // upNode/downNode are passed. antd's wrapper supplied chevron icons; we do the same.
17
- const upNode = <ArrowTopIcon className="ant-input-number-handler-up-inner" iconSize={12} />;
18
- const downNode = <ArrowBottomIcon className="ant-input-number-handler-down-inner" iconSize={12} />;
17
+ const upNode = <ArrowUpIcon className="ant-input-number-handler-up-inner" iconSize={12} />;
18
+ const downNode = <ArrowDownIcon className="ant-input-number-handler-down-inner" iconSize={12} />;
19
19
 
20
20
  const PrefixedInputNumber = forwardRef<HTMLInputElement, InputNumberPropsAny>(function PrefixedInputNumber(props, ref) {
21
21
  return <InputNumber prefixCls="ant-input-number" upHandler={upNode} downHandler={downNode} {...props} ref={ref} />;
@@ -23,64 +23,97 @@ const PrefixedInputNumber = forwardRef<HTMLInputElement, InputNumberPropsAny>(fu
23
23
 
24
24
  const inputNumberStyles = css`
25
25
  ${{
26
- "& .ant-input-number": {
26
+ ":where(&) .ant-input-number": {
27
27
  boxSizing: "border-box",
28
28
  position: "relative",
29
29
  display: "inline-flex",
30
30
  alignItems: "stretch",
31
31
  width: "90px",
32
+ },
33
+ "& .ant-input-number": {
32
34
  height: "auto",
33
35
  border: "none",
34
36
  ...textStyles.regular,
35
37
  backgroundColor: themeVars.transparent,
36
38
  },
37
- "& .ant-input-number-input-wrap": {
39
+ ":where(&) .ant-input-number-input-wrap": {
38
40
  flex: 1,
39
41
  minWidth: 0,
40
42
  },
41
- "& .ant-input-number-input": {
42
- ...inputOverrides.main,
43
+ ":where(&) .ant-input-number-input": {
43
44
  boxSizing: "border-box",
44
45
  width: "100%",
45
46
  height: "100%",
46
47
  appearance: "textfield",
47
48
  },
48
- "& .ant-input-number-input:placeholder-shown": {
49
- textOverflow: "ellipsis",
49
+ "& .ant-input-number-input": {
50
+ ...inputOverrides.main,
50
51
  },
51
- "& .ant-input-number-input::-webkit-inner-spin-button, & .ant-input-number-input::-webkit-outer-spin-button": {
52
- margin: 0,
53
- appearance: "none",
52
+ ":where(&) .ant-input-number-input:placeholder-shown": {
53
+ textOverflow: "ellipsis",
54
54
  },
55
- "& .ant-input-number-handler-wrap": {
55
+ ":where(&) .ant-input-number-input::-webkit-inner-spin-button, :where(&) .ant-input-number-input::-webkit-outer-spin-button":
56
+ {
57
+ margin: 0,
58
+ appearance: "none",
59
+ },
60
+ ":where(&) .ant-input-number-handler-wrap": {
56
61
  position: "absolute",
57
- top: 1,
58
- bottom: 1,
59
- right: 1,
60
62
  width: 22,
61
- backgroundColor: themeVars.transparent,
62
- background: themeVars.transparent,
63
- // antd hid the stepper arrows until hover/focus; reproduce that (dropped with the vendored CSS)
64
63
  opacity: 0,
65
64
  transition: `opacity ${transitionDuration.normal} linear ${transitionDuration.faster}`,
66
65
  },
67
- "& .ant-input-number-handler-wrap:hover .ant-input-number-handler": {
66
+ ":where(&) .ant-input-number-handler-wrap:hover .ant-input-number-handler": {
68
67
  height: "40%",
69
68
  },
70
- "& .ant-input-number:hover .ant-input-number-handler-wrap, & .ant-input-number-focused .ant-input-number-handler-wrap":
69
+ ":where(&) .ant-input-number:hover .ant-input-number-handler-wrap, :where(&) .ant-input-number-focused .ant-input-number-handler-wrap":
71
70
  {
72
71
  opacity: 1,
73
72
  },
74
- "& .ant-input-number-focused": {boxShadow: "none"},
75
- "& .ant-input-number-handler-up, & .ant-input-number-handler-down": {
73
+ ":where(&) .ant-input-number-handler-up, :where(&) .ant-input-number-handler-down": {
76
74
  cursor: "pointer",
77
75
  },
78
- "& .ant-input-number-handler-up:hover, & .ant-input-number-handler-down:hover": {
76
+ ":where(&) .ant-input-number-handler-up:hover, :where(&) .ant-input-number-handler-down:hover": {
79
77
  height: "60% !important",
80
78
  },
81
- "& .ant-input-number-handler-up-disabled, & .ant-input-number-handler-down-disabled": {
79
+ ":where(&) .ant-input-number-handler-up-disabled, :where(&) .ant-input-number-handler-down-disabled": {
82
80
  cursor: "not-allowed",
83
81
  },
82
+ ":where(&) .ant-input-number-handler-up-inner, :where(&) .ant-input-number-handler-down-inner": {
83
+ position: "absolute",
84
+ right: 4,
85
+ width: 12,
86
+ height: 12,
87
+ lineHeight: "12px",
88
+ transition: `all ${transitionDuration.faster} linear`,
89
+ userSelect: "none",
90
+ },
91
+ ":where(&) .ant-input-number-handler-up-inner": {
92
+ top: "50%",
93
+ marginTop: -5,
94
+ },
95
+ ":where(&) .ant-input-number-handler-down-inner": {
96
+ top: "50%",
97
+ transform: "translateY(-50%)",
98
+ },
99
+ ":where(&) .ant-input-number-handler": {
100
+ position: "relative",
101
+ display: "block",
102
+ width: "100%",
103
+ height: "50%",
104
+ overflow: "hidden",
105
+ lineHeight: 0,
106
+ textAlign: "center",
107
+ transition: `all ${transitionDuration.faster} linear`,
108
+ },
109
+ "& .ant-input-number-handler-wrap": {
110
+ top: 1,
111
+ bottom: 1,
112
+ right: 1,
113
+ backgroundColor: themeVars.transparent,
114
+ background: themeVars.transparent,
115
+ },
116
+ "& .ant-input-number-focused": {boxShadow: "none"},
84
117
  "& .ant-input-number-handler-up-disabled .ant-input-number-handler-up-inner, & .ant-input-number-handler-down-disabled .ant-input-number-handler-down-inner":
85
118
  {
86
119
  color: themeVars.disabledTextColor,
@@ -101,33 +134,10 @@ const inputNumberStyles = css`
101
134
  },
102
135
  "& .ant-input-number-handler-up-inner, & .ant-input-number-handler-down-inner": {
103
136
  color: themeVars.iconColor,
104
- position: "absolute",
105
- right: 4,
106
- width: 12,
107
- height: 12,
108
- lineHeight: "12px",
109
- transition: `all ${transitionDuration.faster} linear`,
110
- userSelect: "none",
111
- },
112
- "& .ant-input-number-handler-up-inner": {
113
- top: "50%",
114
- marginTop: -5,
115
- },
116
- "& .ant-input-number-handler-down-inner": {
117
- top: "50%",
118
- transform: "translateY(-50%)",
119
137
  },
120
138
  "& .ant-input-number-handler": {
121
- position: "relative",
122
- display: "block",
123
- width: "100%",
124
- height: "50%",
125
- overflow: "hidden",
126
139
  color: themeVars.iconColor,
127
- lineHeight: 0,
128
- textAlign: "center",
129
140
  borderLeft: themeVars.borderSolidSeparator,
130
- transition: `all ${transitionDuration.faster} linear`,
131
141
  "&:active": {
132
142
  backgroundColor: themeVars.transparent,
133
143
  },
@@ -7,7 +7,7 @@ import type {ResizableTextAreaRef} from "rc-textarea/lib/ResizableTextArea";
7
7
  import {forwardRef, useImperativeHandle, useMemo, useRef} from "react";
8
8
 
9
9
  import {space, tabularNumsOff, textStyles, themeVars} from "../design-system";
10
- import CloseCircleFilledIcon from "../icons/react/cross-circle";
10
+ import CloseCircleFilledIcon from "../icons/react/circle-cross";
11
11
  import {mobileRootSelector} from "../mobile-styles";
12
12
  import {getWrapper} from "./get-wrapper";
13
13
  import {inputStyles} from "./styles";
@@ -5,7 +5,7 @@ import {border, layout, shadows, space, textStyles, themeVars, transitions} from
5
5
  const inputVariables = {
6
6
  default: {
7
7
  "--input-border": `${themeVars.inputBorderColor} inset`,
8
- "--input-hover-border": `0 0 0 1px ${themeVars.colorAccentStrokeHover} inset`,
8
+ "--input-hover-border": `${themeVars.inputBorderHoverColor} inset`,
9
9
  "--input-focus-border": `0 0 0 1px ${themeVars.colorAccentStrokeFocus} inset`,
10
10
  "--input-focus-shadow": `0 0 0 2px ${themeVars.colorAccentStroke}`,
11
11
  },
@@ -40,7 +40,7 @@ export const inputOverrides = {
40
40
  },
41
41
  },
42
42
  hover: {
43
- boxShadow: `var(--input-hover-border, 0 0 0 1px ${themeVars.colorAccentStrokeHover}) !important`,
43
+ boxShadow: `var(--input-hover-border, ${themeVars.inputBorderHoverColor}) !important`,
44
44
  transition: `box-shadow ${transitions.faster}`,
45
45
  },
46
46
  focus: {
@@ -69,10 +69,12 @@ export const inputStyles = css`
69
69
  }
70
70
  ${{
71
71
  ...textStyles.regular,
72
- "& .ant-input, & .ant-input-affix-wrapper, & .ant-input-group-wrapper, & .ant-input-wrapper": {
72
+ ":where(&) .ant-input, :where(&) .ant-input-affix-wrapper, :where(&) .ant-input-group-wrapper, :where(&) .ant-input-wrapper":
73
+ {
74
+ boxSizing: "border-box",
75
+ },
76
+ ":where(&) .ant-input-affix-wrapper": {
73
77
  boxSizing: "border-box",
74
- },
75
- "& .ant-input-affix-wrapper": {
76
78
  display: "inline-flex",
77
79
  alignItems: "center",
78
80
  width: "100%",
@@ -83,40 +85,40 @@ export const inputStyles = css`
83
85
  boxShadow: "none",
84
86
  backgroundColor: themeVars.transparent,
85
87
  },
86
- "& .ant-input-affix-wrapper > input.ant-input": {
88
+ ":where(&) .ant-input-affix-wrapper > input.ant-input": {
87
89
  minWidth: 0,
88
90
  flex: 1,
89
91
  padding: "0 12px",
90
92
  border: "inherit",
91
93
  outline: "inherit",
92
94
  },
93
- "& .ant-input-prefix, & .ant-input-suffix": {
95
+ ":where(&) .ant-input-prefix, :where(&) .ant-input-suffix": {
94
96
  display: "flex",
95
97
  flex: "none",
96
98
  alignItems: "center",
97
99
  },
98
100
  // antd source: spacing between adjacent icons when prefix/suffix holds multiple nodes.
99
- "& .ant-input-prefix > *:not(:last-child), & .ant-input-suffix > *:not(:last-child)": {
101
+ ":where(&) .ant-input-prefix > *:not(:last-child), :where(&) .ant-input-suffix > *:not(:last-child)": {
100
102
  marginRight: space.s8,
101
103
  },
102
- "& .ant-input-suffix": {
104
+ ":where(&) .ant-input-suffix": {
103
105
  marginLeft: space.s6,
104
106
  },
105
- "& .ant-input-clear-icon": {
107
+ ":where(&) .ant-input-clear-icon": {
106
108
  display: "inline-flex",
107
109
  alignItems: "center",
108
110
  color: themeVars.iconColor,
109
111
  cursor: "pointer",
110
112
  lineHeight: 1,
111
113
  },
112
- "& .ant-input-clear-icon-hidden": {
114
+ ":where(&) .ant-input-clear-icon-hidden": {
113
115
  visibility: "hidden",
114
116
  },
115
- "& .ant-input-group-wrapper": {
117
+ ":where(&) .ant-input-group-wrapper": {
116
118
  display: "inline-block",
117
119
  width: "100%",
118
120
  },
119
- "& .ant-input-wrapper.ant-input-group": {
121
+ ":where(&) .ant-input-wrapper.ant-input-group": {
120
122
  display: "inline-flex",
121
123
  width: "100%",
122
124
  alignItems: "stretch",
@@ -130,9 +132,8 @@ export const inputStyles = css`
130
132
  "&:hover": inputOverrides.hover,
131
133
  "&:focus": inputOverrides.focus,
132
134
  },
133
- "& .ant-input-group": {borderSpacing: 1, ...textStyles.regular},
134
- "& .ant-input": {
135
- ...inputOverrides.main,
135
+ ":where(&) .ant-input-group": {borderSpacing: 1, ...textStyles.regular},
136
+ ":where(&) .ant-input": {
136
137
  // antd source: .ant-input { width: 100%; min-width: 0 } — without it, bare <AntInput>
137
138
  // doesn't fill its container and can't shrink inside a flex parent. AutoComplete's
138
139
  // .ant-select-selection-search .ant-input rule (two-class selector) beats this on
@@ -140,8 +141,11 @@ export const inputStyles = css`
140
141
  width: "100%",
141
142
  minWidth: 0,
142
143
  },
144
+ "& .ant-input": {
145
+ ...inputOverrides.main,
146
+ },
143
147
  // antd source: long placeholders get ellipsis instead of wrap-clip.
144
- "& .ant-input:placeholder-shown": {
148
+ ":where(&) .ant-input:placeholder-shown": {
145
149
  textOverflow: "ellipsis",
146
150
  },
147
151
  // bordered={false} → wrap with `ant-input-borderless` class; strip the box-shadow ring + bg.
@@ -155,7 +159,7 @@ export const inputStyles = css`
155
159
  // antd source: inner input inside affix-wrapper must not paint its own focus ring —
156
160
  // the wrapper owns the visual focus state. Without this prefix/suffix usage shows a
157
161
  // double ring.
158
- "& .ant-input-affix-wrapper > .ant-input:focus": {
162
+ ":where(&) .ant-input-affix-wrapper > .ant-input:focus": {
159
163
  boxShadow: "none !important",
160
164
  },
161
165
  "& .ant-input-status-error": inputVariables.error,
@@ -170,13 +174,15 @@ export const inputStyles = css`
170
174
  "& .ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled)": {
171
175
  borderColor: "transparent",
172
176
  },
173
- // antd source: textarea defaults min-height anchors empty <AntTextArea> to a sane
174
- // height, max-width prevents user-resize from blowing out the container, and
175
- // vertical-align: bottom matches the baseline of a single-line <input> next to it.
177
+ // Textarea padding must beat inputOverrides.main's zero vertical padding so rc-textarea
178
+ // autosize measures the same row height as the rendered control.
176
179
  "& textarea.ant-input": {
177
180
  paddingTop: space.s8,
178
181
  paddingBottom: space.s8,
179
- minHeight: layout.inputHeight,
182
+ },
183
+ // antd source: textarea defaults — max-width prevents user-resize from blowing out the
184
+ // container, and vertical-align: bottom matches the baseline of a single-line <input> next to it.
185
+ ":where(&) textarea.ant-input": {
180
186
  maxWidth: "100%",
181
187
  verticalAlign: "bottom",
182
188
  },