@doneisbetter/gds-core 2.6.6 → 2.6.7
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/{chunk-4YTMKBGW.mjs → chunk-IUYPELGQ.mjs} +193 -70
- package/dist/{chunk-IAP3JU55.mjs → chunk-LH2KMMXT.mjs} +483 -272
- package/dist/client.d.mts +17 -3
- package/dist/client.d.ts +17 -3
- package/dist/client.js +710 -365
- package/dist/client.mjs +16 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +710 -365
- package/dist/index.mjs +16 -2
- package/dist/{server-CF4gCYQ-.d.mts → server-BSuY9Qx6.d.mts} +92 -6
- package/dist/{server-CF4gCYQ-.d.ts → server-BSuY9Qx6.d.ts} +92 -6
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +491 -270
- package/dist/server.mjs +13 -1
- package/package.json +2 -2
package/dist/client.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AccentPanel, a as AccentPanelProps, b as AccentPanelVariant, c as AccentTone, d as AccessSummary, e as AccessSummaryProps, f as ActionBar, g as ActionBarAction, h as ActionBarIconAction, i as ActionBarProps, j as ArticleShell, k as ArticleShellProps, l as AuthShell, m as AuthShellProps, B as BreadcrumbItem, n as BrowseSurface, o as BrowseSurfaceFilterChip, p as BrowseSurfaceProps, q as BrowseSurfaceScopeOption, C as ChoiceChip, r as ChoiceChipProps, s as ConsumerDashboardGrid, t as ConsumerDashboardGridProps, u as ConsumerSection, v as ConsumerSectionProps, w as CtaButtonGroup, x as CtaButtonGroupProps, D as DataToolbar, y as DataToolbarFilterChip, z as DataToolbarProps, E as DetailProfileShell, F as DetailProfileShellProps, G as DocsPageShell, H as DocsPageShellProps, I as EditorialCard, J as EditorialCardProps, K as EditorialHero, L as EditorialHeroAction, M as EditorialHeroMetaItem, N as EditorialHeroProps, O as EmptyState, P as EmptyStateProps, Q as FeatureBand, R as FeatureBandItem, S as FeatureBandProps, T as FilterDrawer, U as FilterDrawerMode, V as FilterDrawerProps, W as FoodCardAvailabilityState, X as FoodCardMarker, Y as FoodCardMediaRatio, Z as FoodCardMetadata, _ as FoodMenuCategory, $ as FoodMenuItem, a0 as FoodMenuSection, a1 as FoodMenuSectionProps, a2 as FormField, a3 as FormFieldProps, a4 as GdsIcons, a5 as GdsLocale, a6 as GdsVocabulary, a8 as ListingCard, a9 as ListingCardAffordance, aa as ListingCardMediaRatio, ab as ListingCardProps, ac as ListingMetadataRow, ad as MapPanel, ae as MapPanelProps, af as MediaCard, ag as MediaCardAction, ah as MediaCardProps, ai as MediaField, aj as MediaFieldProps, ak as MetricCard, al as MetricCardProps, am as
|
|
1
|
+
import { bg as SemanticAction, bi as SemanticActionId, a7 as GdsVocabularyPack } from './server-BSuY9Qx6.mjs';
|
|
2
|
+
export { A as AccentPanel, a as AccentPanelProps, b as AccentPanelVariant, c as AccentTone, d as AccessSummary, e as AccessSummaryProps, f as ActionBar, g as ActionBarAction, h as ActionBarIconAction, i as ActionBarProps, j as ArticleShell, k as ArticleShellProps, l as AuthShell, m as AuthShellProps, B as BreadcrumbItem, n as BrowseSurface, o as BrowseSurfaceFilterChip, p as BrowseSurfaceProps, q as BrowseSurfaceScopeOption, C as ChoiceChip, r as ChoiceChipProps, s as ConsumerDashboardGrid, t as ConsumerDashboardGridProps, u as ConsumerSection, v as ConsumerSectionProps, w as CtaButtonGroup, x as CtaButtonGroupProps, D as DataToolbar, y as DataToolbarFilterChip, z as DataToolbarProps, E as DetailProfileShell, F as DetailProfileShellProps, G as DocsPageShell, H as DocsPageShellProps, I as EditorialCard, J as EditorialCardProps, K as EditorialHero, L as EditorialHeroAction, M as EditorialHeroMetaItem, N as EditorialHeroProps, O as EmptyState, P as EmptyStateProps, Q as FeatureBand, R as FeatureBandItem, S as FeatureBandProps, T as FilterDrawer, U as FilterDrawerMode, V as FilterDrawerProps, W as FoodCardAvailabilityState, X as FoodCardMarker, Y as FoodCardMediaRatio, Z as FoodCardMetadata, _ as FoodMenuCategory, $ as FoodMenuItem, a0 as FoodMenuSection, a1 as FoodMenuSectionProps, a2 as FormField, a3 as FormFieldProps, a4 as GdsIcons, a5 as GdsLocale, a6 as GdsVocabulary, a8 as ListingCard, a9 as ListingCardAffordance, aa as ListingCardMediaRatio, ab as ListingCardProps, ac as ListingMetadataRow, ad as MapPanel, ae as MapPanelProps, af as MediaCard, ag as MediaCardAction, ah as MediaCardProps, ai as MediaField, aj as MediaFieldProps, ak as MetricCard, al as MetricCardProps, am as PROVIDER_IDENTITY_REGISTRY, an as PageHeader, ao as PageHeaderEyebrowVariant, ap as PageHeaderProps, aq as PlaceholderPanel, ar as PlaceholderPanelProps, as as PlaybackSurface, at as PlaybackSurfaceProps, au as PlaybackSurfaceState, av as ProductCard, aw as ProductCardAction, ax as ProductCardMetaItem, ay as ProductCardProps, az as ProgressCard, aA as ProgressCardProps, aB as ProviderIdentity, aC as ProviderIdentityButton, aD as ProviderIdentityButtonGroup, aE as ProviderIdentityButtonGroupProps, aF as ProviderIdentityButtonProps, aG as ProviderIdentityVariant, aH as PublicBrandFooter, aI as PublicBrandFooterClassNames, aJ as PublicBrandFooterLayoutVariant, aK as PublicBrandFooterProps, aL as PublicFlowAction, aM as PublicFlowActionPriority, aN as PublicFlowShell, aO as PublicFlowShellProps, aP as PublicFlowStage, aQ as PublicFlowStageStatus, aR as PublicFoodCard, aS as PublicFoodCardProps, aT as PublicNav, aU as PublicNavItem, aV as PublicNavProps, aW as PublicProductCard, aX as PublicProductCardHelperKind, aY as PublicProductCardMetaItem, aZ as PublicProductCardProps, a_ as PublicProductCardState, a$ as PublicShell, b0 as PublicShellClassNames, b1 as PublicShellHeaderVariant, b2 as PublicShellMobileNavigationMode, b3 as PublicShellProps, b4 as PublicSiteFooter, b5 as PublicSiteFooterProps, b6 as ReferenceLinkGrid, b7 as ReferenceLinkGridItem, b8 as ReferenceLinkGridProps, b9 as ReferenceLocaleNotice, ba as ReferenceLocaleNoticeProps, bb as ReferenceSection, bc as ReferenceSectionProps, bd as SectionPanel, be as SectionPanelProps, bf as SectionPanelTone, bh as SemanticActionDefinition, bj as SimpleDataTable, bk as SimpleDataTableProps, bl as SimpleTableColumn, bm as SocialAuthButtons, bn as SocialAuthButtonsProps, bo as SocialAuthProviderId, bp as SocialAuthProviderOption, bq as StateBlock, br as StateBlockProps, bs as StateBlockVariant, bt as StatsSection, bu as StatsSectionProps, bv as StatusBadge, bw as StatusBadgeProps, bx as StatusVariant, by as SurfaceContentAlign, bz as SurfaceContentJustify, bA as SurfacePresentation, bB as SurfacePresentationProps, bC as VocabularyResolver, bD as ar, bE as createGdsVocabularyPack, bF as de, bG as en, bH as es, bI as fr, bJ as gdsLocales, bK as getGdsMessages, bL as getProviderIdentityLabel, bM as getSemanticActionConfig, bN as getSemanticActionLabel, bO as he, bP as hu, bQ as isPresentationMode, bR as it, bS as mergeGdsVocabularyPacks, bT as resolveAccentPanelStyles, bU as resolveSemanticActionConfig, bV as resolveSurfacePresentationStyles, bW as ru } from './server-BSuY9Qx6.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import react__default, { ReactNode } from 'react';
|
|
@@ -80,6 +80,20 @@ interface DiscoveryShellProps {
|
|
|
80
80
|
*/
|
|
81
81
|
declare function DiscoveryShell({ header, sidebar, footer, children, mobileNavigationLabel, defaultSidebarOpen, stickySidebar, sidebarWidth, headerHeight, shellPadding, collapseBreakpoint, }: DiscoveryShellProps): react_jsx_runtime.JSX.Element;
|
|
82
82
|
|
|
83
|
+
interface DocsShellProps {
|
|
84
|
+
brand: ReactNode;
|
|
85
|
+
primaryNavigation?: ReactNode;
|
|
86
|
+
secondaryNavigation?: ReactNode;
|
|
87
|
+
headerContext?: ReactNode;
|
|
88
|
+
actions?: ReactNode;
|
|
89
|
+
mobileNavigation?: ReactNode;
|
|
90
|
+
mobileNavigationMode?: 'inline-collapse' | 'drawer';
|
|
91
|
+
footer?: ReactNode;
|
|
92
|
+
children: ReactNode;
|
|
93
|
+
contentWidth?: number | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
94
|
+
}
|
|
95
|
+
declare function DocsShell({ brand, primaryNavigation, secondaryNavigation, headerContext, actions, mobileNavigation, mobileNavigationMode, footer, children, contentWidth, }: DocsShellProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
|
|
83
97
|
interface SidebarNavProps {
|
|
84
98
|
children: ReactNode;
|
|
85
99
|
ariaLabel?: string;
|
|
@@ -167,4 +181,4 @@ interface AccessRecoveryPanelProps {
|
|
|
167
181
|
}
|
|
168
182
|
declare function AccessRecoveryPanel({ state, title, description, primaryAction, secondaryAction, tertiaryAction, onRetry, onSignIn, onBack, supportAction, compact, }: AccessRecoveryPanelProps): react_jsx_runtime.JSX.Element;
|
|
169
183
|
|
|
170
|
-
export { type AccessRecoveryAction, AccessRecoveryPanel, type AccessRecoveryPanelProps, type AccessRecoveryState, ConfirmDialog, type ConfirmDialogProps, DiscoveryShell, type DiscoveryShellProps, DocsCodeBlock, type DocsCodeBlockProps, GameBoardTile, type GameBoardTileProps, GdsVocabularyPack, ReferenceThemeExplorer, SemanticAction, SemanticActionId, SemanticButton, type SemanticButtonProps, ShareButtonGroup, type ShareButtonGroupProps, type ShareChannel, SidebarNav, SidebarNavItem, type SidebarNavItemProps, type SidebarNavProps, SidebarNavSection, type SidebarNavSectionProps, type ThemePresetId, type ThemeSchemeId, ThemeToggle, type ThemeToggleProps, UploadDropzone, type UploadDropzoneProps };
|
|
184
|
+
export { type AccessRecoveryAction, AccessRecoveryPanel, type AccessRecoveryPanelProps, type AccessRecoveryState, ConfirmDialog, type ConfirmDialogProps, DiscoveryShell, type DiscoveryShellProps, DocsCodeBlock, type DocsCodeBlockProps, DocsShell, type DocsShellProps, GameBoardTile, type GameBoardTileProps, GdsVocabularyPack, ReferenceThemeExplorer, SemanticAction, SemanticActionId, SemanticButton, type SemanticButtonProps, ShareButtonGroup, type ShareButtonGroupProps, type ShareChannel, SidebarNav, SidebarNavItem, type SidebarNavItemProps, type SidebarNavProps, SidebarNavSection, type SidebarNavSectionProps, type ThemePresetId, type ThemeSchemeId, ThemeToggle, type ThemeToggleProps, UploadDropzone, type UploadDropzoneProps };
|
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AccentPanel, a as AccentPanelProps, b as AccentPanelVariant, c as AccentTone, d as AccessSummary, e as AccessSummaryProps, f as ActionBar, g as ActionBarAction, h as ActionBarIconAction, i as ActionBarProps, j as ArticleShell, k as ArticleShellProps, l as AuthShell, m as AuthShellProps, B as BreadcrumbItem, n as BrowseSurface, o as BrowseSurfaceFilterChip, p as BrowseSurfaceProps, q as BrowseSurfaceScopeOption, C as ChoiceChip, r as ChoiceChipProps, s as ConsumerDashboardGrid, t as ConsumerDashboardGridProps, u as ConsumerSection, v as ConsumerSectionProps, w as CtaButtonGroup, x as CtaButtonGroupProps, D as DataToolbar, y as DataToolbarFilterChip, z as DataToolbarProps, E as DetailProfileShell, F as DetailProfileShellProps, G as DocsPageShell, H as DocsPageShellProps, I as EditorialCard, J as EditorialCardProps, K as EditorialHero, L as EditorialHeroAction, M as EditorialHeroMetaItem, N as EditorialHeroProps, O as EmptyState, P as EmptyStateProps, Q as FeatureBand, R as FeatureBandItem, S as FeatureBandProps, T as FilterDrawer, U as FilterDrawerMode, V as FilterDrawerProps, W as FoodCardAvailabilityState, X as FoodCardMarker, Y as FoodCardMediaRatio, Z as FoodCardMetadata, _ as FoodMenuCategory, $ as FoodMenuItem, a0 as FoodMenuSection, a1 as FoodMenuSectionProps, a2 as FormField, a3 as FormFieldProps, a4 as GdsIcons, a5 as GdsLocale, a6 as GdsVocabulary, a8 as ListingCard, a9 as ListingCardAffordance, aa as ListingCardMediaRatio, ab as ListingCardProps, ac as ListingMetadataRow, ad as MapPanel, ae as MapPanelProps, af as MediaCard, ag as MediaCardAction, ah as MediaCardProps, ai as MediaField, aj as MediaFieldProps, ak as MetricCard, al as MetricCardProps, am as
|
|
1
|
+
import { bg as SemanticAction, bi as SemanticActionId, a7 as GdsVocabularyPack } from './server-BSuY9Qx6.js';
|
|
2
|
+
export { A as AccentPanel, a as AccentPanelProps, b as AccentPanelVariant, c as AccentTone, d as AccessSummary, e as AccessSummaryProps, f as ActionBar, g as ActionBarAction, h as ActionBarIconAction, i as ActionBarProps, j as ArticleShell, k as ArticleShellProps, l as AuthShell, m as AuthShellProps, B as BreadcrumbItem, n as BrowseSurface, o as BrowseSurfaceFilterChip, p as BrowseSurfaceProps, q as BrowseSurfaceScopeOption, C as ChoiceChip, r as ChoiceChipProps, s as ConsumerDashboardGrid, t as ConsumerDashboardGridProps, u as ConsumerSection, v as ConsumerSectionProps, w as CtaButtonGroup, x as CtaButtonGroupProps, D as DataToolbar, y as DataToolbarFilterChip, z as DataToolbarProps, E as DetailProfileShell, F as DetailProfileShellProps, G as DocsPageShell, H as DocsPageShellProps, I as EditorialCard, J as EditorialCardProps, K as EditorialHero, L as EditorialHeroAction, M as EditorialHeroMetaItem, N as EditorialHeroProps, O as EmptyState, P as EmptyStateProps, Q as FeatureBand, R as FeatureBandItem, S as FeatureBandProps, T as FilterDrawer, U as FilterDrawerMode, V as FilterDrawerProps, W as FoodCardAvailabilityState, X as FoodCardMarker, Y as FoodCardMediaRatio, Z as FoodCardMetadata, _ as FoodMenuCategory, $ as FoodMenuItem, a0 as FoodMenuSection, a1 as FoodMenuSectionProps, a2 as FormField, a3 as FormFieldProps, a4 as GdsIcons, a5 as GdsLocale, a6 as GdsVocabulary, a8 as ListingCard, a9 as ListingCardAffordance, aa as ListingCardMediaRatio, ab as ListingCardProps, ac as ListingMetadataRow, ad as MapPanel, ae as MapPanelProps, af as MediaCard, ag as MediaCardAction, ah as MediaCardProps, ai as MediaField, aj as MediaFieldProps, ak as MetricCard, al as MetricCardProps, am as PROVIDER_IDENTITY_REGISTRY, an as PageHeader, ao as PageHeaderEyebrowVariant, ap as PageHeaderProps, aq as PlaceholderPanel, ar as PlaceholderPanelProps, as as PlaybackSurface, at as PlaybackSurfaceProps, au as PlaybackSurfaceState, av as ProductCard, aw as ProductCardAction, ax as ProductCardMetaItem, ay as ProductCardProps, az as ProgressCard, aA as ProgressCardProps, aB as ProviderIdentity, aC as ProviderIdentityButton, aD as ProviderIdentityButtonGroup, aE as ProviderIdentityButtonGroupProps, aF as ProviderIdentityButtonProps, aG as ProviderIdentityVariant, aH as PublicBrandFooter, aI as PublicBrandFooterClassNames, aJ as PublicBrandFooterLayoutVariant, aK as PublicBrandFooterProps, aL as PublicFlowAction, aM as PublicFlowActionPriority, aN as PublicFlowShell, aO as PublicFlowShellProps, aP as PublicFlowStage, aQ as PublicFlowStageStatus, aR as PublicFoodCard, aS as PublicFoodCardProps, aT as PublicNav, aU as PublicNavItem, aV as PublicNavProps, aW as PublicProductCard, aX as PublicProductCardHelperKind, aY as PublicProductCardMetaItem, aZ as PublicProductCardProps, a_ as PublicProductCardState, a$ as PublicShell, b0 as PublicShellClassNames, b1 as PublicShellHeaderVariant, b2 as PublicShellMobileNavigationMode, b3 as PublicShellProps, b4 as PublicSiteFooter, b5 as PublicSiteFooterProps, b6 as ReferenceLinkGrid, b7 as ReferenceLinkGridItem, b8 as ReferenceLinkGridProps, b9 as ReferenceLocaleNotice, ba as ReferenceLocaleNoticeProps, bb as ReferenceSection, bc as ReferenceSectionProps, bd as SectionPanel, be as SectionPanelProps, bf as SectionPanelTone, bh as SemanticActionDefinition, bj as SimpleDataTable, bk as SimpleDataTableProps, bl as SimpleTableColumn, bm as SocialAuthButtons, bn as SocialAuthButtonsProps, bo as SocialAuthProviderId, bp as SocialAuthProviderOption, bq as StateBlock, br as StateBlockProps, bs as StateBlockVariant, bt as StatsSection, bu as StatsSectionProps, bv as StatusBadge, bw as StatusBadgeProps, bx as StatusVariant, by as SurfaceContentAlign, bz as SurfaceContentJustify, bA as SurfacePresentation, bB as SurfacePresentationProps, bC as VocabularyResolver, bD as ar, bE as createGdsVocabularyPack, bF as de, bG as en, bH as es, bI as fr, bJ as gdsLocales, bK as getGdsMessages, bL as getProviderIdentityLabel, bM as getSemanticActionConfig, bN as getSemanticActionLabel, bO as he, bP as hu, bQ as isPresentationMode, bR as it, bS as mergeGdsVocabularyPacks, bT as resolveAccentPanelStyles, bU as resolveSemanticActionConfig, bV as resolveSurfacePresentationStyles, bW as ru } from './server-BSuY9Qx6.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import react__default, { ReactNode } from 'react';
|
|
@@ -80,6 +80,20 @@ interface DiscoveryShellProps {
|
|
|
80
80
|
*/
|
|
81
81
|
declare function DiscoveryShell({ header, sidebar, footer, children, mobileNavigationLabel, defaultSidebarOpen, stickySidebar, sidebarWidth, headerHeight, shellPadding, collapseBreakpoint, }: DiscoveryShellProps): react_jsx_runtime.JSX.Element;
|
|
82
82
|
|
|
83
|
+
interface DocsShellProps {
|
|
84
|
+
brand: ReactNode;
|
|
85
|
+
primaryNavigation?: ReactNode;
|
|
86
|
+
secondaryNavigation?: ReactNode;
|
|
87
|
+
headerContext?: ReactNode;
|
|
88
|
+
actions?: ReactNode;
|
|
89
|
+
mobileNavigation?: ReactNode;
|
|
90
|
+
mobileNavigationMode?: 'inline-collapse' | 'drawer';
|
|
91
|
+
footer?: ReactNode;
|
|
92
|
+
children: ReactNode;
|
|
93
|
+
contentWidth?: number | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
94
|
+
}
|
|
95
|
+
declare function DocsShell({ brand, primaryNavigation, secondaryNavigation, headerContext, actions, mobileNavigation, mobileNavigationMode, footer, children, contentWidth, }: DocsShellProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
|
|
83
97
|
interface SidebarNavProps {
|
|
84
98
|
children: ReactNode;
|
|
85
99
|
ariaLabel?: string;
|
|
@@ -167,4 +181,4 @@ interface AccessRecoveryPanelProps {
|
|
|
167
181
|
}
|
|
168
182
|
declare function AccessRecoveryPanel({ state, title, description, primaryAction, secondaryAction, tertiaryAction, onRetry, onSignIn, onBack, supportAction, compact, }: AccessRecoveryPanelProps): react_jsx_runtime.JSX.Element;
|
|
169
183
|
|
|
170
|
-
export { type AccessRecoveryAction, AccessRecoveryPanel, type AccessRecoveryPanelProps, type AccessRecoveryState, ConfirmDialog, type ConfirmDialogProps, DiscoveryShell, type DiscoveryShellProps, DocsCodeBlock, type DocsCodeBlockProps, GameBoardTile, type GameBoardTileProps, GdsVocabularyPack, ReferenceThemeExplorer, SemanticAction, SemanticActionId, SemanticButton, type SemanticButtonProps, ShareButtonGroup, type ShareButtonGroupProps, type ShareChannel, SidebarNav, SidebarNavItem, type SidebarNavItemProps, type SidebarNavProps, SidebarNavSection, type SidebarNavSectionProps, type ThemePresetId, type ThemeSchemeId, ThemeToggle, type ThemeToggleProps, UploadDropzone, type UploadDropzoneProps };
|
|
184
|
+
export { type AccessRecoveryAction, AccessRecoveryPanel, type AccessRecoveryPanelProps, type AccessRecoveryState, ConfirmDialog, type ConfirmDialogProps, DiscoveryShell, type DiscoveryShellProps, DocsCodeBlock, type DocsCodeBlockProps, DocsShell, type DocsShellProps, GameBoardTile, type GameBoardTileProps, GdsVocabularyPack, ReferenceThemeExplorer, SemanticAction, SemanticActionId, SemanticButton, type SemanticButtonProps, ShareButtonGroup, type ShareButtonGroupProps, type ShareChannel, SidebarNav, SidebarNavItem, type SidebarNavItemProps, type SidebarNavProps, SidebarNavSection, type SidebarNavSectionProps, type ThemePresetId, type ThemeSchemeId, ThemeToggle, type ThemeToggleProps, UploadDropzone, type UploadDropzoneProps };
|