@astryxdesign/core 0.1.4-canary.bed6b84 → 0.1.4-canary.bf7c0da

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 (98) hide show
  1. package/dist/Carousel/carousel.markers.stylex.d.ts +7 -0
  2. package/dist/Carousel/carousel.markers.stylex.d.ts.map +1 -0
  3. package/dist/Carousel/carousel.markers.stylex.js +12 -0
  4. package/dist/Chat/ChatDictationButton.d.ts +1 -1
  5. package/dist/Chat/ChatDictationButton.d.ts.map +1 -1
  6. package/dist/Chat/ChatDictationButton.js +1 -3
  7. package/dist/Chat/ChatLayoutScrollButton.d.ts +1 -1
  8. package/dist/Chat/ChatLayoutScrollButton.d.ts.map +1 -1
  9. package/dist/Chat/ChatLayoutScrollButton.js +1 -3
  10. package/dist/Chat/ChatMessageMetadata.d.ts +1 -1
  11. package/dist/Chat/ChatMessageMetadata.d.ts.map +1 -1
  12. package/dist/Chat/ChatMessageMetadata.js +1 -3
  13. package/dist/Chat/ChatSystemMessage.d.ts +1 -1
  14. package/dist/Chat/ChatSystemMessage.d.ts.map +1 -1
  15. package/dist/Chat/ChatSystemMessage.js +6 -6
  16. package/dist/Chat/ChatTokenizedText.d.ts +1 -1
  17. package/dist/Chat/ChatTokenizedText.d.ts.map +1 -1
  18. package/dist/Chat/ChatTokenizedText.js +7 -16
  19. package/dist/CheckboxList/CheckboxListItem.d.ts +1 -1
  20. package/dist/CheckboxList/CheckboxListItem.d.ts.map +1 -1
  21. package/dist/CheckboxList/CheckboxListItem.js +1 -3
  22. package/dist/ContextMenu/ContextMenu.d.ts +2 -7
  23. package/dist/ContextMenu/ContextMenu.d.ts.map +1 -1
  24. package/dist/ContextMenu/ContextMenu.js +36 -67
  25. package/dist/Pagination/Pagination.d.ts +1 -1
  26. package/dist/Pagination/Pagination.d.ts.map +1 -1
  27. package/dist/Pagination/Pagination.js +3 -5
  28. package/dist/RadioList/RadioListItem.d.ts +1 -1
  29. package/dist/RadioList/RadioListItem.d.ts.map +1 -1
  30. package/dist/RadioList/RadioListItem.js +3 -6
  31. package/dist/SegmentedControl/SegmentedControl.d.ts +1 -1
  32. package/dist/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  33. package/dist/SegmentedControl/SegmentedControl.js +4 -15
  34. package/dist/SideNav/SideNavCollapseButton.d.ts +1 -1
  35. package/dist/SideNav/SideNavCollapseButton.d.ts.map +1 -1
  36. package/dist/SideNav/SideNavCollapseButton.js +1 -3
  37. package/dist/SideNav/SideNavSection.d.ts +1 -1
  38. package/dist/SideNav/SideNavSection.d.ts.map +1 -1
  39. package/dist/SideNav/SideNavSection.js +2 -4
  40. package/dist/Switch/Switch.d.ts +1 -1
  41. package/dist/Switch/Switch.d.ts.map +1 -1
  42. package/dist/Switch/Switch.js +1 -3
  43. package/dist/Table/TableBody.d.ts +1 -1
  44. package/dist/Table/TableBody.d.ts.map +1 -1
  45. package/dist/Table/TableBody.js +2 -6
  46. package/dist/Table/TableFooter.d.ts +1 -1
  47. package/dist/Table/TableFooter.d.ts.map +1 -1
  48. package/dist/Table/TableFooter.js +2 -6
  49. package/dist/Table/TableHeader.d.ts +1 -1
  50. package/dist/Table/TableHeader.d.ts.map +1 -1
  51. package/dist/Table/TableHeader.js +2 -6
  52. package/dist/Timestamp/Timestamp.d.ts +1 -1
  53. package/dist/Timestamp/Timestamp.d.ts.map +1 -1
  54. package/dist/Timestamp/Timestamp.js +5 -16
  55. package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts +1 -1
  56. package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts.map +1 -1
  57. package/dist/TopNav/TopNavMegaMenuFeaturedCard.js +4 -15
  58. package/dist/astryx.umd.js +43 -43
  59. package/dist/astryx.umd.js.map +3 -3
  60. package/dist/hooks/useInteractiveRole.d.ts +2 -6
  61. package/dist/hooks/useInteractiveRole.d.ts.map +1 -1
  62. package/dist/hooks/useInteractiveRole.js +2 -6
  63. package/package.json +1 -1
  64. package/src/Carousel/carousel.markers.stylex.ts +10 -0
  65. package/src/Chat/ChatDictationButton.tsx +4 -4
  66. package/src/Chat/ChatLayoutScrollButton.tsx +1 -3
  67. package/src/Chat/ChatMessageMetadata.tsx +6 -4
  68. package/src/Chat/ChatSystemMessage.test.tsx +11 -26
  69. package/src/Chat/ChatSystemMessage.tsx +7 -7
  70. package/src/Chat/ChatTokenizedText.test.tsx +16 -29
  71. package/src/Chat/ChatTokenizedText.tsx +8 -15
  72. package/src/CheckboxList/CheckboxList.test.tsx +0 -19
  73. package/src/CheckboxList/CheckboxListItem.tsx +2 -11
  74. package/src/ContextMenu/ContextMenu.test.tsx +0 -72
  75. package/src/ContextMenu/ContextMenu.tsx +28 -85
  76. package/src/Pagination/Pagination.test.tsx +0 -19
  77. package/src/Pagination/Pagination.tsx +3 -5
  78. package/src/RadioList/RadioList.test.tsx +0 -19
  79. package/src/RadioList/RadioListItem.tsx +4 -9
  80. package/src/SegmentedControl/SegmentedControl.test.tsx +0 -45
  81. package/src/SegmentedControl/SegmentedControl.tsx +5 -16
  82. package/src/SideNav/SideNav.test.tsx +0 -46
  83. package/src/SideNav/SideNavCollapseButton.tsx +3 -4
  84. package/src/SideNav/SideNavSection.tsx +4 -6
  85. package/src/Switch/Switch.test.tsx +0 -19
  86. package/src/Switch/Switch.tsx +1 -3
  87. package/src/Table/Table.test.tsx +0 -36
  88. package/src/Table/TableBody.tsx +2 -15
  89. package/src/Table/TableFooter.tsx +2 -15
  90. package/src/Table/TableHeader.tsx +2 -15
  91. package/src/Timestamp/Timestamp.test.tsx +0 -27
  92. package/src/Timestamp/Timestamp.tsx +6 -20
  93. package/src/TopNav/TopNav.test.tsx +0 -18
  94. package/src/TopNav/TopNavMegaMenuFeaturedCard.tsx +2 -9
  95. package/src/hooks/useInteractiveRole.ts +4 -12
  96. package/src/Chat/ChatDictationButton.test.tsx +0 -43
  97. package/src/Chat/ChatLayoutScrollButton.test.tsx +0 -33
  98. package/src/Chat/ChatMessageMetadata.test.tsx +0 -32
