@astryxdesign/core 0.1.4-canary.64a36bc → 0.1.4-canary.67b423e

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 (140) hide show
  1. package/dist/AlertDialog/AlertDialog.d.ts +1 -1
  2. package/dist/AlertDialog/AlertDialog.d.ts.map +1 -1
  3. package/dist/AlertDialog/AlertDialog.js +1 -3
  4. package/dist/AppShell/AppShell.d.ts +1 -1
  5. package/dist/AppShell/AppShell.d.ts.map +1 -1
  6. package/dist/AppShell/AppShell.js +1 -3
  7. package/dist/AspectRatio/AspectRatio.d.ts +10 -48
  8. package/dist/AspectRatio/AspectRatio.d.ts.map +1 -1
  9. package/dist/AspectRatio/AspectRatio.js +7 -28
  10. package/dist/AspectRatio/index.d.ts +1 -1
  11. package/dist/AspectRatio/index.d.ts.map +1 -1
  12. package/dist/Avatar/Avatar.d.ts.map +1 -1
  13. package/dist/Carousel/carousel.markers.stylex.d.ts +7 -0
  14. package/dist/Carousel/carousel.markers.stylex.d.ts.map +1 -0
  15. package/dist/Carousel/carousel.markers.stylex.js +12 -0
  16. package/dist/Chat/ChatDictationButton.d.ts +1 -1
  17. package/dist/Chat/ChatDictationButton.d.ts.map +1 -1
  18. package/dist/Chat/ChatDictationButton.js +1 -3
  19. package/dist/Chat/ChatLayoutScrollButton.d.ts +1 -1
  20. package/dist/Chat/ChatLayoutScrollButton.d.ts.map +1 -1
  21. package/dist/Chat/ChatLayoutScrollButton.js +1 -3
  22. package/dist/Chat/ChatMessageMetadata.d.ts +1 -1
  23. package/dist/Chat/ChatMessageMetadata.d.ts.map +1 -1
  24. package/dist/Chat/ChatMessageMetadata.js +1 -3
  25. package/dist/Chat/ChatSystemMessage.d.ts +1 -1
  26. package/dist/Chat/ChatSystemMessage.d.ts.map +1 -1
  27. package/dist/Chat/ChatSystemMessage.js +6 -6
  28. package/dist/Chat/ChatTokenizedText.d.ts +1 -1
  29. package/dist/Chat/ChatTokenizedText.d.ts.map +1 -1
  30. package/dist/Chat/ChatTokenizedText.js +7 -16
  31. package/dist/CheckboxList/CheckboxListItem.d.ts +1 -1
  32. package/dist/CheckboxList/CheckboxListItem.d.ts.map +1 -1
  33. package/dist/CheckboxList/CheckboxListItem.js +1 -3
  34. package/dist/ContextMenu/ContextMenu.d.ts +2 -7
  35. package/dist/ContextMenu/ContextMenu.d.ts.map +1 -1
  36. package/dist/ContextMenu/ContextMenu.js +36 -67
  37. package/dist/Pagination/Pagination.d.ts +1 -1
  38. package/dist/Pagination/Pagination.d.ts.map +1 -1
  39. package/dist/Pagination/Pagination.js +3 -5
  40. package/dist/RadioList/RadioListItem.d.ts +1 -1
  41. package/dist/RadioList/RadioListItem.d.ts.map +1 -1
  42. package/dist/RadioList/RadioListItem.js +3 -6
  43. package/dist/SegmentedControl/SegmentedControl.d.ts +1 -1
  44. package/dist/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  45. package/dist/SegmentedControl/SegmentedControl.js +5 -27
  46. package/dist/SegmentedControl/SegmentedControlItem.d.ts +1 -1
  47. package/dist/SegmentedControl/SegmentedControlItem.d.ts.map +1 -1
  48. package/dist/SegmentedControl/SegmentedControlItem.js +5 -11
  49. package/dist/SideNav/SideNavCollapseButton.d.ts +1 -1
  50. package/dist/SideNav/SideNavCollapseButton.d.ts.map +1 -1
  51. package/dist/SideNav/SideNavCollapseButton.js +1 -3
  52. package/dist/SideNav/SideNavSection.d.ts +1 -1
  53. package/dist/SideNav/SideNavSection.d.ts.map +1 -1
  54. package/dist/SideNav/SideNavSection.js +2 -4
  55. package/dist/Switch/Switch.d.ts +4 -8
  56. package/dist/Switch/Switch.d.ts.map +1 -1
  57. package/dist/Switch/Switch.js +4 -9
  58. package/dist/Table/TableBody.d.ts +1 -1
  59. package/dist/Table/TableBody.d.ts.map +1 -1
  60. package/dist/Table/TableBody.js +2 -6
  61. package/dist/Table/TableFooter.d.ts +1 -1
  62. package/dist/Table/TableFooter.d.ts.map +1 -1
  63. package/dist/Table/TableFooter.js +2 -6
  64. package/dist/Table/TableHeader.d.ts +1 -1
  65. package/dist/Table/TableHeader.d.ts.map +1 -1
  66. package/dist/Table/TableHeader.js +2 -6
  67. package/dist/Timestamp/Timestamp.d.ts +1 -1
  68. package/dist/Timestamp/Timestamp.d.ts.map +1 -1
  69. package/dist/Timestamp/Timestamp.js +5 -16
  70. package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts +1 -1
  71. package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts.map +1 -1
  72. package/dist/TopNav/TopNavMegaMenuFeaturedCard.js +4 -15
  73. package/dist/astryx.umd.js +52 -52
  74. package/dist/astryx.umd.js.map +4 -4
  75. package/dist/hooks/useInteractiveRole.d.ts +2 -6
  76. package/dist/hooks/useInteractiveRole.d.ts.map +1 -1
  77. package/dist/hooks/useInteractiveRole.js +2 -6
  78. package/dist/utils/index.d.ts +0 -1
  79. package/dist/utils/index.d.ts.map +1 -1
  80. package/dist/utils/index.js +0 -1
  81. package/package.json +1 -1
  82. package/src/AlertDialog/AlertDialog.tsx +0 -2
  83. package/src/AppShell/AppShell.tsx +0 -2
  84. package/src/AspectRatio/AspectRatio.doc.mjs +1 -28
  85. package/src/AspectRatio/AspectRatio.test.tsx +1 -142
  86. package/src/AspectRatio/AspectRatio.tsx +10 -70
  87. package/src/AspectRatio/index.ts +1 -5
  88. package/src/Avatar/Avatar.tsx +14 -1
  89. package/src/Calendar/Calendar.test.tsx +16 -13
  90. package/src/Carousel/carousel.markers.stylex.ts +10 -0
  91. package/src/Chat/ChatDictationButton.tsx +4 -4
  92. package/src/Chat/ChatLayoutScrollButton.tsx +1 -3
  93. package/src/Chat/ChatMessageMetadata.tsx +6 -4
  94. package/src/Chat/ChatSystemMessage.test.tsx +11 -26
  95. package/src/Chat/ChatSystemMessage.tsx +7 -7
  96. package/src/Chat/ChatTokenizedText.test.tsx +16 -29
  97. package/src/Chat/ChatTokenizedText.tsx +8 -15
  98. package/src/CheckboxList/CheckboxList.test.tsx +0 -19
  99. package/src/CheckboxList/CheckboxListItem.tsx +2 -11
  100. package/src/ContextMenu/ContextMenu.test.tsx +0 -72
  101. package/src/ContextMenu/ContextMenu.tsx +28 -85
  102. package/src/DateInput/DateInput.test.tsx +20 -11
  103. package/src/DateRangeInput/DateRangeInput.test.tsx +44 -31
  104. package/src/DateTimeInput/DateTimeInput.test.tsx +16 -9
  105. package/src/Markdown/parser.perf.test.ts +12 -34
  106. package/src/Pagination/Pagination.test.tsx +0 -19
  107. package/src/Pagination/Pagination.tsx +3 -5
  108. package/src/RadioList/RadioList.test.tsx +0 -19
  109. package/src/RadioList/RadioListItem.tsx +4 -9
  110. package/src/SegmentedControl/SegmentedControl.test.tsx +0 -192
  111. package/src/SegmentedControl/SegmentedControl.tsx +5 -27
  112. package/src/SegmentedControl/SegmentedControlItem.tsx +4 -9
  113. package/src/SideNav/SideNav.test.tsx +0 -46
  114. package/src/SideNav/SideNavCollapseButton.tsx +3 -4
  115. package/src/SideNav/SideNavSection.tsx +4 -6
  116. package/src/Switch/Switch.doc.mjs +7 -7
  117. package/src/Switch/Switch.test.tsx +3 -102
  118. package/src/Switch/Switch.tsx +7 -20
  119. package/src/Table/Table.test.tsx +0 -36
  120. package/src/Table/TableBody.tsx +2 -15
  121. package/src/Table/TableFooter.tsx +2 -15
  122. package/src/Table/TableHeader.tsx +2 -15
  123. package/src/Timestamp/Timestamp.test.tsx +0 -27
  124. package/src/Timestamp/Timestamp.tsx +6 -20
  125. package/src/TopNav/TopNav.test.tsx +0 -18
  126. package/src/TopNav/TopNavMegaMenuFeaturedCard.tsx +2 -9
  127. package/src/hooks/useInteractiveRole.ts +4 -12
  128. package/src/reset.css +0 -29
  129. package/src/utils/index.ts +0 -1
  130. package/dist/utils/composeEventHandlers.d.ts +0 -30
  131. package/dist/utils/composeEventHandlers.d.ts.map +0 -1
  132. package/dist/utils/composeEventHandlers.js +0 -40
  133. package/src/Chat/ChatDictationButton.test.tsx +0 -43
  134. package/src/Chat/ChatLayoutScrollButton.test.tsx +0 -33
  135. package/src/Chat/ChatMessageMetadata.test.tsx +0 -32
  136. package/src/Outline/parseOutlineFromMarkdown.test.ts +0 -80
  137. package/src/__tests__/fastRoleQueries.ts +0 -66
  138. package/src/utils/composeEventHandlers.test.ts +0 -71
  139. package/src/utils/composeEventHandlers.ts +0 -44
  140. package/src/utils/mergeProps.test.ts +0 -166
