@cratis/components 4.19.1 → 4.20.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 (738) hide show
  1. package/README.md +2 -2
  2. package/compat-manifest.json +11 -11
  3. package/dist/esm/Canvas/Canvas.d.ts +1 -0
  4. package/dist/esm/Canvas/Canvas.d.ts.map +1 -0
  5. package/dist/esm/Canvas/Canvas.js.map +1 -1
  6. package/dist/esm/Canvas/CanvasControls.d.ts +1 -0
  7. package/dist/esm/Canvas/CanvasControls.d.ts.map +1 -0
  8. package/dist/esm/Canvas/CanvasControls.js.map +1 -1
  9. package/dist/esm/Canvas/CanvasItem.js.map +1 -1
  10. package/dist/esm/Canvas/CanvasMinimap.js.map +1 -1
  11. package/dist/esm/Canvas/CanvasOverlay.js.map +1 -1
  12. package/dist/esm/Canvas/canvasGesture.js.map +1 -1
  13. package/dist/esm/Canvas/canvasTransformActivity.js.map +1 -1
  14. package/dist/esm/Canvas/index.d.ts +1 -0
  15. package/dist/esm/Canvas/index.d.ts.map +1 -0
  16. package/dist/esm/Canvas/isBackgroundPointerTarget.js.map +1 -1
  17. package/dist/esm/Canvas/isWithinScrollableContent.js.map +1 -1
  18. package/dist/esm/Canvas/panMomentum.js.map +1 -1
  19. package/dist/esm/Canvas/pinchGesture.js.map +1 -1
  20. package/dist/esm/Canvas/selfSuspendingFrameLoop.js.map +1 -1
  21. package/dist/esm/Canvas/shapes/ChatBubble/index.d.ts +1 -0
  22. package/dist/esm/Canvas/shapes/ChatBubble/index.d.ts.map +1 -0
  23. package/dist/esm/Canvas/shapes/ChatBubble/index.js +1 -0
  24. package/dist/esm/Canvas/shapes/ChatBubble/index.js.map +1 -0
  25. package/dist/esm/Canvas/shapes/Note/Note.js.map +1 -1
  26. package/dist/esm/Canvas/shapes/Note/NoteTextChanged.js.map +1 -1
  27. package/dist/esm/Canvas/shapes/Note/index.d.ts +1 -0
  28. package/dist/esm/Canvas/shapes/Note/index.d.ts.map +1 -0
  29. package/dist/esm/Canvas/shapes/Note/index.js +1 -0
  30. package/dist/esm/Canvas/shapes/Note/index.js.map +1 -0
  31. package/dist/esm/Canvas/shapes/Note/noteFont.js.map +1 -1
  32. package/dist/esm/Canvas/shapes/Region/ItemAddedToRegion.js.map +1 -1
  33. package/dist/esm/Canvas/shapes/Region/ItemRemovedFromRegion.js.map +1 -1
  34. package/dist/esm/Canvas/shapes/Region/Region.js.map +1 -1
  35. package/dist/esm/Canvas/shapes/Region/index.d.ts +1 -0
  36. package/dist/esm/Canvas/shapes/Region/index.d.ts.map +1 -0
  37. package/dist/esm/Canvas/shapes/Region/index.js +1 -0
  38. package/dist/esm/Canvas/shapes/Region/index.js.map +1 -0
  39. package/dist/esm/Canvas/shapes/Region/regionContainment.js.map +1 -1
  40. package/dist/esm/Canvas/useDragSelectionGuard.js.map +1 -1
  41. package/dist/esm/Canvas/zoomMechanism.js.map +1 -1
  42. package/dist/esm/Chat/ChatAuthor.d.ts +1 -0
  43. package/dist/esm/Chat/ChatAuthor.d.ts.map +1 -0
  44. package/dist/esm/Chat/ChatAuthor.js.map +1 -1
  45. package/dist/esm/Chat/ChatConversation.d.ts +1 -0
  46. package/dist/esm/Chat/ChatConversation.d.ts.map +1 -0
  47. package/dist/esm/Chat/ChatConversation.js.map +1 -1
  48. package/dist/esm/Chat/ChatIdentifier.js.map +1 -1
  49. package/dist/esm/Chat/ChatMention.d.ts +1 -0
  50. package/dist/esm/Chat/ChatMention.d.ts.map +1 -0
  51. package/dist/esm/Chat/ChatMention.js.map +1 -1
  52. package/dist/esm/Chat/ChatMessage.d.ts +1 -0
  53. package/dist/esm/Chat/ChatMessage.d.ts.map +1 -0
  54. package/dist/esm/Chat/ChatMessage.js.map +1 -1
  55. package/dist/esm/Chat/ChatMessageAction.d.ts +1 -0
  56. package/dist/esm/Chat/ChatMessageAction.d.ts.map +1 -0
  57. package/dist/esm/Chat/ChatMessageAction.js.map +1 -1
  58. package/dist/esm/Chat/ChatMessageBody.d.ts +1 -0
  59. package/dist/esm/Chat/ChatMessageBody.d.ts.map +1 -0
  60. package/dist/esm/Chat/ChatMessageBody.js.map +1 -1
  61. package/dist/esm/Chat/ChatSidebar.d.ts +5 -1
  62. package/dist/esm/Chat/ChatSidebar.d.ts.map +1 -0
  63. package/dist/esm/Chat/ChatSidebar.js +2 -2
  64. package/dist/esm/Chat/ChatSidebar.js.map +1 -1
  65. package/dist/esm/Chat/ChatSidebarForObservableQueries.d.ts +1 -0
  66. package/dist/esm/Chat/ChatSidebarForObservableQueries.d.ts.map +1 -0
  67. package/dist/esm/Chat/ChatSidebarForObservableQueries.js.map +1 -1
  68. package/dist/esm/Chat/ChatStatus.js.map +1 -1
  69. package/dist/esm/Chat/ChatTopic.d.ts +1 -0
  70. package/dist/esm/Chat/ChatTopic.d.ts.map +1 -0
  71. package/dist/esm/Chat/ChatTopic.js.map +1 -1
  72. package/dist/esm/Chat/ChatTopicAction.d.ts +23 -0
  73. package/dist/esm/Chat/ChatTopicAction.d.ts.map +1 -0
  74. package/dist/esm/Chat/ChatTopicAction.js +4 -0
  75. package/dist/esm/Chat/ChatTopicAction.js.map +1 -0
  76. package/dist/esm/Chat/ChatTopicActions.d.ts +25 -0
  77. package/dist/esm/Chat/ChatTopicActions.d.ts.map +1 -0
  78. package/dist/esm/Chat/ChatTopicActions.js +6 -0
  79. package/dist/esm/Chat/ChatTopicActions.js.map +1 -0
  80. package/dist/esm/Chat/ChatTopicList.d.ts +6 -2
  81. package/dist/esm/Chat/ChatTopicList.d.ts.map +1 -0
  82. package/dist/esm/Chat/ChatTopicList.js +17 -9
  83. package/dist/esm/Chat/ChatTopicList.js.map +1 -1
  84. package/dist/esm/Chat/Kit/AnchoredOverlay.js.map +1 -1
  85. package/dist/esm/Chat/Kit/Avatar/PersonAvatarCircle.js.map +1 -1
  86. package/dist/esm/Chat/Kit/Avatar/getAvatarColor.js.map +1 -1
  87. package/dist/esm/Chat/Kit/Avatar/getInitials.js.map +1 -1
  88. package/dist/esm/Chat/Kit/Avatar/index.d.ts +1 -0
  89. package/dist/esm/Chat/Kit/Avatar/index.d.ts.map +1 -0
  90. package/dist/esm/Chat/Kit/Avatar/index.js +1 -0
  91. package/dist/esm/Chat/Kit/Avatar/index.js.map +1 -0
  92. package/dist/esm/Chat/Kit/Chat.d.ts +1 -0
  93. package/dist/esm/Chat/Kit/Chat.d.ts.map +1 -0
  94. package/dist/esm/Chat/Kit/Chat.js.map +1 -1
  95. package/dist/esm/Chat/Kit/ChatAuthorKind.js.map +1 -1
  96. package/dist/esm/Chat/Kit/ChatBubble.d.ts +1 -0
  97. package/dist/esm/Chat/Kit/ChatBubble.d.ts.map +1 -0
  98. package/dist/esm/Chat/Kit/ChatBubble.js.map +1 -1
  99. package/dist/esm/Chat/Kit/ChatComposer.d.ts +1 -0
  100. package/dist/esm/Chat/Kit/ChatComposer.d.ts.map +1 -0
  101. package/dist/esm/Chat/Kit/ChatComposer.js.map +1 -1
  102. package/dist/esm/Chat/Kit/ChatMessage.d.ts +1 -0
  103. package/dist/esm/Chat/Kit/ChatMessage.d.ts.map +1 -0
  104. package/dist/esm/Chat/Kit/ChatMessage.js.map +1 -1
  105. package/dist/esm/Chat/Kit/ChatMessageAdded.js.map +1 -1
  106. package/dist/esm/Chat/Kit/ChatMessageBubble.d.ts +1 -0
  107. package/dist/esm/Chat/Kit/ChatMessageBubble.d.ts.map +1 -0
  108. package/dist/esm/Chat/Kit/ChatMessageBubble.js.map +1 -1
  109. package/dist/esm/Chat/Kit/ChatMessageReaction.d.ts +1 -0
  110. package/dist/esm/Chat/Kit/ChatMessageReaction.d.ts.map +1 -0
  111. package/dist/esm/Chat/Kit/ChatMessageReaction.js.map +1 -1
  112. package/dist/esm/Chat/Kit/ChatMessageReactionUser.js.map +1 -1
  113. package/dist/esm/Chat/Kit/ChatOwnReaction.js.map +1 -1
  114. package/dist/esm/Chat/Kit/ChatTypingAuthor.d.ts +1 -0
  115. package/dist/esm/Chat/Kit/ChatTypingAuthor.d.ts.map +1 -0
  116. package/dist/esm/Chat/Kit/ChatTypingAuthor.js.map +1 -1
  117. package/dist/esm/Chat/Kit/ChatVariant.js.map +1 -1
  118. package/dist/esm/Chat/Kit/Emoji/EmojiCategory.d.ts +1 -0
  119. package/dist/esm/Chat/Kit/Emoji/EmojiCategory.d.ts.map +1 -0
  120. package/dist/esm/Chat/Kit/Emoji/EmojiCategory.js.map +1 -1
  121. package/dist/esm/Chat/Kit/Emoji/EmojiCategoryKey.js.map +1 -1
  122. package/dist/esm/Chat/Kit/Emoji/EmojiMemory.js.map +1 -1
  123. package/dist/esm/Chat/Kit/Emoji/EmojiPicker.d.ts +1 -0
  124. package/dist/esm/Chat/Kit/Emoji/EmojiPicker.d.ts.map +1 -0
  125. package/dist/esm/Chat/Kit/Emoji/EmojiPicker.js.map +1 -1
  126. package/dist/esm/Chat/Kit/Emoji/emojiCatalog.d.ts +1 -0
  127. package/dist/esm/Chat/Kit/Emoji/emojiCatalog.d.ts.map +1 -0
  128. package/dist/esm/Chat/Kit/Emoji/emojiCatalog.js.map +1 -1
  129. package/dist/esm/Chat/Kit/Emoji/index.d.ts +1 -0
  130. package/dist/esm/Chat/Kit/Emoji/index.d.ts.map +1 -0
  131. package/dist/esm/Chat/Kit/Emoji/index.js +1 -0
  132. package/dist/esm/Chat/Kit/Emoji/index.js.map +1 -0
  133. package/dist/esm/Chat/Kit/Emoji/recentEmojis.d.ts +1 -0
  134. package/dist/esm/Chat/Kit/Emoji/recentEmojis.d.ts.map +1 -0
  135. package/dist/esm/Chat/Kit/Emoji/recentEmojis.js.map +1 -1
  136. package/dist/esm/Chat/Kit/FailedReply.d.ts +1 -0
  137. package/dist/esm/Chat/Kit/FailedReply.d.ts.map +1 -0
  138. package/dist/esm/Chat/Kit/FailedReply.js.map +1 -1
  139. package/dist/esm/Chat/Kit/Mentions/MentionCandidate.d.ts +1 -0
  140. package/dist/esm/Chat/Kit/Mentions/MentionCandidate.d.ts.map +1 -0
  141. package/dist/esm/Chat/Kit/Mentions/MentionCandidate.js.map +1 -1
  142. package/dist/esm/Chat/Kit/Mentions/MentionQuery.js.map +1 -1
  143. package/dist/esm/Chat/Kit/Mentions/MentionSuggestions.d.ts +1 -0
  144. package/dist/esm/Chat/Kit/Mentions/MentionSuggestions.d.ts.map +1 -0
  145. package/dist/esm/Chat/Kit/Mentions/MentionSuggestions.js.map +1 -1
  146. package/dist/esm/Chat/Kit/Mentions/activeMentionQuery.d.ts +1 -0
  147. package/dist/esm/Chat/Kit/Mentions/activeMentionQuery.d.ts.map +1 -0
  148. package/dist/esm/Chat/Kit/Mentions/activeMentionQuery.js.map +1 -1
  149. package/dist/esm/Chat/Kit/Mentions/applyMention.d.ts +1 -0
  150. package/dist/esm/Chat/Kit/Mentions/applyMention.d.ts.map +1 -0
  151. package/dist/esm/Chat/Kit/Mentions/applyMention.js.map +1 -1
  152. package/dist/esm/Chat/Kit/Mentions/extractMentions.js.map +1 -1
  153. package/dist/esm/Chat/Kit/Mentions/findMentionRanges.js.map +1 -1
  154. package/dist/esm/Chat/Kit/Mentions/index.d.ts +1 -0
  155. package/dist/esm/Chat/Kit/Mentions/index.d.ts.map +1 -0
  156. package/dist/esm/Chat/Kit/Mentions/index.js +1 -0
  157. package/dist/esm/Chat/Kit/Mentions/index.js.map +1 -0
  158. package/dist/esm/Chat/Kit/Mentions/matchCandidates.d.ts +1 -0
  159. package/dist/esm/Chat/Kit/Mentions/matchCandidates.d.ts.map +1 -0
  160. package/dist/esm/Chat/Kit/Mentions/matchCandidates.js.map +1 -1
  161. package/dist/esm/Chat/Kit/Mentions/mentionSegments.js.map +1 -1
  162. package/dist/esm/Chat/Kit/MessageReactions.d.ts +1 -0
  163. package/dist/esm/Chat/Kit/MessageReactions.d.ts.map +1 -0
  164. package/dist/esm/Chat/Kit/MessageReactions.js.map +1 -1
  165. package/dist/esm/Chat/Kit/ReactionPicker.d.ts +1 -0
  166. package/dist/esm/Chat/Kit/ReactionPicker.d.ts.map +1 -0
  167. package/dist/esm/Chat/Kit/ReactionPicker.js.map +1 -1
  168. package/dist/esm/Chat/Kit/TypingIndicator.d.ts +1 -0
  169. package/dist/esm/Chat/Kit/TypingIndicator.d.ts.map +1 -0
  170. package/dist/esm/Chat/Kit/TypingIndicator.js.map +1 -1
  171. package/dist/esm/Chat/Kit/findOwnReaction.d.ts +1 -0
  172. package/dist/esm/Chat/Kit/findOwnReaction.d.ts.map +1 -0
  173. package/dist/esm/Chat/Kit/findOwnReaction.js.map +1 -1
  174. package/dist/esm/Chat/Kit/index.d.ts +1 -0
  175. package/dist/esm/Chat/Kit/index.d.ts.map +1 -0
  176. package/dist/esm/Chat/Kit/index.js +1 -0
  177. package/dist/esm/Chat/Kit/index.js.map +1 -0
  178. package/dist/esm/Chat/Kit/reactionsExcludingUser.d.ts +1 -0
  179. package/dist/esm/Chat/Kit/reactionsExcludingUser.d.ts.map +1 -0
  180. package/dist/esm/Chat/Kit/reactionsExcludingUser.js.map +1 -1
  181. package/dist/esm/Chat/index.d.ts +2 -0
  182. package/dist/esm/Chat/index.d.ts.map +1 -0
  183. package/dist/esm/Chat/isTopicUnnamed.d.ts +1 -0
  184. package/dist/esm/Chat/isTopicUnnamed.d.ts.map +1 -0
  185. package/dist/esm/Chat/isTopicUnnamed.js.map +1 -1
  186. package/dist/esm/Chat/relativeTimestamp.js.map +1 -1
  187. package/dist/esm/Chat/shouldRequestTopicName.js.map +1 -1
  188. package/dist/esm/Chat/topicsByActivity.d.ts +1 -0
  189. package/dist/esm/Chat/topicsByActivity.d.ts.map +1 -0
  190. package/dist/esm/Chat/topicsByActivity.js.map +1 -1
  191. package/dist/esm/Chat/useTopicActionFocusRecovery.d.ts +19 -0
  192. package/dist/esm/Chat/useTopicActionFocusRecovery.d.ts.map +1 -0
  193. package/dist/esm/Chat/useTopicActionFocusRecovery.js +41 -0
  194. package/dist/esm/Chat/useTopicActionFocusRecovery.js.map +1 -0
  195. package/dist/esm/CommandDialog/CommandDialog.d.ts +1 -0
  196. package/dist/esm/CommandDialog/CommandDialog.d.ts.map +1 -0
  197. package/dist/esm/CommandDialog/CommandDialog.js.map +1 -1
  198. package/dist/esm/CommandDialog/CommandStepper.d.ts +1 -0
  199. package/dist/esm/CommandDialog/CommandStepper.d.ts.map +1 -0
  200. package/dist/esm/CommandDialog/CommandStepper.js.map +1 -1
  201. package/dist/esm/CommandDialog/CommandStepperContent.d.ts +1 -0
  202. package/dist/esm/CommandDialog/CommandStepperContent.d.ts.map +1 -0
  203. package/dist/esm/CommandDialog/CommandStepperContent.js.map +1 -1
  204. package/dist/esm/CommandDialog/StepperCommandDialog.d.ts +1 -0
  205. package/dist/esm/CommandDialog/StepperCommandDialog.d.ts.map +1 -0
  206. package/dist/esm/CommandDialog/StepperCommandDialog.js.map +1 -1
  207. package/dist/esm/CommandDialog/StepperPanel.js.map +1 -1
  208. package/dist/esm/CommandDialog/applyBeforeExecute.js.map +1 -1
  209. package/dist/esm/CommandDialog/commandValuesUnchanged.js.map +1 -1
  210. package/dist/esm/CommandDialog/confirmBeforeExecute.js.map +1 -1
  211. package/dist/esm/CommandDialog/index.d.ts +1 -0
  212. package/dist/esm/CommandDialog/index.d.ts.map +1 -0
  213. package/dist/esm/CommandDialog/stepChildren.js.map +1 -1
  214. package/dist/esm/CommandDialog/transitionStep.d.ts +1 -0
  215. package/dist/esm/CommandDialog/transitionStep.d.ts.map +1 -0
  216. package/dist/esm/CommandDialog/transitionStep.js.map +1 -1
  217. package/dist/esm/CommandDialog/useCommandExecution.d.ts +1 -0
  218. package/dist/esm/CommandDialog/useCommandExecution.d.ts.map +1 -0
  219. package/dist/esm/CommandDialog/useCommandExecution.js.map +1 -1
  220. package/dist/esm/CommandDialog/useSubmissionFlight.js.map +1 -1
  221. package/dist/esm/CommandForm/AutoCommandForm.js.map +1 -1
  222. package/dist/esm/CommandForm/FieldTypeProvider.js.map +1 -1
  223. package/dist/esm/CommandForm/commandFormMarkers.js.map +1 -1
  224. package/dist/esm/CommandForm/defaultFieldTypeProviders.js.map +1 -1
  225. package/dist/esm/CommandForm/fieldTypeProviderRegistry.d.ts +1 -0
  226. package/dist/esm/CommandForm/fieldTypeProviderRegistry.d.ts.map +1 -0
  227. package/dist/esm/CommandForm/fieldTypeProviderRegistry.js.map +1 -1
  228. package/dist/esm/CommandForm/fields/CalendarField.d.ts +1 -0
  229. package/dist/esm/CommandForm/fields/CalendarField.d.ts.map +1 -0
  230. package/dist/esm/CommandForm/fields/CalendarField.js.map +1 -1
  231. package/dist/esm/CommandForm/fields/CheckboxField.d.ts +1 -0
  232. package/dist/esm/CommandForm/fields/CheckboxField.d.ts.map +1 -0
  233. package/dist/esm/CommandForm/fields/CheckboxField.js.map +1 -1
  234. package/dist/esm/CommandForm/fields/ChipsField.d.ts +1 -0
  235. package/dist/esm/CommandForm/fields/ChipsField.d.ts.map +1 -0
  236. package/dist/esm/CommandForm/fields/ChipsField.js.map +1 -1
  237. package/dist/esm/CommandForm/fields/ColorPickerField.d.ts +1 -0
  238. package/dist/esm/CommandForm/fields/ColorPickerField.d.ts.map +1 -0
  239. package/dist/esm/CommandForm/fields/ColorPickerField.js.map +1 -1
  240. package/dist/esm/CommandForm/fields/DropdownField.d.ts +1 -0
  241. package/dist/esm/CommandForm/fields/DropdownField.d.ts.map +1 -0
  242. package/dist/esm/CommandForm/fields/DropdownField.js.map +1 -1
  243. package/dist/esm/CommandForm/fields/InputTextField.d.ts +1 -0
  244. package/dist/esm/CommandForm/fields/InputTextField.d.ts.map +1 -0
  245. package/dist/esm/CommandForm/fields/InputTextField.js.map +1 -1
  246. package/dist/esm/CommandForm/fields/MultiSelectField.d.ts +1 -0
  247. package/dist/esm/CommandForm/fields/MultiSelectField.d.ts.map +1 -0
  248. package/dist/esm/CommandForm/fields/MultiSelectField.js.map +1 -1
  249. package/dist/esm/CommandForm/fields/NumberField.d.ts +1 -0
  250. package/dist/esm/CommandForm/fields/NumberField.d.ts.map +1 -0
  251. package/dist/esm/CommandForm/fields/NumberField.js.map +1 -1
  252. package/dist/esm/CommandForm/fields/NumberInputField.d.ts +1 -0
  253. package/dist/esm/CommandForm/fields/NumberInputField.d.ts.map +1 -0
  254. package/dist/esm/CommandForm/fields/NumberInputField.js.map +1 -1
  255. package/dist/esm/CommandForm/fields/PasswordField.d.ts +1 -0
  256. package/dist/esm/CommandForm/fields/PasswordField.d.ts.map +1 -0
  257. package/dist/esm/CommandForm/fields/PasswordField.js.map +1 -1
  258. package/dist/esm/CommandForm/fields/RadioButtonField.d.ts +1 -0
  259. package/dist/esm/CommandForm/fields/RadioButtonField.d.ts.map +1 -0
  260. package/dist/esm/CommandForm/fields/RadioButtonField.js.map +1 -1
  261. package/dist/esm/CommandForm/fields/RadioGroupField.d.ts +1 -0
  262. package/dist/esm/CommandForm/fields/RadioGroupField.d.ts.map +1 -0
  263. package/dist/esm/CommandForm/fields/RadioGroupField.js.map +1 -1
  264. package/dist/esm/CommandForm/fields/RatingField.d.ts +1 -0
  265. package/dist/esm/CommandForm/fields/RatingField.d.ts.map +1 -0
  266. package/dist/esm/CommandForm/fields/RatingField.js.map +1 -1
  267. package/dist/esm/CommandForm/fields/SliderField.d.ts +1 -0
  268. package/dist/esm/CommandForm/fields/SliderField.d.ts.map +1 -0
  269. package/dist/esm/CommandForm/fields/SliderField.js.map +1 -1
  270. package/dist/esm/CommandForm/fields/TextAreaField.d.ts +1 -0
  271. package/dist/esm/CommandForm/fields/TextAreaField.d.ts.map +1 -0
  272. package/dist/esm/CommandForm/fields/TextAreaField.js.map +1 -1
  273. package/dist/esm/CommandForm/fields/ToggleSwitchField.d.ts +1 -0
  274. package/dist/esm/CommandForm/fields/ToggleSwitchField.d.ts.map +1 -0
  275. package/dist/esm/CommandForm/fields/ToggleSwitchField.js.map +1 -1
  276. package/dist/esm/CommandForm/fields/chipValues.js.map +1 -1
  277. package/dist/esm/CommandForm/fields/fieldAccessibility.js.map +1 -1
  278. package/dist/esm/CommandForm/fields/fieldValueFromEvent.js.map +1 -1
  279. package/dist/esm/CommandForm/fields/index.d.ts +1 -0
  280. package/dist/esm/CommandForm/fields/index.d.ts.map +1 -0
  281. package/dist/esm/CommandForm/fields/index.js +1 -0
  282. package/dist/esm/CommandForm/fields/index.js.map +1 -0
  283. package/dist/esm/CommandForm/index.d.ts +1 -0
  284. package/dist/esm/CommandForm/index.d.ts.map +1 -0
  285. package/dist/esm/Common/ActionMenubar.d.ts +1 -0
  286. package/dist/esm/Common/ActionMenubar.d.ts.map +1 -0
  287. package/dist/esm/Common/ActionMenubar.js.map +1 -1
  288. package/dist/esm/Common/Breadcrumbs.js.map +1 -1
  289. package/dist/esm/Common/Button.d.ts +1 -0
  290. package/dist/esm/Common/Button.d.ts.map +1 -0
  291. package/dist/esm/Common/Button.js.map +1 -1
  292. package/dist/esm/Common/ButtonImplementation.d.ts +1 -0
  293. package/dist/esm/Common/ButtonImplementation.d.ts.map +1 -0
  294. package/dist/esm/Common/ButtonImplementation.js.map +1 -1
  295. package/dist/esm/Common/Checkbox.d.ts +1 -0
  296. package/dist/esm/Common/Checkbox.d.ts.map +1 -0
  297. package/dist/esm/Common/Checkbox.js.map +1 -1
  298. package/dist/esm/Common/CheckboxImplementation.d.ts +1 -0
  299. package/dist/esm/Common/CheckboxImplementation.d.ts.map +1 -0
  300. package/dist/esm/Common/CheckboxImplementation.js.map +1 -1
  301. package/dist/esm/Common/ComboBox.js.map +1 -1
  302. package/dist/esm/Common/CratisComponentsProvider.d.ts +1 -0
  303. package/dist/esm/Common/CratisComponentsProvider.d.ts.map +1 -0
  304. package/dist/esm/Common/CratisComponentsProvider.js.map +1 -1
  305. package/dist/esm/Common/DatePickerInput.d.ts +1 -0
  306. package/dist/esm/Common/DatePickerInput.d.ts.map +1 -0
  307. package/dist/esm/Common/DatePickerInput.js.map +1 -1
  308. package/dist/esm/Common/DatePickerInputImplementation.d.ts +1 -0
  309. package/dist/esm/Common/DatePickerInputImplementation.d.ts.map +1 -0
  310. package/dist/esm/Common/DatePickerInputImplementation.js.map +1 -1
  311. package/dist/esm/Common/ErrorBoundary.js.map +1 -1
  312. package/dist/esm/Common/FormElement.js.map +1 -1
  313. package/dist/esm/Common/Icon.js.map +1 -1
  314. package/dist/esm/Common/IconButton.d.ts +1 -0
  315. package/dist/esm/Common/IconButton.d.ts.map +1 -0
  316. package/dist/esm/Common/IconButton.js.map +1 -1
  317. package/dist/esm/Common/IconButtonImplementation.d.ts +1 -0
  318. package/dist/esm/Common/IconButtonImplementation.d.ts.map +1 -0
  319. package/dist/esm/Common/IconButtonImplementation.js.map +1 -1
  320. package/dist/esm/Common/NumberInput.d.ts +1 -0
  321. package/dist/esm/Common/NumberInput.d.ts.map +1 -0
  322. package/dist/esm/Common/NumberInput.js.map +1 -1
  323. package/dist/esm/Common/NumberInputCommitReason.js.map +1 -1
  324. package/dist/esm/Common/NumberInputPartAttributes.js.map +1 -1
  325. package/dist/esm/Common/Page.js.map +1 -1
  326. package/dist/esm/Common/Radio.d.ts +1 -0
  327. package/dist/esm/Common/Radio.d.ts.map +1 -0
  328. package/dist/esm/Common/Radio.js.map +1 -1
  329. package/dist/esm/Common/RadioImplementation.d.ts +1 -0
  330. package/dist/esm/Common/RadioImplementation.d.ts.map +1 -0
  331. package/dist/esm/Common/RadioImplementation.js.map +1 -1
  332. package/dist/esm/Common/Surface.js.map +1 -1
  333. package/dist/esm/Common/SurfaceImplementation.d.ts +1 -0
  334. package/dist/esm/Common/SurfaceImplementation.d.ts.map +1 -0
  335. package/dist/esm/Common/SurfaceImplementation.js.map +1 -1
  336. package/dist/esm/Common/Switch.d.ts +1 -0
  337. package/dist/esm/Common/Switch.d.ts.map +1 -0
  338. package/dist/esm/Common/Switch.js.map +1 -1
  339. package/dist/esm/Common/SwitchImplementation.d.ts +1 -0
  340. package/dist/esm/Common/SwitchImplementation.d.ts.map +1 -0
  341. package/dist/esm/Common/SwitchImplementation.js.map +1 -1
  342. package/dist/esm/Common/Tabs.js.map +1 -1
  343. package/dist/esm/Common/TagGroup.js.map +1 -1
  344. package/dist/esm/Common/TextArea.d.ts +1 -0
  345. package/dist/esm/Common/TextArea.d.ts.map +1 -0
  346. package/dist/esm/Common/TextArea.js.map +1 -1
  347. package/dist/esm/Common/TextAreaImplementation.d.ts +1 -0
  348. package/dist/esm/Common/TextAreaImplementation.d.ts.map +1 -0
  349. package/dist/esm/Common/TextAreaImplementation.js.map +1 -1
  350. package/dist/esm/Common/TextInput.d.ts +1 -0
  351. package/dist/esm/Common/TextInput.d.ts.map +1 -0
  352. package/dist/esm/Common/TextInput.js.map +1 -1
  353. package/dist/esm/Common/TextInputImplementation.d.ts +1 -0
  354. package/dist/esm/Common/TextInputImplementation.d.ts.map +1 -0
  355. package/dist/esm/Common/TextInputImplementation.js.map +1 -1
  356. package/dist/esm/Common/ToggleGroup.js.map +1 -1
  357. package/dist/esm/Common/ToolbarFocusMode.js.map +1 -1
  358. package/dist/esm/Common/Tooltip.js.map +1 -1
  359. package/dist/esm/Common/TooltipImplementation.d.ts +1 -0
  360. package/dist/esm/Common/TooltipImplementation.d.ts.map +1 -0
  361. package/dist/esm/Common/TooltipImplementation.js.map +1 -1
  362. package/dist/esm/Common/index.d.ts +1 -0
  363. package/dist/esm/Common/index.d.ts.map +1 -0
  364. package/dist/esm/Common/messaging/useOptionalMessenger.js.map +1 -1
  365. package/dist/esm/Common/normalizeIconClass.js.map +1 -1
  366. package/dist/esm/Common/reactAriaProps.js.map +1 -1
  367. package/dist/esm/Common/useNativeCheckedState.js.map +1 -1
  368. package/dist/esm/Common/useToolbarKeyboardNavigation.d.ts +1 -0
  369. package/dist/esm/Common/useToolbarKeyboardNavigation.d.ts.map +1 -0
  370. package/dist/esm/Common/useToolbarKeyboardNavigation.js.map +1 -1
  371. package/dist/esm/DataPage/DataPage.d.ts +1 -0
  372. package/dist/esm/DataPage/DataPage.d.ts.map +1 -0
  373. package/dist/esm/DataPage/DataPage.js.map +1 -1
  374. package/dist/esm/DataPage/DataPageLayout.js.map +1 -1
  375. package/dist/esm/DataPage/index.d.ts +1 -0
  376. package/dist/esm/DataPage/index.d.ts.map +1 -0
  377. package/dist/esm/DataTables/Column.d.ts +1 -0
  378. package/dist/esm/DataTables/Column.d.ts.map +1 -0
  379. package/dist/esm/DataTables/Column.js.map +1 -1
  380. package/dist/esm/DataTables/ColumnFilterMenu.d.ts +1 -0
  381. package/dist/esm/DataTables/ColumnFilterMenu.d.ts.map +1 -0
  382. package/dist/esm/DataTables/ColumnFilterMenu.js.map +1 -1
  383. package/dist/esm/DataTables/DataTableCore.d.ts +1 -0
  384. package/dist/esm/DataTables/DataTableCore.d.ts.map +1 -0
  385. package/dist/esm/DataTables/DataTableCore.js.map +1 -1
  386. package/dist/esm/DataTables/DataTableFilterMatcherRegistry.d.ts +1 -0
  387. package/dist/esm/DataTables/DataTableFilterMatcherRegistry.d.ts.map +1 -0
  388. package/dist/esm/DataTables/DataTableFilterMatcherRegistry.js.map +1 -1
  389. package/dist/esm/DataTables/DataTableFilterMeta.js.map +1 -1
  390. package/dist/esm/DataTables/DataTableForObservableQuery.d.ts +1 -0
  391. package/dist/esm/DataTables/DataTableForObservableQuery.d.ts.map +1 -0
  392. package/dist/esm/DataTables/DataTableForObservableQuery.js.map +1 -1
  393. package/dist/esm/DataTables/DataTableForQuery.d.ts +1 -0
  394. package/dist/esm/DataTables/DataTableForQuery.d.ts.map +1 -0
  395. package/dist/esm/DataTables/DataTableForQuery.js.map +1 -1
  396. package/dist/esm/DataTables/DataTableSelectionChangeEvent.js.map +1 -1
  397. package/dist/esm/DataTables/DataTableStatus.js.map +1 -1
  398. package/dist/esm/DataTables/TablePaginator.d.ts +1 -0
  399. package/dist/esm/DataTables/TablePaginator.d.ts.map +1 -0
  400. package/dist/esm/DataTables/TablePaginator.js.map +1 -1
  401. package/dist/esm/DataTables/TablePaginatorImplementation.d.ts +1 -0
  402. package/dist/esm/DataTables/TablePaginatorImplementation.d.ts.map +1 -0
  403. package/dist/esm/DataTables/TablePaginatorImplementation.js.map +1 -1
  404. package/dist/esm/DataTables/index.d.ts +1 -0
  405. package/dist/esm/DataTables/index.d.ts.map +1 -0
  406. package/dist/esm/DataTables/paginatorRange.js.map +1 -1
  407. package/dist/esm/DataTables/resolveDataTableStatus.d.ts +1 -0
  408. package/dist/esm/DataTables/resolveDataTableStatus.d.ts.map +1 -0
  409. package/dist/esm/DataTables/resolveDataTableStatus.js.map +1 -1
  410. package/dist/esm/DataTables/selectionKeys.js.map +1 -1
  411. package/dist/esm/Dialogs/BusyIndicatorDialog.js.map +1 -1
  412. package/dist/esm/Dialogs/ConfirmationDialog.js.map +1 -1
  413. package/dist/esm/Dialogs/Dialog.d.ts +1 -0
  414. package/dist/esm/Dialogs/Dialog.d.ts.map +1 -0
  415. package/dist/esm/Dialogs/Dialog.js.map +1 -1
  416. package/dist/esm/Dialogs/DialogImplementation.d.ts +1 -0
  417. package/dist/esm/Dialogs/DialogImplementation.d.ts.map +1 -0
  418. package/dist/esm/Dialogs/DialogImplementation.js.map +1 -1
  419. package/dist/esm/Dialogs/DialogInitialFocus.js.map +1 -1
  420. package/dist/esm/Dialogs/index.d.ts +1 -0
  421. package/dist/esm/Dialogs/index.d.ts.map +1 -0
  422. package/dist/esm/Display/Avatar.js.map +1 -1
  423. package/dist/esm/Display/Badge.js.map +1 -1
  424. package/dist/esm/Display/Chip.js.map +1 -1
  425. package/dist/esm/Display/Message.js.map +1 -1
  426. package/dist/esm/Display/ProgressBar.js.map +1 -1
  427. package/dist/esm/Display/ProgressBarImplementation.d.ts +1 -0
  428. package/dist/esm/Display/ProgressBarImplementation.d.ts.map +1 -0
  429. package/dist/esm/Display/ProgressBarImplementation.js.map +1 -1
  430. package/dist/esm/Display/ProgressSpinner.js.map +1 -1
  431. package/dist/esm/Display/Skeleton.js.map +1 -1
  432. package/dist/esm/Display/Tag.js.map +1 -1
  433. package/dist/esm/Display/index.d.ts +1 -0
  434. package/dist/esm/Display/index.d.ts.map +1 -0
  435. package/dist/esm/Dropdown/Dropdown.d.ts +1 -0
  436. package/dist/esm/Dropdown/Dropdown.d.ts.map +1 -0
  437. package/dist/esm/Dropdown/Dropdown.js.map +1 -1
  438. package/dist/esm/Dropdown/DropdownImplementation.d.ts +1 -0
  439. package/dist/esm/Dropdown/DropdownImplementation.d.ts.map +1 -0
  440. package/dist/esm/Dropdown/DropdownImplementation.js.map +1 -1
  441. package/dist/esm/Dropdown/index.d.ts +1 -0
  442. package/dist/esm/Dropdown/index.d.ts.map +1 -0
  443. package/dist/esm/Dropdown/observeLabelAssociations.js.map +1 -1
  444. package/dist/esm/Dropdown/useExternalLabel.js.map +1 -1
  445. package/dist/esm/Filter/CheckboxListFilter.d.ts +1 -0
  446. package/dist/esm/Filter/CheckboxListFilter.d.ts.map +1 -0
  447. package/dist/esm/Filter/CheckboxListFilter.js.map +1 -1
  448. package/dist/esm/Filter/FilterEditor.d.ts +1 -0
  449. package/dist/esm/Filter/FilterEditor.d.ts.map +1 -0
  450. package/dist/esm/Filter/FilterEditor.js.map +1 -1
  451. package/dist/esm/Filter/FilterEditorProps.d.ts +1 -0
  452. package/dist/esm/Filter/FilterEditorProps.d.ts.map +1 -0
  453. package/dist/esm/Filter/FilterEditorProps.js.map +1 -1
  454. package/dist/esm/Filter/FilterPanel.d.ts +1 -0
  455. package/dist/esm/Filter/FilterPanel.d.ts.map +1 -0
  456. package/dist/esm/Filter/FilterPanel.js.map +1 -1
  457. package/dist/esm/Filter/RangeHistogramFilter.d.ts +1 -0
  458. package/dist/esm/Filter/RangeHistogramFilter.d.ts.map +1 -0
  459. package/dist/esm/Filter/RangeHistogramFilter.js.map +1 -1
  460. package/dist/esm/Filter/index.d.ts +1 -0
  461. package/dist/esm/Filter/index.d.ts.map +1 -0
  462. package/dist/esm/Filter/types.js.map +1 -1
  463. package/dist/esm/Filter/useFilterState.d.ts +1 -0
  464. package/dist/esm/Filter/useFilterState.d.ts.map +1 -0
  465. package/dist/esm/Filter/useFilterState.js.map +1 -1
  466. package/dist/esm/Filter/useOptionListOverflow.js.map +1 -1
  467. package/dist/esm/Filter/utils.d.ts +1 -0
  468. package/dist/esm/Filter/utils.d.ts.map +1 -0
  469. package/dist/esm/Filter/utils.js.map +1 -1
  470. package/dist/esm/Notifications/Toaster.js.map +1 -1
  471. package/dist/esm/Notifications/index.d.ts +1 -0
  472. package/dist/esm/Notifications/index.d.ts.map +1 -0
  473. package/dist/esm/Notifications/toast.js.map +1 -1
  474. package/dist/esm/Notifications/toastCommandResult.js.map +1 -1
  475. package/dist/esm/ObjectContentEditor/ObjectContentEditor.d.ts +1 -0
  476. package/dist/esm/ObjectContentEditor/ObjectContentEditor.d.ts.map +1 -0
  477. package/dist/esm/ObjectContentEditor/ObjectContentEditor.js.map +1 -1
  478. package/dist/esm/ObjectContentEditor/index.d.ts +1 -0
  479. package/dist/esm/ObjectContentEditor/index.d.ts.map +1 -0
  480. package/dist/esm/ObjectContentEditor/objectHelpers.d.ts +1 -0
  481. package/dist/esm/ObjectContentEditor/objectHelpers.d.ts.map +1 -0
  482. package/dist/esm/ObjectContentEditor/objectHelpers.js.map +1 -1
  483. package/dist/esm/ObjectNavigationalBar/ObjectNavigationalBar.js.map +1 -1
  484. package/dist/esm/ObjectNavigationalBar/breadcrumbHelpers.js.map +1 -1
  485. package/dist/esm/ObjectNavigationalBar/index.d.ts +1 -0
  486. package/dist/esm/ObjectNavigationalBar/index.d.ts.map +1 -0
  487. package/dist/esm/PivotViewer/PivotViewer.d.ts +1 -0
  488. package/dist/esm/PivotViewer/PivotViewer.d.ts.map +1 -0
  489. package/dist/esm/PivotViewer/PivotViewer.js.map +1 -1
  490. package/dist/esm/PivotViewer/PivotViewerLabels.js.map +1 -1
  491. package/dist/esm/PivotViewer/components/AxisLabels.d.ts +1 -0
  492. package/dist/esm/PivotViewer/components/AxisLabels.d.ts.map +1 -0
  493. package/dist/esm/PivotViewer/components/AxisLabels.js.map +1 -1
  494. package/dist/esm/PivotViewer/components/DetailPanel.js.map +1 -1
  495. package/dist/esm/PivotViewer/components/FilterPanel.d.ts +1 -0
  496. package/dist/esm/PivotViewer/components/FilterPanel.d.ts.map +1 -0
  497. package/dist/esm/PivotViewer/components/FilterPanel.js.map +1 -1
  498. package/dist/esm/PivotViewer/components/FilterPanelContainer.d.ts +1 -0
  499. package/dist/esm/PivotViewer/components/FilterPanelContainer.d.ts.map +1 -0
  500. package/dist/esm/PivotViewer/components/FilterPanelContainer.js.map +1 -1
  501. package/dist/esm/PivotViewer/components/PivotCanvas.d.ts +1 -0
  502. package/dist/esm/PivotViewer/components/PivotCanvas.d.ts.map +1 -0
  503. package/dist/esm/PivotViewer/components/PivotCanvas.js.map +1 -1
  504. package/dist/esm/PivotViewer/components/PivotViewerMain.d.ts +1 -0
  505. package/dist/esm/PivotViewer/components/PivotViewerMain.d.ts.map +1 -0
  506. package/dist/esm/PivotViewer/components/PivotViewerMain.js.map +1 -1
  507. package/dist/esm/PivotViewer/components/RangeHistogramFilter.d.ts +1 -0
  508. package/dist/esm/PivotViewer/components/RangeHistogramFilter.d.ts.map +1 -0
  509. package/dist/esm/PivotViewer/components/RangeHistogramFilter.js.map +1 -1
  510. package/dist/esm/PivotViewer/components/Spinner.js.map +1 -1
  511. package/dist/esm/PivotViewer/components/Toolbar.d.ts +1 -0
  512. package/dist/esm/PivotViewer/components/Toolbar.d.ts.map +1 -0
  513. package/dist/esm/PivotViewer/components/Toolbar.js.map +1 -1
  514. package/dist/esm/PivotViewer/components/ToolbarContainer.d.ts +1 -0
  515. package/dist/esm/PivotViewer/components/ToolbarContainer.d.ts.map +1 -0
  516. package/dist/esm/PivotViewer/components/ToolbarContainer.js.map +1 -1
  517. package/dist/esm/PivotViewer/components/index.d.ts +1 -0
  518. package/dist/esm/PivotViewer/components/index.d.ts.map +1 -0
  519. package/dist/esm/PivotViewer/components/index.js +1 -0
  520. package/dist/esm/PivotViewer/components/index.js.map +1 -0
  521. package/dist/esm/PivotViewer/components/pivot/animation.d.ts +1 -0
  522. package/dist/esm/PivotViewer/components/pivot/animation.d.ts.map +1 -0
  523. package/dist/esm/PivotViewer/components/pivot/animation.js.map +1 -1
  524. package/dist/esm/PivotViewer/components/pivot/colorResolver.d.ts +1 -0
  525. package/dist/esm/PivotViewer/components/pivot/colorResolver.d.ts.map +1 -0
  526. package/dist/esm/PivotViewer/components/pivot/colorResolver.js.map +1 -1
  527. package/dist/esm/PivotViewer/components/pivot/constants.js.map +1 -1
  528. package/dist/esm/PivotViewer/components/pivot/ellipsize.js.map +1 -1
  529. package/dist/esm/PivotViewer/components/pivot/groups.d.ts +1 -0
  530. package/dist/esm/PivotViewer/components/pivot/groups.d.ts.map +1 -0
  531. package/dist/esm/PivotViewer/components/pivot/groups.js.map +1 -1
  532. package/dist/esm/PivotViewer/components/pivot/sprites.d.ts +1 -0
  533. package/dist/esm/PivotViewer/components/pivot/sprites.d.ts.map +1 -0
  534. package/dist/esm/PivotViewer/components/pivot/sprites.js.map +1 -1
  535. package/dist/esm/PivotViewer/components/pivot/syncScrollSprites.d.ts +1 -0
  536. package/dist/esm/PivotViewer/components/pivot/syncScrollSprites.d.ts.map +1 -0
  537. package/dist/esm/PivotViewer/components/pivot/syncScrollSprites.js.map +1 -1
  538. package/dist/esm/PivotViewer/components/pivot/visibility.d.ts +1 -0
  539. package/dist/esm/PivotViewer/components/pivot/visibility.d.ts.map +1 -0
  540. package/dist/esm/PivotViewer/components/pivot/visibility.js.map +1 -1
  541. package/dist/esm/PivotViewer/constants.js.map +1 -1
  542. package/dist/esm/PivotViewer/engine/layout.d.ts +1 -0
  543. package/dist/esm/PivotViewer/engine/layout.d.ts.map +1 -0
  544. package/dist/esm/PivotViewer/engine/layout.js.map +1 -1
  545. package/dist/esm/PivotViewer/engine/pivot.worker.js +1 -0
  546. package/dist/esm/PivotViewer/engine/pivot.worker.js.map +1 -0
  547. package/dist/esm/PivotViewer/engine/requestCorrelator.js.map +1 -1
  548. package/dist/esm/PivotViewer/engine/store.d.ts +1 -0
  549. package/dist/esm/PivotViewer/engine/store.d.ts.map +1 -0
  550. package/dist/esm/PivotViewer/engine/store.js.map +1 -1
  551. package/dist/esm/PivotViewer/engine/types.js.map +1 -1
  552. package/dist/esm/PivotViewer/hooks/index.d.ts +1 -0
  553. package/dist/esm/PivotViewer/hooks/index.d.ts.map +1 -0
  554. package/dist/esm/PivotViewer/hooks/index.js +1 -0
  555. package/dist/esm/PivotViewer/hooks/index.js.map +1 -0
  556. package/dist/esm/PivotViewer/hooks/useAnimationModeTracking.js.map +1 -1
  557. package/dist/esm/PivotViewer/hooks/useCardSelection.d.ts +1 -0
  558. package/dist/esm/PivotViewer/hooks/useCardSelection.d.ts.map +1 -0
  559. package/dist/esm/PivotViewer/hooks/useCardSelection.js.map +1 -1
  560. package/dist/esm/PivotViewer/hooks/useContainerDimensions.js.map +1 -1
  561. package/dist/esm/PivotViewer/hooks/useCurrentFilters.d.ts +1 -0
  562. package/dist/esm/PivotViewer/hooks/useCurrentFilters.d.ts.map +1 -0
  563. package/dist/esm/PivotViewer/hooks/useCurrentFilters.js.map +1 -1
  564. package/dist/esm/PivotViewer/hooks/useDetailPanelClose.d.ts +1 -0
  565. package/dist/esm/PivotViewer/hooks/useDetailPanelClose.d.ts.map +1 -0
  566. package/dist/esm/PivotViewer/hooks/useDetailPanelClose.js.map +1 -1
  567. package/dist/esm/PivotViewer/hooks/useDimensionState.d.ts +1 -0
  568. package/dist/esm/PivotViewer/hooks/useDimensionState.d.ts.map +1 -0
  569. package/dist/esm/PivotViewer/hooks/useDimensionState.js.map +1 -1
  570. package/dist/esm/PivotViewer/hooks/useFieldExtractors.d.ts +1 -0
  571. package/dist/esm/PivotViewer/hooks/useFieldExtractors.d.ts.map +1 -0
  572. package/dist/esm/PivotViewer/hooks/useFieldExtractors.js.map +1 -1
  573. package/dist/esm/PivotViewer/hooks/useFilterOptions.d.ts +1 -0
  574. package/dist/esm/PivotViewer/hooks/useFilterOptions.d.ts.map +1 -0
  575. package/dist/esm/PivotViewer/hooks/useFilterOptions.js.map +1 -1
  576. package/dist/esm/PivotViewer/hooks/useFilterPanelDrag.js.map +1 -1
  577. package/dist/esm/PivotViewer/hooks/useFilterState.d.ts +1 -0
  578. package/dist/esm/PivotViewer/hooks/useFilterState.d.ts.map +1 -0
  579. package/dist/esm/PivotViewer/hooks/useFilterState.js.map +1 -1
  580. package/dist/esm/PivotViewer/hooks/useFilteredData.d.ts +1 -0
  581. package/dist/esm/PivotViewer/hooks/useFilteredData.d.ts.map +1 -0
  582. package/dist/esm/PivotViewer/hooks/useFilteredData.js +1 -0
  583. package/dist/esm/PivotViewer/hooks/useFilteredData.js.map +1 -0
  584. package/dist/esm/PivotViewer/hooks/usePanning.js.map +1 -1
  585. package/dist/esm/PivotViewer/hooks/usePivotEngine.d.ts +1 -0
  586. package/dist/esm/PivotViewer/hooks/usePivotEngine.d.ts.map +1 -0
  587. package/dist/esm/PivotViewer/hooks/usePivotEngine.js.map +1 -1
  588. package/dist/esm/PivotViewer/hooks/useScrollSync.d.ts +1 -0
  589. package/dist/esm/PivotViewer/hooks/useScrollSync.d.ts.map +1 -0
  590. package/dist/esm/PivotViewer/hooks/useScrollSync.js.map +1 -1
  591. package/dist/esm/PivotViewer/hooks/useSelectedItem.js +1 -0
  592. package/dist/esm/PivotViewer/hooks/useSelectedItem.js.map +1 -0
  593. package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.d.ts +1 -0
  594. package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.d.ts.map +1 -0
  595. package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.js.map +1 -1
  596. package/dist/esm/PivotViewer/hooks/useWheelZoom.js.map +1 -1
  597. package/dist/esm/PivotViewer/hooks/useZoomScrollAnchor.js.map +1 -1
  598. package/dist/esm/PivotViewer/hooks/useZoomState.js.map +1 -1
  599. package/dist/esm/PivotViewer/index.d.ts +1 -0
  600. package/dist/esm/PivotViewer/index.d.ts.map +1 -0
  601. package/dist/esm/PivotViewer/types.d.ts +1 -0
  602. package/dist/esm/PivotViewer/types.d.ts.map +1 -0
  603. package/dist/esm/PivotViewer/types.js.map +1 -1
  604. package/dist/esm/PivotViewer/utils/animations.js.map +1 -1
  605. package/dist/esm/PivotViewer/utils/cardPosition.d.ts +1 -0
  606. package/dist/esm/PivotViewer/utils/cardPosition.d.ts.map +1 -0
  607. package/dist/esm/PivotViewer/utils/cardPosition.js.map +1 -1
  608. package/dist/esm/PivotViewer/utils/constants.js.map +1 -1
  609. package/dist/esm/PivotViewer/utils/idResolution.d.ts +1 -0
  610. package/dist/esm/PivotViewer/utils/idResolution.d.ts.map +1 -0
  611. package/dist/esm/PivotViewer/utils/idResolution.js.map +1 -1
  612. package/dist/esm/PivotViewer/utils/index.d.ts +1 -0
  613. package/dist/esm/PivotViewer/utils/index.d.ts.map +1 -0
  614. package/dist/esm/PivotViewer/utils/index.js +1 -0
  615. package/dist/esm/PivotViewer/utils/index.js.map +1 -0
  616. package/dist/esm/PivotViewer/utils/presentGrouping.d.ts +1 -0
  617. package/dist/esm/PivotViewer/utils/presentGrouping.d.ts.map +1 -0
  618. package/dist/esm/PivotViewer/utils/presentGrouping.js.map +1 -1
  619. package/dist/esm/PivotViewer/utils/search.d.ts +1 -0
  620. package/dist/esm/PivotViewer/utils/search.d.ts.map +1 -0
  621. package/dist/esm/PivotViewer/utils/search.js.map +1 -1
  622. package/dist/esm/PivotViewer/utils/selection.d.ts +1 -0
  623. package/dist/esm/PivotViewer/utils/selection.d.ts.map +1 -0
  624. package/dist/esm/PivotViewer/utils/selection.js.map +1 -1
  625. package/dist/esm/PivotViewer/utils/utils.d.ts +1 -0
  626. package/dist/esm/PivotViewer/utils/utils.d.ts.map +1 -0
  627. package/dist/esm/PivotViewer/utils/utils.js.map +1 -1
  628. package/dist/esm/QueryStatus/QueryStatus.js.map +1 -1
  629. package/dist/esm/QueryStatus/resolveQueryStatus.d.ts +1 -0
  630. package/dist/esm/QueryStatus/resolveQueryStatus.d.ts.map +1 -0
  631. package/dist/esm/QueryStatus/resolveQueryStatus.js.map +1 -1
  632. package/dist/esm/SchemaEditor/NameCell.d.ts +1 -0
  633. package/dist/esm/SchemaEditor/NameCell.d.ts.map +1 -0
  634. package/dist/esm/SchemaEditor/NameCell.js.map +1 -1
  635. package/dist/esm/SchemaEditor/SchemaEditor.d.ts +1 -0
  636. package/dist/esm/SchemaEditor/SchemaEditor.d.ts.map +1 -0
  637. package/dist/esm/SchemaEditor/SchemaEditor.js.map +1 -1
  638. package/dist/esm/SchemaEditor/TypeCell.d.ts +1 -0
  639. package/dist/esm/SchemaEditor/TypeCell.d.ts.map +1 -0
  640. package/dist/esm/SchemaEditor/TypeCell.js.map +1 -1
  641. package/dist/esm/SchemaEditor/index.d.ts +1 -0
  642. package/dist/esm/SchemaEditor/index.d.ts.map +1 -0
  643. package/dist/esm/SchemaEditor/schemaHelpers.d.ts +1 -0
  644. package/dist/esm/SchemaEditor/schemaHelpers.d.ts.map +1 -0
  645. package/dist/esm/SchemaEditor/schemaHelpers.js.map +1 -1
  646. package/dist/esm/TimeMachine/EventsView.d.ts +1 -0
  647. package/dist/esm/TimeMachine/EventsView.d.ts.map +1 -0
  648. package/dist/esm/TimeMachine/EventsView.js.map +1 -1
  649. package/dist/esm/TimeMachine/Properties.js.map +1 -1
  650. package/dist/esm/TimeMachine/ReadModelView.d.ts +1 -0
  651. package/dist/esm/TimeMachine/ReadModelView.d.ts.map +1 -0
  652. package/dist/esm/TimeMachine/ReadModelView.js.map +1 -1
  653. package/dist/esm/TimeMachine/TimeMachine.d.ts +1 -0
  654. package/dist/esm/TimeMachine/TimeMachine.d.ts.map +1 -0
  655. package/dist/esm/TimeMachine/TimeMachine.js.map +1 -1
  656. package/dist/esm/TimeMachine/TimeMachineLabels.js.map +1 -1
  657. package/dist/esm/TimeMachine/index.d.ts +1 -0
  658. package/dist/esm/TimeMachine/index.d.ts.map +1 -0
  659. package/dist/esm/TimeMachine/propertiesHelpers.js.map +1 -1
  660. package/dist/esm/TimeMachine/types.js.map +1 -1
  661. package/dist/esm/Toolbar/Toolbar.d.ts +1 -0
  662. package/dist/esm/Toolbar/Toolbar.d.ts.map +1 -0
  663. package/dist/esm/Toolbar/Toolbar.js.map +1 -1
  664. package/dist/esm/Toolbar/ToolbarButton.d.ts +1 -0
  665. package/dist/esm/Toolbar/ToolbarButton.d.ts.map +1 -0
  666. package/dist/esm/Toolbar/ToolbarButton.js.map +1 -1
  667. package/dist/esm/Toolbar/ToolbarContext.js.map +1 -1
  668. package/dist/esm/Toolbar/ToolbarDragContext.js.map +1 -1
  669. package/dist/esm/Toolbar/ToolbarFanOutItem.d.ts +1 -0
  670. package/dist/esm/Toolbar/ToolbarFanOutItem.d.ts.map +1 -0
  671. package/dist/esm/Toolbar/ToolbarFanOutItem.js.map +1 -1
  672. package/dist/esm/Toolbar/ToolbarFolder.d.ts +1 -0
  673. package/dist/esm/Toolbar/ToolbarFolder.d.ts.map +1 -0
  674. package/dist/esm/Toolbar/ToolbarFolder.js.map +1 -1
  675. package/dist/esm/Toolbar/ToolbarFolderContext.js.map +1 -1
  676. package/dist/esm/Toolbar/ToolbarGroup.js.map +1 -1
  677. package/dist/esm/Toolbar/ToolbarItemVisibilityContext.js.map +1 -1
  678. package/dist/esm/Toolbar/ToolbarLayout.js.map +1 -1
  679. package/dist/esm/Toolbar/ToolbarSection.js.map +1 -1
  680. package/dist/esm/Toolbar/ToolbarSeparator.js.map +1 -1
  681. package/dist/esm/Toolbar/ToolbarSlot.js.map +1 -1
  682. package/dist/esm/Toolbar/index.d.ts +1 -0
  683. package/dist/esm/Toolbar/index.d.ts.map +1 -0
  684. package/dist/esm/configuration/CratisComponentsContext.d.ts +1 -0
  685. package/dist/esm/configuration/CratisComponentsContext.d.ts.map +1 -0
  686. package/dist/esm/configuration/CratisComponentsContext.js.map +1 -1
  687. package/dist/esm/configuration/CratisComponentsDefaults.d.ts +1 -0
  688. package/dist/esm/configuration/CratisComponentsDefaults.d.ts.map +1 -0
  689. package/dist/esm/configuration/CratisComponentsDefaults.js.map +1 -1
  690. package/dist/esm/configuration/useCratisIcon.d.ts +1 -0
  691. package/dist/esm/configuration/useCratisIcon.d.ts.map +1 -0
  692. package/dist/esm/configuration/useCratisIcon.js.map +1 -1
  693. package/dist/esm/index.d.ts +1 -0
  694. package/dist/esm/index.d.ts.map +1 -0
  695. package/dist/esm/renderer/DialogStackContext.js.map +1 -1
  696. package/dist/esm/renderer/RendererContext.d.ts +1 -0
  697. package/dist/esm/renderer/RendererContext.d.ts.map +1 -0
  698. package/dist/esm/renderer/RendererContext.js.map +1 -1
  699. package/dist/esm/renderer/RendererScope.d.ts +1 -0
  700. package/dist/esm/renderer/RendererScope.d.ts.map +1 -0
  701. package/dist/esm/renderer/RendererScope.js.map +1 -1
  702. package/dist/esm/renderer/builtin/index.js.map +1 -1
  703. package/dist/esm/renderer/capabilities.js.map +1 -1
  704. package/dist/esm/renderer/coreSlots.d.ts +1 -0
  705. package/dist/esm/renderer/coreSlots.d.ts.map +1 -0
  706. package/dist/esm/renderer/coreSlots.js.map +1 -1
  707. package/dist/esm/renderer/dialogStack.js.map +1 -1
  708. package/dist/esm/renderer/errors.d.ts +1 -0
  709. package/dist/esm/renderer/errors.d.ts.map +1 -0
  710. package/dist/esm/renderer/errors.js.map +1 -1
  711. package/dist/esm/renderer/index.d.ts +1 -0
  712. package/dist/esm/renderer/index.d.ts.map +1 -0
  713. package/dist/esm/renderer/manifest.d.ts +1 -0
  714. package/dist/esm/renderer/manifest.d.ts.map +1 -0
  715. package/dist/esm/renderer/manifest.js.map +1 -1
  716. package/dist/esm/renderer/overlayEnvironment.js.map +1 -1
  717. package/dist/esm/renderer/presentation.d.ts +1 -0
  718. package/dist/esm/renderer/presentation.d.ts.map +1 -0
  719. package/dist/esm/renderer/presentation.js.map +1 -1
  720. package/dist/esm/renderer/renderSlot.js.map +1 -1
  721. package/dist/esm/renderer/resolve.d.ts +1 -0
  722. package/dist/esm/renderer/resolve.d.ts.map +1 -0
  723. package/dist/esm/renderer/resolve.js.map +1 -1
  724. package/dist/esm/renderer/slots.js.map +1 -1
  725. package/dist/esm/styles.Canvas.css +17 -1
  726. package/dist/esm/styles.Chat.css +17 -1
  727. package/dist/esm/styles.css +17 -1
  728. package/dist/esm/types/ChangeHandler.d.ts +1 -0
  729. package/dist/esm/types/ChangeHandler.d.ts.map +1 -0
  730. package/dist/esm/types/ChangeHandler.js.map +1 -1
  731. package/dist/esm/types/ChangeMeta.js.map +1 -1
  732. package/dist/esm/types/ExactPartKeys.js.map +1 -1
  733. package/dist/esm/types/JsonSchema.js.map +1 -1
  734. package/dist/esm/types/TypeFormat.js.map +1 -1
  735. package/dist/esm/types/index.d.ts +1 -0
  736. package/dist/esm/types/index.d.ts.map +1 -0
  737. package/dist/esm/types/parts.js.map +1 -1
  738. package/package.json +7 -3
