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
16 changes: 0 additions & 16 deletions .changeset/dark-mode-follows-system.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/datatable-csv-separator.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/datatable-feature-modules.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/docs-english-default.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/german-language-module.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/native-dataview-keyboard.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/reexport-recipe-types.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/vue-bind-input-types.md

This file was deleted.

13 changes: 13 additions & 0 deletions packages/blocks-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @wirecore/wirelayer-blocks-react

## 0.1.2

### Patch Changes

- Updated dependencies [1ccb5ce]
- Updated dependencies [54609a3]
- Updated dependencies [b7530a8]
- Updated dependencies [54609a3]
- Updated dependencies [54609a3]
- Updated dependencies [bbb430c]
- @wirecore/wirelayer-react@0.2.0
- @wirecore/wirelayer-recipes@0.2.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/blocks-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wirecore/wirelayer-blocks-react",
"version": "0.1.1",
"version": "0.1.2",
"description": "Page blocks for React (site header, CTA section, mode toggle, sign-in form and layout) and the condition builder, built on @wirecore/wirelayer-react",
"license": "MIT",
"repository": {
Expand Down
14 changes: 14 additions & 0 deletions packages/blocks-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @wirecore/wirelayer-blocks-vue

## 0.1.2

### Patch Changes

- Updated dependencies [1ccb5ce]
- Updated dependencies [54609a3]
- Updated dependencies [b7530a8]
- Updated dependencies [54609a3]
- Updated dependencies [54609a3]
- Updated dependencies [bbb430c]
- Updated dependencies [4ec36ef]
- @wirecore/wirelayer-vue@0.2.0
- @wirecore/wirelayer-recipes@0.2.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/blocks-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wirecore/wirelayer-blocks-vue",
"version": "0.1.1",
"version": "0.1.2",
"description": "Page blocks for Vue (site header, CTA section, mode toggle, sign-in form and layout) and the condition builder, built on @wirecore/wirelayer-vue",
"license": "MIT",
"repository": {
Expand Down
14 changes: 14 additions & 0 deletions packages/css/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @wirecore/wirelayer-css

## 0.2.0

### Minor Changes

- 1ccb5ce: **Behavior change:** without `data-mode` the page now follows the system setting (`prefers-color-scheme`) instead
of always being light. `data-mode="light"` or `data-mode="dark"` forces a mode as before, also for a part of the page
(a forced light part stays light on a dark system).

- The `dark:` variant follows the same rules, and so do the dark colors of the built-in themes and of custom themes
generated with `themeToCss`.
- Charts (Chart, ChartCanvas, Sparkline) recolor when the system setting changes.
- Apps that relied on "no attribute = light" and want to keep it: set `data-mode="light"` on `<html>`. Apps that set
`data-mode` from `prefers-color-scheme` with JavaScript can drop that.

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wirecore/wirelayer-css",
"version": "0.1.1",
"version": "0.2.0",
"description": "WireLayer components as plain CSS classes (.wc-*) for HTML and server templates",
"license": "MIT",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @wirecore/wirelayer-mcp

## 0.1.2

### Patch Changes

- 54609a3: Documentation says English is the default language, as it is in the code: `useLocale` and the MCP server/`llms.txt`
no longer claim German without a `LocaleProvider`.

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wirecore/wirelayer-mcp",
"version": "0.1.1",
"version": "0.1.2",
"description": "MCP server with the WireLayer component API and guides for AI assistants",
"license": "MIT",
"repository": {
Expand Down
41 changes: 41 additions & 0 deletions packages/native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# @wirecore/wirelayer-native

## 0.2.0

### Minor Changes

- 54609a3: DataTable: new prop `csvSeparator` for the CSV export, also for the built-in export button. By default the separator
now follows the locale like a spreadsheet does (`csvSeparator(locale)` from the recipes): `;` where numbers have a
decimal comma (de-DE, fr-FR …), `,` otherwise (en-US …). Before, it was always `;`. `exportCsv({ separator })` still
wins over both.
- 54609a3: **Breaking:** German is a language module like French or Spanish and no longer part of the default bundle (about half
of the built-in texts). Only English is built in. Apps that use German register it once at startup, before the first
render:

```ts
import { registerLocale } from '@wirecore/wirelayer-vue'; // or -react, -native
import { de } from '@wirecore/wirelayer-vue/locales/de';

registerLocale('de', de);
```

`messages` only contains `en` now; the German texts are `de` from `…/locales/de`. The German names and search words of
the EmojiPicker moved there as well (`emojiPicker.emojis`); the built-in emojis are English. `localeEmojis(texts)` no
longer takes a locale – pass the lines of the language module (`localeEmojis(de.emojiPicker.emojis)`).

- bbb430c: The types that appear in the props are exported by the component packages themselves, so apps no longer need
`@wirecore/wirelayer-recipes` (or `NonNullable<BadgeProps['variant']>`) for them – e.g. `BadgeVariant`,
`ButtonVariant`, `ButtonSize`, `AlertStatus`, `DialogPosition`, `OverlaySize`, `StatusDotStatus`, `DataSource`,
`RecipeClasses`. `/data-table` adds `PivotValue`, `/virtual` `ItemAccessor`, React Native's `/pdf` `PdfZoom`.

### Patch Changes

- 54609a3: Documentation says English is the default language, as it is in the code: `useLocale` and the MCP server/`llms.txt`
no longer claim German without a `LocaleProvider`.
- f396bd4: DataView: in the browser (react-native-web) the scrolling list takes the keyboard focus, so the arrow keys scroll it even
when the items have no controls.
- Updated dependencies [1ccb5ce]
- Updated dependencies [54609a3]
- Updated dependencies [54609a3]
- Updated dependencies [54609a3]
- @wirecore/wirelayer-tokens@0.2.0
- @wirecore/wirelayer-recipes@0.2.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wirecore/wirelayer-native",
"version": "0.1.1",
"version": "0.2.0",
"description": "WireLayer components for React Native (Expo) with Uniwind",
"license": "MIT",
"repository": {
Expand Down
67 changes: 67 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,72 @@
# @wirecore/wirelayer-react

## 0.2.0

### Minor Changes

- 54609a3: DataTable: new prop `csvSeparator` for the CSV export, also for the built-in export button. By default the separator
now follows the locale like a spreadsheet does (`csvSeparator(locale)` from the recipes): `;` where numbers have a
decimal comma (de-DE, fr-FR …), `,` otherwise (en-US …). Before, it was always `;`. `exportCsv({ separator })` still
wins over both.
- b7530a8: **Breaking:** DataTable feature modules. Parts of the DataTable that bring a lot of code along are imported on their own
and passed in `features` – a minimal table is about a fifth smaller (gzip), and `@tanstack/vue-virtual` or
`@tanstack/react-virtual` is only needed for virtual rows.

- `virtual` needs the feature `virtualRows` from `/virtual`; without it all rows are rendered (with a hint in
development).
- Date and number filters and editors use the browser's inputs; the DatePicker and NumberInput come with the features
`dateInput` and `numberInput` from `/data-table`.

```tsx
import { DataTable, dateInput, numberInput } from '@wirecore/wirelayer-react/data-table'; // or -vue
import { virtualRows } from '@wirecore/wirelayer-react/virtual';

const features = [virtualRows, dateInput, numberInput];

<DataTable data={rows} columns={columns} features={features} scrollHeight="480px" virtual />;
```

- 54609a3: **Breaking:** German is a language module like French or Spanish and no longer part of the default bundle (about half
of the built-in texts). Only English is built in. Apps that use German register it once at startup, before the first
render:

```ts
import { registerLocale } from '@wirecore/wirelayer-vue'; // or -react, -native
import { de } from '@wirecore/wirelayer-vue/locales/de';

registerLocale('de', de);
```

`messages` only contains `en` now; the German texts are `de` from `…/locales/de`. The German names and search words of
the EmojiPicker moved there as well (`emojiPicker.emojis`); the built-in emojis are English. `localeEmojis(texts)` no
longer takes a locale – pass the lines of the language module (`localeEmojis(de.emojiPicker.emojis)`).

- bbb430c: The types that appear in the props are exported by the component packages themselves, so apps no longer need
`@wirecore/wirelayer-recipes` (or `NonNullable<BadgeProps['variant']>`) for them – e.g. `BadgeVariant`,
`ButtonVariant`, `ButtonSize`, `AlertStatus`, `DialogPosition`, `OverlaySize`, `StatusDotStatus`, `DataSource`,
`RecipeClasses`. `/data-table` adds `PivotValue`, `/virtual` `ItemAccessor`, React Native's `/pdf` `PdfZoom`.

### Patch Changes

- 1ccb5ce: **Behavior change:** without `data-mode` the page now follows the system setting (`prefers-color-scheme`) instead
of always being light. `data-mode="light"` or `data-mode="dark"` forces a mode as before, also for a part of the page
(a forced light part stays light on a dark system).

- The `dark:` variant follows the same rules, and so do the dark colors of the built-in themes and of custom themes
generated with `themeToCss`.
- Charts (Chart, ChartCanvas, Sparkline) recolor when the system setting changes.
- Apps that relied on "no attribute = light" and want to keep it: set `data-mode="light"` on `<html>`. Apps that set
`data-mode` from `prefers-color-scheme` with JavaScript can drop that.

- 54609a3: Documentation says English is the default language, as it is in the code: `useLocale` and the MCP server/`llms.txt`
no longer claim German without a `LocaleProvider`.
- Updated dependencies [1ccb5ce]
- Updated dependencies [54609a3]
- Updated dependencies [54609a3]
- Updated dependencies [54609a3]
- @wirecore/wirelayer-tokens@0.2.0
- @wirecore/wirelayer-recipes@0.2.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wirecore/wirelayer-react",
"version": "0.1.1",
"version": "0.2.0",
"description": "WireLayer components for React",
"license": "MIT",
"repository": {
Expand Down
28 changes: 28 additions & 0 deletions packages/recipes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @wirecore/wirelayer-recipes

## 0.2.0

### Minor Changes

- 54609a3: DataTable: new prop `csvSeparator` for the CSV export, also for the built-in export button. By default the separator
now follows the locale like a spreadsheet does (`csvSeparator(locale)` from the recipes): `;` where numbers have a
decimal comma (de-DE, fr-FR …), `,` otherwise (en-US …). Before, it was always `;`. `exportCsv({ separator })` still
wins over both.
- 54609a3: **Breaking:** German is a language module like French or Spanish and no longer part of the default bundle (about half
of the built-in texts). Only English is built in. Apps that use German register it once at startup, before the first
render:

```ts
import { registerLocale } from '@wirecore/wirelayer-vue'; // or -react, -native
import { de } from '@wirecore/wirelayer-vue/locales/de';

registerLocale('de', de);
```

`messages` only contains `en` now; the German texts are `de` from `…/locales/de`. The German names and search words of
the EmojiPicker moved there as well (`emojiPicker.emojis`); the built-in emojis are English. `localeEmojis(texts)` no
longer takes a locale – pass the lines of the language module (`localeEmojis(de.emojiPicker.emojis)`).

### Patch Changes

- 54609a3: Documentation says English is the default language, as it is in the code: `useLocale` and the MCP server/`llms.txt`
no longer claim German without a `LocaleProvider`.

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/recipes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wirecore/wirelayer-recipes",
"version": "0.1.1",
"version": "0.2.0",
"description": "Framework-agnostic WireLayer component recipes (tailwind-variants)",
"license": "MIT",
"repository": {
Expand Down
Loading
Loading