@stisocial/ui 0.1.0 → 0.2.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/CHANGELOG.md +18 -0
- package/README.md +25 -0
- package/dist/agency/FacebookPostPreview/FacebookPostPreview.css +73 -0
- package/dist/agency/FacebookPostPreview/FacebookPostPreview.d.ts +27 -0
- package/dist/agency/FacebookPostPreview/FacebookPostPreview.js +80 -0
- package/dist/agency/FacebookPostPreview/FacebookPostPreview.module.js +15 -0
- package/dist/agency/FacebookPostPreview/index.d.ts +2 -0
- package/dist/agency/InstagramPostPreview/InstagramPostPreview.css +84 -0
- package/dist/agency/InstagramPostPreview/InstagramPostPreview.d.ts +23 -0
- package/dist/agency/InstagramPostPreview/InstagramPostPreview.js +80 -0
- package/dist/agency/InstagramPostPreview/InstagramPostPreview.module.js +17 -0
- package/dist/agency/InstagramPostPreview/index.d.ts +2 -0
- package/dist/agency/InstagramReelPreview/InstagramReelPreview.css +84 -0
- package/dist/agency/InstagramReelPreview/InstagramReelPreview.d.ts +24 -0
- package/dist/agency/InstagramReelPreview/InstagramReelPreview.js +88 -0
- package/dist/agency/InstagramReelPreview/InstagramReelPreview.module.js +13 -0
- package/dist/agency/InstagramReelPreview/index.d.ts +2 -0
- package/dist/agency/InstagramStoryPreview/InstagramStoryPreview.css +105 -0
- package/dist/agency/InstagramStoryPreview/InstagramStoryPreview.d.ts +23 -0
- package/dist/agency/InstagramStoryPreview/InstagramStoryPreview.js +59 -0
- package/dist/agency/InstagramStoryPreview/InstagramStoryPreview.module.js +14 -0
- package/dist/agency/InstagramStoryPreview/index.d.ts +2 -0
- package/dist/agency/LinkedInPostPreview/LinkedInPostPreview.css +83 -0
- package/dist/agency/LinkedInPostPreview/LinkedInPostPreview.d.ts +30 -0
- package/dist/agency/LinkedInPostPreview/LinkedInPostPreview.js +99 -0
- package/dist/agency/LinkedInPostPreview/LinkedInPostPreview.module.js +16 -0
- package/dist/agency/LinkedInPostPreview/index.d.ts +2 -0
- package/dist/agency/PinterestPinPreview/PinterestPinPreview.css +96 -0
- package/dist/agency/PinterestPinPreview/PinterestPinPreview.d.ts +23 -0
- package/dist/agency/PinterestPinPreview/PinterestPinPreview.js +57 -0
- package/dist/agency/PinterestPinPreview/PinterestPinPreview.module.js +15 -0
- package/dist/agency/PinterestPinPreview/index.d.ts +2 -0
- package/dist/agency/ThreadsPostPreview/ThreadsPostPreview.css +101 -0
- package/dist/agency/ThreadsPostPreview/ThreadsPostPreview.d.ts +19 -0
- package/dist/agency/ThreadsPostPreview/ThreadsPostPreview.js +82 -0
- package/dist/agency/ThreadsPostPreview/ThreadsPostPreview.module.js +17 -0
- package/dist/agency/ThreadsPostPreview/index.d.ts +2 -0
- package/dist/agency/TikTokPreview/TikTokPreview.css +84 -0
- package/dist/agency/TikTokPreview/TikTokPreview.d.ts +25 -0
- package/dist/agency/TikTokPreview/TikTokPreview.js +95 -0
- package/dist/agency/TikTokPreview/TikTokPreview.module.js +13 -0
- package/dist/agency/TikTokPreview/index.d.ts +2 -0
- package/dist/agency/XPostPreview/XPostPreview.css +89 -0
- package/dist/agency/XPostPreview/XPostPreview.d.ts +20 -0
- package/dist/agency/XPostPreview/XPostPreview.js +91 -0
- package/dist/agency/XPostPreview/XPostPreview.module.js +16 -0
- package/dist/agency/XPostPreview/index.d.ts +2 -0
- package/dist/agency/YouTubeThumbnailPreview/YouTubeThumbnailPreview.css +55 -0
- package/dist/agency/YouTubeThumbnailPreview/YouTubeThumbnailPreview.d.ts +20 -0
- package/dist/agency/YouTubeThumbnailPreview/YouTubeThumbnailPreview.js +49 -0
- package/dist/agency/YouTubeThumbnailPreview/YouTubeThumbnailPreview.module.js +13 -0
- package/dist/agency/YouTubeThumbnailPreview/index.d.ts +2 -0
- package/dist/agency/_shared/Preview.css +226 -0
- package/dist/agency/_shared/Preview.d.ts +27 -0
- package/dist/agency/_shared/Preview.js +117 -0
- package/dist/agency/_shared/Preview.module.js +21 -0
- package/dist/agency/_shared/platforms.d.ts +24 -0
- package/dist/agency/_shared/platforms.js +109 -0
- package/dist/agency/index.d.ts +23 -0
- package/dist/agency/index.js +12 -0
- package/dist/ai/AiDisclosure/AiDisclosure.css +99 -0
- package/dist/ai/AiDisclosure/AiDisclosure.d.ts +28 -0
- package/dist/ai/AiDisclosure/AiDisclosure.js +52 -0
- package/dist/ai/AiDisclosure/AiDisclosure.module.js +10 -0
- package/dist/ai/AiDisclosure/index.d.ts +2 -0
- package/dist/ai/AttachmentChip/AttachmentChip.css +144 -0
- package/dist/ai/AttachmentChip/AttachmentChip.d.ts +40 -0
- package/dist/ai/AttachmentChip/AttachmentChip.js +140 -0
- package/dist/ai/AttachmentChip/AttachmentChip.module.js +13 -0
- package/dist/ai/AttachmentChip/index.d.ts +2 -0
- package/dist/ai/ChatThread/ChatThread.css +66 -0
- package/dist/ai/ChatThread/ChatThread.d.ts +20 -0
- package/dist/ai/ChatThread/ChatThread.js +87 -0
- package/dist/ai/ChatThread/ChatThread.module.js +10 -0
- package/dist/ai/ChatThread/ChatThreadMessage.css +80 -0
- package/dist/ai/ChatThread/ChatThreadMessage.d.ts +23 -0
- package/dist/ai/ChatThread/ChatThreadMessage.js +41 -0
- package/dist/ai/ChatThread/ChatThreadMessage.module.js +10 -0
- package/dist/ai/ChatThread/index.d.ts +3 -0
- package/dist/ai/ConversationList/ConversationList.css +175 -0
- package/dist/ai/ConversationList/ConversationList.d.ts +33 -0
- package/dist/ai/ConversationList/ConversationList.js +133 -0
- package/dist/ai/ConversationList/ConversationList.module.js +18 -0
- package/dist/ai/ConversationList/groups.d.ts +23 -0
- package/dist/ai/ConversationList/groups.js +47 -0
- package/dist/ai/MessageActions/MessageActions.css +9 -0
- package/dist/ai/MessageActions/MessageActions.d.ts +33 -0
- package/dist/ai/MessageActions/MessageActions.js +89 -0
- package/dist/ai/MessageActions/MessageActions.module.js +4 -0
- package/dist/ai/MessageActions/index.d.ts +2 -0
- package/dist/ai/ModelSelect/ModelSelect.css +7 -0
- package/dist/ai/ModelSelect/ModelSelect.d.ts +38 -0
- package/dist/ai/ModelSelect/ModelSelect.js +41 -0
- package/dist/ai/ModelSelect/ModelSelect.module.js +4 -0
- package/dist/ai/ModelSelect/index.d.ts +2 -0
- package/dist/ai/PromptInput/PromptInput.css +176 -0
- package/dist/ai/PromptInput/PromptInput.d.ts +54 -0
- package/dist/ai/PromptInput/PromptInput.js +199 -0
- package/dist/ai/PromptInput/PromptInput.module.js +15 -0
- package/dist/ai/PromptInput/index.d.ts +2 -0
- package/dist/ai/SourceList/SourceList.css +226 -0
- package/dist/ai/SourceList/SourceList.d.ts +36 -0
- package/dist/ai/SourceList/SourceList.js +102 -0
- package/dist/ai/SourceList/SourceList.module.js +17 -0
- package/dist/ai/StreamingText/StreamingText.css +69 -0
- package/dist/ai/StreamingText/StreamingText.d.ts +33 -0
- package/dist/ai/StreamingText/StreamingText.js +98 -0
- package/dist/ai/StreamingText/StreamingText.module.js +9 -0
- package/dist/ai/SuggestedPrompts/SuggestedPrompts.css +198 -0
- package/dist/ai/SuggestedPrompts/SuggestedPrompts.d.ts +35 -0
- package/dist/ai/SuggestedPrompts/SuggestedPrompts.js +54 -0
- package/dist/ai/SuggestedPrompts/SuggestedPrompts.module.js +14 -0
- package/dist/ai/SuggestedPrompts/index.d.ts +2 -0
- package/dist/ai/ThinkingIndicator/ThinkingIndicator.css +83 -0
- package/dist/ai/ThinkingIndicator/ThinkingIndicator.d.ts +16 -0
- package/dist/ai/ThinkingIndicator/ThinkingIndicator.js +47 -0
- package/dist/ai/ThinkingIndicator/ThinkingIndicator.module.js +10 -0
- package/dist/ai/ToolCallCard/ToolCallCard.css +249 -0
- package/dist/ai/ToolCallCard/ToolCallCard.d.ts +39 -0
- package/dist/ai/ToolCallCard/ToolCallCard.js +157 -0
- package/dist/ai/ToolCallCard/ToolCallCard.module.js +22 -0
- package/dist/ai/ToolCallCard/index.d.ts +2 -0
- package/dist/ai/_internal/glyphs.js +45 -0
- package/dist/ai/index.d.ts +23 -0
- package/dist/ai/index.js +15 -0
- package/dist/charts/AreaChart/AreaChart.css +9 -0
- package/dist/charts/AreaChart/AreaChart.d.ts +13 -0
- package/dist/charts/AreaChart/AreaChart.js +19 -0
- package/dist/charts/AreaChart/AreaChart.module.js +4 -0
- package/dist/charts/AreaChart/index.d.ts +2 -0
- package/dist/charts/BarChart/BarChart.css +9 -0
- package/dist/charts/BarChart/BarChart.d.ts +17 -0
- package/dist/charts/BarChart/BarChart.js +21 -0
- package/dist/charts/BarChart/BarChart.module.js +4 -0
- package/dist/charts/BarChart/index.d.ts +2 -0
- package/dist/charts/ChartLegend/ChartLegend.css +110 -0
- package/dist/charts/ChartLegend/ChartLegend.d.ts +36 -0
- package/dist/charts/ChartLegend/ChartLegend.js +55 -0
- package/dist/charts/ChartLegend/ChartLegend.module.js +11 -0
- package/dist/charts/ChartLegend/index.d.ts +2 -0
- package/dist/charts/ChartTable/ChartTable.css +109 -0
- package/dist/charts/ChartTable/ChartTable.d.ts +43 -0
- package/dist/charts/ChartTable/ChartTable.js +60 -0
- package/dist/charts/ChartTable/ChartTable.module.js +12 -0
- package/dist/charts/ChartTable/index.d.ts +2 -0
- package/dist/charts/ChartTooltip/ChartTooltip.css +77 -0
- package/dist/charts/ChartTooltip/ChartTooltip.d.ts +29 -0
- package/dist/charts/ChartTooltip/ChartTooltip.js +48 -0
- package/dist/charts/ChartTooltip/ChartTooltip.module.js +12 -0
- package/dist/charts/ChartTooltip/index.d.ts +2 -0
- package/dist/charts/ComboChart/ComboChart.css +9 -0
- package/dist/charts/ComboChart/ComboChart.d.ts +21 -0
- package/dist/charts/ComboChart/ComboChart.js +19 -0
- package/dist/charts/ComboChart/ComboChart.module.js +4 -0
- package/dist/charts/ComboChart/index.d.ts +3 -0
- package/dist/charts/LineChart/LineChart.css +9 -0
- package/dist/charts/LineChart/LineChart.d.ts +13 -0
- package/dist/charts/LineChart/LineChart.js +19 -0
- package/dist/charts/LineChart/LineChart.module.js +4 -0
- package/dist/charts/LineChart/index.d.ts +2 -0
- package/dist/charts/StackedBarChart/StackedBarChart.css +9 -0
- package/dist/charts/StackedBarChart/StackedBarChart.d.ts +17 -0
- package/dist/charts/StackedBarChart/StackedBarChart.js +21 -0
- package/dist/charts/StackedBarChart/StackedBarChart.module.js +4 -0
- package/dist/charts/StackedBarChart/index.d.ts +2 -0
- package/dist/charts/_internal/Bars.d.ts +31 -0
- package/dist/charts/_internal/Bars.js +295 -0
- package/dist/charts/_internal/LineArea.d.ts +32 -0
- package/dist/charts/_internal/LineArea.js +150 -0
- package/dist/charts/_internal/category.d.ts +19 -0
- package/dist/charts/_internal/category.js +139 -0
- package/dist/charts/_internal/format.d.ts +14 -0
- package/dist/charts/_internal/format.js +41 -0
- package/dist/charts/_internal/frame/ChartFrame.css +113 -0
- package/dist/charts/_internal/frame/ChartFrame.d.ts +3 -0
- package/dist/charts/_internal/frame/ChartFrame.js +217 -0
- package/dist/charts/_internal/frame/ChartFrame.module.js +17 -0
- package/dist/charts/_internal/marks/marks.css +195 -0
- package/dist/charts/_internal/marks/marks.js +192 -0
- package/dist/charts/_internal/marks/marks.module.js +12 -0
- package/dist/charts/_internal/math.js +107 -0
- package/dist/charts/_internal/shapes.d.ts +1 -0
- package/dist/charts/_internal/shapes.js +127 -0
- package/dist/charts/index.d.ts +20 -0
- package/dist/charts/index.js +9 -0
- package/dist/commerce/AddToCartButton/AddToCartButton.css +54 -0
- package/dist/commerce/AddToCartButton/AddToCartButton.d.ts +42 -0
- package/dist/commerce/AddToCartButton/AddToCartButton.js +94 -0
- package/dist/commerce/AddToCartButton/AddToCartButton.module.js +10 -0
- package/dist/commerce/AddToCartButton/index.d.ts +2 -0
- package/dist/commerce/PriceDisplay/PriceDisplay.css +77 -0
- package/dist/commerce/PriceDisplay/PriceDisplay.d.ts +35 -0
- package/dist/commerce/PriceDisplay/PriceDisplay.js +60 -0
- package/dist/commerce/PriceDisplay/PriceDisplay.module.js +10 -0
- package/dist/commerce/QuantityStepper/QuantityStepper.css +108 -0
- package/dist/commerce/QuantityStepper/QuantityStepper.d.ts +32 -0
- package/dist/commerce/QuantityStepper/QuantityStepper.js +86 -0
- package/dist/commerce/QuantityStepper/QuantityStepper.module.js +9 -0
- package/dist/commerce/QuantityStepper/index.d.ts +2 -0
- package/dist/commerce/StockBadge/StockBadge.d.ts +31 -0
- package/dist/commerce/StockBadge/StockBadge.js +47 -0
- package/dist/commerce/StockBadge/index.d.ts +2 -0
- package/dist/commerce/VariantSelector/VariantSelector.css +202 -0
- package/dist/commerce/VariantSelector/VariantSelector.d.ts +44 -0
- package/dist/commerce/VariantSelector/VariantSelector.js +77 -0
- package/dist/commerce/VariantSelector/VariantSelector.module.js +13 -0
- package/dist/commerce/VariantSelector/index.d.ts +2 -0
- package/dist/commerce/index.d.ts +10 -0
- package/dist/commerce/index.js +6 -0
- package/dist/components/Accordion/Accordion.css +176 -0
- package/dist/components/Accordion/Accordion.d.ts +40 -0
- package/dist/components/Accordion/Accordion.js +90 -0
- package/dist/components/Accordion/Accordion.module.js +17 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/Combobox/Combobox.js +1 -1
- package/dist/components/Disclosure/Disclosure.css +162 -0
- package/dist/components/Disclosure/Disclosure.d.ts +32 -0
- package/dist/components/Disclosure/Disclosure.js +60 -0
- package/dist/components/Disclosure/Disclosure.module.js +15 -0
- package/dist/components/Disclosure/index.d.ts +2 -0
- package/dist/components/DocumentLayout/DocumentLayout.css +202 -0
- package/dist/components/DocumentLayout/DocumentLayout.d.ts +33 -0
- package/dist/components/DocumentLayout/DocumentLayout.js +69 -0
- package/dist/components/DocumentLayout/DocumentLayout.module.js +20 -0
- package/dist/components/DocumentLayout/index.d.ts +2 -0
- package/dist/components/DocumentTable/DocumentTable.css +149 -0
- package/dist/components/DocumentTable/DocumentTable.d.ts +40 -0
- package/dist/components/DocumentTable/DocumentTable.js +67 -0
- package/dist/components/DocumentTable/DocumentTable.module.js +12 -0
- package/dist/components/DocumentTable/index.d.ts +2 -0
- package/dist/components/ErrorPage/ErrorPage.css +181 -0
- package/dist/components/ErrorPage/ErrorPage.d.ts +44 -0
- package/dist/components/ErrorPage/ErrorPage.js +145 -0
- package/dist/components/ErrorPage/ErrorPage.module.js +17 -0
- package/dist/components/ErrorPage/index.d.ts +2 -0
- package/dist/components/FeedbackWidget/FeedbackWidget.css +59 -0
- package/dist/components/FeedbackWidget/FeedbackWidget.d.ts +47 -0
- package/dist/components/FeedbackWidget/FeedbackWidget.js +198 -0
- package/dist/components/FeedbackWidget/FeedbackWidget.module.js +11 -0
- package/dist/components/FeedbackWidget/index.d.ts +2 -0
- package/dist/components/Figure/Figure.css +64 -0
- package/dist/components/Figure/Figure.d.ts +24 -0
- package/dist/components/Figure/Figure.js +38 -0
- package/dist/components/Figure/Figure.module.js +10 -0
- package/dist/components/Figure/index.d.ts +2 -0
- package/dist/components/FileList/FileList.css +160 -0
- package/dist/components/FileList/FileList.d.ts +45 -0
- package/dist/components/FileList/FileList.js +146 -0
- package/dist/components/FileList/FileList.module.js +15 -0
- package/dist/components/FileList/index.d.ts +2 -0
- package/dist/components/FilterPanel/FilterPanel.js +1 -1
- package/dist/components/IconPicker/IconPicker.js +1 -1
- package/dist/components/LinkRows/LinkRows.css +135 -0
- package/dist/components/LinkRows/LinkRows.d.ts +32 -0
- package/dist/components/LinkRows/LinkRows.js +62 -0
- package/dist/components/LinkRows/LinkRows.module.js +15 -0
- package/dist/components/LinkRows/index.d.ts +2 -0
- package/dist/components/NotificationCenter/NotificationCenter.js +1 -1
- package/dist/components/OnboardingChecklist/OnboardingChecklist.js +1 -1
- package/dist/components/PageNumber/PageNumber.css +21 -0
- package/dist/components/PageNumber/PageNumber.d.ts +23 -0
- package/dist/components/PageNumber/PageNumber.js +33 -0
- package/dist/components/PageNumber/PageNumber.module.js +4 -0
- package/dist/components/PaymentInfo/PaymentInfo.css +116 -0
- package/dist/components/PaymentInfo/PaymentInfo.d.ts +41 -0
- package/dist/components/PaymentInfo/PaymentInfo.js +115 -0
- package/dist/components/PaymentInfo/PaymentInfo.module.js +15 -0
- package/dist/components/PaymentInfo/index.d.ts +2 -0
- package/dist/components/PersonItem/PersonItem.css +112 -0
- package/dist/components/PersonItem/PersonItem.d.ts +31 -0
- package/dist/components/PersonItem/PersonItem.js +54 -0
- package/dist/components/PersonItem/PersonItem.module.js +11 -0
- package/dist/components/PersonItem/index.d.ts +2 -0
- package/dist/components/PhoneField/PhoneField.js +1 -1
- package/dist/components/ReadMore/ReadMore.js +1 -1
- package/dist/components/SideNav/SideNav.js +1 -1
- package/dist/components/SignaturePad/SignaturePad.js +1 -1
- package/dist/components/SplitButton/SplitButton.js +1 -1
- package/dist/components/Table/Table.css +150 -0
- package/dist/components/Table/Table.d.ts +54 -0
- package/dist/components/Table/Table.js +75 -0
- package/dist/components/Table/Table.module.js +14 -0
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/ThemeSwitch/ThemeSwitch.js +1 -1
- package/dist/components/TotalsBlock/TotalsBlock.css +86 -0
- package/dist/components/TotalsBlock/TotalsBlock.d.ts +32 -0
- package/dist/components/TotalsBlock/TotalsBlock.js +88 -0
- package/dist/components/TotalsBlock/TotalsBlock.module.js +10 -0
- package/dist/components/TotalsBlock/index.d.ts +3 -0
- package/dist/components/TotalsBlock/totals.d.ts +28 -0
- package/dist/components/TotalsBlock/totals.js +38 -0
- package/dist/components/TrashView/TrashView.css +166 -0
- package/dist/components/TrashView/TrashView.d.ts +49 -0
- package/dist/components/TrashView/TrashView.js +244 -0
- package/dist/components/TrashView/TrashView.module.js +22 -0
- package/dist/components/TrashView/index.d.ts +2 -0
- package/dist/components/TreeSelect/TreeSelect.js +1 -1
- package/dist/components/UploadQueue/UploadQueue.js +1 -1
- package/dist/components/Watermark/Watermark.css +51 -0
- package/dist/components/Watermark/Watermark.d.ts +23 -0
- package/dist/components/Watermark/Watermark.js +54 -0
- package/dist/components/Watermark/Watermark.module.js +8 -0
- package/dist/components/WhatsNew/WhatsNew.css +196 -0
- package/dist/components/WhatsNew/WhatsNew.d.ts +57 -0
- package/dist/components/WhatsNew/WhatsNew.js +191 -0
- package/dist/components/WhatsNew/WhatsNew.module.js +27 -0
- package/dist/components/WhatsNew/index.d.ts +2 -0
- package/dist/components/_document/text.js +14 -0
- package/dist/components/_document/types.d.ts +36 -0
- package/dist/components/_document/types.js +8 -0
- package/dist/components/_internal/listbox/SelectShell.js +1 -1
- package/dist/document/index.d.ts +13 -0
- package/dist/document/index.js +9 -0
- package/dist/editor/CodeEditor/CodeEditor.css +312 -0
- package/dist/editor/CodeEditor/CodeEditor.d.ts +66 -0
- package/dist/editor/CodeEditor/CodeEditor.js +256 -0
- package/dist/editor/CodeEditor/CodeEditor.module.js +32 -0
- package/dist/editor/CodeEditor/codeEdits.d.ts +1 -0
- package/dist/editor/CodeEditor/codeEdits.js +284 -0
- package/dist/editor/CodeEditor/highlight.js +195 -0
- package/dist/editor/CodeEditor/index.d.ts +3 -0
- package/dist/editor/JsonEditor/JsonEditor.css +10 -0
- package/dist/editor/JsonEditor/JsonEditor.d.ts +43 -0
- package/dist/editor/JsonEditor/JsonEditor.js +133 -0
- package/dist/editor/JsonEditor/JsonEditor.module.js +4 -0
- package/dist/editor/JsonEditor/index.d.ts +3 -0
- package/dist/editor/JsonEditor/json.d.ts +44 -0
- package/dist/editor/JsonEditor/json.js +246 -0
- package/dist/editor/MarkdownEditor/MarkdownEditor.css +173 -0
- package/dist/editor/MarkdownEditor/MarkdownEditor.d.ts +47 -0
- package/dist/editor/MarkdownEditor/MarkdownEditor.js +371 -0
- package/dist/editor/MarkdownEditor/MarkdownEditor.module.js +18 -0
- package/dist/editor/MarkdownEditor/commands.js +198 -0
- package/dist/editor/MarkdownEditor/index.d.ts +2 -0
- package/dist/editor/_shared/FormatIcons.js +138 -0
- package/dist/editor/_shared/textEdit.js +76 -0
- package/dist/editor/index.d.ts +9 -0
- package/dist/editor/index.js +5 -0
- package/dist/email/EmailButton/EmailButton.d.ts +22 -0
- package/dist/email/EmailButton/EmailButton.js +102 -0
- package/dist/email/EmailButton/index.d.ts +2 -0
- package/dist/email/EmailCallout/EmailCallout.d.ts +14 -0
- package/dist/email/EmailCallout/EmailCallout.js +42 -0
- package/dist/email/EmailCallout/index.d.ts +2 -0
- package/dist/email/EmailCode/EmailCode.d.ts +15 -0
- package/dist/email/EmailCode/EmailCode.js +58 -0
- package/dist/email/EmailCode/index.d.ts +2 -0
- package/dist/email/EmailColumns/EmailColumns.d.ts +18 -0
- package/dist/email/EmailColumns/EmailColumns.js +49 -0
- package/dist/email/EmailColumns/index.d.ts +2 -0
- package/dist/email/EmailDivider/EmailDivider.d.ts +7 -0
- package/dist/email/EmailDivider/EmailDivider.js +24 -0
- package/dist/email/EmailDivider/index.d.ts +2 -0
- package/dist/email/EmailFooter/EmailFooter.d.ts +30 -0
- package/dist/email/EmailFooter/EmailFooter.js +64 -0
- package/dist/email/EmailFooter/index.d.ts +2 -0
- package/dist/email/EmailHeader/EmailHeader.d.ts +23 -0
- package/dist/email/EmailHeader/EmailHeader.js +75 -0
- package/dist/email/EmailHeader/index.d.ts +2 -0
- package/dist/email/EmailHeading/EmailHeading.d.ts +11 -0
- package/dist/email/EmailHeading/EmailHeading.js +43 -0
- package/dist/email/EmailHeading/index.d.ts +2 -0
- package/dist/email/EmailImage/EmailImage.d.ts +25 -0
- package/dist/email/EmailImage/EmailImage.js +53 -0
- package/dist/email/EmailImage/index.d.ts +2 -0
- package/dist/email/EmailLayout/EmailLayout.d.ts +30 -0
- package/dist/email/EmailLayout/EmailLayout.js +79 -0
- package/dist/email/EmailLayout/emailDocument.d.ts +16 -0
- package/dist/email/EmailLayout/emailDocument.js +36 -0
- package/dist/email/EmailLayout/index.d.ts +3 -0
- package/dist/email/EmailList/EmailList.d.ts +10 -0
- package/dist/email/EmailList/EmailList.js +28 -0
- package/dist/email/EmailList/index.d.ts +2 -0
- package/dist/email/EmailPreheader/EmailPreheader.d.ts +14 -0
- package/dist/email/EmailPreheader/EmailPreheader.js +30 -0
- package/dist/email/EmailPreheader/index.d.ts +2 -0
- package/dist/email/EmailProductRow/EmailProductRow.d.ts +23 -0
- package/dist/email/EmailProductRow/EmailProductRow.js +112 -0
- package/dist/email/EmailProductRow/index.d.ts +2 -0
- package/dist/email/EmailSocialLinks/EmailSocialLinks.d.ts +19 -0
- package/dist/email/EmailSocialLinks/EmailSocialLinks.js +53 -0
- package/dist/email/EmailSocialLinks/index.d.ts +2 -0
- package/dist/email/EmailStats/EmailStats.d.ts +23 -0
- package/dist/email/EmailStats/EmailStats.js +86 -0
- package/dist/email/EmailStats/index.d.ts +2 -0
- package/dist/email/EmailTable/EmailTable.d.ts +24 -0
- package/dist/email/EmailTable/EmailTable.js +90 -0
- package/dist/email/EmailTable/index.d.ts +2 -0
- package/dist/email/EmailText/EmailText.d.ts +13 -0
- package/dist/email/EmailText/EmailText.js +35 -0
- package/dist/email/EmailText/index.d.ts +2 -0
- package/dist/email/_shared/theme.d.ts +8 -0
- package/dist/email/_shared/theme.js +90 -0
- package/dist/email/index.d.ts +36 -0
- package/dist/email/index.js +19 -0
- package/dist/icons/generated/index.js +8 -8
- package/dist/icons/index.js +8 -8
- package/dist/id/AccountMenu/AccountMenu.css +110 -0
- package/dist/id/AccountMenu/AccountMenu.d.ts +45 -0
- package/dist/id/AccountMenu/AccountMenu.js +98 -0
- package/dist/id/AccountMenu/AccountMenu.module.js +14 -0
- package/dist/id/AccountMenu/index.d.ts +2 -0
- package/dist/id/AppSwitcher/AppSwitcher.css +109 -0
- package/dist/id/AppSwitcher/AppSwitcher.d.ts +31 -0
- package/dist/id/AppSwitcher/AppSwitcher.js +88 -0
- package/dist/id/AppSwitcher/AppSwitcher.module.js +11 -0
- package/dist/id/AppSwitcher/index.d.ts +2 -0
- package/dist/id/OrgSwitcher/OrgSwitcher.css +110 -0
- package/dist/id/OrgSwitcher/OrgSwitcher.d.ts +37 -0
- package/dist/id/OrgSwitcher/OrgSwitcher.js +153 -0
- package/dist/id/OrgSwitcher/OrgSwitcher.module.js +12 -0
- package/dist/id/OrgSwitcher/index.d.ts +2 -0
- package/dist/id/PermissionGate/PermissionGate.css +57 -0
- package/dist/id/PermissionGate/PermissionGate.d.ts +30 -0
- package/dist/id/PermissionGate/PermissionGate.js +51 -0
- package/dist/id/PermissionGate/PermissionGate.module.js +10 -0
- package/dist/id/PermissionGate/index.d.ts +2 -0
- package/dist/id/SignInButton/SignInButton.d.ts +20 -0
- package/dist/id/SignInButton/SignInButton.js +34 -0
- package/dist/id/_internal/ActionItem/ActionItem.css +143 -0
- package/dist/id/_internal/ActionItem/ActionItem.js +68 -0
- package/dist/id/_internal/ActionItem/ActionItem.module.js +11 -0
- package/dist/id/index.d.ts +10 -0
- package/dist/id/index.js +6 -0
- package/dist/index.d.ts +26 -4
- package/dist/index.js +14 -3
- package/dist/maps/DirectionsLink/DirectionsLink.css +10 -0
- package/dist/maps/DirectionsLink/DirectionsLink.d.ts +35 -0
- package/dist/maps/DirectionsLink/DirectionsLink.js +84 -0
- package/dist/maps/DirectionsLink/DirectionsLink.module.js +4 -0
- package/dist/maps/DirectionsLink/index.d.ts +2 -0
- package/dist/maps/LocationPicker/LocationPicker.css +60 -0
- package/dist/maps/LocationPicker/LocationPicker.d.ts +37 -0
- package/dist/maps/LocationPicker/LocationPicker.js +278 -0
- package/dist/maps/LocationPicker/LocationPicker.module.js +12 -0
- package/dist/maps/LocationPicker/index.d.ts +2 -0
- package/dist/maps/MapMarker/MapMarker.css +318 -0
- package/dist/maps/MapMarker/MapMarker.d.ts +35 -0
- package/dist/maps/MapMarker/MapMarker.js +142 -0
- package/dist/maps/MapMarker/MapMarker.module.js +20 -0
- package/dist/maps/MapMarker/index.d.ts +2 -0
- package/dist/maps/MapView/MapView.css +268 -0
- package/dist/maps/MapView/MapView.d.ts +71 -0
- package/dist/maps/MapView/MapView.js +495 -0
- package/dist/maps/MapView/MapView.module.js +23 -0
- package/dist/maps/MapView/index.d.ts +2 -0
- package/dist/maps/StoreLocator/StoreLocator.css +201 -0
- package/dist/maps/StoreLocator/StoreLocator.d.ts +43 -0
- package/dist/maps/StoreLocator/StoreLocator.js +225 -0
- package/dist/maps/StoreLocator/StoreLocator.module.js +21 -0
- package/dist/maps/StoreLocator/index.d.ts +2 -0
- package/dist/maps/TurkeyMap/TurkeyMap.css +229 -0
- package/dist/maps/TurkeyMap/TurkeyMap.d.ts +45 -0
- package/dist/maps/TurkeyMap/TurkeyMap.js +280 -0
- package/dist/maps/TurkeyMap/TurkeyMap.module.js +17 -0
- package/dist/maps/TurkeyMap/tileGrid.js +85 -0
- package/dist/maps/_internal/geo.d.ts +8 -0
- package/dist/maps/_internal/geo.js +116 -0
- package/dist/maps/_internal/mapContext.js +8 -0
- package/dist/maps/_internal/useControllable.js +24 -0
- package/dist/maps/index.d.ts +12 -0
- package/dist/maps/index.js +7 -0
- package/dist/media/AudioPlayer/AudioPlayer.css +106 -0
- package/dist/media/AudioPlayer/AudioPlayer.d.ts +38 -0
- package/dist/media/AudioPlayer/AudioPlayer.js +134 -0
- package/dist/media/AudioPlayer/AudioPlayer.module.js +16 -0
- package/dist/media/AudioPlayer/index.d.ts +2 -0
- package/dist/media/AudioWaveform/AudioWaveform.css +43 -0
- package/dist/media/AudioWaveform/AudioWaveform.d.ts +25 -0
- package/dist/media/AudioWaveform/AudioWaveform.js +101 -0
- package/dist/media/AudioWaveform/AudioWaveform.module.js +9 -0
- package/dist/media/AudioWaveform/peaks.d.ts +14 -0
- package/dist/media/AudioWaveform/peaks.js +54 -0
- package/dist/media/MediaCard/MediaCard.css +229 -0
- package/dist/media/MediaCard/MediaCard.d.ts +38 -0
- package/dist/media/MediaCard/MediaCard.js +120 -0
- package/dist/media/MediaCard/MediaCard.module.js +18 -0
- package/dist/media/MediaCard/index.d.ts +2 -0
- package/dist/media/VideoPlayer/VideoPlayer.css +125 -0
- package/dist/media/VideoPlayer/VideoPlayer.d.ts +54 -0
- package/dist/media/VideoPlayer/VideoPlayer.js +193 -0
- package/dist/media/VideoPlayer/VideoPlayer.module.js +12 -0
- package/dist/media/VideoThumbnail/VideoThumbnail.css +139 -0
- package/dist/media/VideoThumbnail/VideoThumbnail.d.ts +34 -0
- package/dist/media/VideoThumbnail/VideoThumbnail.js +63 -0
- package/dist/media/VideoThumbnail/VideoThumbnail.module.js +10 -0
- package/dist/media/VideoThumbnail/VideoThumbnailLink.js +18 -0
- package/dist/media/_internal/clock.js +17 -0
- package/dist/media/_internal/consent/ConsentNotice.css +55 -0
- package/dist/media/_internal/consent/ConsentNotice.js +40 -0
- package/dist/media/_internal/consent/ConsentNotice.module.js +10 -0
- package/dist/media/_internal/icons.js +77 -0
- package/dist/media/_internal/range/Range.css +187 -0
- package/dist/media/_internal/range/Range.js +130 -0
- package/dist/media/_internal/range/Range.module.js +10 -0
- package/dist/media/_internal/transport/MediaTransport.css +90 -0
- package/dist/media/_internal/transport/MediaTransport.js +172 -0
- package/dist/media/_internal/transport/MediaTransport.module.js +14 -0
- package/dist/media/_internal/url.js +31 -0
- package/dist/media/_internal/useConsent.js +28 -0
- package/dist/media/_internal/useMedia.js +146 -0
- package/dist/media/index.d.ts +9 -0
- package/dist/media/index.js +7 -0
- package/dist/messages/messages.d.ts +481 -0
- package/dist/messages/messages.js +964 -2
- package/dist/site/AnnouncementBar/AnnouncementBar.css +132 -0
- package/dist/site/AnnouncementBar/AnnouncementBar.d.ts +28 -0
- package/dist/site/AnnouncementBar/AnnouncementBar.js +64 -0
- package/dist/site/AnnouncementBar/AnnouncementBar.module.js +11 -0
- package/dist/site/AnnouncementBar/index.d.ts +2 -0
- package/dist/site/MegaMenu/MegaMenu.css +324 -0
- package/dist/site/MegaMenu/MegaMenu.d.ts +51 -0
- package/dist/site/MegaMenu/MegaMenu.js +170 -0
- package/dist/site/MegaMenu/MegaMenu.module.js +28 -0
- package/dist/site/MegaMenu/index.d.ts +2 -0
- package/dist/site/SiteFooter/SiteFooter.css +129 -0
- package/dist/site/SiteFooter/SiteFooter.d.ts +38 -0
- package/dist/site/SiteFooter/SiteFooter.js +79 -0
- package/dist/site/SiteFooter/SiteFooter.module.js +20 -0
- package/dist/site/SiteFooter/index.d.ts +2 -0
- package/dist/site/SiteHeader/SiteHeader.css +213 -0
- package/dist/site/SiteHeader/SiteHeader.d.ts +40 -0
- package/dist/site/SiteHeader/SiteHeader.js +115 -0
- package/dist/site/SiteHeader/SiteHeader.module.js +18 -0
- package/dist/site/SiteHeader/index.d.ts +2 -0
- package/dist/site/StickyCta/StickyCta.css +112 -0
- package/dist/site/StickyCta/StickyCta.d.ts +27 -0
- package/dist/site/StickyCta/StickyCta.js +69 -0
- package/dist/site/StickyCta/StickyCta.module.js +10 -0
- package/dist/site/StickyCta/index.d.ts +2 -0
- package/dist/site/index.d.ts +11 -0
- package/dist/site/index.js +6 -0
- package/dist/styles.css +24433 -14420
- package/package.json +45 -1
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-ToolCallCard-root-f0b89 {
|
|
4
|
+
--sti-toolcall-h: var(--sti-control-h-md);
|
|
5
|
+
--sti-toolcall-font-size: var(--sti-font-size-sm);
|
|
6
|
+
--sti-toolcall-line-height: var(--sti-line-height-sm);
|
|
7
|
+
--sti-toolcall-px: var(--sti-space-3);
|
|
8
|
+
--sti-toolcall-border: var(--sti-border-subtle);
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
border: var(--sti-border-width) solid var(--sti-toolcall-border);
|
|
11
|
+
border-radius: var(--sti-radius-md);
|
|
12
|
+
background: var(--sti-bg-surface);
|
|
13
|
+
inline-size: 100%;
|
|
14
|
+
min-inline-size: 0;
|
|
15
|
+
max-inline-size: 100%;
|
|
16
|
+
color: var(--sti-fg);
|
|
17
|
+
font-family: var(--sti-font-text);
|
|
18
|
+
font-size: var(--sti-toolcall-font-size);
|
|
19
|
+
line-height: var(--sti-toolcall-line-height);
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.sti-ToolCallCard-root-f0b89[data-size="sm"] {
|
|
24
|
+
--sti-toolcall-h: var(--sti-control-h-sm);
|
|
25
|
+
--sti-toolcall-font-size: var(--sti-font-size-xs);
|
|
26
|
+
--sti-toolcall-line-height: var(--sti-line-height-xs);
|
|
27
|
+
--sti-toolcall-px: var(--sti-space-2);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sti-ToolCallCard-root-f0b89[data-size="lg"] {
|
|
31
|
+
--sti-toolcall-h: var(--sti-control-h-lg);
|
|
32
|
+
--sti-toolcall-font-size: var(--sti-font-size-md);
|
|
33
|
+
--sti-toolcall-line-height: var(--sti-line-height-md);
|
|
34
|
+
--sti-toolcall-px: var(--sti-space-4);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.sti-ToolCallCard-root-f0b89[data-status="error"] {
|
|
38
|
+
--sti-toolcall-border: var(--sti-border-danger);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.sti-ToolCallCard-disclosure-c31af {
|
|
42
|
+
display: block;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.sti-ToolCallCard-header-7e358 {
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
align-items: center;
|
|
48
|
+
gap: var(--sti-space-3);
|
|
49
|
+
inline-size: 100%;
|
|
50
|
+
min-block-size: var(--sti-toolcall-h);
|
|
51
|
+
padding: var(--sti-space-2) var(--sti-toolcall-px);
|
|
52
|
+
color: inherit;
|
|
53
|
+
font: inherit;
|
|
54
|
+
text-align: start;
|
|
55
|
+
background: none;
|
|
56
|
+
border: 0;
|
|
57
|
+
display: flex;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
button.sti-ToolCallCard-header-7e358 {
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
-webkit-tap-highlight-color: transparent;
|
|
63
|
+
transition: background-color var(--sti-duration-fast) var(--sti-ease-snap);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media (hover: hover) {
|
|
67
|
+
button.sti-ToolCallCard-header-7e358[data-hovered] {
|
|
68
|
+
background: var(--sti-bg-surface-hover);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
button.sti-ToolCallCard-header-7e358[data-pressed] {
|
|
73
|
+
background: var(--sti-bg-surface-active);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
button.sti-ToolCallCard-header-7e358:focus-visible, button.sti-ToolCallCard-header-7e358[data-focus-visible] {
|
|
77
|
+
outline: var(--sti-focus-ring-width) solid var(--sti-focus-ring);
|
|
78
|
+
outline-offset: calc(var(--sti-focus-ring-width) * -1);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
button.sti-ToolCallCard-header-7e358:focus:not([data-focus-visible]) {
|
|
82
|
+
outline: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.sti-ToolCallCard-status-9c88f {
|
|
86
|
+
font-size: var(--sti-icon-md);
|
|
87
|
+
flex: none;
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.sti-ToolCallCard-status-9c88f[data-status="pending"] {
|
|
92
|
+
color: var(--sti-fg-muted);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.sti-ToolCallCard-status-9c88f[data-status="running"] {
|
|
96
|
+
color: var(--sti-fg-accent);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.sti-ToolCallCard-status-9c88f[data-status="success"] {
|
|
100
|
+
color: var(--sti-fg-success);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.sti-ToolCallCard-status-9c88f[data-status="error"] {
|
|
104
|
+
color: var(--sti-fg-danger);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.sti-ToolCallCard-icon-08f7b {
|
|
108
|
+
color: var(--sti-fg-muted);
|
|
109
|
+
font-size: var(--sti-icon-sm);
|
|
110
|
+
flex: none;
|
|
111
|
+
display: inline-flex;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.sti-ToolCallCard-titles-9d8c3 {
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
flex: auto;
|
|
117
|
+
min-inline-size: 0;
|
|
118
|
+
display: flex;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.sti-ToolCallCard-name-294ce {
|
|
122
|
+
font-weight: var(--sti-font-weight-semibold);
|
|
123
|
+
overflow-wrap: anywhere;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.sti-ToolCallCard-summary-8f16a {
|
|
127
|
+
color: var(--sti-fg-muted);
|
|
128
|
+
font-size: var(--sti-font-size-xs);
|
|
129
|
+
line-height: var(--sti-line-height-xs);
|
|
130
|
+
overflow-wrap: anywhere;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.sti-ToolCallCard-state-cd7b5 {
|
|
134
|
+
justify-content: flex-end;
|
|
135
|
+
gap: var(--sti-space-0-5) var(--sti-space-2);
|
|
136
|
+
color: var(--sti-fg-muted);
|
|
137
|
+
font-size: var(--sti-font-size-xs);
|
|
138
|
+
line-height: var(--sti-line-height-xs);
|
|
139
|
+
text-align: end;
|
|
140
|
+
flex-wrap: wrap;
|
|
141
|
+
flex: none;
|
|
142
|
+
display: flex;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.sti-ToolCallCard-state-cd7b5[data-status="success"] {
|
|
146
|
+
color: var(--sti-fg-success-strong);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.sti-ToolCallCard-state-cd7b5[data-status="error"] {
|
|
150
|
+
color: var(--sti-fg-danger-strong);
|
|
151
|
+
font-weight: var(--sti-font-weight-medium);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.sti-ToolCallCard-state-cd7b5[data-status="running"] {
|
|
155
|
+
color: var(--sti-fg-accent-strong);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.sti-ToolCallCard-duration-f7442 {
|
|
159
|
+
color: var(--sti-fg-muted);
|
|
160
|
+
font-variant-numeric: tabular-nums;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.sti-ToolCallCard-chevron-8dc88 {
|
|
164
|
+
color: var(--sti-fg-muted);
|
|
165
|
+
font-size: var(--sti-icon-sm);
|
|
166
|
+
transition: transform var(--sti-duration-fast) var(--sti-ease-snap);
|
|
167
|
+
flex: none;
|
|
168
|
+
display: inline-flex;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.sti-ToolCallCard-disclosure-c31af[data-expanded] .sti-ToolCallCard-chevron-8dc88 {
|
|
172
|
+
transform: rotate(180deg);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.sti-ToolCallCard-panel-742a6 {
|
|
176
|
+
border-block-start: var(--sti-border-width) solid var(--sti-border-subtle);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.sti-ToolCallCard-errorText-dd8e7 {
|
|
180
|
+
padding: var(--sti-space-3) var(--sti-toolcall-px) 0;
|
|
181
|
+
color: var(--sti-fg-danger-strong);
|
|
182
|
+
overflow-wrap: anywhere;
|
|
183
|
+
margin: 0;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.sti-ToolCallCard-payload-20a31 {
|
|
187
|
+
gap: var(--sti-space-1);
|
|
188
|
+
padding: var(--sti-space-3) var(--sti-toolcall-px);
|
|
189
|
+
flex-direction: column;
|
|
190
|
+
display: flex;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.sti-ToolCallCard-payloadLabel-bd105 {
|
|
194
|
+
color: var(--sti-fg-muted);
|
|
195
|
+
font-size: var(--sti-font-size-xs);
|
|
196
|
+
font-weight: var(--sti-font-weight-semibold);
|
|
197
|
+
letter-spacing: var(--sti-tracking-label);
|
|
198
|
+
line-height: var(--sti-line-height-xs);
|
|
199
|
+
text-transform: uppercase;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.sti-ToolCallCard-code-f4114 {
|
|
203
|
+
box-sizing: border-box;
|
|
204
|
+
max-block-size: 16rem;
|
|
205
|
+
padding: var(--sti-space-2) var(--sti-space-3);
|
|
206
|
+
border-radius: var(--sti-radius-sm);
|
|
207
|
+
background: var(--sti-bg-subtle);
|
|
208
|
+
color: var(--sti-fg);
|
|
209
|
+
font-family: var(--sti-font-mono);
|
|
210
|
+
font-size: var(--sti-font-size-xs);
|
|
211
|
+
line-height: var(--sti-line-height-xs);
|
|
212
|
+
overflow-wrap: anywhere;
|
|
213
|
+
white-space: pre-wrap;
|
|
214
|
+
margin: 0;
|
|
215
|
+
overflow: auto;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.sti-ToolCallCard-code-f4114:focus-visible {
|
|
219
|
+
outline: var(--sti-focus-ring-width) solid var(--sti-focus-ring);
|
|
220
|
+
outline-offset: calc(var(--sti-focus-ring-width) * -1);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.sti-ToolCallCard-value-730d6 {
|
|
224
|
+
overflow-wrap: anywhere;
|
|
225
|
+
min-inline-size: 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@media (pointer: coarse) {
|
|
229
|
+
.sti-ToolCallCard-root-f0b89[data-size="sm"] {
|
|
230
|
+
--sti-toolcall-h: var(--sti-control-h-md);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@media (prefers-reduced-motion: reduce) {
|
|
235
|
+
button.sti-ToolCallCard-header-7e358, .sti-ToolCallCard-chevron-8dc88 {
|
|
236
|
+
transition: none;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@media (forced-colors: active) {
|
|
241
|
+
.sti-ToolCallCard-root-f0b89 {
|
|
242
|
+
border-color: canvastext;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.sti-ToolCallCard-code-f4114 {
|
|
246
|
+
border: var(--sti-border-width) solid CanvasText;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Locale } from "../../provider/locale.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
export type ToolCallStatus = "pending" | "running" | "success" | "error";
|
|
4
|
+
export interface ToolCallCardProps {
|
|
5
|
+
/** İşlem adımının adı ("Web'de ara", "Veritabanını sorgula"). */
|
|
6
|
+
name: string;
|
|
7
|
+
/** `pending` bekliyor, `running` çalışıyor, `success` tamamlandı (varsayılan), `error` başarısız. */
|
|
8
|
+
status?: ToolCallStatus;
|
|
9
|
+
/** Başlıkta adın altında kısa açıklama (sorgu, hedef). */
|
|
10
|
+
summary?: ReactNode;
|
|
11
|
+
/** Süre, milisaniye cinsinden; tamamlanmış adımda gösterilir. */
|
|
12
|
+
duration?: number;
|
|
13
|
+
/** Adıma verilen girdi: metin eşit aralıklı yazıyla, düğüm olduğu gibi gösterilir. */
|
|
14
|
+
input?: ReactNode;
|
|
15
|
+
/** Adımın çıktısı. */
|
|
16
|
+
output?: ReactNode;
|
|
17
|
+
/** Başarısızlık nedeni (`status="error"`). */
|
|
18
|
+
errorMessage?: ReactNode;
|
|
19
|
+
/** Adın önündeki süs ikonu (durum ikonunun yerine geçmez, yanında durur). */
|
|
20
|
+
icon?: ReactNode;
|
|
21
|
+
/** Kontrollü açık durum. */
|
|
22
|
+
isExpanded?: boolean;
|
|
23
|
+
/** Kontrolsüz başlangıç açık durumu. */
|
|
24
|
+
defaultExpanded?: boolean;
|
|
25
|
+
onExpandedChange?: (isExpanded: boolean) => void;
|
|
26
|
+
/** Boy: `sm`, `md` (varsayılan), `lg`. */
|
|
27
|
+
size?: "sm" | "md" | "lg";
|
|
28
|
+
className?: string;
|
|
29
|
+
id?: string;
|
|
30
|
+
}
|
|
31
|
+
/** Milisaniyeyi dile uygun, kısa yazar: "820 ms", "1,4 sn". */
|
|
32
|
+
export declare function formatToolDuration(ms: number, locale: Locale): string;
|
|
33
|
+
/**
|
|
34
|
+
* Yapay zekânın attığı bir işlem adımı: ad, durum (bekliyor, çalışıyor, tamamlandı, başarısız),
|
|
35
|
+
* süre ve açılır ayrıntı (girdi, çıktı, hata). APG Disclosure: başlık düğmesi `aria-expanded`
|
|
36
|
+
* taşır; Enter ve Boşluk açar. Durum değişimi ekran okuyucuya duyurulur. Ayrıntısı olmayan adım
|
|
37
|
+
* düğme değil, düz bir satırdır.
|
|
38
|
+
*/
|
|
39
|
+
export declare function ToolCallCard({ name, status, summary, duration, input, output, errorMessage, icon, isExpanded, defaultExpanded, onExpandedChange, size, className, id }: ToolCallCardProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { ChevronDownIcon } from "../../icons/generated/ChevronDownIcon.js";
|
|
3
|
+
import { useLocale, useMessages } from "../../provider/UIProvider.js";
|
|
4
|
+
import { AlertCircleIcon } from "../../icons/generated/AlertCircleIcon.js";
|
|
5
|
+
import { Spinner } from "../../components/Spinner/Spinner.js";
|
|
6
|
+
import { CheckCircleIcon } from "../../icons/generated/CheckCircleIcon.js";
|
|
7
|
+
import { announce } from "../../components/Alert/announcer.js";
|
|
8
|
+
import { ClockIcon } from "../../icons/generated/ClockIcon.js";
|
|
9
|
+
import ToolCallCard_module_default from "./ToolCallCard.module.js";
|
|
10
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { useEffect, useRef } from "react";
|
|
12
|
+
import { Button, Disclosure, DisclosurePanel } from "react-aria-components";
|
|
13
|
+
// src/ai/ToolCallCard/ToolCallCard.tsx
|
|
14
|
+
const STATUS_KEY = {
|
|
15
|
+
pending: "aiToolPending",
|
|
16
|
+
running: "aiToolRunning",
|
|
17
|
+
success: "aiToolSuccess",
|
|
18
|
+
error: "aiToolError"
|
|
19
|
+
};
|
|
20
|
+
/** Milisaniyeyi dile uygun, kısa yazar: "820 ms", "1,4 sn". */
|
|
21
|
+
function formatToolDuration(ms, locale) {
|
|
22
|
+
if (ms < 1e3) return new Intl.NumberFormat(locale, {
|
|
23
|
+
style: "unit",
|
|
24
|
+
unit: "millisecond",
|
|
25
|
+
unitDisplay: "narrow",
|
|
26
|
+
maximumFractionDigits: 0
|
|
27
|
+
}).format(ms);
|
|
28
|
+
return new Intl.NumberFormat(locale, {
|
|
29
|
+
style: "unit",
|
|
30
|
+
unit: "second",
|
|
31
|
+
unitDisplay: "narrow",
|
|
32
|
+
maximumFractionDigits: 1
|
|
33
|
+
}).format(ms / 1e3);
|
|
34
|
+
}
|
|
35
|
+
function Payload({ label, value }) {
|
|
36
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
37
|
+
className: ToolCallCard_module_default.payload,
|
|
38
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
39
|
+
className: ToolCallCard_module_default.payloadLabel,
|
|
40
|
+
children: label
|
|
41
|
+
}), typeof value === "string" ? /* @__PURE__ */ jsx("pre", {
|
|
42
|
+
className: ToolCallCard_module_default.code,
|
|
43
|
+
role: "region",
|
|
44
|
+
"aria-label": label,
|
|
45
|
+
tabIndex: 0,
|
|
46
|
+
children: value
|
|
47
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
48
|
+
className: ToolCallCard_module_default.value,
|
|
49
|
+
children: value
|
|
50
|
+
})]
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Yapay zekânın attığı bir işlem adımı: ad, durum (bekliyor, çalışıyor, tamamlandı, başarısız),
|
|
55
|
+
* süre ve açılır ayrıntı (girdi, çıktı, hata). APG Disclosure: başlık düğmesi `aria-expanded`
|
|
56
|
+
* taşır; Enter ve Boşluk açar. Durum değişimi ekran okuyucuya duyurulur. Ayrıntısı olmayan adım
|
|
57
|
+
* düğme değil, düz bir satırdır.
|
|
58
|
+
*/
|
|
59
|
+
function ToolCallCard({ name, status = "success", summary, duration, input, output, errorMessage, icon, isExpanded, defaultExpanded, onExpandedChange, size = "md", className, id }) {
|
|
60
|
+
const t = useMessages();
|
|
61
|
+
const locale = useLocale();
|
|
62
|
+
const hasDetail = input !== void 0 || output !== void 0 || status === "error" && errorMessage;
|
|
63
|
+
const statusText = t[STATUS_KEY[status]];
|
|
64
|
+
const previous = useRef(status);
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
if (previous.current !== status) {
|
|
67
|
+
previous.current = status;
|
|
68
|
+
announce(`${name}: ${statusText}`);
|
|
69
|
+
}
|
|
70
|
+
}, [
|
|
71
|
+
status,
|
|
72
|
+
name,
|
|
73
|
+
statusText
|
|
74
|
+
]);
|
|
75
|
+
const head = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
76
|
+
/* @__PURE__ */ jsx("span", {
|
|
77
|
+
className: ToolCallCard_module_default.status,
|
|
78
|
+
"aria-hidden": "true",
|
|
79
|
+
"data-status": status,
|
|
80
|
+
children: status === "running" ? /* @__PURE__ */ jsx(Spinner, {}) : status === "success" ? /* @__PURE__ */ jsx(CheckCircleIcon, {}) : status === "error" ? /* @__PURE__ */ jsx(AlertCircleIcon, {}) : /* @__PURE__ */ jsx(ClockIcon, {})
|
|
81
|
+
}),
|
|
82
|
+
icon ? /* @__PURE__ */ jsx("span", {
|
|
83
|
+
className: ToolCallCard_module_default.icon,
|
|
84
|
+
"aria-hidden": "true",
|
|
85
|
+
children: icon
|
|
86
|
+
}) : null,
|
|
87
|
+
/* @__PURE__ */ jsxs("span", {
|
|
88
|
+
className: ToolCallCard_module_default.titles,
|
|
89
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
90
|
+
className: ToolCallCard_module_default.name,
|
|
91
|
+
children: name
|
|
92
|
+
}), summary ? /* @__PURE__ */ jsx("span", {
|
|
93
|
+
className: ToolCallCard_module_default.summary,
|
|
94
|
+
children: summary
|
|
95
|
+
}) : null]
|
|
96
|
+
}),
|
|
97
|
+
/* @__PURE__ */ jsxs("span", {
|
|
98
|
+
className: ToolCallCard_module_default.state,
|
|
99
|
+
"data-status": status,
|
|
100
|
+
children: [/* @__PURE__ */ jsx("span", { children: statusText }), duration !== void 0 && (status === "success" || status === "error") ? /* @__PURE__ */ jsx("span", {
|
|
101
|
+
className: ToolCallCard_module_default.duration,
|
|
102
|
+
children: formatToolDuration(duration, locale)
|
|
103
|
+
}) : null]
|
|
104
|
+
})
|
|
105
|
+
] });
|
|
106
|
+
const rootClass = [ToolCallCard_module_default.root, className].filter(Boolean).join(" ");
|
|
107
|
+
if (!hasDetail) return /* @__PURE__ */ jsx("div", {
|
|
108
|
+
id,
|
|
109
|
+
className: rootClass,
|
|
110
|
+
"data-status": status,
|
|
111
|
+
"data-size": size,
|
|
112
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
113
|
+
className: ToolCallCard_module_default.header,
|
|
114
|
+
"data-static": "",
|
|
115
|
+
children: head
|
|
116
|
+
})
|
|
117
|
+
});
|
|
118
|
+
return /* @__PURE__ */ jsx("div", {
|
|
119
|
+
id,
|
|
120
|
+
className: rootClass,
|
|
121
|
+
"data-status": status,
|
|
122
|
+
"data-size": size,
|
|
123
|
+
children: /* @__PURE__ */ jsxs(Disclosure, {
|
|
124
|
+
className: ToolCallCard_module_default.disclosure,
|
|
125
|
+
isExpanded,
|
|
126
|
+
defaultExpanded,
|
|
127
|
+
onExpandedChange,
|
|
128
|
+
children: [/* @__PURE__ */ jsxs(Button, {
|
|
129
|
+
slot: "trigger",
|
|
130
|
+
className: ToolCallCard_module_default.header,
|
|
131
|
+
children: [head, /* @__PURE__ */ jsx("span", {
|
|
132
|
+
className: ToolCallCard_module_default.chevron,
|
|
133
|
+
"aria-hidden": "true",
|
|
134
|
+
children: /* @__PURE__ */ jsx(ChevronDownIcon, {})
|
|
135
|
+
})]
|
|
136
|
+
}), /* @__PURE__ */ jsxs(DisclosurePanel, {
|
|
137
|
+
className: ToolCallCard_module_default.panel,
|
|
138
|
+
"aria-label": name,
|
|
139
|
+
children: [
|
|
140
|
+
status === "error" && errorMessage ? /* @__PURE__ */ jsx("p", {
|
|
141
|
+
className: ToolCallCard_module_default.errorText,
|
|
142
|
+
children: errorMessage
|
|
143
|
+
}) : null,
|
|
144
|
+
input !== void 0 ? /* @__PURE__ */ jsx(Payload, {
|
|
145
|
+
label: t.aiToolInput,
|
|
146
|
+
value: input
|
|
147
|
+
}) : null,
|
|
148
|
+
output !== void 0 ? /* @__PURE__ */ jsx(Payload, {
|
|
149
|
+
label: t.aiToolOutput,
|
|
150
|
+
value: output
|
|
151
|
+
}) : null
|
|
152
|
+
]
|
|
153
|
+
})]
|
|
154
|
+
})
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
export { ToolCallCard, formatToolDuration };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './ToolCallCard.css';
|
|
2
|
+
// src/ai/ToolCallCard/ToolCallCard.module.css
|
|
3
|
+
var ToolCallCard_module_default = {
|
|
4
|
+
"root": "sti-ToolCallCard-root-f0b89",
|
|
5
|
+
"disclosure": "sti-ToolCallCard-disclosure-c31af",
|
|
6
|
+
"header": "sti-ToolCallCard-header-7e358",
|
|
7
|
+
"status": "sti-ToolCallCard-status-9c88f",
|
|
8
|
+
"icon": "sti-ToolCallCard-icon-08f7b",
|
|
9
|
+
"titles": "sti-ToolCallCard-titles-9d8c3",
|
|
10
|
+
"name": "sti-ToolCallCard-name-294ce",
|
|
11
|
+
"summary": "sti-ToolCallCard-summary-8f16a",
|
|
12
|
+
"state": "sti-ToolCallCard-state-cd7b5",
|
|
13
|
+
"duration": "sti-ToolCallCard-duration-f7442",
|
|
14
|
+
"chevron": "sti-ToolCallCard-chevron-8dc88",
|
|
15
|
+
"panel": "sti-ToolCallCard-panel-742a6",
|
|
16
|
+
"errorText": "sti-ToolCallCard-errorText-dd8e7",
|
|
17
|
+
"payload": "sti-ToolCallCard-payload-20a31",
|
|
18
|
+
"payloadLabel": "sti-ToolCallCard-payloadLabel-bd105",
|
|
19
|
+
"code": "sti-ToolCallCard-code-f4114",
|
|
20
|
+
"value": "sti-ToolCallCard-value-730d6"
|
|
21
|
+
};
|
|
22
|
+
export { ToolCallCard_module_default as default };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Icon } from "../../icons/Icon.js";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
// src/ai/_internal/glyphs.tsx
|
|
4
|
+
/**
|
|
5
|
+
* Yapay zekâ arayüzünün ikonları: ortak ikon setinde bulunmayan dördü (kıvılcım, başparmak yukarı,
|
|
6
|
+
* başparmak aşağı, durdur). Çizim kuralları `icons/README.md` ile aynıdır (24 × 24, 1,75 çizgi,
|
|
7
|
+
* yuvarlak uç); hepsi süstür, anlamı yanındaki metin ya da düğmenin adı taşır.
|
|
8
|
+
*/
|
|
9
|
+
/** Kıvılcım: yapay zekâ ile ilgili içeriğin işareti. */
|
|
10
|
+
function SparkleGlyph(props) {
|
|
11
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
12
|
+
...props,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("path", { d: "m12 3 1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9Z" }),
|
|
15
|
+
/* @__PURE__ */ jsx("path", { d: "M19 16v5" }),
|
|
16
|
+
/* @__PURE__ */ jsx("path", { d: "M16.5 18.5h5" })
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function ThumbUpGlyph(props) {
|
|
21
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
22
|
+
...props,
|
|
23
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M7 11v9H4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1Z" }), /* @__PURE__ */ jsx("path", { d: "m7 11 4-8a2.5 2.5 0 0 1 2.5 3V9H19a2 2 0 0 1 2 2.3l-1.2 7A2 2 0 0 1 17.8 20H7" })]
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function ThumbDownGlyph(props) {
|
|
27
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
28
|
+
...props,
|
|
29
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M7 13V4H4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1Z" }), /* @__PURE__ */ jsx("path", { d: "m7 13 4 8a2.5 2.5 0 0 0 2.5-3v-3H19a2 2 0 0 0 2-2.3l-1.2-7A2 2 0 0 0 17.8 4H7" })]
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/** Durdur: dolu olmayan yuvarlak köşeli kare. */
|
|
33
|
+
function StopGlyph(props) {
|
|
34
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
35
|
+
...props,
|
|
36
|
+
children: /* @__PURE__ */ jsx("rect", {
|
|
37
|
+
x: "6",
|
|
38
|
+
y: "6",
|
|
39
|
+
width: "12",
|
|
40
|
+
height: "12",
|
|
41
|
+
rx: "2"
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
export { SparkleGlyph, StopGlyph, ThumbDownGlyph, ThumbUpGlyph };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AiDisclosure, AiDisclosureKind, AiDisclosureProps } from "./AiDisclosure/AiDisclosure.js";
|
|
2
|
+
import "./AiDisclosure/index.js";
|
|
3
|
+
import { AttachmentChip, AttachmentChipProps, AttachmentKind, AttachmentStatus, attachmentKind } from "./AttachmentChip/AttachmentChip.js";
|
|
4
|
+
import "./AttachmentChip/index.js";
|
|
5
|
+
import { ChatThread, ChatThreadProps } from "./ChatThread/ChatThread.js";
|
|
6
|
+
import { ChatThreadMessage, ChatThreadMessageProps } from "./ChatThread/ChatThreadMessage.js";
|
|
7
|
+
import "./ChatThread/index.js";
|
|
8
|
+
import { Conversation, ConversationGroupKey, groupConversations } from "./ConversationList/groups.js";
|
|
9
|
+
import { ConversationList, ConversationListProps } from "./ConversationList/ConversationList.js";
|
|
10
|
+
import { MessageActions, MessageActionsProps, MessageRating } from "./MessageActions/MessageActions.js";
|
|
11
|
+
import "./MessageActions/index.js";
|
|
12
|
+
import { AiModel, ModelSelect, ModelSelectProps } from "./ModelSelect/ModelSelect.js";
|
|
13
|
+
import "./ModelSelect/index.js";
|
|
14
|
+
import { PromptInput, PromptInputProps } from "./PromptInput/PromptInput.js";
|
|
15
|
+
import "./PromptInput/index.js";
|
|
16
|
+
import { Source, SourceList, SourceListProps, siteOf } from "./SourceList/SourceList.js";
|
|
17
|
+
import { StreamingText, StreamingTextProps } from "./StreamingText/StreamingText.js";
|
|
18
|
+
import { SuggestedPrompt, SuggestedPrompts, SuggestedPromptsProps } from "./SuggestedPrompts/SuggestedPrompts.js";
|
|
19
|
+
import "./SuggestedPrompts/index.js";
|
|
20
|
+
import { ThinkingIndicator, ThinkingIndicatorProps } from "./ThinkingIndicator/ThinkingIndicator.js";
|
|
21
|
+
import { ToolCallCard, ToolCallCardProps, ToolCallStatus, formatToolDuration } from "./ToolCallCard/ToolCallCard.js";
|
|
22
|
+
import "./ToolCallCard/index.js";
|
|
23
|
+
export { AiDisclosure, AiDisclosureKind, AiDisclosureProps, AiModel, AttachmentChip, AttachmentChipProps, AttachmentKind, AttachmentStatus, ChatThread, ChatThreadMessage, ChatThreadMessageProps, ChatThreadProps, type Conversation, type ConversationGroupKey, ConversationList, ConversationListProps, MessageActions, MessageActionsProps, MessageRating, ModelSelect, ModelSelectProps, PromptInput, PromptInputProps, Source, SourceList, SourceListProps, StreamingText, StreamingTextProps, SuggestedPrompt, SuggestedPrompts, SuggestedPromptsProps, ThinkingIndicator, ThinkingIndicatorProps, ToolCallCard, ToolCallCardProps, ToolCallStatus, attachmentKind, formatToolDuration, groupConversations, siteOf };
|
package/dist/ai/index.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AiDisclosure } from "./AiDisclosure/AiDisclosure.js";
|
|
2
|
+
import { AttachmentChip, attachmentKind } from "./AttachmentChip/AttachmentChip.js";
|
|
3
|
+
import { ChatThread } from "./ChatThread/ChatThread.js";
|
|
4
|
+
import { ChatThreadMessage } from "./ChatThread/ChatThreadMessage.js";
|
|
5
|
+
import { groupConversations } from "./ConversationList/groups.js";
|
|
6
|
+
import { ConversationList } from "./ConversationList/ConversationList.js";
|
|
7
|
+
import { MessageActions } from "./MessageActions/MessageActions.js";
|
|
8
|
+
import { ModelSelect } from "./ModelSelect/ModelSelect.js";
|
|
9
|
+
import { PromptInput } from "./PromptInput/PromptInput.js";
|
|
10
|
+
import { SourceList, siteOf } from "./SourceList/SourceList.js";
|
|
11
|
+
import { StreamingText } from "./StreamingText/StreamingText.js";
|
|
12
|
+
import { SuggestedPrompts } from "./SuggestedPrompts/SuggestedPrompts.js";
|
|
13
|
+
import { ThinkingIndicator } from "./ThinkingIndicator/ThinkingIndicator.js";
|
|
14
|
+
import { ToolCallCard, formatToolDuration } from "./ToolCallCard/ToolCallCard.js";
|
|
15
|
+
export { AiDisclosure, AttachmentChip, ChatThread, ChatThreadMessage, ConversationList, MessageActions, ModelSelect, PromptInput, SourceList, StreamingText, SuggestedPrompts, ThinkingIndicator, ToolCallCard, attachmentKind, formatToolDuration, groupConversations, siteOf };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LineAreaCommonProps } from "../_internal/LineArea.js";
|
|
2
|
+
export interface AreaChartProps extends LineAreaCommonProps {
|
|
3
|
+
/** Alanları üst üste dizer (toplam hacim ve parçalar). Varsayılan: üst üste binen alanlar. */
|
|
4
|
+
stacked?: boolean;
|
|
5
|
+
/** İstifte her kategoriyi yüzde 100'e çeker; yalnız `stacked` ile. */
|
|
6
|
+
normalize?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Alan grafiği: çizginin altı dolu; hacmi ve toplamı vurgular (günlük erişim, harcama). Üst üste
|
|
10
|
+
* binen alanlar saydamdır, çizgi serinin ayırt edici işaretidir. `stacked` ile parçalar toplamı
|
|
11
|
+
* oluşturur. Etkileşim, klavye ve tablo görünümü `LineChart` ile aynıdır.
|
|
12
|
+
*/
|
|
13
|
+
export declare function AreaChart({ className, stacked, normalize, ...rest }: AreaChartProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LineArea } from "../_internal/LineArea.js";
|
|
2
|
+
import AreaChart_module_default from "./AreaChart.module.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
// src/charts/AreaChart/AreaChart.tsx
|
|
5
|
+
/**
|
|
6
|
+
* Alan grafiği: çizginin altı dolu; hacmi ve toplamı vurgular (günlük erişim, harcama). Üst üste
|
|
7
|
+
* binen alanlar saydamdır, çizgi serinin ayırt edici işaretidir. `stacked` ile parçalar toplamı
|
|
8
|
+
* oluşturur. Etkileşim, klavye ve tablo görünümü `LineChart` ile aynıdır.
|
|
9
|
+
*/
|
|
10
|
+
function AreaChart({ className, stacked = false, normalize, ...rest }) {
|
|
11
|
+
return /* @__PURE__ */ jsx(LineArea, {
|
|
12
|
+
...rest,
|
|
13
|
+
area: stacked ? "stacked" : "overlap",
|
|
14
|
+
normalize: stacked ? normalize : false,
|
|
15
|
+
showMarkers: false,
|
|
16
|
+
className: [AreaChart_module_default.root, className].filter(Boolean).join(" ")
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
export { AreaChart };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChartSeries } from "../_internal/category.js";
|
|
2
|
+
import { BarsCommonProps } from "../_internal/Bars.js";
|
|
3
|
+
export interface BarChartProps extends BarsCommonProps {
|
|
4
|
+
/** Seriler; birden çoksa kategori içinde yan yana gruplanır. */
|
|
5
|
+
series: readonly ChartSeries[];
|
|
6
|
+
/** `vertical` (varsayılan) ya da `horizontal` (uzun kategori adları ve sıralamalar için). */
|
|
7
|
+
orientation?: "vertical" | "horizontal";
|
|
8
|
+
/** Çubukların ucuna değer yazar (çubuk yeterince genişse). */
|
|
9
|
+
showValues?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Çubuk grafiği: kategoriler arası büyüklükleri karşılaştırır (kanal başına harcama, kampanya
|
|
13
|
+
* başına sonuç). Çubuklar sıfır tabanından başlar; negatif değerler tabanın altına iner. Birden
|
|
14
|
+
* çok seri kategori içinde gruplanır; istif için `StackedBarChart` kullanılır. Etkileşim ve erişilebilirlik
|
|
15
|
+
* `LineChart` ile aynıdır: tek odak durağı, oklar kategori gezdirir, tablo görünümü vardır.
|
|
16
|
+
*/
|
|
17
|
+
export declare function BarChart({ className, orientation, showValues, series, ...rest }: BarChartProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Bars } from "../_internal/Bars.js";
|
|
2
|
+
import BarChart_module_default from "./BarChart.module.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
// src/charts/BarChart/BarChart.tsx
|
|
5
|
+
/**
|
|
6
|
+
* Çubuk grafiği: kategoriler arası büyüklükleri karşılaştırır (kanal başına harcama, kampanya
|
|
7
|
+
* başına sonuç). Çubuklar sıfır tabanından başlar; negatif değerler tabanın altına iner. Birden
|
|
8
|
+
* çok seri kategori içinde gruplanır; istif için `StackedBarChart` kullanılır. Etkileşim ve erişilebilirlik
|
|
9
|
+
* `LineChart` ile aynıdır: tek odak durağı, oklar kategori gezdirir, tablo görünümü vardır.
|
|
10
|
+
*/
|
|
11
|
+
function BarChart({ className, orientation, showValues, series, ...rest }) {
|
|
12
|
+
return /* @__PURE__ */ jsx(Bars, {
|
|
13
|
+
...rest,
|
|
14
|
+
series,
|
|
15
|
+
mode: "grouped",
|
|
16
|
+
orientation,
|
|
17
|
+
showValues,
|
|
18
|
+
className: [BarChart_module_default.root, className].filter(Boolean).join(" ")
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export { BarChart };
|