@sovereignsquad/gds-core 6.8.0 → 6.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.md +33 -0
  2. package/dist/{QuickStartCard-CB7r-85z.d.ts → QuickStartCard-Bgjdfs_t.d.ts} +3340 -42
  3. package/dist/{QuickStartCard-xIP1gbCL.d.mts → QuickStartCard-DnZMDjzb.d.mts} +3340 -42
  4. package/dist/{chunk-TJ3WMH25.mjs → chunk-3B5MK2PG.mjs} +1317 -705
  5. package/dist/{chunk-BH2SMTND.mjs → chunk-5G3XZWSW.mjs} +1590 -1318
  6. package/dist/{chunk-GKNSUUUE.mjs → chunk-5GH7XD7X.mjs} +93 -1
  7. package/dist/{chunk-6PBDLFSF.mjs → chunk-6WDH57MJ.mjs} +93 -1
  8. package/dist/{chunk-2XZMNT7I.mjs → chunk-A32PWTD2.mjs} +93 -1
  9. package/dist/{chunk-GGDCO5HR.mjs → chunk-BD5XQH5Z.mjs} +93 -1
  10. package/dist/{chunk-4LG6EED4.mjs → chunk-DBJE4TRO.mjs} +93 -1
  11. package/dist/{chunk-H2QNW4D5.mjs → chunk-EQ7Y2PUI.mjs} +123 -49
  12. package/dist/{chunk-IHPZ7BNV.mjs → chunk-F76YTG3S.mjs} +93 -1
  13. package/dist/{chunk-NWS7KJ2G.mjs → chunk-HJVDKPVW.mjs} +1 -1
  14. package/dist/{chunk-GMK5GXWR.mjs → chunk-IMT3UTOT.mjs} +93 -1
  15. package/dist/{chunk-QO653DAE.mjs → chunk-KEYBUMOR.mjs} +93 -1
  16. package/dist/{chunk-BHR4A3C6.mjs → chunk-KLFTBWEG.mjs} +93 -1
  17. package/dist/{chunk-ZCQXBKDM.mjs → chunk-KNP35WAB.mjs} +5 -2
  18. package/dist/{chunk-CNTTKK3H.mjs → chunk-LERXSJHD.mjs} +93 -1
  19. package/dist/{chunk-JTMPFTCK.mjs → chunk-MKEWYVTJ.mjs} +93 -1
  20. package/dist/{chunk-VU2JLVD3.mjs → chunk-NTNVQZJU.mjs} +1 -1
  21. package/dist/{chunk-SHQDVHGR.mjs → chunk-OH5HH4G3.mjs} +93 -1
  22. package/dist/{chunk-MPZFCWWS.mjs → chunk-SPPTDVJC.mjs} +2 -1
  23. package/dist/{chunk-KFEPREUF.mjs → chunk-WI24JME4.mjs} +1 -1
  24. package/dist/client.d.mts +340 -47
  25. package/dist/client.d.ts +340 -47
  26. package/dist/client.js +12401 -10327
  27. package/dist/client.mjs +47 -19
  28. package/dist/{en-Dd7uvXnv.d.ts → en-D9CWSH3F.d.mts} +92 -0
  29. package/dist/{en-Dd7uvXnv.d.mts → en-D9CWSH3F.d.ts} +92 -0
  30. package/dist/index.d.mts +4 -4
  31. package/dist/index.d.ts +4 -4
  32. package/dist/index.js +9807 -7709
  33. package/dist/index.mjs +87 -29
  34. package/dist/locales/lazy/all.js +5149 -0
  35. package/dist/locales/lazy/all.mjs +50 -24
  36. package/dist/locales/lazy/ar.js +190 -3
  37. package/dist/locales/lazy/ar.mjs +10 -4
  38. package/dist/locales/lazy/de.js +190 -3
  39. package/dist/locales/lazy/de.mjs +10 -4
  40. package/dist/locales/lazy/es.js +190 -3
  41. package/dist/locales/lazy/es.mjs +10 -4
  42. package/dist/locales/lazy/fr.js +190 -3
  43. package/dist/locales/lazy/fr.mjs +10 -4
  44. package/dist/locales/lazy/he.js +190 -3
  45. package/dist/locales/lazy/he.mjs +10 -4
  46. package/dist/locales/lazy/hu.js +190 -3
  47. package/dist/locales/lazy/hu.mjs +10 -4
  48. package/dist/locales/lazy/index.d.mts +1 -1
  49. package/dist/locales/lazy/index.d.ts +1 -1
  50. package/dist/locales/lazy/index.js +97 -2
  51. package/dist/locales/lazy/index.mjs +2 -2
  52. package/dist/locales/lazy/it.js +190 -3
  53. package/dist/locales/lazy/it.mjs +10 -4
  54. package/dist/locales/lazy/ja.js +190 -3
  55. package/dist/locales/lazy/ja.mjs +10 -4
  56. package/dist/locales/lazy/ko.js +190 -3
  57. package/dist/locales/lazy/ko.mjs +10 -4
  58. package/dist/locales/lazy/ru.js +190 -3
  59. package/dist/locales/lazy/ru.mjs +10 -4
  60. package/dist/locales/lazy/zh.js +190 -3
  61. package/dist/locales/lazy/zh.mjs +10 -4
  62. package/dist/map.css +3 -9
  63. package/dist/map.js +2 -1
  64. package/dist/map.mjs +2 -2
  65. package/dist/reference-theme-explorer.js +1192 -26
  66. package/dist/reference-theme-explorer.mjs +15 -15
  67. package/dist/server.d.mts +2 -2
  68. package/dist/server.d.ts +2 -2
  69. package/dist/server.js +2610 -1156
  70. package/dist/server.mjs +27 -19
  71. package/package.json +10 -5
  72. package/dist/chunk-2AX4NCID.mjs +0 -9
  73. package/dist/chunk-2IUOZG4C.mjs +0 -9
  74. package/dist/chunk-3D7BVS7D.mjs +0 -9
  75. package/dist/chunk-6LULEPIE.mjs +0 -9
  76. package/dist/chunk-J6MXKFIM.mjs +0 -9
  77. package/dist/chunk-LNVLXOLI.mjs +0 -9
  78. package/dist/chunk-MAIU557K.mjs +0 -9
  79. package/dist/chunk-OC3M4CZY.mjs +0 -9
  80. package/dist/chunk-RCLWUNMR.mjs +0 -9
  81. package/dist/chunk-WNOWHB26.mjs +0 -9
  82. package/dist/chunk-XLPTCIXT.mjs +0 -9