@@ -89,7 +89,7 @@ export interface AlertDialogProps extends BaseProps<HTMLDialogElement> {
89
89
  * />
90
90
  * ```
91
91
  */
92
- export declare function AlertDialog({ ref, isOpen, isInline, onOpenChange, title, description, cancelLabel, actionLabel, actionVariant, isActionLoading, onAction, width, xstyle, className, style, 'data-testid': testId, ...rest }: AlertDialogProps): React.JSX.Element;
92
+ export declare function AlertDialog({ ref, isOpen, isInline, onOpenChange, title, description, cancelLabel, actionLabel, actionVariant, isActionLoading, onAction, width, xstyle, className, style, 'data-testid': testId, }: AlertDialogProps): React.JSX.Element;
93
93
  export declare namespace AlertDialog {
94
94
  var displayName: string;
95
95
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AlertDialog.d.ts","sourceRoot":"","sources":["../../src/AlertDialog/AlertDialog.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAA2B,MAAM,OAAO,CAAC;AAQhD,OAAO,EAAS,KAAK,aAAa,EAAC,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAI5C,MAAM,WAAW,gBAAiB,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IACpE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACnC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC;IAE3C;;OAE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AM,EAAE,OAAO,KAAK,OAAO,CAAC;IAE3C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAE9B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;OAGG;IACH,QAAQ,EAAE,MAAM,OAAO,CAAC;IAExB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,WAAW,EACX,WAAsB,EACtB,WAAW,EACX,aAA6B,EAC7B,eAAe,EACf,QAAQ,EACR,KAAW,EACX,MAAM,EACN,SAAS,EACT,KAAK,EACL,aAAa,EAAE,MAAM,GACtB,EAAE,gBAAgB,qBAqDlB;yBAtEe,WAAW"}
@@ -62,8 +62,7 @@ export function AlertDialog({
62
62
  xstyle,
63
63
  className,
64
64
  style,
65
- 'data-testid': testId,
66
- ...rest
65
+ 'data-testid': testId
67
66
  }) {
68
67
  const titleId = useId();
69
68
  const descriptionId = useId();
@@ -71,7 +70,6 @@ export function AlertDialog({
71
70
  onOpenChange(false);
72
71
  }, [onOpenChange]);
73
72
  return /*#__PURE__*/_jsxDEV(Dialog, {
74
- ...rest,
75
73
  ref: ref,
76
74
  isOpen: isOpen,
77
75
  isInline: isInline,
@@ -214,7 +214,7 @@ export interface AppShellProps extends BaseProps<HTMLDivElement> {
214
214
  * </AppShell>
215
215
  * ```
216
216
  */
217
- export declare function AppShell({ variant, banner, children, contentPadding, 'data-testid': dataTestId, height, mobileNav, sideNav, topNav, xstyle, className, style, ref, ...rest }: AppShellProps): React.JSX.Element;
217
+ export declare function AppShell({ variant, banner, children, contentPadding, 'data-testid': dataTestId, height, mobileNav, sideNav, topNav, xstyle, className, style, ref, }: AppShellProps): React.JSX.Element;
218
218
  export declare namespace AppShell {
219
219
  var displayName: string;
220
220
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../src/AppShell/AppShell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAmBf,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAkC5C;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE7D;;;;;;;GAOG;AACH;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,IAAI,CAAC;IACd,QAAQ,EAAE,IAAI,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,kBAAkB,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAEzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAEhC;;;;;;;;;OASG;IACH,eAAe,CAAC,EAAE,OAAO,CA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G,eAAe,GAAG,SAAS,CAAC;IAEhD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAkKD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,QAAQ,CAAC,EACvB,OAAoB,EACpB,MAAM,EACN,QAAQ,EACR,cAAc,EACd,aAAa,EAAE,UAAU,EACzB,MAAe,EACf,SAAS,EACT,OAAO,EACP,MAAM,EACN,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,GACJ,EAAE,aAAa,qBA+Wf;yBA7Xe,QAAQ"}
@@ -218,8 +218,7 @@ export function AppShell({
218
218
  xstyle,
219
219
  className,
220
220
  style,
221
- ref,
222
- ...rest
221
+ ref
223
222
  }) {
224
223
  // =========================================================================
225
224
  // Parse mobileNav prop — normalize to config, custom element, or disabled
@@ -447,7 +446,6 @@ export function AppShell({
447
446
  return /*#__PURE__*/_jsxDEV(AppShellMobileContext, {
448
447
  value: mobileContextValue,
449
448
  children: /*#__PURE__*/_jsxDEV("div", {
450
- ...rest,
451
449
  ref: mergeRefs(ref, shellRef),
452
450
  "data-testid": dataTestId,
453
451
  ...mergeProps(themeProps('app-shell', {
@@ -1,13 +1,12 @@
1
1
  /**
2
2
  * @file AspectRatio.tsx
3
3
  * @input Uses React, stylex
4
- * @output Exports AspectRatio component, AspectRatioProps, AspectRatioShape, AspectRatioFit
4
+ * @output Exports AspectRatio component and AspectRatioProps
5
5
  * @position AspectRatio component; maintains a specific aspect ratio for its children
6
6
  *
7
7
  * SYNC: When modified, update these files to stay in sync:
8
8
  * - /packages/core/src/AspectRatio/AspectRatio.doc.mjs
9
9
  * - /packages/core/src/AspectRatio/AspectRatio.test.tsx
10
- * - /packages/core/src/reset.css (AspectRatio fit baseline rules)
11
10
  * - /apps/storybook/stories/AspectRatio.stories.tsx
12
11
  * - /packages/cli/templates/blocks/components/AspectRatio/ (showcase blocks)
13
12
  */
@@ -20,15 +19,6 @@ import type { BaseProps } from '../BaseProps';
20
19
  * this renders a circle at `ratio={1}` and an oval at non-square ratios.
21
20
  */
22
21
  export type AspectRatioShape = 'rectangle' | 'ellipse';
23
- /**
24
- * How the child is sized and positioned inside the ratio box.
25
- * - `cover`: the child fills the box; media is cropped to preserve its own
26
- * aspect ratio (`object-fit: cover`).
27
- * - `contain`: the child fills the box; media is letterboxed to stay fully
28
- * visible (`object-fit: contain`).
29
- * - `center`: the child keeps its natural size and sits centered in the box.
30
- */
31
- export type AspectRatioFit = 'cover' | 'contain' | 'center';
32
22
  export interface AspectRatioProps extends BaseProps<HTMLDivElement> {
33
23
  /** Ref forwarded to the root element */
34
24
  ref?: React.Ref<HTMLDivElement>;
@@ -40,43 +30,19 @@ export interface AspectRatioProps extends BaseProps<HTMLDivElement> {
40
30
  * The shape of the container. Both shapes respect the provided `ratio`.
41
31
  * - `rectangle` (default): a standard rectangular container.
42
32
  * - `ellipse`: clips the container to an ellipse — a circle when `ratio={1}`,
43
- * or an oval at other ratios. Pair with `fit="cover"` so the media fills
44
- * the clipped container.
33
+ * or an oval at other ratios. Pair with a child that fills the container
34
+ * (e.g. an image with `objectFit: 'cover'`).
45
35
  *
46
36
  * @default 'rectangle'
47
37
  *
48
38
  * @example
49
39
  * ```
50
- * <AspectRatio ratio={1} shape="ellipse" fit="cover">
51
- * <img src="avatar.jpg" alt="" />
40
+ * <AspectRatio ratio={1} shape="ellipse">
41
+ * <img src="avatar.jpg" alt="" style={{objectFit: 'cover'}} />
52
42
  * </AspectRatio>
53
43
  * ```
54
44
  */
55
45
  shape?: AspectRatioShape;
56
- /**
57
- * How the child is laid out inside the ratio box, so the child does not
58
- * have to declare `width`/`height`/`objectFit` itself.
59
- * - `cover`: child fills the box; media is cropped (`object-fit: cover`).
60
- * - `contain`: child fills the box; media is letterboxed
61
- * (`object-fit: contain`).
62
- * - `center`: child keeps its natural size, centered in the box.
63
- *
64
- * `cover`/`contain` child sizing ships as zero-specificity baseline rules
65
- * in `reset.css`, keyed on the `data-astryx-aspect-ratio-override`
66
- * attribute the component sets on the child's direct parent. Any styles
67
- * the child sets itself still win, so children that already size
68
- * themselves keep their behavior. When omitted, the child is left
69
- * unstyled (the pre-existing contract). `fit` is structural, not visual,
70
- * so it is not exposed on the theming surface.
71
- *
72
- * @example
73
- * ```
74
- * <AspectRatio ratio={16 / 9} fit="cover">
75
- * <img src="image.jpg" alt="Widescreen image" />
76
- * </AspectRatio>
77
- * ```
78
- */
79
- fit?: AspectRatioFit;
80
46
  /**
81
47
  * Content to render inside the aspect ratio container.
82
48
  * The child element will be positioned absolutely to fill the container.
@@ -90,29 +56,25 @@ export interface AspectRatioProps extends BaseProps<HTMLDivElement> {
90
56
  * is positioned absolutely to fill the container, which is useful for images,
91
57
  * videos, embeds, and placeholders.
92
58
  *
93
- * Use `fit` to let the component size the child: `cover`/`contain` stretch
94
- * the child to fill the box (cropping or letterboxing media), `center` keeps
95
- * the child at its natural size. Without `fit`, the child styles itself.
96
- *
97
59
  * Use `shape="ellipse"` to clip the container into an ellipse — a circle at
98
60
  * `ratio={1}` or an oval at other ratios. Both shapes respect the provided
99
61
  * `ratio`.
100
62
  *
101
63
  * @example
102
64
  * ```
103
- * <AspectRatio ratio={16 / 9} fit="cover">
104
- * <img src="image.jpg" alt="Widescreen image" />
65
+ * <AspectRatio ratio={16 / 9}>
66
+ * <img src="image.jpg" alt="Widescreen image" style={{objectFit: 'cover'}} />
105
67
  * </AspectRatio>
106
68
  * ```
107
69
  *
108
70
  * @example
109
71
  * ```
110
- * <AspectRatio ratio={1} shape="ellipse" fit="cover">
111
- * <img src="avatar.jpg" alt="" />
72
+ * <AspectRatio ratio={1} shape="ellipse">
73
+ * <img src="avatar.jpg" alt="" style={{objectFit: 'cover'}} />
112
74
  * </AspectRatio>
113
75
  * ```
114
76
  */
115
- export declare function AspectRatio({ ratio, shape, fit, children, xstyle, className, style, ref, ...props }: AspectRatioProps): import("react").JSX.Element;
77
+ export declare function AspectRatio({ ratio, shape, children, xstyle, className, style, ref, ...props }: AspectRatioProps): import("react").JSX.Element;
116
78
  export declare namespace AspectRatio {
117
79
  var displayName: string;
118
80
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AspectRatio.d.ts","sourceRoot":"","sources":["../../src/AspectRatio/AspectRatio.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAI5C;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,SAAS,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE5D,MAAM,WAAW,gBAAiB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACjE,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,GAAG,CAAC,EAAE,cAAc,CAAC;IAErB;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB;AAkCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,KAAmB,EACnB,GAAG,EACH,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,GAAG,KAAK,EACT,EAAE,gBAAgB,+BA2BlB;yBArCe,WAAW"}
1
+ {"version":3,"file":"AspectRatio.d.ts","sourceRoot":"","sources":["../../src/AspectRatio/AspectRatio.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAI5C;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,SAAS,CAAC;AAEvD,MAAM,WAAW,gBAAiB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACjE,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB;AAwBD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,KAAmB,EACnB,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,GAAG,KAAK,EACT,EAAE,gBAAgB,+BAkBlB;yBA3Be,WAAW"}
@@ -5,13 +5,12 @@
5
5
  /**
6
6
  * @file AspectRatio.tsx
7
7
  * @input Uses React, stylex
8
- * @output Exports AspectRatio component, AspectRatioProps, AspectRatioShape, AspectRatioFit
8
+ * @output Exports AspectRatio component and AspectRatioProps
9
9
  * @position AspectRatio component; maintains a specific aspect ratio for its children
10
10
  *
11
11
  * SYNC: When modified, update these files to stay in sync:
12
12
  * - /packages/core/src/AspectRatio/AspectRatio.doc.mjs
13
13
  * - /packages/core/src/AspectRatio/AspectRatio.test.tsx
14
- * - /packages/core/src/reset.css (AspectRatio fit baseline rules)
15
14
  * - /apps/storybook/stories/AspectRatio.stories.tsx
16
15
  * - /packages/cli/templates/blocks/components/AspectRatio/ (showcase blocks)
17
16
  */
@@ -25,15 +24,6 @@ import { themeProps } from "../utils/themeProps.js";
25
24
  * - `ellipse`: clips the container to an ellipse. Combined with the `ratio`,
26
25
  * this renders a circle at `ratio={1}` and an oval at non-square ratios.
27
26
  */
28
-
29
- /**
30
- * How the child is sized and positioned inside the ratio box.
31
- * - `cover`: the child fills the box; media is cropped to preserve its own
32
- * aspect ratio (`object-fit: cover`).
33
- * - `contain`: the child fills the box; media is letterboxed to stay fully
34
- * visible (`object-fit: contain`).
35
- * - `center`: the child keeps its natural size and sits centered in the box.
36
- */
37
27
  import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
38
28
  const styles = {
39
29
  container: {
@@ -57,32 +47,27 @@ const styles = {
57
47
  * is positioned absolutely to fill the container, which is useful for images,
58
48
  * videos, embeds, and placeholders.
59
49
  *
60
- * Use `fit` to let the component size the child: `cover`/`contain` stretch
61
- * the child to fill the box (cropping or letterboxing media), `center` keeps
62
- * the child at its natural size. Without `fit`, the child styles itself.
63
- *
64
50
  * Use `shape="ellipse"` to clip the container into an ellipse — a circle at
65
51
  * `ratio={1}` or an oval at other ratios. Both shapes respect the provided
66
52
  * `ratio`.
67
53
  *
68
54
  * @example
69
55
  * ```
70
- * <AspectRatio ratio={16 / 9} fit="cover">
71
- * <img src="image.jpg" alt="Widescreen image" />
56
+ * <AspectRatio ratio={16 / 9}>
57
+ * <img src="image.jpg" alt="Widescreen image" style={{objectFit: 'cover'}} />
72
58
  * </AspectRatio>
73
59
  * ```
74
60
  *
75
61
  * @example
76
62
  * ```
77
- * <AspectRatio ratio={1} shape="ellipse" fit="cover">
78
- * <img src="avatar.jpg" alt="" />
63
+ * <AspectRatio ratio={1} shape="ellipse">
64
+ * <img src="avatar.jpg" alt="" style={{objectFit: 'cover'}} />
79
65
  * </AspectRatio>
80
66
  * ```
81
67
  */
82
68
  export function AspectRatio({
83
69
  ratio,
84
70
  shape = 'rectangle',
85
- fit,
86
71
  children,
87
72
  xstyle,
88
73
  className,
@@ -100,15 +85,9 @@ export function AspectRatio({
100
85
  }),
101
86
  ...props,
102
87
  children: /*#__PURE__*/_jsxDEV("div", {
103
- "data-astryx-aspect-ratio-override": fit,
104
88
  ...{
105
- 0: {
106
- className: "x10l6tqk x13vifvy x1o0tod xh8yej3 x5yr21d"
107
- },
108
- 1: {
109
- className: "x10l6tqk x13vifvy x1o0tod xh8yej3 x5yr21d x78zum5 x6s0dn4 xl56j7k"
110
- }
111
- }[!!(fit === 'center') << 0],
89
+ className: "x10l6tqk x13vifvy x1o0tod xh8yej3 x5yr21d"
90
+ },
112
91
  children: children
113
92
  }, void 0, false)
114
93
  }, void 0, false);
@@ -7,5 +7,5 @@
7
7
  * SYNC: When modified, update /packages/core/src/AspectRatio/AspectRatio.doc.mjs
8
8
  */
9
9
  export { AspectRatio } from './AspectRatio';
10
- export type { AspectRatioProps, AspectRatioShape, AspectRatioFit, } from './AspectRatio';
10
+ export type { AspectRatioProps, AspectRatioShape } from './AspectRatio';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AspectRatio/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AAEH,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,GACf,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AspectRatio/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AAEH,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,YAAY,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../src/Avatar/Avatar.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAoB,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAsC5C;;G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,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,GAAG,KAAK,EACT,EAAE,WAAW,+BAwFb;yBArGe,MAAM"}
@@ -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":"AA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C;IACnB,6EAA6E;IAC7E,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,iCAAiC;IACjC,KAAK,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: