@fibery/ui-kit 9.4.3 → 10.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 (510) hide show
  1. package/lib/a11y-color.d.ts +2 -3
  2. package/lib/abbreviate-name.d.ts +2 -3
  3. package/lib/action-badge.d.ts +2 -3
  4. package/lib/actions-menu/actions-menu-checkbox-item.d.ts +3 -4
  5. package/lib/actions-menu/actions-menu-confirmation.d.ts +3 -4
  6. package/lib/actions-menu/actions-menu-item.d.ts +6 -6
  7. package/lib/actions-menu/actions-menu-item.js +5 -9
  8. package/lib/actions-menu/actions-menu-item.wyw-in-js.css +2 -1
  9. package/lib/actions-menu/actions-menu-props.d.ts +2 -3
  10. package/lib/actions-menu/actions-menu-separator.d.ts +2 -3
  11. package/lib/actions-menu/actions-menu-sub-command-menu.d.ts +9 -10
  12. package/lib/actions-menu/actions-menu-sub-menu.d.ts +3 -4
  13. package/lib/actions-menu/actions-menu-toggle-item.d.ts +3 -4
  14. package/lib/actions-menu/actions-menu.d.ts +4 -4
  15. package/lib/actions-menu/async-actions-menu-item.d.ts +2 -3
  16. package/lib/actions-menu/context-actions-menu.d.ts +3 -3
  17. package/lib/actions-menu/contexts/actions-menu-context.d.ts +3 -4
  18. package/lib/actions-menu/contexts/actions-menu-dangerous-rows.d.ts +3 -3
  19. package/lib/actions-menu/index.d.ts +3 -3
  20. package/lib/actions-menu/utils/insert-separators.d.ts +2 -3
  21. package/lib/actions-panel.d.ts +2 -3
  22. package/lib/animated-height-container.d.ts +2 -3
  23. package/lib/animations.d.ts +4 -5
  24. package/lib/antd/ant-modal.d.ts +6 -6
  25. package/lib/antd/ant-upload.d.ts +7 -7
  26. package/lib/antd/auto-complete.d.ts +2 -3
  27. package/lib/antd/get-wrapper.d.ts +2 -3
  28. package/lib/antd/global-overrides.d.ts +2 -3
  29. package/lib/antd/global-overrides.wyw-in-js.css +1 -1
  30. package/lib/antd/index.d.ts +4 -5
  31. package/lib/antd/input-number.d.ts +2 -3
  32. package/lib/antd/input.d.ts +9 -9
  33. package/lib/antd/styles.d.ts +3 -4
  34. package/lib/antd/tabs.d.ts +3 -4
  35. package/lib/antd/tabs.wyw-in-js.css +1 -1
  36. package/lib/antd/utils.d.ts +4 -5
  37. package/lib/apca.d.ts +9 -10
  38. package/lib/app-icon-with-fallback.d.ts +5 -5
  39. package/lib/app-icon-wrapper.d.ts +3 -4
  40. package/lib/app-icon.d.ts +2 -3
  41. package/lib/app-mode.d.ts +8 -8
  42. package/lib/automation-avatar.d.ts +2 -3
  43. package/lib/autosize-input/number-input.d.ts +7 -0
  44. package/lib/autosize-input/number-input.js +83 -0
  45. package/lib/autosize-input/number-input.wyw-in-js.css +2 -0
  46. package/lib/{number-input → autosize-input}/styles.d.ts +8 -9
  47. package/lib/{number-input → autosize-input}/styles.js +6 -6
  48. package/lib/autosize-input/styles.wyw-in-js.css +4 -0
  49. package/lib/autosize-input/text-area.d.ts +7 -0
  50. package/lib/autosize-input/text-area.js +42 -0
  51. package/lib/autosize-input/text-area.wyw-in-js.css +1 -0
  52. package/lib/autosize-input/text-input.d.ts +8 -0
  53. package/lib/autosize-input/text-input.js +37 -0
  54. package/lib/autosize-input/z-stack.d.ts +8 -0
  55. package/lib/autosize-input/z-stack.js +14 -0
  56. package/lib/autosize-input/z-stack.wyw-in-js.css +1 -0
  57. package/lib/avatar-colors.d.ts +6 -7
  58. package/lib/avatar.d.ts +3 -3
  59. package/lib/axis-header.d.ts +4 -5
  60. package/lib/badge.d.ts +3 -4
  61. package/lib/badge.js +1 -1
  62. package/lib/badge.wyw-in-js.css +1 -0
  63. package/lib/banner/banner-action.d.ts +2 -3
  64. package/lib/banner/banner-context.d.ts +2 -3
  65. package/lib/banner/banner-variant.d.ts +2 -3
  66. package/lib/banner/banner.d.ts +3 -4
  67. package/lib/board-table-loader.d.ts +3 -5
  68. package/lib/board-table-loader.js +16 -22
  69. package/lib/box.d.ts +16 -17
  70. package/lib/breadcrumb.d.ts +7 -8
  71. package/lib/breakpoints.d.ts +9 -10
  72. package/lib/button/actions-button-compact.d.ts +2 -3
  73. package/lib/button/actions-button.d.ts +2 -3
  74. package/lib/button/add-button.d.ts +2 -3
  75. package/lib/button/back-button.d.ts +2 -3
  76. package/lib/button/base-button.d.ts +8 -9
  77. package/lib/button/button-group.d.ts +4 -5
  78. package/lib/button/button.d.ts +3 -4
  79. package/lib/button/button.js +1 -1
  80. package/lib/button/icon-button.d.ts +5 -6
  81. package/lib/button/make-button-colors.d.ts +2 -3
  82. package/lib/button/select-button.d.ts +3 -4
  83. package/lib/canvas-colors.d.ts +6 -7
  84. package/lib/card-container.d.ts +13 -14
  85. package/lib/card-hidden-link.d.ts +2 -3
  86. package/lib/checkbox.d.ts +11 -9
  87. package/lib/checkbox.js +13 -6
  88. package/lib/checkbox.wyw-in-js.css +3 -3
  89. package/lib/collapsible/index.d.ts +5 -6
  90. package/lib/collapsible-section.d.ts +2 -3
  91. package/lib/color-adjuster.d.ts +3 -4
  92. package/lib/color-filter.d.ts +6 -7
  93. package/lib/color-inspect.d.ts +3 -4
  94. package/lib/color-picker/color-picker-or-loader.d.ts +2 -3
  95. package/lib/color-picker/color-picker-or-loader.js +1 -1
  96. package/lib/color-picker/index.d.ts +3 -4
  97. package/lib/color-picker/slider-pointer.d.ts +2 -3
  98. package/lib/color-picker/swatch.d.ts +2 -3
  99. package/lib/color-utils.d.ts +13 -13
  100. package/lib/command-menu/index.d.ts +9 -10
  101. package/lib/command-menu/nested-command-menu.d.ts +5 -6
  102. package/lib/command-menu/nested-command-menu.js +2 -1
  103. package/lib/comment.d.ts +9 -10
  104. package/lib/context-menu/index.d.ts +15 -16
  105. package/lib/copy-to-clipboard.d.ts +3 -4
  106. package/lib/count-badge.d.ts +6 -7
  107. package/lib/date-picker/autocomplete.d.ts +5 -6
  108. package/lib/date-picker/constants.d.ts +4 -5
  109. package/lib/date-picker/contexts.d.ts +2 -3
  110. package/lib/date-picker/date-range-input.d.ts +4 -4
  111. package/lib/date-picker/date-range-input.js +1 -1
  112. package/lib/date-picker/date-range-picker-popup-content.d.ts +3 -4
  113. package/lib/date-picker/date-range-picker.d.ts +4 -5
  114. package/lib/date-picker/day-with-start-end-buttons.d.ts +4 -5
  115. package/lib/date-picker/fake-date-input.d.ts +3 -4
  116. package/lib/date-picker/get-weekends-for-month.d.ts +2 -3
  117. package/lib/date-picker/rc-input-types.d.ts +3 -4
  118. package/lib/date-picker/relative-date-picker.d.ts +2 -3
  119. package/lib/date-picker/single-date-input.d.ts +4 -4
  120. package/lib/date-picker/single-date-input.js +1 -1
  121. package/lib/date-picker/single-date-picker-popup-content.d.ts +2 -3
  122. package/lib/date-picker/single-date-picker.d.ts +17 -12
  123. package/lib/date-picker/styles.d.ts +19 -20
  124. package/lib/date-picker/types.d.ts +18 -14
  125. package/lib/date-picker/utils.d.ts +12 -12
  126. package/lib/date-picker/with-popup-control.d.ts +2 -3
  127. package/lib/date-picker/with-popup-control.js +1 -1
  128. package/lib/day-select/day-select.d.ts +4 -4
  129. package/lib/day-select/iso-week-day-select.d.ts +3 -3
  130. package/lib/day-select/mount-day-select.d.ts +3 -3
  131. package/lib/day-select/week-day-select.d.ts +5 -5
  132. package/lib/delayed.d.ts +2 -4
  133. package/lib/delayed.js +1 -2
  134. package/lib/design-system/alpha-coefficients.d.ts +3 -4
  135. package/lib/design-system/alpha.d.ts +7 -8
  136. package/lib/design-system/animation.d.ts +6 -7
  137. package/lib/design-system/colors-charts.d.ts +2 -3
  138. package/lib/design-system/colors-css.d.ts +9 -10
  139. package/lib/design-system/colors-js.d.ts +4 -5
  140. package/lib/design-system/colors-swatches.d.ts +3 -4
  141. package/lib/design-system/colors.d.ts +20 -610
  142. package/lib/design-system/colors.js +7 -4
  143. package/lib/design-system/date.d.ts +4 -5
  144. package/lib/design-system/def.d.ts +4 -5
  145. package/lib/design-system/fns.d.ts +4 -5
  146. package/lib/design-system/fns.enum.d.ts +4 -5
  147. package/lib/design-system/fns.icon.d.ts +5 -6
  148. package/lib/design-system/layout.d.ts +9 -10
  149. package/lib/design-system/skeleton.d.ts +5 -6
  150. package/lib/design-system/theme.d.ts +31 -22
  151. package/lib/design-system/types.d.ts +15 -16
  152. package/lib/design-system/typography.d.ts +11 -12
  153. package/lib/design-system/vars.d.ts +9 -10
  154. package/lib/dnd.d.ts +4 -5
  155. package/lib/dom-utils.d.ts +4 -5
  156. package/lib/dot.d.ts +2 -3
  157. package/lib/double-apply.d.ts +2 -3
  158. package/lib/download-file.d.ts +3 -2
  159. package/lib/dropdown-menu/index.d.ts +13 -14
  160. package/lib/embed.d.ts +4 -5
  161. package/lib/emoji-picker/app-icon-picker.d.ts +3 -4
  162. package/lib/emoji-picker/app-icon-picker.js +2 -1
  163. package/lib/emoji-picker/emoji-picker-content-with-color.d.ts +4 -5
  164. package/lib/emoji-picker/emoji-picker-preview-footer.d.ts +2 -3
  165. package/lib/emoji-picker/emoji-picker.d.ts +4 -5
  166. package/lib/emoji-picker/emoji.d.ts +3 -4
  167. package/lib/emoji-picker/icon-emoji-picker.d.ts +3 -4
  168. package/lib/emoji-picker/primitives/category-label.d.ts +2 -3
  169. package/lib/emoji-picker/primitives/content.d.ts +4 -5
  170. package/lib/emoji-picker/primitives/emoji.d.ts +4 -5
  171. package/lib/emoji-picker/primitives/emoji.wyw-in-js.css +1 -1
  172. package/lib/emoji-picker/primitives/footer.d.ts +2 -3
  173. package/lib/emoji-picker/primitives/grid-item.d.ts +3 -4
  174. package/lib/emoji-picker/primitives/grid.d.ts +4 -5
  175. package/lib/emoji-picker/primitives/header.d.ts +2 -3
  176. package/lib/emoji-picker/primitives/layout.d.ts +3 -4
  177. package/lib/emoji-picker/primitives/preview-provider.d.ts +4 -5
  178. package/lib/emoji-picker/primitives/render-config-provider.d.ts +2 -2
  179. package/lib/emoji-picker/primitives/root.d.ts +4 -5
  180. package/lib/emoji-picker/primitives/search-provider.d.ts +4 -5
  181. package/lib/emoji-picker/primitives/search.d.ts +5 -6
  182. package/lib/emoji-picker/primitives/skin-provider.d.ts +4 -5
  183. package/lib/emoji-picker/primitives/skin-tone.d.ts +3 -4
  184. package/lib/emoji-picker/stores/emoji-data-store.d.ts +7 -8
  185. package/lib/emoji-picker/stores/lazy-icon-data-store.d.ts +2 -3
  186. package/lib/emoji-picker/stores/static-emoji-data-store.d.ts +2 -3
  187. package/lib/emoji-picker/use-emoji-found.d.ts +2 -3
  188. package/lib/emoji-picker/use-responsive-emoji-size.d.ts +2 -3
  189. package/lib/emoji-picker/utils/emoji-set.d.ts +3 -4
  190. package/lib/emoji-picker/utils/emoji-support.d.ts +2 -3
  191. package/lib/emoji-picker/utils/frequently.d.ts +3 -4
  192. package/lib/emoji-picker/utils/load-emoji-data.d.ts +2 -3
  193. package/lib/emoji-picker/utils/store.d.ts +4 -5
  194. package/lib/emoji.d.ts +3 -3
  195. package/lib/empty-state/empty-state-action.d.ts +2 -3
  196. package/lib/empty-state/empty-state-emoji.d.ts +3 -4
  197. package/lib/empty-state/empty-state.d.ts +3 -3
  198. package/lib/empty-state/empty-state.js +7 -6
  199. package/lib/empty-state/empty-state.wyw-in-js.css +6 -5
  200. package/lib/empty-value.d.ts +2 -3
  201. package/lib/errors.d.ts +5 -6
  202. package/lib/favorites-icon.d.ts +2 -3
  203. package/lib/fibermoji-placeholder.d.ts +2 -3
  204. package/lib/fibery-brand-logo.d.ts +3 -4
  205. package/lib/field-app-icon.d.ts +6 -7
  206. package/lib/field-container.d.ts +8 -9
  207. package/lib/field-icon.d.ts +3 -3
  208. package/lib/field-type-icon.d.ts +1 -0
  209. package/lib/file-item/add-query-param.d.ts +2 -3
  210. package/lib/file-item/file-icon.d.ts +4 -5
  211. package/lib/file-item/file-menu-items.d.ts +2 -3
  212. package/lib/file-item/file-preview-actions.d.ts +3 -4
  213. package/lib/file-item/file-title.d.ts +3 -4
  214. package/lib/file-item/share-file.d.ts +4 -3
  215. package/lib/file-item/types.d.ts +4 -5
  216. package/lib/file-item.d.ts +4 -5
  217. package/lib/file-item.js +1 -0
  218. package/lib/form-field-loader.d.ts +3 -4
  219. package/lib/form-utils.d.ts +2 -3
  220. package/lib/format-date-from-now.d.ts +3 -4
  221. package/lib/formula-avatar.d.ts +7 -0
  222. package/lib/formula-avatar.js +31 -0
  223. package/lib/full-fibery-logo.d.ts +3 -4
  224. package/lib/guide-link.d.ts +2 -3
  225. package/lib/header-layout.d.ts +3 -4
  226. package/lib/header-layout.js +1 -1
  227. package/lib/highlight-colors.d.ts +8 -9
  228. package/lib/hint.d.ts +2 -3
  229. package/lib/hotkey-scope.d.ts +4 -4
  230. package/lib/hoverable-via-display.d.ts +4 -5
  231. package/lib/hoverable.d.ts +7 -8
  232. package/lib/html-styles.d.ts +8 -9
  233. package/lib/html-styles.wyw-in-js.css +1 -1
  234. package/lib/icons/ast/ai-fibery-build-dots.d.ts +5 -0
  235. package/lib/icons/ast/ai-fibery-build-dots.js +24 -0
  236. package/lib/icons/ast/ai-fibery-build-mark.d.ts +5 -0
  237. package/lib/icons/ast/ai-fibery-build-mark.js +24 -0
  238. package/lib/icons/ast/comment-bubble.js +1 -5
  239. package/lib/icons/ast/comments.js +1 -10
  240. package/lib/icons/ast/connector.d.ts +5 -0
  241. package/lib/icons/ast/connector.js +21 -0
  242. package/lib/icons/ast/index.d.ts +9 -3
  243. package/lib/icons/ast/index.js +9 -3
  244. package/lib/icons/ast/layout-ai.d.ts +5 -0
  245. package/lib/icons/ast/layout-ai.js +21 -0
  246. package/lib/icons/ast/message-plus.js +1 -6
  247. package/lib/icons/ast/space-app.js +1 -5
  248. package/lib/icons/ast/space-generate.js +1 -5
  249. package/lib/icons/ast/space-scratch.js +1 -5
  250. package/lib/icons/ast/space-template.js +1 -5
  251. package/lib/icons/ast/suggest-accept.d.ts +5 -0
  252. package/lib/icons/ast/suggest-accept.js +21 -0
  253. package/lib/icons/ast/suggest-comments.d.ts +5 -0
  254. package/lib/icons/ast/suggest-comments.js +21 -0
  255. package/lib/icons/ast/suggest-edit.d.ts +5 -0
  256. package/lib/icons/ast/suggest-edit.js +21 -0
  257. package/lib/icons/ast/suggest-reject.d.ts +5 -0
  258. package/lib/icons/ast/suggest-reject.js +21 -0
  259. package/lib/icons/generate-icon-from-ast.d.ts +3 -3
  260. package/lib/icons/get-paths.d.ts +2 -3
  261. package/lib/icons/get-shift-style.d.ts +2 -3
  262. package/lib/icons/icon.d.ts +5 -6
  263. package/lib/icons/react/{suggestions-comments.d.ts → ai-fibery-build-dots.d.ts} +4 -4
  264. package/lib/icons/react/{suggestions-comments.js → ai-fibery-build-dots.js} +6 -6
  265. package/lib/icons/react/ai-fibery-build-mark.d.ts +15 -0
  266. package/lib/icons/react/ai-fibery-build-mark.js +21 -0
  267. package/lib/icons/react/connector.d.ts +15 -0
  268. package/lib/icons/react/{suggestions.js → connector.js} +6 -6
  269. package/lib/icons/react/index.d.ts +9 -3
  270. package/lib/icons/react/index.js +9 -3
  271. package/lib/icons/react/layout-ai.d.ts +15 -0
  272. package/lib/icons/react/layout-ai.js +21 -0
  273. package/lib/icons/react/suggest-accept.d.ts +15 -0
  274. package/lib/icons/react/suggest-accept.js +21 -0
  275. package/lib/icons/react/suggest-comments.d.ts +15 -0
  276. package/lib/icons/react/suggest-comments.js +21 -0
  277. package/lib/icons/react/{suggestions.d.ts → suggest-edit.d.ts} +4 -4
  278. package/lib/icons/react/suggest-edit.js +21 -0
  279. package/lib/icons/react/suggest-reject.d.ts +15 -0
  280. package/lib/icons/react/suggest-reject.js +21 -0
  281. package/lib/icons/types.d.ts +5 -6
  282. package/lib/images-gallery/get-gallery-src.d.ts +2 -3
  283. package/lib/images-gallery/images-gallery-fall-through-provider.d.ts +3 -4
  284. package/lib/images-gallery/images-gallery.d.ts +6 -6
  285. package/lib/images-gallery/slide-buttons.d.ts +3 -4
  286. package/lib/images-gallery/thumbnails-mime-types-white-list.d.ts +2 -3
  287. package/lib/images-gallery/zoom.d.ts +3 -4
  288. package/lib/indicator.d.ts +4 -5
  289. package/lib/integration-compact-info-button.d.ts +2 -3
  290. package/lib/integration-compact-info-button.js +4 -4
  291. package/lib/integration-compact-info-button.wyw-in-js.css +2 -1
  292. package/lib/is-android.d.ts +2 -3
  293. package/lib/is-in-popup.d.ts +2 -3
  294. package/lib/is-ios.d.ts +2 -3
  295. package/lib/kbd.d.ts +5 -5
  296. package/lib/layout-styles.d.ts +2 -3
  297. package/lib/layout-variables.d.ts +3 -4
  298. package/lib/link-input/components/ant-text-area-with-custom-read-state.d.ts +3 -4
  299. package/lib/link-input/index.d.ts +7 -8
  300. package/lib/link-input/utils.d.ts +2 -3
  301. package/lib/lists/list-row-surface.d.ts +12 -13
  302. package/lib/loader-gate-start.d.ts +9 -0
  303. package/lib/loader-gate-start.js +20 -0
  304. package/lib/loader-gate.d.ts +5 -0
  305. package/lib/loader-gate.js +8 -0
  306. package/lib/loader-gate.wyw-in-js.css +1 -0
  307. package/lib/loaders.d.ts +10 -11
  308. package/lib/loaders.js +2 -8
  309. package/lib/logo.d.ts +5 -6
  310. package/lib/media-query-utils.d.ts +4 -4
  311. package/lib/memoize.d.ts +2 -3
  312. package/lib/menu-item-actions.d.ts +2 -3
  313. package/lib/mobile-app-api.d.ts +19 -0
  314. package/lib/mobile-app-api.js +0 -0
  315. package/lib/mobile-drawer.d.ts +3 -4
  316. package/lib/mobile-keyboard-aware-popup.d.ts +3 -4
  317. package/lib/mobile-styles.d.ts +11 -12
  318. package/lib/modal-menu/contexts/modal-menu-context.d.ts +3 -3
  319. package/lib/modal-menu/contexts/modal-submenu-context.d.ts +2 -2
  320. package/lib/modal-menu/modal-menu-checkbox-item.d.ts +2 -3
  321. package/lib/modal-menu/modal-menu-content.d.ts +2 -3
  322. package/lib/modal-menu/modal-menu-drawer-content.d.ts +2 -3
  323. package/lib/modal-menu/modal-menu-group.d.ts +2 -3
  324. package/lib/modal-menu/modal-menu-item.d.ts +2 -3
  325. package/lib/modal-menu/modal-menu-label.d.ts +2 -3
  326. package/lib/modal-menu/modal-menu-root.d.ts +3 -4
  327. package/lib/modal-menu/modal-menu-separator.d.ts +2 -3
  328. package/lib/modal-menu/modal-menu-trigger.d.ts +2 -3
  329. package/lib/modal-menu/modal-submenu-content.d.ts +2 -3
  330. package/lib/modal-menu/modal-submenu-trigger.d.ts +2 -3
  331. package/lib/modal-menu/modal-submenu.d.ts +2 -3
  332. package/lib/new-badge.d.ts +2 -3
  333. package/lib/number-input/decimal.d.ts +5 -6
  334. package/lib/number-input/edit-unit-styles.d.ts +3 -4
  335. package/lib/number-input/number-input-inline.d.ts +2 -3
  336. package/lib/number-input/number-input.d.ts +3 -4
  337. package/lib/number-input/step-button.d.ts +5 -6
  338. package/lib/number-input/types.d.ts +4 -5
  339. package/lib/number-input/utils.d.ts +5 -6
  340. package/lib/online-users.d.ts +6 -7
  341. package/lib/online-users.js +1 -1
  342. package/lib/open-popover-tracker.d.ts +4 -5
  343. package/lib/palette-generator.d.ts +5 -5
  344. package/lib/palettes/common.d.ts +2 -3
  345. package/lib/palettes/neutral-arch.d.ts +2 -3
  346. package/lib/palettes/neutral-user.d.ts +2 -3
  347. package/lib/palettes/neutral.d.ts +2 -3
  348. package/lib/palettes/warm-arch.d.ts +2 -3
  349. package/lib/palettes/warm-user.d.ts +2 -3
  350. package/lib/palettes/warm.d.ts +3 -4
  351. package/lib/phone-media-query.d.ts +4 -5
  352. package/lib/phone-media-query.js +1 -1
  353. package/lib/phone.d.ts +6 -5
  354. package/lib/platform-symbols.d.ts +8 -9
  355. package/lib/platform.d.ts +4 -5
  356. package/lib/popover/get-element-ref.d.ts +5 -3
  357. package/lib/popover/get-element-ref.js +1 -7
  358. package/lib/popover/index.d.ts +7 -6
  359. package/lib/popover/mobile-popover-context.d.ts +2 -2
  360. package/lib/popover/mobile-popover.d.ts +4 -5
  361. package/lib/popover/modifiers.d.ts +4 -5
  362. package/lib/popover/popup-modifiers-context.d.ts +2 -3
  363. package/lib/popover/popup-stack-context.d.ts +3 -3
  364. package/lib/popover/reference.d.ts +3 -4
  365. package/lib/popover/styles.d.ts +4 -5
  366. package/lib/popover/use-click-outside.d.ts +2 -3
  367. package/lib/preference-setting.d.ts +2 -3
  368. package/lib/pretty-size.d.ts +2 -3
  369. package/lib/progress.d.ts +6 -7
  370. package/lib/random.d.ts +2 -3
  371. package/lib/reactions/get-word-divider.d.ts +2 -3
  372. package/lib/reactions/reaction-button.d.ts +4 -4
  373. package/lib/reactions/reaction-picker.d.ts +3 -4
  374. package/lib/reactions/reactions.d.ts +2 -3
  375. package/lib/reactions/tootltip.d.ts +5 -6
  376. package/lib/ready-to-scroll-context.d.ts +3 -4
  377. package/lib/rich-input-loader.d.ts +3 -6
  378. package/lib/rich-input-loader.js +7 -32
  379. package/lib/rich-text-embed-error.d.ts +3 -4
  380. package/lib/root-theme-provider.d.ts +3 -4
  381. package/lib/root-theme-provider.wyw-in-js.css +1 -1
  382. package/lib/scale-generator.d.ts +17 -18
  383. package/lib/scroll-fade.d.ts +2 -3
  384. package/lib/select/components/clear-indicator.d.ts +3 -4
  385. package/lib/select/components/drop-down-indicator.d.ts +4 -4
  386. package/lib/select/components/group-heading.d.ts +4 -5
  387. package/lib/select/components/menu-list-virtua.d.ts +2 -3
  388. package/lib/select/components/menu-list-virtua.js +8 -2
  389. package/lib/select/components/menu-list-virtualized.d.ts +2 -3
  390. package/lib/select/components/menu-list-virtualized.js +9 -3
  391. package/lib/select/components/menu.d.ts +7 -8
  392. package/lib/select/components/no-option-message.d.ts +3 -3
  393. package/lib/select/components/option.d.ts +5 -6
  394. package/lib/select/constants.d.ts +2 -3
  395. package/lib/select/index.d.ts +4 -4
  396. package/lib/select/reflection.d.ts +3 -4
  397. package/lib/select/select-control-settings-context.d.ts +6 -7
  398. package/lib/select/select-in-popover.d.ts +7 -8
  399. package/lib/select/select-loader.d.ts +2 -3
  400. package/lib/select/select-loader.js +1 -4
  401. package/lib/select/select-mock-context.d.ts +2 -3
  402. package/lib/select/select-trigger.d.ts +2 -3
  403. package/lib/select/select.d.ts +7 -7
  404. package/lib/select/styles.d.ts +8 -9
  405. package/lib/select/util.d.ts +6 -7
  406. package/lib/sidebar/sidebar-handle.d.ts +2 -3
  407. package/lib/sidebar/sidebar.d.ts +9 -8
  408. package/lib/sidebar/sidebar.js +8 -2
  409. package/lib/sidebar/sidebar.wyw-in-js.css +1 -1
  410. package/lib/sidebar/use-resize-drag.d.ts +3 -4
  411. package/lib/skeleton-card.d.ts +3 -4
  412. package/lib/skeleton-entity-box.d.ts +6 -0
  413. package/lib/skeleton-entity-box.js +16 -0
  414. package/lib/skeleton-entity-box.wyw-in-js.css +1 -0
  415. package/lib/skeleton.d.ts +33 -18
  416. package/lib/skeleton.js +45 -22
  417. package/lib/skeleton.wyw-in-js.css +4 -5
  418. package/lib/spinner-box.d.ts +6 -6
  419. package/lib/spinner-box.js +9 -2
  420. package/lib/spinner.d.ts +5 -4
  421. package/lib/spinner.js +12 -16
  422. package/lib/spinner.wyw-in-js.css +6 -2
  423. package/lib/static-palettes.d.ts +3 -4
  424. package/lib/styles-utils.d.ts +3 -4
  425. package/lib/tab-nav/tab-nav.d.ts +8 -9
  426. package/lib/table.d.ts +8 -9
  427. package/lib/thematic-color-picker.d.ts +8 -9
  428. package/lib/thematic-constants.d.ts +5 -6
  429. package/lib/thematic-controls.d.ts +15 -16
  430. package/lib/thematic-cvd.d.ts +3 -4
  431. package/lib/thematic-highlights.d.ts +3 -4
  432. package/lib/thematic-scales.d.ts +8 -9
  433. package/lib/thematic-state.d.ts +4 -5
  434. package/lib/thematic-swatch-adjust.d.ts +3 -4
  435. package/lib/thematic.d.ts +2 -3
  436. package/lib/theme-bootstrap.d.ts +10 -11
  437. package/lib/theme-provider.d.ts +24 -23
  438. package/lib/theme-settings-core.d.ts +12 -12
  439. package/lib/theme-settings.d.ts +3 -3
  440. package/lib/theme-styles.d.ts +3 -4
  441. package/lib/theme.js +1 -2
  442. package/lib/theming.build.d.ts +3 -4
  443. package/lib/theming.generated.d.ts +34 -25
  444. package/lib/theming.generated.js +25 -15
  445. package/lib/toast/primitives.d.ts +6 -7
  446. package/lib/toast/toast-action.d.ts +4 -6
  447. package/lib/toast/toast-provider.d.ts +3 -4
  448. package/lib/toast/toast-queue.d.ts +4 -5
  449. package/lib/toast/toast.d.ts +3 -4
  450. package/lib/toast/toast.js +1 -1
  451. package/lib/toast/toast.wyw-in-js.css +2 -2
  452. package/lib/toast/toaster.d.ts +2 -3
  453. package/lib/toast/utils/toastify-item-name.d.ts +3 -4
  454. package/lib/toggle-button/round-toggle-button.d.ts +2 -3
  455. package/lib/toggle-button/toggle-button-group.d.ts +4 -5
  456. package/lib/toggle-button/toggle-button.d.ts +10 -11
  457. package/lib/toggle-button/toggle-button.js +1 -1
  458. package/lib/toggle-on-off.d.ts +2 -3
  459. package/lib/toggle.d.ts +3 -4
  460. package/lib/toggle.js +7 -3
  461. package/lib/toggle.wyw-in-js.css +6 -5
  462. package/lib/tooltip-if-overflown.d.ts +4 -4
  463. package/lib/tooltip.d.ts +11 -12
  464. package/lib/tree-utils.d.ts +13 -14
  465. package/lib/type-badge-box.d.ts +2 -3
  466. package/lib/type-badge.d.ts +7 -8
  467. package/lib/type-label.d.ts +2 -3
  468. package/lib/unit/as-string.d.ts +2 -3
  469. package/lib/unit/container.d.ts +3 -4
  470. package/lib/unit/context.d.ts +7 -8
  471. package/lib/unit/labeled-unit.d.ts +5 -6
  472. package/lib/unit/loading-unit-value.d.ts +3 -4
  473. package/lib/unit/maybe-unit-value.d.ts +2 -3
  474. package/lib/unit/nav-button.d.ts +4 -5
  475. package/lib/unit/styles.d.ts +14 -15
  476. package/lib/unit/unit-content-layout.d.ts +3 -4
  477. package/lib/unit/unit-content.d.ts +2 -3
  478. package/lib/unit/unit.d.ts +5 -5
  479. package/lib/use-is-media-query-matched.d.ts +2 -3
  480. package/lib/use-is-phone.d.ts +3 -3
  481. package/lib/use-is-support-hardware-keyboard.d.ts +2 -3
  482. package/lib/use-is-support-hover.d.ts +2 -3
  483. package/lib/use-long-press.d.ts +3 -4
  484. package/lib/use-long-press.js +2 -2
  485. package/lib/use-me.d.ts +1 -1
  486. package/lib/use-navigation.d.ts +1 -1
  487. package/lib/use-on-screen-keyboard-data.d.ts +3 -3
  488. package/package.json +12 -12
  489. package/lib/ai/max-tokens.d.ts +0 -11
  490. package/lib/ai/max-tokens.js +0 -25
  491. package/lib/ai/max-tokens.wyw-in-js.css +0 -1
  492. package/lib/ai/temperature.d.ts +0 -8
  493. package/lib/ai/temperature.js +0 -51
  494. package/lib/ai/temperature.wyw-in-js.css +0 -1
  495. package/lib/icons/ast/suggestions-comments.d.ts +0 -5
  496. package/lib/icons/ast/suggestions-comments.js +0 -39
  497. package/lib/icons/ast/suggestions.d.ts +0 -5
  498. package/lib/icons/ast/suggestions.js +0 -30
  499. package/lib/number-input/number-input-inline-with-autosize.d.ts +0 -9
  500. package/lib/number-input/number-input-inline-with-autosize.js +0 -93
  501. package/lib/number-input/number-input-inline-with-autosize.wyw-in-js.css +0 -2
  502. package/lib/number-input/stack.d.ts +0 -10
  503. package/lib/number-input/stack.js +0 -14
  504. package/lib/number-input/stack.wyw-in-js.css +0 -1
  505. package/lib/number-input/styles.wyw-in-js.css +0 -4
  506. package/lib/number-input/text-area-auto-sized.d.ts +0 -9
  507. package/lib/number-input/text-area-auto-sized.js +0 -38
  508. package/lib/number-input/text-area-auto-sized.wyw-in-js.css +0 -1
  509. package/lib/number-input/text-input-auto-sized.d.ts +0 -10
  510. package/lib/number-input/text-input-auto-sized.js +0 -37
