@astryxdesign/core 0.7.8-canary.c8f08f9 → 0.7.8-canary.cc034ed

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 (150) hide show
  1. package/dist/DateInput/PickerWheel.d.ts.map +1 -1
  2. package/dist/DateInput/PickerWheel.js +0 -3
  3. package/dist/DateInput/Wheel.d.ts.map +1 -1
  4. package/dist/DateInput/Wheel.js +34 -8
  5. package/dist/HoverCard/useHoverCard.d.ts.map +1 -1
  6. package/dist/HoverCard/useHoverCard.js +6 -1
  7. package/dist/Icon/Icon.d.ts +3 -3
  8. package/dist/Icon/Icon.d.ts.map +1 -1
  9. package/dist/Icon/Icon.js +15 -1
  10. package/dist/Layer/useLayer.js +1 -1
  11. package/dist/Layout/index.d.ts +1 -1
  12. package/dist/Layout/index.d.ts.map +1 -1
  13. package/dist/Layout/index.js +1 -1
  14. package/dist/Layout/layoutReset.js +1 -1
  15. package/dist/Layout/overlayPaddingReset.stylex.d.ts +68 -0
  16. package/dist/Layout/overlayPaddingReset.stylex.d.ts.map +1 -0
  17. package/dist/Layout/overlayPaddingReset.stylex.js +72 -0
  18. package/dist/Layout/padding.stylex.d.ts +5 -129
  19. package/dist/Layout/padding.stylex.d.ts.map +1 -1
  20. package/dist/Layout/padding.stylex.js +9 -143
  21. package/dist/Layout/paddingStyles.stylex.d.ts +83 -0
  22. package/dist/Layout/paddingStyles.stylex.d.ts.map +1 -0
  23. package/dist/Layout/paddingStyles.stylex.js +99 -0
  24. package/dist/Lightbox/Lightbox.js +1 -1
  25. package/dist/MobileNav/MobileNav.js +1 -1
  26. package/dist/Overlay/Overlay.d.ts.map +1 -1
  27. package/dist/Overlay/Overlay.js +7 -2
  28. package/dist/Popover/usePopover.js +2 -2
  29. package/dist/PowerSearch/PowerSearch.d.ts +4 -2
  30. package/dist/PowerSearch/PowerSearch.d.ts.map +1 -1
  31. package/dist/PowerSearch/PowerSearch.js +1 -1
  32. package/dist/PowerSearch/PowerSearchBottomSheet.d.ts +24 -1
  33. package/dist/PowerSearch/PowerSearchBottomSheet.d.ts.map +1 -1
  34. package/dist/PowerSearch/PowerSearchBottomSheet.js +172 -50
  35. package/dist/Resizable/ResizeHandle.d.ts.map +1 -1
  36. package/dist/Resizable/ResizeHandle.js +15 -15
  37. package/dist/Resizable/createResizable.d.ts +70 -16
  38. package/dist/Resizable/createResizable.d.ts.map +1 -1
  39. package/dist/Resizable/createResizable.js +180 -22
  40. package/dist/Resizable/separatorAttributes.d.ts +45 -0
  41. package/dist/Resizable/separatorAttributes.d.ts.map +1 -0
  42. package/dist/Resizable/separatorAttributes.js +35 -0
  43. package/dist/Resizable/useResizable.js +2 -2
  44. package/dist/Stepper/Stepper.d.ts.map +1 -1
  45. package/dist/Stepper/Stepper.js +10 -15
  46. package/dist/Table/plugins/rowExpansion/useTableRowExpansion.d.ts +12 -0
  47. package/dist/Table/plugins/rowExpansion/useTableRowExpansion.d.ts.map +1 -1
  48. package/dist/Table/plugins/rowExpansion/useTableRowExpansion.js +13 -3
  49. package/dist/Table/plugins/tree/useTableTreeData.d.ts +11 -0
  50. package/dist/Table/plugins/tree/useTableTreeData.d.ts.map +1 -1
  51. package/dist/Table/plugins/tree/useTableTreeData.js +27 -14
  52. package/dist/Tokenizer/Tokenizer.js +1 -1
  53. package/dist/Tokenizer/TokenizerBottomSheet.js +8 -12
  54. package/dist/Tooltip/useTooltip.d.ts.map +1 -1
  55. package/dist/Tooltip/useTooltip.js +6 -0
  56. package/dist/astryx.css +10 -1
  57. package/dist/hooks/actionGroupTracker.d.ts.map +1 -1
  58. package/dist/hooks/actionGroupTracker.js +5 -4
  59. package/dist/hooks/useIsomorphicLayoutEffect.d.ts +2 -2
  60. package/dist/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -1
  61. package/dist/i18n/generated-english/PowerSearch/PowerSearchBottomSheet.generated.d.ts.map +1 -1
  62. package/dist/i18n/generated-english/PowerSearch/PowerSearchBottomSheet.generated.js +5 -2
  63. package/dist/i18n/generated-english/Resizable/createResizable.generated.d.ts +8 -0
  64. package/dist/i18n/generated-english/Resizable/createResizable.generated.d.ts.map +1 -0
  65. package/dist/i18n/generated-english/Resizable/createResizable.generated.js +13 -0
  66. package/dist/i18n/generated-english/Table/plugins/rowExpansion/useTableRowExpansion.generated.d.ts.map +1 -1
  67. package/dist/i18n/generated-english/Table/plugins/rowExpansion/useTableRowExpansion.generated.js +3 -1
  68. package/dist/i18n/generated-english/Table/plugins/tree/useTableTreeData.generated.d.ts.map +1 -1
  69. package/dist/i18n/generated-english/Table/plugins/tree/useTableTreeData.generated.js +3 -1
  70. package/dist/i18n/generated-locales/en.generated.d.ts.map +1 -1
  71. package/dist/i18n/generated-locales/en.generated.js +9 -2
  72. package/dist/i18n/generated-locales/pseudo.generated.d.ts.map +1 -1
  73. package/dist/i18n/generated-locales/pseudo.generated.js +9 -2
  74. package/dist/motion/uikit/datePicker.d.ts +58 -0
  75. package/dist/motion/uikit/datePicker.d.ts.map +1 -0
  76. package/dist/motion/uikit/datePicker.js +60 -0
  77. package/dist/motion/uikit/index.d.ts +4 -3
  78. package/dist/motion/uikit/index.d.ts.map +1 -1
  79. package/dist/motion/uikit/index.js +4 -3
  80. package/dist/theme/generateThemeRules.d.ts.map +1 -1
  81. package/dist/theme/generateThemeRules.js +14 -13
  82. package/dist/theme/themeMotion.d.ts.map +1 -1
  83. package/dist/theme/themeMotion.js +8 -2
  84. package/dist/theme/tokens.stylex.d.ts +3 -0
  85. package/dist/theme/tokens.stylex.d.ts.map +1 -1
  86. package/dist/theme/tokens.stylex.js +4 -1
  87. package/dist/utils/focusReturn.d.ts +7 -25
  88. package/dist/utils/focusReturn.d.ts.map +1 -1
  89. package/dist/utils/focusReturn.js +8 -29
  90. package/dist/utils/index.d.ts +1 -1
  91. package/dist/utils/index.d.ts.map +1 -1
  92. package/dist/utils/index.js +1 -1
  93. package/dist/utils/isFocusDetached.d.ts +27 -0
  94. package/dist/utils/isFocusDetached.d.ts.map +1 -0
  95. package/dist/utils/isFocusDetached.js +32 -0
  96. package/dist/utils/pressFeedback.d.ts +6 -0
  97. package/dist/utils/pressFeedback.d.ts.map +1 -1
  98. package/dist/utils/pressFeedback.js +4 -4
  99. package/locales/en.json +37 -9
  100. package/locales/pseudo.json +27 -6
  101. package/package.json +4 -4
  102. package/src/BottomSheet/BottomSheetSwitcher.doc.mjs +5 -0
  103. package/src/DateInput/PickerWheel.tsx +2 -6
  104. package/src/DateInput/Wheel.tsx +67 -22
  105. package/src/HoverCard/useHoverCard.tsx +6 -1
  106. package/src/Icon/Icon.doc.mjs +3 -3
  107. package/src/Icon/Icon.tsx +19 -4
  108. package/src/Layer/useLayer.tsx +1 -1
  109. package/src/Layout/index.ts +1 -1
  110. package/src/Layout/layoutReset.ts +1 -1
  111. package/src/Layout/overlayPaddingReset.stylex.ts +73 -0
  112. package/src/Layout/padding.stylex.ts +9 -133
  113. package/src/Layout/paddingStyles.stylex.ts +87 -0
  114. package/src/Lightbox/Lightbox.tsx +1 -1
  115. package/src/MobileNav/MobileNav.tsx +1 -1
  116. package/src/Overlay/Overlay.tsx +7 -2
  117. package/src/Popover/usePopover.tsx +2 -2
  118. package/src/PowerSearch/PowerSearch.doc.mjs +2 -2
  119. package/src/PowerSearch/PowerSearch.tsx +5 -3
  120. package/src/PowerSearch/PowerSearchBottomSheet.tsx +237 -62
  121. package/src/Resizable/ResizeHandle.tsx +18 -26
  122. package/src/Resizable/createResizable.ts +242 -27
  123. package/src/Resizable/separatorAttributes.ts +73 -0
  124. package/src/Resizable/useResizable.ts +2 -2
  125. package/src/Stepper/Stepper.tsx +10 -27
  126. package/src/Table/plugins/rowExpansion/useTableRowExpansion.tsx +27 -7
  127. package/src/Table/plugins/tree/useTableTreeData.tsx +43 -20
  128. package/src/Table/useTableRowExpansion.doc.mjs +9 -0
  129. package/src/Table/useTableTreeData.doc.mjs +15 -3
  130. package/src/Tokenizer/Tokenizer.tsx +1 -1
  131. package/src/Tokenizer/TokenizerBottomSheet.tsx +8 -12
  132. package/src/Tooltip/useTooltip.tsx +6 -0
  133. package/src/hooks/actionGroupTracker.ts +5 -4
  134. package/src/i18n/generated-english/PowerSearch/PowerSearchBottomSheet.generated.ts +5 -2
  135. package/src/i18n/generated-english/Resizable/createResizable.generated.ts +14 -0
  136. package/src/i18n/generated-english/Table/plugins/rowExpansion/useTableRowExpansion.generated.ts +3 -1
  137. package/src/i18n/generated-english/Table/plugins/tree/useTableTreeData.generated.ts +3 -1
  138. package/src/i18n/generated-locales/en.generated.ts +10 -4
  139. package/src/i18n/generated-locales/pseudo.generated.ts +10 -4
  140. package/src/motion/MEASUREMENTS.md +10 -0
  141. package/src/motion/README.md +1 -0
  142. package/src/motion/uikit/datePicker.ts +60 -0
  143. package/src/motion/uikit/index.ts +4 -3
  144. package/src/theme/generateThemeRules.ts +14 -12
  145. package/src/theme/themeMotion.ts +10 -2
  146. package/src/theme/tokens.stylex.ts +2 -0
  147. package/src/utils/focusReturn.ts +8 -31
  148. package/src/utils/index.ts +1 -1
  149. package/src/utils/isFocusDetached.ts +34 -0
  150. package/src/utils/pressFeedback.ts +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"PickerWheel.d.ts","sourceRoot":"","sources":["../../src/DateInput/PickerWheel.tsx"],"names":[],"mappings":"AAmDA,OAAO,EAKL,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AA6HxB;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAe,GAChB,EAAE,UAAU,+BAghBZ;yBAthBe,WAAW"}
