Skip to content

Fix/integration findings - #8

Merged
wiifree merged 5 commits into
mainfrom
fix/integration-findings
Oct 23, 2026
Merged

wiifree merged 5 commits into
mainfrom
fix/integration-findings

Conversation

@wiifree

@wiifree wiifree commented Oct 23, 2026

Copy link
Copy Markdown
Member

Findings from integrating WireLayer into an app, plus smaller bundles.

  • fix(vue): type bindInput for Input and Textarea (vue-tsc type test in packages/vue/typecheck)
  • Export the recipe types used in public props from vue/react/native
  • Dark mode follows the system without data-mode; data-mode="light"|"dark" forces a mode
  • German is a language module like the others (incl. EmojiPicker names); docs no longer claim German as default
  • DataTable: csvSeparator prop, default from the locale (en-US ",", de ";")
  • DataTable feature modules: virtualRows (/virtual), dateInput, numberInput via features – a minimal table is about a fifth smaller (gzip)

Breaking (0.x minor): German must be registered (registerLocale('de', de)); DataTable virtual needs virtualRows, date/number inputs need dateInput/numberInput; localeEmojis(texts) no longer takes a locale. See the changesets.

Input and Textarea emit string | undefined (defineModel); bindInput declared string only, which vue-tsc reported for <Input v-bind="bindInput(field)" />. A type test in packages/vue/typecheck checks the bind helpers against the components.

Signed-off-by: Florian Laabs <florian.laabs@wirecore.net>
Variant, size, status and data types that appear in public props came only from @wirecore/wirelayer-recipes, a transitive dependency of apps.

Signed-off-by: Florian Laabs <florian.laabs@wirecore.net>
Without data-mode the dark colors, the dark variant and the dark overrides of the themes apply when the system is dark; data-mode=light|dark forces a mode. Charts recolor when the system setting changes.

Signed-off-by: Florian Laabs <florian.laabs@wirecore.net>
German moves to locales/de like the other languages; only English is built in. The DataTable gets csvSeparator, by default from the locale. The docs no longer claim German as the default.

Signed-off-by: Florian Laabs <florian.laabs@wirecore.net>
Parts of the DataTable that bring a lot of code along are imported on their own and passed in `features`: virtualRows (from /virtual, the only import of TanStack Virtual), dateInput and numberInput. Without them date and number filters and editors use the browser's inputs and `virtual` renders all rows with a hint in development. A minimal table is about a fifth smaller (gzip).

Signed-off-by: Florian Laabs <florian.laabs@wirecore.net>
@wiifree
wiifree merged commit 692ec15 into main Oct 23, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant