@40rty/ams-ui 0.5.6 → 0.5.8

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 (56) hide show
  1. package/dist/agent.js +3 -2
  2. package/dist/{chunk-2HM6EVDV.js → chunk-4ZX4IRC6.js} +241 -389
  3. package/dist/chunk-FSY7MEP5.js +843 -0
  4. package/dist/{chunk-WVD2Y2N2.js → chunk-G3IXNKXL.js} +15 -8
  5. package/dist/{chunk-H6MSAD5M.js → chunk-KNIUL72S.js} +10 -5
  6. package/dist/{chunk-CKNELL6G.js → chunk-M5T3ZTBB.js} +109 -79
  7. package/dist/{chunk-432XYPDT.js → chunk-ZP27BQQE.js} +1 -1
  8. package/dist/conversation.js +24 -21
  9. package/dist/css/preset/motion.css +4 -1
  10. package/dist/css/shell/spacefront-island.css +8 -6
  11. package/dist/css/shell/spacefront-presence.css +9 -4
  12. package/dist/css/shell/spacefront-thread-panel.css +12 -5
  13. package/dist/index.js +473 -403
  14. package/dist/island.js +18 -11
  15. package/dist/motion.js +1 -1
  16. package/dist/presence.js +20 -11
  17. package/dist/shell.js +6 -5
  18. package/dist/thread-panel.js +19 -9
  19. package/dist/types/catalog-data/ecommerce.d.ts +42 -0
  20. package/dist/types/catalog-data/social.d.ts +14 -0
  21. package/dist/types/components/content/article/BlogPosts.d.ts +1 -1
  22. package/dist/types/components/ecommerce/cart/cart-format.d.ts +3 -2
  23. package/dist/types/components/ecommerce/collection/CollectionList.d.ts +1 -1
  24. package/dist/types/components/ecommerce/product/AddToRegistry.d.ts +1 -1
  25. package/dist/types/components/ecommerce/product/ProductPrice.d.ts +1 -0
  26. package/dist/types/components/feedback/HydrationNotice.d.ts +9 -0
  27. package/dist/types/components/layout/Drawer.d.ts +2 -0
  28. package/dist/types/conversation/blocks/schemas.d.ts +40 -0
  29. package/dist/types/index.d.ts +3 -2
  30. package/dist/types/labels/en/agent.d.ts +2 -0
  31. package/dist/types/labels/en/commerce.d.ts +2 -0
  32. package/dist/types/labels/en/content.d.ts +2 -0
  33. package/dist/types/labels/en/notices.d.ts +2 -0
  34. package/dist/types/labels/en/shell.d.ts +2 -0
  35. package/dist/types/labels/he/agent.d.ts +2 -0
  36. package/dist/types/labels/he/commerce.d.ts +2 -0
  37. package/dist/types/labels/he/content.d.ts +2 -0
  38. package/dist/types/labels/he/count.d.ts +17 -0
  39. package/dist/types/labels/he/notices.d.ts +2 -0
  40. package/dist/types/labels/he/shell.d.ts +2 -0
  41. package/dist/types/labels/index.d.ts +34 -0
  42. package/dist/types/{labels.d.ts → labels/types-agent.d.ts} +4 -120
  43. package/dist/types/labels/types-commerce.d.ts +252 -0
  44. package/dist/types/labels/types-content.d.ts +28 -0
  45. package/dist/types/labels/types-notices.d.ts +9 -0
  46. package/dist/types/labels/types-shell.d.ts +137 -0
  47. package/dist/types/labels-context.d.ts +19 -5
  48. package/dist/types/primitives/Money/index.d.ts +1 -1
  49. package/dist/types/shell/Composer.d.ts +1 -1
  50. package/dist/types/shell/SideDock.d.ts +1 -1
  51. package/dist/types/shell/SpacefrontIsland.d.ts +1 -1
  52. package/dist/types/shell/SpacefrontPresence.d.ts +1 -1
  53. package/dist/types/shell/VoiceIsland.d.ts +1 -1
  54. package/dist/types/utils/format-money.d.ts +3 -1
  55. package/dist/types/utils/mirror-x.d.ts +8 -0
  56. package/package.json +2 -2
