@doneisbetter/gds-core 2.6.4 → 2.6.5
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-BAS4ZGKL.mjs → chunk-6LOTZ3IZ.mjs} +870 -807
- package/dist/chunk-BU3CRWRC.mjs +905 -0
- package/dist/client.d.mts +7 -3
- package/dist/client.d.ts +7 -3
- package/dist/client.js +1291 -926
- package/dist/client.mjs +10 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1291 -926
- package/dist/index.mjs +10 -2
- package/dist/{server-BqFksoV3.d.mts → server-CF4gCYQ-.d.mts} +45 -13
- package/dist/{server-BqFksoV3.d.ts → server-CF4gCYQ-.d.ts} +45 -13
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +679 -611
- package/dist/server.mjs +7 -1
- package/package.json +2 -2
- package/dist/chunk-EN3TN22M.mjs +0 -585
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 PageHeader, an as PageHeaderEyebrowVariant, ao as PageHeaderProps, ap as PlaceholderPanel, aq as PlaceholderPanelProps, ar as PlaybackSurface, as as PlaybackSurfaceProps, at as PlaybackSurfaceState, au as ProductCard, av as ProductCardAction, aw as ProductCardMetaItem, ax as ProductCardProps, ay as ProgressCard, az as ProgressCardProps, aA as PublicBrandFooter, aB as PublicBrandFooterClassNames, aC as PublicBrandFooterLayoutVariant, aD as PublicBrandFooterProps, aE as PublicFlowAction, aF as PublicFlowActionPriority, aG as PublicFlowShell, aH as PublicFlowShellProps, aI as PublicFlowStage, aJ as PublicFlowStageStatus, aK as PublicFoodCard, aL as PublicFoodCardProps, aM as PublicNav, aN as PublicNavItem, aO as PublicNavProps, aP as PublicProductCard, aQ as PublicProductCardHelperKind, aR as PublicProductCardMetaItem, aS as PublicProductCardProps, aT as PublicProductCardState, aU as PublicShell, aV as PublicShellClassNames, aW as PublicShellHeaderVariant, aX as PublicShellMobileNavigationMode, aY as PublicShellProps, aZ as PublicSiteFooter, a_ as PublicSiteFooterProps, a$ as
|
|
1
|
+
import { b9 as SemanticAction, bb as SemanticActionId, a7 as GdsVocabularyPack } from './server-CF4gCYQ-.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 PageHeader, an as PageHeaderEyebrowVariant, ao as PageHeaderProps, ap as PlaceholderPanel, aq as PlaceholderPanelProps, ar as PlaybackSurface, as as PlaybackSurfaceProps, at as PlaybackSurfaceState, au as ProductCard, av as ProductCardAction, aw as ProductCardMetaItem, ax as ProductCardProps, ay as ProgressCard, az as ProgressCardProps, aA as PublicBrandFooter, aB as PublicBrandFooterClassNames, aC as PublicBrandFooterLayoutVariant, aD as PublicBrandFooterProps, aE as PublicFlowAction, aF as PublicFlowActionPriority, aG as PublicFlowShell, aH as PublicFlowShellProps, aI as PublicFlowStage, aJ as PublicFlowStageStatus, aK as PublicFoodCard, aL as PublicFoodCardProps, aM as PublicNav, aN as PublicNavItem, aO as PublicNavProps, aP as PublicProductCard, aQ as PublicProductCardHelperKind, aR as PublicProductCardMetaItem, aS as PublicProductCardProps, aT as PublicProductCardState, aU as PublicShell, aV as PublicShellClassNames, aW as PublicShellHeaderVariant, aX as PublicShellMobileNavigationMode, aY as PublicShellProps, aZ as PublicSiteFooter, a_ as PublicSiteFooterProps, a$ as ReferenceLinkGrid, b0 as ReferenceLinkGridItem, b1 as ReferenceLinkGridProps, b2 as ReferenceLocaleNotice, b3 as ReferenceLocaleNoticeProps, b4 as ReferenceSection, b5 as ReferenceSectionProps, b6 as SectionPanel, b7 as SectionPanelProps, b8 as SectionPanelTone, ba as SemanticActionDefinition, bc as SimpleDataTable, bd as SimpleDataTableProps, be as SimpleTableColumn, bf as SocialAuthButtons, bg as SocialAuthButtonsProps, bh as SocialAuthProviderId, bi as SocialAuthProviderOption, bj as StateBlock, bk as StateBlockProps, bl as StateBlockVariant, bm as StatsSection, bn as StatsSectionProps, bo as StatusBadge, bp as StatusBadgeProps, bq as StatusVariant, br as VocabularyResolver, bs as ar, bt as createGdsVocabularyPack, bu as de, bv as en, bw as es, bx as fr, by as gdsLocales, bz as getGdsMessages, bA as getSemanticActionConfig, bB as getSemanticActionLabel, bC as he, bD as hu, bE as it, bF as mergeGdsVocabularyPacks, bG as resolveAccentPanelStyles, bH as resolveSemanticActionConfig, bI as ru } from './server-CF4gCYQ-.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';
|
|
@@ -32,6 +32,10 @@ interface ThemeToggleProps {
|
|
|
32
32
|
*/
|
|
33
33
|
declare function ThemeToggle({ size }: ThemeToggleProps): react_jsx_runtime.JSX.Element;
|
|
34
34
|
|
|
35
|
+
type ThemePresetId = 'default' | 'dark-public' | 'flat-surface' | 'editorial' | 'brand';
|
|
36
|
+
type ThemeSchemeId = 'light' | 'dark' | 'auto';
|
|
37
|
+
declare function ReferenceThemeExplorer(): react_jsx_runtime.JSX.Element;
|
|
38
|
+
|
|
35
39
|
interface SemanticButtonProps extends ButtonProps, Omit<react__default.ComponentPropsWithoutRef<'button'>, keyof ButtonProps | 'leftSection' | 'children'> {
|
|
36
40
|
action: SemanticActionId;
|
|
37
41
|
loading?: boolean;
|
|
@@ -163,4 +167,4 @@ interface AccessRecoveryPanelProps {
|
|
|
163
167
|
}
|
|
164
168
|
declare function AccessRecoveryPanel({ state, title, description, primaryAction, secondaryAction, tertiaryAction, onRetry, onSignIn, onBack, supportAction, compact, }: AccessRecoveryPanelProps): react_jsx_runtime.JSX.Element;
|
|
165
169
|
|
|
166
|
-
export { type AccessRecoveryAction, AccessRecoveryPanel, type AccessRecoveryPanelProps, type AccessRecoveryState, ConfirmDialog, type ConfirmDialogProps, DiscoveryShell, type DiscoveryShellProps, DocsCodeBlock, type DocsCodeBlockProps, GameBoardTile, type GameBoardTileProps, GdsVocabularyPack, SemanticAction, SemanticActionId, SemanticButton, type SemanticButtonProps, ShareButtonGroup, type ShareButtonGroupProps, type ShareChannel, SidebarNav, SidebarNavItem, type SidebarNavItemProps, type SidebarNavProps, SidebarNavSection, type SidebarNavSectionProps, ThemeToggle, type ThemeToggleProps, UploadDropzone, type UploadDropzoneProps };
|
|
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 };
|
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 PageHeader, an as PageHeaderEyebrowVariant, ao as PageHeaderProps, ap as PlaceholderPanel, aq as PlaceholderPanelProps, ar as PlaybackSurface, as as PlaybackSurfaceProps, at as PlaybackSurfaceState, au as ProductCard, av as ProductCardAction, aw as ProductCardMetaItem, ax as ProductCardProps, ay as ProgressCard, az as ProgressCardProps, aA as PublicBrandFooter, aB as PublicBrandFooterClassNames, aC as PublicBrandFooterLayoutVariant, aD as PublicBrandFooterProps, aE as PublicFlowAction, aF as PublicFlowActionPriority, aG as PublicFlowShell, aH as PublicFlowShellProps, aI as PublicFlowStage, aJ as PublicFlowStageStatus, aK as PublicFoodCard, aL as PublicFoodCardProps, aM as PublicNav, aN as PublicNavItem, aO as PublicNavProps, aP as PublicProductCard, aQ as PublicProductCardHelperKind, aR as PublicProductCardMetaItem, aS as PublicProductCardProps, aT as PublicProductCardState, aU as PublicShell, aV as PublicShellClassNames, aW as PublicShellHeaderVariant, aX as PublicShellMobileNavigationMode, aY as PublicShellProps, aZ as PublicSiteFooter, a_ as PublicSiteFooterProps, a$ as
|
|
1
|
+
import { b9 as SemanticAction, bb as SemanticActionId, a7 as GdsVocabularyPack } from './server-CF4gCYQ-.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 PageHeader, an as PageHeaderEyebrowVariant, ao as PageHeaderProps, ap as PlaceholderPanel, aq as PlaceholderPanelProps, ar as PlaybackSurface, as as PlaybackSurfaceProps, at as PlaybackSurfaceState, au as ProductCard, av as ProductCardAction, aw as ProductCardMetaItem, ax as ProductCardProps, ay as ProgressCard, az as ProgressCardProps, aA as PublicBrandFooter, aB as PublicBrandFooterClassNames, aC as PublicBrandFooterLayoutVariant, aD as PublicBrandFooterProps, aE as PublicFlowAction, aF as PublicFlowActionPriority, aG as PublicFlowShell, aH as PublicFlowShellProps, aI as PublicFlowStage, aJ as PublicFlowStageStatus, aK as PublicFoodCard, aL as PublicFoodCardProps, aM as PublicNav, aN as PublicNavItem, aO as PublicNavProps, aP as PublicProductCard, aQ as PublicProductCardHelperKind, aR as PublicProductCardMetaItem, aS as PublicProductCardProps, aT as PublicProductCardState, aU as PublicShell, aV as PublicShellClassNames, aW as PublicShellHeaderVariant, aX as PublicShellMobileNavigationMode, aY as PublicShellProps, aZ as PublicSiteFooter, a_ as PublicSiteFooterProps, a$ as ReferenceLinkGrid, b0 as ReferenceLinkGridItem, b1 as ReferenceLinkGridProps, b2 as ReferenceLocaleNotice, b3 as ReferenceLocaleNoticeProps, b4 as ReferenceSection, b5 as ReferenceSectionProps, b6 as SectionPanel, b7 as SectionPanelProps, b8 as SectionPanelTone, ba as SemanticActionDefinition, bc as SimpleDataTable, bd as SimpleDataTableProps, be as SimpleTableColumn, bf as SocialAuthButtons, bg as SocialAuthButtonsProps, bh as SocialAuthProviderId, bi as SocialAuthProviderOption, bj as StateBlock, bk as StateBlockProps, bl as StateBlockVariant, bm as StatsSection, bn as StatsSectionProps, bo as StatusBadge, bp as StatusBadgeProps, bq as StatusVariant, br as VocabularyResolver, bs as ar, bt as createGdsVocabularyPack, bu as de, bv as en, bw as es, bx as fr, by as gdsLocales, bz as getGdsMessages, bA as getSemanticActionConfig, bB as getSemanticActionLabel, bC as he, bD as hu, bE as it, bF as mergeGdsVocabularyPacks, bG as resolveAccentPanelStyles, bH as resolveSemanticActionConfig, bI as ru } from './server-CF4gCYQ-.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';
|
|
@@ -32,6 +32,10 @@ interface ThemeToggleProps {
|
|
|
32
32
|
*/
|
|
33
33
|
declare function ThemeToggle({ size }: ThemeToggleProps): react_jsx_runtime.JSX.Element;
|
|
34
34
|
|
|
35
|
+
type ThemePresetId = 'default' | 'dark-public' | 'flat-surface' | 'editorial' | 'brand';
|
|
36
|
+
type ThemeSchemeId = 'light' | 'dark' | 'auto';
|
|
37
|
+
declare function ReferenceThemeExplorer(): react_jsx_runtime.JSX.Element;
|
|
38
|
+
|
|
35
39
|
interface SemanticButtonProps extends ButtonProps, Omit<react__default.ComponentPropsWithoutRef<'button'>, keyof ButtonProps | 'leftSection' | 'children'> {
|
|
36
40
|
action: SemanticActionId;
|
|
37
41
|
loading?: boolean;
|
|
@@ -163,4 +167,4 @@ interface AccessRecoveryPanelProps {
|
|
|
163
167
|
}
|
|
164
168
|
declare function AccessRecoveryPanel({ state, title, description, primaryAction, secondaryAction, tertiaryAction, onRetry, onSignIn, onBack, supportAction, compact, }: AccessRecoveryPanelProps): react_jsx_runtime.JSX.Element;
|
|
165
169
|
|
|
166
|
-
export { type AccessRecoveryAction, AccessRecoveryPanel, type AccessRecoveryPanelProps, type AccessRecoveryState, ConfirmDialog, type ConfirmDialogProps, DiscoveryShell, type DiscoveryShellProps, DocsCodeBlock, type DocsCodeBlockProps, GameBoardTile, type GameBoardTileProps, GdsVocabularyPack, SemanticAction, SemanticActionId, SemanticButton, type SemanticButtonProps, ShareButtonGroup, type ShareButtonGroupProps, type ShareChannel, SidebarNav, SidebarNavItem, type SidebarNavItemProps, type SidebarNavProps, SidebarNavSection, type SidebarNavSectionProps, ThemeToggle, type ThemeToggleProps, UploadDropzone, type UploadDropzoneProps };
|
|
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 };
|