@@ -1,7 +1,6 @@
1
1
  //#region src/color-inspect.d.ts
2
- type Opts = {
2
+ export type Opts = {
3
3
  separator?: string;
4
4
  };
5
- declare function inspectColor(color: string, opts?: Opts): string;
6
- //#endregion
7
- export { Opts, inspectColor };
5
+ export declare function inspectColor(color: string, opts?: Opts): string;
6
+ //#endregion
@@ -1,6 +1,5 @@
1
1
  import { ColorPicker } from "./index.js";
2
2
  //#region src/color-picker/color-picker-or-loader.d.ts
3
3
  declare const LazyColorPicker: import("react").LazyExoticComponent<typeof ColorPicker>;
4
- declare const ColorPickerOrLoader: (props: React.ComponentProps<typeof LazyColorPicker>) => import("react/jsx-runtime").JSX.Element;
5
- //#endregion
6
- export { ColorPickerOrLoader };
4
+ export declare const ColorPickerOrLoader: (props: React.ComponentProps<typeof LazyColorPicker>) => import("react").JSX.Element;
5
+ //#endregion
@@ -11,7 +11,7 @@ var LazyColorPicker = lazy(async () => {
11
11
  var ColorPickerOrLoader = (props) => /* @__PURE__ */ jsx(Suspense, {
12
12
  fallback: jsx("div", {
13
13
  className: colorPickerLoaderStyle,
14
- children: "Loading color picker component…"
14
+ children: "Loading colors…"
15
15
  }),
16
16
  children: jsx(LazyColorPicker, { ...props })
17
17
  });
@@ -1,5 +1,5 @@
1
1
  //#region src/color-picker/index.d.ts
2
- type ColorPickerProps = {
2
+ export type ColorPickerProps = {
3
3
  color: string;
4
4
  getSwatchHoverColor?: (color: string) => string | undefined;
5
5
  getColorOverrideFn?: (color: string) => string;
@@ -10,6 +10,5 @@ type ColorPickerProps = {
10
10
  containerClassName?: string;
11
11
  [key: string]: unknown;
12
12
  };
13
- declare const ColorPicker: ({ color, getSwatchHoverColor, getColorOverrideFn, colors, onChangeComplete, containerClassName }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element;
14
- //#endregion
15
- export { ColorPicker, ColorPickerProps };
13
+ export declare const ColorPicker: ({ color, getSwatchHoverColor, getColorOverrideFn, colors, onChangeComplete, containerClassName }: ColorPickerProps) => import("react").JSX.Element;
14
+ //#endregion
@@ -1,4 +1,3 @@
1
1
  //#region src/color-picker/slider-pointer.d.ts
2
- declare const SliderPointer: () => import("react/jsx-runtime").JSX.Element;
3
- //#endregion
4
- export { SliderPointer };
2
+ export declare const SliderPointer: () => import("react").JSX.Element;
3
+ //#endregion
@@ -6,6 +6,5 @@ type SwatchProps = {
6
6
  selected?: boolean;
7
7
  custom?: boolean;
8
8
  } & Omit<IconButtonProps, "color">;
9
- declare const Swatch: import("react").ForwardRefExoticComponent<Omit<SwatchProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
10
- //#endregion
11
- export { Swatch };
9
+ export declare const Swatch: import("react").ForwardRefExoticComponent<Omit<SwatchProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
10
+ //#endregion
@@ -1,20 +1,20 @@
1
1
  import { Color, Oklch, Rgb, hsl as hslFrom, oklch as oklchFrom, rgb as rgbFrom } from "culori";
2
2
  //#region src/color-utils.d.ts
3
- declare const isValidColor: (color: string) => boolean;
4
- declare const invalidColorFallback = "rgb(94, 94, 94)";
5
- declare function colorFromUnsafe(color: string, fallback?: string): Color;
6
- declare function getColorDistance(color1: string, color2: string): number;
3
+ export declare const isValidColor: (color: string) => boolean;
4
+ export declare const invalidColorFallback = "rgb(94, 94, 94)";
5
+ export declare function colorFromUnsafe(color: string, fallback?: string): Color;
6
+ export declare function getColorDistance(color1: string, color2: string): number;
7
7
  /** @deprecated use apcach automatic methods instead of manual wcag measurements */
8
- declare function getLuminance(color: string): number;
9
- declare function cssFromColor(color: Color): string;
8
+ export declare function getLuminance(color: string): number;
9
+ export declare function cssFromColor(color: Color): string;
10
10
  type ColorTransform<T extends Color> = (color: T) => T | void;
11
- declare function produceColor(color: string, transforms: ColorTransform<Oklch> | ColorTransform<Oklch>[]): string;
12
- declare function cssFromUnsafe(color: string): string;
13
- declare function serializeHexVariadic(color: Rgb): string;
14
- declare function serializeHexVariadic(color: string): string | undefined;
11
+ export declare function produceColor(color: string, transforms: ColorTransform<Oklch> | ColorTransform<Oklch>[]): string;
12
+ export declare function cssFromUnsafe(color: string): string;
13
+ export declare function serializeHexVariadic(color: Rgb): string;
14
+ export declare function serializeHexVariadic(color: string): string | undefined;
15
15
  /** Composite a possibly-transparent color over a backdrop (Porter-Duff "over"). */
16
- declare function flattenAlpha(fg: Color, bg: Color): Rgb;
16
+ export declare function flattenAlpha(fg: Color, bg: Color): Rgb;
17
17
  /** CSS `color-mix(in srgb, a (1-t)*100%, b t*100%)` equivalent. */
18
- declare function mixSrgb(a: string, b: string, t: number): string;
18
+ export declare function mixSrgb(a: string, b: string, t: number): string;
19
19
  //#endregion
20
- export { type Color, colorFromUnsafe, cssFromColor, cssFromUnsafe, flattenAlpha, getColorDistance, getLuminance, hslFrom, invalidColorFallback, isValidColor, mixSrgb, oklchFrom, produceColor, rgbFrom, serializeHexVariadic };
20
+ export { type Color, hslFrom, oklchFrom, rgbFrom };
@@ -1,5 +1,5 @@
1
1
  //#region src/command-menu/index.d.ts
2
- declare const CommandMenuRoot: {
2
+ export declare const CommandMenuRoot: {
3
3
  __wyw_meta: unknown;
4
4
  } & import("react").ForwardRefExoticComponent<{
5
5
  children?: React.ReactNode;
@@ -18,7 +18,7 @@ declare const CommandMenuRoot: {
18
18
  disablePointerSelection?: boolean;
19
19
  vimBindings?: boolean;
20
20
  } & import("react").RefAttributes<HTMLDivElement>>;
21
- declare const CommandMenuInput: import("react").ForwardRefExoticComponent<Omit<Omit<Pick<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>> & {
21
+ export declare const CommandMenuInput: import("react").ForwardRefExoticComponent<Omit<Omit<Pick<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>> & {
22
22
  ref?: React.Ref<HTMLInputElement>;
23
23
  } & {
24
24
  asChild?: boolean;
@@ -26,7 +26,7 @@ declare const CommandMenuInput: import("react").ForwardRefExoticComponent<Omit<O
26
26
  value?: string;
27
27
  onValueChange?: (search: string) => void;
28
28
  } & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
29
- declare const CommandMenuList: {
29
+ export declare const CommandMenuList: {
30
30
  __wyw_meta: unknown;
31
31
  } & import("react").ForwardRefExoticComponent<{
32
32
  children?: React.ReactNode;
@@ -37,7 +37,7 @@ declare const CommandMenuList: {
37
37
  }, "asChild" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
38
38
  label?: string;
39
39
  } & import("react").RefAttributes<HTMLDivElement>>;
40
- declare const CommandMenuEmpty: {
40
+ export declare const CommandMenuEmpty: {
41
41
  __wyw_meta: unknown;
42
42
  } & import("react").ForwardRefExoticComponent<{
43
43
  children?: React.ReactNode;
@@ -46,7 +46,7 @@ declare const CommandMenuEmpty: {
46
46
  } & {
47
47
  asChild?: boolean;
48
48
  }, "asChild" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
49
- declare const CommandMenuGroup: {
49
+ export declare const CommandMenuGroup: {
50
50
  __wyw_meta: unknown;
51
51
  } & import("react").ForwardRefExoticComponent<{
52
52
  children?: React.ReactNode;
@@ -59,7 +59,7 @@ declare const CommandMenuGroup: {
59
59
  value?: string;
60
60
  forceMount?: boolean;
61
61
  } & import("react").RefAttributes<HTMLDivElement>>;
62
- declare const CommandMenuSeparator: {
62
+ export declare const CommandMenuSeparator: {
63
63
  __wyw_meta: unknown;
64
64
  } & import("react").ForwardRefExoticComponent<Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
65
65
  ref?: React.Ref<HTMLDivElement>;
@@ -68,8 +68,8 @@ declare const CommandMenuSeparator: {
68
68
  }, "asChild" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
69
69
  alwaysRender?: boolean;
70
70
  } & import("react").RefAttributes<HTMLDivElement>>;
71
- declare const commandItemCss: import("@linaria/core").LinariaClassName;
72
- declare const CommandMenuItem: import("react").ForwardRefExoticComponent<Omit<{
71
+ export declare const commandItemCss: import("@linaria/core").LinariaClassName;
72
+ export declare const CommandMenuItem: import("react").ForwardRefExoticComponent<Omit<{
73
73
  children?: React.ReactNode;
74
74
  } & Omit<Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
75
75
  ref?: React.Ref<HTMLDivElement>;
@@ -85,5 +85,4 @@ declare const CommandMenuItem: import("react").ForwardRefExoticComponent<Omit<{
85
85
  icon?: React.ReactNode;
86
86
  rightIcon?: React.ReactNode;
87
87
  } & import("react").RefAttributes<HTMLDivElement>>;
88
- //#endregion
89
- export { CommandMenuEmpty, CommandMenuGroup, CommandMenuInput, CommandMenuItem, CommandMenuList, CommandMenuRoot, CommandMenuSeparator, commandItemCss };
88
+ //#endregion
@@ -1,6 +1,6 @@
1
- import { ReactNode } from "react";
1
+ import React, { ReactNode } from "react";
2
2
  //#region src/command-menu/nested-command-menu.d.ts
3
- type NestedMenuItem<T> = {
3
+ export type NestedMenuItem<T> = {
4
4
  key: string;
5
5
  title?: string;
6
6
  icon?: ReactNode;
@@ -12,7 +12,7 @@ type NestedMenuItem<T> = {
12
12
  kind?: "separator" | "group";
13
13
  showNestedItemsOnClick?: boolean;
14
14
  };
15
- type NestedMenuStack<T> = Array<{
15
+ export type NestedMenuStack<T> = Array<{
16
16
  item: NestedMenuItem<T>;
17
17
  nestedItems: NestedMenuItem<T>[];
18
18
  }>;
@@ -26,6 +26,5 @@ type Props<T> = {
26
26
  getArrowTooltipMessage: (item: NestedMenuItem<T>) => string;
27
27
  maxDepthLevel?: number;
28
28
  };
29
- declare function NestedCommandMenu<T>({ defaultStack, defaultValue, rootItems, onChange, filterPlaceholder, emptyMessage, getArrowTooltipMessage, maxDepthLevel }: Props<T>): import("react/jsx-runtime").JSX.Element;
30
- //#endregion
31
- export { NestedCommandMenu, NestedMenuItem, NestedMenuStack };
29
+ export declare function NestedCommandMenu<T>({ defaultStack, defaultValue, rootItems, onChange, filterPlaceholder, emptyMessage, getArrowTooltipMessage, maxDepthLevel }: Props<T>): React.JSX.Element;
30
+ //#endregion
@@ -6,6 +6,7 @@ import ArrowRight from "../icons/react/arrow-right.js";
6
6
  import ArrowBack from "../icons/react/arrow-back.js";
7
7
  import { CommandMenuEmpty, CommandMenuGroup, CommandMenuInput, CommandMenuItem, CommandMenuList, CommandMenuRoot, CommandMenuSeparator, commandItemCss } from "./index.js";
8
8
  /* empty css */
9
+ import { truthy } from "@fibery/helpers/src/_";
9
10
  import { cx } from "@linaria/core";
10
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
12
  import React, { forwardRef, useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -53,7 +54,7 @@ function NestedCommandMenu({ defaultStack, defaultValue, rootItems, onChange, fi
53
54
  } : null;
54
55
  }
55
56
  return isItemMatchFilter(item, lowerCaseFilterValue) ? item : null;
56
- }).filter(Boolean);
57
+ }).filter(truthy);
57
58
  }, [filter, currentItems]);
58
59
  const inputRef = useRef(null);
59
60
  useEffect(() => {
package/lib/comment.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { FC, ReactNode } from "react";
2
2
  //#region src/comment.d.ts
3
- declare const commentContentStyle: import("@linaria/core").LinariaClassName;
4
- declare const commentStyle: import("@linaria/core").LinariaClassName;
5
- declare const defaultCommentStyle: import("@linaria/core").LinariaClassName;
3
+ export declare const commentContentStyle: import("@linaria/core").LinariaClassName;
4
+ export declare const commentStyle: import("@linaria/core").LinariaClassName;
5
+ export declare const defaultCommentStyle: import("@linaria/core").LinariaClassName;
6
6
  interface CommentProps {
7
7
  author?: ReactNode;
8
8
  authorTitle?: string;
@@ -12,7 +12,7 @@ interface CommentProps {
12
12
  actions?: ReactNode;
13
13
  customItemStyle?: string;
14
14
  icon?: ReactNode;
15
- date?: string;
15
+ date?: string | number;
16
16
  children?: ReactNode;
17
17
  avatarSize?: number;
18
18
  dateTimeFormat?: string;
@@ -20,11 +20,10 @@ interface CommentProps {
20
20
  actionsShowed?: boolean;
21
21
  badge?: ReactNode;
22
22
  }
23
- declare const actionsClassName: import("@linaria/core").LinariaClassName;
24
- declare const Comment: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<CommentProps & import("react").RefAttributes<HTMLDivElement>>>;
25
- declare const CommentPlaceholder: FC;
26
- declare const ErrorComment: FC<{
23
+ export declare const actionsClassName: import("@linaria/core").LinariaClassName;
24
+ export declare const Comment: import("react").NamedExoticComponent<CommentProps & import("react").RefAttributes<HTMLDivElement>>;
25
+ export declare const CommentPlaceholder: FC;
26
+ export declare const ErrorComment: FC<{
27
27
  error?: ReactNode;
28
28
  }>;
29
- //#endregion
30
- export { Comment, CommentPlaceholder, ErrorComment, actionsClassName, commentContentStyle, commentStyle, defaultCommentStyle };
29
+ //#endregion
@@ -1,9 +1,9 @@
1
1
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
2
2
  //#region src/context-menu/index.d.ts
3
- declare const Root: (contextMenuProps: ContextMenuPrimitive.ContextMenuProps) => import("react/jsx-runtime").JSX.Element;
4
- declare const Portal: import("react").FC<ContextMenuPrimitive.ContextMenuPortalProps>;
5
- declare const Trigger: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & import("react").RefAttributes<HTMLSpanElement>>;
6
- declare const rowItemStyles: {
3
+ export declare const Root: (contextMenuProps: ContextMenuPrimitive.ContextMenuProps) => import("react").JSX.Element;
4
+ export declare const Portal: import("react").FC<ContextMenuPrimitive.ContextMenuPortalProps>;
5
+ export declare const Trigger: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & import("react").RefAttributes<HTMLSpanElement>>;
6
+ export declare const rowItemStyles: {
7
7
  fontFamily: "\"Inter Variable\", \"SF Pro Display\", -apple-system, BlinkMacSystemFont, \"Segoe UI Variable Display\", \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif";
8
8
  fontSize: 14;
9
9
  lineHeight: 1.5;
@@ -45,25 +45,24 @@ declare const rowItemStyles: {
45
45
  padding: string;
46
46
  };
47
47
  };
48
- type ContentProps = ContextMenuPrimitive.ContextMenuContentProps;
49
- declare const Content: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
50
- declare const Item: {
48
+ export type ContentProps = ContextMenuPrimitive.ContextMenuContentProps;
49
+ export declare const Content: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
50
+ export declare const Item: {
51
51
  __wyw_meta: unknown;
52
52
  } & import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
53
- declare const CheckboxItem: {
53
+ export declare const CheckboxItem: {
54
54
  __wyw_meta: unknown;
55
55
  } & import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>>;
56
- declare const Separator: {
56
+ export declare const Separator: {
57
57
  __wyw_meta: unknown;
58
58
  } & import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>>;
59
- declare const Group: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
60
- declare const Label: {
59
+ export declare const Group: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
60
+ export declare const Label: {
61
61
  __wyw_meta: unknown;
62
62
  } & import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuLabelProps & import("react").RefAttributes<HTMLDivElement>>;
63
- declare const Sub: import("react").FC<ContextMenuPrimitive.ContextMenuSubProps>;
64
- declare const SubContent: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>>;
65
- declare const SubTrigger: {
63
+ export declare const Sub: import("react").FC<ContextMenuPrimitive.ContextMenuSubProps>;
64
+ export declare const SubContent: import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>>;
65
+ export declare const SubTrigger: {
66
66
  __wyw_meta: unknown;
67
67
  } & import("react").ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>>;
68
- //#endregion
69
- export { CheckboxItem, Content, ContentProps, Group, Item, Label, Portal, Root, Separator, Sub, SubContent, SubTrigger, Trigger, rowItemStyles };
68
+ //#endregion
@@ -1,8 +1,7 @@
1
1
  //#region src/copy-to-clipboard.d.ts
2
- declare const copyToClipboard: (text: string) => Promise<void>;
3
- declare const copyUrlToClipboard: ({ url, label }: {
2
+ export declare const copyToClipboard: (text: string) => Promise<void>;
3
+ export declare const copyUrlToClipboard: ({ url, label }: {
4
4
  url: string;
5
5
  label?: string;
6
6
  }) => Promise<void>;
7
- //#endregion
8
- export { copyToClipboard, copyUrlToClipboard };
7
+ //#endregion
@@ -5,14 +5,13 @@ type Props = {
5
5
  count: number;
6
6
  limit?: number;
7
7
  };
8
- declare function CountBadge({ className, count, limit }: Props): import("react/jsx-runtime").JSX.Element;
9
- declare function CountBadgeWithNoLimits({ count, warning }: {
8
+ export declare function CountBadge({ className, count, limit }: Props): import("react").JSX.Element;
9
+ export declare function CountBadgeWithNoLimits({ count, warning }: {
10
10
  count: number | string;
11
11
  warning?: boolean;
12
- }): import("react/jsx-runtime").JSX.Element;
13
- declare const ContentWithBadge: ({ badge, children }: {
12
+ }): import("react").JSX.Element;
13
+ export declare const ContentWithBadge: ({ badge, children }: {
14
14
  badge: ReactNode;
15
15
  children: ReactNode;
16
- }) => import("react/jsx-runtime").JSX.Element;
17
- //#endregion
18
- export { ContentWithBadge, CountBadge, CountBadgeWithNoLimits };
16
+ }) => import("react").JSX.Element;
17
+ //#endregion
@@ -1,15 +1,14 @@
1
1
  //#region src/date-picker/autocomplete.d.ts
2
- type Option = {
2
+ export type Option = {
3
3
  label: string;
4
4
  value: string;
5
5
  };
6
- type OnChangeArgs = Option | null;
7
- declare const AutoComplete: ({ value, timeFormat, onChange, menuIsOpen, position }: {
6
+ export type OnChangeArgs = Option | null;
7
+ export declare const AutoComplete: ({ value, timeFormat, onChange, menuIsOpen, position }: {
8
8
  value: Date | null;
9
9
  timeFormat?: string;
10
10
  onChange: (args: OnChangeArgs) => void;
11
11
  menuIsOpen: boolean;
12
12
  position: number;
13
- }) => import("react/jsx-runtime").JSX.Element;
14
- //#endregion
15
- export { AutoComplete, OnChangeArgs, Option };
13
+ }) => import("react").JSX.Element;
14
+ //#endregion
@@ -1,6 +1,5 @@
1
1
  //#region src/date-picker/constants.d.ts
2
- declare const datesSeparator = " → ";
3
- declare const hourMinuteSeparator = ":";
4
- declare const timeFormat = "HH:mm";
5
- //#endregion
6
- export { datesSeparator, hourMinuteSeparator, timeFormat };
2
+ export declare const datesSeparator = " → ";
3
+ export declare const hourMinuteSeparator = ":";
4
+ export declare const timeFormat = "HH:mm";
5
+ //#endregion
@@ -1,8 +1,7 @@
1
1
  import { Dispatch, SetStateAction } from "react";
2
2
  //#region src/date-picker/contexts.d.ts
3
- declare const StartEndFocusContext: import("react").Context<{
3
+ export declare const StartEndFocusContext: import("react").Context<{
4
4
  focusOnStart: boolean;
5
5
  setFocusOnStart: Dispatch<SetStateAction<boolean>>;
6
6
  }>;
7
- //#endregion
8
- export { StartEndFocusContext };
7
+ //#endregion
@@ -1,10 +1,11 @@
1
+ import { DatePickerShowTime } from "./types.js";
1
2
  import React from "react";
2
3
  import { MonthChangeEventHandler } from "react-day-picker";
3
4
  //#region src/date-picker/date-range-input.d.ts
4
- declare const DateRangeInput: React.ForwardRefExoticComponent<{
5
+ export declare const DateRangeInput: React.ForwardRefExoticComponent<{
5
6
  startValue: Date | null;
6
7
  endValue: Date | null;
7
- showTime: boolean;
8
+ showTime: DatePickerShowTime;
8
9
  dateFormat?: string;
9
10
  timeFormat?: string;
10
11
  dateTimeFormat?: string;
@@ -19,5 +20,4 @@ declare const DateRangeInput: React.ForwardRefExoticComponent<{
19
20
  } & React.RefAttributes<{
20
21
  setValue: (value: string) => void;
21
22
  }>>;
22
- //#endregion
23
- export { DateRangeInput };
23
+ //#endregion
@@ -47,7 +47,7 @@ var DateRangeInput = forwardRef(({ startValue, endValue, showTime, dateFormat, t
47
47
  onMonthChange,
48
48
  startValue
49
49
  ]);
50
- const timeoutIdRef = useRef();
50
+ const timeoutIdRef = useRef(void 0);
51
51
  const onClick = useCallback((e) => {
52
52
  const input = e.target;
53
53
  if (showTime) timeoutIdRef.current = setTimeout(() => {
@@ -1,16 +1,15 @@
1
1
  import { DatePickerCommonProps, NativeDateRangePickerProps } from "./types.js";
2
2
  //#region src/date-picker/date-range-picker-popup-content.d.ts
3
- declare const sortDates: ({ from, to }: {
3
+ export declare const sortDates: ({ from, to }: {
4
4
  from: Date;
5
5
  to: Date;
6
6
  }) => {
7
7
  from: Date;
8
8
  to: Date;
9
9
  };
10
- declare const DateRangePickerPopupContent: import("react").ForwardRefExoticComponent<DatePickerCommonProps & NativeDateRangePickerProps & {
10
+ export declare const DateRangePickerPopupContent: import("react").ForwardRefExoticComponent<DatePickerCommonProps & NativeDateRangePickerProps & {
11
11
  autoFocus?: boolean;
12
12
  } & import("react").RefAttributes<{
13
13
  setValue: (value: string) => void;
14
14
  }>>;
15
- //#endregion
16
- export { DateRangePickerPopupContent, sortDates };
15
+ //#endregion
@@ -2,11 +2,10 @@ import { ControlledDatePickerProps, DatePickerCommonProps, MomentDateRangeProps
2
2
  import { PopoverContentProps } from "../popover/index.js";
3
3
  import "react-day-picker/dist/style.css";
4
4
  //#region src/date-picker/date-range-picker.d.ts
5
- declare const DateRangePicker: import("react").ForwardRefExoticComponent<DatePickerCommonProps & ControlledDatePickerProps & MomentDateRangeProps & Pick<PopoverContentProps, "offset"> & import("react").RefAttributes<{
5
+ export declare const DateRangePicker: import("react").ForwardRefExoticComponent<DatePickerCommonProps & ControlledDatePickerProps & MomentDateRangeProps & Pick<PopoverContentProps, "offset"> & import("react").RefAttributes<{
6
6
  setValue: (value: string) => void;
7
7
  }>>;
8
- declare const ControlledDateRangePicker: (props: DatePickerCommonProps & MomentDateRangeProps & Pick<PopoverContentProps, "offset"> & import("react").RefAttributes<{
8
+ export declare const ControlledDateRangePicker: (props: DatePickerCommonProps & MomentDateRangeProps & Pick<PopoverContentProps, "offset"> & import("react").RefAttributes<{
9
9
  setValue: (value: string) => void;
10
- }>) => import("react/jsx-runtime").JSX.Element;
11
- //#endregion
12
- export { ControlledDateRangePicker, DateRangePicker };
10
+ }>) => import("react").JSX.Element;
11
+ //#endregion
@@ -1,8 +1,7 @@
1
1
  import { DayProps } from "react-day-picker";
2
2
  //#region src/date-picker/day-with-start-end-buttons.d.ts
3
- declare const copyTime: (prev: Date | null, next: Date) => Date;
4
- declare const DayWithStartEndButtons: (props: DayProps & {
3
+ export declare const copyTime: (prev: Date | null, next: Date) => Date;
4
+ export declare const DayWithStartEndButtons: (props: DayProps & {
5
5
  className?: string;
6
- }) => import("react/jsx-runtime").JSX.Element;
7
- //#endregion
8
- export { DayWithStartEndButtons, copyTime };
6
+ }) => import("react").JSX.Element;
7
+ //#endregion
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { JSX } from "react";
2
2
  //#region src/date-picker/fake-date-input.d.ts
3
3
  type Props = {
4
4
  children: JSX.Element;
@@ -6,6 +6,5 @@ type Props = {
6
6
  isPickerOpen: boolean;
7
7
  size?: "small" | "medium";
8
8
  };
9
- declare const FakeDateInputWrapper: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
10
- //#endregion
11
- export { FakeDateInputWrapper };
9
+ export declare const FakeDateInputWrapper: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
10
+ //#endregion
@@ -1,4 +1,3 @@
1
1
  //#region src/date-picker/get-weekends-for-month.d.ts
2
- declare const getWeekendsForMonth: (date: Date, weekends: number[]) => Date[];
3
- //#endregion
4
- export { getWeekendsForMonth };
2
+ export declare const getWeekendsForMonth: (date: Date, weekends: number[]) => Date[];
3
+ //#endregion
@@ -1,13 +1,12 @@
1
1
  //#region src/date-picker/rc-input-types.d.ts
2
- interface InputFocusOptions extends FocusOptions {
2
+ export interface InputFocusOptions extends FocusOptions {
3
3
  cursor?: "start" | "end" | "all";
4
4
  }
5
- interface InputRef {
5
+ export interface InputRef {
6
6
  focus: (options?: InputFocusOptions) => void;
7
7
  blur: () => void;
8
8
  setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
9
9
  select: () => void;
10
10
  input: HTMLInputElement | null;
11
11
  }
12
- //#endregion
13
- export { InputFocusOptions, InputRef };
12
+ //#endregion
@@ -7,6 +7,5 @@ type RelativeDatePickerProps = {
7
7
  disableFutureSelection?: boolean;
8
8
  autoFocus?: boolean;
9
9
  };
10
- declare const RelativeDatePicker: (props: RelativeDatePickerProps) => import("react/jsx-runtime").JSX.Element;
11
- //#endregion
12
- export { RelativeDatePicker };
10
+ export declare const RelativeDatePicker: (props: RelativeDatePickerProps) => import("react").JSX.Element;
11
+ //#endregion
@@ -1,9 +1,10 @@
1
+ import { DatePickerShowTime } from "./types.js";
1
2
  import React from "react";
2
3
  import { MonthChangeEventHandler } from "react-day-picker";
3
4
  //#region src/date-picker/single-date-input.d.ts
4
- declare const SingleDateInput: React.ForwardRefExoticComponent<{
5
+ export declare const SingleDateInput: React.ForwardRefExoticComponent<{
5
6
  value: Date | null;
6
- showTime: boolean;
7
+ showTime: DatePickerShowTime;
7
8
  dateFormat?: string;
8
9
  timeFormat?: string;
9
10
  dateTimeFormat?: string;
@@ -17,5 +18,4 @@ declare const SingleDateInput: React.ForwardRefExoticComponent<{
17
18
  } & React.RefAttributes<{
18
19
  setValue: (value: string) => void;
19
20
  }>>;
20
- //#endregion
21
- export { SingleDateInput };
21
+ //#endregion
@@ -31,7 +31,7 @@ var SingleDateInput = forwardRef(({ value, showTime, dateFormat, timeFormat, dat
31
31
  setInputValue(e.target.value);
32
32
  }, []);
33
33
  const [timeAutoComplete, setTimeAutoComplete] = useState(false);
34
- const timeoutIdRef = useRef();
34
+ const timeoutIdRef = useRef(void 0);
35
35
  const onClick = useCallback((e) => {
36
36
  const input = e.target;
37
37
  if (showTime && value) timeoutIdRef.current = setTimeout(() => {
@@ -1,9 +1,8 @@
1
1
  import { DatePickerCommonProps, NativeSingleDatePickerProps } from "./types.js";
2
2
  //#region src/date-picker/single-date-picker-popup-content.d.ts
3
- declare const SingleDatePickerPopupContent: import("react").ForwardRefExoticComponent<DatePickerCommonProps & NativeSingleDatePickerProps & {
3
+ export declare const SingleDatePickerPopupContent: import("react").ForwardRefExoticComponent<DatePickerCommonProps & NativeSingleDatePickerProps & {
4
4
  autoFocus?: boolean;
5
5
  } & import("react").RefAttributes<{
6
6
  setValue: (value: string) => void;
7
7
  }>>;
8
- //#endregion
9
- export { SingleDatePickerPopupContent };
8
+ //#endregion
@@ -1,27 +1,32 @@
1
1
  import { ControlledDatePickerProps, RelativeDateValue, SingleDatePickerPopoverContentProps, SingleDatePickerProps } from "./types.js";
2
2
  import "react-day-picker/dist/style.css";
3
3
  //#region src/date-picker/single-date-picker.d.ts
4
- declare const isRelativeDatePlaceholder: (value: unknown) => value is RelativeDateValue;
5
- declare const formatRelativeDate: (value: RelativeDateValue) => string;
6
- type UncontrolledSingleDatePickerProps<IsRelativeDate extends boolean = false> = Omit<SingleDatePickerProps<IsRelativeDate>, keyof ControlledDatePickerProps>;
7
- interface SingleDatePickerWithForwardRefType extends React.FC<SingleDatePickerProps<boolean>> {
8
- <T extends boolean>(props: SingleDatePickerProps<T> & {
4
+ export declare const isRelativeDatePlaceholder: (value: unknown) => value is RelativeDateValue;
5
+ export declare const formatRelativeDate: (value: RelativeDateValue) => string;
6
+ export type UncontrolledSingleDatePickerProps<IsRelativeDate extends boolean = false> = Omit<SingleDatePickerProps<IsRelativeDate>, keyof ControlledDatePickerProps>;
7
+ interface SingleDatePickerWithForwardRefType extends Pick<React.FC<SingleDatePickerProps<boolean>>, keyof React.FC> {
8
+ <T extends boolean = false>(props: SingleDatePickerProps<T> & {
9
9
  ref?: React.Ref<{
10
10
  setValue: (value: string) => void;
11
11
  }>;
12
12
  }): ReturnType<React.FC<SingleDatePickerProps<T>>>;
13
+ (props: SingleDatePickerProps<false> & {
14
+ ref?: React.Ref<{
15
+ setValue: (value: string) => void;
16
+ }>;
17
+ }): ReturnType<React.FC<SingleDatePickerProps<false>>>;
13
18
  }
14
- interface ControlledSingleDatePickerWithForwardRefType extends React.FC<UncontrolledSingleDatePickerProps<boolean>> {
15
- <T extends boolean>(props: UncontrolledSingleDatePickerProps<T>): ReturnType<React.FC<UncontrolledSingleDatePickerProps<T>>>;
19
+ interface ControlledSingleDatePickerWithForwardRefType extends Pick<React.FC<UncontrolledSingleDatePickerProps<boolean>>, keyof React.FC> {
20
+ <T extends boolean = false>(props: UncontrolledSingleDatePickerProps<T>): ReturnType<React.FC<UncontrolledSingleDatePickerProps<T>>>;
21
+ (props: UncontrolledSingleDatePickerProps<false>): ReturnType<React.FC<UncontrolledSingleDatePickerProps<false>>>;
16
22
  }
17
23
  type DatePickerRef = {
18
24
  setValue: (value: string) => void;
19
25
  };
20
- declare const SingleDatePickerPopoverContent: import("react").ForwardRefExoticComponent<({
26
+ export declare const SingleDatePickerPopoverContent: import("react").ForwardRefExoticComponent<({
21
27
  className?: string;
22
28
  autoFocus?: boolean;
23
29
  } & SingleDatePickerPopoverContentProps<boolean>) & import("react").RefAttributes<DatePickerRef>>;
24
- declare const SingleDatePicker: SingleDatePickerWithForwardRefType;
25
- declare const ControlledSingleDatePicker: ControlledSingleDatePickerWithForwardRefType;
26
- //#endregion
27
- export { ControlledSingleDatePicker, SingleDatePicker, SingleDatePickerPopoverContent, UncontrolledSingleDatePickerProps, formatRelativeDate, isRelativeDatePlaceholder };
30
+ export declare const SingleDatePicker: SingleDatePickerWithForwardRefType;
31
+ export declare const ControlledSingleDatePicker: ControlledSingleDatePickerWithForwardRefType;
32
+ //#endregion