diff --git a/.changeset/shiny-turtles-call.md b/.changeset/shiny-turtles-call.md new file mode 100644 index 0000000..91de856 --- /dev/null +++ b/.changeset/shiny-turtles-call.md @@ -0,0 +1,5 @@ +--- +"solidui-cli": patch +--- + +update: switch progress style to be more in line with the rest diff --git a/apps/docs/public/registry/ui/progress.json b/apps/docs/public/registry/ui/progress.json index 5ad1f2f..aa224c8 100644 --- a/apps/docs/public/registry/ui/progress.json +++ b/apps/docs/public/registry/ui/progress.json @@ -9,7 +9,7 @@ "files": [ { "name": "progress.tsx", - "content": "import type { Component, JSX, ValidComponent } from \"solid-js\"\nimport { splitProps } from \"solid-js\"\n\nimport type { PolymorphicProps } from \"@kobalte/core/polymorphic\"\nimport * as ProgressPrimitive from \"@kobalte/core/progress\"\n\nimport { Label } from \"~/registry/ui/label\"\n\ntype ProgressRootProps =\n ProgressPrimitive.ProgressRootProps & { children?: JSX.Element }\n\nconst Progress = (\n props: PolymorphicProps>\n) => {\n const [local, others] = splitProps(props as ProgressRootProps, [\"children\"])\n return (\n \n {local.children}\n \n \n \n \n )\n}\n\nconst ProgressLabel: Component = (props) => {\n return \n}\n\nconst ProgressValueLabel: Component = (props) => {\n return \n}\n\nexport { Progress, ProgressLabel, ProgressValueLabel }\n" + "content": "import type { Component, JSX, ValidComponent } from \"solid-js\"\nimport { splitProps } from \"solid-js\"\n\nimport type { PolymorphicProps } from \"@kobalte/core/polymorphic\"\nimport * as ProgressPrimitive from \"@kobalte/core/progress\"\n\nimport { Label } from \"~/registry/ui/label\"\n\ntype ProgressRootProps =\n ProgressPrimitive.ProgressRootProps & { children?: JSX.Element }\n\nconst Progress = (\n props: PolymorphicProps>\n) => {\n const [local, others] = splitProps(props as ProgressRootProps, [\"children\"])\n return (\n \n {local.children}\n \n \n \n \n )\n}\n\nconst ProgressLabel: Component = (props) => {\n return \n}\n\nconst ProgressValueLabel: Component = (props) => {\n return \n}\n\nexport { Progress, ProgressLabel, ProgressValueLabel }\n" } ], "type": "ui" diff --git a/apps/docs/src/registry/ui/progress.tsx b/apps/docs/src/registry/ui/progress.tsx index 580944c..302367b 100644 --- a/apps/docs/src/registry/ui/progress.tsx +++ b/apps/docs/src/registry/ui/progress.tsx @@ -16,7 +16,7 @@ const Progress = ( return ( {local.children} - +