Skip to content

Commit 7709c23

Browse files
authored
Merge branch 'master' into feat/ContextMenu
Signed-off-by: atomiks <cc.glows@gmail.com>
2 parents 03044ac + 2c7fc9a commit 7709c23

File tree

267 files changed

+3717
-1484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+3717
-1484
lines changed

docs/reference/generated/accordion-header.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A heading that labels the corresponding panel.\nRenders an `<h3>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: Accordion.Item.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: Accordion.Item.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/accordion-item.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"description": "Whether the component should ignore user interaction."
1616
},
1717
"className": {
18-
"type": "string | ((state: State) => string)",
18+
"type": "string | ((state: Accordion.Item.State) => string)",
1919
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
2020
},
2121
"render": {
22-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
22+
"type": "ReactElement | ((props: HTMLProps, state: Accordion.Item.State) => ReactElement)",
2323
"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."
2424
}
2525
},

docs/reference/generated/accordion-panel.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"description": "Allows the browser’s built-in page search to find and expand the panel contents.\n\nOverrides the `keepMounted` prop and uses `hidden=\"until-found\"`\nto hide the element without removing it from the DOM."
99
},
1010
"className": {
11-
"type": "string | ((state: State) => string)",
11+
"type": "string | ((state: Accordion.Item.State) => string)",
1212
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
1313
},
1414
"keepMounted": {
@@ -17,7 +17,7 @@
1717
"description": "Whether to keep the element in the DOM while the panel is closed.\nThis prop is ignored when `hiddenUntilFound` is used."
1818
},
1919
"render": {
20-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
20+
"type": "ReactElement | ((props: HTMLProps, state: Accordion.Item.State) => ReactElement)",
2121
"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."
2222
}
2323
},

docs/reference/generated/accordion-root.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"description": "The visual orientation of the accordion.\nControls whether roving focus uses left/right or up/down arrow keys."
4141
},
4242
"className": {
43-
"type": "string | ((state: State) => string)",
43+
"type": "string | ((state: Accordion.Root.State) => string)",
4444
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
4545
},
4646
"keepMounted": {
@@ -49,7 +49,7 @@
4949
"description": "Whether to keep the element in the DOM while the panel is closed.\nThis prop is ignored when `hiddenUntilFound` is used."
5050
},
5151
"render": {
52-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
52+
"type": "ReactElement | ((props: HTMLProps, state: Accordion.Root.State) => ReactElement)",
5353
"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."
5454
}
5555
},

docs/reference/generated/accordion-trigger.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A button that opens and closes the corresponding panel.\nRenders a `<button>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: Accordion.Item.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: Accordion.Item.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/alert-dialog-backdrop.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "An overlay displayed beneath the popup.\nRenders a `<div>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: AlertDialog.Backdrop.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: AlertDialog.Backdrop.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/alert-dialog-close.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A button that closes the alert dialog.\nRenders a `<button>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: AlertDialog.Close.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: AlertDialog.Close.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/alert-dialog-description.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A paragraph with additional information about the alert dialog.\nRenders a `<p>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: AlertDialog.Description.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: AlertDialog.Description.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/alert-dialog-popup.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"description": "Determines the element to focus when the dialog is closed.\nBy default, focus returns to the trigger."
1212
},
1313
"className": {
14-
"type": "string | ((state: State) => string)",
14+
"type": "string | ((state: AlertDialog.Popup.State) => string)",
1515
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
1616
},
1717
"render": {
18-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
18+
"type": "ReactElement | ((props: HTMLProps, state: AlertDialog.Popup.State) => ReactElement)",
1919
"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."
2020
}
2121
},

docs/reference/generated/alert-dialog-title.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A heading that labels the dialog.\nRenders an `<h2>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: AlertDialog.Title.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: AlertDialog.Title.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/alert-dialog-trigger.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A button that opens the alert dialog.\nRenders a `<button>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: AlertDialog.Trigger.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: AlertDialog.Trigger.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/avatar-fallback.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"description": "How long to wait before showing the fallback. Specified in milliseconds."
88
},
99
"className": {
10-
"type": "string | ((state: State) => string)",
10+
"type": "string | ((state: Avatar.Root.State) => string)",
1111
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
1212
},
1313
"render": {
14-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
14+
"type": "ReactElement | ((props: HTMLProps, state: Avatar.Root.State) => ReactElement)",
1515
"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."
1616
}
1717
},

