@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,13 @@
|
|
|
1
|
+
import './InstagramReelPreview.css';
|
|
2
|
+
// src/agency/InstagramReelPreview/InstagramReelPreview.module.css
|
|
3
|
+
var InstagramReelPreview_module_default = {
|
|
4
|
+
"root": "sti-InstagramReelPreview-root-9b0a4",
|
|
5
|
+
"play": "sti-InstagramReelPreview-play-b191e",
|
|
6
|
+
"bottom": "sti-InstagramReelPreview-bottom-18ff4",
|
|
7
|
+
"info": "sti-InstagramReelPreview-info-cc71f",
|
|
8
|
+
"rail": "sti-InstagramReelPreview-rail-1399a",
|
|
9
|
+
"railItem": "sti-InstagramReelPreview-railItem-80ae9",
|
|
10
|
+
"railIcon": "sti-InstagramReelPreview-railIcon-c8539",
|
|
11
|
+
"count": "sti-InstagramReelPreview-count-dcc7d"
|
|
12
|
+
};
|
|
13
|
+
export { InstagramReelPreview_module_default as default };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-InstagramStoryPreview-root-53aed {
|
|
4
|
+
--sti-preview-max: 20rem;
|
|
5
|
+
--sti-preview-pad: 0;
|
|
6
|
+
--sti-preview-gap: 0;
|
|
7
|
+
--sti-preview-radius: var(--sti-radius-lg);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sti-InstagramStoryPreview-top-56f17 {
|
|
11
|
+
gap: var(--sti-space-2);
|
|
12
|
+
padding: var(--sti-space-3);
|
|
13
|
+
justify-items: start;
|
|
14
|
+
display: grid;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.sti-InstagramStoryPreview-bars-71db5 {
|
|
18
|
+
gap: var(--sti-space-1);
|
|
19
|
+
inline-size: 100%;
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.sti-InstagramStoryPreview-bar-94791 {
|
|
24
|
+
block-size: var(--sti-space-0-5);
|
|
25
|
+
border-radius: var(--sti-radius-pill);
|
|
26
|
+
background: var(--sti-border-strong);
|
|
27
|
+
flex: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sti-InstagramStoryPreview-bar-94791[data-state="done"], .sti-InstagramStoryPreview-bar-94791[data-state="active"] {
|
|
31
|
+
background: var(--sti-bg-inverse);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sti-InstagramStoryPreview-bar-94791[data-state="active"] {
|
|
35
|
+
box-shadow: 0 0 0 var(--sti-border-width) var(--sti-fg-inverse);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.sti-InstagramStoryPreview-time-b1bb1 {
|
|
39
|
+
opacity: .8;
|
|
40
|
+
font-weight: var(--sti-font-weight-regular);
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.sti-InstagramStoryPreview-text-d88f7 {
|
|
45
|
+
max-inline-size: 85%;
|
|
46
|
+
padding: var(--sti-space-2) var(--sti-space-4);
|
|
47
|
+
border-radius: var(--sti-radius-sm);
|
|
48
|
+
background: var(--sti-bg-inverse);
|
|
49
|
+
color: var(--sti-fg-inverse);
|
|
50
|
+
font-size: var(--sti-font-size-lg);
|
|
51
|
+
font-weight: var(--sti-font-weight-semibold);
|
|
52
|
+
line-height: var(--sti-line-height-lg);
|
|
53
|
+
text-align: center;
|
|
54
|
+
overflow-wrap: anywhere;
|
|
55
|
+
align-self: center;
|
|
56
|
+
margin-block: auto;
|
|
57
|
+
margin-inline: 0;
|
|
58
|
+
position: relative;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.sti-InstagramStoryPreview-reply-ffd2c {
|
|
62
|
+
align-items: center;
|
|
63
|
+
gap: var(--sti-space-3);
|
|
64
|
+
padding: var(--sti-space-3);
|
|
65
|
+
display: flex;
|
|
66
|
+
position: relative;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.sti-InstagramStoryPreview-replyField-69dda {
|
|
70
|
+
min-width: 0;
|
|
71
|
+
padding-block: var(--sti-space-2);
|
|
72
|
+
padding-inline: var(--sti-space-4);
|
|
73
|
+
border: var(--sti-border-width) solid var(--sti-fg-inverse);
|
|
74
|
+
border-radius: var(--sti-radius-pill);
|
|
75
|
+
background: var(--sti-bg-inverse);
|
|
76
|
+
color: var(--sti-fg-inverse);
|
|
77
|
+
text-overflow: ellipsis;
|
|
78
|
+
white-space: nowrap;
|
|
79
|
+
flex: 1;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.sti-InstagramStoryPreview-send-55e8a {
|
|
84
|
+
inline-size: var(--sti-icon-lg);
|
|
85
|
+
block-size: var(--sti-icon-lg);
|
|
86
|
+
padding: var(--sti-space-2);
|
|
87
|
+
border-radius: var(--sti-radius-pill);
|
|
88
|
+
background: var(--sti-bg-inverse);
|
|
89
|
+
color: var(--sti-fg-inverse);
|
|
90
|
+
box-sizing: content-box;
|
|
91
|
+
flex: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@media (forced-colors: active) {
|
|
95
|
+
.sti-InstagramStoryPreview-bar-94791[data-state="done"], .sti-InstagramStoryPreview-bar-94791[data-state="active"] {
|
|
96
|
+
background: highlight;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.sti-InstagramStoryPreview-text-d88f7, .sti-InstagramStoryPreview-replyField-69dda, .sti-InstagramStoryPreview-send-55e8a {
|
|
100
|
+
border: var(--sti-border-width) solid CanvasText;
|
|
101
|
+
color: canvastext;
|
|
102
|
+
background: canvas;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PreviewAccount, PreviewBaseProps, PreviewMediaItem } from "../_shared/Preview.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
export interface InstagramStoryPreviewProps extends PreviewBaseProps {
|
|
4
|
+
account: PreviewAccount;
|
|
5
|
+
/** Hikâye görseli (9:16). */
|
|
6
|
+
media?: PreviewMediaItem;
|
|
7
|
+
/** Görselin üstündeki yazı (sticker metni). */
|
|
8
|
+
text?: string;
|
|
9
|
+
/** Zaman ("2 sa"). */
|
|
10
|
+
timeLabel?: string;
|
|
11
|
+
/** Yanıt alanının yer tutucu metni ("Mesaj gönder"). */
|
|
12
|
+
replyLabel?: string;
|
|
13
|
+
/** Hikâyedeki parça sayısı ve görüntülenen sıra (ilerleme çubukları). */
|
|
14
|
+
segments?: number;
|
|
15
|
+
current?: number;
|
|
16
|
+
/** Görselin üstüne konan katman (ör. `SafeZoneOverlay`). */
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Instagram hikâye önizlemesi: 9:16 çerçeve, üstte ilerleme çubukları ve hesap bilgisi, altta
|
|
21
|
+
* yanıt alanı. Sunucu bileşenidir. Güvenli alan kılavuzu için `SafeZoneOverlay` çocuk olarak verilir.
|
|
22
|
+
*/
|
|
23
|
+
export declare function InstagramStoryPreview({ label, account, media, text, timeLabel, replyLabel, segments, current, children, className, id }: InstagramStoryPreviewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { SendIcon } from "../../icons/generated/SendIcon.js";
|
|
2
|
+
import { PreviewAvatar, PreviewChip, PreviewMedia, PreviewName, PreviewShell } from "../_shared/Preview.js";
|
|
3
|
+
import InstagramStoryPreview_module_default from "./InstagramStoryPreview.module.js";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
// src/agency/InstagramStoryPreview/InstagramStoryPreview.tsx
|
|
6
|
+
/**
|
|
7
|
+
* Instagram hikâye önizlemesi: 9:16 çerçeve, üstte ilerleme çubukları ve hesap bilgisi, altta
|
|
8
|
+
* yanıt alanı. Sunucu bileşenidir. Güvenli alan kılavuzu için `SafeZoneOverlay` çocuk olarak verilir.
|
|
9
|
+
*/
|
|
10
|
+
function InstagramStoryPreview({ label, account, media, text, timeLabel, replyLabel, segments = 1, current = 0, children, className, id }) {
|
|
11
|
+
const bars = Array.from({ length: Math.max(1, segments) }, (_, i) => i);
|
|
12
|
+
return /* @__PURE__ */ jsx(PreviewShell, {
|
|
13
|
+
label,
|
|
14
|
+
id,
|
|
15
|
+
platform: "instagram-story",
|
|
16
|
+
className: [InstagramStoryPreview_module_default.root, className].filter(Boolean).join(" "),
|
|
17
|
+
children: /* @__PURE__ */ jsxs(PreviewMedia, {
|
|
18
|
+
media,
|
|
19
|
+
ratio: "9:16",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsxs("div", {
|
|
22
|
+
className: InstagramStoryPreview_module_default.top,
|
|
23
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
24
|
+
className: InstagramStoryPreview_module_default.bars,
|
|
25
|
+
"aria-hidden": "true",
|
|
26
|
+
children: bars.map((i) => /* @__PURE__ */ jsx("span", {
|
|
27
|
+
className: InstagramStoryPreview_module_default.bar,
|
|
28
|
+
"data-state": i < current ? "done" : i === current ? "active" : "next"
|
|
29
|
+
}, i))
|
|
30
|
+
}), /* @__PURE__ */ jsxs(PreviewChip, { children: [
|
|
31
|
+
/* @__PURE__ */ jsx(PreviewAvatar, {
|
|
32
|
+
account,
|
|
33
|
+
size: "sm"
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ jsx(PreviewName, { account }),
|
|
36
|
+
timeLabel ? /* @__PURE__ */ jsx("span", {
|
|
37
|
+
className: InstagramStoryPreview_module_default.time,
|
|
38
|
+
children: timeLabel
|
|
39
|
+
}) : null
|
|
40
|
+
] })]
|
|
41
|
+
}),
|
|
42
|
+
text ? /* @__PURE__ */ jsx("p", {
|
|
43
|
+
className: InstagramStoryPreview_module_default.text,
|
|
44
|
+
children: text
|
|
45
|
+
}) : null,
|
|
46
|
+
children,
|
|
47
|
+
replyLabel ? /* @__PURE__ */ jsxs("div", {
|
|
48
|
+
className: InstagramStoryPreview_module_default.reply,
|
|
49
|
+
"aria-hidden": "true",
|
|
50
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
51
|
+
className: InstagramStoryPreview_module_default.replyField,
|
|
52
|
+
children: replyLabel
|
|
53
|
+
}), /* @__PURE__ */ jsx(SendIcon, { className: InstagramStoryPreview_module_default.send })]
|
|
54
|
+
}) : null
|
|
55
|
+
]
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
export { InstagramStoryPreview };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './InstagramStoryPreview.css';
|
|
2
|
+
// src/agency/InstagramStoryPreview/InstagramStoryPreview.module.css
|
|
3
|
+
var InstagramStoryPreview_module_default = {
|
|
4
|
+
"root": "sti-InstagramStoryPreview-root-53aed",
|
|
5
|
+
"top": "sti-InstagramStoryPreview-top-56f17",
|
|
6
|
+
"bars": "sti-InstagramStoryPreview-bars-71db5",
|
|
7
|
+
"bar": "sti-InstagramStoryPreview-bar-94791",
|
|
8
|
+
"time": "sti-InstagramStoryPreview-time-b1bb1",
|
|
9
|
+
"text": "sti-InstagramStoryPreview-text-d88f7",
|
|
10
|
+
"reply": "sti-InstagramStoryPreview-reply-ffd2c",
|
|
11
|
+
"replyField": "sti-InstagramStoryPreview-replyField-69dda",
|
|
12
|
+
"send": "sti-InstagramStoryPreview-send-55e8a"
|
|
13
|
+
};
|
|
14
|
+
export { InstagramStoryPreview_module_default as default };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-LinkedInPostPreview-root-d99a5 {
|
|
4
|
+
--sti-preview-max: 33rem;
|
|
5
|
+
--sti-preview-pad: 0;
|
|
6
|
+
--sti-preview-gap: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.sti-LinkedInPostPreview-header-101cc {
|
|
10
|
+
align-items: flex-start;
|
|
11
|
+
gap: var(--sti-space-3);
|
|
12
|
+
padding: var(--sti-space-3) var(--sti-space-4);
|
|
13
|
+
display: flex;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.sti-LinkedInPostPreview-who-33957 {
|
|
17
|
+
flex: 1;
|
|
18
|
+
min-width: 0;
|
|
19
|
+
display: grid;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.sti-LinkedInPostPreview-sub-a8f46 {
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: var(--sti-space-1);
|
|
25
|
+
min-width: 0;
|
|
26
|
+
color: var(--sti-fg-muted);
|
|
27
|
+
font-size: var(--sti-font-size-xs);
|
|
28
|
+
line-height: var(--sti-line-height-xs);
|
|
29
|
+
display: flex;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.sti-LinkedInPostPreview-globe-9dd86 {
|
|
34
|
+
inline-size: var(--sti-icon-sm);
|
|
35
|
+
block-size: var(--sti-icon-sm);
|
|
36
|
+
flex: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.sti-LinkedInPostPreview-more-01643 {
|
|
40
|
+
color: var(--sti-fg-muted);
|
|
41
|
+
flex: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.sti-LinkedInPostPreview-text-ad8d3 {
|
|
45
|
+
padding: 0 var(--sti-space-4) var(--sti-space-3);
|
|
46
|
+
font-size: var(--sti-font-size-sm);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sti-LinkedInPostPreview-counts-f92fd {
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
gap: var(--sti-space-3);
|
|
52
|
+
padding: var(--sti-space-2) var(--sti-space-4);
|
|
53
|
+
color: var(--sti-fg-muted);
|
|
54
|
+
font-size: var(--sti-font-size-xs);
|
|
55
|
+
display: flex;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.sti-LinkedInPostPreview-actions-f37d3 {
|
|
59
|
+
margin-inline: var(--sti-space-2);
|
|
60
|
+
padding-block: var(--sti-space-1);
|
|
61
|
+
border-block-start: var(--sti-border-width) solid var(--sti-border-subtle);
|
|
62
|
+
display: flex;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.sti-LinkedInPostPreview-action-fc177 {
|
|
66
|
+
justify-content: center;
|
|
67
|
+
align-items: center;
|
|
68
|
+
gap: var(--sti-space-1);
|
|
69
|
+
min-width: 0;
|
|
70
|
+
padding-block: var(--sti-space-2);
|
|
71
|
+
color: var(--sti-fg-muted);
|
|
72
|
+
font-size: var(--sti-icon-md);
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
flex: 1;
|
|
75
|
+
display: inline-flex;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.sti-LinkedInPostPreview-actionText-c97f4 {
|
|
79
|
+
font-size: var(--sti-font-size-xs);
|
|
80
|
+
font-weight: var(--sti-font-weight-semibold);
|
|
81
|
+
line-height: var(--sti-line-height-xs);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PreviewAccount, PreviewBaseProps, PreviewMediaItem, PreviewRatio } from "../_shared/Preview.js";
|
|
2
|
+
export interface LinkedInPostPreviewProps extends PreviewBaseProps {
|
|
3
|
+
/** Kişi ya da şirket sayfası. `name` görünen ad, `subtitle` ünvan ya da takipçi sayısıdır. */
|
|
4
|
+
account: PreviewAccount;
|
|
5
|
+
text: string;
|
|
6
|
+
media?: PreviewMediaItem;
|
|
7
|
+
/** Görsel oranı: akışta 1,91:1 (bağlantı), 1:1 ve 4:5 (görsel). */
|
|
8
|
+
ratio?: Extract<PreviewRatio, "1:1" | "1.91:1" | "4:5">;
|
|
9
|
+
/** Zaman ve görünürlük satırı ("2 sa · Herkese açık"). */
|
|
10
|
+
timeLabel?: string;
|
|
11
|
+
/** Tepki ve yorum sayıları ("142", "18 yorum"). */
|
|
12
|
+
reactionsLabel?: string;
|
|
13
|
+
commentsLabel?: string;
|
|
14
|
+
/** Eylem düğmelerinin yazıları; verilmezse yalnız ikon çizilir. */
|
|
15
|
+
actionLabels?: {
|
|
16
|
+
like: string;
|
|
17
|
+
comment: string;
|
|
18
|
+
repost: string;
|
|
19
|
+
send: string;
|
|
20
|
+
};
|
|
21
|
+
/** Kesilen metnin sonuna eklenen metin ("…daha fazla"). */
|
|
22
|
+
moreLabel?: string;
|
|
23
|
+
/** Metnin tamamını gösterir. */
|
|
24
|
+
expanded?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* LinkedIn gönderisi önizlemesi: üst bilgi, metin (ilk 210 karakter), görsel, tepki satırı ve dört
|
|
28
|
+
* eylem. Sunucu bileşenidir.
|
|
29
|
+
*/
|
|
30
|
+
export declare function LinkedInPostPreview({ label, account, text, media, ratio, timeLabel, reactionsLabel, commentsLabel, actionLabels, moreLabel, expanded, className, id }: LinkedInPostPreviewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { MoreHorizontalIcon } from "../../icons/generated/MoreHorizontalIcon.js";
|
|
2
|
+
import { RefreshIcon } from "../../icons/generated/RefreshIcon.js";
|
|
3
|
+
import { HeartIcon } from "../../icons/generated/HeartIcon.js";
|
|
4
|
+
import { MessageIcon } from "../../icons/generated/MessageIcon.js";
|
|
5
|
+
import { GlobeIcon } from "../../icons/generated/GlobeIcon.js";
|
|
6
|
+
import { SendIcon } from "../../icons/generated/SendIcon.js";
|
|
7
|
+
import { PLATFORM_LIMITS } from "../_shared/platforms.js";
|
|
8
|
+
import { PreviewAvatar, PreviewMedia, PreviewName, PreviewShell, PreviewText } from "../_shared/Preview.js";
|
|
9
|
+
import LinkedInPostPreview_module_default from "./LinkedInPostPreview.module.js";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
// src/agency/LinkedInPostPreview/LinkedInPostPreview.tsx
|
|
12
|
+
/**
|
|
13
|
+
* LinkedIn gönderisi önizlemesi: üst bilgi, metin (ilk 210 karakter), görsel, tepki satırı ve dört
|
|
14
|
+
* eylem. Sunucu bileşenidir.
|
|
15
|
+
*/
|
|
16
|
+
function LinkedInPostPreview({ label, account, text, media, ratio = "1.91:1", timeLabel, reactionsLabel, commentsLabel, actionLabels, moreLabel, expanded = false, className, id }) {
|
|
17
|
+
const actions = [
|
|
18
|
+
{
|
|
19
|
+
key: "like",
|
|
20
|
+
icon: /* @__PURE__ */ jsx(HeartIcon, {}),
|
|
21
|
+
text: actionLabels?.like
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
key: "comment",
|
|
25
|
+
icon: /* @__PURE__ */ jsx(MessageIcon, {}),
|
|
26
|
+
text: actionLabels?.comment
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
key: "repost",
|
|
30
|
+
icon: /* @__PURE__ */ jsx(RefreshIcon, {}),
|
|
31
|
+
text: actionLabels?.repost
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
key: "send",
|
|
35
|
+
icon: /* @__PURE__ */ jsx(SendIcon, {}),
|
|
36
|
+
text: actionLabels?.send
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
return /* @__PURE__ */ jsxs(PreviewShell, {
|
|
40
|
+
label,
|
|
41
|
+
id,
|
|
42
|
+
platform: "linkedin",
|
|
43
|
+
className: [LinkedInPostPreview_module_default.root, className].filter(Boolean).join(" "),
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ jsxs("div", {
|
|
46
|
+
className: LinkedInPostPreview_module_default.header,
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ jsx(PreviewAvatar, {
|
|
49
|
+
account,
|
|
50
|
+
size: "lg"
|
|
51
|
+
}),
|
|
52
|
+
/* @__PURE__ */ jsxs("span", {
|
|
53
|
+
className: LinkedInPostPreview_module_default.who,
|
|
54
|
+
children: [
|
|
55
|
+
/* @__PURE__ */ jsx(PreviewName, { account }),
|
|
56
|
+
account.subtitle ? /* @__PURE__ */ jsx("span", {
|
|
57
|
+
className: LinkedInPostPreview_module_default.sub,
|
|
58
|
+
children: account.subtitle
|
|
59
|
+
}) : null,
|
|
60
|
+
timeLabel ? /* @__PURE__ */ jsxs("span", {
|
|
61
|
+
className: LinkedInPostPreview_module_default.sub,
|
|
62
|
+
children: [timeLabel, /* @__PURE__ */ jsx(GlobeIcon, { className: LinkedInPostPreview_module_default.globe })]
|
|
63
|
+
}) : null
|
|
64
|
+
]
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ jsx(MoreHorizontalIcon, { className: LinkedInPostPreview_module_default.more })
|
|
67
|
+
]
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsx("div", {
|
|
70
|
+
className: LinkedInPostPreview_module_default.text,
|
|
71
|
+
children: /* @__PURE__ */ jsx(PreviewText, {
|
|
72
|
+
text,
|
|
73
|
+
limit: expanded ? void 0 : PLATFORM_LIMITS.linkedin.visible,
|
|
74
|
+
moreLabel
|
|
75
|
+
})
|
|
76
|
+
}),
|
|
77
|
+
media ? /* @__PURE__ */ jsx(PreviewMedia, {
|
|
78
|
+
media,
|
|
79
|
+
ratio
|
|
80
|
+
}) : null,
|
|
81
|
+
reactionsLabel || commentsLabel ? /* @__PURE__ */ jsxs("div", {
|
|
82
|
+
className: LinkedInPostPreview_module_default.counts,
|
|
83
|
+
children: [/* @__PURE__ */ jsx("span", { children: reactionsLabel }), /* @__PURE__ */ jsx("span", { children: commentsLabel })]
|
|
84
|
+
}) : null,
|
|
85
|
+
/* @__PURE__ */ jsx("div", {
|
|
86
|
+
className: LinkedInPostPreview_module_default.actions,
|
|
87
|
+
"aria-hidden": "true",
|
|
88
|
+
children: actions.map((a) => /* @__PURE__ */ jsxs("span", {
|
|
89
|
+
className: LinkedInPostPreview_module_default.action,
|
|
90
|
+
children: [a.icon, a.text ? /* @__PURE__ */ jsx("span", {
|
|
91
|
+
className: LinkedInPostPreview_module_default.actionText,
|
|
92
|
+
children: a.text
|
|
93
|
+
}) : null]
|
|
94
|
+
}, a.key))
|
|
95
|
+
})
|
|
96
|
+
]
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
export { LinkedInPostPreview };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './LinkedInPostPreview.css';
|
|
2
|
+
// src/agency/LinkedInPostPreview/LinkedInPostPreview.module.css
|
|
3
|
+
var LinkedInPostPreview_module_default = {
|
|
4
|
+
"root": "sti-LinkedInPostPreview-root-d99a5",
|
|
5
|
+
"header": "sti-LinkedInPostPreview-header-101cc",
|
|
6
|
+
"who": "sti-LinkedInPostPreview-who-33957",
|
|
7
|
+
"sub": "sti-LinkedInPostPreview-sub-a8f46",
|
|
8
|
+
"globe": "sti-LinkedInPostPreview-globe-9dd86",
|
|
9
|
+
"more": "sti-LinkedInPostPreview-more-01643",
|
|
10
|
+
"text": "sti-LinkedInPostPreview-text-ad8d3",
|
|
11
|
+
"counts": "sti-LinkedInPostPreview-counts-f92fd",
|
|
12
|
+
"actions": "sti-LinkedInPostPreview-actions-f37d3",
|
|
13
|
+
"action": "sti-LinkedInPostPreview-action-fc177",
|
|
14
|
+
"actionText": "sti-LinkedInPostPreview-actionText-c97f4"
|
|
15
|
+
};
|
|
16
|
+
export { LinkedInPostPreview_module_default as default };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-PinterestPinPreview-root-cac0d {
|
|
4
|
+
--sti-preview-max: 16rem;
|
|
5
|
+
--sti-preview-pad: var(--sti-space-2);
|
|
6
|
+
--sti-preview-gap: var(--sti-space-2);
|
|
7
|
+
--sti-preview-radius: var(--sti-radius-lg);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sti-PinterestPinPreview-media-c0ddb {
|
|
11
|
+
--sti-media-inline-size: calc(100% - var(--sti-space-4));
|
|
12
|
+
--sti-media-margin-inline: auto;
|
|
13
|
+
--sti-media-radius: var(--sti-radius-md);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.sti-PinterestPinPreview-save-7b094 {
|
|
17
|
+
padding-block: var(--sti-space-1);
|
|
18
|
+
padding-inline: var(--sti-space-4);
|
|
19
|
+
border-radius: var(--sti-radius-pill);
|
|
20
|
+
background: var(--sti-fill-accent);
|
|
21
|
+
color: var(--sti-fg-on-accent);
|
|
22
|
+
font-size: var(--sti-font-size-sm);
|
|
23
|
+
font-weight: var(--sti-font-weight-semibold);
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset-block-start: var(--sti-space-3);
|
|
26
|
+
inset-inline-end: var(--sti-space-3);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.sti-PinterestPinPreview-body-03d8a {
|
|
30
|
+
gap: var(--sti-space-1);
|
|
31
|
+
padding-inline: var(--sti-space-3);
|
|
32
|
+
padding-block-end: var(--sti-space-1);
|
|
33
|
+
display: grid;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.sti-PinterestPinPreview-title-24442 {
|
|
37
|
+
font-size: var(--sti-font-size-sm);
|
|
38
|
+
font-weight: var(--sti-font-weight-semibold);
|
|
39
|
+
line-height: var(--sti-line-height-sm);
|
|
40
|
+
overflow-wrap: anywhere;
|
|
41
|
+
-webkit-line-clamp: 2;
|
|
42
|
+
line-clamp: 2;
|
|
43
|
+
-webkit-box-orient: vertical;
|
|
44
|
+
margin: 0;
|
|
45
|
+
display: -webkit-box;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sti-PinterestPinPreview-description-20a02 {
|
|
50
|
+
color: var(--sti-fg-muted);
|
|
51
|
+
font-size: var(--sti-font-size-xs);
|
|
52
|
+
line-height: var(--sti-line-height-xs);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.sti-PinterestPinPreview-domain-55fb1 {
|
|
56
|
+
align-items: center;
|
|
57
|
+
gap: var(--sti-space-1);
|
|
58
|
+
min-width: 0;
|
|
59
|
+
color: var(--sti-fg-muted);
|
|
60
|
+
font-size: var(--sti-font-size-xs);
|
|
61
|
+
line-height: var(--sti-line-height-xs);
|
|
62
|
+
text-overflow: ellipsis;
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
display: inline-flex;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.sti-PinterestPinPreview-linkIcon-75837 {
|
|
69
|
+
flex: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.sti-PinterestPinPreview-pinner-aecc2 {
|
|
73
|
+
align-items: center;
|
|
74
|
+
gap: var(--sti-space-2);
|
|
75
|
+
min-width: 0;
|
|
76
|
+
margin-block-start: var(--sti-space-1);
|
|
77
|
+
display: inline-flex;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sti-PinterestPinPreview-pinnerName-7e243 {
|
|
81
|
+
min-width: 0;
|
|
82
|
+
font-size: var(--sti-font-size-xs);
|
|
83
|
+
font-weight: var(--sti-font-weight-medium);
|
|
84
|
+
text-overflow: ellipsis;
|
|
85
|
+
white-space: nowrap;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (forced-colors: active) {
|
|
90
|
+
.sti-PinterestPinPreview-save-7b094 {
|
|
91
|
+
border: var(--sti-border-width) solid CanvasText;
|
|
92
|
+
color: canvastext;
|
|
93
|
+
background: canvas;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PreviewAccount, PreviewBaseProps, PreviewMediaItem, PreviewRatio } from "../_shared/Preview.js";
|
|
2
|
+
export interface PinterestPinPreviewProps extends PreviewBaseProps {
|
|
3
|
+
/** Pini yayımlayan hesap. */
|
|
4
|
+
account: PreviewAccount;
|
|
5
|
+
/** Pin başlığı; en çok 100 karakter, akışta iki satıra kısaltılır. */
|
|
6
|
+
title: string;
|
|
7
|
+
/** Açıklama; akışta ilk 100 karakteri görünür (sınır 500). */
|
|
8
|
+
description?: string;
|
|
9
|
+
/** Pin görseli. Önerilen oran 2:3. */
|
|
10
|
+
media?: PreviewMediaItem;
|
|
11
|
+
ratio?: Extract<PreviewRatio, "2:3" | "1:1" | "9:16">;
|
|
12
|
+
/** Hedef sitenin alan adı ("anadolukahve.example"). */
|
|
13
|
+
domain?: string;
|
|
14
|
+
/** Görsel üstündeki kaydet düğmesinin yazısı (süs). */
|
|
15
|
+
saveLabel?: string;
|
|
16
|
+
/** Kesilen açıklamanın sonuna eklenen metin ("devamı"). */
|
|
17
|
+
moreLabel?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Pinterest pini önizlemesi: dikey görsel, kaydet düğmesi, başlık, açıklama, hedef alan adı ve
|
|
21
|
+
* yayımlayan hesap. Sunucu bileşenidir.
|
|
22
|
+
*/
|
|
23
|
+
export declare function PinterestPinPreview({ label, account, title, description, media, ratio, domain, saveLabel, moreLabel, className, id }: PinterestPinPreviewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { LinkIcon } from "../../icons/generated/LinkIcon.js";
|
|
2
|
+
import { PLATFORM_LIMITS } from "../_shared/platforms.js";
|
|
3
|
+
import { PreviewAvatar, PreviewMedia, PreviewShell, PreviewText } from "../_shared/Preview.js";
|
|
4
|
+
import PinterestPinPreview_module_default from "./PinterestPinPreview.module.js";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
// src/agency/PinterestPinPreview/PinterestPinPreview.tsx
|
|
7
|
+
/**
|
|
8
|
+
* Pinterest pini önizlemesi: dikey görsel, kaydet düğmesi, başlık, açıklama, hedef alan adı ve
|
|
9
|
+
* yayımlayan hesap. Sunucu bileşenidir.
|
|
10
|
+
*/
|
|
11
|
+
function PinterestPinPreview({ label, account, title, description, media, ratio = "2:3", domain, saveLabel, moreLabel, className, id }) {
|
|
12
|
+
return /* @__PURE__ */ jsxs(PreviewShell, {
|
|
13
|
+
label,
|
|
14
|
+
id,
|
|
15
|
+
platform: "pinterest",
|
|
16
|
+
className: [PinterestPinPreview_module_default.root, className].filter(Boolean).join(" "),
|
|
17
|
+
children: [/* @__PURE__ */ jsx(PreviewMedia, {
|
|
18
|
+
media,
|
|
19
|
+
ratio,
|
|
20
|
+
className: PinterestPinPreview_module_default.media,
|
|
21
|
+
children: saveLabel ? /* @__PURE__ */ jsx("span", {
|
|
22
|
+
className: PinterestPinPreview_module_default.save,
|
|
23
|
+
"aria-hidden": "true",
|
|
24
|
+
children: saveLabel
|
|
25
|
+
}) : null
|
|
26
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
27
|
+
className: PinterestPinPreview_module_default.body,
|
|
28
|
+
children: [
|
|
29
|
+
/* @__PURE__ */ jsx("h3", {
|
|
30
|
+
className: PinterestPinPreview_module_default.title,
|
|
31
|
+
children: title
|
|
32
|
+
}),
|
|
33
|
+
description ? /* @__PURE__ */ jsx(PreviewText, {
|
|
34
|
+
className: PinterestPinPreview_module_default.description,
|
|
35
|
+
text: description,
|
|
36
|
+
limit: PLATFORM_LIMITS.pinterest.visible,
|
|
37
|
+
moreLabel
|
|
38
|
+
}) : null,
|
|
39
|
+
domain ? /* @__PURE__ */ jsxs("span", {
|
|
40
|
+
className: PinterestPinPreview_module_default.domain,
|
|
41
|
+
children: [/* @__PURE__ */ jsx(LinkIcon, { className: PinterestPinPreview_module_default.linkIcon }), domain]
|
|
42
|
+
}) : null,
|
|
43
|
+
/* @__PURE__ */ jsxs("span", {
|
|
44
|
+
className: PinterestPinPreview_module_default.pinner,
|
|
45
|
+
children: [/* @__PURE__ */ jsx(PreviewAvatar, {
|
|
46
|
+
account,
|
|
47
|
+
size: "sm"
|
|
48
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
49
|
+
className: PinterestPinPreview_module_default.pinnerName,
|
|
50
|
+
children: account.name
|
|
51
|
+
})]
|
|
52
|
+
})
|
|
53
|
+
]
|
|
54
|
+
})]
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
export { PinterestPinPreview };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import './PinterestPinPreview.css';
|
|
2
|
+
// src/agency/PinterestPinPreview/PinterestPinPreview.module.css
|
|
3
|
+
var PinterestPinPreview_module_default = {
|
|
4
|
+
"root": "sti-PinterestPinPreview-root-cac0d",
|
|
5
|
+
"media": "sti-PinterestPinPreview-media-c0ddb",
|
|
6
|
+
"save": "sti-PinterestPinPreview-save-7b094",
|
|
7
|
+
"body": "sti-PinterestPinPreview-body-03d8a",
|
|
8
|
+
"title": "sti-PinterestPinPreview-title-24442",
|
|
9
|
+
"description": "sti-PinterestPinPreview-description-20a02",
|
|
10
|
+
"domain": "sti-PinterestPinPreview-domain-55fb1",
|
|
11
|
+
"linkIcon": "sti-PinterestPinPreview-linkIcon-75837",
|
|
12
|
+
"pinner": "sti-PinterestPinPreview-pinner-aecc2",
|
|
13
|
+
"pinnerName": "sti-PinterestPinPreview-pinnerName-7e243"
|
|
14
|
+
};
|
|
15
|
+
export { PinterestPinPreview_module_default as default };
|