@sovereignsquad/gds-core 6.11.0 → 6.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (490) hide show
  1. package/dist/AISearchCard.js +97 -0
  2. package/dist/AISearchCard.mjs +73 -0
  3. package/dist/AccentPanel.js +94 -0
  4. package/dist/AccentPanel.mjs +69 -0
  5. package/dist/AccessRecoveryPanel.js +164 -0
  6. package/dist/AccessRecoveryPanel.mjs +140 -0
  7. package/dist/AccessSummary.js +57 -0
  8. package/dist/AccessSummary.mjs +33 -0
  9. package/dist/AccessibilityEvidence.js +131 -0
  10. package/dist/AccessibilityEvidence.mjs +104 -0
  11. package/dist/ActionBar.js +84 -0
  12. package/dist/ActionBar.mjs +60 -0
  13. package/dist/AdvancedDataTable.client.js +204 -0
  14. package/dist/AdvancedDataTable.client.mjs +180 -0
  15. package/dist/ArticleShell.js +43 -0
  16. package/dist/ArticleShell.mjs +19 -0
  17. package/dist/AsyncSurface.js +156 -0
  18. package/dist/AsyncSurface.mjs +132 -0
  19. package/dist/AuthShell.js +72 -0
  20. package/dist/AuthShell.mjs +48 -0
  21. package/dist/BottomTabBar.js +152 -0
  22. package/dist/BottomTabBar.mjs +128 -0
  23. package/dist/BottomTabBar.shared.js +31 -0
  24. package/dist/BottomTabBar.shared.mjs +6 -0
  25. package/dist/BoundedPreviewSurface.js +54 -0
  26. package/dist/BoundedPreviewSurface.mjs +30 -0
  27. package/dist/BrowseSelection.client.js +50 -0
  28. package/dist/BrowseSelection.client.mjs +26 -0
  29. package/dist/BrowseSurface.js +151 -0
  30. package/dist/BrowseSurface.mjs +127 -0
  31. package/dist/CardContracts.js +97 -0
  32. package/dist/CardContracts.mjs +68 -0
  33. package/dist/ChartTokenPanel.js +102 -0
  34. package/dist/ChartTokenPanel.mjs +78 -0
  35. package/dist/ChatSurface.js +217 -0
  36. package/dist/ChatSurface.mjs +190 -0
  37. package/dist/ChoiceChip.js +257 -0
  38. package/dist/ChoiceChip.mjs +230 -0
  39. package/dist/CommandPalette.client.js +129 -0
  40. package/dist/CommandPalette.client.mjs +103 -0
  41. package/dist/ConfirmDialog.js +65 -0
  42. package/dist/ConfirmDialog.mjs +41 -0
  43. package/dist/ConsumerDashboardGrid.js +35 -0
  44. package/dist/ConsumerDashboardGrid.mjs +11 -0
  45. package/dist/ConsumerSection.js +38 -0
  46. package/dist/ConsumerSection.mjs +14 -0
  47. package/dist/CreatorTheme.js +146 -0
  48. package/dist/CreatorTheme.mjs +120 -0
  49. package/dist/CtaButtonGroup.js +38 -0
  50. package/dist/CtaButtonGroup.mjs +14 -0
  51. package/dist/DataToolbar.js +63 -0
  52. package/dist/DataToolbar.mjs +39 -0
  53. package/dist/DetailFactsTable.js +134 -0
  54. package/dist/DetailFactsTable.mjs +110 -0
  55. package/dist/DetailFactsTable.shared.js +41 -0
  56. package/dist/DetailFactsTable.shared.mjs +16 -0
  57. package/dist/DetailProfileShell.js +52 -0
  58. package/dist/DetailProfileShell.mjs +28 -0
  59. package/dist/DiscoveryShell.js +189 -0
  60. package/dist/DiscoveryShell.mjs +164 -0
  61. package/dist/DocsCodeBlock.js +67 -0
  62. package/dist/DocsCodeBlock.mjs +43 -0
  63. package/dist/DocsCodeDisclosure.js +74 -0
  64. package/dist/DocsCodeDisclosure.mjs +50 -0
  65. package/dist/DocsPageShell.js +55 -0
  66. package/dist/DocsPageShell.mjs +31 -0
  67. package/dist/DocsShell.js +205 -0
  68. package/dist/DocsShell.mjs +180 -0
  69. package/dist/EditorialCard.js +140 -0
  70. package/dist/EditorialCard.mjs +116 -0
  71. package/dist/EditorialHero.js +247 -0
  72. package/dist/EditorialHero.mjs +223 -0
  73. package/dist/EmptyState.js +37 -0
  74. package/dist/EmptyState.mjs +13 -0
  75. package/dist/EvidencePanel.js +85 -0
  76. package/dist/EvidencePanel.mjs +61 -0
  77. package/dist/FeatureBand.js +90 -0
  78. package/dist/FeatureBand.mjs +66 -0
  79. package/dist/FeedbackRuntime.client.js +264 -0
  80. package/dist/FeedbackRuntime.client.mjs +237 -0
  81. package/dist/FilterDrawer.js +67 -0
  82. package/dist/FilterDrawer.mjs +43 -0
  83. package/dist/FitScoreChip.js +72 -0
  84. package/dist/FitScoreChip.mjs +48 -0
  85. package/dist/FoodMenuSection.js +79 -0
  86. package/dist/FoodMenuSection.mjs +55 -0
  87. package/dist/FormField.js +37 -0
  88. package/dist/FormField.mjs +13 -0
  89. package/dist/GameBoardTile.js +63 -0
  90. package/dist/GameBoardTile.mjs +39 -0
  91. package/dist/GdsAccentContrastMatrix.js +102 -0
  92. package/dist/GdsAccentContrastMatrix.mjs +85 -0
  93. package/dist/GdsAccessGate.js +226 -0
  94. package/dist/GdsAccessGate.mjs +204 -0
  95. package/dist/GdsAccessGateRuntime.js +236 -0
  96. package/dist/GdsAccessGateRuntime.mjs +203 -0
  97. package/dist/GdsAccessibilitySystemReference.js +78 -0
  98. package/dist/GdsAccessibilitySystemReference.mjs +54 -0
  99. package/dist/GdsAssetManager.client.js +208 -0
  100. package/dist/GdsAssetManager.client.mjs +180 -0
  101. package/dist/GdsBadge.js +115 -0
  102. package/dist/GdsBadge.mjs +91 -0
  103. package/dist/GdsBadge.shared-D2Cs4eos.d.mts +35 -0
  104. package/dist/GdsBadge.shared-D2Cs4eos.d.ts +35 -0
  105. package/dist/GdsBadge.shared.js +42 -0
  106. package/dist/GdsBadge.shared.mjs +16 -0
  107. package/dist/GdsBadgeStack.js +58 -0
  108. package/dist/GdsBadgeStack.mjs +33 -0
  109. package/dist/GdsBreadcrumbs.js +42 -0
  110. package/dist/GdsBreadcrumbs.mjs +18 -0
  111. package/dist/GdsBulkActionBar.js +73 -0
  112. package/dist/GdsBulkActionBar.mjs +49 -0
  113. package/dist/GdsButtonFeedbackReference.js +289 -0
  114. package/dist/GdsButtonFeedbackReference.mjs +273 -0
  115. package/dist/GdsChart.js +169 -0
  116. package/dist/GdsChart.mjs +145 -0
  117. package/dist/GdsChart.shared.js +247 -0
  118. package/dist/GdsChart.shared.mjs +215 -0
  119. package/dist/GdsColorSystemReference.js +116 -0
  120. package/dist/GdsColorSystemReference.mjs +100 -0
  121. package/dist/GdsCompareButton.js +79 -0
  122. package/dist/GdsCompareButton.mjs +55 -0
  123. package/dist/GdsContentDesign.js +371 -0
  124. package/dist/GdsContentDesign.mjs +339 -0
  125. package/dist/GdsCountBadge.js +70 -0
  126. package/dist/GdsCountBadge.mjs +46 -0
  127. package/dist/GdsDataTable.client.js +412 -0
  128. package/dist/GdsDataTable.client.mjs +385 -0
  129. package/dist/GdsDateInput.client.js +116 -0
  130. package/dist/GdsDateInput.client.mjs +90 -0
  131. package/dist/GdsDensity.js +46 -0
  132. package/dist/GdsDensity.mjs +20 -0
  133. package/dist/GdsDensitySpacingSystemReference.js +70 -0
  134. package/dist/GdsDensitySpacingSystemReference.mjs +52 -0
  135. package/dist/GdsDesignHandoff.js +250 -0
  136. package/dist/GdsDesignHandoff.mjs +222 -0
  137. package/dist/GdsDesignRuleProfilePanel.js +80 -0
  138. package/dist/GdsDesignRuleProfilePanel.mjs +61 -0
  139. package/dist/GdsForm.client.js +303 -0
  140. package/dist/GdsForm.client.mjs +271 -0
  141. package/dist/GdsFormControls.js +193 -0
  142. package/dist/GdsFormControls.mjs +166 -0
  143. package/dist/GdsGeneratedAvatar.js +86 -0
  144. package/dist/GdsGeneratedAvatar.mjs +65 -0
  145. package/dist/GdsGeneratedAvatar.shared.js +34 -0
  146. package/dist/GdsGeneratedAvatar.shared.mjs +10 -0
  147. package/dist/GdsGeneratedHero.js +277 -0
  148. package/dist/GdsGeneratedHero.mjs +256 -0
  149. package/dist/GdsGeneratedMark.js +90 -0
  150. package/dist/GdsGeneratedMark.mjs +66 -0
  151. package/dist/GdsGeneratedThumbnail.js +301 -0
  152. package/dist/GdsGeneratedThumbnail.mjs +280 -0
  153. package/dist/GdsI18nRuntime.js +83 -0
  154. package/dist/GdsI18nRuntime.mjs +52 -0
  155. package/dist/GdsI18nRuntime.shared.js +232 -0
  156. package/dist/GdsI18nRuntime.shared.mjs +198 -0
  157. package/dist/GdsIconBadge.js +60 -0
  158. package/dist/GdsIconBadge.mjs +36 -0
  159. package/dist/GdsIconSystemReference.js +128 -0
  160. package/dist/GdsIconSystemReference.mjs +104 -0
  161. package/dist/GdsInlineLink.js +42 -0
  162. package/dist/{chunk-W5O2JSVK.mjs → GdsInlineLink.mjs} +1 -3
  163. package/dist/GdsLogoLockup.js +131 -0
  164. package/dist/GdsLogoLockup.mjs +107 -0
  165. package/dist/GdsMap.client.js +395 -0
  166. package/dist/GdsMap.client.mjs +358 -0
  167. package/dist/GdsMapBasemapWash.js +51 -0
  168. package/dist/GdsMapBasemapWash.mjs +25 -0
  169. package/dist/GdsMapFilterRail.js +84 -0
  170. package/dist/GdsMapFilterRail.mjs +60 -0
  171. package/dist/GdsMapPinBadge.js +95 -0
  172. package/dist/{chunk-NTNVQZJU.mjs → GdsMapPinBadge.mjs} +12 -30
  173. package/dist/GdsMapPinBadge.shared.js +43 -0
  174. package/dist/GdsMapPinBadge.shared.mjs +14 -0
  175. package/dist/GdsMapPinPreviewCard.js +134 -0
  176. package/dist/GdsMapPinPreviewCard.mjs +110 -0
  177. package/dist/GdsMessageThread.js +92 -0
  178. package/dist/GdsMessageThread.mjs +68 -0
  179. package/dist/GdsMeter.js +46 -0
  180. package/dist/GdsMeter.mjs +22 -0
  181. package/dist/GdsMotionSystemReference.js +124 -0
  182. package/dist/GdsMotionSystemReference.mjs +106 -0
  183. package/dist/GdsNotificationBell.js +78 -0
  184. package/dist/GdsNotificationBell.mjs +54 -0
  185. package/dist/GdsPageTemplateFrame.js +178 -0
  186. package/dist/GdsPageTemplateFrame.mjs +150 -0
  187. package/dist/GdsPageTemplates.client.js +129 -0
  188. package/dist/GdsPageTemplates.client.mjs +104 -0
  189. package/dist/GdsPageTemplates.js +279 -0
  190. package/dist/GdsPageTemplates.mjs +247 -0
  191. package/dist/GdsPageTemplates.shared.js +331 -0
  192. package/dist/GdsPageTemplates.shared.mjs +303 -0
  193. package/dist/GdsPictogramSystemReference.js +288 -0
  194. package/dist/GdsPictogramSystemReference.mjs +264 -0
  195. package/dist/GdsPinSystemReference.js +164 -0
  196. package/dist/GdsPinSystemReference.mjs +147 -0
  197. package/dist/GdsPrimitives.js +84 -0
  198. package/dist/GdsPrimitives.mjs +62 -0
  199. package/dist/GdsRatingDisplay.js +61 -0
  200. package/dist/GdsRatingDisplay.mjs +37 -0
  201. package/dist/GdsReleaseNotes.client.js +126 -0
  202. package/dist/GdsReleaseNotes.client.mjs +102 -0
  203. package/dist/GdsRemovableTag.js +61 -0
  204. package/dist/GdsRemovableTag.mjs +37 -0
  205. package/dist/GdsResourceManager.client.js +280 -0
  206. package/dist/GdsResourceManager.client.mjs +254 -0
  207. package/dist/GdsRichTextEditor.client.js +146 -0
  208. package/dist/GdsRichTextEditor.client.mjs +112 -0
  209. package/dist/GdsSavedIndicator.js +62 -0
  210. package/dist/GdsSavedIndicator.mjs +38 -0
  211. package/dist/GdsSchemaForm.client.js +679 -0
  212. package/dist/GdsSchemaForm.client.mjs +650 -0
  213. package/dist/GdsShapeElevationSystemReference.js +140 -0
  214. package/dist/GdsShapeElevationSystemReference.mjs +125 -0
  215. package/dist/GdsShapeScope.js +44 -0
  216. package/dist/GdsShapeScope.mjs +19 -0
  217. package/dist/GdsTableScrollContainer.js +46 -0
  218. package/dist/GdsTableScrollContainer.mjs +22 -0
  219. package/dist/GdsThreadList.js +118 -0
  220. package/dist/GdsThreadList.mjs +94 -0
  221. package/dist/GdsTour.client.js +399 -0
  222. package/dist/GdsTour.client.mjs +380 -0
  223. package/dist/GdsTreeView.js +194 -0
  224. package/dist/GdsTreeView.mjs +170 -0
  225. package/dist/GdsTypographySystemReference.js +77 -0
  226. package/dist/GdsTypographySystemReference.mjs +57 -0
  227. package/dist/GdsViewToggle.js +48 -0
  228. package/dist/GdsViewToggle.mjs +24 -0
  229. package/dist/GdsViewportFrame.js +61 -0
  230. package/dist/GdsViewportFrame.mjs +37 -0
  231. package/dist/HeroSearchPanel.client.js +135 -0
  232. package/dist/HeroSearchPanel.client.mjs +109 -0
  233. package/dist/KanbanBoard.client.js +400 -0
  234. package/dist/KanbanBoard.client.mjs +382 -0
  235. package/dist/LayoutBlocks.js +331 -0
  236. package/dist/LayoutBlocks.mjs +301 -0
  237. package/dist/LayoutPrimitives.js +501 -0
  238. package/dist/LayoutPrimitives.mjs +465 -0
  239. package/dist/LayoutTemplatePreview.client.js +172 -0
  240. package/dist/LayoutTemplatePreview.client.mjs +151 -0
  241. package/dist/ListingCard.js +397 -0
  242. package/dist/ListingCard.mjs +373 -0
  243. package/dist/ListingCard.shared.js +49 -0
  244. package/dist/ListingCard.shared.mjs +18 -0
  245. package/dist/ListingPrimitives.js +116 -0
  246. package/dist/ListingPrimitives.mjs +89 -0
  247. package/dist/ListingState.client.js +98 -0
  248. package/dist/ListingState.client.mjs +72 -0
  249. package/dist/MapPanel.js +93 -0
  250. package/dist/MapPanel.mjs +69 -0
  251. package/dist/MaturityCapabilities.js +211 -0
  252. package/dist/MaturityCapabilities.mjs +184 -0
  253. package/dist/MeaningBadge.js +65 -0
  254. package/dist/MeaningBadge.mjs +41 -0
  255. package/dist/MediaCard.js +61 -0
  256. package/dist/MediaCard.mjs +37 -0
  257. package/dist/MediaField.js +117 -0
  258. package/dist/MediaField.mjs +93 -0
  259. package/dist/MediaPreviewCard.js +90 -0
  260. package/dist/MediaPreviewCard.mjs +66 -0
  261. package/dist/MediaWithFallback.js +112 -0
  262. package/dist/MediaWithFallback.mjs +88 -0
  263. package/dist/MetricCard.js +60 -0
  264. package/dist/MetricCard.mjs +36 -0
  265. package/dist/Notifications.client.js +301 -0
  266. package/dist/Notifications.client.mjs +273 -0
  267. package/dist/Notifications.js +220 -0
  268. package/dist/Notifications.mjs +194 -0
  269. package/dist/Notifications.shared.js +52 -0
  270. package/dist/Notifications.shared.mjs +26 -0
  271. package/dist/NumberStepper.js +124 -0
  272. package/dist/NumberStepper.mjs +100 -0
  273. package/dist/OverlayManager.client.js +300 -0
  274. package/dist/OverlayManager.client.mjs +270 -0
  275. package/dist/OwnedContrastSurface.js +83 -0
  276. package/dist/OwnedContrastSurface.mjs +58 -0
  277. package/dist/PageHeader.js +48 -0
  278. package/dist/PageHeader.mjs +24 -0
  279. package/dist/{PartnerDiscovery-pdJmaKwq.d.ts → PartnerDiscovery-BUwzROQc.d.mts} +37 -35
  280. package/dist/{PartnerDiscovery-Dy3YnO02.d.mts → PartnerDiscovery-DmIj5bAw.d.ts} +37 -35
  281. package/dist/PartnerDiscovery.js +629 -0
  282. package/dist/{chunk-PCG34VRY.mjs → PartnerDiscovery.mjs} +19 -106
  283. package/dist/PartnerDiscovery.shared.js +116 -0
  284. package/dist/PartnerDiscovery.shared.mjs +84 -0
  285. package/dist/PeriodSelector.js +69 -0
  286. package/dist/PeriodSelector.mjs +45 -0
  287. package/dist/PlaceholderPanel.js +59 -0
  288. package/dist/PlaceholderPanel.mjs +35 -0
  289. package/dist/PlaybackControls.client.js +91 -0
  290. package/dist/PlaybackControls.client.mjs +65 -0
  291. package/dist/PlaybackSurface.js +107 -0
  292. package/dist/PlaybackSurface.mjs +83 -0
  293. package/dist/ProductCard.js +75 -0
  294. package/dist/ProductCard.mjs +51 -0
  295. package/dist/ProgressCard.js +58 -0
  296. package/dist/ProgressCard.mjs +34 -0
  297. package/dist/ProviderCTA.js +104 -0
  298. package/dist/ProviderCTA.mjs +80 -0
  299. package/dist/ProviderIdentityButtons.js +221 -0
  300. package/dist/ProviderIdentityButtons.mjs +192 -0
  301. package/dist/PublicBrandFooter.js +70 -0
  302. package/dist/PublicBrandFooter.mjs +46 -0
  303. package/dist/PublicCaptureFlow.js +125 -0
  304. package/dist/PublicCaptureFlow.mjs +95 -0
  305. package/dist/PublicFlowShell.js +128 -0
  306. package/dist/PublicFlowShell.mjs +104 -0
  307. package/dist/PublicFoodCard.js +153 -0
  308. package/dist/PublicFoodCard.mjs +129 -0
  309. package/dist/PublicNav.js +51 -0
  310. package/dist/PublicNav.mjs +27 -0
  311. package/dist/PublicProductCard.js +145 -0
  312. package/dist/PublicProductCard.mjs +121 -0
  313. package/dist/PublicShell.js +168 -0
  314. package/dist/PublicShell.mjs +144 -0
  315. package/dist/PublicSiteFooter.js +35 -0
  316. package/dist/PublicSiteFooter.mjs +11 -0
  317. package/dist/{QuickStartCard-BhNYAGG3.d.ts → QuickStartCard-CYKhDjvS.d.ts} +551 -158
  318. package/dist/{QuickStartCard-BztqkfQK.d.mts → QuickStartCard-DT2GgJrP.d.mts} +551 -158
  319. package/dist/QuickStartCard.js +85 -0
  320. package/dist/QuickStartCard.mjs +60 -0
  321. package/dist/ReferenceLinkGrid.js +66 -0
  322. package/dist/ReferenceLinkGrid.mjs +42 -0
  323. package/dist/ReferenceLocaleNotice.js +32 -0
  324. package/dist/ReferenceLocaleNotice.mjs +8 -0
  325. package/dist/ReferenceSection.js +58 -0
  326. package/dist/ReferenceSection.mjs +34 -0
  327. package/dist/ReferenceThemeExplorer.copy.js +1209 -0
  328. package/dist/ReferenceThemeExplorer.copy.mjs +1184 -0
  329. package/dist/ReferenceThemeExplorer.js +801 -0
  330. package/dist/ReferenceThemeExplorer.mjs +802 -0
  331. package/dist/ReportingSection.js +72 -0
  332. package/dist/ReportingSection.mjs +48 -0
  333. package/dist/SafeStyles.js +303 -0
  334. package/dist/SafeStyles.mjs +274 -0
  335. package/dist/SearchableSelect.js +195 -0
  336. package/dist/SearchableSelect.mjs +171 -0
  337. package/dist/SectionPanel.js +96 -0
  338. package/dist/SectionPanel.mjs +72 -0
  339. package/dist/SemanticButton.js +326 -0
  340. package/dist/SemanticButton.mjs +296 -0
  341. package/dist/SemanticCharts.js +120 -0
  342. package/dist/SemanticCharts.mjs +77 -0
  343. package/dist/ShareButtonGroup.js +117 -0
  344. package/dist/ShareButtonGroup.mjs +93 -0
  345. package/dist/SidebarNav.js +92 -0
  346. package/dist/SidebarNav.mjs +66 -0
  347. package/dist/SimpleDataTable.js +59 -0
  348. package/dist/SimpleDataTable.mjs +35 -0
  349. package/dist/SocialAuthButtons.js +71 -0
  350. package/dist/SocialAuthButtons.mjs +49 -0
  351. package/dist/StateBlock.js +118 -0
  352. package/dist/StateBlock.mjs +95 -0
  353. package/dist/StatsSection.js +63 -0
  354. package/dist/StatsSection.mjs +39 -0
  355. package/dist/StatusBadge.js +94 -0
  356. package/dist/StatusBadge.mjs +68 -0
  357. package/dist/StyleUtilities.js +123 -0
  358. package/dist/StyleUtilities.mjs +91 -0
  359. package/dist/SurfacePresentation.js +63 -0
  360. package/dist/SurfacePresentation.mjs +38 -0
  361. package/dist/TaskPatterns.js +206 -0
  362. package/dist/TaskPatterns.mjs +180 -0
  363. package/dist/Telemetry.client.js +273 -0
  364. package/dist/Telemetry.client.mjs +243 -0
  365. package/dist/ThemeToggle.js +53 -0
  366. package/dist/{chunk-ZFGYQSNR.mjs → ThemeToggle.mjs} +3 -7
  367. package/dist/TrustLayer.client.js +184 -0
  368. package/dist/TrustLayer.client.mjs +158 -0
  369. package/dist/TrustLayer.js +94 -0
  370. package/dist/TrustLayer.mjs +68 -0
  371. package/dist/TrustLayer.shared.js +37 -0
  372. package/dist/TrustLayer.shared.mjs +13 -0
  373. package/dist/Typography.js +68 -0
  374. package/dist/Typography.mjs +37 -0
  375. package/dist/UploadDropzone.js +144 -0
  376. package/dist/UploadDropzone.mjs +120 -0
  377. package/dist/badge-shapes.js +75 -0
  378. package/dist/badge-shapes.mjs +44 -0
  379. package/dist/breakpoints.js +34 -0
  380. package/dist/breakpoints.mjs +10 -0
  381. package/dist/category-registry.js +33 -0
  382. package/dist/category-registry.mjs +9 -0
  383. package/dist/chart-colors.js +73 -0
  384. package/dist/chart-colors.mjs +44 -0
  385. package/dist/chart-primitives.js +169 -0
  386. package/dist/chart-primitives.mjs +144 -0
  387. package/dist/client.d.mts +3 -3
  388. package/dist/client.d.ts +3 -3
  389. package/dist/client.js +378 -23816
  390. package/dist/client.mjs +161 -959
  391. package/dist/dom-phrase-translation.js +130 -0
  392. package/dist/dom-phrase-translation.mjs +104 -0
  393. package/dist/generated-art-engine.js +119 -0
  394. package/dist/generated-art-engine.mjs +93 -0
  395. package/dist/generated-art-svg.js +263 -0
  396. package/dist/generated-art-svg.mjs +238 -0
  397. package/dist/generated-brand-badge.js +160 -0
  398. package/dist/generated-brand-badge.mjs +136 -0
  399. package/dist/generated-design-rule-coverage.js +54 -0
  400. package/dist/generated-design-rule-coverage.mjs +30 -0
  401. package/dist/icons.js +371 -0
  402. package/dist/{chunk-J66ITCXC.mjs → icons.mjs} +22 -15
  403. package/dist/index.d.mts +13 -12
  404. package/dist/index.d.ts +13 -12
  405. package/dist/index.js +448 -26750
  406. package/dist/index.mjs +192 -3030
  407. package/dist/locales/ar.js +477 -0
  408. package/dist/{chunk-EYRLICSG.mjs → locales/ar.mjs} +1 -3
  409. package/dist/locales/de.js +477 -0
  410. package/dist/{chunk-TVGDH5O5.mjs → locales/de.mjs} +1 -3
  411. package/dist/locales/en.js +477 -0
  412. package/dist/{chunk-D65VHUXK.mjs → locales/en.mjs} +1 -3
  413. package/dist/locales/es.js +477 -0
  414. package/dist/{chunk-J4TSXITU.mjs → locales/es.mjs} +1 -3
  415. package/dist/locales/fr.js +477 -0
  416. package/dist/{chunk-Z6XXK57E.mjs → locales/fr.mjs} +1 -3
  417. package/dist/locales/he.js +477 -0
  418. package/dist/{chunk-GAPCKZGX.mjs → locales/he.mjs} +1 -3
  419. package/dist/locales/hu.js +477 -0
  420. package/dist/{chunk-CWMDWMYL.mjs → locales/hu.mjs} +1 -3
  421. package/dist/locales/index.js +83 -0
  422. package/dist/locales/index.mjs +45 -0
  423. package/dist/locales/it.js +477 -0
  424. package/dist/{chunk-3UYDQTAZ.mjs → locales/it.mjs} +1 -3
  425. package/dist/locales/ja.js +477 -0
  426. package/dist/{chunk-FPDTLFIB.mjs → locales/ja.mjs} +1 -3
  427. package/dist/locales/ko.js +477 -0
  428. package/dist/{chunk-PLJT4I7B.mjs → locales/ko.mjs} +1 -3
  429. package/dist/locales/lazy/all.js +23 -5449
  430. package/dist/locales/lazy/all.mjs +12 -39
  431. package/dist/locales/lazy/ar.js +3 -919
  432. package/dist/locales/lazy/ar.mjs +2 -9
  433. package/dist/locales/lazy/de.js +3 -919
  434. package/dist/locales/lazy/de.mjs +2 -9
  435. package/dist/locales/lazy/es.js +3 -919
  436. package/dist/locales/lazy/es.mjs +2 -9
  437. package/dist/locales/lazy/fr.js +3 -919
  438. package/dist/locales/lazy/fr.mjs +2 -9
  439. package/dist/locales/lazy/he.js +3 -919
  440. package/dist/locales/lazy/he.mjs +2 -9
  441. package/dist/locales/lazy/hu.js +3 -919
  442. package/dist/locales/lazy/hu.mjs +2 -9
  443. package/dist/locales/lazy/index.js +3 -477
  444. package/dist/locales/lazy/index.mjs +1 -5
  445. package/dist/locales/lazy/it.js +3 -919
  446. package/dist/locales/lazy/it.mjs +2 -9
  447. package/dist/locales/lazy/ja.js +3 -919
  448. package/dist/locales/lazy/ja.mjs +2 -9
  449. package/dist/locales/lazy/ko.js +3 -919
  450. package/dist/locales/lazy/ko.mjs +2 -9
  451. package/dist/locales/lazy/registry.js +47 -0
  452. package/dist/{chunk-TD3JPMMO.mjs → locales/lazy/registry.mjs} +6 -11
  453. package/dist/locales/lazy/ru.js +3 -919
  454. package/dist/locales/lazy/ru.mjs +2 -9
  455. package/dist/locales/lazy/zh.js +3 -919
  456. package/dist/locales/lazy/zh.mjs +2 -9
  457. package/dist/locales/ru.js +477 -0
  458. package/dist/{chunk-RBXAJJB2.mjs → locales/ru.mjs} +1 -3
  459. package/dist/locales/zh.js +477 -0
  460. package/dist/{chunk-V6SP5O4D.mjs → locales/zh.mjs} +1 -3
  461. package/dist/map-tile-policy.js +55 -0
  462. package/dist/map-tile-policy.mjs +29 -0
  463. package/dist/map.d.mts +1 -3
  464. package/dist/map.d.ts +1 -3
  465. package/dist/map.js +6 -749
  466. package/dist/map.mjs +2 -389
  467. package/dist/pictograms.js +112 -0
  468. package/dist/pictograms.mjs +88 -0
  469. package/dist/pictograms.shared.js +262 -0
  470. package/dist/pictograms.shared.mjs +226 -0
  471. package/dist/reference-theme-explorer.js +3 -10401
  472. package/dist/reference-theme-explorer.mjs +1 -2008
  473. package/dist/rich-text-editor.js +3 -450
  474. package/dist/rich-text-editor.mjs +1 -115
  475. package/dist/server.d.mts +6 -5
  476. package/dist/server.d.ts +6 -5
  477. package/dist/server.js +304 -18097
  478. package/dist/server.mjs +120 -1122
  479. package/dist/useGdsDomPhraseTranslation.client.js +49 -0
  480. package/dist/useGdsDomPhraseTranslation.client.mjs +25 -0
  481. package/dist/vocabulary.js +166 -0
  482. package/dist/vocabulary.mjs +137 -0
  483. package/package.json +5 -5
  484. package/dist/GdsBadge-j_kQnIL0.d.mts +0 -417
  485. package/dist/GdsBadge-j_kQnIL0.d.ts +0 -417
  486. package/dist/chunk-ADNXPSGK.mjs +0 -6695
  487. package/dist/chunk-MQDFB3AS.mjs +0 -8311
  488. package/dist/chunk-RMPMU4MB.mjs +0 -2468
  489. package/dist/chunk-RSA7INLU.mjs +0 -246
  490. package/dist/chunk-SPPTDVJC.mjs +0 -211
