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
1 change: 1 addition & 0 deletions apps/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"lint": "next lint",
"generate:composition": "pnpm tsx scripts/composition.ts",
"generate:examples": "pnpm tsx scripts/generate-examples.ts",
"pregenerate:types": "pnpm build:react",
"generate:types": "pnpm tsx scripts/generate-types.ts",
"generate:icon": "pnpm tsx scripts/generate-icon.ts",
"generate:theme": "pnpm tsx scripts/generate-theme.ts",
Expand Down
6 changes: 0 additions & 6 deletions apps/www/public/r/types/action-bar.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,6 @@
"defaultValue": "false",
"description": "Whether to unmount on exit."
},
"colorPalette": {
"defaultValue": "gray",
"type": "\"gray\" | \"red\" | \"orange\" | \"yellow\" | \"green\" | \"teal\" | \"blue\" | \"cyan\" | \"purple\" | \"pink\"",
"isRequired": false,
"description": "The color palette of the component"
},
"placement": {
"type": "\"bottom\" | \"bottom-start\" | \"bottom-end\"",
"defaultValue": "bottom",
Expand Down
6 changes: 0 additions & 6 deletions apps/www/public/r/types/card.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@
"isRequired": false,
"description": "Whether to remove the component's style."
},
"colorPalette": {
"defaultValue": "gray",
"type": "\"gray\" | \"red\" | \"orange\" | \"yellow\" | \"green\" | \"teal\" | \"blue\" | \"cyan\" | \"purple\" | \"pink\"",
"isRequired": false,
"description": "The color palette of the component"
},
"size": {
"type": "\"sm\" | \"md\" | \"lg\"",
"defaultValue": "md",
Expand Down
18 changes: 12 additions & 6 deletions apps/www/public/r/types/carousel.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@
"defaultValue": "false",
"description": "Whether to scroll automatically. The default delay is 4000ms."
},
"autoSize": {
"type": "boolean",
"isRequired": false,
"defaultValue": "false",
"description": "Whether to enable variable width slides."
},
"defaultPage": {
"type": "number",
"isRequired": false,
Expand Down Expand Up @@ -301,9 +307,8 @@
"isRequired": false
},
"paused": {
"type": "string | number | bigint | boolean | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...>",
"isRequired": false,
"description": "The content to render when autoplay is paused."
"type": "React.ReactNode",
"isRequired": false
},
"as": {
"type": "React.ElementType",
Expand All @@ -315,12 +320,13 @@
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
},
"playing": {
"fallback": {
"type": "string | number | bigint | boolean | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...>",
"isRequired": false,
"description": "The content to render when autoplay is playing."
"description": "The fallback content to render when autoplay is paused."
}
}
},
"element": "HTMLSpanElement"
},
"ProgressText": {
"props": {
Expand Down
5 changes: 5 additions & 0 deletions apps/www/public/r/types/checkbox-card.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@
"isRequired": false,
"description": "If `true`, the checkbox group is invalid"
},
"maxSelectedValues": {
"type": "number",
"isRequired": false,
"description": "The maximum number of selected values"
},
"name": {
"type": "string",
"isRequired": false,
Expand Down
5 changes: 5 additions & 0 deletions apps/www/public/r/types/checkbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
"isRequired": false,
"description": "If `true`, the checkbox group is invalid"
},
"maxSelectedValues": {
"type": "number",
"isRequired": false,
"description": "The maximum number of selected values"
},
"name": {
"type": "string",
"isRequired": false,
Expand Down
85 changes: 22 additions & 63 deletions apps/www/public/r/types/clipboard.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,4 @@
{
"ClipboardControl": {
"props": {}
},
"ClipboardIndicator": {
"props": {}
},
"ClipboardRoot": {
"props": {}
},
"ClipboardRootProvider": {
"props": {}
},
"ClipboardLabel": {
"props": {}
},
"ClipboardValueText": {
"props": {}
},
"ClipboardTrigger": {
"props": {}
},
"ClipboardInput": {
"props": {}
},
"UseClipboard": {
"props": {}
},
"Clipboard": {
"props": {
"as": {
"type": "React.ElementType",
"isRequired": false,
"description": "The underlying element to render."
},
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
}
},
"Control": {
"props": {
"asChild": {
Expand All @@ -64,26 +23,6 @@
},
"element": "HTMLDivElement"
},
"Input": {
"props": {
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLInputElement"
},
"Label": {
"props": {
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLLabelElement"
},
"Root": {
"props": {
"asChild": {
Expand Down Expand Up @@ -144,15 +83,15 @@
},
"element": "HTMLDivElement"
},
"Trigger": {
"Label": {
"props": {
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLButtonElement"
"element": "HTMLLabelElement"
},
"ValueText": {
"props": {
Expand All @@ -163,5 +102,25 @@
}
},
"element": "HTMLDivElement"
},
"Trigger": {
"props": {
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLButtonElement"
},
"Input": {
"props": {
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLInputElement"
}
}
6 changes: 0 additions & 6 deletions apps/www/public/r/types/code-block.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@
"isRequired": false,
"description": "Whether to remove the component's style."
},
"colorPalette": {
"defaultValue": "gray",
"type": "\"gray\" | \"red\" | \"orange\" | \"yellow\" | \"green\" | \"teal\" | \"blue\" | \"cyan\" | \"purple\" | \"pink\"",
"isRequired": false,
"description": "The color palette of the component"
},
"size": {
"type": "\"sm\" | \"md\" | \"lg\"",
"defaultValue": "md",
Expand Down
6 changes: 0 additions & 6 deletions apps/www/public/r/types/color-swatch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
},
"colorPalette": {
"defaultValue": "gray",
"type": "\"gray\" | \"red\" | \"orange\" | \"yellow\" | \"green\" | \"teal\" | \"blue\" | \"cyan\" | \"purple\" | \"pink\"",
"isRequired": false,
"description": "The color palette of the component"
},
"size": {
"type": "\"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\" | \"inherit\" | \"full\"",
"defaultValue": "md",
Expand Down
25 changes: 15 additions & 10 deletions apps/www/public/r/types/combobox.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@
},
"element": "HTMLDivElement"
},
"List": {
"props": {
"as": {
"type": "React.ElementType",
"isRequired": false,
"description": "The underlying element to render."
},
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
},
"Input": {
"props": {
"as": {
Expand Down Expand Up @@ -569,15 +584,5 @@
}
},
"element": "HTMLButtonElement"
},
"List": {
"props": {
"asChild": {
"type": "boolean",
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
}
},
"element": "HTMLDivElement"
}
}
6 changes: 0 additions & 6 deletions apps/www/public/r/types/container.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
"isRequired": false,
"description": "Use the provided child element as the default rendered element, combining their props and behavior."
},
"colorPalette": {
"defaultValue": "gray",
"type": "\"gray\" | \"red\" | \"orange\" | \"yellow\" | \"green\" | \"teal\" | \"blue\" | \"cyan\" | \"purple\" | \"pink\"",
"isRequired": false,
"description": "The color palette of the component"
},
"centerContent": {
"type": "\"true\" | \"false\"",
"isRequired": false,
Expand Down
6 changes: 0 additions & 6 deletions apps/www/public/r/types/data-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@
"isRequired": false,
"description": "Whether to remove the component's style."
},
"colorPalette": {
"defaultValue": "gray",
"type": "\"gray\" | \"red\" | \"orange\" | \"yellow\" | \"green\" | \"teal\" | \"blue\" | \"cyan\" | \"purple\" | \"pink\"",
"isRequired": false,
"description": "The color palette of the component"
},
"orientation": {
"type": "\"horizontal\" | \"vertical\"",
"defaultValue": "vertical",
Expand Down
Loading
Loading