@@ -0,0 +1,7 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ /**
3
+ * Scoped marker for Carousel ancestor selectors.
4
+ * Prevents hover styles from leaking from parent containers.
5
+ */
6
+ export declare const carouselScope: ReturnType<typeof stylex.defineMarker>;
7
+ //# sourceMappingURL=carousel.markers.stylex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.markers.stylex.d.ts","sourceRoot":"","sources":["../../src/Carousel/carousel.markers.stylex.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,YAAY,CAC1C,CAAC"}
@@ -0,0 +1,12 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ import * as stylex from '@stylexjs/stylex';
4
+
5
+ /**
6
+ * Scoped marker for Carousel ancestor selectors.
7
+ * Prevents hover styles from leaking from parent containers.
8
+ */
9
+ export const carouselScope = {
10
+ xrkij8s: "xrkij8s",
11
+ $$css: true
12
+ };
@@ -36,7 +36,7 @@ export interface ChatDictationButtonProps extends BaseProps<HTMLSpanElement> {
36
36
  * <ChatDictationButton dictation={dictation} />
37
37
  * ```
38
38
  */
39
- export declare function ChatDictationButton({ ref, dictation, size, isHiddenWhenUnsupported, label, xstyle, className, style, ...rest }: ChatDictationButtonProps): React.JSX.Element | null;
39
+ export declare function ChatDictationButton({ ref, dictation, size, isHiddenWhenUnsupported, label, xstyle, className, style, }: ChatDictationButtonProps): React.JSX.Element | null;
40
40
  export declare namespace ChatDictationButton {
41
41
  var displayName: string;
42
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ChatDictationButton.d.ts","sourceRoot":"","sources":["../../src/Chat/ChatDictationButton.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK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AK,CAAC,EAAE,MAAM,CAAC;CAChB;AA8CD;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,SAAS,EACT,IAAW,EACX,uBAA8B,EAC9B,KAAK,EACL,MAAM,EACN,SAAS,EACT,KAAK,GACN,EAAE,wBAAwB,4BAgE1B;yBAzEe,mBAAmB"}
@@ -83,8 +83,7 @@ export function ChatDictationButton({
83
83
  label,
84
84
  xstyle,
85
85
  className,
86
- style,
87
- ...rest
86
+ style
88
87
  }) {
89
88
  if (isHiddenWhenUnsupported && !dictation.isSupported) {
90
89
  return null;
@@ -111,7 +110,6 @@ export function ChatDictationButton({
111
110
  return /*#__PURE__*/_jsxDEV("span", {
112
111
  ref: ref,
113
112
  ...mergeProps(stylex.props(styles.wrapper, xstyle), className, style),
114
- ...rest,
115
113
  children: [isListening && /*#__PURE__*/_jsxDEV("span", {
116
114
  "aria-hidden": true,
117
115
  ...mergeProps({
@@ -30,7 +30,7 @@ export interface ChatLayoutScrollButtonProps extends Omit<BaseProps<HTMLDivEleme
30
30
  * <ChatLayoutScrollButton isVisible={!isAtBottom} onClick={scrollToBottom} />
31
31
  * ```
32
32
  */
33
- export declare function ChatLayoutScrollButton({ ref, isVisible, label, onClick, xstyle, className, style, ...rest }: ChatLayoutScrollButtonProps): React.JSX.Element;
33
+ export declare function ChatLayoutScrollButton({ ref, isVisible, label, onClick, xstyle, className, style, }: ChatLayoutScrollButtonProps): React.JSX.Element;
34
34
  export declare namespace ChatLayoutScrollButton {
35
35
  var displayName: string;
36
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ChatLayoutScrollButton.d.ts","sourceRoot":"","sources":["../../src/Chat/ChatLayoutScrollButton.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAO5C,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CACvD,SAAS,CAAC,cAAc,CAAC,EACzB,SAAS,CACV;IACC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC,qCAAqC;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAwDD;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,GAAG,EACH,SAAS,EACT,KAAK,EACL,OAAO,EACP,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,2BAA2B,qBAyB7B;yBAlCe,sBAAsB"}
1
+ {"version":3,"file":"ChatLayoutScrollButton.d.ts","sourceRoot":"","sources":["../../src/Chat/ChatLayoutScrollButton.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAO5C,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CACvD,SAAS,CAAC,cAAc,CAAC,EACzB,SAAS,CACV;IACC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC,qCAAqC;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAwDD;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,GAAG,EACH,SAAS,EACT,KAAK,EACL,OAAO,EACP,MAAM,EACN,SAAS,EACT,KAAK,GACN,EAAE,2BAA2B,qBAwB7B;yBAhCe,sBAAsB"}
@@ -69,13 +69,11 @@ export function ChatLayoutScrollButton({
69
69
  onClick,
70
70
  xstyle,
71
71
  className,
72
- style,
73
- ...rest
72
+ style
74
73
  }) {
75
74
  return /*#__PURE__*/_jsxDEV("div", {
76
75
  ref: ref,
77
76
  ...mergeProps(stylex.props(styles.wrapper, xstyle), className, style),
78
- ...rest,
79
77
  children: /*#__PURE__*/_jsxDEV("div", {
80
78
  ...{
81
79
  0: {
@@ -33,7 +33,7 @@ export interface ChatMessageMetadataProps extends BaseProps<HTMLDivElement> {
33
33
  * </ChatMessage>
34
34
  * ```
35
35
  */
36
- export declare function ChatMessageMetadata({ ref, timestamp, footer, status, xstyle, className, style, ...rest }: ChatMessageMetadataProps): React.JSX.Element | null;
36
+ export declare function ChatMessageMetadata({ ref, timestamp, footer, status, xstyle, className, style, }: ChatMessageMetadataProps): React.JSX.Element | null;
37
37
  export declare namespace ChatMessageMetadata {
38
38
  var displayName: string;
39
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ChatMessageMetadata.d.ts","sourceRoot":"","sources":["../../src/Chat/ChatMessageMetadata.tsx"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,EAAC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAY5C,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAG5C,MAAM,MAAM,iBAAiB,GAC3B,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAsDtD,MAAM,WAAW,wBAAyB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACzE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC,gEAAgE;IAChE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,uDAAuD;IACvD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,+BAA+B;IAC/B,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,SAAS,EACT,MAAM,EACN,MAAM,EACN,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,wBAAwB,4BA+C1B;yBAxDe,mBAAmB"}
1
+ {"version":3,"file":"ChatMessageMetadata.d.ts","sourceRoot":"","sources":["../../src/Chat/ChatMessageMetadata.tsx"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,EAAC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAY5C,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAG5C,MAAM,MAAM,iBAAiB,GACzB,SAAS,GACT,MAAM,GACN,WAAW,GACX,MAAM,GACN,OAAO,CAAC;AAsDZ,MAAM,WAAW,wBAAyB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACzE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC,gEAAgE;IAChE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,uDAAuD;IACvD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,+BAA+B;IAC/B,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,SAAS,EACT,MAAM,EACN,MAAM,EACN,MAAM,EACN,SAAS,EACT,KAAK,GACN,EAAE,wBAAwB,4BA8C1B;yBAtDe,mBAAmB"}
@@ -85,8 +85,7 @@ export function ChatMessageMetadata({
85
85
  status,
86
86
  xstyle,
87
87
  className,
88
- style,
89
- ...rest
88
+ style
90
89
  }) {
91
90
  const msgContext = useChatMessageContext();
92
91
  const sender = msgContext?.sender ?? 'assistant';
@@ -98,7 +97,6 @@ export function ChatMessageMetadata({
98
97
  return /*#__PURE__*/_jsxDEV("div", {
99
98
  ref: ref,
100
99
  ...mergeProps(themeProps('chat-message-metadata'), stylex.props(styles.meta, sender === 'user' ? styles.metaUser : styles.metaAssistant, xstyle), className, style),
101
- ...rest,
102
100
  children: [timestamp != null && /*#__PURE__*/_jsxDEV("span", {
103
101
  children: timestamp
104
102
  }, void 0, false), timestamp != null && (footer != null || statusConfig != null) && /*#__PURE__*/_jsxDEV("span", {
@@ -51,7 +51,7 @@ export interface ChatSystemMessageProps extends BaseProps<HTMLDivElement> {
51
51
  * <ChatSystemMessage variant="divider">March 15, 2026</ChatSystemMessage>
52
52
  * ```
53
53
  */
54
- export declare function ChatSystemMessage({ children, variant, icon, xstyle, className, style: styleProp, ref, ...rest }: ChatSystemMessageProps): import("react").JSX.Element;
54
+ export declare function ChatSystemMessage({ children, variant, icon, xstyle, className, style: styleProp, 'data-testid': testId, ref, }: ChatSystemMessageProps): import("react").JSX.Element;
55
55
  export declare namespace ChatSystemMessage {
56
56
  var displayName: string;
57
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ChatSystemMessage.d.ts","sourceRoot":"","sources":["../../src/Chat/ChatSystemMessage.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAWrC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAG5C,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7D,MAAM,WAAW,sBAAuB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACvE,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAEhC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;IAEnC;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AA0CD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,OAAmB,EACnB,IAAI,EACJ,MAAM,EACN,SAAS,EACT,KAAK,EAAE,SAAS,EAChB,GAAG,EACH,GAAG,IAAI,EACR,EAAE,sBAAsB,+BAmCxB;yBA5Ce,iBAAiB"}
1
+ {"version":3,"file":"ChatSystemMessage.d.ts","sourceRoot":"","sources":["../../src/Chat/ChatSystemMessage.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAWrC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAG5C,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7D,MAAM,WAAW,sBAAuB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACvE,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAEhC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;IAEnC;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AA0CD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,OAAmB,EACnB,IAAI,EACJ,MAAM,EACN,SAAS,EACT,KAAK,EAAE,SAAS,EAChB,aAAa,EAAE,MAAM,EACrB,GAAG,GACJ,EAAE,sBAAsB,+BAmCxB;yBA5Ce,iBAAiB"}
@@ -74,17 +74,17 @@ export function ChatSystemMessage({
74
74
  xstyle,
75
75
  className,
76
76
  style: styleProp,
77
- ref,
78
- ...rest
77
+ 'data-testid': testId,
78
+ ref
79
79
  }) {
80
80
  if (variant === 'divider') {
81
81
  return /*#__PURE__*/_jsxDEV("div", {
82
82
  ref: ref,
83
+ role: "status",
84
+ "data-testid": testId,
83
85
  ...mergeProps(themeProps('chat-system-message', {
84
86
  variant
85
87
  }), stylex.props(styles.dividerWrap, xstyle), className, styleProp),
86
- ...rest,
87
- role: "status",
88
88
  children: /*#__PURE__*/_jsxDEV(Divider, {
89
89
  label: children
90
90
  }, void 0, false)
@@ -92,11 +92,11 @@ export function ChatSystemMessage({
92
92
  }
93
93
  return /*#__PURE__*/_jsxDEV("div", {
94
94
  ref: ref,
95
+ role: "status",
96
+ "data-testid": testId,
95
97
  ...mergeProps(themeProps('chat-system-message', {
96
98
  variant
97
99
  }), stylex.props(styles.root, xstyle), className, styleProp),
98
- ...rest,
99
- role: "status",
100
100
  children: /*#__PURE__*/_jsxDEV("span", {
101
101
  ...{
102
102
  className: "x3nfvp2 x6s0dn4 x1s4dlld x2lah0s xuxw1ft"
@@ -44,7 +44,7 @@ export interface ChatTokenizedTextProps extends BaseProps<HTMLSpanElement> {
44
44
  * Accepts the same `ChatComposerToken` type used by input triggers,
45
45
  * so you can share a single token definition between input and display.
46
46
  */
47
- export declare function ChatTokenizedText({ ref, children, tokens, xstyle, className, style, ...rest }: ChatTokenizedTextProps): React.JSX.Element;
47
+ export declare function ChatTokenizedText({ ref, children, tokens, }: ChatTokenizedTextProps): React.JSX.Element;
48
48
  export declare namespace ChatTokenizedText {
49
49
  var displayName: string;
50
50
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ChatTokenizedText.d.ts","sourceRoot":"","sources":["../../src/Chat/ChatTokenizedText.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAuB,MAAM,OAAO,CAAC;AAG5C,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAiB5C,MAAM,WAAW,sBAAuB,SAAQ,SAAS,CAAC,eAAe,CAAC;IACxE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IACjC,0DAA0D;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAoBD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,GAAG,EACH,QAAQ,EACR,MAAM,EACN,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,sBAAsB,qBA+BxB;yBAvCe,iBAAiB"}
1
+ {"version":3,"file":"ChatTokenizedText.d.ts","sourceRoot":"","sources":["../../src/Chat/ChatTokenizedText.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAuB,MAAM,OAAO,CAAC;AAG5C,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAiB5C,MAAM,WAAW,sBAAuB,SAAQ,SAAS,CAAC,eAAe,CAAC;IACxE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IACjC,0DAA0D;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAoBD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,GAAG,EACH,QAAQ,EACR,MAAM,GACP,EAAE,sBAAsB,qBAyBxB;yBA7Be,iBAAiB"}
@@ -26,13 +26,6 @@ import { themeProps } from "../utils/themeProps.js";
26
26
  // Styles
27
27
  // =============================================================================
28
28
  import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
29
- const styles = {
30
- root: {
31
- k1xSpc: "xt0psk2",
32
- $$css: true
33
- }
34
- };
35
-
36
29
  // =============================================================================
37
30
  // Types
38
31
  // =============================================================================
@@ -61,25 +54,23 @@ function escapeRegExp(str) {
61
54
  export function ChatTokenizedText({
62
55
  ref,
63
56
  children,
64
- tokens,
65
- xstyle,
66
- className,
67
- style,
68
- ...rest
57
+ tokens
69
58
  }) {
70
59
  if (!children || !tokens || tokens.length === 0) {
71
60
  return /*#__PURE__*/_jsxDEV("span", {
72
61
  ref: ref,
73
- ...mergeProps(themeProps('chat-tokenized-text'), stylex.props(styles.root, xstyle), className, style),
74
- ...rest,
62
+ ...mergeProps(themeProps('chat-tokenized-text'), {
63
+ className: "xt0psk2"
64
+ }),
75
65
  children: children ?? ''
76
66
  }, void 0, false);
77
67
  }
78
68
  const parts = renderTokens(children, tokens);
79
69
  return /*#__PURE__*/_jsxDEV("span", {
80
70
  ref: ref,
81
- ...mergeProps(themeProps('chat-tokenized-text'), stylex.props(styles.root, xstyle), className, style),
82
- ...rest,
71
+ ...mergeProps(themeProps('chat-tokenized-text'), {
72
+ className: "xt0psk2"
73
+ }),
83
74
  children: parts
84
75
  }, void 0, false);
85
76
  }
@@ -83,7 +83,7 @@ export interface CheckboxListItemProps extends BaseProps<HTMLLIElement> {
83
83
  * />
84
84
  * ```
85
85
  */
86
- export declare function CheckboxListItem({ label, value, description, endContent, isDisabled: isItemDisabled, isLoading: isItemLoading, isChecked, onCheck, ref, xstyle, className, style, onClick: onClickProp, ...restProps }: CheckboxListItemProps): import("react").JSX.Element;
86
+ export declare function CheckboxListItem({ label, value, description, endContent, isDisabled: isItemDisabled, isLoading: isItemLoading, isChecked, onCheck, ref, xstyle, className, style, ...restProps }: CheckboxListItemProps): import("react").JSX.Element;
87
87
  export declare namespace CheckboxListItem {
88
88
  var displayName: string;
89
89
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxListItem.d.ts","sourceRoot":"","sources":["../../src/CheckboxList/CheckboxListItem.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAuB,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAI3D,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAqB5C,MAAM,WAAW,qBAAsB,SAAQ,SAAS,CAAC,aAAa,CAAC;IACrE;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;CAChC;AAMD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,KAAK,EACL,WAAW,EACX,UAAU,EACV,UAAU,EAAE,cAAsB,EAClC,SAAS,EAAE,aAAqB,EAChC,SAAS,EACT,OAAO,EACP,GAAG,EACH,MAAM,EACN,SAAS,EACT,KAAK,EACL,OAAO,EAAE,WAAW,EACpB,GAAG,SAAS,EACb,EAAE,qBAAqB,+BAyGvB;yBAxHe,gBAAgB"}
1
+ {"version":3,"file":"CheckboxListItem.d.ts","sourceRoot":"","sources":["../../src/CheckboxList/CheckboxListItem.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAM,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAoB5C,MAAM,WAAW,qBAAsB,SAAQ,SAAS,CAAC,aAAa,CAAC;IACrE;;;;;;OAMG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;CAChC;AAMD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,KAAK,EACL,WAAW,EACX,UAAU,EACV,UAAU,EAAE,cAAsB,EAClC,SAAS,EAAE,aAAqB,EAChC,SAAS,EACT,OAAO,EACP,GAAG,EACH,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,SAAS,EACb,EAAE,qBAAqB,+BAkGvB;yBAhHe,gBAAgB"}
@@ -19,7 +19,6 @@ import { use } from 'react';
19
19
  import * as stylex from '@stylexjs/stylex';
20
20
  import "../theme/tokens.stylex.js";
21
21
  import { colorVars } from "../theme/tokens.stylex.js";
22
- import { composeEventHandlers } from "../utils/index.js";
23
22
  import { CheckboxInput } from "../CheckboxInput/CheckboxInput.js";
24
23
  import { ListItem } from "../List/ListItem.js";
25
24
  import { ListContext } from "../List/ListContext.js";
@@ -77,7 +76,6 @@ export function CheckboxListItem({
77
76
  xstyle,
78
77
  className,
79
78
  style,
80
- onClick: onClickProp,
81
79
  ...restProps
82
80
  }) {
83
81
  const ctx = use(CheckboxListContext);
@@ -136,7 +134,7 @@ export function CheckboxListItem({
136
134
  description: description,
137
135
  endContent: endContent,
138
136
  isDisabled: effectiveDisabled,
139
- onClick: isInteractive || onClickProp ? composeEventHandlers(onClickProp, isInteractive ? handleToggle : undefined) : undefined,
137
+ onClick: isInteractive ? handleToggle : undefined,
140
138
  "aria-busy": isBusy || undefined,
141
139
  xstyle: [resolvedChecked === true && !effectiveDisabled && !effectiveReadOnly && styles.selected, xstyle],
142
140
  className: className,
@@ -1,15 +1,10 @@
1
1
  /**
2
2
  * @file ContextMenu.tsx
3
- * @input Uses React, StyleX, useLayer (context mode), useListFocus
3
+ * @input Uses React, StyleX, useLayer (fixed mode), useListFocus
4
4
  * @output Exports ContextMenu component
5
5
  * @position Core implementation; consumed by index.ts
6
6
  *
7
- * Right-click context menu positioned at the cursor. The cursor point is
8
- * captured as an offset *inside the trigger* and materialized as a zero-size
9
- * anchor element, so the menu is positioned relative to the trigger's context
10
- * (via CSS anchor positioning) rather than the viewport. It therefore follows
11
- * the content on scroll and auto-flips at viewport edges, while still appearing
12
- * under the cursor.
7
+ * Right-click context menu positioned at cursor coordinates.
13
8
  * Reuses DropdownMenu item rendering and keyboard navigation.
14
9
  *
15
10
  * Supports two content modes with a single keyboard/focus path:
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../src/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAON,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAqBrC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAEjD,OAAO,KAAK,EACV,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AAqDtC,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAMnD,U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AAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,UAAU,wBAAyB,SAAQ,oBAAoB;IAC7D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,+CAA+C;IAC/C,WAAW,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG,wBAAwB,CAAC;AAM/E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,IAAW,EACX,KAAsB,EACtB,UAAkB,EAClB,YAAY,EACZ,GAAG,EACH,SAAS,EACT,KAAK,EACL,MAAM,EACN,aAAa,EACb,aAAa,EAAE,MAAM,EACrB,GAAG,KAAK,EACT,EAAE,gBAAgB,qBAyOlB;yBAvPe,WAAW"}
@@ -3,16 +3,11 @@
3
3
 
4
4
  /**
5
5
  * @file ContextMenu.tsx
6
- * @input Uses React, StyleX, useLayer (context mode), useListFocus
6
+ * @input Uses React, StyleX, useLayer (fixed mode), useListFocus
7
7
  * @output Exports ContextMenu component
8
8
  * @position Core implementation; consumed by index.ts
9
9
  *
10
- * Right-click context menu positioned at the cursor. The cursor point is
11
- * captured as an offset *inside the trigger* and materialized as a zero-size
12
- * anchor element, so the menu is positioned relative to the trigger's context
13
- * (via CSS anchor positioning) rather than the viewport. It therefore follows
14
- * the content on scroll and auto-flips at viewport edges, while still appearing
15
- * under the cursor.
10
+ * Right-click context menu positioned at cursor coordinates.
16
11
  * Reuses DropdownMenu item rendering and keyboard navigation.
17
12
  *
18
13
  * Supports two content modes with a single keyboard/focus path:
@@ -40,12 +35,11 @@ import { useLongPress } from "../hooks/useLongPress.js";
40
35
  import { layerAnimations } from "../Layer/layerAnimations.stylex.js";
41
36
  import "../theme/tokens.stylex.js";
42
37
  import { colorVars, spacingVars, radiusVars, durationVars, easeVars, shadowVars } from "../theme/tokens.stylex.js";
43
- import { mergeProps, mergeRefs } from "../utils/index.js";
38
+ import { mergeProps } from "../utils/index.js";
44
39
  import { themeProps } from "../utils/themeProps.js";
45
40
  import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
46
41
  const styles = {
47
42
  trigger: {
48
- kVAEAm: "x1n2onr6",
49
43
  k7VYTy: "xpdipgo",
50
44
  $$css: true
51
45
  },
@@ -134,22 +128,16 @@ export function ContextMenu({
134
128
  const items = ('items' in props ? props.items : undefined) ?? [];
135
129
  const menuContent = 'menuContent' in props ? props.menuContent : undefined;
136
130
  const menuId = useId();
137
- // Cursor point in the trigger's local coordinate space (offset from the
138
- // trigger's top-left, in-flow). Stored here and written to the zero-size
139
- // anchor element so the menu is positioned relative to the trigger context
140
- // — it scrolls with the content instead of sitting at a fixed viewport point.
141
131
  const positionRef = useRef({
142
132
  x: 0,
143
133
  y: 0
144
134
  });
145
- const cursorAnchorRef = useRef(null);
146
- const triggerRef = useRef(null);
147
135
  // Element focused before the menu opened, restored when it closes so focus
148
136
  // does not fall to <body> after Escape or outside-click dismissal.
149
137
  const triggerFocusRef = useRef(null);
150
138
  const [isOpen, setIsOpen] = useState(false);
151
139
  const layer = useLayer({
152
- mode: 'context',
140
+ mode: 'fixed',
153
141
  onHide: useCallback(() => {
154
142
  setIsOpen(false);
155
143
  onOpenChange?.(false);
@@ -246,46 +234,34 @@ export function ContextMenu({
246
234
  }
247
235
  listNavKeyDown(e);
248
236
  }, [listNavKeyDown, typeahead]);
249
-
250
- // Place the zero-size cursor anchor at a point in the trigger's local
251
- // coordinate space and open the menu. Positioning the anchor inside the
252
- // trigger (rather than storing viewport coordinates on the menu itself) is
253
- // what makes the menu context-relative: it scrolls with the content and the
254
- // browser auto-flips it against the viewport edges via CSS anchor positioning.
255
- const openAtLocalPoint = useCallback((localX, localY, focusEl) => {
256
- positionRef.current = {
257
- x: localX,
258
- y: localY
259
- };
260
- const anchorEl = cursorAnchorRef.current;
261
- if (anchorEl) {
262
- anchorEl.style.left = `${localX}px`;
263
- anchorEl.style.top = `${localY}px`;
264
- }
265
- // Remember the element focused before opening so we can restore it on
266
- // close (Escape or outside-click), instead of dropping focus to <body>.
267
- triggerFocusRef.current = document.activeElement instanceof HTMLElement ? document.activeElement : focusEl;
268
- layer.show();
269
- requestAnimationFrame(() => focusFirst());
270
- }, [layer, focusFirst]);
271
237
  const handleContextMenu = useCallback(e => {
272
238
  if (isDisabled) {
273
239
  return;
274
240
  }
275
241
  e.preventDefault();
276
- const trigger = triggerRef.current;
277
- const rect = trigger?.getBoundingClientRect();
278
242
  // A keyboard-initiated contextmenu (Shift+F10 / the Menu key) fires a
279
243
  // `contextmenu` event whose coordinates are (0, 0) in several browsers.
280
- // Detect that and anchor the menu to the trigger's bottom-left instead,
281
- // so the menu is reachable without a pointer (menus-8).
244
+ // Detect that and anchor the menu to the trigger's box instead, so the
245
+ // menu is reachable without a pointer (menus-8).
282
246
  const isKeyboardInvoked = e.clientX === 0 && e.clientY === 0 && e.detail === 0;
283
- // Convert the viewport cursor point into the trigger's local space so
284
- // the anchor lives inside the (scrollable) trigger context.
285
- const localX = isKeyboardInvoked || !rect ? 0 : e.clientX - rect.left;
286
- const localY = isKeyboardInvoked || !rect ? rect?.height ?? 0 : e.clientY - rect.top;
287
- openAtLocalPoint(localX, localY, e.currentTarget);
288
- }, [isDisabled, openAtLocalPoint]);
247
+ if (isKeyboardInvoked && e.currentTarget instanceof HTMLElement) {
248
+ const rect = e.currentTarget.getBoundingClientRect();
249
+ positionRef.current = {
250
+ x: rect.left,
251
+ y: rect.bottom
252
+ };
253
+ } else {
254
+ positionRef.current = {
255
+ x: e.clientX,
256
+ y: e.clientY
257
+ };
258
+ }
259
+ // Remember the element focused before opening so we can restore it on
260
+ // close (Escape or outside-click), instead of dropping focus to <body>.
261
+ triggerFocusRef.current = document.activeElement instanceof HTMLElement ? document.activeElement : e.currentTarget;
262
+ layer.show();
263
+ requestAnimationFrame(() => focusFirst());
264
+ }, [isDisabled, layer, focusFirst]);
289
265
 
290
266
  // Touch long-press invocation (menus-8). iOS Safari never synthesizes a
291
267
  // `contextmenu` event on long-press, so a context menu is otherwise
@@ -294,9 +270,13 @@ export function ContextMenu({
294
270
  const longPressHandlers = useLongPress({
295
271
  disabled: isDisabled,
296
272
  onLongPress: useCallback(point => {
297
- const rect = triggerRef.current?.getBoundingClientRect();
298
- openAtLocalPoint(rect ? point.x - rect.left : point.x, rect ? point.y - rect.top : point.y, triggerRef.current);
299
- }, [openAtLocalPoint])
273
+ positionRef.current = {
274
+ x: point.x,
275
+ y: point.y
276
+ };
277
+ layer.show();
278
+ requestAnimationFrame(() => focusFirst());
279
+ }, [layer, focusFirst])
300
280
  });
301
281
  const popoverXstyle = menuWidth ? styles.popoverCustomWidth(menuWidth) : styles.popover;
302
282
  const contextValue = useMemo(() => ({
@@ -306,24 +286,13 @@ export function ContextMenu({
306
286
  const resolvedMenuContent = props.items !== undefined ? renderDropdownItems(items) : menuContent;
307
287
  return /*#__PURE__*/_jsxDEV(_Fragment, {
308
288
  children: [/*#__PURE__*/_jsxDEV("div", {
309
- ref: mergeRefs(ref, triggerRef),
289
+ ref: ref,
310
290
  onContextMenu: handleContextMenu,
311
291
  ...longPressHandlers,
312
292
  "data-testid": testId,
313
293
  ...stylex.props(styles.trigger, ...(triggerXstyle ? Array.isArray(triggerXstyle) ? triggerXstyle : [triggerXstyle] : [])),
314
- children: [children, /*#__PURE__*/_jsxDEV("span", {
315
- ref: mergeRefs(cursorAnchorRef, layer.ref),
316
- "aria-hidden": "true",
317
- ...mergeProps({
318
- className: "x10l6tqk xnalus7 xqtp20y x47corl"
319
- }, {
320
- style: {
321
- left: `${positionRef.current.x}px`,
322
- top: `${positionRef.current.y}px`
323
- }
324
- })
325
- }, void 0, false)]
326
- }, void 0, true), layer.render(/*#__PURE__*/_jsxDEV("div", {
294
+ children: children
295
+ }, void 0, false), layer.render(/*#__PURE__*/_jsxDEV("div", {
327
296
  ref: listRef,
328
297
  id: menuId,
329
298
  role: "menu",
@@ -336,8 +305,8 @@ export function ContextMenu({
336
305
  children: resolvedMenuContent
337
306
  }, void 0, false)
338
307
  }, void 0, false), {
339
- placement: 'below',
340
- alignment: 'start',
308
+ x: positionRef.current.x,
309
+ y: positionRef.current.y,
341
310
  xstyle: [popoverXstyle, layerAnimations.below]
342
311
  })]
343
312
  }, void 0, true);
@@ -116,7 +116,7 @@ export declare function generatePageRange(currentPage: number, totalPages: numbe
116
116
  * />
117
117
  * ```
118
118
  */
119
- export declare function Pagination({ page, onChange, changeAction, totalItems, totalPages: totalPagesProp, hasMore, pageSize: pageSizeProp, pageSizeOptions, onPageSizeChange, variant, siblingCount, size, isDisabled, label, 'data-testid': testId, xstyle, className, style, ref, ...rest }: PaginationProps): import("react").JSX.Element | null;
119
+ export declare function Pagination({ page, onChange, changeAction, totalItems, totalPages: totalPagesProp, hasMore, pageSize: pageSizeProp, pageSizeOptions, onPageSizeChange, variant, siblingCount, size, isDisabled, label, 'data-testid': testId, xstyle, className, style, ref, }: PaginationProps): import("react").JSX.Element | null;
120
120
  export declare namespace Pagination {
121
121
  var displayName: string;
122
122
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../src/Pagination/Pagination.tsx"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAO5C;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,IAAI,CAAC;IACZ,KAAK,EAAE,IAAI,CAAC;IACZ,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,oBAAoB,CAAC;AAE3D,uCAAuC;AACvC,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,SAAS,CAAC,W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- ref,
177
- ...rest
176
+ ref
178
177
  }) {
179
178
  const [, startTransition] = useTransition();
180
179
 
@@ -428,13 +427,12 @@ export function Pagination({
428
427
  };
429
428
  return /*#__PURE__*/_jsxDEV("nav", {
430
429
  ref: ref,
430
+ "aria-label": label,
431
+ "data-testid": testId,
431
432
  ...mergeProps(themeProps('pagination', {
432
433
  variant,
433
434
  size
434
435
  }), stylex.props(styles.root, xstyle), className, style),
435
- ...rest,
436
- "aria-label": label,
437
- "data-testid": testId,
438
436
  children: [pageSizeOptions != null && pageSizeOptions.length > 0 && /*#__PURE__*/_jsxDEV("div", {
439
437
  ...{
440
438
  className: "x78zum5 x6s0dn4 x1txdalj"
@@ -56,7 +56,7 @@ export interface RadioListItemProps extends BaseProps<HTMLDivElement> {
56
56
  * />
57
57
  * ```
58
58
  */
59
- export declare function RadioListItem({ ref, label, value, description, isDisabled: isItemDisabled, startContent, endContent, xstyle, className, style, ...rest }: RadioListItemProps): React.JSX.Element;
59
+ export declare function RadioListItem({ ref, label, value, description, isDisabled: isItemDisabled, startContent, endContent, 'data-testid': dataTestId, }: RadioListItemProps): React.JSX.Element;
60
60
  export declare namespace RadioListItem {
61
61
  var displayName: string;
62
62
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RadioListItem.d.ts","sourceRoot":"","sources":["../../src/RadioList/RadioListItem.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EAAa,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAExD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAsJ5C,MAAM,WAAW,kBAAmB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACnE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,KAAK,EACL,KAAK,EACL,WAAW,EACX,UAAU,EAAE,cAAsB,EAClC,YAAY,EACZ,UAAU,EACV,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,kBAAkB,qBAsHpB;yBAlIe,aAAa"}
1
+ {"version":3,"file":"RadioListItem.d.ts","sourceRoot":"","sources":["../../src/RadioList/RadioListItem.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EAAa,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAExD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAsJ5C,MAAM,WAAW,kBAAmB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACnE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,KAAK,EACL,KAAK,EACL,WAAW,EACX,UAAU,EAAE,cAAsB,EAClC,YAAY,EACZ,UAAU,EACV,aAAa,EAAE,UAAU,GAC1B,EAAE,kBAAkB,qBAoHpB;yBA7He,aAAa"}
@@ -168,10 +168,7 @@ export function RadioListItem({
168
168
  isDisabled: isItemDisabled = false,
169
169
  startContent,
170
170
  endContent,
171
- xstyle,
172
- className,
173
- style,
174
- ...rest
171
+ 'data-testid': dataTestId
175
172
  }) {
176
173
  const context = use(RadioListContext);
177
174
  if (!context) {
@@ -230,8 +227,8 @@ export function RadioListItem({
230
227
  }, void 0, true) : radioCircle;
231
228
  return /*#__PURE__*/_jsxDEV("div", {
232
229
  ref: ref,
233
- ...mergeProps(themeProps('radio-list-item'), stylex.props(styles.container, !isDisabled && radioScope, xstyle), className, style),
234
- ...rest,
230
+ "data-testid": dataTestId,
231
+ ...mergeProps(themeProps('radio-list-item'), stylex.props(styles.container, !isDisabled && radioScope)),
235
232
  children: /*#__PURE__*/_jsxDEV(Item, {
236
233
  startContent: mediaContent,
237
234
  label: /*#__PURE__*/_jsxDEV("label", {
@@ -73,7 +73,7 @@ export interface SegmentedControlProps extends Omit<BaseProps<HTMLDivElement>, '
73
73
  * </SegmentedControl>
74
74
  * ```
75
75
  */
76
- export declare function SegmentedControl({ ref, value, onChange, label, size: sizeProp, layout, isDisabled, disabledMessage, children, xstyle, className, style, onKeyDown: onKeyDownProp, onFocus: onFocusProp, onBlur: onBlurProp, ...rest }: SegmentedControlProps): React.JSX.Element;
76
+ export declare function SegmentedControl({ ref, value, onChange, label, size: sizeProp, layout, isDisabled, disabledMessage, children, xstyle, className, style, ...rest }: SegmentedControlProps): React.JSX.Element;
77
77
  export declare namespace SegmentedControl {
78
78
  var displayName: string;
79
79
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../src/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,EAAuB,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAOlE,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAG5C,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CACjD,SAAS,CAAC,cAAc,CAAC,EACzB,UAAU,CACX;IACC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;;;OASG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB;AA8CD;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,GAAG,EACH,KAAK,EACL,QAAQ,EACR,KAAK,EACL,IAAI,EAAE,QAAQ,EACd,MAAc,EACd,UAAkB,EAClB,eAAe,EACf,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,EACL,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,EAClB,GAAG,IAAI,EACR,EAAE,qBAAqB,qBAuIvB;yBAxJe,gBAAgB"}
1
+ {"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../src/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,EAAuB,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAOlE,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAG5C,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CACjD,SAAS,CAAC,cAAc,CAAC,EACzB,UAAU,CACX;IACC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;;;OASG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB;AA8CD;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,GAAG,EACH,KAAK,EACL,QAAQ,EACR,KAAK,EACL,IAAI,EAAE,QAAQ,EACd,MAAc,EACd,UAAkB,EAClB,eAAe,EACf,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,qBAAqB,qBA+HvB;yBA7Ie,gBAAgB"}