@svadmin/ai-elements 0.5.0 → 0.7.4
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/README.md +0 -51
- package/dist/ai.css +153 -2740
- package/dist/components/AICommandBar.svelte +6 -4
- package/dist/components/ChatDialog.svelte +102 -125
- package/dist/components/ChatDialog.svelte.d.ts +3 -9
- package/dist/components/Conversation.svelte +34 -10
- package/dist/components/ConversationContent.svelte +1 -1
- package/dist/components/ConversationScrollButton.svelte +0 -1
- package/dist/components/CopilotPanel.svelte +8 -6
- package/dist/components/Message.svelte +1 -1
- package/dist/components/MessageActions.svelte +1 -1
- package/dist/components/MessageContent.svelte +1 -1
- package/dist/components/MessageToolbar.svelte +1 -1
- package/dist/components/Response.svelte +31 -11
- package/dist/components/Response.svelte.d.ts +2 -2
- package/dist/components/Tool.svelte +13 -13
- package/dist/components/Tool.svelte.d.ts +1 -1
- package/dist/components/action/Action.svelte +3 -1
- package/dist/components/artifact/ArtifactAction.svelte +3 -1
- package/dist/components/attachments/Attachment.svelte +4 -2
- package/dist/components/attachments/Attachments.svelte +3 -1
- package/dist/components/attachments/types.js +3 -2
- package/dist/components/audio-player/AudioPlayer.svelte.d.ts +1 -1
- package/dist/components/canvas/Canvas.svelte +1 -1
- package/dist/components/checkpoint/index.d.ts +2 -2
- package/dist/components/code/index.d.ts +18 -1
- package/dist/components/code/index.js +11 -1
- package/dist/components/code-block/CodeBlockLanguageSelector.svelte.d.ts +1 -1
- package/dist/components/code-block/highlight.js +10 -9
- package/dist/components/commit/Commit.svelte +23 -2
- package/dist/components/commit/CommitActions.svelte +2 -11
- package/dist/components/commit/CommitCopyButton.svelte +1 -1
- package/dist/components/commit/CommitHeader.svelte +12 -2
- package/dist/components/commit/context.svelte.d.ts +6 -0
- package/dist/components/commit/context.svelte.js +14 -0
- package/dist/components/context/Context.svelte +6 -4
- package/dist/components/context/TokensWithCost.svelte +2 -1
- package/dist/components/edge/Animated.svelte +6 -6
- package/dist/components/edge/Temporary.svelte +6 -5
- package/dist/components/file-tree/FileTree.svelte +7 -5
- package/dist/components/jsx-preview/parser.js +10 -10
- package/dist/components/message/MessageAction.svelte +3 -1
- package/dist/components/mic-selector/MicSelector.svelte.d.ts +1 -1
- package/dist/components/model-selector/ModelSelectorDialog.svelte +3 -1
- package/dist/components/open-in-chat/OpenInChatGPT.svelte +3 -1
- package/dist/components/open-in-chat/OpenInClaude.svelte +3 -1
- package/dist/components/open-in-chat/OpenInCursor.svelte +3 -1
- package/dist/components/open-in-chat/OpenInGitHub.svelte +3 -1
- package/dist/components/open-in-chat/OpenInScira.svelte +3 -1
- package/dist/components/open-in-chat/OpenInT3.svelte +3 -1
- package/dist/components/open-in-chat/OpenInv0.svelte +3 -1
- package/dist/components/package-info/PackageInfo.svelte +3 -1
- package/dist/components/prompt-input/PromptInput.svelte +8 -18
- package/dist/components/prompt-input/PromptInputCommand.svelte +2 -1
- package/dist/components/prompt-input/PromptInputSelect.svelte.d.ts +1 -1
- package/dist/components/prompt-input/PromptInputSubmit.svelte +5 -18
- package/dist/components/prompt-input/PromptInputTextarea.svelte +6 -11
- package/dist/components/prompt-input/context.svelte.d.ts +1 -8
- package/dist/components/prompt-input/files.js +3 -2
- package/dist/components/question/Question.svelte +3 -1
- package/dist/components/schema-display/SchemaDisplay.svelte +4 -2
- package/dist/components/schema-display/SchemaDisplayParameter.svelte +14 -1
- package/dist/components/schema-display/SchemaDisplayProperty.svelte +16 -1
- package/dist/components/snippet/index.d.ts +3 -3
- package/dist/components/stack-trace/StackTrace.svelte +7 -5
- package/dist/components/suggestion/index.d.ts +1 -1
- package/dist/components/terminal/Terminal.svelte +4 -2
- package/dist/components/terminal/ansi.js +9 -6
- package/dist/components/test-results/Test.svelte +1 -1
- package/dist/components/test-results/TestResults.svelte +1 -1
- package/dist/components/test-results/context.svelte.d.ts +1 -1
- package/dist/components/tool/ToolContent.svelte +1 -1
- package/dist/components/tool/ToolHeader.svelte +5 -5
- package/dist/components/tool/ToolInput.svelte +2 -4
- package/dist/components/tool/ToolOutput.svelte +2 -4
- package/dist/components/tool/ToolStatusBadge.svelte +2 -3
- package/dist/components/voice-selector/VoiceSelector.svelte +2 -1
- package/dist/components/voice-selector/VoiceSelector.svelte.d.ts +2 -2
- package/dist/components/voice-selector/context.svelte.d.ts +2 -1
- package/dist/components/web-preview/WebPreview.svelte +4 -3
- package/dist/contracts.d.ts +2 -2
- package/dist/generated-components.d.ts +15 -1
- package/dist/generated-components.js +20 -1
- package/dist/internal/Tooltip.svelte +2 -1
- package/dist/parity-manifest.d.ts +0 -1
- package/dist/parity-manifest.js +0 -97
- package/package.json +9 -19
- package/UPSTREAM_PARITY.md +0 -69
- package/dist/ai-theme.css +0 -28
- package/dist/ai.theme.css +0 -2771
- package/dist/components/code/code-variants.d.ts +0 -25
- package/dist/components/code/code-variants.js +0 -20
- package/dist/components/conversation/scroll.d.ts +0 -4
- package/dist/components/conversation/scroll.js +0 -85
- package/dist/components/message/content-polish-html.d.ts +0 -5
- package/dist/components/message/content-polish-html.js +0 -75
- package/dist/components/tool/content-polish-scroll-region.d.ts +0 -3
- package/dist/components/tool/content-polish-scroll-region.js +0 -22
package/dist/parity-manifest.js
CHANGED
|
@@ -52,7 +52,6 @@ function family(upstream, exportName, definition) {
|
|
|
52
52
|
surfaceStatus: getStatus(exports),
|
|
53
53
|
componentSurfaceStatus: getStatus(componentExports),
|
|
54
54
|
behaviorStatus: definition.behavior ?? 'unverified',
|
|
55
|
-
behaviorEvidence: names(definition.behaviorEvidence ?? ''),
|
|
56
55
|
visualStatus: definition.visual ?? 'unverified',
|
|
57
56
|
exactExports: exports
|
|
58
57
|
.filter(({ surfaceStatus }) => surfaceStatus === 'exact')
|
|
@@ -72,306 +71,210 @@ export const AI_ELEMENT_PARITY = [
|
|
|
72
71
|
family('agent', 'Agent', {
|
|
73
72
|
official: 'Agent AgentHeader AgentContent AgentInstructions AgentTools AgentTool AgentOutput',
|
|
74
73
|
exact: 'Agent AgentHeader AgentContent AgentInstructions AgentTools AgentTool AgentOutput',
|
|
75
|
-
behavior: 'verified',
|
|
76
|
-
behaviorEvidence: 'src/components/family-behavior-parity.test.svelte.ts',
|
|
77
74
|
}),
|
|
78
75
|
family('artifact', 'Artifact', {
|
|
79
76
|
official: 'Artifact ArtifactHeader ArtifactClose ArtifactTitle ArtifactDescription ArtifactActions ArtifactAction ArtifactContent',
|
|
80
77
|
exact: 'Artifact ArtifactHeader ArtifactClose ArtifactTitle ArtifactDescription ArtifactActions ArtifactAction ArtifactContent',
|
|
81
|
-
behavior: 'verified',
|
|
82
|
-
behaviorEvidence: 'src/components/compound-foundations.test.svelte.ts',
|
|
83
78
|
}),
|
|
84
79
|
family('attachments', 'Attachments', {
|
|
85
80
|
official: 'getMediaCategory getAttachmentLabel useAttachmentsContext useAttachmentContext Attachments Attachment AttachmentPreview AttachmentInfo AttachmentRemove AttachmentHoverCard AttachmentHoverCardTrigger AttachmentHoverCardContent AttachmentEmpty',
|
|
86
81
|
exact: 'getMediaCategory getAttachmentLabel useAttachmentsContext useAttachmentContext Attachments Attachment AttachmentPreview AttachmentInfo AttachmentRemove AttachmentHoverCard AttachmentHoverCardTrigger AttachmentHoverCardContent AttachmentEmpty',
|
|
87
82
|
helpers: 'getMediaCategory getAttachmentLabel useAttachmentsContext useAttachmentContext',
|
|
88
|
-
behavior: 'verified',
|
|
89
|
-
behaviorEvidence: 'src/components/attachments/attachments.test.svelte.ts',
|
|
90
83
|
}),
|
|
91
84
|
family('audio-player', 'AudioPlayer', {
|
|
92
85
|
official: 'AudioPlayer AudioPlayerElement AudioPlayerControlBar AudioPlayerPlayButton AudioPlayerSeekBackwardButton AudioPlayerSeekForwardButton AudioPlayerTimeDisplay AudioPlayerTimeRange AudioPlayerDurationDisplay AudioPlayerMuteButton AudioPlayerVolumeRange',
|
|
93
86
|
exact: 'AudioPlayer AudioPlayerElement AudioPlayerControlBar AudioPlayerPlayButton AudioPlayerSeekBackwardButton AudioPlayerSeekForwardButton AudioPlayerTimeDisplay AudioPlayerTimeRange AudioPlayerDurationDisplay AudioPlayerMuteButton AudioPlayerVolumeRange',
|
|
94
|
-
behavior: 'verified',
|
|
95
|
-
behaviorEvidence: 'src/components/audio-player/AudioPlayer.test.svelte.ts',
|
|
96
87
|
}),
|
|
97
88
|
family('canvas', 'Canvas', {
|
|
98
89
|
official: 'Canvas',
|
|
99
90
|
exact: 'Canvas',
|
|
100
|
-
behavior: 'verified',
|
|
101
|
-
behaviorEvidence: 'src/components/canvas/workflow-primitives.test.svelte.ts',
|
|
102
91
|
}),
|
|
103
92
|
family('chain-of-thought', 'ChainOfThought', {
|
|
104
93
|
official: 'ChainOfThought ChainOfThoughtHeader ChainOfThoughtStep ChainOfThoughtSearchResults ChainOfThoughtSearchResult ChainOfThoughtContent ChainOfThoughtImage',
|
|
105
94
|
exact: 'ChainOfThought ChainOfThoughtHeader ChainOfThoughtStep ChainOfThoughtSearchResults ChainOfThoughtSearchResult ChainOfThoughtContent ChainOfThoughtImage',
|
|
106
|
-
behavior: 'verified',
|
|
107
|
-
behaviorEvidence: 'src/components/family-behavior-parity.test.svelte.ts',
|
|
108
95
|
}),
|
|
109
96
|
family('checkpoint', 'Checkpoint', {
|
|
110
97
|
official: 'Checkpoint CheckpointIcon CheckpointTrigger',
|
|
111
98
|
exact: 'Checkpoint CheckpointIcon CheckpointTrigger',
|
|
112
|
-
behavior: 'verified',
|
|
113
|
-
behaviorEvidence: 'src/components/snippet/display-primitives.test.svelte.ts',
|
|
114
99
|
}),
|
|
115
100
|
family('code-block', 'CodeBlock', {
|
|
116
101
|
official: 'highlightCode CodeBlockContainer CodeBlockHeader CodeBlockTitle CodeBlockFilename CodeBlockActions CodeBlockContent CodeBlock CodeBlockCopyButton CodeBlockLanguageSelector CodeBlockLanguageSelectorTrigger CodeBlockLanguageSelectorValue CodeBlockLanguageSelectorContent CodeBlockLanguageSelectorItem',
|
|
117
102
|
exact: 'highlightCode CodeBlockContainer CodeBlockHeader CodeBlockTitle CodeBlockFilename CodeBlockActions CodeBlockContent CodeBlock CodeBlockCopyButton CodeBlockLanguageSelector CodeBlockLanguageSelectorTrigger CodeBlockLanguageSelectorValue CodeBlockLanguageSelectorContent CodeBlockLanguageSelectorItem',
|
|
118
103
|
helpers: 'highlightCode',
|
|
119
|
-
behavior: 'verified',
|
|
120
|
-
behaviorEvidence: 'src/components/code-block/code-block.test.svelte.ts',
|
|
121
104
|
}),
|
|
122
105
|
family('commit', 'Commit', {
|
|
123
106
|
official: 'Commit CommitHeader CommitHash CommitMessage CommitMetadata CommitSeparator CommitInfo CommitAuthor CommitAuthorAvatar CommitTimestamp CommitActions CommitCopyButton CommitContent CommitFiles CommitFile CommitFileInfo CommitFileStatus CommitFileIcon CommitFilePath CommitFileChanges CommitFileAdditions CommitFileDeletions',
|
|
124
107
|
exact: 'Commit CommitHeader CommitHash CommitMessage CommitMetadata CommitSeparator CommitInfo CommitAuthor CommitAuthorAvatar CommitTimestamp CommitActions CommitCopyButton CommitContent CommitFiles CommitFile CommitFileInfo CommitFileStatus CommitFileIcon CommitFilePath CommitFileChanges CommitFileAdditions CommitFileDeletions',
|
|
125
|
-
behavior: 'verified',
|
|
126
|
-
behaviorEvidence: 'src/components/family-behavior-parity.test.svelte.ts',
|
|
127
108
|
}),
|
|
128
109
|
family('confirmation', 'Confirmation', {
|
|
129
110
|
official: 'Confirmation ConfirmationTitle ConfirmationRequest ConfirmationAccepted ConfirmationRejected ConfirmationActions ConfirmationAction',
|
|
130
111
|
exact: 'Confirmation ConfirmationTitle ConfirmationRequest ConfirmationAccepted ConfirmationRejected ConfirmationActions ConfirmationAction',
|
|
131
|
-
behavior: 'verified',
|
|
132
|
-
behaviorEvidence: 'src/components/chat-core-compounds.test.svelte.ts',
|
|
133
112
|
}),
|
|
134
113
|
family('connection', 'Connection', {
|
|
135
114
|
official: 'Connection',
|
|
136
115
|
exact: 'Connection',
|
|
137
|
-
behavior: 'verified',
|
|
138
|
-
behaviorEvidence: 'src/components/canvas/workflow-primitives.test.svelte.ts',
|
|
139
116
|
}),
|
|
140
117
|
family('context', 'Context', {
|
|
141
118
|
official: 'Context ContextTrigger ContextContent ContextContentHeader ContextContentBody ContextContentFooter ContextInputUsage ContextOutputUsage ContextReasoningUsage ContextCacheUsage',
|
|
142
119
|
exact: 'Context ContextTrigger ContextContent ContextContentHeader ContextContentBody ContextContentFooter ContextInputUsage ContextOutputUsage ContextReasoningUsage ContextCacheUsage',
|
|
143
|
-
behavior: 'verified',
|
|
144
|
-
behaviorEvidence: 'src/components/official-parity-regressions.test.svelte.ts',
|
|
145
120
|
}),
|
|
146
121
|
family('controls', 'Controls', {
|
|
147
122
|
official: 'Controls',
|
|
148
123
|
exact: 'Controls',
|
|
149
|
-
behavior: 'verified',
|
|
150
|
-
behaviorEvidence: 'src/components/canvas/workflow-primitives.test.svelte.ts',
|
|
151
124
|
}),
|
|
152
125
|
family('conversation', 'Conversation', {
|
|
153
126
|
official: 'Conversation ConversationContent ConversationEmptyState ConversationScrollButton messagesToMarkdown ConversationDownload',
|
|
154
127
|
exact: 'Conversation ConversationContent ConversationEmptyState ConversationScrollButton messagesToMarkdown ConversationDownload',
|
|
155
128
|
helpers: 'messagesToMarkdown',
|
|
156
|
-
behavior: 'verified',
|
|
157
|
-
behaviorEvidence: 'src/components/chat-core-compounds.test.svelte.ts',
|
|
158
129
|
}),
|
|
159
130
|
family('edge', 'Edge', {
|
|
160
131
|
official: 'Edge',
|
|
161
132
|
exact: 'Edge',
|
|
162
|
-
behavior: 'verified',
|
|
163
|
-
behaviorEvidence: 'src/components/canvas/workflow-primitives.test.svelte.ts',
|
|
164
133
|
}),
|
|
165
134
|
family('environment-variables', 'EnvironmentVariables', {
|
|
166
135
|
official: 'EnvironmentVariables EnvironmentVariablesHeader EnvironmentVariablesTitle EnvironmentVariablesToggle EnvironmentVariablesContent EnvironmentVariableGroup EnvironmentVariableName EnvironmentVariableValue EnvironmentVariable EnvironmentVariableCopyButton EnvironmentVariableRequired',
|
|
167
136
|
exact: 'EnvironmentVariables EnvironmentVariablesHeader EnvironmentVariablesTitle EnvironmentVariablesToggle EnvironmentVariablesContent EnvironmentVariableGroup EnvironmentVariableName EnvironmentVariableValue EnvironmentVariable EnvironmentVariableCopyButton EnvironmentVariableRequired',
|
|
168
|
-
behavior: 'verified',
|
|
169
|
-
behaviorEvidence: 'src/components/family-behavior-parity.test.svelte.ts',
|
|
170
137
|
}),
|
|
171
138
|
family('file-tree', 'FileTree', {
|
|
172
139
|
official: 'FileTree FileTreeIcon FileTreeName FileTreeFolder FileTreeFile FileTreeActions',
|
|
173
140
|
exact: 'FileTree FileTreeIcon FileTreeName FileTreeFolder FileTreeFile FileTreeActions',
|
|
174
|
-
behavior: 'verified',
|
|
175
|
-
behaviorEvidence: 'src/components/official-parity-regressions.test.svelte.ts',
|
|
176
141
|
}),
|
|
177
142
|
family('image', 'Image', {
|
|
178
143
|
official: 'Image',
|
|
179
144
|
exact: 'Image',
|
|
180
|
-
behavior: 'verified',
|
|
181
|
-
behaviorEvidence: 'src/components/snippet/display-primitives.test.svelte.ts',
|
|
182
145
|
}),
|
|
183
146
|
family('inline-citation', 'InlineCitation', {
|
|
184
147
|
official: 'InlineCitation InlineCitationText InlineCitationCard InlineCitationCardTrigger InlineCitationCardBody InlineCitationCarousel InlineCitationCarouselContent InlineCitationCarouselItem InlineCitationCarouselHeader InlineCitationCarouselIndex InlineCitationCarouselPrev InlineCitationCarouselNext InlineCitationSource InlineCitationQuote',
|
|
185
148
|
exact: 'InlineCitation InlineCitationText InlineCitationCard InlineCitationCardTrigger InlineCitationCardBody InlineCitationCarousel InlineCitationCarouselContent InlineCitationCarouselItem InlineCitationCarouselHeader InlineCitationCarouselIndex InlineCitationCarouselPrev InlineCitationCarouselNext InlineCitationSource InlineCitationQuote',
|
|
186
|
-
behavior: 'verified',
|
|
187
|
-
behaviorEvidence: 'src/components/inline-citation/InlineCitation.compound.test.svelte.ts',
|
|
188
149
|
}),
|
|
189
150
|
family('jsx-preview', 'JSXPreview', {
|
|
190
151
|
official: 'useJSXPreview JSXPreview JSXPreviewContent JSXPreviewError',
|
|
191
152
|
exact: 'useJSXPreview JSXPreview JSXPreviewContent JSXPreviewError',
|
|
192
153
|
helpers: 'useJSXPreview',
|
|
193
154
|
behavior: 'intentional-difference',
|
|
194
|
-
behaviorEvidence: 'src/components/jsx-preview/jsx-preview.test.svelte.ts',
|
|
195
155
|
}),
|
|
196
156
|
family('message', 'Message', {
|
|
197
157
|
official: 'Message MessageContent MessageActions MessageAction MessageBranch MessageBranchContent MessageBranchSelector MessageBranchPrevious MessageBranchNext MessageBranchPage MessageResponse MessageToolbar',
|
|
198
158
|
exact: 'Message MessageContent MessageActions MessageAction MessageBranch MessageBranchContent MessageBranchSelector MessageBranchPrevious MessageBranchNext MessageBranchPage MessageResponse MessageToolbar',
|
|
199
|
-
behavior: 'verified',
|
|
200
|
-
behaviorEvidence: 'src/components/chat-core-compounds.test.svelte.ts',
|
|
201
159
|
}),
|
|
202
160
|
family('mic-selector', 'MicSelector', {
|
|
203
161
|
official: 'useAudioDevices MicSelector MicSelectorTrigger MicSelectorContent MicSelectorInput MicSelectorList MicSelectorEmpty MicSelectorItem MicSelectorLabel MicSelectorValue',
|
|
204
162
|
exact: 'useAudioDevices MicSelector MicSelectorTrigger MicSelectorContent MicSelectorInput MicSelectorList MicSelectorEmpty MicSelectorItem MicSelectorLabel MicSelectorValue',
|
|
205
163
|
helpers: 'useAudioDevices',
|
|
206
|
-
behavior: 'verified',
|
|
207
|
-
behaviorEvidence: 'src/components/speech-input/interactive-primitives.test.svelte.ts',
|
|
208
164
|
}),
|
|
209
165
|
family('model-selector', 'ModelSelector', {
|
|
210
166
|
official: 'ModelSelector ModelSelectorTrigger ModelSelectorContent ModelSelectorDialog ModelSelectorInput ModelSelectorList ModelSelectorEmpty ModelSelectorGroup ModelSelectorItem ModelSelectorShortcut ModelSelectorSeparator ModelSelectorLogo ModelSelectorLogoGroup ModelSelectorName',
|
|
211
167
|
exact: 'ModelSelector ModelSelectorTrigger ModelSelectorContent ModelSelectorDialog ModelSelectorInput ModelSelectorList ModelSelectorEmpty ModelSelectorGroup ModelSelectorItem ModelSelectorShortcut ModelSelectorSeparator ModelSelectorLogo ModelSelectorLogoGroup ModelSelectorName',
|
|
212
|
-
behavior: 'verified',
|
|
213
|
-
behaviorEvidence: 'src/components/model-selector/model-selector.test.svelte.ts',
|
|
214
168
|
}),
|
|
215
169
|
family('node', 'Node', {
|
|
216
170
|
official: 'Node NodeHeader NodeTitle NodeDescription NodeAction NodeContent NodeFooter',
|
|
217
171
|
exact: 'Node NodeHeader NodeTitle NodeDescription NodeAction NodeContent NodeFooter',
|
|
218
|
-
behavior: 'verified',
|
|
219
|
-
behaviorEvidence: 'src/components/canvas/workflow-primitives.test.svelte.ts',
|
|
220
172
|
}),
|
|
221
173
|
family('open-in-chat', 'OpenIn', {
|
|
222
174
|
official: 'OpenIn OpenInContent OpenInItem OpenInLabel OpenInSeparator OpenInTrigger OpenInChatGPT OpenInClaude OpenInT3 OpenInScira OpenInv0 OpenInCursor',
|
|
223
175
|
exact: 'OpenIn OpenInContent OpenInItem OpenInLabel OpenInSeparator OpenInTrigger OpenInChatGPT OpenInClaude OpenInT3 OpenInScira OpenInv0 OpenInCursor',
|
|
224
|
-
behavior: 'verified',
|
|
225
|
-
behaviorEvidence: 'src/components/core-contracts.test.svelte.ts',
|
|
226
176
|
}),
|
|
227
177
|
family('package-info', 'PackageInfo', {
|
|
228
178
|
official: 'PackageInfoHeader PackageInfoName PackageInfoChangeType PackageInfoVersion PackageInfo PackageInfoDescription PackageInfoContent PackageInfoDependencies PackageInfoDependency',
|
|
229
179
|
exact: 'PackageInfoHeader PackageInfoName PackageInfoChangeType PackageInfoVersion PackageInfo PackageInfoDescription PackageInfoContent PackageInfoDependencies PackageInfoDependency',
|
|
230
|
-
behavior: 'verified',
|
|
231
|
-
behaviorEvidence: 'src/components/family-behavior-parity.test.svelte.ts',
|
|
232
180
|
}),
|
|
233
181
|
family('panel', 'Panel', {
|
|
234
182
|
official: 'Panel',
|
|
235
183
|
exact: 'Panel',
|
|
236
|
-
behavior: 'verified',
|
|
237
|
-
behaviorEvidence: 'src/components/canvas/workflow-primitives.test.svelte.ts',
|
|
238
184
|
}),
|
|
239
185
|
family('persona', 'Persona', {
|
|
240
186
|
official: 'Persona',
|
|
241
187
|
exact: 'Persona',
|
|
242
|
-
behavior: 'verified',
|
|
243
|
-
behaviorEvidence: 'src/components/persona/Persona.test.svelte.ts',
|
|
244
188
|
}),
|
|
245
189
|
family('plan', 'Plan', {
|
|
246
190
|
official: 'Plan PlanHeader PlanTitle PlanDescription PlanAction PlanContent PlanFooter PlanTrigger',
|
|
247
191
|
exact: 'Plan PlanHeader PlanTitle PlanDescription PlanAction PlanContent PlanFooter PlanTrigger',
|
|
248
|
-
behavior: 'verified',
|
|
249
|
-
behaviorEvidence: 'src/components/compound-foundations.test.svelte.ts',
|
|
250
192
|
}),
|
|
251
193
|
family('prompt-input', 'PromptInput', {
|
|
252
194
|
official: 'usePromptInputController useProviderAttachments PromptInputProvider usePromptInputAttachments LocalReferencedSourcesContext usePromptInputReferencedSources PromptInputActionAddAttachments PromptInputActionAddScreenshot PromptInput PromptInputBody PromptInputTextarea PromptInputHeader PromptInputFooter PromptInputTools PromptInputButton PromptInputActionMenu PromptInputActionMenuTrigger PromptInputActionMenuContent PromptInputActionMenuItem PromptInputSubmit PromptInputSelect PromptInputSelectTrigger PromptInputSelectContent PromptInputSelectItem PromptInputSelectValue PromptInputHoverCard PromptInputHoverCardTrigger PromptInputHoverCardContent PromptInputTabsList PromptInputTab PromptInputTabLabel PromptInputTabBody PromptInputTabItem PromptInputCommand PromptInputCommandInput PromptInputCommandList PromptInputCommandEmpty PromptInputCommandGroup PromptInputCommandItem PromptInputCommandSeparator',
|
|
253
195
|
exact: 'usePromptInputController useProviderAttachments PromptInputProvider usePromptInputAttachments LocalReferencedSourcesContext usePromptInputReferencedSources PromptInputActionAddAttachments PromptInputActionAddScreenshot PromptInput PromptInputBody PromptInputTextarea PromptInputHeader PromptInputFooter PromptInputTools PromptInputButton PromptInputActionMenu PromptInputActionMenuTrigger PromptInputActionMenuContent PromptInputActionMenuItem PromptInputSubmit PromptInputSelect PromptInputSelectTrigger PromptInputSelectContent PromptInputSelectItem PromptInputSelectValue PromptInputHoverCard PromptInputHoverCardTrigger PromptInputHoverCardContent PromptInputTabsList PromptInputTab PromptInputTabLabel PromptInputTabBody PromptInputTabItem PromptInputCommand PromptInputCommandInput PromptInputCommandList PromptInputCommandEmpty PromptInputCommandGroup PromptInputCommandItem PromptInputCommandSeparator',
|
|
254
196
|
helpers: 'usePromptInputController useProviderAttachments usePromptInputAttachments usePromptInputReferencedSources',
|
|
255
|
-
behavior: 'verified',
|
|
256
|
-
behaviorEvidence: 'src/components/prompt-input/PromptInput.test.svelte.ts',
|
|
257
197
|
}),
|
|
258
198
|
family('question', 'Question', {
|
|
259
199
|
official: 'Question QuestionPrompt QuestionDescription QuestionOptions QuestionOption QuestionInput QuestionActions QuestionSubmit',
|
|
260
200
|
exact: 'Question QuestionPrompt QuestionDescription QuestionOptions QuestionOption QuestionInput QuestionActions QuestionSubmit',
|
|
261
|
-
behavior: 'verified',
|
|
262
|
-
behaviorEvidence: 'src/components/question/workflow-components.test.svelte.ts',
|
|
263
201
|
}),
|
|
264
202
|
family('queue', 'Queue', {
|
|
265
203
|
official: 'QueueItem QueueItemIndicator QueueItemContent QueueItemDescription QueueItemActions QueueItemAction QueueItemAttachment QueueItemImage QueueItemFile QueueList QueueSection QueueSectionTrigger QueueSectionLabel QueueSectionContent Queue',
|
|
266
204
|
exact: 'QueueItem QueueItemIndicator QueueItemContent QueueItemDescription QueueItemActions QueueItemAction QueueItemAttachment QueueItemImage QueueItemFile QueueList QueueSection QueueSectionTrigger QueueSectionLabel QueueSectionContent Queue',
|
|
267
|
-
behavior: 'verified',
|
|
268
|
-
behaviorEvidence: 'src/components/compound-foundations.test.svelte.ts',
|
|
269
205
|
}),
|
|
270
206
|
family('reasoning', 'Reasoning', {
|
|
271
207
|
official: 'useReasoning Reasoning ReasoningTrigger ReasoningContent',
|
|
272
208
|
exact: 'useReasoning Reasoning ReasoningTrigger ReasoningContent',
|
|
273
209
|
helpers: 'useReasoning',
|
|
274
|
-
behavior: 'verified',
|
|
275
|
-
behaviorEvidence: 'src/components/core-contracts.test.svelte.ts',
|
|
276
210
|
}),
|
|
277
211
|
family('sandbox', 'Sandbox', {
|
|
278
212
|
official: 'Sandbox SandboxHeader SandboxContent SandboxTabs SandboxTabsBar SandboxTabsList SandboxTabsTrigger SandboxTabContent',
|
|
279
213
|
exact: 'Sandbox SandboxHeader SandboxContent SandboxTabs SandboxTabsBar SandboxTabsList SandboxTabsTrigger SandboxTabContent',
|
|
280
|
-
behavior: 'verified',
|
|
281
|
-
behaviorEvidence: 'src/components/official-parity-regressions.test.svelte.ts',
|
|
282
214
|
}),
|
|
283
215
|
family('schema-display', 'SchemaDisplay', {
|
|
284
216
|
official: 'SchemaDisplayHeader SchemaDisplayMethod SchemaDisplayPath SchemaDisplayDescription SchemaDisplayContent SchemaDisplayParameter SchemaDisplayParameters SchemaDisplayProperty SchemaDisplayRequest SchemaDisplayResponse SchemaDisplay SchemaDisplayBody SchemaDisplayExample',
|
|
285
217
|
exact: 'SchemaDisplayHeader SchemaDisplayMethod SchemaDisplayPath SchemaDisplayDescription SchemaDisplayContent SchemaDisplayParameter SchemaDisplayParameters SchemaDisplayProperty SchemaDisplayRequest SchemaDisplayResponse SchemaDisplay SchemaDisplayBody SchemaDisplayExample',
|
|
286
|
-
behavior: 'verified',
|
|
287
|
-
behaviorEvidence: 'src/components/web-preview/display-family-compounds.test.svelte.ts',
|
|
288
218
|
}),
|
|
289
219
|
family('shimmer', 'Shimmer', {
|
|
290
220
|
official: 'Shimmer',
|
|
291
221
|
exact: 'Shimmer',
|
|
292
|
-
behavior: 'verified',
|
|
293
|
-
behaviorEvidence: 'src/components/snippet/display-primitives.test.svelte.ts',
|
|
294
222
|
}),
|
|
295
223
|
family('snippet', 'Snippet', {
|
|
296
224
|
official: 'Snippet SnippetAddon SnippetText SnippetInput SnippetCopyButton',
|
|
297
225
|
exact: 'Snippet SnippetAddon SnippetText SnippetInput SnippetCopyButton',
|
|
298
|
-
behavior: 'verified',
|
|
299
|
-
behaviorEvidence: 'src/components/snippet/display-primitives.test.svelte.ts',
|
|
300
226
|
}),
|
|
301
227
|
family('sources', 'Sources', {
|
|
302
228
|
official: 'Sources SourcesTrigger SourcesContent Source',
|
|
303
229
|
exact: 'Sources SourcesTrigger SourcesContent Source',
|
|
304
|
-
behavior: 'verified',
|
|
305
|
-
behaviorEvidence: 'src/components/chat-core-compounds.test.svelte.ts',
|
|
306
230
|
}),
|
|
307
231
|
family('speech-input', 'SpeechInput', {
|
|
308
232
|
official: 'SpeechInput',
|
|
309
233
|
exact: 'SpeechInput',
|
|
310
|
-
behavior: 'verified',
|
|
311
|
-
behaviorEvidence: 'src/components/speech-input/interactive-primitives.test.svelte.ts',
|
|
312
234
|
}),
|
|
313
235
|
family('stack-trace', 'StackTrace', {
|
|
314
236
|
official: 'StackTrace StackTraceHeader StackTraceError StackTraceErrorType StackTraceErrorMessage StackTraceActions StackTraceCopyButton StackTraceExpandButton StackTraceContent StackTraceFrames',
|
|
315
237
|
exact: 'StackTrace StackTraceHeader StackTraceError StackTraceErrorType StackTraceErrorMessage StackTraceActions StackTraceCopyButton StackTraceExpandButton StackTraceContent StackTraceFrames',
|
|
316
|
-
behavior: 'verified',
|
|
317
|
-
behaviorEvidence: 'src/components/official-parity-regressions.test.svelte.ts',
|
|
318
238
|
}),
|
|
319
239
|
family('suggestion', 'Suggestions', {
|
|
320
240
|
official: 'Suggestions Suggestion',
|
|
321
241
|
exact: 'Suggestions Suggestion',
|
|
322
242
|
namespaceExport: 'SuggestionParts',
|
|
323
|
-
behavior: 'verified',
|
|
324
|
-
behaviorEvidence: 'src/components/snippet/display-primitives.test.svelte.ts',
|
|
325
243
|
}),
|
|
326
244
|
family('task', 'Task', {
|
|
327
245
|
official: 'TaskItemFile TaskItem Task TaskTrigger TaskContent',
|
|
328
246
|
exact: 'TaskItemFile TaskItem Task TaskTrigger TaskContent',
|
|
329
|
-
behavior: 'verified',
|
|
330
|
-
behaviorEvidence: 'src/components/compound-foundations.test.svelte.ts',
|
|
331
247
|
}),
|
|
332
248
|
family('terminal', 'Terminal', {
|
|
333
249
|
official: 'TerminalHeader TerminalTitle TerminalStatus TerminalActions TerminalCopyButton TerminalClearButton TerminalContent Terminal',
|
|
334
250
|
exact: 'TerminalHeader TerminalTitle TerminalStatus TerminalActions TerminalCopyButton TerminalClearButton TerminalContent Terminal',
|
|
335
|
-
behavior: 'verified',
|
|
336
|
-
behaviorEvidence: 'src/components/official-parity-regressions.test.svelte.ts',
|
|
337
251
|
}),
|
|
338
252
|
family('test-results', 'TestResults', {
|
|
339
253
|
official: 'TestResultsHeader TestResultsDuration TestResultsSummary TestResults TestResultsProgress TestResultsContent TestSuite TestSuiteName TestSuiteStats TestSuiteContent TestName TestDuration TestStatus Test TestError TestErrorMessage TestErrorStack',
|
|
340
254
|
exact: 'TestResultsHeader TestResultsDuration TestResultsSummary TestResults TestResultsProgress TestResultsContent TestSuite TestSuiteName TestSuiteStats TestSuiteContent TestName TestDuration TestStatus Test TestError TestErrorMessage TestErrorStack',
|
|
341
|
-
behavior: 'verified',
|
|
342
|
-
behaviorEvidence: 'src/components/web-preview/display-family-compounds.test.svelte.ts',
|
|
343
255
|
}),
|
|
344
256
|
family('tool', 'Tool', {
|
|
345
257
|
official: 'Tool getStatusBadge ToolHeader ToolContent ToolInput ToolOutput',
|
|
346
258
|
exact: 'Tool getStatusBadge ToolHeader ToolContent ToolInput ToolOutput',
|
|
347
259
|
helpers: 'getStatusBadge',
|
|
348
260
|
behavior: 'intentional-difference',
|
|
349
|
-
behaviorEvidence: 'src/components/chat-core-compounds.test.svelte.ts',
|
|
350
261
|
}),
|
|
351
262
|
family('toolbar', 'Toolbar', {
|
|
352
263
|
official: 'Toolbar',
|
|
353
264
|
exact: 'Toolbar',
|
|
354
|
-
behavior: 'verified',
|
|
355
|
-
behaviorEvidence: 'src/components/canvas/workflow-primitives.test.svelte.ts',
|
|
356
265
|
}),
|
|
357
266
|
family('transcription', 'Transcription', {
|
|
358
267
|
official: 'Transcription TranscriptionSegment',
|
|
359
268
|
exact: 'Transcription TranscriptionSegment',
|
|
360
|
-
behavior: 'verified',
|
|
361
|
-
behaviorEvidence: 'src/components/official-parity-regressions.test.svelte.ts',
|
|
362
269
|
}),
|
|
363
270
|
family('voice-selector', 'VoiceSelector', {
|
|
364
271
|
official: 'useVoiceSelector VoiceSelector VoiceSelectorTrigger VoiceSelectorContent VoiceSelectorDialog VoiceSelectorInput VoiceSelectorList VoiceSelectorEmpty VoiceSelectorGroup VoiceSelectorItem VoiceSelectorShortcut VoiceSelectorSeparator VoiceSelectorGender VoiceSelectorAccent VoiceSelectorAge VoiceSelectorName VoiceSelectorDescription VoiceSelectorAttributes VoiceSelectorBullet VoiceSelectorPreview',
|
|
365
272
|
exact: 'useVoiceSelector VoiceSelector VoiceSelectorTrigger VoiceSelectorContent VoiceSelectorDialog VoiceSelectorInput VoiceSelectorList VoiceSelectorEmpty VoiceSelectorGroup VoiceSelectorItem VoiceSelectorShortcut VoiceSelectorSeparator VoiceSelectorGender VoiceSelectorAccent VoiceSelectorAge VoiceSelectorName VoiceSelectorDescription VoiceSelectorAttributes VoiceSelectorBullet VoiceSelectorPreview',
|
|
366
273
|
helpers: 'useVoiceSelector',
|
|
367
|
-
behavior: 'verified',
|
|
368
|
-
behaviorEvidence: 'src/components/voice-selector/VoiceSelector.test.svelte.ts',
|
|
369
274
|
}),
|
|
370
275
|
family('web-preview', 'WebPreview', {
|
|
371
276
|
official: 'WebPreview WebPreviewNavigation WebPreviewNavigationButton WebPreviewUrl WebPreviewBody WebPreviewConsole',
|
|
372
277
|
exact: 'WebPreview WebPreviewNavigation WebPreviewNavigationButton WebPreviewUrl WebPreviewBody WebPreviewConsole',
|
|
373
|
-
behavior: 'verified',
|
|
374
|
-
behaviorEvidence: 'src/components/web-preview/display-family-compounds.test.svelte.ts',
|
|
375
278
|
}),
|
|
376
279
|
];
|
|
377
280
|
function getBreakdown(exports) {
|
package/package.json
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@svadmin/ai-elements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "Composable Svelte 5 AI interaction components for SVAdmin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
7
|
-
"./dist/ai.css"
|
|
8
|
-
"./dist/ai.theme.css"
|
|
7
|
+
"./dist/ai.css"
|
|
9
8
|
],
|
|
10
9
|
"files": [
|
|
11
10
|
"dist",
|
|
12
11
|
"README.md",
|
|
13
|
-
"UPSTREAM_PARITY.md",
|
|
14
12
|
"THIRD_PARTY_NOTICES.md",
|
|
15
13
|
"!dist/**/*.test.*",
|
|
16
14
|
"!dist/**/*.test-*",
|
|
@@ -32,10 +30,6 @@
|
|
|
32
30
|
"import": "./dist/ai.css",
|
|
33
31
|
"default": "./dist/ai.css"
|
|
34
32
|
},
|
|
35
|
-
"./ai.theme.css": {
|
|
36
|
-
"style": "./dist/ai.theme.css",
|
|
37
|
-
"default": "./dist/ai.theme.css"
|
|
38
|
-
},
|
|
39
33
|
"./components/*.svelte": {
|
|
40
34
|
"types": "./dist/components/*.svelte.d.ts",
|
|
41
35
|
"svelte": "./dist/components/*.svelte",
|
|
@@ -56,7 +50,7 @@
|
|
|
56
50
|
}
|
|
57
51
|
},
|
|
58
52
|
"peerDependencies": {
|
|
59
|
-
"@svadmin/core": "^0.
|
|
53
|
+
"@svadmin/core": "^0.52.0",
|
|
60
54
|
"@tanstack/svelte-query": "^6.1.48",
|
|
61
55
|
"svelte": "^5.56.10"
|
|
62
56
|
},
|
|
@@ -71,29 +65,25 @@
|
|
|
71
65
|
"@sinclair/typebox": "^0.34.52",
|
|
72
66
|
"@xyflow/svelte": "^1.6.5",
|
|
73
67
|
"cn": "^0.2.4",
|
|
74
|
-
"streamdown-svelte": "^3.0.6"
|
|
68
|
+
"streamdown-svelte": "^3.0.6",
|
|
69
|
+
"tailwind-merge": "^3.6.0",
|
|
70
|
+
"tailwind-variants": "^3.3.1",
|
|
71
|
+
"type-fest": "^4.41.0"
|
|
75
72
|
},
|
|
76
73
|
"devDependencies": {
|
|
77
74
|
"@happy-dom/global-registrator": "^20.11.12",
|
|
78
75
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
79
|
-
"@tailwindcss/node": "^4.3.3",
|
|
80
|
-
"@tailwindcss/oxide": "^4.3.3",
|
|
81
76
|
"@testing-library/dom": "^10.4.1",
|
|
82
77
|
"@testing-library/svelte": "^5.4.2",
|
|
83
78
|
"@testing-library/user-event": "^14.6.6",
|
|
84
|
-
"@types/bun": "^1.4.
|
|
79
|
+
"@types/bun": "^1.4.2",
|
|
85
80
|
"happy-dom": "^20.11.12",
|
|
86
|
-
"postcss": "^8.5.26",
|
|
87
|
-
"tailwind-variants": "^3.3.1",
|
|
88
|
-
"tailwindcss": "^4.3.3",
|
|
89
|
-
"tw-animate-css": "^1.4.0",
|
|
90
81
|
"vitest": "^4.1.11"
|
|
91
82
|
},
|
|
92
83
|
"scripts": {
|
|
93
|
-
"build": "node ../../node_modules/@sveltejs/package/svelte-package.js -i src -o dist && bun scripts/clean-dist.ts
|
|
84
|
+
"build": "node ../../node_modules/@sveltejs/package/svelte-package.js -i src -o dist && bun scripts/clean-dist.ts",
|
|
94
85
|
"check": "svelte-check --tsgo-experimental-api --tsconfig ./tsconfig.json --threshold error",
|
|
95
86
|
"test": "vitest run --config ./vitest.config.ts && bun test scripts/clean-dist.test.ts scripts/audit-upstream-parity.test.ts",
|
|
96
|
-
"test:css": "node --test scripts/static-css.test.mjs",
|
|
97
87
|
"audit:upstream": "bun scripts/audit-upstream-parity.ts"
|
|
98
88
|
},
|
|
99
89
|
"license": "MIT",
|
package/UPSTREAM_PARITY.md
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Upstream architecture and parity assessment
|
|
2
|
-
|
|
3
|
-
This package is evaluated against fixed source snapshots so that component
|
|
4
|
-
counts and behavior claims remain reproducible:
|
|
5
|
-
|
|
6
|
-
- `vercel/ai-elements` at `6a9d5b1822ffb10bba4bd97175f01edd7d8651cd`
|
|
7
|
-
- `vuepont/ai-elements-vue` at `ad4818f6081a2fe6e5b7bb53cebc5a66d9a24148`
|
|
8
|
-
- `SikandarJODD/ai-elements` at `fa4bc217f84bc571378bc371332a154106772614`
|
|
9
|
-
|
|
10
|
-
## Architecture decision
|
|
11
|
-
|
|
12
|
-
SVAdmin keeps its package-first architecture instead of copying the reference
|
|
13
|
-
applications wholesale. The current structure is stronger for an admin
|
|
14
|
-
framework because it provides:
|
|
15
|
-
|
|
16
|
-
- Svelte 5 runes, snippets, bindable state, and scoped context instead of React
|
|
17
|
-
compatibility wrappers;
|
|
18
|
-
- structured `ChatMessagePart` data for text, reasoning, tools, sources,
|
|
19
|
-
attachments, approvals, and generated components;
|
|
20
|
-
- TypeBox runtime boundaries for generated component props and agent tool
|
|
21
|
-
arguments;
|
|
22
|
-
- SSR, package-export, packed-consumer, and workspace integration gates;
|
|
23
|
-
- semantic design tokens and tenant/provider ownership inherited from SVAdmin.
|
|
24
|
-
|
|
25
|
-
The Sikandar project is stronger as a component-learning reference. Its
|
|
26
|
-
co-located examples, registry organization, concise component files, and
|
|
27
|
-
Svelte-native compound APIs make individual components easy to inspect. We
|
|
28
|
-
adopted the useful parts without importing its application routing or registry
|
|
29
|
-
runtime into the package:
|
|
30
|
-
|
|
31
|
-
- generic `Action` and `Code` families;
|
|
32
|
-
- message and prompt attachment composition;
|
|
33
|
-
- workflow subpath aggregation;
|
|
34
|
-
- small compound component files and Svelte context APIs;
|
|
35
|
-
- explicit `content` props for Markdown responses rather than attempting to
|
|
36
|
-
recover text from compiled Svelte snippets.
|
|
37
|
-
|
|
38
|
-
## Component inventory
|
|
39
|
-
|
|
40
|
-
The pinned official package exposes 49 component families and 398 runtime
|
|
41
|
-
exports. `vuepont/ai-elements-vue` exposes 48 comparable families. The Sikandar
|
|
42
|
-
documentation registry lists a smaller application-focused set, while SVAdmin
|
|
43
|
-
also includes admin-specific chat surfaces such as `ChatDialog`,
|
|
44
|
-
`CopilotPanel`, `AICommandBar`, `InsightCard`, `SmartSuggest`, and `VoiceInput`.
|
|
45
|
-
|
|
46
|
-
`AI_ELEMENT_PARITY` is the authoritative machine-readable inventory. Every
|
|
47
|
-
official runtime export is mapped to a local Svelte export. Behavior status is
|
|
48
|
-
tracked separately and must name an existing test file before a family can be
|
|
49
|
-
classified as verified. This prevents an export-only audit from being reported
|
|
50
|
-
as functional parity.
|
|
51
|
-
|
|
52
|
-
## Intentional framework differences
|
|
53
|
-
|
|
54
|
-
Two official helpers intentionally differ while preserving the user-facing
|
|
55
|
-
capability:
|
|
56
|
-
|
|
57
|
-
- `JSXPreview` parses a restricted, TypeBox-validated component grammar rather
|
|
58
|
-
than executing arbitrary JSX.
|
|
59
|
-
- `Tool.getStatusBadge` returns Svelte-renderable status metadata rather than a
|
|
60
|
-
React element.
|
|
61
|
-
|
|
62
|
-
`MessageResponse` accepts Markdown through `content` or `text`. Plain Svelte
|
|
63
|
-
children remain snippets and are rendered as authored UI; they are not mounted
|
|
64
|
-
into a hidden DOM node and scraped back into a string. This matches the
|
|
65
|
-
Sikandar Svelte implementation and preserves SSR and streaming reactivity.
|
|
66
|
-
|
|
67
|
-
Visual evidence remains independent from behavior evidence. A component can
|
|
68
|
-
be behavior-verified without claiming pixel identity across React, Vue, and
|
|
69
|
-
Svelte rendering stacks.
|
package/dist/ai-theme.css
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* Semantic fallbacks keep this package independent of @svadmin/ui. */
|
|
2
|
-
@theme {
|
|
3
|
-
--color-background: var(--background, Canvas);
|
|
4
|
-
--color-foreground: var(--foreground, CanvasText);
|
|
5
|
-
--color-card: var(--card, Canvas);
|
|
6
|
-
--color-card-foreground: var(--card-foreground, CanvasText);
|
|
7
|
-
--color-popover: var(--popover, Canvas);
|
|
8
|
-
--color-popover-foreground: var(--popover-foreground, CanvasText);
|
|
9
|
-
--color-primary: var(--primary, Highlight);
|
|
10
|
-
--color-primary-foreground: var(--primary-foreground, HighlightText);
|
|
11
|
-
--color-secondary: var(--secondary, ButtonFace);
|
|
12
|
-
--color-secondary-foreground: var(--secondary-foreground, ButtonText);
|
|
13
|
-
--color-muted: var(--muted, ButtonFace);
|
|
14
|
-
--color-muted-foreground: var(--muted-foreground, GrayText);
|
|
15
|
-
--color-accent: var(--accent, ButtonFace);
|
|
16
|
-
--color-accent-foreground: var(--accent-foreground, ButtonText);
|
|
17
|
-
--color-destructive: var(--destructive, CanvasText);
|
|
18
|
-
--color-destructive-foreground: var(--destructive-foreground, Canvas);
|
|
19
|
-
--color-success: var(--success, CanvasText);
|
|
20
|
-
--color-success-foreground: var(--success-foreground, Canvas);
|
|
21
|
-
--color-warning: var(--warning, CanvasText);
|
|
22
|
-
--color-warning-foreground: var(--warning-foreground, Canvas);
|
|
23
|
-
--color-info: var(--info, Highlight);
|
|
24
|
-
--color-border: var(--border, ButtonBorder);
|
|
25
|
-
--color-input: var(--input, ButtonBorder);
|
|
26
|
-
--color-ring: var(--ring, Highlight);
|
|
27
|
-
--color-sidebar: var(--sidebar, Canvas);
|
|
28
|
-
}
|