package/dist/server.mjs CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  resetPartnerDiscoveryFilters,
27
27
  togglePartnerAmenity,
28
28
  togglePartnerPrice
29
- } from "./chunk-KFEPREUF.mjs";
29
+ } from "./chunk-WI24JME4.mjs";
30
30
  import {
31
31
  AISearchCard,
32
32
  AccentPanel,
@@ -250,7 +250,6 @@ import {
250
250
  formatGdsRelativeTime,
251
251
  gdsActivityPictograms,
252
252
  gdsPictogramUsageRules,
253
- gdsSeriesPalette,
254
253
  gdsStyle,
255
254
  generateGdsDesignHandoffReport,
256
255
  getGdsAccessGateActionPriority,
@@ -275,7 +274,6 @@ import {
275
274
  getGdsPageTemplate,
276
275
  getGdsPageTemplates,
277
276
  getGdsRecommendedMaturityCapabilities,
278
- getGdsSeriesColor,
279
277
  getGdsTaskPattern,
280
278
  getGdsTaskPatterns,
281
279
  getProviderIdentityLabel,
@@ -307,7 +305,7 @@ import {
307
305
  validateGdsLayout,
308
306
  validateGdsPageTemplates,
309
307
  validateGdsTaskPatterns
310
- } from "./chunk-BH2SMTND.mjs";
308
+ } from "./chunk-5G3XZWSW.mjs";
311
309
  import {
312
310
  GDS_PIN_APPROXIMATE_DASH,
313
311
  GDS_PIN_EMOJI_SCALE,
@@ -316,10 +314,12 @@ import {
316
314
  GDS_PIN_ICON_SCALE,
317
315
  GDS_PIN_SELECTED_SCALE,
318
316
  GdsMapPinBadge
319
- } from "./chunk-VU2JLVD3.mjs";
317
+ } from "./chunk-NTNVQZJU.mjs";
320
318
  import {
321
319
  ChartTokenPanel,
322
320
  FormField,
321
+ GDS_CHART_SERIES_COLORS,
322
+ GDS_CHART_SERIES_SLOTS,
323
323
  GDS_LISTING_PICK_BADGE_FONT_SIZE_PX,
324
324
  GDS_LISTING_PICK_BADGE_ICON_PX,
325
325
  GDS_LISTING_PICK_BADGE_INSET_PX,
@@ -351,8 +351,11 @@ import {
351
351
  gdsDefaultChartLegend,
352
352
  gdsLocales,
353
353
  gdsSeededRandom,
354
+ gdsSeriesPalette,
355
+ getGdsChartSeriesColor,
354
356
  getGdsMessages,
355
357
  getGdsOwnedContrastProps,
358
+ getGdsSeriesColor,
356
359
  getSemanticActionConfig,
357
360
  getSemanticActionLabel,
358
361
  isGdsChartSetAType,
@@ -360,10 +363,11 @@ import {
360
363
  isGdsChartSetCType,
361
364
  mergeGdsVocabularyPacks,
362
365
  resolveGdsCardContract,
366
+ resolveGdsChartTokenColor,
363
367
  resolveGdsGeneratedPaletteHex,
364
368
  resolveSemanticActionConfig,
365
369
  validateGdsChartData
366
- } from "./chunk-H2QNW4D5.mjs";
370
+ } from "./chunk-EQ7Y2PUI.mjs";
367
371
  import {
368
372
  GDS_PIN_SILHOUETTE_PATH,
369
373
  GdsBadgeShapeCircle,
@@ -379,7 +383,7 @@ import {
379
383
  StateBlock,
380
384
  isPresentationMode,
381
385
  resolveSurfacePresentationStyles
382
- } from "./chunk-MPZFCWWS.mjs";
386
+ } from "./chunk-SPPTDVJC.mjs";
383
387
  import {
384
388
  GdsIcon,
385
389
  GdsIcons,
@@ -392,40 +396,40 @@ import {
392
396
  } from "./chunk-J66ITCXC.mjs";
393
397
  import {
394
398
  ko
395
- } from "./chunk-IHPZ7BNV.mjs";
399
+ } from "./chunk-F76YTG3S.mjs";
396
400
  import {
397
401
  ru
398
- } from "./chunk-BHR4A3C6.mjs";
402
+ } from "./chunk-KLFTBWEG.mjs";
399
403
  import {
400
404
  zh
401
- } from "./chunk-4LG6EED4.mjs";
405
+ } from "./chunk-DBJE4TRO.mjs";
402
406
  import {
403
407
  de
404
- } from "./chunk-GKNSUUUE.mjs";
408
+ } from "./chunk-5GH7XD7X.mjs";
405
409
  import {
406
410
  es
407
- } from "./chunk-JTMPFTCK.mjs";
411
+ } from "./chunk-MKEWYVTJ.mjs";
408
412
  import {
409
413
  fr
410
- } from "./chunk-6PBDLFSF.mjs";
414
+ } from "./chunk-6WDH57MJ.mjs";
411
415
  import {
412
416
  he
413
- } from "./chunk-CNTTKK3H.mjs";
417
+ } from "./chunk-LERXSJHD.mjs";
414
418
  import {
415
419
  hu
416
- } from "./chunk-GMK5GXWR.mjs";
420
+ } from "./chunk-IMT3UTOT.mjs";
417
421
  import {
418
422
  it
419
- } from "./chunk-SHQDVHGR.mjs";
423
+ } from "./chunk-OH5HH4G3.mjs";
420
424
  import {
421
425
  ja
422
- } from "./chunk-2XZMNT7I.mjs";
426
+ } from "./chunk-A32PWTD2.mjs";
423
427
  import {
424
428
  ar
425
- } from "./chunk-QO653DAE.mjs";
429
+ } from "./chunk-KEYBUMOR.mjs";
426
430
  import {
427
431
  en
428
- } from "./chunk-GGDCO5HR.mjs";
432
+ } from "./chunk-BD5XQH5Z.mjs";
429
433
 