@@ -229,6 +229,7 @@ export declare const reviewsProps: z.ZodObject<{
229
229
  height?: number | undefined;
230
230
  srcSet?: string | undefined;
231
231
  }>>;
232
+ sku: z.ZodOptional<z.ZodString>;
232
233
  }, "strip", z.ZodTypeAny, {
233
234
  id: string;
234
235
  title: string;
@@ -253,6 +254,7 @@ export declare const reviewsProps: z.ZodObject<{
253
254
  value: string;
254
255
  name: string;
255
256
  }[] | undefined;
257
+ sku?: string | undefined;
256
258
  }, {
257
259
  id: string;
258
260
  title: string;
@@ -277,6 +279,7 @@ export declare const reviewsProps: z.ZodObject<{
277
279
  value: string;
278
280
  name: string;
279
281
  }[] | undefined;
282
+ sku?: string | undefined;
280
283
  }>, "many">>;
281
284
  availableForSale: z.ZodDefault<z.ZodBoolean>;
282
285
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -405,6 +408,7 @@ export declare const reviewsProps: z.ZodObject<{
405
408
  value: string;
406
409
  name: string;
407
410
  }[] | undefined;
411
+ sku?: string | undefined;
408
412
  }[];
409
413
  price: {
410
414
  currencyCode: string;
@@ -510,6 +514,7 @@ export declare const reviewsProps: z.ZodObject<{
510
514
  value: string;
511
515
  name: string;
512
516
  }[] | undefined;
517
+ sku?: string | undefined;
513
518
  }[] | undefined;
514
519
  reviews?: {
515
520
  date: string;
@@ -756,6 +761,7 @@ export declare const reviewsProps: z.ZodObject<{
756
761
  height?: number | undefined;
757
762
  srcSet?: string | undefined;
758
763
  }>>;
764
+ sku: z.ZodOptional<z.ZodString>;
759
765
  }, "strip", z.ZodTypeAny, {
760
766
  id: string;
761
767
  title: string;
@@ -780,6 +786,7 @@ export declare const reviewsProps: z.ZodObject<{
780
786
  value: string;
781
787
  name: string;
782
788
  }[] | undefined;
789
+ sku?: string | undefined;
783
790
  }, {
784
791
  id: string;
785
792
  title: string;
@@ -804,6 +811,7 @@ export declare const reviewsProps: z.ZodObject<{
804
811
  value: string;
805
812
  name: string;
806
813
  }[] | undefined;
814
+ sku?: string | undefined;
807
815
  }>, "many">>;
808
816
  availableForSale: z.ZodDefault<z.ZodBoolean>;
809
817
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -932,6 +940,7 @@ export declare const reviewsProps: z.ZodObject<{
932
940
  value: string;
933
941
  name: string;
934
942
  }[] | undefined;
943
+ sku?: string | undefined;
935
944
  }[];
936
945
  price: {
937
946
  currencyCode: string;
@@ -1037,6 +1046,7 @@ export declare const reviewsProps: z.ZodObject<{
1037
1046
  value: string;
1038
1047
  name: string;
1039
1048
  }[] | undefined;
1049
+ sku?: string | undefined;
1040
1050
  }[] | undefined;
1041
1051
  reviews?: {
1042
1052
  date: string;
@@ -1156,6 +1166,7 @@ export declare const reviewsProps: z.ZodObject<{
1156
1166
  value: string;
1157
1167
  name: string;
1158
1168
  }[] | undefined;
1169
+ sku?: string | undefined;
1159
1170
  }[];
1160
1171
  price: {
1161
1172
  currencyCode: string;
@@ -1257,6 +1268,7 @@ export declare const reviewsProps: z.ZodObject<{
1257
1268
  value: string;
1258
1269
  name: string;
1259
1270
  }[] | undefined;
1271
+ sku?: string | undefined;
1260
1272
  }[];
