@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,111 @@
|
|
|
1
|
+
import { useMessages } from "../../provider/UIProvider.js";
|
|
2
|
+
import { template } from "../../text/text.js";
|
|
3
|
+
import { MailIcon } from "../../icons/generated/MailIcon.js";
|
|
4
|
+
import { MessageIcon } from "../../icons/generated/MessageIcon.js";
|
|
5
|
+
import { BriefcaseIcon } from "../../icons/generated/BriefcaseIcon.js";
|
|
6
|
+
import { PhoneIcon } from "../../icons/generated/PhoneIcon.js";
|
|
7
|
+
import { UsersIcon } from "../../icons/generated/UsersIcon.js";
|
|
8
|
+
import { ShareButton } from "../../components/ShareButton/ShareButton.js";
|
|
9
|
+
import ShareBar_module_default from "./ShareBar.module.js";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
// src/site/ShareBar/ShareBar.tsx
|
|
12
|
+
const ALL = [
|
|
13
|
+
"x",
|
|
14
|
+
"linkedin",
|
|
15
|
+
"facebook",
|
|
16
|
+
"whatsapp",
|
|
17
|
+
"email"
|
|
18
|
+
];
|
|
19
|
+
/** Yalnız http(s) adresler paylaşılır. */
|
|
20
|
+
function safeUrl(url) {
|
|
21
|
+
try {
|
|
22
|
+
const u = new URL(url);
|
|
23
|
+
return u.protocol === "https:" || u.protocol === "http:" ? u.href : null;
|
|
24
|
+
} catch {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
/** Ağın paylaşım adresi (adres ve başlık kodlanır). */
|
|
29
|
+
function shareHref(network, url, title) {
|
|
30
|
+
const u = encodeURIComponent(url);
|
|
31
|
+
const t = encodeURIComponent(title);
|
|
32
|
+
switch (network) {
|
|
33
|
+
case "x": return `https://x.com/intent/post?url=${u}&text=${t}`;
|
|
34
|
+
case "linkedin": return `https://www.linkedin.com/sharing/share-offsite/?url=${u}`;
|
|
35
|
+
case "facebook": return `https://www.facebook.com/sharer/sharer.php?u=${u}`;
|
|
36
|
+
case "whatsapp": return `https://wa.me/?text=${encodeURIComponent(`${title} ${url}`)}`;
|
|
37
|
+
case "email": return `mailto:?subject=${t}&body=${u}`;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
const NAMES = {
|
|
41
|
+
x: "X",
|
|
42
|
+
linkedin: "LinkedIn",
|
|
43
|
+
facebook: "Facebook",
|
|
44
|
+
whatsapp: "WhatsApp",
|
|
45
|
+
email: ""
|
|
46
|
+
};
|
|
47
|
+
const ICONS = {
|
|
48
|
+
x: () => /* @__PURE__ */ jsx(MessageIcon, {}),
|
|
49
|
+
linkedin: () => /* @__PURE__ */ jsx(BriefcaseIcon, {}),
|
|
50
|
+
facebook: () => /* @__PURE__ */ jsx(UsersIcon, {}),
|
|
51
|
+
whatsapp: () => /* @__PURE__ */ jsx(PhoneIcon, {}),
|
|
52
|
+
email: () => /* @__PURE__ */ jsx(MailIcon, {})
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Paylaşma şeridi: cihazın paylaşım penceresi ya da bağlantı kopyalama (`ShareButton`) ve ağ
|
|
56
|
+
* paylaşım bağlantıları (X, LinkedIn, Facebook, WhatsApp, e-posta). Ağ bağlantıları yeni sekmede,
|
|
57
|
+
* `noopener noreferrer` ile açılır; adres ve başlık kodlanır; yalnız http(s) adres paylaşılır.
|
|
58
|
+
* Paylaşım için betik yüklenmez, izleme yapılmaz.
|
|
59
|
+
*/
|
|
60
|
+
function ShareBar({ url, title, networks = ALL, showShareButton = true, label, orientation = "horizontal", className, id }) {
|
|
61
|
+
const t = useMessages();
|
|
62
|
+
const href = safeUrl(url);
|
|
63
|
+
if (!href) return null;
|
|
64
|
+
const name = label ?? t.siteShareLabel;
|
|
65
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
66
|
+
id,
|
|
67
|
+
className: [ShareBar_module_default.root, className].filter(Boolean).join(" "),
|
|
68
|
+
"data-orientation": orientation,
|
|
69
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
70
|
+
className: ShareBar_module_default.label,
|
|
71
|
+
"aria-hidden": "true",
|
|
72
|
+
children: name
|
|
73
|
+
}), /* @__PURE__ */ jsxs("ul", {
|
|
74
|
+
className: ShareBar_module_default.list,
|
|
75
|
+
"aria-label": name,
|
|
76
|
+
children: [showShareButton ? /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(ShareButton, {
|
|
77
|
+
url: href,
|
|
78
|
+
title,
|
|
79
|
+
variant: "secondary",
|
|
80
|
+
size: "sm"
|
|
81
|
+
}) }) : null, networks.map((n) => {
|
|
82
|
+
const external = n !== "email";
|
|
83
|
+
const netName = n === "email" ? t.siteShareEmail : template(t.siteShareOn, { network: NAMES[n] });
|
|
84
|
+
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("a", {
|
|
85
|
+
className: ShareBar_module_default.link,
|
|
86
|
+
href: shareHref(n, href, title),
|
|
87
|
+
...external ? {
|
|
88
|
+
target: "_blank",
|
|
89
|
+
rel: "noopener noreferrer"
|
|
90
|
+
} : {},
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ jsx("span", {
|
|
93
|
+
"aria-hidden": "true",
|
|
94
|
+
className: ShareBar_module_default.icon,
|
|
95
|
+
children: ICONS[n]()
|
|
96
|
+
}),
|
|
97
|
+
/* @__PURE__ */ jsx("span", {
|
|
98
|
+
className: ShareBar_module_default.name,
|
|
99
|
+
children: n === "email" ? t.siteSocialEmail : NAMES[n]
|
|
100
|
+
}),
|
|
101
|
+
/* @__PURE__ */ jsxs("span", {
|
|
102
|
+
className: ShareBar_module_default.srOnly,
|
|
103
|
+
children: [`, ${netName}`, external ? ` (${t.opensInNewTab})` : ""]
|
|
104
|
+
})
|
|
105
|
+
]
|
|
106
|
+
}) }, n);
|
|
107
|
+
})]
|
|
108
|
+
})]
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
export { ShareBar, shareHref };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './ShareBar.css';
|
|
2
|
+
// src/site/ShareBar/ShareBar.module.css
|
|
3
|
+
var ShareBar_module_default = {
|
|
4
|
+
"root": "sti-ShareBar-root-ddf14",
|
|
5
|
+
"label": "sti-ShareBar-label-cac4b",
|
|
6
|
+
"list": "sti-ShareBar-list-2af9d",
|
|
7
|
+
"link": "sti-ShareBar-link-bc9f2",
|
|
8
|
+
"icon": "sti-ShareBar-icon-f5fd0",
|
|
9
|
+
"srOnly": "sti-ShareBar-srOnly-eba6e"
|
|
10
|
+
};
|
|
11
|
+
export { ShareBar_module_default as default };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-Showreel-root-39ae8 {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
background: var(--sti-bg-canvas);
|
|
6
|
+
min-block-size: min(80vh, 44rem);
|
|
7
|
+
inline-size: 100%;
|
|
8
|
+
color: var(--sti-fg);
|
|
9
|
+
font-family: var(--sti-font-text);
|
|
10
|
+
display: grid;
|
|
11
|
+
position: relative;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.sti-Showreel-video-29e82 {
|
|
16
|
+
object-fit: cover;
|
|
17
|
+
block-size: 100%;
|
|
18
|
+
inline-size: 100%;
|
|
19
|
+
position: absolute;
|
|
20
|
+
inset: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.sti-Showreel-root-39ae8:after {
|
|
24
|
+
background: linear-gradient(to top,
|
|
25
|
+
var(--sti-bg-canvas) 0%,
|
|
26
|
+
color-mix(in srgb, var(--sti-scrim) 70%, transparent) 55%,
|
|
27
|
+
transparent 100%);
|
|
28
|
+
content: "";
|
|
29
|
+
pointer-events: none;
|
|
30
|
+
position: absolute;
|
|
31
|
+
inset: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sti-Showreel-inner-d7b49 {
|
|
35
|
+
z-index: 1;
|
|
36
|
+
align-content: end;
|
|
37
|
+
justify-items: start;
|
|
38
|
+
gap: var(--sti-space-4);
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
inline-size: 100%;
|
|
41
|
+
max-inline-size: var(--sti-width-container);
|
|
42
|
+
padding: var(--sti-space-24) var(--sti-gutter) var(--sti-space-16);
|
|
43
|
+
margin-inline: auto;
|
|
44
|
+
display: grid;
|
|
45
|
+
position: relative;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.sti-Showreel-eyebrow-f627d {
|
|
49
|
+
color: var(--sti-fg-accent-strong);
|
|
50
|
+
font-size: var(--sti-font-size-sm);
|
|
51
|
+
font-weight: var(--sti-font-weight-semibold);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.sti-Showreel-title-65c9b {
|
|
55
|
+
max-inline-size: 20ch;
|
|
56
|
+
font-family: var(--sti-font-display);
|
|
57
|
+
font-size: var(--sti-font-size-display-xl);
|
|
58
|
+
font-weight: var(--sti-font-weight-bold);
|
|
59
|
+
letter-spacing: var(--sti-tracking-display-xl);
|
|
60
|
+
line-height: var(--sti-line-height-display-xl);
|
|
61
|
+
overflow-wrap: break-word;
|
|
62
|
+
-webkit-hyphens: auto;
|
|
63
|
+
hyphens: auto;
|
|
64
|
+
text-wrap: balance;
|
|
65
|
+
margin: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@media (width <= 40rem) {
|
|
69
|
+
.sti-Showreel-title-65c9b {
|
|
70
|
+
font-size: var(--sti-font-size-display-lg);
|
|
71
|
+
letter-spacing: var(--sti-tracking-display-lg);
|
|
72
|
+
line-height: var(--sti-line-height-display-lg);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sti-Showreel-lead-f7095 {
|
|
77
|
+
max-inline-size: var(--sti-width-measure);
|
|
78
|
+
color: var(--sti-fg-muted);
|
|
79
|
+
font-size: var(--sti-font-size-lead);
|
|
80
|
+
line-height: var(--sti-line-height-lead);
|
|
81
|
+
margin: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.sti-Showreel-actions-e8970 {
|
|
85
|
+
gap: var(--sti-space-3);
|
|
86
|
+
flex-wrap: wrap;
|
|
87
|
+
margin-block-start: var(--sti-space-2);
|
|
88
|
+
display: flex;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.sti-Showreel-toggle-d808a {
|
|
92
|
+
z-index: 1;
|
|
93
|
+
position: absolute;
|
|
94
|
+
inset-block-end: var(--sti-space-6);
|
|
95
|
+
inset-inline-end: var(--sti-gutter);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.sti-Showreel-srOnly-95c9b {
|
|
99
|
+
clip-path: inset(50%);
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
block-size: 1px;
|
|
102
|
+
inline-size: 1px;
|
|
103
|
+
margin: -1px;
|
|
104
|
+
position: absolute;
|
|
105
|
+
overflow: hidden;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface ShowreelProps {
|
|
3
|
+
/** Arka planda sessiz, döngülü oynayan kısa video (MP4/WebM, en çok ~15 sn önerilir). */
|
|
4
|
+
src: string;
|
|
5
|
+
/** Kapak (video yüklenene dek ve hareketi azaltmada gösterilir). */
|
|
6
|
+
poster: string;
|
|
7
|
+
/** Videonun içeriğini anlatan kısa metin (ekran okuyucu için; video süstür). */
|
|
8
|
+
description: string;
|
|
9
|
+
eyebrow?: ReactNode;
|
|
10
|
+
title: ReactNode;
|
|
11
|
+
lead?: ReactNode;
|
|
12
|
+
/** "Filmi izleyin" gibi tam film eylemi (bağlantı). */
|
|
13
|
+
action?: {
|
|
14
|
+
label: string;
|
|
15
|
+
href: string;
|
|
16
|
+
};
|
|
17
|
+
/** Ek eylem alanı. */
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
className?: string;
|
|
20
|
+
id?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Video hero (showreel): tam genişlik sessiz, döngülü arka plan videosu, üstünde okunurluk örtüsü
|
|
24
|
+
* ve başlık. Hareket 5 saniyeden uzun sürdüğü için duraklat/oynat düğmesi hep vardır (WCAG 2.2.2);
|
|
25
|
+
* hareketi azaltma tercihinde video oynamaz, yalnız kapak gösterilir. Video sesi yoktur ve
|
|
26
|
+
* ekran okuyucudan gizlidir; içeriği `description` ile anlatılır.
|
|
27
|
+
*/
|
|
28
|
+
export declare function Showreel({ src, poster, description, eyebrow, title, lead, action, children, className, id }: ShowreelProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useMessages } from "../../provider/UIProvider.js";
|
|
3
|
+
import { Button } from "../../components/Button/Button.js";
|
|
4
|
+
import { IconButton } from "../../components/IconButton/IconButton.js";
|
|
5
|
+
import { PauseIcon } from "../../icons/generated/PauseIcon.js";
|
|
6
|
+
import { PlayIcon } from "../../icons/generated/PlayIcon.js";
|
|
7
|
+
import Showreel_module_default from "./Showreel.module.js";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { useEffect, useRef, useState } from "react";
|
|
10
|
+
// src/site/Showreel/Showreel.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Video hero (showreel): tam genişlik sessiz, döngülü arka plan videosu, üstünde okunurluk örtüsü
|
|
13
|
+
* ve başlık. Hareket 5 saniyeden uzun sürdüğü için duraklat/oynat düğmesi hep vardır (WCAG 2.2.2);
|
|
14
|
+
* hareketi azaltma tercihinde video oynamaz, yalnız kapak gösterilir. Video sesi yoktur ve
|
|
15
|
+
* ekran okuyucudan gizlidir; içeriği `description` ile anlatılır.
|
|
16
|
+
*/
|
|
17
|
+
function Showreel({ src, poster, description, eyebrow, title, lead, action, children, className, id }) {
|
|
18
|
+
const t = useMessages();
|
|
19
|
+
const video = useRef(null);
|
|
20
|
+
const [playing, setPlaying] = useState(false);
|
|
21
|
+
const [reduced, setReduced] = useState(false);
|
|
22
|
+
useEffect(() => {
|
|
23
|
+
const mq = window.matchMedia?.("(prefers-reduced-motion: reduce)");
|
|
24
|
+
const apply = () => {
|
|
25
|
+
const r = Boolean(mq?.matches);
|
|
26
|
+
setReduced(r);
|
|
27
|
+
const v = video.current;
|
|
28
|
+
if (!v) return;
|
|
29
|
+
if (r) {
|
|
30
|
+
v.pause();
|
|
31
|
+
setPlaying(false);
|
|
32
|
+
} else v.play().then(() => setPlaying(true)).catch(() => setPlaying(false));
|
|
33
|
+
};
|
|
34
|
+
apply();
|
|
35
|
+
mq?.addEventListener?.("change", apply);
|
|
36
|
+
return () => mq?.removeEventListener?.("change", apply);
|
|
37
|
+
}, []);
|
|
38
|
+
const toggle = () => {
|
|
39
|
+
const v = video.current;
|
|
40
|
+
if (!v) return;
|
|
41
|
+
if (v.paused) v.play().then(() => setPlaying(true)).catch(() => setPlaying(false));
|
|
42
|
+
else {
|
|
43
|
+
v.pause();
|
|
44
|
+
setPlaying(false);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
48
|
+
id,
|
|
49
|
+
className: [Showreel_module_default.root, className].filter(Boolean).join(" "),
|
|
50
|
+
"data-theme": "dark",
|
|
51
|
+
"aria-labelledby": id ? `${id}-title` : void 0,
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ jsx("video", {
|
|
54
|
+
ref: video,
|
|
55
|
+
className: Showreel_module_default.video,
|
|
56
|
+
src,
|
|
57
|
+
poster,
|
|
58
|
+
muted: true,
|
|
59
|
+
loop: true,
|
|
60
|
+
playsInline: true,
|
|
61
|
+
preload: "metadata",
|
|
62
|
+
"aria-hidden": "true",
|
|
63
|
+
tabIndex: -1
|
|
64
|
+
}),
|
|
65
|
+
/* @__PURE__ */ jsx("p", {
|
|
66
|
+
className: Showreel_module_default.srOnly,
|
|
67
|
+
children: description
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsxs("div", {
|
|
70
|
+
className: Showreel_module_default.inner,
|
|
71
|
+
children: [
|
|
72
|
+
eyebrow ? /* @__PURE__ */ jsx("div", {
|
|
73
|
+
className: Showreel_module_default.eyebrow,
|
|
74
|
+
children: eyebrow
|
|
75
|
+
}) : null,
|
|
76
|
+
/* @__PURE__ */ jsx("h1", {
|
|
77
|
+
id: id ? `${id}-title` : void 0,
|
|
78
|
+
className: Showreel_module_default.title,
|
|
79
|
+
children: title
|
|
80
|
+
}),
|
|
81
|
+
lead ? /* @__PURE__ */ jsx("p", {
|
|
82
|
+
className: Showreel_module_default.lead,
|
|
83
|
+
children: lead
|
|
84
|
+
}) : null,
|
|
85
|
+
action || children ? /* @__PURE__ */ jsxs("div", {
|
|
86
|
+
className: Showreel_module_default.actions,
|
|
87
|
+
children: [action ? /* @__PURE__ */ jsx(Button, {
|
|
88
|
+
variant: "primary",
|
|
89
|
+
size: "lg",
|
|
90
|
+
href: action.href,
|
|
91
|
+
iconStart: /* @__PURE__ */ jsx(PlayIcon, {}),
|
|
92
|
+
children: action.label
|
|
93
|
+
}) : null, children]
|
|
94
|
+
}) : null
|
|
95
|
+
]
|
|
96
|
+
}),
|
|
97
|
+
reduced ? null : /* @__PURE__ */ jsx(IconButton, {
|
|
98
|
+
variant: "secondary",
|
|
99
|
+
size: "sm",
|
|
100
|
+
label: playing ? t.siteShowreelPause : t.siteShowreelPlay,
|
|
101
|
+
icon: playing ? /* @__PURE__ */ jsx(PauseIcon, {}) : /* @__PURE__ */ jsx(PlayIcon, {}),
|
|
102
|
+
onPress: toggle,
|
|
103
|
+
className: Showreel_module_default.toggle
|
|
104
|
+
})
|
|
105
|
+
]
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
export { Showreel };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './Showreel.css';
|
|
2
|
+
// src/site/Showreel/Showreel.module.css
|
|
3
|
+
var Showreel_module_default = {
|
|
4
|
+
"root": "sti-Showreel-root-39ae8",
|
|
5
|
+
"video": "sti-Showreel-video-29e82",
|
|
6
|
+
"inner": "sti-Showreel-inner-d7b49",
|
|
7
|
+
"eyebrow": "sti-Showreel-eyebrow-f627d",
|
|
8
|
+
"title": "sti-Showreel-title-65c9b",
|
|
9
|
+
"lead": "sti-Showreel-lead-f7095",
|
|
10
|
+
"actions": "sti-Showreel-actions-e8970",
|
|
11
|
+
"toggle": "sti-Showreel-toggle-d808a",
|
|
12
|
+
"srOnly": "sti-Showreel-srOnly-95c9b"
|
|
13
|
+
};
|
|
14
|
+
export { Showreel_module_default as default };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-SocialLinks-root-085a0 {
|
|
4
|
+
gap: var(--sti-space-2);
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
list-style: none;
|
|
9
|
+
display: flex;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.sti-SocialLinks-root-085a0[data-variant="text"] {
|
|
13
|
+
gap: var(--sti-space-1);
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.sti-SocialLinks-link-1ab47 {
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: var(--sti-space-2);
|
|
20
|
+
border-radius: var(--sti-radius-pill);
|
|
21
|
+
color: var(--sti-fg);
|
|
22
|
+
transition: background-color var(--sti-duration-fast) var(--sti-ease-standard),
|
|
23
|
+
border-color var(--sti-duration-fast) var(--sti-ease-standard);
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.sti-SocialLinks-root-085a0[data-variant="icon"] .sti-SocialLinks-link-1ab47 {
|
|
29
|
+
inline-size: var(--sti-control-h-lg);
|
|
30
|
+
block-size: var(--sti-control-h-lg);
|
|
31
|
+
border: var(--sti-border-width) solid var(--sti-border);
|
|
32
|
+
justify-content: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.sti-SocialLinks-root-085a0[data-variant="icon"][data-size="sm"] .sti-SocialLinks-link-1ab47 {
|
|
36
|
+
inline-size: var(--sti-control-h-md);
|
|
37
|
+
block-size: var(--sti-control-h-md);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.sti-SocialLinks-root-085a0[data-variant="icon"] .sti-SocialLinks-link-1ab47:hover {
|
|
41
|
+
border-color: var(--sti-border-strong);
|
|
42
|
+
background: var(--sti-bg-surface-hover);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.sti-SocialLinks-root-085a0[data-variant="text"] .sti-SocialLinks-link-1ab47 {
|
|
46
|
+
min-block-size: var(--sti-control-h-sm);
|
|
47
|
+
color: var(--sti-fg-muted);
|
|
48
|
+
font-size: var(--sti-font-size-md);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.sti-SocialLinks-root-085a0[data-variant="text"] .sti-SocialLinks-link-1ab47:hover {
|
|
52
|
+
color: var(--sti-fg);
|
|
53
|
+
text-underline-offset: .2em;
|
|
54
|
+
text-decoration: underline;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.sti-SocialLinks-link-1ab47:focus-visible {
|
|
58
|
+
outline: var(--sti-focus-ring-width) solid var(--sti-focus-ring);
|
|
59
|
+
outline-offset: var(--sti-focus-ring-offset);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.sti-SocialLinks-glyph-65148 {
|
|
63
|
+
inline-size: var(--sti-space-5);
|
|
64
|
+
block-size: var(--sti-space-5);
|
|
65
|
+
place-items: center;
|
|
66
|
+
display: inline-grid;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.sti-SocialLinks-glyph-65148 > svg {
|
|
70
|
+
block-size: 100%;
|
|
71
|
+
inline-size: 100%;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.sti-SocialLinks-srOnly-1f385 {
|
|
75
|
+
clip-path: inset(50%);
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
block-size: 1px;
|
|
78
|
+
inline-size: 1px;
|
|
79
|
+
margin: -1px;
|
|
80
|
+
position: absolute;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (prefers-reduced-motion: reduce) {
|
|
85
|
+
.sti-SocialLinks-link-1ab47 {
|
|
86
|
+
transition: none;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media (forced-colors: active) {
|
|
91
|
+
.sti-SocialLinks-root-085a0[data-variant="icon"] .sti-SocialLinks-link-1ab47 {
|
|
92
|
+
border-color: linktext;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export type SocialNetwork = "instagram" | "linkedin" | "x" | "facebook" | "youtube" | "tiktok" | "behance" | "dribbble" | "website" | "email" | "phone";
|
|
3
|
+
export interface SocialLink {
|
|
4
|
+
network: SocialNetwork;
|
|
5
|
+
href: string;
|
|
6
|
+
/** Görünür ad (verilmezse ağın adı). */
|
|
7
|
+
label?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Ağın kendi logosu (uygulamanın lisanslı SVG'si). Verilmezse genel bir simge çizilir; paket
|
|
10
|
+
* marka logosu taşımaz.
|
|
11
|
+
*/
|
|
12
|
+
icon?: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export interface SocialLinksProps {
|
|
15
|
+
links: readonly SocialLink[];
|
|
16
|
+
/** Listenin adı ("Sosyal medya hesaplarımız"). */
|
|
17
|
+
label?: string;
|
|
18
|
+
/** Bağlantı adlarına eklenecek sahip ("Ayşe Yılmaz, LinkedIn"). */
|
|
19
|
+
owner?: string;
|
|
20
|
+
/** `icon`: yalnız simge (yuvarlak düğme); `text`: simge ve ad. */
|
|
21
|
+
variant?: "icon" | "text";
|
|
22
|
+
size?: "sm" | "md";
|
|
23
|
+
className?: string;
|
|
24
|
+
id?: string;
|
|
25
|
+
}
|
|
26
|
+
/** Yalnız güvenli şemalar: http(s), mailto, tel. Diğerleri bağlantı olarak çizilmez. */
|
|
27
|
+
export declare function safeSocialHref(href: string): string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Sosyal medya ve iletişim bağlantıları: yuvarlak simge düğmeleri ya da simge ve ad. Dış ağlar
|
|
30
|
+
* yeni sekmede `noopener noreferrer` ile açılır ve bu okunur; e-posta ve telefon aynı sekmede.
|
|
31
|
+
* Yalnız http(s), mailto ve tel adresleri kabul edilir.
|
|
32
|
+
*/
|
|
33
|
+
export declare function SocialLinks({ links, label, owner, variant, size, className, id }: SocialLinksProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { useMessages } from "../../provider/UIProvider.js";
|
|
2
|
+
import { PlayIcon } from "../../icons/generated/PlayIcon.js";
|
|
3
|
+
import { MailIcon } from "../../icons/generated/MailIcon.js";
|
|
4
|
+
import { MessageIcon } from "../../icons/generated/MessageIcon.js";
|
|
5
|
+
import { VideoIcon } from "../../icons/generated/VideoIcon.js";
|
|
6
|
+
import { BriefcaseIcon } from "../../icons/generated/BriefcaseIcon.js";
|
|
7
|
+
import { CameraIcon } from "../../icons/generated/CameraIcon.js";
|
|
8
|
+
import { GlobeIcon } from "../../icons/generated/GlobeIcon.js";
|
|
9
|
+
import { PaletteIcon } from "../../icons/generated/PaletteIcon.js";
|
|
10
|
+
import { PhoneIcon } from "../../icons/generated/PhoneIcon.js";
|
|
11
|
+
import { UsersIcon } from "../../icons/generated/UsersIcon.js";
|
|
12
|
+
import SocialLinks_module_default from "./SocialLinks.module.js";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
// src/site/SocialLinks/SocialLinks.tsx
|
|
15
|
+
const NAMES = {
|
|
16
|
+
instagram: "Instagram",
|
|
17
|
+
linkedin: "LinkedIn",
|
|
18
|
+
x: "X",
|
|
19
|
+
facebook: "Facebook",
|
|
20
|
+
youtube: "YouTube",
|
|
21
|
+
tiktok: "TikTok",
|
|
22
|
+
behance: "Behance",
|
|
23
|
+
dribbble: "Dribbble",
|
|
24
|
+
website: "",
|
|
25
|
+
email: "",
|
|
26
|
+
phone: ""
|
|
27
|
+
};
|
|
28
|
+
/** Ağın genel simgesi (paket marka logosu taşımaz; logo `icon` ile verilir). */
|
|
29
|
+
const GLYPHS = {
|
|
30
|
+
instagram: () => /* @__PURE__ */ jsx(CameraIcon, {}),
|
|
31
|
+
linkedin: () => /* @__PURE__ */ jsx(BriefcaseIcon, {}),
|
|
32
|
+
x: () => /* @__PURE__ */ jsx(MessageIcon, {}),
|
|
33
|
+
facebook: () => /* @__PURE__ */ jsx(UsersIcon, {}),
|
|
34
|
+
youtube: () => /* @__PURE__ */ jsx(PlayIcon, {}),
|
|
35
|
+
tiktok: () => /* @__PURE__ */ jsx(VideoIcon, {}),
|
|
36
|
+
behance: () => /* @__PURE__ */ jsx(PaletteIcon, {}),
|
|
37
|
+
dribbble: () => /* @__PURE__ */ jsx(PaletteIcon, {}),
|
|
38
|
+
website: () => /* @__PURE__ */ jsx(GlobeIcon, {}),
|
|
39
|
+
email: () => /* @__PURE__ */ jsx(MailIcon, {}),
|
|
40
|
+
phone: () => /* @__PURE__ */ jsx(PhoneIcon, {})
|
|
41
|
+
};
|
|
42
|
+
/** Yalnız güvenli şemalar: http(s), mailto, tel. Diğerleri bağlantı olarak çizilmez. */
|
|
43
|
+
function safeSocialHref(href) {
|
|
44
|
+
try {
|
|
45
|
+
const url = new URL(href);
|
|
46
|
+
return [
|
|
47
|
+
"https:",
|
|
48
|
+
"http:",
|
|
49
|
+
"mailto:",
|
|
50
|
+
"tel:"
|
|
51
|
+
].includes(url.protocol) ? url.href : null;
|
|
52
|
+
} catch {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Sosyal medya ve iletişim bağlantıları: yuvarlak simge düğmeleri ya da simge ve ad. Dış ağlar
|
|
58
|
+
* yeni sekmede `noopener noreferrer` ile açılır ve bu okunur; e-posta ve telefon aynı sekmede.
|
|
59
|
+
* Yalnız http(s), mailto ve tel adresleri kabul edilir.
|
|
60
|
+
*/
|
|
61
|
+
function SocialLinks({ links, label, owner, variant = "icon", size = "md", className, id }) {
|
|
62
|
+
const t = useMessages();
|
|
63
|
+
const nameOf = (l) => l.label ?? (l.network === "website" ? t.siteSocialWebsite : l.network === "email" ? t.siteSocialEmail : l.network === "phone" ? t.siteSocialPhone : NAMES[l.network]);
|
|
64
|
+
return /* @__PURE__ */ jsx("ul", {
|
|
65
|
+
id,
|
|
66
|
+
className: [SocialLinks_module_default.root, className].filter(Boolean).join(" "),
|
|
67
|
+
"aria-label": label,
|
|
68
|
+
"data-variant": variant,
|
|
69
|
+
"data-size": size,
|
|
70
|
+
children: links.map((l) => {
|
|
71
|
+
const href = safeSocialHref(l.href);
|
|
72
|
+
if (!href) return null;
|
|
73
|
+
const external = href.startsWith("http");
|
|
74
|
+
const name = nameOf(l);
|
|
75
|
+
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs("a", {
|
|
76
|
+
className: SocialLinks_module_default.link,
|
|
77
|
+
href,
|
|
78
|
+
...external ? {
|
|
79
|
+
target: "_blank",
|
|
80
|
+
rel: "noopener noreferrer"
|
|
81
|
+
} : {},
|
|
82
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
83
|
+
className: SocialLinks_module_default.glyph,
|
|
84
|
+
"aria-hidden": "true",
|
|
85
|
+
children: l.icon ?? GLYPHS[l.network]()
|
|
86
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
87
|
+
className: variant === "icon" ? SocialLinks_module_default.srOnly : SocialLinks_module_default.name,
|
|
88
|
+
children: [owner && variant === "icon" ? `${owner}, ${name}` : name, external ? /* @__PURE__ */ jsx("span", {
|
|
89
|
+
className: SocialLinks_module_default.srOnly,
|
|
90
|
+
children: ` (${t.opensInNewTab})`
|
|
91
|
+
}) : null]
|
|
92
|
+
})]
|
|
93
|
+
}) }, `${l.network}-${href}`);
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
export { SocialLinks, safeSocialHref };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import './SocialLinks.css';
|
|
2
|
+
// src/site/SocialLinks/SocialLinks.module.css
|
|
3
|
+
var SocialLinks_module_default = {
|
|
4
|
+
"root": "sti-SocialLinks-root-085a0",
|
|
5
|
+
"link": "sti-SocialLinks-link-1ab47",
|
|
6
|
+
"glyph": "sti-SocialLinks-glyph-65148",
|
|
7
|
+
"srOnly": "sti-SocialLinks-srOnly-1f385"
|
|
8
|
+
};
|
|
9
|
+
export { SocialLinks_module_default as default };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
|
|
2
|
+
@layer sti.components {
|
|
3
|
+
.sti-StatsBand-list-1eeab {
|
|
4
|
+
gap: var(--sti-space-8) var(--sti-space-6);
|
|
5
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
|
|
6
|
+
margin: 0;
|
|
7
|
+
display: grid;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sti-StatsBand-list-1eeab[data-count="2"] {
|
|
11
|
+
grid-template-columns: repeat(auto-fit,
|
|
12
|
+
minmax(min(100%, max(10rem, calc((100% - 1 * var(--sti-space-6)) / 2))), 1fr));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.sti-StatsBand-list-1eeab[data-count="3"] {
|
|
16
|
+
grid-template-columns: repeat(auto-fit,
|
|
17
|
+
minmax(min(100%, max(10rem, calc((100% - 2 * var(--sti-space-6)) / 3))), 1fr));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.sti-StatsBand-list-1eeab[data-count="4"] {
|
|
21
|
+
grid-template-columns: repeat(auto-fit,
|
|
22
|
+
minmax(min(100%, max(10rem, calc((100% - 3 * var(--sti-space-6)) / 4))), 1fr));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.sti-StatsBand-item-3be2c {
|
|
26
|
+
gap: var(--sti-space-2);
|
|
27
|
+
border-inline-start: var(--sti-border-width-strong) solid var(--sti-fill-accent);
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
padding-inline-start: var(--sti-space-5);
|
|
30
|
+
display: flex;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.sti-StatsBand-label-fbc18 {
|
|
34
|
+
color: var(--sti-fg);
|
|
35
|
+
font-size: var(--sti-font-size-md);
|
|
36
|
+
font-weight: var(--sti-font-weight-semibold);
|
|
37
|
+
order: 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.sti-StatsBand-value-ee227 {
|
|
41
|
+
font-family: var(--sti-font-display);
|
|
42
|
+
font-size: var(--sti-font-size-4xl);
|
|
43
|
+
font-weight: var(--sti-font-weight-bold);
|
|
44
|
+
line-height: var(--sti-line-height-4xl);
|
|
45
|
+
letter-spacing: var(--sti-tracking-4xl);
|
|
46
|
+
font-variant-numeric: tabular-nums;
|
|
47
|
+
order: 1;
|
|
48
|
+
margin: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.sti-StatsBand-description-b03cf {
|
|
52
|
+
color: var(--sti-fg-muted);
|
|
53
|
+
font-size: var(--sti-font-size-sm);
|
|
54
|
+
line-height: var(--sti-line-height-sm);
|
|
55
|
+
order: 3;
|
|
56
|
+
margin: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|