You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/app-shell/changelog.md
+55Lines changed: 55 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,60 @@
1
1
# @tailor-platform/app-shell
2
2
3
+
## 1.1.0
4
+
5
+
### Minor Changes
6
+
7
+
- 9654369: Fix root page (`/`) showing `"/"` as its title in `SidebarItem` and breadcrumb.
8
+
9
+
The root page is now treated as a first-class page (module) so that title, icon, and guards are resolved consistently. `DefaultSidebar` and `CommandPalette` now include the root page when it is defined. When no title is set, the fallback is localized `"Home"` / `"ホーム"`.
10
+
11
+
- 39a8521: Change `useDataTable()` to use single-column sorting by default and add a `sort` option for configuring sorting behavior.
12
+
13
+
Before:
14
+
15
+
```tsx
16
+
const table =useDataTable({
17
+
columns,
18
+
data,
19
+
control,
20
+
});
21
+
```
22
+
23
+
After:
24
+
25
+
```tsx
26
+
const table =useDataTable({
27
+
columns,
28
+
data,
29
+
control,
30
+
sort: { multiple: true },
31
+
});
32
+
```
33
+
34
+
Use `sort: false` to disable sorting entirely.
35
+
36
+
- c2a50b9: Add row count and selection info to `DataTable.Pagination`.
37
+
38
+
- When `total` is provided: shows `"X row(s)"`
39
+
- When rows are selected with `total`: shows `"Y of X row(s) selected"`
40
+
- When rows are selected without `total`: shows `"Y row(s) selected"`
41
+
42
+
- 642aa1e: Add case-sensitivity control for string filters in `DataTable.Filters`. String filters are now case-insensitive by default (using Tailor Platform's `regex` operator with `(?i)` prefix). A "Case sensitive" checkbox allows users to opt into exact-case matching.
43
+
44
+
The `Filter` type and `CollectionControl.addFilter` now accept an optional `caseSensitive` property to control this behavior programmatically.
45
+
46
+
- a3d0170: Add "between" filter mode to `DataTable.Filters` for numeric and date/time columns, allowing users to filter by a range with min and max bounds.
47
+
48
+
### Patch Changes
49
+
50
+
- 2a860d9: Fix DataTable filter types for `datetime` and `time` fields. Previously these were incorrectly mapped to the `date` filter type, causing wrong input formats. Each temporal type now uses its proper HTML input type (`datetime-local`, `date`, `time`) and format handling.
51
+
- 125aee2: Fix a `Select.Async` bug where reopening the dropdown after the first async load could leave the popup invisible while the page stayed scroll-locked.
52
+
53
+
This could happen after options were fetched once, the dropdown was closed, and then opened again. The fix cancels in-flight requests on close and avoids the Base UI modal and anchored alignment paths that were leaving the async popup in that broken reopen state.
54
+
55
+
- 681333f: Remove `next-themes` dependency by using the internal `ThemeProvider` context for the Sonner toast theming.
Copy file name to clipboardExpand all lines: docs/app-shell/components/app-shell.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,8 @@ const modules = [
118
118
</AppShell>
119
119
```
120
120
121
+
When `rootComponent` is set, the root page is treated as a first-class navigation item: it appears in `DefaultSidebar` and `CommandPalette` just like any other module. The title defaults to the localized `"Home"` / `"ホーム"` if no explicit title is provided.
122
+
121
123
> **Tip:** For redirects from the root, use a guard with `redirectTo()` instead
122
124
123
125
```tsx
@@ -128,6 +130,8 @@ import { redirectTo } from "@tailor-platform/app-shell";
128
130
</AppShell>;
129
131
```
130
132
133
+
> **Note:** If a module with `path: ""` is present in `modules`, it takes precedence over `rootComponent`.
Copy file name to clipboardExpand all lines: docs/app-shell/components/data-table.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,6 +225,31 @@ A column definition passed to `useDataTable`.
225
225
|`sort`|`SortConfig`| Sort configuration. When set, the column header becomes clickable (Asc → Desc → off). |
226
226
|`filter`|`FilterConfig`| Filter configuration. When set, the column appears as an option in `DataTable.Filters`. |
227
227
228
+
## `FilterConfig`
229
+
230
+
The `filter` property on a column accepts a `FilterConfig` object. When set, the column appears as an option in `DataTable.Filters` and the filter chip renders an input editor appropriate for the type.
When the user selects the `between` operator on a `number`, `datetime`, `date`, or `time` column, the filter chip renders a range input with **min** and **max** bounds.
0 commit comments