@sovereignsquad/gds-core 6.10.0 → 6.12.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/dist/AISearchCard.js +97 -0
- package/dist/AISearchCard.mjs +73 -0
- package/dist/AccentPanel.js +94 -0
- package/dist/AccentPanel.mjs +69 -0
- package/dist/AccessRecoveryPanel.js +164 -0
- package/dist/AccessRecoveryPanel.mjs +140 -0
- package/dist/AccessSummary.js +57 -0
- package/dist/AccessSummary.mjs +33 -0
- package/dist/AccessibilityEvidence.js +131 -0
- package/dist/AccessibilityEvidence.mjs +104 -0
- package/dist/ActionBar.js +84 -0
- package/dist/ActionBar.mjs +60 -0
- package/dist/AdvancedDataTable.client.js +204 -0
- package/dist/AdvancedDataTable.client.mjs +180 -0
- package/dist/ArticleShell.js +43 -0
- package/dist/ArticleShell.mjs +19 -0
- package/dist/AsyncSurface.js +156 -0
- package/dist/AsyncSurface.mjs +132 -0
- package/dist/AuthShell.js +72 -0
- package/dist/AuthShell.mjs +48 -0
- package/dist/BottomTabBar.js +152 -0
- package/dist/BottomTabBar.mjs +128 -0
- package/dist/BottomTabBar.shared.js +31 -0
- package/dist/BottomTabBar.shared.mjs +6 -0
- package/dist/BoundedPreviewSurface.js +54 -0
- package/dist/BoundedPreviewSurface.mjs +30 -0
- package/dist/BrowseSelection.client.js +50 -0
- package/dist/BrowseSelection.client.mjs +26 -0
- package/dist/BrowseSurface.js +151 -0
- package/dist/BrowseSurface.mjs +127 -0
- package/dist/CardContracts.js +97 -0
- package/dist/CardContracts.mjs +68 -0
- package/dist/ChartTokenPanel.js +102 -0
- package/dist/ChartTokenPanel.mjs +78 -0
- package/dist/ChatSurface.js +217 -0
- package/dist/ChatSurface.mjs +190 -0
- package/dist/ChoiceChip.js +257 -0
- package/dist/ChoiceChip.mjs +230 -0
- package/dist/CommandPalette.client.js +129 -0
- package/dist/CommandPalette.client.mjs +103 -0
- package/dist/ConfirmDialog.js +65 -0
- package/dist/ConfirmDialog.mjs +41 -0
- package/dist/ConsumerDashboardGrid.js +35 -0
- package/dist/ConsumerDashboardGrid.mjs +11 -0
- package/dist/ConsumerSection.js +38 -0
- package/dist/ConsumerSection.mjs +14 -0
- package/dist/CreatorTheme.js +146 -0
- package/dist/CreatorTheme.mjs +120 -0
- package/dist/CtaButtonGroup.js +38 -0
- package/dist/CtaButtonGroup.mjs +14 -0
- package/dist/DataToolbar.js +63 -0
- package/dist/DataToolbar.mjs +39 -0
- package/dist/DetailFactsTable.js +134 -0
- package/dist/DetailFactsTable.mjs +110 -0
- package/dist/DetailFactsTable.shared.js +41 -0
- package/dist/DetailFactsTable.shared.mjs +16 -0
- package/dist/DetailProfileShell.js +52 -0
- package/dist/DetailProfileShell.mjs +28 -0
- package/dist/DiscoveryShell.js +189 -0
- package/dist/DiscoveryShell.mjs +164 -0
- package/dist/DocsCodeBlock.js +67 -0
- package/dist/DocsCodeBlock.mjs +43 -0
- package/dist/DocsCodeDisclosure.js +74 -0
- package/dist/DocsCodeDisclosure.mjs +50 -0
- package/dist/DocsPageShell.js +55 -0
- package/dist/DocsPageShell.mjs +31 -0
- package/dist/DocsShell.js +205 -0
- package/dist/DocsShell.mjs +180 -0
- package/dist/EditorialCard.js +140 -0
- package/dist/EditorialCard.mjs +116 -0
- package/dist/EditorialHero.js +247 -0
- package/dist/EditorialHero.mjs +223 -0
- package/dist/EmptyState.js +37 -0
- package/dist/EmptyState.mjs +13 -0
- package/dist/EvidencePanel.js +85 -0
- package/dist/EvidencePanel.mjs +61 -0
- package/dist/FeatureBand.js +90 -0
- package/dist/FeatureBand.mjs +66 -0
- package/dist/FeedbackRuntime.client.js +264 -0
- package/dist/FeedbackRuntime.client.mjs +237 -0
- package/dist/FilterDrawer.js +67 -0
- package/dist/FilterDrawer.mjs +43 -0
- package/dist/FitScoreChip.js +72 -0
- package/dist/FitScoreChip.mjs +48 -0
- package/dist/FoodMenuSection.js +79 -0
- package/dist/FoodMenuSection.mjs +55 -0
- package/dist/FormField.js +37 -0
- package/dist/FormField.mjs +13 -0
- package/dist/GameBoardTile.js +63 -0
- package/dist/GameBoardTile.mjs +39 -0
- package/dist/GdsAccentContrastMatrix.js +102 -0
- package/dist/GdsAccentContrastMatrix.mjs +85 -0
- package/dist/GdsAccessGate.js +226 -0
- package/dist/GdsAccessGate.mjs +204 -0
- package/dist/GdsAccessGateRuntime.js +236 -0
- package/dist/GdsAccessGateRuntime.mjs +203 -0
- package/dist/GdsAccessibilitySystemReference.js +78 -0
- package/dist/GdsAccessibilitySystemReference.mjs +54 -0
- package/dist/GdsAssetManager.client.js +208 -0
- package/dist/GdsAssetManager.client.mjs +180 -0
- package/dist/GdsBadge.js +115 -0
- package/dist/GdsBadge.mjs +91 -0
- package/dist/GdsBadge.shared-D2Cs4eos.d.mts +35 -0
- package/dist/GdsBadge.shared-D2Cs4eos.d.ts +35 -0
- package/dist/GdsBadge.shared.js +42 -0
- package/dist/GdsBadge.shared.mjs +16 -0
- package/dist/GdsBadgeStack.js +58 -0
- package/dist/GdsBadgeStack.mjs +33 -0
- package/dist/GdsBreadcrumbs.js +42 -0
- package/dist/GdsBreadcrumbs.mjs +18 -0
- package/dist/GdsBulkActionBar.js +73 -0
- package/dist/GdsBulkActionBar.mjs +49 -0
- package/dist/GdsButtonFeedbackReference.js +289 -0
- package/dist/GdsButtonFeedbackReference.mjs +273 -0
- package/dist/GdsChart.js +169 -0
- package/dist/GdsChart.mjs +145 -0
- package/dist/GdsChart.shared.js +247 -0
- package/dist/GdsChart.shared.mjs +215 -0
- package/dist/GdsColorSystemReference.js +116 -0
- package/dist/GdsColorSystemReference.mjs +100 -0
- package/dist/GdsCompareButton.js +79 -0
- package/dist/GdsCompareButton.mjs +55 -0
- package/dist/GdsContentDesign.js +371 -0
- package/dist/GdsContentDesign.mjs +339 -0
- package/dist/GdsCountBadge.js +70 -0
- package/dist/GdsCountBadge.mjs +46 -0
- package/dist/GdsDataTable.client.js +412 -0
- package/dist/GdsDataTable.client.mjs +385 -0
- package/dist/GdsDateInput.client.js +116 -0
- package/dist/GdsDateInput.client.mjs +90 -0
- package/dist/GdsDensity.js +46 -0
- package/dist/GdsDensity.mjs +20 -0
- package/dist/GdsDensitySpacingSystemReference.js +70 -0
- package/dist/GdsDensitySpacingSystemReference.mjs +52 -0
- package/dist/GdsDesignHandoff.js +250 -0
- package/dist/GdsDesignHandoff.mjs +222 -0
- package/dist/GdsDesignRuleProfilePanel.js +80 -0
- package/dist/GdsDesignRuleProfilePanel.mjs +61 -0
- package/dist/GdsForm.client.js +303 -0
- package/dist/GdsForm.client.mjs +271 -0
- package/dist/GdsFormControls.js +193 -0
- package/dist/GdsFormControls.mjs +166 -0
- package/dist/GdsGeneratedAvatar.js +86 -0
- package/dist/GdsGeneratedAvatar.mjs +65 -0
- package/dist/GdsGeneratedAvatar.shared.js +34 -0
- package/dist/GdsGeneratedAvatar.shared.mjs +10 -0
- package/dist/GdsGeneratedHero.js +277 -0
- package/dist/GdsGeneratedHero.mjs +256 -0
- package/dist/GdsGeneratedMark.js +90 -0
- package/dist/GdsGeneratedMark.mjs +66 -0
- package/dist/GdsGeneratedThumbnail.js +301 -0
- package/dist/GdsGeneratedThumbnail.mjs +280 -0
- package/dist/GdsI18nRuntime.js +83 -0
- package/dist/GdsI18nRuntime.mjs +52 -0
- package/dist/GdsI18nRuntime.shared.js +232 -0
- package/dist/GdsI18nRuntime.shared.mjs +198 -0
- package/dist/GdsIconBadge.js +60 -0
- package/dist/GdsIconBadge.mjs +36 -0
- package/dist/GdsIconSystemReference.js +128 -0
- package/dist/GdsIconSystemReference.mjs +104 -0
- package/dist/GdsInlineLink.js +42 -0
- package/dist/{chunk-W5O2JSVK.mjs → GdsInlineLink.mjs} +1 -3
- package/dist/GdsLogoLockup.js +131 -0
- package/dist/GdsLogoLockup.mjs +107 -0
- package/dist/GdsMap.client.js +395 -0
- package/dist/GdsMap.client.mjs +358 -0
- package/dist/GdsMapBasemapWash.js +51 -0
- package/dist/GdsMapBasemapWash.mjs +25 -0
- package/dist/GdsMapFilterRail.js +84 -0
- package/dist/GdsMapFilterRail.mjs +60 -0
- package/dist/GdsMapPinBadge.js +95 -0
- package/dist/{chunk-NTNVQZJU.mjs → GdsMapPinBadge.mjs} +12 -30
- package/dist/GdsMapPinBadge.shared.js +43 -0
- package/dist/GdsMapPinBadge.shared.mjs +14 -0
- package/dist/GdsMapPinPreviewCard.js +134 -0
- package/dist/GdsMapPinPreviewCard.mjs +110 -0
- package/dist/GdsMessageThread.js +92 -0
- package/dist/GdsMessageThread.mjs +68 -0
- package/dist/GdsMeter.js +46 -0
- package/dist/GdsMeter.mjs +22 -0
- package/dist/GdsMotionSystemReference.js +124 -0
- package/dist/GdsMotionSystemReference.mjs +106 -0
- package/dist/GdsNotificationBell.js +78 -0
- package/dist/GdsNotificationBell.mjs +54 -0
- package/dist/GdsPageTemplateFrame.js +178 -0
- package/dist/GdsPageTemplateFrame.mjs +150 -0
- package/dist/GdsPageTemplates.client.js +129 -0
- package/dist/GdsPageTemplates.client.mjs +104 -0
- package/dist/GdsPageTemplates.js +279 -0
- package/dist/GdsPageTemplates.mjs +247 -0
- package/dist/GdsPageTemplates.shared.js +331 -0
- package/dist/GdsPageTemplates.shared.mjs +303 -0
- package/dist/GdsPictogramSystemReference.js +288 -0
- package/dist/GdsPictogramSystemReference.mjs +264 -0
- package/dist/GdsPinSystemReference.js +164 -0
- package/dist/GdsPinSystemReference.mjs +147 -0
- package/dist/GdsPrimitives.js +84 -0
- package/dist/GdsPrimitives.mjs +62 -0
- package/dist/GdsRatingDisplay.js +61 -0
- package/dist/GdsRatingDisplay.mjs +37 -0
- package/dist/GdsReleaseNotes.client.js +126 -0
- package/dist/GdsReleaseNotes.client.mjs +102 -0
- package/dist/GdsRemovableTag.js +61 -0
- package/dist/GdsRemovableTag.mjs +37 -0
- package/dist/GdsResourceManager.client.js +280 -0
- package/dist/GdsResourceManager.client.mjs +254 -0
- package/dist/GdsRichTextEditor.client.js +146 -0
- package/dist/GdsRichTextEditor.client.mjs +112 -0
- package/dist/GdsSavedIndicator.js +62 -0
- package/dist/GdsSavedIndicator.mjs +38 -0
- package/dist/GdsSchemaForm.client.js +679 -0
- package/dist/GdsSchemaForm.client.mjs +650 -0
- package/dist/GdsShapeElevationSystemReference.js +140 -0
- package/dist/GdsShapeElevationSystemReference.mjs +125 -0
- package/dist/GdsShapeScope.js +44 -0
- package/dist/GdsShapeScope.mjs +19 -0
- package/dist/GdsTableScrollContainer.js +46 -0
- package/dist/GdsTableScrollContainer.mjs +22 -0
- package/dist/GdsThreadList.js +118 -0
- package/dist/GdsThreadList.mjs +94 -0
- package/dist/GdsTour.client.js +399 -0
- package/dist/GdsTour.client.mjs +380 -0
- package/dist/GdsTreeView.js +194 -0
- package/dist/GdsTreeView.mjs +170 -0
- package/dist/GdsTypographySystemReference.js +77 -0
- package/dist/GdsTypographySystemReference.mjs +57 -0
- package/dist/GdsViewToggle.js +48 -0
- package/dist/GdsViewToggle.mjs +24 -0
- package/dist/GdsViewportFrame.js +61 -0
- package/dist/GdsViewportFrame.mjs +37 -0
- package/dist/HeroSearchPanel.client.js +135 -0
- package/dist/HeroSearchPanel.client.mjs +109 -0
- package/dist/KanbanBoard.client.js +400 -0
- package/dist/KanbanBoard.client.mjs +382 -0
- package/dist/LayoutBlocks.js +331 -0
- package/dist/LayoutBlocks.mjs +301 -0
- package/dist/LayoutPrimitives.js +501 -0
- package/dist/LayoutPrimitives.mjs +465 -0
- package/dist/LayoutTemplatePreview.client.js +172 -0
- package/dist/LayoutTemplatePreview.client.mjs +151 -0
- package/dist/ListingCard.js +397 -0
- package/dist/ListingCard.mjs +373 -0
- package/dist/ListingCard.shared.js +49 -0
- package/dist/ListingCard.shared.mjs +18 -0
- package/dist/ListingPrimitives.js +116 -0
- package/dist/ListingPrimitives.mjs +89 -0
- package/dist/ListingState.client.js +98 -0
- package/dist/ListingState.client.mjs +72 -0
- package/dist/MapPanel.js +93 -0
- package/dist/MapPanel.mjs +69 -0
- package/dist/MaturityCapabilities.js +211 -0
- package/dist/MaturityCapabilities.mjs +184 -0
- package/dist/MeaningBadge.js +65 -0
- package/dist/MeaningBadge.mjs +41 -0
- package/dist/MediaCard.js +61 -0
- package/dist/MediaCard.mjs +37 -0
- package/dist/MediaField.js +117 -0
- package/dist/MediaField.mjs +93 -0
- package/dist/MediaPreviewCard.js +90 -0
- package/dist/MediaPreviewCard.mjs +66 -0
- package/dist/MediaWithFallback.js +112 -0
- package/dist/MediaWithFallback.mjs +88 -0
- package/dist/MetricCard.js +60 -0
- package/dist/MetricCard.mjs +36 -0
- package/dist/Notifications.client.js +301 -0
- package/dist/Notifications.client.mjs +273 -0
- package/dist/Notifications.js +220 -0
- package/dist/Notifications.mjs +194 -0
- package/dist/Notifications.shared.js +52 -0
- package/dist/Notifications.shared.mjs +26 -0
- package/dist/NumberStepper.js +124 -0
- package/dist/NumberStepper.mjs +100 -0
- package/dist/OverlayManager.client.js +300 -0
- package/dist/OverlayManager.client.mjs +270 -0
- package/dist/OwnedContrastSurface.js +83 -0
- package/dist/OwnedContrastSurface.mjs +58 -0
- package/dist/PageHeader.js +48 -0
- package/dist/PageHeader.mjs +24 -0
- package/dist/{PartnerDiscovery-pdJmaKwq.d.ts → PartnerDiscovery-BUwzROQc.d.mts} +37 -35
- package/dist/{PartnerDiscovery-Dy3YnO02.d.mts → PartnerDiscovery-DmIj5bAw.d.ts} +37 -35
- package/dist/PartnerDiscovery.js +629 -0
- package/dist/{chunk-PCG34VRY.mjs → PartnerDiscovery.mjs} +19 -106
- package/dist/PartnerDiscovery.shared.js +116 -0
- package/dist/PartnerDiscovery.shared.mjs +84 -0
- package/dist/PeriodSelector.js +69 -0
- package/dist/PeriodSelector.mjs +45 -0
- package/dist/PlaceholderPanel.js +59 -0
- package/dist/PlaceholderPanel.mjs +35 -0
- package/dist/PlaybackControls.client.js +91 -0
- package/dist/PlaybackControls.client.mjs +65 -0
- package/dist/PlaybackSurface.js +107 -0
- package/dist/PlaybackSurface.mjs +83 -0
- package/dist/ProductCard.js +75 -0
- package/dist/ProductCard.mjs +51 -0
- package/dist/ProgressCard.js +58 -0
- package/dist/ProgressCard.mjs +34 -0
- package/dist/ProviderCTA.js +104 -0
- package/dist/ProviderCTA.mjs +80 -0
- package/dist/ProviderIdentityButtons.js +221 -0
- package/dist/ProviderIdentityButtons.mjs +192 -0
- package/dist/PublicBrandFooter.js +70 -0
- package/dist/PublicBrandFooter.mjs +46 -0
- package/dist/PublicCaptureFlow.js +125 -0
- package/dist/PublicCaptureFlow.mjs +95 -0
- package/dist/PublicFlowShell.js +128 -0
- package/dist/PublicFlowShell.mjs +104 -0
- package/dist/PublicFoodCard.js +153 -0
- package/dist/PublicFoodCard.mjs +129 -0
- package/dist/PublicNav.js +51 -0
- package/dist/PublicNav.mjs +27 -0
- package/dist/PublicProductCard.js +145 -0
- package/dist/PublicProductCard.mjs +121 -0
- package/dist/PublicShell.js +168 -0
- package/dist/PublicShell.mjs +144 -0
- package/dist/PublicSiteFooter.js +35 -0
- package/dist/PublicSiteFooter.mjs +11 -0
- package/dist/{QuickStartCard-BqbYrKRY.d.ts → QuickStartCard-CYKhDjvS.d.ts} +805 -161
- package/dist/{QuickStartCard-lE9kMqH8.d.mts → QuickStartCard-DT2GgJrP.d.mts} +805 -161
- package/dist/QuickStartCard.js +85 -0
- package/dist/QuickStartCard.mjs +60 -0
- package/dist/ReferenceLinkGrid.js +66 -0
- package/dist/ReferenceLinkGrid.mjs +42 -0
- package/dist/ReferenceLocaleNotice.js +32 -0
- package/dist/ReferenceLocaleNotice.mjs +8 -0
- package/dist/ReferenceSection.js +58 -0
- package/dist/ReferenceSection.mjs +34 -0
- package/dist/ReferenceThemeExplorer.copy.js +1209 -0
- package/dist/ReferenceThemeExplorer.copy.mjs +1184 -0
- package/dist/ReferenceThemeExplorer.js +801 -0
- package/dist/ReferenceThemeExplorer.mjs +802 -0
- package/dist/ReportingSection.js +72 -0
- package/dist/ReportingSection.mjs +48 -0
- package/dist/SafeStyles.js +303 -0
- package/dist/SafeStyles.mjs +274 -0
- package/dist/SearchableSelect.js +195 -0
- package/dist/SearchableSelect.mjs +171 -0
- package/dist/SectionPanel.js +96 -0
- package/dist/SectionPanel.mjs +72 -0
- package/dist/SemanticButton.js +326 -0
- package/dist/SemanticButton.mjs +296 -0
- package/dist/SemanticCharts.js +120 -0
- package/dist/SemanticCharts.mjs +77 -0
- package/dist/ShareButtonGroup.js +117 -0
- package/dist/ShareButtonGroup.mjs +93 -0
- package/dist/SidebarNav.js +92 -0
- package/dist/SidebarNav.mjs +66 -0
- package/dist/SimpleDataTable.js +59 -0
- package/dist/SimpleDataTable.mjs +35 -0
- package/dist/SocialAuthButtons.js +71 -0
- package/dist/SocialAuthButtons.mjs +49 -0
- package/dist/StateBlock.js +118 -0
- package/dist/StateBlock.mjs +95 -0
- package/dist/StatsSection.js +63 -0
- package/dist/StatsSection.mjs +39 -0
- package/dist/StatusBadge.js +94 -0
- package/dist/StatusBadge.mjs +68 -0
- package/dist/StyleUtilities.js +123 -0
- package/dist/StyleUtilities.mjs +91 -0
- package/dist/SurfacePresentation.js +63 -0
- package/dist/SurfacePresentation.mjs +38 -0
- package/dist/TaskPatterns.js +206 -0
- package/dist/TaskPatterns.mjs +180 -0
- package/dist/Telemetry.client.js +273 -0
- package/dist/Telemetry.client.mjs +243 -0
- package/dist/ThemeToggle.js +53 -0
- package/dist/{chunk-ZFGYQSNR.mjs → ThemeToggle.mjs} +3 -7
- package/dist/TrustLayer.client.js +184 -0
- package/dist/TrustLayer.client.mjs +158 -0
- package/dist/TrustLayer.js +94 -0
- package/dist/TrustLayer.mjs +68 -0
- package/dist/TrustLayer.shared.js +37 -0
- package/dist/TrustLayer.shared.mjs +13 -0
- package/dist/Typography.js +68 -0
- package/dist/Typography.mjs +37 -0
- package/dist/UploadDropzone.js +144 -0
- package/dist/UploadDropzone.mjs +120 -0
- package/dist/badge-shapes.js +75 -0
- package/dist/badge-shapes.mjs +44 -0
- package/dist/breakpoints.js +34 -0
- package/dist/breakpoints.mjs +10 -0
- package/dist/category-registry.js +33 -0
- package/dist/category-registry.mjs +9 -0
- package/dist/chart-colors.js +73 -0
- package/dist/chart-colors.mjs +44 -0
- package/dist/chart-primitives.js +169 -0
- package/dist/chart-primitives.mjs +144 -0
- package/dist/client.d.mts +3 -3
- package/dist/client.d.ts +3 -3
- package/dist/client.js +378 -23797
- package/dist/client.mjs +161 -959
- package/dist/dom-phrase-translation.js +130 -0
- package/dist/dom-phrase-translation.mjs +104 -0
- package/dist/generated-art-engine.js +119 -0
- package/dist/generated-art-engine.mjs +93 -0
- package/dist/generated-art-svg.js +263 -0
- package/dist/generated-art-svg.mjs +238 -0
- package/dist/generated-brand-badge.js +160 -0
- package/dist/generated-brand-badge.mjs +136 -0
- package/dist/generated-design-rule-coverage.js +54 -0
- package/dist/generated-design-rule-coverage.mjs +30 -0
- package/dist/icons.js +371 -0
- package/dist/{chunk-J66ITCXC.mjs → icons.mjs} +22 -15
- package/dist/index.d.mts +13 -12
- package/dist/index.d.ts +13 -12
- package/dist/index.js +448 -26709
- package/dist/index.mjs +192 -3008
- package/dist/locales/ar.js +477 -0
- package/dist/{chunk-7NNKXZFF.mjs → locales/ar.mjs} +3 -5
- package/dist/locales/de.js +477 -0
- package/dist/{chunk-TVGDH5O5.mjs → locales/de.mjs} +1 -3
- package/dist/locales/en.js +477 -0
- package/dist/{chunk-D65VHUXK.mjs → locales/en.mjs} +1 -3
- package/dist/locales/es.js +477 -0
- package/dist/{chunk-J4TSXITU.mjs → locales/es.mjs} +1 -3
- package/dist/locales/fr.js +477 -0
- package/dist/{chunk-Z6XXK57E.mjs → locales/fr.mjs} +1 -3
- package/dist/locales/he.js +477 -0
- package/dist/{chunk-YASVRGKJ.mjs → locales/he.mjs} +2 -4
- package/dist/locales/hu.js +477 -0
- package/dist/{chunk-CWMDWMYL.mjs → locales/hu.mjs} +1 -3
- package/dist/locales/index.js +83 -0
- package/dist/locales/index.mjs +45 -0
- package/dist/locales/it.js +477 -0
- package/dist/{chunk-V5WUGRFL.mjs → locales/it.mjs} +2 -4
- package/dist/locales/ja.js +477 -0
- package/dist/{chunk-XL7MGQJ4.mjs → locales/ja.mjs} +2 -4
- package/dist/locales/ko.js +477 -0
- package/dist/{chunk-PLJT4I7B.mjs → locales/ko.mjs} +1 -3
- package/dist/locales/lazy/all.js +23 -5449
- package/dist/locales/lazy/all.mjs +12 -39
- package/dist/locales/lazy/ar.js +3 -919
- package/dist/locales/lazy/ar.mjs +2 -9
- package/dist/locales/lazy/de.js +3 -919
- package/dist/locales/lazy/de.mjs +2 -9
- package/dist/locales/lazy/es.js +3 -919
- package/dist/locales/lazy/es.mjs +2 -9
- package/dist/locales/lazy/fr.js +3 -919
- package/dist/locales/lazy/fr.mjs +2 -9
- package/dist/locales/lazy/he.js +3 -919
- package/dist/locales/lazy/he.mjs +2 -9
- package/dist/locales/lazy/hu.js +3 -919
- package/dist/locales/lazy/hu.mjs +2 -9
- package/dist/locales/lazy/index.js +3 -477
- package/dist/locales/lazy/index.mjs +1 -5
- package/dist/locales/lazy/it.js +3 -919
- package/dist/locales/lazy/it.mjs +2 -9
- package/dist/locales/lazy/ja.js +3 -919
- package/dist/locales/lazy/ja.mjs +2 -9
- package/dist/locales/lazy/ko.js +3 -919
- package/dist/locales/lazy/ko.mjs +2 -9
- package/dist/locales/lazy/registry.js +47 -0
- package/dist/{chunk-TD3JPMMO.mjs → locales/lazy/registry.mjs} +6 -11
- package/dist/locales/lazy/ru.js +3 -919
- package/dist/locales/lazy/ru.mjs +2 -9
- package/dist/locales/lazy/zh.js +3 -919
- package/dist/locales/lazy/zh.mjs +2 -9
- package/dist/locales/ru.js +477 -0
- package/dist/{chunk-RBXAJJB2.mjs → locales/ru.mjs} +1 -3
- package/dist/locales/zh.js +477 -0
- package/dist/{chunk-V6SP5O4D.mjs → locales/zh.mjs} +1 -3
- package/dist/map-tile-policy.js +55 -0
- package/dist/map-tile-policy.mjs +29 -0
- package/dist/map.d.mts +1 -3
- package/dist/map.d.ts +1 -3
- package/dist/map.js +6 -749
- package/dist/map.mjs +2 -389
- package/dist/pictograms.js +112 -0
- package/dist/pictograms.mjs +88 -0
- package/dist/pictograms.shared.js +262 -0
- package/dist/pictograms.shared.mjs +226 -0
- package/dist/reference-theme-explorer.js +3 -10401
- package/dist/reference-theme-explorer.mjs +1 -2008
- package/dist/rich-text-editor.js +3 -450
- package/dist/rich-text-editor.mjs +1 -115
- package/dist/server.d.mts +6 -5
- package/dist/server.d.ts +6 -5
- package/dist/server.js +304 -18097
- package/dist/server.mjs +120 -1122
- package/dist/useGdsDomPhraseTranslation.client.js +49 -0
- package/dist/useGdsDomPhraseTranslation.client.mjs +25 -0
- package/dist/vocabulary.js +166 -0
- package/dist/vocabulary.mjs +137 -0
- package/package.json +5 -5
- package/dist/GdsBadge-j_kQnIL0.d.mts +0 -417
- package/dist/GdsBadge-j_kQnIL0.d.ts +0 -417
- package/dist/chunk-LTNPECWV.mjs +0 -6676
- package/dist/chunk-MO5TLIIB.mjs +0 -8311
- package/dist/chunk-PJR3OJJD.mjs +0 -2468
- package/dist/chunk-SPPTDVJC.mjs +0 -211
- package/dist/chunk-SV3VL3GG.mjs +0 -246
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var StyleUtilities_exports = {};
|
|
20
|
+
__export(StyleUtilities_exports, {
|
|
21
|
+
ClippedFlexChild: () => ClippedFlexChild,
|
|
22
|
+
FloatingActionPlacement: () => FloatingActionPlacement,
|
|
23
|
+
LayeredSurfaceSlot: () => LayeredSurfaceSlot,
|
|
24
|
+
ListItemSection: () => ListItemSection,
|
|
25
|
+
MonospaceInputFrame: () => MonospaceInputFrame,
|
|
26
|
+
NumericCell: () => NumericCell,
|
|
27
|
+
OverflowContainer: () => OverflowContainer,
|
|
28
|
+
SemanticInset: () => SemanticInset,
|
|
29
|
+
VisuallyHidden: () => VisuallyHidden
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(StyleUtilities_exports);
|
|
32
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
33
|
+
var import_core = require("@mantine/core");
|
|
34
|
+
var import_gds_theme = require("@sovereignsquad/gds-theme");
|
|
35
|
+
function OverflowContainer({ children, maxHeight, minWidth = 0, label, ...props }) {
|
|
36
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
37
|
+
import_core.ScrollArea.Autosize,
|
|
38
|
+
{
|
|
39
|
+
mah: maxHeight,
|
|
40
|
+
type: "auto",
|
|
41
|
+
"aria-label": label,
|
|
42
|
+
style: { minWidth },
|
|
43
|
+
...props,
|
|
44
|
+
children
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
function FloatingActionPlacement({
|
|
49
|
+
children,
|
|
50
|
+
position = "bottom-end",
|
|
51
|
+
offset = "1rem",
|
|
52
|
+
style,
|
|
53
|
+
...props
|
|
54
|
+
}) {
|
|
55
|
+
const [block, inline] = position.split("-");
|
|
56
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
57
|
+
import_core.Box,
|
|
58
|
+
{
|
|
59
|
+
style: {
|
|
60
|
+
position: "fixed",
|
|
61
|
+
zIndex: import_gds_theme.gdsZIndexToken.app,
|
|
62
|
+
[block]: offset,
|
|
63
|
+
[inline === "end" ? "right" : "left"]: offset,
|
|
64
|
+
...style
|
|
65
|
+
},
|
|
66
|
+
...props,
|
|
67
|
+
children
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
function NumericCell({ children, style, ...props }) {
|
|
72
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.Box, { component: "span", ta: "right", style: { display: "block", fontVariantNumeric: "tabular-nums", ...style }, ...props, children });
|
|
73
|
+
}
|
|
74
|
+
function VisuallyHidden({ children, style, ...props }) {
|
|
75
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
76
|
+
import_core.Box,
|
|
77
|
+
{
|
|
78
|
+
component: "span",
|
|
79
|
+
style: {
|
|
80
|
+
border: 0,
|
|
81
|
+
clip: "rect(0 0 0 0)",
|
|
82
|
+
height: 1,
|
|
83
|
+
margin: -1,
|
|
84
|
+
overflow: "hidden",
|
|
85
|
+
padding: 0,
|
|
86
|
+
position: "absolute",
|
|
87
|
+
whiteSpace: "nowrap",
|
|
88
|
+
width: 1,
|
|
89
|
+
...style
|
|
90
|
+
},
|
|
91
|
+
...props,
|
|
92
|
+
children
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
function ClippedFlexChild({ children, style, ...props }) {
|
|
97
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.Box, { style: { minWidth: 0, overflow: "hidden", textOverflow: "ellipsis", ...style }, ...props, children });
|
|
98
|
+
}
|
|
99
|
+
function LayeredSurfaceSlot({ children, layer = "base", style, ...props }) {
|
|
100
|
+
const zIndex = layer === "overlay" ? 3 : layer === "raised" ? 2 : 1;
|
|
101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.Box, { style: { position: "relative", zIndex, ...style }, ...props, children });
|
|
102
|
+
}
|
|
103
|
+
function MonospaceInputFrame({ children, style, ...props }) {
|
|
104
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.Box, { style: { fontFamily: "var(--mantine-font-family-monospace)", ...style }, ...props, children });
|
|
105
|
+
}
|
|
106
|
+
function SemanticInset({ children, style, ...props }) {
|
|
107
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.Box, { p: "md", style: { borderInlineStart: "3px solid var(--mantine-primary-color-filled)", ...style }, ...props, children });
|
|
108
|
+
}
|
|
109
|
+
function ListItemSection({ children, style, ...props }) {
|
|
110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.Box, { component: "li", py: "sm", style: { listStyle: "none", borderBlockEnd: "1px solid var(--mantine-color-default-border)", ...style }, ...props, children });
|
|
111
|
+
}
|
|
112
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
113
|
+
0 && (module.exports = {
|
|
114
|
+
ClippedFlexChild,
|
|
115
|
+
FloatingActionPlacement,
|
|
116
|
+
LayeredSurfaceSlot,
|
|
117
|
+
ListItemSection,
|
|
118
|
+
MonospaceInputFrame,
|
|
119
|
+
NumericCell,
|
|
120
|
+
OverflowContainer,
|
|
121
|
+
SemanticInset,
|
|
122
|
+
VisuallyHidden
|
|
123
|
+
});
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Box, ScrollArea } from "@mantine/core";
|
|
3
|
+
import { gdsZIndexToken } from "@sovereignsquad/gds-theme";
|
|
4
|
+
function OverflowContainer({ children, maxHeight, minWidth = 0, label, ...props }) {
|
|
5
|
+
return /* @__PURE__ */ jsx(
|
|
6
|
+
ScrollArea.Autosize,
|
|
7
|
+
{
|
|
8
|
+
mah: maxHeight,
|
|
9
|
+
type: "auto",
|
|
10
|
+
"aria-label": label,
|
|
11
|
+
style: { minWidth },
|
|
12
|
+
...props,
|
|
13
|
+
children
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
function FloatingActionPlacement({
|
|
18
|
+
children,
|
|
19
|
+
position = "bottom-end",
|
|
20
|
+
offset = "1rem",
|
|
21
|
+
style,
|
|
22
|
+
...props
|
|
23
|
+
}) {
|
|
24
|
+
const [block, inline] = position.split("-");
|
|
25
|
+
return /* @__PURE__ */ jsx(
|
|
26
|
+
Box,
|
|
27
|
+
{
|
|
28
|
+
style: {
|
|
29
|
+
position: "fixed",
|
|
30
|
+
zIndex: gdsZIndexToken.app,
|
|
31
|
+
[block]: offset,
|
|
32
|
+
[inline === "end" ? "right" : "left"]: offset,
|
|
33
|
+
...style
|
|
34
|
+
},
|
|
35
|
+
...props,
|
|
36
|
+
children
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
function NumericCell({ children, style, ...props }) {
|
|
41
|
+
return /* @__PURE__ */ jsx(Box, { component: "span", ta: "right", style: { display: "block", fontVariantNumeric: "tabular-nums", ...style }, ...props, children });
|
|
42
|
+
}
|
|
43
|
+
function VisuallyHidden({ children, style, ...props }) {
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
Box,
|
|
46
|
+
{
|
|
47
|
+
component: "span",
|
|
48
|
+
style: {
|
|
49
|
+
border: 0,
|
|
50
|
+
clip: "rect(0 0 0 0)",
|
|
51
|
+
height: 1,
|
|
52
|
+
margin: -1,
|
|
53
|
+
overflow: "hidden",
|
|
54
|
+
padding: 0,
|
|
55
|
+
position: "absolute",
|
|
56
|
+
whiteSpace: "nowrap",
|
|
57
|
+
width: 1,
|
|
58
|
+
...style
|
|
59
|
+
},
|
|
60
|
+
...props,
|
|
61
|
+
children
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
function ClippedFlexChild({ children, style, ...props }) {
|
|
66
|
+
return /* @__PURE__ */ jsx(Box, { style: { minWidth: 0, overflow: "hidden", textOverflow: "ellipsis", ...style }, ...props, children });
|
|
67
|
+
}
|
|
68
|
+
function LayeredSurfaceSlot({ children, layer = "base", style, ...props }) {
|
|
69
|
+
const zIndex = layer === "overlay" ? 3 : layer === "raised" ? 2 : 1;
|
|
70
|
+
return /* @__PURE__ */ jsx(Box, { style: { position: "relative", zIndex, ...style }, ...props, children });
|
|
71
|
+
}
|
|
72
|
+
function MonospaceInputFrame({ children, style, ...props }) {
|
|
73
|
+
return /* @__PURE__ */ jsx(Box, { style: { fontFamily: "var(--mantine-font-family-monospace)", ...style }, ...props, children });
|
|
74
|
+
}
|
|
75
|
+
function SemanticInset({ children, style, ...props }) {
|
|
76
|
+
return /* @__PURE__ */ jsx(Box, { p: "md", style: { borderInlineStart: "3px solid var(--mantine-primary-color-filled)", ...style }, ...props, children });
|
|
77
|
+
}
|
|
78
|
+
function ListItemSection({ children, style, ...props }) {
|
|
79
|
+
return /* @__PURE__ */ jsx(Box, { component: "li", py: "sm", style: { listStyle: "none", borderBlockEnd: "1px solid var(--mantine-color-default-border)", ...style }, ...props, children });
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
ClippedFlexChild,
|
|
83
|
+
FloatingActionPlacement,
|
|
84
|
+
LayeredSurfaceSlot,
|
|
85
|
+
ListItemSection,
|
|
86
|
+
MonospaceInputFrame,
|
|
87
|
+
NumericCell,
|
|
88
|
+
OverflowContainer,
|
|
89
|
+
SemanticInset,
|
|
90
|
+
VisuallyHidden
|
|
91
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var SurfacePresentation_exports = {};
|
|
20
|
+
__export(SurfacePresentation_exports, {
|
|
21
|
+
isPresentationMode: () => isPresentationMode,
|
|
22
|
+
resolveSurfacePresentationStyles: () => resolveSurfacePresentationStyles
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(SurfacePresentation_exports);
|
|
25
|
+
const toCssLength = (value) => {
|
|
26
|
+
if (typeof value === "number") {
|
|
27
|
+
return `${value}px`;
|
|
28
|
+
}
|
|
29
|
+
return value;
|
|
30
|
+
};
|
|
31
|
+
function resolveSurfacePresentationStyles(props) {
|
|
32
|
+
const {
|
|
33
|
+
presentation = "inline",
|
|
34
|
+
minHeight,
|
|
35
|
+
contentAlign,
|
|
36
|
+
contentJustify
|
|
37
|
+
} = props;
|
|
38
|
+
const base = {
|
|
39
|
+
minHeight: toCssLength(minHeight),
|
|
40
|
+
display: "flex",
|
|
41
|
+
flexDirection: "column",
|
|
42
|
+
gap: "var(--mantine-spacing-lg)"
|
|
43
|
+
};
|
|
44
|
+
if (presentation === "inline") {
|
|
45
|
+
return base;
|
|
46
|
+
}
|
|
47
|
+
const align = contentAlign ?? "center";
|
|
48
|
+
const justify = contentJustify ?? (presentation === "centered" ? "center" : "start");
|
|
49
|
+
return {
|
|
50
|
+
...base,
|
|
51
|
+
...presentation === "fill" ? { flex: 1 } : {},
|
|
52
|
+
alignItems: align === "center" ? "center" : "flex-start",
|
|
53
|
+
justifyContent: justify === "center" ? "center" : "flex-start"
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function isPresentationMode(value) {
|
|
57
|
+
return value === "inline" || value === "centered" || value === "fill";
|
|
58
|
+
}
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
isPresentationMode,
|
|
62
|
+
resolveSurfacePresentationStyles
|
|
63
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const toCssLength = (value) => {
|
|
2
|
+
if (typeof value === "number") {
|
|
3
|
+
return `${value}px`;
|
|
4
|
+
}
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
function resolveSurfacePresentationStyles(props) {
|
|
8
|
+
const {
|
|
9
|
+
presentation = "inline",
|
|
10
|
+
minHeight,
|
|
11
|
+
contentAlign,
|
|
12
|
+
contentJustify
|
|
13
|
+
} = props;
|
|
14
|
+
const base = {
|
|
15
|
+
minHeight: toCssLength(minHeight),
|
|
16
|
+
display: "flex",
|
|
17
|
+
flexDirection: "column",
|
|
18
|
+
gap: "var(--mantine-spacing-lg)"
|
|
19
|
+
};
|
|
20
|
+
if (presentation === "inline") {
|
|
21
|
+
return base;
|
|
22
|
+
}
|
|
23
|
+
const align = contentAlign ?? "center";
|
|
24
|
+
const justify = contentJustify ?? (presentation === "centered" ? "center" : "start");
|
|
25
|
+
return {
|
|
26
|
+
...base,
|
|
27
|
+
...presentation === "fill" ? { flex: 1 } : {},
|
|
28
|
+
alignItems: align === "center" ? "center" : "flex-start",
|
|
29
|
+
justifyContent: justify === "center" ? "center" : "flex-start"
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function isPresentationMode(value) {
|
|
33
|
+
return value === "inline" || value === "centered" || value === "fill";
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
isPresentationMode,
|
|
37
|
+
resolveSurfacePresentationStyles
|
|
38
|
+
};
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var TaskPatterns_exports = {};
|
|
20
|
+
__export(TaskPatterns_exports, {
|
|
21
|
+
getGdsTaskPattern: () => getGdsTaskPattern,
|
|
22
|
+
getGdsTaskPatterns: () => getGdsTaskPatterns,
|
|
23
|
+
validateGdsTaskPatterns: () => validateGdsTaskPatterns
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(TaskPatterns_exports);
|
|
26
|
+
const allTaskStates = ["start", "in-progress", "success", "empty", "error", "retry", "cancelled"];
|
|
27
|
+
const taskPatterns = [
|
|
28
|
+
{
|
|
29
|
+
id: "create-resource",
|
|
30
|
+
title: "Create resource",
|
|
31
|
+
intent: "Create a durable admin resource from a governed schema or form.",
|
|
32
|
+
trigger: "Operator chooses Create from a resource manager.",
|
|
33
|
+
requiredData: ["resource type", "schema or fields", "permission result"],
|
|
34
|
+
states: allTaskStates,
|
|
35
|
+
componentContracts: ["GdsResourceManager", "GdsSchemaForm", "useGdsFormOrchestration", "GdsNotificationCenter"],
|
|
36
|
+
steps: [
|
|
37
|
+
{ id: "open", label: "Open create surface", state: "start", componentContracts: ["GdsResourceManager"], accessibility: ["Create button is keyboard reachable and named."], retryTimeout: "No retry required before submit." },
|
|
38
|
+
{ id: "validate", label: "Validate required fields", state: "in-progress", componentContracts: ["GdsSchemaForm", "GdsValidationSummary"], accessibility: ["Validation summary links to fields."], retryTimeout: "Client validation is immediate; server validation maps back to fields." },
|
|
39
|
+
{ id: "submit", label: "Submit resource", state: "success", componentContracts: ["useGdsFormOrchestration"], accessibility: ["Submitting state remains visible."], retryTimeout: "Use bounded submit timeout and retry from failed state." }
|
|
40
|
+
],
|
|
41
|
+
telemetry: [{ name: "resource_create_started", payloadFields: ["resourceType"] }, { name: "resource_create_completed", payloadFields: ["resourceType"] }],
|
|
42
|
+
copy: { start: "Create resource", success: "Resource created.", error: "Resource could not be created. Review the fields and retry." },
|
|
43
|
+
accessibility: ["Visible labels", "field errors", "keyboard submit", "status announcement"],
|
|
44
|
+
edgeCases: ["permission denied", "duplicate resource", "server validation failure"],
|
|
45
|
+
doNotBuild: ["Route-local form wrapper", "native alert for errors", "unlabelled create icon"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "review-submission",
|
|
49
|
+
title: "Review submission",
|
|
50
|
+
intent: "Inspect submitted content, evidence, and action history before approval.",
|
|
51
|
+
trigger: "Operator opens a pending submission from a table or queue.",
|
|
52
|
+
requiredData: ["submission id", "review status", "audit metadata"],
|
|
53
|
+
states: allTaskStates,
|
|
54
|
+
componentContracts: ["GdsResourceManager", "DetailProfileShell", "GdsDrawer", "EvidencePanel"],
|
|
55
|
+
steps: [
|
|
56
|
+
{ id: "open-detail", label: "Open detail surface", state: "start", componentContracts: ["GdsResourceManager", "DetailProfileShell"], accessibility: ["Detail section has an accessible title."], retryTimeout: "Retry detail loading on stale data." },
|
|
57
|
+
{ id: "inspect", label: "Inspect evidence and metadata", state: "in-progress", componentContracts: ["EvidencePanel"], accessibility: ["Evidence is text-readable, not color-only."], retryTimeout: "No retry required." },
|
|
58
|
+
{ id: "resolve", label: "Resolve review outcome", state: "success", componentContracts: ["GdsConfirmProvider", "GdsNotificationCenter"], accessibility: ["Outcome buttons are named and confirmation returns focus."], retryTimeout: "Retry failed action with stale detail preserved." }
|
|
59
|
+
],
|
|
60
|
+
telemetry: [{ name: "submission_review_opened", payloadFields: ["resourceType"] }, { name: "submission_review_completed", payloadFields: ["outcome"] }],
|
|
61
|
+
copy: { start: "Review submission", success: "Submission reviewed.", error: "Review action failed. The submission remains unchanged." },
|
|
62
|
+
accessibility: ["focus return", "visible review status", "screen-reader detail title"],
|
|
63
|
+
edgeCases: ["submission deleted during review", "permission change", "missing evidence"],
|
|
64
|
+
doNotBuild: ["Unbounded modal for long review", "approval without status copy"]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: "bulk-approve",
|
|
68
|
+
title: "Bulk approve",
|
|
69
|
+
intent: "Approve selected rows while making partial success and recovery visible.",
|
|
70
|
+
trigger: "Operator selects multiple rows and chooses Approve.",
|
|
71
|
+
requiredData: ["selected ids", "permission result", "bulk executor"],
|
|
72
|
+
states: allTaskStates,
|
|
73
|
+
componentContracts: ["GdsDataTable", "BulkActionsBar", "GdsConfirmProvider", "GdsNotificationCenter"],
|
|
74
|
+
steps: [
|
|
75
|
+
{ id: "select", label: "Select target rows", state: "start", componentContracts: ["GdsDataTable"], accessibility: ["Row and select-all checkboxes have names."], retryTimeout: "Selection clears on filtering stale rows." },
|
|
76
|
+
{ id: "confirm", label: "Confirm bulk action", state: "in-progress", componentContracts: ["GdsConfirmProvider"], accessibility: ["Confirmation names affected count."], retryTimeout: "No retry before confirmation." },
|
|
77
|
+
{ id: "apply", label: "Apply and report result", state: "success", componentContracts: ["GdsNotificationCenter"], accessibility: ["Partial success is announced."], retryTimeout: "Retry failed subset only." }
|
|
78
|
+
],
|
|
79
|
+
telemetry: [{ name: "bulk_approve_started", payloadFields: ["count"] }, { name: "bulk_approve_completed", payloadFields: ["count", "failedCount"] }],
|
|
80
|
+
copy: { start: "Approve selected", success: "Selected items approved.", error: "Some items could not be approved. Retry the failed items." },
|
|
81
|
+
accessibility: ["keyboard row selection", "confirmation required", "partial failure status"],
|
|
82
|
+
edgeCases: ["partial bulk success", "stale selection", "permission denied"],
|
|
83
|
+
doNotBuild: ["Silent bulk mutation", "confirmation without count"]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: "recover-failed-upload",
|
|
87
|
+
title: "Recover failed upload",
|
|
88
|
+
intent: "Recover a media upload after validation or network failure.",
|
|
89
|
+
trigger: "Upload queue item enters failed state.",
|
|
90
|
+
requiredData: ["file metadata", "validation policy", "upload adapter"],
|
|
91
|
+
states: allTaskStates,
|
|
92
|
+
componentContracts: ["GdsAssetManager", "UploadDropzone", "GdsAssetPreviewCard"],
|
|
93
|
+
steps: [
|
|
94
|
+
{ id: "show-error", label: "Show terminal failure", state: "error", componentContracts: ["GdsAssetManager"], accessibility: ["Error text has role alert."], retryTimeout: "Timeout comes from adapter policy." },
|
|
95
|
+
{ id: "retry", label: "Retry upload", state: "retry", componentContracts: ["useGdsAssetUploadQueue"], accessibility: ["Retry button is keyboard reachable."], retryTimeout: "Bound retry attempts in adapter." },
|
|
96
|
+
{ id: "metadata", label: "Complete alt and caption", state: "success", componentContracts: ["GdsAssetPreviewCard"], accessibility: ["Alt/caption policy is visible."], retryTimeout: "No network retry required." }
|
|
97
|
+
],
|
|
98
|
+
telemetry: [{ name: "upload_failed", payloadFields: ["reason"] }, { name: "upload_retry", payloadFields: ["attempt"] }],
|
|
99
|
+
copy: { start: "Upload asset", success: "Asset ready.", error: "Upload failed. Retry or remove the asset." },
|
|
100
|
+
accessibility: ["file control labelled", "progress announced", "metadata policy visible"],
|
|
101
|
+
edgeCases: ["oversized file", "unsupported type", "network interruption"],
|
|
102
|
+
doNotBuild: ["Hidden upload input without visible button", "publish without required alt text"]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: "copy-public-link",
|
|
106
|
+
title: "Copy public link",
|
|
107
|
+
intent: "Copy a shareable public URL with unavailable-link recovery.",
|
|
108
|
+
trigger: "Operator chooses Copy preview or Share.",
|
|
109
|
+
requiredData: ["public URL", "permission result"],
|
|
110
|
+
states: allTaskStates,
|
|
111
|
+
componentContracts: ["ShareButtonGroup", "GdsResourceManager", "GdsNotificationCenter"],
|
|
112
|
+
steps: [
|
|
113
|
+
{ id: "request-link", label: "Request public link", state: "in-progress", componentContracts: ["GdsResourceManager"], accessibility: ["Button name states target action."], retryTimeout: "Retry if link generation fails." },
|
|
114
|
+
{ id: "copy", label: "Copy or show fallback", state: "success", componentContracts: ["ShareButtonGroup"], accessibility: ["Fallback link is visible text."], retryTimeout: "Clipboard failure falls back to visible URL." }
|
|
115
|
+
],
|
|
116
|
+
telemetry: [{ name: "public_link_requested", payloadFields: ["resourceType"] }, { name: "public_link_failed", payloadFields: ["reason"] }],
|
|
117
|
+
copy: { start: "Copy public link", success: "Public link copied.", error: "Public link is not available. Check publish status and retry." },
|
|
118
|
+
accessibility: ["visible fallback URL", "button label", "status announcement"],
|
|
119
|
+
edgeCases: ["expired public link", "clipboard denied", "unpublished resource"],
|
|
120
|
+
doNotBuild: ["Icon-only copy without label", "copy failure with no fallback"]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: "publish-toggle",
|
|
124
|
+
title: "Publish or unpublish",
|
|
125
|
+
intent: "Change public visibility with confirmation and rollback copy.",
|
|
126
|
+
trigger: "Operator toggles publish state.",
|
|
127
|
+
requiredData: ["current status", "permission result", "visibility executor"],
|
|
128
|
+
states: allTaskStates,
|
|
129
|
+
componentContracts: ["GdsConfirmProvider", "GdsResourceManager", "StatusBadge"],
|
|
130
|
+
steps: [
|
|
131
|
+
{ id: "read-status", label: "Show current status", state: "start", componentContracts: ["StatusBadge"], accessibility: ["Status is not color-only."], retryTimeout: "No retry required." },
|
|
132
|
+
{ id: "confirm-change", label: "Confirm visibility change", state: "in-progress", componentContracts: ["GdsConfirmProvider"], accessibility: ["Confirmation states publish impact."], retryTimeout: "No retry before action." },
|
|
133
|
+
{ id: "apply-status", label: "Apply visibility change", state: "success", componentContracts: ["GdsResourceManager"], accessibility: ["New status is visible after completion."], retryTimeout: "Retry failed executor; keep previous status visible." }
|
|
134
|
+
],
|
|
135
|
+
telemetry: [{ name: "publish_toggle_started", payloadFields: ["from", "to"] }, { name: "publish_toggle_completed", payloadFields: ["to"] }],
|
|
136
|
+
copy: { start: "Change publish status", success: "Publish status updated.", error: "Publish status was not changed. Retry when the service recovers." },
|
|
137
|
+
accessibility: ["confirmation required", "status text visible", "focus return"],
|
|
138
|
+
edgeCases: ["permission denied", "stale status", "public cache delay"],
|
|
139
|
+
doNotBuild: ["Immediate destructive visibility toggle", "color-only published indicator"]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
id: "confirm-destructive-action",
|
|
143
|
+
title: "Confirm destructive action",
|
|
144
|
+
intent: "Confirm irreversible or risky operations with undo or explicit recovery path.",
|
|
145
|
+
trigger: "Operator chooses delete, archive, revoke, or destructive bulk action.",
|
|
146
|
+
requiredData: ["risk level", "target label", "executor"],
|
|
147
|
+
states: allTaskStates,
|
|
148
|
+
componentContracts: ["GdsConfirmProvider", "GdsResourceManager", "GdsNotificationCenter"],
|
|
149
|
+
steps: [
|
|
150
|
+
{ id: "present-risk", label: "Present risk-specific copy", state: "start", componentContracts: ["GdsConfirmProvider"], accessibility: ["Dialog title and description name the target."], retryTimeout: "No retry before confirmation." },
|
|
151
|
+
{ id: "execute", label: "Execute destructive action", state: "in-progress", componentContracts: ["GdsConfirmProvider"], accessibility: ["Submitting state blocks duplicate activation."], retryTimeout: "Use bounded executor timeout." },
|
|
152
|
+
{ id: "recover", label: "Show undo or recovery", state: "success", componentContracts: ["GdsNotificationCenter"], accessibility: ["Recovery action remains reachable."], retryTimeout: "Retry failed executor from same confirmation context." }
|
|
153
|
+
],
|
|
154
|
+
telemetry: [{ name: "destructive_confirmed", payloadFields: ["riskLevel"] }, { name: "destructive_failed", payloadFields: ["reason"] }],
|
|
155
|
+
copy: { start: "Confirm destructive action", success: "Action completed.", error: "Action failed. Nothing was changed." },
|
|
156
|
+
accessibility: ["focus trap", "return focus", "explicit cancel", "visible recovery action"],
|
|
157
|
+
edgeCases: ["operator cancels", "executor timeout", "undo unavailable"],
|
|
158
|
+
doNotBuild: ["window.confirm", "destructive action without target label"]
|
|
159
|
+
}
|
|
160
|
+
];
|
|
161
|
+
function clonePattern(pattern) {
|
|
162
|
+
return {
|
|
163
|
+
...pattern,
|
|
164
|
+
requiredData: [...pattern.requiredData],
|
|
165
|
+
states: [...pattern.states],
|
|
166
|
+
componentContracts: [...pattern.componentContracts],
|
|
167
|
+
steps: pattern.steps.map((step) => ({
|
|
168
|
+
...step,
|
|
169
|
+
componentContracts: [...step.componentContracts],
|
|
170
|
+
accessibility: [...step.accessibility]
|
|
171
|
+
})),
|
|
172
|
+
telemetry: pattern.telemetry.map((event) => ({ ...event, payloadFields: [...event.payloadFields] })),
|
|
173
|
+
copy: { ...pattern.copy },
|
|
174
|
+
accessibility: [...pattern.accessibility],
|
|
175
|
+
edgeCases: [...pattern.edgeCases],
|
|
176
|
+
doNotBuild: [...pattern.doNotBuild]
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
function getGdsTaskPatterns() {
|
|
180
|
+
return taskPatterns.map(clonePattern);
|
|
181
|
+
}
|
|
182
|
+
function getGdsTaskPattern(id) {
|
|
183
|
+
const pattern = taskPatterns.find((item) => item.id === id);
|
|
184
|
+
return pattern ? clonePattern(pattern) : void 0;
|
|
185
|
+
}
|
|
186
|
+
function validateGdsTaskPatterns(patterns = taskPatterns) {
|
|
187
|
+
const ids = /* @__PURE__ */ new Set();
|
|
188
|
+
const issues = [];
|
|
189
|
+
for (const pattern of patterns) {
|
|
190
|
+
if (ids.has(pattern.id)) issues.push(`Duplicate task pattern id: ${pattern.id}`);
|
|
191
|
+
ids.add(pattern.id);
|
|
192
|
+
for (const state of allTaskStates) {
|
|
193
|
+
if (!pattern.states.includes(state)) issues.push(`${pattern.id} is missing state ${state}`);
|
|
194
|
+
}
|
|
195
|
+
if (!pattern.telemetry.length) issues.push(`${pattern.id} must define telemetry.`);
|
|
196
|
+
if (!pattern.accessibility.length) issues.push(`${pattern.id} must define accessibility guidance.`);
|
|
197
|
+
if (!pattern.doNotBuild.length) issues.push(`${pattern.id} must define do-not-build guidance.`);
|
|
198
|
+
}
|
|
199
|
+
return issues;
|
|
200
|
+
}
|
|
201
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
202
|
+
0 && (module.exports = {
|
|
203
|
+
getGdsTaskPattern,
|
|
204
|
+
getGdsTaskPatterns,
|
|
205
|
+
validateGdsTaskPatterns
|
|
206
|
+
});
|