@cratis/components 3.6.0 → 4.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 (1324) hide show
  1. package/CONFORMANCE.md +18 -0
  2. package/LICENSE +21 -0
  3. package/MIGRATION.md +569 -0
  4. package/README.md +217 -738
  5. package/THIRD_PARTY_NOTICES.md +35 -0
  6. package/compat-manifest.json +305 -0
  7. package/dist/esm/Canvas/Canvas.d.ts +95 -6
  8. package/dist/esm/Canvas/Canvas.js +116 -189
  9. package/dist/esm/Canvas/Canvas.js.map +1 -1
  10. package/dist/esm/Canvas/CanvasControls.d.ts +40 -2
  11. package/dist/esm/Canvas/CanvasControls.js +25 -13
  12. package/dist/esm/Canvas/CanvasControls.js.map +1 -1
  13. package/dist/esm/Canvas/CanvasItem.d.ts +25 -1
  14. package/dist/esm/Canvas/CanvasItem.d.ts.map +1 -1
  15. package/dist/esm/Canvas/CanvasItem.js +13 -12
  16. package/dist/esm/Canvas/CanvasItem.js.map +1 -1
  17. package/dist/esm/Canvas/CanvasMinimap.d.ts +18 -0
  18. package/dist/esm/Canvas/CanvasMinimap.d.ts.map +1 -1
  19. package/dist/esm/Canvas/CanvasMinimap.js +9 -6
  20. package/dist/esm/Canvas/CanvasMinimap.js.map +1 -1
  21. package/dist/esm/Canvas/CanvasOverlay.d.ts +5 -2
  22. package/dist/esm/Canvas/CanvasOverlay.d.ts.map +1 -1
  23. package/dist/esm/Canvas/CanvasOverlay.js +7 -3
  24. package/dist/esm/Canvas/CanvasOverlay.js.map +1 -1
  25. package/dist/esm/Canvas/canvasGesture.d.ts +10 -0
  26. package/dist/esm/Canvas/canvasGesture.d.ts.map +1 -1
  27. package/dist/esm/Canvas/canvasGesture.js +0 -12
  28. package/dist/esm/Canvas/canvasGesture.js.map +1 -1
  29. package/dist/esm/Canvas/canvasTransformActivity.d.ts +7 -0
  30. package/dist/esm/Canvas/canvasTransformActivity.d.ts.map +1 -1
  31. package/dist/esm/Canvas/canvasTransformActivity.js +1 -10
  32. package/dist/esm/Canvas/canvasTransformActivity.js.map +1 -1
  33. package/dist/esm/Canvas/index.d.ts +17 -18
  34. package/dist/esm/Canvas/index.js +21 -31
  35. package/dist/esm/Canvas/index.js.map +1 -1
  36. package/dist/esm/Canvas/isBackgroundPointerTarget.js +0 -7
  37. package/dist/esm/Canvas/isBackgroundPointerTarget.js.map +1 -1
  38. package/dist/esm/Canvas/isWithinScrollableContent.d.ts +7 -0
  39. package/dist/esm/Canvas/isWithinScrollableContent.d.ts.map +1 -1
  40. package/dist/esm/Canvas/isWithinScrollableContent.js +0 -13
  41. package/dist/esm/Canvas/isWithinScrollableContent.js.map +1 -1
  42. package/dist/esm/Canvas/panMomentum.d.ts +14 -0
  43. package/dist/esm/Canvas/panMomentum.d.ts.map +1 -1
  44. package/dist/esm/Canvas/panMomentum.js +0 -13
  45. package/dist/esm/Canvas/panMomentum.js.map +1 -1
  46. package/dist/esm/Canvas/pinchGesture.d.ts +16 -0
  47. package/dist/esm/Canvas/pinchGesture.d.ts.map +1 -1
  48. package/dist/esm/Canvas/pinchGesture.js +0 -11
  49. package/dist/esm/Canvas/pinchGesture.js.map +1 -1
  50. package/dist/esm/Canvas/selfSuspendingFrameLoop.d.ts +15 -0
  51. package/dist/esm/Canvas/selfSuspendingFrameLoop.d.ts.map +1 -1
  52. package/dist/esm/Canvas/selfSuspendingFrameLoop.js +1 -8
  53. package/dist/esm/Canvas/selfSuspendingFrameLoop.js.map +1 -1
  54. package/dist/esm/Canvas/shapes/ChatBubble/index.d.ts +1 -32
  55. package/dist/esm/Canvas/shapes/ChatBubble/index.js +9 -18
  56. package/dist/esm/Canvas/shapes/Note/Note.d.ts +30 -1
  57. package/dist/esm/Canvas/shapes/Note/Note.d.ts.map +1 -1
  58. package/dist/esm/Canvas/shapes/Note/Note.js +26 -36
  59. package/dist/esm/Canvas/shapes/Note/Note.js.map +1 -1
  60. package/dist/esm/Canvas/shapes/Note/NoteTextChanged.d.ts +12 -1
  61. package/dist/esm/Canvas/shapes/Note/NoteTextChanged.d.ts.map +1 -1
  62. package/dist/esm/Canvas/shapes/Note/NoteTextChanged.js +0 -7
  63. package/dist/esm/Canvas/shapes/Note/NoteTextChanged.js.map +1 -1
  64. package/dist/esm/Canvas/shapes/Note/index.d.ts +3 -4
  65. package/dist/esm/Canvas/shapes/Note/index.js +4 -3
  66. package/dist/esm/Canvas/shapes/Note/noteFont.d.ts +8 -0
  67. package/dist/esm/Canvas/shapes/Note/noteFont.d.ts.map +1 -1
  68. package/dist/esm/Canvas/shapes/Note/noteFont.js +0 -14
  69. package/dist/esm/Canvas/shapes/Note/noteFont.js.map +1 -1
  70. package/dist/esm/Canvas/shapes/Region/ItemAddedToRegion.d.ts +14 -1
  71. package/dist/esm/Canvas/shapes/Region/ItemAddedToRegion.d.ts.map +1 -1
  72. package/dist/esm/Canvas/shapes/Region/ItemAddedToRegion.js +0 -9
  73. package/dist/esm/Canvas/shapes/Region/ItemAddedToRegion.js.map +1 -1
  74. package/dist/esm/Canvas/shapes/Region/ItemRemovedFromRegion.d.ts +13 -1
  75. package/dist/esm/Canvas/shapes/Region/ItemRemovedFromRegion.d.ts.map +1 -1
  76. package/dist/esm/Canvas/shapes/Region/ItemRemovedFromRegion.js +0 -8
  77. package/dist/esm/Canvas/shapes/Region/ItemRemovedFromRegion.js.map +1 -1
  78. package/dist/esm/Canvas/shapes/Region/Region.d.ts +45 -2
  79. package/dist/esm/Canvas/shapes/Region/Region.d.ts.map +1 -1
  80. package/dist/esm/Canvas/shapes/Region/Region.js +31 -49
  81. package/dist/esm/Canvas/shapes/Region/Region.js.map +1 -1
  82. package/dist/esm/Canvas/shapes/Region/index.d.ts +6 -7
  83. package/dist/esm/Canvas/shapes/Region/index.js +6 -5
  84. package/dist/esm/Canvas/shapes/Region/regionContainment.d.ts +37 -0
  85. package/dist/esm/Canvas/shapes/Region/regionContainment.d.ts.map +1 -1
  86. package/dist/esm/Canvas/shapes/Region/regionContainment.js +1 -16
  87. package/dist/esm/Canvas/shapes/Region/regionContainment.js.map +1 -1
  88. package/dist/esm/Canvas/useDragSelectionGuard.d.ts +9 -0
  89. package/dist/esm/Canvas/useDragSelectionGuard.d.ts.map +1 -1
  90. package/dist/esm/Canvas/useDragSelectionGuard.js +0 -11
  91. package/dist/esm/Canvas/useDragSelectionGuard.js.map +1 -1
  92. package/dist/esm/Canvas/zoomMechanism.d.ts +30 -0
  93. package/dist/esm/Canvas/zoomMechanism.d.ts.map +1 -1
  94. package/dist/esm/Canvas/zoomMechanism.js +0 -38
  95. package/dist/esm/Canvas/zoomMechanism.js.map +1 -1
  96. package/dist/esm/Chat/ChatAuthor.d.ts +12 -2
  97. package/dist/esm/Chat/ChatAuthor.js +2 -0
  98. package/dist/esm/Chat/ChatAuthor.js.map +1 -1
  99. package/dist/esm/Chat/ChatConversation.d.ts +80 -13
  100. package/dist/esm/Chat/ChatConversation.js +30 -29
  101. package/dist/esm/Chat/ChatConversation.js.map +1 -1
  102. package/dist/esm/Chat/ChatIdentifier.d.ts +18 -0
  103. package/dist/esm/Chat/ChatIdentifier.d.ts.map +1 -1
  104. package/dist/esm/Chat/ChatIdentifier.js +0 -14
  105. package/dist/esm/Chat/ChatIdentifier.js.map +1 -1
  106. package/dist/esm/Chat/ChatMention.d.ts +11 -3
  107. package/dist/esm/Chat/ChatMention.js +2 -0
  108. package/dist/esm/Chat/ChatMention.js.map +1 -1
  109. package/dist/esm/Chat/ChatMessage.d.ts +19 -3
  110. package/dist/esm/Chat/ChatMessage.js +2 -0
  111. package/dist/esm/Chat/ChatMessage.js.map +1 -1
  112. package/dist/esm/Chat/ChatMessageAction.d.ts +19 -2
  113. package/dist/esm/Chat/ChatMessageAction.js +2 -0
  114. package/dist/esm/Chat/ChatMessageAction.js.map +1 -1
  115. package/dist/esm/Chat/ChatMessageBody.d.ts +12 -2
  116. package/dist/esm/Chat/ChatMessageBody.js +3 -11
  117. package/dist/esm/Chat/ChatMessageBody.js.map +1 -1
  118. package/dist/esm/Chat/ChatSidebar.d.ts +112 -13
  119. package/dist/esm/Chat/ChatSidebar.js +33 -26
  120. package/dist/esm/Chat/ChatSidebar.js.map +1 -1
  121. package/dist/esm/Chat/ChatSidebarForObservableQueries.d.ts +29 -5
  122. package/dist/esm/Chat/ChatSidebarForObservableQueries.js +3 -8
  123. package/dist/esm/Chat/ChatSidebarForObservableQueries.js.map +1 -1
  124. package/dist/esm/Chat/ChatTopic.d.ts +13 -2
  125. package/dist/esm/Chat/ChatTopic.js +2 -0
  126. package/dist/esm/Chat/ChatTopic.js.map +1 -1
  127. package/dist/esm/Chat/ChatTopicList.d.ts +58 -8
  128. package/dist/esm/Chat/ChatTopicList.js +18 -14
  129. package/dist/esm/Chat/ChatTopicList.js.map +1 -1
  130. package/dist/esm/Chat/Kit/AnchoredOverlay.d.ts +34 -0
  131. package/dist/esm/Chat/Kit/AnchoredOverlay.d.ts.map +1 -0
  132. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/AnchoredOverlay.js +9 -13
  133. package/dist/esm/Chat/Kit/AnchoredOverlay.js.map +1 -0
  134. package/dist/esm/Chat/Kit/Avatar/PersonAvatarCircle.d.ts +51 -0
  135. package/dist/esm/Chat/Kit/Avatar/PersonAvatarCircle.d.ts.map +1 -0
  136. package/dist/esm/Chat/Kit/Avatar/PersonAvatarCircle.js +25 -0
  137. package/dist/esm/Chat/Kit/Avatar/PersonAvatarCircle.js.map +1 -0
  138. package/dist/esm/Chat/Kit/Avatar/getAvatarColor.d.ts +9 -0
  139. package/dist/esm/Chat/Kit/Avatar/getAvatarColor.d.ts.map +1 -0
  140. package/dist/esm/Chat/Kit/Avatar/getAvatarColor.js +20 -0
  141. package/dist/esm/Chat/Kit/Avatar/getAvatarColor.js.map +1 -0
  142. package/dist/esm/Chat/Kit/Avatar/getInitials.d.ts +7 -0
  143. package/dist/esm/Chat/Kit/Avatar/getInitials.d.ts.map +1 -0
  144. package/dist/esm/Chat/Kit/Avatar/getInitials.js +4 -0
  145. package/dist/esm/Chat/Kit/Avatar/getInitials.js.map +1 -0
  146. package/dist/esm/Chat/Kit/Avatar/index.d.ts +3 -0
  147. package/dist/esm/Chat/Kit/Avatar/index.js +6 -0
  148. package/dist/esm/Chat/Kit/Chat.d.ts +106 -0
  149. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Chat.js +8 -16
  150. package/dist/esm/Chat/Kit/Chat.js.map +1 -0
  151. package/dist/esm/Chat/Kit/ChatAuthorKind.d.ts +11 -0
  152. package/dist/esm/Chat/Kit/ChatAuthorKind.d.ts.map +1 -0
  153. package/dist/esm/Chat/Kit/ChatAuthorKind.js +8 -0
  154. package/dist/esm/Chat/Kit/ChatAuthorKind.js.map +1 -0
  155. package/dist/esm/Chat/Kit/ChatBubble.d.ts +38 -0
  156. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/ChatBubble.js +35 -7
  157. package/dist/esm/Chat/Kit/ChatBubble.js.map +1 -0
  158. package/dist/esm/Chat/Kit/ChatComposer.d.ts +62 -0
  159. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/ChatComposer.js +26 -29
  160. package/dist/esm/Chat/Kit/ChatComposer.js.map +1 -0
  161. package/dist/esm/Chat/Kit/ChatMessage.d.ts +42 -0
  162. package/dist/esm/Chat/Kit/ChatMessage.js +4 -0
  163. package/dist/esm/Chat/Kit/ChatMessage.js.map +1 -0
  164. package/dist/esm/Chat/Kit/ChatMessageAdded.d.ts +17 -0
  165. package/dist/esm/Chat/Kit/ChatMessageAdded.d.ts.map +1 -0
  166. package/dist/esm/Chat/Kit/ChatMessageAdded.js +11 -0
  167. package/dist/esm/Chat/Kit/ChatMessageAdded.js.map +1 -0
  168. package/dist/esm/Chat/Kit/ChatMessageBubble.d.ts +60 -0
  169. package/dist/esm/Chat/Kit/ChatMessageBubble.js +41 -0
  170. package/dist/esm/Chat/Kit/ChatMessageBubble.js.map +1 -0
  171. package/dist/esm/Chat/Kit/ChatMessageReaction.d.ts +11 -0
  172. package/dist/esm/Chat/Kit/ChatMessageReaction.js +4 -0
  173. package/dist/esm/Chat/Kit/ChatMessageReaction.js.map +1 -0
  174. package/dist/esm/Chat/Kit/ChatMessageReactionUser.d.ts +18 -0
  175. package/dist/esm/Chat/Kit/ChatMessageReactionUser.d.ts.map +1 -0
  176. package/dist/esm/Chat/Kit/ChatMessageReactionUser.js +4 -0
  177. package/dist/esm/Chat/Kit/ChatMessageReactionUser.js.map +1 -0
  178. package/dist/esm/Chat/Kit/ChatOwnReaction.d.ts +13 -0
  179. package/dist/esm/Chat/Kit/ChatOwnReaction.d.ts.map +1 -0
  180. package/dist/esm/Chat/Kit/ChatOwnReaction.js +4 -0
  181. package/dist/esm/Chat/Kit/ChatOwnReaction.js.map +1 -0
  182. package/dist/esm/Chat/Kit/ChatTypingAuthor.d.ts +15 -0
  183. package/dist/esm/Chat/Kit/ChatTypingAuthor.js +4 -0
  184. package/dist/esm/Chat/Kit/ChatTypingAuthor.js.map +1 -0
  185. package/dist/esm/Chat/Kit/ChatVariant.d.ts +10 -0
  186. package/dist/esm/Chat/Kit/ChatVariant.d.ts.map +1 -0
  187. package/dist/esm/Chat/Kit/ChatVariant.js +8 -0
  188. package/dist/esm/Chat/Kit/ChatVariant.js.map +1 -0
  189. package/dist/esm/Chat/Kit/Emoji/EmojiCategory.d.ts +8 -0
  190. package/dist/esm/Chat/Kit/Emoji/EmojiCategory.js +4 -0
  191. package/dist/esm/Chat/Kit/Emoji/EmojiCategory.js.map +1 -0
  192. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Emoji/EmojiCategoryKey.d.ts +1 -0
  193. package/dist/esm/Chat/Kit/Emoji/EmojiCategoryKey.d.ts.map +1 -0
  194. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Emoji/EmojiCategoryKey.js +0 -3
  195. package/dist/esm/Chat/Kit/Emoji/EmojiCategoryKey.js.map +1 -0
  196. package/dist/esm/Chat/Kit/Emoji/EmojiMemory.d.ts +12 -0
  197. package/dist/esm/Chat/Kit/Emoji/EmojiMemory.d.ts.map +1 -0
  198. package/dist/esm/Chat/Kit/Emoji/EmojiMemory.js +4 -0
  199. package/dist/esm/Chat/Kit/Emoji/EmojiMemory.js.map +1 -0
  200. package/dist/esm/Chat/Kit/Emoji/EmojiPicker.d.ts +32 -0
  201. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Emoji/EmojiPicker.js +2 -12
  202. package/dist/esm/Chat/Kit/Emoji/EmojiPicker.js.map +1 -0
  203. package/dist/esm/Chat/Kit/Emoji/emojiCatalog.d.ts +13 -0
  204. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Emoji/emojiCatalog.js +0 -13
  205. package/dist/esm/Chat/Kit/Emoji/emojiCatalog.js.map +1 -0
  206. package/dist/esm/Chat/Kit/Emoji/index.d.ts +4 -0
  207. package/dist/esm/Chat/Kit/Emoji/index.js +10 -0
  208. package/dist/esm/Chat/Kit/Emoji/recentEmojis.d.ts +23 -0
  209. package/dist/esm/Chat/Kit/Emoji/recentEmojis.js +35 -0
  210. package/dist/esm/Chat/Kit/Emoji/recentEmojis.js.map +1 -0
  211. package/dist/esm/Chat/Kit/FailedReply.d.ts +57 -0
  212. package/dist/esm/Chat/Kit/FailedReply.js +22 -0
  213. package/dist/esm/Chat/Kit/FailedReply.js.map +1 -0
  214. package/dist/esm/Chat/Kit/Mentions/MentionCandidate.d.ts +17 -0
  215. package/dist/esm/Chat/Kit/Mentions/MentionCandidate.js +4 -0
  216. package/dist/esm/Chat/Kit/Mentions/MentionCandidate.js.map +1 -0
  217. package/dist/esm/Chat/Kit/Mentions/MentionQuery.d.ts +10 -0
  218. package/dist/esm/Chat/Kit/Mentions/MentionQuery.d.ts.map +1 -0
  219. package/dist/esm/Chat/Kit/Mentions/MentionQuery.js +4 -0
  220. package/dist/esm/Chat/Kit/Mentions/MentionQuery.js.map +1 -0
  221. package/dist/esm/Chat/Kit/Mentions/MentionSuggestions.d.ts +25 -0
  222. package/dist/esm/Chat/Kit/Mentions/MentionSuggestions.js +8 -0
  223. package/dist/esm/Chat/Kit/Mentions/MentionSuggestions.js.map +1 -0
  224. package/dist/esm/Chat/Kit/Mentions/activeMentionQuery.d.ts +8 -0
  225. package/dist/esm/Chat/Kit/Mentions/activeMentionQuery.js +20 -0
  226. package/dist/esm/Chat/Kit/Mentions/activeMentionQuery.js.map +1 -0
  227. package/dist/esm/Chat/Kit/Mentions/applyMention.d.ts +19 -0
  228. package/dist/esm/Chat/Kit/Mentions/applyMention.js +11 -0
  229. package/dist/esm/Chat/Kit/Mentions/applyMention.js.map +1 -0
  230. package/dist/esm/Chat/Kit/Mentions/extractMentions.d.ts +12 -0
  231. package/dist/esm/Chat/Kit/Mentions/extractMentions.d.ts.map +1 -0
  232. package/dist/esm/Chat/Kit/Mentions/extractMentions.js +14 -0
  233. package/dist/esm/Chat/Kit/Mentions/extractMentions.js.map +1 -0
  234. package/dist/esm/Chat/Kit/Mentions/findMentionRanges.d.ts +27 -0
  235. package/dist/esm/Chat/Kit/Mentions/findMentionRanges.d.ts.map +1 -0
  236. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Mentions/findMentionRanges.js +2 -15
  237. package/dist/esm/Chat/Kit/Mentions/findMentionRanges.js.map +1 -0
  238. package/dist/esm/Chat/Kit/Mentions/index.d.ts +6 -0
  239. package/dist/esm/Chat/Kit/Mentions/index.js +11 -0
  240. package/dist/esm/Chat/Kit/Mentions/matchCandidates.d.ts +8 -0
  241. package/dist/esm/Chat/Kit/Mentions/matchCandidates.js +13 -0
  242. package/dist/esm/Chat/Kit/Mentions/matchCandidates.js.map +1 -0
  243. package/dist/esm/Chat/Kit/Mentions/mentionSegments.d.ts +23 -0
  244. package/dist/esm/Chat/Kit/Mentions/mentionSegments.d.ts.map +1 -0
  245. package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Mentions/mentionSegments.js +4 -10
  246. package/dist/esm/Chat/Kit/Mentions/mentionSegments.js.map +1 -0
  247. package/dist/esm/Chat/Kit/MessageReactions.d.ts +18 -0
  248. package/dist/esm/Chat/Kit/MessageReactions.js +19 -0
  249. package/dist/esm/Chat/Kit/MessageReactions.js.map +1 -0
  250. package/dist/esm/Chat/Kit/ReactionPicker.d.ts +55 -0
  251. package/dist/esm/Chat/Kit/ReactionPicker.js +38 -0
  252. package/dist/esm/Chat/Kit/ReactionPicker.js.map +1 -0
  253. package/dist/esm/Chat/Kit/TypingIndicator.d.ts +21 -0
  254. package/dist/esm/Chat/Kit/TypingIndicator.js +13 -0
  255. package/dist/esm/Chat/Kit/TypingIndicator.js.map +1 -0
  256. package/dist/esm/Chat/Kit/findOwnReaction.d.ts +12 -0
  257. package/dist/esm/Chat/Kit/findOwnReaction.js +9 -0
  258. package/dist/esm/Chat/Kit/findOwnReaction.js.map +1 -0
  259. package/dist/esm/Chat/Kit/index.d.ts +30 -0
  260. package/dist/esm/Chat/Kit/index.js +21 -0
  261. package/dist/esm/{Canvas/shapes/ChatBubble/reactionsExcludingUser.js → Chat/Kit/reactionsExcludingUser.d.ts} +3 -8
  262. package/dist/esm/Chat/Kit/reactionsExcludingUser.js +6 -0
  263. package/dist/esm/Chat/Kit/reactionsExcludingUser.js.map +1 -0
  264. package/dist/esm/Chat/index.d.ts +28 -29
  265. package/dist/esm/Chat/index.js +4 -7
  266. package/dist/esm/Chat/index.js.map +1 -1
  267. package/dist/esm/Chat/isTopicUnnamed.d.ts +9 -2
  268. package/dist/esm/Chat/isTopicUnnamed.js +0 -10
  269. package/dist/esm/Chat/isTopicUnnamed.js.map +1 -1
  270. package/dist/esm/Chat/relativeTimestamp.d.ts +12 -0
  271. package/dist/esm/Chat/relativeTimestamp.d.ts.map +1 -1
  272. package/dist/esm/Chat/relativeTimestamp.js +0 -10
  273. package/dist/esm/Chat/relativeTimestamp.js.map +1 -1
  274. package/dist/esm/Chat/shouldRequestTopicName.d.ts +9 -0
  275. package/dist/esm/Chat/shouldRequestTopicName.d.ts.map +1 -1
  276. package/dist/esm/Chat/shouldRequestTopicName.js +0 -11
  277. package/dist/esm/Chat/shouldRequestTopicName.js.map +1 -1
  278. package/dist/esm/Chat/topicsByActivity.d.ts +7 -2
  279. package/dist/esm/Chat/topicsByActivity.js +0 -14
  280. package/dist/esm/Chat/topicsByActivity.js.map +1 -1
  281. package/dist/esm/CommandDialog/CommandDialog.d.ts +42 -4
  282. package/dist/esm/CommandDialog/CommandDialog.js +16 -129
  283. package/dist/esm/CommandDialog/CommandDialog.js.map +1 -1
  284. package/dist/esm/CommandDialog/CommandStepper.d.ts +131 -25
  285. package/dist/esm/CommandDialog/CommandStepper.js +6 -187
  286. package/dist/esm/CommandDialog/CommandStepper.js.map +1 -1
  287. package/dist/esm/CommandDialog/CommandStepperContent.d.ts +45 -0
  288. package/dist/esm/CommandDialog/CommandStepperContent.js +145 -0
  289. package/dist/esm/CommandDialog/CommandStepperContent.js.map +1 -0
  290. package/dist/esm/CommandDialog/StepperCommandDialog.d.ts +77 -4
  291. package/dist/esm/CommandDialog/StepperCommandDialog.js +39 -131
  292. package/dist/esm/CommandDialog/StepperCommandDialog.js.map +1 -1
  293. package/dist/esm/CommandDialog/StepperPanel.d.ts +29 -0
  294. package/dist/esm/CommandDialog/StepperPanel.d.ts.map +1 -1
  295. package/dist/esm/CommandDialog/StepperPanel.js +0 -25
  296. package/dist/esm/CommandDialog/StepperPanel.js.map +1 -1
  297. package/dist/esm/CommandDialog/applyBeforeExecute.d.ts +32 -0
  298. package/dist/esm/CommandDialog/applyBeforeExecute.d.ts.map +1 -1
  299. package/dist/esm/CommandDialog/applyBeforeExecute.js +0 -21
  300. package/dist/esm/CommandDialog/applyBeforeExecute.js.map +1 -1
  301. package/dist/esm/CommandDialog/index.d.ts +5 -6
  302. package/dist/esm/CommandDialog/index.js +1 -4
  303. package/dist/esm/CommandDialog/index.js.map +1 -1
  304. package/dist/esm/CommandDialog/stepChildren.d.ts +19 -0
  305. package/dist/esm/CommandDialog/stepChildren.d.ts.map +1 -1
  306. package/dist/esm/CommandDialog/stepChildren.js +0 -21
  307. package/dist/esm/CommandDialog/stepChildren.js.map +1 -1
  308. package/dist/esm/CommandForm/AutoCommandForm.d.ts +25 -3
  309. package/dist/esm/CommandForm/AutoCommandForm.d.ts.map +1 -1
  310. package/dist/esm/CommandForm/AutoCommandForm.js +8 -20
  311. package/dist/esm/CommandForm/AutoCommandForm.js.map +1 -1
  312. package/dist/esm/CommandForm/FieldTypeProvider.d.ts +13 -0
  313. package/dist/esm/CommandForm/FieldTypeProvider.d.ts.map +1 -1
  314. package/dist/esm/CommandForm/FieldTypeProvider.js +2 -0
  315. package/dist/esm/CommandForm/FieldTypeProvider.js.map +1 -1
  316. package/dist/esm/CommandForm/commandFormMarkers.d.ts +58 -0
  317. package/dist/esm/CommandForm/commandFormMarkers.d.ts.map +1 -1
  318. package/dist/esm/CommandForm/commandFormMarkers.js +0 -44
  319. package/dist/esm/CommandForm/commandFormMarkers.js.map +1 -1
  320. package/dist/esm/CommandForm/defaultFieldTypeProviders.d.ts +5 -0
  321. package/dist/esm/CommandForm/defaultFieldTypeProviders.d.ts.map +1 -1
  322. package/dist/esm/CommandForm/defaultFieldTypeProviders.js +16 -11
  323. package/dist/esm/CommandForm/defaultFieldTypeProviders.js.map +1 -1
  324. package/dist/esm/CommandForm/fieldTypeProviderRegistry.d.ts +18 -2
  325. package/dist/esm/CommandForm/fieldTypeProviderRegistry.js +0 -19
  326. package/dist/esm/CommandForm/fieldTypeProviderRegistry.js.map +1 -1
  327. package/dist/esm/CommandForm/fields/CalendarField.d.ts +37 -6
  328. package/dist/esm/CommandForm/fields/CalendarField.js +10 -18
  329. package/dist/esm/CommandForm/fields/CalendarField.js.map +1 -1
  330. package/dist/esm/CommandForm/fields/CheckboxField.d.ts +18 -7
  331. package/dist/esm/CommandForm/fields/CheckboxField.js +21 -15
  332. package/dist/esm/CommandForm/fields/CheckboxField.js.map +1 -1
  333. package/dist/esm/CommandForm/fields/ChipsField.d.ts +20 -8
  334. package/dist/esm/CommandForm/fields/ChipsField.js +50 -19
  335. package/dist/esm/CommandForm/fields/ChipsField.js.map +1 -1
  336. package/dist/esm/CommandForm/fields/ColorPickerField.d.ts +16 -7
  337. package/dist/esm/CommandForm/fields/ColorPickerField.js +21 -33
  338. package/dist/esm/CommandForm/fields/ColorPickerField.js.map +1 -1
  339. package/dist/esm/CommandForm/fields/DropdownField.d.ts +34 -4
  340. package/dist/esm/CommandForm/fields/DropdownField.js +13 -18
  341. package/dist/esm/CommandForm/fields/DropdownField.js.map +1 -1
  342. package/dist/esm/CommandForm/fields/InputTextField.d.ts +12 -7
  343. package/dist/esm/CommandForm/fields/InputTextField.js +17 -46
  344. package/dist/esm/CommandForm/fields/InputTextField.js.map +1 -1
  345. package/dist/esm/CommandForm/fields/MultiSelectField.d.ts +39 -4
  346. package/dist/esm/CommandForm/fields/MultiSelectField.js +13 -15
  347. package/dist/esm/CommandForm/fields/MultiSelectField.js.map +1 -1
  348. package/dist/esm/CommandForm/fields/NumberField.d.ts +14 -7
  349. package/dist/esm/CommandForm/fields/NumberField.js +21 -16
  350. package/dist/esm/CommandForm/fields/NumberField.js.map +1 -1
  351. package/dist/esm/CommandForm/fields/PasswordField.d.ts +18 -7
  352. package/dist/esm/CommandForm/fields/PasswordField.js +26 -15
  353. package/dist/esm/CommandForm/fields/PasswordField.js.map +1 -1
  354. package/dist/esm/CommandForm/fields/RadioButtonField.d.ts +20 -7
  355. package/dist/esm/CommandForm/fields/RadioButtonField.js +22 -17
  356. package/dist/esm/CommandForm/fields/RadioButtonField.js.map +1 -1
  357. package/dist/esm/CommandForm/fields/RadioGroupField.d.ts +22 -7
  358. package/dist/esm/CommandForm/fields/RadioGroupField.js +44 -33
  359. package/dist/esm/CommandForm/fields/RadioGroupField.js.map +1 -1
  360. package/dist/esm/CommandForm/fields/RatingField.d.ts +20 -7
  361. package/dist/esm/CommandForm/fields/RatingField.js +43 -14
  362. package/dist/esm/CommandForm/fields/RatingField.js.map +1 -1
  363. package/dist/esm/CommandForm/fields/SliderField.d.ts +16 -7
  364. package/dist/esm/CommandForm/fields/SliderField.js +20 -14
  365. package/dist/esm/CommandForm/fields/SliderField.js.map +1 -1
  366. package/dist/esm/CommandForm/fields/TextAreaField.d.ts +12 -7
  367. package/dist/esm/CommandForm/fields/TextAreaField.js +18 -17
  368. package/dist/esm/CommandForm/fields/TextAreaField.js.map +1 -1
  369. package/dist/esm/CommandForm/fields/ToggleSwitchField.d.ts +18 -7
  370. package/dist/esm/CommandForm/fields/ToggleSwitchField.js +18 -15
  371. package/dist/esm/CommandForm/fields/ToggleSwitchField.js.map +1 -1
  372. package/dist/esm/CommandForm/fields/chipValues.d.ts +6 -0
  373. package/dist/esm/CommandForm/fields/chipValues.d.ts.map +1 -0
  374. package/dist/esm/CommandForm/fields/chipValues.js +17 -0
  375. package/dist/esm/CommandForm/fields/chipValues.js.map +1 -0
  376. package/dist/esm/CommandForm/fields/fieldAccessibility.d.ts +33 -0
  377. package/dist/esm/CommandForm/fields/fieldAccessibility.d.ts.map +1 -0
  378. package/dist/esm/CommandForm/fields/fieldAccessibility.js +24 -0
  379. package/dist/esm/CommandForm/fields/fieldAccessibility.js.map +1 -0
  380. package/dist/esm/CommandForm/fields/fieldValueFromEvent.d.ts +16 -0
  381. package/dist/esm/CommandForm/fields/fieldValueFromEvent.d.ts.map +1 -0
  382. package/dist/esm/CommandForm/fields/fieldValueFromEvent.js +20 -0
  383. package/dist/esm/CommandForm/fields/fieldValueFromEvent.js.map +1 -0
  384. package/dist/esm/CommandForm/fields/index.d.ts +15 -16
  385. package/dist/esm/CommandForm/fields/index.js +17 -16
  386. package/dist/esm/CommandForm/index.d.ts +5 -6
  387. package/dist/esm/CommandForm/index.js +0 -3
  388. package/dist/esm/CommandForm/index.js.map +1 -1
  389. package/dist/esm/Common/ActionMenubar.d.ts +28 -9
  390. package/dist/esm/Common/ActionMenubar.js +16 -15
  391. package/dist/esm/Common/ActionMenubar.js.map +1 -1
  392. package/dist/esm/Common/Button.d.ts +75 -8
  393. package/dist/esm/Common/Button.js +13 -24
  394. package/dist/esm/Common/Button.js.map +1 -1
  395. package/dist/esm/Common/ButtonImplementation.d.ts +3 -0
  396. package/dist/esm/Common/ButtonImplementation.js +65 -0
  397. package/dist/esm/Common/ButtonImplementation.js.map +1 -0
  398. package/dist/esm/Common/Checkbox.d.ts +34 -0
  399. package/dist/esm/Common/Checkbox.js +17 -0
  400. package/dist/esm/Common/Checkbox.js.map +1 -0
  401. package/dist/esm/Common/CheckboxImplementation.d.ts +3 -0
  402. package/dist/esm/Common/CheckboxImplementation.js +44 -0
  403. package/dist/esm/Common/CheckboxImplementation.js.map +1 -0
  404. package/dist/esm/Common/CratisComponentsContext.d.ts +4 -0
  405. package/dist/esm/Common/CratisComponentsContext.js +8 -0
  406. package/dist/esm/Common/CratisComponentsContext.js.map +1 -0
  407. package/dist/esm/Common/CratisComponentsDefaults.d.ts +3 -0
  408. package/dist/esm/Common/CratisComponentsDefaults.js +58 -0
  409. package/dist/esm/Common/CratisComponentsDefaults.js.map +1 -0
  410. package/dist/esm/Common/CratisComponentsProvider.d.ts +178 -8
  411. package/dist/esm/Common/CratisComponentsProvider.js +63 -50
  412. package/dist/esm/Common/CratisComponentsProvider.js.map +1 -1
  413. package/dist/esm/Common/DatePickerInput.d.ts +98 -9
  414. package/dist/esm/Common/DatePickerInput.js +11 -29
  415. package/dist/esm/Common/DatePickerInput.js.map +1 -1
  416. package/dist/esm/Common/DatePickerInputImplementation.d.ts +6 -0
  417. package/dist/esm/Common/DatePickerInputImplementation.js +86 -0
  418. package/dist/esm/Common/DatePickerInputImplementation.js.map +1 -0
  419. package/dist/esm/Common/ErrorBoundary.d.ts +48 -1
  420. package/dist/esm/Common/ErrorBoundary.d.ts.map +1 -1
  421. package/dist/esm/Common/ErrorBoundary.js +1 -33
  422. package/dist/esm/Common/ErrorBoundary.js.map +1 -1
  423. package/dist/esm/Common/FormElement.d.ts +33 -0
  424. package/dist/esm/Common/FormElement.d.ts.map +1 -1
  425. package/dist/esm/Common/FormElement.js +1 -13
  426. package/dist/esm/Common/FormElement.js.map +1 -1
  427. package/dist/esm/Common/Icon.d.ts +12 -0
  428. package/dist/esm/Common/Icon.d.ts.map +1 -1
  429. package/dist/esm/Common/Icon.js +1 -15
  430. package/dist/esm/Common/Icon.js.map +1 -1
  431. package/dist/esm/Common/IconButton.d.ts +15 -0
  432. package/dist/esm/Common/IconButton.js +17 -0
  433. package/dist/esm/Common/IconButton.js.map +1 -0
  434. package/dist/esm/Common/IconButtonImplementation.d.ts +3 -0
  435. package/dist/esm/Common/IconButtonImplementation.js +10 -0
  436. package/dist/esm/Common/IconButtonImplementation.js.map +1 -0
  437. package/dist/esm/Common/Page.d.ts +34 -0
  438. package/dist/esm/Common/Page.d.ts.map +1 -1
  439. package/dist/esm/Common/Page.js +1 -14
  440. package/dist/esm/Common/Page.js.map +1 -1
  441. package/dist/esm/Common/Radio.d.ts +38 -0
  442. package/dist/esm/Common/Radio.js +17 -0
  443. package/dist/esm/Common/Radio.js.map +1 -0
  444. package/dist/esm/Common/RadioImplementation.d.ts +3 -0
  445. package/dist/esm/Common/RadioImplementation.js +46 -0
  446. package/dist/esm/Common/RadioImplementation.js.map +1 -0
  447. package/dist/esm/Common/Surface.d.ts +18 -0
  448. package/dist/esm/Common/Surface.d.ts.map +1 -0
  449. package/dist/esm/Common/Surface.js +17 -0
  450. package/dist/esm/Common/Surface.js.map +1 -0
  451. package/dist/esm/Common/SurfaceImplementation.d.ts +3 -0
  452. package/dist/esm/Common/SurfaceImplementation.js +19 -0
  453. package/dist/esm/Common/SurfaceImplementation.js.map +1 -0
  454. package/dist/esm/Common/Switch.d.ts +34 -0
  455. package/dist/esm/Common/Switch.js +17 -0
  456. package/dist/esm/Common/Switch.js.map +1 -0
  457. package/dist/esm/Common/SwitchImplementation.d.ts +3 -0
  458. package/dist/esm/Common/SwitchImplementation.js +46 -0
  459. package/dist/esm/Common/SwitchImplementation.js.map +1 -0
  460. package/dist/esm/Common/TextArea.d.ts +18 -0
  461. package/dist/esm/Common/TextArea.js +17 -0
  462. package/dist/esm/Common/TextArea.js.map +1 -0
  463. package/dist/esm/Common/TextAreaImplementation.d.ts +3 -0
  464. package/dist/esm/Common/TextAreaImplementation.js +21 -0
  465. package/dist/esm/Common/TextAreaImplementation.js.map +1 -0
  466. package/dist/esm/Common/TextInput.d.ts +22 -0
  467. package/dist/esm/Common/TextInput.js +17 -0
  468. package/dist/esm/Common/TextInput.js.map +1 -0
  469. package/dist/esm/Common/TextInputImplementation.d.ts +3 -0
  470. package/dist/esm/Common/TextInputImplementation.js +21 -0
  471. package/dist/esm/Common/TextInputImplementation.js.map +1 -0
  472. package/dist/esm/Common/Tooltip.d.ts +18 -3
  473. package/dist/esm/Common/Tooltip.d.ts.map +1 -1
  474. package/dist/esm/Common/Tooltip.js +11 -26
  475. package/dist/esm/Common/Tooltip.js.map +1 -1
  476. package/dist/esm/Common/TooltipImplementation.d.ts +3 -0
  477. package/dist/esm/Common/TooltipImplementation.js +22 -0
  478. package/dist/esm/Common/TooltipImplementation.js.map +1 -0
  479. package/dist/esm/Common/index.d.ts +17 -11
  480. package/dist/esm/Common/index.js +10 -4
  481. package/dist/esm/Common/index.js.map +1 -1
  482. package/dist/esm/{Canvas/messaging/useOptionalMessenger.js → Common/messaging/useOptionalMessenger.d.ts} +10 -15
  483. package/dist/esm/Common/messaging/useOptionalMessenger.d.ts.map +1 -0
  484. package/dist/esm/Common/messaging/useOptionalMessenger.js +13 -0
  485. package/dist/esm/Common/messaging/useOptionalMessenger.js.map +1 -0
  486. package/dist/esm/Common/normalizeIconClass.d.ts +11 -1
  487. package/dist/esm/Common/normalizeIconClass.d.ts.map +1 -1
  488. package/dist/esm/Common/normalizeIconClass.js +1 -41
  489. package/dist/esm/Common/normalizeIconClass.js.map +1 -1
  490. package/dist/esm/Common/reactAriaProps.d.ts +7 -0
  491. package/dist/esm/Common/reactAriaProps.d.ts.map +1 -0
  492. package/dist/esm/Common/reactAriaProps.js +6 -0
  493. package/dist/esm/Common/reactAriaProps.js.map +1 -0
  494. package/dist/esm/Common/useNativeCheckedState.d.ts +8 -0
  495. package/dist/esm/Common/useNativeCheckedState.d.ts.map +1 -0
  496. package/dist/esm/Common/useNativeCheckedState.js +43 -0
  497. package/dist/esm/Common/useNativeCheckedState.js.map +1 -0
  498. package/dist/esm/DataPage/DataPage.d.ts +263 -14
  499. package/dist/esm/DataPage/DataPage.js +18 -156
  500. package/dist/esm/DataPage/DataPage.js.map +1 -1
  501. package/dist/esm/DataPage/DataPageLayout.d.ts +14 -0
  502. package/dist/esm/DataPage/DataPageLayout.d.ts.map +1 -1
  503. package/dist/esm/DataPage/DataPageLayout.js +0 -20
  504. package/dist/esm/DataPage/DataPageLayout.js.map +1 -1
  505. package/dist/esm/DataPage/index.d.ts +2 -3
  506. package/dist/esm/DataPage/index.js +0 -3
  507. package/dist/esm/DataPage/index.js.map +1 -1
  508. package/dist/esm/DataTables/Column.d.ts +44 -4
  509. package/dist/esm/DataTables/Column.js +0 -19
  510. package/dist/esm/DataTables/Column.js.map +1 -1
  511. package/dist/esm/DataTables/ColumnFilterMenu.d.ts +77 -6
  512. package/dist/esm/DataTables/ColumnFilterMenu.js +127 -60
  513. package/dist/esm/DataTables/ColumnFilterMenu.js.map +1 -1
  514. package/dist/esm/DataTables/DataTableCore.d.ts +67 -8
  515. package/dist/esm/DataTables/DataTableCore.js +232 -57
  516. package/dist/esm/DataTables/DataTableCore.js.map +1 -1
  517. package/dist/esm/DataTables/DataTableFilterMatcherRegistry.d.ts +16 -2
  518. package/dist/esm/DataTables/DataTableFilterMatcherRegistry.js +2 -18
  519. package/dist/esm/DataTables/DataTableFilterMatcherRegistry.js.map +1 -1
  520. package/dist/esm/DataTables/DataTableFilterMeta.d.ts +27 -1
  521. package/dist/esm/DataTables/DataTableFilterMeta.d.ts.map +1 -1
  522. package/dist/esm/DataTables/DataTableFilterMeta.js +0 -3
  523. package/dist/esm/DataTables/DataTableFilterMeta.js.map +1 -1
  524. package/dist/esm/DataTables/DataTableForObservableQuery.d.ts +98 -7
  525. package/dist/esm/DataTables/DataTableForObservableQuery.js +2 -51
  526. package/dist/esm/DataTables/DataTableForObservableQuery.js.map +1 -1
  527. package/dist/esm/DataTables/DataTableForQuery.d.ts +111 -7
  528. package/dist/esm/DataTables/DataTableForQuery.js +2 -47
  529. package/dist/esm/DataTables/DataTableForQuery.js.map +1 -1
  530. package/dist/esm/DataTables/DataTableSelectionChangeEvent.d.ts +10 -0
  531. package/dist/esm/DataTables/DataTableSelectionChangeEvent.d.ts.map +1 -1
  532. package/dist/esm/DataTables/DataTableSelectionChangeEvent.js +2 -0
  533. package/dist/esm/DataTables/DataTableSelectionChangeEvent.js.map +1 -1
  534. package/dist/esm/DataTables/TablePaginator.d.ts +38 -2
  535. package/dist/esm/DataTables/TablePaginator.js +11 -26
  536. package/dist/esm/DataTables/TablePaginator.js.map +1 -1
  537. package/dist/esm/DataTables/TablePaginatorImplementation.d.ts +8 -0
  538. package/dist/esm/DataTables/TablePaginatorImplementation.js +35 -0
  539. package/dist/esm/DataTables/TablePaginatorImplementation.js.map +1 -0
  540. package/dist/esm/DataTables/index.d.ts +9 -9
  541. package/dist/esm/DataTables/index.js +2 -4
  542. package/dist/esm/DataTables/index.js.map +1 -1
  543. package/dist/esm/DataTables/paginatorRange.d.ts +9 -0
  544. package/dist/esm/DataTables/paginatorRange.d.ts.map +1 -1
  545. package/dist/esm/DataTables/paginatorRange.js +0 -11
  546. package/dist/esm/DataTables/paginatorRange.js.map +1 -1
  547. package/dist/esm/DataTables/selectionKeys.d.ts +4 -1
  548. package/dist/esm/DataTables/selectionKeys.d.ts.map +1 -1
  549. package/dist/esm/DataTables/selectionKeys.js +7 -23
  550. package/dist/esm/DataTables/selectionKeys.js.map +1 -1
  551. package/dist/esm/Dialogs/BusyIndicatorDialog.d.ts +50 -0
  552. package/dist/esm/Dialogs/BusyIndicatorDialog.d.ts.map +1 -1
  553. package/dist/esm/Dialogs/BusyIndicatorDialog.js +1 -51
  554. package/dist/esm/Dialogs/BusyIndicatorDialog.js.map +1 -1
  555. package/dist/esm/Dialogs/ConfirmationDialog.d.ts +25 -0
  556. package/dist/esm/Dialogs/ConfirmationDialog.d.ts.map +1 -1
  557. package/dist/esm/Dialogs/ConfirmationDialog.js +1 -1
  558. package/dist/esm/Dialogs/ConfirmationDialog.js.map +1 -1
  559. package/dist/esm/Dialogs/Dialog.d.ts +72 -8
  560. package/dist/esm/Dialogs/Dialog.js +11 -216
  561. package/dist/esm/Dialogs/Dialog.js.map +1 -1
  562. package/dist/esm/Dialogs/DialogImplementation.d.ts +6 -0
  563. package/dist/esm/Dialogs/DialogImplementation.js +122 -0
  564. package/dist/esm/Dialogs/DialogImplementation.js.map +1 -0
  565. package/dist/esm/Dialogs/DialogInitialFocus.d.ts +38 -0
  566. package/dist/esm/Dialogs/DialogInitialFocus.d.ts.map +1 -1
  567. package/dist/esm/Dialogs/DialogInitialFocus.js +0 -40
  568. package/dist/esm/Dialogs/DialogInitialFocus.js.map +1 -1
  569. package/dist/esm/Dialogs/index.d.ts +4 -5
  570. package/dist/esm/Dialogs/index.js +0 -3
  571. package/dist/esm/Dialogs/index.js.map +1 -1
  572. package/dist/esm/Display/Avatar.d.ts +11 -3
  573. package/dist/esm/Display/Avatar.d.ts.map +1 -1
  574. package/dist/esm/Display/Avatar.js +1 -8
  575. package/dist/esm/Display/Avatar.js.map +1 -1
  576. package/dist/esm/Display/Badge.d.ts +13 -4
  577. package/dist/esm/Display/Badge.d.ts.map +1 -1
  578. package/dist/esm/Display/Badge.js +1 -6
  579. package/dist/esm/Display/Badge.js.map +1 -1
  580. package/dist/esm/Display/Chip.d.ts +11 -3
  581. package/dist/esm/Display/Chip.d.ts.map +1 -1
  582. package/dist/esm/Display/Chip.js +1 -6
  583. package/dist/esm/Display/Chip.js.map +1 -1
  584. package/dist/esm/Display/Message.d.ts +13 -5
  585. package/dist/esm/Display/Message.d.ts.map +1 -1
  586. package/dist/esm/Display/Message.js +9 -21
  587. package/dist/esm/Display/Message.js.map +1 -1
  588. package/dist/esm/Display/ProgressBar.d.ts +11 -1
  589. package/dist/esm/Display/ProgressBar.d.ts.map +1 -1
  590. package/dist/esm/Display/ProgressBar.js +12 -8
  591. package/dist/esm/Display/ProgressBar.js.map +1 -1
  592. package/dist/esm/Display/ProgressBarImplementation.d.ts +3 -0
  593. package/dist/esm/Display/ProgressBarImplementation.js +11 -0
  594. package/dist/esm/Display/ProgressBarImplementation.js.map +1 -0
  595. package/dist/esm/Display/ProgressSpinner.d.ts +8 -3
  596. package/dist/esm/Display/ProgressSpinner.d.ts.map +1 -1
  597. package/dist/esm/Display/ProgressSpinner.js +2 -9
  598. package/dist/esm/Display/ProgressSpinner.js.map +1 -1
  599. package/dist/esm/Display/Skeleton.d.ts +8 -1
  600. package/dist/esm/Display/Skeleton.d.ts.map +1 -1
  601. package/dist/esm/Display/Skeleton.js +5 -13
  602. package/dist/esm/Display/Skeleton.js.map +1 -1
  603. package/dist/esm/Display/Tag.d.ts +17 -5
  604. package/dist/esm/Display/Tag.d.ts.map +1 -1
  605. package/dist/esm/Display/Tag.js +3 -8
  606. package/dist/esm/Display/Tag.js.map +1 -1
  607. package/dist/esm/Display/index.d.ts +8 -9
  608. package/dist/esm/Display/index.js +0 -3
  609. package/dist/esm/Display/index.js.map +1 -1
  610. package/dist/esm/Dropdown/Dropdown.d.ts +88 -12
  611. package/dist/esm/Dropdown/Dropdown.js +11 -33
  612. package/dist/esm/Dropdown/Dropdown.js.map +1 -1
  613. package/dist/esm/Dropdown/DropdownImplementation.d.ts +7 -0
  614. package/dist/esm/Dropdown/DropdownImplementation.js +156 -0
  615. package/dist/esm/Dropdown/DropdownImplementation.js.map +1 -0
  616. package/dist/esm/Dropdown/index.d.ts +1 -2
  617. package/dist/esm/Dropdown/index.js +0 -3
  618. package/dist/esm/Dropdown/index.js.map +1 -1
  619. package/dist/esm/Filter/FilterEditor.d.ts +28 -2
  620. package/dist/esm/Filter/FilterEditor.js +0 -20
  621. package/dist/esm/Filter/FilterEditor.js.map +1 -1
  622. package/dist/esm/Filter/FilterEditorProps.d.ts +8 -0
  623. package/dist/esm/Filter/FilterEditorProps.js +4 -0
  624. package/dist/esm/Filter/FilterEditorProps.js.map +1 -0
  625. package/dist/esm/Filter/FilterPanel.d.ts +46 -3
  626. package/dist/esm/Filter/FilterPanel.js +63 -33
  627. package/dist/esm/Filter/FilterPanel.js.map +1 -1
  628. package/dist/esm/Filter/RangeHistogramFilter.d.ts +61 -4
  629. package/dist/esm/Filter/RangeHistogramFilter.js +49 -8
  630. package/dist/esm/Filter/RangeHistogramFilter.js.map +1 -1
  631. package/dist/esm/Filter/index.d.ts +11 -12
  632. package/dist/esm/Filter/index.js +1 -4
  633. package/dist/esm/Filter/index.js.map +1 -1
  634. package/dist/esm/Filter/types.d.ts +32 -4
  635. package/dist/esm/Filter/types.d.ts.map +1 -1
  636. package/dist/esm/Filter/types.js +2 -0
  637. package/dist/esm/Filter/types.js.map +1 -1
  638. package/dist/esm/Filter/useFilterState.d.ts +25 -2
  639. package/dist/esm/Filter/useFilterState.js +1 -13
  640. package/dist/esm/Filter/useFilterState.js.map +1 -1
  641. package/dist/esm/Filter/utils.d.ts +39 -2
  642. package/dist/esm/Filter/utils.js +34 -12
  643. package/dist/esm/Filter/utils.js.map +1 -1
  644. package/dist/esm/Notifications/Toaster.d.ts +30 -6
  645. package/dist/esm/Notifications/Toaster.d.ts.map +1 -1
  646. package/dist/esm/Notifications/Toaster.js +42 -42
  647. package/dist/esm/Notifications/Toaster.js.map +1 -1
  648. package/dist/esm/Notifications/index.d.ts +3 -4
  649. package/dist/esm/Notifications/index.js +1 -4
  650. package/dist/esm/Notifications/index.js.map +1 -1
  651. package/dist/esm/Notifications/toast.d.ts +102 -0
  652. package/dist/esm/Notifications/toast.d.ts.map +1 -1
  653. package/dist/esm/Notifications/toast.js +73 -67
  654. package/dist/esm/Notifications/toast.js.map +1 -1
  655. package/dist/esm/Notifications/toastCommandResult.d.ts +33 -0
  656. package/dist/esm/Notifications/toastCommandResult.d.ts.map +1 -1
  657. package/dist/esm/Notifications/toastCommandResult.js +0 -28
  658. package/dist/esm/Notifications/toastCommandResult.js.map +1 -1
  659. package/dist/esm/ObjectContentEditor/ObjectContentEditor.d.ts +45 -4
  660. package/dist/esm/ObjectContentEditor/ObjectContentEditor.js +96 -47
  661. package/dist/esm/ObjectContentEditor/ObjectContentEditor.js.map +1 -1
  662. package/dist/esm/ObjectContentEditor/index.d.ts +1 -2
  663. package/dist/esm/ObjectContentEditor/index.js +0 -3
  664. package/dist/esm/ObjectContentEditor/index.js.map +1 -1
  665. package/dist/esm/ObjectContentEditor/objectHelpers.d.ts +5 -2
  666. package/dist/esm/ObjectContentEditor/objectHelpers.js +0 -6
  667. package/dist/esm/ObjectContentEditor/objectHelpers.js.map +1 -1
  668. package/dist/esm/ObjectNavigationalBar/ObjectNavigationalBar.d.ts +23 -1
  669. package/dist/esm/ObjectNavigationalBar/ObjectNavigationalBar.d.ts.map +1 -1
  670. package/dist/esm/ObjectNavigationalBar/ObjectNavigationalBar.js +18 -14
  671. package/dist/esm/ObjectNavigationalBar/ObjectNavigationalBar.js.map +1 -1
  672. package/dist/esm/ObjectNavigationalBar/breadcrumbHelpers.d.ts +4 -0
  673. package/dist/esm/ObjectNavigationalBar/breadcrumbHelpers.d.ts.map +1 -1
  674. package/dist/esm/ObjectNavigationalBar/breadcrumbHelpers.js +0 -6
  675. package/dist/esm/ObjectNavigationalBar/breadcrumbHelpers.js.map +1 -1
  676. package/dist/esm/ObjectNavigationalBar/index.d.ts +1 -2
  677. package/dist/esm/ObjectNavigationalBar/index.js +0 -3
  678. package/dist/esm/ObjectNavigationalBar/index.js.map +1 -1
  679. package/dist/esm/PatrickHand-OFL.txt +93 -0
  680. package/dist/esm/PivotViewer/PivotViewer.d.ts +20 -2
  681. package/dist/esm/PivotViewer/PivotViewer.js +71 -103
  682. package/dist/esm/PivotViewer/PivotViewer.js.map +1 -1
  683. package/dist/esm/PivotViewer/components/AxisLabels.d.ts +1 -2
  684. package/dist/esm/PivotViewer/components/AxisLabels.js +1 -5
  685. package/dist/esm/PivotViewer/components/AxisLabels.js.map +1 -1
  686. package/dist/esm/PivotViewer/components/DetailPanel.d.ts +1 -0
  687. package/dist/esm/PivotViewer/components/DetailPanel.d.ts.map +1 -1
  688. package/dist/esm/PivotViewer/components/FilterPanel.d.ts +2 -3
  689. package/dist/esm/PivotViewer/components/FilterPanel.js +0 -1
  690. package/dist/esm/PivotViewer/components/FilterPanel.js.map +1 -1
  691. package/dist/esm/PivotViewer/components/FilterPanelContainer.d.ts +1 -2
  692. package/dist/esm/PivotViewer/components/PivotCanvas.d.ts +22 -4
  693. package/dist/esm/PivotViewer/components/PivotCanvas.js +70 -168
  694. package/dist/esm/PivotViewer/components/PivotCanvas.js.map +1 -1
  695. package/dist/esm/PivotViewer/components/PivotViewerMain.d.ts +7 -5
  696. package/dist/esm/PivotViewer/components/PivotViewerMain.js +2 -6
  697. package/dist/esm/PivotViewer/components/PivotViewerMain.js.map +1 -1
  698. package/dist/esm/PivotViewer/components/RangeHistogramFilter.d.ts +3 -3
  699. package/dist/esm/PivotViewer/components/RangeHistogramFilter.js +11 -6
  700. package/dist/esm/PivotViewer/components/RangeHistogramFilter.js.map +1 -1
  701. package/dist/esm/PivotViewer/components/Spinner.js +0 -2
  702. package/dist/esm/PivotViewer/components/Spinner.js.map +1 -1
  703. package/dist/esm/PivotViewer/components/Toolbar.d.ts +1 -2
  704. package/dist/esm/PivotViewer/components/Toolbar.js +1 -1
  705. package/dist/esm/PivotViewer/components/Toolbar.js.map +1 -1
  706. package/dist/esm/PivotViewer/components/ToolbarContainer.d.ts +1 -2
  707. package/dist/esm/PivotViewer/components/index.d.ts +8 -9
  708. package/dist/esm/PivotViewer/components/index.js +9 -8
  709. package/dist/esm/PivotViewer/components/pivot/animation.d.ts +1 -2
  710. package/dist/esm/PivotViewer/components/pivot/animation.js +1 -8
  711. package/dist/esm/PivotViewer/components/pivot/animation.js.map +1 -1
  712. package/dist/esm/PivotViewer/components/pivot/colorResolver.d.ts +18 -4
  713. package/dist/esm/PivotViewer/components/pivot/colorResolver.js +143 -37
  714. package/dist/esm/PivotViewer/components/pivot/colorResolver.js.map +1 -1
  715. package/dist/esm/PivotViewer/components/pivot/constants.d.ts +6 -6
  716. package/dist/esm/PivotViewer/components/pivot/constants.d.ts.map +1 -1
  717. package/dist/esm/PivotViewer/components/pivot/constants.js +7 -10
  718. package/dist/esm/PivotViewer/components/pivot/constants.js.map +1 -1
  719. package/dist/esm/PivotViewer/components/pivot/groups.d.ts +2 -3
  720. package/dist/esm/PivotViewer/components/pivot/groups.js +5 -20
  721. package/dist/esm/PivotViewer/components/pivot/groups.js.map +1 -1
  722. package/dist/esm/PivotViewer/components/pivot/sprites.d.ts +3 -2
  723. package/dist/esm/PivotViewer/components/pivot/sprites.js +89 -72
  724. package/dist/esm/PivotViewer/components/pivot/sprites.js.map +1 -1
  725. package/dist/esm/PivotViewer/components/pivot/visibility.d.ts +2 -3
  726. package/dist/esm/PivotViewer/components/pivot/visibility.js +3 -102
  727. package/dist/esm/PivotViewer/components/pivot/visibility.js.map +1 -1
  728. package/dist/esm/PivotViewer/constants.js +0 -2
  729. package/dist/esm/PivotViewer/constants.js.map +1 -1
  730. package/dist/esm/PivotViewer/engine/layout.d.ts +1 -2
  731. package/dist/esm/PivotViewer/engine/layout.js +0 -23
  732. package/dist/esm/PivotViewer/engine/layout.js.map +1 -1
  733. package/dist/esm/PivotViewer/engine/pivot.worker.d.ts.map +1 -1
  734. package/dist/esm/PivotViewer/engine/pivot.worker.js +9 -2
  735. package/dist/esm/PivotViewer/engine/requestCorrelator.d.ts +24 -0
  736. package/dist/esm/PivotViewer/engine/requestCorrelator.d.ts.map +1 -0
  737. package/dist/esm/PivotViewer/engine/requestCorrelator.js +23 -0
  738. package/dist/esm/PivotViewer/engine/requestCorrelator.js.map +1 -0
  739. package/dist/esm/PivotViewer/engine/store.d.ts +22 -2
  740. package/dist/esm/PivotViewer/engine/store.js +31 -41
  741. package/dist/esm/PivotViewer/engine/store.js.map +1 -1
  742. package/dist/esm/PivotViewer/engine/types.d.ts +87 -0
  743. package/dist/esm/PivotViewer/engine/types.d.ts.map +1 -1
  744. package/dist/esm/PivotViewer/engine/types.js +2 -0
  745. package/dist/esm/PivotViewer/engine/types.js.map +1 -1
  746. package/dist/esm/PivotViewer/hooks/index.d.ts +17 -18
  747. package/dist/esm/PivotViewer/hooks/index.js +19 -18
  748. package/dist/esm/PivotViewer/hooks/useAnimationModeTracking.d.ts +3 -0
  749. package/dist/esm/PivotViewer/hooks/useAnimationModeTracking.d.ts.map +1 -1
  750. package/dist/esm/PivotViewer/hooks/useAnimationModeTracking.js +0 -8
  751. package/dist/esm/PivotViewer/hooks/useAnimationModeTracking.js.map +1 -1
  752. package/dist/esm/PivotViewer/hooks/useCardSelection.d.ts +2 -3
  753. package/dist/esm/PivotViewer/hooks/useCardSelection.js +27 -20
  754. package/dist/esm/PivotViewer/hooks/useCardSelection.js.map +1 -1
  755. package/dist/esm/PivotViewer/hooks/useContainerDimensions.d.ts +7 -0
  756. package/dist/esm/PivotViewer/hooks/useContainerDimensions.d.ts.map +1 -1
  757. package/dist/esm/PivotViewer/hooks/useContainerDimensions.js +0 -11
  758. package/dist/esm/PivotViewer/hooks/useContainerDimensions.js.map +1 -1
  759. package/dist/esm/PivotViewer/hooks/useCurrentFilters.d.ts +8 -4
  760. package/dist/esm/PivotViewer/hooks/useCurrentFilters.js +2 -10
  761. package/dist/esm/PivotViewer/hooks/useCurrentFilters.js.map +1 -1
  762. package/dist/esm/PivotViewer/hooks/useDetailPanelClose.d.ts +2 -3
  763. package/dist/esm/PivotViewer/hooks/useDetailPanelClose.js +19 -16
  764. package/dist/esm/PivotViewer/hooks/useDetailPanelClose.js.map +1 -1
  765. package/dist/esm/PivotViewer/hooks/useDimensionState.d.ts +1 -2
  766. package/dist/esm/PivotViewer/hooks/useDimensionState.js +0 -2
  767. package/dist/esm/PivotViewer/hooks/useDimensionState.js.map +1 -1
  768. package/dist/esm/PivotViewer/hooks/useFieldExtractors.d.ts +2 -3
  769. package/dist/esm/PivotViewer/hooks/useFieldExtractors.js +0 -2
  770. package/dist/esm/PivotViewer/hooks/useFieldExtractors.js.map +1 -1
  771. package/dist/esm/PivotViewer/hooks/useFilterOptions.d.ts +2 -3
  772. package/dist/esm/PivotViewer/hooks/useFilterOptions.js +0 -2
  773. package/dist/esm/PivotViewer/hooks/useFilterOptions.js.map +1 -1
  774. package/dist/esm/PivotViewer/hooks/useFilterPanelDrag.js +2 -0
  775. package/dist/esm/PivotViewer/hooks/useFilterPanelDrag.js.map +1 -1
  776. package/dist/esm/PivotViewer/hooks/useFilterState.d.ts +4 -2
  777. package/dist/esm/PivotViewer/hooks/useFilterState.js +0 -5
  778. package/dist/esm/PivotViewer/hooks/useFilterState.js.map +1 -1
  779. package/dist/esm/PivotViewer/hooks/useFilteredData.d.ts +2 -3
  780. package/dist/esm/PivotViewer/hooks/useFilteredData.js +11 -3
  781. package/dist/esm/PivotViewer/hooks/usePanning.js +0 -14
  782. package/dist/esm/PivotViewer/hooks/usePanning.js.map +1 -1
  783. package/dist/esm/PivotViewer/hooks/usePivotEngine.d.ts +1 -2
  784. package/dist/esm/PivotViewer/hooks/usePivotEngine.js +16 -29
  785. package/dist/esm/PivotViewer/hooks/usePivotEngine.js.map +1 -1
  786. package/dist/esm/PivotViewer/hooks/useScrollSync.d.ts +4 -2
  787. package/dist/esm/PivotViewer/hooks/useScrollSync.js +0 -6
  788. package/dist/esm/PivotViewer/hooks/useScrollSync.js.map +1 -1
  789. package/dist/esm/PivotViewer/hooks/useSelectedItem.js +3 -2
  790. package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.d.ts +5 -3
  791. package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.js +13 -14
  792. package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.js.map +1 -1
  793. package/dist/esm/PivotViewer/hooks/useWheelZoom.js +2 -8
  794. package/dist/esm/PivotViewer/hooks/useWheelZoom.js.map +1 -1
  795. package/dist/esm/PivotViewer/hooks/useZoomState.js +0 -2
  796. package/dist/esm/PivotViewer/hooks/useZoomState.js.map +1 -1
  797. package/dist/esm/PivotViewer/index.d.ts +3 -5
  798. package/dist/esm/PivotViewer/index.js +1 -4
  799. package/dist/esm/PivotViewer/index.js.map +1 -1
  800. package/dist/esm/PivotViewer/types.d.ts +90 -19
  801. package/dist/esm/PivotViewer/types.js +5 -13
  802. package/dist/esm/PivotViewer/types.js.map +1 -1
  803. package/dist/esm/PivotViewer/utils/animations.d.ts +9 -0
  804. package/dist/esm/PivotViewer/utils/animations.d.ts.map +1 -1
  805. package/dist/esm/PivotViewer/utils/animations.js +2 -35
  806. package/dist/esm/PivotViewer/utils/animations.js.map +1 -1
  807. package/dist/esm/PivotViewer/utils/cardPosition.d.ts +14 -5
  808. package/dist/esm/PivotViewer/utils/cardPosition.js +3 -21
  809. package/dist/esm/PivotViewer/utils/cardPosition.js.map +1 -1
  810. package/dist/esm/PivotViewer/utils/constants.js +0 -3
  811. package/dist/esm/PivotViewer/utils/constants.js.map +1 -1
  812. package/dist/esm/PivotViewer/utils/idResolution.d.ts +22 -2
  813. package/dist/esm/PivotViewer/utils/idResolution.js +29 -17
  814. package/dist/esm/PivotViewer/utils/idResolution.js.map +1 -1
  815. package/dist/esm/PivotViewer/utils/index.d.ts +5 -6
  816. package/dist/esm/PivotViewer/utils/index.js +7 -6
  817. package/dist/esm/PivotViewer/utils/search.d.ts +11 -0
  818. package/dist/esm/PivotViewer/utils/search.js +30 -0
  819. package/dist/esm/PivotViewer/utils/search.js.map +1 -0
  820. package/dist/esm/PivotViewer/utils/selection.d.ts +7 -2
  821. package/dist/esm/PivotViewer/utils/selection.js +0 -25
  822. package/dist/esm/PivotViewer/utils/selection.js.map +1 -1
  823. package/dist/esm/PivotViewer/utils/utils.d.ts +11 -2
  824. package/dist/esm/PivotViewer/utils/utils.js +0 -5
  825. package/dist/esm/PivotViewer/utils/utils.js.map +1 -1
  826. package/dist/esm/SchemaEditor/NameCell.d.ts +4 -3
  827. package/dist/esm/SchemaEditor/NameCell.js +14 -5
  828. package/dist/esm/SchemaEditor/NameCell.js.map +1 -1
  829. package/dist/esm/SchemaEditor/SchemaEditor.d.ts +68 -5
  830. package/dist/esm/SchemaEditor/SchemaEditor.js +226 -74
  831. package/dist/esm/SchemaEditor/SchemaEditor.js.map +1 -1
  832. package/dist/esm/SchemaEditor/TypeCell.d.ts +5 -5
  833. package/dist/esm/SchemaEditor/TypeCell.js +36 -18
  834. package/dist/esm/SchemaEditor/TypeCell.js.map +1 -1
  835. package/dist/esm/SchemaEditor/index.d.ts +3 -4
  836. package/dist/esm/SchemaEditor/index.js +0 -3
  837. package/dist/esm/SchemaEditor/index.js.map +1 -1
  838. package/dist/esm/SchemaEditor/schemaHelpers.d.ts +7 -2
  839. package/dist/esm/SchemaEditor/schemaHelpers.js +5 -9
  840. package/dist/esm/SchemaEditor/schemaHelpers.js.map +1 -1
  841. package/dist/esm/TimeMachine/EventsView.d.ts +35 -10
  842. package/dist/esm/TimeMachine/EventsView.js +23 -41
  843. package/dist/esm/TimeMachine/EventsView.js.map +1 -1
  844. package/dist/esm/TimeMachine/Properties.d.ts +7 -0
  845. package/dist/esm/TimeMachine/Properties.d.ts.map +1 -1
  846. package/dist/esm/TimeMachine/Properties.js +11 -8
  847. package/dist/esm/TimeMachine/Properties.js.map +1 -1
  848. package/dist/esm/TimeMachine/ReadModelView.d.ts +29 -4
  849. package/dist/esm/TimeMachine/ReadModelView.js +3 -12
  850. package/dist/esm/TimeMachine/ReadModelView.js.map +1 -1
  851. package/dist/esm/TimeMachine/TimeMachine.d.ts +22 -7
  852. package/dist/esm/TimeMachine/TimeMachine.js +23 -23
  853. package/dist/esm/TimeMachine/TimeMachine.js.map +1 -1
  854. package/dist/esm/TimeMachine/TimeMachineLabels.d.ts +15 -0
  855. package/dist/esm/TimeMachine/TimeMachineLabels.d.ts.map +1 -1
  856. package/dist/esm/TimeMachine/TimeMachineLabels.js +0 -3
  857. package/dist/esm/TimeMachine/TimeMachineLabels.js.map +1 -1
  858. package/dist/esm/TimeMachine/index.d.ts +9 -8
  859. package/dist/esm/TimeMachine/index.js +0 -3
  860. package/dist/esm/TimeMachine/index.js.map +1 -1
  861. package/dist/esm/TimeMachine/propertiesHelpers.d.ts +3 -0
  862. package/dist/esm/TimeMachine/propertiesHelpers.d.ts.map +1 -1
  863. package/dist/esm/TimeMachine/propertiesHelpers.js +0 -5
  864. package/dist/esm/TimeMachine/propertiesHelpers.js.map +1 -1
  865. package/dist/esm/TimeMachine/types.d.ts +24 -0
  866. package/dist/esm/TimeMachine/types.d.ts.map +1 -1
  867. package/dist/esm/TimeMachine/types.js +2 -0
  868. package/dist/esm/TimeMachine/types.js.map +1 -1
  869. package/dist/esm/Toolbar/Toolbar.d.ts +32 -2
  870. package/dist/esm/Toolbar/Toolbar.d.ts.map +1 -1
  871. package/dist/esm/Toolbar/Toolbar.js +20 -6
  872. package/dist/esm/Toolbar/Toolbar.js.map +1 -1
  873. package/dist/esm/Toolbar/ToolbarButton.d.ts +41 -4
  874. package/dist/esm/Toolbar/ToolbarButton.js +7 -14
  875. package/dist/esm/Toolbar/ToolbarButton.js.map +1 -1
  876. package/dist/esm/Toolbar/ToolbarContext.d.ts +16 -0
  877. package/dist/esm/Toolbar/ToolbarContext.d.ts.map +1 -1
  878. package/dist/esm/Toolbar/ToolbarContext.js +0 -8
  879. package/dist/esm/Toolbar/ToolbarContext.js.map +1 -1
  880. package/dist/esm/Toolbar/ToolbarDragContext.d.ts +16 -0
  881. package/dist/esm/Toolbar/ToolbarDragContext.d.ts.map +1 -1
  882. package/dist/esm/Toolbar/ToolbarDragContext.js +0 -12
  883. package/dist/esm/Toolbar/ToolbarDragContext.js.map +1 -1
  884. package/dist/esm/Toolbar/ToolbarFanOutItem.d.ts +33 -5
  885. package/dist/esm/Toolbar/ToolbarFanOutItem.js +23 -21
  886. package/dist/esm/Toolbar/ToolbarFanOutItem.js.map +1 -1
  887. package/dist/esm/Toolbar/ToolbarFolder.d.ts +40 -6
  888. package/dist/esm/Toolbar/ToolbarFolder.js +29 -17
  889. package/dist/esm/Toolbar/ToolbarFolder.js.map +1 -1
  890. package/dist/esm/Toolbar/ToolbarFolderContext.d.ts +9 -0
  891. package/dist/esm/Toolbar/ToolbarFolderContext.d.ts.map +1 -1
  892. package/dist/esm/Toolbar/ToolbarFolderContext.js +0 -10
  893. package/dist/esm/Toolbar/ToolbarFolderContext.js.map +1 -1
  894. package/dist/esm/Toolbar/ToolbarGroup.d.ts +41 -2
  895. package/dist/esm/Toolbar/ToolbarGroup.d.ts.map +1 -1
  896. package/dist/esm/Toolbar/ToolbarGroup.js +7 -49
  897. package/dist/esm/Toolbar/ToolbarGroup.js.map +1 -1
  898. package/dist/esm/Toolbar/ToolbarItemVisibilityContext.d.ts +3 -0
  899. package/dist/esm/Toolbar/ToolbarItemVisibilityContext.d.ts.map +1 -0
  900. package/dist/esm/Toolbar/ToolbarItemVisibilityContext.js +8 -0
  901. package/dist/esm/Toolbar/ToolbarItemVisibilityContext.js.map +1 -0
  902. package/dist/esm/Toolbar/ToolbarLayout.d.ts +71 -2
  903. package/dist/esm/Toolbar/ToolbarLayout.d.ts.map +1 -1
  904. package/dist/esm/Toolbar/ToolbarLayout.js +8 -66
  905. package/dist/esm/Toolbar/ToolbarLayout.js.map +1 -1
  906. package/dist/esm/Toolbar/ToolbarSection.d.ts +30 -2
  907. package/dist/esm/Toolbar/ToolbarSection.d.ts.map +1 -1
  908. package/dist/esm/Toolbar/ToolbarSection.js +6 -33
  909. package/dist/esm/Toolbar/ToolbarSection.js.map +1 -1
  910. package/dist/esm/Toolbar/ToolbarSeparator.d.ts +17 -1
  911. package/dist/esm/Toolbar/ToolbarSeparator.d.ts.map +1 -1
  912. package/dist/esm/Toolbar/ToolbarSeparator.js +1 -7
  913. package/dist/esm/Toolbar/ToolbarSeparator.js.map +1 -1
  914. package/dist/esm/Toolbar/ToolbarSlot.d.ts +46 -0
  915. package/dist/esm/Toolbar/ToolbarSlot.d.ts.map +1 -1
  916. package/dist/esm/Toolbar/ToolbarSlot.js +1 -46
  917. package/dist/esm/Toolbar/ToolbarSlot.js.map +1 -1
  918. package/dist/esm/Toolbar/index.d.ts +21 -22
  919. package/dist/esm/Toolbar/index.js +0 -3
  920. package/dist/esm/Toolbar/index.js.map +1 -1
  921. package/dist/esm/index.d.ts +18 -25
  922. package/dist/esm/index.js +3 -45
  923. package/dist/esm/index.js.map +1 -1
  924. package/dist/esm/renderer/RendererContext.d.ts +50 -0
  925. package/dist/esm/renderer/RendererContext.js +128 -0
  926. package/dist/esm/renderer/RendererContext.js.map +1 -0
  927. package/dist/esm/renderer/RendererScope.d.ts +19 -0
  928. package/dist/esm/renderer/RendererScope.js +54 -0
  929. package/dist/esm/renderer/RendererScope.js.map +1 -0
  930. package/dist/esm/renderer/builtin/index.d.ts +12 -0
  931. package/dist/esm/renderer/builtin/index.d.ts.map +1 -0
  932. package/dist/esm/renderer/builtin/index.js +47 -0
  933. package/dist/esm/renderer/builtin/index.js.map +1 -0
  934. package/dist/esm/renderer/capabilities.d.ts +8 -0
  935. package/dist/esm/renderer/capabilities.d.ts.map +1 -0
  936. package/dist/esm/renderer/capabilities.js +4 -0
  937. package/dist/esm/renderer/capabilities.js.map +1 -0
  938. package/dist/esm/renderer/coreSlots.d.ts +80 -0
  939. package/dist/esm/renderer/coreSlots.js +35 -0
  940. package/dist/esm/renderer/coreSlots.js.map +1 -0
  941. package/dist/esm/renderer/errors.d.ts +58 -0
  942. package/dist/esm/renderer/errors.js +24 -0
  943. package/dist/esm/renderer/errors.js.map +1 -0
  944. package/dist/esm/renderer/index.d.ts +60 -0
  945. package/dist/esm/renderer/index.js +7 -0
  946. package/dist/esm/{Styled → renderer}/index.js.map +1 -1
  947. package/dist/esm/renderer/manifest.d.ts +97 -0
  948. package/dist/esm/renderer/manifest.js +36 -0
  949. package/dist/esm/renderer/manifest.js.map +1 -0
  950. package/dist/esm/renderer/overlayEnvironment.d.ts +23 -0
  951. package/dist/esm/renderer/overlayEnvironment.d.ts.map +1 -0
  952. package/dist/esm/renderer/overlayEnvironment.js +6 -0
  953. package/dist/esm/renderer/overlayEnvironment.js.map +1 -0
  954. package/dist/esm/renderer/presentation.d.ts +93 -0
  955. package/dist/esm/renderer/presentation.js +119 -0
  956. package/dist/esm/renderer/presentation.js.map +1 -0
  957. package/dist/esm/renderer/renderSlot.d.ts +8 -0
  958. package/dist/esm/renderer/renderSlot.d.ts.map +1 -0
  959. package/dist/esm/renderer/renderSlot.js +12 -0
  960. package/dist/esm/renderer/renderSlot.js.map +1 -0
  961. package/dist/esm/renderer/resolve.d.ts +37 -0
  962. package/dist/esm/renderer/resolve.js +123 -0
  963. package/dist/esm/renderer/resolve.js.map +1 -0
  964. package/dist/esm/renderer/slots.d.ts +52 -0
  965. package/dist/esm/renderer/slots.d.ts.map +1 -0
  966. package/dist/esm/renderer/slots.js +4 -0
  967. package/dist/esm/renderer/slots.js.map +1 -0
  968. package/dist/esm/schemas/ui-adapter.schema.d.ts +7 -0
  969. package/dist/esm/schemas/ui-adapter.schema.json +210 -0
  970. package/dist/esm/styles.css +5031 -3820
  971. package/dist/esm/theme.css +172 -434
  972. package/dist/esm/tokens.css +55 -97
  973. package/dist/esm/types/ChangeHandler.d.ts +13 -0
  974. package/dist/esm/types/ChangeHandler.js +4 -0
  975. package/dist/esm/types/ChangeHandler.js.map +1 -0
  976. package/dist/esm/types/ChangeMeta.d.ts +26 -0
  977. package/dist/esm/types/ChangeMeta.d.ts.map +1 -0
  978. package/dist/esm/types/ChangeMeta.js +4 -0
  979. package/dist/esm/types/ChangeMeta.js.map +1 -0
  980. package/dist/esm/types/ExactPartKeys.d.ts +6 -0
  981. package/dist/esm/types/ExactPartKeys.d.ts.map +1 -0
  982. package/dist/esm/types/ExactPartKeys.js +4 -0
  983. package/dist/esm/types/ExactPartKeys.js.map +1 -0
  984. package/dist/esm/types/JsonSchema.d.ts +40 -1
  985. package/dist/esm/types/JsonSchema.d.ts.map +1 -1
  986. package/dist/esm/types/JsonSchema.js +2 -0
  987. package/dist/esm/types/JsonSchema.js.map +1 -1
  988. package/dist/esm/types/TypeFormat.d.ts +11 -0
  989. package/dist/esm/types/TypeFormat.d.ts.map +1 -1
  990. package/dist/esm/types/TypeFormat.js +0 -2
  991. package/dist/esm/types/TypeFormat.js.map +1 -1
  992. package/dist/esm/types/index.d.ts +5 -3
  993. package/dist/esm/types/index.js +1 -3
  994. package/dist/esm/types/index.js.map +1 -1
  995. package/dist/esm/types/parts.d.ts +467 -0
  996. package/dist/esm/types/parts.d.ts.map +1 -0
  997. package/dist/esm/types/parts.js +453 -0
  998. package/dist/esm/types/parts.js.map +1 -0
  999. package/package.json +142 -47
  1000. package/dist/esm/Canvas/Canvas.d.ts.map +0 -1
  1001. package/dist/esm/Canvas/CanvasControls.d.ts.map +0 -1
  1002. package/dist/esm/Canvas/glassAttributes.d.ts +0 -4
  1003. package/dist/esm/Canvas/glassAttributes.d.ts.map +0 -1
  1004. package/dist/esm/Canvas/glassAttributes.js +0 -25
  1005. package/dist/esm/Canvas/glassAttributes.js.map +0 -1
  1006. package/dist/esm/Canvas/index.d.ts.map +0 -1
  1007. package/dist/esm/Canvas/messaging/useOptionalMessenger.d.ts +0 -3
  1008. package/dist/esm/Canvas/messaging/useOptionalMessenger.d.ts.map +0 -1
  1009. package/dist/esm/Canvas/messaging/useOptionalMessenger.js.map +0 -1
  1010. package/dist/esm/Canvas/shapes/ChatBubble/AnchoredOverlay.d.ts +0 -13
  1011. package/dist/esm/Canvas/shapes/ChatBubble/AnchoredOverlay.d.ts.map +0 -1
  1012. package/dist/esm/Canvas/shapes/ChatBubble/AnchoredOverlay.js.map +0 -1
  1013. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/PersonAvatarCircle.d.ts +0 -20
  1014. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/PersonAvatarCircle.d.ts.map +0 -1
  1015. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/PersonAvatarCircle.js +0 -27
  1016. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/PersonAvatarCircle.js.map +0 -1
  1017. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getAvatarColor.d.ts +0 -2
  1018. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getAvatarColor.d.ts.map +0 -1
  1019. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getAvatarColor.js +0 -20
  1020. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getAvatarColor.js.map +0 -1
  1021. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getInitials.d.ts +0 -2
  1022. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getInitials.d.ts.map +0 -1
  1023. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getInitials.js +0 -11
  1024. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getInitials.js.map +0 -1
  1025. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/index.d.ts +0 -5
  1026. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/index.d.ts.map +0 -1
  1027. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/index.js +0 -4
  1028. package/dist/esm/Canvas/shapes/ChatBubble/Avatar/index.js.map +0 -1
  1029. package/dist/esm/Canvas/shapes/ChatBubble/Chat.d.ts +0 -43
  1030. package/dist/esm/Canvas/shapes/ChatBubble/Chat.d.ts.map +0 -1
  1031. package/dist/esm/Canvas/shapes/ChatBubble/Chat.js.map +0 -1
  1032. package/dist/esm/Canvas/shapes/ChatBubble/ChatAuthorKind.d.ts +0 -5
  1033. package/dist/esm/Canvas/shapes/ChatBubble/ChatAuthorKind.d.ts.map +0 -1
  1034. package/dist/esm/Canvas/shapes/ChatBubble/ChatAuthorKind.js +0 -14
  1035. package/dist/esm/Canvas/shapes/ChatBubble/ChatAuthorKind.js.map +0 -1
  1036. package/dist/esm/Canvas/shapes/ChatBubble/ChatBubble.d.ts +0 -18
  1037. package/dist/esm/Canvas/shapes/ChatBubble/ChatBubble.d.ts.map +0 -1
  1038. package/dist/esm/Canvas/shapes/ChatBubble/ChatBubble.js.map +0 -1
  1039. package/dist/esm/Canvas/shapes/ChatBubble/ChatComposer.d.ts +0 -24
  1040. package/dist/esm/Canvas/shapes/ChatBubble/ChatComposer.d.ts.map +0 -1
  1041. package/dist/esm/Canvas/shapes/ChatBubble/ChatComposer.js.map +0 -1
  1042. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessage.d.ts +0 -17
  1043. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessage.d.ts.map +0 -1
  1044. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessage.js +0 -2
  1045. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessage.js.map +0 -1
  1046. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageAdded.d.ts +0 -6
  1047. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageAdded.d.ts.map +0 -1
  1048. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageAdded.js +0 -18
  1049. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageAdded.js.map +0 -1
  1050. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageBubble.d.ts +0 -25
  1051. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageBubble.d.ts.map +0 -1
  1052. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageBubble.js +0 -31
  1053. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageBubble.js.map +0 -1
  1054. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReaction.d.ts +0 -6
  1055. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReaction.d.ts.map +0 -1
  1056. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReaction.js +0 -2
  1057. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReaction.js.map +0 -1
  1058. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReactionUser.d.ts +0 -7
  1059. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReactionUser.d.ts.map +0 -1
  1060. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReactionUser.js +0 -2
  1061. package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReactionUser.js.map +0 -1
  1062. package/dist/esm/Canvas/shapes/ChatBubble/ChatOwnReaction.d.ts +0 -6
  1063. package/dist/esm/Canvas/shapes/ChatBubble/ChatOwnReaction.d.ts.map +0 -1
  1064. package/dist/esm/Canvas/shapes/ChatBubble/ChatOwnReaction.js +0 -2
  1065. package/dist/esm/Canvas/shapes/ChatBubble/ChatOwnReaction.js.map +0 -1
  1066. package/dist/esm/Canvas/shapes/ChatBubble/ChatTypingAuthor.d.ts +0 -8
  1067. package/dist/esm/Canvas/shapes/ChatBubble/ChatTypingAuthor.d.ts.map +0 -1
  1068. package/dist/esm/Canvas/shapes/ChatBubble/ChatTypingAuthor.js +0 -2
  1069. package/dist/esm/Canvas/shapes/ChatBubble/ChatTypingAuthor.js.map +0 -1
  1070. package/dist/esm/Canvas/shapes/ChatBubble/ChatVariant.d.ts +0 -5
  1071. package/dist/esm/Canvas/shapes/ChatBubble/ChatVariant.d.ts.map +0 -1
  1072. package/dist/esm/Canvas/shapes/ChatBubble/ChatVariant.js +0 -15
  1073. package/dist/esm/Canvas/shapes/ChatBubble/ChatVariant.js.map +0 -1
  1074. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategory.d.ts +0 -6
  1075. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategory.d.ts.map +0 -1
  1076. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategory.js +0 -2
  1077. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategory.js.map +0 -1
  1078. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategoryKey.d.ts.map +0 -1
  1079. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategoryKey.js.map +0 -1
  1080. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiMemory.d.ts +0 -5
  1081. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiMemory.d.ts.map +0 -1
  1082. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiMemory.js +0 -2
  1083. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiMemory.js.map +0 -1
  1084. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiPicker.d.ts +0 -14
  1085. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiPicker.d.ts.map +0 -1
  1086. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiPicker.js.map +0 -1
  1087. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/emojiCatalog.d.ts +0 -3
  1088. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/emojiCatalog.d.ts.map +0 -1
  1089. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/emojiCatalog.js.map +0 -1
  1090. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/index.d.ts +0 -7
  1091. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/index.d.ts.map +0 -1
  1092. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/index.js +0 -7
  1093. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/index.js.map +0 -1
  1094. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/recentEmojis.d.ts +0 -6
  1095. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/recentEmojis.d.ts.map +0 -1
  1096. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/recentEmojis.js +0 -59
  1097. package/dist/esm/Canvas/shapes/ChatBubble/Emoji/recentEmojis.js.map +0 -1
  1098. package/dist/esm/Canvas/shapes/ChatBubble/FailedReply.d.ts +0 -23
  1099. package/dist/esm/Canvas/shapes/ChatBubble/FailedReply.d.ts.map +0 -1
  1100. package/dist/esm/Canvas/shapes/ChatBubble/FailedReply.js +0 -28
  1101. package/dist/esm/Canvas/shapes/ChatBubble/FailedReply.js.map +0 -1
  1102. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionCandidate.d.ts +0 -9
  1103. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionCandidate.d.ts.map +0 -1
  1104. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionCandidate.js +0 -2
  1105. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionCandidate.js.map +0 -1
  1106. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionQuery.d.ts +0 -5
  1107. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionQuery.d.ts.map +0 -1
  1108. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionQuery.js +0 -2
  1109. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionQuery.js.map +0 -1
  1110. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionSuggestions.d.ts +0 -11
  1111. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionSuggestions.d.ts.map +0 -1
  1112. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionSuggestions.js +0 -14
  1113. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionSuggestions.js.map +0 -1
  1114. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/activeMentionQuery.d.ts +0 -3
  1115. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/activeMentionQuery.d.ts.map +0 -1
  1116. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/activeMentionQuery.js +0 -34
  1117. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/activeMentionQuery.js.map +0 -1
  1118. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/applyMention.d.ts +0 -7
  1119. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/applyMention.d.ts.map +0 -1
  1120. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/applyMention.js +0 -23
  1121. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/applyMention.js.map +0 -1
  1122. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/extractMentions.d.ts +0 -4
  1123. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/extractMentions.d.ts.map +0 -1
  1124. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/extractMentions.js +0 -24
  1125. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/extractMentions.js.map +0 -1
  1126. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/findMentionRanges.d.ts +0 -11
  1127. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/findMentionRanges.d.ts.map +0 -1
  1128. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/findMentionRanges.js.map +0 -1
  1129. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/index.d.ts +0 -10
  1130. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/index.d.ts.map +0 -1
  1131. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/index.js +0 -10
  1132. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/index.js.map +0 -1
  1133. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/matchCandidates.d.ts +0 -3
  1134. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/matchCandidates.d.ts.map +0 -1
  1135. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/matchCandidates.js +0 -24
  1136. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/matchCandidates.js.map +0 -1
  1137. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/mentionSegments.d.ts +0 -10
  1138. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/mentionSegments.d.ts.map +0 -1
  1139. package/dist/esm/Canvas/shapes/ChatBubble/Mentions/mentionSegments.js.map +0 -1
  1140. package/dist/esm/Canvas/shapes/ChatBubble/MessageReactions.d.ts +0 -6
  1141. package/dist/esm/Canvas/shapes/ChatBubble/MessageReactions.d.ts.map +0 -1
  1142. package/dist/esm/Canvas/shapes/ChatBubble/MessageReactions.js +0 -28
  1143. package/dist/esm/Canvas/shapes/ChatBubble/MessageReactions.js.map +0 -1
  1144. package/dist/esm/Canvas/shapes/ChatBubble/ReactionPicker.d.ts +0 -20
  1145. package/dist/esm/Canvas/shapes/ChatBubble/ReactionPicker.d.ts.map +0 -1
  1146. package/dist/esm/Canvas/shapes/ChatBubble/ReactionPicker.js +0 -50
  1147. package/dist/esm/Canvas/shapes/ChatBubble/ReactionPicker.js.map +0 -1
  1148. package/dist/esm/Canvas/shapes/ChatBubble/TypingIndicator.d.ts +0 -9
  1149. package/dist/esm/Canvas/shapes/ChatBubble/TypingIndicator.d.ts.map +0 -1
  1150. package/dist/esm/Canvas/shapes/ChatBubble/TypingIndicator.js +0 -18
  1151. package/dist/esm/Canvas/shapes/ChatBubble/TypingIndicator.js.map +0 -1
  1152. package/dist/esm/Canvas/shapes/ChatBubble/findOwnReaction.d.ts +0 -5
  1153. package/dist/esm/Canvas/shapes/ChatBubble/findOwnReaction.d.ts.map +0 -1
  1154. package/dist/esm/Canvas/shapes/ChatBubble/findOwnReaction.js +0 -19
  1155. package/dist/esm/Canvas/shapes/ChatBubble/findOwnReaction.js.map +0 -1
  1156. package/dist/esm/Canvas/shapes/ChatBubble/index.d.ts.map +0 -1
  1157. package/dist/esm/Canvas/shapes/ChatBubble/index.js.map +0 -1
  1158. package/dist/esm/Canvas/shapes/ChatBubble/reactionsExcludingUser.d.ts +0 -4
  1159. package/dist/esm/Canvas/shapes/ChatBubble/reactionsExcludingUser.d.ts.map +0 -1
  1160. package/dist/esm/Canvas/shapes/ChatBubble/reactionsExcludingUser.js.map +0 -1
  1161. package/dist/esm/Canvas/shapes/Note/index.d.ts.map +0 -1
  1162. package/dist/esm/Canvas/shapes/Note/index.js.map +0 -1
  1163. package/dist/esm/Canvas/shapes/Region/index.d.ts.map +0 -1
  1164. package/dist/esm/Canvas/shapes/Region/index.js.map +0 -1
  1165. package/dist/esm/Chat/ChatAuthor.d.ts.map +0 -1
  1166. package/dist/esm/Chat/ChatConversation.d.ts.map +0 -1
  1167. package/dist/esm/Chat/ChatMention.d.ts.map +0 -1
  1168. package/dist/esm/Chat/ChatMessage.d.ts.map +0 -1
  1169. package/dist/esm/Chat/ChatMessageAction.d.ts.map +0 -1
  1170. package/dist/esm/Chat/ChatMessageBody.d.ts.map +0 -1
  1171. package/dist/esm/Chat/ChatSidebar.d.ts.map +0 -1
  1172. package/dist/esm/Chat/ChatSidebarForObservableQueries.d.ts.map +0 -1
  1173. package/dist/esm/Chat/ChatTopic.d.ts.map +0 -1
  1174. package/dist/esm/Chat/ChatTopicList.d.ts.map +0 -1
  1175. package/dist/esm/Chat/index.d.ts.map +0 -1
  1176. package/dist/esm/Chat/isTopicUnnamed.d.ts.map +0 -1
  1177. package/dist/esm/Chat/topicsByActivity.d.ts.map +0 -1
  1178. package/dist/esm/CommandDialog/CommandDialog.d.ts.map +0 -1
  1179. package/dist/esm/CommandDialog/CommandStepper.d.ts.map +0 -1
  1180. package/dist/esm/CommandDialog/StepperCommandDialog.d.ts.map +0 -1
  1181. package/dist/esm/CommandDialog/index.d.ts.map +0 -1
  1182. package/dist/esm/CommandForm/fieldTypeProviderRegistry.d.ts.map +0 -1
  1183. package/dist/esm/CommandForm/fields/CalendarField.d.ts.map +0 -1
  1184. package/dist/esm/CommandForm/fields/CheckboxField.d.ts.map +0 -1
  1185. package/dist/esm/CommandForm/fields/ChipsField.d.ts.map +0 -1
  1186. package/dist/esm/CommandForm/fields/ColorPickerField.d.ts.map +0 -1
  1187. package/dist/esm/CommandForm/fields/DropdownField.d.ts.map +0 -1
  1188. package/dist/esm/CommandForm/fields/InputTextField.d.ts.map +0 -1
  1189. package/dist/esm/CommandForm/fields/MultiSelectField.d.ts.map +0 -1
  1190. package/dist/esm/CommandForm/fields/NumberField.d.ts.map +0 -1
  1191. package/dist/esm/CommandForm/fields/PasswordField.d.ts.map +0 -1
  1192. package/dist/esm/CommandForm/fields/RadioButtonField.d.ts.map +0 -1
  1193. package/dist/esm/CommandForm/fields/RadioGroupField.d.ts.map +0 -1
  1194. package/dist/esm/CommandForm/fields/RatingField.d.ts.map +0 -1
  1195. package/dist/esm/CommandForm/fields/SliderField.d.ts.map +0 -1
  1196. package/dist/esm/CommandForm/fields/TextAreaField.d.ts.map +0 -1
  1197. package/dist/esm/CommandForm/fields/ToggleSwitchField.d.ts.map +0 -1
  1198. package/dist/esm/CommandForm/fields/index.d.ts.map +0 -1
  1199. package/dist/esm/CommandForm/fields/index.js.map +0 -1
  1200. package/dist/esm/CommandForm/index.d.ts.map +0 -1
  1201. package/dist/esm/Common/ActionMenubar.d.ts.map +0 -1
  1202. package/dist/esm/Common/Button.d.ts.map +0 -1
  1203. package/dist/esm/Common/CratisComponentsProvider.d.ts.map +0 -1
  1204. package/dist/esm/Common/DatePickerInput.d.ts.map +0 -1
  1205. package/dist/esm/Common/index.d.ts.map +0 -1
  1206. package/dist/esm/Compatibility/PrimeReact11PassThroughComponent.d.ts +0 -3
  1207. package/dist/esm/Compatibility/PrimeReact11PassThroughComponent.d.ts.map +0 -1
  1208. package/dist/esm/Compatibility/PrimeReact11PassThroughComponent.js +0 -2
  1209. package/dist/esm/Compatibility/PrimeReact11PassThroughComponent.js.map +0 -1
  1210. package/dist/esm/Compatibility/assertPrimeReact11PassThroughCompatibility.d.ts +0 -3
  1211. package/dist/esm/Compatibility/assertPrimeReact11PassThroughCompatibility.d.ts.map +0 -1
  1212. package/dist/esm/Compatibility/assertPrimeReact11PassThroughCompatibility.js +0 -49
  1213. package/dist/esm/Compatibility/assertPrimeReact11PassThroughCompatibility.js.map +0 -1
  1214. package/dist/esm/Compatibility/components3PrimeReact11PassThroughContract.d.ts +0 -369
  1215. package/dist/esm/Compatibility/components3PrimeReact11PassThroughContract.d.ts.map +0 -1
  1216. package/dist/esm/Compatibility/components3PrimeReact11PassThroughContract.js +0 -271
  1217. package/dist/esm/Compatibility/components3PrimeReact11PassThroughContract.js.map +0 -1
  1218. package/dist/esm/Compatibility/index.d.ts +0 -5
  1219. package/dist/esm/Compatibility/index.d.ts.map +0 -1
  1220. package/dist/esm/Compatibility/index.js +0 -7
  1221. package/dist/esm/Compatibility/index.js.map +0 -1
  1222. package/dist/esm/Compatibility/primeReact11PassThroughSentinelPreset.d.ts +0 -8
  1223. package/dist/esm/Compatibility/primeReact11PassThroughSentinelPreset.d.ts.map +0 -1
  1224. package/dist/esm/Compatibility/primeReact11PassThroughSentinelPreset.js +0 -48
  1225. package/dist/esm/Compatibility/primeReact11PassThroughSentinelPreset.js.map +0 -1
  1226. package/dist/esm/DataPage/DataPage.d.ts.map +0 -1
  1227. package/dist/esm/DataPage/index.d.ts.map +0 -1
  1228. package/dist/esm/DataTables/Column.d.ts.map +0 -1
  1229. package/dist/esm/DataTables/ColumnFilterMenu.d.ts.map +0 -1
  1230. package/dist/esm/DataTables/DataTableCore.d.ts.map +0 -1
  1231. package/dist/esm/DataTables/DataTableFilterMatcherRegistry.d.ts.map +0 -1
  1232. package/dist/esm/DataTables/DataTableForObservableQuery.d.ts.map +0 -1
  1233. package/dist/esm/DataTables/DataTableForQuery.d.ts.map +0 -1
  1234. package/dist/esm/DataTables/TablePaginator.d.ts.map +0 -1
  1235. package/dist/esm/DataTables/index.d.ts.map +0 -1
  1236. package/dist/esm/Dialogs/Dialog.d.ts.map +0 -1
  1237. package/dist/esm/Dialogs/index.d.ts.map +0 -1
  1238. package/dist/esm/Display/index.d.ts.map +0 -1
  1239. package/dist/esm/Dropdown/Dropdown.d.ts.map +0 -1
  1240. package/dist/esm/Dropdown/index.d.ts.map +0 -1
  1241. package/dist/esm/Filter/FilterEditor.d.ts.map +0 -1
  1242. package/dist/esm/Filter/FilterPanel.d.ts.map +0 -1
  1243. package/dist/esm/Filter/RangeHistogramFilter.d.ts.map +0 -1
  1244. package/dist/esm/Filter/index.d.ts.map +0 -1
  1245. package/dist/esm/Filter/useFilterState.d.ts.map +0 -1
  1246. package/dist/esm/Filter/utils.d.ts.map +0 -1
  1247. package/dist/esm/Notifications/index.d.ts.map +0 -1
  1248. package/dist/esm/ObjectContentEditor/ObjectContentEditor.d.ts.map +0 -1
  1249. package/dist/esm/ObjectContentEditor/index.d.ts.map +0 -1
  1250. package/dist/esm/ObjectContentEditor/objectHelpers.d.ts.map +0 -1
  1251. package/dist/esm/ObjectNavigationalBar/index.d.ts.map +0 -1
  1252. package/dist/esm/PivotViewer/PivotViewer.d.ts.map +0 -1
  1253. package/dist/esm/PivotViewer/components/AxisLabels.d.ts.map +0 -1
  1254. package/dist/esm/PivotViewer/components/FilterPanel.d.ts.map +0 -1
  1255. package/dist/esm/PivotViewer/components/FilterPanelContainer.d.ts.map +0 -1
  1256. package/dist/esm/PivotViewer/components/PivotCanvas.d.ts.map +0 -1
  1257. package/dist/esm/PivotViewer/components/PivotViewerMain.d.ts.map +0 -1
  1258. package/dist/esm/PivotViewer/components/RangeHistogramFilter.d.ts.map +0 -1
  1259. package/dist/esm/PivotViewer/components/Toolbar.d.ts.map +0 -1
  1260. package/dist/esm/PivotViewer/components/ToolbarContainer.d.ts.map +0 -1
  1261. package/dist/esm/PivotViewer/components/index.d.ts.map +0 -1
  1262. package/dist/esm/PivotViewer/components/index.js.map +0 -1
  1263. package/dist/esm/PivotViewer/components/pivot/animation.d.ts.map +0 -1
  1264. package/dist/esm/PivotViewer/components/pivot/colorResolver.d.ts.map +0 -1
  1265. package/dist/esm/PivotViewer/components/pivot/groups.d.ts.map +0 -1
  1266. package/dist/esm/PivotViewer/components/pivot/sprites.d.ts.map +0 -1
  1267. package/dist/esm/PivotViewer/components/pivot/visibility.d.ts.map +0 -1
  1268. package/dist/esm/PivotViewer/engine/layout.d.ts.map +0 -1
  1269. package/dist/esm/PivotViewer/engine/pivot.worker.js.map +0 -1
  1270. package/dist/esm/PivotViewer/engine/store.d.ts.map +0 -1
  1271. package/dist/esm/PivotViewer/hooks/index.d.ts.map +0 -1
  1272. package/dist/esm/PivotViewer/hooks/index.js.map +0 -1
  1273. package/dist/esm/PivotViewer/hooks/useCardSelection.d.ts.map +0 -1
  1274. package/dist/esm/PivotViewer/hooks/useCurrentFilters.d.ts.map +0 -1
  1275. package/dist/esm/PivotViewer/hooks/useDetailPanelClose.d.ts.map +0 -1
  1276. package/dist/esm/PivotViewer/hooks/useDimensionState.d.ts.map +0 -1
  1277. package/dist/esm/PivotViewer/hooks/useFieldExtractors.d.ts.map +0 -1
  1278. package/dist/esm/PivotViewer/hooks/useFilterOptions.d.ts.map +0 -1
  1279. package/dist/esm/PivotViewer/hooks/useFilterState.d.ts.map +0 -1
  1280. package/dist/esm/PivotViewer/hooks/useFilteredData.d.ts.map +0 -1
  1281. package/dist/esm/PivotViewer/hooks/useFilteredData.js.map +0 -1
  1282. package/dist/esm/PivotViewer/hooks/usePivotEngine.d.ts.map +0 -1
  1283. package/dist/esm/PivotViewer/hooks/useScrollSync.d.ts.map +0 -1
  1284. package/dist/esm/PivotViewer/hooks/useSelectedItem.js.map +0 -1
  1285. package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.d.ts.map +0 -1
  1286. package/dist/esm/PivotViewer/index.d.ts.map +0 -1
  1287. package/dist/esm/PivotViewer/types.d.ts.map +0 -1
  1288. package/dist/esm/PivotViewer/utils/cardPosition.d.ts.map +0 -1
  1289. package/dist/esm/PivotViewer/utils/idResolution.d.ts.map +0 -1
  1290. package/dist/esm/PivotViewer/utils/index.d.ts.map +0 -1
  1291. package/dist/esm/PivotViewer/utils/index.js.map +0 -1
  1292. package/dist/esm/PivotViewer/utils/selection.d.ts.map +0 -1
  1293. package/dist/esm/PivotViewer/utils/utils.d.ts.map +0 -1
  1294. package/dist/esm/SchemaEditor/NameCell.d.ts.map +0 -1
  1295. package/dist/esm/SchemaEditor/SchemaEditor.d.ts.map +0 -1
  1296. package/dist/esm/SchemaEditor/TypeCell.d.ts.map +0 -1
  1297. package/dist/esm/SchemaEditor/index.d.ts.map +0 -1
  1298. package/dist/esm/SchemaEditor/schemaHelpers.d.ts.map +0 -1
  1299. package/dist/esm/Styled/CratisPreset.d.ts +0 -2
  1300. package/dist/esm/Styled/CratisPreset.d.ts.map +0 -1
  1301. package/dist/esm/Styled/CratisPreset.js +0 -80
  1302. package/dist/esm/Styled/CratisPreset.js.map +0 -1
  1303. package/dist/esm/Styled/index.d.ts +0 -4
  1304. package/dist/esm/Styled/index.d.ts.map +0 -1
  1305. package/dist/esm/Styled/index.js +0 -4
  1306. package/dist/esm/Styled/primeReactStyles.d.ts +0 -3
  1307. package/dist/esm/Styled/primeReactStyles.d.ts.map +0 -1
  1308. package/dist/esm/Styled/primeReactStyles.js +0 -202
  1309. package/dist/esm/Styled/primeReactStyles.js.map +0 -1
  1310. package/dist/esm/Styled/styledMode.d.ts +0 -12
  1311. package/dist/esm/Styled/styledMode.d.ts.map +0 -1
  1312. package/dist/esm/Styled/styledMode.js +0 -68
  1313. package/dist/esm/Styled/styledMode.js.map +0 -1
  1314. package/dist/esm/TimeMachine/EventsView.d.ts.map +0 -1
  1315. package/dist/esm/TimeMachine/ReadModelView.d.ts.map +0 -1
  1316. package/dist/esm/TimeMachine/TimeMachine.d.ts.map +0 -1
  1317. package/dist/esm/TimeMachine/index.d.ts.map +0 -1
  1318. package/dist/esm/Toolbar/ToolbarButton.d.ts.map +0 -1
  1319. package/dist/esm/Toolbar/ToolbarFanOutItem.d.ts.map +0 -1
  1320. package/dist/esm/Toolbar/ToolbarFolder.d.ts.map +0 -1
  1321. package/dist/esm/Toolbar/index.d.ts.map +0 -1
  1322. package/dist/esm/index.d.ts.map +0 -1
  1323. package/dist/esm/primereact-v10-palette.css +0 -242
  1324. package/dist/esm/types/index.d.ts.map +0 -1
