`).",
- "detailedType": "boolean | undefined"
- },
- "style": {
- "type": "CSSProperties | ((state: NumberField.Increment.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: NumberField.Increment.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: NumberField.Increment.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((\n state: NumberField.Increment.State,\n ) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: NumberField.Increment.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: NumberField.Increment.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-disabled": {
- "description": "Present when the number field is disabled."
- },
- "data-readonly": {
- "description": "Present when the number field is readonly."
- },
- "data-required": {
- "description": "Present when the number field is required."
- },
- "data-valid": {
- "description": "Present when the number field is in valid state (when wrapped in Field.Root)."
- },
- "data-invalid": {
- "description": "Present when the number field is in invalid state (when wrapped in Field.Root)."
- },
- "data-dirty": {
- "description": "Present when the number field's value has changed (when wrapped in Field.Root)."
- },
- "data-touched": {
- "description": "Present when the number field has been touched (when wrapped in Field.Root)."
- },
- "data-filled": {
- "description": "Present when the number field is filled (when wrapped in Field.Root)."
- },
- "data-focused": {
- "description": "Present when the number field is focused (when wrapped in Field.Root)."
- },
- "data-scrubbing": {
- "description": "Present while scrubbing."
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/number-field-input.json b/docs/reference/generated/number-field-input.json
deleted file mode 100644
index aaf397ce191..00000000000
--- a/docs/reference/generated/number-field-input.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "NumberFieldInput",
- "description": "The native input control in the number field.\nRenders an `
` element.",
- "props": {
- "aria-roledescription": {
- "type": "string",
- "default": "'Number field'",
- "description": "A string value that provides a user-friendly name for the role of the input.",
- "detailedType": "string | undefined"
- },
- "style": {
- "type": "CSSProperties | ((state: NumberField.Input.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: NumberField.Input.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: NumberField.Input.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: NumberField.Input.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: NumberField.Input.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: NumberField.Input.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-disabled": {
- "description": "Present when the number field is disabled."
- },
- "data-readonly": {
- "description": "Present when the number field is readonly."
- },
- "data-required": {
- "description": "Present when the number field is required."
- },
- "data-valid": {
- "description": "Present when the number field is in valid state (when wrapped in Field.Root)."
- },
- "data-invalid": {
- "description": "Present when the number field is in invalid state (when wrapped in Field.Root)."
- },
- "data-dirty": {
- "description": "Present when the number field's value has changed (when wrapped in Field.Root)."
- },
- "data-touched": {
- "description": "Present when the number field has been touched (when wrapped in Field.Root)."
- },
- "data-filled": {
- "description": "Present when the number field is filled (when wrapped in Field.Root)."
- },
- "data-focused": {
- "description": "Present when the number field is focused (when wrapped in Field.Root)."
- },
- "data-scrubbing": {
- "description": "Present while scrubbing."
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/number-field-root.json b/docs/reference/generated/number-field-root.json
deleted file mode 100644
index 5b521baf6c1..00000000000
--- a/docs/reference/generated/number-field-root.json
+++ /dev/null
@@ -1,155 +0,0 @@
-{
- "name": "NumberFieldRoot",
- "description": "Groups all parts of the number field and manages its state.\nRenders a `
` element.",
- "props": {
- "name": {
- "type": "string",
- "description": "Identifies the field when a form is submitted.",
- "detailedType": "string | undefined"
- },
- "defaultValue": {
- "type": "number",
- "description": "The uncontrolled value of the field when it’s initially rendered.\n\nTo render a controlled number field, use the `value` prop instead.",
- "detailedType": "number | undefined"
- },
- "value": {
- "type": "number | null",
- "description": "The raw numeric value of the field.",
- "detailedType": "number | null | undefined"
- },
- "onValueChange": {
- "type": "((value: number | null, eventDetails: NumberField.Root.ChangeEventDetails) => void)",
- "description": "Callback fired when the number value changes.",
- "detailedType": "| ((\n value: number | null,\n eventDetails: NumberField.Root.ChangeEventDetails,\n ) => void)\n| undefined"
- },
- "onValueCommitted": {
- "type": "((value: number | null, eventDetails: NumberField.Root.CommitEventDetails) => void)",
- "description": "Callback function that is fired when the value is committed.\nIt runs later than `onValueChange`, when:\n- The input is blurred after typing a value.\n- The pointer is released after scrubbing or pressing the increment/decrement buttons.\n\nIt runs simultaneously with `onValueChange` when interacting with the keyboard.\n\n**Warning**: This is a generic event not a change event.",
- "detailedType": "| ((\n value: number | null,\n eventDetails: NumberField.Root.CommitEventDetails,\n ) => void)\n| undefined"
- },
- "locale": {
- "type": "Intl.LocalesArgument",
- "description": "The locale of the input element.\nDefaults to the user's runtime locale."
- },
- "snapOnStep": {
- "type": "boolean",
- "default": "false",
- "description": "Whether the value should snap to the nearest step when incrementing or decrementing.",
- "detailedType": "boolean | undefined"
- },
- "style": {
- "type": "CSSProperties | ((state: NumberField.Root.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: NumberField.Root.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "step": {
- "type": "number",
- "default": "1",
- "description": "Amount to increment and decrement with the buttons and arrow keys,\nor to scrub with pointer movement in the scrub area.",
- "detailedType": "number | undefined"
- },
- "smallStep": {
- "type": "number",
- "default": "0.1",
- "description": "The small step value of the input element when incrementing while the meta key is held. Snaps\nto multiples of this value.",
- "detailedType": "number | undefined"
- },
- "largeStep": {
- "type": "number",
- "default": "10",
- "description": "The large step value of the input element when incrementing while the shift key is held. Snaps\nto multiples of this value.",
- "detailedType": "number | undefined"
- },
- "min": {
- "type": "number",
- "description": "The minimum value of the input element.",
- "detailedType": "number | undefined"
- },
- "max": {
- "type": "number",
- "description": "The maximum value of the input element.",
- "detailedType": "number | undefined"
- },
- "allowWheelScrub": {
- "type": "boolean",
- "default": "false",
- "description": "Whether to allow the user to scrub the input value with the mouse wheel while focused and\nhovering over the input.",
- "detailedType": "boolean | undefined"
- },
- "format": {
- "type": "Intl.NumberFormatOptions",
- "description": "Options to format the input value.",
- "detailedType": "Intl.NumberFormatOptions | undefined"
- },
- "disabled": {
- "type": "boolean",
- "default": "false",
- "description": "Whether the component should ignore user interaction.",
- "detailedType": "boolean | undefined"
- },
- "readOnly": {
- "type": "boolean",
- "default": "false",
- "description": "Whether the user should be unable to change the field value.",
- "detailedType": "boolean | undefined"
- },
- "required": {
- "type": "boolean",
- "default": "false",
- "description": "Whether the user must enter a value before submitting a form.",
- "detailedType": "boolean | undefined"
- },
- "inputRef": {
- "type": "Ref
",
- "description": "A ref to access the hidden input element.",
- "detailedType": "React.Ref | undefined"
- },
- "id": {
- "type": "string",
- "description": "The id of the input element.",
- "detailedType": "string | undefined"
- },
- "className": {
- "type": "string | ((state: NumberField.Root.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: NumberField.Root.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: NumberField.Root.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: NumberField.Root.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-disabled": {
- "description": "Present when the number field is disabled."
- },
- "data-readonly": {
- "description": "Present when the number field is readonly."
- },
- "data-required": {
- "description": "Present when the number field is required."
- },
- "data-valid": {
- "description": "Present when the number field is in valid state (when wrapped in Field.Root)."
- },
- "data-invalid": {
- "description": "Present when the number field is in invalid state (when wrapped in Field.Root)."
- },
- "data-dirty": {
- "description": "Present when the number field's value has changed (when wrapped in Field.Root)."
- },
- "data-touched": {
- "description": "Present when the number field has been touched (when wrapped in Field.Root)."
- },
- "data-filled": {
- "description": "Present when the number field is filled (when wrapped in Field.Root)."
- },
- "data-focused": {
- "description": "Present when the number field is focused (when wrapped in Field.Root)."
- },
- "data-scrubbing": {
- "description": "Present while scrubbing."
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/number-field-scrub-area-cursor.json b/docs/reference/generated/number-field-scrub-area-cursor.json
deleted file mode 100644
index 0c504323a08..00000000000
--- a/docs/reference/generated/number-field-scrub-area-cursor.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "name": "NumberFieldScrubAreaCursor",
- "description": "A custom element to display instead of the native cursor while using the scrub area.\nRenders a `` element.\n\nThis component uses the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API), which may prompt the browser to display a related notification. It is disabled\nin Safari to avoid a layout shift that this notification causes there.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: NumberField.ScrubAreaCursor.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: NumberField.ScrubAreaCursor.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: NumberField.ScrubAreaCursor.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((\n state: NumberField.ScrubAreaCursor.State,\n ) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: NumberField.ScrubAreaCursor.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: NumberField.ScrubAreaCursor.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-disabled": {
- "description": "Present when the number field is disabled."
- },
- "data-readonly": {
- "description": "Present when the number field is readonly."
- },
- "data-required": {
- "description": "Present when the number field is required."
- },
- "data-valid": {
- "description": "Present when the number field is in valid state (when wrapped in Field.Root)."
- },
- "data-invalid": {
- "description": "Present when the number field is in invalid state (when wrapped in Field.Root)."
- },
- "data-dirty": {
- "description": "Present when the number field's value has changed (when wrapped in Field.Root)."
- },
- "data-touched": {
- "description": "Present when the number field has been touched (when wrapped in Field.Root)."
- },
- "data-filled": {
- "description": "Present when the number field is filled (when wrapped in Field.Root)."
- },
- "data-focused": {
- "description": "Present when the number field is focused (when wrapped in Field.Root)."
- },
- "data-scrubbing": {
- "description": "Present while scrubbing."
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/number-field-scrub-area.json b/docs/reference/generated/number-field-scrub-area.json
deleted file mode 100644
index b075018a7be..00000000000
--- a/docs/reference/generated/number-field-scrub-area.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "name": "NumberFieldScrubArea",
- "description": "An interactive area where the user can click and drag to change the field value.\nRenders a `` element.",
- "props": {
- "direction": {
- "type": "'horizontal' | 'vertical'",
- "default": "'horizontal'",
- "description": "Cursor movement direction in the scrub area.",
- "detailedType": "'horizontal' | 'vertical' | undefined"
- },
- "pixelSensitivity": {
- "type": "number",
- "default": "2",
- "description": "Determines how many pixels the cursor must move before the value changes.\nA higher value will make scrubbing less sensitive.",
- "detailedType": "number | undefined"
- },
- "style": {
- "type": "CSSProperties | ((state: NumberField.ScrubArea.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: NumberField.ScrubArea.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "teleportDistance": {
- "type": "number",
- "description": "If specified, determines the distance that the cursor may move from the center\nof the scrub area before it will loop back around.",
- "detailedType": "number | undefined"
- },
- "className": {
- "type": "string | ((state: NumberField.ScrubArea.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((\n state: NumberField.ScrubArea.State,\n ) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: NumberField.ScrubArea.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: NumberField.ScrubArea.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-disabled": {
- "description": "Present when the number field is disabled."
- },
- "data-readonly": {
- "description": "Present when the number field is readonly."
- },
- "data-required": {
- "description": "Present when the number field is required."
- },
- "data-valid": {
- "description": "Present when the number field is in valid state (when wrapped in Field.Root)."
- },
- "data-invalid": {
- "description": "Present when the number field is in invalid state (when wrapped in Field.Root)."
- },
- "data-dirty": {
- "description": "Present when the number field's value has changed (when wrapped in Field.Root)."
- },
- "data-touched": {
- "description": "Present when the number field has been touched (when wrapped in Field.Root)."
- },
- "data-filled": {
- "description": "Present when the number field is filled (when wrapped in Field.Root)."
- },
- "data-focused": {
- "description": "Present when the number field is focused (when wrapped in Field.Root)."
- },
- "data-scrubbing": {
- "description": "Present while scrubbing."
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/popover-arrow.json b/docs/reference/generated/popover-arrow.json
deleted file mode 100644
index b2155569233..00000000000
--- a/docs/reference/generated/popover-arrow.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "name": "PopoverArrow",
- "description": "Displays an element positioned against the popover anchor.\nRenders a `` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: Popover.Arrow.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Arrow.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: Popover.Arrow.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Arrow.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Arrow.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Arrow.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-open": {
- "description": "Present when the popup is open."
- },
- "data-closed": {
- "description": "Present when the popup is closed."
- },
- "data-uncentered": {
- "description": "Present when the popover arrow is uncentered."
- },
- "data-anchor-hidden": {
- "description": "Present when the anchor is hidden."
- },
- "data-align": {
- "description": "Indicates how the popup is aligned relative to specified side.",
- "type": "'start' | 'center' | 'end'"
- },
- "data-side": {
- "description": "Indicates which side the popup is positioned relative to the trigger.",
- "type": "'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'"
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/popover-backdrop.json b/docs/reference/generated/popover-backdrop.json
deleted file mode 100644
index 1bf7fd57162..00000000000
--- a/docs/reference/generated/popover-backdrop.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "PopoverBackdrop",
- "description": "An overlay displayed beneath the popover.\nRenders a `
` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: Popover.Backdrop.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Backdrop.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: Popover.Backdrop.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Backdrop.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Backdrop.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Backdrop.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-open": {
- "description": "Present when the popup is open."
- },
- "data-closed": {
- "description": "Present when the popup is closed."
- },
- "data-starting-style": {
- "description": "Present when the popup is animating in."
- },
- "data-ending-style": {
- "description": "Present when the popup is animating out."
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/popover-close.json b/docs/reference/generated/popover-close.json
deleted file mode 100644
index 42a19c0793a..00000000000
--- a/docs/reference/generated/popover-close.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "name": "PopoverClose",
- "description": "A button that closes the popover.\nRenders a `
` element.",
- "props": {
- "nativeButton": {
- "type": "boolean",
- "default": "true",
- "description": "Whether the component renders a native `` element when replacing it\nvia the `render` prop.\nSet to `false` if the rendered element is not a button (e.g. ``).",
- "detailedType": "boolean | undefined"
- },
- "style": {
- "type": "CSSProperties | ((state: Popover.Close.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Close.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: Popover.Close.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Close.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Close.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Close.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {},
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/popover-description.json b/docs/reference/generated/popover-description.json
deleted file mode 100644
index e0a9dfb56b3..00000000000
--- a/docs/reference/generated/popover-description.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "name": "PopoverDescription",
- "description": "A paragraph with additional information about the popover.\nRenders a `
` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: Popover.Description.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Description.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: Popover.Description.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Description.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Description.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Description.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {},
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/popover-popup.json b/docs/reference/generated/popover-popup.json
deleted file mode 100644
index 5e4b6082930..00000000000
--- a/docs/reference/generated/popover-popup.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "name": "PopoverPopup",
- "description": "A container for the popover contents.\nRenders a `
` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: Popover.Popup.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Popup.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "initialFocus": {
- "type": "boolean | RefObject
| ((openType: InteractionType) => boolean | void | HTMLElement | null)",
- "description": "Determines the element to focus when the popover is opened.\n\n- `false`: Do not move focus.\n- `true`: Move focus based on the default behavior (first tabbable element or popup).\n- `RefObject`: Move focus to the ref element.\n- `function`: Called with the interaction type (`mouse`, `touch`, `pen`, or `keyboard`).\n Return an element to focus, `true` to use the default behavior, or `false`/`undefined` to do nothing.",
- "detailedType": "| boolean\n| React.RefObject\n| ((\n openType: InteractionType,\n ) => boolean | void | HTMLElement | null)\n| undefined"
- },
- "finalFocus": {
- "type": "boolean | RefObject | ((closeType: InteractionType) => boolean | void | HTMLElement | null)",
- "description": "Determines the element to focus when the popover is closed.\n\n- `false`: Do not move focus.\n- `true`: Move focus based on the default behavior (trigger or previously focused element).\n- `RefObject`: Move focus to the ref element.\n- `function`: Called with the interaction type (`mouse`, `touch`, `pen`, or `keyboard`).\n Return an element to focus, `true` to use the default behavior, or `false`/`undefined` to do nothing.",
- "detailedType": "| boolean\n| React.RefObject\n| ((\n closeType: InteractionType,\n ) => boolean | void | HTMLElement | null)\n| undefined"
- },
- "className": {
- "type": "string | ((state: Popover.Popup.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Popup.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Popup.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Popup.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-open": {
- "description": "Present when the popup is open."
- },
- "data-closed": {
- "description": "Present when the popup is closed."
- },
- "data-align": {
- "description": "Indicates how the popup is aligned relative to specified side.",
- "type": "'start' | 'center' | 'end'"
- },
- "data-instant": {
- "description": "Present if animations should be instant.",
- "type": "'click' | 'dismiss'"
- },
- "data-side": {
- "description": "Indicates which side the popup is positioned relative to the trigger.",
- "type": "'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'"
- },
- "data-starting-style": {
- "description": "Present when the popup is animating in."
- },
- "data-ending-style": {
- "description": "Present when the popup is animating out."
- }
- },
- "cssVariables": {
- "--popup-height": {
- "description": "The height of the popup."
- },
- "--popup-width": {
- "description": "The width of the popup."
- }
- }
-}
diff --git a/docs/reference/generated/popover-portal.json b/docs/reference/generated/popover-portal.json
deleted file mode 100644
index cf2200647e4..00000000000
--- a/docs/reference/generated/popover-portal.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "name": "PopoverPortal",
- "description": "A portal element that moves the popup to a different part of the DOM.\nBy default, the portal element is appended to ``.\nRenders a `` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: Popover.Portal.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Portal.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "container": {
- "type": "HTMLElement | ShadowRoot | RefObject
| null",
- "description": "A parent element to render the portal element into.",
- "detailedType": "| HTMLElement\n| ShadowRoot\n| React.RefObject\n| null\n| undefined"
- },
- "className": {
- "type": "string | ((state: Popover.Portal.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Portal.State) => string | undefined)"
- },
- "keepMounted": {
- "type": "boolean",
- "default": "false",
- "description": "Whether to keep the portal mounted in the DOM while the popup is hidden.",
- "detailedType": "boolean | undefined"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Portal.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Portal.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {},
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/popover-positioner.json b/docs/reference/generated/popover-positioner.json
deleted file mode 100644
index 01d6ea3c1f7..00000000000
--- a/docs/reference/generated/popover-positioner.json
+++ /dev/null
@@ -1,140 +0,0 @@
-{
- "name": "PopoverPositioner",
- "description": "Positions the popover against the trigger.\nRenders a `` element.",
- "props": {
- "collisionAvoidance": {
- "type": "CollisionAvoidance",
- "description": "Determines how to handle collisions when positioning the popup.",
- "example": "```jsx\n
\n```",
- "detailedType": "| {\n side?: 'none' | 'flip'\n align?: 'none' | 'flip' | 'shift'\n fallbackAxisSide?: 'none' | 'end' | 'start'\n }\n| {\n side?: 'none' | 'shift'\n align?: 'none' | 'shift'\n fallbackAxisSide?: 'none' | 'end' | 'start'\n }\n| undefined"
- },
- "style": {
- "type": "CSSProperties | ((state: Popover.Positioner.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Positioner.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "align": {
- "type": "Align",
- "default": "'center'",
- "description": "How to align the popup relative to the specified side.",
- "detailedType": "'center' | 'end' | 'start' | undefined"
- },
- "alignOffset": {
- "type": "number | OffsetFunction",
- "default": "0",
- "description": "Additional offset along the alignment axis in pixels.\nAlso accepts a function that returns the offset to read the dimensions of the anchor\nand positioner elements, along with its side and alignment.\n\nThe function takes a `data` object parameter with the following properties:\n- `data.anchor`: the dimensions of the anchor element with properties `width` and `height`.\n- `data.positioner`: the dimensions of the positioner element with properties `width` and `height`.\n- `data.side`: which side of the anchor element the positioner is aligned against.\n- `data.align`: how the positioner is aligned relative to the specified side.",
- "example": "```jsx\n
{\n return side === 'top' || side === 'bottom'\n ? anchor.width\n : anchor.height;\n }}\n/>\n```",
- "detailedType": "| number\n| ((data: {\n side: Side\n align: Align\n anchor: { width: number; height: number }\n positioner: { width: number; height: number }\n }) => number)\n| undefined"
- },
- "side": {
- "type": "Side",
- "default": "'bottom'",
- "description": "Which side of the anchor element to align the popup against.\nMay automatically change to avoid collisions.",
- "detailedType": "| 'left'\n| 'right'\n| 'bottom'\n| 'top'\n| 'inline-end'\n| 'inline-start'\n| undefined"
- },
- "sideOffset": {
- "type": "number | OffsetFunction",
- "default": "0",
- "description": "Distance between the anchor and the popup in pixels.\nAlso accepts a function that returns the distance to read the dimensions of the anchor\nand positioner elements, along with its side and alignment.\n\nThe function takes a `data` object parameter with the following properties:\n- `data.anchor`: the dimensions of the anchor element with properties `width` and `height`.\n- `data.positioner`: the dimensions of the positioner element with properties `width` and `height`.\n- `data.side`: which side of the anchor element the positioner is aligned against.\n- `data.align`: how the positioner is aligned relative to the specified side.",
- "example": "```jsx\n {\n return side === 'top' || side === 'bottom'\n ? anchor.height\n : anchor.width;\n }}\n/>\n```",
- "detailedType": "| number\n| ((data: {\n side: Side\n align: Align\n anchor: { width: number; height: number }\n positioner: { width: number; height: number }\n }) => number)\n| undefined"
- },
- "arrowPadding": {
- "type": "number",
- "default": "5",
- "description": "Minimum distance to maintain between the arrow and the edges of the popup.\n\nUse it to prevent the arrow element from hanging out of the rounded corners of a popup.",
- "detailedType": "number | undefined"
- },
- "anchor": {
- "type": "Element | RefObject | VirtualElement | (() => Element | VirtualElement | null) | null",
- "description": "An element to position the popup against.\nBy default, the popup will be positioned against the trigger.",
- "detailedType": "| Element\n| React.RefObject\n| VirtualElement\n| (() => Element | VirtualElement | null)\n| null\n| undefined"
- },
- "collisionBoundary": {
- "type": "Boundary",
- "default": "'clipping-ancestors'",
- "description": "An element or a rectangle that delimits the area that the popup is confined to.",
- "detailedType": "| Element\n| 'clipping-ancestors'\n| Element[]\n| Rect\n| undefined"
- },
- "collisionPadding": {
- "type": "Padding",
- "default": "5",
- "description": "Additional space to maintain from the edge of the collision boundary.",
- "detailedType": "| {\n top?: number\n right?: number\n bottom?: number\n left?: number\n }\n| number\n| undefined"
- },
- "sticky": {
- "type": "boolean",
- "default": "false",
- "description": "Whether to maintain the popup in the viewport after\nthe anchor element was scrolled out of view.",
- "detailedType": "boolean | undefined"
- },
- "positionMethod": {
- "type": "'fixed' | 'absolute'",
- "default": "'absolute'",
- "description": "Determines which CSS `position` property to use.",
- "detailedType": "'fixed' | 'absolute' | undefined"
- },
- "trackAnchor": {
- "type": "boolean",
- "default": "true",
- "description": "Whether the popup tracks any layout shift of its positioning anchor.",
- "detailedType": "boolean | undefined"
- },
- "className": {
- "type": "string | ((state: Popover.Positioner.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Positioner.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Positioner.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Positioner.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-open": {
- "description": "Present when the popup is open."
- },
- "data-closed": {
- "description": "Present when the popup is closed."
- },
- "data-anchor-hidden": {
- "description": "Present when the anchor is hidden."
- },
- "data-align": {
- "description": "Indicates how the popup is aligned relative to specified side.",
- "type": "'start' | 'center' | 'end'"
- },
- "data-side": {
- "description": "Indicates which side the popup is positioned relative to the trigger.",
- "type": "'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'"
- }
- },
- "cssVariables": {
- "--anchor-height": {
- "description": "The anchor's height.",
- "type": "number"
- },
- "--anchor-width": {
- "description": "The anchor's width.",
- "type": "number"
- },
- "--available-height": {
- "description": "The available height between the trigger and the edge of the viewport.",
- "type": "number"
- },
- "--available-width": {
- "description": "The available width between the trigger and the edge of the viewport.",
- "type": "number"
- },
- "--positioner-height": {
- "description": "The height of the popover's positioner.\nIt is important to set `height` to this value when using CSS to animate size changes."
- },
- "--positioner-width": {
- "description": "The width of the popover's positioner.\nIt is important to set `width` to this value when using CSS to animate size changes."
- },
- "--transform-origin": {
- "description": "The coordinates that this element is anchored to. Used for animations and transitions.",
- "type": "string"
- }
- }
-}
diff --git a/docs/reference/generated/popover-root.json b/docs/reference/generated/popover-root.json
deleted file mode 100644
index 9a3ace17cf7..00000000000
--- a/docs/reference/generated/popover-root.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "name": "PopoverRoot",
- "description": "Groups all parts of the popover.\nDoesn’t render its own HTML element.",
- "props": {
- "defaultOpen": {
- "type": "boolean",
- "default": "false",
- "description": "Whether the popover is initially open.\n\nTo render a controlled popover, use the `open` prop instead.",
- "detailedType": "boolean | undefined"
- },
- "open": {
- "type": "boolean",
- "description": "Whether the popover is currently open.",
- "detailedType": "boolean | undefined"
- },
- "onOpenChange": {
- "type": "((open: boolean, eventDetails: Popover.Root.ChangeEventDetails) => void)",
- "description": "Event handler called when the popover is opened or closed.",
- "detailedType": "| ((\n open: boolean,\n eventDetails: Popover.Root.ChangeEventDetails,\n ) => void)\n| undefined"
- },
- "actionsRef": {
- "type": "RefObject",
- "description": "A ref to imperative actions.\n- `unmount`: When specified, the popover will not be unmounted when closed.\nInstead, the `unmount` function must be called to unmount the popover manually.\nUseful when the popover's animation is controlled by an external library.",
- "detailedType": "| React.RefObject\n| undefined"
- },
- "defaultTriggerId": {
- "type": "string | null",
- "description": "ID of the trigger that the popover is associated with.\nThis is useful in conjuntion with the `defaultOpen` prop to create an initially open popover.",
- "detailedType": "string | null | undefined"
- },
- "handle": {
- "type": "PopoverHandle",
- "description": "A handle to associate the popover with a trigger.\nIf specified, allows external triggers to control the popover's open state.",
- "detailedType": "{} | undefined"
- },
- "modal": {
- "type": "boolean | 'trap-focus'",
- "default": "false",
- "description": "Determines if the popover enters a modal state when open.\n- `true`: user interaction is limited to the popover: document page scroll is locked, and pointer interactions on outside elements are disabled.\n- `false`: user interaction with the rest of the document is allowed.\n- `'trap-focus'`: focus is trapped inside the popover, but document page scroll is not locked and pointer interactions outside of it remain enabled.",
- "detailedType": "boolean | 'trap-focus' | undefined"
- },
- "onOpenChangeComplete": {
- "type": "((open: boolean) => void)",
- "description": "Event handler called after any animations complete when the popover is opened or closed.",
- "detailedType": "((open: boolean) => void) | undefined"
- },
- "triggerId": {
- "type": "string | null",
- "description": "ID of the trigger that the popover is associated with.\nThis is useful in conjuntion with the `open` prop to create a controlled popover.\nThere's no need to specify this prop when the popover is uncontrolled (i.e. when the `open` prop is not set).",
- "detailedType": "string | null | undefined"
- },
- "children": {
- "type": "ReactNode | PayloadChildRenderFunction",
- "description": "The content of the popover.\nThis can be a regular React node or a render function that receives the `payload` of the active trigger.",
- "detailedType": "| React.ReactNode\n| ((arg: { payload: Payload | undefined }) => ReactNode)"
- }
- },
- "dataAttributes": {},
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/popover-title.json b/docs/reference/generated/popover-title.json
deleted file mode 100644
index 5e32c2940ad..00000000000
--- a/docs/reference/generated/popover-title.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "name": "PopoverTitle",
- "description": "A heading that labels the popover.\nRenders an `` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: Popover.Title.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Title.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: Popover.Title.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Title.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Title.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Title.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {},
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/popover-trigger.json b/docs/reference/generated/popover-trigger.json
deleted file mode 100644
index 2fc7e9b855c..00000000000
--- a/docs/reference/generated/popover-trigger.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "name": "PopoverTrigger",
- "description": "A button that opens the popover.\nRenders a `` element.",
- "props": {
- "handle": {
- "type": "PopoverHandle",
- "description": "A handle to associate the trigger with a popover.",
- "detailedType": "{} | undefined"
- },
- "nativeButton": {
- "type": "boolean",
- "default": "true",
- "description": "Whether the component renders a native `` element when replacing it\nvia the `render` prop.\nSet to `false` if the rendered element is not a button (e.g. ``).",
- "detailedType": "boolean | undefined"
- },
- "payload": {
- "type": "Payload",
- "description": "A payload to pass to the popover when it is opened.",
- "detailedType": "Payload | undefined"
- },
- "style": {
- "type": "CSSProperties | ((state: Popover.Trigger.State) => CSSProperties | undefined)",
- "description": "Style applied to the element, or a function that\nreturns a style object based on the component’s state.",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Trigger.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "openOnHover": {
- "type": "boolean",
- "default": "false",
- "description": "Whether the popover should also open when the trigger is hovered.",
- "detailedType": "boolean | undefined"
- },
- "delay": {
- "type": "number",
- "default": "300",
- "description": "How long to wait before the popover may be opened on hover. Specified in milliseconds.\n\nRequires the `openOnHover` prop.",
- "detailedType": "number | undefined"
- },
- "closeDelay": {
- "type": "number",
- "default": "0",
- "description": "How long to wait before closing the popover that was opened on hover.\nSpecified in milliseconds.\n\nRequires the `openOnHover` prop.",
- "detailedType": "number | undefined"
- },
- "id": {
- "type": "string",
- "description": "ID of the trigger. In addition to being forwarded to the rendered element,\nit is also used to specify the active trigger for the popover in controlled mode (with the Popover.Root `triggerId` prop).",
- "detailedType": "string | undefined"
- },
- "className": {
- "type": "string | ((state: Popover.Trigger.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Trigger.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Trigger.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Trigger.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-popup-open": {
- "description": "Present when the corresponding popover is open."
- },
- "data-pressed": {
- "description": "Present when the trigger is pressed."
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/popover-viewport.json b/docs/reference/generated/popover-viewport.json
deleted file mode 100644
index 06239804c11..00000000000
--- a/docs/reference/generated/popover-viewport.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "name": "PopoverViewport",
- "description": "A viewport for displaying content transitions.\nThis component is only required if one popup can be opened by multiple triggers, its content change based on the trigger\nand switching between them is animated.\nRenders a `
` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: Popover.Viewport.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: Popover.Viewport.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "children": {
- "type": "ReactNode",
- "description": "The content to render inside the transition container.",
- "detailedType": "React.ReactNode"
- },
- "className": {
- "type": "string | ((state: Popover.Viewport.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: Popover.Viewport.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: Popover.Viewport.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: Popover.Viewport.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-activation-direction": {
- "description": "Indicates the direction from which the popup was activated.\nThis can be used to create directional animations based on how the popup was triggered.\nContains space-separated values for both horizontal and vertical axes.",
- "type": "`${'left' | 'right'} {'top' | 'bottom'}`"
- },
- "data-current": {
- "description": "Applied to the direct child of the viewport when no transitions are present or the new content when it's entering."
- },
- "data-previous": {
- "description": "Applied to the direct child of the viewport that contains the exiting content when transitions are present."
- },
- "data-transitioning": {
- "description": "Indicates that the viewport is currently transitioning between old and new content."
- }
- },
- "cssVariables": {
- "--popup-height": {
- "description": "The height of the parent popup.\nThis variable is placed on the 'previous' container and stores the height of the popup when the previous content was rendered.\nIt can be used to freeze the dimensions of the popup when animating between different content."
- },
- "--popup-width": {
- "description": "The width of the parent popup.\nThis variable is placed on the 'previous' container and stores the width of the popup when the previous content was rendered.\nIt can be used to freeze the dimensions of the popup when animating between different content."
- }
- }
-}
diff --git a/docs/reference/generated/preview-card-arrow.json b/docs/reference/generated/preview-card-arrow.json
deleted file mode 100644
index 6e166c2d788..00000000000
--- a/docs/reference/generated/preview-card-arrow.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "name": "PreviewCardArrow",
- "description": "Displays an element positioned against the preview card anchor.\nRenders a `
` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: PreviewCard.Arrow.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: PreviewCard.Arrow.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: PreviewCard.Arrow.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: PreviewCard.Arrow.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: PreviewCard.Arrow.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: PreviewCard.Arrow.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-open": {
- "description": "Present when the preview card is open."
- },
- "data-closed": {
- "description": "Present when the preview card is closed."
- },
- "data-uncentered": {
- "description": "Present when the preview card arrow is uncentered."
- },
- "data-anchor-hidden": {
- "description": "Present when the anchor is hidden."
- },
- "data-align": {
- "description": "Indicates how the popup is aligned relative to specified side.",
- "type": "'start' | 'center' | 'end'"
- },
- "data-side": {
- "description": "Indicates which side the popup is positioned relative to the trigger.",
- "type": "'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'"
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/preview-card-backdrop.json b/docs/reference/generated/preview-card-backdrop.json
deleted file mode 100644
index d4e635e3fe7..00000000000
--- a/docs/reference/generated/preview-card-backdrop.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "PreviewCardBackdrop",
- "description": "An overlay displayed beneath the popup.\nRenders a `
` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: PreviewCard.Backdrop.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: PreviewCard.Backdrop.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: PreviewCard.Backdrop.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((\n state: PreviewCard.Backdrop.State,\n ) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: PreviewCard.Backdrop.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: PreviewCard.Backdrop.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-open": {
- "description": "Present when the preview card is open."
- },
- "data-closed": {
- "description": "Present when the preview card is closed."
- },
- "data-starting-style": {
- "description": "Present when the preview card is animating in."
- },
- "data-ending-style": {
- "description": "Present when the preview card is animating out."
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/preview-card-popup.json b/docs/reference/generated/preview-card-popup.json
deleted file mode 100644
index 499eafa3787..00000000000
--- a/docs/reference/generated/preview-card-popup.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "name": "PreviewCardPopup",
- "description": "A container for the preview card contents.\nRenders a `
` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: PreviewCard.Popup.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: PreviewCard.Popup.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "className": {
- "type": "string | ((state: PreviewCard.Popup.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((state: PreviewCard.Popup.State) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: PreviewCard.Popup.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: PreviewCard.Popup.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-open": {
- "description": "Present when the preview card is open."
- },
- "data-closed": {
- "description": "Present when the preview card is closed."
- },
- "data-align": {
- "description": "Indicates how the popup is aligned relative to specified side.",
- "type": "'start' | 'center' | 'end'"
- },
- "data-side": {
- "description": "Indicates which side the popup is positioned relative to the trigger.",
- "type": "'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'"
- },
- "data-starting-style": {
- "description": "Present when the preview card is animating in."
- },
- "data-ending-style": {
- "description": "Present when the preview card is animating out."
- }
- },
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/preview-card-portal.json b/docs/reference/generated/preview-card-portal.json
deleted file mode 100644
index d3aae6a2859..00000000000
--- a/docs/reference/generated/preview-card-portal.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "name": "PreviewCardPortal",
- "description": "A portal element that moves the popup to a different part of the DOM.\nBy default, the portal element is appended to ``.\nRenders a `
` element.",
- "props": {
- "style": {
- "type": "CSSProperties | ((state: PreviewCard.Portal.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: PreviewCard.Portal.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "container": {
- "type": "HTMLElement | ShadowRoot | RefObject
| null",
- "description": "A parent element to render the portal element into.",
- "detailedType": "| HTMLElement\n| ShadowRoot\n| React.RefObject\n| null\n| undefined"
- },
- "className": {
- "type": "string | ((state: PreviewCard.Portal.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((\n state: PreviewCard.Portal.State,\n ) => string | undefined)"
- },
- "keepMounted": {
- "type": "boolean",
- "default": "false",
- "description": "Whether to keep the portal mounted in the DOM while the popup is hidden.",
- "detailedType": "boolean | undefined"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: PreviewCard.Portal.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: PreviewCard.Portal.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {},
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/preview-card-positioner.json b/docs/reference/generated/preview-card-positioner.json
deleted file mode 100644
index 529dd999259..00000000000
--- a/docs/reference/generated/preview-card-positioner.json
+++ /dev/null
@@ -1,134 +0,0 @@
-{
- "name": "PreviewCardPositioner",
- "description": "Positions the popup against the trigger.\nRenders a `` element.",
- "props": {
- "collisionAvoidance": {
- "type": "CollisionAvoidance",
- "description": "Determines how to handle collisions when positioning the popup.",
- "example": "```jsx\n
\n```",
- "detailedType": "| {\n side?: 'none' | 'flip'\n align?: 'none' | 'flip' | 'shift'\n fallbackAxisSide?: 'none' | 'end' | 'start'\n }\n| {\n side?: 'none' | 'shift'\n align?: 'none' | 'shift'\n fallbackAxisSide?: 'none' | 'end' | 'start'\n }\n| undefined"
- },
- "style": {
- "type": "CSSProperties | ((state: PreviewCard.Positioner.State) => CSSProperties | undefined)",
- "detailedType": "| React.CSSProperties\n| ((\n state: PreviewCard.Positioner.State,\n ) => CSSProperties | undefined)\n| undefined"
- },
- "align": {
- "type": "Align",
- "default": "'center'",
- "description": "How to align the popup relative to the specified side.",
- "detailedType": "'center' | 'end' | 'start' | undefined"
- },
- "alignOffset": {
- "type": "number | OffsetFunction",
- "default": "0",
- "description": "Additional offset along the alignment axis in pixels.\nAlso accepts a function that returns the offset to read the dimensions of the anchor\nand positioner elements, along with its side and alignment.\n\nThe function takes a `data` object parameter with the following properties:\n- `data.anchor`: the dimensions of the anchor element with properties `width` and `height`.\n- `data.positioner`: the dimensions of the positioner element with properties `width` and `height`.\n- `data.side`: which side of the anchor element the positioner is aligned against.\n- `data.align`: how the positioner is aligned relative to the specified side.",
- "example": "```jsx\n
{\n return side === 'top' || side === 'bottom'\n ? anchor.width\n : anchor.height;\n }}\n/>\n```",
- "detailedType": "| number\n| ((data: {\n side: Side\n align: Align\n anchor: { width: number; height: number }\n positioner: { width: number; height: number }\n }) => number)\n| undefined"
- },
- "side": {
- "type": "Side",
- "default": "'bottom'",
- "description": "Which side of the anchor element to align the popup against.\nMay automatically change to avoid collisions.",
- "detailedType": "| 'left'\n| 'right'\n| 'bottom'\n| 'top'\n| 'inline-end'\n| 'inline-start'\n| undefined"
- },
- "sideOffset": {
- "type": "number | OffsetFunction",
- "default": "0",
- "description": "Distance between the anchor and the popup in pixels.\nAlso accepts a function that returns the distance to read the dimensions of the anchor\nand positioner elements, along with its side and alignment.\n\nThe function takes a `data` object parameter with the following properties:\n- `data.anchor`: the dimensions of the anchor element with properties `width` and `height`.\n- `data.positioner`: the dimensions of the positioner element with properties `width` and `height`.\n- `data.side`: which side of the anchor element the positioner is aligned against.\n- `data.align`: how the positioner is aligned relative to the specified side.",
- "example": "```jsx\n {\n return side === 'top' || side === 'bottom'\n ? anchor.height\n : anchor.width;\n }}\n/>\n```",
- "detailedType": "| number\n| ((data: {\n side: Side\n align: Align\n anchor: { width: number; height: number }\n positioner: { width: number; height: number }\n }) => number)\n| undefined"
- },
- "arrowPadding": {
- "type": "number",
- "default": "5",
- "description": "Minimum distance to maintain between the arrow and the edges of the popup.\n\nUse it to prevent the arrow element from hanging out of the rounded corners of a popup.",
- "detailedType": "number | undefined"
- },
- "anchor": {
- "type": "Element | RefObject | VirtualElement | (() => Element | VirtualElement | null) | null",
- "description": "An element to position the popup against.\nBy default, the popup will be positioned against the trigger.",
- "detailedType": "| Element\n| React.RefObject\n| VirtualElement\n| (() => Element | VirtualElement | null)\n| null\n| undefined"
- },
- "collisionBoundary": {
- "type": "Boundary",
- "default": "'clipping-ancestors'",
- "description": "An element or a rectangle that delimits the area that the popup is confined to.",
- "detailedType": "| Element\n| 'clipping-ancestors'\n| Element[]\n| Rect\n| undefined"
- },
- "collisionPadding": {
- "type": "Padding",
- "default": "5",
- "description": "Additional space to maintain from the edge of the collision boundary.",
- "detailedType": "| {\n top?: number\n right?: number\n bottom?: number\n left?: number\n }\n| number\n| undefined"
- },
- "sticky": {
- "type": "boolean",
- "default": "false",
- "description": "Whether to maintain the popup in the viewport after\nthe anchor element was scrolled out of view.",
- "detailedType": "boolean | undefined"
- },
- "positionMethod": {
- "type": "'fixed' | 'absolute'",
- "default": "'absolute'",
- "description": "Determines which CSS `position` property to use.",
- "detailedType": "'fixed' | 'absolute' | undefined"
- },
- "trackAnchor": {
- "type": "boolean",
- "default": "true",
- "description": "Whether the popup tracks any layout shift of its positioning anchor.",
- "detailedType": "boolean | undefined"
- },
- "className": {
- "type": "string | ((state: PreviewCard.Positioner.State) => string | undefined)",
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
- "detailedType": "| string\n| ((\n state: PreviewCard.Positioner.State,\n ) => string | undefined)"
- },
- "render": {
- "type": "ReactElement | ((props: HTMLProps, state: PreviewCard.Positioner.State) => ReactElement)",
- "description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",
- "detailedType": "| ReactElement\n| ((\n props: HTMLProps,\n state: PreviewCard.Positioner.State,\n ) => ReactElement)"
- }
- },
- "dataAttributes": {
- "data-open": {
- "description": "Present when the preview card is open."
- },
- "data-closed": {
- "description": "Present when the preview card is closed."
- },
- "data-anchor-hidden": {
- "description": "Present when the anchor is hidden."
- },
- "data-align": {
- "description": "Indicates how the popup is aligned relative to specified side.",
- "type": "'start' | 'center' | 'end'"
- },
- "data-side": {
- "description": "Indicates which side the popup is positioned relative to the trigger.",
- "type": "'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'"
- }
- },
- "cssVariables": {
- "--anchor-height": {
- "description": "The anchor's height.",
- "type": "number"
- },
- "--anchor-width": {
- "description": "The anchor's width.",
- "type": "number"
- },
- "--available-height": {
- "description": "The available height between the trigger and the edge of the viewport.",
- "type": "number"
- },
- "--available-width": {
- "description": "The available width between the trigger and the edge of the viewport.",
- "type": "number"
- },
- "--transform-origin": {
- "description": "The coordinates that this element is anchored to. Used for animations and transitions.",
- "type": "string"
- }
- }
-}
diff --git a/docs/reference/generated/preview-card-root.json b/docs/reference/generated/preview-card-root.json
deleted file mode 100644
index 5c8253904a3..00000000000
--- a/docs/reference/generated/preview-card-root.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "name": "PreviewCardRoot",
- "description": "Groups all parts of the preview card.\nDoesn’t render its own HTML element.",
- "props": {
- "defaultOpen": {
- "type": "boolean",
- "default": "false",
- "description": "Whether the preview card is initially open.\n\nTo render a controlled preview card, use the `open` prop instead.",
- "detailedType": "boolean | undefined"
- },
- "open": {
- "type": "boolean",
- "description": "Whether the preview card is currently open.",
- "detailedType": "boolean | undefined"
- },
- "onOpenChange": {
- "type": "((open: boolean, eventDetails: PreviewCard.Root.ChangeEventDetails) => void)",
- "description": "Event handler called when the preview card is opened or closed.",
- "detailedType": "| ((\n open: boolean,\n eventDetails: PreviewCard.Root.ChangeEventDetails,\n ) => void)\n| undefined"
- },
- "actionsRef": {
- "type": "RefObject",
- "description": "A ref to imperative actions.\n- `unmount`: When specified, the preview card will not be unmounted when closed.\nInstead, the `unmount` function must be called to unmount the preview card manually.\nUseful when the preview card's animation is controlled by an external library.",
- "detailedType": "| React.RefObject\n| undefined"
- },
- "onOpenChangeComplete": {
- "type": "((open: boolean) => void)",
- "description": "Event handler called after any animations complete when the preview card is opened or closed.",
- "detailedType": "((open: boolean) => void) | undefined"
- },
- "delay": {
- "type": "number",
- "default": "600",
- "description": "How long to wait before the preview card opens. Specified in milliseconds.",
- "detailedType": "number | undefined"
- },
- "closeDelay": {
- "type": "number",
- "default": "300",
- "description": "How long to wait before closing the preview card. Specified in milliseconds.",
- "detailedType": "number | undefined"
- },
- "children": {
- "type": "ReactNode",
- "detailedType": "React.ReactNode"
- }
- },
- "dataAttributes": {},
- "cssVariables": {}
-}
diff --git a/docs/reference/generated/preview-card-trigger.json b/docs/reference/generated/preview-card-trigger.json
deleted file mode 100644
index 99d16fed24e..00000000000
--- a/docs/reference/generated/preview-card-trigger.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "name": "PreviewCardTrigger",
- "description": "A link that opens the preview card.\nRenders an `