@stisocial/ui 0.2.1 → 0.3.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 +68 -0
- package/dist/agency/AnnotationLayer/AnnotationLayer.css +209 -0
- package/dist/agency/AnnotationLayer/AnnotationLayer.d.ts +35 -0
- package/dist/agency/AnnotationLayer/AnnotationLayer.js +226 -0
- package/dist/agency/AnnotationLayer/AnnotationLayer.module.js +23 -0
- package/dist/agency/ApprovalActions/ApprovalActions.css +16 -0
- package/dist/agency/ApprovalActions/ApprovalActions.d.ts +22 -0
- package/dist/agency/ApprovalActions/ApprovalActions.js +104 -0
- package/dist/agency/ApprovalActions/ApprovalActions.module.js +7 -0
- package/dist/agency/ApprovalFlow/ApprovalFlow.css +159 -0
- package/dist/agency/ApprovalFlow/ApprovalFlow.d.ts +34 -0
- package/dist/agency/ApprovalFlow/ApprovalFlow.js +115 -0
- package/dist/agency/ApprovalFlow/ApprovalFlow.module.js +19 -0
- package/dist/agency/ApprovalFlow/index.d.ts +2 -0
- package/dist/agency/AssetCard/AssetCard.css +194 -0
- package/dist/agency/AssetCard/AssetCard.d.ts +47 -0
- package/dist/agency/AssetCard/AssetCard.js +137 -0
- package/dist/agency/AssetCard/AssetCard.module.js +19 -0
- package/dist/agency/AssetCard/index.d.ts +2 -0
- package/dist/agency/AssetLibrary/AssetLibrary.css +60 -0
- package/dist/agency/AssetLibrary/AssetLibrary.d.ts +36 -0
- package/dist/agency/AssetLibrary/AssetLibrary.js +174 -0
- package/dist/agency/AssetLibrary/AssetLibrary.module.js +13 -0
- package/dist/agency/AssetLibrary/index.d.ts +2 -0
- package/dist/agency/AssetPicker/AssetPicker.d.ts +23 -0
- package/dist/agency/AssetPicker/AssetPicker.js +50 -0
- package/dist/agency/AssetPicker/index.d.ts +2 -0
- package/dist/agency/BrandKitViewer/BrandKitViewer.css +184 -0
- package/dist/agency/BrandKitViewer/BrandKitViewer.d.ts +46 -0
- package/dist/agency/BrandKitViewer/BrandKitViewer.js +168 -0
- package/dist/agency/BrandKitViewer/BrandKitViewer.module.js +25 -0
- package/dist/agency/BriefForm/BriefForm.css +25 -0
- package/dist/agency/BriefForm/BriefForm.d.ts +39 -0
- package/dist/agency/BriefForm/BriefForm.js +247 -0
- package/dist/agency/BriefForm/BriefForm.module.js +8 -0
- package/dist/agency/BriefForm/index.d.ts +2 -0
- package/dist/agency/BudgetTracker/BudgetTracker.css +159 -0
- package/dist/agency/BudgetTracker/BudgetTracker.d.ts +29 -0
- package/dist/agency/BudgetTracker/BudgetTracker.js +147 -0
- package/dist/agency/BudgetTracker/BudgetTracker.module.js +20 -0
- package/dist/agency/BudgetTracker/budgetPace.d.ts +21 -0
- package/dist/agency/BudgetTracker/budgetPace.js +30 -0
- package/dist/agency/CampaignCard/CampaignCard.css +229 -0
- package/dist/agency/CampaignCard/CampaignCard.d.ts +42 -0
- package/dist/agency/CampaignCard/CampaignCard.js +143 -0
- package/dist/agency/CampaignCard/CampaignCard.module.js +27 -0
- package/dist/agency/CampaignCard/index.d.ts +2 -0
- package/dist/agency/ChannelPerformanceTable/ChannelPerformanceTable.css +113 -0
- package/dist/agency/ChannelPerformanceTable/ChannelPerformanceTable.d.ts +41 -0
- package/dist/agency/ChannelPerformanceTable/ChannelPerformanceTable.js +156 -0
- package/dist/agency/ChannelPerformanceTable/ChannelPerformanceTable.module.js +15 -0
- package/dist/agency/ColorPaletteDisplay/ColorPaletteDisplay.css +117 -0
- package/dist/agency/ColorPaletteDisplay/ColorPaletteDisplay.d.ts +31 -0
- package/dist/agency/ColorPaletteDisplay/ColorPaletteDisplay.js +143 -0
- package/dist/agency/ColorPaletteDisplay/ColorPaletteDisplay.module.js +17 -0
- package/dist/agency/ContentCalendar/ContentCalendar.css +58 -0
- package/dist/agency/ContentCalendar/ContentCalendar.d.ts +33 -0
- package/dist/agency/ContentCalendar/ContentCalendar.js +98 -0
- package/dist/agency/ContentCalendar/ContentCalendar.module.js +9 -0
- package/dist/agency/GoogleDisplayAdPreview/GoogleDisplayAdPreview.css +182 -0
- package/dist/agency/GoogleDisplayAdPreview/GoogleDisplayAdPreview.d.ts +23 -0
- package/dist/agency/GoogleDisplayAdPreview/GoogleDisplayAdPreview.js +94 -0
- package/dist/agency/GoogleDisplayAdPreview/GoogleDisplayAdPreview.module.js +17 -0
- package/dist/agency/GoogleDisplayAdPreview/index.d.ts +2 -0
- package/dist/agency/GoogleSearchAdPreview/GoogleSearchAdPreview.css +119 -0
- package/dist/agency/GoogleSearchAdPreview/GoogleSearchAdPreview.d.ts +32 -0
- package/dist/agency/GoogleSearchAdPreview/GoogleSearchAdPreview.js +83 -0
- package/dist/agency/GoogleSearchAdPreview/GoogleSearchAdPreview.module.js +16 -0
- package/dist/agency/GoogleSearchAdPreview/index.d.ts +2 -0
- package/dist/agency/HashtagInput/HashtagInput.css +37 -0
- package/dist/agency/HashtagInput/HashtagInput.d.ts +32 -0
- package/dist/agency/HashtagInput/HashtagInput.js +96 -0
- package/dist/agency/HashtagInput/HashtagInput.module.js +10 -0
- package/dist/agency/HashtagInput/index.d.ts +2 -0
- package/dist/agency/InstagramReelPreview/InstagramReelPreview.js +1 -1
- package/dist/agency/LinkPreview/LinkPreview.css +176 -0
- package/dist/agency/LinkPreview/LinkPreview.d.ts +26 -0
- package/dist/agency/LinkPreview/LinkPreview.js +136 -0
- package/dist/agency/LinkPreview/LinkPreview.module.js +27 -0
- package/dist/agency/LinkPreview/index.d.ts +2 -0
- package/dist/agency/MetaAdPreview/MetaAdPreview.css +112 -0
- package/dist/agency/MetaAdPreview/MetaAdPreview.d.ts +30 -0
- package/dist/agency/MetaAdPreview/MetaAdPreview.js +109 -0
- package/dist/agency/MetaAdPreview/MetaAdPreview.module.js +20 -0
- package/dist/agency/MetaAdPreview/index.d.ts +2 -0
- package/dist/agency/PlatformCharacterLimit/PlatformCharacterLimit.css +99 -0
- package/dist/agency/PlatformCharacterLimit/PlatformCharacterLimit.d.ts +31 -0
- package/dist/agency/PlatformCharacterLimit/PlatformCharacterLimit.js +107 -0
- package/dist/agency/PlatformCharacterLimit/PlatformCharacterLimit.module.js +14 -0
- package/dist/agency/PostComposer/PostComposer.css +109 -0
- package/dist/agency/PostComposer/PostComposer.d.ts +36 -0
- package/dist/agency/PostComposer/PostComposer.js +288 -0
- package/dist/agency/PostComposer/PostComposer.module.js +18 -0
- package/dist/agency/PostComposer/index.d.ts +2 -0
- package/dist/agency/PublishScheduler/PublishScheduler.css +69 -0
- package/dist/agency/PublishScheduler/PublishScheduler.d.ts +34 -0
- package/dist/agency/PublishScheduler/PublishScheduler.js +152 -0
- package/dist/agency/PublishScheduler/PublishScheduler.module.js +14 -0
- package/dist/agency/RevisionHistory/RevisionHistory.css +157 -0
- package/dist/agency/RevisionHistory/RevisionHistory.d.ts +39 -0
- package/dist/agency/RevisionHistory/RevisionHistory.js +141 -0
- package/dist/agency/RevisionHistory/RevisionHistory.module.js +21 -0
- package/dist/agency/SafeZoneOverlay/SafeZoneOverlay.css +139 -0
- package/dist/agency/SafeZoneOverlay/SafeZoneOverlay.d.ts +27 -0
- package/dist/agency/SafeZoneOverlay/SafeZoneOverlay.js +108 -0
- package/dist/agency/SafeZoneOverlay/SafeZoneOverlay.module.js +14 -0
- package/dist/agency/SafeZoneOverlay/index.d.ts +2 -0
- package/dist/agency/SerpPreview/SerpPreview.css +131 -0
- package/dist/agency/SerpPreview/SerpPreview.d.ts +35 -0
- package/dist/agency/SerpPreview/SerpPreview.js +130 -0
- package/dist/agency/SerpPreview/SerpPreview.module.js +20 -0
- package/dist/agency/SerpPreview/index.d.ts +2 -0
- package/dist/agency/TikTokPreview/TikTokPreview.js +1 -1
- package/dist/agency/TimeTracker/TimeTracker.css +128 -0
- package/dist/agency/TimeTracker/TimeTracker.d.ts +29 -0
- package/dist/agency/TimeTracker/TimeTracker.js +183 -0
- package/dist/agency/TimeTracker/TimeTracker.module.js +21 -0
- package/dist/agency/UtmBuilder/UtmBuilder.css +66 -0
- package/dist/agency/UtmBuilder/UtmBuilder.d.ts +33 -0
- package/dist/agency/UtmBuilder/UtmBuilder.js +201 -0
- package/dist/agency/UtmBuilder/UtmBuilder.module.js +14 -0
- package/dist/agency/_shared/platforms.d.ts +3 -1
- package/dist/agency/_shared/platforms.js +9 -1
- package/dist/agency/index.d.ts +43 -2
- package/dist/agency/index.js +29 -2
- package/dist/ai/AttachmentChip/AttachmentChip.js +5 -3
- package/dist/ai/ChatThread/ChatThread.css +10 -8
- package/dist/ai/ChatThread/ChatThread.module.js +5 -5
- package/dist/ai/ConversationList/ConversationList.js +2 -2
- package/dist/ai/MessageActions/MessageActions.js +1 -1
- package/dist/ai/ModelSelect/ModelSelect.d.ts +5 -1
- package/dist/ai/ModelSelect/ModelSelect.js +2 -1
- package/dist/ai/PromptInput/PromptInput.js +1 -1
- package/dist/ai/ToolCallCard/ToolCallCard.css +40 -39
- package/dist/ai/ToolCallCard/ToolCallCard.js +1 -1
- package/dist/ai/ToolCallCard/ToolCallCard.module.js +17 -17
- package/dist/charts/BulletChart/BulletChart.css +107 -0
- package/dist/charts/BulletChart/BulletChart.d.ts +35 -0
- package/dist/charts/BulletChart/BulletChart.js +120 -0
- package/dist/charts/BulletChart/BulletChart.module.js +18 -0
- package/dist/charts/BulletChart/index.d.ts +2 -0
- package/dist/charts/CalendarHeatmap/CalendarHeatmap.css +39 -0
- package/dist/charts/CalendarHeatmap/CalendarHeatmap.d.ts +30 -0
- package/dist/charts/CalendarHeatmap/CalendarHeatmap.js +256 -0
- package/dist/charts/CalendarHeatmap/CalendarHeatmap.module.js +9 -0
- package/dist/charts/CalendarHeatmap/index.d.ts +2 -0
- package/dist/charts/DonutChart/DonutChart.css +24 -0
- package/dist/charts/DonutChart/DonutChart.d.ts +30 -0
- package/dist/charts/DonutChart/DonutChart.js +157 -0
- package/dist/charts/DonutChart/DonutChart.module.js +8 -0
- package/dist/charts/DonutChart/index.d.ts +2 -0
- package/dist/charts/FunnelChart/FunnelChart.css +47 -0
- package/dist/charts/FunnelChart/FunnelChart.d.ts +22 -0
- package/dist/charts/FunnelChart/FunnelChart.js +179 -0
- package/dist/charts/FunnelChart/FunnelChart.module.js +11 -0
- package/dist/charts/FunnelChart/index.d.ts +2 -0
- package/dist/charts/Gauge/Gauge.css +122 -0
- package/dist/charts/Gauge/Gauge.d.ts +35 -0
- package/dist/charts/Gauge/Gauge.js +132 -0
- package/dist/charts/Gauge/Gauge.module.js +16 -0
- package/dist/charts/Gauge/index.d.ts +2 -0
- package/dist/charts/GeoChart/GeoChart.css +208 -0
- package/dist/charts/GeoChart/GeoChart.d.ts +25 -0
- package/dist/charts/GeoChart/GeoChart.js +120 -0
- package/dist/charts/GeoChart/GeoChart.module.js +21 -0
- package/dist/charts/GeoChart/index.d.ts +2 -0
- package/dist/charts/Heatmap/Heatmap.css +61 -0
- package/dist/charts/Heatmap/Heatmap.d.ts +27 -0
- package/dist/charts/Heatmap/Heatmap.js +138 -0
- package/dist/charts/Heatmap/Heatmap.module.js +10 -0
- package/dist/charts/Heatmap/index.d.ts +2 -0
- package/dist/charts/RadarChart/RadarChart.css +39 -0
- package/dist/charts/RadarChart/RadarChart.d.ts +27 -0
- package/dist/charts/RadarChart/RadarChart.js +146 -0
- package/dist/charts/RadarChart/RadarChart.module.js +8 -0
- package/dist/charts/RadarChart/index.d.ts +2 -0
- package/dist/charts/SankeyChart/SankeyChart.css +45 -0
- package/dist/charts/SankeyChart/SankeyChart.d.ts +34 -0
- package/dist/charts/SankeyChart/SankeyChart.js +152 -0
- package/dist/charts/SankeyChart/SankeyChart.module.js +9 -0
- package/dist/charts/SankeyChart/index.d.ts +3 -0
- package/dist/charts/SankeyChart/sankeyLayout.d.ts +43 -0
- package/dist/charts/SankeyChart/sankeyLayout.js +106 -0
- package/dist/charts/ScatterChart/ScatterChart.css +20 -0
- package/dist/charts/ScatterChart/ScatterChart.d.ts +46 -0
- package/dist/charts/ScatterChart/ScatterChart.js +223 -0
- package/dist/charts/ScatterChart/ScatterChart.module.js +8 -0
- package/dist/charts/ScatterChart/index.d.ts +2 -0
- package/dist/charts/Sparkline/Sparkline.css +27 -0
- package/dist/charts/Sparkline/Sparkline.d.ts +24 -0
- package/dist/charts/Sparkline/Sparkline.js +71 -0
- package/dist/charts/Sparkline/Sparkline.module.js +7 -0
- package/dist/charts/Sparkline/index.d.ts +2 -0
- package/dist/charts/Treemap/Treemap.css +30 -0
- package/dist/charts/Treemap/Treemap.d.ts +23 -0
- package/dist/charts/Treemap/Treemap.js +134 -0
- package/dist/charts/Treemap/Treemap.module.js +8 -0
- package/dist/charts/Treemap/index.d.ts +3 -0
- package/dist/charts/Treemap/squarify.d.ts +11 -0
- package/dist/charts/Treemap/squarify.js +78 -0
- package/dist/charts/WaterfallChart/WaterfallChart.css +20 -0
- package/dist/charts/WaterfallChart/WaterfallChart.d.ts +33 -0
- package/dist/charts/WaterfallChart/WaterfallChart.js +188 -0
- package/dist/charts/WaterfallChart/WaterfallChart.module.js +8 -0
- package/dist/charts/WaterfallChart/index.d.ts +2 -0
- package/dist/charts/_internal/ScaleLegend.css +52 -0
- package/dist/charts/_internal/ScaleLegend.js +36 -0
- package/dist/charts/_internal/ScaleLegend.module.js +9 -0
- package/dist/charts/_internal/frame/ChartFrame.js +1 -1
- package/dist/charts/_internal/items.d.ts +10 -0
- package/dist/charts/_internal/items.js +71 -0
- package/dist/charts/_internal/marks/marks.js +10 -1
- package/dist/charts/_internal/shapes.js +26 -1
- package/dist/charts/index.d.ts +30 -1
- package/dist/charts/index.js +16 -1
- package/dist/commerce/AddToCartButton/AddToCartButton.js +2 -2
- package/dist/commerce/BillingTypeToggle/BillingTypeToggle.css +22 -0
- package/dist/commerce/BillingTypeToggle/BillingTypeToggle.d.ts +30 -0
- package/dist/commerce/BillingTypeToggle/BillingTypeToggle.js +118 -0
- package/dist/commerce/BillingTypeToggle/BillingTypeToggle.module.js +8 -0
- package/dist/commerce/CartDrawer/CartDrawer.css +22 -0
- package/dist/commerce/CartDrawer/CartDrawer.d.ts +27 -0
- package/dist/commerce/CartDrawer/CartDrawer.js +74 -0
- package/dist/commerce/CartDrawer/CartDrawer.module.js +8 -0
- package/dist/commerce/CartDrawer/index.d.ts +2 -0
- package/dist/commerce/CartItem/CartItem.css +143 -0
- package/dist/commerce/CartItem/CartItem.d.ts +33 -0
- package/dist/commerce/CartItem/CartItem.js +101 -0
- package/dist/commerce/CartItem/CartItem.module.js +18 -0
- package/dist/commerce/CartSummary/CartSummary.css +84 -0
- package/dist/commerce/CartSummary/CartSummary.d.ts +32 -0
- package/dist/commerce/CartSummary/CartSummary.js +81 -0
- package/dist/commerce/CartSummary/CartSummary.module.js +12 -0
- package/dist/commerce/CartSummary/index.d.ts +2 -0
- package/dist/commerce/CheckoutSteps/CheckoutSteps.css +152 -0
- package/dist/commerce/CheckoutSteps/CheckoutSteps.d.ts +20 -0
- package/dist/commerce/CheckoutSteps/CheckoutSteps.js +96 -0
- package/dist/commerce/CheckoutSteps/CheckoutSteps.module.js +16 -0
- package/dist/commerce/CouponField/CouponField.css +76 -0
- package/dist/commerce/CouponField/CouponField.d.ts +23 -0
- package/dist/commerce/CouponField/CouponField.js +119 -0
- package/dist/commerce/CouponField/CouponField.module.js +12 -0
- package/dist/commerce/InstallmentTable/InstallmentTable.css +38 -0
- package/dist/commerce/InstallmentTable/InstallmentTable.d.ts +26 -0
- package/dist/commerce/InstallmentTable/InstallmentTable.js +97 -0
- package/dist/commerce/InstallmentTable/InstallmentTable.module.js +9 -0
- package/dist/commerce/OrderSummary/OrderSummary.css +73 -0
- package/dist/commerce/OrderSummary/OrderSummary.d.ts +34 -0
- package/dist/commerce/OrderSummary/OrderSummary.js +106 -0
- package/dist/commerce/OrderSummary/OrderSummary.module.js +14 -0
- package/dist/commerce/OrderSummary/index.d.ts +2 -0
- package/dist/commerce/OrderTracker/OrderTracker.css +184 -0
- package/dist/commerce/OrderTracker/OrderTracker.d.ts +31 -0
- package/dist/commerce/OrderTracker/OrderTracker.js +147 -0
- package/dist/commerce/OrderTracker/OrderTracker.module.js +21 -0
- package/dist/commerce/PaymentMethodSelect/PaymentMethodSelect.css +21 -0
- package/dist/commerce/PaymentMethodSelect/PaymentMethodSelect.d.ts +33 -0
- package/dist/commerce/PaymentMethodSelect/PaymentMethodSelect.js +44 -0
- package/dist/commerce/PaymentMethodSelect/PaymentMethodSelect.module.js +7 -0
- package/dist/commerce/PaymentMethodSelect/index.d.ts +2 -0
- package/dist/commerce/ProductCard/ProductCard.css +133 -0
- package/dist/commerce/ProductCard/ProductCard.d.ts +39 -0
- package/dist/commerce/ProductCard/ProductCard.js +105 -0
- package/dist/commerce/ProductCard/ProductCard.module.js +18 -0
- package/dist/commerce/ProductCard/index.d.ts +2 -0
- package/dist/commerce/ProductGallery/ProductGallery.css +135 -0
- package/dist/commerce/ProductGallery/ProductGallery.d.ts +17 -0
- package/dist/commerce/ProductGallery/ProductGallery.js +102 -0
- package/dist/commerce/ProductGallery/ProductGallery.module.js +12 -0
- package/dist/commerce/ProductGallery/index.d.ts +2 -0
- package/dist/commerce/ProductReviews/ProductReviews.css +227 -0
- package/dist/commerce/ProductReviews/ProductReviews.d.ts +39 -0
- package/dist/commerce/ProductReviews/ProductReviews.js +187 -0
- package/dist/commerce/ProductReviews/ProductReviews.module.js +29 -0
- package/dist/commerce/ShippingOptions/ShippingOptions.d.ts +29 -0
- package/dist/commerce/ShippingOptions/ShippingOptions.js +34 -0
- package/dist/commerce/ShippingOptions/index.d.ts +2 -0
- package/dist/commerce/SizeGuide/RulerGlyph.js +16 -0
- package/dist/commerce/SizeGuide/SizeGuide.css +34 -0
- package/dist/commerce/SizeGuide/SizeGuide.d.ts +28 -0
- package/dist/commerce/SizeGuide/SizeGuide.js +90 -0
- package/dist/commerce/SizeGuide/SizeGuide.module.js +9 -0
- package/dist/commerce/SizeGuide/index.d.ts +2 -0
- package/dist/commerce/VariantSelector/VariantSelector.js +1 -1
- package/dist/commerce/index.d.ts +25 -2
- package/dist/commerce/index.js +16 -1
- package/dist/components/ActivityFeed/ActivityFeed.css +185 -0
- package/dist/components/ActivityFeed/ActivityFeed.d.ts +54 -0
- package/dist/components/ActivityFeed/ActivityFeed.js +134 -0
- package/dist/components/ActivityFeed/ActivityFeed.module.js +23 -0
- package/dist/components/ActivityFeed/index.d.ts +2 -0
- package/dist/components/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AppHeader/AppHeader.css +18 -18
- package/dist/components/AppHeader/AppHeader.d.ts +1 -1
- package/dist/components/AppHeader/AppHeader.module.js +8 -8
- package/dist/components/AppShell/AppShell.css +19 -19
- package/dist/components/AppShell/AppShell.d.ts +1 -1
- package/dist/components/AppShell/AppShell.module.js +7 -7
- package/dist/components/AuditLogList/AuditLogList.css +245 -0
- package/dist/components/AuditLogList/AuditLogList.d.ts +70 -0
- package/dist/components/AuditLogList/AuditLogList.js +200 -0
- package/dist/components/AuditLogList/AuditLogList.module.js +28 -0
- package/dist/components/AuditLogList/index.d.ts +2 -0
- package/dist/components/Avatar/Avatar.js +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/components/BulkActionBar/BulkActionBar.css +111 -0
- package/dist/components/BulkActionBar/BulkActionBar.d.ts +24 -0
- package/dist/components/BulkActionBar/BulkActionBar.js +82 -0
- package/dist/components/BulkActionBar/BulkActionBar.module.js +12 -0
- package/dist/components/BulkActionBar/index.d.ts +2 -0
- package/dist/components/CalendarView/CalendarView.css +525 -0
- package/dist/components/CalendarView/CalendarView.d.ts +43 -0
- package/dist/components/CalendarView/CalendarView.js +378 -0
- package/dist/components/CalendarView/CalendarView.module.js +40 -0
- package/dist/components/CalendarView/calendarMath.d.ts +36 -0
- package/dist/components/CalendarView/calendarMath.js +97 -0
- package/dist/components/Carousel/Carousel.css +146 -0
- package/dist/components/Carousel/Carousel.d.ts +25 -0
- package/dist/components/Carousel/Carousel.js +178 -0
- package/dist/components/Carousel/Carousel.module.js +12 -0
- package/dist/components/Carousel/index.d.ts +2 -0
- package/dist/components/ChatMessage/ChatMessage.js +3 -3
- package/dist/components/Checkbox/Checkbox.js +2 -2
- package/dist/components/CheckboxGroup/CheckboxGroup.js +1 -1
- package/dist/components/CodeBlock/CodeBlock.css +203 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +35 -0
- package/dist/components/CodeBlock/CodeBlock.js +160 -0
- package/dist/components/CodeBlock/CodeBlock.module.js +25 -0
- package/dist/components/CodeBlock/index.d.ts +2 -0
- package/dist/components/Combobox/Combobox.css +9 -8
- package/dist/components/Combobox/Combobox.d.ts +1 -1
- package/dist/components/Combobox/Combobox.js +1 -1
- package/dist/components/Combobox/Combobox.module.js +4 -4
- package/dist/components/CommentThread/CommentThread.js +2 -2
- package/dist/components/Comparison/Comparison.css +215 -0
- package/dist/components/Comparison/Comparison.d.ts +19 -0
- package/dist/components/Comparison/Comparison.js +122 -0
- package/dist/components/Comparison/Comparison.module.js +24 -0
- package/dist/components/Comparison/compareRows.d.ts +26 -0
- package/dist/components/Comparison/compareRows.js +16 -0
- package/dist/components/Comparison/index.d.ts +3 -0
- package/dist/components/ContractTemplate/ContractTemplate.css +81 -0
- package/dist/components/ContractTemplate/ContractTemplate.d.ts +40 -0
- package/dist/components/ContractTemplate/ContractTemplate.js +70 -0
- package/dist/components/ContractTemplate/ContractTemplate.module.js +14 -0
- package/dist/components/ContractTemplate/index.d.ts +2 -0
- package/dist/components/CoverPage/CoverPage.css +137 -0
- package/dist/components/CoverPage/CoverPage.d.ts +29 -0
- package/dist/components/CoverPage/CoverPage.js +81 -0
- package/dist/components/CoverPage/CoverPage.module.js +15 -0
- package/dist/components/CoverPage/index.d.ts +2 -0
- package/dist/components/DataGrid/DataGrid.css +170 -0
- package/dist/components/DataGrid/DataGrid.d.ts +46 -0
- package/dist/components/DataGrid/DataGrid.js +311 -0
- package/dist/components/DataGrid/DataGrid.module.js +14 -0
- package/dist/components/DataGrid/index.d.ts +2 -0
- package/dist/components/DataTable/DataTable.css +357 -0
- package/dist/components/DataTable/DataTable.d.ts +91 -0
- package/dist/components/DataTable/DataTable.js +337 -0
- package/dist/components/DataTable/DataTable.module.js +29 -0
- package/dist/components/DataTable/index.d.ts +3 -0
- package/dist/components/DataTable/tableData.d.ts +34 -0
- package/dist/components/DataTable/tableData.js +75 -0
- package/dist/components/DateField/DateField.js +1 -0
- package/dist/components/DatePicker/DatePicker.js +2 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.js +1 -0
- package/dist/components/DateTime/DateTime.d.ts +1 -1
- package/dist/components/DateTime/DateTime.js +1 -1
- package/dist/components/DiffViewer/DiffViewer.css +219 -0
- package/dist/components/DiffViewer/DiffViewer.d.ts +28 -0
- package/dist/components/DiffViewer/DiffViewer.js +217 -0
- package/dist/components/DiffViewer/DiffViewer.module.js +25 -0
- package/dist/components/DiffViewer/diff.d.ts +16 -0
- package/dist/components/DiffViewer/diff.js +139 -0
- package/dist/components/DiffViewer/index.d.ts +3 -0
- package/dist/components/DocumentToc/DocumentToc.css +86 -0
- package/dist/components/DocumentToc/DocumentToc.d.ts +30 -0
- package/dist/components/DocumentToc/DocumentToc.js +72 -0
- package/dist/components/DocumentToc/DocumentToc.module.js +15 -0
- package/dist/components/EmailField/EmailField.js +1 -1
- package/dist/components/ErrorPage/ErrorPage.js +2 -2
- package/dist/components/ErrorState/ErrorState.js +1 -1
- package/dist/components/FeedbackWidget/FeedbackWidget.js +2 -2
- package/dist/components/Field/Field.css +27 -26
- package/dist/components/Field/Field.module.js +7 -7
- package/dist/components/FilePreview/FilePreview.css +213 -0
- package/dist/components/FilePreview/FilePreview.d.ts +29 -0
- package/dist/components/FilePreview/FilePreview.js +237 -0
- package/dist/components/FilePreview/FilePreview.module.js +25 -0
- package/dist/components/FilePreview/index.d.ts +3 -0
- package/dist/components/FilePreview/previewKind.d.ts +15 -0
- package/dist/components/FilePreview/previewKind.js +103 -0
- package/dist/components/FileUpload/FileUpload.css +38 -26
- package/dist/components/FileUpload/FileUpload.js +1 -1
- package/dist/components/FileUpload/FileUpload.module.js +15 -15
- package/dist/components/FilterBar/FilterBar.css +58 -0
- package/dist/components/FilterBar/FilterBar.d.ts +44 -0
- package/dist/components/FilterBar/FilterBar.js +101 -0
- package/dist/components/FilterBar/FilterBar.module.js +11 -0
- package/dist/components/FilterBar/index.d.ts +2 -0
- package/dist/components/Gantt/Gantt.css +317 -0
- package/dist/components/Gantt/Gantt.d.ts +38 -0
- package/dist/components/Gantt/Gantt.js +324 -0
- package/dist/components/Gantt/Gantt.module.js +30 -0
- package/dist/components/Gantt/ganttMath.d.ts +29 -0
- package/dist/components/Gantt/ganttMath.js +71 -0
- package/dist/components/Image/Image.css +141 -0
- package/dist/components/Image/Image.d.ts +32 -0
- package/dist/components/Image/Image.js +76 -0
- package/dist/components/Image/Image.module.js +11 -0
- package/dist/components/ImageUpload/ImageUpload.js +1 -1
- package/dist/components/InfiniteList/InfiniteList.js +1 -1
- package/dist/components/InlineEdit/InlineEdit.js +1 -1
- package/dist/components/InviteMembers/InviteMembers.d.ts +3 -1
- package/dist/components/InviteMembers/InviteMembers.js +3 -3
- package/dist/components/InvoiceTemplate/InvoiceTemplate.css +81 -0
- package/dist/components/InvoiceTemplate/InvoiceTemplate.d.ts +38 -0
- package/dist/components/InvoiceTemplate/InvoiceTemplate.js +107 -0
- package/dist/components/InvoiceTemplate/InvoiceTemplate.module.js +14 -0
- package/dist/components/InvoiceTemplate/index.d.ts +2 -0
- package/dist/components/JsonViewer/JsonViewer.css +248 -0
- package/dist/components/JsonViewer/JsonViewer.d.ts +22 -0
- package/dist/components/JsonViewer/JsonViewer.js +109 -0
- package/dist/components/JsonViewer/JsonViewer.module.js +21 -0
- package/dist/components/JsonViewer/index.d.ts +3 -0
- package/dist/components/JsonViewer/jsonTree.d.ts +18 -0
- package/dist/components/JsonViewer/jsonTree.js +76 -0
- package/dist/components/Kanban/Kanban.css +225 -0
- package/dist/components/Kanban/Kanban.d.ts +41 -0
- package/dist/components/Kanban/Kanban.js +156 -0
- package/dist/components/Kanban/Kanban.module.js +20 -0
- package/dist/components/Kanban/index.d.ts +3 -0
- package/dist/components/Kanban/moveCards.d.ts +13 -0
- package/dist/components/Kanban/moveCards.js +33 -0
- package/dist/components/LanguageSwitch/LanguageSwitch.js +1 -1
- package/dist/components/Lightbox/Lightbox.js +2 -2
- package/dist/components/ListView/ListView.css +337 -0
- package/dist/components/ListView/ListView.d.ts +44 -0
- package/dist/components/ListView/ListView.js +95 -0
- package/dist/components/ListView/ListView.module.js +19 -0
- package/dist/components/ListView/index.d.ts +3 -0
- package/dist/components/ListView/reorder.d.ts +5 -0
- package/dist/components/ListView/reorder.js +20 -0
- package/dist/components/Markdown/Markdown.js +1 -1
- package/dist/components/Mentions/Mentions.js +1 -1
- package/dist/components/NewPasswordField/NewPasswordField.js +1 -1
- package/dist/components/NotificationBell/NotificationBell.js +2 -2
- package/dist/components/NotificationCenter/NotificationCenter.js +2 -2
- package/dist/components/NumberedClauses/NumberedClauses.css +79 -0
- package/dist/components/NumberedClauses/NumberedClauses.d.ts +31 -0
- package/dist/components/NumberedClauses/NumberedClauses.js +71 -0
- package/dist/components/NumberedClauses/NumberedClauses.module.js +14 -0
- package/dist/components/NumberedClauses/index.d.ts +2 -0
- package/dist/components/OnboardingChecklist/OnboardingChecklist.js +1 -1
- package/dist/components/PasswordField/PasswordField.js +1 -1
- package/dist/components/PersonItem/PersonItem.js +1 -1
- package/dist/components/PivotTable/PivotTable.css +183 -0
- package/dist/components/PivotTable/PivotTable.d.ts +39 -0
- package/dist/components/PivotTable/PivotTable.js +171 -0
- package/dist/components/PivotTable/PivotTable.module.js +16 -0
- package/dist/components/PivotTable/index.d.ts +3 -0
- package/dist/components/PivotTable/pivot.d.ts +38 -0
- package/dist/components/PivotTable/pivot.js +122 -0
- package/dist/components/PricingTable/PricingTable.js +2 -2
- package/dist/components/PromptDialog/PromptDialog.js +1 -1
- package/dist/components/QrCode/QrCode.css +50 -0
- package/dist/components/QrCode/QrCode.d.ts +21 -0
- package/dist/components/QrCode/QrCode.js +55 -0
- package/dist/components/QrCode/QrCode.module.js +9 -0
- package/dist/components/QrCode/qr.d.ts +22 -0
- package/dist/components/QrCode/qr.js +669 -0
- package/dist/components/QuoteTemplate/QuoteTemplate.css +81 -0
- package/dist/components/QuoteTemplate/QuoteTemplate.d.ts +37 -0
- package/dist/components/QuoteTemplate/QuoteTemplate.js +120 -0
- package/dist/components/QuoteTemplate/QuoteTemplate.module.js +14 -0
- package/dist/components/QuoteTemplate/index.d.ts +2 -0
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/Rating/Rating.js +1 -1
- package/dist/components/ReportTemplate/ReportTemplate.css +81 -0
- package/dist/components/ReportTemplate/ReportTemplate.d.ts +41 -0
- package/dist/components/ReportTemplate/ReportTemplate.js +79 -0
- package/dist/components/ReportTemplate/ReportTemplate.module.js +14 -0
- package/dist/components/ReportTemplate/index.d.ts +2 -0
- package/dist/components/RoleMatrix/RoleMatrix.js +1 -1
- package/dist/components/SearchField/SearchField.js +1 -1
- package/dist/components/SearchResults/SearchResults.js +1 -1
- package/dist/components/SideNav/SideNav.css +99 -41
- package/dist/components/SideNav/SideNav.js +4 -2
- package/dist/components/SideNav/SideNav.module.js +12 -12
- package/dist/components/SignatureBlock/SignatureBlock.css +109 -0
- package/dist/components/SignatureBlock/SignatureBlock.d.ts +35 -0
- package/dist/components/SignatureBlock/SignatureBlock.js +80 -0
- package/dist/components/SignatureBlock/SignatureBlock.module.js +20 -0
- package/dist/components/SignaturePad/SignaturePad.js +1 -1
- package/dist/components/SortMenu/SortMenu.css +6 -0
- package/dist/components/SortMenu/SortMenu.d.ts +31 -0
- package/dist/components/SortMenu/SortMenu.js +74 -0
- package/dist/components/SortMenu/SortMenu.module.js +4 -0
- package/dist/components/SplitButton/SplitButton.js +1 -1
- package/dist/components/Stat/Stat.js +1 -1
- package/dist/components/Steps/Steps.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/ThemeSwitch/ThemeSwitch.js +1 -1
- package/dist/components/TimeField/TimeField.js +1 -0
- package/dist/components/Timeline/Timeline.css +187 -0
- package/dist/components/Timeline/Timeline.d.ts +48 -0
- package/dist/components/Timeline/Timeline.js +72 -0
- package/dist/components/Timeline/Timeline.module.js +17 -0
- package/dist/components/Timeline/index.d.ts +2 -0
- package/dist/components/ToastQueue/ToastQueue.js +2 -2
- package/dist/components/Tour/Tour.css +26 -0
- package/dist/components/Tour/Tour.js +9 -0
- package/dist/components/Tour/Tour.module.js +4 -0
- package/dist/components/TransferList/TransferList.css +13 -13
- package/dist/components/TransferList/TransferList.js +1 -1
- package/dist/components/TransferList/TransferList.module.js +7 -7
- package/dist/components/TrashView/TrashView.js +2 -2
- package/dist/components/TreeTable/TreeTable.css +122 -0
- package/dist/components/TreeTable/TreeTable.d.ts +38 -0
- package/dist/components/TreeTable/TreeTable.js +226 -0
- package/dist/components/TreeTable/TreeTable.module.js +12 -0
- package/dist/components/TreeTable/index.d.ts +2 -0
- package/dist/components/TreeView/TreeView.css +80 -28
- package/dist/components/TreeView/TreeView.js +19 -24
- package/dist/components/TreeView/TreeView.module.js +11 -11
- package/dist/components/TurnstileField/TurnstileField.js +1 -1
- package/dist/components/UpdatePrompt/UpdatePrompt.js +1 -1
- package/dist/components/UploadQueue/UploadQueue.js +2 -2
- package/dist/components/VirtualList/VirtualList.css +83 -0
- package/dist/components/VirtualList/VirtualList.d.ts +38 -0
- package/dist/components/VirtualList/VirtualList.js +166 -0
- package/dist/components/VirtualList/VirtualList.module.js +11 -0
- package/dist/components/VirtualList/index.d.ts +3 -0
- package/dist/components/VirtualList/offsets.d.ts +15 -0
- package/dist/components/VirtualList/offsets.js +39 -0
- package/dist/components/WhatsNew/WhatsNew.css +31 -27
- package/dist/components/WhatsNew/WhatsNew.js +2 -2
- package/dist/components/WhatsNew/WhatsNew.module.js +22 -22
- package/dist/components/Wizard/Wizard.js +1 -1
- package/dist/components/WorkingHoursEditor/WorkingHoursEditor.js +3 -2
- package/dist/components/_document/Parties.css +36 -0
- package/dist/components/_document/Parties.js +36 -0
- package/dist/components/_document/Parties.module.js +10 -0
- package/dist/components/_document/lineTable.css +8 -0
- package/dist/components/_document/lineTable.js +71 -0
- package/dist/components/_document/lineTable.module.js +4 -0
- package/dist/components/_internal/listbox/SelectShell.d.ts +3 -1
- package/dist/components/_internal/listbox/SelectShell.js +3 -2
- package/dist/components/_internal/nav/NavBadge.js +2 -1
- package/dist/components/_internal/nav/nav.css +19 -8
- package/dist/components/_internal/nav/nav.module.js +1 -1
- package/dist/components/_internal/overlay/OverlayFrame.js +1 -1
- package/dist/components/_internal/tree/openBranchKey.js +23 -0
- package/dist/csp/csp.d.ts +14 -2
- package/dist/csp/csp.js +17 -3
- package/dist/csp/index.d.ts +2 -2
- package/dist/csp/index.js +1 -1
- package/dist/document/index.d.ts +15 -1
- package/dist/document/index.js +10 -2
- package/dist/editor/CodeEditor/CodeEditor.js +2 -2
- package/dist/editor/CommentComposer/CommentComposer.css +82 -0
- package/dist/editor/CommentComposer/CommentComposer.d.ts +54 -0
- package/dist/editor/CommentComposer/CommentComposer.js +205 -0
- package/dist/editor/CommentComposer/CommentComposer.module.js +16 -0
- package/dist/editor/CommentComposer/index.d.ts +2 -0
- package/dist/editor/JsonEditor/JsonEditor.js +1 -1
- package/dist/editor/MarkdownEditor/MarkdownEditor.js +2 -2
- package/dist/editor/RichTextEditor/RichTextEditor.css +177 -0
- package/dist/editor/RichTextEditor/RichTextEditor.d.ts +31 -0
- package/dist/editor/RichTextEditor/RichTextEditor.js +361 -0
- package/dist/editor/RichTextEditor/RichTextEditor.module.js +10 -0
- package/dist/editor/RichTextEditor/index.d.ts +3 -0
- package/dist/editor/RichTextEditor/sanitizeRichText.d.ts +19 -0
- package/dist/editor/RichTextEditor/sanitizeRichText.js +183 -0
- package/dist/editor/_shared/FormatIcons.js +18 -1
- package/dist/editor/index.d.ts +6 -1
- package/dist/editor/index.js +4 -1
- package/dist/foundation.css +10 -0
- package/dist/icons/generated/index.js +11 -11
- package/dist/icons/index.js +11 -11
- package/dist/id/AccountAuditLog/AccountAuditLog.css +9 -0
- package/dist/id/AccountAuditLog/AccountAuditLog.d.ts +38 -0
- package/dist/id/AccountAuditLog/AccountAuditLog.js +156 -0
- package/dist/id/AccountAuditLog/AccountAuditLog.module.js +4 -0
- package/dist/id/AccountAuditLog/index.d.ts +2 -0
- package/dist/id/AccountMenu/AccountMenu.js +1 -1
- package/dist/id/ApiKeyList/ApiKeyList.css +75 -0
- package/dist/id/ApiKeyList/ApiKeyList.d.ts +41 -0
- package/dist/id/ApiKeyList/ApiKeyList.js +131 -0
- package/dist/id/ApiKeyList/ApiKeyList.module.js +14 -0
- package/dist/id/ApiKeyList/index.d.ts +2 -0
- package/dist/id/AppSwitcher/AppSwitcher.js +2 -2
- package/dist/id/ConnectedApps/ConnectedApps.css +16 -0
- package/dist/id/ConnectedApps/ConnectedApps.d.ts +32 -0
- package/dist/id/ConnectedApps/ConnectedApps.js +80 -0
- package/dist/id/ConnectedApps/ConnectedApps.module.js +7 -0
- package/dist/id/ConnectedApps/index.d.ts +2 -0
- package/dist/id/ConsentScreen/ConsentScreen.css +196 -0
- package/dist/id/ConsentScreen/ConsentScreen.d.ts +43 -0
- package/dist/id/ConsentScreen/ConsentScreen.js +181 -0
- package/dist/id/ConsentScreen/ConsentScreen.module.js +26 -0
- package/dist/id/CookieConsent/CookieConsent.css +128 -0
- package/dist/id/CookieConsent/CookieConsent.d.ts +32 -0
- package/dist/id/CookieConsent/CookieConsent.js +120 -0
- package/dist/id/CookieConsent/CookieConsent.module.js +16 -0
- package/dist/id/DeviceList/DeviceList.d.ts +31 -0
- package/dist/id/DeviceList/DeviceList.js +81 -0
- package/dist/id/DeviceList/index.d.ts +2 -0
- package/dist/id/OrgInvitation/OrgInvitation.css +87 -0
- package/dist/id/OrgInvitation/OrgInvitation.d.ts +31 -0
- package/dist/id/OrgInvitation/OrgInvitation.js +130 -0
- package/dist/id/OrgInvitation/OrgInvitation.module.js +14 -0
- package/dist/id/OrgSwitcher/OrgSwitcher.js +3 -3
- package/dist/id/PasskeyButton/PasskeyButton.css +34 -0
- package/dist/id/PasskeyButton/PasskeyButton.d.ts +25 -0
- package/dist/id/PasskeyButton/PasskeyButton.js +66 -0
- package/dist/id/PasskeyButton/PasskeyButton.module.js +7 -0
- package/dist/id/ProfileCard/ProfileCard.css +119 -0
- package/dist/id/ProfileCard/ProfileCard.d.ts +27 -0
- package/dist/id/ProfileCard/ProfileCard.js +111 -0
- package/dist/id/ProfileCard/ProfileCard.module.js +19 -0
- package/dist/id/ProfileCard/index.d.ts +2 -0
- package/dist/id/ReauthDialog/ReauthDialog.css +41 -0
- package/dist/id/ReauthDialog/ReauthDialog.d.ts +34 -0
- package/dist/id/ReauthDialog/ReauthDialog.js +162 -0
- package/dist/id/ReauthDialog/ReauthDialog.module.js +10 -0
- package/dist/id/ReauthDialog/index.d.ts +2 -0
- package/dist/id/RecoveryCodes/RecoveryCodes.css +85 -0
- package/dist/id/RecoveryCodes/RecoveryCodes.d.ts +25 -0
- package/dist/id/RecoveryCodes/RecoveryCodes.js +107 -0
- package/dist/id/RecoveryCodes/RecoveryCodes.module.js +12 -0
- package/dist/id/SecurityCheckup/SecurityCheckup.css +155 -0
- package/dist/id/SecurityCheckup/SecurityCheckup.d.ts +28 -0
- package/dist/id/SecurityCheckup/SecurityCheckup.js +107 -0
- package/dist/id/SecurityCheckup/SecurityCheckup.module.js +19 -0
- package/dist/id/SecurityCheckup/index.d.ts +2 -0
- package/dist/id/SessionList/SessionList.d.ts +37 -0
- package/dist/id/SessionList/SessionList.js +81 -0
- package/dist/id/SessionList/index.d.ts +2 -0
- package/dist/id/SignInMethods/SignInMethods.css +24 -0
- package/dist/id/SignInMethods/SignInMethods.d.ts +33 -0
- package/dist/id/SignInMethods/SignInMethods.js +80 -0
- package/dist/id/SignInMethods/SignInMethods.module.js +8 -0
- package/dist/id/SignInMethods/index.d.ts +2 -0
- package/dist/id/TwoFactorSetup/TwoFactorSetup.css +123 -0
- package/dist/id/TwoFactorSetup/TwoFactorSetup.d.ts +27 -0
- package/dist/id/TwoFactorSetup/TwoFactorSetup.js +162 -0
- package/dist/id/TwoFactorSetup/TwoFactorSetup.module.js +18 -0
- package/dist/id/TwoFactorSetup/index.d.ts +2 -0
- package/dist/id/VerifyEmailBanner/VerifyEmailBanner.css +14 -0
- package/dist/id/VerifyEmailBanner/VerifyEmailBanner.d.ts +22 -0
- package/dist/id/VerifyEmailBanner/VerifyEmailBanner.js +68 -0
- package/dist/id/VerifyEmailBanner/VerifyEmailBanner.module.js +7 -0
- package/dist/id/_internal/SecurityList/SecurityList.css +179 -0
- package/dist/id/_internal/SecurityList/SecurityList.js +92 -0
- package/dist/id/_internal/SecurityList/SecurityList.module.js +24 -0
- package/dist/id/index.d.ts +27 -1
- package/dist/id/index.js +17 -1
- package/dist/index.d.ts +66 -13
- package/dist/index.js +52 -17
- package/dist/maps/LocationPicker/LocationPicker.js +2 -2
- package/dist/maps/MapView/MapView.css +31 -31
- package/dist/maps/MapView/MapView.js +2 -2
- package/dist/maps/MapView/MapView.module.js +18 -18
- package/dist/maps/StoreLocator/StoreLocator.js +1 -1
- package/dist/maps/TurkeyMap/TurkeyMap.js +1 -1
- package/dist/maps/index.js +1 -1
- package/dist/media/AudioPlayer/AudioPlayer.css +21 -16
- package/dist/media/AudioPlayer/AudioPlayer.js +6 -6
- package/dist/media/AudioPlayer/AudioPlayer.module.js +11 -11
- package/dist/media/Embed/Embed.css +93 -0
- package/dist/media/Embed/Embed.d.ts +29 -0
- package/dist/media/Embed/Embed.js +93 -0
- package/dist/media/Embed/Embed.module.js +12 -0
- package/dist/media/Embed/embedUrl.d.ts +27 -0
- package/dist/media/Embed/embedUrl.js +96 -0
- package/dist/media/ImageCompare/ImageCompare.css +199 -0
- package/dist/media/ImageCompare/ImageCompare.d.ts +30 -0
- package/dist/media/ImageCompare/ImageCompare.js +106 -0
- package/dist/media/ImageCompare/ImageCompare.module.js +15 -0
- package/dist/media/ImageCropper/ImageCropper.css +139 -0
- package/dist/media/ImageCropper/ImageCropper.d.ts +27 -0
- package/dist/media/ImageCropper/ImageCropper.js +239 -0
- package/dist/media/ImageCropper/ImageCropper.module.js +14 -0
- package/dist/media/ImageCropper/cropGeometry.d.ts +41 -0
- package/dist/media/ImageCropper/cropGeometry.js +79 -0
- package/dist/media/MediaCard/MediaCard.js +2 -2
- package/dist/media/MockupFrame/MockupFrame.css +196 -0
- package/dist/media/MockupFrame/MockupFrame.d.ts +24 -0
- package/dist/media/MockupFrame/MockupFrame.js +62 -0
- package/dist/media/MockupFrame/MockupFrame.module.js +14 -0
- package/dist/media/MockupFrame/index.d.ts +2 -0
- package/dist/media/PdfViewer/PdfViewer.css +144 -0
- package/dist/media/PdfViewer/PdfViewer.d.ts +28 -0
- package/dist/media/PdfViewer/PdfViewer.js +122 -0
- package/dist/media/PdfViewer/PdfViewer.module.js +18 -0
- package/dist/media/VideoPlayer/VideoPlayer.js +1 -1
- package/dist/media/VideoThumbnail/VideoThumbnail.js +1 -1
- package/dist/media/ZoomableImage/ZoomableImage.css +122 -0
- package/dist/media/ZoomableImage/ZoomableImage.d.ts +32 -0
- package/dist/media/ZoomableImage/ZoomableImage.js +278 -0
- package/dist/media/ZoomableImage/ZoomableImage.module.js +12 -0
- package/dist/media/_internal/transport/MediaTransport.css +19 -13
- package/dist/media/_internal/transport/MediaTransport.js +5 -3
- package/dist/media/_internal/transport/MediaTransport.module.js +10 -9
- package/dist/media/_internal/url.js +4 -2
- package/dist/media/index.d.ts +10 -1
- package/dist/media/index.js +9 -1
- package/dist/messages/messages.d.ts +741 -0
- package/dist/messages/messages.js +1484 -2
- package/dist/provider/UIProvider.d.ts +1 -1
- package/dist/site/ArticleLayout/ArticleLayout.css +137 -0
- package/dist/site/ArticleLayout/ArticleLayout.d.ts +39 -0
- package/dist/site/ArticleLayout/ArticleLayout.js +92 -0
- package/dist/site/ArticleLayout/ArticleLayout.module.js +18 -0
- package/dist/site/ArticleLayout/index.d.ts +2 -0
- package/dist/site/AuroraMesh/AuroraMesh.css +97 -0
- package/dist/site/AuroraMesh/AuroraMesh.d.ts +17 -0
- package/dist/site/AuroraMesh/AuroraMesh.js +38 -0
- package/dist/site/AuroraMesh/AuroraMesh.module.js +11 -0
- package/dist/site/AuroraMesh/index.d.ts +2 -0
- package/dist/site/AuthorBox/AuthorBox.css +79 -0
- package/dist/site/AuthorBox/AuthorBox.d.ts +22 -0
- package/dist/site/AuthorBox/AuthorBox.js +56 -0
- package/dist/site/AuthorBox/AuthorBox.module.js +13 -0
- package/dist/site/AuthorBox/index.d.ts +2 -0
- package/dist/site/AwardsStrip/AwardsStrip.css +114 -0
- package/dist/site/AwardsStrip/AwardsStrip.d.ts +27 -0
- package/dist/site/AwardsStrip/AwardsStrip.js +62 -0
- package/dist/site/AwardsStrip/AwardsStrip.module.js +15 -0
- package/dist/site/AwardsStrip/index.d.ts +2 -0
- package/dist/site/BentoGrid/BentoGrid.css +187 -0
- package/dist/site/BentoGrid/BentoGrid.d.ts +34 -0
- package/dist/site/BentoGrid/BentoGrid.js +63 -0
- package/dist/site/BentoGrid/BentoGrid.module.js +15 -0
- package/dist/site/BentoGrid/index.d.ts +2 -0
- package/dist/site/BlogCard/BlogCard.css +136 -0
- package/dist/site/BlogCard/BlogCard.d.ts +24 -0
- package/dist/site/BlogCard/BlogCard.js +54 -0
- package/dist/site/BlogCard/BlogCard.module.js +14 -0
- package/dist/site/BlogCard/index.d.ts +2 -0
- package/dist/site/CareerList/CareerList.css +156 -0
- package/dist/site/CareerList/CareerList.d.ts +31 -0
- package/dist/site/CareerList/CareerList.js +96 -0
- package/dist/site/CareerList/CareerList.module.js +20 -0
- package/dist/site/CareerList/index.d.ts +2 -0
- package/dist/site/CaseStudyCard/CaseStudyCard.css +178 -0
- package/dist/site/CaseStudyCard/CaseStudyCard.d.ts +28 -0
- package/dist/site/CaseStudyCard/CaseStudyCard.js +71 -0
- package/dist/site/CaseStudyCard/CaseStudyCard.module.js +21 -0
- package/dist/site/CaseStudyCard/index.d.ts +2 -0
- package/dist/site/ComparisonTable/ComparisonTable.css +152 -0
- package/dist/site/ComparisonTable/ComparisonTable.d.ts +33 -0
- package/dist/site/ComparisonTable/ComparisonTable.js +83 -0
- package/dist/site/ComparisonTable/ComparisonTable.module.js +17 -0
- package/dist/site/ComparisonTable/index.d.ts +2 -0
- package/dist/site/ContactForm/ContactForm.css +87 -0
- package/dist/site/ContactForm/ContactForm.d.ts +32 -0
- package/dist/site/ContactForm/ContactForm.js +164 -0
- package/dist/site/ContactForm/ContactForm.module.js +17 -0
- package/dist/site/ContactForm/index.d.ts +2 -0
- package/dist/site/CountUp/CountUp.css +17 -0
- package/dist/site/CountUp/CountUp.d.ts +21 -0
- package/dist/site/CountUp/CountUp.js +65 -0
- package/dist/site/CountUp/CountUp.module.js +7 -0
- package/dist/site/CtaBand/CtaBand.css +108 -0
- package/dist/site/CtaBand/CtaBand.d.ts +26 -0
- package/dist/site/CtaBand/CtaBand.js +52 -0
- package/dist/site/CtaBand/CtaBand.module.js +13 -0
- package/dist/site/CtaBand/index.d.ts +2 -0
- package/dist/site/EventCard/EventCard.css +155 -0
- package/dist/site/EventCard/EventCard.d.ts +31 -0
- package/dist/site/EventCard/EventCard.js +106 -0
- package/dist/site/EventCard/EventCard.module.js +20 -0
- package/dist/site/EventCard/index.d.ts +2 -0
- package/dist/site/Faq/Faq.css +21 -0
- package/dist/site/Faq/Faq.d.ts +27 -0
- package/dist/site/Faq/Faq.js +45 -0
- package/dist/site/Faq/Faq.module.js +7 -0
- package/dist/site/Faq/index.d.ts +2 -0
- package/dist/site/FeatureGrid/FeatureGrid.css +125 -0
- package/dist/site/FeatureGrid/FeatureGrid.d.ts +28 -0
- package/dist/site/FeatureGrid/FeatureGrid.js +52 -0
- package/dist/site/FeatureGrid/FeatureGrid.module.js +12 -0
- package/dist/site/FeatureGrid/index.d.ts +2 -0
- package/dist/site/FeatureSplit/FeatureSplit.css +95 -0
- package/dist/site/FeatureSplit/FeatureSplit.d.ts +27 -0
- package/dist/site/FeatureSplit/FeatureSplit.js +67 -0
- package/dist/site/FeatureSplit/FeatureSplit.module.js +16 -0
- package/dist/site/FeatureSplit/index.d.ts +2 -0
- package/dist/site/Gallery/Gallery.css +80 -0
- package/dist/site/Gallery/Gallery.d.ts +16 -0
- package/dist/site/Gallery/Gallery.js +55 -0
- package/dist/site/Gallery/Gallery.module.js +10 -0
- package/dist/site/Gallery/index.d.ts +2 -0
- package/dist/site/Hero/Hero.css +147 -0
- package/dist/site/Hero/Hero.d.ts +38 -0
- package/dist/site/Hero/Hero.js +66 -0
- package/dist/site/Hero/Hero.module.js +15 -0
- package/dist/site/Hero/index.d.ts +2 -0
- package/dist/site/JsonLd/JsonLd.d.ts +24 -0
- package/dist/site/JsonLd/JsonLd.js +29 -0
- package/dist/site/LogoCloud/LogoCloud.css +74 -0
- package/dist/site/LogoCloud/LogoCloud.d.ts +24 -0
- package/dist/site/LogoCloud/LogoCloud.js +42 -0
- package/dist/site/LogoCloud/LogoCloud.module.js +10 -0
- package/dist/site/LogoCloud/index.d.ts +2 -0
- package/dist/site/Marquee/Marquee.css +101 -0
- package/dist/site/Marquee/Marquee.d.ts +22 -0
- package/dist/site/Marquee/Marquee.js +60 -0
- package/dist/site/Marquee/Marquee.module.js +12 -0
- package/dist/site/Marquee/index.d.ts +2 -0
- package/dist/site/NewsletterForm/NewsletterForm.css +76 -0
- package/dist/site/NewsletterForm/NewsletterForm.d.ts +24 -0
- package/dist/site/NewsletterForm/NewsletterForm.js +98 -0
- package/dist/site/NewsletterForm/NewsletterForm.module.js +15 -0
- package/dist/site/NewsletterForm/index.d.ts +2 -0
- package/dist/site/OgImage/OgImage.css +78 -0
- package/dist/site/OgImage/OgImage.d.ts +26 -0
- package/dist/site/OgImage/OgImage.js +110 -0
- package/dist/site/OgImage/OgImage.module.js +12 -0
- package/dist/site/OgImage/index.d.ts +2 -0
- package/dist/site/PortfolioGrid/PortfolioGrid.css +117 -0
- package/dist/site/PortfolioGrid/PortfolioGrid.d.ts +27 -0
- package/dist/site/PortfolioGrid/PortfolioGrid.js +90 -0
- package/dist/site/PortfolioGrid/PortfolioGrid.module.js +15 -0
- package/dist/site/PortfolioGrid/index.d.ts +2 -0
- package/dist/site/PressMentions/PressMentions.css +115 -0
- package/dist/site/PressMentions/PressMentions.d.ts +25 -0
- package/dist/site/PressMentions/PressMentions.js +67 -0
- package/dist/site/PressMentions/PressMentions.module.js +15 -0
- package/dist/site/PressMentions/index.d.ts +2 -0
- package/dist/site/PricingSection/PricingSection.css +64 -0
- package/dist/site/PricingSection/PricingSection.d.ts +24 -0
- package/dist/site/PricingSection/PricingSection.js +51 -0
- package/dist/site/PricingSection/PricingSection.module.js +10 -0
- package/dist/site/PricingSection/index.d.ts +2 -0
- package/dist/site/ProcessSteps/ProcessSteps.css +102 -0
- package/dist/site/ProcessSteps/ProcessSteps.d.ts +22 -0
- package/dist/site/ProcessSteps/ProcessSteps.js +49 -0
- package/dist/site/ProcessSteps/ProcessSteps.module.js +13 -0
- package/dist/site/ProcessSteps/index.d.ts +2 -0
- package/dist/site/RelatedPosts/RelatedPosts.css +15 -0
- package/dist/site/RelatedPosts/RelatedPosts.d.ts +14 -0
- package/dist/site/RelatedPosts/RelatedPosts.js +32 -0
- package/dist/site/RelatedPosts/RelatedPosts.module.js +7 -0
- package/dist/site/RelatedPosts/index.d.ts +2 -0
- package/dist/site/Reveal/Reveal.css +39 -0
- package/dist/site/Reveal/Reveal.d.ts +18 -0
- package/dist/site/Reveal/Reveal.js +42 -0
- package/dist/site/Reveal/Reveal.module.js +4 -0
- package/dist/site/Reveal/index.d.ts +2 -0
- package/dist/site/ScrollProgress/ScrollProgress.css +32 -0
- package/dist/site/ScrollProgress/ScrollProgress.d.ts +16 -0
- package/dist/site/ScrollProgress/ScrollProgress.js +54 -0
- package/dist/site/ScrollProgress/ScrollProgress.module.js +7 -0
- package/dist/site/ServiceCard/ServiceCard.css +125 -0
- package/dist/site/ServiceCard/ServiceCard.d.ts +25 -0
- package/dist/site/ServiceCard/ServiceCard.js +65 -0
- package/dist/site/ServiceCard/ServiceCard.module.js +16 -0
- package/dist/site/ServiceCard/index.d.ts +2 -0
- package/dist/site/ShareBar/ShareBar.css +97 -0
- package/dist/site/ShareBar/ShareBar.d.ts +26 -0
- package/dist/site/ShareBar/ShareBar.js +111 -0
- package/dist/site/ShareBar/ShareBar.module.js +11 -0
- package/dist/site/Showreel/Showreel.css +107 -0
- package/dist/site/Showreel/Showreel.d.ts +28 -0
- package/dist/site/Showreel/Showreel.js +108 -0
- package/dist/site/Showreel/Showreel.module.js +14 -0
- package/dist/site/Showreel/index.d.ts +2 -0
- package/dist/site/SocialLinks/SocialLinks.css +95 -0
- package/dist/site/SocialLinks/SocialLinks.d.ts +33 -0
- package/dist/site/SocialLinks/SocialLinks.js +97 -0
- package/dist/site/SocialLinks/SocialLinks.module.js +9 -0
- package/dist/site/SocialLinks/index.d.ts +2 -0
- package/dist/site/StatsBand/StatsBand.css +58 -0
- package/dist/site/StatsBand/StatsBand.d.ts +26 -0
- package/dist/site/StatsBand/StatsBand.js +44 -0
- package/dist/site/StatsBand/StatsBand.module.js +10 -0
- package/dist/site/StatsBand/index.d.ts +2 -0
- package/dist/site/StickyCta/StickyCta.js +1 -1
- package/dist/site/TeamGrid/TeamGrid.css +60 -0
- package/dist/site/TeamGrid/TeamGrid.d.ts +22 -0
- package/dist/site/TeamGrid/TeamGrid.js +65 -0
- package/dist/site/TeamGrid/TeamGrid.module.js +13 -0
- package/dist/site/TeamGrid/index.d.ts +2 -0
- package/dist/site/Testimonial/Testimonial.css +100 -0
- package/dist/site/Testimonial/Testimonial.d.ts +33 -0
- package/dist/site/Testimonial/Testimonial.js +61 -0
- package/dist/site/Testimonial/Testimonial.module.js +14 -0
- package/dist/site/Testimonial/index.d.ts +2 -0
- package/dist/site/_internal/Honeypot.css +10 -0
- package/dist/site/_internal/Honeypot.js +28 -0
- package/dist/site/_internal/Honeypot.module.js +4 -0
- package/dist/site/_internal/PostMeta.css +53 -0
- package/dist/site/_internal/PostMeta.d.ts +6 -0
- package/dist/site/_internal/PostMeta.js +42 -0
- package/dist/site/_internal/PostMeta.module.js +10 -0
- package/dist/site/_internal/SiteSection.css +116 -0
- package/dist/site/_internal/SiteSection.d.ts +15 -0
- package/dist/site/_internal/SiteSection.js +60 -0
- package/dist/site/_internal/SiteSection.module.js +13 -0
- package/dist/site/index.d.ts +71 -1
- package/dist/site/index.js +38 -1
- package/dist/styles.css +38171 -21134
- package/package.json +2 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-UtmBuilder-root-fa3dc {
|
|
4
|
+
gap: var(--sti-space-5);
|
|
5
|
+
inline-size: 100%;
|
|
6
|
+
min-inline-size: 0;
|
|
7
|
+
max-inline-size: 48rem;
|
|
8
|
+
font-family: var(--sti-font-text);
|
|
9
|
+
display: grid;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.sti-UtmBuilder-grid-eb21b {
|
|
13
|
+
gap: var(--sti-space-4);
|
|
14
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
|
|
15
|
+
align-items: start;
|
|
16
|
+
display: grid;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.sti-UtmBuilder-field-70840 {
|
|
20
|
+
gap: var(--sti-space-2);
|
|
21
|
+
display: grid;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.sti-UtmBuilder-presets-3ded3 {
|
|
25
|
+
gap: var(--sti-space-1);
|
|
26
|
+
flex-wrap: wrap;
|
|
27
|
+
display: flex;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sti-UtmBuilder-result-f37c1 {
|
|
31
|
+
gap: var(--sti-space-2);
|
|
32
|
+
padding: var(--sti-space-4);
|
|
33
|
+
border: var(--sti-border-width) solid var(--sti-border-subtle);
|
|
34
|
+
border-radius: var(--sti-radius-lg);
|
|
35
|
+
background: var(--sti-bg-subtle);
|
|
36
|
+
display: grid;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.sti-UtmBuilder-resultLabel-65a26 {
|
|
40
|
+
color: var(--sti-fg-muted);
|
|
41
|
+
font-size: var(--sti-font-size-xs);
|
|
42
|
+
font-weight: var(--sti-font-weight-semibold);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.sti-UtmBuilder-resultRow-694df {
|
|
46
|
+
align-items: center;
|
|
47
|
+
gap: var(--sti-space-3);
|
|
48
|
+
flex-wrap: wrap;
|
|
49
|
+
display: flex;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sti-UtmBuilder-url-d5e06 {
|
|
53
|
+
min-inline-size: 0;
|
|
54
|
+
color: var(--sti-fg);
|
|
55
|
+
font-family: var(--sti-font-mono);
|
|
56
|
+
font-size: var(--sti-font-size-sm);
|
|
57
|
+
line-height: var(--sti-line-height-sm);
|
|
58
|
+
overflow-wrap: anywhere;
|
|
59
|
+
flex: 18rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.sti-UtmBuilder-missing-b7e67 {
|
|
63
|
+
color: var(--sti-fg-muted);
|
|
64
|
+
font-size: var(--sti-font-size-sm);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface UtmParams {
|
|
2
|
+
source: string;
|
|
3
|
+
medium: string;
|
|
4
|
+
campaign: string;
|
|
5
|
+
term?: string;
|
|
6
|
+
content?: string;
|
|
7
|
+
}
|
|
8
|
+
/** UTM değerini biçimler: küçük harf, Türkçe harfler ASCII, boşluklar "-", yalnız harf, rakam, "-", "_", ".". */
|
|
9
|
+
export declare function normalizeUtm(value: string): string;
|
|
10
|
+
/**
|
|
11
|
+
* Hedef adrese UTM parametrelerini ekler. Var olan sorgu korunur, eski `utm_*` değerleri değiştirilir,
|
|
12
|
+
* `#` parçası sonda kalır. Yalnız http(s) adresinde çalışır; aksi hâlde `null`.
|
|
13
|
+
*/
|
|
14
|
+
export declare function buildUtmUrl(base: string, params: UtmParams): string | null;
|
|
15
|
+
export interface UtmBuilderProps {
|
|
16
|
+
defaultUrl?: string;
|
|
17
|
+
defaultParams?: Partial<UtmParams>;
|
|
18
|
+
/** Kaynak önerileri. */
|
|
19
|
+
sources?: readonly string[];
|
|
20
|
+
/** Ortam önerileri. */
|
|
21
|
+
mediums?: readonly string[];
|
|
22
|
+
/** Adres her değiştiğinde (geçerliyse). */
|
|
23
|
+
onChange?: (url: string | null) => void;
|
|
24
|
+
className?: string;
|
|
25
|
+
id?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* UTM bağlantısı oluşturucu: hedef adres, kaynak, ortam, kampanya (zorunlu), anahtar sözcük ve
|
|
29
|
+
* içerik; yaygın kaynak ve ortamlar tek tıklamayla. Değerler biçimlenir (küçük harf, Türkçe harf
|
|
30
|
+
* yok, boşluk yerine "-"); sonuç adres canlı yazılır ve kopyalanır. Eksik ya da geçersiz alanlar
|
|
31
|
+
* metinle bildirilir.
|
|
32
|
+
*/
|
|
33
|
+
export declare function UtmBuilder({ defaultUrl, defaultParams, sources, mediums, onChange, className, id }: UtmBuilderProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useMessages } from "../../provider/UIProvider.js";
|
|
3
|
+
import { Button } from "../../components/Button/Button.js";
|
|
4
|
+
import { TextField } from "../../components/TextField/TextField.js";
|
|
5
|
+
import { CopyButton } from "../../components/CopyButton/CopyButton.js";
|
|
6
|
+
import { cx } from "../_shared/Preview.js";
|
|
7
|
+
import UtmBuilder_module_default from "./UtmBuilder.module.js";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { useState } from "react";
|
|
10
|
+
// src/agency/UtmBuilder/UtmBuilder.tsx
|
|
11
|
+
const TR = {
|
|
12
|
+
ı: "i",
|
|
13
|
+
İ: "i",
|
|
14
|
+
ş: "s",
|
|
15
|
+
Ş: "s",
|
|
16
|
+
ğ: "g",
|
|
17
|
+
Ğ: "g",
|
|
18
|
+
ç: "c",
|
|
19
|
+
Ç: "c",
|
|
20
|
+
ö: "o",
|
|
21
|
+
Ö: "o",
|
|
22
|
+
ü: "u",
|
|
23
|
+
Ü: "u"
|
|
24
|
+
};
|
|
25
|
+
/** UTM değerini biçimler: küçük harf, Türkçe harfler ASCII, boşluklar "-", yalnız harf, rakam, "-", "_", ".". */
|
|
26
|
+
function normalizeUtm(value) {
|
|
27
|
+
return value.trim().replace(/[ıİşŞğĞçÇöÖüÜ]/g, (c) => TR[c] ?? c).toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9._-]/g, "").replace(/-{2,}/g, "-");
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Hedef adrese UTM parametrelerini ekler. Var olan sorgu korunur, eski `utm_*` değerleri değiştirilir,
|
|
31
|
+
* `#` parçası sonda kalır. Yalnız http(s) adresinde çalışır; aksi hâlde `null`.
|
|
32
|
+
*/
|
|
33
|
+
function buildUtmUrl(base, params) {
|
|
34
|
+
let url;
|
|
35
|
+
try {
|
|
36
|
+
url = new URL(base.trim());
|
|
37
|
+
} catch {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
if (url.protocol !== "https:" && url.protocol !== "http:") return null;
|
|
41
|
+
const entries = [
|
|
42
|
+
["utm_source", params.source],
|
|
43
|
+
["utm_medium", params.medium],
|
|
44
|
+
["utm_campaign", params.campaign],
|
|
45
|
+
["utm_term", params.term],
|
|
46
|
+
["utm_content", params.content]
|
|
47
|
+
];
|
|
48
|
+
for (const [k, v] of entries) {
|
|
49
|
+
const clean = v ? normalizeUtm(v) : "";
|
|
50
|
+
if (clean) url.searchParams.set(k, clean);
|
|
51
|
+
else url.searchParams.delete(k);
|
|
52
|
+
}
|
|
53
|
+
return url.toString();
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* UTM bağlantısı oluşturucu: hedef adres, kaynak, ortam, kampanya (zorunlu), anahtar sözcük ve
|
|
57
|
+
* içerik; yaygın kaynak ve ortamlar tek tıklamayla. Değerler biçimlenir (küçük harf, Türkçe harf
|
|
58
|
+
* yok, boşluk yerine "-"); sonuç adres canlı yazılır ve kopyalanır. Eksik ya da geçersiz alanlar
|
|
59
|
+
* metinle bildirilir.
|
|
60
|
+
*/
|
|
61
|
+
function UtmBuilder({ defaultUrl = "", defaultParams, sources = [
|
|
62
|
+
"instagram",
|
|
63
|
+
"facebook",
|
|
64
|
+
"tiktok",
|
|
65
|
+
"linkedin",
|
|
66
|
+
"google",
|
|
67
|
+
"newsletter"
|
|
68
|
+
], mediums = [
|
|
69
|
+
"social",
|
|
70
|
+
"paid-social",
|
|
71
|
+
"cpc",
|
|
72
|
+
"email",
|
|
73
|
+
"display",
|
|
74
|
+
"referral"
|
|
75
|
+
], onChange, className, id }) {
|
|
76
|
+
const t = useMessages();
|
|
77
|
+
const [base, setBase] = useState(defaultUrl);
|
|
78
|
+
const [p, setP] = useState({
|
|
79
|
+
source: "",
|
|
80
|
+
medium: "",
|
|
81
|
+
campaign: "",
|
|
82
|
+
term: "",
|
|
83
|
+
content: "",
|
|
84
|
+
...defaultParams
|
|
85
|
+
});
|
|
86
|
+
const update = (next) => {
|
|
87
|
+
const b = next.base ?? base;
|
|
88
|
+
const params = next.params ?? p;
|
|
89
|
+
if (next.base !== void 0) setBase(b);
|
|
90
|
+
if (next.params) setP(params);
|
|
91
|
+
onChange?.(params.source && params.medium && params.campaign ? buildUtmUrl(b, params) : null);
|
|
92
|
+
};
|
|
93
|
+
const set = (k, v) => update({ params: {
|
|
94
|
+
...p,
|
|
95
|
+
[k]: v
|
|
96
|
+
} });
|
|
97
|
+
const urlValid = base.trim() === "" || buildUtmUrl(base, {
|
|
98
|
+
source: "",
|
|
99
|
+
medium: "",
|
|
100
|
+
campaign: ""
|
|
101
|
+
}) !== null;
|
|
102
|
+
const missing = [
|
|
103
|
+
!base.trim() ? t.agencyUtmUrl : null,
|
|
104
|
+
!p.source.trim() ? t.agencyUtmSource : null,
|
|
105
|
+
!p.medium.trim() ? t.agencyUtmMedium : null,
|
|
106
|
+
!p.campaign.trim() ? t.agencyUtmCampaign : null
|
|
107
|
+
].filter(Boolean);
|
|
108
|
+
const result = missing.length === 0 && urlValid ? buildUtmUrl(base, p) : null;
|
|
109
|
+
const presets = (k, list) => /* @__PURE__ */ jsx("div", {
|
|
110
|
+
className: UtmBuilder_module_default.presets,
|
|
111
|
+
role: "group",
|
|
112
|
+
"aria-label": k === "source" ? t.agencyUtmSourcePresets : t.agencyUtmMediumPresets,
|
|
113
|
+
children: list.map((v) => /* @__PURE__ */ jsx(Button, {
|
|
114
|
+
size: "sm",
|
|
115
|
+
variant: normalizeUtm(p[k]) === v ? "primary" : "secondary",
|
|
116
|
+
onPress: () => set(k, v),
|
|
117
|
+
children: v
|
|
118
|
+
}, v))
|
|
119
|
+
});
|
|
120
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
121
|
+
id,
|
|
122
|
+
className: cx(UtmBuilder_module_default.root, className),
|
|
123
|
+
children: [
|
|
124
|
+
/* @__PURE__ */ jsx(TextField, {
|
|
125
|
+
label: t.agencyUtmUrl,
|
|
126
|
+
type: "url",
|
|
127
|
+
inputMode: "url",
|
|
128
|
+
value: base,
|
|
129
|
+
onChange: (v) => update({ base: v }),
|
|
130
|
+
placeholder: "https://",
|
|
131
|
+
isRequired: true,
|
|
132
|
+
isInvalid: !urlValid,
|
|
133
|
+
errorMessage: t.agencyUtmUrlInvalid
|
|
134
|
+
}),
|
|
135
|
+
/* @__PURE__ */ jsxs("div", {
|
|
136
|
+
className: UtmBuilder_module_default.grid,
|
|
137
|
+
children: [
|
|
138
|
+
/* @__PURE__ */ jsxs("div", {
|
|
139
|
+
className: UtmBuilder_module_default.field,
|
|
140
|
+
children: [/* @__PURE__ */ jsx(TextField, {
|
|
141
|
+
label: t.agencyUtmSource,
|
|
142
|
+
description: t.agencyUtmSourceHint,
|
|
143
|
+
value: p.source,
|
|
144
|
+
onChange: (v) => set("source", v),
|
|
145
|
+
isRequired: true
|
|
146
|
+
}), presets("source", sources)]
|
|
147
|
+
}),
|
|
148
|
+
/* @__PURE__ */ jsxs("div", {
|
|
149
|
+
className: UtmBuilder_module_default.field,
|
|
150
|
+
children: [/* @__PURE__ */ jsx(TextField, {
|
|
151
|
+
label: t.agencyUtmMedium,
|
|
152
|
+
description: t.agencyUtmMediumHint,
|
|
153
|
+
value: p.medium,
|
|
154
|
+
onChange: (v) => set("medium", v),
|
|
155
|
+
isRequired: true
|
|
156
|
+
}), presets("medium", mediums)]
|
|
157
|
+
}),
|
|
158
|
+
/* @__PURE__ */ jsx(TextField, {
|
|
159
|
+
label: t.agencyUtmCampaign,
|
|
160
|
+
description: t.agencyUtmCampaignHint,
|
|
161
|
+
value: p.campaign,
|
|
162
|
+
onChange: (v) => set("campaign", v),
|
|
163
|
+
isRequired: true
|
|
164
|
+
}),
|
|
165
|
+
/* @__PURE__ */ jsx(TextField, {
|
|
166
|
+
label: t.agencyUtmTerm,
|
|
167
|
+
value: p.term ?? "",
|
|
168
|
+
onChange: (v) => set("term", v)
|
|
169
|
+
}),
|
|
170
|
+
/* @__PURE__ */ jsx(TextField, {
|
|
171
|
+
label: t.agencyUtmContent,
|
|
172
|
+
description: t.agencyUtmContentHint,
|
|
173
|
+
value: p.content ?? "",
|
|
174
|
+
onChange: (v) => set("content", v)
|
|
175
|
+
})
|
|
176
|
+
]
|
|
177
|
+
}),
|
|
178
|
+
/* @__PURE__ */ jsxs("section", {
|
|
179
|
+
className: UtmBuilder_module_default.result,
|
|
180
|
+
"aria-label": t.agencyUtmResult,
|
|
181
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
182
|
+
className: UtmBuilder_module_default.resultLabel,
|
|
183
|
+
children: t.agencyUtmResult
|
|
184
|
+
}), result ? /* @__PURE__ */ jsxs("div", {
|
|
185
|
+
className: UtmBuilder_module_default.resultRow,
|
|
186
|
+
children: [/* @__PURE__ */ jsx("output", {
|
|
187
|
+
className: UtmBuilder_module_default.url,
|
|
188
|
+
children: result
|
|
189
|
+
}), /* @__PURE__ */ jsx(CopyButton, {
|
|
190
|
+
value: result,
|
|
191
|
+
label: t.agencyUtmCopy
|
|
192
|
+
})]
|
|
193
|
+
}) : /* @__PURE__ */ jsx("output", {
|
|
194
|
+
className: UtmBuilder_module_default.missing,
|
|
195
|
+
children: urlValid ? `${t.agencyUtmMissing} ${missing.join(", ")}` : t.agencyUtmUrlInvalid
|
|
196
|
+
})]
|
|
197
|
+
})
|
|
198
|
+
]
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
export { UtmBuilder, buildUtmUrl, normalizeUtm };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './UtmBuilder.css';
|
|
2
|
+
// src/agency/UtmBuilder/UtmBuilder.module.css
|
|
3
|
+
var UtmBuilder_module_default = {
|
|
4
|
+
"root": "sti-UtmBuilder-root-fa3dc",
|
|
5
|
+
"grid": "sti-UtmBuilder-grid-eb21b",
|
|
6
|
+
"field": "sti-UtmBuilder-field-70840",
|
|
7
|
+
"presets": "sti-UtmBuilder-presets-3ded3",
|
|
8
|
+
"result": "sti-UtmBuilder-result-f37c1",
|
|
9
|
+
"resultLabel": "sti-UtmBuilder-resultLabel-65a26",
|
|
10
|
+
"resultRow": "sti-UtmBuilder-resultRow-694df",
|
|
11
|
+
"url": "sti-UtmBuilder-url-d5e06",
|
|
12
|
+
"missing": "sti-UtmBuilder-missing-b7e67"
|
|
13
|
+
};
|
|
14
|
+
export { UtmBuilder_module_default as default };
|
|
@@ -21,4 +21,6 @@ export declare function truncateText(text: string, limit: number): {
|
|
|
21
21
|
cut: boolean;
|
|
22
22
|
};
|
|
23
23
|
/** Metindeki etiketler (# olmadan; yinelenenler ve büyük-küçük harf farkı atılır). */
|
|
24
|
-
export declare function extractHashtags(text: string): string[];
|
|
24
|
+
export declare function extractHashtags(text: string): string[];
|
|
25
|
+
/** "https://www.anadolukahve.com/kampanya?x=1" → "anadolukahve.com"; çözülemezse olduğu gibi. */
|
|
26
|
+
export declare function displayDomain(url: string): string;
|
|
@@ -106,4 +106,12 @@ function extractHashtags(text) {
|
|
|
106
106
|
}
|
|
107
107
|
return out;
|
|
108
108
|
}
|
|
109
|
-
|
|
109
|
+
/** "https://www.anadolukahve.com/kampanya?x=1" → "anadolukahve.com"; çözülemezse olduğu gibi. */
|
|
110
|
+
function displayDomain(url) {
|
|
111
|
+
try {
|
|
112
|
+
return new URL(url).hostname.replace(/^www\./, "");
|
|
113
|
+
} catch {
|
|
114
|
+
return url.replace(/^https?:\/\//, "").replace(/^www\./, "").split(/[/?#]/)[0] ?? url;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
export { PLATFORMS, PLATFORM_LIMITS, countChars, displayDomain, extractHashtags, graphemes, tokenizeText, truncateText };
|
package/dist/agency/index.d.ts
CHANGED
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import { PreviewAccount, PreviewBaseProps, PreviewMediaItem, PreviewRatio } from "./_shared/Preview.js";
|
|
2
|
-
import { PLATFORMS, PLATFORM_LIMITS, Platform, PlatformLimit, countChars, extractHashtags, truncateText } from "./_shared/platforms.js";
|
|
2
|
+
import { PLATFORMS, PLATFORM_LIMITS, Platform, PlatformLimit, countChars, displayDomain, extractHashtags, truncateText } from "./_shared/platforms.js";
|
|
3
|
+
import { Annotation, AnnotationLayer, AnnotationLayerProps } from "./AnnotationLayer/AnnotationLayer.js";
|
|
4
|
+
import { ApprovalActions, ApprovalActionsProps, ApprovalDecision } from "./ApprovalActions/ApprovalActions.js";
|
|
5
|
+
import { ApprovalFlow, ApprovalFlowProps, ApprovalStep, ApprovalStepStatus } from "./ApprovalFlow/ApprovalFlow.js";
|
|
6
|
+
import "./ApprovalFlow/index.js";
|
|
7
|
+
import { Asset, AssetCard, AssetCardProps, AssetKind } from "./AssetCard/AssetCard.js";
|
|
8
|
+
import "./AssetCard/index.js";
|
|
9
|
+
import { AssetLibrary, AssetLibraryProps, AssetSort, filterAssets } from "./AssetLibrary/AssetLibrary.js";
|
|
10
|
+
import "./AssetLibrary/index.js";
|
|
11
|
+
import { AssetPicker, AssetPickerProps } from "./AssetPicker/AssetPicker.js";
|
|
12
|
+
import "./AssetPicker/index.js";
|
|
13
|
+
import { BrandColor, ColorPaletteDisplay, ColorPaletteDisplayProps, contrastLevel, contrastRatio, hexToRgb } from "./ColorPaletteDisplay/ColorPaletteDisplay.js";
|
|
14
|
+
import { BrandFont, BrandKitViewer, BrandKitViewerProps, BrandLogo } from "./BrandKitViewer/BrandKitViewer.js";
|
|
15
|
+
import { BriefForm, BriefFormProps, BriefObjective, BriefValues } from "./BriefForm/BriefForm.js";
|
|
16
|
+
import "./BriefForm/index.js";
|
|
17
|
+
import { BudgetLine, BudgetTracker, BudgetTrackerProps } from "./BudgetTracker/BudgetTracker.js";
|
|
18
|
+
import { BudgetPace, PaceStatus, budgetPace } from "./BudgetTracker/budgetPace.js";
|
|
19
|
+
import { CampaignCard, CampaignCardProps, CampaignKpi, CampaignStatus } from "./CampaignCard/CampaignCard.js";
|
|
20
|
+
import "./CampaignCard/index.js";
|
|
21
|
+
import { ChannelMetric, ChannelMetrics, ChannelPerformanceTable, ChannelPerformanceTableProps, ChannelRow, channelMetrics, totalRow } from "./ChannelPerformanceTable/ChannelPerformanceTable.js";
|
|
22
|
+
import { CalendarPost, ContentCalendar, ContentCalendarProps, PostStatus } from "./ContentCalendar/ContentCalendar.js";
|
|
3
23
|
import { FacebookPostPreview, FacebookPostPreviewProps } from "./FacebookPostPreview/FacebookPostPreview.js";
|
|
4
24
|
import "./FacebookPostPreview/index.js";
|
|
25
|
+
import { DisplayAdSize, GoogleDisplayAdPreview, GoogleDisplayAdPreviewProps } from "./GoogleDisplayAdPreview/GoogleDisplayAdPreview.js";
|
|
26
|
+
import "./GoogleDisplayAdPreview/index.js";
|
|
27
|
+
import { GoogleSearchAdPreview, GoogleSearchAdPreviewProps, SEARCH_AD_LIMITS } from "./GoogleSearchAdPreview/GoogleSearchAdPreview.js";
|
|
28
|
+
import "./GoogleSearchAdPreview/index.js";
|
|
29
|
+
import { HashtagInput, HashtagInputProps, normalizeHashtag, normalizeHashtags } from "./HashtagInput/HashtagInput.js";
|
|
30
|
+
import "./HashtagInput/index.js";
|
|
5
31
|
import { InstagramPostPreview, InstagramPostPreviewProps } from "./InstagramPostPreview/InstagramPostPreview.js";
|
|
6
32
|
import "./InstagramPostPreview/index.js";
|
|
7
33
|
import { InstagramReelPreview, InstagramReelPreviewProps } from "./InstagramReelPreview/InstagramReelPreview.js";
|
|
@@ -10,14 +36,29 @@ import { InstagramStoryPreview, InstagramStoryPreviewProps } from "./InstagramSt
|
|
|
10
36
|
import "./InstagramStoryPreview/index.js";
|
|
11
37
|
import { LinkedInPostPreview, LinkedInPostPreviewProps } from "./LinkedInPostPreview/LinkedInPostPreview.js";
|
|
12
38
|
import "./LinkedInPostPreview/index.js";
|
|
39
|
+
import { LinkPreview, LinkPreviewProps } from "./LinkPreview/LinkPreview.js";
|
|
40
|
+
import "./LinkPreview/index.js";
|
|
41
|
+
import { META_AD_LIMITS, MetaAdPreview, MetaAdPreviewProps } from "./MetaAdPreview/MetaAdPreview.js";
|
|
42
|
+
import "./MetaAdPreview/index.js";
|
|
13
43
|
import { PinterestPinPreview, PinterestPinPreviewProps } from "./PinterestPinPreview/PinterestPinPreview.js";
|
|
14
44
|
import "./PinterestPinPreview/index.js";
|
|
45
|
+
import { LimitStatus, PLATFORM_NAMES, PlatformCharacterLimit, PlatformCharacterLimitProps, PlatformLimitCheck, checkPlatformLimits } from "./PlatformCharacterLimit/PlatformCharacterLimit.js";
|
|
46
|
+
import { PostComposer, PostComposerProps, PostDraft } from "./PostComposer/PostComposer.js";
|
|
47
|
+
import "./PostComposer/index.js";
|
|
48
|
+
import { PublishMode, PublishSchedule, PublishScheduler, PublishSchedulerProps, SuggestedSlot } from "./PublishScheduler/PublishScheduler.js";
|
|
49
|
+
import { Revision, RevisionHistory, RevisionHistoryProps, RevisionStatus } from "./RevisionHistory/RevisionHistory.js";
|
|
50
|
+
import { SAFE_ZONES, SafeZoneOverlay, SafeZoneOverlayProps, SafeZonePlatform } from "./SafeZoneOverlay/SafeZoneOverlay.js";
|
|
51
|
+
import "./SafeZoneOverlay/index.js";
|
|
52
|
+
import { SERP_LIMITS, SerpPreview, SerpPreviewProps, breadcrumb } from "./SerpPreview/SerpPreview.js";
|
|
53
|
+
import "./SerpPreview/index.js";
|
|
15
54
|
import { ThreadsPostPreview, ThreadsPostPreviewProps } from "./ThreadsPostPreview/ThreadsPostPreview.js";
|
|
16
55
|
import "./ThreadsPostPreview/index.js";
|
|
17
56
|
import { TikTokPreview, TikTokPreviewProps } from "./TikTokPreview/TikTokPreview.js";
|
|
18
57
|
import "./TikTokPreview/index.js";
|
|
58
|
+
import { TimeEntry, TimeTracker, TimeTrackerProps, formatClockDuration } from "./TimeTracker/TimeTracker.js";
|
|
59
|
+
import { UtmBuilder, UtmBuilderProps, UtmParams, buildUtmUrl, normalizeUtm } from "./UtmBuilder/UtmBuilder.js";
|
|
19
60
|
import { XPostPreview, XPostPreviewProps } from "./XPostPreview/XPostPreview.js";
|
|
20
61
|
import "./XPostPreview/index.js";
|
|
21
62
|
import { YOUTUBE_TITLE_MAX, YouTubeThumbnailPreview, YouTubeThumbnailPreviewProps } from "./YouTubeThumbnailPreview/YouTubeThumbnailPreview.js";
|
|
22
63
|
import "./YouTubeThumbnailPreview/index.js";
|
|
23
|
-
export { FacebookPostPreview, FacebookPostPreviewProps, InstagramPostPreview, InstagramPostPreviewProps, InstagramReelPreview, InstagramReelPreviewProps, InstagramStoryPreview, InstagramStoryPreviewProps, LinkedInPostPreview, LinkedInPostPreviewProps, PLATFORMS, PLATFORM_LIMITS, PinterestPinPreview, PinterestPinPreviewProps, type Platform, type PlatformLimit, type PreviewAccount, type PreviewBaseProps, type PreviewMediaItem, type PreviewRatio, ThreadsPostPreview, ThreadsPostPreviewProps, TikTokPreview, TikTokPreviewProps, XPostPreview, XPostPreviewProps, YOUTUBE_TITLE_MAX, YouTubeThumbnailPreview, YouTubeThumbnailPreviewProps, countChars, extractHashtags, truncateText };
|
|
64
|
+
export { Annotation, AnnotationLayer, AnnotationLayerProps, ApprovalActions, ApprovalActionsProps, ApprovalDecision, ApprovalFlow, ApprovalFlowProps, ApprovalStep, ApprovalStepStatus, Asset, AssetCard, AssetCardProps, AssetKind, AssetLibrary, AssetLibraryProps, AssetPicker, AssetPickerProps, AssetSort, BrandColor, BrandFont, BrandKitViewer, BrandKitViewerProps, BrandLogo, BriefForm, BriefFormProps, BriefObjective, BriefValues, BudgetLine, BudgetPace, BudgetTracker, BudgetTrackerProps, CalendarPost, CampaignCard, CampaignCardProps, CampaignKpi, CampaignStatus, ChannelMetric, ChannelMetrics, ChannelPerformanceTable, ChannelPerformanceTableProps, ChannelRow, ColorPaletteDisplay, ColorPaletteDisplayProps, ContentCalendar, ContentCalendarProps, DisplayAdSize, FacebookPostPreview, FacebookPostPreviewProps, GoogleDisplayAdPreview, GoogleDisplayAdPreviewProps, GoogleSearchAdPreview, GoogleSearchAdPreviewProps, HashtagInput, HashtagInputProps, InstagramPostPreview, InstagramPostPreviewProps, InstagramReelPreview, InstagramReelPreviewProps, InstagramStoryPreview, InstagramStoryPreviewProps, LimitStatus, LinkPreview, LinkPreviewProps, LinkedInPostPreview, LinkedInPostPreviewProps, META_AD_LIMITS, MetaAdPreview, MetaAdPreviewProps, PLATFORMS, PLATFORM_LIMITS, PLATFORM_NAMES, PaceStatus, PinterestPinPreview, PinterestPinPreviewProps, type Platform, PlatformCharacterLimit, PlatformCharacterLimitProps, type PlatformLimit, PlatformLimitCheck, PostComposer, PostComposerProps, PostDraft, PostStatus, type PreviewAccount, type PreviewBaseProps, type PreviewMediaItem, type PreviewRatio, PublishMode, PublishSchedule, PublishScheduler, PublishSchedulerProps, Revision, RevisionHistory, RevisionHistoryProps, RevisionStatus, SAFE_ZONES, SEARCH_AD_LIMITS, SERP_LIMITS, SafeZoneOverlay, SafeZoneOverlayProps, SafeZonePlatform, SerpPreview, SerpPreviewProps, SuggestedSlot, ThreadsPostPreview, ThreadsPostPreviewProps, TikTokPreview, TikTokPreviewProps, TimeEntry, TimeTracker, TimeTrackerProps, UtmBuilder, UtmBuilderProps, UtmParams, XPostPreview, XPostPreviewProps, YOUTUBE_TITLE_MAX, YouTubeThumbnailPreview, YouTubeThumbnailPreviewProps, breadcrumb, budgetPace, buildUtmUrl, channelMetrics, checkPlatformLimits, contrastLevel, contrastRatio, countChars, displayDomain, extractHashtags, filterAssets, formatClockDuration, hexToRgb, normalizeHashtag, normalizeHashtags, normalizeUtm, totalRow, truncateText };
|
package/dist/agency/index.js
CHANGED
|
@@ -1,12 +1,39 @@
|
|
|
1
|
-
import { PLATFORMS, PLATFORM_LIMITS, countChars, extractHashtags, truncateText } from "./_shared/platforms.js";
|
|
1
|
+
import { PLATFORMS, PLATFORM_LIMITS, countChars, displayDomain, extractHashtags, truncateText } from "./_shared/platforms.js";
|
|
2
|
+
import { AnnotationLayer } from "./AnnotationLayer/AnnotationLayer.js";
|
|
3
|
+
import { ApprovalActions } from "./ApprovalActions/ApprovalActions.js";
|
|
4
|
+
import { ApprovalFlow } from "./ApprovalFlow/ApprovalFlow.js";
|
|
5
|
+
import { AssetCard } from "./AssetCard/AssetCard.js";
|
|
6
|
+
import { AssetLibrary, filterAssets } from "./AssetLibrary/AssetLibrary.js";
|
|
7
|
+
import { AssetPicker } from "./AssetPicker/AssetPicker.js";
|
|
8
|
+
import { ColorPaletteDisplay, contrastLevel, contrastRatio, hexToRgb } from "./ColorPaletteDisplay/ColorPaletteDisplay.js";
|
|
9
|
+
import { BrandKitViewer } from "./BrandKitViewer/BrandKitViewer.js";
|
|
10
|
+
import { PLATFORM_NAMES, PlatformCharacterLimit, checkPlatformLimits } from "./PlatformCharacterLimit/PlatformCharacterLimit.js";
|
|
11
|
+
import { BriefForm } from "./BriefForm/BriefForm.js";
|
|
12
|
+
import { budgetPace } from "./BudgetTracker/budgetPace.js";
|
|
13
|
+
import { BudgetTracker } from "./BudgetTracker/BudgetTracker.js";
|
|
14
|
+
import { CampaignCard } from "./CampaignCard/CampaignCard.js";
|
|
15
|
+
import { ChannelPerformanceTable, channelMetrics, totalRow } from "./ChannelPerformanceTable/ChannelPerformanceTable.js";
|
|
16
|
+
import { ContentCalendar } from "./ContentCalendar/ContentCalendar.js";
|
|
2
17
|
import { FacebookPostPreview } from "./FacebookPostPreview/FacebookPostPreview.js";
|
|
18
|
+
import { GoogleDisplayAdPreview } from "./GoogleDisplayAdPreview/GoogleDisplayAdPreview.js";
|
|
19
|
+
import { GoogleSearchAdPreview, SEARCH_AD_LIMITS } from "./GoogleSearchAdPreview/GoogleSearchAdPreview.js";
|
|
20
|
+
import { HashtagInput, normalizeHashtag, normalizeHashtags } from "./HashtagInput/HashtagInput.js";
|
|
3
21
|
import { InstagramPostPreview } from "./InstagramPostPreview/InstagramPostPreview.js";
|
|
4
22
|
import { InstagramReelPreview } from "./InstagramReelPreview/InstagramReelPreview.js";
|
|
5
23
|
import { InstagramStoryPreview } from "./InstagramStoryPreview/InstagramStoryPreview.js";
|
|
6
24
|
import { LinkedInPostPreview } from "./LinkedInPostPreview/LinkedInPostPreview.js";
|
|
25
|
+
import { LinkPreview } from "./LinkPreview/LinkPreview.js";
|
|
26
|
+
import { META_AD_LIMITS, MetaAdPreview } from "./MetaAdPreview/MetaAdPreview.js";
|
|
7
27
|
import { PinterestPinPreview } from "./PinterestPinPreview/PinterestPinPreview.js";
|
|
8
28
|
import { ThreadsPostPreview } from "./ThreadsPostPreview/ThreadsPostPreview.js";
|
|
9
29
|
import { TikTokPreview } from "./TikTokPreview/TikTokPreview.js";
|
|
10
30
|
import { XPostPreview } from "./XPostPreview/XPostPreview.js";
|
|
11
31
|
import { YOUTUBE_TITLE_MAX, YouTubeThumbnailPreview } from "./YouTubeThumbnailPreview/YouTubeThumbnailPreview.js";
|
|
12
|
-
|
|
32
|
+
import { PostComposer } from "./PostComposer/PostComposer.js";
|
|
33
|
+
import { PublishScheduler } from "./PublishScheduler/PublishScheduler.js";
|
|
34
|
+
import { RevisionHistory } from "./RevisionHistory/RevisionHistory.js";
|
|
35
|
+
import { SAFE_ZONES, SafeZoneOverlay } from "./SafeZoneOverlay/SafeZoneOverlay.js";
|
|
36
|
+
import { SERP_LIMITS, SerpPreview, breadcrumb } from "./SerpPreview/SerpPreview.js";
|
|
37
|
+
import { TimeTracker, formatClockDuration } from "./TimeTracker/TimeTracker.js";
|
|
38
|
+
import { UtmBuilder, buildUtmUrl, normalizeUtm } from "./UtmBuilder/UtmBuilder.js";
|
|
39
|
+
export { AnnotationLayer, ApprovalActions, ApprovalFlow, AssetCard, AssetLibrary, AssetPicker, BrandKitViewer, BriefForm, BudgetTracker, CampaignCard, ChannelPerformanceTable, ColorPaletteDisplay, ContentCalendar, FacebookPostPreview, GoogleDisplayAdPreview, GoogleSearchAdPreview, HashtagInput, InstagramPostPreview, InstagramReelPreview, InstagramStoryPreview, LinkPreview, LinkedInPostPreview, META_AD_LIMITS, MetaAdPreview, PLATFORMS, PLATFORM_LIMITS, PLATFORM_NAMES, PinterestPinPreview, PlatformCharacterLimit, PostComposer, PublishScheduler, RevisionHistory, SAFE_ZONES, SEARCH_AD_LIMITS, SERP_LIMITS, SafeZoneOverlay, SerpPreview, ThreadsPostPreview, TikTokPreview, TimeTracker, UtmBuilder, XPostPreview, YOUTUBE_TITLE_MAX, YouTubeThumbnailPreview, breadcrumb, budgetPace, buildUtmUrl, channelMetrics, checkPlatformLimits, contrastLevel, contrastRatio, countChars, displayDomain, extractHashtags, filterAssets, formatClockDuration, hexToRgb, normalizeHashtag, normalizeHashtags, normalizeUtm, totalRow, truncateText };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useLocale, useMessages } from "../../provider/UIProvider.js";
|
|
2
|
+
import { useFormatter, useLocale, useMessages } from "../../provider/UIProvider.js";
|
|
3
3
|
import { template } from "../../text/text.js";
|
|
4
4
|
import { AlertCircleIcon } from "../../icons/generated/AlertCircleIcon.js";
|
|
5
5
|
import { IconButton } from "../../components/IconButton/IconButton.js";
|
|
@@ -64,6 +64,7 @@ const KIND_ICON = {
|
|
|
64
64
|
function AttachmentChip({ name, bytes, kind, type, thumbnailSrc, status = "ready", progress, errorMessage, onRemove, onRetry, href, size = "md", isDisabled, className, id }) {
|
|
65
65
|
const t = useMessages();
|
|
66
66
|
const locale = useLocale();
|
|
67
|
+
const f = useFormatter();
|
|
67
68
|
const statusId = useId();
|
|
68
69
|
const resolved = kind ?? attachmentKind(name, type);
|
|
69
70
|
const KindIcon = KIND_ICON[resolved];
|
|
@@ -101,7 +102,7 @@ function AttachmentChip({ name, bytes, kind, type, thumbnailSrc, status = "ready
|
|
|
101
102
|
children: [nameNode, /* @__PURE__ */ jsxs("span", {
|
|
102
103
|
className: AttachmentChip_module_default.meta,
|
|
103
104
|
id: statusId,
|
|
104
|
-
children: [status === "uploading" ? /* @__PURE__ */ jsxs("span", { children: [t.aiAttachmentUploading, progress !== void 0 ? ` ${Math.round(progress)}
|
|
105
|
+
children: [status === "uploading" ? /* @__PURE__ */ jsxs("span", { children: [t.aiAttachmentUploading, progress !== void 0 ? ` ${f.percent(Math.round(progress) / 100)}` : ""] }) : status === "error" ? /* @__PURE__ */ jsx("span", {
|
|
105
106
|
className: AttachmentChip_module_default.error,
|
|
106
107
|
children: errorMessage ?? t.aiAttachmentFailed
|
|
107
108
|
}) : null, status !== "error" && bytes !== void 0 ? /* @__PURE__ */ jsx(FileSize, {
|
|
@@ -131,7 +132,8 @@ function AttachmentChip({ name, bytes, kind, type, thumbnailSrc, status = "ready
|
|
|
131
132
|
size: "sm",
|
|
132
133
|
value: progress ?? 0,
|
|
133
134
|
isIndeterminate: progress === void 0,
|
|
134
|
-
valueLabel: progress === void 0 ? void 0 :
|
|
135
|
+
valueLabel: progress === void 0 ? void 0 : f.percent(Math.round(progress) / 100),
|
|
136
|
+
showValueLabel: false
|
|
135
137
|
})
|
|
136
138
|
}) : null
|
|
137
139
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
2
|
@layer sti.components {
|
|
3
|
-
.sti-ChatThread-root-
|
|
3
|
+
.sti-ChatThread-root-84de4 {
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
background: var(--sti-bg-canvas);
|
|
6
6
|
block-size: 100%;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
position: relative;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.sti-ChatThread-scroller-
|
|
17
|
+
.sti-ChatThread-scroller-c6240 {
|
|
18
18
|
box-sizing: border-box;
|
|
19
19
|
min-block-size: 0;
|
|
20
20
|
padding: var(--sti-space-4);
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
overflow-y: auto;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.sti-ChatThread-scroller-
|
|
27
|
+
.sti-ChatThread-scroller-c6240:focus-visible {
|
|
28
28
|
outline: var(--sti-focus-ring-width) solid var(--sti-focus-ring);
|
|
29
29
|
outline-offset: calc(var(--sti-focus-ring-width) * -1);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.sti-ChatThread-content-
|
|
32
|
+
.sti-ChatThread-content-b7eb0 {
|
|
33
33
|
gap: var(--sti-space-6);
|
|
34
34
|
inline-size: 100%;
|
|
35
35
|
max-inline-size: var(--sti-width-content);
|
|
@@ -39,12 +39,14 @@
|
|
|
39
39
|
display: flex;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.sti-ChatThread-content-
|
|
42
|
+
.sti-ChatThread-content-b7eb0[data-empty] {
|
|
43
|
+
text-align: center;
|
|
43
44
|
justify-content: center;
|
|
45
|
+
align-items: center;
|
|
44
46
|
min-block-size: 100%;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
|
-
.sti-ChatThread-jump-
|
|
49
|
+
.sti-ChatThread-jump-7c71a {
|
|
48
50
|
pointer-events: none;
|
|
49
51
|
justify-content: center;
|
|
50
52
|
display: flex;
|
|
@@ -53,13 +55,13 @@
|
|
|
53
55
|
inset-inline: 0;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
|
-
.sti-ChatThread-jumpButton-
|
|
58
|
+
.sti-ChatThread-jumpButton-4aedb {
|
|
57
59
|
pointer-events: auto;
|
|
58
60
|
box-shadow: var(--sti-shadow-md);
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
@media (forced-colors: active) {
|
|
62
|
-
.sti-ChatThread-scroller-
|
|
64
|
+
.sti-ChatThread-scroller-c6240:focus-visible {
|
|
63
65
|
outline-color: highlight;
|
|
64
66
|
}
|
|
65
67
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './ChatThread.css';
|
|
2
2
|
// src/ai/ChatThread/ChatThread.module.css
|
|
3
3
|
var ChatThread_module_default = {
|
|
4
|
-
"root": "sti-ChatThread-root-
|
|
5
|
-
"scroller": "sti-ChatThread-scroller-
|
|
6
|
-
"content": "sti-ChatThread-content-
|
|
7
|
-
"jump": "sti-ChatThread-jump-
|
|
8
|
-
"jumpButton": "sti-ChatThread-jumpButton-
|
|
4
|
+
"root": "sti-ChatThread-root-84de4",
|
|
5
|
+
"scroller": "sti-ChatThread-scroller-c6240",
|
|
6
|
+
"content": "sti-ChatThread-content-b7eb0",
|
|
7
|
+
"jump": "sti-ChatThread-jump-7c71a",
|
|
8
|
+
"jumpButton": "sti-ChatThread-jumpButton-4aedb"
|
|
9
9
|
};
|
|
10
10
|
export { ChatThread_module_default as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useFormatter, useLocale, useMessages } from "../../provider/UIProvider.js";
|
|
3
3
|
import { matchesLoose, template } from "../../text/text.js";
|
|
4
|
-
import { IconButton } from "../../components/IconButton/IconButton.js";
|
|
5
4
|
import { Button as Button$1 } from "../../components/Button/Button.js";
|
|
5
|
+
import { IconButton } from "../../components/IconButton/IconButton.js";
|
|
6
6
|
import { Announcer } from "../../components/Announcer/Announcer.js";
|
|
7
7
|
import { SearchField as SearchField$1 } from "../../components/SearchField/SearchField.js";
|
|
8
8
|
import { PlusIcon } from "../../icons/generated/PlusIcon.js";
|
|
9
|
-
import { TrashIcon } from "../../icons/generated/TrashIcon.js";
|
|
10
9
|
import { Skeleton } from "../../components/Skeleton/Skeleton.js";
|
|
10
|
+
import { TrashIcon } from "../../icons/generated/TrashIcon.js";
|
|
11
11
|
import ConversationList_module_default from "./ConversationList.module.js";
|
|
12
12
|
import { groupConversations } from "./groups.js";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { useMessages } from "../../provider/UIProvider.js";
|
|
3
3
|
import { IconButton } from "../../components/IconButton/IconButton.js";
|
|
4
4
|
import { announce } from "../../components/Alert/announcer.js";
|
|
5
|
+
import { Toolbar } from "../../components/Toolbar/Toolbar.js";
|
|
5
6
|
import { CopyButton } from "../../components/CopyButton/CopyButton.js";
|
|
6
7
|
import { RefreshIcon } from "../../icons/generated/RefreshIcon.js";
|
|
7
8
|
import { ToggleButton } from "../../components/ToggleButton/ToggleButton.js";
|
|
8
|
-
import { Toolbar } from "../../components/Toolbar/Toolbar.js";
|
|
9
9
|
import { Tooltip } from "../../components/Tooltip/Tooltip.js";
|
|
10
10
|
import { ThumbDownGlyph, ThumbUpGlyph } from "../_internal/glyphs.js";
|
|
11
11
|
import MessageActions_module_default from "./MessageActions.module.js";
|
|
@@ -19,6 +19,8 @@ export interface ModelSelectProps {
|
|
|
19
19
|
onChange?: (modelId: string | null) => void;
|
|
20
20
|
/** Alanın etiketi; verilmezse yerleşik "Model". */
|
|
21
21
|
label?: ReactNode;
|
|
22
|
+
/** Etiket görsel olarak gizlenir (istem çubuğunda); ekran okuyucu yine okur. */
|
|
23
|
+
hideLabel?: boolean;
|
|
22
24
|
description?: ReactNode;
|
|
23
25
|
/** Seçim yokken düğmede görünen metin. */
|
|
24
26
|
placeholder?: string;
|
|
@@ -27,6 +29,8 @@ export interface ModelSelectProps {
|
|
|
27
29
|
isRequired?: boolean;
|
|
28
30
|
isDisabled?: boolean;
|
|
29
31
|
isInvalid?: boolean;
|
|
32
|
+
/** Geçersizken yazılan metin; verilmezse "Bir model seçin." */
|
|
33
|
+
errorMessage?: string;
|
|
30
34
|
className?: string;
|
|
31
35
|
id?: string;
|
|
32
36
|
}
|
|
@@ -35,4 +39,4 @@ export interface ModelSelectProps {
|
|
|
35
39
|
* (APG Select-Only Combobox) davranışını taşır: Enter ya da ↓ açar, oklar gezer, harf yazmak
|
|
36
40
|
* Türkçe kurallarla arar, Enter seçer, Escape kapatır.
|
|
37
41
|
*/
|
|
38
|
-
export declare function ModelSelect({ models, label, className, ...rest }: ModelSelectProps): import("react").JSX.Element;
|
|
42
|
+
export declare function ModelSelect({ models, label, errorMessage, className, ...rest }: ModelSelectProps): import("react").JSX.Element;
|
|
@@ -9,7 +9,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
9
9
|
* (APG Select-Only Combobox) davranışını taşır: Enter ya da ↓ açar, oklar gezer, harf yazmak
|
|
10
10
|
* Türkçe kurallarla arar, Enter seçer, Escape kapatır.
|
|
11
11
|
*/
|
|
12
|
-
function ModelSelect({ models, label, className, ...rest }) {
|
|
12
|
+
function ModelSelect({ models, label, errorMessage, className, ...rest }) {
|
|
13
13
|
const t = useMessages();
|
|
14
14
|
const toOption = (m) => ({
|
|
15
15
|
id: m.id,
|
|
@@ -35,6 +35,7 @@ function ModelSelect({ models, label, className, ...rest }) {
|
|
|
35
35
|
...rest,
|
|
36
36
|
className: [ModelSelect_module_default.root, className].filter(Boolean).join(" "),
|
|
37
37
|
label: label ?? t.aiModel,
|
|
38
|
+
errorMessage: errorMessage ?? t.aiModelRequired,
|
|
38
39
|
items
|
|
39
40
|
});
|
|
40
41
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useMessages } from "../../provider/UIProvider.js";
|
|
3
3
|
import { template } from "../../text/text.js";
|
|
4
|
-
import { IconButton } from "../../components/IconButton/IconButton.js";
|
|
5
4
|
import { VisuallyHidden } from "../../components/VisuallyHidden/VisuallyHidden.js";
|
|
5
|
+
import { IconButton } from "../../components/IconButton/IconButton.js";
|
|
6
6
|
import { MicIcon } from "../../icons/generated/MicIcon.js";
|
|
7
7
|
import { PaperclipIcon } from "../../icons/generated/PaperclipIcon.js";
|
|
8
8
|
import { SendIcon } from "../../icons/generated/SendIcon.js";
|