1
+ {"version":3,"file":"PickerWheel.d.ts","sourceRoot":"","sources":["../../src/DateInput/PickerWheel.tsx"],"names":[],"mappings":"AAmDA,OAAO,EAKL,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AA2HxB;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAe,GAChB,EAAE,UAAU,+BA8gBZ;yBAphBe,WAAW"}
@@ -468,9 +468,6 @@ export function PickerWheel({
468
468
  isEnabled: isActive,
469
469
  isPointerKept: true
470
470
  });
471
-
472
- // A key commits the row at `position` at once and turns the wheel there
473
- // from `offset`.
474
471
  const turnToPosition = useCallback((position, offset) => {
475
472
  const current = latestRef.current;
476
473
  const option = current.options[position];
@@ -1 +1 @@
1
- {"version":3,"file":"Wheel.d.ts","sourceRoot":"","sources":["../../src/DateInput/Wheel.tsx"],"names":[],"mappings":"AAoDA,OAAO,EAIL,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,mBAAmB,EACnB,KAAK,WAAW,EAChB,KAAK,UAAU,GAChB,MAAM,gBAAgB,CAAC;AA6JxB;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,+BAKtC;yBALe,KAAK;;;AASrB;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAe,GAChB,EAAE,UAAU,+BA6TZ;yBAnUe,WAAW"}
1
+ {"version":3,"file":"Wheel.d.ts","sourceRoot":"","sources":["../../src/DateInput/Wheel.tsx"],"names":[],"mappings":"AAoDA,OAAO,EAIL,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,mBAAmB,EACnB,KAAK,WAAW,EAChB,KAAK,UAAU,GAChB,MAAM,gBAAgB,CAAC;AAoMxB;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,+BAKtC;yBALe,KAAK;;;AASrB;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAe,GAChB,EAAE,UAAU,+BAmUZ;yBAzUe,WAAW"}
@@ -51,10 +51,21 @@ const ITEM_BLOCK_SIZE = dateInputTouchSizes.wheelItemSize;
51
51
  * at the top — which is what a `view()` timeline over the `cover` range means,
52
52
  * and why this reads as a cylinder rotating under the finger.
53
53
  */
54
- const falloff = "x1tut0r7-B";
54
+ const tip = "x18sn2u9-B";
55
55
 
56
- /** Motion-free equivalent: the depth cue survives as opacity alone. */
57
- const fadeOnly = "xuvekqa-B";
56
+ /**
57
+ * Colour keeps every row at WCAG AA, which an opacity fade does not. The ends
58
+ * stop halfway to the secondary text colour, because that colour alone falls
59
+ * below AA in two shipped themes.
60
+ */
61
+ const fade = "x1ofkhwi-B";
62
+
63
+ /**
64
+ * A disabled row keeps its disabled colour and fades by opacity instead: WCAG
65
+ * 1.4.3 exempts inactive components from the contrast minimum.
66
+ */
67
+ const tipAndDim = "x1tut0r7-B";
68
+ const dim = "xuvekqa-B";
58
69
  const styles = {
59
70
  scroller: {
60
71
  kZKoxP: "xm8gem",
@@ -340,8 +351,6 @@ export function ScrollWheel({
340
351
  useOwnScrollGesture(scrollerRef, 'all', {
341
352
  isEnabled: isActive
342
353
  });
343
-
344
- // A key commits the row it moves to and scrolls the column there.
345
354
  const moveTo = useCallback(row => {
346
355
  const option = row == null ? undefined : options[row];
347
356
  if (row == null || option == null || option.isDisabled) {
@@ -409,20 +418,37 @@ export function ScrollWheel({
409
418
  0: {
410
419
  className: "x78zum5 x6s0dn4 xl56j7k x6hpsvf xf314gf x1hdbdi8 xc342km xng3xce xjbqb8w x18juvz8 x1sodnla x1tgivj0 xuxw1ft x1ypdohk x16khyan x87ps6o x1jbe559 xuedmi6"
411
420
  },
421
+ 4: {
422
+ className: "x78zum5 x6s0dn4 xl56j7k x6hpsvf xf314gf x1hdbdi8 xc342km xng3xce xjbqb8w x18juvz8 x1sodnla x1tgivj0 xuxw1ft x1ypdohk x16khyan x87ps6o x1jbe559 xuedmi6 xssvwzl x190lv1 xg8s4dl x1u6ievf xwms9i0 x1esw782"
423
+ },
412
424
  2: {
413
425
  className: "x78zum5 x6s0dn4 xl56j7k x6hpsvf xf314gf x1hdbdi8 xc342km xng3xce xjbqb8w x18juvz8 xuxw1ft x1ypdohk x16khyan x87ps6o x1jbe559 xuedmi6 xjse4m1 x2mo6ok"
414
426
  },
427
+ 6: {
428
+ className: "x78zum5 x6s0dn4 xl56j7k x6hpsvf xf314gf x1hdbdi8 xc342km xng3xce xjbqb8w x18juvz8 xuxw1ft x1ypdohk x16khyan x87ps6o x1jbe559 xuedmi6 xssvwzl x190lv1 xg8s4dl x1u6ievf xwms9i0 x1esw782 xjse4m1 x2mo6ok"
429
+ },
415
430
  1: {
416
431
  className: "x78zum5 x6s0dn4 xl56j7k x6hpsvf xf314gf x1hdbdi8 xc342km xng3xce xjbqb8w x18juvz8 x1sodnla xuxw1ft x87ps6o x1jbe559 xuedmi6 xnbbluu xt0e3qv"
417
432
  },
433
+ 5: {
434
+ className: "x78zum5 x6s0dn4 xl56j7k x6hpsvf xf314gf x1hdbdi8 xc342km xng3xce xjbqb8w x18juvz8 x1sodnla xuxw1ft x87ps6o x1jbe559 xuedmi6 xssvwzl x190lv1 xg8s4dl x1u6ievf xwms9i0 x1esw782 xnbbluu xt0e3qv"
435
+ },
418
436
  3: {
419
437
  className: "x78zum5 x6s0dn4 xl56j7k x6hpsvf xf314gf x1hdbdi8 xc342km xng3xce xjbqb8w x18juvz8 xuxw1ft x87ps6o x1jbe559 xuedmi6 x2mo6ok xnbbluu xt0e3qv"
438
+ },
439
+ 7: {
440
+ className: "x78zum5 x6s0dn4 xl56j7k x6hpsvf xf314gf x1hdbdi8 xc342km xng3xce xjbqb8w x18juvz8 xuxw1ft x87ps6o x1jbe559 xuedmi6 xssvwzl x190lv1 xg8s4dl x1u6ievf xwms9i0 x1esw782 x2mo6ok xnbbluu xt0e3qv"
420
441
  }
421
- }[!!(index === activeIndex) << 1 | !!option.isDisabled << 0],
442
+ }[!!(index !== activeIndex && !option.isDisabled) << 2 | !!(index === activeIndex) << 1 | !!option.isDisabled << 0],
422
443
  children: /*#__PURE__*/_jsx("span", {
423
444
  ...{
424
- className: "x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d xb3r6kr xlyipyv x1iu2jvn xk3h8ob x190lv1 xg8s4dl x1u6ievf xwms9i0 x1esw782 xlp1x4z"
425
- },
445
+ 0: {
446
+ className: "x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d xb3r6kr xlyipyv x1trhrh1 x1pljy2o x190lv1 xg8s4dl x1u6ievf xwms9i0 x1esw782 xlp1x4z"
447
+ },
448
+ 1: {
449
+ className: "x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d xb3r6kr xlyipyv x190lv1 xg8s4dl x1u6ievf xwms9i0 x1esw782 xlp1x4z x1iu2jvn xk3h8ob"
450
+ }
451
+ }[!!option.isDisabled << 0],
426
452
  children: option.label
427
453
  })
428
454
  }, option.value))
@@ -1 +1 @@
1
- {"version":3,"file":"useHoverCard.d.ts","sourceRoot":"","sources":["../../src/HoverCard/useHoverCard.tsx"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AAEH,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,OAAO,CAAC;AAGf,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,0BAA0B,CAAC;AA8BlC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;AAEtD,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC;IAE3B;;;OAGG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC;IAE3B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;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C,CAAC;IAE9B;;;OAGG;IACH,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IAEtC;;;;OAIG;IACH,cAAc,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IAEzC;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;;;;;;OAOG;IACH,eAAe,EAAE,CACf,QAAQ,EAAE,SAAS,EACnB,KAAK,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,aAAa,CAAC,KAC5C,SAAS,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,IAAI,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;GAgBG;AAEH,wBAAgB,YAAY,CAAC,OAAO,GAAE,gBAAqB,GAAG,eAAe,CAke5E"}
@@ -197,7 +197,12 @@ export function useHoverCard(options = {}) {
197
197
 
198
198
  // Tap-to-open on touch; on a mouse this does nothing and hover still rules.
199
199
  const handlePointerDown = useCallback(event => {
200
- handleTouchPointerDown(event);
200
+ // A pen in range starts the hover show before it lands. Left pending,
201
+ // that show opens the card during the press. The tap then closes it.
202
+ if (handleTouchPointerDown(event) && showTimeoutRef.current) {
203
+ clearTimeout(showTimeoutRef.current);
204
+ showTimeoutRef.current = null;
205
+ }
201
206
  }, [handleTouchPointerDown]);
202
207
 
203
208
  // Under `auto`, whether focus counts is decided when it arrives, and a
@@ -106,9 +106,9 @@ export type IconType = ComponentType<SVGProps<SVGSVGElement>>;
106
106
  */
107
107
  export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'ref' | 'color'> {
108
108
  /**
109
- * Ref to the rendered SVG element when `icon` is an icon component. A
110
- * semantic or namespaced name renders inside an internal wrapper, and the
111
- * ref is not attached.
109
+ * Ref to the rendered SVG element. For a semantic or namespaced name it is
110
+ * the `<svg>` inside Icon's wrapper, or `null` when the resolved glyph has
111
+ * no `<svg>`.
112
112
  */
113
113
  ref?: React.Ref<SVGSVGElement>;
114
114
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/Icon/Icon.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,EAAE,EAAC,KAAK,aAAa,EAAE,KAAK,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/D,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,kBAAkB,CAAC;AAInD,OAAO,KAAK,EAAC,QAAQ,EAAE,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAIzC,OAAO,EAAiB,KAAK,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAEhE,YAAY,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAiDhD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8Df,CAAC;AAMH,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,WAAW,CAAC;AAEjD;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;AAE9D;;;GAGG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CACrC,QAAQ,CAAC,aAAa,CAAC,EACvB,KAAK,GAAG,OAAO,CAChB;IACC;;;;OAIG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IAC/B;;;;;;OAMG;IACH,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,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K,CAAC,SAAS,GAAG,QAAQ,EAChC,KAAK,CAAC,EAAE;IAAC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAC,GAC3C,KAAK,CAAC,SAAS,CAYjB"}
package/dist/Icon/Icon.js CHANGED
@@ -29,13 +29,14 @@
29
29
  * - /apps/storybook/stories/Icon.stories.tsx (storybook stories)
30
30
  * - /packages/cli/assets/templates/blocks/components/Icon/ (showcase blocks)
31
31
  */
32
- import React from 'react';
32
+ import React, { useCallback } from 'react';
33
33
  import * as stylex from '@stylexjs/stylex';
34
34
  import "../theme/tokens.stylex.js";
35
35
  import { colorVars } from "../theme/tokens.stylex.js";
36
36
  import { useThemeName } from "../theme/useTheme.js";
37
37
  import { resolveIcon } from "./globalIconRegistry.js";
38
38
  import { mergeProps } from "../utils/mergeProps.js";
39
+ import { mergeRefs } from "../utils/mergeRefs.js";
39
40
  import { themeProps } from "../utils/themeProps.js";
40
41
  import { useIconSize } from "./IconDefaultSizeContext.js";
41
42
  import { iconSizeStyles } from "./IconSize.stylex.js";
@@ -251,6 +252,7 @@ export function Icon({
251
252
  className: className,
252
253
  style: style,
253
254
  xstyle: xstyle,
255
+ svgRef: ref,
254
256
  spanProps: props
255
257
  });
256
258
  }
@@ -295,6 +297,7 @@ function IconFromRegistry({
295
297
  className,
296
298
  style,
297
299
  xstyle,
300
+ svgRef,
298
301
  spanProps
299
302
  }) {
300
303
  const themeName = useThemeName();
@@ -302,6 +305,11 @@ function IconFromRegistry({
302
305
  size,
303
306
  variant
304
307
  });
308
+ // The glyph can change while the span stays. Attach the ref again when it
309
+ // does.
310
+ const attachSvgRef = useCallback(span => svgRef == null ? undefined : mergeRefs(svgRef)(span?.querySelector('svg') ?? null),
311
+ // eslint-disable-next-line @eslint-react/exhaustive-deps -- resolveIcon's inputs: a new glyph gets a new attach, and a function entry's new element each render does not.
312
+ [svgRef, name, themeName, size, variant]);
305
313
  if (resolvedIcon == null) {
306
314
  return null;
307
315
  }
@@ -313,6 +321,12 @@ function IconFromRegistry({
313
321
  // precedence (spread before the internal merge).
314
322
  const restSpanProps = spanProps ?? {};
315
323
  return /*#__PURE__*/_jsx("span", {
324
+ ref: svgRef == null ? undefined : attachSvgRef
325
+ // Derived a11y — decorative (aria-hidden) by default, or a meaningful
326
+ // image (role="img" + aria-label) when `label` is set. Placed BEFORE the
327
+ // prop spread so consumers can still override it with explicit
328
+ // aria-hidden/role/aria-label. This mirrors component-mode Icon.
329
+ ,
316
330
  ...a11yProps,
317
331
  ...restSpanProps,
318
332
  ...mergeProps(themeProps('icon', {
@@ -31,7 +31,7 @@ import { afterPopoverOperations, isBrowserHideInFlight, isPopoverOperationInFlig
31
31
  import { preserveAnimations } from "./preserveAnimations.js";
32
32
  import { useLayerContext } from "./LayerContext.js";
33
33
  import { useIsomorphicLayoutEffect } from "../hooks/useIsomorphicLayoutEffect.js";
34
- import { overlayPaddingReset } from "../Layout/padding.stylex.js";
34
+ import { overlayPaddingReset } from "../Layout/overlayPaddingReset.stylex.js";
35
35
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
36
36
  const _temp = {
37
37
  keoZOQ: "x1vhfslr",
@@ -8,7 +8,7 @@
8
8
  */
9
9
  export { container } from './container.stylex.js';
10
10
  export type { ContainerComponent, ContainerOptions, SpacingToken, } from './container.stylex.js';
11
- export { overlayPaddingReset } from './padding.stylex.js';
11
+ export { overlayPaddingReset } from './overlayPaddingReset.stylex.js';
12
12
  export { edgeCompSlot, EDGE_COMP_ATTR } from './edgeCompensation.stylex.js';
13
13
  export { stack } from '../Stack/stack.stylex.js';
14
14
  export type { StackOptions, StackDirection, StackCrossAlignment, StackMainAlignment, StackWrap, SpacingStep, } from '../Stack/stack.stylex.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Layout/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AAGH,OAAO,EAAC,SAAS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W,EACX,cAAc,GACf,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAC,IAAI,EAAC,MAAM,SAAS,CAAC;AAC7B,YAAY,EAAC,SAAS,EAAC,MAAM,SAAS,CAAC;AAEvC,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACnC,YAAY,EAAC,YAAY,EAAE,cAAc,EAAC,MAAM,YAAY,CAAC;AAE7D,YAAY,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAG9C,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,YAAY,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,UAAU,CAAC;AAExD,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,YAAY,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,YAAY,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,YAAY,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,YAAY,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAC5D,YAAY,EAAC,yBAAyB,EAAC,MAAM,wBAAwB,CAAC"}
@@ -15,7 +15,7 @@
15
15
  export { container } from "./container.stylex.js";
16
16
  // Overlay padding-variable reset (applied on overlay roots so the container
17
17
  // padding system does not cross a fixed/top-layer boundary)
18
- export { overlayPaddingReset } from "./padding.stylex.js";
18
+ export { overlayPaddingReset } from "./overlayPaddingReset.stylex.js";
19
19
 
20
20
  // Edge compensation utility
21
21
  export { edgeCompSlot, EDGE_COMP_ATTR } from "./edgeCompensation.stylex.js";
@@ -18,7 +18,7 @@
18
18
  */
19
19
 
20
20
  import * as stylex from '@stylexjs/stylex';
21
- import { overlayPaddingReset } from "./padding.stylex.js";
21
+ import { overlayPaddingReset } from "./overlayPaddingReset.stylex.js";
22
22
  const resetBeyondOverlays = {
23
23
  root: {
24
24
  "--layout-content-width": "x1vpwbdg",
@@ -0,0 +1,68 @@
1
+ /**
2
+ * @file overlayPaddingReset.stylex.ts
3
+ * @input Uses @stylexjs/stylex
4
+ * @output overlayPaddingReset: the container padding boundary at an overlay's root
5
+ * @position Layout utility, re-exported by padding.stylex.ts and Layout/index.ts.
6
+ * Its own module so an overlay's eager code (useLayer) imports it without
7
+ * padding.stylex.ts: a lazily loaded overlay that uses the container padding
8
+ * styles there then keeps them out of the eager chunk it shares with this
9
+ * module.
10
+ */
11
+ import * as stylex from '@stylexjs/stylex';
12
+ /**
13
+ * Padding-variable reset for overlay roots (Dialog, BottomSheet, Drawer,
14
+ * MobileNav, Lightbox, and every layer surface).
15
+ *
16
+ * ## Why an overlay needs this
17
+ *
18
+ * The container padding system talks to descendants through inherited custom
19
+ * properties: a padded container announces its padding, and children read the
20
+ * value either to apply it or to cancel it with a negative margin
21
+ * (`Section`, `Divider`, `Layout`, `Table`).
22
+ *
23
+ * Inheritance follows the DOM, but an overlay leaves its parent's visual box —
24
+ * a fixed/top-layer `<dialog>` is a DOM descendant of the padded page while
25
+ * being nowhere near it on screen. It inherits values describing padding that
26
+ * is not there, and its content compensates against phantom space: a `Section`
27
+ * inside a 640px sheet rendered 672px wide and hung off both edges.
28
+ *
29
+ * Two families leak, and they need opposite treatments:
30
+ *
31
+ * - `--container-padding-*` -> `0px`. Descendants SUBTRACT these (bleed
32
+ * margins). The overlay root has no padding of its own to escape, so the
33
+ * honest answer is zero. Nested containers that do set padding (a Dialog's
34
+ * content wrapper) re-announce their own values below this point, so
35
+ * legitimate edge-to-edge bleed inside the overlay is unaffected.
36
+ * - `--layout-padding-*` and `--_section-padding-propagated` -> `initial`.
37
+ * Descendants ADD these, so zeroing them would strip padding rather than
38
+ * restore it. `initial` makes each guaranteed-invalid, so readers fall
39
+ * through their own `var(…, fallback)` chain and land on the theme default —
40
+ * which is what an overlay at the top of the tree should show.
41
+ *
42
+ * `initial` is also why propagation moved off `--astryx-section-padding`: that
43
+ * name is public theme surface, set at the theme root, and making it invalid
44
+ * here would blank the theme's own section padding inside every overlay.
45
+ *
46
+ * Apply on the overlay's outermost styled element.
47
+ *
48
+ * @example
49
+ * ```
50
+ * <dialog {...stylex.props(styles.dialog, overlayPaddingReset.reset)} />
51
+ * ```
52
+ */
53
+ export declare const overlayPaddingReset: Readonly<{
54
+ readonly reset: Readonly<{
55
+ readonly '--container-padding-inline-start': stylex.StyleXClassNameFor<"--container-padding-inline-start", "0px">;
56
+ readonly '--container-padding-inline-end': stylex.StyleXClassNameFor<"--container-padding-inline-end", "0px">;
57
+ readonly '--container-padding-block-start': stylex.StyleXClassNameFor<"--container-padding-block-start", "0px">;
58
+ readonly '--container-padding-block-end': stylex.StyleXClassNameFor<"--container-padding-block-end", "0px">;
59
+ readonly '--layout-padding-outer-x': stylex.StyleXClassNameFor<"--layout-padding-outer-x", "initial">;
60
+ readonly '--layout-padding-outer-y': stylex.StyleXClassNameFor<"--layout-padding-outer-y", "initial">;
61
+ readonly '--layout-padding-own-outer-x': stylex.StyleXClassNameFor<"--layout-padding-own-outer-x", "initial">;
62
+ readonly '--layout-padding-own-outer-y': stylex.StyleXClassNameFor<"--layout-padding-own-outer-y", "initial">;
63
+ readonly '--layout-padding-inner-x': stylex.StyleXClassNameFor<"--layout-padding-inner-x", "initial">;
64
+ readonly '--layout-padding-inner-y': stylex.StyleXClassNameFor<"--layout-padding-inner-y", "initial">;
65
+ readonly '--_section-padding-propagated': stylex.StyleXClassNameFor<"--_section-padding-propagated", "initial">;
66
+ }>;
67
+ }>;
68
+ //# sourceMappingURL=overlayPaddingReset.stylex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlayPaddingReset.stylex.d.ts","sourceRoot":"","sources":["../../src/Layout/overlayPaddingReset.stylex.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AAEH,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;EAgB9B,CAAC"}
@@ -0,0 +1,72 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /**
4
+ * @file overlayPaddingReset.stylex.ts
5
+ * @input Uses @stylexjs/stylex
6
+ * @output overlayPaddingReset: the container padding boundary at an overlay's root
7
+ * @position Layout utility, re-exported by padding.stylex.ts and Layout/index.ts.
8
+ * Its own module so an overlay's eager code (useLayer) imports it without
9
+ * padding.stylex.ts: a lazily loaded overlay that uses the container padding
10
+ * styles there then keeps them out of the eager chunk it shares with this
11
+ * module.
12
+ */
13
+
14
+ import * as stylex from '@stylexjs/stylex';
15
+
16
+ /**
17
+ * Padding-variable reset for overlay roots (Dialog, BottomSheet, Drawer,
18
+ * MobileNav, Lightbox, and every layer surface).
19
+ *
20
+ * ## Why an overlay needs this
21
+ *
22
+ * The container padding system talks to descendants through inherited custom
23
+ * properties: a padded container announces its padding, and children read the
24
+ * value either to apply it or to cancel it with a negative margin
25
+ * (`Section`, `Divider`, `Layout`, `Table`).
26
+ *
27
+ * Inheritance follows the DOM, but an overlay leaves its parent's visual box —
28
+ * a fixed/top-layer `<dialog>` is a DOM descendant of the padded page while
29
+ * being nowhere near it on screen. It inherits values describing padding that
30
+ * is not there, and its content compensates against phantom space: a `Section`
31
+ * inside a 640px sheet rendered 672px wide and hung off both edges.
32
+ *
33
+ * Two families leak, and they need opposite treatments:
34
+ *
35
+ * - `--container-padding-*` -> `0px`. Descendants SUBTRACT these (bleed
36
+ * margins). The overlay root has no padding of its own to escape, so the
37
+ * honest answer is zero. Nested containers that do set padding (a Dialog's
38
+ * content wrapper) re-announce their own values below this point, so
39
+ * legitimate edge-to-edge bleed inside the overlay is unaffected.
40
+ * - `--layout-padding-*` and `--_section-padding-propagated` -> `initial`.
41
+ * Descendants ADD these, so zeroing them would strip padding rather than
42
+ * restore it. `initial` makes each guaranteed-invalid, so readers fall
43
+ * through their own `var(…, fallback)` chain and land on the theme default —
44
+ * which is what an overlay at the top of the tree should show.
45
+ *
46
+ * `initial` is also why propagation moved off `--astryx-section-padding`: that
47
+ * name is public theme surface, set at the theme root, and making it invalid
48
+ * here would blank the theme's own section padding inside every overlay.
49
+ *
50
+ * Apply on the overlay's outermost styled element.
51
+ *
52
+ * @example
53
+ * ```
54
+ * <dialog {...stylex.props(styles.dialog, overlayPaddingReset.reset)} />
55
+ * ```
56
+ */
57
+ export const overlayPaddingReset = {
58
+ reset: {
59
+ "--container-padding-inline-start": "xrhngw9",
60
+ "--container-padding-inline-end": "xjsfl84",
61
+ "--container-padding-block-start": "x1047aw6",
62
+ "--container-padding-block-end": "xax9j7h",
63
+ "--layout-padding-outer-x": "xdt8ak2",
64
+ "--layout-padding-outer-y": "x1rs4lu4",
65
+ "--layout-padding-own-outer-x": "x1vii845",
66
+ "--layout-padding-own-outer-y": "xojybgt",
67
+ "--layout-padding-inner-x": "x1qfll2g",
68
+ "--layout-padding-inner-y": "xyvxpqs",
69
+ "--_section-padding-propagated": "x1f17rg1",
70
+ $$css: true
71
+ }
72
+ };
@@ -1,87 +1,19 @@
1
1
  /**
2
2
  * @file padding.stylex.ts
3
3
  * @input Uses @stylexjs/stylex, spacing from theme
4
- * @output StyleX styles for numeric padding prop on layout components
4
+ * @output StyleX styles for numeric padding prop on layout components, the
5
+ * container padding variables, and (re-exported) paddingStyles and
6
+ * overlayPaddingReset
5
7
  * @position Layout utility; used by Card, Section, and Layout sub-components
6
8
  */
7
9
  import * as stylex from '@stylexjs/stylex';
8
10
  import type { SpacingStep } from '../utils/types.js';
11
+ export { paddingStyles } from './paddingStyles.stylex.js';
12
+ export { overlayPaddingReset } from './overlayPaddingReset.stylex.js';
9
13
  /**
10
14
  * Maps numeric SpacingStep values to SpacingToken keys used by the container system.
11
15
  */
12
16
  export declare const spacingStepToToken: Record<SpacingStep, string>;
13
- /**
14
- * Padding styles for all sides using spacing tokens.
15
- * Each key applies uniform padding to all four sides.
16
- */
17
- export declare const paddingStyles: Readonly<{
18
- readonly 0: Readonly<{
19
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "0rem">;
20
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "0rem">;
21
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "0rem">;
22
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "0rem">;
23
- }>;
24
- readonly 0.5: Readonly<{
25
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "0.125rem">;
26
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "0.125rem">;
27
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "0.125rem">;
28
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "0.125rem">;
29
- }>;
30
- readonly 1: Readonly<{
31
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "0.25rem">;
32
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "0.25rem">;
33
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "0.25rem">;
34
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "0.25rem">;
35
- }>;
36
- readonly 1.5: Readonly<{
37
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "0.375rem">;
38
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "0.375rem">;
39
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "0.375rem">;
40
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "0.375rem">;
41
- }>;
42
- readonly 2: Readonly<{
43
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "0.5rem">;
44
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "0.5rem">;
45
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "0.5rem">;
46
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "0.5rem">;
47
- }>;
48
- readonly 3: Readonly<{
49
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "0.75rem">;
50
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "0.75rem">;
51
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "0.75rem">;
52
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "0.75rem">;
53
- }>;
54
- readonly 4: Readonly<{
55
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "1rem">;
56
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "1rem">;
57
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "1rem">;
58
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "1rem">;
59
- }>;
60
- readonly 5: Readonly<{
61
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "1.25rem">;
62
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "1.25rem">;
63
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "1.25rem">;
64
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "1.25rem">;
65
- }>;
66
- readonly 6: Readonly<{
67
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "1.5rem">;
68
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "1.5rem">;
69
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "1.5rem">;
70
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "1.5rem">;
71
- }>;
72
- readonly 8: Readonly<{
73
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "2rem">;
74
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "2rem">;
75
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "2rem">;
76
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "2rem">;
77
- }>;
78
- readonly 10: Readonly<{
79
- readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "2.5rem">;
80
- readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "2.5rem">;
81
- readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "2.5rem">;
82
- readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "2.5rem">;
83
- }>;
84
- }>;
85
17
  /**
86
18
  * Container padding inline CSS variable styles for edge compensation.
87
19
  * Sets --container-padding-inline-start and --container-padding-inline-end so
@@ -684,60 +616,4 @@ export declare const sectionPaddingPropagationStyles: Readonly<{
684
616
  readonly '--_section-padding-propagated': stylex.StyleXClassNameFor<"--_section-padding-propagated", "2.5rem">;
685
617
  }>;
686
618
  }>;
687
- /**
688
- * Padding-variable reset for overlay roots (Dialog, BottomSheet, Drawer,
689
- * MobileNav, Lightbox, and every layer surface).
690
- *
691
- * ## Why an overlay needs this
692
- *
693
- * The container padding system talks to descendants through inherited custom
694
- * properties: a padded container announces its padding, and children read the
695
- * value either to apply it or to cancel it with a negative margin
696
- * (`Section`, `Divider`, `Layout`, `Table`).
697
- *
698
- * Inheritance follows the DOM, but an overlay leaves its parent's visual box —
699
- * a fixed/top-layer `<dialog>` is a DOM descendant of the padded page while
700
- * being nowhere near it on screen. It inherits values describing padding that
701
- * is not there, and its content compensates against phantom space: a `Section`
702
- * inside a 640px sheet rendered 672px wide and hung off both edges (#5208).
703
- *
704
- * Two families leak, and they need opposite treatments:
705
- *
706
- * - `--container-padding-*` -> `0px`. Descendants SUBTRACT these (bleed
707
- * margins). The overlay root has no padding of its own to escape, so the
708
- * honest answer is zero. Nested containers that do set padding (a Dialog's
709
- * content wrapper) re-announce their own values below this point, so
710
- * legitimate edge-to-edge bleed inside the overlay is unaffected.
711
- * - `--layout-padding-*` and `--_section-padding-propagated` -> `initial`.
712
- * Descendants ADD these, so zeroing them would strip padding rather than
713
- * restore it. `initial` makes each guaranteed-invalid, so readers fall
714
- * through their own `var(…, fallback)` chain and land on the theme default —
715
- * which is what an overlay at the top of the tree should show.
716
- *
717
- * `initial` is also why propagation moved off `--astryx-section-padding`: that
718
- * name is public theme surface, set at the theme root, and making it invalid
719
- * here would blank the theme's own section padding inside every overlay.
720
- *
721
- * Apply on the overlay's outermost styled element.
722
- *
723
- * @example
724
- * ```
725
- * <dialog {...stylex.props(styles.dialog, overlayPaddingReset.reset)} />
726
- * ```
727
- */
728
- export declare const overlayPaddingReset: Readonly<{
729
- readonly reset: Readonly<{
730
- readonly '--container-padding-inline-start': stylex.StyleXClassNameFor<"--container-padding-inline-start", "0px">;
731
- readonly '--container-padding-inline-end': stylex.StyleXClassNameFor<"--container-padding-inline-end", "0px">;
732
- readonly '--container-padding-block-start': stylex.StyleXClassNameFor<"--container-padding-block-start", "0px">;
733
- readonly '--container-padding-block-end': stylex.StyleXClassNameFor<"--container-padding-block-end", "0px">;
734
- readonly '--layout-padding-outer-x': stylex.StyleXClassNameFor<"--layout-padding-outer-x", "initial">;
735
- readonly '--layout-padding-outer-y': stylex.StyleXClassNameFor<"--layout-padding-outer-y", "initial">;
736
- readonly '--layout-padding-own-outer-x': stylex.StyleXClassNameFor<"--layout-padding-own-outer-x", "initial">;
737
- readonly '--layout-padding-own-outer-y': stylex.StyleXClassNameFor<"--layout-padding-own-outer-y", "initial">;
738
- readonly '--layout-padding-inner-x': stylex.StyleXClassNameFor<"--layout-padding-inner-x", "initial">;
739
- readonly '--layout-padding-inner-y': stylex.StyleXClassNameFor<"--layout-padding-inner-y", "initial">;
740
- readonly '--_section-padding-propagated': stylex.StyleXClassNameFor<"--_section-padding-propagated", "initial">;
741
- }>;
742
- }>;
743
619
  //# sourceMappingURL=padding.stylex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"padding.stylex.d.ts","sourceRoot":"","sources":["../../src/Layout/padding.stylex.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAE3C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAY1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmExB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C1C,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY9C,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY5C,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYvC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYv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