docs/reference/generated/avatar-image.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"description": "Callback fired when the loading status changes."
88
},
99
"className": {
10-
"type": "string | ((state: State) => string)",
10+
"type": "string | ((state: Avatar.Root.State) => string)",
1111
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
1212
},
1313
"render": {
14-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
14+
"type": "ReactElement | ((props: HTMLProps, state: Avatar.Root.State) => ReactElement)",
1515
"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."
1616
}
1717
},

docs/reference/generated/avatar-root.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "Displays a user's profile picture, initials, or fallback icon.\nRenders a `<span>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: Avatar.Root.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: Avatar.Root.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/checkbox-group.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
"description": "Whether the component should ignore user interaction."
2525
},
2626
"className": {
27-
"type": "string | ((state: State) => string)",
27+
"type": "string | ((state: Checkbox.Group.State) => string)",
2828
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
2929
},
3030
"render": {
31-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
31+
"type": "ReactElement | ((props: HTMLProps, state: Checkbox.Group.State) => ReactElement)",
3232
"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."
3333
}
3434
},

docs/reference/generated/checkbox-indicator.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Indicates whether the checkbox is ticked.\nRenders a `<span>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: Checkbox.Indicator.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"keepMounted": {
@@ -12,7 +12,7 @@
1212
"description": "Whether to keep the element in the DOM when the checkbox is not checked."
1313
},
1414
"render": {
15-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
15+
"type": "ReactElement | ((props: HTMLProps, state: Checkbox.Indicator.State) => ReactElement)",
1616
"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."
1717
}
1818
},

docs/reference/generated/checkbox-root.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@
5959
"description": "The id of the input element."
6060
},
6161
"className": {
62-
"type": "string | ((state: State) => string)",
62+
"type": "string | ((state: Checkbox.Root.State) => string)",
6363
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
6464
},
6565
"render": {
66-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
66+
"type": "ReactElement | ((props: HTMLProps, state: Checkbox.Root.State) => ReactElement)",
6767
"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."
6868
}
6969
},

docs/reference/generated/collapsible-panel.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"description": "Allows the browser’s built-in page search to find and expand the panel contents.\n\nOverrides the `keepMounted` prop and uses `hidden=\"until-found\"`\nto hide the element without removing it from the DOM."
99
},
1010
"className": {
11-
"type": "string | ((state: State) => string)",
11+
"type": "string | ((state: Collapsible.Root.State) => string)",
1212
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
1313
},
1414
"keepMounted": {
@@ -17,7 +17,7 @@
1717
"description": "Whether to keep the element in the DOM while the panel is hidden.\nThis prop is ignored when `hiddenUntilFound` is used."
1818
},
1919
"render": {
20-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
20+
"type": "ReactElement | ((props: HTMLProps, state: Collapsible.Root.State) => ReactElement)",
2121
"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."
2222
}
2323
},

docs/reference/generated/collapsible-root.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"description": "Whether the component should ignore user interaction."
2222
},
2323
"className": {
24-
"type": "string | ((state: State) => string)",
24+
"type": "string | ((state: Collapsible.Root.State) => string)",
2525
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
2626
},
2727
"render": {
28-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement) | null"
28+
"type": "ReactElement | ((props: HTMLProps, state: Collapsible.Root.State) => ReactElement) | null"
2929
}
3030
},
3131
"dataAttributes": {},

docs/reference/generated/collapsible-trigger.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A button that opens and closes the collapsible panel.\nRenders a `<button>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: Collapsible.Root.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: Collapsible.Root.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/dialog-backdrop.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "An overlay displayed beneath the popup.\nRenders a `<div>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: Dialog.Backdrop.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: Dialog.Backdrop.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/dialog-close.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A button that closes the dialog.\nRenders a `<button>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: Dialog.Close.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: Dialog.Close.State) => ReactElement)",
1111
"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."
1212
}
1313
},

docs/reference/generated/dialog-description.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A paragraph with additional information about the dialog.\nRenders a `<p>` element.",
44
"props": {
55
"className": {
6-
"type": "string | ((state: State) => string)",
6+
"type": "string | ((state: Dialog.Description.State) => string)",
77
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
88
},
99
"render": {
10-
"type": "ReactElement | ((props: GenericHTMLProps, state: State) => ReactElement)",
10+
"type": "ReactElement | ((props: HTMLProps, state: Dialog.Description.State) => ReactElement)",
1111
"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."
1212
}
1313
},

0 commit comments

Comments
 (0)