430
434
  // src/generated-art-svg.ts
431
435
  import { cloneElement, createElement, isValidElement } from "react";
@@ -846,6 +850,8 @@ export {
846
850
  FloatingActionPlacement,
847
851
  FoodMenuSection,
848
852
  FormField,
853
+ GDS_CHART_SERIES_COLORS,
854
+ GDS_CHART_SERIES_SLOTS,
849
855
  GDS_DETAIL_FACTS_LABEL_COLUMN_PX,
850
856
  GDS_DETAIL_FACT_IDS,
851
857
  GDS_LISTING_PICK_BADGE_FONT_SIZE_PX,
@@ -1109,6 +1115,7 @@ export {
1109
1115
  getGdsAccessibilityEvidenceSummary,
1110
1116
  getGdsActivityPictogramKeys,
1111
1117
  getGdsBlockTypes,
1118
+ getGdsChartSeriesColor,
1112
1119
  getGdsContentPattern,
1113
1120
  getGdsContentPatterns,
1114
1121
  getGdsCopyTemplate,
@@ -1164,6 +1171,7 @@ export {
1164
1171
  resolveGdsAccessState,
1165
1172
  resolveGdsActivityPictogramLabel,
1166
1173
  resolveGdsCardContract,
1174
+ resolveGdsChartTokenColor,
1167
1175
  resolveGdsLayoutStyle,
1168
1176
  resolveGdsLocale,
1169
1177
  resolveGdsMessage,
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "@sovereignsquad/gds-core",
3
- "version": "6.8.0",
3
+ "version": "6.9.0",
4
+ "description": "GDS layouts, cards, shells, forms, tables, overlays, charts, page templates, access gates and i18n.",
4
5
  "main": "./dist/index.js",
5
6
  "module": "./dist/index.mjs",
6
7
  "types": "./dist/index.d.ts",
7
- "sideEffects": false,
8
+ "sideEffects": [
9
+ "./src/locales/lazy/*.ts",
10
+ "./dist/locales/lazy/*",
11
+ "*.css"
12
+ ],
8
13
  "publishConfig": {
9
14
  "access": "public",
10
15
  "registry": "https://npm.pkg.github.com"
@@ -123,7 +128,7 @@
123
128
  "@mantine/core": "^7.9.0 || ^8.3.0 || ^9.0.0",
124
129
  "@mantine/dates": "^7.9.0 || ^8.3.0 || ^9.0.0",
125
130
  "@mantine/hooks": "^7.9.0 || ^8.3.0 || ^9.0.0",
126
- "@sovereignsquad/gds-theme": "6.8.0",
131
+ "@sovereignsquad/gds-theme": "6.9.0",
127
132
  "@tabler/icons-react": "^3.5.0",
128
133
  "dayjs": ">=1.0.0",
129
134
  "react": "^18.2.0 || ^19.0.0",
@@ -133,7 +138,7 @@
133
138
  "@mantine/core": "^7.9.0",
134
139
  "@mantine/dates": "^7.9.0",
135
140
  "@mantine/hooks": "^7.9.0",
136
- "@sovereignsquad/gds-theme": "6.8.0",
141
+ "@sovereignsquad/gds-theme": "6.9.0",
137
142
  "@tabler/icons-react": "^3.5.0",
138
143
  "@types/leaflet": "^1.9.20",
139
144
  "dayjs": "^1.11.13",
@@ -144,7 +149,7 @@
144
149
  "@dnd-kit/core": "^6.3.1",
145
150
  "@dnd-kit/sortable": "^10.0.0",
146
151
  "@dnd-kit/utilities": "^3.2.2",
147
- "@sovereignsquad/gds-theme": "6.8.0",
152
+ "@sovereignsquad/gds-theme": "6.9.0",
148
153
  "@tiptap/core": "^3.31.3",
149
154
  "@tiptap/pm": "^3.31.3",
150
155
  "@tiptap/react": "^3.31.3",
@@ -1,9 +0,0 @@
1
- import {
2
- ru
3
- } from "./chunk-BHR4A3C6.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/ru.ts
9
- registerGdsLocale("ru", ru);
@@ -1,9 +0,0 @@
1
- import {
2
- ko
3
- } from "./chunk-IHPZ7BNV.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/ko.ts
9
- registerGdsLocale("ko", ko);
@@ -1,9 +0,0 @@
1
- import {
2
- hu
3
- } from "./chunk-GMK5GXWR.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/hu.ts
9
- registerGdsLocale("hu", hu);
@@ -1,9 +0,0 @@
1
- import {
2
- zh
3
- } from "./chunk-4LG6EED4.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/zh.ts
9
- registerGdsLocale("zh", zh);
@@ -1,9 +0,0 @@
1
- import {
2
- it
3
- } from "./chunk-SHQDVHGR.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/it.ts
9
- registerGdsLocale("it", it);
@@ -1,9 +0,0 @@
1
- import {
2
- ja
3
- } from "./chunk-2XZMNT7I.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/ja.ts
9
- registerGdsLocale("ja", ja);
@@ -1,9 +0,0 @@
1
- import {
2
- de
3
- } from "./chunk-GKNSUUUE.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/de.ts
9
- registerGdsLocale("de", de);
@@ -1,9 +0,0 @@
1
- import {
2
- fr
3
- } from "./chunk-6PBDLFSF.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/fr.ts
9
- registerGdsLocale("fr", fr);
@@ -1,9 +0,0 @@
1
- import {
2
- es
3
- } from "./chunk-JTMPFTCK.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/es.ts
9
- registerGdsLocale("es", es);
@@ -1,9 +0,0 @@
1
- import {
2
- registerGdsLocale
3
- } from "./chunk-ZCQXBKDM.mjs";
4
- import {
5
- ar
6
- } from "./chunk-QO653DAE.mjs";
7
-
8
- // src/locales/lazy/ar.ts
9
- registerGdsLocale("ar", ar);
@@ -1,9 +0,0 @@
1
- import {
2
- he
3
- } from "./chunk-CNTTKK3H.mjs";
4
- import {
5
- registerGdsLocale
6
- } from "./chunk-ZCQXBKDM.mjs";
7
-
8
- // src/locales/lazy/he.ts
9
- registerGdsLocale("he", he);