@sovereignsquad/gds-core 3.9.0 → 6.9.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/README.md +33 -0
- package/dist/GdsBadge-DqTdnomt.d.mts +417 -0
- package/dist/GdsBadge-DqTdnomt.d.ts +417 -0
- package/dist/PartnerDiscovery-As_-JKtb.d.ts +732 -0
- package/dist/PartnerDiscovery-Bwxixtka.d.mts +732 -0
- package/dist/QuickStartCard-Bgjdfs_t.d.ts +20798 -0
- package/dist/QuickStartCard-DnZMDjzb.d.mts +20798 -0
- package/dist/chunk-3B5MK2PG.mjs +6349 -0
- package/dist/{chunk-TQ7ZYMEA.mjs → chunk-5G3XZWSW.mjs} +4916 -6400
- package/dist/chunk-5GH7XD7X.mjs +430 -0
- package/dist/chunk-6WDH57MJ.mjs +430 -0
- package/dist/chunk-A32PWTD2.mjs +430 -0
- package/dist/chunk-BD5XQH5Z.mjs +430 -0
- package/dist/chunk-DBJE4TRO.mjs +430 -0
- package/dist/chunk-EQ7Y2PUI.mjs +1842 -0
- package/dist/chunk-F76YTG3S.mjs +430 -0
- package/dist/chunk-HJVDKPVW.mjs +245 -0
- package/dist/chunk-IMT3UTOT.mjs +430 -0
- package/dist/chunk-J66ITCXC.mjs +473 -0
- package/dist/chunk-KEYBUMOR.mjs +430 -0
- package/dist/chunk-KLFTBWEG.mjs +430 -0
- package/dist/chunk-KNP35WAB.mjs +27 -0
- package/dist/chunk-LERXSJHD.mjs +430 -0
- package/dist/chunk-MKEWYVTJ.mjs +430 -0
- package/dist/chunk-NTNVQZJU.mjs +89 -0
- package/dist/chunk-OH5HH4G3.mjs +430 -0
- package/dist/chunk-SPPTDVJC.mjs +211 -0
- package/dist/chunk-W5O2JSVK.mjs +20 -0
- package/dist/{chunk-BUC7QXRO.mjs → chunk-WI24JME4.mjs} +13 -5
- package/dist/chunk-ZFGYQSNR.mjs +33 -0
- package/dist/client.d.mts +1616 -64
- package/dist/client.d.ts +1616 -64
- package/dist/client.js +13417 -6683
- package/dist/client.mjs +303 -60
- package/dist/en-D9CWSH3F.d.mts +428 -0
- package/dist/en-D9CWSH3F.d.ts +428 -0
- package/dist/index.d.mts +632 -5
- package/dist/index.d.ts +632 -5
- package/dist/index.js +22423 -13558
- package/dist/index.mjs +2198 -61
- package/dist/locales/lazy/all.d.mts +2 -0
- package/dist/locales/lazy/all.d.ts +2 -0
- package/dist/locales/lazy/all.js +5150 -0
- package/dist/locales/lazy/all.mjs +50 -0
- package/dist/locales/lazy/ar.d.mts +2 -0
- package/dist/locales/lazy/ar.d.ts +2 -0
- package/dist/locales/lazy/ar.js +870 -0
- package/dist/locales/lazy/ar.mjs +10 -0
- package/dist/locales/lazy/de.d.mts +2 -0
- package/dist/locales/lazy/de.d.ts +2 -0
- package/dist/locales/lazy/de.js +870 -0
- package/dist/locales/lazy/de.mjs +10 -0
- package/dist/locales/lazy/es.d.mts +2 -0
- package/dist/locales/lazy/es.d.ts +2 -0
- package/dist/locales/lazy/es.js +870 -0
- package/dist/locales/lazy/es.mjs +10 -0
- package/dist/locales/lazy/fr.d.mts +2 -0
- package/dist/locales/lazy/fr.d.ts +2 -0
- package/dist/locales/lazy/fr.js +870 -0
- package/dist/locales/lazy/fr.mjs +10 -0
- package/dist/locales/lazy/he.d.mts +2 -0
- package/dist/locales/lazy/he.d.ts +2 -0
- package/dist/locales/lazy/he.js +870 -0
- package/dist/locales/lazy/he.mjs +10 -0
- package/dist/locales/lazy/hu.d.mts +2 -0
- package/dist/locales/lazy/hu.d.ts +2 -0
- package/dist/locales/lazy/hu.js +870 -0
- package/dist/locales/lazy/hu.mjs +10 -0
- package/dist/locales/lazy/index.d.mts +25 -0
- package/dist/locales/lazy/index.d.ts +25 -0
- package/dist/locales/lazy/index.js +479 -0
- package/dist/locales/lazy/index.mjs +9 -0
- package/dist/locales/lazy/it.d.mts +2 -0
- package/dist/locales/lazy/it.d.ts +2 -0
- package/dist/locales/lazy/it.js +870 -0
- package/dist/locales/lazy/it.mjs +10 -0
- package/dist/locales/lazy/ja.d.mts +2 -0
- package/dist/locales/lazy/ja.d.ts +2 -0
- package/dist/locales/lazy/ja.js +870 -0
- package/dist/locales/lazy/ja.mjs +10 -0
- package/dist/locales/lazy/ko.d.mts +2 -0
- package/dist/locales/lazy/ko.d.ts +2 -0
- package/dist/locales/lazy/ko.js +870 -0
- package/dist/locales/lazy/ko.mjs +10 -0
- package/dist/locales/lazy/ru.d.mts +2 -0
- package/dist/locales/lazy/ru.d.ts +2 -0
- package/dist/locales/lazy/ru.js +870 -0
- package/dist/locales/lazy/ru.mjs +10 -0
- package/dist/locales/lazy/zh.d.mts +2 -0
- package/dist/locales/lazy/zh.d.ts +2 -0
- package/dist/locales/lazy/zh.js +870 -0
- package/dist/locales/lazy/zh.mjs +10 -0
- package/dist/map.css +658 -0
- package/dist/map.d.mts +118 -0
- package/dist/map.d.ts +118 -0
- package/dist/map.js +778 -0
- package/dist/map.mjs +395 -0
- package/dist/reference-theme-explorer.d.mts +34 -0
- package/dist/reference-theme-explorer.d.ts +34 -0
- package/dist/reference-theme-explorer.js +9488 -0
- package/dist/reference-theme-explorer.mjs +1988 -0
- package/dist/rich-text-editor.d.mts +32 -0
- package/dist/rich-text-editor.d.ts +32 -0
- package/dist/rich-text-editor.js +469 -0
- package/dist/rich-text-editor.mjs +115 -0
- package/dist/server.d.mts +112 -248
- package/dist/server.d.ts +112 -248
- package/dist/server.js +8461 -1889
- package/dist/server.mjs +598 -57
- package/package.json +110 -10
- package/dist/AISearchCard-Bbnsd-yl.d.mts +0 -7786
- package/dist/AISearchCard-Bbnsd-yl.d.ts +0 -7786
- package/dist/chunk-5AJJNRZF.mjs +0 -5847
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,634 @@
|
|
|
1
|
-
export { A as AISearchCard, a as AISearchCardProps, b as AccentPanel, c as AccentPanelProps, d as AccentPanelVariant, e as AccentTone, f as AccessSummary, g as AccessSummaryProps, h as ActionBar, i as ActionBarAction, j as ActionBarIconAction, k as ActionBarProps, l as ActiveFilterChips, m as ActiveFilterChipsProps, n as ArticleShell, o as ArticleShellProps, p as AsyncSurface, q as AsyncSurfaceProps, r as AsyncSurfaceState, s as AuthShell, t as AuthShellProps, B as BOTTOM_TAB_HEIGHT, u as BOTTOM_TAB_MAX_ITEMS, v as BannerNotice, w as BannerNoticeProps, x as BodyText, y as BottomTabBar, z as BottomTabBarProps, C as BoundedPreviewSurface, D as BoundedPreviewSurfaceProps, E as BreadcrumbItem, F as BrowseSurface, G as BrowseSurfaceFilterChip, H as BrowseSurfaceProps, I as BrowseSurfaceScopeOption, J as BulkActionsBar, K as BulkActionsBarProps, L as CardTitle, M as ChartLegendItem, N as ChartTokenPanel, O as ChartTokenPanelProps, P as ChartTokenPanelState, Q as ChatInput, R as ChatMessage, S as ChatMessageModel, T as ChatRole, U as ChatThread, V as ChatThreadProps, W as ChoiceChip, X as ChoiceChipProps, Y as ClippedFlexChild, Z as ComboboxOption, _ as ConsumerDashboardGrid, $ as ConsumerDashboardGridProps, a0 as ConsumerSection, a1 as ConsumerSectionProps, a2 as CountBadge, a3 as CountBadgeProps, a4 as CreatorCssPolicy, a5 as CreatorCssSeverity, a6 as CreatorCssValidationIssue, a7 as CreatorThemeBoundary, a8 as CreatorThemeBoundaryProps, a9 as CreatorThemeDiagnostics, aa as CtaButtonGroup, ab as CtaButtonGroupProps, ac as DataToolbar, ad as DataToolbarFilterChip, ae as DataToolbarProps, af as DetailProfileShell, ag as DetailProfileShellProps, ah as DocsPageShell, ai as DocsPageShellProps, aj as EditorialCard, ak as EditorialCardProps, al as EditorialCardVariant, am as EditorialHero, an as EditorialHeroAction, ao as EditorialHeroMetaItem, ap as EditorialHeroProps, aq as EmptyState, ar as EmptyStateProps, as as EvidencePanel, at as EvidencePanelProps, au as EvidencePanelState, av as FeatureBand, aw as FeatureBandItem, ax as FeatureBandProps, ay as FilterChipGroup, az as FilterDrawer, aA as FilterDrawerMode, aB as FilterDrawerProps, aC as FitScoreChip, aD as FitScoreChipProps, aE as FitScoreDimension, aF as FloatingActionPlacement, aG as FloatingActionPlacementProps, aH as FoodCardAvailabilityState, aI as FoodCardMarker, aJ as FoodCardMediaRatio, aK as FoodCardMetadata, aL as FoodMenuCategory, aM as FoodMenuItem, aN as FoodMenuSection, aO as FoodMenuSectionProps, aP as FormField, aQ as FormFieldProps, aR as GdsAccessAdapter, aS as GdsAccessAdapterOptions, aT as GdsAccessEntitlement, aU as GdsAccessGateAction, aV as GdsAccessGateActionKind, aW as GdsAccessGateContract, aX as GdsAccessGateEvent, aY as GdsAccessGateReason, aZ as GdsAccessGateState, a_ as GdsAccessSession, a$ as GdsAccessibilityEvidence, b0 as GdsAccessibilityEvidenceState, b1 as GdsAccessibilityEvidenceSummary, b2 as GdsAccessibilityEvidenceValidationResult, b3 as GdsAdminDashboardTemplate, b4 as GdsAdminDashboardTemplateProps, b5 as GdsAnalyticsTemplate, b6 as GdsAnalyticsTemplateProps, b7 as GdsAreaChart, b8 as GdsAtBrowserStatus, b9 as GdsBarChart, ba as GdsBenchmarkBarChart, bb as GdsBleed, bc as GdsBleedProps, bd as GdsBlockRenderer, be as GdsBorderRole, bf as GdsBox, bg as GdsBoxProps, bh as GdsBoxWithChildrenProps, bi as GdsBubbleChartConfig, bj as GdsCalendarHeatmapChart, bk as GdsCardContractOptions, bl as GdsCardDensity, bm as GdsCardInteractiveMode, bn as GdsCardResolvedContract, bo as GdsCardSize, bp as GdsCardVariant, bq as GdsCartesianChartConfig, br as GdsChart, bs as GdsChartAxis, bt as GdsChartBaseConfig, bu as GdsChartConfig, bv as GdsChartDatum, bw as GdsChartLegend, bx as GdsChartLegendItem, by as GdsChartProps, bz as GdsChartRendererAdapter, bA as GdsChartRendererContext, bB as GdsChartSetAType, bC as GdsChartSetBType, bD as GdsChartTooltip, bE as GdsChartType, bF as GdsChartTypeDefinition, bG as GdsChartValidationResult, bH as GdsCluster, bI as GdsClusterProps, bJ as GdsContainer, bK as GdsContainerProps, bL as GdsContentPattern, bM as GdsContentPatternCatalog, bN as GdsContentPatternId, bO as GdsCopyTemplate, bP as GdsCrudEditorTemplate, bQ as GdsCrudEditorTemplateProps, bR as GdsDesignComponentMap, bS as GdsDesignHandoffCatalog, bT as GdsDesignHandoffReport, bU as GdsDesignTokenMap, bV as GdsDirectionBoundary, bW as GdsDivergingBarChart, bX as GdsEmptyStateTemplate, bY as GdsEmptyStateTemplateProps, bZ as GdsErrorPageTemplate, b_ as GdsErrorPageTemplateProps, b$ as GdsFormatOptions, c0 as GdsFormattedCurrency, c1 as GdsFormattedCurrencyProps, c2 as GdsFormattedDate, c3 as GdsFormattedDateProps, c4 as GdsFormattedNumber, c5 as GdsFormattedNumberProps, c6 as GdsFunnelChartConfig, c7 as GdsGaugeChart, c8 as GdsGrid, c9 as GdsGridProps, ca as GdsHandoffStatus, cb as GdsHeatmapChartConfig, cc as GdsHistogramChart, cd as GdsI18nRuntimeEvent, ce as GdsI18nRuntimeEventType, cf as GdsIcon, cg as GdsIconA11yMode, ch as GdsIconCategory, ci as GdsIconKey, cj as GdsIconMetadata, ck as GdsIconName, cl as GdsIconProps, cm as GdsIconTone, cn as GdsIcons, co as GdsInline, cp as GdsInlineProps, cq as GdsKeyboardBehavior, cr as GdsKnownLimitation, cs as GdsLayoutAlign, ct as GdsLayoutBreakpoint, cu as GdsLayoutJustify, cv as GdsLayoutOverflow, cw as GdsLayoutPrimitiveBaseProps, cx as GdsLayoutSize, cy as GdsLayoutTemplate, cz as GdsLayoutToken, cA as GdsLayoutWrap, cB as GdsLineChart, cC as GdsLocale, cD as GdsLocaleText, cE as GdsLocaleTextProps, cF as GdsLongitudinalChart, cG as GdsMaturityCapability, cH as GdsMaturityCapabilityArea, cI as GdsMaturityCapabilityStatus, cJ as GdsMaturityRadarChart, cK as GdsMediaFit, cL as GdsMediaFrame, cM as GdsMediaFrameProps, cN as GdsMessageSeverity, cO as GdsMissingKeyTracker, cP as GdsNotificationAction, cQ as GdsNotificationAuditEvent, cR as GdsNotificationAuditEventType, cS as GdsNotificationDedupePolicy, cT as GdsNotificationLivePolicy, cU as GdsNotificationMessage, cV as GdsNotificationPersistence, cW as GdsNotificationPolicy, cX as GdsNotificationRetryPolicy, cY as GdsNotificationSeverity, cZ as GdsNotificationStatus, c_ as GdsOverflowFrame, c$ as GdsOverflowFrameProps, d0 as GdsOverflowPolicy, d1 as GdsOwnedContrastPropsInput, d2 as GdsOwnedContrastRole, d3 as GdsOwnedContrastTokens, d4 as GdsPageTemplateAction, d5 as GdsPageTemplateBaseProps, d6 as GdsPageTemplateCatalog, d7 as GdsPageTemplateConfig, d8 as GdsPageTemplateId, d9 as GdsPageTemplateSection, da as GdsPageTemplateState, db as GdsPageTemplateTelemetryEvent, dc as GdsPageTemplateTelemetryEventName, dd as GdsPartToWholeChartConfig, de as GdsPatternTelemetryEvent, df as GdsPlaceholderContract, dg as GdsPlural, dh as GdsPluralMessage, di as GdsPluralProps, dj as GdsPropAnnotation, dk as GdsPublicEventTemplate, dl as GdsPublicEventTemplateProps, dm as GdsRadarChart, dn as GdsRadarChartConfig, dp as GdsRadiusToken, dq as GdsRatingScale, dr as GdsRatingScaleProps, ds as GdsRelativeTime, dt as GdsRelativeTimeProps, du as GdsResourceManagerTemplate, dv as GdsResourceManagerTemplateProps, dw as GdsResponsiveChartFrame, dx as GdsResponsiveResolution, dy as GdsResponsiveValue, dz as GdsResponsiveVisibility, dA as GdsResponsiveVisibilityProps, dB as GdsSafeBox, dC as GdsSafeBoxProps, dD as GdsSafeStyleProps, dE as GdsScatterChartConfig, dF as GdsScreenReaderNote, dG as GdsSegmentedControl, dH as GdsSegmentedControlOption, dI as GdsSegmentedControlProps, dJ as GdsSelectionGroupProps, dK as GdsSelectionOption, dL as GdsSemanticBackground, dM as GdsSeriesTone, dN as GdsSettingsGroup, dO as GdsSettingsTemplate, dP as GdsSettingsTemplateProps, dQ as GdsSidebar, dR as GdsSidebarProps, dS as GdsSlider, dT as GdsSliderProps, dU as GdsSlopeChart, dV as GdsSparkline, dW as GdsSplit, dX as GdsSplitProps, dY as GdsStack, dZ as GdsStackProps, d_ as GdsStackedBarChart, d$ as GdsStyleContract, e0 as GdsSymmetryChart, e1 as GdsTaskPattern, e2 as GdsTaskState, e3 as GdsTaskStep, e4 as GdsTextExpansionFixture, e5 as GdsTextRoleProps, e6 as GdsTitleRoleProps, e7 as GdsTreemapChartConfig, e8 as GdsTypographyProps, e9 as GdsVisibilityValue, ea as GdsVocabulary, eb as GdsVocabularyPack, ec as GdsWcagMapping, ed as GdsWizardStep, ee as GdsWizardStepper, ef as GdsWizardStepperProps, eg as InlineAlert, eh as InlineAlertProps, ei as InlineEmphasis, ej as InlineText, ek as LabelTag, el as LabelTagProps, em as LabelTagTone, en as LabelText, eo as LayeredSurfaceSlot, ep as LayeredSurfaceSlotProps, eq as LayoutBlock, er as LayoutBlockType, es as LayoutRenderResult, et as LayoutSchema, eu as LayoutValidationIssue, ev as ListItemSection, ew as ListingCard, ex as ListingCardAffordance, ey as ListingCardMediaRatio, ez as ListingCardProps, eA as ListingFilterChip, eB as ListingMetadataRow, eC as MAX_LISTING_CARD_ACTIONS, eD as MapPanel, eE as MapPanelProps, eF as MeaningBadge, eG as MeaningBadgeProps, eH as MeaningVariant, eI as MediaCard, eJ as MediaCardAction, eK as MediaCardProps, eL as MediaField, eM as MediaFieldProps, eN as MediaFieldState, eO as MediaFit, eP as MediaPreviewAspectRatio, eQ as MediaPreviewCard, eR as MediaPreviewCardProps, eS as MediaPreviewMetadata, eT as MediaPreviewState, eU as MediaWithFallback, eV as MediaWithFallbackProps, eW as MetadataText, eX as MetricCard, eY as MetricCardProps, eZ as MissingDataPrompt, e_ as MissingDataPromptProps, e$ as MonospaceInputFrame, f0 as NotificationCenterView, f1 as NumberStepper, f2 as NumberStepperProps, f3 as NumericCell, f4 as OverflowContainer, f5 as OverflowContainerProps, f6 as PROVIDER_IDENTITY_REGISTRY, f7 as PageHeader, f8 as PageHeaderEyebrowVariant, f9 as PageHeaderProps, fa as PageTitle, fb as PeriodSelector, fc as PeriodSelectorOption, fd as PeriodSelectorProps, fe as PillBar, ff as PlaceholderPanel, fg as PlaceholderPanelProps, fh as PlaybackSurface, fi as PlaybackSurfaceProps, fj as PlaybackSurfaceState, fk as ProductCard, fl as ProductCardAction, fm as ProductCardMetaItem, fn as ProductCardProps, fo as ProgressCard, fp as ProgressCardProps, fq as ProviderIdentity, fr as ProviderIdentityButton, fs as ProviderIdentityButtonGroup, ft as ProviderIdentityButtonGroupProps, fu as ProviderIdentityButtonProps, fv as ProviderIdentityVariant, fw as PublicBrandFooter, fx as PublicBrandFooterClassNames, fy as PublicBrandFooterLayoutVariant, fz as PublicBrandFooterProps, fA as PublicFlowAction, fB as PublicFlowActionPriority, fC as PublicFlowShell, fD as PublicFlowShellProps, fE as PublicFlowStage, fF as PublicFlowStageStatus, fG as PublicFoodCard, fH as PublicFoodCardProps, fI as PublicNav, fJ as PublicNavItem, fK as PublicNavProps, fL as PublicProductCard, fM as PublicProductCardHelperKind, fN as PublicProductCardMetaItem, fO as PublicProductCardProps, fP as PublicProductCardState, fQ as PublicShell, fR as PublicShellBottomTabOptions, fS as PublicShellClassNames, fT as PublicShellHeaderVariant, fU as PublicShellMobileNavigationMode, fV as PublicShellProps, fW as PublicSiteFooter, fX as PublicSiteFooterProps, fY as ReferenceLinkGrid, fZ as ReferenceLinkGridItem, f_ as ReferenceLinkGridProps, f$ as ReferenceLocaleNotice, g0 as ReferenceLocaleNoticeProps, g1 as ReferenceSection, g2 as ReferenceSectionProps, g3 as ReportingSection, g4 as ReportingSectionProps, g5 as ReportingSectionState, g6 as ResultSummary, g7 as ResultSummaryProps, g8 as SearchableSelect, g9 as SearchableSelectProps, ga as SectionPanel, gb as SectionPanelProps, gc as SectionPanelTone, gd as SectionTitle, ge as SemanticAction, gf as SemanticActionDefinition, gg as SemanticActionId, gh as SemanticChartFrame, gi as SemanticChartFrameProps, gj as SemanticChartProps, gk as SemanticInset, gl as SimpleDataTable, gm as SimpleDataTableProps, gn as SimpleTableColumn, go as SocialAuthButtons, gp as SocialAuthButtonsProps, gq as SocialAuthProviderId, gr as SocialAuthProviderOption, gs as SoftChipGroup, gt as SortMenu, gu as SortMenuProps, gv as SortOption, gw as StateBlock, gx as StateBlockProps, gy as StateBlockVariant, gz as StatsSection, gA as StatsSectionProps, gB as StatusBadge, gC as StatusBadgeProps, gD as StatusVariant, gE as StreamingIndicator, gF as SurfaceContentAlign, gG as SurfaceContentJustify, gH as SurfacePresentation, gI as SurfacePresentationProps, gJ as VisuallyHidden, gK as VocabularyResolver, gL as ar, gM as compareGdsLocaleString, gN as createGdsAccessAdapter, gO as createGdsAccessGateEvent, gP as createGdsAccessibilityEvidenceIndex, gQ as createGdsContentExpansionReport, gR as createGdsMissingKeyTracker, gS as createGdsNotificationAuditEvent, gT as createGdsNotificationId, gU as createGdsOwnedContrastTokens, gV as createGdsPageTemplateEvent, gW as createGdsStyleContract, gX as createGdsTextExpansionFixture, gY as createGdsVocabularyPack, gZ as de, g_ as en, g$ as es, h0 as formatGdsCurrency, h1 as formatGdsDate, h2 as formatGdsNumber, h3 as formatGdsPlural, h4 as formatGdsRelativeTime, h5 as fr, h6 as gdsCardDensityPaddingMap, h7 as gdsCardGapMap, h8 as gdsCardMediaRatioMap, h9 as gdsCardSizePaddingMap, ha as gdsCardTitleOrderMap, hb as gdsChartSetATypeRegistry, hc as gdsChartSetBTypeRegistry, hd as gdsChartTypeRegistry, he as gdsDefaultChartLegend, hf as gdsIconRegistry, hg as gdsIconToneColor, hh as gdsLocales, hi as gdsSeriesPalette, hj as gdsStyle, hk as generateGdsDesignHandoffReport, hl as getGdsAccessGateActionPriority, hm as getGdsAccessGateReasons, hn as getGdsAccessGateStates, ho as getGdsAccessibilityEvidence, hp as getGdsAccessibilityEvidenceSummary, hq as getGdsBlockTypes, hr as getGdsContentPattern, hs as getGdsContentPatterns, ht as getGdsCopyTemplate, hu as getGdsCopyTemplates, hv as getGdsDesignComponentMappings, hw as getGdsDesignTokenMappings, hx as getGdsIconKeys, hy as getGdsIconMetadata, hz as getGdsIconToneColor, hA as getGdsLayoutTemplate, hB as getGdsLayoutTemplates, hC as getGdsMaturityCapabilities, hD as getGdsMaturityCapability, hE as getGdsMaturitySummary, hF as getGdsMessages, hG as getGdsNotificationLivePolicy, hH as getGdsOwnedContrastProps, hI as getGdsPageTemplate, hJ as getGdsPageTemplates, hK as getGdsRecommendedMaturityCapabilities, hL as getGdsSeriesColor, hM as getGdsTaskPattern, hN as getGdsTaskPatterns, hO as getProviderIdentityLabel, hP as getProviderIdentityPolicy, hQ as getSemanticActionConfig, hR as getSemanticActionLabel, hS as getSupportedProviderIdentityIds, hT as he, hU as hu, hV as isGdsChartSetAType, hW as isGdsChartSetBType, hX as isGdsIconKey, hY as isPresentationMode, hZ as it, h_ as mergeGdsVocabularyPacks, h$ as normalizeGdsResponsiveValue, i0 as redactGdsAccessGateMetadata, i1 as registerGdsBlock, i2 as renderGdsCopyTemplate, i3 as renderGdsLayout, i4 as renderGdsLayoutWithDiagnostics, i5 as resolveAccentPanelStyles, i6 as resolveGdsAccessAdapterState, i7 as resolveGdsAccessState, i8 as resolveGdsCardContract, i9 as resolveGdsLayoutStyle, ia as resolveGdsLocale, ib as resolveGdsMessage, ic as resolveSemanticActionConfig, id as resolveSurfacePresentationStyles, ie as ru, ig as sortGdsAccessGateActions, ih as sortGdsLocaleStrings, ii as useGdsDirection, ij as validateCreatorCss, ik as validateGdsAccessGateContract, il as validateGdsAccessibilityEvidence, im as validateGdsChartData, io as validateGdsContentPatterns, ip as validateGdsCopyTemplate, iq as validateGdsDesignHandoffMappings, ir as validateGdsLayout, is as validateGdsPageTemplates, it as validateGdsTaskPatterns } from './AISearchCard-Bbnsd-yl.mjs';
|
|
2
1
|
export { Accordion, AccordionProps, ActionIcon, ActionIconProps, Anchor, AnchorProps, Badge, BadgeProps, Box, BoxProps, Button, ButtonProps, Center, CenterProps, Checkbox, CheckboxProps, Container, ContainerProps, Group, GroupProps, Loader, LoaderProps, Modal, ModalProps, MultiSelect, MultiSelectProps, NumberInput, NumberInputProps, PasswordInput, PasswordInputProps, Progress, ProgressProps, Radio, RadioProps, ScrollArea, ScrollAreaProps, Select, SelectProps, SimpleGrid, SimpleGridProps, Slider, SliderProps, Stack, StackProps, Switch, SwitchProps, Table, TableProps, Tabs, TabsProps, TextInput, TextInputProps, Textarea, TextareaProps, ThemeIcon, ThemeIconProps, Tooltip, TooltipProps } from '@mantine/core';
|
|
3
|
-
|
|
4
|
-
export { AmenityChipGrid, AmenityChipGridProps, PartnerAboutPageSections, PartnerAmenityBadgeGrid, PartnerAmenityOption, PartnerContactBlock, PartnerDiscoveryEvent, PartnerDiscoveryEventHandler, PartnerDiscoveryEventName, PartnerDiscoveryFilterLabels, PartnerDiscoveryFilterState, PartnerDiscoveryFilters, PartnerDiscoveryFiltersProps, PartnerDiscoveryFooter, PartnerDiscoveryHeader, PartnerDiscoveryShell, PartnerDiscoveryShellProps, PartnerEditorialLink, PartnerFaqItem, PartnerFaqList, PartnerListIndex, PartnerMapAdapterProps, PartnerMapControls, PartnerMapControlsProps, PartnerMapListShell, PartnerMapListShellProps, PartnerMapPin, PartnerMapPinProps, PartnerMapViewport, PartnerNavItem, PartnerNewsletterCapture, PartnerNewsletterCaptureProps, PartnerNewsletterForm, PartnerNewsletterLabels, PartnerParentTipPanel, PartnerPlaceDetail, PartnerPlaceDetailLabels, PartnerPlaceDetailTemplate, PartnerPlaceDetailTemplateProps, PartnerPlaceResult, PartnerPlaceResultCard, PartnerPlaceResultCardProps, PartnerPriceLevel, PartnerSubmissionEntry, emitPartnerDiscoveryEvent, filterPartnerPlaces, partnerDiscoveryDefaultAmenities, partnerDiscoveryDefaultFilterState, redactPartnerDiscoveryEventMetadata, resetPartnerDiscoveryFilters, togglePartnerAmenity, togglePartnerPrice } from './server.mjs';
|
|
5
|
-
import '
|
|
2
|
+
import { fI as MeaningVariant } from './QuickStartCard-DnZMDjzb.mjs';
|
|
3
|
+
export { A as AISearchCard, a as AISearchCardProps, b as AccentPanel, c as AccentPanelProps, d as AccentPanelVariant, e as AccentTone, f as AccessSummary, g as AccessSummaryProps, jJ as ActionBar, jK as ActionBarAction, jL as ActionBarIconAction, jM as ActionBarProps, h as ActiveFilterChips, i as ActiveFilterChipsProps, j as ArticleShell, k as ArticleShellProps, l as AsyncSurface, m as AsyncSurfaceProps, n as AsyncSurfaceState, o as AuthShell, p as AuthShellProps, B as BOTTOM_TAB_HEIGHT, q as BOTTOM_TAB_MAX_ITEMS, r as BannerNotice, s as BannerNoticeProps, t as BodyText, u as BottomTabBar, v as BottomTabBarProps, w as BoundedPreviewSurface, x as BoundedPreviewSurfaceProps, y as BreadcrumbItem, z as BrowseSurface, C as BrowseSurfaceFilterChip, D as BrowseSurfaceProps, E as BrowseSurfaceScopeOption, F as BulkActionsBar, G as BulkActionsBarProps, H as CardTitle, I as ChartLegendItem, J as ChartTokenPanel, K as ChartTokenPanelProps, L as ChartTokenPanelState, M as ChatInput, N as ChatMessage, O as ChatMessageModel, P as ChatRole, Q as ChatThread, R as ChatThreadProps, S as ChoiceChip, T as ChoiceChipProps, U as ClippedFlexChild, V as ComboboxOption, W as ConsumerDashboardGrid, X as ConsumerDashboardGridProps, Y as ConsumerSection, Z as ConsumerSectionProps, _ as CountBadge, $ as CountBadgeProps, a0 as CreatorCssPolicy, a1 as CreatorCssSeverity, a2 as CreatorCssValidationIssue, a3 as CreatorThemeBoundary, a4 as CreatorThemeBoundaryProps, a5 as CreatorThemeDiagnostics, a6 as CtaButtonGroup, a7 as CtaButtonGroupProps, a8 as DataToolbar, a9 as DataToolbarFilterChip, aa as DataToolbarProps, ab as DetailFact, ac as DetailFactsTable, ad as DetailFactsTableProps, ae as DetailProfileShell, af as DetailProfileShellProps, ag as DocsPageShell, ah as DocsPageShellProps, ai as EditorialCard, aj as EditorialCardProps, ak as EditorialCardVariant, al as EditorialHero, am as EditorialHeroAction, an as EditorialHeroMetaItem, ao as EditorialHeroProps, ap as EmptyState, aq as EmptyStateProps, ar as EvidencePanel, as as EvidencePanelProps, at as EvidencePanelState, au as FeatureBand, av as FeatureBandItem, aw as FeatureBandProps, ax as FilterChipGroup, ay as FilterDrawer, az as FilterDrawerMode, aA as FilterDrawerProps, aB as FitScoreChip, aC as FitScoreChipProps, aD as FitScoreDimension, aE as FloatingActionPlacement, aF as FloatingActionPlacementProps, aG as FoodCardAvailabilityState, aH as FoodCardMarker, aI as FoodCardMediaRatio, aJ as FoodCardMetadata, aK as FoodMenuCategory, aL as FoodMenuItem, aM as FoodMenuSection, aN as FoodMenuSectionProps, aO as FormField, aP as FormFieldProps, aQ as GDS_CHART_SERIES_COLORS, aR as GDS_CHART_SERIES_SLOTS, aS as GDS_DETAIL_FACTS_LABEL_COLUMN_PX, aT as GDS_DETAIL_FACT_IDS, aU as GDS_LISTING_PICK_BADGE_FONT_SIZE_PX, aV as GDS_LISTING_PICK_BADGE_ICON_PX, aW as GDS_LISTING_PICK_BADGE_INSET_PX, aX as GDS_LISTING_PICK_BADGE_LINE_HEIGHT_PX, aY as GDS_LISTING_PICK_BADGE_PADDING_BLOCK_PX, aZ as GDS_LISTING_PICK_BADGE_PADDING_INLINE_PX, a_ as GDS_LISTING_TILE_SIZE_PX, a$ as GDS_PICTOGRAM_BASE_STROKE, b0 as GDS_PICTOGRAM_DISABLED_OPACITY, b1 as GDS_PICTOGRAM_GRID, b2 as GDS_PICTOGRAM_HERO_LAYERS, b3 as GDS_PICTOGRAM_SCALE_PX, b4 as GDS_PICTOGRAM_STROKE_BY_SCALE, b5 as GDS_PICTOGRAM_TREATMENT_SCALE, b6 as GDS_PIN_APPROXIMATE_DASH, b7 as GDS_PIN_EMOJI_SCALE, b8 as GDS_PIN_EMPHASIS_STROKE, b9 as GDS_PIN_HEAD_CENTER_OFFSET, ba as GDS_PIN_ICON_SCALE, bb as GDS_PIN_SELECTED_SCALE, bc as GDS_QUICK_START_ICON_BOX_PX, bd as GdsAccessAdapter, be as GdsAccessAdapterOptions, bf as GdsAccessEntitlement, bg as GdsAccessGateAction, bh as GdsAccessGateActionKind, bi as GdsAccessGateContract, bj as GdsAccessGateEvent, bk as GdsAccessGateReason, bl as GdsAccessGateState, bm as GdsAccessSession, bn as GdsAccessibilityEvidence, bo as GdsAccessibilityEvidenceState, bp as GdsAccessibilityEvidenceSummary, bq as GdsAccessibilityEvidenceValidationResult, br as GdsActivityPictogramKey, bs as GdsAdminDashboardTemplate, bt as GdsAdminDashboardTemplateProps, bu as GdsAnalyticsTemplate, bv as GdsAnalyticsTemplateProps, bw as GdsAreaChart, bx as GdsAtBrowserStatus, by as GdsBadgeStack, bz as GdsBadgeStackCorner, bA as GdsBadgeStackLayer, bB as GdsBadgeStackLayerProps, bC as GdsBadgeStackProps, bD as GdsBarChart, bE as GdsBenchmarkBarChart, bF as GdsBleed, bG as GdsBleedProps, bH as GdsBlockRenderer, bI as GdsBorderRole, bJ as GdsBox, bK as GdsBoxProps, bL as GdsBoxWithChildrenProps, bM as GdsBreadcrumbItem, bN as GdsBreadcrumbs, bO as GdsBreadcrumbsProps, bP as GdsBubbleChartConfig, bQ as GdsCalendarHeatmapChart, bR as GdsCandlestickChartConfig, bS as GdsCardContractOptions, bT as GdsCardDensity, bU as GdsCardInteractiveMode, bV as GdsCardResolvedContract, bW as GdsCardSize, bX as GdsCardVariant, bY as GdsCartesianChartConfig, bZ as GdsChart, b_ as GdsChartAxis, b$ as GdsChartBaseConfig, c0 as GdsChartConfig, c1 as GdsChartDatum, c2 as GdsChartLegend, c3 as GdsChartLegendItem, c4 as GdsChartProps, c5 as GdsChartRendererAdapter, c6 as GdsChartRendererContext, c7 as GdsChartSetAType, c8 as GdsChartSetBType, c9 as GdsChartSetCType, ca as GdsChartTooltip, cb as GdsChartType, cc as GdsChartTypeDefinition, cd as GdsChartValidationResult, ce as GdsCluster, cf as GdsClusterProps, cg as GdsColumnGrid, ch as GdsColumnGridItem, ci as GdsColumnGridItemProps, cj as GdsColumnGridProps, ck as GdsCompareButton, cl as GdsCompareButtonProps, cm as GdsContainer, cn as GdsContainerProps, co as GdsContentPattern, cp as GdsContentPatternCatalog, cq as GdsContentPatternId, cr as GdsCopyTemplate, cs as GdsCountBadge, ct as GdsCountBadgeProps, cu as GdsCountBadgeTone, cv as GdsCrudEditorTemplate, cw as GdsCrudEditorTemplateProps, cx as GdsDesignComponentMap, cy as GdsDesignHandoffCatalog, cz as GdsDesignHandoffReport, cA as GdsDesignTokenMap, cB as GdsDetailFactId, cC as GdsDirectionBoundary, cD as GdsDivergingBarChart, cE as GdsEmptyStateTemplate, cF as GdsEmptyStateTemplateProps, cG as GdsErrorPageTemplate, cH as GdsErrorPageTemplateProps, cI as GdsFormatOptions, cJ as GdsFormattedCurrency, cK as GdsFormattedCurrencyProps, cL as GdsFormattedDate, cM as GdsFormattedDateProps, cN as GdsFormattedNumber, cO as GdsFormattedNumberProps, cP as GdsFunnelChartConfig, cQ as GdsGaugeChart, cR as GdsGrid, cS as GdsGridProps, cT as GdsHandoffStatus, cU as GdsHeatmapChartConfig, cV as GdsHistogramChart, cW as GdsI18nRuntimeEvent, cX as GdsI18nRuntimeEventType, cY as GdsInline, cZ as GdsInlineProps, c_ as GdsKeyboardBehavior, c$ as GdsKnownLimitation, d0 as GdsLayoutAlign, d1 as GdsLayoutBreakpoint, d2 as GdsLayoutJustify, d3 as GdsLayoutOverflow, d4 as GdsLayoutPrimitiveBaseProps, d5 as GdsLayoutSize, d6 as GdsLayoutTemplate, d7 as GdsLayoutToken, d8 as GdsLayoutWrap, d9 as GdsLineChart, da as GdsLocale, db as GdsLocaleText, dc as GdsLocaleTextProps, dd as GdsLogoLockup, de as GdsLogoLockupProps, df as GdsLongitudinalChart, dg as GdsMapPinBadge, dh as GdsMapPinBadgeProps, di as GdsMapPinState, dj as GdsMaturityCapability, dk as GdsMaturityCapabilityArea, dl as GdsMaturityCapabilityStatus, dm as GdsMaturityRadarChart, dn as GdsMediaFit, dp as GdsMediaFrame, dq as GdsMediaFrameProps, dr as GdsMessageSeverity, ds as GdsMeter, dt as GdsMeterProps, du as GdsMissingKeyTracker, dv as GdsNotificationAction, dw as GdsNotificationAuditEvent, dx as GdsNotificationAuditEventType, dy as GdsNotificationBell, dz as GdsNotificationBellProps, dA as GdsNotificationDedupePolicy, dB as GdsNotificationLivePolicy, dC as GdsNotificationMessage, dD as GdsNotificationPersistence, dE as GdsNotificationPolicy, dF as GdsNotificationRetryPolicy, dG as GdsNotificationSeverity, dH as GdsNotificationStatus, dI as GdsOverflowFrame, dJ as GdsOverflowFrameProps, dK as GdsOverflowPolicy, dL as GdsOwnedContrastPropsInput, dM as GdsOwnedContrastRole, dN as GdsOwnedContrastTokens, dO as GdsPageTemplateAction, dP as GdsPageTemplateBaseProps, dQ as GdsPageTemplateCatalog, dR as GdsPageTemplateConfig, dS as GdsPageTemplateGuidance, dT as GdsPageTemplateId, dU as GdsPageTemplateSection, dV as GdsPageTemplateState, dW as GdsPageTemplateTelemetryEvent, dX as GdsPageTemplateTelemetryEventName, dY as GdsPartToWholeChartConfig, dZ as GdsPatternTelemetryEvent, d_ as GdsPictogram, d$ as GdsPictogramDefinition, e0 as GdsPictogramFamily, e1 as GdsPictogramHeroLayer, e2 as GdsPictogramProps, e3 as GdsPictogramScale, e4 as GdsPictogramState, e5 as GdsPictogramTreatment, e6 as GdsPictogramUsageRule, e7 as GdsPlaceholderContract, e8 as GdsPlural, e9 as GdsPluralMessage, ea as GdsPluralProps, eb as GdsPropAnnotation, ec as GdsPublicEventTemplate, ed as GdsPublicEventTemplateProps, ee as GdsRadarChart, ef as GdsRadarChartConfig, eg as GdsRadiusToken, eh as GdsRatingDisplay, ei as GdsRatingDisplayProps, ej as GdsRatingScale, ek as GdsRatingScaleProps, el as GdsRelativeTime, em as GdsRelativeTimeProps, en as GdsRemovableTag, eo as GdsRemovableTagProps, ep as GdsRemovableTagTone, eq as GdsResourceManagerTemplate, er as GdsResourceManagerTemplateProps, es as GdsResponsiveChartFrame, et as GdsResponsiveResolution, eu as GdsResponsiveValue, ev as GdsResponsiveVisibility, ew as GdsResponsiveVisibilityProps, ex as GdsSafeBox, ey as GdsSafeBoxProps, ez as GdsSafeStyleProps, eA as GdsSankeyChartConfig, eB as GdsScatterChartConfig, eC as GdsScreenReaderNote, eD as GdsSegmentedControl, eE as GdsSegmentedControlOption, eF as GdsSegmentedControlProps, eG as GdsSelectionGroupProps, eH as GdsSelectionOption, eI as GdsSemanticBackground, eJ as GdsSeriesTone, eK as GdsSettingsGroup, eL as GdsSettingsTemplate, eM as GdsSettingsTemplateProps, eN as GdsSidebar, eO as GdsSidebarProps, eP as GdsSlider, eQ as GdsSliderProps, eR as GdsSlopeChart, eS as GdsSparkline, eT as GdsSplit, eU as GdsSplitProps, eV as GdsStack, eW as GdsStackProps, eX as GdsStackedBarChart, eY as GdsStyleContract, eZ as GdsSymmetryChart, e_ as GdsTaskPattern, e$ as GdsTaskState, f0 as GdsTaskStep, f1 as GdsTextExpansionFixture, f2 as GdsTextRoleProps, f3 as GdsTitleRoleProps, f4 as GdsTreemapChartConfig, f5 as GdsTrustLabel, f6 as GdsTypographyProps, f7 as GdsVisibilityValue, f8 as GdsVocabulary, f9 as GdsVocabularyPack, fa as GdsWcagMapping, fb as GdsWizardStep, fc as GdsWizardStepper, fd as GdsWizardStepperProps, fe as InlineAlert, ff as InlineAlertProps, fg as InlineEmphasis, fh as InlineText, fi as LabelTag, fj as LabelTagProps, fk as LabelTagTone, fl as LabelText, fm as LastCheckedLabel, fn as LastCheckedLabelProps, fo as LayeredSurfaceSlot, fp as LayeredSurfaceSlotProps, fq as LayoutBlock, fr as LayoutBlockType, fs as LayoutRenderResult, ft as LayoutSchema, fu as LayoutValidationIssue, fv as ListItemSection, fw as ListingCard, fx as ListingCardAffordance, fy as ListingCardMediaRatio, fz as ListingCardPickBadge, fA as ListingCardProps, fB as ListingFilterChip, fC as ListingMetadataRow, fD as MAX_LISTING_CARD_ACTIONS, fE as MapPanel, fF as MapPanelProps, fG as MeaningBadge, fH as MeaningBadgeProps, fJ as MediaCard, fK as MediaCardAction, fL as MediaCardProps, fM as MediaField, fN as MediaFieldProps, fO as MediaFieldState, fP as MediaFit, fQ as MediaPreviewAspectRatio, fR as MediaPreviewCard, fS as MediaPreviewCardProps, fT as MediaPreviewMetadata, fU as MediaPreviewState, fV as MediaWithFallback, fW as MediaWithFallbackProps, fX as MetadataText, fY as MetricCard, fZ as MetricCardProps, f_ as MissingDataPrompt, f$ as MissingDataPromptProps, g0 as MonospaceInputFrame, g1 as NotificationCenterView, g2 as NumberStepper, g3 as NumberStepperProps, g4 as NumericCell, g5 as OverflowContainer, g6 as OverflowContainerProps, g7 as PROVIDER_IDENTITY_REGISTRY, g8 as PageHeader, g9 as PageHeaderEyebrowVariant, ga as PageHeaderProps, gb as PageTitle, gc as PeriodSelector, gd as PeriodSelectorOption, ge as PeriodSelectorProps, gf as PillBar, gg as PlaceholderPanel, gh as PlaceholderPanelProps, gi as PlaybackSurface, gj as PlaybackSurfaceProps, gk as PlaybackSurfaceState, gl as PriceEstimateLabel, gm as PriceEstimateLabelProps, gn as PriceEstimateStatus, go as ProductCard, gp as ProductCardAction, gq as ProductCardMetaItem, gr as ProductCardProps, gs as ProgressCard, gt as ProgressCardProps, gu as ProviderIdentity, gv as ProviderIdentityButton, gw as ProviderIdentityButtonGroup, gx as ProviderIdentityButtonGroupProps, gy as ProviderIdentityButtonProps, gz as ProviderIdentityVariant, gA as PublicBrandFooter, gB as PublicBrandFooterClassNames, gC as PublicBrandFooterLayoutVariant, gD as PublicBrandFooterProps, gE as PublicFlowAction, gF as PublicFlowActionPriority, gG as PublicFlowShell, gH as PublicFlowShellProps, gI as PublicFlowStage, gJ as PublicFlowStageStatus, gK as PublicFoodCard, gL as PublicFoodCardProps, gM as PublicNav, gN as PublicNavItem, gO as PublicNavProps, gP as PublicProductCard, gQ as PublicProductCardHelperKind, gR as PublicProductCardMetaItem, gS as PublicProductCardProps, gT as PublicProductCardState, gU as PublicShell, gV as PublicShellBottomTabOptions, gW as PublicShellClassNames, gX as PublicShellHeaderVariant, gY as PublicShellMobileNavigationMode, gZ as PublicShellProps, g_ as PublicSiteFooter, g$ as PublicSiteFooterProps, h0 as QuickStartCard, h1 as QuickStartCardProps, h2 as ReferenceLinkGrid, h3 as ReferenceLinkGridItem, h4 as ReferenceLinkGridProps, h5 as ReferenceLocaleNotice, h6 as ReferenceLocaleNoticeProps, h7 as ReferenceSection, h8 as ReferenceSectionProps, h9 as ReportingSection, ha as ReportingSectionProps, hb as ReportingSectionState, hc as ResultSummary, hd as ResultSummaryProps, he as SearchableSelect, hf as SearchableSelectProps, hg as SectionPanel, hh as SectionPanelProps, hi as SectionPanelTone, hj as SectionTitle, hk as SemanticAction, hl as SemanticActionDefinition, hm as SemanticActionId, hn as SemanticChartFrame, ho as SemanticChartFrameProps, hp as SemanticChartProps, hq as SemanticInset, hr as SimpleDataTable, hs as SimpleDataTableProps, ht as SimpleTableColumn, hu as SocialAuthButtons, hv as SocialAuthButtonsProps, hw as SocialAuthProviderId, hx as SocialAuthProviderOption, hy as SoftChipGroup, hz as SortMenu, hA as SortMenuProps, hB as SortOption, hC as StateBlock, hD as StateBlockProps, hE as StateBlockVariant, hF as StatsSection, hG as StatsSectionProps, hH as StatusBadge, hI as StatusBadgeProps, hJ as StatusVariant, hK as StreamingIndicator, hL as SurfaceContentAlign, hM as SurfaceContentJustify, hN as SurfacePresentation, hO as SurfacePresentationProps, hP as TRUST_BADGE_DEFINITIONS, hQ as TrustBadge, hR as TrustBadgeProps, hS as VisuallyHidden, hT as VocabularyResolver, hU as ar, hV as compareGdsLocaleString, hW as createGdsAccessAdapter, hX as createGdsAccessGateEvent, hY as createGdsAccessibilityEvidenceIndex, hZ as createGdsContentExpansionReport, h_ as createGdsMissingKeyTracker, h$ as createGdsNotificationAuditEvent, i0 as createGdsNotificationId, i1 as createGdsOwnedContrastTokens, i2 as createGdsPageTemplateEvent, i3 as createGdsPictogramFamily, i4 as createGdsStyleContract, i5 as createGdsTextExpansionFixture, i6 as createGdsVocabularyPack, i7 as de, i8 as es, i9 as formatGdsCurrency, ia as formatGdsDate, ib as formatGdsNumber, ic as formatGdsPlural, id as formatGdsRelativeTime, ie as fr, ig as gdsActivityPictograms, ih as gdsCardDensityPaddingMap, ii as gdsCardGapMap, ij as gdsCardMediaRatioMap, ik as gdsCardSizePaddingMap, il as gdsCardTitleOrderMap, im as gdsChartSetATypeRegistry, io as gdsChartSetBTypeRegistry, ip as gdsChartSetCTypeRegistry, iq as gdsChartTypeRegistry, ir as gdsDefaultChartLegend, is as gdsLocales, it as gdsPictogramUsageRules, iu as gdsSeriesPalette, iv as gdsStyle, iw as generateGdsDesignHandoffReport, ix as getGdsAccessGateActionPriority, iy as getGdsAccessGateReasons, iz as getGdsAccessGateStates, iA as getGdsAccessibilityEvidence, iB as getGdsAccessibilityEvidenceSummary, iC as getGdsActivityPictogramKeys, iD as getGdsBlockTypes, iE as getGdsChartSeriesColor, iF as getGdsContentPattern, iG as getGdsContentPatterns, iH as getGdsCopyTemplate, iI as getGdsCopyTemplates, iJ as getGdsDesignComponentMappings, iK as getGdsDesignTokenMappings, iL as getGdsLayoutTemplate, iM as getGdsLayoutTemplates, iN as getGdsMaturityCapabilities, iO as getGdsMaturityCapability, iP as getGdsMaturitySummary, iQ as getGdsMessages, iR as getGdsNotificationLivePolicy, iS as getGdsOwnedContrastProps, iT as getGdsPageTemplate, iU as getGdsPageTemplates, iV as getGdsRecommendedMaturityCapabilities, iW as getGdsSeriesColor, iX as getGdsTaskPattern, iY as getGdsTaskPatterns, iZ as getProviderIdentityLabel, i_ as getProviderIdentityPolicy, i$ as getSemanticActionConfig, j0 as getSemanticActionLabel, j1 as getSupportedProviderIdentityIds, j2 as he, j3 as hu, j4 as isGdsActivityPictogramKey, j5 as isGdsChartSetAType, j6 as isGdsChartSetBType, j7 as isGdsChartSetCType, j8 as isPresentationMode, j9 as it, ja, jb as ko, jc as mergeGdsVocabularyPacks, jd as normalizeGdsResponsiveValue, je as redactGdsAccessGateMetadata, jf as registerGdsBlock, jg as renderGdsCopyTemplate, jh as renderGdsLayout, ji as renderGdsLayoutWithDiagnostics, jj as resolveAccentPanelStyles, jk as resolveGdsAccessAdapterState, jl as resolveGdsAccessState, jm as resolveGdsActivityPictogramLabel, jn as resolveGdsCardContract, jo as resolveGdsChartTokenColor, jp as resolveGdsLayoutStyle, jq as resolveGdsLocale, jr as resolveGdsMessage, js as resolveSemanticActionConfig, jt as resolveSurfacePresentationStyles, ju as ru, jv as sortGdsAccessGateActions, jw as sortGdsLocaleStrings, jx as useGdsDirection, jy as validateCreatorCss, jz as validateGdsAccessGateContract, jA as validateGdsAccessibilityEvidence, jB as validateGdsChartData, jC as validateGdsContentPatterns, jD as validateGdsCopyTemplate, jE as validateGdsDesignHandoffMappings, jF as validateGdsLayout, jG as validateGdsPageTemplates, jH as validateGdsTaskPatterns, jI as zh } from './QuickStartCard-DnZMDjzb.mjs';
|
|
4
|
+
import { a as GdsBadgeAccentName, G as GdsBadgeAccentShade, b as GdsIconKey } from './GdsBadge-DqTdnomt.mjs';
|
|
5
|
+
export { c as GDS_PIN_SILHOUETTE_PATH, d as GdsBadge, e as GdsBadgeProps, f as GdsBadgeShapeCircle, g as GdsBadgeShapeHexagon, h as GdsBadgeShapeName, i as GdsBadgeShapePin, j as GdsBadgeShapeRosette, k as GdsBadgeShapeShield, l as GdsBadgeShapeSquircle, m as GdsBadgeShapes, n as GdsBadgeTone, o as GdsIcon, p as GdsIconA11yMode, q as GdsIconCategory, r as GdsIconMetadata, s as GdsIconName, t as GdsIconProps, u as GdsIconTone, v as GdsIcons, w as gdsBadgeAccentColors, x as gdsBadgeAccentShades, y as gdsIconRegistry, z as gdsIconToneColor, A as getGdsIconKeys, B as getGdsIconMetadata, C as getGdsIconToneColor, D as isGdsIconKey } from './GdsBadge-DqTdnomt.mjs';
|
|
6
|
+
import * as react from 'react';
|
|
7
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
8
|
+
import { GdsThemePresetId, GdsAccentName, GdsBadgeIconStyle } from '@sovereignsquad/gds-theme';
|
|
9
|
+
export { GdsDensityMode } from '@sovereignsquad/gds-theme';
|
|
10
|
+
import { e as GdsGeneratedThumbnailCategory, G as GdsGeneratedPaletteSource, a as GdsGeneratedPaletteColors } from './PartnerDiscovery-Bwxixtka.mjs';
|
|
11
|
+
export { A as AmenityChipGrid, h as AmenityChipGridProps, a6 as GdsGeneratedHero, d as GdsGeneratedHeroAspectRatio, b as GdsGeneratedHeroBackground, c as GdsGeneratedHeroBadge, a7 as GdsGeneratedHeroProps, a8 as GdsGeneratedHeroRegion, a9 as GdsGeneratedPalette, aa as GdsGeneratedPaletteOptions, ab as GdsGeneratedThumbnail, f as GdsGeneratedThumbnailAspectRatio, g as GdsGeneratedThumbnailBackground, ac as GdsGeneratedThumbnailProps, ad as GdsGeneratedThumbnailRegion, P as PartnerAboutPageSections, i as PartnerAmenityBadgeGrid, j as PartnerAmenityOption, k as PartnerContactBlock, l as PartnerDiscoveryEvent, m as PartnerDiscoveryEventHandler, n as PartnerDiscoveryEventName, o as PartnerDiscoveryFilterLabels, p as PartnerDiscoveryFilterState, q as PartnerDiscoveryFilters, r as PartnerDiscoveryFiltersProps, s as PartnerDiscoveryFooter, t as PartnerDiscoveryHeader, u as PartnerDiscoveryShell, v as PartnerDiscoveryShellProps, w as PartnerEditorialLink, x as PartnerFaqItem, y as PartnerFaqList, z as PartnerListIndex, B as PartnerMapAdapterProps, C as PartnerMapControls, D as PartnerMapControlsProps, E as PartnerMapListShell, F as PartnerMapListShellProps, H as PartnerMapPin, I as PartnerMapPinProps, J as PartnerMapViewport, K as PartnerNavItem, L as PartnerNewsletterCapture, M as PartnerNewsletterCaptureProps, N as PartnerNewsletterForm, O as PartnerNewsletterLabels, Q as PartnerParentTipPanel, R as PartnerPlaceDetail, S as PartnerPlaceDetailLabels, T as PartnerPlaceDetailTemplate, U as PartnerPlaceDetailTemplateProps, V as PartnerPlaceResult, W as PartnerPlaceResultCard, X as PartnerPlaceResultCardProps, Y as PartnerPriceLevel, Z as PartnerSubmissionEntry, ae as ResolveGdsGeneratedPaletteHexOptions, _ as emitPartnerDiscoveryEvent, $ as filterPartnerPlaces, af as gdsGeneratedPaletteCssRefs, ag as gdsSeededRandom, a0 as partnerDiscoveryDefaultAmenities, a1 as partnerDiscoveryDefaultFilterState, a2 as redactPartnerDiscoveryEventMetadata, a3 as resetPartnerDiscoveryFilters, ah as resolveGdsGeneratedPaletteHex, a4 as togglePartnerAmenity, a5 as togglePartnerPrice } from './PartnerDiscovery-Bwxixtka.mjs';
|
|
12
|
+
export { AccessRecoveryAction, AccessRecoveryPanel, AccessRecoveryPanelProps, AccessRecoveryState, AdvancedDataTable, AdvancedDataTableProps, AdvancedSortDirection, AdvancedTableColumn, AdvancedTableDensity, CaptureRuntimeState, CommandDef, CommandPalette, CommandRegistryProvider, ConfirmChecklist, ConfirmChecklistProps, ConfirmDialog, ConfirmDialogProps, ConfirmRequest, CreateGdsFormFromSchemaOptions, DiscoveryShell, DiscoveryShellProps, DiscoveryShellState, DocsCodeBlock, DocsCodeBlockProps, DocsHeaderActionSelect, DocsHeaderActionSelectOption, DocsHeaderActionSelectProps, DocsShell, DocsShellProps, FieldState, FileUploadField, FileUploadFieldProps, FormErrorSummary, FormSnapshot, GDS_BUTTON_FEEDBACK_DURATION_MS, GDS_BUTTON_GRADIENT_TEXT_FLOOR, GDS_BUTTON_OUTLINE_ACCENT_STROKE_PX, GDS_HERO_SEARCH_FIELD_FLEX_BASIS_PX, GDS_HERO_SEARCH_FIELD_MIN_WIDTH_PX, GameBoardTile, GameBoardTileProps, GdsAccessGate, GdsAccessGateProps, GdsAltTextPolicy, GdsAsset, GdsAssetAdapter, GdsAssetDisplayMode, GdsAssetEvent, GdsAssetManager, GdsAssetManagerProps, GdsAssetManagerTemplate, GdsAssetManagerTemplateProps, GdsAssetPreviewCard, GdsAssetPreviewCardProps, GdsAssetQueueItem, GdsAssetStatus, GdsAssetUploadQueueController, GdsAssetUploadRequest, GdsAssetValidationPolicy, GdsBrowseSelection, GdsBrowseSelectionOptions, GdsBulkAction, GdsBulkActionBar, GdsBulkActionBarProps, GdsCollectionView, GdsConfirmApi, GdsConfirmProvider, GdsConfirmProviderProps, GdsConfirmationEvent, GdsConfirmationEventType, GdsConfirmationRequest, GdsConfirmationStatus, GdsDataTable, GdsDataTableController, GdsDataTableProps, GdsDateInput, GdsDateInputBaseProps, GdsDateInputProps, GdsDateRangeInput, GdsDateRangeInputProps, GdsDateRangeValue, GdsDateTimeInput, GdsDateTimeInputProps, GdsDensityProvider, GdsDensityProviderProps, GdsDestructiveActionResult, GdsDialog, GdsDialogProps, GdsDraftAdapter, GdsDrawer, GdsDrawerProps, GdsEventPayloadPolicy, GdsExportRequest, GdsFieldDescriptor, GdsFieldOption, GdsFieldRenderer, GdsFieldRendererContext, GdsFieldRendererMap, GdsFormOrchestrationEvent, GdsFormProvider, GdsFormSchema, GdsFormServerError, GdsGuidedTour, GdsGuidedTourProps, GdsLayoutTemplatePreview, GdsLayoutTemplatePreviewProps, GdsMessageThread, GdsMessageThreadProps, GdsModal, GdsModalProps, GdsNotificationCenter, GdsNotificationProvider, GdsNotificationProviderProps, GdsOperationalEvent, GdsOperationalEventInput, GdsOperationalEventType, GdsOverlayEvent, GdsOverlayEventType, GdsOverlayPolicy, GdsOverlayRoutePolicy, GdsOverlayStackItem, GdsOverlayStatus, GdsOverlayType, GdsRejectedPayloadDetails, GdsResourceActionId, GdsResourceActionResult, GdsResourceAdapter, GdsResourceManager, GdsResourceManagerController, GdsResourceManagerEvent, GdsResourceManagerProps, GdsResourcePermission, GdsResourceRecord, GdsResourceWorkflowState, GdsRiskLevel, GdsSchemaAdapterResult, GdsSchemaFieldType, GdsSchemaForm, GdsSchemaFormEvent, GdsSchemaFormProps, GdsSchemaUploadAdapter, GdsSchemaUploadRemoveRequest, GdsSchemaUploadRequest, GdsSchemaUploadResult, GdsShapeScope, GdsShapeScopeProps, GdsSheet, GdsSheetProps, GdsSidePanel, GdsSidePanelProps, GdsTableColumn, GdsTableDataAdapter, GdsTableEvent, GdsTableLoadResult, GdsTableQuery, GdsTableSortDirection, GdsTableStatus, GdsTelemetryAdapter, GdsTelemetryAdapterOptions, GdsTelemetryDispatchOptions, GdsTelemetryDispatchResult, GdsTelemetryDispatchStatus, GdsTelemetryOutcome, GdsTelemetryPayload, GdsTelemetryPayloadValue, GdsTelemetryProvider, GdsTelemetryProviderProps, GdsTelemetrySink, GdsThreadList, GdsThreadListItem, GdsThreadListProps, GdsThreadMessage, GdsToastApi, GdsToastMessage, GdsToastProvider, GdsToastProviderProps, GdsToastViewport, GdsToastViewportProps, GdsTourButton, GdsTourButtonProps, GdsTourInteraction, GdsTourPlacement, GdsTourProvider, GdsTourProviderProps, GdsTourStartOptions, GdsTourStatus, GdsTourStep, GdsTourStopReason, GdsTreeNode, GdsTreeView, GdsTreeViewProps, GdsUiEvent, GdsUndoPolicy, GdsUxFailureReason, GdsValidationSummary, GdsViewToggle, GdsViewToggleProps, GdsWorkspaceInboxTemplate, GdsWorkspaceInboxTemplateProps, HeroSearchFieldConfig, HeroSearchPanel, HeroSearchPanelProps, KanbanBoard, KanbanBoardProps, KanbanCard, KanbanCardProps, KanbanColumn, KanbanColumnData, KanbanColumnProps, KanbanItem, KanbanOrientation, ListingAction, ListingProvider, ListingQueryState, ListingStateConfig, ListingStateValue, NotificationCenter, OverlayCloseReason, OverlayDescriptor, OverlayKind, OverlayManagerProvider, OverlayManagerProviderProps, PlaybackControlState, PlaybackControls, PlaybackControlsProps, PlaybackOverlayControls, ProviderCTA, ProviderCTAProps, PublicAcceptStep, PublicCaptureFlow, PublicCaptureFlowProps, PublicCaptureStageId, PublicConsentStep, PublicCtaStep, PublicIdentityStep, PublicRestartStep, PublicShareOverlay, ReportOutdatedLink, ReportOutdatedLinkProps, SemanticButton, SemanticButtonProps, ShareButtonGroup, ShareButtonGroupProps, ShareChannel, SidebarNav, SidebarNavItem, SidebarNavItemProps, SidebarNavProps, SidebarNavSection, SidebarNavSectionProps, SourceBlock, SourceBlockProps, SourceRowStatus, SubmitState, ThemeToggle, ThemeToggleProps, UploadDropzone, UploadDropzoneProps, UploadDropzoneState, UseDiscoveryShellStateOptions, UseGdsAssetUploadQueueConfig, UseGdsDataTableConfig, UseGdsFormOrchestrationConfig, UseGdsKanbanOrientationOptions, UseGdsResourceManagerConfig, ValidatedFieldMessage, ValidationIssue, ValidationSeverity, createGdsAssetAdapter, createGdsDraftAdapter, createGdsFormFromSchema, createGdsResourceAdapter, createGdsTableAdapter, createGdsTelemetryAdapter, emitGdsEvent, gdsFormReducer, gdsOperationalEventTypes, gdsUxFailureReasons, getGdsShapeScopeStyle, isGdsOperationalEventType, jsonSchemaToGdsFormSchema, listingQueryReducer, openApiToGdsFormSchema, serializeGdsTableQuery, useCommandLauncher, useDiscoveryShellState, useGdsAssetUploadQueue, useGdsBrowseSelection, useGdsCardContract, useGdsConfirm, useGdsDataTable, useGdsDensity, useGdsForm, useGdsFormOrchestration, useGdsFormSnapshot, useGdsKanbanOrientation, useGdsNotifications, useGdsResourceManager, useGdsTelemetry, useGdsToasts, useGdsTour, useHasSeenTour, useListingState, useOverlayManager, usePlaybackKeyboardControls, validateGdsAsset, zodToGdsFormSchema } from './client.mjs';
|
|
13
|
+
export { e as en } from './en-D9CWSH3F.mjs';
|
|
6
14
|
import '@tabler/icons-react';
|
|
7
|
-
|
|
15
|
+
|
|
16
|
+
/** Props for {@link GdsAccentContrastMatrix}. */
|
|
17
|
+
interface GdsAccentContrastMatrixProps {
|
|
18
|
+
/** Preset whose accents are measured. */
|
|
19
|
+
preset: GdsThemePresetId;
|
|
20
|
+
/** Colour scheme the measurement is taken in. */
|
|
21
|
+
colorScheme: 'light' | 'dark';
|
|
22
|
+
/** Optional heading; omit to render the matrix alone inside a section that already has one. */
|
|
23
|
+
title?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Live contrast matrix for the accent axis (issue 596).
|
|
27
|
+
*
|
|
28
|
+
* Every accent x shade x mode combination for one preset and scheme, with its **measured
|
|
29
|
+
* ratio and required threshold**. A theme author sees which combinations pass before shipping
|
|
30
|
+
* rather than discovering it from a failed build.
|
|
31
|
+
*
|
|
32
|
+
* Values come from `evaluateGdsAccentContrast()` — the same function `verify:accent-contrast`
|
|
33
|
+
* uses. A second computation could disagree with the gate, and a UI that contradicts the build
|
|
34
|
+
* is worse than no UI.
|
|
35
|
+
*
|
|
36
|
+
* Modes the gate does not enforce are shown too, marked as measured-only with the reason. They
|
|
37
|
+
* are real numbers a theme author wants; hiding them would make the matrix look like it covers
|
|
38
|
+
* less than it does.
|
|
39
|
+
*/
|
|
40
|
+
declare function GdsAccentContrastMatrix({ preset, colorScheme, title }: GdsAccentContrastMatrixProps): react.JSX.Element;
|
|
41
|
+
|
|
42
|
+
/** Props for {@link GdsPinSystemReference}. */
|
|
43
|
+
interface GdsPinSystemReferenceProps {
|
|
44
|
+
/** Preset the contrast figures are measured against. */
|
|
45
|
+
preset?: GdsThemePresetId | string;
|
|
46
|
+
/** Scheme the contrast figures are measured in. */
|
|
47
|
+
colorScheme?: 'light' | 'dark';
|
|
48
|
+
/** Accents shown in the matrix. Defaults to a representative four. */
|
|
49
|
+
accents?: GdsAccentName[];
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The pin system: anatomy, composition modes, and a measured accent × shade matrix.
|
|
53
|
+
*
|
|
54
|
+
* All numbers are surfaced from source or computed live, never retyped.
|
|
55
|
+
*/
|
|
56
|
+
declare function GdsPinSystemReference({ preset, colorScheme, accents, }: GdsPinSystemReferenceProps): react.JSX.Element;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* A consumer's own category identity (issue 525): one color+glyph record
|
|
60
|
+
* shared across `GdsBadge`, `GdsMapPinBadge`, `GdsGeneratedThumbnail`, and
|
|
61
|
+
* `GdsGeneratedHero`, so a category reads the same everywhere it appears —
|
|
62
|
+
* the existing principle `BADGE_SYSTEM.md`'s "same activity identity, worn
|
|
63
|
+
* a different way" section already documents for `accent`+`icon`, extended
|
|
64
|
+
* here with an optional `emoji`.
|
|
65
|
+
*
|
|
66
|
+
* **Not shipped with any business data.** GDS ships the type and
|
|
67
|
+
* {@link resolveGdsCategoryBadgeIcon} only — categories like "Soccer" or
|
|
68
|
+
* "Basketball" are a consumer's own domain vocabulary (exactly like
|
|
69
|
+
* `GdsMapPinBadge`'s own docs already say: "sports/hobbies/interests
|
|
70
|
+
* routinely have no `GdsIcons` equivalent"), never a GDS-owned enum.
|
|
71
|
+
*
|
|
72
|
+
* **`icon` is required, `emoji` is optional — on purpose.** This is the
|
|
73
|
+
* structural guarantee behind "emoji affects only the badge, thumbnails
|
|
74
|
+
* keep the structure": `GdsGeneratedThumbnail`/`GdsGeneratedHero` read only
|
|
75
|
+
* a category's `icon` field. They have no code path that reads `emoji` at
|
|
76
|
+
* all, so a category can never fabricate a thumbnail/hero motif from an
|
|
77
|
+
* emoji glyph, regardless of what badge glyph mode is active elsewhere.
|
|
78
|
+
*/
|
|
79
|
+
interface GdsCategoryDefinition {
|
|
80
|
+
/** Stable identity, e.g. `'soccer'` — for keys/lookups, not rendered. */
|
|
81
|
+
key: string;
|
|
82
|
+
/** Real, consumer-written accessible name, e.g. `'Soccer'` — never derived from an icon library's own display name. */
|
|
83
|
+
label: string;
|
|
84
|
+
/** Curated accent driving this category's color across every surface it appears on. */
|
|
85
|
+
accent: GdsBadgeAccentName;
|
|
86
|
+
/** Within-accent differentiation for related sub-categories (see `GdsBadgeAccentShade`). Defaults to `'base'`. */
|
|
87
|
+
shade?: GdsBadgeAccentShade;
|
|
88
|
+
/** A canonical `GdsIcons` key, or any externally-sourced icon element — the structural fallback every surface can render. */
|
|
89
|
+
icon: GdsIconKey | ReactNode;
|
|
90
|
+
/**
|
|
91
|
+
* Optional emoji glyph — a badge-only alternative to `icon`, used only
|
|
92
|
+
* when the effective badge glyph mode (see `useGdsBadgeIconStyle`) is
|
|
93
|
+
* `'emoji'`. A category with no `emoji` simply renders its `icon` even
|
|
94
|
+
* in emoji mode; that fallback is the point, not a gap to fill in later.
|
|
95
|
+
*/
|
|
96
|
+
emoji?: string;
|
|
97
|
+
}
|
|
98
|
+
/** What {@link resolveGdsCategoryBadgeIcon} resolved a category's badge glyph to. */
|
|
99
|
+
type GdsResolvedCategoryBadgeGlyph = {
|
|
100
|
+
mode: 'emoji';
|
|
101
|
+
emoji: string;
|
|
102
|
+
} | {
|
|
103
|
+
mode: 'tabler';
|
|
104
|
+
icon: GdsIconKey | ReactNode;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* The one shared failsafe branch behind "emoji where it has to be, icon
|
|
108
|
+
* where it doesn't" (issue 525): `iconStyle === 'emoji'` and `category`
|
|
109
|
+
* has an `emoji` resolves to that emoji; every other case — `'tabler'`
|
|
110
|
+
* mode, or `'emoji'` mode with no `emoji` on this category — resolves to
|
|
111
|
+
* the category's `icon`. A plain data-presence check, deterministic and
|
|
112
|
+
* SSR-safe, deliberately not a runtime "does this device render this
|
|
113
|
+
* glyph" probe (unreliable across browsers, untestable in CI without
|
|
114
|
+
* flaking, and would break `GdsGeneratedThumbnail`'s server/client
|
|
115
|
+
* determinism guarantee for no gain, since that component never reads
|
|
116
|
+
* `emoji` in the first place).
|
|
117
|
+
*/
|
|
118
|
+
declare function resolveGdsCategoryBadgeIcon(category: GdsCategoryDefinition, iconStyle: GdsBadgeIconStyle): GdsResolvedCategoryBadgeGlyph;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Render location; determines geometry only, not behavior.
|
|
122
|
+
*
|
|
123
|
+
* `corner` composes onto a map pin's upper-right; `button` is the standalone control.
|
|
124
|
+
*/
|
|
125
|
+
type GdsSavedIndicatorMode = 'corner' | 'button';
|
|
126
|
+
/** Props for {@link GdsSavedIndicator}. */
|
|
127
|
+
interface GdsSavedIndicatorProps {
|
|
128
|
+
/** Whether the item is currently saved. */
|
|
129
|
+
saved: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Accessible name for the action when not saved, e.g. `"Save Riverside Swim Club"`.
|
|
132
|
+
* Required; no default is shipped.
|
|
133
|
+
*/
|
|
134
|
+
saveLabel: string;
|
|
135
|
+
/** Accessible name for the action available when saved, e.g. `"Remove Riverside Swim Club from saved"`. */
|
|
136
|
+
unsaveLabel: string;
|
|
137
|
+
/** Called with the next state when the control is activated. */
|
|
138
|
+
onSaveChange?: (saved: boolean) => void;
|
|
139
|
+
/** Geometry. Defaults to `'button'`. */
|
|
140
|
+
mode?: GdsSavedIndicatorMode;
|
|
141
|
+
/** Disables the control. */
|
|
142
|
+
disabled?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Element the corner form anchors to — a pin, a card, a thumbnail.
|
|
145
|
+
* Required by `mode="corner"`. Follows `GdsCountBadge`'s `anchor` convention.
|
|
146
|
+
*/
|
|
147
|
+
anchor?: ReactNode;
|
|
148
|
+
/** Size of the anchored composition. Defaults to `'2.5em'`. */
|
|
149
|
+
anchorSize?: string | number;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Governed save/unsave toggle, rendered as a labelled `button`.
|
|
153
|
+
*
|
|
154
|
+
* The accessible name states the available action, not the current state; `aria-pressed`
|
|
155
|
+
* carries the state.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```tsx
|
|
159
|
+
* <GdsSavedIndicator
|
|
160
|
+
* saved={isSaved}
|
|
161
|
+
* onSaveChange={setSaved}
|
|
162
|
+
* saveLabel="Save Riverside Swim Club"
|
|
163
|
+
* unsaveLabel="Remove Riverside Swim Club from saved"
|
|
164
|
+
* />
|
|
165
|
+
* ```
|
|
166
|
+
*/
|
|
167
|
+
declare function GdsSavedIndicator({ saved, saveLabel, unsaveLabel, onSaveChange, mode, disabled, anchor, anchorSize, }: GdsSavedIndicatorProps): react.JSX.Element;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* GDS breakpoint alias keys (`xs`–`xl`). A GDS-owned type mirroring Mantine's
|
|
171
|
+
* breakpoint aliases without leaking a vendor type into the public surface.
|
|
172
|
+
*/
|
|
173
|
+
type GdsBreakpointAlias = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
174
|
+
/**
|
|
175
|
+
* Canonical GDS breakpoint alias → min-width map (em units) — the single source
|
|
176
|
+
* of truth for the responsive width rules GDS layout components apply via
|
|
177
|
+
* `useMediaQuery`. It mirrors the named size-class vocabulary documented in
|
|
178
|
+
* `docs/RESPONSIVE_AND_PLATFORM_GUIDANCE.md` (`compact` `< sm`, `medium` = `sm`,
|
|
179
|
+
* `expanded` = `md`, `large` = `lg`, `xlarge` = `xl`).
|
|
180
|
+
*
|
|
181
|
+
* Consumers building custom responsive chrome should resolve widths from this
|
|
182
|
+
* map instead of hard-coding pixel breakpoints, so their layout switches on the
|
|
183
|
+
* same boundaries GDS does. Used internally by `KanbanBoard`
|
|
184
|
+
* (`useGdsKanbanOrientation`) and `DiscoveryShell`.
|
|
185
|
+
*/
|
|
186
|
+
declare const gdsBreakpointByAlias: Record<GdsBreakpointAlias, string>;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Bounded viewport frame (issue 609).
|
|
190
|
+
*
|
|
191
|
+
* ## Why this exists
|
|
192
|
+
*
|
|
193
|
+
* Some surfaces position against the **viewport** rather than their parent, and some gate
|
|
194
|
+
* themselves on a **viewport breakpoint**. `BottomTabBar` does both. Documenting one inside a
|
|
195
|
+
* page was therefore impossible: at desktop widths it rendered nothing, and at mobile widths it
|
|
196
|
+
* pinned itself to the window and read as the page's own navigation rather than as an example.
|
|
197
|
+
*
|
|
198
|
+
* That is not a documentation problem — it is a missing capability. Every consumer embedding
|
|
199
|
+
* such a surface in a panel, a kiosk pane or a split view hits the same wall, and each one was
|
|
200
|
+
* left to solve it locally.
|
|
201
|
+
*
|
|
202
|
+
* ## How it works
|
|
203
|
+
*
|
|
204
|
+
* Two mechanisms, because the two problems are different, and **both are CSS** so this stays
|
|
205
|
+
* server-renderable:
|
|
206
|
+
*
|
|
207
|
+
* 1. **Positioning** — `contain: layout paint` makes this element a *containing block* for
|
|
208
|
+
* `position: fixed` descendants, so a fixed child pins to the frame instead of the window.
|
|
209
|
+
* `overflow: hidden` alone does not do this.
|
|
210
|
+
* 2. **Breakpoint gating** — the frame publishes its width class as `data-gds-viewport-frame`,
|
|
211
|
+
* and the governed stylesheet resolves `data-gds-viewport-gated` against it. A media query
|
|
212
|
+
* cannot be made to consult an element, so the element states its width and the cascade does
|
|
213
|
+
* the rest.
|
|
214
|
+
*
|
|
215
|
+
* A React context was the first design and is deliberately **not** used: reading it would make
|
|
216
|
+
* every gated component a client component, and `BottomTabBar` is exported from the server
|
|
217
|
+
* entrypoint. A capability for embedding surfaces should not force its subjects out of the
|
|
218
|
+
* server lane — `check-export-contract` caught exactly that and the design changed rather than
|
|
219
|
+
* the boundary.
|
|
220
|
+
*
|
|
221
|
+
* Requires `@sovereignsquad/gds-theme/styles.css`, which every consumer already imports once at
|
|
222
|
+
* entry (see INSTALLATION_GUIDE.md).
|
|
223
|
+
*/
|
|
224
|
+
/** Named width classes a frame can present, mirroring the responsive size-class vocabulary. */
|
|
225
|
+
type GdsViewportFrameWidth = 'compact' | 'medium' | 'expanded';
|
|
226
|
+
/** Props for {@link GdsViewportFrame}. */
|
|
227
|
+
interface GdsViewportFrameProps {
|
|
228
|
+
/** Size class the frame presents. Defaults to `compact` — the case that needs a frame most. */
|
|
229
|
+
width?: GdsViewportFrameWidth;
|
|
230
|
+
/** Frame height. Accepts any CSS length. */
|
|
231
|
+
height?: string;
|
|
232
|
+
/** Caption naming what the frame shows, so a reader knows it is a bounded preview. */
|
|
233
|
+
label?: string;
|
|
234
|
+
children: ReactNode;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Renders `children` inside a bounded frame that acts as the viewport for anything within it.
|
|
238
|
+
*
|
|
239
|
+
* ```tsx
|
|
240
|
+
* <GdsViewportFrame width="compact" label="Compact width">
|
|
241
|
+
* <BottomTabBar items={items} activeId={activeId} />
|
|
242
|
+
* </GdsViewportFrame>
|
|
243
|
+
* ```
|
|
244
|
+
*
|
|
245
|
+
* It is not a device mock: no chrome, notch or status bar, because it bounds layout rather than
|
|
246
|
+
* illustrating a phone.
|
|
247
|
+
*/
|
|
248
|
+
declare function GdsViewportFrame({ width, height, label, children, }: GdsViewportFrameProps): react.JSX.Element;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Basemap wash: `backdrop-filter: saturate(…)` desaturates tiles, composited with a translucent
|
|
252
|
+
* tint of `--gds-vibe-canvas` (falling back to `--gds-bg-canvas`).
|
|
253
|
+
*
|
|
254
|
+
* Wraps the map content: `renderMap={() => <GdsMapBasemapWash><GdsMap …/></GdsMapBasemapWash>}`.
|
|
255
|
+
* The wash layer is `pointer-events: none` and `aria-hidden`; with no children it renders
|
|
256
|
+
* nothing, so it never paints over `MapPanel`'s state blocks.
|
|
257
|
+
*/
|
|
258
|
+
/** Canvas-colour tint strength over the tiles. Exported so documentation reads it directly. */
|
|
259
|
+
declare const GDS_MAP_WASH_TINT = 0.28;
|
|
260
|
+
/** Tile saturation retained. Not 0 — full desaturation makes water/parks/roads indistinguishable. */
|
|
261
|
+
declare const GDS_MAP_WASH_SATURATION = 0.35;
|
|
262
|
+
/** Props for {@link GdsMapBasemapWash}. */
|
|
263
|
+
interface GdsMapBasemapWashProps {
|
|
264
|
+
/** The map content the wash composes over — typically `<GdsMap …/>`. */
|
|
265
|
+
children?: ReactNode;
|
|
266
|
+
/** Tint strength override, 0–1. Defaults to {@link GDS_MAP_WASH_TINT}. `0` disables the tint but keeps the desaturation. */
|
|
267
|
+
tint?: number;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Theme-driven wash over consumer-rendered map tiles — see the module docs for the recipe and
|
|
271
|
+
* the composition contract.
|
|
272
|
+
*
|
|
273
|
+
* @example
|
|
274
|
+
* ```tsx
|
|
275
|
+
* <MapPanel
|
|
276
|
+
* title="Nearby clubs"
|
|
277
|
+
* renderMap={() => (
|
|
278
|
+
* <GdsMapBasemapWash>
|
|
279
|
+
* <GdsMap center={[47.4979, 19.0402]} zoom={13} height={320} label="Map of nearby clubs" />
|
|
280
|
+
* </GdsMapBasemapWash>
|
|
281
|
+
* )}
|
|
282
|
+
* />
|
|
283
|
+
* ```
|
|
284
|
+
*/
|
|
285
|
+
declare function GdsMapBasemapWash({ children, tint }: GdsMapBasemapWashProps): react.JSX.Element | null;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Filter rail: horizontally scrolling pills above the map. "All" always renders first; counts
|
|
289
|
+
* are part of the label and reflect the current map bounds; the selected pill fills with the
|
|
290
|
+
* primary colour and a check; the rail reports its height so the map can inset its viewport.
|
|
291
|
+
*
|
|
292
|
+
* Composed on `PillBar`. Counts are consumer-supplied and dynamic — recomputing them per
|
|
293
|
+
* map-bounds change is data logic this component does not own.
|
|
294
|
+
*/
|
|
295
|
+
/** One filter in the rail. `count` is optional — a rail before data arrives renders labels alone. */
|
|
296
|
+
interface GdsMapFilterOption {
|
|
297
|
+
id: string;
|
|
298
|
+
label: ReactNode;
|
|
299
|
+
/** Count within the current map bounds. Rendered as part of the label when present. */
|
|
300
|
+
count?: number;
|
|
301
|
+
}
|
|
302
|
+
/** Props for {@link GdsMapFilterRail}. */
|
|
303
|
+
interface GdsMapFilterRailProps {
|
|
304
|
+
/** The filters after "All". May be empty — the rail then renders "All" alone. */
|
|
305
|
+
options: GdsMapFilterOption[];
|
|
306
|
+
/** Selected filter id, or `null` for "All". */
|
|
307
|
+
value: string | null;
|
|
308
|
+
/** Called with the selected filter id, or `null` when "All" is chosen. */
|
|
309
|
+
onChange: (id: string | null) => void;
|
|
310
|
+
/** Accessible name for the rail. */
|
|
311
|
+
ariaLabel: string;
|
|
312
|
+
/** Label for the always-first "All" option. Defaults through the message catalogue. */
|
|
313
|
+
allLabel?: string;
|
|
314
|
+
/** Reports rendered height in px (ResizeObserver), so the consumer insets the map viewport. Fires on mount and on height changes. */
|
|
315
|
+
onHeightChange?: (heightPx: number) => void;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Horizontally scrolling filter pills for a map surface — see the module docs for the
|
|
319
|
+
* contract and `docs/MAP_SYSTEM.md` §9 for where it sits in the map system.
|
|
320
|
+
*
|
|
321
|
+
* @example
|
|
322
|
+
* ```tsx
|
|
323
|
+
* <GdsMapFilterRail
|
|
324
|
+
* ariaLabel="Filter places by activity"
|
|
325
|
+
* options={[{ id: 'soccer', label: 'Soccer', count: 12 }, { id: 'swim', label: 'Swimming', count: 4 }]}
|
|
326
|
+
* value={filter}
|
|
327
|
+
* onChange={setFilter}
|
|
328
|
+
* onHeightChange={(px) => setMapInset(px)}
|
|
329
|
+
* />
|
|
330
|
+
* ```
|
|
331
|
+
*/
|
|
332
|
+
declare function GdsMapFilterRail({ options, value, onChange, ariaLabel, allLabel: allLabelProp, onHeightChange, }: GdsMapFilterRailProps): react.JSX.Element;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Governed pin preview card. Composes GdsGeneratedThumbnail (badges="none"), GdsSavedIndicator,
|
|
336
|
+
* and MeaningBadge; radius/shadow use the `sheet` elevation role.
|
|
337
|
+
*
|
|
338
|
+
* Absent-field behavior: no thumbnail categories -> no media region; no trust -> row omitted;
|
|
339
|
+
* no price and no lastChecked -> estimate block omitted; loading -> skeleton with same regions.
|
|
340
|
+
*
|
|
341
|
+
* Labels (closeLabel, save/unsave labels) are consumer-supplied; no default English ships.
|
|
342
|
+
*/
|
|
343
|
+
/** Props for {@link GdsMapPinPreviewCard}. */
|
|
344
|
+
interface GdsMapPinPreviewCardProps {
|
|
345
|
+
/** Listing title. */
|
|
346
|
+
title: ReactNode;
|
|
347
|
+
/** First half of the meta line — the activity name. Rendered as `activity · neighbourhood`. */
|
|
348
|
+
activity?: ReactNode;
|
|
349
|
+
/** Second half of the meta line — the neighbourhood. Either half renders alone. */
|
|
350
|
+
neighbourhood?: ReactNode;
|
|
351
|
+
/** One-sentence written summary. */
|
|
352
|
+
summary?: ReactNode;
|
|
353
|
+
/** Age-range chip content (e.g. "6–12"). */
|
|
354
|
+
ageRange?: ReactNode;
|
|
355
|
+
/** Trust badge. Omitted entirely when absent. */
|
|
356
|
+
trust?: {
|
|
357
|
+
variant: MeaningVariant;
|
|
358
|
+
label: ReactNode;
|
|
359
|
+
};
|
|
360
|
+
/** Price estimate line. */
|
|
361
|
+
priceEstimate?: ReactNode;
|
|
362
|
+
/** Last-checked line accompanying the estimate. */
|
|
363
|
+
lastChecked?: ReactNode;
|
|
364
|
+
/** Stable id seeding the generated thumbnail. No categories → no media region. */
|
|
365
|
+
thumbnailSeed?: string;
|
|
366
|
+
/** Ranked categories for the generated thumbnail. */
|
|
367
|
+
categories?: GdsGeneratedThumbnailCategory[];
|
|
368
|
+
/** Primary action, full width (e.g. a "View provider" button the consumer labels). */
|
|
369
|
+
primaryAction?: ReactNode;
|
|
370
|
+
/** Whether the listing is saved — passed through to {@link GdsSavedIndicator}. */
|
|
371
|
+
saved?: boolean;
|
|
372
|
+
/** Accessible name for the save action, naming the item (see `GdsSavedIndicator.saveLabel`). */
|
|
373
|
+
saveLabel?: string;
|
|
374
|
+
/** Accessible name for the unsave action, naming the item. */
|
|
375
|
+
unsaveLabel?: string;
|
|
376
|
+
/** Called with the next saved state when the save control is activated. */
|
|
377
|
+
onSaveChange?: (saved: boolean) => void;
|
|
378
|
+
/** Called when the close disc is activated. Renders only together with `closeLabel`. */
|
|
379
|
+
onClose?: () => void;
|
|
380
|
+
/** Accessible name for the close disc — a close control with no name is unusable. */
|
|
381
|
+
closeLabel?: string;
|
|
382
|
+
/** Skeleton state while the listing loads. */
|
|
383
|
+
loading?: boolean;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Preview card for a selected map pin — see the module docs for the composition contract and
|
|
387
|
+
* `docs/MAP_SYSTEM.md` §9 for its place in the map system.
|
|
388
|
+
*/
|
|
389
|
+
declare function GdsMapPinPreviewCard({ title, activity, neighbourhood, summary, ageRange, trust, priceEstimate, lastChecked, thumbnailSeed, categories, primaryAction, saved, saveLabel, unsaveLabel, onSaveChange, onClose, closeLabel, loading, }: GdsMapPinPreviewCardProps): react.JSX.Element;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Deterministic identity mark: gradient (theme palette) + initials, seeded rotation so
|
|
393
|
+
* same-initial people still differ. role="img" named by the person's name; initials are
|
|
394
|
+
* aria-hidden.
|
|
395
|
+
*/
|
|
396
|
+
/** Props for {@link GdsGeneratedAvatar}. */
|
|
397
|
+
interface GdsGeneratedAvatarProps {
|
|
398
|
+
/** Display name. Required — names the image for screen readers and derives the initials. */
|
|
399
|
+
name: string;
|
|
400
|
+
/**
|
|
401
|
+
* Stable identity seeding the gradient variation. Defaults to `name`; supply it explicitly
|
|
402
|
+
* when display names can change while the person does not, so their mark stays put.
|
|
403
|
+
*/
|
|
404
|
+
seed?: string;
|
|
405
|
+
/** Rendered size (width = height). Defaults to `'2.5em'` — the control scale's neighbourhood. */
|
|
406
|
+
size?: number | string;
|
|
407
|
+
/** Defaults to `'theme'` — the mark follows the active theme like every generated surface. */
|
|
408
|
+
paletteSource?: GdsGeneratedPaletteSource;
|
|
409
|
+
/** Required when `paletteSource` is `'category'`. */
|
|
410
|
+
category?: GdsBadgeAccentName;
|
|
411
|
+
/** `'category'` mode only. */
|
|
412
|
+
shade?: GdsBadgeAccentShade;
|
|
413
|
+
/** Full palette override — the escape hatch the other generated surfaces already share. */
|
|
414
|
+
colors?: GdsGeneratedPaletteColors;
|
|
415
|
+
className?: string;
|
|
416
|
+
style?: CSSProperties;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Initials from a display name: first grapheme of the first and last words, uppercased. One
|
|
420
|
+
* word yields one initial; a name with no letter-like graphemes (an emoji handle) yields the
|
|
421
|
+
* first grapheme alone — the mark never renders empty.
|
|
422
|
+
*/
|
|
423
|
+
declare function gdsAvatarInitials(name: string): string;
|
|
424
|
+
/**
|
|
425
|
+
* Deterministic, theme-aware identity mark — see the module docs for why initials and why no
|
|
426
|
+
* photos. Same `seed`, same mark, every render.
|
|
427
|
+
*
|
|
428
|
+
* @example
|
|
429
|
+
* ```tsx
|
|
430
|
+
* <GdsGeneratedAvatar name="Ada Lovelace" />
|
|
431
|
+
* <GdsGeneratedAvatar name="Ada Lovelace" seed="user-42" size={64} />
|
|
432
|
+
* ```
|
|
433
|
+
*/
|
|
434
|
+
declare function GdsGeneratedAvatar({ name, seed, size, paletteSource, category, shade, colors, className, style, }: GdsGeneratedAvatarProps): react.JSX.Element;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Compact square/logo mark: house gradient with one icon motif, full strength, centred,
|
|
438
|
+
* seeded rotation. Decorative by default (aria-hidden); pass `label` when it stands alone.
|
|
439
|
+
*/
|
|
440
|
+
/** Props for {@link GdsGeneratedMark}. */
|
|
441
|
+
interface GdsGeneratedMarkProps {
|
|
442
|
+
/** Stable identity seeding the motif rotation — same seed, same mark, every render. */
|
|
443
|
+
seed: string;
|
|
444
|
+
/** The motif: a canonical `GdsIcons` key, or any externally-sourced icon element. */
|
|
445
|
+
icon: GdsIconKey | ReactNode;
|
|
446
|
+
/** Accessible name when the mark stands alone. Omitted = decorative, the common case. */
|
|
447
|
+
label?: string;
|
|
448
|
+
/** Rendered size (width = height). Defaults to `'3em'`. */
|
|
449
|
+
size?: number | string;
|
|
450
|
+
/** Defaults to `'theme'`. */
|
|
451
|
+
paletteSource?: GdsGeneratedPaletteSource;
|
|
452
|
+
/** Required when `paletteSource` is `'category'`. */
|
|
453
|
+
category?: GdsBadgeAccentName;
|
|
454
|
+
/** `'category'` mode only. */
|
|
455
|
+
shade?: GdsBadgeAccentShade;
|
|
456
|
+
/** Full palette override. */
|
|
457
|
+
colors?: GdsGeneratedPaletteColors;
|
|
458
|
+
className?: string;
|
|
459
|
+
style?: CSSProperties;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Deterministic, theme-aware square mark for logo-shaped slots — see the module docs.
|
|
463
|
+
*
|
|
464
|
+
* @example
|
|
465
|
+
* ```tsx
|
|
466
|
+
* <GdsGeneratedMark seed="acme-workspace" icon="Habit" />
|
|
467
|
+
* <GdsGeneratedMark seed="gds" icon="Location" label="GDS" size={64} />
|
|
468
|
+
* ```
|
|
469
|
+
*/
|
|
470
|
+
declare function GdsGeneratedMark({ seed, icon, label, size, paletteSource, category, shade, colors, className, style, }: GdsGeneratedMarkProps): react.JSX.Element;
|
|
471
|
+
|
|
472
|
+
/** Props for {@link GdsIconBadge}. */
|
|
473
|
+
interface GdsIconBadgeProps {
|
|
474
|
+
/** Curated categorization color; same closed palette as `GdsBadge`'s `accent` axis. */
|
|
475
|
+
accent: GdsBadgeAccentName;
|
|
476
|
+
/** Within-accent differentiation step, darker only. Defaults to `'base'`. */
|
|
477
|
+
shade?: GdsBadgeAccentShade;
|
|
478
|
+
/** The motif: a canonical `GdsIcons` key, or any externally-sourced icon element. */
|
|
479
|
+
icon: GdsIconKey | ReactNode;
|
|
480
|
+
/** Accessible name. Omitted = decorative, the common case (meaning carried elsewhere, e.g. an adjacent label). */
|
|
481
|
+
label?: string;
|
|
482
|
+
/** Rendered diameter. Defaults to `'1.5em'`. */
|
|
483
|
+
size?: number | string;
|
|
484
|
+
className?: string;
|
|
485
|
+
style?: CSSProperties;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Flat circular disc in one of the curated accent colors, with a centered icon. Use for a
|
|
489
|
+
* category marker where the label is redundant or carried by surrounding content — an
|
|
490
|
+
* always-labelled category needs `GdsBadge` instead.
|
|
491
|
+
*
|
|
492
|
+
* @example
|
|
493
|
+
* ```tsx
|
|
494
|
+
* <GdsIconBadge accent="teal" icon="Habit" label="Fitness" />
|
|
495
|
+
* <GdsIconBadge accent="ocean" shade="deep" icon="Location" />
|
|
496
|
+
* ```
|
|
497
|
+
*/
|
|
498
|
+
declare function GdsIconBadge({ accent, shade, icon, label, size, className, style }: GdsIconBadgeProps): react.JSX.Element;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* DOM phrase-translation engine. Engine is governed here; the phrase dictionary is consumer
|
|
502
|
+
* data supplied via `loadIndex`.
|
|
503
|
+
*
|
|
504
|
+
* - Remembers each node's original English so re-translation always starts from English, not
|
|
505
|
+
* the previous locale.
|
|
506
|
+
* - A node whose value matches neither the remembered English nor this engine's last write
|
|
507
|
+
* was updated by the app; it becomes the new remembered English and is never reverted.
|
|
508
|
+
* - Code, form-control values, and script/style contents stay verbatim; nav and button labels
|
|
509
|
+
* translate.
|
|
510
|
+
*/
|
|
511
|
+
/** Loads the English→locale phrase index for a locale. An empty map means "leave English". */
|
|
512
|
+
type GdsPhraseIndexLoader = (locale: string) => Promise<Map<string, string>>;
|
|
513
|
+
declare function normalizeGdsPhrase(value: string): string;
|
|
514
|
+
/** Translates one phrase through a loaded index — the single-string form of the engine. */
|
|
515
|
+
declare function translateGdsPhrase(value: string, locale: string, loadIndex: GdsPhraseIndexLoader): Promise<string>;
|
|
516
|
+
/**
|
|
517
|
+
* Rewrites `root` into `locale`, or back into English.
|
|
518
|
+
*
|
|
519
|
+
* Safe to call repeatedly and in any order of locales: every pass translates from each node's
|
|
520
|
+
* remembered English rather than from whatever the previous pass left behind.
|
|
521
|
+
*/
|
|
522
|
+
declare function translateGdsDom(root: ParentNode, locale: string, loadIndex: GdsPhraseIndexLoader): Promise<void>;
|
|
523
|
+
|
|
524
|
+
/** Options for {@link useGdsDomPhraseTranslation}. */
|
|
525
|
+
interface UseGdsDomPhraseTranslationOptions {
|
|
526
|
+
/** The subtree to keep translated. */
|
|
527
|
+
root: HTMLElement | null;
|
|
528
|
+
/** Active locale; `'en'` restores the remembered source text. */
|
|
529
|
+
locale: string;
|
|
530
|
+
/** Supplies the English→locale index. The reference site passes its generated packs. */
|
|
531
|
+
loadIndex: GdsPhraseIndexLoader;
|
|
532
|
+
/** Re-run key for route changes — a new page mounts new nodes the observer must sweep. */
|
|
533
|
+
routeKey?: string;
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* One initial translation pass, then a MutationObserver keeps later-mounted and app-updated
|
|
537
|
+
* nodes in the active locale.
|
|
538
|
+
*/
|
|
539
|
+
declare function useGdsDomPhraseTranslation({ root, locale, loadIndex, routeKey }: UseGdsDomPhraseTranslationOptions): void;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Motion system reference: six durations, five easings, seven presets, and the reaction axis
|
|
543
|
+
* (hover/active/pressed + focus ring + transitioned-property scope).
|
|
544
|
+
*
|
|
545
|
+
* Values are read live from gdsMotionDurations/gdsMotionEasings/gdsMotionPresets/
|
|
546
|
+
* GDS_DEFAULT_REACTION_AXIS, never retyped. Specimens use the same tokens withGdsMotion wires
|
|
547
|
+
* into the theme.
|
|
548
|
+
*/
|
|
549
|
+
declare function GdsMotionSystemReference(): react.JSX.Element;
|
|
550
|
+
|
|
551
|
+
/** Reference for the shape and elevation axes: every step/role read from resolveGdsShapeTokens()/resolveGdsElevationTokens(). */
|
|
552
|
+
declare function GdsShapeElevationSystemReference(): react.JSX.Element;
|
|
553
|
+
|
|
554
|
+
/** Reference for the density/spacing axis: spacing steps and control heights read from resolveGdsDensityTokens(). */
|
|
555
|
+
declare function GdsDensitySpacingSystemReference(): react.JSX.Element;
|
|
556
|
+
|
|
557
|
+
/** Reference for the icon system: dictionary, categories, tones, and the decorative/informative contract. */
|
|
558
|
+
declare function GdsIconSystemReference(): react.JSX.Element;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Reference for the activity pictogram system: the shipped family, every contextual treatment
|
|
562
|
+
* and scale and interaction state crossed with every pictogram, the numeric contract, and the
|
|
563
|
+
* source guidelines' usage rules — every count and value below is read from the package
|
|
564
|
+
* exports at render time, never retyped (Rule 14).
|
|
565
|
+
*/
|
|
566
|
+
declare function GdsPictogramSystemReference(): react.JSX.Element;
|
|
567
|
+
|
|
568
|
+
/** Reference for the typography axis: sizes, weights, and font lanes read from resolveGdsTypographyTokens(). */
|
|
569
|
+
declare function GdsTypographySystemReference(): react.JSX.Element;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Reference for the colour and theming axis: every BrandSemanticRole grouped by its 60-30-10
|
|
573
|
+
* proportion classification, the governed accent axis (names, shades, modes, and which modes
|
|
574
|
+
* verify:accent-contrast enforces), and the live contrast matrix for the default preset --
|
|
575
|
+
* embedding GdsAccentContrastMatrix rather than re-deriving contrast, so this page can never
|
|
576
|
+
* disagree with the gate that checks it.
|
|
577
|
+
*/
|
|
578
|
+
declare function GdsColorSystemReference(): react.JSX.Element;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Reference for the accessibility floor axis: every governed rule, and a live audit result
|
|
582
|
+
* across all 25 presets x 2 schemes, read from auditGdsAccessibilityFloor() -- the same
|
|
583
|
+
* function verify:a11y-floor runs. A page claiming an accessibility floor holds is itself a
|
|
584
|
+
* claim this system can check, so it is computed here, not asserted in prose (Rule 14).
|
|
585
|
+
*/
|
|
586
|
+
declare function GdsAccessibilitySystemReference(): react.JSX.Element;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Reference for the button micro-feedback axis: the transient success/error treatment
|
|
590
|
+
* `SemanticButton` applies after an action settles. The treatment is per action -- each governed
|
|
591
|
+
* action declares its own feedback icon and message key, so a `delete` confirms with "Deleted"
|
|
592
|
+
* and its own glyph rather than a generic tick. Every value below is read from `GdsVocabulary`
|
|
593
|
+
* and `GDS_BUTTON_FEEDBACK_DURATION_MS` at render time, so the page cannot drift from the
|
|
594
|
+
* component.
|
|
595
|
+
*
|
|
596
|
+
* The colour column reports what the vocabulary declares. What paints also depends on the active
|
|
597
|
+
* preset's governed Button rules, so the page shows the declaration and lets the live proof above
|
|
598
|
+
* show the rendering rather than asserting a colour it cannot verify per preset.
|
|
599
|
+
*/
|
|
600
|
+
declare function GdsButtonFeedbackReference(): react.JSX.Element;
|
|
601
|
+
|
|
602
|
+
/** Props for {@link GdsDesignRuleProfilePanel}. */
|
|
603
|
+
interface GdsDesignRuleProfilePanelProps {
|
|
604
|
+
/** Preset whose design-rule profile is displayed. */
|
|
605
|
+
preset: GdsThemePresetId;
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* Displays a preset's design-rule profile (GH-651): the declared color-proportion
|
|
609
|
+
* classification (GH-644, token-role counts) side by side with the measured rendered
|
|
610
|
+
* reality (GH-649/GH-650, real pixel-area percentages from the reference site), plus
|
|
611
|
+
* its named type-scale ratio (GH-645) and color-harmony classification (GH-646).
|
|
612
|
+
*
|
|
613
|
+
* Every number is read live from the real resolvers/generated artifact at render time --
|
|
614
|
+
* never a hand-typed literal. Declared and measured are two different metrics (role count
|
|
615
|
+
* vs. rendered area) that can legitimately diverge; this panel presents both without
|
|
616
|
+
* implying either one is "correct."
|
|
617
|
+
*/
|
|
618
|
+
declare function GdsDesignRuleProfilePanel({ preset }: GdsDesignRuleProfilePanelProps): react.JSX.Element;
|
|
619
|
+
|
|
620
|
+
/** Governed inline text link: internal paths (hash targets included) or external URLs via `external`. */
|
|
621
|
+
interface GdsInlineLinkProps {
|
|
622
|
+
/** Destination — an internal path (hash targets included) or an external URL with `external`. */
|
|
623
|
+
href: string;
|
|
624
|
+
/** The link text. */
|
|
625
|
+
children: ReactNode;
|
|
626
|
+
/** Open in a new tab (external references). Adds the safe rel automatically. */
|
|
627
|
+
external?: boolean;
|
|
628
|
+
/** Accessible name, when the visible text alone doesn't describe the destination. */
|
|
629
|
+
ariaLabel?: string;
|
|
630
|
+
}
|
|
631
|
+
/** Inline anchor; adds the safe rel automatically for external links. */
|
|
632
|
+
declare function GdsInlineLink({ href, children, external, ariaLabel }: GdsInlineLinkProps): react.JSX.Element;
|
|
633
|
+
|
|
634
|
+
export { GDS_MAP_WASH_SATURATION, GDS_MAP_WASH_TINT, GdsAccentContrastMatrix, type GdsAccentContrastMatrixProps, GdsAccessibilitySystemReference, GdsBadgeAccentName, GdsBadgeAccentShade, type GdsBreakpointAlias, GdsButtonFeedbackReference, type GdsCategoryDefinition, GdsColorSystemReference, GdsDensitySpacingSystemReference, GdsDesignRuleProfilePanel, type GdsDesignRuleProfilePanelProps, GdsGeneratedAvatar, type GdsGeneratedAvatarProps, GdsGeneratedMark, type GdsGeneratedMarkProps, GdsGeneratedPaletteColors, GdsGeneratedPaletteSource, GdsGeneratedThumbnailCategory, GdsIconBadge, type GdsIconBadgeProps, GdsIconKey, GdsIconSystemReference, GdsInlineLink, type GdsInlineLinkProps, GdsMapBasemapWash, type GdsMapBasemapWashProps, type GdsMapFilterOption, GdsMapFilterRail, type GdsMapFilterRailProps, GdsMapPinPreviewCard, type GdsMapPinPreviewCardProps, GdsMotionSystemReference, type GdsPhraseIndexLoader, GdsPictogramSystemReference, GdsPinSystemReference, type GdsPinSystemReferenceProps, type GdsResolvedCategoryBadgeGlyph, GdsSavedIndicator, type GdsSavedIndicatorMode, type GdsSavedIndicatorProps, GdsShapeElevationSystemReference, GdsTypographySystemReference, GdsViewportFrame, type GdsViewportFrameProps, type GdsViewportFrameWidth, MeaningVariant, type UseGdsDomPhraseTranslationOptions, gdsAvatarInitials, gdsBreakpointByAlias, normalizeGdsPhrase, resolveGdsCategoryBadgeIcon, translateGdsDom, translateGdsPhrase, useGdsDomPhraseTranslation };
|