package/dist/server.mjs CHANGED
@@ -1,856 +1,125 @@
1
- import {
2
- AmenityChipGrid,
3
- PartnerAboutPageSections,
4
- PartnerAmenityBadgeGrid,
5
- PartnerContactBlock,
6
- PartnerDiscoveryFilters,
7
- PartnerDiscoveryFooter,
8
- PartnerDiscoveryHeader,
9
- PartnerDiscoveryShell,
10
- PartnerFaqList,
11
- PartnerListIndex,
12
- PartnerMapControls,
13
- PartnerMapListShell,
14
- PartnerMapPin,
15
- PartnerNewsletterCapture,
16
- PartnerNewsletterForm,
17
- PartnerParentTipPanel,
18
- PartnerPlaceDetailTemplate,
19
- PartnerPlaceResultCard,
20
- PartnerSubmissionEntry,
21
- emitPartnerDiscoveryEvent,
22
- filterPartnerPlaces,
23
- partnerDiscoveryDefaultAmenities,
24
- partnerDiscoveryDefaultFilterState,
25
- partnerDiscoveryFamilyAmenities,
26
- redactPartnerDiscoveryEventMetadata,
27
- resetPartnerDiscoveryFilters,
28
- togglePartnerAmenity,
29
- togglePartnerPrice
30
- } from "./chunk-PCG34VRY.mjs";
31
- import {
32
- AISearchCard,
33
- AccentPanel,
34
- AccessSummary,
35
- Accordion,
36
- ActionIcon,
37
- ActiveFilterChips,
38
- Anchor,
39
- ArticleShell,
40
- AsyncSurface,
41
- AuthShell,
42
- BOTTOM_TAB_HEIGHT,
43
- BOTTOM_TAB_MAX_ITEMS,
44
- Badge,
45
- BannerNotice,
46
- BodyText,
47
- BottomTabBar,
48
- BoundedPreviewSurface,
49
- Box,
50
- BrowseSurface,
51
- BulkActionsBar,
52
- Button,
53
- CardTitle,
54
- Center,
55
- ChatInput,
56
- ChatMessage,
57
- ChatThread,
58
- Checkbox,
59
- ChoiceChip,
60
- ClippedFlexChild,
61
- ConsumerDashboardGrid,
62
- ConsumerSection,
63
- Container,
64
- CountBadge,
65
- CreatorThemeBoundary,
66
- CreatorThemeDiagnostics,
67
- CtaButtonGroup,
68
- DataToolbar,
69
- DetailFactsTable,
70
- DetailProfileShell,
71
- DocsPageShell,
72
- EditorialCard,
73
- EditorialHero,
74
- EmptyState,
75
- EvidencePanel,
76
- FeatureBand,
77
- FilterChipGroup,
78
- FilterDrawer,
79
- FitScoreChip,
80
- FloatingActionPlacement,
81
- FoodMenuSection,
82
- GDS_DETAIL_FACTS_LABEL_COLUMN_PX,
83
- GDS_DETAIL_FACT_IDS,
84
- GDS_PICTOGRAM_BASE_STROKE,
85
- GDS_PICTOGRAM_DISABLED_OPACITY,
86
- GDS_PICTOGRAM_GRID,
87
- GDS_PICTOGRAM_HERO_LAYERS,
88
- GDS_PICTOGRAM_SCALE_PX,
89
- GDS_PICTOGRAM_STROKE_BY_SCALE,
90
- GDS_PICTOGRAM_TREATMENT_SCALE,
91
- GDS_QUICK_START_ICON_BOX_PX,
92
- GdsAdminDashboardTemplate,
93
- GdsAnalyticsTemplate,
94
- GdsAreaChart,
95
- GdsBarChart,
96
- GdsBenchmarkBarChart,
97
- GdsBreadcrumbs,
98
- GdsCalendarHeatmapChart,
99
- GdsChartAxis,
100
- GdsChartLegend,
101
- GdsChartTooltip,
102
- GdsCompareButton,
103
- GdsContentPatternCatalog,
104
- GdsCountBadge,
105
- GdsCrudEditorTemplate,
106
- GdsDesignHandoffCatalog,
107
- GdsDirectionBoundary,
108
- GdsDivergingBarChart,
109
- GdsEmptyStateTemplate,
110
- GdsErrorPageTemplate,
111
- GdsFormattedCurrency,
112
- GdsFormattedDate,
113
- GdsFormattedNumber,
114
- GdsGaugeChart,
115
- GdsHistogramChart,
116
- GdsLineChart,
117
- GdsLocaleText,
118
- GdsLogoLockup,
119
- GdsLongitudinalChart,
120
- GdsMaturityRadarChart,
121
- GdsMediaFrame,
122
- GdsMeter,
123
- GdsNotificationBell,
124
- GdsOverflowFrame,
125
- GdsPageTemplateCatalog,
126
- GdsPictogram,
127
- GdsPlural,
128
- GdsPublicEventTemplate,
129
- GdsRadarChart,
130
- GdsRatingDisplay,
131
- GdsRatingScale,
132
- GdsRelativeTime,
133
- GdsRemovableTag,
134
- GdsResourceManagerTemplate,
135
- GdsResponsiveChartFrame,
136
- GdsResponsiveVisibility,
137
- GdsSafeBox,
138
- GdsSegmentedControl,
139
- GdsSettingsTemplate,
140
- GdsSlider,
141
- GdsSlopeChart,
142
- GdsSparkline,
143
- GdsStackedBarChart,
144
- GdsSymmetryChart,
145
- GdsWizardStepper,
146
- Group,
147
- InlineAlert,
148
- InlineEmphasis,
149
- InlineText,
150
- LabelTag,
151
- LabelText,
152
- LastCheckedLabel,
153
- LayeredSurfaceSlot,
154
- ListItemSection,
155
- Loader,
156
- MapPanel,
157
- MeaningBadge,
158
- MediaCard,
159
- MediaField,
160
- MediaPreviewCard,
161
- MediaWithFallback,
162
- MetadataText,
163
- MetricCard,
164
- Modal,
165
- MonospaceInputFrame,
166
- MultiSelect,
167
- NotificationCenterView,
168
- NumberInput,
169
- NumberStepper,
170
- NumericCell,
171
- OverflowContainer,
172
- PROVIDER_IDENTITY_REGISTRY,
173
- PageHeader,
174
- PageTitle,
175
- PasswordInput,
176
- PeriodSelector,
177
- PillBar,
178
- PlaceholderPanel,
179
- PlaybackSurface,
180
- PriceEstimateLabel,
181
- ProductCard,
182
- Progress,
183
- ProgressCard,
184
- ProviderIdentityButton,
185
- ProviderIdentityButtonGroup,
186
- PublicBrandFooter,
187
- PublicFlowShell,
188
- PublicFoodCard,
189
- PublicNav,
190
- PublicProductCard,
191
- PublicShell,
192
- PublicSiteFooter,
193
- QuickStartCard,
194
- Radio,
195
- ReferenceLinkGrid,
196
- ReferenceLocaleNotice,
197
- ReportingSection,
198
- ResultSummary,
199
- ScrollArea,
200
- SearchableSelect,
201
- SectionTitle,
202
- Select,
203
- SemanticInset,
204
- SimpleGrid,
205
- Slider,
206
- SocialAuthButtons,
207
- SoftChipGroup,
208
- SortMenu,
209
- Stack,
210
- StatsSection,
211
- StatusBadge,
212
- StreamingIndicator,
213
- Switch,
214
- TRUST_BADGE_DEFINITIONS,
215
- Table,
216
- Tabs,
217
- TextInput,
218
- Textarea,
219
- ThemeIcon,
220
- Tooltip,
221
- TrustBadge,
222
- VisuallyHidden,
223
- compareGdsLocaleString,
224
- createGdsAccessAdapter,
225
- createGdsAccessGateEvent,
226
- createGdsAccessibilityEvidenceIndex,
227
- createGdsContentExpansionReport,
228
- createGdsMissingKeyTracker,
229
- createGdsNotificationAuditEvent,
230
- createGdsNotificationId,
231
- createGdsPageTemplateEvent,
232
- createGdsPictogramFamily,
233
- createGdsStyleContract,
234
- createGdsTextExpansionFixture,
235
- formatGdsCurrency,
236
- formatGdsDate,
237
- formatGdsNumber,
238
- formatGdsPlural,
239
- formatGdsRelativeTime,
240
- gdsActivityPictograms,
241
- gdsPictogramUsageRules,
242
- gdsStyle,
243
- generateGdsDesignHandoffReport,
244
- getGdsAccessGateActionPriority,
245
- getGdsAccessGateReasons,
246
- getGdsAccessGateStates,
247
- getGdsAccessibilityEvidence,
248
- getGdsAccessibilityEvidenceSummary,
249
- getGdsActivityPictogramKeys,
250
- getGdsBlockTypes,
251
- getGdsContentPattern,
252
- getGdsContentPatterns,
253
- getGdsCopyTemplate,
254
- getGdsCopyTemplates,
255
- getGdsDesignComponentMappings,
256
- getGdsDesignTokenMappings,
257
- getGdsLayoutTemplate,
258
- getGdsLayoutTemplates,
259
- getGdsMaturityCapabilities,
260
- getGdsMaturityCapability,
261
- getGdsMaturitySummary,
262
- getGdsNotificationLivePolicy,
263
- getGdsPageTemplate,
264
- getGdsPageTemplates,
265
- getGdsRecommendedMaturityCapabilities,
266
- getGdsTaskPattern,
267
- getGdsTaskPatterns,
268
- getProviderIdentityLabel,
269
- getProviderIdentityPolicy,
270
- getSupportedProviderIdentityIds,
271
- isGdsActivityPictogramKey,
272
- redactGdsAccessGateMetadata,
273
- registerGdsBlock,
274
- renderGdsCopyTemplate,
275
- renderGdsLayout,
276
- renderGdsLayoutWithDiagnostics,
277
- resolveAccentPanelStyles,
278
- resolveGdsAccessAdapterState,
279
- resolveGdsAccessState,
280
- resolveGdsActivityPictogramLabel,
281
- resolveGdsLocale,
282
- resolveGdsMessage,
283
- sortGdsAccessGateActions,
284
- sortGdsLocaleStrings,
285
- useGdsDirection,
286
- validateCreatorCss,
287
- validateGdsAccessGateContract,
288
- validateGdsAccessibilityEvidence,
289
- validateGdsContentPatterns,
290
- validateGdsCopyTemplate,
291
- validateGdsDesignHandoffMappings,
292
- validateGdsLayout,
293
- validateGdsPageTemplates,
294
- validateGdsTaskPatterns
295
- } from "./chunk-MQDFB3AS.mjs";
296
- import {
297
- GDS_PIN_APPROXIMATE_DASH,
298
- GDS_PIN_EMOJI_SCALE,
299
- GDS_PIN_EMPHASIS_STROKE,
300
- GDS_PIN_HEAD_CENTER_OFFSET,
301
- GDS_PIN_ICON_SCALE,
302
- GDS_PIN_SELECTED_SCALE,
303
- GdsMapPinBadge
304
- } from "./chunk-NTNVQZJU.mjs";
305
- import {
306
- ChartTokenPanel,
307
- FormField,
308
- GDS_CHART_SERIES_COLORS,
309
- GDS_CHART_SERIES_SLOTS,
310
- GDS_LISTING_PICK_BADGE_FONT_SIZE_PX,
311
- GDS_LISTING_PICK_BADGE_ICON_PX,
312
- GDS_LISTING_PICK_BADGE_INSET_PX,
313
- GDS_LISTING_PICK_BADGE_LINE_HEIGHT_PX,
314
- GDS_LISTING_PICK_BADGE_PADDING_BLOCK_PX,
315
- GDS_LISTING_PICK_BADGE_PADDING_INLINE_PX,
316
- GDS_LISTING_TILE_SIZE_PX,
317
- GdsBadge,
318
- GdsBleed,
319
- GdsBox,
320
- GdsChart,
321
- GdsCluster,
322
- GdsColumnGrid,
323
- GdsColumnGridItem,
324
- GdsContainer,
325
- GdsGrid,
326
- GdsInline,
327
- GdsSidebar,
328
- GdsSplit,
329
- GdsStack,
330
- GdsVocabulary,
331
- ListingCard,
332
- MAX_LISTING_CARD_ACTIONS,
333
- ReferenceSection,
334
- SectionPanel,
335
- SemanticChartFrame,
336
- SimpleDataTable,
337
- createGdsOwnedContrastTokens,
338
- createGdsVocabularyPack,
339
- gdsBadgeAccentColors,
340
- gdsBadgeAccentShades,
341
- gdsCardDensityPaddingMap,
342
- gdsCardGapMap,
343
- gdsCardMediaRatioMap,
344
- gdsCardSizePaddingMap,
345
- gdsCardTitleOrderMap,
346
- gdsChartSetATypeRegistry,
347
- gdsChartSetBTypeRegistry,
348
- gdsChartSetCTypeRegistry,
349
- gdsChartTypeRegistry,
350
- gdsDefaultChartLegend,
351
- gdsLocales,
352
- gdsSeededRandom,
353
- gdsSeriesPalette,
354
- getGdsChartSeriesColor,
355
- getGdsMessages,
356
- getGdsOwnedContrastProps,
357
- getGdsSeriesColor,
358
- getSemanticActionConfig,
359
- getSemanticActionLabel,
360
- isGdsChartSetAType,
361
- isGdsChartSetBType,
362
- isGdsChartSetCType,
363
- mergeGdsVocabularyPacks,
364
- normalizeGdsResponsiveValue,
365
- resolveGdsCardContract,
366
- resolveGdsChartTokenColor,
367
- resolveGdsGeneratedPaletteHex,
368
- resolveGdsLayoutStyle,
369
- resolveSemanticActionConfig,
370
- validateGdsChartData
371
- } from "./chunk-RMPMU4MB.mjs";
372
- import {
373
- GDS_PIN_SILHOUETTE_PATH,
374
- GdsBadgeShapeCircle,
375
- GdsBadgeShapeHexagon,
376
- GdsBadgeShapePin,
377
- GdsBadgeShapeRosette,
378
- GdsBadgeShapeShield,
379
- GdsBadgeShapeSquircle,
380
- GdsBadgeShapes,
381
- GdsBadgeStack,
382
- GdsBadgeStackLayer,
383
- MissingDataPrompt,
384
- StateBlock,
385
- isPresentationMode,
386
- resolveSurfacePresentationStyles
387
- } from "./chunk-SPPTDVJC.mjs";
388
- import {
389
- GdsIcon,
390
- GdsIcons,
391
- gdsIconRegistry,
392
- gdsIconToneColor,
393
- getGdsIconKeys,
394
- getGdsIconMetadata,
395
- getGdsIconToneColor,
396
- isGdsIconKey
397
- } from "./chunk-J66ITCXC.mjs";
398
- import {
399
- ko
400
- } from "./chunk-PLJT4I7B.mjs";
401
- import {
402
- ru
403
- } from "./chunk-RBXAJJB2.mjs";
404
- import {
405
- zh
406
- } from "./chunk-V6SP5O4D.mjs";
407
- import {
408
- de
409
- } from "./chunk-TVGDH5O5.mjs";
410
- import {
411
- es
412
- } from "./chunk-J4TSXITU.mjs";
413
- import {
414
- fr
415
- } from "./chunk-Z6XXK57E.mjs";
416
- import {
417
- he
418
- } from "./chunk-GAPCKZGX.mjs";
419
- import {
420
- hu
421
- } from "./chunk-CWMDWMYL.mjs";
422
- import {
423
- it
424
- } from "./chunk-3UYDQTAZ.mjs";
425
- import {
426
- ja
427
- } from "./chunk-FPDTLFIB.mjs";
428
- import {
429
- ar
430
- } from "./chunk-EYRLICSG.mjs";
431
- import {
432
- en
433
- } from "./chunk-D65VHUXK.mjs";
434
-
435
- // src/generated-art-svg.ts
436
- import { cloneElement, createElement, isValidElement } from "react";
437
- import { renderToStaticMarkup } from "react-dom/server";
438
- var isIconKey = (icon) => typeof icon === "string";
439
- function iconSvg(icon, color, size) {
440
- const element = isIconKey(icon) ? createElement(GdsIcon, { icon, size: "100%", tone: "default" }) : isValidElement(icon) ? cloneElement(icon, { stroke: 1.75 }) : icon;
441
- const rendered = renderToStaticMarkup(createElement("g", { style: { color } }, element));
442
- return `<svg width="${size}" height="${size}" viewBox="0 0 24 24">${rendered}</svg>`;
443
- }
444
- function mixHexTowardBlack(hex, keepPercent) {
445
- const match = /^#([0-9a-f]{6})$/i.exec(hex);
446
- if (!match) {
447
- return hex;
448
- }
449
- const value = parseInt(match[1], 16);
450
- const mix = (channel) => Math.round(channel * keepPercent / 100);
451
- const r = mix(value >> 16 & 255);
452
- const g = mix(value >> 8 & 255);
453
- const b = mix(value & 255);
454
- return `#${[r, g, b].map((c) => c.toString(16).padStart(2, "0")).join("")}`;
455
- }
456
- function escapeXmlText(value) {
457
- return value.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
458
- }
459
- var THUMBNAIL_ASPECT_RATIO_VIEWBOX = {
460
- "3:2": { width: 300, height: 200 },
461
- "16:9": { width: 320, height: 180 },
462
- "4:3": { width: 320, height: 240 },
463
- "1:1": { width: 240, height: 240 }
464
- };
465
- function computeMotifTransform(seed, viewBoxWidth, viewBoxHeight) {
466
- const next = gdsSeededRandom(seed);
467
- const rotationDeg = (next() - 0.5) * 26;
468
- const scale = viewBoxHeight / 24 * (1.7 + next() * 0.3);
469
- const centerX = viewBoxWidth * (0.78 + (next() - 0.5) * 0.12);
470
- const centerY = viewBoxHeight * (0.28 + (next() - 0.5) * 0.14);
471
- return { rotationDeg, scale, centerX, centerY };
472
- }
473
- function buildGdsThumbnailSvg(options) {
474
- const { seed, categories, paletteSource, category, shade, colors, themePresetId, colorScheme, aspectRatio = "3:2", maxBadges = 3, motifOpacity = 0.14, background = "wash", label } = options;
475
- if (categories.length === 0) {
476
- throw new Error("buildGdsThumbnailSvg: `categories` must contain at least one entry.");
477
- }
478
- const palette = resolveGdsGeneratedPaletteHex({ paletteSource, category, shade, colors, themePresetId, colorScheme });
479
- const { width, height } = THUMBNAIL_ASPECT_RATIO_VIEWBOX[aspectRatio];
480
- const motif = computeMotifTransform(seed, width, height);
481
- const backgroundArtSvg = background === "mosaic-abstract" ? computeMosaicTilesSvg(seed, width, height, palette.primary, palette.accent) : background === "icon-field" ? computeIconFieldSvg(seed, categories, width, height) : typeof background === "object" && background.type === "region-mosaic" ? background.regions.map((region) => {
482
- const weight = region.weight ?? 1;
483
- const opacity = Math.min(0.85, 0.06 + weight * 0.05);
484
- return `<rect x="${region.x0 * width}" y="${region.y0 * height}" width="${(region.x1 - region.x0) * width}" height="${(region.y1 - region.y0) * height}" fill="${palette.accent}" opacity="${opacity}" />`;
485
- }).join("") : "";
486
- const inverse = "#ffffff";
487
- const pillBg = mixHexTowardBlack(palette.accent, 30);
488
- const gradientDark = mixHexTowardBlack(palette.primary, 30);
489
- const lead = categories[0];
490
- const secondary = categories.slice(1, Math.max(maxBadges, 1));
491
- const badgeAreaHeight = height * 0.22;
492
- const badgeY = height - badgeAreaHeight / 2;
493
- let cursorX = 14;
494
- const leadFontSize = Math.max(11, height * 0.065);
495
- const leadIconSize = leadFontSize * 1.3;
496
- const leadTextWidth = lead.label.length * leadFontSize * 0.58;
497
- const leadPillWidth = leadIconSize + leadTextWidth + leadFontSize * 1.4;
498
- const leadPillHeight = leadIconSize + leadFontSize * 0.6;
499
- const leadBadgeSvg = `
500
- <g transform="translate(${cursorX} ${badgeY - leadPillHeight / 2})">
501
- <rect width="${leadPillWidth}" height="${leadPillHeight}" rx="${leadPillHeight / 2}" fill="${pillBg}" />
502
- <g transform="translate(${leadPillHeight * 0.28} ${leadPillHeight / 2 - leadIconSize / 2})">${iconSvg(lead.icon, inverse, leadIconSize)}</g>
503
- <text x="${leadIconSize + leadPillHeight * 0.4}" y="${leadPillHeight / 2}" fill="${inverse}" font-family="system-ui, sans-serif" font-size="${leadFontSize}" font-weight="600" dominant-baseline="central">${escapeXmlText(lead.label)}</text>
504
- </g>`;
505
- cursorX += leadPillWidth + 8;
506
- const secondaryBadgesSvg = secondary.map((entry, index) => {
507
- const discSize = leadPillHeight * (0.92 - index * 0.06);
508
- const svg = `
509
- <g transform="translate(${cursorX} ${badgeY - discSize / 2})" opacity="${1 - index * 0.12}">
510
- <circle cx="${discSize / 2}" cy="${discSize / 2}" r="${discSize / 2}" fill="${pillBg}" stroke="${gradientDark}" stroke-width="2" />
511
- <g transform="translate(${discSize * 0.24} ${discSize * 0.24})">${iconSvg(entry.icon, inverse, discSize * 0.52)}</g>
512
- </g>`;
513
- cursorX += discSize * 0.75;
514
- return svg;
515
- }).join("");
516
- return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${width} ${height}" width="${width}" height="${height}">
517
- <title>${escapeXmlText(label)}</title>
518
- <defs>
519
- <linearGradient id="gds-thumb-bg" x1="0" y1="0" x2="0" y2="1">
520
- <stop offset="0%" stop-color="${palette.primary}" />
521
- <stop offset="100%" stop-color="${gradientDark}" />
522
- </linearGradient>
523
- <linearGradient id="gds-thumb-scrim" x1="0" y1="1" x2="0" y2="0">
524
- <stop offset="0%" stop-color="${gradientDark}" />
525
- <stop offset="100%" stop-color="${gradientDark}" stop-opacity="0" />
526
- </linearGradient>
527
- </defs>
528
- <rect width="${width}" height="${height}" fill="url(#gds-thumb-bg)" />
529
- ${background === "wash" ? `<g transform="translate(${motif.centerX} ${motif.centerY}) rotate(${motif.rotationDeg}) scale(${motif.scale})" opacity="${motifOpacity}">
530
- <g transform="translate(-12 -12)">${iconSvg(lead.icon, inverse, 24)}</g>
531
- </g>` : backgroundArtSvg}
532
- <rect x="0" y="${height - badgeAreaHeight * 1.6}" width="${width}" height="${badgeAreaHeight * 1.6}" fill="url(#gds-thumb-scrim)" />
533
- ${leadBadgeSvg}
534
- ${secondaryBadgesSvg}
535
- </svg>`;
536
- }
537
- var HERO_ASPECT_RATIO_VIEWBOX = {
538
- "21:9": { width: 630, height: 270 },
539
- "16:9": { width: 640, height: 360 },
540
- "3:1": { width: 600, height: 200 }
541
- };
542
- var BADGE_SLOTS = {
543
- large: [{ x: 0.85, y: 0.32 }],
544
- medium: [
545
- { x: 0.14, y: 0.72 },
546
- { x: 0.52, y: 0.82 }
547
- ],
548
- small: [
549
- { x: 0.34, y: 0.18 },
550
- { x: 0.7, y: 0.6 },
551
- { x: 0.94, y: 0.84 }
552
- ]
553
- };
554
- var SLOT_SIZE_FACTOR = { large: 0.32, medium: 0.2, small: 0.13 };
555
- var SLOT_OPACITY = { large: 1, medium: 0.85, small: 0.6 };
556
- function seededShuffle(items, next) {
557
- const result = [...items];
558
- for (let i = result.length - 1; i > 0; i -= 1) {
559
- const j = Math.floor(next() * (i + 1));
560
- [result[i], result[j]] = [result[j], result[i]];
561
- }
562
- return result;
563
- }
564
- function placeHeroBadges(badges, seed) {
565
- const next = gdsSeededRandom(`${seed}:badges`);
566
- const capped = badges.slice(0, 6);
567
- const bySize = {
568
- large: capped.slice(0, 1),
569
- medium: capped.slice(1, 3),
570
- small: capped.slice(3, 6)
571
- };
572
- const placed = [];
573
- Object.keys(BADGE_SLOTS).forEach((size) => {
574
- const slots = seededShuffle(BADGE_SLOTS[size], next);
575
- bySize[size].forEach((badge, index) => {
576
- const slot = slots[index];
577
- placed.push({ badge, size, x: slot.x, y: slot.y, jitterDeg: (next() - 0.5) * 10 });
578
- });
579
- });
580
- return placed;
581
- }
582
- function computeMosaicTilesSvg(seed, width, height, primary, accent) {
583
- const next = gdsSeededRandom(`${seed}:mosaic`);
584
- const columns = 9;
585
- const rows = 4;
586
- const cellWidth = width / columns;
587
- const cellHeight = height / rows;
588
- const tiles = [];
589
- for (let row = 0; row < rows; row += 1) {
590
- for (let col = 0; col < columns; col += 1) {
591
- if (next() < 0.32) {
592
- continue;
593
- }
594
- const inset = 0.08 + next() * 0.1;
595
- const x = col * cellWidth + cellWidth * inset;
596
- const y = row * cellHeight + cellHeight * inset;
597
- const w = cellWidth * (1 - inset * 2);
598
- const h = cellHeight * (1 - inset * 2);
599
- const opacity = 0.05 + next() * 0.11;
600
- const fill = next() < 0.5 ? primary : accent;
601
- tiles.push(`<rect x="${x}" y="${y}" width="${w}" height="${h}" rx="${Math.min(w, h) * 0.12}" fill="${fill}" opacity="${opacity}" />`);
602
- }
603
- }
604
- return tiles.join("");
605
- }
606
- function computeIconFieldSvg(seed, badges, width, height) {
607
- if (badges.length === 0) {
608
- return "";
609
- }
610
- const placementRandom = gdsSeededRandom(`${seed}:icon-field`);
611
- const pickRandom = gdsSeededRandom(`${seed}:icon-field-pick`);
612
- const count = Math.min(badges.length, 8);
613
- const groups = [];
614
- for (let i = 0; i < count; i += 1) {
615
- const x = width * (0.08 + placementRandom() * 0.84);
616
- const y = height * (0.1 + placementRandom() * 0.8);
617
- const size = height * (0.22 + placementRandom() * 0.16);
618
- const rotationDeg = (placementRandom() - 0.5) * 40;
619
- const badge = badges[Math.floor(pickRandom() * badges.length)];
620
- groups.push(
621
- `<g transform="translate(${x} ${y}) rotate(${rotationDeg}) scale(${size / 24})" opacity="0.1"><g transform="translate(-12 -12)">${iconSvg(badge.icon, "#ffffff", 24)}</g></g>`
622
- );
623
- }
624
- return groups.join("");
625
- }
626
- function buildGdsHeroSvg(options) {
627
- const { seed, paletteSource, category, shade, colors, themePresetId, colorScheme, background = "wash", badges = [], aspectRatio = "21:9", label } = options;
628
- const palette = resolveGdsGeneratedPaletteHex({ paletteSource, category, shade, colors, themePresetId, colorScheme });
629
- const { width, height } = HERO_ASPECT_RATIO_VIEWBOX[aspectRatio];
630
- const gradientDark = mixHexTowardBlack(palette.primary, 30);
631
- const accentDark = mixHexTowardBlack(palette.accent, 30);
632
- let backgroundSvg = "";
633
- if (background === "mosaic-abstract") {
634
- backgroundSvg = computeMosaicTilesSvg(seed, width, height, palette.primary, palette.accent);
635
- } else if (background === "icon-field") {
636
- backgroundSvg = computeIconFieldSvg(seed, badges, width, height);
637
- } else if (typeof background === "object" && background.type === "region-mosaic") {
638
- backgroundSvg = background.regions.map((region) => {
639
- const weight = region.weight ?? 1;
640
- const opacity = Math.min(0.85, 0.06 + weight * 0.05);
641
- return `<rect x="${region.x0 * width}" y="${region.y0 * height}" width="${(region.x1 - region.x0) * width}" height="${(region.y1 - region.y0) * height}" fill="${palette.accent}" opacity="${opacity}" />`;
642
- }).join("");
643
- }
644
- const placedBadges = placeHeroBadges(badges, seed);
645
- const badgesSvg = placedBadges.map(({ badge, size, x, y, jitterDeg }) => {
646
- const boxSize = height * SLOT_SIZE_FACTOR[size];
647
- const cx = x * width;
648
- const cy = y * height;
649
- return `
650
- <g transform="translate(${cx} ${cy}) rotate(${jitterDeg})" opacity="${SLOT_OPACITY[size]}">
651
- <circle r="${boxSize / 2}" fill="${accentDark}" stroke="${gradientDark}" stroke-width="2" />
652
- <g transform="translate(${-boxSize * 0.275} ${-boxSize * 0.275})">${iconSvg(badge.icon, "#ffffff", boxSize * 0.55)}</g>
653
- </g>`;
654
- }).join("");
655
- return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${width} ${height}" width="${width}" height="${height}">
656
- <title>${escapeXmlText(label)}</title>
657
- <defs>
658
- <linearGradient id="gds-hero-bg" x1="0" y1="0" x2="1" y2="1">
659
- <stop offset="0%" stop-color="${palette.primary}" />
660
- <stop offset="100%" stop-color="${gradientDark}" />
661
- </linearGradient>
662
- </defs>
663
- <rect width="${width}" height="${height}" fill="url(#gds-hero-bg)" />
664
- ${backgroundSvg}
665
- ${badgesSvg}
666
- </svg>`;
667
- }
668
-
669
- // src/generated-brand-badge.ts
670
- import { cloneElement as cloneElement2, createElement as createElement2, isValidElement as isValidElement2 } from "react";
671
- import { renderToStaticMarkup as renderToStaticMarkup2 } from "react-dom/server";
672
- import { computeGdsThemeIdentity, getGdsContrastRatio } from "@sovereignsquad/gds-theme";
673
- var CANVAS = 48;
674
- var DEFAULT_CORNER_RADIUS_RATIO = 0.25;
675
- var MASKABLE_SAFE_ZONE_RATIO = 0.8;
676
- var MOTIF_SIZE_RATIO = 0.55;
677
- var MOTIF_COLOR = "#ffffff";
678
- var isIconKey2 = (icon) => typeof icon === "string";
679
- function escapeXmlText2(value) {
680
- return value.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
681
- }
682
- function parseColorChannels(value) {
683
- const trimmed = value.trim();
684
- const hex = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(trimmed);
685
- if (hex) {
686
- let digits = hex[1];
687
- if (digits.length === 3) digits = digits.split("").map((c) => c + c).join("");
688
- const parsed = parseInt(digits, 16);
689
- return { r: parsed >> 16 & 255, g: parsed >> 8 & 255, b: parsed & 255 };
690
- }
691
- const rgb = /^rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)\s*(?:[,/]\s*[\d.]+)?\s*\)$/i.exec(trimmed);
692
- if (rgb) {
693
- return { r: Math.round(+rgb[1]), g: Math.round(+rgb[2]), b: Math.round(+rgb[3]) };
694
- }
695
- return null;
696
- }
697
- function toHex({ r, g, b }) {
698
- const clamp = (c) => Math.max(0, Math.min(255, Math.round(c)));
699
- return `#${[clamp(r), clamp(g), clamp(b)].map((c) => c.toString(16).padStart(2, "0")).join("")}`;
700
- }
701
- function mixHexTowardBlack2(color, keepPercent) {
702
- const channels = parseColorChannels(color);
703
- if (!channels) {
704
- return color;
705
- }
706
- const mix = (channel) => channel * keepPercent / 100;
707
- return toHex({ r: mix(channels.r), g: mix(channels.g), b: mix(channels.b) });
708
- }
709
- function mixHexChannelwise(a, b, t) {
710
- const colorA = parseColorChannels(a);
711
- const colorB = parseColorChannels(b);
712
- if (!colorA || !colorB) {
713
- return a;
714
- }
715
- const mix = (from, to) => from + (to - from) * t;
716
- return toHex({ r: mix(colorA.r, colorB.r), g: mix(colorA.g, colorB.g), b: mix(colorA.b, colorB.b) });
717
- }
718
- function roundNum(value) {
719
- return Math.round(value * 1e4) / 1e4;
720
- }
721
- function sanitizeForId(value) {
722
- return value.replace(/[^a-zA-Z0-9-]/g, "-");
723
- }
724
- function iconToStaticSvg(icon, color, size) {
725
- const element = isIconKey2(icon) ? createElement2(GdsIcon, { icon, size: "100%", tone: "default" }) : isValidElement2(icon) ? cloneElement2(icon, { stroke: 1.75 }) : icon;
726
- const rendered = renderToStaticMarkup2(createElement2("g", { style: { color } }, element));
727
- return `<svg width="${size}" height="${size}" viewBox="0 0 24 24">${rendered}</svg>`;
728
- }
729
- function resolveMotifBackingKeepPercent(primary, accent) {
730
- for (let keepPercent = 100; keepPercent >= 0; keepPercent -= 5) {
731
- const midpoint = mixHexChannelwise(
732
- mixHexTowardBlack2(primary, keepPercent),
733
- mixHexTowardBlack2(accent, keepPercent),
734
- 0.5
735
- );
736
- let ratio;
737
- try {
738
- ratio = getGdsContrastRatio(MOTIF_COLOR, midpoint);
739
- } catch {
740
- return 100;
741
- }
742
- if (ratio >= 3) {
743
- return keepPercent;
744
- }
745
- }
746
- return 0;
747
- }
748
- function buildGdsBrandBadgeSvg(options) {
749
- const { themePresetId, colorScheme, colors, icon, seed: explicitSeed, cornerRadiusRatio, maskable = false, size = CANVAS, label } = options;
750
- if (!label || !label.trim()) {
751
- throw new Error(
752
- "buildGdsBrandBadgeSvg: `label` is required and must not be empty \u2014 a standalone image file has no adjacent DOM to fall back on for an accessible name."
753
- );
754
- }
755
- if (maskable && cornerRadiusRatio !== void 0) {
756
- throw new Error(
757
- "buildGdsBrandBadgeSvg: `maskable` and `cornerRadiusRatio` are mutually exclusive \u2014 a maskable badge is always a full-bleed square with no corner rounding of its own (the host platform applies its own mask shape)."
758
- );
759
- }
760
- const resolvedCornerRadiusRatio = cornerRadiusRatio ?? DEFAULT_CORNER_RADIUS_RATIO;
761
- if (!Number.isFinite(resolvedCornerRadiusRatio) || resolvedCornerRadiusRatio < 0 || resolvedCornerRadiusRatio > 0.5) {
762
- throw new Error(`buildGdsBrandBadgeSvg: \`cornerRadiusRatio\` must be between 0 and 0.5 (received ${resolvedCornerRadiusRatio}).`);
763
- }
764
- if (!Number.isFinite(size) || size <= 0) {
765
- throw new Error(`buildGdsBrandBadgeSvg: \`size\` must be a positive, finite number (received ${size}).`);
766
- }
767
- const scheme = colorScheme ?? "light";
768
- const palette = resolveGdsGeneratedPaletteHex({ colors, themePresetId, colorScheme: scheme });
769
- const identity = colors ? "override" : computeGdsThemeIdentity({ preset: themePresetId, colorScheme: scheme });
770
- const seed = explicitSeed ?? identity;
771
- const tiltDeg = Math.round((gdsSeededRandom(seed)() - 0.5) * 40);
772
- const keepPercent = resolveMotifBackingKeepPercent(palette.primary, palette.accent);
773
- const gradientStart = mixHexTowardBlack2(palette.primary, keepPercent);
774
- const gradientEnd = mixHexTowardBlack2(palette.accent, keepPercent);
775
- const idNamespace = sanitizeForId(colors ? `override-${palette.primary}-${palette.accent}` : `${themePresetId}-${scheme}`);
776
- const gradientId = `gds-badge-grad-${idNamespace}`;
777
- const clipId = `gds-badge-clip-${idNamespace}`;
778
- const motifIcon = icon ?? createElement2(GdsBadgeShapes.circle);
779
- const motifSize = roundNum(maskable ? CANVAS * MASKABLE_SAFE_ZONE_RATIO / Math.SQRT2 : CANVAS * MOTIF_SIZE_RATIO);
780
- const motifMarkup = iconToStaticSvg(motifIcon, MOTIF_COLOR, motifSize);
781
- const clipRectRx = roundNum(maskable ? 0 : resolvedCornerRadiusRatio * CANVAS);
782
- const motifOffset = roundNum(-motifSize / 2);
783
- return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${CANVAS} ${CANVAS}" width="${size}" height="${size}" data-gds-theme-identity="${escapeXmlText2(identity)}">
784
- <title>${escapeXmlText2(label)}</title>
785
- <defs>
786
- <linearGradient id="${gradientId}" x1="0%" y1="0%" x2="100%" y2="100%">
787
- <stop offset="0%" stop-color="${gradientStart}" />
788
- <stop offset="100%" stop-color="${gradientEnd}" />
789
- </linearGradient>
790
- <clipPath id="${clipId}">
791
- <rect width="${CANVAS}" height="${CANVAS}" rx="${clipRectRx}" />
792
- </clipPath>
793
- </defs>
794
- <rect width="${CANVAS}" height="${CANVAS}" rx="${clipRectRx}" fill="url(#${gradientId})" clip-path="url(#${clipId})" />
795
- <g transform="translate(${CANVAS / 2} ${CANVAS / 2}) rotate(${tiltDeg})">
796
- <g transform="translate(${motifOffset} ${motifOffset})">${motifMarkup}</g>
797
- </g>
798
- </svg>`;
799
- }
1
+ export * from "./icons.mjs";
2
+ export * from "./pictograms.mjs";
3
+ import { GDS_PICTOGRAM_GRID, GDS_PICTOGRAM_BASE_STROKE, GDS_PICTOGRAM_SCALE_PX, GDS_PICTOGRAM_STROKE_BY_SCALE, GDS_PICTOGRAM_TREATMENT_SCALE, GDS_PICTOGRAM_HERO_LAYERS, GDS_PICTOGRAM_DISABLED_OPACITY, gdsPictogramUsageRules, createGdsPictogramFamily, gdsActivityPictograms, getGdsActivityPictogramKeys, isGdsActivityPictogramKey, resolveGdsActivityPictogramLabel } from "./pictograms.shared.mjs";
4
+ export * from "./badge-shapes.mjs";
5
+ export * from "./GdsBadgeStack.mjs";
6
+ export * from "./GdsBadge.mjs";
7
+ import { gdsBadgeAccentColors, gdsBadgeAccentShades } from "./GdsBadge.shared.mjs";
8
+ export * from "./GdsCountBadge.mjs";
9
+ export * from "./GdsMapPinBadge.mjs";
10
+ import { GDS_PIN_EMPHASIS_STROKE, GDS_PIN_SELECTED_SCALE, GDS_PIN_APPROXIMATE_DASH, GDS_PIN_HEAD_CENTER_OFFSET, GDS_PIN_ICON_SCALE, GDS_PIN_EMOJI_SCALE } from "./GdsMapPinBadge.shared.mjs";
11
+ export * from "./GdsRemovableTag.mjs";
12
+ export * from "./GdsLogoLockup.mjs";
13
+ export * from "./vocabulary.mjs";
14
+ export * from "./ChoiceChip.mjs";
15
+ export * from "./GdsCompareButton.mjs";
16
+ export * from "./StatusBadge.mjs";
17
+ export * from "./GdsPrimitives.mjs";
18
+ export * from "./Typography.mjs";
19
+ export * from "./StyleUtilities.mjs";
20
+ export * from "./LayoutPrimitives.mjs";
21
+ export * from "./SafeStyles.mjs";
22
+ export * from "./EmptyState.mjs";
23
+ export * from "./MetricCard.mjs";
24
+ export * from "./ProgressCard.mjs";
25
+ export * from "./GdsMeter.mjs";
26
+ export * from "./GdsRatingDisplay.mjs";
27
+ export * from "./ReferenceLocaleNotice.mjs";
28
+ export * from "./ReferenceLinkGrid.mjs";
29
+ export * from "./ReferenceSection.mjs";
30
+ export * from "./ConsumerSection.mjs";
31
+ export * from "./ConsumerDashboardGrid.mjs";
32
+ export * from "./ProductCard.mjs";
33
+ export * from "./EditorialCard.mjs";
34
+ export * from "./PublicProductCard.mjs";
35
+ export * from "./PublicFoodCard.mjs";
36
+ export * from "./FoodMenuSection.mjs";
37
+ export * from "./ListingCard.mjs";
38
+ import { MAX_LISTING_CARD_ACTIONS, GDS_LISTING_TILE_SIZE_PX, GDS_LISTING_PICK_BADGE_INSET_PX, GDS_LISTING_PICK_BADGE_ICON_PX, GDS_LISTING_PICK_BADGE_FONT_SIZE_PX, GDS_LISTING_PICK_BADGE_LINE_HEIGHT_PX, GDS_LISTING_PICK_BADGE_PADDING_BLOCK_PX, GDS_LISTING_PICK_BADGE_PADDING_INLINE_PX } from "./ListingCard.shared.mjs";
39
+ export * from "./CardContracts.mjs";
40
+ export * from "./BrowseSurface.mjs";
41
+ export * from "./BoundedPreviewSurface.mjs";
42
+ export * from "./OwnedContrastSurface.mjs";
43
+ export * from "./AccentPanel.mjs";
44
+ export * from "./SectionPanel.mjs";
45
+ export * from "./DetailProfileShell.mjs";
46
+ export * from "./DetailFactsTable.mjs";
47
+ import { GDS_DETAIL_FACT_IDS, GDS_DETAIL_FACTS_LABEL_COLUMN_PX } from "./DetailFactsTable.shared.mjs";
48
+ export * from "./StateBlock.mjs";
49
+ export * from "./AsyncSurface.mjs";
50
+ export * from "./DataToolbar.mjs";
51
+ export * from "./ListingPrimitives.mjs";
52
+ export * from "./PublicShell.mjs";
53
+ export * from "./PublicNav.mjs";
54
+ export * from "./BottomTabBar.mjs";
55
+ import { BOTTOM_TAB_MAX_ITEMS, BOTTOM_TAB_HEIGHT } from "./BottomTabBar.shared.mjs";
56
+ export * from "./PublicSiteFooter.mjs";
57
+ export * from "./PublicBrandFooter.mjs";
58
+ export * from "./AuthShell.mjs";
59
+ export * from "./SocialAuthButtons.mjs";
60
+ export * from "./ProviderIdentityButtons.mjs";
61
+ export * from "./ArticleShell.mjs";
62
+ export * from "./CtaButtonGroup.mjs";
63
+ export * from "./DocsPageShell.mjs";
64
+ export * from "./GdsBreadcrumbs.mjs";
65
+ export * from "./EditorialHero.mjs";
66
+ export * from "./FeatureBand.mjs";
67
+ export * from "./MapPanel.mjs";
68
+ export * from "./PublicFlowShell.mjs";
69
+ export * from "./PlaybackSurface.mjs";
70
+ export * from "./MediaField.mjs";
71
+ export * from "./MediaCard.mjs";
72
+ export * from "./MediaPreviewCard.mjs";
73
+ export * from "./AccessSummary.mjs";
74
+ export * from "./GdsAccessGateRuntime.mjs";
75
+ export * from "./AccessibilityEvidence.mjs";
76
+ export * from "./FormField.mjs";
77
+ export * from "./GdsFormControls.mjs";
78
+ export * from "./PageHeader.mjs";
79
+ export * from "./FilterDrawer.mjs";
80
+ export * from "./PlaceholderPanel.mjs";
81
+ export * from "./SimpleDataTable.mjs";
82
+ export * from "./StatsSection.mjs";
83
+ export * from "./PeriodSelector.mjs";
84
+ export * from "./EvidencePanel.mjs";
85
+ export * from "./ChartTokenPanel.mjs";
86
+ export * from "./GdsChart.mjs";
87
+ import { gdsChartTypeRegistry, gdsDefaultChartLegend, gdsChartSetATypeRegistry, gdsChartSetBTypeRegistry, gdsChartSetCTypeRegistry, isGdsChartSetAType, isGdsChartSetBType, isGdsChartSetCType, validateGdsChartData } from "./GdsChart.shared.mjs";
88
+ export * from "./SemanticCharts.mjs";
89
+ import { gdsSeriesPalette, getGdsSeriesColor, getGdsChartSeriesColor, resolveGdsChartTokenColor, GDS_CHART_SERIES_SLOTS, GDS_CHART_SERIES_COLORS } from "./chart-colors.mjs";
90
+ export * from "./LayoutBlocks.mjs";
91
+ export * from "./ReportingSection.mjs";
92
+ export * from "./Notifications.mjs";
93
+ import { createGdsNotificationId, getGdsNotificationLivePolicy, createGdsNotificationAuditEvent } from "./Notifications.shared.mjs";
94
+ export * from "./GdsNotificationBell.mjs";
95
+ export * from "./SurfacePresentation.mjs";
96
+ export * from "./CreatorTheme.mjs";
97
+ export * from "./MaturityCapabilities.mjs";
98
+ export * from "./TaskPatterns.mjs";
99
+ export * from "./GdsPageTemplates.mjs";
100
+ import { getGdsPageTemplates, getGdsPageTemplate, validateGdsPageTemplates, createGdsPageTemplateEvent } from "./GdsPageTemplates.shared.mjs";
101
+ export * from "./GdsI18nRuntime.mjs";
102
+ import { resolveGdsLocale, formatGdsNumber, formatGdsCurrency, formatGdsDate, formatGdsRelativeTime, formatGdsPlural, compareGdsLocaleString, sortGdsLocaleStrings, createGdsMissingKeyTracker, resolveGdsMessage, createGdsTextExpansionFixture } from "./GdsI18nRuntime.shared.mjs";
103
+ export * from "./GdsContentDesign.mjs";
104
+ export * from "./GdsDesignHandoff.mjs";
105
+ export * from "./PartnerDiscovery.mjs";
106
+ import { partnerDiscoveryDefaultAmenities, partnerDiscoveryFamilyAmenities, partnerDiscoveryDefaultFilterState, redactPartnerDiscoveryEventMetadata, emitPartnerDiscoveryEvent, togglePartnerAmenity, togglePartnerPrice, resetPartnerDiscoveryFilters, filterPartnerPlaces } from "./PartnerDiscovery.shared.mjs";
107
+ export * from "./locales/index.mjs";
108
+ export * from "./FitScoreChip.mjs";
109
+ export * from "./MeaningBadge.mjs";
110
+ export * from "./TrustLayer.mjs";
111
+ import { TRUST_BADGE_DEFINITIONS } from "./TrustLayer.shared.mjs";
112
+ export * from "./MediaWithFallback.mjs";
113
+ export * from "./NumberStepper.mjs";
114
+ export * from "./SearchableSelect.mjs";
115
+ export * from "./ChatSurface.mjs";
116
+ export * from "./AISearchCard.mjs";
117
+ export * from "./QuickStartCard.mjs";
118
+ export * from "./generated-art-svg.mjs";
119
+ export * from "./generated-brand-badge.mjs";
800
120
  export {
801
- AISearchCard,
802
- AccentPanel,
803
- AccessSummary,
804
- Accordion,
805
- ActionIcon,
806
- ActiveFilterChips,
807
- AmenityChipGrid,
808
- Anchor,
809
- ArticleShell,
810
- AsyncSurface,
811
- AuthShell,
812
121
  BOTTOM_TAB_HEIGHT,
813
122
  BOTTOM_TAB_MAX_ITEMS,
814
- Badge,
815
- BannerNotice,
816
- BodyText,
817
- BottomTabBar,
818
- BoundedPreviewSurface,
819
- Box,
820
- BrowseSurface,
821
- BulkActionsBar,
822
- Button,
823
- CardTitle,
824
- Center,
825
- ChartTokenPanel,
826
- ChatInput,
827
- ChatMessage,
828
- ChatThread,
829
- Checkbox,
830
- ChoiceChip,
831
- ClippedFlexChild,
832
- ConsumerDashboardGrid,
833
- ConsumerSection,
834
- Container,
835
- CountBadge,
836
- CreatorThemeBoundary,
837
- CreatorThemeDiagnostics,
838
- CtaButtonGroup,
839
- DataToolbar,
840
- DetailFactsTable,
841
- DetailProfileShell,
842
- DocsPageShell,
843
- EditorialCard,
844
- EditorialHero,
845
- EmptyState,
846
- EvidencePanel,
847
- FeatureBand,
848
- FilterChipGroup,
849
- FilterDrawer,
850
- FitScoreChip,
851
- FloatingActionPlacement,
852
- FoodMenuSection,
853
- FormField,
854
123
  GDS_CHART_SERIES_COLORS,
855
124
  GDS_CHART_SERIES_SLOTS,
856
125
  GDS_DETAIL_FACTS_LABEL_COLUMN_PX,
@@ -875,325 +144,54 @@ export {
875
144
  GDS_PIN_HEAD_CENTER_OFFSET,
876
145
  GDS_PIN_ICON_SCALE,
877
146
  GDS_PIN_SELECTED_SCALE,
878
- GDS_PIN_SILHOUETTE_PATH,
879
- GDS_QUICK_START_ICON_BOX_PX,
880
- GdsAdminDashboardTemplate,
881
- GdsAnalyticsTemplate,
882
- GdsAreaChart,
883
- GdsBadge,
884
- GdsBadgeShapeCircle,
885
- GdsBadgeShapeHexagon,
886
- GdsBadgeShapePin,
887
- GdsBadgeShapeRosette,
888
- GdsBadgeShapeShield,
889
- GdsBadgeShapeSquircle,
890
- GdsBadgeShapes,
891
- GdsBadgeStack,
892
- GdsBadgeStackLayer,
893
- GdsBarChart,
894
- GdsBenchmarkBarChart,
895
- GdsBleed,
896
- GdsBox,
897
- GdsBreadcrumbs,
898
- GdsCalendarHeatmapChart,
899
- GdsChart,
900
- GdsChartAxis,
901
- GdsChartLegend,
902
- GdsChartTooltip,
903
- GdsCluster,
904
- GdsColumnGrid,
905
- GdsColumnGridItem,
906
- GdsCompareButton,
907
- GdsContainer,
908
- GdsContentPatternCatalog,
909
- GdsCountBadge,
910
- GdsCrudEditorTemplate,
911
- GdsDesignHandoffCatalog,
912
- GdsDirectionBoundary,
913
- GdsDivergingBarChart,
914
- GdsEmptyStateTemplate,
915
- GdsErrorPageTemplate,
916
- GdsFormattedCurrency,
917
- GdsFormattedDate,
918
- GdsFormattedNumber,
919
- GdsGaugeChart,
920
- GdsGrid,
921
- GdsHistogramChart,
922
- GdsIcon,
923
- GdsIcons,
924
- GdsInline,
925
- GdsLineChart,
926
- GdsLocaleText,
927
- GdsLogoLockup,
928
- GdsLongitudinalChart,
929
- GdsMapPinBadge,
930
- GdsMaturityRadarChart,
931
- GdsMediaFrame,
932
- GdsMeter,
933
- GdsNotificationBell,
934
- GdsOverflowFrame,
935
- GdsPageTemplateCatalog,
936
- GdsPictogram,
937
- GdsPlural,
938
- GdsPublicEventTemplate,
939
- GdsRadarChart,
940
- GdsRatingDisplay,
941
- GdsRatingScale,
942
- GdsRelativeTime,
943
- GdsRemovableTag,
944
- GdsResourceManagerTemplate,
945
- GdsResponsiveChartFrame,
946
- GdsResponsiveVisibility,
947
- GdsSafeBox,
948
- GdsSegmentedControl,
949
- GdsSettingsTemplate,
950
- GdsSidebar,
951
- GdsSlider,
952
- GdsSlopeChart,
953
- GdsSparkline,
954
- GdsSplit,
955
- GdsStack,
956
- GdsStackedBarChart,
957
- GdsSymmetryChart,
958
- GdsVocabulary,
959
- GdsWizardStepper,
960
- Group,
961
- InlineAlert,
962
- InlineEmphasis,
963
- InlineText,
964
- LabelTag,
965
- LabelText,
966
- LastCheckedLabel,
967
- LayeredSurfaceSlot,
968
- ListItemSection,
969
- ListingCard,
970
- Loader,
971
147
  MAX_LISTING_CARD_ACTIONS,
972
- MapPanel,
973
- MeaningBadge,
974
- MediaCard,
975
- MediaField,
976
- MediaPreviewCard,
977
- MediaWithFallback,
978
- MetadataText,
979
- MetricCard,
980
- MissingDataPrompt,
981
- Modal,
982
- MonospaceInputFrame,
983
- MultiSelect,
984
- NotificationCenterView,
985
- NumberInput,
986
- NumberStepper,
987
- NumericCell,
988
- OverflowContainer,
989
- PROVIDER_IDENTITY_REGISTRY,
990
- PageHeader,
991
- PageTitle,
992
- PartnerAboutPageSections,
993
- PartnerAmenityBadgeGrid,
994
- PartnerContactBlock,
995
- PartnerDiscoveryFilters,
996
- PartnerDiscoveryFooter,
997
- PartnerDiscoveryHeader,
998
- PartnerDiscoveryShell,
999
- PartnerFaqList,
1000
- PartnerListIndex,
1001
- PartnerMapControls,
1002
- PartnerMapListShell,
1003
- PartnerMapPin,
1004
- PartnerNewsletterCapture,
1005
- PartnerNewsletterForm,
1006
- PartnerParentTipPanel,
1007
- PartnerPlaceDetailTemplate,
1008
- PartnerPlaceResultCard,
1009
- PartnerSubmissionEntry,
1010
- PasswordInput,
1011
- PeriodSelector,
1012
- PillBar,
1013
- PlaceholderPanel,
1014
- PlaybackSurface,
1015
- PriceEstimateLabel,
1016
- ProductCard,
1017
- Progress,
1018
- ProgressCard,
1019
- ProviderIdentityButton,
1020
- ProviderIdentityButtonGroup,
1021
- PublicBrandFooter,
1022
- PublicFlowShell,
1023
- PublicFoodCard,
1024
- PublicNav,
1025
- PublicProductCard,
1026
- PublicShell,
1027
- PublicSiteFooter,
1028
- QuickStartCard,
1029
- Radio,
1030
- ReferenceLinkGrid,
1031
- ReferenceLocaleNotice,
1032
- ReferenceSection,
1033
- ReportingSection,
1034
- ResultSummary,
1035
- ScrollArea,
1036
- SearchableSelect,
1037
- SectionPanel,
1038
- SectionTitle,
1039
- Select,
1040
- SemanticChartFrame,
1041
- SemanticInset,
1042
- SimpleDataTable,
1043
- SimpleGrid,
1044
- Slider,
1045
- SocialAuthButtons,
1046
- SoftChipGroup,
1047
- SortMenu,
1048
- Stack,
1049
- StateBlock,
1050
- StatsSection,
1051
- StatusBadge,
1052
- StreamingIndicator,
1053
- Switch,
1054
148
  TRUST_BADGE_DEFINITIONS,
1055
- Table,
1056
- Tabs,
1057
- TextInput,
1058
- Textarea,
1059
- ThemeIcon,
1060
- Tooltip,
1061
- TrustBadge,
1062
- VisuallyHidden,
1063
- ar,
1064
- buildGdsBrandBadgeSvg,
1065
- buildGdsHeroSvg,
1066
- buildGdsThumbnailSvg,
1067
149
  compareGdsLocaleString,
1068
- createGdsAccessAdapter,
1069
- createGdsAccessGateEvent,
1070
- createGdsAccessibilityEvidenceIndex,
1071
- createGdsContentExpansionReport,
1072
150
  createGdsMissingKeyTracker,
1073
151
  createGdsNotificationAuditEvent,
1074
152
  createGdsNotificationId,
1075
- createGdsOwnedContrastTokens,
1076
153
  createGdsPageTemplateEvent,
1077
154
  createGdsPictogramFamily,
1078
- createGdsStyleContract,
1079
155
  createGdsTextExpansionFixture,
1080
- createGdsVocabularyPack,
1081
- de,
1082
156
  emitPartnerDiscoveryEvent,
1083
- en,
1084
- es,
1085
157
  filterPartnerPlaces,
1086
158
  formatGdsCurrency,
1087
159
  formatGdsDate,
1088
160
  formatGdsNumber,
1089
161
  formatGdsPlural,
1090
162
  formatGdsRelativeTime,
1091
- fr,
1092
163
  gdsActivityPictograms,
1093
164
  gdsBadgeAccentColors,
1094
165
  gdsBadgeAccentShades,
1095
- gdsCardDensityPaddingMap,
1096
- gdsCardGapMap,
1097
- gdsCardMediaRatioMap,
1098
- gdsCardSizePaddingMap,
1099
- gdsCardTitleOrderMap,
1100
166
  gdsChartSetATypeRegistry,
1101
167
  gdsChartSetBTypeRegistry,
1102
168
  gdsChartSetCTypeRegistry,
1103
169
  gdsChartTypeRegistry,
1104
170
  gdsDefaultChartLegend,
1105
- gdsIconRegistry,
1106
- gdsIconToneColor,
1107
- gdsLocales,
1108
171
  gdsPictogramUsageRules,
1109
172
  gdsSeriesPalette,
1110
- gdsStyle,
1111
- generateGdsDesignHandoffReport,
1112
- getGdsAccessGateActionPriority,
1113
- getGdsAccessGateReasons,
1114
- getGdsAccessGateStates,
1115
- getGdsAccessibilityEvidence,
1116
- getGdsAccessibilityEvidenceSummary,
1117
173
  getGdsActivityPictogramKeys,
1118
- getGdsBlockTypes,
1119
174
  getGdsChartSeriesColor,
1120
- getGdsContentPattern,
1121
- getGdsContentPatterns,
1122
- getGdsCopyTemplate,
1123
- getGdsCopyTemplates,
1124
- getGdsDesignComponentMappings,
1125
- getGdsDesignTokenMappings,
1126
- getGdsIconKeys,
1127
- getGdsIconMetadata,
1128
- getGdsIconToneColor,
1129
- getGdsLayoutTemplate,
1130
- getGdsLayoutTemplates,
1131
- getGdsMaturityCapabilities,
1132
- getGdsMaturityCapability,
1133
- getGdsMaturitySummary,
1134
- getGdsMessages,
1135
175
  getGdsNotificationLivePolicy,
1136
- getGdsOwnedContrastProps,
1137
176
  getGdsPageTemplate,
1138
177
  getGdsPageTemplates,
1139
- getGdsRecommendedMaturityCapabilities,
1140
178
  getGdsSeriesColor,
1141
- getGdsTaskPattern,
1142
- getGdsTaskPatterns,
1143
- getProviderIdentityLabel,
1144
- getProviderIdentityPolicy,
1145
- getSemanticActionConfig,
1146
- getSemanticActionLabel,
1147
- getSupportedProviderIdentityIds,
1148
- he,
1149
- hu,
1150
179
  isGdsActivityPictogramKey,
1151
180
  isGdsChartSetAType,
1152
181
  isGdsChartSetBType,
1153
182
  isGdsChartSetCType,
1154
- isGdsIconKey,
1155
- isPresentationMode,
1156
- it,
1157
- ja,
1158
- ko,
1159
- mergeGdsVocabularyPacks,
1160
- normalizeGdsResponsiveValue,
1161
183
  partnerDiscoveryDefaultAmenities,
1162
184
  partnerDiscoveryDefaultFilterState,
1163
185
  partnerDiscoveryFamilyAmenities,
1164
- redactGdsAccessGateMetadata,
1165
186
  redactPartnerDiscoveryEventMetadata,
1166
- registerGdsBlock,
1167
- renderGdsCopyTemplate,
1168
- renderGdsLayout,
1169
- renderGdsLayoutWithDiagnostics,
1170
187
  resetPartnerDiscoveryFilters,
1171
- resolveAccentPanelStyles,
1172
- resolveGdsAccessAdapterState,
1173
- resolveGdsAccessState,
1174
188
  resolveGdsActivityPictogramLabel,
1175
- resolveGdsCardContract,
1176
189
  resolveGdsChartTokenColor,
1177
- resolveGdsLayoutStyle,
1178
190
  resolveGdsLocale,
1179
191
  resolveGdsMessage,
1180
- resolveSemanticActionConfig,
1181
- resolveSurfacePresentationStyles,
1182
- ru,
1183
- sortGdsAccessGateActions,
1184
192
  sortGdsLocaleStrings,
1185
193
  togglePartnerAmenity,
1186
194
  togglePartnerPrice,
1187
- useGdsDirection,
1188
- validateCreatorCss,
1189
- validateGdsAccessGateContract,
1190
- validateGdsAccessibilityEvidence,
1191
195
  validateGdsChartData,
1192
- validateGdsContentPatterns,
1193
- validateGdsCopyTemplate,
1194
- validateGdsDesignHandoffMappings,
1195
- validateGdsLayout,
1196
- validateGdsPageTemplates,
1197
- validateGdsTaskPatterns,
1198
- zh
196
+ validateGdsPageTemplates
1199
197
  };