Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
618 changes: 256 additions & 362 deletions bun.lock

Large diffs are not rendered by default.

53 changes: 44 additions & 9 deletions website/src/content/types/react/accordion.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,26 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
},
"Item": {
"props": {
"value": { "type": "string", "isRequired": true, "description": "The value of the accordion item." },
"value": {
"type": "string",
"isRequired": true,
"description": "The value of the accordion item."
},
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
},
"disabled": { "type": "boolean", "isRequired": false, "description": "Whether the accordion item is disabled." }
"disabled": {
"type": "boolean",
"isRequired": false,
"description": "Whether the accordion item is disabled."
}
},
"element": "HTMLDivElement"
},
Expand All @@ -39,7 +48,8 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLButtonElement"
"element": "HTMLButtonElement",
"tag": "button"
},
"Root": {
"props": {
Expand All @@ -59,8 +69,22 @@
"isRequired": false,
"description": "The initial value of the expanded accordion items.\nUse when you don't need to control the value of the accordion."
},
"disabled": { "type": "boolean", "isRequired": false, "description": "Whether the accordion items are disabled" },
"id": { "type": "string", "isRequired": false, "description": "The unique identifier of the machine." },
"disabled": {
"type": "boolean",
"isRequired": false,
"description": "Whether the accordion items are disabled"
},
"hideMode": {
"type": "HideMode",
"defaultValue": "'display-none'",
"isRequired": false,
"description": "How to hide content when mounted but not present.\n- `'display-none'`: HTML `hidden` attribute. Effects stay alive.\n- `'activity'`: React 19 `<Activity mode=\"hidden\">`. Effects pause. Requires React 19+."
},
"id": {
"type": "string",
"isRequired": false,
"description": "The unique identifier of the machine."
},
"ids": {
"type": "Partial<{\n root: string\n item: (value: string) => string\n itemContent: (value: string) => string\n itemTrigger: (value: string) => string\n}>",
"isRequired": false,
Expand Down Expand Up @@ -106,16 +130,26 @@
"description": "The controlled value of the expanded accordion items."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
},
"RootProvider": {
"props": {
"value": { "type": "UseAccordionReturn", "isRequired": true },
"value": {
"type": "UseAccordionReturn",
"isRequired": true
},
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
},
"hideMode": {
"type": "HideMode",
"defaultValue": "'display-none'",
"isRequired": false,
"description": "How to hide content when mounted but not present.\n- `'display-none'`: HTML `hidden` attribute. Effects stay alive.\n- `'activity'`: React 19 `<Activity mode=\"hidden\">`. Effects pause. Requires React 19+."
},
"lazyMount": {
"type": "boolean",
"defaultValue": "false",
Expand All @@ -129,6 +163,7 @@
"description": "Whether to unmount on exit."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
}
}
68 changes: 52 additions & 16 deletions website/src/content/types/react/angle-slider.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
},
"HiddenInput": {
"props": {
Expand All @@ -17,7 +18,8 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLInputElement"
"element": "HTMLInputElement",
"tag": "input"
},
"Label": {
"props": {
Expand All @@ -27,7 +29,8 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLLabelElement"
"element": "HTMLLabelElement",
"tag": "label"
},
"MarkerGroup": {
"props": {
Expand All @@ -37,18 +40,24 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
},
"Marker": {
"props": {
"value": { "type": "number", "isRequired": true, "description": "The value of the marker" },
"value": {
"type": "number",
"isRequired": true,
"description": "The value of the marker"
},
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
},
"Root": {
"props": {
Expand All @@ -73,14 +82,26 @@
"isRequired": false,
"description": "The initial value of the slider.\nUse when you don't need to control the value of the slider."
},
"disabled": { "type": "boolean", "isRequired": false, "description": "Whether the slider is disabled." },
"id": { "type": "string", "isRequired": false, "description": "The unique identifier of the machine." },
"disabled": {
"type": "boolean",
"isRequired": false,
"description": "Whether the slider is disabled."
},
"id": {
"type": "string",
"isRequired": false,
"description": "The unique identifier of the machine."
},
"ids": {
"type": "Partial<{\n root: string\n thumb: string\n hiddenInput: string\n control: string\n valueText: string\n label: string\n}>",
"isRequired": false,
"description": "The ids of the elements in the machine.\nUseful for composition."
},
"invalid": { "type": "boolean", "isRequired": false, "description": "Whether the slider is invalid." },
"invalid": {
"type": "boolean",
"isRequired": false,
"description": "Whether the slider is invalid."
},
"name": {
"type": "string",
"isRequired": false,
Expand All @@ -96,27 +117,40 @@
"isRequired": false,
"description": "The callback function for when the value changes ends."
},
"readOnly": { "type": "boolean", "isRequired": false, "description": "Whether the slider is read-only." },
"readOnly": {
"type": "boolean",
"isRequired": false,
"description": "Whether the slider is read-only."
},
"step": {
"type": "number",
"defaultValue": "1",
"isRequired": false,
"description": "The step value for the slider."
},
"value": { "type": "number", "isRequired": false, "description": "The value of the slider." }
"value": {
"type": "number",
"isRequired": false,
"description": "The value of the slider."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
},
"RootProvider": {
"props": {
"value": { "type": "UseAngleSliderReturn", "isRequired": true },
"value": {
"type": "UseAngleSliderReturn",
"isRequired": true
},
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
},
"Thumb": {
"props": {
Expand All @@ -126,7 +160,8 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
},
"ValueText": {
"props": {
Expand All @@ -136,6 +171,7 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
}
}
17 changes: 12 additions & 5 deletions website/src/content/types/react/avatar.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLSpanElement"
"element": "HTMLSpanElement",
"tag": "span"
},
"Image": {
"props": {
Expand All @@ -17,7 +18,8 @@
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLImageElement"
"element": "HTMLImageElement",
"tag": "img"
},
"Root": {
"props": {
Expand All @@ -37,17 +39,22 @@
"description": "Functional called when the image loading status changes."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
},
"RootProvider": {
"props": {
"value": { "type": "UseAvatarReturn", "isRequired": true },
"value": {
"type": "UseAvatarReturn",
"isRequired": true
},
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
"element": "HTMLDivElement",
"tag": "div"
}
}
Loading