1261
1273
  price: {
1262
1274
  currencyCode: string;
@@ -1372,6 +1384,7 @@ export declare const reviewsProps: z.ZodObject<{
1372
1384
  value: string;
1373
1385
  name: string;
1374
1386
  }[] | undefined;
1387
+ sku?: string | undefined;
1375
1388
  }[] | undefined;
1376
1389
  reviews?: {
1377
1390
  date: string;
@@ -1473,6 +1486,7 @@ export declare const reviewsProps: z.ZodObject<{
1473
1486
  value: string;
1474
1487
  name: string;
1475
1488
  }[] | undefined;
1489
+ sku?: string | undefined;
1476
1490
  }[] | undefined;
1477
1491
  reviews?: {
1478
1492
  date: string;
@@ -16,4 +16,4 @@ export interface BlogPostsProps {
16
16
  * subtitle, then a row of editorial cards (image · title · excerpt ·
17
17
  * meta). Viewport-fit: header pinned, cards row fills.
18
18
  */
19
- export declare function BlogPosts({ title, subtitle, eyebrow, moreLabel, moreAction, articles: articlesProp, posts: postsProp, }: BlogPostsProps): import("react/jsx-runtime").JSX.Element | null;
19
+ export declare function BlogPosts({ title, subtitle, eyebrow: eyebrowProp, moreLabel, moreAction, articles: articlesProp, posts: postsProp, }: BlogPostsProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * Price formatting shared by the cart surfaces (line rows, drawer foot
3
- * totals). Locale-aware via Intl; falls back to a plain `{currency}
3
+ * totals). Formatted in the SPACE's `locale` (`useLocale()`), never the
4
+ * browser's; falls back to a plain `{currency}
4
5
  * {amount}` string when the currency code is unknown to the runtime. Drops
5
6
  * the decimal part when the amount is a whole dollar figure ($49, not
6
7
  * $49.00) — cents only render when they're non-zero.
7
8
  */
8
- export declare function formatPrice(amount: number, currency: string): string;
9
+ export declare function formatPrice(amount: number, currency: string, locale: string): string;
@@ -10,4 +10,4 @@ export interface CollectionListProps {
10
10
  /** Per-collection click overrides, matched by position. */
11
11
  actions?: SuggestionActionInput[];
12
12
  }
13
- export declare function CollectionList({ title, subtitle, eyebrow, collections: rawCollections, actions: rawActions, }: CollectionListProps): import("react/jsx-runtime").JSX.Element | null;
13
+ export declare function CollectionList({ title, subtitle, eyebrow: eyebrowProp, collections: rawCollections, actions: rawActions, }: CollectionListProps): import("react/jsx-runtime").JSX.Element | null;
@@ -32,5 +32,5 @@ interface AddToRegistryProps {
32
32
  * supplies them (e.g. from its own ProductDetail wrapper). Renders nothing when
33
33
  * `providers` is empty so it stays inert for spaces that don't opt in.
34
34
  */
35
- export declare function AddToRegistry({ title, providers, productId }: AddToRegistryProps): import("react/jsx-runtime").JSX.Element | null;
35
+ export declare function AddToRegistry({ title: titleProp, providers, productId }: AddToRegistryProps): import("react/jsx-runtime").JSX.Element | null;
36
36
  export {};
@@ -3,6 +3,7 @@ import type { Money } from '../../../types/commerce';
3
3
  export interface ProductPriceProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  price: Money;
5
5
  compareAtPrice?: Money;
6
+ /** Overrides the space locale (`useLocale()`) for this one price. */
6
7
  locale?: string;
7
8
  }
8
9
  export declare const ProductPrice: React.ForwardRefExoticComponent<ProductPriceProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import type { HydrationNoticeProps } from '@40rty/ams-sdk';
3
+ /**
4
+ * The canvas's "couldn't load" notice, in the space's language. The engine
5
+ * decides when one is due and asks the sdk slot for it; `SpaceFront` mounts
6
+ * this one (`HydrationNoticeProvider`). Detailed connector errors stay in
7
+ * debug output.
8
+ */
9
+ export declare function HydrationNotice({ unavailableCount, hasErrors }: HydrationNoticeProps): React.ReactElement | null;
@@ -2,6 +2,8 @@ import React from 'react';
2
2
  export interface DrawerProps {
3
3
  open: boolean;
4
4
  onClose: () => void;
5
+ /** The side in a left-to-right page; mirrors in a right-to-left space
6
+ * (`'right'` is the inline END). */
5
7
  side?: 'left' | 'right';
6
8
  className?: string;
7
9
  children: React.ReactNode;
@@ -193,6 +193,7 @@ export declare const verdictProps: {
193
193
  height?: number | undefined;
194
194
  srcSet?: string | undefined;
195
195
  }>>;
196
+ sku: z.ZodOptional<z.ZodString>;
196
197
  }, "strip", z.ZodTypeAny, {
197
198
  id: string;
198
199
  title: string;
@@ -217,6 +218,7 @@ export declare const verdictProps: {
217
218
  value: string;
218
219
  name: string;
219
220
  }[] | undefined;
221
+ sku?: string | undefined;
220
222
  }, {
221
223
  id: string;
222
224
  title: string;
@@ -241,6 +243,7 @@ export declare const verdictProps: {
241
243
  value: string;
242
244
  name: string;
243
245
  }[] | undefined;
246
+ sku?: string | undefined;
244
247
  }>, "many">>;
245
248
  availableForSale: z.ZodDefault<z.ZodBoolean>;
246
249
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -369,6 +372,7 @@ export declare const verdictProps: {
369
372
  value: string;
370
373
  name: string;
371
374
  }[] | undefined;
375
+ sku?: string | undefined;
372
376
  }[];
373
377
  price: {
374
378
  currencyCode: string;
@@ -474,6 +478,7 @@ export declare const verdictProps: {
474
478
  value: string;
475
479
  name: string;
476
480
  }[] | undefined;
481
+ sku?: string | undefined;
477
482
  }[] | undefined;
478
483
  reviews?: {
479
484
  date: string;
@@ -720,6 +725,7 @@ export declare const verdictProps: {
720
725
  height?: number | undefined;
721
726
  srcSet?: string | undefined;
722
727
  }>>;
728
+ sku: z.ZodOptional<z.ZodString>;
723
729
  }, "strip", z.ZodTypeAny, {
724
730
  id: string;
725
731
  title: string;
@@ -744,6 +750,7 @@ export declare const verdictProps: {
744
750
  value: string;
745
751
  name: string;
746
752
  }[] | undefined;
753
+ sku?: string | undefined;
747
754
  }, {
748
755
  id: string;
749
756
  title: string;
@@ -768,6 +775,7 @@ export declare const verdictProps: {
768
775
  value: string;
769
776
  name: string;
770
777
  }[] | undefined;
778
+ sku?: string | undefined;
771
779
  }>, "many">>;
772
780
  availableForSale: z.ZodDefault<z.ZodBoolean>;
773
781
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -896,6 +904,7 @@ export declare const verdictProps: {
896
904
  value: string;
897
905
  name: string;
898
906
  }[] | undefined;
907
+ sku?: string | undefined;
899
908
  }[];
900
909
  price: {
901
910
  currencyCode: string;
@@ -1001,6 +1010,7 @@ export declare const verdictProps: {
1001
1010
  value: string;
1002
1011
  name: string;
1003
1012
  }[] | undefined;
1013
+ sku?: string | undefined;
1004
1014
  }[] | undefined;
1005
1015
  reviews?: {
1006
1016
  date: string;
@@ -1275,6 +1285,7 @@ export declare const tradeoffProps: {
1275
1285
  height?: number | undefined;
1276
1286
  srcSet?: string | undefined;
1277
1287
  }>>;
1288
+ sku: z.ZodOptional<z.ZodString>;
1278
1289
  }, "strip", z.ZodTypeAny, {
1279
1290
  id: string;
1280
1291
  title: string;
@@ -1299,6 +1310,7 @@ export declare const tradeoffProps: {
1299
1310
  value: string;
1300
1311
  name: string;
1301
1312
  }[] | undefined;
1313
+ sku?: string | undefined;
1302
1314
  }, {
1303
1315
  id: string;
1304
1316
  title: string;
@@ -1323,6 +1335,7 @@ export declare const tradeoffProps: {
1323
1335
  value: string;
1324
1336
  name: string;
1325
1337
  }[] | undefined;
1338
+ sku?: string | undefined;
1326
1339
  }>, "many">>;
1327
1340
  availableForSale: z.ZodDefault<z.ZodBoolean>;
1328
1341
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1451,6 +1464,7 @@ export declare const tradeoffProps: {
1451
1464
  value: string;
1452
1465
  name: string;
1453
1466
  }[] | undefined;
1467
+ sku?: string | undefined;
1454
1468
  }[];
1455
1469
  price: {
1456
1470
  currencyCode: string;
@@ -1556,6 +1570,7 @@ export declare const tradeoffProps: {
1556
1570
  value: string;
1557
1571
  name: string;
1558
1572
  }[] | undefined;
1573
+ sku?: string | undefined;
1559
1574
  }[] | undefined;
1560
1575
  reviews?: {
1561
1576
  date: string;
@@ -1802,6 +1817,7 @@ export declare const tradeoffProps: {
1802
1817
  height?: number | undefined;
1803
1818
  srcSet?: string | undefined;
1804
1819
  }>>;
1820
+ sku: z.ZodOptional<z.ZodString>;
1805
1821
  }, "strip", z.ZodTypeAny, {
1806
1822
  id: string;
1807
1823
  title: string;
@@ -1826,6 +1842,7 @@ export declare const tradeoffProps: {
1826
1842
  value: string;
1827
1843
  name: string;
1828
1844
  }[] | undefined;
1845
+ sku?: string | undefined;
1829
1846
  }, {
1830
1847
  id: string;
1831
1848
  title: string;
@@ -1850,6 +1867,7 @@ export declare const tradeoffProps: {
1850
1867
  value: string;
1851
1868
  name: string;
1852
1869
  }[] | undefined;
1870
+ sku?: string | undefined;
1853
1871
  }>, "many">>;
1854
1872
  availableForSale: z.ZodDefault<z.ZodBoolean>;
1855
1873
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1978,6 +1996,7 @@ export declare const tradeoffProps: {
1978
1996
  value: string;
1979
1997
  name: string;
1980
1998
  }[] | undefined;
1999
+ sku?: string | undefined;
1981
2000
  }[];
1982
2001
  price: {
1983
2002
  currencyCode: string;
@@ -2083,6 +2102,7 @@ export declare const tradeoffProps: {
2083
2102
  value: string;
2084
2103
  name: string;
2085
2104
  }[] | undefined;
2105
+ sku?: string | undefined;
2086
2106
  }[] | undefined;
2087
2107
  reviews?: {
2088
2108
  date: string;
@@ -2354,6 +2374,7 @@ export declare const explainProps: {
2354
2374
  height?: number | undefined;
2355
2375
  srcSet?: string | undefined;
2356
2376
  }>>;
2377
+ sku: z.ZodOptional<z.ZodString>;
2357
2378
  }, "strip", z.ZodTypeAny, {
2358
2379
  id: string;
2359
2380
  title: string;
@@ -2378,6 +2399,7 @@ export declare const explainProps: {
2378
2399
  value: string;
2379
2400
  name: string;
2380
2401
  }[] | undefined;
2402
+ sku?: string | undefined;
2381
2403
  }, {
2382
2404
  id: string;
2383
2405
  title: string;
@@ -2402,6 +2424,7 @@ export declare const explainProps: {
2402
2424
  value: string;
2403
2425
  name: string;
2404
2426
  }[] | undefined;
2427
+ sku?: string | undefined;
2405
2428
  }>, "many">>;
2406
2429
  availableForSale: z.ZodDefault<z.ZodBoolean>;
2407
2430
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2530,6 +2553,7 @@ export declare const explainProps: {
2530
2553
  value: string;
2531
2554
  name: string;
2532
2555
  }[] | undefined;
2556
+ sku?: string | undefined;
2533
2557
  }[];
2534
2558
  price: {
2535
2559
  currencyCode: string;
@@ -2635,6 +2659,7 @@ export declare const explainProps: {
2635
2659
  value: string;
2636
2660
  name: string;
2637
2661
  }[] | undefined;
2662
+ sku?: string | undefined;
2638
2663
  }[] | undefined;
2639
2664
  reviews?: {
2640
2665
  date: string;
@@ -2881,6 +2906,7 @@ export declare const explainProps: {
2881
2906
  height?: number | undefined;
2882
2907
  srcSet?: string | undefined;
2883
2908
  }>>;
2909
+ sku: z.ZodOptional<z.ZodString>;
2884
2910
  }, "strip", z.ZodTypeAny, {
2885
2911
  id: string;
2886
2912
  title: string;
@@ -2905,6 +2931,7 @@ export declare const explainProps: {
2905
2931
  value: string;
2906
2932
  name: string;
2907
2933
  }[] | undefined;
2934
+ sku?: string | undefined;
2908
2935
  }, {
2909
2936
  id: string;
2910
2937
  title: string;
@@ -2929,6 +2956,7 @@ export declare const explainProps: {
2929
2956
  value: string;
2930
2957
  name: string;
2931
2958
  }[] | undefined;
2959
+ sku?: string | undefined;
2932
2960
  }>, "many">>;
2933
2961
  availableForSale: z.ZodDefault<z.ZodBoolean>;
2934
2962
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3057,6 +3085,7 @@ export declare const explainProps: {
3057
3085
  value: string;
3058
3086
  name: string;
3059
3087
  }[] | undefined;
3088
+ sku?: string | undefined;
3060
3089
  }[];
3061
3090
  price: {
3062
3091
  currencyCode: string;
@@ -3162,6 +3191,7 @@ export declare const explainProps: {
3162
3191
  value: string;
3163
3192
  name: string;
3164
3193
  }[] | undefined;
3194
+ sku?: string | undefined;
3165
3195
  }[] | undefined;
3166
3196
  reviews?: {
3167
3197
  date: string;
@@ -3412,6 +3442,7 @@ export declare const shortlistProps: {
3412
3442
  height?: number | undefined;
3413
3443
  srcSet?: string | undefined;
3414
3444
  }>>;
3445
+ sku: z.ZodOptional<z.ZodString>;
3415
3446
  }, "strip", z.ZodTypeAny, {
3416
3447
  id: string;
3417
3448
  title: string;
@@ -3436,6 +3467,7 @@ export declare const shortlistProps: {
3436
3467
  value: string;
3437
3468
  name: string;
3438
3469
  }[] | undefined;
3470
+ sku?: string | undefined;
3439
3471
  }, {
3440
3472
  id: string;
3441
3473
  title: string;
@@ -3460,6 +3492,7 @@ export declare const shortlistProps: {
3460
3492
  value: string;
3461
3493
  name: string;
3462
3494
  }[] | undefined;
3495
+ sku?: string | undefined;
3463
3496
  }>, "many">>;
3464
3497
  availableForSale: z.ZodDefault<z.ZodBoolean>;
3465
3498
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3588,6 +3621,7 @@ export declare const shortlistProps: {
3588
3621
  value: string;
3589
3622
  name: string;
3590
3623
  }[] | undefined;
3624
+ sku?: string | undefined;
3591
3625
  }[];
3592
3626
  price: {
3593
3627
  currencyCode: string;
@@ -3693,6 +3727,7 @@ export declare const shortlistProps: {
3693
3727
  value: string;
3694
3728
  name: string;
3695
3729
  }[] | undefined;
3730
+ sku?: string | undefined;
3696
3731
  }[] | undefined;
3697
3732
  reviews?: {
3698
3733
  date: string;
@@ -3939,6 +3974,7 @@ export declare const shortlistProps: {
3939
3974
  height?: number | undefined;
3940
3975
  srcSet?: string | undefined;
3941
3976
  }>>;
3977
+ sku: z.ZodOptional<z.ZodString>;
3942
3978
  }, "strip", z.ZodTypeAny, {
3943
3979
  id: string;
3944
3980
  title: string;
@@ -3963,6 +3999,7 @@ export declare const shortlistProps: {
3963
3999
  value: string;
3964
4000
  name: string;
3965
4001
  }[] | undefined;
4002
+ sku?: string | undefined;
3966
4003
  }, {
3967
4004
  id: string;
3968
4005
  title: string;
@@ -3987,6 +4024,7 @@ export declare const shortlistProps: {
3987
4024
  value: string;
3988
4025
  name: string;
3989
4026
  }[] | undefined;
4027
+ sku?: string | undefined;
3990
4028
  }>, "many">>;
3991
4029
  availableForSale: z.ZodDefault<z.ZodBoolean>;
3992
4030
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -4115,6 +4153,7 @@ export declare const shortlistProps: {
4115
4153
  value: string;
4116
4154
  name: string;
4117
4155
  }[] | undefined;
4156
+ sku?: string | undefined;
4118
4157
  }[];
4119
4158
  price: {
4120
4159
  currencyCode: string;
@@ -4220,6 +4259,7 @@ export declare const shortlistProps: {
4220
4259
  value: string;
4221
4260
  name: string;
4222
4261
  }[] | undefined;
4262
+ sku?: string | undefined;
4223
4263
  }[] | undefined;
4224
4264
  reviews?: {
4225
4265
  date: string;
@@ -13,11 +13,12 @@ export { useMediaQuery } from './hooks/use-media-query';
13
13
  export { useScrollLock } from './hooks/use-scroll-lock';
14
14
  export { useReducedMotion } from './hooks/use-reduced-motion';
15
15
  export { useContainerWidth } from './hooks/use-container-width';
16
- export { DEFAULT_LABELS, type Labels } from './labels';
17
- export { LabelsProvider, useLabels, type LabelsProviderProps, type LabelOverrides } from './labels-context';
16
+ export { DEFAULT_LABELS, EN_LABELS, HE_LABELS, labelsForLocale, type Labels } from './labels';
17
+ export { LabelsProvider, useLabels, useLocale, useTextDirection, type LabelsProviderProps, type LabelOverrides } from './labels-context';
18
18
  export { Button, type ButtonProps } from './primitives/Button';
19
19
  export { Badge, type BadgeProps } from './primitives/Badge';
20
20
  export { Skeleton, type SkeletonProps } from './primitives/Skeleton';
21
+ export { HydrationNotice } from './components/feedback/HydrationNotice';
21
22
  export { Money as MoneyDisplay, type MoneyProps } from './primitives/Money';
22
23
  export { Input, type InputProps } from './primitives/Input';
23
24
  export { Select, type SelectProps } from './primitives/Select';
@@ -0,0 +1,2 @@
1
+ import type { AgentLabels } from '../types-agent';
2
+ export declare const EN_AGENT: AgentLabels;
@@ -0,0 +1,2 @@
1
+ import type { CommerceLabels } from '../types-commerce';
2
+ export declare const EN_COMMERCE: CommerceLabels;
@@ -0,0 +1,2 @@
1
+ import type { ContentLabels } from '../types-content';
2
+ export declare const EN_CONTENT: ContentLabels;
@@ -0,0 +1,2 @@
1
+ import type { NoticeLabels } from '../types-notices';
2
+ export declare const EN_NOTICES: NoticeLabels;
@@ -0,0 +1,2 @@
1
+ import type { ShellLabels } from '../types-shell';
2
+ export declare const EN_SHELL: ShellLabels;
@@ -0,0 +1,2 @@
1
+ import type { AgentLabels } from '../types-agent';
2
+ export declare const HE_AGENT: AgentLabels;
@@ -0,0 +1,2 @@
1
+ import type { CommerceLabels } from '../types-commerce';
2
+ export declare const HE_COMMERCE: CommerceLabels;
@@ -0,0 +1,2 @@
1
+ import type { ContentLabels } from '../types-content';
2
+ export declare const HE_CONTENT: ContentLabels;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Hebrew counted nouns. Hebrew puts "one" AFTER the noun and agrees it in
3
+ * gender ("ביקורת אחת", "פריט אחד"), so `1` is never "1 ביקורות"; a handful of
4
+ * nouns also keep a dual ("יומיים"). Everything else is `<n> <plural>`.
5
+ */
6
+ export interface HebrewNoun {
7
+ /** The full phrase for exactly one — noun plus agreeing "אחד/אחת". */
8
+ one: string;
9
+ /** The dual form, for the nouns that have one (days, weeks…). */
10
+ two?: string;
11
+ plural: string;
12
+ }
13
+ export declare function heCount(count: number, noun: HebrewNoun): string;
14
+ export declare const REVIEWS: HebrewNoun;
15
+ export declare const ITEMS: HebrewNoun;
16
+ export declare const DESIGNS: HebrewNoun;
17
+ export declare const DAYS: HebrewNoun;
@@ -0,0 +1,2 @@
1
+ import type { NoticeLabels } from '../types-notices';
2
+ export declare const HE_NOTICES: NoticeLabels;
@@ -0,0 +1,2 @@
1
+ import type { ShellLabels } from '../types-shell';
2
+ export declare const HE_SHELL: ShellLabels;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * UI text — every visitor-facing string in the platform UI lives here, so a
3
+ * brand's wording and the space's LANGUAGE have a single seam. Components
4
+ * read via `useLabels()` (see `labels-context.tsx`).
5
+ *
6
+ * RULES:
7
+ * - No string literals inside components for visitor-facing text — visible
8
+ * copy, `aria-label`, `title`, `placeholder`, `alt`. Always go through this
9
+ * map (`__tests__/no-literal-copy.test.ts` fails on a new one).
10
+ * - Keys are intent-named ("addToBag", not "btn1"). Easy to grep.
11
+ * - Sub-objects group by feature (`product.*`, `cart.*`) so brand
12
+ * overrides can scope cleanly.
13
+ * - Counts are FUNCTIONS of the count, never "noun + s": every language words
14
+ * its own plurals (Hebrew agrees "one" after the noun and keeps a dual).
15
+ * - Every language is a complete `Labels` — a missing key is a compile error,
16
+ * never English leaking into another language's page.
17
+ */
18
+ import type { AgentLabels } from './types-agent';
19
+ import type { CommerceLabels } from './types-commerce';
20
+ import type { ContentLabels } from './types-content';
21
+ import type { NoticeLabels } from './types-notices';
22
+ import type { ShellLabels } from './types-shell';
23
+ export interface Labels extends CommerceLabels, AgentLabels, ShellLabels, ContentLabels, NoticeLabels {
24
+ }
25
+ export declare const EN_LABELS: Labels;
26
+ export declare const HE_LABELS: Labels;
27
+ /** The fallback outside any provider (stories, catalog previews) — English. */
28
+ export declare const DEFAULT_LABELS: Labels;
29
+ /**
30
+ * The label set for a space's locale (`he-IL` → Hebrew). A language the
31
+ * platform has no set for renders in English — the one fallback, and only for
32
+ * a whole language, never per key.
33
+ */
34
+ export declare function labelsForLocale(locale: string): Labels;