@stisocial/ui 0.2.0 → 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 +82 -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/TimeSlotPicker/TimeSlotPicker.d.ts +1 -11
- package/dist/components/TimeSlotPicker/TimeSlotPicker.js +2 -24
- package/dist/components/TimeSlotPicker/index.d.ts +3 -2
- package/dist/components/TimeSlotPicker/timeSlots.d.ts +12 -0
- package/dist/components/TimeSlotPicker/timeSlots.js +25 -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.css +128 -44
- package/dist/id/AccountMenu/AccountMenu.d.ts +37 -9
- package/dist/id/AccountMenu/AccountMenu.js +139 -66
- package/dist/id/AccountMenu/AccountMenu.module.js +16 -9
- package/dist/id/AccountMenu/index.d.ts +2 -2
- 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.css +153 -31
- package/dist/id/AppSwitcher/AppSwitcher.d.ts +31 -6
- package/dist/id/AppSwitcher/AppSwitcher.js +91 -38
- package/dist/id/AppSwitcher/AppSwitcher.module.js +12 -6
- package/dist/id/AppSwitcher/index.d.ts +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.css +129 -17
- package/dist/id/OrgSwitcher/OrgSwitcher.d.ts +30 -5
- package/dist/id/OrgSwitcher/OrgSwitcher.js +112 -76
- package/dist/id/OrgSwitcher/OrgSwitcher.module.js +11 -7
- package/dist/id/OrgSwitcher/index.d.ts +2 -2
- 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/PermissionGate/PermissionGate.css +25 -14
- package/dist/id/PermissionGate/PermissionGate.d.ts +3 -1
- package/dist/id/PermissionGate/PermissionGate.js +15 -8
- package/dist/id/PermissionGate/PermissionGate.module.js +6 -5
- 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/SignInButton/SignInButton.css +179 -0
- package/dist/id/SignInButton/SignInButton.d.ts +12 -3
- package/dist/id/SignInButton/SignInButton.js +37 -18
- package/dist/id/SignInButton/SignInButton.module.js +10 -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/_internal/StiMark/StiMark.css +28 -0
- package/dist/id/_internal/StiMark/StiMark.js +37 -0
- package/dist/id/_internal/StiMark/StiMark.module.js +8 -0
- package/dist/id/index.d.ts +30 -4
- package/dist/id/index.js +20 -4
- package/dist/index.d.ts +68 -14
- package/dist/index.js +54 -18
- 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 +748 -0
- package/dist/messages/messages.js +1498 -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 +38210 -20635
- package/dist/text/text.d.ts +5 -1
- package/dist/text/text.js +8 -2
- package/package.json +2 -1
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-ZoomableImage-root-ba32d {
|
|
4
|
+
--sti-zoom-ratio: 16 / 9;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
border: var(--sti-border-width) solid var(--sti-border-subtle);
|
|
7
|
+
border-radius: var(--sti-radius-lg);
|
|
8
|
+
background: var(--sti-bg-surface);
|
|
9
|
+
inline-size: 100%;
|
|
10
|
+
min-inline-size: 0;
|
|
11
|
+
color: var(--sti-fg);
|
|
12
|
+
font-family: var(--sti-font-text);
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
display: flex;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.sti-ZoomableImage-root-ba32d[data-ratio="4/3"] {
|
|
19
|
+
--sti-zoom-ratio: 4 / 3;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.sti-ZoomableImage-root-ba32d[data-ratio="1/1"] {
|
|
23
|
+
--sti-zoom-ratio: 1 / 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.sti-ZoomableImage-root-ba32d[data-ratio="3/4"] {
|
|
27
|
+
--sti-zoom-ratio: 3 / 4;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sti-ZoomableImage-stage-85efe {
|
|
31
|
+
aspect-ratio: var(--sti-zoom-ratio);
|
|
32
|
+
background: var(--sti-bg-subtle);
|
|
33
|
+
cursor: zoom-in;
|
|
34
|
+
touch-action: pan-y;
|
|
35
|
+
outline: none;
|
|
36
|
+
position: relative;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.sti-ZoomableImage-stage-85efe[data-zoomed] {
|
|
41
|
+
cursor: grab;
|
|
42
|
+
touch-action: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.sti-ZoomableImage-stage-85efe[data-zoomed]:active {
|
|
46
|
+
cursor: grabbing;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sti-ZoomableImage-stage-85efe:focus-visible {
|
|
50
|
+
outline: var(--sti-focus-ring-width) solid var(--sti-focus-ring);
|
|
51
|
+
outline-offset: calc(var(--sti-focus-ring-width) * -1);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.sti-ZoomableImage-image-9e073 {
|
|
55
|
+
--sti-zoom: 1;
|
|
56
|
+
--sti-zoom-x: 0;
|
|
57
|
+
--sti-zoom-y: 0;
|
|
58
|
+
object-fit: contain;
|
|
59
|
+
block-size: 100%;
|
|
60
|
+
inline-size: 100%;
|
|
61
|
+
transform: translate(var(--sti-zoom-x), var(--sti-zoom-y)) scale(var(--sti-zoom));
|
|
62
|
+
transition: transform var(--sti-duration-fast) var(--sti-ease-out);
|
|
63
|
+
-webkit-user-select: none;
|
|
64
|
+
user-select: none;
|
|
65
|
+
pointer-events: none;
|
|
66
|
+
display: block;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.sti-ZoomableImage-stage-85efe[data-zoomed]:active .sti-ZoomableImage-image-9e073 {
|
|
70
|
+
transition: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.sti-ZoomableImage-bar-43c48 {
|
|
74
|
+
justify-content: space-between;
|
|
75
|
+
align-items: center;
|
|
76
|
+
gap: var(--sti-space-2);
|
|
77
|
+
padding: var(--sti-space-2) var(--sti-space-2) var(--sti-space-2) var(--sti-space-4);
|
|
78
|
+
border-block-start: var(--sti-border-width) solid var(--sti-border-subtle);
|
|
79
|
+
flex-wrap: wrap;
|
|
80
|
+
display: flex;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.sti-ZoomableImage-hint-55323 {
|
|
84
|
+
min-inline-size: 0;
|
|
85
|
+
color: var(--sti-fg-muted);
|
|
86
|
+
font-size: var(--sti-font-size-xs);
|
|
87
|
+
line-height: var(--sti-line-height-xs);
|
|
88
|
+
flex: 14rem;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.sti-ZoomableImage-tools-79a4d {
|
|
92
|
+
align-items: center;
|
|
93
|
+
gap: var(--sti-space-1);
|
|
94
|
+
flex: none;
|
|
95
|
+
display: flex;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.sti-ZoomableImage-level-fa640 {
|
|
99
|
+
min-inline-size: 3.5rem;
|
|
100
|
+
color: var(--sti-fg);
|
|
101
|
+
font-family: var(--sti-font-numeric);
|
|
102
|
+
font-size: var(--sti-font-size-sm);
|
|
103
|
+
font-variant-numeric: tabular-nums;
|
|
104
|
+
text-align: center;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@media (prefers-reduced-motion: reduce) {
|
|
108
|
+
.sti-ZoomableImage-image-9e073 {
|
|
109
|
+
transition: none;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@media (forced-colors: active) {
|
|
114
|
+
.sti-ZoomableImage-root-ba32d {
|
|
115
|
+
border-color: canvastext;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.sti-ZoomableImage-stage-85efe:focus-visible {
|
|
119
|
+
outline-color: highlight;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface ZoomableImageProps {
|
|
2
|
+
src: string;
|
|
3
|
+
/** Görselin metin karşılığı (zorunlu). */
|
|
4
|
+
alt: string;
|
|
5
|
+
/** Görüntüleme alanının en-boy oranı. */
|
|
6
|
+
aspectRatio?: "16/9" | "4/3" | "1/1" | "3/4";
|
|
7
|
+
/** En büyük yakınlaştırma (kat). */
|
|
8
|
+
maxZoom?: number;
|
|
9
|
+
/** Denetimli yakınlaştırma (1 = sığdır). */
|
|
10
|
+
zoom?: number;
|
|
11
|
+
defaultZoom?: number;
|
|
12
|
+
onZoomChange?: (zoom: number) => void;
|
|
13
|
+
/** Bölgenin adı; verilmezse "Yakınlaştırılabilir görsel: <alt>". */
|
|
14
|
+
label?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
id?: string;
|
|
17
|
+
}
|
|
18
|
+
interface Pan {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
}
|
|
22
|
+
/** Kaydırmayı görselin sahneden taşan kısmıyla sınırlar (kenar boşluk kalmaz). */
|
|
23
|
+
export declare function clampPan(pan: Pan, zoom: number, width: number, height: number): Pan;
|
|
24
|
+
/**
|
|
25
|
+
* Sayfa içinde yakınlaştırılıp kaydırılabilen görsel (tasarım provası, kat planı, harita): araç
|
|
26
|
+
* çubuğunda uzaklaştırma, yakınlaştırma oranı, yakınlaştırma ve sığdırma. Fare ile sürükleyerek
|
|
27
|
+
* kaydırma, çift tıklamayla noktaya yakınlaştırma, Ctrl + tekerlek (ya da dokunmatik yüzey kıstırması)
|
|
28
|
+
* ve iki parmak kıstırması; klavyede + / − / 0 ve oklar. Tekerlek tek başına sayfayı kaydırır.
|
|
29
|
+
* Dönüşüm CSSOM ile yazılır (CSP uyumlu).
|
|
30
|
+
*/
|
|
31
|
+
export declare function ZoomableImage({ src, alt, aspectRatio, maxZoom, zoom, defaultZoom, onZoomChange, label, className, id }: ZoomableImageProps): import("react").JSX.Element;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useMessages } from "../../provider/UIProvider.js";
|
|
3
|
+
import { template } from "../../text/text.js";
|
|
4
|
+
import { IconButton } from "../../components/IconButton/IconButton.js";
|
|
5
|
+
import { MaximizeIcon } from "../../icons/generated/MaximizeIcon.js";
|
|
6
|
+
import { ZoomInIcon } from "../../icons/generated/ZoomInIcon.js";
|
|
7
|
+
import { ZoomOutIcon } from "../../icons/generated/ZoomOutIcon.js";
|
|
8
|
+
import ZoomableImage_module_default from "./ZoomableImage.module.js";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
11
|
+
// src/media/ZoomableImage/ZoomableImage.tsx
|
|
12
|
+
const STEP = 1.25;
|
|
13
|
+
const PAN_STEP = 48;
|
|
14
|
+
/** Kaydırmayı görselin sahneden taşan kısmıyla sınırlar (kenar boşluk kalmaz). */
|
|
15
|
+
function clampPan(pan, zoom, width, height) {
|
|
16
|
+
const maxX = (zoom - 1) * width / 2;
|
|
17
|
+
const maxY = (zoom - 1) * height / 2;
|
|
18
|
+
return {
|
|
19
|
+
x: Math.min(maxX, Math.max(-maxX, pan.x)) + 0,
|
|
20
|
+
y: Math.min(maxY, Math.max(-maxY, pan.y)) + 0
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Sayfa içinde yakınlaştırılıp kaydırılabilen görsel (tasarım provası, kat planı, harita): araç
|
|
25
|
+
* çubuğunda uzaklaştırma, yakınlaştırma oranı, yakınlaştırma ve sığdırma. Fare ile sürükleyerek
|
|
26
|
+
* kaydırma, çift tıklamayla noktaya yakınlaştırma, Ctrl + tekerlek (ya da dokunmatik yüzey kıstırması)
|
|
27
|
+
* ve iki parmak kıstırması; klavyede + / − / 0 ve oklar. Tekerlek tek başına sayfayı kaydırır.
|
|
28
|
+
* Dönüşüm CSSOM ile yazılır (CSP uyumlu).
|
|
29
|
+
*/
|
|
30
|
+
function ZoomableImage({ src, alt, aspectRatio = "16/9", maxZoom = 4, zoom, defaultZoom = 1, onZoomChange, label, className, id }) {
|
|
31
|
+
const t = useMessages();
|
|
32
|
+
const stage = useRef(null);
|
|
33
|
+
const [inner, setInner] = useState(defaultZoom);
|
|
34
|
+
const level = Math.min(maxZoom, Math.max(1, zoom ?? inner));
|
|
35
|
+
const [pan, setPan] = useState({
|
|
36
|
+
x: 0,
|
|
37
|
+
y: 0
|
|
38
|
+
});
|
|
39
|
+
const drag = useRef(null);
|
|
40
|
+
const pointers = useRef(/* @__PURE__ */ new Map());
|
|
41
|
+
const pinch = useRef(null);
|
|
42
|
+
const size = useCallback(() => {
|
|
43
|
+
const el = stage.current;
|
|
44
|
+
return el ? {
|
|
45
|
+
w: el.clientWidth,
|
|
46
|
+
h: el.clientHeight
|
|
47
|
+
} : {
|
|
48
|
+
w: 0,
|
|
49
|
+
h: 0
|
|
50
|
+
};
|
|
51
|
+
}, []);
|
|
52
|
+
/** Yakınlaştırmayı değiştirir; `at` sahne merkezine göre nokta (o nokta yerinde kalır). */
|
|
53
|
+
const setZoom = useCallback((next, at) => {
|
|
54
|
+
const z = Math.min(maxZoom, Math.max(1, Math.round(next * 100) / 100));
|
|
55
|
+
const { w, h } = size();
|
|
56
|
+
setPan((p) => {
|
|
57
|
+
const point = at ?? {
|
|
58
|
+
x: 0,
|
|
59
|
+
y: 0
|
|
60
|
+
};
|
|
61
|
+
const ratio = z / level;
|
|
62
|
+
const moved = {
|
|
63
|
+
x: point.x - (point.x - p.x) * ratio,
|
|
64
|
+
y: point.y - (point.y - p.y) * ratio
|
|
65
|
+
};
|
|
66
|
+
return clampPan(z === 1 ? {
|
|
67
|
+
x: 0,
|
|
68
|
+
y: 0
|
|
69
|
+
} : moved, z, w, h);
|
|
70
|
+
});
|
|
71
|
+
if (zoom === void 0) setInner(z);
|
|
72
|
+
onZoomChange?.(z);
|
|
73
|
+
}, [
|
|
74
|
+
level,
|
|
75
|
+
maxZoom,
|
|
76
|
+
onZoomChange,
|
|
77
|
+
zoom,
|
|
78
|
+
size
|
|
79
|
+
]);
|
|
80
|
+
useEffect(() => {
|
|
81
|
+
const { w, h } = size();
|
|
82
|
+
setPan((p) => clampPan(p, level, w, h));
|
|
83
|
+
}, [level, size]);
|
|
84
|
+
const place = useCallback((el) => {
|
|
85
|
+
if (!el) return;
|
|
86
|
+
el.style.setProperty("--sti-zoom", String(level));
|
|
87
|
+
el.style.setProperty("--sti-zoom-x", `${pan.x}px`);
|
|
88
|
+
el.style.setProperty("--sti-zoom-y", `${pan.y}px`);
|
|
89
|
+
el.dataset.placed = "";
|
|
90
|
+
}, [
|
|
91
|
+
level,
|
|
92
|
+
pan.x,
|
|
93
|
+
pan.y
|
|
94
|
+
]);
|
|
95
|
+
const local = (clientX, clientY) => {
|
|
96
|
+
const r = stage.current?.getBoundingClientRect();
|
|
97
|
+
if (!r) return {
|
|
98
|
+
x: 0,
|
|
99
|
+
y: 0
|
|
100
|
+
};
|
|
101
|
+
return {
|
|
102
|
+
x: clientX - r.left - r.width / 2,
|
|
103
|
+
y: clientY - r.top - r.height / 2
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
const onWheel = (e) => {
|
|
107
|
+
if (!e.ctrlKey && !e.metaKey) return;
|
|
108
|
+
e.preventDefault();
|
|
109
|
+
setZoom(level * (e.deltaY < 0 ? STEP : 1 / STEP), local(e.clientX, e.clientY));
|
|
110
|
+
};
|
|
111
|
+
useEffect(() => {
|
|
112
|
+
const el = stage.current;
|
|
113
|
+
if (!el) return;
|
|
114
|
+
const stop = (e) => {
|
|
115
|
+
if (e.ctrlKey || e.metaKey) e.preventDefault();
|
|
116
|
+
};
|
|
117
|
+
el.addEventListener("wheel", stop, { passive: false });
|
|
118
|
+
return () => el.removeEventListener("wheel", stop);
|
|
119
|
+
}, []);
|
|
120
|
+
const onPointerDown = (e) => {
|
|
121
|
+
pointers.current.set(e.pointerId, {
|
|
122
|
+
x: e.clientX,
|
|
123
|
+
y: e.clientY
|
|
124
|
+
});
|
|
125
|
+
if (pointers.current.size === 2) {
|
|
126
|
+
const [a, b] = [...pointers.current.values()];
|
|
127
|
+
if (a && b) pinch.current = {
|
|
128
|
+
dist: Math.hypot(a.x - b.x, a.y - b.y),
|
|
129
|
+
zoom: level
|
|
130
|
+
};
|
|
131
|
+
drag.current = null;
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
if (level === 1) return;
|
|
135
|
+
e.currentTarget.setPointerCapture(e.pointerId);
|
|
136
|
+
drag.current = {
|
|
137
|
+
id: e.pointerId,
|
|
138
|
+
x: e.clientX,
|
|
139
|
+
y: e.clientY,
|
|
140
|
+
pan
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
const onPointerMove = (e) => {
|
|
144
|
+
if (pointers.current.has(e.pointerId)) pointers.current.set(e.pointerId, {
|
|
145
|
+
x: e.clientX,
|
|
146
|
+
y: e.clientY
|
|
147
|
+
});
|
|
148
|
+
if (pinch.current && pointers.current.size === 2) {
|
|
149
|
+
const [a, b] = [...pointers.current.values()];
|
|
150
|
+
if (a && b) {
|
|
151
|
+
const dist = Math.hypot(a.x - b.x, a.y - b.y);
|
|
152
|
+
setZoom(pinch.current.zoom * (dist / pinch.current.dist), local((a.x + b.x) / 2, (a.y + b.y) / 2));
|
|
153
|
+
}
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
const d = drag.current;
|
|
157
|
+
if (!d || d.id !== e.pointerId) return;
|
|
158
|
+
const { w, h } = size();
|
|
159
|
+
setPan(clampPan({
|
|
160
|
+
x: d.pan.x + e.clientX - d.x,
|
|
161
|
+
y: d.pan.y + e.clientY - d.y
|
|
162
|
+
}, level, w, h));
|
|
163
|
+
};
|
|
164
|
+
const onPointerEnd = (e) => {
|
|
165
|
+
pointers.current.delete(e.pointerId);
|
|
166
|
+
if (pointers.current.size < 2) pinch.current = null;
|
|
167
|
+
if (drag.current?.id === e.pointerId) drag.current = null;
|
|
168
|
+
};
|
|
169
|
+
const onKeyDown = (e) => {
|
|
170
|
+
const { w, h } = size();
|
|
171
|
+
const move = (dx, dy) => setPan((p) => clampPan({
|
|
172
|
+
x: p.x + dx,
|
|
173
|
+
y: p.y + dy
|
|
174
|
+
}, level, w, h));
|
|
175
|
+
switch (e.key) {
|
|
176
|
+
case "+":
|
|
177
|
+
case "=":
|
|
178
|
+
setZoom(level * STEP);
|
|
179
|
+
break;
|
|
180
|
+
case "-":
|
|
181
|
+
case "_":
|
|
182
|
+
setZoom(level / STEP);
|
|
183
|
+
break;
|
|
184
|
+
case "0":
|
|
185
|
+
setZoom(1);
|
|
186
|
+
break;
|
|
187
|
+
case "ArrowLeft":
|
|
188
|
+
if (level === 1) return;
|
|
189
|
+
move(PAN_STEP, 0);
|
|
190
|
+
break;
|
|
191
|
+
case "ArrowRight":
|
|
192
|
+
if (level === 1) return;
|
|
193
|
+
move(-48, 0);
|
|
194
|
+
break;
|
|
195
|
+
case "ArrowUp":
|
|
196
|
+
if (level === 1) return;
|
|
197
|
+
move(0, PAN_STEP);
|
|
198
|
+
break;
|
|
199
|
+
case "ArrowDown":
|
|
200
|
+
if (level === 1) return;
|
|
201
|
+
move(0, -48);
|
|
202
|
+
break;
|
|
203
|
+
default: return;
|
|
204
|
+
}
|
|
205
|
+
e.preventDefault();
|
|
206
|
+
};
|
|
207
|
+
const percent = Math.round(level * 100);
|
|
208
|
+
const name = label ?? template(t.mediaZoomableLabel, { alt });
|
|
209
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
210
|
+
id,
|
|
211
|
+
className: [ZoomableImage_module_default.root, className].filter(Boolean).join(" "),
|
|
212
|
+
"data-ratio": aspectRatio,
|
|
213
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
214
|
+
ref: stage,
|
|
215
|
+
className: ZoomableImage_module_default.stage,
|
|
216
|
+
role: "group",
|
|
217
|
+
"aria-roledescription": t.mediaZoomableRole,
|
|
218
|
+
"aria-label": name,
|
|
219
|
+
"aria-describedby": `${id ?? "zoom"}-hint`,
|
|
220
|
+
tabIndex: 0,
|
|
221
|
+
"data-zoomed": level > 1 ? "" : void 0,
|
|
222
|
+
onWheel,
|
|
223
|
+
onDoubleClick: (e) => setZoom(level > 1 ? 1 : 2, local(e.clientX, e.clientY)),
|
|
224
|
+
onPointerDown,
|
|
225
|
+
onPointerMove,
|
|
226
|
+
onPointerUp: onPointerEnd,
|
|
227
|
+
onPointerCancel: onPointerEnd,
|
|
228
|
+
onKeyDown,
|
|
229
|
+
children: /* @__PURE__ */ jsx("img", {
|
|
230
|
+
ref: place,
|
|
231
|
+
className: ZoomableImage_module_default.image,
|
|
232
|
+
src,
|
|
233
|
+
alt,
|
|
234
|
+
draggable: false
|
|
235
|
+
})
|
|
236
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
237
|
+
className: ZoomableImage_module_default.bar,
|
|
238
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
239
|
+
id: `${id ?? "zoom"}-hint`,
|
|
240
|
+
className: ZoomableImage_module_default.hint,
|
|
241
|
+
children: t.mediaZoomableHint
|
|
242
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
243
|
+
className: ZoomableImage_module_default.tools,
|
|
244
|
+
role: "group",
|
|
245
|
+
"aria-label": t.mediaZoomableTools,
|
|
246
|
+
children: [
|
|
247
|
+
/* @__PURE__ */ jsx(IconButton, {
|
|
248
|
+
size: "sm",
|
|
249
|
+
label: t.mediaZoomOut,
|
|
250
|
+
icon: /* @__PURE__ */ jsx(ZoomOutIcon, {}),
|
|
251
|
+
isDisabled: level <= 1,
|
|
252
|
+
onPress: () => setZoom(level / STEP)
|
|
253
|
+
}),
|
|
254
|
+
/* @__PURE__ */ jsx("output", {
|
|
255
|
+
className: ZoomableImage_module_default.level,
|
|
256
|
+
"aria-live": "polite",
|
|
257
|
+
children: template(t.mediaZoomLevel, { percent })
|
|
258
|
+
}),
|
|
259
|
+
/* @__PURE__ */ jsx(IconButton, {
|
|
260
|
+
size: "sm",
|
|
261
|
+
label: t.mediaZoomIn,
|
|
262
|
+
icon: /* @__PURE__ */ jsx(ZoomInIcon, {}),
|
|
263
|
+
isDisabled: level >= maxZoom,
|
|
264
|
+
onPress: () => setZoom(level * STEP)
|
|
265
|
+
}),
|
|
266
|
+
/* @__PURE__ */ jsx(IconButton, {
|
|
267
|
+
size: "sm",
|
|
268
|
+
label: t.mediaZoomFit,
|
|
269
|
+
icon: /* @__PURE__ */ jsx(MaximizeIcon, {}),
|
|
270
|
+
isDisabled: level === 1,
|
|
271
|
+
onPress: () => setZoom(1)
|
|
272
|
+
})
|
|
273
|
+
]
|
|
274
|
+
})]
|
|
275
|
+
})]
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
export { ZoomableImage, clampPan };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './ZoomableImage.css';
|
|
2
|
+
// src/media/ZoomableImage/ZoomableImage.module.css
|
|
3
|
+
var ZoomableImage_module_default = {
|
|
4
|
+
"root": "sti-ZoomableImage-root-ba32d",
|
|
5
|
+
"stage": "sti-ZoomableImage-stage-85efe",
|
|
6
|
+
"image": "sti-ZoomableImage-image-9e073",
|
|
7
|
+
"bar": "sti-ZoomableImage-bar-43c48",
|
|
8
|
+
"hint": "sti-ZoomableImage-hint-55323",
|
|
9
|
+
"tools": "sti-ZoomableImage-tools-79a4d",
|
|
10
|
+
"level": "sti-ZoomableImage-level-fa640"
|
|
11
|
+
};
|
|
12
|
+
export { ZoomableImage_module_default as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
2
|
@layer sti.components {
|
|
3
|
-
.sti-MediaTransport-frame-
|
|
3
|
+
.sti-MediaTransport-frame-50de2 {
|
|
4
4
|
inline-size: 100%;
|
|
5
5
|
min-inline-size: 0;
|
|
6
6
|
container-type: inline-size;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.sti-MediaTransport-root-
|
|
9
|
+
.sti-MediaTransport-root-f74aa {
|
|
10
10
|
align-items: center;
|
|
11
11
|
gap: var(--sti-space-1) var(--sti-space-2);
|
|
12
12
|
box-sizing: border-box;
|
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
display: flex;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.sti-MediaTransport-buttons-
|
|
20
|
+
.sti-MediaTransport-buttons-c42d6, .sti-MediaTransport-tools-d0f8c {
|
|
21
21
|
align-items: center;
|
|
22
22
|
gap: var(--sti-space-1);
|
|
23
23
|
flex: none;
|
|
24
24
|
display: flex;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.sti-MediaTransport-tools-
|
|
27
|
+
.sti-MediaTransport-tools-d0f8c {
|
|
28
28
|
margin-inline-start: auto;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.sti-MediaTransport-seek-
|
|
31
|
+
.sti-MediaTransport-seek-345dd {
|
|
32
32
|
align-items: center;
|
|
33
33
|
gap: var(--sti-space-3);
|
|
34
34
|
min-inline-size: 0;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
display: flex;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.sti-MediaTransport-time-
|
|
40
|
+
.sti-MediaTransport-time-785b7 {
|
|
41
41
|
min-inline-size: 3.25ch;
|
|
42
42
|
color: var(--sti-fg-muted);
|
|
43
43
|
font-family: var(--sti-font-numeric);
|
|
@@ -48,41 +48,47 @@
|
|
|
48
48
|
flex: none;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.sti-MediaTransport-volume-
|
|
51
|
+
.sti-MediaTransport-volume-50eb3 {
|
|
52
52
|
inline-size: 5rem;
|
|
53
53
|
padding-inline: var(--sti-space-1);
|
|
54
54
|
display: flex;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.sti-MediaTransport-speed-
|
|
57
|
+
.sti-MediaTransport-speed-78156 {
|
|
58
58
|
min-inline-size: 3.25rem;
|
|
59
59
|
padding-inline: var(--sti-space-2);
|
|
60
60
|
font-variant-numeric: tabular-nums;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.sti-MediaTransport-toggle-
|
|
63
|
+
.sti-MediaTransport-toggle-a390c {
|
|
64
64
|
border-radius: var(--sti-radius-pill);
|
|
65
65
|
display: inline-flex;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.sti-MediaTransport-toggle-
|
|
68
|
+
.sti-MediaTransport-toggle-a390c[data-on] {
|
|
69
69
|
background: var(--sti-bg-accent-subtle);
|
|
70
70
|
color: var(--sti-fg-accent-strong);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
@container (width <= 30rem) {
|
|
74
|
-
.sti-MediaTransport-seek-
|
|
74
|
+
.sti-MediaTransport-seek-345dd {
|
|
75
75
|
flex-basis: 100%;
|
|
76
76
|
order: -1;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
.sti-MediaTransport-volume-
|
|
79
|
+
.sti-MediaTransport-volume-50eb3 {
|
|
80
|
+
display: none;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@container (width <= 18rem) {
|
|
85
|
+
.sti-MediaTransport-skip-19aab {
|
|
80
86
|
display: none;
|
|
81
87
|
}
|
|
82
88
|
}
|
|
83
89
|
|
|
84
90
|
@media (forced-colors: active) {
|
|
85
|
-
.sti-MediaTransport-toggle-
|
|
91
|
+
.sti-MediaTransport-toggle-a390c[data-on] {
|
|
86
92
|
outline: var(--sti-border-width-strong) solid Highlight;
|
|
87
93
|
outline-offset: calc(var(--sti-border-width-strong) * -1);
|
|
88
94
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useFormatter, 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";
|
|
6
5
|
import { Button } from "../../../components/Button/Button.js";
|
|
6
|
+
import { IconButton } from "../../../components/IconButton/IconButton.js";
|
|
7
|
+
import { PauseIcon } from "../../../icons/generated/PauseIcon.js";
|
|
8
|
+
import { PlayIcon } from "../../../icons/generated/PlayIcon.js";
|
|
7
9
|
import { RefreshIcon } from "../../../icons/generated/RefreshIcon.js";
|
|
8
10
|
import { MaximizeIcon } from "../../../icons/generated/MaximizeIcon.js";
|
|
9
11
|
import { MinimizeIcon } from "../../../icons/generated/MinimizeIcon.js";
|
|
10
|
-
import { PauseIcon } from "../../../icons/generated/PauseIcon.js";
|
|
11
|
-
import { PlayIcon } from "../../../icons/generated/PlayIcon.js";
|
|
12
12
|
import { CaptionsIcon, SkipBackIcon, SkipForwardIcon, VolumeIcon, VolumeLowIcon, VolumeMutedIcon } from "../icons.js";
|
|
13
13
|
import { formatClock } from "../clock.js";
|
|
14
14
|
import { Range } from "../range/Range.js";
|
|
@@ -73,11 +73,13 @@ function MediaTransport({ state, actions, size = "md", skip = 0, showVolume = tr
|
|
|
73
73
|
onPress: actions.toggle
|
|
74
74
|
}), skip > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(IconButton, {
|
|
75
75
|
size: buttonSize,
|
|
76
|
+
className: MediaTransport_module_default.skip,
|
|
76
77
|
label: template(t.mediaRewind, { seconds: skip }),
|
|
77
78
|
icon: /* @__PURE__ */ jsx(SkipBackIcon, {}),
|
|
78
79
|
onPress: () => actions.seekBy(-skip)
|
|
79
80
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
80
81
|
size: buttonSize,
|
|
82
|
+
className: MediaTransport_module_default.skip,
|
|
81
83
|
label: template(t.mediaForward, { seconds: skip }),
|
|
82
84
|
icon: /* @__PURE__ */ jsx(SkipForwardIcon, {}),
|
|
83
85
|
onPress: () => actions.seekBy(skip)
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import './MediaTransport.css';
|
|
2
2
|
// src/media/_internal/transport/MediaTransport.module.css
|
|
3
3
|
var MediaTransport_module_default = {
|
|
4
|
-
"frame": "sti-MediaTransport-frame-
|
|
5
|
-
"root": "sti-MediaTransport-root-
|
|
6
|
-
"buttons": "sti-MediaTransport-buttons-
|
|
7
|
-
"tools": "sti-MediaTransport-tools-
|
|
8
|
-
"seek": "sti-MediaTransport-seek-
|
|
9
|
-
"time": "sti-MediaTransport-time-
|
|
10
|
-
"volume": "sti-MediaTransport-volume-
|
|
11
|
-
"speed": "sti-MediaTransport-speed-
|
|
12
|
-
"toggle": "sti-MediaTransport-toggle-
|
|
4
|
+
"frame": "sti-MediaTransport-frame-50de2",
|
|
5
|
+
"root": "sti-MediaTransport-root-f74aa",
|
|
6
|
+
"buttons": "sti-MediaTransport-buttons-c42d6",
|
|
7
|
+
"tools": "sti-MediaTransport-tools-d0f8c",
|
|
8
|
+
"seek": "sti-MediaTransport-seek-345dd",
|
|
9
|
+
"time": "sti-MediaTransport-time-785b7",
|
|
10
|
+
"volume": "sti-MediaTransport-volume-50eb3",
|
|
11
|
+
"speed": "sti-MediaTransport-speed-78156",
|
|
12
|
+
"toggle": "sti-MediaTransport-toggle-a390c",
|
|
13
|
+
"skip": "sti-MediaTransport-skip-19aab"
|
|
13
14
|
};
|
|
14
15
|
export { MediaTransport_module_default as default };
|
|
@@ -14,12 +14,14 @@ function safeMediaUrl(src, base) {
|
|
|
14
14
|
}
|
|
15
15
|
const ABSOLUTE = /^([a-z][a-z0-9+.-]*:|\/\/)/i;
|
|
16
16
|
/**
|
|
17
|
-
* Adres sayfanın kendi kaynağından değilse true. Göreli
|
|
17
|
+
* Adres sayfanın kendi kaynağından değilse true. Göreli, blob ve veri (`data:`) adresleri yereldir
|
|
18
|
+
* (ağ isteği yapılmaz). Sayfanın
|
|
18
19
|
* kaynağı bilinmiyorsa (sunucu çıktısı) mutlak adres üçüncü taraf sayılır: sunucu ve ilk istemci
|
|
19
20
|
* çıktısı aynı kalır, kaynak bilindikten sonra aynı kaynaktaki adres serbest kalır.
|
|
20
21
|
*/
|
|
21
22
|
function isThirdParty(src, pageOrigin) {
|
|
22
|
-
|
|
23
|
+
const lower = src.trim().toLowerCase();
|
|
24
|
+
if (!ABSOLUTE.test(src) || lower.startsWith("blob:") || lower.startsWith("data:")) return false;
|
|
23
25
|
const url = safeMediaUrl(src, pageOrigin ?? "https://localhost/");
|
|
24
26
|
if (!url) return true;
|
|
25
27
|
return pageOrigin === void 0 ? true : url.origin !== pageOrigin;
|
package/dist/media/index.d.ts
CHANGED
|
@@ -2,8 +2,17 @@ import { AudioPlayer, AudioPlayerProps, AudioSource } from "./AudioPlayer/AudioP
|
|
|
2
2
|
import "./AudioPlayer/index.js";
|
|
3
3
|
import { AudioWaveform, AudioWaveformProps } from "./AudioWaveform/AudioWaveform.js";
|
|
4
4
|
import { computePeaks, loadWaveformPeaks } from "./AudioWaveform/peaks.js";
|
|
5
|
+
import { Embed, EmbedAspectRatio, EmbedProps } from "./Embed/Embed.js";
|
|
6
|
+
import { EmbedProvider, EmbedTarget, PROVIDER_HOST, PROVIDER_NAME, embedSrc, parseEmbedUrl, watchUrl } from "./Embed/embedUrl.js";
|
|
7
|
+
import { CompareImage, ImageCompare, ImageCompareProps } from "./ImageCompare/ImageCompare.js";
|
|
8
|
+
import { CropArea, CropRotation, Point, Size, areaOf, clampOffset, coverScale, cropToBlob, cropWindow, rotatedSize } from "./ImageCropper/cropGeometry.js";
|
|
9
|
+
import { ImageCropper, ImageCropperProps } from "./ImageCropper/ImageCropper.js";
|
|
5
10
|
import { MediaCard, MediaCardProps, MediaKind } from "./MediaCard/MediaCard.js";
|
|
6
11
|
import "./MediaCard/index.js";
|
|
12
|
+
import { MockupDevice, MockupFrame, MockupFrameProps, displayUrl } from "./MockupFrame/MockupFrame.js";
|
|
13
|
+
import "./MockupFrame/index.js";
|
|
14
|
+
import { PdfViewer, PdfViewerProps } from "./PdfViewer/PdfViewer.js";
|
|
7
15
|
import { VideoAspectRatio, VideoCaptionTrack, VideoPlayer, VideoPlayerProps, VideoSource } from "./VideoPlayer/VideoPlayer.js";
|
|
8
16
|
import { VideoThumbnail, VideoThumbnailProps, VideoThumbnailRatio } from "./VideoThumbnail/VideoThumbnail.js";
|
|
9
|
-
|
|
17
|
+
import { ZoomableImage, ZoomableImageProps, clampPan } from "./ZoomableImage/ZoomableImage.js";
|
|
18
|
+
export { AudioPlayer, AudioPlayerProps, AudioSource, AudioWaveform, AudioWaveformProps, CompareImage, CropArea, CropRotation, Embed, EmbedAspectRatio, EmbedProps, EmbedProvider, EmbedTarget, ImageCompare, ImageCompareProps, ImageCropper, ImageCropperProps, MediaCard, MediaCardProps, MediaKind, MockupDevice, MockupFrame, MockupFrameProps, PROVIDER_HOST, PROVIDER_NAME, PdfViewer, PdfViewerProps, Point, Size, VideoAspectRatio, VideoCaptionTrack, VideoPlayer, VideoPlayerProps, VideoSource, VideoThumbnail, VideoThumbnailProps, VideoThumbnailRatio, ZoomableImage, ZoomableImageProps, areaOf, clampOffset, clampPan, computePeaks, coverScale, cropToBlob, cropWindow, displayUrl, embedSrc, loadWaveformPeaks, parseEmbedUrl, rotatedSize, watchUrl };
|
package/dist/media/index.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { AudioPlayer } from "./AudioPlayer/AudioPlayer.js";
|
|
2
2
|
import { AudioWaveform } from "./AudioWaveform/AudioWaveform.js";
|
|
3
3
|
import { computePeaks, loadWaveformPeaks } from "./AudioWaveform/peaks.js";
|
|
4
|
+
import { PROVIDER_HOST, PROVIDER_NAME, embedSrc, parseEmbedUrl, watchUrl } from "./Embed/embedUrl.js";
|
|
5
|
+
import { Embed } from "./Embed/Embed.js";
|
|
6
|
+
import { ImageCompare } from "./ImageCompare/ImageCompare.js";
|
|
7
|
+
import { areaOf, clampOffset, coverScale, cropToBlob, cropWindow, rotatedSize } from "./ImageCropper/cropGeometry.js";
|
|
8
|
+
import { ImageCropper } from "./ImageCropper/ImageCropper.js";
|
|
4
9
|
import { MediaCard } from "./MediaCard/MediaCard.js";
|
|
10
|
+
import { MockupFrame, displayUrl } from "./MockupFrame/MockupFrame.js";
|
|
11
|
+
import { PdfViewer } from "./PdfViewer/PdfViewer.js";
|
|
5
12
|
import { VideoPlayer } from "./VideoPlayer/VideoPlayer.js";
|
|
6
13
|
import { VideoThumbnail } from "./VideoThumbnail/VideoThumbnail.js";
|
|
7
|
-
|
|
14
|
+
import { ZoomableImage, clampPan } from "./ZoomableImage/ZoomableImage.js";
|
|
15
|
+
export { AudioPlayer, AudioWaveform, Embed, ImageCompare, ImageCropper, MediaCard, MockupFrame, PROVIDER_HOST, PROVIDER_NAME, PdfViewer, VideoPlayer, VideoThumbnail, ZoomableImage, areaOf, clampOffset, clampPan, computePeaks, coverScale, cropToBlob, cropWindow, displayUrl, embedSrc, loadWaveformPeaks, parseEmbedUrl, rotatedSize, watchUrl };
|