@@ -1 +1 @@
1
- {"version":3,"file":"useCratisIcon.js","sources":["../../../configuration/useCratisIcon.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AA8BO,MAAM,aAAa,GAAG,MAAyB;AAClD,IAAA,MAAM,EAAE,KAAK,EAAE,GAAG,yBAAyB,EAAE;IAC7C,OAAO,WAAW,CACd,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,KAAI;QACxB,IAAI,QAAQ,KAAK,SAAS;AAAE,YAAA,OAAO,QAAQ;AAC3C,QAAA,MAAM,UAAU,GAAG,KAAK,GAAG,IAAI,CAAC;QAChC,OAAO,UAAU,KAAK,SAAS,GAAG,UAAU,GAAG,OAAO;AAC1D,IAAA,CAAC,EACD,CAAC,KAAK,CAAC,CACV;AACL;;"}
1
+ {"version":3,"file":"useCratisIcon.js","sources":["../../../configuration/useCratisIcon.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { useCallback, type ReactNode } from 'react';\nimport { useCratisComponentsConfig } from './CratisComponentsContext';\nimport type { CratisComponentsIcons } from '../Common/CratisComponentsProvider';\n\n/**\n * Resolves one icon site.\n *\n * @param name Vocabulary name for the concept drawn at this site.\n * @param builtIn Glyph the library has always drawn here, used when nothing is registered.\n * @param override Value of the site's own icon prop, when the component has one.\n * @returns The node to render: the per-component prop when it was supplied, otherwise the registered\n * provider icon, otherwise the built-in glyph.\n */\nexport type CratisIconResolver = (\n name: keyof CratisComponentsIcons,\n builtIn: ReactNode,\n override?: ReactNode,\n) => ReactNode;\n\n/**\n * Reads the provider's icon vocabulary and returns the resolver Components uses at every icon site.\n *\n * Precedence is `per-component prop → provider icon → built-in glyph`. A prop names one call site\n * and therefore wins; the provider replaces the built-in default product-wide. Both an unset prop\n * and an unregistered name are `undefined`, so a registered `null` deliberately draws nothing rather\n * than falling back.\n */\nexport const useCratisIcon = (): CratisIconResolver => {\n const { icons } = useCratisComponentsConfig();\n return useCallback(\n (name, builtIn, override) => {\n if (override !== undefined) return override;\n const registered = icons?.[name];\n return registered !== undefined ? registered : builtIn;\n },\n [icons],\n );\n};\n"],"names":[],"mappings":";;;AA8BO,MAAM,aAAa,GAAG,MAAyB;AAClD,IAAA,MAAM,EAAE,KAAK,EAAE,GAAG,yBAAyB,EAAE;IAC7C,OAAO,WAAW,CACd,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,KAAI;QACxB,IAAI,QAAQ,KAAK,SAAS;AAAE,YAAA,OAAO,QAAQ;AAC3C,QAAA,MAAM,UAAU,GAAG,KAAK,GAAG,IAAI,CAAC;QAChC,OAAO,UAAU,KAAK,SAAS,GAAG,UAAU,GAAG,OAAO;AAC1D,IAAA,CAAC,EACD,CAAC,KAAK,CAAC,CACV;AACL;;"}
@@ -17,3 +17,4 @@
17
17
  */
18
18
  export { CratisComponentsProvider, useCratisComponentsConfig, cratisDefaults, mergeCratisComponentsConfig, type CratisComponentsConfig, type CratisComponentsProviderProps, type CratisComponentsMessages, type CratisPaginatorMessages, type CratisDatePickerMessages, type CratisDropdownMessages, type CratisDialogMessages, type CratisStepperMessages, type CratisNotificationsMessages, type CratisDataTableMessages, type CratisFilterMessages, type CratisColumnFilterMessages, type CratisComponentsIcons, } from './Common/CratisComponentsProvider.js';
19
19
  export { useCratisIcon, type CratisIconResolver, } from './configuration/useCratisIcon.js';
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EACH,wBAAwB,EACxB,yBAAyB,EACzB,cAAc,EACd,2BAA2B,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,GAC7B,MAAM,sCAAmC,CAAC;AAC3C,OAAO,EACH,aAAa,EACb,KAAK,kBAAkB,GAC1B,MAAM,kCAA+B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DialogStackContext.js","sources":["../../../renderer/DialogStackContext.ts"],"sourcesContent":[null],"names":[],"mappings":";;MAea,kBAAkB,GAAG,aAAa,CAAgB,IAAI;AAG5D,MAAM,sBAAsB,GAAG,MAAqB,UAAU,CAAC,kBAAkB;;"}
1
+ {"version":3,"file":"DialogStackContext.js","sources":["../../../renderer/DialogStackContext.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { createContext, useContext } from 'react';\n\n/**\n * The resolved z-index of the nearest ancestor {@link DialogImplementation}, or `null` when\n * rendered outside any dialog. Overlay-producing descendants (dropdown popovers, date-picker\n * popovers, tooltips, filter menus) read this to stack themselves above their owning dialog instead\n * of relying on the static overlay token, which does not account for dialog nesting depth.\n *\n * This is a CSS expression rather than a number - it stays relative to the `--cratis-z-index-dialog`\n * token so an application that retunes that token keeps its dialogs, and everything they host, in\n * its own stacking order. Compose onto it with `zIndexAboveDialog` rather than doing arithmetic.\n */\nexport const DialogStackContext = createContext<string | null>(null);\n\n/** Reads the nearest ancestor dialog's resolved z-index. `null` when not nested in a dialog. */\nexport const useNearestDialogZIndex = (): string | null => useContext(DialogStackContext);\n"],"names":[],"mappings":";;MAea,kBAAkB,GAAG,aAAa,CAAgB,IAAI;AAG5D,MAAM,sBAAsB,GAAG,MAAqB,UAAU,CAAC,kBAAkB;;"}
@@ -48,3 +48,4 @@ export declare const unstable_useCapability: (capability: unstable_CapabilityId)
48
48
  export declare const unstable_useRendererId: () => string;
49
49
  /** Internal overlay hook. Reading it never invokes getContainer during render or SSR. */
50
50
  export declare const unstable_useOverlayEnvironment: () => unstable_CratisOverlayEnvironment;
51
+ //# sourceMappingURL=RendererContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RendererContext.d.ts","sourceRoot":"","sources":["../../../renderer/RendererContext.tsx"],"names":[],"mappings":"AAGA,OAAO,EAOH,KAAK,SAAS,EACjB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAgB,CAAC;AAC5D,OAAO,EAGH,KAAK,0BAA0B,EAClC,MAAM,aAAU,CAAC;AAClB,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,eAAY,CAAC;AAC7E,OAAO,EAEH,KAAK,iCAAiC,EACzC,MAAM,yBAAsB,CAAC;AAC9B,OAAO,EAUH,KAAK,sBAAsB,EAC9B,MAAM,cAAW,CAAC;AACnB,OAAO,KAAK,EACR,wBAAwB,EACxB,eAAe,EACf,gBAAgB,EACnB,MAAM,YAAS,CAAC;AAEjB,wEAAwE;AACxE,MAAM,WAAW,6BAA6B;IAC1C,QAAQ,CAAC,MAAM,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACnD,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC3C,QAAQ,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3C,oFAAoF;AACpF,eAAO,MAAM,sBAAsB,eAAgB,qBAAqB,KAAG,OAO1E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,QAAO,MAGzC,CAAC;AAEF,yFAAyF;AACzF,eAAO,MAAM,8BAA8B,QAAO,iCAEZ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RendererContext.js","sources":["../../../renderer/RendererContext.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;MAmEa,wBAAwB,GAAG,aAAa,CAEnD,SAAS;AAEX,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,CAA2B;AAEtE,MAAM,mBAAmB,GAAG,CACxB,KAAwC,KAExC,MAAM,CAAC,MAAM,CACT,MAAM,CAAC,WAAW,CACd,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,SAAS,CAAC,CAC1E,CACsB;AAE/B,MAAM,uBAAuB,GAAG,CAC5B,OAA2B,MACG;IAC9B,IAAI,EAAE,0BAA0B,CAAC,eAAe;IAChD,SAAS,EAAE,OAAO,CAAC,EAAE;AACrB,IAAA,OAAO,EAAE,4EAA4E;AACrF,IAAA,MAAM,EAAE,uGAAuG;AAClH,CAAA,CAAC;AAGK,MAAM,qBAAqB,GAAG,CAAC,EAClC,OAAO,EACP,WAAW,GAAG,QAAQ,EACtB,gBAAgB,GAAG,MAAM,EACzB,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,QAAQ,GACiB,KAAI;AAC7B,IAAA,MAAM,MAAM,GAAG,UAAU,CAAC,wBAAwB,CAAC;AACnD,IAAA,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,4BAA4B,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC;AAChF,IAAA,MAAM,KAAK,GAAG,OAAO,CACjB,MACI;AACI,UAAE,mBAAmB,CAAC,aAAa;AACn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AAE,SAAS,IAAI,+BAA+B,CACxD;AAID,IAAA,IAAI,MAAM,CAAC,gBAAgB,IAAI,CAAC,OAAO,EAAE,gBAAgB,IAAI,MAAM,MAAM,OAAO,EAAE;QAC9E,MAAM,IAAI,qBAAqB,CAAC,kBAAkB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IACxE;IAEA,OAAO,MAAM,CAAC,WAAW;AAC7B;AAGO,MAAM,sBAAsB,GAAG,CAAC,UAAiC,KAAa;AACjF,IAAA,MAAM,OAAO,GAAG,UAAU,CAAC,wBAAwB,CAAC;IACpD,QACI,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,KACvB,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,UAAU,CAAC,CAClD,IAAI,KAAK;AAElB;AAKO,MAAM,sBAAsB,GAAG,MAAa;AAC/C,IAAA,MAAM,OAAO,GAAG,UAAU,CAAC,wBAAwB,CAAC;AACpD,IAAA,OAAO,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,IAAI,MAAM;AAC3E;AAGO,MAAM,8BAA8B,GAAG,MAC1C,UAAU,CAAC,wBAAwB,CAAC,EAAE,kBAAkB;AACxD,IAAA;;"}
1
+ {"version":3,"file":"RendererContext.js","sources":["../../../renderer/RendererContext.tsx"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef,\n type ReactNode,\n} from 'react';\nimport type { unstable_CapabilityId } from './capabilities';\nimport {\n unstable_AdapterError,\n unstable_adapterErrorCodes,\n type unstable_AdapterDiagnostic,\n} from './errors';\nimport type { unstable_RendererSetup, unstable_UiLibrary } from './manifest';\nimport {\n unstable_defaultOverlayEnvironment,\n type unstable_CratisOverlayEnvironment,\n} from './overlayEnvironment';\nimport {\n unstable_createRendererLayer,\n unstable_createResolvedSlotTable,\n unstable_diagnosticKey,\n unstable_emptyCoreRendererSlots,\n unstable_logDiagnostic,\n unstable_resolveLibraryInput,\n unstable_resolveSlot,\n unstable_sameLibraryReferences,\n unstable_validateUiLibrary,\n type unstable_RendererLayer,\n} from './resolve';\nimport type {\n unstable_SlotDeclaration,\n unstable_SlotId,\n unstable_SlotMap,\n} from './slots';\n\n/** Internal renderer state shared by the provider and nested scopes. */\nexport interface unstable_RendererContextValue {\n readonly layers: readonly unstable_RendererLayer[];\n readonly slots: unstable_SlotMap;\n readonly libraryMode: 'strict' | 'degrade';\n readonly rendererFallback: 'core' | 'throw';\n readonly overlayEnvironment: unstable_CratisOverlayEnvironment;\n readonly rendererSetup: unstable_RendererSetup;\n readonly coreSlots: unstable_SlotMap;\n readonly providerLibraryReferences: readonly unstable_UiLibrary[];\n readonly reportDiagnostic: (diagnostic: unstable_AdapterDiagnostic) => void;\n}\n\n/** Props for the internal renderer boundary mounted by the setup provider. */\nexport interface unstable_RendererRootProps {\n readonly library?: unstable_UiLibrary | readonly unstable_UiLibrary[];\n readonly libraryMode?: 'strict' | 'degrade';\n readonly rendererFallback?: 'core' | 'throw';\n readonly overlayEnvironment?: unstable_CratisOverlayEnvironment;\n /** Non-secret application setup attestations supplied to the selected library provider. */\n readonly rendererSetup?: unstable_RendererSetup;\n readonly coreSlots?: unstable_SlotMap;\n readonly children: ReactNode;\n}\n\n/** One source-owned context singleton. It is deliberately not exported from the renderer barrel. */\nexport const unstable_RendererContext = createContext<\n unstable_RendererContextValue | undefined\n>(undefined);\n\nconst emptyRendererSetup = Object.freeze({}) as unstable_RendererSetup;\n\nconst freezeRendererSetup = (\n setup: Readonly<Record<string, unknown>>,\n): unstable_RendererSetup =>\n Object.freeze(\n Object.fromEntries(\n Object.entries(setup).filter(([, value]) => typeof value === 'boolean'),\n ),\n ) as unstable_RendererSetup;\n\nconst nestedLibraryDiagnostic = (\n library: unstable_UiLibrary,\n): unstable_AdapterDiagnostic => ({\n code: unstable_adapterErrorCodes.nestedLibraries,\n adapterId: library.id,\n message: 'A nested CratisComponentsProvider selected a conflicting renderer library.',\n remedy: 'Select renderer libraries once at the application provider and use RendererScope for local overrides.',\n});\n\n/** Internal root boundary. Renderer manifests remain outside Components configuration merging. */\nexport const unstable_RendererRoot = ({\n library,\n libraryMode = 'strict',\n rendererFallback = 'core',\n overlayEnvironment,\n rendererSetup,\n coreSlots,\n children,\n}: unstable_RendererRootProps) => {\n const parent = useContext(unstable_RendererContext);\n const selected = useMemo(() => unstable_resolveLibraryInput(library), [library]);\n const setup = useMemo(\n () =>\n rendererSetup\n ? freezeRendererSetup(rendererSetup)\n : (parent?.rendererSetup ?? emptyRendererSetup),\n [parent?.rendererSetup, rendererSetup],\n );\n const layer = useMemo(\n () =>\n selected.library ? unstable_createRendererLayer(selected.library) : undefined,\n [selected],\n );\n const reportedDiagnostics = useRef(new Set<string>());\n const reportDiagnostic = useCallback((diagnostic: unstable_AdapterDiagnostic) => {\n const key = unstable_diagnosticKey(diagnostic);\n if (reportedDiagnostics.current.has(key)) return;\n reportedDiagnostics.current.add(key);\n unstable_logDiagnostic(diagnostic);\n }, []);\n\n const diagnostics = useMemo(() => {\n if (!selected.library)\n return Object.freeze([]) as readonly unstable_AdapterDiagnostic[];\n\n const currentDiagnostics = selected.references.flatMap((reference) =>\n unstable_validateUiLibrary(reference),\n );\n if (\n parent?.providerLibraryReferences.length &&\n !unstable_sameLibraryReferences(\n parent.providerLibraryReferences,\n selected.references,\n )\n ) {\n currentDiagnostics.unshift(nestedLibraryDiagnostic(selected.library));\n }\n return Object.freeze(currentDiagnostics);\n }, [parent?.providerLibraryReferences, selected]);\n\n useEffect(() => {\n if (libraryMode === 'degrade') {\n diagnostics.forEach(reportDiagnostic);\n }\n }, [diagnostics, libraryMode, reportDiagnostic]);\n\n const layers = useMemo(\n () => Object.freeze([...(parent?.layers ?? []), ...(layer ? [layer] : [])]),\n [layer, parent?.layers],\n );\n const slots = useMemo(() => unstable_createResolvedSlotTable(layers), [layers]);\n const resolvedCoreSlots = useMemo(\n () =>\n coreSlots\n ? Object.freeze({ ...coreSlots })\n : (parent?.coreSlots ?? unstable_emptyCoreRendererSlots),\n [coreSlots, parent?.coreSlots],\n );\n const value = useMemo<unstable_RendererContextValue>(\n () =>\n Object.freeze({\n layers,\n slots,\n libraryMode,\n rendererFallback,\n overlayEnvironment:\n overlayEnvironment ??\n parent?.overlayEnvironment ??\n unstable_defaultOverlayEnvironment,\n rendererSetup: setup,\n coreSlots: resolvedCoreSlots,\n providerLibraryReferences:\n selected.references.length > 0\n ? selected.references\n : (parent?.providerLibraryReferences ?? selected.references),\n reportDiagnostic,\n }),\n [\n layers,\n libraryMode,\n overlayEnvironment,\n parent?.overlayEnvironment,\n parent?.providerLibraryReferences,\n rendererFallback,\n reportDiagnostic,\n resolvedCoreSlots,\n selected.references,\n setup,\n slots,\n ],\n );\n\n if (libraryMode === 'strict' && diagnostics.length > 0) {\n throw new unstable_AdapterError(diagnostics[0]);\n }\n\n const LibraryProvider = selected.library?.Provider;\n return (\n <unstable_RendererContext.Provider value={value}>\n {LibraryProvider ? (\n <LibraryProvider setup={setup}>{children}</LibraryProvider>\n ) : (\n children\n )}\n </unstable_RendererContext.Provider>\n );\n};\n\nconst fallbackDiagnostic = (\n context: unstable_RendererContextValue | undefined,\n slotId: unstable_SlotId,\n): unstable_AdapterDiagnostic => ({\n code: unstable_adapterErrorCodes.strictProfileFallback,\n adapterId: context?.layers[context.layers.length - 1]?.library.id ?? 'core',\n slotId,\n message: `Renderer resolution requested Core fallback for slot '${slotId}'.`,\n remedy: `Provide a supported '${slotId}' renderer declaration or intentionally retain the Core fallback.`,\n});\n\n/**\n * Resolves one slot through scopes/provider, a facade-local Core declaration, then Core context.\n *\n * @unstable Internal component-routing contract for Slice E. Expect changes until renderer\n * conformance gates promote it.\n */\nexport function unstable_useSlot<K extends unstable_SlotId>(\n slotId: K,\n localCoreDeclaration: unstable_SlotDeclaration<K>,\n): unstable_SlotDeclaration<K>;\nexport function unstable_useSlot<K extends unstable_SlotId>(\n slotId: K,\n): unstable_SlotDeclaration<K> | undefined;\nexport function unstable_useSlot<K extends unstable_SlotId>(\n slotId: K,\n localCoreDeclaration?: unstable_SlotDeclaration<K>,\n): unstable_SlotDeclaration<K> | undefined {\n const context = useContext(unstable_RendererContext);\n const result = unstable_resolveSlot(\n slotId,\n context?.slots ?? unstable_emptyCoreRendererSlots,\n localCoreDeclaration,\n context?.coreSlots ?? unstable_emptyCoreRendererSlots,\n );\n\n // Permitted Core fallback is successful resolution, not a renderer error. Provider/scope\n // validation still reports invalid profile promises, independently of fallback policy.\n if (result.usedCoreFallback && (context?.rendererFallback ?? 'core') === 'throw') {\n throw new unstable_AdapterError(fallbackDiagnostic(context, slotId));\n }\n\n return result.declaration;\n}\n\n/** Returns whether any active renderer layer advertises a Core-owned capability. */\nexport const unstable_useCapability = (capability: unstable_CapabilityId): boolean => {\n const context = useContext(unstable_RendererContext);\n return (\n context?.layers.some((layer) =>\n layer.library.capabilities.includes(capability),\n ) ?? false\n );\n};\n\n/**\n * Returns the nearest renderer identity for telemetry only. Behavior must branch on capabilities.\n */\nexport const unstable_useRendererId = (): string => {\n const context = useContext(unstable_RendererContext);\n return context?.layers[context.layers.length - 1]?.library.id ?? 'core';\n};\n\n/** Internal overlay hook. Reading it never invokes getContainer during render or SSR. */\nexport const unstable_useOverlayEnvironment = (): unstable_CratisOverlayEnvironment =>\n useContext(unstable_RendererContext)?.overlayEnvironment ??\n unstable_defaultOverlayEnvironment;\n"],"names":["_jsx"],"mappings":";;;;;;MAmEa,wBAAwB,GAAG,aAAa,CAEnD,SAAS;AAEX,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,CAA2B;AAEtE,MAAM,mBAAmB,GAAG,CACxB,KAAwC,KAExC,MAAM,CAAC,MAAM,CACT,MAAM,CAAC,WAAW,CACd,MAAM,CAAC,OAAO,CAAC,KAAK,CA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G,MAAa;AAC/C,IAAA,MAAM,OAAO,GAAG,UAAU,CAAC,wBAAwB,CAAC;AACpD,IAAA,OAAO,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,IAAI,MAAM;AAC3E;AAGO,MAAM,8BAA8B,GAAG,MAC1C,UAAU,CAAC,wBAAwB,CAAC,EAAE,kBAAkB;AACxD,IAAA;;"}
@@ -17,3 +17,4 @@ export interface unstable_RendererScopeProps {
17
17
  * @unstable Consumer contract. Expect changes until renderer conformance gates promote it.
18
18
  */
19
19
  export declare const unstable_RendererScope: ({ use, only, children, }: unstable_RendererScopeProps) => string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
20
+ //# sourceMappingURL=RendererScope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RendererScope.d.ts","sourceRoot":"","sources":["../../../renderer/RendererScope.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAkC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAY,CAAC;AAYrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AAE/C,2CAA2C;AAC3C,MAAM,WAAW,2BAA2B;IACxC,6EAA6E;IAC7E,QAAQ,CAAC,GAAG,EAAE,kBAAkB,GAAG,SAAS,kBAAkB,EAAE,CAAC;IACjE,4FAA4F;IAC5F,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,eAAe,EAAE,CAAC;IAC3C,kCAAkC;IAClC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAChC;AAYD;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,6BAIhC,2BAA2B,gUAmE7B,CAAC"}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AAO,EAAE,QAAQ;AAElD,IAAA,IAAI,CAAC,KAAK;AAAE,QAAA,OAAO,QAAQ;AAE3B,IAAA,QACIA,GAAA,CAAC,wBAAwB,CAAC,QAAQ,EAAA,EAAC,KAAK,EAAE,KAAK,YAC1C,eAAe,IACZA,GAAA,CAAC,eAAe,EAAA,EAAC,KAAK,EAAE,KAAK,CAAC,aAAa,EAAA,QAAA,EAAG,QAAQ,EAAA,CAAmB,KAEzE,QAAQ,CACX,EAAA,CAC+B;AAE5C;;"}
1
+ {"version":3,"file":"RendererScope.js","sources":["../../../renderer/RendererScope.tsx"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { useContext, useEffect, useMemo, type ReactNode } from 'react';\nimport {\n unstable_AdapterError,\n unstable_adapterErrorCodes,\n type unstable_AdapterDiagnostic,\n} from './errors';\nimport type { unstable_UiLibrary } from './manifest';\nimport {\n unstable_createRendererLayer,\n unstable_createResolvedSlotTable,\n unstable_isKnownSlot,\n unstable_resolveLibraryInput,\n unstable_validateUiLibrary,\n} from './resolve';\nimport {\n unstable_RendererContext,\n type unstable_RendererContextValue,\n} from './RendererContext';\nimport type { unstable_SlotId } from './slots';\n\n/** Props for a local renderer override. */\nexport interface unstable_RendererScopeProps {\n /** One renderer or an ordered last-wins composition used in this subtree. */\n readonly use: unstable_UiLibrary | readonly unstable_UiLibrary[];\n /** Optional slot allow-list. Other slots continue through outer scopes and the provider. */\n readonly only?: readonly unstable_SlotId[];\n /** Scoped application content. */\n readonly children: ReactNode;\n}\n\nconst invalidOnlyDiagnostic = (\n library: unstable_UiLibrary,\n slotId: unknown,\n): unstable_AdapterDiagnostic => ({\n code: unstable_adapterErrorCodes.missingRequirement,\n adapterId: library.id,\n message: `RendererScope only includes unknown slot '${String(slotId)}'.`,\n remedy: 'Use only slot identifiers declared by the installed Components version.',\n});\n\n/**\n * Applies a renderer locally. The nearest matching scope wins; `only` lets all other slots continue\n * through outer scopes and the application provider.\n *\n * @unstable Consumer contract. Expect changes until renderer conformance gates promote it.\n */\nexport const unstable_RendererScope = ({\n use,\n only,\n children,\n}: unstable_RendererScopeProps) => {\n const parent = useContext(unstable_RendererContext);\n const selected = useMemo(() => unstable_resolveLibraryInput(use), [use]);\n const acceptedOnly = useMemo(() => only?.filter(unstable_isKnownSlot), [only]);\n const layer = useMemo(\n () =>\n selected.library\n ? unstable_createRendererLayer(selected.library, acceptedOnly)\n : undefined,\n [acceptedOnly, selected],\n );\n const diagnostics = useMemo(() => {\n if (!selected.library)\n return Object.freeze([]) as readonly unstable_AdapterDiagnostic[];\n return Object.freeze([\n ...selected.references.flatMap((reference) =>\n unstable_validateUiLibrary(reference),\n ),\n ...(only ?? [])\n .filter((slotId) => !unstable_isKnownSlot(slotId))\n .map((slotId) => invalidOnlyDiagnostic(selected.library!, slotId)),\n ]);\n }, [only, selected]);\n\n useEffect(() => {\n if (parent?.libraryMode === 'degrade') {\n diagnostics.forEach(parent.reportDiagnostic);\n }\n }, [diagnostics, parent]);\n\n const layers = useMemo(\n () => (parent && layer ? Object.freeze([...parent.layers, layer]) : undefined),\n [layer, parent],\n );\n const slots = useMemo(\n () => (layers ? unstable_createResolvedSlotTable(layers) : undefined),\n [layers],\n );\n const value = useMemo<unstable_RendererContextValue | undefined>(\n () =>\n parent && layers && slots\n ? Object.freeze({\n ...parent,\n layers,\n slots,\n })\n : undefined,\n [layers, parent, slots],\n );\n\n if ((parent?.libraryMode ?? 'strict') === 'strict' && diagnostics.length > 0) {\n throw new unstable_AdapterError(diagnostics[0]);\n }\n\n const LibraryProvider = selected.library?.Provider;\n\n if (!value) return children;\n\n return (\n <unstable_RendererContext.Provider value={value}>\n {LibraryProvider ? (\n <LibraryProvider setup={value.rendererSetup}>{children}</LibraryProvider>\n ) : (\n children\n )}\n </unstable_RendererContext.Provider>\n );\n};\n"],"names":["_jsx"],"mappings":";;;;;;AAiCA,MAAM,qBAAqB,GAAG,CAC1B,OAA2B,EAC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AAK,YAC1C,eAAe,IACZA,GAAA,CAAC,eAAe,EAAA,EAAC,KAAK,EAAE,KAAK,CAAC,aAAa,EAAA,QAAA,EAAG,QAAQ,EAAA,CAAmB,KAEzE,QAAQ,CACX,EAAA,CAC+B;AAE5C;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../renderer/builtin/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAYA,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/B,eAAe;IACf,mBAAmB;IACnB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,oBAAoB;IACpB,sBAAsB;AACY,CAAA,CAAC;AAEvC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/B,aAAa;IACb,mBAAmB;IACnB,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,eAAe;IACf,wBAAwB;IACxB,cAAc;IACd,kBAAkB;IAClB,KAAK;IACL,cAAc;IACd,gBAAgB;AACwB,CAAA,CAAC;AAWtC,MAAM,sBAAsB,GAC/B,wBAAwB,CAAC;AACrB,IAAA,EAAE,EAAE,iBAAiB;AACrB,IAAA,WAAW,EAAE,0BAA0B;AACvC,IAAA,GAAG,EAAE,8BAA8B;AACnC,IAAA,KAAK,EAAE,MAAM;AACb,IAAA,OAAO,EAAE,SAAS;IAClB,YAAY;IACZ,YAAY;AACZ,IAAA,KAAK,EAAE,kBAAkB;AAC5B,CAAA;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../renderer/builtin/index.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport type { unstable_CapabilityId } from '../capabilities.js';\nimport { unstable_coreSlots } from '../coreSlots.js';\nimport {\n unstable_CRATIS_UI_ABI_VERSION,\n unstable_defineUiLibrary,\n type unstable_UiLibrary,\n} from '../manifest.js';\nimport type { unstable_SlotId } from '../slots.js';\n\nconst profileSlots = Object.freeze([\n 'common.button',\n 'common.iconButton',\n 'common.textInput',\n 'common.textArea',\n 'common.checkbox',\n 'common.radio',\n 'common.switch',\n 'common.progress',\n 'common.surface',\n 'common.tooltip',\n 'dropdown.select',\n 'dialogs.dialog',\n 'display.datePicker',\n 'datatables.paginator',\n] satisfies readonly unstable_SlotId[]);\n\nconst capabilities = Object.freeze([\n 'slot.render',\n 'parts.passthrough',\n 'focus.trap',\n 'focus.restore',\n 'overlay.portal',\n 'selection.multi',\n 'datetime.i18n',\n 'form.validationMessage',\n 'theme.tokens',\n 'ssr.staticRender',\n 'rtl',\n 'forcedColors',\n 'motion.reduced',\n] satisfies readonly unstable_CapabilityId[]);\n\n/**\n * Opt-in manifest for the Components-owned implementations of every renderer ABI v1 slot.\n *\n * This proof adapter is intentionally isolated to `@cratis/components/renderer/builtin`. Importing\n * it opts into the complete component-family graph; the package root and lean `./renderer` subpath\n * never reach this manifest or the private Core slot table behind it.\n *\n * @unstable Adapter-author proof contract. It is not an application default or a discovery API.\n */\nexport const unstable_cratisBuiltIn: unstable_UiLibrary =\n unstable_defineUiLibrary({\n id: 'cratis-built-in',\n displayName: 'Cratis built-in renderer',\n abi: unstable_CRATIS_UI_ABI_VERSION,\n level: 'full',\n profile: 'core/v1',\n profileSlots,\n capabilities,\n slots: unstable_coreSlots,\n });\n"],"names":[],"mappings":";;;AAYA,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/B,eAAe;IACf,mBAAmB;IACnB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,oBAAoB;IACpB,sBAAsB;AACY,CAAA,CAAC;AAEvC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/B,aAAa;IACb,mBAAmB;IACnB,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,eAAe;IACf,wBAAwB;IACxB,cAAc;IACd,kBAAkB;IAClB,KAAK;IACL,cAAc;IACd,gBAAgB;AACwB,CAAA,CAAC;AAWtC,MAAM,sBAAsB,GAC/B,wBAAwB,CAAC;AACrB,IAAA,EAAE,EAAE,iBAAiB;AACrB,IAAA,WAAW,EAAE,0BAA0B;AACvC,IAAA,GAAG,EAAE,8BAA8B;AACnC,IAAA,KAAK,EAAE,MAAM;AACb,IAAA,OAAO,EAAE,SAAS;IAClB,YAAY;IACZ,YAAY;AACZ,IAAA,KAAK,EAAE,kBAAkB;AAC5B,CAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../../renderer/capabilities.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG"}
1
+ {"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../../renderer/capabilities.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG","sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Capability identifiers understood by the renderer ABI. Consumers branch on capabilities, never\n * on a renderer's identity.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport type unstable_CapabilityId =\n | 'slot.render'\n | 'parts.passthrough'\n | 'focus.trap'\n | 'focus.restore'\n | 'overlay.portal'\n | 'collection.virtualize'\n | 'selection.multi'\n | 'datetime.i18n'\n | 'form.validationMessage'\n | 'theme.tokens'\n | 'ssr.staticRender'\n | 'rtl'\n | 'forcedColors'\n | 'motion.reduced'\n | 'machine.binding'\n | 'paging.server';\n"]}
@@ -78,3 +78,4 @@ export declare const unstable_coreSlots: Readonly<{
78
78
  render: ComponentType<import("../DataTables/index.js").TablePaginatorProps>;
79
79
  }>;
80
80
  }>;
81
+ //# sourceMappingURL=coreSlots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coreSlots.d.ts","sourceRoot":"","sources":["../../../renderer/coreSlots.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAe3C,OAAO,KAAK,EACR,qBAAqB,EAExB,MAAM,YAAS,CAAC;AAOjB;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;kBARM,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;;;kBAAR,QAAQ;;;EA0BhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"coreSlots.js","sources":["../../../renderer/coreSlots.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;AAuBA,MAAM,iBAAiB,GAAG,CACtB,IAA2B,EAC3B,MAA4B,KAC3B,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAiB,EAAE,MAAM,EAAE,CAAC;AAQ1D,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC;AAC5C,IAAA,eAAe,EAAE,iBAAiB,CAAC,cAAc,EAAE,oBAAoB,CAAC;AACxE,IAAA,mBAAmB,EAAE,iBAAiB,CAClC,cAAc,EACd,wBAAwB,CAC3B;AACD,IAAA,kBAAkB,EAAE,iBAAiB,CAAC,cAAc,EAAE,uBAAuB,CAAC;AAC9E,IAAA,iBAAiB,EAAE,iBAAiB,CAAC,cAAc,EAAE,sBAAsB,CAAC;AAC5E,IAAA,iBAAiB,EAAE,iBAAiB,CAAC,cAAc,EAAE,sBAAsB,CAAC;AAC5E,IAAA,cAAc,EAAE,iBAAiB,CAAC,cAAc,EAAE,mBAAmB,CAAC;AACtE,IAAA,eAAe,EAAE,iBAAiB,CAAC,cAAc,EAAE,oBAAoB,CAAC;AACxE,IAAA,iBAAiB,EAAE,iBAAiB,CAAC,cAAc,EAAE,yBAAyB,CAAC;AAC/E,IAAA,gBAAgB,EAAE,iBAAiB,CAAC,cAAc,EAAE,qBAAqB,CAAC;AAC1E,IAAA,gBAAgB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,qBAAqB,CAAC;AACpE,IAAA,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,sBAAsB,CAAC;AACtE,IAAA,gBAAgB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,oBAAoB,CAAC;AACnE,IAAA,oBAAoB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,6BAA6B,CAAC;AAChF,IAAA,sBAAsB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,4BAA4B,CAAC;AACpF,CAAA;;"}
1
+ {"version":3,"file":"coreSlots.js","sources":["../../../renderer/coreSlots.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport type { ComponentType } from 'react';\nimport { ButtonImplementation } from '../Common/ButtonImplementation';\nimport { CheckboxImplementation } from '../Common/CheckboxImplementation';\nimport { DatePickerInputImplementation } from '../Common/DatePickerInputImplementation';\nimport { IconButtonImplementation } from '../Common/IconButtonImplementation';\nimport { RadioImplementation } from '../Common/RadioImplementation';\nimport { SurfaceImplementation } from '../Common/SurfaceImplementation';\nimport { SwitchImplementation } from '../Common/SwitchImplementation';\nimport { TextAreaImplementation } from '../Common/TextAreaImplementation';\nimport { TextInputImplementation } from '../Common/TextInputImplementation';\nimport { TooltipImplementation } from '../Common/TooltipImplementation';\nimport { TablePaginatorImplementation } from '../DataTables/TablePaginatorImplementation';\nimport { ProgressBarImplementation } from '../Display/ProgressBarImplementation';\nimport { DialogImplementation } from '../Dialogs/DialogImplementation';\nimport { DropdownImplementation } from '../Dropdown/DropdownImplementation';\nimport type {\n unstable_BehaviorMode,\n unstable_SlotMap,\n} from './slots';\n\nconst nativeDeclaration = <Props>(\n mode: unstable_BehaviorMode,\n render: ComponentType<Props>,\n) => Object.freeze({ mode, fidelity: 'native' as const, render });\n\n/**\n * Complete Core slot inventory for renderer ABI proof and conformance tests only.\n *\n * Every facade owns its local Core declaration, so neither the setup-only provider nor the public\n * renderer barrel may import this private all-family table.\n */\nexport const unstable_coreSlots = Object.freeze({\n 'common.button': nativeDeclaration('presentation', ButtonImplementation),\n 'common.iconButton': nativeDeclaration(\n 'presentation',\n IconButtonImplementation,\n ),\n 'common.textInput': nativeDeclaration('presentation', TextInputImplementation),\n 'common.textArea': nativeDeclaration('presentation', TextAreaImplementation),\n 'common.checkbox': nativeDeclaration('presentation', CheckboxImplementation),\n 'common.radio': nativeDeclaration('presentation', RadioImplementation),\n 'common.switch': nativeDeclaration('presentation', SwitchImplementation),\n 'common.progress': nativeDeclaration('presentation', ProgressBarImplementation),\n 'common.surface': nativeDeclaration('presentation', SurfaceImplementation),\n 'common.tooltip': nativeDeclaration('atomic', TooltipImplementation),\n 'dropdown.select': nativeDeclaration('atomic', DropdownImplementation),\n 'dialogs.dialog': nativeDeclaration('atomic', DialogImplementation),\n 'display.datePicker': nativeDeclaration('atomic', DatePickerInputImplementation),\n 'datatables.paginator': nativeDeclaration('atomic', TablePaginatorImplementation),\n}) satisfies unstable_SlotMap;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAuBA,MAAM,iBAAiB,GAAG,CACtB,IAA2B,EAC3B,MAA4B,KAC3B,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAiB,EAAE,MAAM,EAAE,CAAC;AAQ1D,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC;AAC5C,IAAA,eAAe,EAAE,iBAAiB,CAAC,cAAc,EAAE,oBAAoB,CAAC;AACxE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,eAAe,GAAG,CAAC,IAAY,KAAU;AAClD,IAAA,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC;AAC5B,IAAA,IAAI,eAAe,CAAC,IAAI,KAAK,CAAC;QAAE,cAAc,GAAG,CAAC;AACtD;AASO,MAAM,mBAAmB,GAAG;AAU5B,MAAM,gBAAgB,GAAG;AAGzB,MAAM,cAAc,GAAG;AAMvB,MAAM,cAAc,GAAG;AAOvB,MAAM,mBAAmB,GAAG,CAAC,IAAY,KAC5C,IAAI,KAAK,CAAC,GAAG,mBAAmB,GAAG,CAAA,KAAA,EAAQ,mBAAmB,CAAA,GAAA,EAAM,IAAI,GAAG,gBAAgB,CAAA,CAAA;AAOxF,MAAM,iBAAiB,GAAG,CAAC,YAAoB,EAAE,MAAc,KAClE,CAAA,KAAA,EAAQ,YAAY,CAAA,GAAA,EAAM,MAAM;;"}
1
+ {"version":3,"file":"dialogStack.js","sources":["../../../renderer/dialogStack.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Assigns each currently open {@link DialogImplementation} a strictly increasing tier so that\n * multiple simultaneously open dialogs - opened from anywhere in the tree, not necessarily nested\n * as React children of one another - stack in the order they opened instead of colliding on one\n * static z-index. Mirrors the incrementing registry PrimeReact's own ZIndexUtils used to provide,\n * which the removed `useOverlayZIndex` hook depended on before Components 4 moved Dialog off\n * PrimeReact and onto React Aria.\n */\nlet nextDialogTier = 0;\nconst openDialogTiers = new Set<number>();\n\n/** Reserves the next dialog tier. Pair with {@link closeDialogTier} when the dialog closes. */\nexport const openDialogTier = (): number => {\n const tier = nextDialogTier;\n nextDialogTier += 1;\n openDialogTiers.add(tier);\n return tier;\n};\n\n/** Releases a tier reserved by {@link openDialogTier}. Resets the counter once nothing is open. */\nexport const closeDialogTier = (tier: number): void => {\n openDialogTiers.delete(tier);\n if (openDialogTiers.size === 0) nextDialogTier = 0;\n};\n\n/**\n * The custom property every tier is measured from. Tiers resolve to a CSS expression built on this\n * token rather than to a plain number, because an application is expected to retune the token to fit\n * its own stacking order - Cratis Studio, for example, raises it to 10100 so dialogs clear the\n * full-screen overlay its settings pages live in. Resolving a tier to a bare number would discard\n * that override and pin every dialog back to the default band, behind whatever opened it.\n */\nexport const DIALOG_ZINDEX_TOKEN = 'var(--cratis-z-index-dialog)';\n\n/** The default value of {@link DIALOG_ZINDEX_TOKEN}, for applications that do not override it. */\nexport const DIALOG_BASE_ZINDEX = 1100;\n\n/**\n * Gap between two dialog tiers. Large enough that a second-tier dialog, and everything it hosts\n * (its own overlay/filter/tooltip offsets below), stays above every static token band a first-tier\n * dialog's own popovers use (dialog 1100 .. tooltip 1300 today).\n */\nexport const DIALOG_TIER_STEP = 1000;\n\n/** Offset above its owning dialog a dropdown/date-picker popover uses - mirrors the static overlay token gap. */\nexport const OVERLAY_OFFSET = 100;\n\n/** Offset above its owning dialog a column filter menu uses - mirrors the static filter token gap. */\nexport const FILTER_OFFSET = 150;\n\n/** Offset above its owning dialog a tooltip uses - mirrors the static tooltip token gap. */\nexport const TOOLTIP_OFFSET = 200;\n\n/**\n * Resolves the z-index a dialog at the given tier should use, as a CSS expression relative to\n * {@link DIALOG_ZINDEX_TOKEN} so an application's override of that token is preserved. The first\n * tier is the token itself, so a lone dialog stacks exactly where it did before tiering existed.\n */\nexport const dialogZIndexForTier = (tier: number): string =>\n tier === 0 ? DIALOG_ZINDEX_TOKEN : `calc(${DIALOG_ZINDEX_TOKEN} + ${tier * DIALOG_TIER_STEP})`;\n\n/**\n * Stacks an overlay-producing descendant - a dropdown or date-picker popover, a filter menu, a\n * tooltip - the given offset above its owning dialog, keeping it relative to whatever expression\n * that dialog resolved to.\n */\nexport const zIndexAboveDialog = (dialogZIndex: string, offset: number): string =>\n `calc(${dialogZIndex} + ${offset})`;\n"],"names":[],"mappings":"AAWA,IAAI,cAAc,GAAG,CAAC;AACtB,MAAM,eAAe,GAAG,IAAI,GAAG,EAAU;AAGlC,MAAM,cAAc,GAAG,MAAa;IACvC,MAAM,IAAI,GAAG,cAAc;IAC3B,cAAc,IAAI,CAAC;AACnB,IAAA,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC;AACzB,IAAA,OAAO,IAAI;AACf;AAGO,MAAM,eAAe,GAAG,CAAC,IAAY,KAAU;AAClD,IAAA,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC;AAC5B,IAAA,IAAI,eAAe,CAAC,IAAI,KAAK,CAAC;QAAE,cAAc,GAAG,CAAC;AACtD;AASO,MAAM,mBAAmB,GAAG;AAU5B,MAAM,gBAAgB,GAAG;AAGzB,MAAM,cAAc,GAAG;AAMvB,MAAM,cAAc,GAAG;AAOvB,MAAM,mBAAmB,GAAG,CAAC,IAAY,KAC5C,IAAI,KAAK,CAAC,GAAG,mBAAmB,GAAG,CAAA,KAAA,EAAQ,mBAAmB,CAAA,GAAA,EAAM,IAAI,GAAG,gBAAgB,CAAA,CAAA;AAOxF,MAAM,iBAAiB,GAAG,CAAC,YAAoB,EAAE,MAAc,KAClE,CAAA,KAAA,EAAQ,YAAY,CAAA,GAAA,EAAM,MAAM;;"}
@@ -56,3 +56,4 @@ export declare class unstable_AdapterError extends Error {
56
56
  */
57
57
  constructor(diagnostic: unstable_AdapterDiagnostic);
58
58
  }
59
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../renderer/errors.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;0BACtB,gBAAgB;iCACT,gBAAgB;oCACb,gBAAgB;kCAClB,gBAAgB;gCAClB,gBAAgB;8BAClB,gBAAgB;mCACX,gBAAgB;kCACjB,gBAAgB;6BACrB,gBAAgB;EACzB,CAAC;AAEZ;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GACjC,CAAC,OAAO,0BAA0B,CAA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AA,EAAI,UAAU,CAAC,IAAI,CAAA,EAAA,EAAK,UAAU,CAAC,OAAO,YAAY,UAAU,CAAC,MAAM,CAAA,CAAE,CAAC;AAChF,QAAA,IAAI,CAAC,IAAI,GAAG,uBAAuB;AACnC,QAAA,IAAI,CAAC,UAAU,GAAG,UAAU;AAC5B,QAAA,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI;IAC/B;AACH;;"}
1
+ {"version":3,"file":"errors.js","sources":["../../../renderer/errors.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport type { unstable_SlotId } from './slots';\n\n/**\n * Stable diagnostic codes reserved by the unstable renderer ABI.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport const unstable_adapterErrorCodes = Object.freeze({\n abiMismatch: 'CRATIS-UI-1001',\n missingRequirement: 'CRATIS-UI-1002',\n strictProfileFallback: 'CRATIS-UI-1003',\n missingUpstreamPeer: 'CRATIS-UI-1004',\n missingLicenseKey: 'CRATIS-UI-1005',\n nestedLibraries: 'CRATIS-UI-1006',\n ssrContractViolation: 'CRATIS-UI-1007',\n duplicateResolution: 'CRATIS-UI-1008',\n deprecatedSlot: 'CRATIS-UI-1009',\n} as const);\n\n/**\n * Renderer diagnostic code from `CRATIS-UI-1001` through `CRATIS-UI-1009`.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport type unstable_AdapterErrorCode =\n (typeof unstable_adapterErrorCodes)[keyof typeof unstable_adapterErrorCodes];\n\n/**\n * Actionable renderer diagnostic. A diagnostic carries exactly one remedy so failures cannot leave\n * consumers choosing between conflicting recovery instructions.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport interface unstable_AdapterDiagnostic {\n /** Core-owned diagnostic code. */\n readonly code: unstable_AdapterErrorCode;\n /** Adapter that produced or caused the diagnostic. */\n readonly adapterId: string;\n /** Affected slot when the diagnostic is slot-specific. */\n readonly slotId?: unstable_SlotId;\n /** Human-readable explanation of the failure or degradation. */\n readonly message: string;\n /** The single action a consumer should take to remedy the diagnostic. */\n readonly remedy: string;\n}\n\n/**\n * Typed failure raised when a renderer contract cannot be honored.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport class unstable_AdapterError extends Error {\n /** Stable diagnostic that caused the failure. */\n readonly diagnostic: unstable_AdapterDiagnostic;\n\n /** Stable diagnostic code, repeated for convenient error-boundary inspection. */\n readonly code: unstable_AdapterErrorCode;\n\n /**\n * Initializes a renderer contract failure.\n *\n * @param diagnostic Actionable renderer diagnostic.\n */\n constructor(diagnostic: unstable_AdapterDiagnostic) {\n super(`[${diagnostic.code}] ${diagnostic.message} Remedy: ${diagnostic.remedy}`);\n this.name = 'unstable_AdapterError';\n this.diagnostic = diagnostic;\n this.code = diagnostic.code;\n }\n}\n"],"names":[],"mappings":"AAUO,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,CAAC;AACpD,IAAA,WAAW,EAAE,gBAAgB;AAC7B,IAAA,kBAAkB,EAAE,gBAAgB;AACpC,IAAA,qBAAqB,EAAE,gBAAgB;AACvC,IAAA,mBAAmB,EAAE,gBAAgB;AACrC,IAAA,iBAAiB,EAAE,gBAAgB;AACnC,IAAA,eAAe,EAAE,gBAAgB;AACjC,IAAA,oBAAoB,EAAE,gBAAgB;AACtC,IAAA,mBAAmB,EAAE,gBAAgB;AACrC,IAAA,cAAc,EAAE,gBAAgB;AAC1B,CAAA;AAkCJ,MAAO,qBAAsB,SAAQ,KAAK,CAAA;AAEnC,IAAA,UAAU;AAGV,IAAA,IAAI;AAOb,IAAA,WAAA,CAAY,UAAsC,EAAA;AAC9C,QAAA,KAAK,CAAC,CAAA,CAAA,EAAI,UAAU,CAAC,IAAI,CAAA,EAAA,EAAK,UAAU,CAAC,OAAO,YAAY,UAAU,CAAC,MAAM,CAAA,CAAE,CAAC;AAChF,QAAA,IAAI,CAAC,IAAI,GAAG,uBAAuB;AACnC,QAAA,IAAI,CAAC,UAAU,GAAG,UAAU;AAC5B,QAAA,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI;IAC/B;AACH;;"}
@@ -58,3 +58,4 @@ export { CRATIS_PRESENTATION_ABI_VERSION, CRATIS_PRESENTATION_PROFILE, cratisPre
58
58
  export { unstable_useCapability, unstable_useOverlayEnvironment, unstable_useRendererId, } from './RendererContext.js';
59
59
  export { unstable_RendererScope, type unstable_RendererScopeProps, } from './RendererScope.js';
60
60
  export type { unstable_BehaviorMode, unstable_CratisSlots, unstable_Fidelity, unstable_SlotDeclaration, unstable_SlotId, unstable_SlotMap, } from './slots.js';
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../renderer/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAA8B,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAAwB,CAA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ACrC,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,GACvC,MAAM,eAAY,CAAC;AACpB,OAAO,EACH,kCAAkC,EAClC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,GACzC,MAAM,yBAAsB,CAAC;AAC9B,OAAO,EACH,+BAA+B,EAC/B,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,GACnC,MAAM,mBAAgB,CAAC;AACxB,OAAO,EACH,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,GACzB,MAAM,sBAAmB,CAAC;AAC3B,OAAO,EACH,sBAAsB,EACtB,KAAK,2BAA2B,GACnC,MAAM,oBAAiB,CAAC;AACzB,YAAY,EACR,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,eAAe,EACf,gBAAgB,GACnB,MAAM,YAAS,CAAC"}
@@ -95,3 +95,4 @@ export declare const unstable_defineUiLibrary: <const T extends unstable_UiLibra
95
95
  * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.
96
96
  */
97
97
  export declare const unstable_composeUiLibraries: (...libraries: readonly unstable_UiLibrary[]) => unstable_UiLibrary;
98
+ //# sourceMappingURL=manifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../renderer/manifest.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAU,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,YAAS,CA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ACF,IAAA,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC;AACpC,CAAA;MAYQ,2BAA2B,GAAG,CACvC,GAAG,SAAwC,KACvB;AACpB,IAAA,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE;AACxB,QAAA,MAAM,IAAI,UAAU,CAAC,sDAAsD,CAAC;IAChF;IAEA,MAAM,IAAI,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC;AAC5C,IAAA,MAAM,YAAY,GAAG;AACjB,QAAA,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;KACnE;IACD,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,KAAK,CAAC,CAAC;AAE7E,IAAA,OAAO,wBAAwB,CAAC;AAC5B,QAAA,GAAG,IAAI;QACP,YAAY;QACZ,YAAY,EAAE,IAAI,CAAC,YAAY,IAAK,MAAM,CAAC,IAAI,CAAC,KAAK,CAAuB;QAC5E,KAAK;AACR,KAAA,CAAC;AACN;;"}
1
+ {"version":3,"file":"manifest.js","sources":["../../../renderer/manifest.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport type { ComponentType, ReactNode } from 'react';\nimport type { unstable_CapabilityId } from './capabilities';\nimport type { unstable_AdapterDiagnostic } from './errors';\nimport type { unstable_SlotId, unstable_SlotMap } from './slots';\n\n/**\n * Open declaration-merging surface for renderer-specific, non-secret setup attestations.\n * Adapter packages add boolean keys only; credentials never belong in this interface.\n */\n// Adapter packages add only non-secret boolean attestations through declaration merging.\n// biome-ignore lint/style/useConsistentTypeDefinitions: declaration merging requires an interface.\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface CratisRendererSetupExtensions extends Record<never, never> {}\n\n/**\n * Compatibility declaration-merging surface for renderer setup attestations.\n *\n * @deprecated Merge new adapter keys into {@link CratisRendererSetupExtensions}.\n */\n// biome-ignore lint/style/useConsistentTypeDefinitions: declaration merging requires an interface.\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface unstable_RendererSetupExtensions extends CratisRendererSetupExtensions {}\n\n/** Non-secret application setup attestations supplied to a renderer provider. */\nexport type CratisRendererSetup = Readonly<{\n [\n Key in\n keyof CratisRendererSetupExtensions | keyof unstable_RendererSetupExtensions\n ]?: boolean;\n}>;\n\n/**\n * Compatibility alias for {@link CratisRendererSetup}.\n *\n * @deprecated Use {@link CratisRendererSetup}.\n */\nexport type unstable_RendererSetup = CratisRendererSetup;\n\n/** Props supplied to a stable presentation renderer library provider. */\nexport interface CratisPresentationUiLibraryProviderProps {\n /** Non-secret application setup attestations. Never credentials or license tokens. */\n readonly setup: CratisRendererSetup;\n /** Application content. */\n readonly children: ReactNode;\n}\n\n/**\n * Compatibility alias for {@link CratisPresentationUiLibraryProviderProps}.\n *\n * @deprecated Use {@link CratisPresentationUiLibraryProviderProps}.\n */\nexport type unstable_UiLibraryProviderProps = CratisPresentationUiLibraryProviderProps;\n\n/**\n * Renderer ABI major implemented by this package.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport const unstable_CRATIS_UI_ABI_VERSION = 1;\n\n/**\n * Runtime renderer manifest. Manifests are immutable values and are never passed through the\n * Components configuration deep-merge path.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport interface unstable_UiLibrary {\n /** Stable, package-local renderer identity used for diagnostics and telemetry. */\n readonly id: string;\n /** Human-readable renderer name. */\n readonly displayName: string;\n /** Renderer ABI major implemented by this library. */\n readonly abi: number;\n /** Breadth and ownership level offered by the library. */\n readonly level: 'full' | 'primitive' | 'behavior' | 'portal' | 'theme';\n /** Named contract profile promised by the library. */\n readonly profile: string;\n /**\n * Slots promised by the named profile. When omitted, the library promises its own slot keys.\n */\n readonly profileSlots?: readonly unstable_SlotId[];\n /** Core-owned capabilities honestly supported by the library. */\n readonly capabilities: readonly unstable_CapabilityId[];\n /** Typed partial slot implementation table. */\n readonly slots: unstable_SlotMap;\n /** Optional library-level provider mounted once around the selected renderer scope. */\n readonly Provider?: ComponentType<CratisPresentationUiLibraryProviderProps>;\n /** Optional static diagnostic preflight evaluated by renderer providers and scopes. */\n readonly preflight?: () => readonly unstable_AdapterDiagnostic[];\n}\n\nconst frozenSlots = (slots: unstable_SlotMap): unstable_SlotMap => {\n const copy: Record<string, object> = {};\n for (const [slotId, declaration] of Object.entries(slots)) {\n if (declaration) copy[slotId] = Object.freeze({ ...declaration });\n }\n return Object.freeze(copy) as unstable_SlotMap;\n};\n\n/**\n * Defines a renderer library while preserving its inferred literal type. The helper is\n * side-effect-free and defensively copies/freezes mutable manifest containers; component and\n * callback references remain untouched.\n *\n * @param library Renderer library to define.\n * @returns A frozen defensive copy with the same inferred public type.\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport const unstable_defineUiLibrary = <const T extends unstable_UiLibrary>(\n library: T,\n): T =>\n Object.freeze({\n ...library,\n capabilities: Object.freeze([...library.capabilities]),\n profileSlots: Object.freeze([\n ...(library.profileSlots ?? Object.keys(library.slots)),\n ]),\n slots: frozenSlots(library.slots),\n }) as T;\n\n/**\n * Composes one or more renderer libraries. Slot declarations and metadata use last-library-wins\n * semantics; capabilities are de-duplicated in first-seen order for deterministic diagnostics.\n * The result is defensively copied and frozen through {@link unstable_defineUiLibrary}.\n *\n * @param libraries Libraries in increasing precedence order.\n * @returns One frozen renderer library containing the union of capabilities and slots.\n * @throws {RangeError} When no libraries are supplied.\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport const unstable_composeUiLibraries = (\n ...libraries: readonly unstable_UiLibrary[]\n): unstable_UiLibrary => {\n if (libraries.length === 0) {\n throw new RangeError('At least one UI library is required for composition.');\n }\n\n const last = libraries[libraries.length - 1];\n const capabilities = [\n ...new Set(libraries.flatMap((library) => library.capabilities)),\n ];\n const slots = Object.assign({}, ...libraries.map((library) => library.slots));\n\n return unstable_defineUiLibrary({\n ...last,\n capabilities,\n profileSlots: last.profileSlots ?? (Object.keys(slots) as unstable_SlotId[]),\n slots,\n });\n};\n"],"names":[],"mappings":"AA6DO,MAAM,8BAA8B,GAAG;AAiC9C,MAAM,WAAW,GAAG,CAAC,KAAuB,KAAsB;IAC9D,MAAM,IAAI,GAA2B,EAAE;AACvC,IAAA,KAAK,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AACvD,QAAA,IAAI,WAAW;AAAE,YAAA,IAAI,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,WAAW,EAAE,CAAC;IACrE;AACA,IAAA,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAqB;AAClD,CAAC;AAWM,MAAM,wBAAwB,GAAG,CACpC,OAAU,KAEV,MAAM,CAAC,MAAM,CAAC;AACV,IAAA,GAAG,OAAO;IACV,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AACtD,IAAA,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC;AACxB,QAAA,IAAI,OAAO,CAAC,YAAY,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;KAC1D,CAAC;AACF,IAAA,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC;AACpC,CAAA;MAYQ,2BAA2B,GAAG,CACvC,GAAG,SAAwC,KACvB;AACpB,IAAA,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE;AACxB,QAAA,MAAM,IAAI,UAAU,CAAC,sDAAsD,CAAC;IAChF;IAEA,MAAM,IAAI,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC;AAC5C,IAAA,MAAM,YAAY,GAAG;AACjB,QAAA,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;KACnE;IACD,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,KAAK,CAAC,CAAC;AAE7E,IAAA,OAAO,wBAAwB,CAAC;AAC5B,QAAA,GAAG,IAAI;QACP,YAAY;QACZ,YAAY,EAAE,IAAI,CAAC,YAAY,IAAK,MAAM,CAAC,IAAI,CAAC,KAAK,CAAuB;QAC5E,KAAK;AACR,KAAA,CAAC;AACN;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"overlayEnvironment.js","sources":["../../../renderer/overlayEnvironment.ts"],"sourcesContent":[null],"names":[],"mappings":"AA0BO,MAAM,kCAAkC,GAC3C,MAAM,CAAC,MAAM,CAAC;AACV,IAAA,YAAY,EAAE,MACV,OAAO,QAAQ,KAAK,WAAW,GAAG,IAAI,GAAG,QAAQ,CAAC,IAAI;AAC7D,CAAA;;"}
1
+ {"version":3,"file":"overlayEnvironment.js","sources":["../../../renderer/overlayEnvironment.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Host environment used by overlay implementations to obtain their portal container.\n * `null` means no container is currently available; callers must defer rather than retarget.\n *\n */\nexport interface CratisOverlayEnvironment {\n /** Resolves the current overlay container without requiring browser globals during import. */\n getContainer(): HTMLElement | null;\n}\n\n/**\n * Compatibility alias for {@link CratisOverlayEnvironment}.\n *\n * @deprecated Use {@link CratisOverlayEnvironment}.\n */\nexport type unstable_CratisOverlayEnvironment = CratisOverlayEnvironment;\n\n/**\n * Default browser overlay environment. The module is SSR-safe: `document` is inspected only when\n * `getContainer()` is invoked, never while this module is initialized.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport const unstable_defaultOverlayEnvironment: unstable_CratisOverlayEnvironment =\n Object.freeze({\n getContainer: (): HTMLElement | null =>\n typeof document === 'undefined' ? null : document.body,\n });\n"],"names":[],"mappings":"AA0BO,MAAM,kCAAkC,GAC3C,MAAM,CAAC,MAAM,CAAC;AACV,IAAA,YAAY,EAAE,MACV,OAAO,QAAQ,KAAK,WAAW,GAAG,IAAI,GAAG,QAAQ,CAAC,IAAI;AAC7D,CAAA;;"}
@@ -91,3 +91,4 @@ export interface CratisPresentationUiLibrary {
91
91
  */
92
92
  export declare const definePresentationUiLibrary: (library: CratisPresentationUiLibrary) => CratisPresentationUiLibrary;
93
93
  export {};
94
+ //# sourceMappingURL=presentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation.d.ts","sourceRoot":"","sources":["../../../renderer/presentation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,eAAY,CAAC;AAE3E,8E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,KAAK,OAAO,CAAC,YAAY,CAAC,MAAM,EAAE;QACpE,0BAA0B,CAAC,0CAA0C,CAAC;IAC1E;AAEA,IAAA,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CACvB,MAAM,CAAC,WAAW,CACd,yBAAyB,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK;QACtC,MAAM;QACN,MAAM,CAAC,MAAM,CAAC;YACV,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI;YAChC,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,QAAQ;YACxC,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM;SACvC,CAAC;KACL,CAAC,CACL,CACyB;IAE9B,OAAO,MAAM,CAAC,MAAM,CAAC;QACjB,EAAE,EAAE,OAAO,CAAC,EAAE;QACd,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,OAAO,EAAE,OAAO,CAAC,OAAO;AACxB,QAAA,YAAY,EAAE,yBAAyB;AACvC,QAAA,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC;YACxB,GAAG,OAAO,CAAC,YAAY;SAC1B,CAAmC;QACpC,KAAK;QACL,QAAQ,EAAE,OAAO,CAAC,QAAQ;AAC7B,KAAA,CAAC;AACN;;"}
1
+ {"version":3,"file":"presentation.js","sources":["../../../renderer/presentation.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport type { ComponentType } from 'react';\nimport type { ButtonProps } from '../Common/Button';\nimport type { CheckboxProps } from '../Common/Checkbox';\nimport type { IconButtonProps } from '../Common/IconButton';\nimport type { RadioProps } from '../Common/Radio';\nimport type { SurfaceProps } from '../Common/Surface';\nimport type { SwitchProps } from '../Common/Switch';\nimport type { TextAreaProps } from '../Common/TextArea';\nimport type { TextInputProps } from '../Common/TextInput';\nimport type { ProgressBarProps } from '../Display/ProgressBar';\nimport type { CratisPresentationUiLibraryProviderProps } from './manifest';\n\n/** Stable renderer profile implemented by certified presentation adapters. */\nexport const CRATIS_PRESENTATION_PROFILE = 'stable-presentation/v1' as const;\n\n/** Renderer ABI major for the stable presentation profile. */\nexport const CRATIS_PRESENTATION_ABI_VERSION = 1 as const;\n\n/** Immutable, canonical slot order for the stable presentation profile. */\nexport const cratisPresentationSlotIds = Object.freeze([\n 'common.button',\n 'common.iconButton',\n 'common.textInput',\n 'common.textArea',\n 'common.checkbox',\n 'common.radio',\n 'common.switch',\n 'common.progress',\n 'common.surface',\n] as const);\n\n/** Identifier of one stable presentation slot. */\nexport type CratisPresentationSlotId = (typeof cratisPresentationSlotIds)[number];\n\n/** Exact public component prop and ref contracts covered by the stable presentation profile. */\nexport interface CratisPresentationSlots {\n /** Cratis button presentation contract, including native button refs and form behavior. */\n readonly 'common.button': ButtonProps;\n /** Accessible icon-only button contract with native button ownership. */\n readonly 'common.iconButton': IconButtonProps;\n /** Native text-input contract with semantic value-first change events. */\n readonly 'common.textInput': TextInputProps;\n /** Native multiline text-input contract with semantic value-first change events. */\n readonly 'common.textArea': TextAreaProps;\n /** Native checkbox contract with checked state, form participation, and input refs. */\n readonly 'common.checkbox': CheckboxProps;\n /** Native radio-option contract with selection state, form participation, and input refs. */\n readonly 'common.radio': RadioProps;\n /** Boolean switch contract preserving switch semantics and input ownership. */\n readonly 'common.switch': SwitchProps;\n /** Determinate or indeterminate progress presentation contract. */\n readonly 'common.progress': ProgressBarProps;\n /** Non-interactive semantic surface and native-element presentation contract. */\n readonly 'common.surface': SurfaceProps;\n}\n\n/** One stable, presentation-owned renderer slot declaration. */\nexport interface CratisPresentationSlotDeclaration<\n SlotId extends CratisPresentationSlotId,\n> {\n /** Stable presentation slots always preserve Components behavior ownership. */\n readonly mode: 'presentation';\n /** Unsupported declarations cannot claim the stable profile. */\n readonly fidelity: 'native' | 'emulated';\n /** Component implementing the slot's exact public props and ref contract. */\n readonly render: ComponentType<CratisPresentationSlots[SlotId]>;\n}\n\n/** Complete implementation table required by the stable presentation profile. */\nexport type CratisPresentationSlotMap = {\n readonly [\n SlotId in CratisPresentationSlotId\n ]: CratisPresentationSlotDeclaration<SlotId>;\n};\n\n/** Capabilities whose meaning is stable for the bounded presentation profile. */\nexport type CratisPresentationCapabilityId =\n | 'slot.render'\n | 'parts.passthrough'\n | 'ssr.staticRender'\n | 'rtl'\n | 'forcedColors'\n | 'motion.reduced';\n\ntype CratisPresentationOptionalCapabilityId = Exclude<\n CratisPresentationCapabilityId,\n 'slot.render' | 'parts.passthrough' | 'ssr.staticRender'\n>;\n\n/** Required presentation capabilities followed by optional stable evidence capabilities. */\nexport type CratisPresentationCapabilities = readonly [\n 'slot.render',\n 'parts.passthrough',\n 'ssr.staticRender',\n ...CratisPresentationOptionalCapabilityId[],\n];\n\n/** Immutable manifest for one implementation of the stable presentation profile. */\nexport interface CratisPresentationUiLibrary {\n /** Stable, package-local renderer identity used for diagnostics and telemetry. */\n readonly id: string;\n /** Human-readable renderer name. */\n readonly displayName: string;\n /** Stable presentation renderer ABI major. */\n readonly abi: typeof CRATIS_PRESENTATION_ABI_VERSION;\n /** The bounded profile is a primitive presentation adapter. */\n readonly level: 'primitive';\n /** Exact stable presentation profile identifier. */\n readonly profile: typeof CRATIS_PRESENTATION_PROFILE;\n /** Canonical immutable list of all nine stable slots. */\n readonly profileSlots: typeof cratisPresentationSlotIds;\n /** Required presentation capabilities followed by any optional stable capabilities. */\n readonly capabilities: CratisPresentationCapabilities;\n /** Complete nine-slot presentation implementation. */\n readonly slots: CratisPresentationSlotMap;\n /** Optional provider mounted once around the selected renderer scope. */\n readonly Provider?: ComponentType<CratisPresentationUiLibraryProviderProps>;\n}\n\nconst requiredCapabilityIds = [\n 'slot.render',\n 'parts.passthrough',\n 'ssr.staticRender',\n] as const;\n\nconst stableCapabilityIds = new Set<CratisPresentationCapabilityId>([\n ...requiredCapabilityIds,\n 'rtl',\n 'forcedColors',\n 'motion.reduced',\n]);\n\nconst invalidPresentationLibrary = (reason: string): never => {\n throw new TypeError(`Invalid stable presentation UI library: ${reason}.`);\n};\n\nconst hasCanonicalProfileSlots = (profileSlots: readonly unknown[]): boolean =>\n profileSlots.length === cratisPresentationSlotIds.length &&\n profileSlots.every((slotId, index) => slotId === cratisPresentationSlotIds[index]);\n\n/**\n * Defines and freezes a complete implementation of the stable nine-slot presentation profile.\n * Runtime validation protects JavaScript callers from claiming a profile they do not implement.\n *\n * @param library Stable presentation library declaration.\n * @returns A defensive, deeply frozen manifest copy.\n */\nexport const definePresentationUiLibrary = (\n library: CratisPresentationUiLibrary,\n): CratisPresentationUiLibrary => {\n if (library === null || typeof library !== 'object') {\n invalidPresentationLibrary('manifest must be an object');\n }\n if (\n typeof library.id !== 'string' ||\n library.id.length > 128 ||\n !/^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$/u.test(library.id)\n ) {\n invalidPresentationLibrary('id must be a valid package-local renderer identity');\n }\n if (\n typeof library.displayName !== 'string' ||\n library.displayName.trim().length === 0 ||\n library.displayName.length > 128\n ) {\n invalidPresentationLibrary(\n 'displayName must contain between 1 and 128 characters',\n );\n }\n if (library.Provider !== undefined && typeof library.Provider !== 'function') {\n invalidPresentationLibrary('Provider must be a React component when supplied');\n }\n if (library.profile !== CRATIS_PRESENTATION_PROFILE) {\n invalidPresentationLibrary(`profile must be '${CRATIS_PRESENTATION_PROFILE}'`);\n }\n if (library.abi !== CRATIS_PRESENTATION_ABI_VERSION) {\n invalidPresentationLibrary(`ABI must be ${CRATIS_PRESENTATION_ABI_VERSION}`);\n }\n if (library.level !== 'primitive') {\n invalidPresentationLibrary(\"level must be 'primitive'\");\n }\n if (\n !Array.isArray(library.profileSlots) ||\n !hasCanonicalProfileSlots(library.profileSlots)\n ) {\n invalidPresentationLibrary(\n 'profileSlots must be the canonical nine-slot profile',\n );\n }\n if (!library.slots || typeof library.slots !== 'object') {\n invalidPresentationLibrary('slots must be an object');\n }\n\n const slotIds = Object.keys(library.slots);\n if (\n slotIds.length !== cratisPresentationSlotIds.length ||\n cratisPresentationSlotIds.some((slotId) => !slotIds.includes(slotId))\n ) {\n invalidPresentationLibrary(\n 'slots must contain exactly the nine stable presentation slots',\n );\n }\n\n for (const slotId of cratisPresentationSlotIds) {\n // SAFETY: the canonical slot list indexes the complete stable map; the wider record view\n // exists only so runtime JavaScript callers can be checked before their value is frozen.\n const declaration = library.slots[slotId] as unknown as\n Record<string, unknown> | undefined;\n if (!declaration) {\n throw new TypeError(\n `Invalid stable presentation UI library: slot '${slotId}' must provide a declaration.`,\n );\n }\n if (declaration.mode !== 'presentation') {\n invalidPresentationLibrary(`slot '${slotId}' must use presentation mode`);\n }\n if (declaration.fidelity !== 'native' && declaration.fidelity !== 'emulated') {\n invalidPresentationLibrary(\n `slot '${slotId}' must use native or emulated fidelity`,\n );\n }\n if (\n declaration.render === null ||\n (typeof declaration.render !== 'function' &&\n typeof declaration.render !== 'object')\n ) {\n invalidPresentationLibrary(`slot '${slotId}' must provide a component`);\n }\n }\n\n if (\n !Array.isArray(library.capabilities) ||\n library.capabilities.some((capability) => !stableCapabilityIds.has(capability))\n ) {\n invalidPresentationLibrary(\n 'capabilities must stay within the stable presentation subset',\n );\n }\n if (\n requiredCapabilityIds.some(\n (capability, index) => library.capabilities[index] !== capability,\n )\n ) {\n invalidPresentationLibrary(\n 'capabilities must begin with slot.render, parts.passthrough, and ssr.staticRender',\n );\n }\n if (new Set(library.capabilities).size !== library.capabilities.length) {\n invalidPresentationLibrary('capabilities must not contain duplicates');\n }\n\n const slots = Object.freeze(\n Object.fromEntries(\n cratisPresentationSlotIds.map((slotId) => [\n slotId,\n Object.freeze({\n mode: library.slots[slotId].mode,\n fidelity: library.slots[slotId].fidelity,\n render: library.slots[slotId].render,\n }),\n ]),\n ),\n ) as CratisPresentationSlotMap;\n\n return Object.freeze({\n id: library.id,\n displayName: library.displayName,\n abi: library.abi,\n level: library.level,\n profile: library.profile,\n profileSlots: cratisPresentationSlotIds,\n capabilities: Object.freeze([\n ...library.capabilities,\n ]) as CratisPresentationCapabilities,\n slots,\n Provider: library.Provider,\n });\n};\n"],"names":[],"mappings":"AAgBO,MAAM,2BAA2B,GAAG;AAGpC,MAAM,+BAA+B,GAAG;AAGxC,MAAM,yBAAyB,GAAG,MAAM,CAAC,MAAM,CAAC;IACnD,eAAe;IACf,mBAAmB;IACnB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,gBAAgB;AACV,CAAA;AA0FV,MAAM,qBAAqB,GAAG;IAC1B,aAAa;IACb,mBAAmB;IACnB,kBAAkB;CACZ;AAEV,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAiC;AAChE,IAAA,GAAG,qBAAqB;IACxB,KAAK;IACL,cAAc;IACd,gBAAgB;AACnB,CAAA,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,MAAc,KAAW;AACzD,IAAA,MAAM,IAAI,SAAS,CAAC,2CAA2C,MAAM,CAAA,CAAA,CAAG,CAAC;AAC7E,CAAC;AAED,MAAM,wBAAwB,GAAG,CAAC,YAAgC,KAC9D,YAAY,CAAC,MAAM,KAAK,yBAAyB,CAAC,MAAM;AACxD,IAAA,YAAY,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,KAAK,KAAK,MAAM,KAAK,yBAAyB,CAAC,KAAK,CAAC,CAAC;AAS/E,MAAM,2BAA2B,GAAG,CACvC,OAAoC,KACP;IAC7B,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QACjD,0BAA0B,CAAC,4BAA4B,CAAC;IAC5D;AACA,IAAA,IACI,OAAO,OAAO,CAAC,EAAE,KAAK,QAAQ;AAC9B,QAAA,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,GAAG;QACvB,CAAC,sCAAsC,CAAC,IAAI,CA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,SAAS,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,aAAa,CAAC,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC;AAKzE,IAAA,MAAM,cAAc,GAAG,WAAW,CAAC,MAElC;IACD,MAAM,SAAS,GAAG,EAAE,GAAG,KAAK,EAAE,GAAG,EAAoC;AACrE,IAAA,OAAO,aAAa,CAAC,cAAc,EAAE,SAAS,CAAC;AACnD;;"}
1
+ {"version":3,"file":"renderSlot.js","sources":["../../../renderer/renderSlot.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport {\n createElement,\n type ComponentType,\n type ForwardedRef,\n type ReactElement,\n type RefAttributes,\n} from 'react';\n\ninterface RenderDeclaration<Props> {\n readonly render: ComponentType<Props>;\n}\n\nexport function renderSlot<Props extends object>(\n declaration: RenderDeclaration<Props>,\n props: Props,\n): ReactElement;\nexport function renderSlot<Props extends object, Element>(\n declaration: RenderDeclaration<Props>,\n props: Props,\n ref: ForwardedRef<Element>,\n): ReactElement;\nexport function renderSlot<Props extends object, Element>(\n declaration: RenderDeclaration<Props>,\n props: Props,\n ref?: ForwardedRef<Element>,\n): ReactElement {\n if (arguments.length < 3) return createElement(declaration.render, props);\n\n // SAFETY: Slot declarations intentionally expose exact public props without widening every\n // adapter with Core ref types. Facades alone bridge their already-public forwarded ref to the\n // selected implementation, and conformance tests prove that it lands on the real native root.\n const RefCapableSlot = declaration.render as ComponentType<\n Props & RefAttributes<Element>\n >;\n const slotProps = { ...props, ref } as Props & RefAttributes<Element>;\n return createElement(RefCapableSlot, slotProps);\n}\n"],"names":[],"mappings":";;SAwBgB,UAAU,CACtB,WAAqC,EACrC,KAAY,EACZ,GAA2B,EAAA;AAE3B,IAAA,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,aAAa,CAAC,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC;AAKzE,IAAA,MAAM,cAAc,GAAG,WAAW,CAAC,MAElC;IACD,MAAM,SAAS,GAAG,EAAE,GAAG,KAAK,EAAE,GAAG,EAAoC;AACrE,IAAA,OAAO,aAAa,CAAC,cAAc,EAAE,SAAS,CAAC;AACnD;;"}
@@ -35,3 +35,4 @@ export declare const unstable_resolveSlot: <K extends unstable_SlotId>(slotId: K
35
35
  export declare const unstable_diagnosticKey: (diagnostic: unstable_AdapterDiagnostic) => string;
36
36
  /** Emits one actionable renderer diagnostic without exposing manifest contents. */
37
37
  export declare const unstable_logDiagnostic: (diagnostic: unstable_AdapterDiagnostic) => void;
38
+ //# sourceMappingURL=resolve.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../../renderer/resolve.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAU,CAAC;AAE3D,OAAO,EAGH,KAAK,kBAAkB,EAC1B,MAAM,eAAY,CAAC;AACpB,OAAO,KAAK,EACR,wBAAwB,EACxB,eAAe,EACf,gBAAgB,EACnB,MAAM,YAAS,CAAC;AAmBjB,oEAAoE;AACpE,MAAM,WAAW,sBAAsB;IACnC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC;CAChD;AAED,sFAAsF;AACtF,MAAM,WAAW,6BAA6B;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,SAAS,kBAAkB,EAAE,CAAC;CACtD;AAED,8FAA8F;AAC9F,eAAO,MAAM,+BAA+B,EAAE,gBAAoC,CAAC;AAEnF,yEAAyE;AACzE,eAAO,MAAM,oBAAoB,UAAW,OAAO,KAAG,KAAK,IAAI,eACU,CAAC;AAE1E,0FAA0F;AAC1F,eAAO,MAAM,4BAA4B,UAC9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W;gBACZ,WAAW,CAAC,QAAQ,KAAK,aAAa;AACtC,iBAAC,KAAK,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAyB,CAAC,CAAC;gBAE1D;AACJ,YAAA,QAAQ,CAAC,MAAM,CAAC,GAAG,WAAW;QAClC;IACJ;AACA,IAAA,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAqB;AACtD;AAGO,MAAM,oBAAoB,GAAG,CAChC,MAAS,EACT,KAAuB,EACvB,oBAA6D,EAC7D,SAA2B,KAC+C;AAC1E,IAAA,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAA4C;AAC5E,IAAA,IAAI,WAAW;AAAE,QAAA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,KAAK,EAAE;IAEhE,OAAO;AACH,QAAA,WAAW,EACP,oBAAoB;YACnB,SAAS,CAAC,MAAM,CAA6C;AAClE,QAAA,gBAAgB,EAAE,IAAI;KACzB;AACL;MAGa,sBAAsB,GAAG,CAAC,UAAsC,KACzE;AACI,IAAA,UAAU,CAAC,IAAI;AACf,IAAA,UAAU,CAAC,SAAS;IACpB,UAAU,CAAC,MAAM,IAAI,EAAE;AACvB,IAAA,UAAU,CAAC,OAAO;AACrB,CAAA,CAAC,IAAI,CAAC,GAAG;AAGP,MAAM,sBAAsB,GAAG,CAAC,UAAsC,KAAU;AACnF,IAAA,OAAO,CAAC,KAAK,CACT,CAAA,CAAA,EAAI,UAAU,CAAC,IAAI,CAAA,EAAA,EAAK,UAAU,CAAC,OAAO,CAAA,SAAA,EAAY,UAAU,CAAC,MAAM,CAAA,CAAE,CAC5E;AACL;;"}
1
+ {"version":3,"file":"resolve.js","sources":["../../../renderer/resolve.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport type { unstable_AdapterDiagnostic } from './errors';\nimport { unstable_adapterErrorCodes } from './errors';\nimport {\n unstable_composeUiLibraries,\n unstable_CRATIS_UI_ABI_VERSION,\n type unstable_UiLibrary,\n} from './manifest';\nimport type {\n unstable_SlotDeclaration,\n unstable_SlotId,\n unstable_SlotMap,\n} from './slots';\n\nconst knownSlots = new Set<unstable_SlotId>([\n 'common.button',\n 'common.iconButton',\n 'common.textInput',\n 'common.textArea',\n 'common.checkbox',\n 'common.radio',\n 'common.switch',\n 'common.progress',\n 'common.surface',\n 'common.tooltip',\n 'dropdown.select',\n 'dialogs.dialog',\n 'display.datePicker',\n 'datatables.paginator',\n]);\n\n/** Internal immutable renderer layer used by context resolution. */\nexport interface unstable_RendererLayer {\n readonly library: unstable_UiLibrary;\n readonly slots: unstable_SlotMap;\n readonly only?: ReadonlySet<unstable_SlotId>;\n}\n\n/** Identity-preserving normalization result for a provider or scope library input. */\nexport interface unstable_ResolvedLibraryInput {\n readonly library?: unstable_UiLibrary;\n readonly references: readonly unstable_UiLibrary[];\n}\n\n/** Empty D2 Core fallback table. Slice E can inject its built-in table without a registry. */\nexport const unstable_emptyCoreRendererSlots: unstable_SlotMap = Object.freeze({});\n\n/** Returns whether a value is one of the Core-owned slot identifiers. */\nexport const unstable_isKnownSlot = (value: unknown): value is unstable_SlotId =>\n typeof value === 'string' && knownSlots.has(value as unstable_SlotId);\n\n/** Normalizes one library or an ordered last-wins composition without deep merging it. */\nexport const unstable_resolveLibraryInput = (\n input: unstable_UiLibrary | readonly unstable_UiLibrary[] | undefined,\n): unstable_ResolvedLibraryInput => {\n if (!input) return Object.freeze({ references: Object.freeze([]) });\n\n const references = Object.freeze(Array.isArray(input) ? [...input] : [input]);\n if (references.length === 0) {\n return Object.freeze({ references });\n }\n\n return Object.freeze({\n library:\n references.length === 1\n ? references[0]\n : unstable_composeUiLibraries(...references),\n references,\n });\n};\n\n/** Creates one immutable slot lookup snapshot for a manifest and optional scope filter. */\nexport const unstable_createRendererLayer = (\n library: unstable_UiLibrary,\n only?: readonly unstable_SlotId[],\n): unstable_RendererLayer =>\n Object.freeze({\n library,\n slots: Object.freeze({ ...library.slots }),\n only: only ? new Set(only) : undefined,\n });\n\nconst missingRequirement = (\n library: unstable_UiLibrary,\n message: string,\n remedy: string,\n slotId?: unstable_SlotId,\n): unstable_AdapterDiagnostic => ({\n code: unstable_adapterErrorCodes.missingRequirement,\n adapterId: library.id,\n slotId,\n message,\n remedy,\n});\n\n/** Runs ABI, profile, capability, and adapter preflight validation. */\nexport const unstable_validateUiLibrary = (\n library: unstable_UiLibrary,\n): readonly unstable_AdapterDiagnostic[] => {\n const diagnostics: unstable_AdapterDiagnostic[] = [];\n\n if (library.abi !== unstable_CRATIS_UI_ABI_VERSION) {\n diagnostics.push({\n code: unstable_adapterErrorCodes.abiMismatch,\n adapterId: library.id,\n message: `Renderer ABI ${library.abi} does not match Core ABI ${unstable_CRATIS_UI_ABI_VERSION}.`,\n remedy: `Install a renderer that targets ABI ${unstable_CRATIS_UI_ABI_VERSION}.`,\n });\n }\n\n const profileSlots = library.profileSlots ?? Object.keys(library.slots);\n if (profileSlots.length > 0 && !library.capabilities.includes('slot.render')) {\n diagnostics.push(\n missingRequirement(\n library,\n `Profile '${library.profile}' promises slots without the 'slot.render' capability.`,\n \"Declare 'slot.render' only after the adapter can render every promised slot.\",\n ),\n );\n }\n\n for (const profileSlot of profileSlots) {\n if (!unstable_isKnownSlot(profileSlot)) {\n diagnostics.push(\n missingRequirement(\n library,\n `Profile '${library.profile}' promises unknown slot '${String(profileSlot)}'.`,\n 'Remove the unknown slot or install a Core version that declares it.',\n ),\n );\n continue;\n }\n\n const declaration = library.slots[profileSlot];\n if (!declaration || declaration.fidelity === 'unsupported') {\n diagnostics.push(\n missingRequirement(\n library,\n `Profile '${library.profile}' does not support promised slot '${profileSlot}'.`,\n `Provide a supported '${profileSlot}' declaration or remove it from profileSlots.`,\n profileSlot,\n ),\n );\n }\n }\n\n if (library.preflight) {\n try {\n diagnostics.push(...library.preflight());\n } catch (error: unknown) {\n diagnostics.push({\n code: unstable_adapterErrorCodes.missingUpstreamPeer,\n adapterId: library.id,\n message: `Renderer preflight failed: ${error instanceof Error ? error.message : String(error)}.`,\n remedy: 'Correct the renderer installation so its preflight can complete.',\n });\n }\n }\n\n return Object.freeze([...diagnostics]);\n};\n\n/** Compares normalized library identities without comparing or cloning manifest contents. */\nexport const unstable_sameLibraryReferences = (\n left: readonly unstable_UiLibrary[],\n right: readonly unstable_UiLibrary[],\n): boolean =>\n left.length === right.length &&\n left.every((library, index) => library === right[index]);\n\n/** Flattens outer-to-inner layers into one frozen, last-wins lookup table. */\nexport const unstable_createResolvedSlotTable = (\n layers: readonly unstable_RendererLayer[],\n): unstable_SlotMap => {\n const resolved: Record<string, object> = {};\n for (const layer of layers) {\n for (const [slotId, declaration] of Object.entries(layer.slots)) {\n if (\n !declaration ||\n declaration.fidelity === 'unsupported' ||\n (layer.only && !layer.only.has(slotId as unstable_SlotId))\n )\n continue;\n resolved[slotId] = declaration;\n }\n }\n return Object.freeze(resolved) as unstable_SlotMap;\n};\n\n/** Resolves a slot through external layers, a facade-local Core declaration, then Core context. */\nexport const unstable_resolveSlot = <K extends unstable_SlotId>(\n slotId: K,\n slots: unstable_SlotMap,\n localCoreDeclaration: unstable_SlotDeclaration<K> | undefined,\n coreSlots: unstable_SlotMap,\n): { declaration?: unstable_SlotDeclaration<K>; usedCoreFallback: boolean } => {\n const declaration = slots[slotId] as unstable_SlotDeclaration<K> | undefined;\n if (declaration) return { declaration, usedCoreFallback: false };\n\n return {\n declaration:\n localCoreDeclaration ??\n (coreSlots[slotId] as unstable_SlotDeclaration<K> | undefined),\n usedCoreFallback: true,\n };\n};\n\n/** Stable log key used to de-duplicate diagnostics within one provider identity. */\nexport const unstable_diagnosticKey = (diagnostic: unstable_AdapterDiagnostic): string =>\n [\n diagnostic.code,\n diagnostic.adapterId,\n diagnostic.slotId ?? '',\n diagnostic.message,\n ].join('|');\n\n/** Emits one actionable renderer diagnostic without exposing manifest contents. */\nexport const unstable_logDiagnostic = (diagnostic: unstable_AdapterDiag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,OAAO,CAAC,KAAK,CACT,CAAA,CAAA,EAAI,UAAU,CAAC,IAAI,CAAA,EAAA,EAAK,UAAU,CAAC,OAAO,CAAA,SAAA,EAAY,UAAU,CAAC,MAAM,CAAA,CAAE,CAC5E;AACL;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"slots.js","sourceRoot":"","sources":["../../../renderer/slots.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG"}
1
+ {"version":3,"file":"slots.js","sourceRoot":"","sources":["../../../renderer/slots.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG","sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport type { ComponentType } from 'react';\n\n/**\n * Open renderer slot table. Core declarations are attached by the renderer barrel at the subpath\n * boundary so the setup-only package root can name `unstable_UiLibrary` without resolving\n * every component contract and optional peer. Adapters may declaration-merge private slots here.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\n// Core slot members are supplied by the renderer subpath barrel's type augmentation.\n// biome-ignore lint/style/useConsistentTypeDefinitions: declaration merging requires an interface.\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface unstable_CratisSlots extends Record<never, never> {}\n\n/**\n * Identifier of a declared renderer slot.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport type unstable_SlotId = keyof unstable_CratisSlots;\n\n/**\n * Ownership mode for a renderer slot. Presentation mode preserves Core behavior; atomic mode gives\n * the adapter ownership of the complete interaction.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport type unstable_BehaviorMode = 'presentation' | 'atomic';\n\n/**\n * Fidelity with which an adapter implements a slot.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport type unstable_Fidelity = 'native' | 'emulated' | 'unsupported';\n\n/**\n * One typed renderer implementation and its behavior/fidelity declaration.\n *\n * @typeParam K Slot implemented by the declaration.\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport interface unstable_SlotDeclaration<K extends unstable_SlotId> {\n /** Which layer owns the slot's interaction behavior. */\n readonly mode: unstable_BehaviorMode;\n /** How faithfully the adapter satisfies the Core slot contract. */\n readonly fidelity: unstable_Fidelity;\n /** React component implementing the slot's exact public props. */\n readonly render: ComponentType<unstable_CratisSlots[K]>;\n}\n\n/**\n * Partial renderer slot table. A library may implement only the slots it honestly supports.\n *\n * @unstable Adapter-author contract. Expect changes until renderer conformance gates promote it.\n */\nexport type unstable_SlotMap = {\n readonly [K in unstable_SlotId]?: unstable_SlotDeclaration<K>;\n};\n"]}
@@ -734,10 +734,26 @@
734
734
  transition: background 0.12s;
735
735
  }
736
736
 
737
- .cratis-chat-topics__topic:hover {
737
+ .cratis-chat-topics__topic:hover,
738
+ .cratis-chat-topics__row:hover .cratis-chat-topics__topic {
738
739
  background: var(--cratis-surface-hover);
739
740
  }
740
741
 
742
+ /* Topic actions reuse the message action overlay, centered on the row instead of hanging above it. */
743
+ .cratis-chat-topics__row {
744
+ position: relative;
745
+ }
746
+
747
+ .cratis-chat-topics__row .cratis-chat-message__actions {
748
+ top: 50%;
749
+ transform: translateY(-50%);
750
+ }
751
+
752
+ .cratis-chat-topics__row:hover .cratis-chat-message__actions {
753
+ opacity: 1;
754
+ pointer-events: auto;
755
+ }
756
+
741
757
  .cratis-chat-topics__details {
742
758
  flex: 1;
743
759
  min-width: 0;
@@ -387,10 +387,26 @@
387
387
  transition: background 0.12s;
388
388
  }
389
389
 
390
- .cratis-chat-topics__topic:hover {
390
+ .cratis-chat-topics__topic:hover,
391
+ .cratis-chat-topics__row:hover .cratis-chat-topics__topic {
391
392
  background: var(--cratis-surface-hover);
392
393
  }
393
394
 
395
+ /* Topic actions reuse the message action overlay, centered on the row instead of hanging above it. */
396
+ .cratis-chat-topics__row {
397
+ position: relative;
398
+ }
399
+
400
+ .cratis-chat-topics__row .cratis-chat-message__actions {
401
+ top: 50%;
402
+ transform: translateY(-50%);
403
+ }
404
+
405
+ .cratis-chat-topics__row:hover .cratis-chat-message__actions {
406
+ opacity: 1;
407
+ pointer-events: auto;
408
+ }
409
+
394
410
  .cratis-chat-topics__details {
395
411
  flex: 1;
396
412
  min-width: 0;
@@ -1344,10 +1344,26 @@
1344
1344
  transition: background 0.12s;
1345
1345
  }
1346
1346
 
1347
- .cratis-chat-topics__topic:hover {
1347
+ .cratis-chat-topics__topic:hover,
1348
+ .cratis-chat-topics__row:hover .cratis-chat-topics__topic {
1348
1349
  background: var(--cratis-surface-hover);
1349
1350
  }
1350
1351
 
1352
+ /* Topic actions reuse the message action overlay, centered on the row instead of hanging above it. */
1353
+ .cratis-chat-topics__row {
1354
+ position: relative;
1355
+ }
1356
+
1357
+ .cratis-chat-topics__row .cratis-chat-message__actions {
1358
+ top: 50%;
1359
+ transform: translateY(-50%);
1360
+ }
1361
+
1362
+ .cratis-chat-topics__row:hover .cratis-chat-message__actions {
1363
+ opacity: 1;
1364
+ pointer-events: auto;
1365
+ }
1366
+
1351
1367
  .cratis-chat-topics__details {
1352
1368
  flex: 1;
1353
1369
  min-width: 0;
@@ -11,3 +11,4 @@ import type { ChangeMeta } from './ChangeMeta.js';
11
11
  * @param meta - Optional information about how the change originated.
12
12
  */
13
13
  export type ChangeHandler<T> = (value: T, meta?: ChangeMeta) => void;
14
+ //# sourceMappingURL=ChangeHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangeHandler.d.ts","sourceRoot":"","sources":["../../../types/ChangeHandler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAc,CAAC;AAE/C;;;;;;;;;;GAUG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChangeHandler.js","sourceRoot":"","sources":["../../../types/ChangeHandler.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG"}
1
+ {"version":3,"file":"ChangeHandler.js","sourceRoot":"","sources":["../../../types/ChangeHandler.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG","sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport type { ChangeMeta } from './ChangeMeta';\n\n/**\n * Handles a Components-owned semantic value change.\n *\n * The first argument is always the component's next value, never a renderer-specific\n * event wrapper. Origin metadata is optional so ordinary one-argument callbacks such as\n * React state setters remain directly assignable.\n *\n * @typeParam T - The semantic value exposed by the component.\n * @param value - The next semantic value.\n * @param meta - Optional information about how the change originated.\n */\nexport type ChangeHandler<T> = (value: T, meta?: ChangeMeta) => void;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ChangeMeta.js","sourceRoot":"","sources":["../../../types/ChangeMeta.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG"}
1
+ {"version":3,"file":"ChangeMeta.js","sourceRoot":"","sources":["../../../types/ChangeMeta.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG","sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Describes the origin of a Components-owned value change.\n *\n * Components may omit this object when no trustworthy origin information is available.\n * Consumers must therefore treat metadata as supplementary context rather than as the value\n * transport itself.\n */\nexport interface ChangeMeta {\n /**\n * Identifies the change origin.\n *\n * `user` denotes an interaction, `programmatic` denotes an imperative component action,\n * and `reset` denotes restoration of an earlier or default value.\n */\n readonly source: 'user' | 'programmatic' | 'reset';\n /**\n * Native browser event that caused the change, when one exists at the public boundary.\n *\n * This is always a DOM {@link Event}; React synthetic events and renderer-specific event\n * objects are never exposed through this property. Use it only for immediate interaction\n * handling—do not serialize, log, or transmit it because native events can retain references\n * to form controls and user input.\n */\n readonly nativeEvent?: Event;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ExactPartKeys.js","sourceRoot":"","sources":["../../../types/ExactPartKeys.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG"}
1
+ {"version":3,"file":"ExactPartKeys.js","sourceRoot":"","sources":["../../../types/ExactPartKeys.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG","sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/** Resolves to true only when a pass-through declaration has the expected keys. */\nexport type ExactPartKeys<TParts, TExpected extends PropertyKey> = [\n Exclude<keyof TParts, TExpected>,\n Exclude<TExpected, keyof TParts>,\n] extends [never, never]\n ? true\n : never;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"JsonSchema.js","sourceRoot":"","sources":["../../../types/JsonSchema.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG"}
1
+ {"version":3,"file":"JsonSchema.js","sourceRoot":"","sources":["../../../types/JsonSchema.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG","sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A JSON Schema document or fragment shape.\n * Represents a reusable schema definition consumed by {@link SchemaEditor} and {@link ObjectContentEditor}.\n */\nexport interface JsonSchema {\n /** Human-readable title for this schema. */\n title?: string;\n /** Name of the schema or type being defined. */\n name?: string;\n /** Unique identifier URI for this schema (e.g. \"https://example.invalid/schemas/person.json\"). */\n $id?: string;\n /** Reference to another schema definition (URI fragment or external reference). */\n $ref?: string;\n /** JSON Schema type (\"string\", \"number\", \"integer\", \"boolean\", \"object\", \"array\", \"null\"). */\n type?: string;\n /** Format hint for the type (e.g. \"date-time\", \"guid\", \"email\"). */\n format?: string;\n /** Human-readable description of this schema. */\n description?: string;\n /** Object property definitions (when `type` is \"object\"). */\n properties?: Record<string, JsonSchemaProperty>;\n /** Array item schema (when `type` is \"array\"). */\n items?: JsonSchema;\n /** List of required property names (when `type` is \"object\"). */\n required?: string[];\n /** Named schema definitions reusable via `$ref`. */\n definitions?: Record<string, JsonSchema>;\n}\n\n/**\n * A property definition within a JSON Schema object.\n * Describes one field's type, format, nested structure, and validation constraints.\n */\nexport interface JsonSchemaProperty {\n /** Unique identifier for this property. */\n id?: string;\n /** Property name (key in the parent object). */\n name?: string;\n /** JSON Schema type (\"string\", \"number\", \"integer\", \"boolean\", \"object\", \"array\", \"null\"). */\n type?: string;\n /** Format hint for the type (e.g. \"date-time\", \"guid\", \"email\"). */\n format?: string;\n /** Human-readable description of this property. */\n description?: string;\n /** Array item schema (when `type` is \"array\"). */\n items?: JsonSchema;\n /** Nested object property definitions (when `type` is \"object\"). */\n properties?: Record<string, JsonSchemaProperty>;\n /** List of required property names within this property's own `properties` (when `type` is \"object\"). Matches {@link JsonSchema.required}. */\n required?: string[];\n /** Reference to another schema definition (URI fragment or external reference). */\n $ref?: string;\n}\n\n/**\n * A breadcrumb or navigation-path entry representing one step in a navigable hierarchy.\n * Used by {@link SchemaEditor}, {@link ObjectContentEditor}, and {@link ObjectNavigationalBar}\n * to show the current location within a nested JSON schema or object structure.\n */\nexport interface NavigationItem {\n /** User-facing name of this navigation step (e.g. a property name or \"items\"). */\n name: string;\n /** Ordered list of property keys from the root to this step (e.g. [\"address\", \"street\"]). */\n path: string[];\n}\n\n/**\n * A recursive JSON value type: primitive, array, or object.\n * Represents any valid JSON structure (string | number | boolean | null | Json[] | { [key: string]: Json }).\n */\nexport type Json = string | number | boolean | null | Json[] | { [key: string]: Json };\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"TypeFormat.js","sources":["../../../types/TypeFormat.ts"],"sourcesContent":[null],"names":[],"mappings":"AAmBO,MAAM,oBAAoB,GAAiB;AAC9C,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;AAClC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;AACtC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;AAC3C,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;AACtC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;AACtC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE;AACnC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE;AACxC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE;AACxC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE;AACxC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;AAClC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE;AACvC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE;AACxC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE;;;"}
1
+ {"version":3,"file":"TypeFormat.js","sources":["../../../types/TypeFormat.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A JSON Schema type-and-format pair.\n * Maps a JSON type (e.g. \"string\", \"integer\") to an optional format specifier (e.g. \"guid\", \"date-time\").\n */\nexport interface TypeFormat {\n /** JSON Schema type (\"string\", \"number\", \"integer\", \"boolean\", \"object\", \"array\", \"null\"). */\n jsonType: string;\n /** Optional format specifier refining the type (e.g. \"guid\", \"date-time\", \"int32\", \"double\"). Empty string for no format. */\n format: string;\n}\n\n/**\n * Default JSON type-to-format mapping table.\n * This is a value contract other code can reference or extend, not just an internal default.\n * Consumed by {@link SchemaEditor} and {@link ObjectContentEditor} to populate type/format dropdowns.\n */\nexport const DEFAULT_TYPE_FORMATS: TypeFormat[] = [\n { jsonType: 'string', format: '' },\n { jsonType: 'string', format: 'guid' },\n { jsonType: 'string', format: 'date-time' },\n { jsonType: 'string', format: 'date' },\n { jsonType: 'string', format: 'time' },\n { jsonType: 'integer', format: '' },\n { jsonType: 'integer', format: 'int16' },\n { jsonType: 'integer', format: 'int32' },\n { jsonType: 'integer', format: 'int64' },\n { jsonType: 'number', format: '' },\n { jsonType: 'number', format: 'float' },\n { jsonType: 'number', format: 'double' },\n { jsonType: 'boolean', format: '' },\n];\n"],"names":[],"mappings":"AAmBO,MAAM,oBAAoB,GAAiB;AAC9C,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;AAClC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;AACtC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;AAC3C,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;AACtC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;AACtC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE;AACnC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE;AACxC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE;AACxC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE;AACxC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;AAClC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE;AACvC,IAAA,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE;AACxC,IAAA,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE;;;"}
@@ -3,3 +3,4 @@ export * from './ChangeMeta.js';
3
3
  export * from './JsonSchema.js';
4
4
  export * from './parts.js';
5
5
  export * from './TypeFormat.js';
6
+ //# sourceMappingURL=index.d.ts.map