refactor: StyledInput refactor -> Input components (#6733)

* feat: align style

* feat: new input components

* refactor: migrate to new input components

* refactor: rename component

* prepr

* chore: group inputs like buttons

* fix: lint

* feat: docs

* fix: lint

* fix: bugs

* prepr

* fix slug + adjust create server project

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Calum H.
2026-08-25 06:15:38 +00:00
committed by GitHub
co-authored by Prospector
parent 80607c1963
commit c67f980c4a
166 changed files with 1804 additions and 1261 deletions
@@ -1,4 +1,4 @@
import { Checkbox, Combobox, MarkdownEditor, StyledInput, Toggle } from '@modrinth/ui'
import { Checkbox, Combobox, Input, MarkdownEditor, Toggle } from '@modrinth/ui'
import { markRaw } from 'vue'
import { withAutoProps, withChildren } from './builder'
@@ -280,7 +280,7 @@ export function text(id: string) {
withTweak,
(n) =>
withComponent(n, {
component: markRaw(StyledInput),
component: markRaw(Input),
componentProps: () => ({ class: 'min-w-40 flex-1', autocomplete: 'off' }),
}),
withExtraProps,