package/README.md CHANGED
@@ -1,811 +1,290 @@
1
- # Cratis Components
1
+ # @cratis/components
2
2
 
3
- A collection of React components for building modern applications with Cratis.
3
+ React components for CQRS and event-sourced applications built with
4
+ [Cratis Arc](https://github.com/Cratis/Arc) — command dialogs, typed forms,
5
+ query-backed data tables, and higher-order application surfaces.
4
6
 
5
- ## Requirements
7
+ The package provides React components for Arc commands, queries, dialogs,
8
+ forms, and application surfaces. Components owns its public markup, TypeScript
9
+ contracts, stable parts, and design tokens. React Aria supplies selected
10
+ interaction primitives internally; consumers do not import or style React Aria.
6
11
 
7
- ### Minimum Versions
12
+ - [Canonical Components documentation](https://cratis.io/components/)
13
+ - [Renderer adapters and coexistence](https://github.com/Cratis/Components/tree/main/Documentation/renderers)
14
+ - [Migration guide](./MIGRATION.md)
15
+ - [Private security reporting](mailto:oss@cratis.io?subject=Security%3A)
8
16
 
9
- - TypeScript: 4.7+
10
- - React: 19.0+
11
- - Node.js: 18+ (for development)
12
-
13
- ### TypeScript Configuration
14
-
15
- This package is compatible with all modern TypeScript `moduleResolution` strategies:
16
-
17
- - ✅ `"bundler"` (recommended for Vite, esbuild, webpack 5+)
18
- - ✅ `"node16"` / `"nodenext"` (for Node.js projects)
19
-
20
- The package is **ESM-only** (`"type": "module"`) — PrimeReact 11 dropped the
21
- CommonJS build. It ships subpath `exports` with per-entry `types` for optimal
22
- module resolution and tree-shaking. Consume it from an ESM or bundler context;
23
- there is no `require()` entry.
24
-
25
- ## Installation
17
+ ## Install
26
18
 
27
19
  ```bash
28
- npm install @cratis/components primereact @primereact/core @primereact/headless @primereact/hooks primeicons
29
- # or
30
- yarn add @cratis/components primereact @primereact/core @primereact/headless @primereact/hooks primeicons
20
+ npm install @cratis/components@^4
31
21
  ```
32
22
 
33
- **PrimeReact is a peer dependency** as of 3.0.0. You install it; the library uses
34
- your copy. This is deliberate: when `primereact` was a regular dependency, an app
35
- that also depended on it could end up with **two copies** — and two copies mean two
36
- `PrimeReactProvider` React contexts, so components rendered from the library read a
37
- different config, theme and z-index registry than components you render yourself.
38
- Nothing errors; overlays just stack wrongly and `pt` / `unstyled` silently fail to
39
- apply. If your app carries a `resolutions` / `overrides` pin to collapse PrimeReact
40
- into one copy, you can now delete it.
41
-
42
- `primereact` pins `@primereact/core`, `@primereact/headless` and `@primereact/hooks` to its own exact
43
- version, so one `primereact@11.x` install gives you matching copies of all three;
44
- declaring them is what makes a strict installer (pnpm, Yarn PnP) resolve them for the
45
- library too. `@primereact/types` is an **optional** peer — needed only if your own
46
- code imports the prop types the wrappers re-export.
47
-
48
- The other **peer dependencies** you provide are `react` / `react-dom` (**19+**), the
49
- `@cratis/arc*` packages (`>=20.3.1 <23` — Arc 20, 21 and 22 work), `reflect-metadata`
50
- and `tsyringe`; you typically already have these in a Cratis app. `pixi.js`,
51
- `framer-motion`, `allotment` and `react-icons` remain regular dependencies and are
52
- installed for you. `@primereact/styles` and `@primeuix/themes` are **optional** peers,
53
- needed only for PrimeReact's styled mode (see [Styling](#styling)).
54
-
55
- ### Stylesheets
56
-
57
- Component CSS is no longer imported by the JavaScript — import it once in your app
58
- entry point, in this order:
59
-
60
- ```ts
61
- import '@cratis/components/tokens'; // the --cratis-* token layer
62
- import '@cratis/components/styles'; // every component stylesheet, in one file
63
- import '@cratis/components/theme'; // optional — the Cratis baseline look (MIT CSS)
64
- ```
65
-
66
- `./styles` also vendors `allotment/dist/style.css`, which `DataPage` needs for its
67
- split view, so you do not have to import that yourself.
68
-
69
- ## Licensing
23
+ > **Publication status:** This install example targets the owner-authorized 4.0.0 npm release. When
24
+ > reading this README from repository source before that release, verify availability with
25
+ > `npm view @cratis/components@4.0.0 version`; source contributors use the repository workspace
26
+ > instead.
70
27
 
71
- **As of 3.0.0 this library builds on PrimeReact 11, which is no longer MIT.** PrimeReact 10
72
- was; PrimeReact 11 is part of PrimeTek's commercial **PrimeUI** family, and so are the
73
- packages it brings with it.
28
+ The current package manifest declares these peer dependencies:
74
29
 
75
- | Package | v10 | v11 |
76
- | ------------------------------------------------------------------------------------- | --------- | ------------------------ |
77
- | `primereact` | MIT | PrimeUI commercial |
78
- | `primeicons` | MIT (7.x) | PrimeUI commercial (8.x) |
79
- | `@primereact/core`, `@primereact/headless`, `@primereact/hooks`, `@primereact/styles` | — | PrimeUI commercial |
80
- | `@primeuix/themes`, `@primeuix/styled` | — | PrimeUI commercial |
30
+ - `@cratis/arc` and `@cratis/arc.react` `>=20.3.1 <23`
31
+ - `@cratis/fundamentals` `^7.10.3`
32
+ - optional `pixi.js` `^8.20.0`
33
+ - `react` and `react-dom` `^19.0.0`
34
+ - `reflect-metadata` `0.2.2`
35
+ - `tsyringe` `4.10.0`
81
36
 
82
- `@cratis/components` itself remains **MIT**. The change is in what it depends on, and it is
83
- yours to satisfy: PrimeReact is a peer dependency, so you install it and its license terms
84
- apply to you directly. `@primereact/styles` and `@primeuix/themes` — the two styled mode
85
- adds — are PrimeUI-licensed too.
37
+ Strict installers can declare them explicitly; keep both Arc packages on the same application version:
86
38
 
87
- ### A key is required regardless of how you style
88
-
89
- PrimeReact 11 verifies a license key when `PrimeReactProvider` mounts. The check is not
90
- conditional on `unstyled`, on whether a theme preset is applied, or on `NODE_ENV` — so
91
- every styling setup in [Styling](#styling) reaches it. Without a valid key you get a
92
- console warning and a fixed _"Invalid PrimeUI License"_ banner, in development **and**
93
- production.
94
-
95
- Supply your key through the provider:
96
-
97
- ```tsx
98
- <CratisComponentsProvider value={{ license: '…' }}>
39
+ ```bash
40
+ ARC_VERSION=22.6.2
41
+ npm install @cratis/components@^4 \
42
+ "@cratis/arc@$ARC_VERSION" "@cratis/arc.react@$ARC_VERSION" \
43
+ @cratis/fundamentals@^7.10.3 react@^19 react-dom@^19 \
44
+ reflect-metadata@0.2.2 tsyringe@4.10.0
99
45
  ```
100
46
 
101
- `@cratis/components/theme` is Cratis-authored MIT CSS that embeds no PrimeTek values, so
102
- that **stylesheet** carries no PrimeTek terms — but rendering it still means running
103
- PrimeReact 11, which needs a key.
104
-
105
- ### Which license you need
106
-
107
- - **[Community License](https://primeui.dev/licenses/community)** — free. Covers
108
- individuals, students, non-profits and non-commercial open source outright. For an
109
- organization it requires _all_ of: under $1M USD annual gross revenue, fewer than 5
110
- developers, fewer than 10 employees, and under $3M USD in outside funding. Supports up to
111
- 4 developers and is renewed annually by confirming continued eligibility.
112
- - **[Commercial License](https://primeui.dev/licenses/commercial)** — for everyone else.
113
- Per developer, perpetual, with one year of updates.
114
-
115
- ### If you redistribute
116
-
117
- PrimeReact 11's terms state: _"You may not … redistribute it as a component library or
118
- development tool … Redistributing the software so that third parties can develop with it
119
- requires a separate OEM License."_
120
-
121
- If you are building an application, that clause is not aimed at you. If you are publishing
122
- a library or tool that others build with, read it and check your position with PrimeTek.
47
+ The current manifest does not declare PrimeReact, PrimeIcons, or PrimeUI packages as dependencies or peers. Applications retaining direct dependencies keep their own package, provider, styling, and license boundaries.
123
48
 
124
- ### Staying on MIT
49
+ The generated compatibility schema v2 contract is published at
50
+ `@cratis/components/compat-manifest.json`. It records the supported Components and tooling
51
+ windows, the authorized seven-package scope, shared release version, renderer ABI/profile ranges,
52
+ and exact lower/current adapter evidence. `release.md` at the repository root describes the
53
+ label-driven publication policy.
125
54
 
126
- If a commercial dependency is not acceptable, **`@cratis/components` 2.x stays on
127
- PrimeReact 10 and is fully MIT.** It is not getting new features, but it is the supported
128
- way to remain MIT-only.
55
+ Renderer-adapter authors can import the public draft 2020-12 metadata schema from
56
+ `@cratis/components/schemas/ui-adapter.schema.json`. It validates the static `package.json#cratis`
57
+ object; runtime behavior still requires `@cratis/components.conformance`. See the
58
+ [renderer-adapter documentation](https://github.com/Cratis/Components/blob/16dd95b7c894f3275b03714ffdc676d2d3505fd8/Documentation/renderers/index.md#adapter-package-metadata-schema)
59
+ for the boundary and limitations.
129
60
 
130
- > Nothing here is legal advice, and this summary may lag PrimeTek's terms. The
131
- > authoritative text is the `LICENSE.md` inside the `primereact` package and the pages
132
- > linked above.
61
+ **Yarn PnP note:** the current `@cratis/arc.react@22.6.2` package imports `rxjs` without declaring it. Strict PnP consumers install `rxjs@7.8.2` and add a temporary `packageExtensions` entry for `@cratis/arc.react@22.6.2`; remove it when Arc publishes corrected metadata. The canonical [getting-started guide](https://cratis.io/components/getting-started/) contains the exact YAML.
133
62
 
134
- ## Usage
63
+ `pixi.js@^8.20.0` is an additional **optional** peer, required only by `Canvas` and `PivotViewer` (the Spatial capability profile — see [Import from explicit subpaths](#import-from-explicit-subpaths) below). Every other subpath needs nothing beyond the peers above:
135
64
 
136
- ### Importing Components
137
-
138
- You can import components using subpath imports for better tree-shaking:
139
-
140
- ```typescript
141
- // Import specific component modules
142
- import { TimeMachine } from '@cratis/components/TimeMachine';
143
- import { DataPage } from '@cratis/components/DataPage';
144
- import { CommandForm } from '@cratis/components/CommandForm';
145
-
146
- // Or import from the main entry point
147
- import { TimeMachine, DataPage } from '@cratis/components';
65
+ ```bash
66
+ npm install pixi.js@^8.20.0
148
67
  ```
149
68
 
150
- ### Available Subpath Exports
151
-
152
- Components:
153
-
154
- - `@cratis/components` — package root (re-exports `CratisComponentsProvider` and the namespaced component groups)
155
- - `@cratis/components/Chat` — `ChatSidebar`, `ChatTopicList`, `ChatConversation`: topic-based chat with host-supplied data, mentions, emoji, and per-message actions
156
- - `@cratis/components/CommandDialog`
157
- - `@cratis/components/CommandStepper`
158
- - `@cratis/components/CommandForm`
159
- - `@cratis/components/CommandForm/fields`
160
- - `@cratis/components/Common`
161
- - `@cratis/components/DataPage`
162
- - `@cratis/components/DataTables`
163
- - `@cratis/components/Dialogs`
164
- - `@cratis/components/Display` — `Tag`, `Badge`, `Chip`, `Skeleton`, `Avatar`, `ProgressBar`
165
- - `@cratis/components/Dropdown`
166
- - `@cratis/components/Notifications` — `Toaster`, Cratis-owned `toast` / `ToastDispatch`, `toastCommandResult`
167
- - `@cratis/components/ObjectContentEditor`
168
- - `@cratis/components/ObjectNavigationalBar`
169
- - `@cratis/components/PivotViewer`
170
- - `@cratis/components/SchemaEditor`
171
- - `@cratis/components/TimeMachine`
172
- - `@cratis/components/Toolbar`
173
- - `@cratis/components/styled` — `styledMode`, `CratisPreset`, `primeReactStyles`, `primeReactCssLayer`, `primeReactCssLayerOrder`, `cratisDarkModeSelector`: PrimeReact's styled mode, wired for the provider (needs `@primereact/styles` + `@primeuix/themes`)
174
- - `@cratis/components/types`
175
-
176
- Stylesheets:
177
-
178
- - `@cratis/components/theme` — the **Cratis baseline theme** (light + dark, Cratis-authored MIT CSS, no `@primereact/styles` / `@primeuix/themes` dependency); import it and add `class="cratis-theme"` to skin every component from the token layer
179
- - `@cratis/components/styles` — **required**: every component stylesheet, the Tailwind utilities used inside the package, and the `allotment` rules `DataPage` needs, in one file
180
- - `@cratis/components/tokens` — **required**: the `--cratis-*` CSS variable tokens every component reads from
181
- - `@cratis/components/primereact-v10-palette` — the PrimeReact 10 theme variables (`--surface-*`, `--text-color`, `--primary-color`, the color scales, …) restored with the lara-blue values, for CSS already written against them
182
-
183
- ## Styling
184
-
185
- This package ships primarily for its functionality and Arc integrations.
186
- Styling is designed to stay out of the way: choose the setup that matches how
187
- much control you want, and the other layers stay invisible.
188
-
189
- > **Tip — see each setup live:** every Storybook story includes a **Styling**
190
- > toolbar (paintbrush icon) that flips between the modes demonstrating the
191
- > setups below: _Aura Dark_ and _Aura Light_ (an `@primeuix/themes`
192
- > preset), _Cratis baseline theme_ (light and dark), _Unstyled
193
- > (bare structure)_, and _Unstyled + Tailwind pt_. Open any story (`yarn dev`)
194
- > and switch modes to see the same component under each setup.
195
-
196
- ### TL;DR — choose a styling setup
197
-
198
- > **A PrimeUI license key is required for every row below** — see [Licensing](#licensing).
199
- > The styling choice changes how it looks and whether you additionally pull in
200
- > `@primeuix/themes`; it does not change whether you need a key.
201
-
202
- | Setup | When | Effort | Extra dependency | What you write |
203
- | --------------------------------- | ---------------------------------------------------------------------------------------------------- | ------- | ----------------------------------------- | -------------------------------------------------------------------------------------------------------- |
204
- | **Cratis baseline theme** | You want a polished default look without adding a theme package. | Lowest | None | `unstyled` + `import '@cratis/components/theme'` + `class="cratis-theme"` |
205
- | **PrimeReact's styled mode** | You want PrimeReact's own look — a `@primeuix/themes` preset painting PrimeReact's component styles. | Low | `@primereact/styles` + `@primeuix/themes` | `value={{ license, ...styledMode() }}` with `styledMode` from `@cratis/components/styled` |
206
- | **A custom palette over a theme** | You want the theme's structure but your own colors. | Low | As above, or none | `--cratis-*` overrides on the baseline theme, or `styledMode({ preset: definePreset(CratisPreset, …) })` |
207
- | **Fully unstyled** | You're integrating into a tightly controlled design system. | Highest | None | `unstyled: true` + a `pt` preset in CSS or Tailwind |
208
-
209
- > **Why you need a theme, a baseline stylesheet, or a `pt` preset**
210
- >
211
- > PrimeReact 11 is **unstyled-first**: the `primereact` package is primitives
212
- > that render structural markup with `data-scope` / `data-part` attributes,
213
- > no built-in visuals and **no `p-*` class names**. The class names and the
214
- > CSS behind them live in `@primereact/styles`; PrimeReact's own styled
215
- > components (`@primereact/ui`) are just the primitives with those styles
216
- > preset, and this library builds on the primitives. So a look comes from one
217
- > of three sources — PrimeReact's styled mode (`styledMode()`: a
218
- > `@primeuix/themes` preset **plus** PrimeReact's component styles), the
219
- > Cratis baseline theme (`@cratis/components/theme`), or your own `pt`/CSS.
220
- > Load none of them and the components render as their raw HTML primitives.
221
- > **A preset alone is not one of the three** — `theme: { preset }` by itself
222
- > emits `--p-*` tokens but styles nothing rendered here.
223
- >
224
- > The `--cratis-*` token layer is an **additive Cratis-scoped tint** for
225
- > surfaces _our_ wrappers own (validation error text, the FormElement addon,
226
- > breadcrumb borders, etc.). It is not, by itself, enough to skin the
227
- > PrimeReact widgets — pair it with the baseline theme, styled mode, or a `pt`
228
- > preset. Derive the preset (styled mode) or override the `--cratis-*` tokens
229
- > (baseline theme) when you want the whole UI in your palette.
230
-
231
- All setups share the same one-line provider setup. You can change direction
232
- later because the same provider, tokens, and `pt` hooks stay available.
69
+ Keep exactly one compatible Pixi resolution across the application and Components; two installed copies produce nominal TypeScript incompatibilities for `PIXI.Container` and pointer-event types even when both satisfy `^8.20.0`. The capability-subpath table below identifies the current Pixi-dependent surfaces.
233
70
 
234
- ### One-line setup (every styling option)
71
+ ## Styles
235
72
 
236
- ```tsx
73
+ ```ts
237
74
  import '@cratis/components/tokens';
238
75
  import '@cratis/components/styles';
239
- import { CratisComponentsProvider } from '@cratis/components';
240
-
241
- export const App = () => (
242
- <CratisComponentsProvider>
243
- <YourApp />
244
- </CratisComponentsProvider>
245
- );
76
+ import '@cratis/components/theme'; // optional baseline appearance
246
77
  ```
247
78
 
248
- - `@cratis/components/tokens` is the `--cratis-*` CSS variable layer every
249
- internal component reads from. It is the seam that lets the library span
250
- PrimeReact major versions, so it is always needed.
251
- - `@cratis/components/styles` is every component stylesheet in one file, plus
252
- the Tailwind utility classes used inside the package and the third-party
253
- `allotment` rules `DataPage` needs. Components no longer import their own
254
- CSS — that is what made the published package unloadable in Node
255
- ([#118](https://github.com/Cratis/Components/issues/118)) — so this import is
256
- required, not optional.
257
- - `CratisComponentsProvider` is a thin wrapper over `@primereact/core`'s
258
- `PrimeReactProvider` so Cratis has one place to layer in defaults (including
259
- the optional `...styledMode()` styled layer). Drop in the raw
260
- `PrimeReactProvider` from `@primereact/core` if you'd rather.
261
-
262
- The setups below differ only in **what else** you load on top of this
263
- provider setup.
264
-
265
- ---
266
-
267
- ### Use PrimeReact's styled mode
268
-
269
- PrimeReact 11 dropped the v10 `primereact/resources/themes/*/theme.css`
270
- stylesheets. A theme is now handed to the provider at runtime, in two halves: a
271
- `@primeuix/themes` **preset** (a token object `@primeuix/styled` turns into
272
- `--p-*` custom properties) and PrimeReact's **component styles**
273
- (`@primereact/styles` — the `p-*` class names and the CSS the tokens drive).
274
- `styledMode()` from `@cratis/components/styled` returns both as
275
- `{ theme, defaults }`; spread it into the provider `value` next to your
276
- license key. The `defaults` are `primeReactStyles`, PrimeReact's component
277
- styles keyed by primitive name, which the provider applies to **every**
278
- primitive rendered under it — the ones this library renders and the ones your
279
- app renders itself. That is what puts the `p-*` class names on the elements and
280
- lets the preset paint them; the `--cratis-*` tokens follow the preset's `--p-*`
281
- so Cratis-scoped surfaces stay in sync.
79
+ `tokens` supplies conservative light defaults. `styles` contains structural rules and internal utilities in low-priority Cratis cascade layers, with no Tailwind Preflight/reset or token duplication. `theme` adds automatic/explicit dark mode, forced colors, and themed subtrees.
282
80
 
283
- ```bash
284
- npm install @primereact/styles @primeuix/themes # optional peers, styled mode only
285
- ```
81
+ A custom product design omits `theme`, imports product CSS after `tokens` and `styles`, and maps its canonical values directly to `--cratis-*`.
82
+
83
+ ## Provider
286
84
 
287
85
  ```tsx
288
- import 'primeicons/primeicons.css';
289
- import '@cratis/components/tokens';
290
- import '@cratis/components/styles';
291
86
  import { CratisComponentsProvider } from '@cratis/components';
292
- import { styledMode } from '@cratis/components/styled';
293
87
 
294
88
  export const App = () => (
295
- <CratisComponentsProvider value={{ license: 'YOUR-PRIMEUI-KEY', ...styledMode() }}>
296
- <YourApp />
89
+ <CratisComponentsProvider value={{ locale: 'en-US' }} toaster>
90
+ <Application />
297
91
  </CratisComponentsProvider>
298
92
  );
299
93
  ```
300
94
 
301
- The default preset is `CratisPreset` Lara with the blue primary and gray
302
- surfaces of PrimeReact 10's `lara-light-blue` / `lara-dark-blue`, with the dark
303
- surface scale one step lighter so content sits above the page as it did there,
304
- both color schemes.
305
- Options: `preset` (any `@primeuix/themes` preset — Aura, Lara, Nora, Material —
306
- or a `definePreset` result), `darkModeSelector` (default `.cratis-dark`, the
307
- class the baseline theme uses too; `'system'` follows `prefers-color-scheme`),
308
- `cssLayer` (default the `primereact` layer ordered between Tailwind's `base`
309
- and `components`; `false` emits the theme unlayered).
310
-
311
- > **A preset alone styles nothing.** `value={{ theme: { preset } }}` without the
312
- > `defaults` emits the `--p-*` tokens, but the primitives keep rendering with no
313
- > `p-*` class, so nothing rendered by this library is painted. Use
314
- > `styledMode()`.
315
-
316
- #### Override a single component with CSS
317
-
318
- Plain CSS works fine on top of the theme. In styled mode PrimeReact's elements
319
- carry their `p-*` class names, and the theme is emitted into the `primereact`
320
- cascade layer, so a plain unlayered rule in your own stylesheet wins — exactly
321
- as it did against PrimeReact 10's `@layer primereact` stylesheets. Or target
322
- your own `className`:
95
+ The provider owns locale, Components-specific labels, optional renderer selection, and the toast
96
+ region. The default renderer needs no additional package. Certified renderer packages implement the
97
+ stable, nine-slot `stable-presentation/v1` primitive profile; they never replace the full Components
98
+ catalog. They share the Components repository release version and are selected with the provider's
99
+ `library` prop:
323
100
 
324
- ```css
325
- /* yourApp.css */
326
- .p-button {
327
- border-radius: 999px; /* pill buttons everywhere */
328
- }
329
-
330
- .dangerous-button {
331
- background: var(--cratis-red-500);
332
- color: white;
333
- }
334
- ```
335
-
336
- ```tsx
337
- <Button className='dangerous-button'>Delete</Button>
338
- ```
339
-
340
- #### Override a single component with Tailwind
101
+ - `@cratis/components.mui@4.0.0` — MUI 9.x / Emotion 11.x stable presentation slots;
102
+ - `@cratis/components.primereact@4.0.0` — PrimeReact 11.x stable presentation slots, with an
103
+ application-owned outer provider and license key;
104
+ - `@cratis/components.primereact10@4.0.0` PrimeReact 10.9.9+ stable presentation slots, with its
105
+ separate MIT-era provider, global theme, and upstream-major boundary.
341
106
 
342
- Pass Tailwind utility classes through the wrapper's `className` prop:
107
+ Adapter-specific themes, providers, SSR setup, peers, and license boundaries remain documented by
108
+ the adapter package. Styling for the built-in renderer is CSS-owned. The canonical renderer guide
109
+ bounds primitive adaptation, direct vendor coexistence, custom composition, unsupported claims, and
110
+ license/key ownership.
343
111
 
344
112
  ```tsx
345
- <InputTextField value={c => c.name}
346
- className="rounded-2xl bg-slate-900 text-slate-50" />
347
-
348
- <Dialog title="Confirm" className="shadow-2xl rounded-3xl">
349
- {/* … */}
350
- </Dialog>
113
+ <CratisComponentsProvider
114
+ value={{
115
+ locale: 'nb-NO',
116
+ messages: {
117
+ paginator: {
118
+ navigation: 'Sidenavigasjon',
119
+ first: 'Første side',
120
+ previous: 'Forrige side',
121
+ next: 'Neste side',
122
+ last: 'Siste side',
123
+ },
124
+ datePicker: {
125
+ today: 'I dag',
126
+ clear: 'Tøm',
127
+ openCalendar: 'Åpne kalender',
128
+ previousMonth: 'Forrige måned',
129
+ nextMonth: 'Neste måned',
130
+ },
131
+ },
132
+ }}
133
+ >
134
+ <Application />
135
+ </CratisComponentsProvider>
351
136
  ```
352
137
 
353
- **Use this setup when:** you're prototyping, building internal tools, want the
354
- look Cratis apps had on PrimeReact 10, or are happy with one of the prebuilt
355
- PrimeReact design systems.
356
-
357
- ### Use the Cratis baseline theme
358
-
359
- Want a polished default look **without adding `@primereact/styles` and
360
- `@primeuix/themes`**? Ship the components unstyled and import the Cratis baseline
361
- theme — Cratis-authored MIT CSS that styles every component from the `--cratis-*`
362
- layer. (You still need a PrimeUI key to run PrimeReact itself — see
363
- [Licensing](#licensing).)
138
+ ## Command forms
364
139
 
365
140
  ```tsx
366
- import 'primeicons/primeicons.css';
367
- import '@cratis/components/theme'; // the baseline theme
368
-
369
- export const App = () => (
370
- <CratisComponentsProvider value={{ unstyled: true }}>
371
- <div className='cratis-theme'>
372
- {' '}
373
- {/* scope: put on <body>, app root, or a subtree */}
374
- <YourApp />
375
- </div>
376
- </CratisComponentsProvider>
141
+ import { CommandDialog } from '@cratis/components/CommandDialog';
142
+ import { InputTextField } from '@cratis/components/CommandForm';
143
+ import { RegisterAuthor } from './RegisterAuthor';
144
+
145
+ export const RegisterAuthorDialog = () => (
146
+ <CommandDialog<RegisterAuthor>
147
+ command={RegisterAuthor}
148
+ title='Register author'
149
+ okLabel='Register'
150
+ >
151
+ <InputTextField<RegisterAuthor> value={(command) => command.name} title='Name' />
152
+ </CommandDialog>
377
153
  );
378
154
  ```
379
155
 
380
- Add `cratis-dark` to an ancestor for the dark palette. The theme defers to a
381
- `@primeuix/themes` preset's `--p-*` tokens when one is present, so you can layer
382
- it under styled mode too, and every rule is overridable via your own CSS or `pt`.
383
- The baseline theme styles the unstyled primitives through their `[data-scope]`
384
- attributes — there are no `p-*` class names outside styled mode — so target
385
- those, or your own `className`, or the `--cratis-*` tokens:
156
+ Fields bind directly to generated command properties and surface server validation through the Arc command-form context.
386
157
 
387
- ```css
388
- .cratis-theme [data-scope='button'] {
389
- border-radius: 999px;
390
- } /* pill buttons */
391
- .dangerous {
392
- background: var(--cratis-red-500);
393
- color: white;
394
- }
395
- ```
396
-
397
- ---
398
-
399
- ### Use a custom palette on top of a PrimeReact theme
400
-
401
- Keep a theme as your **structural baseline** (so every widget gets its
402
- padding, dialog frame, button shape, focus ring, etc.) and repaint it with your
403
- own colors. Which knob you turn depends on the theme:
404
-
405
- - **Cratis baseline theme** — override the `--cratis-*` tokens in CSS; the
406
- theme paints the widgets from them, so one override repaints widgets and
407
- Cratis-scoped surfaces alike.
408
- - **PrimeReact's styled mode** — derive your own preset with `definePreset` and
409
- hand it to `styledMode({ preset })`; the widgets read the preset's `--p-*`
410
- tokens, and the `--cratis-*` tokens follow.
411
-
412
- #### Baseline theme, plain CSS
413
-
414
- ```css
415
- /* palette.override.css — imported once, after @cratis/components/theme */
416
- .cratis-theme {
417
- --cratis-surface-section: #0f172a;
418
- --cratis-surface-card: #1e293b;
419
- --cratis-surface-overlay: #1e293b;
420
- --cratis-surface-hover: #334155;
421
- --cratis-surface-border: #334155;
422
-
423
- --cratis-text-color: #f8fafc;
424
- --cratis-text-color-secondary: #94a3b8;
425
-
426
- --cratis-primary-color: #38bdf8;
427
- --cratis-primary-color-text: #0b1220;
158
+ ## Query-backed tables
428
159
 
429
- --cratis-highlight-bg: #1e40af;
430
- --cratis-highlight-text-color: #ffffff;
160
+ ```tsx
161
+ import { Column, DataTableForObservableQuery } from '@cratis/components/DataTables';
162
+ import { ObserveAuthors } from './ObserveAuthors';
431
163
 
432
- --cratis-border-radius: 10px;
433
- }
164
+ <DataTableForObservableQuery
165
+ query={ObserveAuthors}
166
+ dataKey='id'
167
+ emptyMessage='No authors'
168
+ >
169
+ <Column field='name' header='Name' sortable filter />
170
+ <Column field='email' header='Email' filter />
171
+ </DataTableForObservableQuery>;
434
172
  ```
435
173
 
436
- #### Styled mode, `definePreset`
174
+ Arc owns server paging. Client filters apply only to the loaded page; complete-result filtering belongs in query arguments and runs on the server before paging.
437
175
 
438
- ```ts
439
- // brand-preset.ts
440
- import { definePreset } from '@primeuix/themes';
441
- import { CratisPreset } from '@cratis/components/styled';
442
-
443
- export const BrandPreset = definePreset(CratisPreset, {
444
- semantic: {
445
- primary: {
446
- 50: '{sky.50}',
447
- 100: '{sky.100}',
448
- 200: '{sky.200}',
449
- 300: '{sky.300}',
450
- 400: '{sky.400}',
451
- 500: '{sky.500}',
452
- 600: '{sky.600}',
453
- 700: '{sky.700}',
454
- 800: '{sky.800}',
455
- 900: '{sky.900}',
456
- 950: '{sky.950}',
457
- },
458
- },
459
- });
460
- ```
176
+ ## Notifications
461
177
 
462
178
  ```tsx
463
- <CratisComponentsProvider value={{ license, ...styledMode({ preset: BrandPreset }) }}>
464
- ```
465
-
466
- #### Scoped (dark-on-light, light-on-dark, etc.)
179
+ import { Toaster, toast } from '@cratis/components/Notifications';
467
180
 
468
- `--cratis-*` tokens cascade like any other CSS variable, so an ancestor scope
469
- works under the baseline theme (in styled mode, region-scoped widget colors come
470
- from the preset; the `--cratis-*` overrides still retint Cratis-scoped surfaces):
181
+ <Toaster position='top-right' />;
471
182
 
472
- ```css
473
- .dark-zone {
474
- --cratis-surface-card: #0b1220;
475
- --cratis-text-color: #f8fafc;
476
- --cratis-primary-color: #60a5fa;
477
- }
478
- ```
479
-
480
- ```tsx
481
- <div className='dark-zone'>
482
- <Dialog title='Always dark'>…</Dialog>
483
- </div>
183
+ toast.success({
184
+ title: 'Saved',
185
+ description: 'Your changes were saved.',
186
+ });
484
187
  ```
485
188
 
486
- #### With Tailwind CSS
487
-
488
- Tailwind's `@layer base` is the idiomatic spot — declare the palette once and
489
- Tailwind handles cascade and dark mode:
189
+ The queue, promise lifecycle, timers, dispatch substitution, toast frame, and region are Components-owned implementation surfaces.
490
190
 
491
- ```css
492
- /* app.css */
493
- @import 'tailwindcss';
494
- @import '@cratis/components/tokens';
495
- @import '@cratis/components/styles';
496
-
497
- @layer base {
498
- :root {
499
- --cratis-surface-card: theme('colors.slate.800');
500
- --cratis-surface-border: theme('colors.slate.700');
501
- --cratis-text-color: theme('colors.slate.50');
502
- --cratis-primary-color: theme('colors.sky.400');
503
- --cratis-red-500: theme('colors.red.500');
504
- }
505
-
506
- .cratis-dark {
507
- --cratis-surface-card: theme('colors.slate.900');
508
- --cratis-text-color: theme('colors.slate.100');
509
- }
510
- }
511
- ```
191
+ ## Custom styling
512
192
 
513
- #### CSS written against PrimeReact 10's variables
514
-
515
- If your stylesheets still use the names a v10 theme published on `:root` —
516
- `--surface-ground`, `--surface-card`, `--surface-border`, `--text-color`,
517
- `--primary-color`, the `--surface-0…900` and color scales — import
518
- `@cratis/components/primereact-v10-palette` after `tokens` and `styles`. It
519
- restores every one of them with the `lara-light-blue` / `lara-dark-blue`
520
- values: the semantic names follow the active preset's `--p-*` tokens where
521
- v11 has an equivalent (Lara as the fallback), the numbered scales are the
522
- lara-blue values verbatim (the v10 dark surface scale was inverted, so
523
- `--p-surface-*` cannot stand in for it), and light/dark switch through
524
- `light-dark()` keyed off `.cratis-dark`. It exists so what is already written
525
- keeps working — write nothing new against those names; use `--cratis-*` (or
526
- `--p-*`).
527
-
528
- #### What `--cratis-*` tokens are for
529
-
530
- In styled mode PrimeReact widgets read the preset's `--p-*` design tokens
531
- directly. Cratis wrappers add some surfaces of their own (inline validation
532
- error text, the FormElement addon background, the breadcrumb bottom border,
533
- etc.) — those use a parallel set of `--cratis-*` tokens that resolve the v11
534
- token first and fall back to the v10 variable, via the cascade defined in
535
- `tokens.css`. Under the baseline theme the widgets read the `--cratis-*` tokens
536
- too.
537
-
538
- The upshot:
539
-
540
- - Repaint the whole UI by deriving the **preset** (styled mode) or overriding the **`--cratis-*` tokens** (baseline theme).
541
- - Override **`--cratis-*` tokens** in styled mode when you specifically want Cratis surfaces to differ from PrimeReact widgets.
542
-
543
- #### `--cratis-*` token reference (Cratis-scoped surfaces)
544
-
545
- | Group | Tokens |
546
- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
547
- | Surfaces | `--cratis-surface-0`, `--cratis-surface-100`, `--cratis-surface-ground`, `--cratis-surface-section`, `--cratis-surface-card`, `--cratis-surface-overlay`, `--cratis-surface-hover`, `--cratis-surface-border` |
548
- | Text | `--cratis-text-color`, `--cratis-text-color-secondary` |
549
- | Brand | `--cratis-primary-color`, `--cratis-primary-color-text`, `--cratis-primary-300`, `--cratis-primary-400`, `--cratis-primary-500`, `--cratis-primary-600` |
550
- | Selection | `--cratis-highlight-bg`, `--cratis-highlight-text-color` |
551
- | Semantic | `--cratis-green-500`, `--cratis-orange-500`, `--cratis-red-500` |
552
- | Geometry | `--cratis-border-radius` |
553
- | Effects | `--cratis-focus-ring`, `--cratis-maskbg` |
554
-
555
- Each resolves the v11 design token first and falls back to the v10 variable
556
- with the same name minus the `--cratis-` prefix (e.g. `--cratis-surface-card`
557
- → `var(--p-content-background, var(--surface-card))`).
558
-
559
- **Use this setup when:** you want a custom look without writing a PrimeReact
560
- theme from scratch, you're shipping multiple palette variants (light/dark/
561
- brand), or you want Cratis-scoped surfaces tinted differently from PrimeReact
562
- widgets.
563
-
564
- ---
565
-
566
- ### Use fully unstyled mode
567
-
568
- Turn off every PrimeReact base style at the provider and supply visuals
569
- through PrimeReact's `pt` (pass-through) mechanism, your own CSS, or both.
570
- Components render structurally only and become a blank canvas.
193
+ Documented customizable component parts use stable `data-cratis-part` names. Components with per-instance customization expose a typed `pt` object containing ordinary HTML attributes for their documented parts.
571
194
 
572
195
  ```tsx
573
- import '@cratis/components/styles'; // component rules + Tailwind utilities, still needed when unstyled
574
- import { CratisComponentsProvider } from '@cratis/components';
575
-
576
- export const App = () => (
577
- <CratisComponentsProvider value={{ unstyled: true, pt: globalPt }}>
578
- <YourApp />
579
- </CratisComponentsProvider>
580
- );
581
- ```
582
-
583
- #### Verify pass-through compatibility
584
-
585
- Components 3 publishes its PrimeReact 11 slot and rendered-marker contract from `@cratis/components/compatibility`. In a DOM test, apply `primeReact11PassThroughSentinelPreset`, render the surfaces your application uses, and call `assertPrimeReact11PassThroughCompatibility(root, components)`. Additions pass; a missing or renamed contracted slot or marker produces an actionable error. The contract is major-version scoped and does not preserve PrimeReact 10 names.
586
-
587
- The machine-readable `components3PrimeReact11PassThroughContract` is the source of truth. Contract revision 1 covers the parts rendered by Components 3's supported compositions on PrimeReact 11, rather than every optional part an application could compose directly. See the [pass-through contract documentation](https://cratis.io/Components/styling/pass-through.html) for the supported component and slot list.
588
-
589
- #### A `pt` preset in plain CSS
196
+ import { Dialog } from '@cratis/components/Dialogs';
590
197
 
591
- Attach a `className` from your own stylesheet via a global preset:
592
-
593
- ```ts
594
- // pt-preset.ts
595
- export const globalPt = {
596
- button: {
597
- root: { className: 'my-btn' },
598
- },
599
- dialog: {
600
- root: {
601
- popup: { className: 'my-dialog' },
602
- header: { className: 'my-dialog__header' },
603
- content: { className: 'my-dialog__body' },
604
- },
605
- },
606
- inputtext: {
607
- root: { className: 'my-input' },
608
- },
609
- } as const;
198
+ <Dialog
199
+ title='Edit account'
200
+ pt={{
201
+ backdrop: { className: 'product-dialog-backdrop' },
202
+ root: { className: 'product-dialog' },
203
+ content: { className: 'product-dialog-content' },
204
+ }}
205
+ >
206
+ Content
207
+ </Dialog>;
610
208
  ```
611
209
 
612
210
  ```css
613
- /* yourApp.css */
614
- .my-btn {
615
- display: inline-flex;
616
- align-items: center;
617
- padding: 0.5rem 1rem;
618
- background: var(--cratis-primary-color);
619
- color: var(--cratis-primary-color-text);
620
- border: none;
621
- border-radius: var(--cratis-border-radius);
622
- cursor: pointer;
211
+ :root {
212
+ --cratis-primary-color: var(--product-accent);
213
+ --cratis-action-background: var(--product-action);
214
+ --cratis-action-background-hover: var(--product-action-hover);
215
+ --cratis-action-background-active: var(--product-action-active);
216
+ --cratis-action-text: var(--product-on-action);
217
+ --cratis-surface-card: var(--product-surface);
218
+ --cratis-surface-overlay: var(--product-surface-raised);
219
+ --cratis-surface-border: var(--product-border);
220
+ --cratis-control-background: var(--product-control);
221
+ --cratis-control-border: var(--product-control-border);
222
+ --cratis-text-color: var(--product-text);
223
+ --cratis-focus-ring: var(--product-focus-ring);
623
224
  }
624
225
 
625
- .my-dialog__header {
626
- padding: 1rem 1.25rem;
627
- background: var(--cratis-surface-card);
628
- border-bottom: 1px solid var(--cratis-surface-border);
629
- font-weight: 600;
226
+ .product-dialog[data-cratis-part='root'] {
227
+ border-radius: 1rem;
630
228
  }
631
229
  ```
632
230
 
633
- #### A `pt` preset in Tailwind
634
-
635
- Same shape, Tailwind utilities as the class strings:
636
-
637
- ```ts
638
- // pt-preset.ts
639
- export const globalPt = {
640
- button: {
641
- root: {
642
- className:
643
- 'inline-flex items-center px-4 py-2 rounded-lg bg-sky-700 text-white hover:bg-sky-600 disabled:opacity-50',
644
- },
645
- },
646
- dialog: {
647
- root: {
648
- popup: { className: 'rounded-2xl shadow-2xl overflow-hidden' },
649
- header: {
650
- className:
651
- 'px-5 py-3 bg-slate-800 text-slate-50 font-semibold border-b border-slate-700',
652
- },
653
- content: { className: 'p-5 bg-slate-900 text-slate-100' },
654
- },
655
- },
656
- inputtext: {
657
- root: {
658
- className:
659
- 'w-full px-3 py-2 rounded-md bg-slate-800 text-slate-50 border border-slate-700 focus:border-sky-400 focus:outline-none',
660
- },
661
- },
662
- } as const;
663
- ```
664
-
665
- #### Per-instance overrides
666
-
667
- Anything global can be overridden per-instance useful when one component
668
- needs to look different:
669
-
670
- ```tsx
671
- <Dialog
672
- title="Brand callout"
673
- pt={{ root: { className: 'rounded-none' },
674
- header: { className: 'bg-pink-600 text-white' } }}>
675
-
676
- </Dialog>
677
-
678
- <InputTextField value={c => c.name}
679
- pt={{ root: { className: 'border-2 border-pink-500' } }} />
680
- ```
681
-
682
- #### Composite components in unstyled mode
683
-
684
- `DataPage` and `StepperCommandDialog` compose multiple PrimeReact widgets and
685
- expose explicit per-slot props. The global `pt` reaches every internal widget;
686
- per-instance overrides target the inner slot directly:
687
-
688
- ```tsx
689
- <DataPage<AllAuthors, Author, never>
690
- title="Authors" query={AllAuthors}
691
- tablePt={{ table: { className: 'min-w-full divide-y divide-slate-700' } }}
692
- menubarPt={{ root: { className: 'px-3 py-2 bg-slate-900' } }}>
693
- <DataPage.MenuItems>…</DataPage.MenuItems>
694
- <DataPage.Columns>…</DataPage.Columns>
695
- </DataPage>
696
-
697
- <StepperCommandDialog<RegisterOrder> command={RegisterOrder} title="New order"
698
- /* pt targets the Stepper */
699
- pt={{ stepperpanel: { content: { className: 'pt-6' } } }}
700
- /* dialogPt targets the outer Dialog */
701
- dialogPt={{ header: { className: 'bg-slate-900' } }}>
702
-
703
- </StepperCommandDialog>
704
- ```
705
-
706
- `ObjectContentEditor`, `ObjectNavigationalBar`, and `SchemaEditor` accept only
707
- `className` on the root — restyle their internals via the **global** `pt`
708
- preset.
709
-
710
- **Use this setup when:** you have a design system to honor, you're matching a
711
- brand kit, or you want zero PrimeReact CSS in the final bundle.
712
-
713
- ---
714
-
715
- ### Combining styling setups
716
-
717
- The styling options compose, so you don't have to choose one for the whole app:
718
-
719
- - **Themed with one unstyled component** — keep the PrimeReact theme and pass
720
- `unstyled` per-component to opt that one widget out:
721
-
722
- ```tsx
723
- <Dialog title='Custom' unstyled pt={brandDialogPt}>
724
-
725
- </Dialog>
726
- ```
727
-
728
- - **Unstyled with one themed island** — the baseline theme's rules are scoped
729
- under `.cratis-theme`, so wrapping one element in the class themes just that
730
- subtree:
731
-
732
- ```tsx
733
- <CratisComponentsProvider value={{ unstyled: true, pt: globalPt }}>
734
- <App />
735
- <div className='cratis-theme'>
736
- <BaselineThemedSubtree />
737
- </div>
738
- </CratisComponentsProvider>
739
- ```
740
-
741
- - **Dark mode** — toggle `cratis-dark` on the root element: the baseline
742
- theme's dark palette, `styledMode()`'s dark scheme (its default
743
- `darkModeSelector`) and the v10 palette all key off it, so PrimeReact widgets
744
- and Cratis surfaces follow together. Scope any `--cratis-*` tokens you want
745
- to diverge to `.cratis-dark` as well.
746
-
747
- ### Per-component `pt` cheat sheet
748
-
749
- Three patterns, depending on how much PrimeReact a wrapper composes:
750
-
751
- 1. **Single-widget wrappers** — `Dialog`, every `CommandForm` field,
752
- `EventsView`, and `Dropdown` forward `pt`, `ptOptions`, `unstyled`, and
753
- `className` straight to their inner PrimeReact component.
754
- 2. **Multi-slot composites** — `StepperCommandDialog` (`pt` for Stepper,
755
- `dialogPt` for Dialog), `DataPage` (`tablePt` for DataTable, `menubarPt`
756
- for the action toolbar's buttons), and `DataTableForQuery` /
757
- `DataTableForObservableQuery` (`pt` for DataTable plus
758
- `paginatorClassName` / `paginatorAriaLabels` for the Cratis paginator).
759
- 3. **Large composites** — `ObjectContentEditor`, `ObjectNavigationalBar`,
760
- `SchemaEditor` expose `className` only; restyle internals via the global
761
- `pt` preset.
762
-
763
- `Dropdown` routes `id`, `tabIndex`, `aria-label`, `aria-labelledby` and `aria-describedby` to its focusable `role="combobox"` trigger. The outer Select root remains a layout wrapper and does not duplicate the control id. For filterable dropdowns, `filterPlaceholder` can differ from the closed trigger's `placeholder` and defaults to it when omitted.
764
-
765
- Filtered data-table columns accept partial `filterLabels` overrides for trigger, action and boolean-option text, plus a `filterElement` render callback that replaces the built-in value editor while keeping draft/apply behavior. `DataTableFilterMatchMode` supplies the Cratis-owned built-in vocabulary, and `registerDataTableFilterMatcher()` adds custom modes without importing the active rendering adapter.
766
-
767
- `DatePickerInput` exposes `id`, `disabled`, `readOnly` and `showButtonBar` directly. Use its runtime `input` slot only for additional attributes; the public type intentionally rejects PrimeReact 11's stale `pcInputText` declaration, which the runtime never emits. The wrapper translates `invalid` to accepted `aria-invalid` and `data-invalid` input attributes instead of forwarding a rejected `invalid` DOM attribute:
768
-
769
- ```tsx
770
- <DatePickerInput
771
- id='appointment-date'
772
- value={selectedDate}
773
- onChange={setSelectedDate}
774
- disabled={isDisabled}
775
- readOnly={isReadOnly}
776
- showButtonBar
777
- pt={{ input: { 'aria-label': 'Appointment date' } }}
778
- />
779
- ```
780
-
781
- ### What is _not_ fully pass-through
782
-
783
- `BusyIndicatorDialog` only honors the global `pt` set via
784
- `CratisComponentsProvider`; it does not accept per-instance `pt` because its
785
- request type is owned by `@cratis/arc.react`.
786
-
787
- ## Troubleshooting
788
-
789
- ### Module Resolution Errors
790
-
791
- If you encounter errors like:
792
-
793
- ```
794
- Cannot find module '@cratis/components/TimeMachine' or its corresponding type declarations.
795
- ```
796
-
797
- **Solution:** Ensure you're using the correct case-sensitive import paths (e.g., `TimeMachine`, not `timeMachine`).
798
-
799
- If using TypeScript 4.7+, try updating your `tsconfig.json`:
800
-
801
- ```json
802
- {
803
- "compilerOptions": {
804
- "moduleResolution": "bundler" // or "node16" / "nodenext"
805
- }
806
- }
807
- ```
808
-
809
- ### Import Errors
810
-
811
- Ensure you're using the correct import paths. The package uses case-sensitive paths that match the actual component names.
231
+ Do not target React Aria classes or internal DOM structure.
232
+
233
+ ## Import from explicit subpaths
234
+
235
+ The canonical rule: **the package root is setup-only; every component ships from its own subpath.** Import `CratisComponentsProvider`, `useCratisComponentsConfig`, `cratisDefaults`, and `mergeCratisComponentsConfig` from the root; import every component from the subpath in its capability profile:
236
+
237
+ | Subpath | Capability profile |
238
+ | ------------------------------------------ | --------------------------------- |
239
+ | `@cratis/components/Canvas` | Spatial (optional `pixi.js` peer) |
240
+ | `@cratis/components/Chat` | Advanced React |
241
+ | `@cratis/components/CommandDialog` | Foundation |
242
+ | `@cratis/components/CommandStepper` | Foundation |
243
+ | `@cratis/components/CommandForm` | Foundation |
244
+ | `@cratis/components/CommandForm/fields` | Foundation |
245
+ | `@cratis/components/Common` | Foundation |
246
+ | `@cratis/components/DataPage` | Foundation |
247
+ | `@cratis/components/DataTables` | Foundation |
248
+ | `@cratis/components/Dialogs` | Foundation |
249
+ | `@cratis/components/Display` | Foundation |
250
+ | `@cratis/components/Dropdown` | Foundation |
251
+ | `@cratis/components/Filter` | Foundation |
252
+ | `@cratis/components/Notifications` | Foundation |
253
+ | `@cratis/components/ObjectContentEditor` | Advanced React |
254
+ | `@cratis/components/ObjectNavigationalBar` | Advanced React |
255
+ | `@cratis/components/PivotViewer` | Spatial (optional `pixi.js` peer) |
256
+ | `@cratis/components/SchemaEditor` | Advanced React |
257
+ | `@cratis/components/TimeMachine` | Advanced React |
258
+ | `@cratis/components/Toolbar` | Advanced React |
259
+ | `@cratis/components/types` | Foundation |
260
+
261
+ Foundation, Advanced React, and Spatial describe dependency and usage
262
+ boundaries, not stability, maturity, accessibility, support, or quality tiers.
263
+ `Spatial` identifies the subpaths that require the optional Pixi peer.
264
+
265
+ Components 4 removes component-family namespaces from the root. The root is
266
+ setup-only so importing the provider does not traverse optional or unrelated
267
+ component graphs. [MIGRATION.md](./MIGRATION.md) contains the current
268
+ namespace-to-subpath mapping and migration command for existing root imports.
269
+
270
+ ## Components 3 migration
271
+
272
+ The current package manifest does not declare PrimeReact as a required runtime
273
+ or peer. Follow the [Components 3 to 4 migration guide](./MIGRATION.md)
274
+ for dependency removal, provider changes, product token mapping, stable part
275
+ names, DatePicker changes, table behavior, notifications, direct Prime import
276
+ replacements, the bounded Components 4 `@cratis/components.migrator` commands, and the
277
+ `@cratis/eslint-plugin-components` guard. The optional Migrator is a development CLI used only while
278
+ upgrading application source; its syntax-aware transforms validate the bundled compatibility
279
+ manifest and installed Components support window before scanning. `@cratis/components.conformance`
280
+ is a separate development test harness for renderer adapter authors and is not an application
281
+ runtime dependency.
282
+
283
+ The old `@cratis/components/styled`, `styledMode`, `CratisPreset`, and `primeReactStyles` renderer exports are removed. Move styling to tokens and stable parts before upgrading.
284
+
285
+ ## License
286
+
287
+ The package metadata declares MIT for `@cratis/components`. Dependencies and
288
+ bundled assets retain their own terms. Review the packaged `LICENSE`,
289
+ `THIRD_PARTY_NOTICES.md`, and included font-license files for the exact package
290
+ version you use.