@cratis/components 3.6.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONFORMANCE.md +18 -0
- package/LICENSE +21 -0
- package/MIGRATION.md +569 -0
- package/README.md +217 -738
- package/THIRD_PARTY_NOTICES.md +35 -0
- package/compat-manifest.json +305 -0
- package/dist/esm/Canvas/Canvas.d.ts +95 -6
- package/dist/esm/Canvas/Canvas.js +116 -189
- package/dist/esm/Canvas/Canvas.js.map +1 -1
- package/dist/esm/Canvas/CanvasControls.d.ts +40 -2
- package/dist/esm/Canvas/CanvasControls.js +25 -13
- package/dist/esm/Canvas/CanvasControls.js.map +1 -1
- package/dist/esm/Canvas/CanvasItem.d.ts +25 -1
- package/dist/esm/Canvas/CanvasItem.d.ts.map +1 -1
- package/dist/esm/Canvas/CanvasItem.js +13 -12
- package/dist/esm/Canvas/CanvasItem.js.map +1 -1
- package/dist/esm/Canvas/CanvasMinimap.d.ts +18 -0
- package/dist/esm/Canvas/CanvasMinimap.d.ts.map +1 -1
- package/dist/esm/Canvas/CanvasMinimap.js +9 -6
- package/dist/esm/Canvas/CanvasMinimap.js.map +1 -1
- package/dist/esm/Canvas/CanvasOverlay.d.ts +5 -2
- package/dist/esm/Canvas/CanvasOverlay.d.ts.map +1 -1
- package/dist/esm/Canvas/CanvasOverlay.js +7 -3
- package/dist/esm/Canvas/CanvasOverlay.js.map +1 -1
- package/dist/esm/Canvas/canvasGesture.d.ts +10 -0
- package/dist/esm/Canvas/canvasGesture.d.ts.map +1 -1
- package/dist/esm/Canvas/canvasGesture.js +0 -12
- package/dist/esm/Canvas/canvasGesture.js.map +1 -1
- package/dist/esm/Canvas/canvasTransformActivity.d.ts +7 -0
- package/dist/esm/Canvas/canvasTransformActivity.d.ts.map +1 -1
- package/dist/esm/Canvas/canvasTransformActivity.js +1 -10
- package/dist/esm/Canvas/canvasTransformActivity.js.map +1 -1
- package/dist/esm/Canvas/index.d.ts +17 -18
- package/dist/esm/Canvas/index.js +21 -31
- package/dist/esm/Canvas/index.js.map +1 -1
- package/dist/esm/Canvas/isBackgroundPointerTarget.js +0 -7
- package/dist/esm/Canvas/isBackgroundPointerTarget.js.map +1 -1
- package/dist/esm/Canvas/isWithinScrollableContent.d.ts +7 -0
- package/dist/esm/Canvas/isWithinScrollableContent.d.ts.map +1 -1
- package/dist/esm/Canvas/isWithinScrollableContent.js +0 -13
- package/dist/esm/Canvas/isWithinScrollableContent.js.map +1 -1
- package/dist/esm/Canvas/panMomentum.d.ts +14 -0
- package/dist/esm/Canvas/panMomentum.d.ts.map +1 -1
- package/dist/esm/Canvas/panMomentum.js +0 -13
- package/dist/esm/Canvas/panMomentum.js.map +1 -1
- package/dist/esm/Canvas/pinchGesture.d.ts +16 -0
- package/dist/esm/Canvas/pinchGesture.d.ts.map +1 -1
- package/dist/esm/Canvas/pinchGesture.js +0 -11
- package/dist/esm/Canvas/pinchGesture.js.map +1 -1
- package/dist/esm/Canvas/selfSuspendingFrameLoop.d.ts +15 -0
- package/dist/esm/Canvas/selfSuspendingFrameLoop.d.ts.map +1 -1
- package/dist/esm/Canvas/selfSuspendingFrameLoop.js +1 -8
- package/dist/esm/Canvas/selfSuspendingFrameLoop.js.map +1 -1
- package/dist/esm/Canvas/shapes/ChatBubble/index.d.ts +1 -32
- package/dist/esm/Canvas/shapes/ChatBubble/index.js +9 -18
- package/dist/esm/Canvas/shapes/Note/Note.d.ts +30 -1
- package/dist/esm/Canvas/shapes/Note/Note.d.ts.map +1 -1
- package/dist/esm/Canvas/shapes/Note/Note.js +26 -36
- package/dist/esm/Canvas/shapes/Note/Note.js.map +1 -1
- package/dist/esm/Canvas/shapes/Note/NoteTextChanged.d.ts +12 -1
- package/dist/esm/Canvas/shapes/Note/NoteTextChanged.d.ts.map +1 -1
- package/dist/esm/Canvas/shapes/Note/NoteTextChanged.js +0 -7
- package/dist/esm/Canvas/shapes/Note/NoteTextChanged.js.map +1 -1
- package/dist/esm/Canvas/shapes/Note/index.d.ts +3 -4
- package/dist/esm/Canvas/shapes/Note/index.js +4 -3
- package/dist/esm/Canvas/shapes/Note/noteFont.d.ts +8 -0
- package/dist/esm/Canvas/shapes/Note/noteFont.d.ts.map +1 -1
- package/dist/esm/Canvas/shapes/Note/noteFont.js +0 -14
- package/dist/esm/Canvas/shapes/Note/noteFont.js.map +1 -1
- package/dist/esm/Canvas/shapes/Region/ItemAddedToRegion.d.ts +14 -1
- package/dist/esm/Canvas/shapes/Region/ItemAddedToRegion.d.ts.map +1 -1
- package/dist/esm/Canvas/shapes/Region/ItemAddedToRegion.js +0 -9
- package/dist/esm/Canvas/shapes/Region/ItemAddedToRegion.js.map +1 -1
- package/dist/esm/Canvas/shapes/Region/ItemRemovedFromRegion.d.ts +13 -1
- package/dist/esm/Canvas/shapes/Region/ItemRemovedFromRegion.d.ts.map +1 -1
- package/dist/esm/Canvas/shapes/Region/ItemRemovedFromRegion.js +0 -8
- package/dist/esm/Canvas/shapes/Region/ItemRemovedFromRegion.js.map +1 -1
- package/dist/esm/Canvas/shapes/Region/Region.d.ts +45 -2
- package/dist/esm/Canvas/shapes/Region/Region.d.ts.map +1 -1
- package/dist/esm/Canvas/shapes/Region/Region.js +31 -49
- package/dist/esm/Canvas/shapes/Region/Region.js.map +1 -1
- package/dist/esm/Canvas/shapes/Region/index.d.ts +6 -7
- package/dist/esm/Canvas/shapes/Region/index.js +6 -5
- package/dist/esm/Canvas/shapes/Region/regionContainment.d.ts +37 -0
- package/dist/esm/Canvas/shapes/Region/regionContainment.d.ts.map +1 -1
- package/dist/esm/Canvas/shapes/Region/regionContainment.js +1 -16
- package/dist/esm/Canvas/shapes/Region/regionContainment.js.map +1 -1
- package/dist/esm/Canvas/useDragSelectionGuard.d.ts +9 -0
- package/dist/esm/Canvas/useDragSelectionGuard.d.ts.map +1 -1
- package/dist/esm/Canvas/useDragSelectionGuard.js +0 -11
- package/dist/esm/Canvas/useDragSelectionGuard.js.map +1 -1
- package/dist/esm/Canvas/zoomMechanism.d.ts +30 -0
- package/dist/esm/Canvas/zoomMechanism.d.ts.map +1 -1
- package/dist/esm/Canvas/zoomMechanism.js +0 -38
- package/dist/esm/Canvas/zoomMechanism.js.map +1 -1
- package/dist/esm/Chat/ChatAuthor.d.ts +12 -2
- package/dist/esm/Chat/ChatAuthor.js +2 -0
- package/dist/esm/Chat/ChatAuthor.js.map +1 -1
- package/dist/esm/Chat/ChatConversation.d.ts +80 -13
- package/dist/esm/Chat/ChatConversation.js +30 -29
- package/dist/esm/Chat/ChatConversation.js.map +1 -1
- package/dist/esm/Chat/ChatIdentifier.d.ts +18 -0
- package/dist/esm/Chat/ChatIdentifier.d.ts.map +1 -1
- package/dist/esm/Chat/ChatIdentifier.js +0 -14
- package/dist/esm/Chat/ChatIdentifier.js.map +1 -1
- package/dist/esm/Chat/ChatMention.d.ts +11 -3
- package/dist/esm/Chat/ChatMention.js +2 -0
- package/dist/esm/Chat/ChatMention.js.map +1 -1
- package/dist/esm/Chat/ChatMessage.d.ts +19 -3
- package/dist/esm/Chat/ChatMessage.js +2 -0
- package/dist/esm/Chat/ChatMessage.js.map +1 -1
- package/dist/esm/Chat/ChatMessageAction.d.ts +19 -2
- package/dist/esm/Chat/ChatMessageAction.js +2 -0
- package/dist/esm/Chat/ChatMessageAction.js.map +1 -1
- package/dist/esm/Chat/ChatMessageBody.d.ts +12 -2
- package/dist/esm/Chat/ChatMessageBody.js +3 -11
- package/dist/esm/Chat/ChatMessageBody.js.map +1 -1
- package/dist/esm/Chat/ChatSidebar.d.ts +112 -13
- package/dist/esm/Chat/ChatSidebar.js +33 -26
- package/dist/esm/Chat/ChatSidebar.js.map +1 -1
- package/dist/esm/Chat/ChatSidebarForObservableQueries.d.ts +29 -5
- package/dist/esm/Chat/ChatSidebarForObservableQueries.js +3 -8
- package/dist/esm/Chat/ChatSidebarForObservableQueries.js.map +1 -1
- package/dist/esm/Chat/ChatTopic.d.ts +13 -2
- package/dist/esm/Chat/ChatTopic.js +2 -0
- package/dist/esm/Chat/ChatTopic.js.map +1 -1
- package/dist/esm/Chat/ChatTopicList.d.ts +58 -8
- package/dist/esm/Chat/ChatTopicList.js +18 -14
- package/dist/esm/Chat/ChatTopicList.js.map +1 -1
- package/dist/esm/Chat/Kit/AnchoredOverlay.d.ts +34 -0
- package/dist/esm/Chat/Kit/AnchoredOverlay.d.ts.map +1 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/AnchoredOverlay.js +9 -13
- package/dist/esm/Chat/Kit/AnchoredOverlay.js.map +1 -0
- package/dist/esm/Chat/Kit/Avatar/PersonAvatarCircle.d.ts +51 -0
- package/dist/esm/Chat/Kit/Avatar/PersonAvatarCircle.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/Avatar/PersonAvatarCircle.js +25 -0
- package/dist/esm/Chat/Kit/Avatar/PersonAvatarCircle.js.map +1 -0
- package/dist/esm/Chat/Kit/Avatar/getAvatarColor.d.ts +9 -0
- package/dist/esm/Chat/Kit/Avatar/getAvatarColor.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/Avatar/getAvatarColor.js +20 -0
- package/dist/esm/Chat/Kit/Avatar/getAvatarColor.js.map +1 -0
- package/dist/esm/Chat/Kit/Avatar/getInitials.d.ts +7 -0
- package/dist/esm/Chat/Kit/Avatar/getInitials.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/Avatar/getInitials.js +4 -0
- package/dist/esm/Chat/Kit/Avatar/getInitials.js.map +1 -0
- package/dist/esm/Chat/Kit/Avatar/index.d.ts +3 -0
- package/dist/esm/Chat/Kit/Avatar/index.js +6 -0
- package/dist/esm/Chat/Kit/Chat.d.ts +106 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Chat.js +8 -16
- package/dist/esm/Chat/Kit/Chat.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatAuthorKind.d.ts +11 -0
- package/dist/esm/Chat/Kit/ChatAuthorKind.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/ChatAuthorKind.js +8 -0
- package/dist/esm/Chat/Kit/ChatAuthorKind.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatBubble.d.ts +38 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/ChatBubble.js +35 -7
- package/dist/esm/Chat/Kit/ChatBubble.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatComposer.d.ts +62 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/ChatComposer.js +26 -29
- package/dist/esm/Chat/Kit/ChatComposer.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatMessage.d.ts +42 -0
- package/dist/esm/Chat/Kit/ChatMessage.js +4 -0
- package/dist/esm/Chat/Kit/ChatMessage.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatMessageAdded.d.ts +17 -0
- package/dist/esm/Chat/Kit/ChatMessageAdded.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/ChatMessageAdded.js +11 -0
- package/dist/esm/Chat/Kit/ChatMessageAdded.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatMessageBubble.d.ts +60 -0
- package/dist/esm/Chat/Kit/ChatMessageBubble.js +41 -0
- package/dist/esm/Chat/Kit/ChatMessageBubble.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatMessageReaction.d.ts +11 -0
- package/dist/esm/Chat/Kit/ChatMessageReaction.js +4 -0
- package/dist/esm/Chat/Kit/ChatMessageReaction.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatMessageReactionUser.d.ts +18 -0
- package/dist/esm/Chat/Kit/ChatMessageReactionUser.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/ChatMessageReactionUser.js +4 -0
- package/dist/esm/Chat/Kit/ChatMessageReactionUser.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatOwnReaction.d.ts +13 -0
- package/dist/esm/Chat/Kit/ChatOwnReaction.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/ChatOwnReaction.js +4 -0
- package/dist/esm/Chat/Kit/ChatOwnReaction.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatTypingAuthor.d.ts +15 -0
- package/dist/esm/Chat/Kit/ChatTypingAuthor.js +4 -0
- package/dist/esm/Chat/Kit/ChatTypingAuthor.js.map +1 -0
- package/dist/esm/Chat/Kit/ChatVariant.d.ts +10 -0
- package/dist/esm/Chat/Kit/ChatVariant.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/ChatVariant.js +8 -0
- package/dist/esm/Chat/Kit/ChatVariant.js.map +1 -0
- package/dist/esm/Chat/Kit/Emoji/EmojiCategory.d.ts +8 -0
- package/dist/esm/Chat/Kit/Emoji/EmojiCategory.js +4 -0
- package/dist/esm/Chat/Kit/Emoji/EmojiCategory.js.map +1 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Emoji/EmojiCategoryKey.d.ts +1 -0
- package/dist/esm/Chat/Kit/Emoji/EmojiCategoryKey.d.ts.map +1 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Emoji/EmojiCategoryKey.js +0 -3
- package/dist/esm/Chat/Kit/Emoji/EmojiCategoryKey.js.map +1 -0
- package/dist/esm/Chat/Kit/Emoji/EmojiMemory.d.ts +12 -0
- package/dist/esm/Chat/Kit/Emoji/EmojiMemory.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/Emoji/EmojiMemory.js +4 -0
- package/dist/esm/Chat/Kit/Emoji/EmojiMemory.js.map +1 -0
- package/dist/esm/Chat/Kit/Emoji/EmojiPicker.d.ts +32 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Emoji/EmojiPicker.js +2 -12
- package/dist/esm/Chat/Kit/Emoji/EmojiPicker.js.map +1 -0
- package/dist/esm/Chat/Kit/Emoji/emojiCatalog.d.ts +13 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Emoji/emojiCatalog.js +0 -13
- package/dist/esm/Chat/Kit/Emoji/emojiCatalog.js.map +1 -0
- package/dist/esm/Chat/Kit/Emoji/index.d.ts +4 -0
- package/dist/esm/Chat/Kit/Emoji/index.js +10 -0
- package/dist/esm/Chat/Kit/Emoji/recentEmojis.d.ts +23 -0
- package/dist/esm/Chat/Kit/Emoji/recentEmojis.js +35 -0
- package/dist/esm/Chat/Kit/Emoji/recentEmojis.js.map +1 -0
- package/dist/esm/Chat/Kit/FailedReply.d.ts +57 -0
- package/dist/esm/Chat/Kit/FailedReply.js +22 -0
- package/dist/esm/Chat/Kit/FailedReply.js.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/MentionCandidate.d.ts +17 -0
- package/dist/esm/Chat/Kit/Mentions/MentionCandidate.js +4 -0
- package/dist/esm/Chat/Kit/Mentions/MentionCandidate.js.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/MentionQuery.d.ts +10 -0
- package/dist/esm/Chat/Kit/Mentions/MentionQuery.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/MentionQuery.js +4 -0
- package/dist/esm/Chat/Kit/Mentions/MentionQuery.js.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/MentionSuggestions.d.ts +25 -0
- package/dist/esm/Chat/Kit/Mentions/MentionSuggestions.js +8 -0
- package/dist/esm/Chat/Kit/Mentions/MentionSuggestions.js.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/activeMentionQuery.d.ts +8 -0
- package/dist/esm/Chat/Kit/Mentions/activeMentionQuery.js +20 -0
- package/dist/esm/Chat/Kit/Mentions/activeMentionQuery.js.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/applyMention.d.ts +19 -0
- package/dist/esm/Chat/Kit/Mentions/applyMention.js +11 -0
- package/dist/esm/Chat/Kit/Mentions/applyMention.js.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/extractMentions.d.ts +12 -0
- package/dist/esm/Chat/Kit/Mentions/extractMentions.d.ts.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/extractMentions.js +14 -0
- package/dist/esm/Chat/Kit/Mentions/extractMentions.js.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/findMentionRanges.d.ts +27 -0
- package/dist/esm/Chat/Kit/Mentions/findMentionRanges.d.ts.map +1 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Mentions/findMentionRanges.js +2 -15
- package/dist/esm/Chat/Kit/Mentions/findMentionRanges.js.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/index.d.ts +6 -0
- package/dist/esm/Chat/Kit/Mentions/index.js +11 -0
- package/dist/esm/Chat/Kit/Mentions/matchCandidates.d.ts +8 -0
- package/dist/esm/Chat/Kit/Mentions/matchCandidates.js +13 -0
- package/dist/esm/Chat/Kit/Mentions/matchCandidates.js.map +1 -0
- package/dist/esm/Chat/Kit/Mentions/mentionSegments.d.ts +23 -0
- package/dist/esm/Chat/Kit/Mentions/mentionSegments.d.ts.map +1 -0
- package/dist/esm/{Canvas/shapes/ChatBubble → Chat/Kit}/Mentions/mentionSegments.js +4 -10
- package/dist/esm/Chat/Kit/Mentions/mentionSegments.js.map +1 -0
- package/dist/esm/Chat/Kit/MessageReactions.d.ts +18 -0
- package/dist/esm/Chat/Kit/MessageReactions.js +19 -0
- package/dist/esm/Chat/Kit/MessageReactions.js.map +1 -0
- package/dist/esm/Chat/Kit/ReactionPicker.d.ts +55 -0
- package/dist/esm/Chat/Kit/ReactionPicker.js +38 -0
- package/dist/esm/Chat/Kit/ReactionPicker.js.map +1 -0
- package/dist/esm/Chat/Kit/TypingIndicator.d.ts +21 -0
- package/dist/esm/Chat/Kit/TypingIndicator.js +13 -0
- package/dist/esm/Chat/Kit/TypingIndicator.js.map +1 -0
- package/dist/esm/Chat/Kit/findOwnReaction.d.ts +12 -0
- package/dist/esm/Chat/Kit/findOwnReaction.js +9 -0
- package/dist/esm/Chat/Kit/findOwnReaction.js.map +1 -0
- package/dist/esm/Chat/Kit/index.d.ts +30 -0
- package/dist/esm/Chat/Kit/index.js +21 -0
- package/dist/esm/{Canvas/shapes/ChatBubble/reactionsExcludingUser.js → Chat/Kit/reactionsExcludingUser.d.ts} +3 -8
- package/dist/esm/Chat/Kit/reactionsExcludingUser.js +6 -0
- package/dist/esm/Chat/Kit/reactionsExcludingUser.js.map +1 -0
- package/dist/esm/Chat/index.d.ts +28 -29
- package/dist/esm/Chat/index.js +4 -7
- package/dist/esm/Chat/index.js.map +1 -1
- package/dist/esm/Chat/isTopicUnnamed.d.ts +9 -2
- package/dist/esm/Chat/isTopicUnnamed.js +0 -10
- package/dist/esm/Chat/isTopicUnnamed.js.map +1 -1
- package/dist/esm/Chat/relativeTimestamp.d.ts +12 -0
- package/dist/esm/Chat/relativeTimestamp.d.ts.map +1 -1
- package/dist/esm/Chat/relativeTimestamp.js +0 -10
- package/dist/esm/Chat/relativeTimestamp.js.map +1 -1
- package/dist/esm/Chat/shouldRequestTopicName.d.ts +9 -0
- package/dist/esm/Chat/shouldRequestTopicName.d.ts.map +1 -1
- package/dist/esm/Chat/shouldRequestTopicName.js +0 -11
- package/dist/esm/Chat/shouldRequestTopicName.js.map +1 -1
- package/dist/esm/Chat/topicsByActivity.d.ts +7 -2
- package/dist/esm/Chat/topicsByActivity.js +0 -14
- package/dist/esm/Chat/topicsByActivity.js.map +1 -1
- package/dist/esm/CommandDialog/CommandDialog.d.ts +42 -4
- package/dist/esm/CommandDialog/CommandDialog.js +16 -129
- package/dist/esm/CommandDialog/CommandDialog.js.map +1 -1
- package/dist/esm/CommandDialog/CommandStepper.d.ts +131 -25
- package/dist/esm/CommandDialog/CommandStepper.js +6 -187
- package/dist/esm/CommandDialog/CommandStepper.js.map +1 -1
- package/dist/esm/CommandDialog/CommandStepperContent.d.ts +45 -0
- package/dist/esm/CommandDialog/CommandStepperContent.js +145 -0
- package/dist/esm/CommandDialog/CommandStepperContent.js.map +1 -0
- package/dist/esm/CommandDialog/StepperCommandDialog.d.ts +77 -4
- package/dist/esm/CommandDialog/StepperCommandDialog.js +39 -131
- package/dist/esm/CommandDialog/StepperCommandDialog.js.map +1 -1
- package/dist/esm/CommandDialog/StepperPanel.d.ts +29 -0
- package/dist/esm/CommandDialog/StepperPanel.d.ts.map +1 -1
- package/dist/esm/CommandDialog/StepperPanel.js +0 -25
- package/dist/esm/CommandDialog/StepperPanel.js.map +1 -1
- package/dist/esm/CommandDialog/applyBeforeExecute.d.ts +32 -0
- package/dist/esm/CommandDialog/applyBeforeExecute.d.ts.map +1 -1
- package/dist/esm/CommandDialog/applyBeforeExecute.js +0 -21
- package/dist/esm/CommandDialog/applyBeforeExecute.js.map +1 -1
- package/dist/esm/CommandDialog/index.d.ts +5 -6
- package/dist/esm/CommandDialog/index.js +1 -4
- package/dist/esm/CommandDialog/index.js.map +1 -1
- package/dist/esm/CommandDialog/stepChildren.d.ts +19 -0
- package/dist/esm/CommandDialog/stepChildren.d.ts.map +1 -1
- package/dist/esm/CommandDialog/stepChildren.js +0 -21
- package/dist/esm/CommandDialog/stepChildren.js.map +1 -1
- package/dist/esm/CommandForm/AutoCommandForm.d.ts +25 -3
- package/dist/esm/CommandForm/AutoCommandForm.d.ts.map +1 -1
- package/dist/esm/CommandForm/AutoCommandForm.js +8 -20
- package/dist/esm/CommandForm/AutoCommandForm.js.map +1 -1
- package/dist/esm/CommandForm/FieldTypeProvider.d.ts +13 -0
- package/dist/esm/CommandForm/FieldTypeProvider.d.ts.map +1 -1
- package/dist/esm/CommandForm/FieldTypeProvider.js +2 -0
- package/dist/esm/CommandForm/FieldTypeProvider.js.map +1 -1
- package/dist/esm/CommandForm/commandFormMarkers.d.ts +58 -0
- package/dist/esm/CommandForm/commandFormMarkers.d.ts.map +1 -1
- package/dist/esm/CommandForm/commandFormMarkers.js +0 -44
- package/dist/esm/CommandForm/commandFormMarkers.js.map +1 -1
- package/dist/esm/CommandForm/defaultFieldTypeProviders.d.ts +5 -0
- package/dist/esm/CommandForm/defaultFieldTypeProviders.d.ts.map +1 -1
- package/dist/esm/CommandForm/defaultFieldTypeProviders.js +16 -11
- package/dist/esm/CommandForm/defaultFieldTypeProviders.js.map +1 -1
- package/dist/esm/CommandForm/fieldTypeProviderRegistry.d.ts +18 -2
- package/dist/esm/CommandForm/fieldTypeProviderRegistry.js +0 -19
- package/dist/esm/CommandForm/fieldTypeProviderRegistry.js.map +1 -1
- package/dist/esm/CommandForm/fields/CalendarField.d.ts +37 -6
- package/dist/esm/CommandForm/fields/CalendarField.js +10 -18
- package/dist/esm/CommandForm/fields/CalendarField.js.map +1 -1
- package/dist/esm/CommandForm/fields/CheckboxField.d.ts +18 -7
- package/dist/esm/CommandForm/fields/CheckboxField.js +21 -15
- package/dist/esm/CommandForm/fields/CheckboxField.js.map +1 -1
- package/dist/esm/CommandForm/fields/ChipsField.d.ts +20 -8
- package/dist/esm/CommandForm/fields/ChipsField.js +50 -19
- package/dist/esm/CommandForm/fields/ChipsField.js.map +1 -1
- package/dist/esm/CommandForm/fields/ColorPickerField.d.ts +16 -7
- package/dist/esm/CommandForm/fields/ColorPickerField.js +21 -33
- package/dist/esm/CommandForm/fields/ColorPickerField.js.map +1 -1
- package/dist/esm/CommandForm/fields/DropdownField.d.ts +34 -4
- package/dist/esm/CommandForm/fields/DropdownField.js +13 -18
- package/dist/esm/CommandForm/fields/DropdownField.js.map +1 -1
- package/dist/esm/CommandForm/fields/InputTextField.d.ts +12 -7
- package/dist/esm/CommandForm/fields/InputTextField.js +17 -46
- package/dist/esm/CommandForm/fields/InputTextField.js.map +1 -1
- package/dist/esm/CommandForm/fields/MultiSelectField.d.ts +39 -4
- package/dist/esm/CommandForm/fields/MultiSelectField.js +13 -15
- package/dist/esm/CommandForm/fields/MultiSelectField.js.map +1 -1
- package/dist/esm/CommandForm/fields/NumberField.d.ts +14 -7
- package/dist/esm/CommandForm/fields/NumberField.js +21 -16
- package/dist/esm/CommandForm/fields/NumberField.js.map +1 -1
- package/dist/esm/CommandForm/fields/PasswordField.d.ts +18 -7
- package/dist/esm/CommandForm/fields/PasswordField.js +26 -15
- package/dist/esm/CommandForm/fields/PasswordField.js.map +1 -1
- package/dist/esm/CommandForm/fields/RadioButtonField.d.ts +20 -7
- package/dist/esm/CommandForm/fields/RadioButtonField.js +22 -17
- package/dist/esm/CommandForm/fields/RadioButtonField.js.map +1 -1
- package/dist/esm/CommandForm/fields/RadioGroupField.d.ts +22 -7
- package/dist/esm/CommandForm/fields/RadioGroupField.js +44 -33
- package/dist/esm/CommandForm/fields/RadioGroupField.js.map +1 -1
- package/dist/esm/CommandForm/fields/RatingField.d.ts +20 -7
- package/dist/esm/CommandForm/fields/RatingField.js +43 -14
- package/dist/esm/CommandForm/fields/RatingField.js.map +1 -1
- package/dist/esm/CommandForm/fields/SliderField.d.ts +16 -7
- package/dist/esm/CommandForm/fields/SliderField.js +20 -14
- package/dist/esm/CommandForm/fields/SliderField.js.map +1 -1
- package/dist/esm/CommandForm/fields/TextAreaField.d.ts +12 -7
- package/dist/esm/CommandForm/fields/TextAreaField.js +18 -17
- package/dist/esm/CommandForm/fields/TextAreaField.js.map +1 -1
- package/dist/esm/CommandForm/fields/ToggleSwitchField.d.ts +18 -7
- package/dist/esm/CommandForm/fields/ToggleSwitchField.js +18 -15
- package/dist/esm/CommandForm/fields/ToggleSwitchField.js.map +1 -1
- package/dist/esm/CommandForm/fields/chipValues.d.ts +6 -0
- package/dist/esm/CommandForm/fields/chipValues.d.ts.map +1 -0
- package/dist/esm/CommandForm/fields/chipValues.js +17 -0
- package/dist/esm/CommandForm/fields/chipValues.js.map +1 -0
- package/dist/esm/CommandForm/fields/fieldAccessibility.d.ts +33 -0
- package/dist/esm/CommandForm/fields/fieldAccessibility.d.ts.map +1 -0
- package/dist/esm/CommandForm/fields/fieldAccessibility.js +24 -0
- package/dist/esm/CommandForm/fields/fieldAccessibility.js.map +1 -0
- package/dist/esm/CommandForm/fields/fieldValueFromEvent.d.ts +16 -0
- package/dist/esm/CommandForm/fields/fieldValueFromEvent.d.ts.map +1 -0
- package/dist/esm/CommandForm/fields/fieldValueFromEvent.js +20 -0
- package/dist/esm/CommandForm/fields/fieldValueFromEvent.js.map +1 -0
- package/dist/esm/CommandForm/fields/index.d.ts +15 -16
- package/dist/esm/CommandForm/fields/index.js +17 -16
- package/dist/esm/CommandForm/index.d.ts +5 -6
- package/dist/esm/CommandForm/index.js +0 -3
- package/dist/esm/CommandForm/index.js.map +1 -1
- package/dist/esm/Common/ActionMenubar.d.ts +28 -9
- package/dist/esm/Common/ActionMenubar.js +16 -15
- package/dist/esm/Common/ActionMenubar.js.map +1 -1
- package/dist/esm/Common/Button.d.ts +75 -8
- package/dist/esm/Common/Button.js +13 -24
- package/dist/esm/Common/Button.js.map +1 -1
- package/dist/esm/Common/ButtonImplementation.d.ts +3 -0
- package/dist/esm/Common/ButtonImplementation.js +65 -0
- package/dist/esm/Common/ButtonImplementation.js.map +1 -0
- package/dist/esm/Common/Checkbox.d.ts +34 -0
- package/dist/esm/Common/Checkbox.js +17 -0
- package/dist/esm/Common/Checkbox.js.map +1 -0
- package/dist/esm/Common/CheckboxImplementation.d.ts +3 -0
- package/dist/esm/Common/CheckboxImplementation.js +44 -0
- package/dist/esm/Common/CheckboxImplementation.js.map +1 -0
- package/dist/esm/Common/CratisComponentsContext.d.ts +4 -0
- package/dist/esm/Common/CratisComponentsContext.js +8 -0
- package/dist/esm/Common/CratisComponentsContext.js.map +1 -0
- package/dist/esm/Common/CratisComponentsDefaults.d.ts +3 -0
- package/dist/esm/Common/CratisComponentsDefaults.js +58 -0
- package/dist/esm/Common/CratisComponentsDefaults.js.map +1 -0
- package/dist/esm/Common/CratisComponentsProvider.d.ts +178 -8
- package/dist/esm/Common/CratisComponentsProvider.js +63 -50
- package/dist/esm/Common/CratisComponentsProvider.js.map +1 -1
- package/dist/esm/Common/DatePickerInput.d.ts +98 -9
- package/dist/esm/Common/DatePickerInput.js +11 -29
- package/dist/esm/Common/DatePickerInput.js.map +1 -1
- package/dist/esm/Common/DatePickerInputImplementation.d.ts +6 -0
- package/dist/esm/Common/DatePickerInputImplementation.js +86 -0
- package/dist/esm/Common/DatePickerInputImplementation.js.map +1 -0
- package/dist/esm/Common/ErrorBoundary.d.ts +48 -1
- package/dist/esm/Common/ErrorBoundary.d.ts.map +1 -1
- package/dist/esm/Common/ErrorBoundary.js +1 -33
- package/dist/esm/Common/ErrorBoundary.js.map +1 -1
- package/dist/esm/Common/FormElement.d.ts +33 -0
- package/dist/esm/Common/FormElement.d.ts.map +1 -1
- package/dist/esm/Common/FormElement.js +1 -13
- package/dist/esm/Common/FormElement.js.map +1 -1
- package/dist/esm/Common/Icon.d.ts +12 -0
- package/dist/esm/Common/Icon.d.ts.map +1 -1
- package/dist/esm/Common/Icon.js +1 -15
- package/dist/esm/Common/Icon.js.map +1 -1
- package/dist/esm/Common/IconButton.d.ts +15 -0
- package/dist/esm/Common/IconButton.js +17 -0
- package/dist/esm/Common/IconButton.js.map +1 -0
- package/dist/esm/Common/IconButtonImplementation.d.ts +3 -0
- package/dist/esm/Common/IconButtonImplementation.js +10 -0
- package/dist/esm/Common/IconButtonImplementation.js.map +1 -0
- package/dist/esm/Common/Page.d.ts +34 -0
- package/dist/esm/Common/Page.d.ts.map +1 -1
- package/dist/esm/Common/Page.js +1 -14
- package/dist/esm/Common/Page.js.map +1 -1
- package/dist/esm/Common/Radio.d.ts +38 -0
- package/dist/esm/Common/Radio.js +17 -0
- package/dist/esm/Common/Radio.js.map +1 -0
- package/dist/esm/Common/RadioImplementation.d.ts +3 -0
- package/dist/esm/Common/RadioImplementation.js +46 -0
- package/dist/esm/Common/RadioImplementation.js.map +1 -0
- package/dist/esm/Common/Surface.d.ts +18 -0
- package/dist/esm/Common/Surface.d.ts.map +1 -0
- package/dist/esm/Common/Surface.js +17 -0
- package/dist/esm/Common/Surface.js.map +1 -0
- package/dist/esm/Common/SurfaceImplementation.d.ts +3 -0
- package/dist/esm/Common/SurfaceImplementation.js +19 -0
- package/dist/esm/Common/SurfaceImplementation.js.map +1 -0
- package/dist/esm/Common/Switch.d.ts +34 -0
- package/dist/esm/Common/Switch.js +17 -0
- package/dist/esm/Common/Switch.js.map +1 -0
- package/dist/esm/Common/SwitchImplementation.d.ts +3 -0
- package/dist/esm/Common/SwitchImplementation.js +46 -0
- package/dist/esm/Common/SwitchImplementation.js.map +1 -0
- package/dist/esm/Common/TextArea.d.ts +18 -0
- package/dist/esm/Common/TextArea.js +17 -0
- package/dist/esm/Common/TextArea.js.map +1 -0
- package/dist/esm/Common/TextAreaImplementation.d.ts +3 -0
- package/dist/esm/Common/TextAreaImplementation.js +21 -0
- package/dist/esm/Common/TextAreaImplementation.js.map +1 -0
- package/dist/esm/Common/TextInput.d.ts +22 -0
- package/dist/esm/Common/TextInput.js +17 -0
- package/dist/esm/Common/TextInput.js.map +1 -0
- package/dist/esm/Common/TextInputImplementation.d.ts +3 -0
- package/dist/esm/Common/TextInputImplementation.js +21 -0
- package/dist/esm/Common/TextInputImplementation.js.map +1 -0
- package/dist/esm/Common/Tooltip.d.ts +18 -3
- package/dist/esm/Common/Tooltip.d.ts.map +1 -1
- package/dist/esm/Common/Tooltip.js +11 -26
- package/dist/esm/Common/Tooltip.js.map +1 -1
- package/dist/esm/Common/TooltipImplementation.d.ts +3 -0
- package/dist/esm/Common/TooltipImplementation.js +22 -0
- package/dist/esm/Common/TooltipImplementation.js.map +1 -0
- package/dist/esm/Common/index.d.ts +17 -11
- package/dist/esm/Common/index.js +10 -4
- package/dist/esm/Common/index.js.map +1 -1
- package/dist/esm/{Canvas/messaging/useOptionalMessenger.js → Common/messaging/useOptionalMessenger.d.ts} +10 -15
- package/dist/esm/Common/messaging/useOptionalMessenger.d.ts.map +1 -0
- package/dist/esm/Common/messaging/useOptionalMessenger.js +13 -0
- package/dist/esm/Common/messaging/useOptionalMessenger.js.map +1 -0
- package/dist/esm/Common/normalizeIconClass.d.ts +11 -1
- package/dist/esm/Common/normalizeIconClass.d.ts.map +1 -1
- package/dist/esm/Common/normalizeIconClass.js +1 -41
- package/dist/esm/Common/normalizeIconClass.js.map +1 -1
- package/dist/esm/Common/reactAriaProps.d.ts +7 -0
- package/dist/esm/Common/reactAriaProps.d.ts.map +1 -0
- package/dist/esm/Common/reactAriaProps.js +6 -0
- package/dist/esm/Common/reactAriaProps.js.map +1 -0
- package/dist/esm/Common/useNativeCheckedState.d.ts +8 -0
- package/dist/esm/Common/useNativeCheckedState.d.ts.map +1 -0
- package/dist/esm/Common/useNativeCheckedState.js +43 -0
- package/dist/esm/Common/useNativeCheckedState.js.map +1 -0
- package/dist/esm/DataPage/DataPage.d.ts +263 -14
- package/dist/esm/DataPage/DataPage.js +18 -156
- package/dist/esm/DataPage/DataPage.js.map +1 -1
- package/dist/esm/DataPage/DataPageLayout.d.ts +14 -0
- package/dist/esm/DataPage/DataPageLayout.d.ts.map +1 -1
- package/dist/esm/DataPage/DataPageLayout.js +0 -20
- package/dist/esm/DataPage/DataPageLayout.js.map +1 -1
- package/dist/esm/DataPage/index.d.ts +2 -3
- package/dist/esm/DataPage/index.js +0 -3
- package/dist/esm/DataPage/index.js.map +1 -1
- package/dist/esm/DataTables/Column.d.ts +44 -4
- package/dist/esm/DataTables/Column.js +0 -19
- package/dist/esm/DataTables/Column.js.map +1 -1
- package/dist/esm/DataTables/ColumnFilterMenu.d.ts +77 -6
- package/dist/esm/DataTables/ColumnFilterMenu.js +127 -60
- package/dist/esm/DataTables/ColumnFilterMenu.js.map +1 -1
- package/dist/esm/DataTables/DataTableCore.d.ts +67 -8
- package/dist/esm/DataTables/DataTableCore.js +232 -57
- package/dist/esm/DataTables/DataTableCore.js.map +1 -1
- package/dist/esm/DataTables/DataTableFilterMatcherRegistry.d.ts +16 -2
- package/dist/esm/DataTables/DataTableFilterMatcherRegistry.js +2 -18
- package/dist/esm/DataTables/DataTableFilterMatcherRegistry.js.map +1 -1
- package/dist/esm/DataTables/DataTableFilterMeta.d.ts +27 -1
- package/dist/esm/DataTables/DataTableFilterMeta.d.ts.map +1 -1
- package/dist/esm/DataTables/DataTableFilterMeta.js +0 -3
- package/dist/esm/DataTables/DataTableFilterMeta.js.map +1 -1
- package/dist/esm/DataTables/DataTableForObservableQuery.d.ts +98 -7
- package/dist/esm/DataTables/DataTableForObservableQuery.js +2 -51
- package/dist/esm/DataTables/DataTableForObservableQuery.js.map +1 -1
- package/dist/esm/DataTables/DataTableForQuery.d.ts +111 -7
- package/dist/esm/DataTables/DataTableForQuery.js +2 -47
- package/dist/esm/DataTables/DataTableForQuery.js.map +1 -1
- package/dist/esm/DataTables/DataTableSelectionChangeEvent.d.ts +10 -0
- package/dist/esm/DataTables/DataTableSelectionChangeEvent.d.ts.map +1 -1
- package/dist/esm/DataTables/DataTableSelectionChangeEvent.js +2 -0
- package/dist/esm/DataTables/DataTableSelectionChangeEvent.js.map +1 -1
- package/dist/esm/DataTables/TablePaginator.d.ts +38 -2
- package/dist/esm/DataTables/TablePaginator.js +11 -26
- package/dist/esm/DataTables/TablePaginator.js.map +1 -1
- package/dist/esm/DataTables/TablePaginatorImplementation.d.ts +8 -0
- package/dist/esm/DataTables/TablePaginatorImplementation.js +35 -0
- package/dist/esm/DataTables/TablePaginatorImplementation.js.map +1 -0
- package/dist/esm/DataTables/index.d.ts +9 -9
- package/dist/esm/DataTables/index.js +2 -4
- package/dist/esm/DataTables/index.js.map +1 -1
- package/dist/esm/DataTables/paginatorRange.d.ts +9 -0
- package/dist/esm/DataTables/paginatorRange.d.ts.map +1 -1
- package/dist/esm/DataTables/paginatorRange.js +0 -11
- package/dist/esm/DataTables/paginatorRange.js.map +1 -1
- package/dist/esm/DataTables/selectionKeys.d.ts +4 -1
- package/dist/esm/DataTables/selectionKeys.d.ts.map +1 -1
- package/dist/esm/DataTables/selectionKeys.js +7 -23
- package/dist/esm/DataTables/selectionKeys.js.map +1 -1
- package/dist/esm/Dialogs/BusyIndicatorDialog.d.ts +50 -0
- package/dist/esm/Dialogs/BusyIndicatorDialog.d.ts.map +1 -1
- package/dist/esm/Dialogs/BusyIndicatorDialog.js +1 -51
- package/dist/esm/Dialogs/BusyIndicatorDialog.js.map +1 -1
- package/dist/esm/Dialogs/ConfirmationDialog.d.ts +25 -0
- package/dist/esm/Dialogs/ConfirmationDialog.d.ts.map +1 -1
- package/dist/esm/Dialogs/ConfirmationDialog.js +1 -1
- package/dist/esm/Dialogs/ConfirmationDialog.js.map +1 -1
- package/dist/esm/Dialogs/Dialog.d.ts +72 -8
- package/dist/esm/Dialogs/Dialog.js +11 -216
- package/dist/esm/Dialogs/Dialog.js.map +1 -1
- package/dist/esm/Dialogs/DialogImplementation.d.ts +6 -0
- package/dist/esm/Dialogs/DialogImplementation.js +122 -0
- package/dist/esm/Dialogs/DialogImplementation.js.map +1 -0
- package/dist/esm/Dialogs/DialogInitialFocus.d.ts +38 -0
- package/dist/esm/Dialogs/DialogInitialFocus.d.ts.map +1 -1
- package/dist/esm/Dialogs/DialogInitialFocus.js +0 -40
- package/dist/esm/Dialogs/DialogInitialFocus.js.map +1 -1
- package/dist/esm/Dialogs/index.d.ts +4 -5
- package/dist/esm/Dialogs/index.js +0 -3
- package/dist/esm/Dialogs/index.js.map +1 -1
- package/dist/esm/Display/Avatar.d.ts +11 -3
- package/dist/esm/Display/Avatar.d.ts.map +1 -1
- package/dist/esm/Display/Avatar.js +1 -8
- package/dist/esm/Display/Avatar.js.map +1 -1
- package/dist/esm/Display/Badge.d.ts +13 -4
- package/dist/esm/Display/Badge.d.ts.map +1 -1
- package/dist/esm/Display/Badge.js +1 -6
- package/dist/esm/Display/Badge.js.map +1 -1
- package/dist/esm/Display/Chip.d.ts +11 -3
- package/dist/esm/Display/Chip.d.ts.map +1 -1
- package/dist/esm/Display/Chip.js +1 -6
- package/dist/esm/Display/Chip.js.map +1 -1
- package/dist/esm/Display/Message.d.ts +13 -5
- package/dist/esm/Display/Message.d.ts.map +1 -1
- package/dist/esm/Display/Message.js +9 -21
- package/dist/esm/Display/Message.js.map +1 -1
- package/dist/esm/Display/ProgressBar.d.ts +11 -1
- package/dist/esm/Display/ProgressBar.d.ts.map +1 -1
- package/dist/esm/Display/ProgressBar.js +12 -8
- package/dist/esm/Display/ProgressBar.js.map +1 -1
- package/dist/esm/Display/ProgressBarImplementation.d.ts +3 -0
- package/dist/esm/Display/ProgressBarImplementation.js +11 -0
- package/dist/esm/Display/ProgressBarImplementation.js.map +1 -0
- package/dist/esm/Display/ProgressSpinner.d.ts +8 -3
- package/dist/esm/Display/ProgressSpinner.d.ts.map +1 -1
- package/dist/esm/Display/ProgressSpinner.js +2 -9
- package/dist/esm/Display/ProgressSpinner.js.map +1 -1
- package/dist/esm/Display/Skeleton.d.ts +8 -1
- package/dist/esm/Display/Skeleton.d.ts.map +1 -1
- package/dist/esm/Display/Skeleton.js +5 -13
- package/dist/esm/Display/Skeleton.js.map +1 -1
- package/dist/esm/Display/Tag.d.ts +17 -5
- package/dist/esm/Display/Tag.d.ts.map +1 -1
- package/dist/esm/Display/Tag.js +3 -8
- package/dist/esm/Display/Tag.js.map +1 -1
- package/dist/esm/Display/index.d.ts +8 -9
- package/dist/esm/Display/index.js +0 -3
- package/dist/esm/Display/index.js.map +1 -1
- package/dist/esm/Dropdown/Dropdown.d.ts +88 -12
- package/dist/esm/Dropdown/Dropdown.js +11 -33
- package/dist/esm/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/Dropdown/DropdownImplementation.d.ts +7 -0
- package/dist/esm/Dropdown/DropdownImplementation.js +156 -0
- package/dist/esm/Dropdown/DropdownImplementation.js.map +1 -0
- package/dist/esm/Dropdown/index.d.ts +1 -2
- package/dist/esm/Dropdown/index.js +0 -3
- package/dist/esm/Dropdown/index.js.map +1 -1
- package/dist/esm/Filter/FilterEditor.d.ts +28 -2
- package/dist/esm/Filter/FilterEditor.js +0 -20
- package/dist/esm/Filter/FilterEditor.js.map +1 -1
- package/dist/esm/Filter/FilterEditorProps.d.ts +8 -0
- package/dist/esm/Filter/FilterEditorProps.js +4 -0
- package/dist/esm/Filter/FilterEditorProps.js.map +1 -0
- package/dist/esm/Filter/FilterPanel.d.ts +46 -3
- package/dist/esm/Filter/FilterPanel.js +63 -33
- package/dist/esm/Filter/FilterPanel.js.map +1 -1
- package/dist/esm/Filter/RangeHistogramFilter.d.ts +61 -4
- package/dist/esm/Filter/RangeHistogramFilter.js +49 -8
- package/dist/esm/Filter/RangeHistogramFilter.js.map +1 -1
- package/dist/esm/Filter/index.d.ts +11 -12
- package/dist/esm/Filter/index.js +1 -4
- package/dist/esm/Filter/index.js.map +1 -1
- package/dist/esm/Filter/types.d.ts +32 -4
- package/dist/esm/Filter/types.d.ts.map +1 -1
- package/dist/esm/Filter/types.js +2 -0
- package/dist/esm/Filter/types.js.map +1 -1
- package/dist/esm/Filter/useFilterState.d.ts +25 -2
- package/dist/esm/Filter/useFilterState.js +1 -13
- package/dist/esm/Filter/useFilterState.js.map +1 -1
- package/dist/esm/Filter/utils.d.ts +39 -2
- package/dist/esm/Filter/utils.js +34 -12
- package/dist/esm/Filter/utils.js.map +1 -1
- package/dist/esm/Notifications/Toaster.d.ts +30 -6
- package/dist/esm/Notifications/Toaster.d.ts.map +1 -1
- package/dist/esm/Notifications/Toaster.js +42 -42
- package/dist/esm/Notifications/Toaster.js.map +1 -1
- package/dist/esm/Notifications/index.d.ts +3 -4
- package/dist/esm/Notifications/index.js +1 -4
- package/dist/esm/Notifications/index.js.map +1 -1
- package/dist/esm/Notifications/toast.d.ts +102 -0
- package/dist/esm/Notifications/toast.d.ts.map +1 -1
- package/dist/esm/Notifications/toast.js +73 -67
- package/dist/esm/Notifications/toast.js.map +1 -1
- package/dist/esm/Notifications/toastCommandResult.d.ts +33 -0
- package/dist/esm/Notifications/toastCommandResult.d.ts.map +1 -1
- package/dist/esm/Notifications/toastCommandResult.js +0 -28
- package/dist/esm/Notifications/toastCommandResult.js.map +1 -1
- package/dist/esm/ObjectContentEditor/ObjectContentEditor.d.ts +45 -4
- package/dist/esm/ObjectContentEditor/ObjectContentEditor.js +96 -47
- package/dist/esm/ObjectContentEditor/ObjectContentEditor.js.map +1 -1
- package/dist/esm/ObjectContentEditor/index.d.ts +1 -2
- package/dist/esm/ObjectContentEditor/index.js +0 -3
- package/dist/esm/ObjectContentEditor/index.js.map +1 -1
- package/dist/esm/ObjectContentEditor/objectHelpers.d.ts +5 -2
- package/dist/esm/ObjectContentEditor/objectHelpers.js +0 -6
- package/dist/esm/ObjectContentEditor/objectHelpers.js.map +1 -1
- package/dist/esm/ObjectNavigationalBar/ObjectNavigationalBar.d.ts +23 -1
- package/dist/esm/ObjectNavigationalBar/ObjectNavigationalBar.d.ts.map +1 -1
- package/dist/esm/ObjectNavigationalBar/ObjectNavigationalBar.js +18 -14
- package/dist/esm/ObjectNavigationalBar/ObjectNavigationalBar.js.map +1 -1
- package/dist/esm/ObjectNavigationalBar/breadcrumbHelpers.d.ts +4 -0
- package/dist/esm/ObjectNavigationalBar/breadcrumbHelpers.d.ts.map +1 -1
- package/dist/esm/ObjectNavigationalBar/breadcrumbHelpers.js +0 -6
- package/dist/esm/ObjectNavigationalBar/breadcrumbHelpers.js.map +1 -1
- package/dist/esm/ObjectNavigationalBar/index.d.ts +1 -2
- package/dist/esm/ObjectNavigationalBar/index.js +0 -3
- package/dist/esm/ObjectNavigationalBar/index.js.map +1 -1
- package/dist/esm/PatrickHand-OFL.txt +93 -0
- package/dist/esm/PivotViewer/PivotViewer.d.ts +20 -2
- package/dist/esm/PivotViewer/PivotViewer.js +71 -103
- package/dist/esm/PivotViewer/PivotViewer.js.map +1 -1
- package/dist/esm/PivotViewer/components/AxisLabels.d.ts +1 -2
- package/dist/esm/PivotViewer/components/AxisLabels.js +1 -5
- package/dist/esm/PivotViewer/components/AxisLabels.js.map +1 -1
- package/dist/esm/PivotViewer/components/DetailPanel.d.ts +1 -0
- package/dist/esm/PivotViewer/components/DetailPanel.d.ts.map +1 -1
- package/dist/esm/PivotViewer/components/FilterPanel.d.ts +2 -3
- package/dist/esm/PivotViewer/components/FilterPanel.js +0 -1
- package/dist/esm/PivotViewer/components/FilterPanel.js.map +1 -1
- package/dist/esm/PivotViewer/components/FilterPanelContainer.d.ts +1 -2
- package/dist/esm/PivotViewer/components/PivotCanvas.d.ts +22 -4
- package/dist/esm/PivotViewer/components/PivotCanvas.js +70 -168
- package/dist/esm/PivotViewer/components/PivotCanvas.js.map +1 -1
- package/dist/esm/PivotViewer/components/PivotViewerMain.d.ts +7 -5
- package/dist/esm/PivotViewer/components/PivotViewerMain.js +2 -6
- package/dist/esm/PivotViewer/components/PivotViewerMain.js.map +1 -1
- package/dist/esm/PivotViewer/components/RangeHistogramFilter.d.ts +3 -3
- package/dist/esm/PivotViewer/components/RangeHistogramFilter.js +11 -6
- package/dist/esm/PivotViewer/components/RangeHistogramFilter.js.map +1 -1
- package/dist/esm/PivotViewer/components/Spinner.js +0 -2
- package/dist/esm/PivotViewer/components/Spinner.js.map +1 -1
- package/dist/esm/PivotViewer/components/Toolbar.d.ts +1 -2
- package/dist/esm/PivotViewer/components/Toolbar.js +1 -1
- package/dist/esm/PivotViewer/components/Toolbar.js.map +1 -1
- package/dist/esm/PivotViewer/components/ToolbarContainer.d.ts +1 -2
- package/dist/esm/PivotViewer/components/index.d.ts +8 -9
- package/dist/esm/PivotViewer/components/index.js +9 -8
- package/dist/esm/PivotViewer/components/pivot/animation.d.ts +1 -2
- package/dist/esm/PivotViewer/components/pivot/animation.js +1 -8
- package/dist/esm/PivotViewer/components/pivot/animation.js.map +1 -1
- package/dist/esm/PivotViewer/components/pivot/colorResolver.d.ts +18 -4
- package/dist/esm/PivotViewer/components/pivot/colorResolver.js +143 -37
- package/dist/esm/PivotViewer/components/pivot/colorResolver.js.map +1 -1
- package/dist/esm/PivotViewer/components/pivot/constants.d.ts +6 -6
- package/dist/esm/PivotViewer/components/pivot/constants.d.ts.map +1 -1
- package/dist/esm/PivotViewer/components/pivot/constants.js +7 -10
- package/dist/esm/PivotViewer/components/pivot/constants.js.map +1 -1
- package/dist/esm/PivotViewer/components/pivot/groups.d.ts +2 -3
- package/dist/esm/PivotViewer/components/pivot/groups.js +5 -20
- package/dist/esm/PivotViewer/components/pivot/groups.js.map +1 -1
- package/dist/esm/PivotViewer/components/pivot/sprites.d.ts +3 -2
- package/dist/esm/PivotViewer/components/pivot/sprites.js +89 -72
- package/dist/esm/PivotViewer/components/pivot/sprites.js.map +1 -1
- package/dist/esm/PivotViewer/components/pivot/visibility.d.ts +2 -3
- package/dist/esm/PivotViewer/components/pivot/visibility.js +3 -102
- package/dist/esm/PivotViewer/components/pivot/visibility.js.map +1 -1
- package/dist/esm/PivotViewer/constants.js +0 -2
- package/dist/esm/PivotViewer/constants.js.map +1 -1
- package/dist/esm/PivotViewer/engine/layout.d.ts +1 -2
- package/dist/esm/PivotViewer/engine/layout.js +0 -23
- package/dist/esm/PivotViewer/engine/layout.js.map +1 -1
- package/dist/esm/PivotViewer/engine/pivot.worker.d.ts.map +1 -1
- package/dist/esm/PivotViewer/engine/pivot.worker.js +9 -2
- package/dist/esm/PivotViewer/engine/requestCorrelator.d.ts +24 -0
- package/dist/esm/PivotViewer/engine/requestCorrelator.d.ts.map +1 -0
- package/dist/esm/PivotViewer/engine/requestCorrelator.js +23 -0
- package/dist/esm/PivotViewer/engine/requestCorrelator.js.map +1 -0
- package/dist/esm/PivotViewer/engine/store.d.ts +22 -2
- package/dist/esm/PivotViewer/engine/store.js +31 -41
- package/dist/esm/PivotViewer/engine/store.js.map +1 -1
- package/dist/esm/PivotViewer/engine/types.d.ts +87 -0
- package/dist/esm/PivotViewer/engine/types.d.ts.map +1 -1
- package/dist/esm/PivotViewer/engine/types.js +2 -0
- package/dist/esm/PivotViewer/engine/types.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/index.d.ts +17 -18
- package/dist/esm/PivotViewer/hooks/index.js +19 -18
- package/dist/esm/PivotViewer/hooks/useAnimationModeTracking.d.ts +3 -0
- package/dist/esm/PivotViewer/hooks/useAnimationModeTracking.d.ts.map +1 -1
- package/dist/esm/PivotViewer/hooks/useAnimationModeTracking.js +0 -8
- package/dist/esm/PivotViewer/hooks/useAnimationModeTracking.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useCardSelection.d.ts +2 -3
- package/dist/esm/PivotViewer/hooks/useCardSelection.js +27 -20
- package/dist/esm/PivotViewer/hooks/useCardSelection.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useContainerDimensions.d.ts +7 -0
- package/dist/esm/PivotViewer/hooks/useContainerDimensions.d.ts.map +1 -1
- package/dist/esm/PivotViewer/hooks/useContainerDimensions.js +0 -11
- package/dist/esm/PivotViewer/hooks/useContainerDimensions.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useCurrentFilters.d.ts +8 -4
- package/dist/esm/PivotViewer/hooks/useCurrentFilters.js +2 -10
- package/dist/esm/PivotViewer/hooks/useCurrentFilters.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useDetailPanelClose.d.ts +2 -3
- package/dist/esm/PivotViewer/hooks/useDetailPanelClose.js +19 -16
- package/dist/esm/PivotViewer/hooks/useDetailPanelClose.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useDimensionState.d.ts +1 -2
- package/dist/esm/PivotViewer/hooks/useDimensionState.js +0 -2
- package/dist/esm/PivotViewer/hooks/useDimensionState.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useFieldExtractors.d.ts +2 -3
- package/dist/esm/PivotViewer/hooks/useFieldExtractors.js +0 -2
- package/dist/esm/PivotViewer/hooks/useFieldExtractors.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useFilterOptions.d.ts +2 -3
- package/dist/esm/PivotViewer/hooks/useFilterOptions.js +0 -2
- package/dist/esm/PivotViewer/hooks/useFilterOptions.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useFilterPanelDrag.js +2 -0
- package/dist/esm/PivotViewer/hooks/useFilterPanelDrag.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useFilterState.d.ts +4 -2
- package/dist/esm/PivotViewer/hooks/useFilterState.js +0 -5
- package/dist/esm/PivotViewer/hooks/useFilterState.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useFilteredData.d.ts +2 -3
- package/dist/esm/PivotViewer/hooks/useFilteredData.js +11 -3
- package/dist/esm/PivotViewer/hooks/usePanning.js +0 -14
- package/dist/esm/PivotViewer/hooks/usePanning.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/usePivotEngine.d.ts +1 -2
- package/dist/esm/PivotViewer/hooks/usePivotEngine.js +16 -29
- package/dist/esm/PivotViewer/hooks/usePivotEngine.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useScrollSync.d.ts +4 -2
- package/dist/esm/PivotViewer/hooks/useScrollSync.js +0 -6
- package/dist/esm/PivotViewer/hooks/useScrollSync.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useSelectedItem.js +3 -2
- package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.d.ts +5 -3
- package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.js +13 -14
- package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useWheelZoom.js +2 -8
- package/dist/esm/PivotViewer/hooks/useWheelZoom.js.map +1 -1
- package/dist/esm/PivotViewer/hooks/useZoomState.js +0 -2
- package/dist/esm/PivotViewer/hooks/useZoomState.js.map +1 -1
- package/dist/esm/PivotViewer/index.d.ts +3 -5
- package/dist/esm/PivotViewer/index.js +1 -4
- package/dist/esm/PivotViewer/index.js.map +1 -1
- package/dist/esm/PivotViewer/types.d.ts +90 -19
- package/dist/esm/PivotViewer/types.js +5 -13
- package/dist/esm/PivotViewer/types.js.map +1 -1
- package/dist/esm/PivotViewer/utils/animations.d.ts +9 -0
- package/dist/esm/PivotViewer/utils/animations.d.ts.map +1 -1
- package/dist/esm/PivotViewer/utils/animations.js +2 -35
- package/dist/esm/PivotViewer/utils/animations.js.map +1 -1
- package/dist/esm/PivotViewer/utils/cardPosition.d.ts +14 -5
- package/dist/esm/PivotViewer/utils/cardPosition.js +3 -21
- package/dist/esm/PivotViewer/utils/cardPosition.js.map +1 -1
- package/dist/esm/PivotViewer/utils/constants.js +0 -3
- package/dist/esm/PivotViewer/utils/constants.js.map +1 -1
- package/dist/esm/PivotViewer/utils/idResolution.d.ts +22 -2
- package/dist/esm/PivotViewer/utils/idResolution.js +29 -17
- package/dist/esm/PivotViewer/utils/idResolution.js.map +1 -1
- package/dist/esm/PivotViewer/utils/index.d.ts +5 -6
- package/dist/esm/PivotViewer/utils/index.js +7 -6
- package/dist/esm/PivotViewer/utils/search.d.ts +11 -0
- package/dist/esm/PivotViewer/utils/search.js +30 -0
- package/dist/esm/PivotViewer/utils/search.js.map +1 -0
- package/dist/esm/PivotViewer/utils/selection.d.ts +7 -2
- package/dist/esm/PivotViewer/utils/selection.js +0 -25
- package/dist/esm/PivotViewer/utils/selection.js.map +1 -1
- package/dist/esm/PivotViewer/utils/utils.d.ts +11 -2
- package/dist/esm/PivotViewer/utils/utils.js +0 -5
- package/dist/esm/PivotViewer/utils/utils.js.map +1 -1
- package/dist/esm/SchemaEditor/NameCell.d.ts +4 -3
- package/dist/esm/SchemaEditor/NameCell.js +14 -5
- package/dist/esm/SchemaEditor/NameCell.js.map +1 -1
- package/dist/esm/SchemaEditor/SchemaEditor.d.ts +68 -5
- package/dist/esm/SchemaEditor/SchemaEditor.js +226 -74
- package/dist/esm/SchemaEditor/SchemaEditor.js.map +1 -1
- package/dist/esm/SchemaEditor/TypeCell.d.ts +5 -5
- package/dist/esm/SchemaEditor/TypeCell.js +36 -18
- package/dist/esm/SchemaEditor/TypeCell.js.map +1 -1
- package/dist/esm/SchemaEditor/index.d.ts +3 -4
- package/dist/esm/SchemaEditor/index.js +0 -3
- package/dist/esm/SchemaEditor/index.js.map +1 -1
- package/dist/esm/SchemaEditor/schemaHelpers.d.ts +7 -2
- package/dist/esm/SchemaEditor/schemaHelpers.js +5 -9
- package/dist/esm/SchemaEditor/schemaHelpers.js.map +1 -1
- package/dist/esm/TimeMachine/EventsView.d.ts +35 -10
- package/dist/esm/TimeMachine/EventsView.js +23 -41
- package/dist/esm/TimeMachine/EventsView.js.map +1 -1
- package/dist/esm/TimeMachine/Properties.d.ts +7 -0
- package/dist/esm/TimeMachine/Properties.d.ts.map +1 -1
- package/dist/esm/TimeMachine/Properties.js +11 -8
- package/dist/esm/TimeMachine/Properties.js.map +1 -1
- package/dist/esm/TimeMachine/ReadModelView.d.ts +29 -4
- package/dist/esm/TimeMachine/ReadModelView.js +3 -12
- package/dist/esm/TimeMachine/ReadModelView.js.map +1 -1
- package/dist/esm/TimeMachine/TimeMachine.d.ts +22 -7
- package/dist/esm/TimeMachine/TimeMachine.js +23 -23
- package/dist/esm/TimeMachine/TimeMachine.js.map +1 -1
- package/dist/esm/TimeMachine/TimeMachineLabels.d.ts +15 -0
- package/dist/esm/TimeMachine/TimeMachineLabels.d.ts.map +1 -1
- package/dist/esm/TimeMachine/TimeMachineLabels.js +0 -3
- package/dist/esm/TimeMachine/TimeMachineLabels.js.map +1 -1
- package/dist/esm/TimeMachine/index.d.ts +9 -8
- package/dist/esm/TimeMachine/index.js +0 -3
- package/dist/esm/TimeMachine/index.js.map +1 -1
- package/dist/esm/TimeMachine/propertiesHelpers.d.ts +3 -0
- package/dist/esm/TimeMachine/propertiesHelpers.d.ts.map +1 -1
- package/dist/esm/TimeMachine/propertiesHelpers.js +0 -5
- package/dist/esm/TimeMachine/propertiesHelpers.js.map +1 -1
- package/dist/esm/TimeMachine/types.d.ts +24 -0
- package/dist/esm/TimeMachine/types.d.ts.map +1 -1
- package/dist/esm/TimeMachine/types.js +2 -0
- package/dist/esm/TimeMachine/types.js.map +1 -1
- package/dist/esm/Toolbar/Toolbar.d.ts +32 -2
- package/dist/esm/Toolbar/Toolbar.d.ts.map +1 -1
- package/dist/esm/Toolbar/Toolbar.js +20 -6
- package/dist/esm/Toolbar/Toolbar.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarButton.d.ts +41 -4
- package/dist/esm/Toolbar/ToolbarButton.js +7 -14
- package/dist/esm/Toolbar/ToolbarButton.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarContext.d.ts +16 -0
- package/dist/esm/Toolbar/ToolbarContext.d.ts.map +1 -1
- package/dist/esm/Toolbar/ToolbarContext.js +0 -8
- package/dist/esm/Toolbar/ToolbarContext.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarDragContext.d.ts +16 -0
- package/dist/esm/Toolbar/ToolbarDragContext.d.ts.map +1 -1
- package/dist/esm/Toolbar/ToolbarDragContext.js +0 -12
- package/dist/esm/Toolbar/ToolbarDragContext.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarFanOutItem.d.ts +33 -5
- package/dist/esm/Toolbar/ToolbarFanOutItem.js +23 -21
- package/dist/esm/Toolbar/ToolbarFanOutItem.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarFolder.d.ts +40 -6
- package/dist/esm/Toolbar/ToolbarFolder.js +29 -17
- package/dist/esm/Toolbar/ToolbarFolder.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarFolderContext.d.ts +9 -0
- package/dist/esm/Toolbar/ToolbarFolderContext.d.ts.map +1 -1
- package/dist/esm/Toolbar/ToolbarFolderContext.js +0 -10
- package/dist/esm/Toolbar/ToolbarFolderContext.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarGroup.d.ts +41 -2
- package/dist/esm/Toolbar/ToolbarGroup.d.ts.map +1 -1
- package/dist/esm/Toolbar/ToolbarGroup.js +7 -49
- package/dist/esm/Toolbar/ToolbarGroup.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarItemVisibilityContext.d.ts +3 -0
- package/dist/esm/Toolbar/ToolbarItemVisibilityContext.d.ts.map +1 -0
- package/dist/esm/Toolbar/ToolbarItemVisibilityContext.js +8 -0
- package/dist/esm/Toolbar/ToolbarItemVisibilityContext.js.map +1 -0
- package/dist/esm/Toolbar/ToolbarLayout.d.ts +71 -2
- package/dist/esm/Toolbar/ToolbarLayout.d.ts.map +1 -1
- package/dist/esm/Toolbar/ToolbarLayout.js +8 -66
- package/dist/esm/Toolbar/ToolbarLayout.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarSection.d.ts +30 -2
- package/dist/esm/Toolbar/ToolbarSection.d.ts.map +1 -1
- package/dist/esm/Toolbar/ToolbarSection.js +6 -33
- package/dist/esm/Toolbar/ToolbarSection.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarSeparator.d.ts +17 -1
- package/dist/esm/Toolbar/ToolbarSeparator.d.ts.map +1 -1
- package/dist/esm/Toolbar/ToolbarSeparator.js +1 -7
- package/dist/esm/Toolbar/ToolbarSeparator.js.map +1 -1
- package/dist/esm/Toolbar/ToolbarSlot.d.ts +46 -0
- package/dist/esm/Toolbar/ToolbarSlot.d.ts.map +1 -1
- package/dist/esm/Toolbar/ToolbarSlot.js +1 -46
- package/dist/esm/Toolbar/ToolbarSlot.js.map +1 -1
- package/dist/esm/Toolbar/index.d.ts +21 -22
- package/dist/esm/Toolbar/index.js +0 -3
- package/dist/esm/Toolbar/index.js.map +1 -1
- package/dist/esm/index.d.ts +18 -25
- package/dist/esm/index.js +3 -45
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/renderer/RendererContext.d.ts +50 -0
- package/dist/esm/renderer/RendererContext.js +128 -0
- package/dist/esm/renderer/RendererContext.js.map +1 -0
- package/dist/esm/renderer/RendererScope.d.ts +19 -0
- package/dist/esm/renderer/RendererScope.js +54 -0
- package/dist/esm/renderer/RendererScope.js.map +1 -0
- package/dist/esm/renderer/builtin/index.d.ts +12 -0
- package/dist/esm/renderer/builtin/index.d.ts.map +1 -0
- package/dist/esm/renderer/builtin/index.js +47 -0
- package/dist/esm/renderer/builtin/index.js.map +1 -0
- package/dist/esm/renderer/capabilities.d.ts +8 -0
- package/dist/esm/renderer/capabilities.d.ts.map +1 -0
- package/dist/esm/renderer/capabilities.js +4 -0
- package/dist/esm/renderer/capabilities.js.map +1 -0
- package/dist/esm/renderer/coreSlots.d.ts +80 -0
- package/dist/esm/renderer/coreSlots.js +35 -0
- package/dist/esm/renderer/coreSlots.js.map +1 -0
- package/dist/esm/renderer/errors.d.ts +58 -0
- package/dist/esm/renderer/errors.js +24 -0
- package/dist/esm/renderer/errors.js.map +1 -0
- package/dist/esm/renderer/index.d.ts +60 -0
- package/dist/esm/renderer/index.js +7 -0
- package/dist/esm/{Styled → renderer}/index.js.map +1 -1
- package/dist/esm/renderer/manifest.d.ts +97 -0
- package/dist/esm/renderer/manifest.js +36 -0
- package/dist/esm/renderer/manifest.js.map +1 -0
- package/dist/esm/renderer/overlayEnvironment.d.ts +23 -0
- package/dist/esm/renderer/overlayEnvironment.d.ts.map +1 -0
- package/dist/esm/renderer/overlayEnvironment.js +6 -0
- package/dist/esm/renderer/overlayEnvironment.js.map +1 -0
- package/dist/esm/renderer/presentation.d.ts +93 -0
- package/dist/esm/renderer/presentation.js +119 -0
- package/dist/esm/renderer/presentation.js.map +1 -0
- package/dist/esm/renderer/renderSlot.d.ts +8 -0
- package/dist/esm/renderer/renderSlot.d.ts.map +1 -0
- package/dist/esm/renderer/renderSlot.js +12 -0
- package/dist/esm/renderer/renderSlot.js.map +1 -0
- package/dist/esm/renderer/resolve.d.ts +37 -0
- package/dist/esm/renderer/resolve.js +123 -0
- package/dist/esm/renderer/resolve.js.map +1 -0
- package/dist/esm/renderer/slots.d.ts +52 -0
- package/dist/esm/renderer/slots.d.ts.map +1 -0
- package/dist/esm/renderer/slots.js +4 -0
- package/dist/esm/renderer/slots.js.map +1 -0
- package/dist/esm/schemas/ui-adapter.schema.d.ts +7 -0
- package/dist/esm/schemas/ui-adapter.schema.json +210 -0
- package/dist/esm/styles.css +5031 -3820
- package/dist/esm/theme.css +172 -434
- package/dist/esm/tokens.css +55 -97
- package/dist/esm/types/ChangeHandler.d.ts +13 -0
- package/dist/esm/types/ChangeHandler.js +4 -0
- package/dist/esm/types/ChangeHandler.js.map +1 -0
- package/dist/esm/types/ChangeMeta.d.ts +26 -0
- package/dist/esm/types/ChangeMeta.d.ts.map +1 -0
- package/dist/esm/types/ChangeMeta.js +4 -0
- package/dist/esm/types/ChangeMeta.js.map +1 -0
- package/dist/esm/types/ExactPartKeys.d.ts +6 -0
- package/dist/esm/types/ExactPartKeys.d.ts.map +1 -0
- package/dist/esm/types/ExactPartKeys.js +4 -0
- package/dist/esm/types/ExactPartKeys.js.map +1 -0
- package/dist/esm/types/JsonSchema.d.ts +40 -1
- package/dist/esm/types/JsonSchema.d.ts.map +1 -1
- package/dist/esm/types/JsonSchema.js +2 -0
- package/dist/esm/types/JsonSchema.js.map +1 -1
- package/dist/esm/types/TypeFormat.d.ts +11 -0
- package/dist/esm/types/TypeFormat.d.ts.map +1 -1
- package/dist/esm/types/TypeFormat.js +0 -2
- package/dist/esm/types/TypeFormat.js.map +1 -1
- package/dist/esm/types/index.d.ts +5 -3
- package/dist/esm/types/index.js +1 -3
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/parts.d.ts +467 -0
- package/dist/esm/types/parts.d.ts.map +1 -0
- package/dist/esm/types/parts.js +453 -0
- package/dist/esm/types/parts.js.map +1 -0
- package/package.json +142 -47
- package/dist/esm/Canvas/Canvas.d.ts.map +0 -1
- package/dist/esm/Canvas/CanvasControls.d.ts.map +0 -1
- package/dist/esm/Canvas/glassAttributes.d.ts +0 -4
- package/dist/esm/Canvas/glassAttributes.d.ts.map +0 -1
- package/dist/esm/Canvas/glassAttributes.js +0 -25
- package/dist/esm/Canvas/glassAttributes.js.map +0 -1
- package/dist/esm/Canvas/index.d.ts.map +0 -1
- package/dist/esm/Canvas/messaging/useOptionalMessenger.d.ts +0 -3
- package/dist/esm/Canvas/messaging/useOptionalMessenger.d.ts.map +0 -1
- package/dist/esm/Canvas/messaging/useOptionalMessenger.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/AnchoredOverlay.d.ts +0 -13
- package/dist/esm/Canvas/shapes/ChatBubble/AnchoredOverlay.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/AnchoredOverlay.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/PersonAvatarCircle.d.ts +0 -20
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/PersonAvatarCircle.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/PersonAvatarCircle.js +0 -27
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/PersonAvatarCircle.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getAvatarColor.d.ts +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getAvatarColor.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getAvatarColor.js +0 -20
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getAvatarColor.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getInitials.d.ts +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getInitials.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getInitials.js +0 -11
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/getInitials.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/index.d.ts +0 -5
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/index.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/index.js +0 -4
- package/dist/esm/Canvas/shapes/ChatBubble/Avatar/index.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Chat.d.ts +0 -43
- package/dist/esm/Canvas/shapes/ChatBubble/Chat.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Chat.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatAuthorKind.d.ts +0 -5
- package/dist/esm/Canvas/shapes/ChatBubble/ChatAuthorKind.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatAuthorKind.js +0 -14
- package/dist/esm/Canvas/shapes/ChatBubble/ChatAuthorKind.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatBubble.d.ts +0 -18
- package/dist/esm/Canvas/shapes/ChatBubble/ChatBubble.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatBubble.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatComposer.d.ts +0 -24
- package/dist/esm/Canvas/shapes/ChatBubble/ChatComposer.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatComposer.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessage.d.ts +0 -17
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessage.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessage.js +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessage.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageAdded.d.ts +0 -6
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageAdded.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageAdded.js +0 -18
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageAdded.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageBubble.d.ts +0 -25
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageBubble.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageBubble.js +0 -31
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageBubble.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReaction.d.ts +0 -6
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReaction.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReaction.js +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReaction.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReactionUser.d.ts +0 -7
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReactionUser.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReactionUser.js +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/ChatMessageReactionUser.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatOwnReaction.d.ts +0 -6
- package/dist/esm/Canvas/shapes/ChatBubble/ChatOwnReaction.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatOwnReaction.js +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/ChatOwnReaction.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatTypingAuthor.d.ts +0 -8
- package/dist/esm/Canvas/shapes/ChatBubble/ChatTypingAuthor.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatTypingAuthor.js +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/ChatTypingAuthor.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatVariant.d.ts +0 -5
- package/dist/esm/Canvas/shapes/ChatBubble/ChatVariant.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ChatVariant.js +0 -15
- package/dist/esm/Canvas/shapes/ChatBubble/ChatVariant.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategory.d.ts +0 -6
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategory.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategory.js +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategory.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategoryKey.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiCategoryKey.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiMemory.d.ts +0 -5
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiMemory.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiMemory.js +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiMemory.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiPicker.d.ts +0 -14
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiPicker.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/EmojiPicker.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/emojiCatalog.d.ts +0 -3
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/emojiCatalog.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/emojiCatalog.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/index.d.ts +0 -7
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/index.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/index.js +0 -7
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/index.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/recentEmojis.d.ts +0 -6
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/recentEmojis.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/recentEmojis.js +0 -59
- package/dist/esm/Canvas/shapes/ChatBubble/Emoji/recentEmojis.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/FailedReply.d.ts +0 -23
- package/dist/esm/Canvas/shapes/ChatBubble/FailedReply.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/FailedReply.js +0 -28
- package/dist/esm/Canvas/shapes/ChatBubble/FailedReply.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionCandidate.d.ts +0 -9
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionCandidate.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionCandidate.js +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionCandidate.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionQuery.d.ts +0 -5
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionQuery.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionQuery.js +0 -2
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionQuery.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionSuggestions.d.ts +0 -11
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionSuggestions.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionSuggestions.js +0 -14
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/MentionSuggestions.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/activeMentionQuery.d.ts +0 -3
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/activeMentionQuery.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/activeMentionQuery.js +0 -34
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/activeMentionQuery.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/applyMention.d.ts +0 -7
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/applyMention.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/applyMention.js +0 -23
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/applyMention.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/extractMentions.d.ts +0 -4
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/extractMentions.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/extractMentions.js +0 -24
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/extractMentions.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/findMentionRanges.d.ts +0 -11
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/findMentionRanges.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/findMentionRanges.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/index.d.ts +0 -10
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/index.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/index.js +0 -10
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/index.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/matchCandidates.d.ts +0 -3
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/matchCandidates.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/matchCandidates.js +0 -24
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/matchCandidates.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/mentionSegments.d.ts +0 -10
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/mentionSegments.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/Mentions/mentionSegments.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/MessageReactions.d.ts +0 -6
- package/dist/esm/Canvas/shapes/ChatBubble/MessageReactions.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/MessageReactions.js +0 -28
- package/dist/esm/Canvas/shapes/ChatBubble/MessageReactions.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ReactionPicker.d.ts +0 -20
- package/dist/esm/Canvas/shapes/ChatBubble/ReactionPicker.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/ReactionPicker.js +0 -50
- package/dist/esm/Canvas/shapes/ChatBubble/ReactionPicker.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/TypingIndicator.d.ts +0 -9
- package/dist/esm/Canvas/shapes/ChatBubble/TypingIndicator.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/TypingIndicator.js +0 -18
- package/dist/esm/Canvas/shapes/ChatBubble/TypingIndicator.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/findOwnReaction.d.ts +0 -5
- package/dist/esm/Canvas/shapes/ChatBubble/findOwnReaction.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/findOwnReaction.js +0 -19
- package/dist/esm/Canvas/shapes/ChatBubble/findOwnReaction.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/index.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/index.js.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/reactionsExcludingUser.d.ts +0 -4
- package/dist/esm/Canvas/shapes/ChatBubble/reactionsExcludingUser.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/ChatBubble/reactionsExcludingUser.js.map +0 -1
- package/dist/esm/Canvas/shapes/Note/index.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/Note/index.js.map +0 -1
- package/dist/esm/Canvas/shapes/Region/index.d.ts.map +0 -1
- package/dist/esm/Canvas/shapes/Region/index.js.map +0 -1
- package/dist/esm/Chat/ChatAuthor.d.ts.map +0 -1
- package/dist/esm/Chat/ChatConversation.d.ts.map +0 -1
- package/dist/esm/Chat/ChatMention.d.ts.map +0 -1
- package/dist/esm/Chat/ChatMessage.d.ts.map +0 -1
- package/dist/esm/Chat/ChatMessageAction.d.ts.map +0 -1
- package/dist/esm/Chat/ChatMessageBody.d.ts.map +0 -1
- package/dist/esm/Chat/ChatSidebar.d.ts.map +0 -1
- package/dist/esm/Chat/ChatSidebarForObservableQueries.d.ts.map +0 -1
- package/dist/esm/Chat/ChatTopic.d.ts.map +0 -1
- package/dist/esm/Chat/ChatTopicList.d.ts.map +0 -1
- package/dist/esm/Chat/index.d.ts.map +0 -1
- package/dist/esm/Chat/isTopicUnnamed.d.ts.map +0 -1
- package/dist/esm/Chat/topicsByActivity.d.ts.map +0 -1
- package/dist/esm/CommandDialog/CommandDialog.d.ts.map +0 -1
- package/dist/esm/CommandDialog/CommandStepper.d.ts.map +0 -1
- package/dist/esm/CommandDialog/StepperCommandDialog.d.ts.map +0 -1
- package/dist/esm/CommandDialog/index.d.ts.map +0 -1
- package/dist/esm/CommandForm/fieldTypeProviderRegistry.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/CalendarField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/CheckboxField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/ChipsField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/ColorPickerField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/DropdownField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/InputTextField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/MultiSelectField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/NumberField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/PasswordField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/RadioButtonField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/RadioGroupField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/RatingField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/SliderField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/TextAreaField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/ToggleSwitchField.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/index.d.ts.map +0 -1
- package/dist/esm/CommandForm/fields/index.js.map +0 -1
- package/dist/esm/CommandForm/index.d.ts.map +0 -1
- package/dist/esm/Common/ActionMenubar.d.ts.map +0 -1
- package/dist/esm/Common/Button.d.ts.map +0 -1
- package/dist/esm/Common/CratisComponentsProvider.d.ts.map +0 -1
- package/dist/esm/Common/DatePickerInput.d.ts.map +0 -1
- package/dist/esm/Common/index.d.ts.map +0 -1
- package/dist/esm/Compatibility/PrimeReact11PassThroughComponent.d.ts +0 -3
- package/dist/esm/Compatibility/PrimeReact11PassThroughComponent.d.ts.map +0 -1
- package/dist/esm/Compatibility/PrimeReact11PassThroughComponent.js +0 -2
- package/dist/esm/Compatibility/PrimeReact11PassThroughComponent.js.map +0 -1
- package/dist/esm/Compatibility/assertPrimeReact11PassThroughCompatibility.d.ts +0 -3
- package/dist/esm/Compatibility/assertPrimeReact11PassThroughCompatibility.d.ts.map +0 -1
- package/dist/esm/Compatibility/assertPrimeReact11PassThroughCompatibility.js +0 -49
- package/dist/esm/Compatibility/assertPrimeReact11PassThroughCompatibility.js.map +0 -1
- package/dist/esm/Compatibility/components3PrimeReact11PassThroughContract.d.ts +0 -369
- package/dist/esm/Compatibility/components3PrimeReact11PassThroughContract.d.ts.map +0 -1
- package/dist/esm/Compatibility/components3PrimeReact11PassThroughContract.js +0 -271
- package/dist/esm/Compatibility/components3PrimeReact11PassThroughContract.js.map +0 -1
- package/dist/esm/Compatibility/index.d.ts +0 -5
- package/dist/esm/Compatibility/index.d.ts.map +0 -1
- package/dist/esm/Compatibility/index.js +0 -7
- package/dist/esm/Compatibility/index.js.map +0 -1
- package/dist/esm/Compatibility/primeReact11PassThroughSentinelPreset.d.ts +0 -8
- package/dist/esm/Compatibility/primeReact11PassThroughSentinelPreset.d.ts.map +0 -1
- package/dist/esm/Compatibility/primeReact11PassThroughSentinelPreset.js +0 -48
- package/dist/esm/Compatibility/primeReact11PassThroughSentinelPreset.js.map +0 -1
- package/dist/esm/DataPage/DataPage.d.ts.map +0 -1
- package/dist/esm/DataPage/index.d.ts.map +0 -1
- package/dist/esm/DataTables/Column.d.ts.map +0 -1
- package/dist/esm/DataTables/ColumnFilterMenu.d.ts.map +0 -1
- package/dist/esm/DataTables/DataTableCore.d.ts.map +0 -1
- package/dist/esm/DataTables/DataTableFilterMatcherRegistry.d.ts.map +0 -1
- package/dist/esm/DataTables/DataTableForObservableQuery.d.ts.map +0 -1
- package/dist/esm/DataTables/DataTableForQuery.d.ts.map +0 -1
- package/dist/esm/DataTables/TablePaginator.d.ts.map +0 -1
- package/dist/esm/DataTables/index.d.ts.map +0 -1
- package/dist/esm/Dialogs/Dialog.d.ts.map +0 -1
- package/dist/esm/Dialogs/index.d.ts.map +0 -1
- package/dist/esm/Display/index.d.ts.map +0 -1
- package/dist/esm/Dropdown/Dropdown.d.ts.map +0 -1
- package/dist/esm/Dropdown/index.d.ts.map +0 -1
- package/dist/esm/Filter/FilterEditor.d.ts.map +0 -1
- package/dist/esm/Filter/FilterPanel.d.ts.map +0 -1
- package/dist/esm/Filter/RangeHistogramFilter.d.ts.map +0 -1
- package/dist/esm/Filter/index.d.ts.map +0 -1
- package/dist/esm/Filter/useFilterState.d.ts.map +0 -1
- package/dist/esm/Filter/utils.d.ts.map +0 -1
- package/dist/esm/Notifications/index.d.ts.map +0 -1
- package/dist/esm/ObjectContentEditor/ObjectContentEditor.d.ts.map +0 -1
- package/dist/esm/ObjectContentEditor/index.d.ts.map +0 -1
- package/dist/esm/ObjectContentEditor/objectHelpers.d.ts.map +0 -1
- package/dist/esm/ObjectNavigationalBar/index.d.ts.map +0 -1
- package/dist/esm/PivotViewer/PivotViewer.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/AxisLabels.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/FilterPanel.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/FilterPanelContainer.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/PivotCanvas.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/PivotViewerMain.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/RangeHistogramFilter.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/Toolbar.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/ToolbarContainer.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/index.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/index.js.map +0 -1
- package/dist/esm/PivotViewer/components/pivot/animation.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/pivot/colorResolver.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/pivot/groups.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/pivot/sprites.d.ts.map +0 -1
- package/dist/esm/PivotViewer/components/pivot/visibility.d.ts.map +0 -1
- package/dist/esm/PivotViewer/engine/layout.d.ts.map +0 -1
- package/dist/esm/PivotViewer/engine/pivot.worker.js.map +0 -1
- package/dist/esm/PivotViewer/engine/store.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/index.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/index.js.map +0 -1
- package/dist/esm/PivotViewer/hooks/useCardSelection.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useCurrentFilters.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useDetailPanelClose.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useDimensionState.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useFieldExtractors.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useFilterOptions.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useFilterState.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useFilteredData.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useFilteredData.js.map +0 -1
- package/dist/esm/PivotViewer/hooks/usePivotEngine.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useScrollSync.d.ts.map +0 -1
- package/dist/esm/PivotViewer/hooks/useSelectedItem.js.map +0 -1
- package/dist/esm/PivotViewer/hooks/useViewModeScrollHandling.d.ts.map +0 -1
- package/dist/esm/PivotViewer/index.d.ts.map +0 -1
- package/dist/esm/PivotViewer/types.d.ts.map +0 -1
- package/dist/esm/PivotViewer/utils/cardPosition.d.ts.map +0 -1
- package/dist/esm/PivotViewer/utils/idResolution.d.ts.map +0 -1
- package/dist/esm/PivotViewer/utils/index.d.ts.map +0 -1
- package/dist/esm/PivotViewer/utils/index.js.map +0 -1
- package/dist/esm/PivotViewer/utils/selection.d.ts.map +0 -1
- package/dist/esm/PivotViewer/utils/utils.d.ts.map +0 -1
- package/dist/esm/SchemaEditor/NameCell.d.ts.map +0 -1
- package/dist/esm/SchemaEditor/SchemaEditor.d.ts.map +0 -1
- package/dist/esm/SchemaEditor/TypeCell.d.ts.map +0 -1
- package/dist/esm/SchemaEditor/index.d.ts.map +0 -1
- package/dist/esm/SchemaEditor/schemaHelpers.d.ts.map +0 -1
- package/dist/esm/Styled/CratisPreset.d.ts +0 -2
- package/dist/esm/Styled/CratisPreset.d.ts.map +0 -1
- package/dist/esm/Styled/CratisPreset.js +0 -80
- package/dist/esm/Styled/CratisPreset.js.map +0 -1
- package/dist/esm/Styled/index.d.ts +0 -4
- package/dist/esm/Styled/index.d.ts.map +0 -1
- package/dist/esm/Styled/index.js +0 -4
- package/dist/esm/Styled/primeReactStyles.d.ts +0 -3
- package/dist/esm/Styled/primeReactStyles.d.ts.map +0 -1
- package/dist/esm/Styled/primeReactStyles.js +0 -202
- package/dist/esm/Styled/primeReactStyles.js.map +0 -1
- package/dist/esm/Styled/styledMode.d.ts +0 -12
- package/dist/esm/Styled/styledMode.d.ts.map +0 -1
- package/dist/esm/Styled/styledMode.js +0 -68
- package/dist/esm/Styled/styledMode.js.map +0 -1
- package/dist/esm/TimeMachine/EventsView.d.ts.map +0 -1
- package/dist/esm/TimeMachine/ReadModelView.d.ts.map +0 -1
- package/dist/esm/TimeMachine/TimeMachine.d.ts.map +0 -1
- package/dist/esm/TimeMachine/index.d.ts.map +0 -1
- package/dist/esm/Toolbar/ToolbarButton.d.ts.map +0 -1
- package/dist/esm/Toolbar/ToolbarFanOutItem.d.ts.map +0 -1
- package/dist/esm/Toolbar/ToolbarFolder.d.ts.map +0 -1
- package/dist/esm/Toolbar/index.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/primereact-v10-palette.css +0 -242
- package/dist/esm/types/index.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,811 +1,290 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @cratis/components
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
React components for CQRS and event-sourced applications built with
|
|
4
|
+
[Cratis Arc](https://github.com/Cratis/Arc) — command dialogs, typed forms,
|
|
5
|
+
query-backed data tables, and higher-order application surfaces.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
The package provides React components for Arc commands, queries, dialogs,
|
|
8
|
+
forms, and application surfaces. Components owns its public markup, TypeScript
|
|
9
|
+
contracts, stable parts, and design tokens. React Aria supplies selected
|
|
10
|
+
interaction primitives internally; consumers do not import or style React Aria.
|
|
6
11
|
|
|
7
|
-
|
|
12
|
+
- [Canonical Components documentation](https://cratis.io/components/)
|
|
13
|
+
- [Renderer adapters and coexistence](https://github.com/Cratis/Components/tree/main/Documentation/renderers)
|
|
14
|
+
- [Migration guide](./MIGRATION.md)
|
|
15
|
+
- [Private security reporting](mailto:oss@cratis.io?subject=Security%3A)
|
|
8
16
|
|
|
9
|
-
|
|
10
|
-
- React: 19.0+
|
|
11
|
-
- Node.js: 18+ (for development)
|
|
12
|
-
|
|
13
|
-
### TypeScript Configuration
|
|
14
|
-
|
|
15
|
-
This package is compatible with all modern TypeScript `moduleResolution` strategies:
|
|
16
|
-
|
|
17
|
-
- ✅ `"bundler"` (recommended for Vite, esbuild, webpack 5+)
|
|
18
|
-
- ✅ `"node16"` / `"nodenext"` (for Node.js projects)
|
|
19
|
-
|
|
20
|
-
The package is **ESM-only** (`"type": "module"`) — PrimeReact 11 dropped the
|
|
21
|
-
CommonJS build. It ships subpath `exports` with per-entry `types` for optimal
|
|
22
|
-
module resolution and tree-shaking. Consume it from an ESM or bundler context;
|
|
23
|
-
there is no `require()` entry.
|
|
24
|
-
|
|
25
|
-
## Installation
|
|
17
|
+
## Install
|
|
26
18
|
|
|
27
19
|
```bash
|
|
28
|
-
npm install @cratis/components
|
|
29
|
-
# or
|
|
30
|
-
yarn add @cratis/components primereact @primereact/core @primereact/headless @primereact/hooks primeicons
|
|
20
|
+
npm install @cratis/components@^4
|
|
31
21
|
```
|
|
32
22
|
|
|
33
|
-
**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
different config, theme and z-index registry than components you render yourself.
|
|
38
|
-
Nothing errors; overlays just stack wrongly and `pt` / `unstyled` silently fail to
|
|
39
|
-
apply. If your app carries a `resolutions` / `overrides` pin to collapse PrimeReact
|
|
40
|
-
into one copy, you can now delete it.
|
|
41
|
-
|
|
42
|
-
`primereact` pins `@primereact/core`, `@primereact/headless` and `@primereact/hooks` to its own exact
|
|
43
|
-
version, so one `primereact@11.x` install gives you matching copies of all three;
|
|
44
|
-
declaring them is what makes a strict installer (pnpm, Yarn PnP) resolve them for the
|
|
45
|
-
library too. `@primereact/types` is an **optional** peer — needed only if your own
|
|
46
|
-
code imports the prop types the wrappers re-export.
|
|
47
|
-
|
|
48
|
-
The other **peer dependencies** you provide are `react` / `react-dom` (**19+**), the
|
|
49
|
-
`@cratis/arc*` packages (`>=20.3.1 <23` — Arc 20, 21 and 22 work), `reflect-metadata`
|
|
50
|
-
and `tsyringe`; you typically already have these in a Cratis app. `pixi.js`,
|
|
51
|
-
`framer-motion`, `allotment` and `react-icons` remain regular dependencies and are
|
|
52
|
-
installed for you. `@primereact/styles` and `@primeuix/themes` are **optional** peers,
|
|
53
|
-
needed only for PrimeReact's styled mode (see [Styling](#styling)).
|
|
54
|
-
|
|
55
|
-
### Stylesheets
|
|
56
|
-
|
|
57
|
-
Component CSS is no longer imported by the JavaScript — import it once in your app
|
|
58
|
-
entry point, in this order:
|
|
59
|
-
|
|
60
|
-
```ts
|
|
61
|
-
import '@cratis/components/tokens'; // the --cratis-* token layer
|
|
62
|
-
import '@cratis/components/styles'; // every component stylesheet, in one file
|
|
63
|
-
import '@cratis/components/theme'; // optional — the Cratis baseline look (MIT CSS)
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
`./styles` also vendors `allotment/dist/style.css`, which `DataPage` needs for its
|
|
67
|
-
split view, so you do not have to import that yourself.
|
|
68
|
-
|
|
69
|
-
## Licensing
|
|
23
|
+
> **Publication status:** This install example targets the owner-authorized 4.0.0 npm release. When
|
|
24
|
+
> reading this README from repository source before that release, verify availability with
|
|
25
|
+
> `npm view @cratis/components@4.0.0 version`; source contributors use the repository workspace
|
|
26
|
+
> instead.
|
|
70
27
|
|
|
71
|
-
|
|
72
|
-
was; PrimeReact 11 is part of PrimeTek's commercial **PrimeUI** family, and so are the
|
|
73
|
-
packages it brings with it.
|
|
28
|
+
The current package manifest declares these peer dependencies:
|
|
74
29
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
30
|
+
- `@cratis/arc` and `@cratis/arc.react` `>=20.3.1 <23`
|
|
31
|
+
- `@cratis/fundamentals` `^7.10.3`
|
|
32
|
+
- optional `pixi.js` `^8.20.0`
|
|
33
|
+
- `react` and `react-dom` `^19.0.0`
|
|
34
|
+
- `reflect-metadata` `0.2.2`
|
|
35
|
+
- `tsyringe` `4.10.0`
|
|
81
36
|
|
|
82
|
-
|
|
83
|
-
yours to satisfy: PrimeReact is a peer dependency, so you install it and its license terms
|
|
84
|
-
apply to you directly. `@primereact/styles` and `@primeuix/themes` — the two styled mode
|
|
85
|
-
adds — are PrimeUI-licensed too.
|
|
37
|
+
Strict installers can declare them explicitly; keep both Arc packages on the same application version:
|
|
86
38
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
production.
|
|
94
|
-
|
|
95
|
-
Supply your key through the provider:
|
|
96
|
-
|
|
97
|
-
```tsx
|
|
98
|
-
<CratisComponentsProvider value={{ license: '…' }}>
|
|
39
|
+
```bash
|
|
40
|
+
ARC_VERSION=22.6.2
|
|
41
|
+
npm install @cratis/components@^4 \
|
|
42
|
+
"@cratis/arc@$ARC_VERSION" "@cratis/arc.react@$ARC_VERSION" \
|
|
43
|
+
@cratis/fundamentals@^7.10.3 react@^19 react-dom@^19 \
|
|
44
|
+
reflect-metadata@0.2.2 tsyringe@4.10.0
|
|
99
45
|
```
|
|
100
46
|
|
|
101
|
-
|
|
102
|
-
that **stylesheet** carries no PrimeTek terms — but rendering it still means running
|
|
103
|
-
PrimeReact 11, which needs a key.
|
|
104
|
-
|
|
105
|
-
### Which license you need
|
|
106
|
-
|
|
107
|
-
- **[Community License](https://primeui.dev/licenses/community)** — free. Covers
|
|
108
|
-
individuals, students, non-profits and non-commercial open source outright. For an
|
|
109
|
-
organization it requires _all_ of: under $1M USD annual gross revenue, fewer than 5
|
|
110
|
-
developers, fewer than 10 employees, and under $3M USD in outside funding. Supports up to
|
|
111
|
-
4 developers and is renewed annually by confirming continued eligibility.
|
|
112
|
-
- **[Commercial License](https://primeui.dev/licenses/commercial)** — for everyone else.
|
|
113
|
-
Per developer, perpetual, with one year of updates.
|
|
114
|
-
|
|
115
|
-
### If you redistribute
|
|
116
|
-
|
|
117
|
-
PrimeReact 11's terms state: _"You may not … redistribute it as a component library or
|
|
118
|
-
development tool … Redistributing the software so that third parties can develop with it
|
|
119
|
-
requires a separate OEM License."_
|
|
120
|
-
|
|
121
|
-
If you are building an application, that clause is not aimed at you. If you are publishing
|
|
122
|
-
a library or tool that others build with, read it and check your position with PrimeTek.
|
|
47
|
+
The current manifest does not declare PrimeReact, PrimeIcons, or PrimeUI packages as dependencies or peers. Applications retaining direct dependencies keep their own package, provider, styling, and license boundaries.
|
|
123
48
|
|
|
124
|
-
|
|
49
|
+
The generated compatibility schema v2 contract is published at
|
|
50
|
+
`@cratis/components/compat-manifest.json`. It records the supported Components and tooling
|
|
51
|
+
windows, the authorized seven-package scope, shared release version, renderer ABI/profile ranges,
|
|
52
|
+
and exact lower/current adapter evidence. `release.md` at the repository root describes the
|
|
53
|
+
label-driven publication policy.
|
|
125
54
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
55
|
+
Renderer-adapter authors can import the public draft 2020-12 metadata schema from
|
|
56
|
+
`@cratis/components/schemas/ui-adapter.schema.json`. It validates the static `package.json#cratis`
|
|
57
|
+
object; runtime behavior still requires `@cratis/components.conformance`. See the
|
|
58
|
+
[renderer-adapter documentation](https://github.com/Cratis/Components/blob/16dd95b7c894f3275b03714ffdc676d2d3505fd8/Documentation/renderers/index.md#adapter-package-metadata-schema)
|
|
59
|
+
for the boundary and limitations.
|
|
129
60
|
|
|
130
|
-
|
|
131
|
-
> authoritative text is the `LICENSE.md` inside the `primereact` package and the pages
|
|
132
|
-
> linked above.
|
|
61
|
+
**Yarn PnP note:** the current `@cratis/arc.react@22.6.2` package imports `rxjs` without declaring it. Strict PnP consumers install `rxjs@7.8.2` and add a temporary `packageExtensions` entry for `@cratis/arc.react@22.6.2`; remove it when Arc publishes corrected metadata. The canonical [getting-started guide](https://cratis.io/components/getting-started/) contains the exact YAML.
|
|
133
62
|
|
|
134
|
-
|
|
63
|
+
`pixi.js@^8.20.0` is an additional **optional** peer, required only by `Canvas` and `PivotViewer` (the Spatial capability profile — see [Import from explicit subpaths](#import-from-explicit-subpaths) below). Every other subpath needs nothing beyond the peers above:
|
|
135
64
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
You can import components using subpath imports for better tree-shaking:
|
|
139
|
-
|
|
140
|
-
```typescript
|
|
141
|
-
// Import specific component modules
|
|
142
|
-
import { TimeMachine } from '@cratis/components/TimeMachine';
|
|
143
|
-
import { DataPage } from '@cratis/components/DataPage';
|
|
144
|
-
import { CommandForm } from '@cratis/components/CommandForm';
|
|
145
|
-
|
|
146
|
-
// Or import from the main entry point
|
|
147
|
-
import { TimeMachine, DataPage } from '@cratis/components';
|
|
65
|
+
```bash
|
|
66
|
+
npm install pixi.js@^8.20.0
|
|
148
67
|
```
|
|
149
68
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
Components:
|
|
153
|
-
|
|
154
|
-
- `@cratis/components` — package root (re-exports `CratisComponentsProvider` and the namespaced component groups)
|
|
155
|
-
- `@cratis/components/Chat` — `ChatSidebar`, `ChatTopicList`, `ChatConversation`: topic-based chat with host-supplied data, mentions, emoji, and per-message actions
|
|
156
|
-
- `@cratis/components/CommandDialog`
|
|
157
|
-
- `@cratis/components/CommandStepper`
|
|
158
|
-
- `@cratis/components/CommandForm`
|
|
159
|
-
- `@cratis/components/CommandForm/fields`
|
|
160
|
-
- `@cratis/components/Common`
|
|
161
|
-
- `@cratis/components/DataPage`
|
|
162
|
-
- `@cratis/components/DataTables`
|
|
163
|
-
- `@cratis/components/Dialogs`
|
|
164
|
-
- `@cratis/components/Display` — `Tag`, `Badge`, `Chip`, `Skeleton`, `Avatar`, `ProgressBar`
|
|
165
|
-
- `@cratis/components/Dropdown`
|
|
166
|
-
- `@cratis/components/Notifications` — `Toaster`, Cratis-owned `toast` / `ToastDispatch`, `toastCommandResult`
|
|
167
|
-
- `@cratis/components/ObjectContentEditor`
|
|
168
|
-
- `@cratis/components/ObjectNavigationalBar`
|
|
169
|
-
- `@cratis/components/PivotViewer`
|
|
170
|
-
- `@cratis/components/SchemaEditor`
|
|
171
|
-
- `@cratis/components/TimeMachine`
|
|
172
|
-
- `@cratis/components/Toolbar`
|
|
173
|
-
- `@cratis/components/styled` — `styledMode`, `CratisPreset`, `primeReactStyles`, `primeReactCssLayer`, `primeReactCssLayerOrder`, `cratisDarkModeSelector`: PrimeReact's styled mode, wired for the provider (needs `@primereact/styles` + `@primeuix/themes`)
|
|
174
|
-
- `@cratis/components/types`
|
|
175
|
-
|
|
176
|
-
Stylesheets:
|
|
177
|
-
|
|
178
|
-
- `@cratis/components/theme` — the **Cratis baseline theme** (light + dark, Cratis-authored MIT CSS, no `@primereact/styles` / `@primeuix/themes` dependency); import it and add `class="cratis-theme"` to skin every component from the token layer
|
|
179
|
-
- `@cratis/components/styles` — **required**: every component stylesheet, the Tailwind utilities used inside the package, and the `allotment` rules `DataPage` needs, in one file
|
|
180
|
-
- `@cratis/components/tokens` — **required**: the `--cratis-*` CSS variable tokens every component reads from
|
|
181
|
-
- `@cratis/components/primereact-v10-palette` — the PrimeReact 10 theme variables (`--surface-*`, `--text-color`, `--primary-color`, the color scales, …) restored with the lara-blue values, for CSS already written against them
|
|
182
|
-
|
|
183
|
-
## Styling
|
|
184
|
-
|
|
185
|
-
This package ships primarily for its functionality and Arc integrations.
|
|
186
|
-
Styling is designed to stay out of the way: choose the setup that matches how
|
|
187
|
-
much control you want, and the other layers stay invisible.
|
|
188
|
-
|
|
189
|
-
> **Tip — see each setup live:** every Storybook story includes a **Styling**
|
|
190
|
-
> toolbar (paintbrush icon) that flips between the modes demonstrating the
|
|
191
|
-
> setups below: _Aura Dark_ and _Aura Light_ (an `@primeuix/themes`
|
|
192
|
-
> preset), _Cratis baseline theme_ (light and dark), _Unstyled
|
|
193
|
-
> (bare structure)_, and _Unstyled + Tailwind pt_. Open any story (`yarn dev`)
|
|
194
|
-
> and switch modes to see the same component under each setup.
|
|
195
|
-
|
|
196
|
-
### TL;DR — choose a styling setup
|
|
197
|
-
|
|
198
|
-
> **A PrimeUI license key is required for every row below** — see [Licensing](#licensing).
|
|
199
|
-
> The styling choice changes how it looks and whether you additionally pull in
|
|
200
|
-
> `@primeuix/themes`; it does not change whether you need a key.
|
|
201
|
-
|
|
202
|
-
| Setup | When | Effort | Extra dependency | What you write |
|
|
203
|
-
| --------------------------------- | ---------------------------------------------------------------------------------------------------- | ------- | ----------------------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
204
|
-
| **Cratis baseline theme** | You want a polished default look without adding a theme package. | Lowest | None | `unstyled` + `import '@cratis/components/theme'` + `class="cratis-theme"` |
|
|
205
|
-
| **PrimeReact's styled mode** | You want PrimeReact's own look — a `@primeuix/themes` preset painting PrimeReact's component styles. | Low | `@primereact/styles` + `@primeuix/themes` | `value={{ license, ...styledMode() }}` with `styledMode` from `@cratis/components/styled` |
|
|
206
|
-
| **A custom palette over a theme** | You want the theme's structure but your own colors. | Low | As above, or none | `--cratis-*` overrides on the baseline theme, or `styledMode({ preset: definePreset(CratisPreset, …) })` |
|
|
207
|
-
| **Fully unstyled** | You're integrating into a tightly controlled design system. | Highest | None | `unstyled: true` + a `pt` preset in CSS or Tailwind |
|
|
208
|
-
|
|
209
|
-
> **Why you need a theme, a baseline stylesheet, or a `pt` preset**
|
|
210
|
-
>
|
|
211
|
-
> PrimeReact 11 is **unstyled-first**: the `primereact` package is primitives
|
|
212
|
-
> that render structural markup with `data-scope` / `data-part` attributes,
|
|
213
|
-
> no built-in visuals and **no `p-*` class names**. The class names and the
|
|
214
|
-
> CSS behind them live in `@primereact/styles`; PrimeReact's own styled
|
|
215
|
-
> components (`@primereact/ui`) are just the primitives with those styles
|
|
216
|
-
> preset, and this library builds on the primitives. So a look comes from one
|
|
217
|
-
> of three sources — PrimeReact's styled mode (`styledMode()`: a
|
|
218
|
-
> `@primeuix/themes` preset **plus** PrimeReact's component styles), the
|
|
219
|
-
> Cratis baseline theme (`@cratis/components/theme`), or your own `pt`/CSS.
|
|
220
|
-
> Load none of them and the components render as their raw HTML primitives.
|
|
221
|
-
> **A preset alone is not one of the three** — `theme: { preset }` by itself
|
|
222
|
-
> emits `--p-*` tokens but styles nothing rendered here.
|
|
223
|
-
>
|
|
224
|
-
> The `--cratis-*` token layer is an **additive Cratis-scoped tint** for
|
|
225
|
-
> surfaces _our_ wrappers own (validation error text, the FormElement addon,
|
|
226
|
-
> breadcrumb borders, etc.). It is not, by itself, enough to skin the
|
|
227
|
-
> PrimeReact widgets — pair it with the baseline theme, styled mode, or a `pt`
|
|
228
|
-
> preset. Derive the preset (styled mode) or override the `--cratis-*` tokens
|
|
229
|
-
> (baseline theme) when you want the whole UI in your palette.
|
|
230
|
-
|
|
231
|
-
All setups share the same one-line provider setup. You can change direction
|
|
232
|
-
later because the same provider, tokens, and `pt` hooks stay available.
|
|
69
|
+
Keep exactly one compatible Pixi resolution across the application and Components; two installed copies produce nominal TypeScript incompatibilities for `PIXI.Container` and pointer-event types even when both satisfy `^8.20.0`. The capability-subpath table below identifies the current Pixi-dependent surfaces.
|
|
233
70
|
|
|
234
|
-
|
|
71
|
+
## Styles
|
|
235
72
|
|
|
236
|
-
```
|
|
73
|
+
```ts
|
|
237
74
|
import '@cratis/components/tokens';
|
|
238
75
|
import '@cratis/components/styles';
|
|
239
|
-
import
|
|
240
|
-
|
|
241
|
-
export const App = () => (
|
|
242
|
-
<CratisComponentsProvider>
|
|
243
|
-
<YourApp />
|
|
244
|
-
</CratisComponentsProvider>
|
|
245
|
-
);
|
|
76
|
+
import '@cratis/components/theme'; // optional baseline appearance
|
|
246
77
|
```
|
|
247
78
|
|
|
248
|
-
-
|
|
249
|
-
internal component reads from. It is the seam that lets the library span
|
|
250
|
-
PrimeReact major versions, so it is always needed.
|
|
251
|
-
- `@cratis/components/styles` is every component stylesheet in one file, plus
|
|
252
|
-
the Tailwind utility classes used inside the package and the third-party
|
|
253
|
-
`allotment` rules `DataPage` needs. Components no longer import their own
|
|
254
|
-
CSS — that is what made the published package unloadable in Node
|
|
255
|
-
([#118](https://github.com/Cratis/Components/issues/118)) — so this import is
|
|
256
|
-
required, not optional.
|
|
257
|
-
- `CratisComponentsProvider` is a thin wrapper over `@primereact/core`'s
|
|
258
|
-
`PrimeReactProvider` so Cratis has one place to layer in defaults (including
|
|
259
|
-
the optional `...styledMode()` styled layer). Drop in the raw
|
|
260
|
-
`PrimeReactProvider` from `@primereact/core` if you'd rather.
|
|
261
|
-
|
|
262
|
-
The setups below differ only in **what else** you load on top of this
|
|
263
|
-
provider setup.
|
|
264
|
-
|
|
265
|
-
---
|
|
266
|
-
|
|
267
|
-
### Use PrimeReact's styled mode
|
|
268
|
-
|
|
269
|
-
PrimeReact 11 dropped the v10 `primereact/resources/themes/*/theme.css`
|
|
270
|
-
stylesheets. A theme is now handed to the provider at runtime, in two halves: a
|
|
271
|
-
`@primeuix/themes` **preset** (a token object `@primeuix/styled` turns into
|
|
272
|
-
`--p-*` custom properties) and PrimeReact's **component styles**
|
|
273
|
-
(`@primereact/styles` — the `p-*` class names and the CSS the tokens drive).
|
|
274
|
-
`styledMode()` from `@cratis/components/styled` returns both as
|
|
275
|
-
`{ theme, defaults }`; spread it into the provider `value` next to your
|
|
276
|
-
license key. The `defaults` are `primeReactStyles`, PrimeReact's component
|
|
277
|
-
styles keyed by primitive name, which the provider applies to **every**
|
|
278
|
-
primitive rendered under it — the ones this library renders and the ones your
|
|
279
|
-
app renders itself. That is what puts the `p-*` class names on the elements and
|
|
280
|
-
lets the preset paint them; the `--cratis-*` tokens follow the preset's `--p-*`
|
|
281
|
-
so Cratis-scoped surfaces stay in sync.
|
|
79
|
+
`tokens` supplies conservative light defaults. `styles` contains structural rules and internal utilities in low-priority Cratis cascade layers, with no Tailwind Preflight/reset or token duplication. `theme` adds automatic/explicit dark mode, forced colors, and themed subtrees.
|
|
282
80
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
81
|
+
A custom product design omits `theme`, imports product CSS after `tokens` and `styles`, and maps its canonical values directly to `--cratis-*`.
|
|
82
|
+
|
|
83
|
+
## Provider
|
|
286
84
|
|
|
287
85
|
```tsx
|
|
288
|
-
import 'primeicons/primeicons.css';
|
|
289
|
-
import '@cratis/components/tokens';
|
|
290
|
-
import '@cratis/components/styles';
|
|
291
86
|
import { CratisComponentsProvider } from '@cratis/components';
|
|
292
|
-
import { styledMode } from '@cratis/components/styled';
|
|
293
87
|
|
|
294
88
|
export const App = () => (
|
|
295
|
-
<CratisComponentsProvider value={{
|
|
296
|
-
<
|
|
89
|
+
<CratisComponentsProvider value={{ locale: 'en-US' }} toaster>
|
|
90
|
+
<Application />
|
|
297
91
|
</CratisComponentsProvider>
|
|
298
92
|
);
|
|
299
93
|
```
|
|
300
94
|
|
|
301
|
-
The
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
or a `definePreset` result), `darkModeSelector` (default `.cratis-dark`, the
|
|
307
|
-
class the baseline theme uses too; `'system'` follows `prefers-color-scheme`),
|
|
308
|
-
`cssLayer` (default the `primereact` layer ordered between Tailwind's `base`
|
|
309
|
-
and `components`; `false` emits the theme unlayered).
|
|
310
|
-
|
|
311
|
-
> **A preset alone styles nothing.** `value={{ theme: { preset } }}` without the
|
|
312
|
-
> `defaults` emits the `--p-*` tokens, but the primitives keep rendering with no
|
|
313
|
-
> `p-*` class, so nothing rendered by this library is painted. Use
|
|
314
|
-
> `styledMode()`.
|
|
315
|
-
|
|
316
|
-
#### Override a single component with CSS
|
|
317
|
-
|
|
318
|
-
Plain CSS works fine on top of the theme. In styled mode PrimeReact's elements
|
|
319
|
-
carry their `p-*` class names, and the theme is emitted into the `primereact`
|
|
320
|
-
cascade layer, so a plain unlayered rule in your own stylesheet wins — exactly
|
|
321
|
-
as it did against PrimeReact 10's `@layer primereact` stylesheets. Or target
|
|
322
|
-
your own `className`:
|
|
95
|
+
The provider owns locale, Components-specific labels, optional renderer selection, and the toast
|
|
96
|
+
region. The default renderer needs no additional package. Certified renderer packages implement the
|
|
97
|
+
stable, nine-slot `stable-presentation/v1` primitive profile; they never replace the full Components
|
|
98
|
+
catalog. They share the Components repository release version and are selected with the provider's
|
|
99
|
+
`library` prop:
|
|
323
100
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
.dangerous-button {
|
|
331
|
-
background: var(--cratis-red-500);
|
|
332
|
-
color: white;
|
|
333
|
-
}
|
|
334
|
-
```
|
|
335
|
-
|
|
336
|
-
```tsx
|
|
337
|
-
<Button className='dangerous-button'>Delete</Button>
|
|
338
|
-
```
|
|
339
|
-
|
|
340
|
-
#### Override a single component with Tailwind
|
|
101
|
+
- `@cratis/components.mui@4.0.0` — MUI 9.x / Emotion 11.x stable presentation slots;
|
|
102
|
+
- `@cratis/components.primereact@4.0.0` — PrimeReact 11.x stable presentation slots, with an
|
|
103
|
+
application-owned outer provider and license key;
|
|
104
|
+
- `@cratis/components.primereact10@4.0.0` — PrimeReact 10.9.9+ stable presentation slots, with its
|
|
105
|
+
separate MIT-era provider, global theme, and upstream-major boundary.
|
|
341
106
|
|
|
342
|
-
|
|
107
|
+
Adapter-specific themes, providers, SSR setup, peers, and license boundaries remain documented by
|
|
108
|
+
the adapter package. Styling for the built-in renderer is CSS-owned. The canonical renderer guide
|
|
109
|
+
bounds primitive adaptation, direct vendor coexistence, custom composition, unsupported claims, and
|
|
110
|
+
license/key ownership.
|
|
343
111
|
|
|
344
112
|
```tsx
|
|
345
|
-
<
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
113
|
+
<CratisComponentsProvider
|
|
114
|
+
value={{
|
|
115
|
+
locale: 'nb-NO',
|
|
116
|
+
messages: {
|
|
117
|
+
paginator: {
|
|
118
|
+
navigation: 'Sidenavigasjon',
|
|
119
|
+
first: 'Første side',
|
|
120
|
+
previous: 'Forrige side',
|
|
121
|
+
next: 'Neste side',
|
|
122
|
+
last: 'Siste side',
|
|
123
|
+
},
|
|
124
|
+
datePicker: {
|
|
125
|
+
today: 'I dag',
|
|
126
|
+
clear: 'Tøm',
|
|
127
|
+
openCalendar: 'Åpne kalender',
|
|
128
|
+
previousMonth: 'Forrige måned',
|
|
129
|
+
nextMonth: 'Neste måned',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
}}
|
|
133
|
+
>
|
|
134
|
+
<Application />
|
|
135
|
+
</CratisComponentsProvider>
|
|
351
136
|
```
|
|
352
137
|
|
|
353
|
-
|
|
354
|
-
look Cratis apps had on PrimeReact 10, or are happy with one of the prebuilt
|
|
355
|
-
PrimeReact design systems.
|
|
356
|
-
|
|
357
|
-
### Use the Cratis baseline theme
|
|
358
|
-
|
|
359
|
-
Want a polished default look **without adding `@primereact/styles` and
|
|
360
|
-
`@primeuix/themes`**? Ship the components unstyled and import the Cratis baseline
|
|
361
|
-
theme — Cratis-authored MIT CSS that styles every component from the `--cratis-*`
|
|
362
|
-
layer. (You still need a PrimeUI key to run PrimeReact itself — see
|
|
363
|
-
[Licensing](#licensing).)
|
|
138
|
+
## Command forms
|
|
364
139
|
|
|
365
140
|
```tsx
|
|
366
|
-
import '
|
|
367
|
-
import '@cratis/components/
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
141
|
+
import { CommandDialog } from '@cratis/components/CommandDialog';
|
|
142
|
+
import { InputTextField } from '@cratis/components/CommandForm';
|
|
143
|
+
import { RegisterAuthor } from './RegisterAuthor';
|
|
144
|
+
|
|
145
|
+
export const RegisterAuthorDialog = () => (
|
|
146
|
+
<CommandDialog<RegisterAuthor>
|
|
147
|
+
command={RegisterAuthor}
|
|
148
|
+
title='Register author'
|
|
149
|
+
okLabel='Register'
|
|
150
|
+
>
|
|
151
|
+
<InputTextField<RegisterAuthor> value={(command) => command.name} title='Name' />
|
|
152
|
+
</CommandDialog>
|
|
377
153
|
);
|
|
378
154
|
```
|
|
379
155
|
|
|
380
|
-
|
|
381
|
-
`@primeuix/themes` preset's `--p-*` tokens when one is present, so you can layer
|
|
382
|
-
it under styled mode too, and every rule is overridable via your own CSS or `pt`.
|
|
383
|
-
The baseline theme styles the unstyled primitives through their `[data-scope]`
|
|
384
|
-
attributes — there are no `p-*` class names outside styled mode — so target
|
|
385
|
-
those, or your own `className`, or the `--cratis-*` tokens:
|
|
156
|
+
Fields bind directly to generated command properties and surface server validation through the Arc command-form context.
|
|
386
157
|
|
|
387
|
-
|
|
388
|
-
.cratis-theme [data-scope='button'] {
|
|
389
|
-
border-radius: 999px;
|
|
390
|
-
} /* pill buttons */
|
|
391
|
-
.dangerous {
|
|
392
|
-
background: var(--cratis-red-500);
|
|
393
|
-
color: white;
|
|
394
|
-
}
|
|
395
|
-
```
|
|
396
|
-
|
|
397
|
-
---
|
|
398
|
-
|
|
399
|
-
### Use a custom palette on top of a PrimeReact theme
|
|
400
|
-
|
|
401
|
-
Keep a theme as your **structural baseline** (so every widget gets its
|
|
402
|
-
padding, dialog frame, button shape, focus ring, etc.) and repaint it with your
|
|
403
|
-
own colors. Which knob you turn depends on the theme:
|
|
404
|
-
|
|
405
|
-
- **Cratis baseline theme** — override the `--cratis-*` tokens in CSS; the
|
|
406
|
-
theme paints the widgets from them, so one override repaints widgets and
|
|
407
|
-
Cratis-scoped surfaces alike.
|
|
408
|
-
- **PrimeReact's styled mode** — derive your own preset with `definePreset` and
|
|
409
|
-
hand it to `styledMode({ preset })`; the widgets read the preset's `--p-*`
|
|
410
|
-
tokens, and the `--cratis-*` tokens follow.
|
|
411
|
-
|
|
412
|
-
#### Baseline theme, plain CSS
|
|
413
|
-
|
|
414
|
-
```css
|
|
415
|
-
/* palette.override.css — imported once, after @cratis/components/theme */
|
|
416
|
-
.cratis-theme {
|
|
417
|
-
--cratis-surface-section: #0f172a;
|
|
418
|
-
--cratis-surface-card: #1e293b;
|
|
419
|
-
--cratis-surface-overlay: #1e293b;
|
|
420
|
-
--cratis-surface-hover: #334155;
|
|
421
|
-
--cratis-surface-border: #334155;
|
|
422
|
-
|
|
423
|
-
--cratis-text-color: #f8fafc;
|
|
424
|
-
--cratis-text-color-secondary: #94a3b8;
|
|
425
|
-
|
|
426
|
-
--cratis-primary-color: #38bdf8;
|
|
427
|
-
--cratis-primary-color-text: #0b1220;
|
|
158
|
+
## Query-backed tables
|
|
428
159
|
|
|
429
|
-
|
|
430
|
-
|
|
160
|
+
```tsx
|
|
161
|
+
import { Column, DataTableForObservableQuery } from '@cratis/components/DataTables';
|
|
162
|
+
import { ObserveAuthors } from './ObserveAuthors';
|
|
431
163
|
|
|
432
|
-
|
|
433
|
-
}
|
|
164
|
+
<DataTableForObservableQuery
|
|
165
|
+
query={ObserveAuthors}
|
|
166
|
+
dataKey='id'
|
|
167
|
+
emptyMessage='No authors'
|
|
168
|
+
>
|
|
169
|
+
<Column field='name' header='Name' sortable filter />
|
|
170
|
+
<Column field='email' header='Email' filter />
|
|
171
|
+
</DataTableForObservableQuery>;
|
|
434
172
|
```
|
|
435
173
|
|
|
436
|
-
|
|
174
|
+
Arc owns server paging. Client filters apply only to the loaded page; complete-result filtering belongs in query arguments and runs on the server before paging.
|
|
437
175
|
|
|
438
|
-
|
|
439
|
-
// brand-preset.ts
|
|
440
|
-
import { definePreset } from '@primeuix/themes';
|
|
441
|
-
import { CratisPreset } from '@cratis/components/styled';
|
|
442
|
-
|
|
443
|
-
export const BrandPreset = definePreset(CratisPreset, {
|
|
444
|
-
semantic: {
|
|
445
|
-
primary: {
|
|
446
|
-
50: '{sky.50}',
|
|
447
|
-
100: '{sky.100}',
|
|
448
|
-
200: '{sky.200}',
|
|
449
|
-
300: '{sky.300}',
|
|
450
|
-
400: '{sky.400}',
|
|
451
|
-
500: '{sky.500}',
|
|
452
|
-
600: '{sky.600}',
|
|
453
|
-
700: '{sky.700}',
|
|
454
|
-
800: '{sky.800}',
|
|
455
|
-
900: '{sky.900}',
|
|
456
|
-
950: '{sky.950}',
|
|
457
|
-
},
|
|
458
|
-
},
|
|
459
|
-
});
|
|
460
|
-
```
|
|
176
|
+
## Notifications
|
|
461
177
|
|
|
462
178
|
```tsx
|
|
463
|
-
|
|
464
|
-
```
|
|
465
|
-
|
|
466
|
-
#### Scoped (dark-on-light, light-on-dark, etc.)
|
|
179
|
+
import { Toaster, toast } from '@cratis/components/Notifications';
|
|
467
180
|
|
|
468
|
-
|
|
469
|
-
works under the baseline theme (in styled mode, region-scoped widget colors come
|
|
470
|
-
from the preset; the `--cratis-*` overrides still retint Cratis-scoped surfaces):
|
|
181
|
+
<Toaster position='top-right' />;
|
|
471
182
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
--cratis-primary-color: #60a5fa;
|
|
477
|
-
}
|
|
478
|
-
```
|
|
479
|
-
|
|
480
|
-
```tsx
|
|
481
|
-
<div className='dark-zone'>
|
|
482
|
-
<Dialog title='Always dark'>…</Dialog>
|
|
483
|
-
</div>
|
|
183
|
+
toast.success({
|
|
184
|
+
title: 'Saved',
|
|
185
|
+
description: 'Your changes were saved.',
|
|
186
|
+
});
|
|
484
187
|
```
|
|
485
188
|
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
Tailwind's `@layer base` is the idiomatic spot — declare the palette once and
|
|
489
|
-
Tailwind handles cascade and dark mode:
|
|
189
|
+
The queue, promise lifecycle, timers, dispatch substitution, toast frame, and region are Components-owned implementation surfaces.
|
|
490
190
|
|
|
491
|
-
|
|
492
|
-
/* app.css */
|
|
493
|
-
@import 'tailwindcss';
|
|
494
|
-
@import '@cratis/components/tokens';
|
|
495
|
-
@import '@cratis/components/styles';
|
|
496
|
-
|
|
497
|
-
@layer base {
|
|
498
|
-
:root {
|
|
499
|
-
--cratis-surface-card: theme('colors.slate.800');
|
|
500
|
-
--cratis-surface-border: theme('colors.slate.700');
|
|
501
|
-
--cratis-text-color: theme('colors.slate.50');
|
|
502
|
-
--cratis-primary-color: theme('colors.sky.400');
|
|
503
|
-
--cratis-red-500: theme('colors.red.500');
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.cratis-dark {
|
|
507
|
-
--cratis-surface-card: theme('colors.slate.900');
|
|
508
|
-
--cratis-text-color: theme('colors.slate.100');
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
```
|
|
191
|
+
## Custom styling
|
|
512
192
|
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
If your stylesheets still use the names a v10 theme published on `:root` —
|
|
516
|
-
`--surface-ground`, `--surface-card`, `--surface-border`, `--text-color`,
|
|
517
|
-
`--primary-color`, the `--surface-0…900` and color scales — import
|
|
518
|
-
`@cratis/components/primereact-v10-palette` after `tokens` and `styles`. It
|
|
519
|
-
restores every one of them with the `lara-light-blue` / `lara-dark-blue`
|
|
520
|
-
values: the semantic names follow the active preset's `--p-*` tokens where
|
|
521
|
-
v11 has an equivalent (Lara as the fallback), the numbered scales are the
|
|
522
|
-
lara-blue values verbatim (the v10 dark surface scale was inverted, so
|
|
523
|
-
`--p-surface-*` cannot stand in for it), and light/dark switch through
|
|
524
|
-
`light-dark()` keyed off `.cratis-dark`. It exists so what is already written
|
|
525
|
-
keeps working — write nothing new against those names; use `--cratis-*` (or
|
|
526
|
-
`--p-*`).
|
|
527
|
-
|
|
528
|
-
#### What `--cratis-*` tokens are for
|
|
529
|
-
|
|
530
|
-
In styled mode PrimeReact widgets read the preset's `--p-*` design tokens
|
|
531
|
-
directly. Cratis wrappers add some surfaces of their own (inline validation
|
|
532
|
-
error text, the FormElement addon background, the breadcrumb bottom border,
|
|
533
|
-
etc.) — those use a parallel set of `--cratis-*` tokens that resolve the v11
|
|
534
|
-
token first and fall back to the v10 variable, via the cascade defined in
|
|
535
|
-
`tokens.css`. Under the baseline theme the widgets read the `--cratis-*` tokens
|
|
536
|
-
too.
|
|
537
|
-
|
|
538
|
-
The upshot:
|
|
539
|
-
|
|
540
|
-
- Repaint the whole UI by deriving the **preset** (styled mode) or overriding the **`--cratis-*` tokens** (baseline theme).
|
|
541
|
-
- Override **`--cratis-*` tokens** in styled mode when you specifically want Cratis surfaces to differ from PrimeReact widgets.
|
|
542
|
-
|
|
543
|
-
#### `--cratis-*` token reference (Cratis-scoped surfaces)
|
|
544
|
-
|
|
545
|
-
| Group | Tokens |
|
|
546
|
-
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
547
|
-
| Surfaces | `--cratis-surface-0`, `--cratis-surface-100`, `--cratis-surface-ground`, `--cratis-surface-section`, `--cratis-surface-card`, `--cratis-surface-overlay`, `--cratis-surface-hover`, `--cratis-surface-border` |
|
|
548
|
-
| Text | `--cratis-text-color`, `--cratis-text-color-secondary` |
|
|
549
|
-
| Brand | `--cratis-primary-color`, `--cratis-primary-color-text`, `--cratis-primary-300`, `--cratis-primary-400`, `--cratis-primary-500`, `--cratis-primary-600` |
|
|
550
|
-
| Selection | `--cratis-highlight-bg`, `--cratis-highlight-text-color` |
|
|
551
|
-
| Semantic | `--cratis-green-500`, `--cratis-orange-500`, `--cratis-red-500` |
|
|
552
|
-
| Geometry | `--cratis-border-radius` |
|
|
553
|
-
| Effects | `--cratis-focus-ring`, `--cratis-maskbg` |
|
|
554
|
-
|
|
555
|
-
Each resolves the v11 design token first and falls back to the v10 variable
|
|
556
|
-
with the same name minus the `--cratis-` prefix (e.g. `--cratis-surface-card`
|
|
557
|
-
→ `var(--p-content-background, var(--surface-card))`).
|
|
558
|
-
|
|
559
|
-
**Use this setup when:** you want a custom look without writing a PrimeReact
|
|
560
|
-
theme from scratch, you're shipping multiple palette variants (light/dark/
|
|
561
|
-
brand), or you want Cratis-scoped surfaces tinted differently from PrimeReact
|
|
562
|
-
widgets.
|
|
563
|
-
|
|
564
|
-
---
|
|
565
|
-
|
|
566
|
-
### Use fully unstyled mode
|
|
567
|
-
|
|
568
|
-
Turn off every PrimeReact base style at the provider and supply visuals
|
|
569
|
-
through PrimeReact's `pt` (pass-through) mechanism, your own CSS, or both.
|
|
570
|
-
Components render structurally only and become a blank canvas.
|
|
193
|
+
Documented customizable component parts use stable `data-cratis-part` names. Components with per-instance customization expose a typed `pt` object containing ordinary HTML attributes for their documented parts.
|
|
571
194
|
|
|
572
195
|
```tsx
|
|
573
|
-
import '@cratis/components/
|
|
574
|
-
import { CratisComponentsProvider } from '@cratis/components';
|
|
575
|
-
|
|
576
|
-
export const App = () => (
|
|
577
|
-
<CratisComponentsProvider value={{ unstyled: true, pt: globalPt }}>
|
|
578
|
-
<YourApp />
|
|
579
|
-
</CratisComponentsProvider>
|
|
580
|
-
);
|
|
581
|
-
```
|
|
582
|
-
|
|
583
|
-
#### Verify pass-through compatibility
|
|
584
|
-
|
|
585
|
-
Components 3 publishes its PrimeReact 11 slot and rendered-marker contract from `@cratis/components/compatibility`. In a DOM test, apply `primeReact11PassThroughSentinelPreset`, render the surfaces your application uses, and call `assertPrimeReact11PassThroughCompatibility(root, components)`. Additions pass; a missing or renamed contracted slot or marker produces an actionable error. The contract is major-version scoped and does not preserve PrimeReact 10 names.
|
|
586
|
-
|
|
587
|
-
The machine-readable `components3PrimeReact11PassThroughContract` is the source of truth. Contract revision 1 covers the parts rendered by Components 3's supported compositions on PrimeReact 11, rather than every optional part an application could compose directly. See the [pass-through contract documentation](https://cratis.io/Components/styling/pass-through.html) for the supported component and slot list.
|
|
588
|
-
|
|
589
|
-
#### A `pt` preset in plain CSS
|
|
196
|
+
import { Dialog } from '@cratis/components/Dialogs';
|
|
590
197
|
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
popup: { className: 'my-dialog' },
|
|
602
|
-
header: { className: 'my-dialog__header' },
|
|
603
|
-
content: { className: 'my-dialog__body' },
|
|
604
|
-
},
|
|
605
|
-
},
|
|
606
|
-
inputtext: {
|
|
607
|
-
root: { className: 'my-input' },
|
|
608
|
-
},
|
|
609
|
-
} as const;
|
|
198
|
+
<Dialog
|
|
199
|
+
title='Edit account'
|
|
200
|
+
pt={{
|
|
201
|
+
backdrop: { className: 'product-dialog-backdrop' },
|
|
202
|
+
root: { className: 'product-dialog' },
|
|
203
|
+
content: { className: 'product-dialog-content' },
|
|
204
|
+
}}
|
|
205
|
+
>
|
|
206
|
+
Content
|
|
207
|
+
</Dialog>;
|
|
610
208
|
```
|
|
611
209
|
|
|
612
210
|
```css
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
border
|
|
622
|
-
|
|
211
|
+
:root {
|
|
212
|
+
--cratis-primary-color: var(--product-accent);
|
|
213
|
+
--cratis-action-background: var(--product-action);
|
|
214
|
+
--cratis-action-background-hover: var(--product-action-hover);
|
|
215
|
+
--cratis-action-background-active: var(--product-action-active);
|
|
216
|
+
--cratis-action-text: var(--product-on-action);
|
|
217
|
+
--cratis-surface-card: var(--product-surface);
|
|
218
|
+
--cratis-surface-overlay: var(--product-surface-raised);
|
|
219
|
+
--cratis-surface-border: var(--product-border);
|
|
220
|
+
--cratis-control-background: var(--product-control);
|
|
221
|
+
--cratis-control-border: var(--product-control-border);
|
|
222
|
+
--cratis-text-color: var(--product-text);
|
|
223
|
+
--cratis-focus-ring: var(--product-focus-ring);
|
|
623
224
|
}
|
|
624
225
|
|
|
625
|
-
.
|
|
626
|
-
|
|
627
|
-
background: var(--cratis-surface-card);
|
|
628
|
-
border-bottom: 1px solid var(--cratis-surface-border);
|
|
629
|
-
font-weight: 600;
|
|
226
|
+
.product-dialog[data-cratis-part='root'] {
|
|
227
|
+
border-radius: 1rem;
|
|
630
228
|
}
|
|
631
229
|
```
|
|
632
230
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
<DataPage.MenuItems>…</DataPage.MenuItems>
|
|
694
|
-
<DataPage.Columns>…</DataPage.Columns>
|
|
695
|
-
</DataPage>
|
|
696
|
-
|
|
697
|
-
<StepperCommandDialog<RegisterOrder> command={RegisterOrder} title="New order"
|
|
698
|
-
/* pt targets the Stepper */
|
|
699
|
-
pt={{ stepperpanel: { content: { className: 'pt-6' } } }}
|
|
700
|
-
/* dialogPt targets the outer Dialog */
|
|
701
|
-
dialogPt={{ header: { className: 'bg-slate-900' } }}>
|
|
702
|
-
…
|
|
703
|
-
</StepperCommandDialog>
|
|
704
|
-
```
|
|
705
|
-
|
|
706
|
-
`ObjectContentEditor`, `ObjectNavigationalBar`, and `SchemaEditor` accept only
|
|
707
|
-
`className` on the root — restyle their internals via the **global** `pt`
|
|
708
|
-
preset.
|
|
709
|
-
|
|
710
|
-
**Use this setup when:** you have a design system to honor, you're matching a
|
|
711
|
-
brand kit, or you want zero PrimeReact CSS in the final bundle.
|
|
712
|
-
|
|
713
|
-
---
|
|
714
|
-
|
|
715
|
-
### Combining styling setups
|
|
716
|
-
|
|
717
|
-
The styling options compose, so you don't have to choose one for the whole app:
|
|
718
|
-
|
|
719
|
-
- **Themed with one unstyled component** — keep the PrimeReact theme and pass
|
|
720
|
-
`unstyled` per-component to opt that one widget out:
|
|
721
|
-
|
|
722
|
-
```tsx
|
|
723
|
-
<Dialog title='Custom' unstyled pt={brandDialogPt}>
|
|
724
|
-
…
|
|
725
|
-
</Dialog>
|
|
726
|
-
```
|
|
727
|
-
|
|
728
|
-
- **Unstyled with one themed island** — the baseline theme's rules are scoped
|
|
729
|
-
under `.cratis-theme`, so wrapping one element in the class themes just that
|
|
730
|
-
subtree:
|
|
731
|
-
|
|
732
|
-
```tsx
|
|
733
|
-
<CratisComponentsProvider value={{ unstyled: true, pt: globalPt }}>
|
|
734
|
-
<App />
|
|
735
|
-
<div className='cratis-theme'>
|
|
736
|
-
<BaselineThemedSubtree />
|
|
737
|
-
</div>
|
|
738
|
-
</CratisComponentsProvider>
|
|
739
|
-
```
|
|
740
|
-
|
|
741
|
-
- **Dark mode** — toggle `cratis-dark` on the root element: the baseline
|
|
742
|
-
theme's dark palette, `styledMode()`'s dark scheme (its default
|
|
743
|
-
`darkModeSelector`) and the v10 palette all key off it, so PrimeReact widgets
|
|
744
|
-
and Cratis surfaces follow together. Scope any `--cratis-*` tokens you want
|
|
745
|
-
to diverge to `.cratis-dark` as well.
|
|
746
|
-
|
|
747
|
-
### Per-component `pt` cheat sheet
|
|
748
|
-
|
|
749
|
-
Three patterns, depending on how much PrimeReact a wrapper composes:
|
|
750
|
-
|
|
751
|
-
1. **Single-widget wrappers** — `Dialog`, every `CommandForm` field,
|
|
752
|
-
`EventsView`, and `Dropdown` forward `pt`, `ptOptions`, `unstyled`, and
|
|
753
|
-
`className` straight to their inner PrimeReact component.
|
|
754
|
-
2. **Multi-slot composites** — `StepperCommandDialog` (`pt` for Stepper,
|
|
755
|
-
`dialogPt` for Dialog), `DataPage` (`tablePt` for DataTable, `menubarPt`
|
|
756
|
-
for the action toolbar's buttons), and `DataTableForQuery` /
|
|
757
|
-
`DataTableForObservableQuery` (`pt` for DataTable plus
|
|
758
|
-
`paginatorClassName` / `paginatorAriaLabels` for the Cratis paginator).
|
|
759
|
-
3. **Large composites** — `ObjectContentEditor`, `ObjectNavigationalBar`,
|
|
760
|
-
`SchemaEditor` expose `className` only; restyle internals via the global
|
|
761
|
-
`pt` preset.
|
|
762
|
-
|
|
763
|
-
`Dropdown` routes `id`, `tabIndex`, `aria-label`, `aria-labelledby` and `aria-describedby` to its focusable `role="combobox"` trigger. The outer Select root remains a layout wrapper and does not duplicate the control id. For filterable dropdowns, `filterPlaceholder` can differ from the closed trigger's `placeholder` and defaults to it when omitted.
|
|
764
|
-
|
|
765
|
-
Filtered data-table columns accept partial `filterLabels` overrides for trigger, action and boolean-option text, plus a `filterElement` render callback that replaces the built-in value editor while keeping draft/apply behavior. `DataTableFilterMatchMode` supplies the Cratis-owned built-in vocabulary, and `registerDataTableFilterMatcher()` adds custom modes without importing the active rendering adapter.
|
|
766
|
-
|
|
767
|
-
`DatePickerInput` exposes `id`, `disabled`, `readOnly` and `showButtonBar` directly. Use its runtime `input` slot only for additional attributes; the public type intentionally rejects PrimeReact 11's stale `pcInputText` declaration, which the runtime never emits. The wrapper translates `invalid` to accepted `aria-invalid` and `data-invalid` input attributes instead of forwarding a rejected `invalid` DOM attribute:
|
|
768
|
-
|
|
769
|
-
```tsx
|
|
770
|
-
<DatePickerInput
|
|
771
|
-
id='appointment-date'
|
|
772
|
-
value={selectedDate}
|
|
773
|
-
onChange={setSelectedDate}
|
|
774
|
-
disabled={isDisabled}
|
|
775
|
-
readOnly={isReadOnly}
|
|
776
|
-
showButtonBar
|
|
777
|
-
pt={{ input: { 'aria-label': 'Appointment date' } }}
|
|
778
|
-
/>
|
|
779
|
-
```
|
|
780
|
-
|
|
781
|
-
### What is _not_ fully pass-through
|
|
782
|
-
|
|
783
|
-
`BusyIndicatorDialog` only honors the global `pt` set via
|
|
784
|
-
`CratisComponentsProvider`; it does not accept per-instance `pt` because its
|
|
785
|
-
request type is owned by `@cratis/arc.react`.
|
|
786
|
-
|
|
787
|
-
## Troubleshooting
|
|
788
|
-
|
|
789
|
-
### Module Resolution Errors
|
|
790
|
-
|
|
791
|
-
If you encounter errors like:
|
|
792
|
-
|
|
793
|
-
```
|
|
794
|
-
Cannot find module '@cratis/components/TimeMachine' or its corresponding type declarations.
|
|
795
|
-
```
|
|
796
|
-
|
|
797
|
-
**Solution:** Ensure you're using the correct case-sensitive import paths (e.g., `TimeMachine`, not `timeMachine`).
|
|
798
|
-
|
|
799
|
-
If using TypeScript 4.7+, try updating your `tsconfig.json`:
|
|
800
|
-
|
|
801
|
-
```json
|
|
802
|
-
{
|
|
803
|
-
"compilerOptions": {
|
|
804
|
-
"moduleResolution": "bundler" // or "node16" / "nodenext"
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
```
|
|
808
|
-
|
|
809
|
-
### Import Errors
|
|
810
|
-
|
|
811
|
-
Ensure you're using the correct import paths. The package uses case-sensitive paths that match the actual component names.
|
|
231
|
+
Do not target React Aria classes or internal DOM structure.
|
|
232
|
+
|
|
233
|
+
## Import from explicit subpaths
|
|
234
|
+
|
|
235
|
+
The canonical rule: **the package root is setup-only; every component ships from its own subpath.** Import `CratisComponentsProvider`, `useCratisComponentsConfig`, `cratisDefaults`, and `mergeCratisComponentsConfig` from the root; import every component from the subpath in its capability profile:
|
|
236
|
+
|
|
237
|
+
| Subpath | Capability profile |
|
|
238
|
+
| ------------------------------------------ | --------------------------------- |
|
|
239
|
+
| `@cratis/components/Canvas` | Spatial (optional `pixi.js` peer) |
|
|
240
|
+
| `@cratis/components/Chat` | Advanced React |
|
|
241
|
+
| `@cratis/components/CommandDialog` | Foundation |
|
|
242
|
+
| `@cratis/components/CommandStepper` | Foundation |
|
|
243
|
+
| `@cratis/components/CommandForm` | Foundation |
|
|
244
|
+
| `@cratis/components/CommandForm/fields` | Foundation |
|
|
245
|
+
| `@cratis/components/Common` | Foundation |
|
|
246
|
+
| `@cratis/components/DataPage` | Foundation |
|
|
247
|
+
| `@cratis/components/DataTables` | Foundation |
|
|
248
|
+
| `@cratis/components/Dialogs` | Foundation |
|
|
249
|
+
| `@cratis/components/Display` | Foundation |
|
|
250
|
+
| `@cratis/components/Dropdown` | Foundation |
|
|
251
|
+
| `@cratis/components/Filter` | Foundation |
|
|
252
|
+
| `@cratis/components/Notifications` | Foundation |
|
|
253
|
+
| `@cratis/components/ObjectContentEditor` | Advanced React |
|
|
254
|
+
| `@cratis/components/ObjectNavigationalBar` | Advanced React |
|
|
255
|
+
| `@cratis/components/PivotViewer` | Spatial (optional `pixi.js` peer) |
|
|
256
|
+
| `@cratis/components/SchemaEditor` | Advanced React |
|
|
257
|
+
| `@cratis/components/TimeMachine` | Advanced React |
|
|
258
|
+
| `@cratis/components/Toolbar` | Advanced React |
|
|
259
|
+
| `@cratis/components/types` | Foundation |
|
|
260
|
+
|
|
261
|
+
Foundation, Advanced React, and Spatial describe dependency and usage
|
|
262
|
+
boundaries, not stability, maturity, accessibility, support, or quality tiers.
|
|
263
|
+
`Spatial` identifies the subpaths that require the optional Pixi peer.
|
|
264
|
+
|
|
265
|
+
Components 4 removes component-family namespaces from the root. The root is
|
|
266
|
+
setup-only so importing the provider does not traverse optional or unrelated
|
|
267
|
+
component graphs. [MIGRATION.md](./MIGRATION.md) contains the current
|
|
268
|
+
namespace-to-subpath mapping and migration command for existing root imports.
|
|
269
|
+
|
|
270
|
+
## Components 3 migration
|
|
271
|
+
|
|
272
|
+
The current package manifest does not declare PrimeReact as a required runtime
|
|
273
|
+
or peer. Follow the [Components 3 to 4 migration guide](./MIGRATION.md)
|
|
274
|
+
for dependency removal, provider changes, product token mapping, stable part
|
|
275
|
+
names, DatePicker changes, table behavior, notifications, direct Prime import
|
|
276
|
+
replacements, the bounded Components 4 `@cratis/components.migrator` commands, and the
|
|
277
|
+
`@cratis/eslint-plugin-components` guard. The optional Migrator is a development CLI used only while
|
|
278
|
+
upgrading application source; its syntax-aware transforms validate the bundled compatibility
|
|
279
|
+
manifest and installed Components support window before scanning. `@cratis/components.conformance`
|
|
280
|
+
is a separate development test harness for renderer adapter authors and is not an application
|
|
281
|
+
runtime dependency.
|
|
282
|
+
|
|
283
|
+
The old `@cratis/components/styled`, `styledMode`, `CratisPreset`, and `primeReactStyles` renderer exports are removed. Move styling to tokens and stable parts before upgrading.
|
|
284
|
+
|
|
285
|
+
## License
|
|
286
|
+
|
|
287
|
+
The package metadata declares MIT for `@cratis/components`. Dependencies and
|
|
288
|
+
bundled assets retain their own terms. Review the packaged `LICENSE`,
|
|
289
|
+
`THIRD_PARTY_NOTICES.md`, and included font-license files for the exact package
|
|
290
|
+
version you use.
|