@object-ui/components 4.0.6 → 4.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/dist/index.css +9 -0
- package/dist/index.js +2571 -2402
- package/dist/index.umd.cjs +2 -2
- package/dist/packages/components/src/custom/filter-builder.d.ts +21 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @object-ui/components
|
|
2
2
|
|
|
3
|
+
## 4.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7c9b85c: Fix compatibility with the framework's normalized Expression envelope format.
|
|
8
|
+
|
|
9
|
+
`@objectstack/spec` now emits predicate (`visible` / `enabled`) and template
|
|
10
|
+
(`titleFormat`) fields as `{ dialect, source }` envelopes instead of bare
|
|
11
|
+
strings. The previous implementation assumed strings and crashed the record
|
|
12
|
+
detail view (`TypeError: titleFormat.replace is not a function`) and printed
|
|
13
|
+
`Failed to evaluate expression: ${[object Object]}` for every action visibility
|
|
14
|
+
predicate.
|
|
15
|
+
- `@object-ui/core`: `ExpressionEvaluator.evaluate` / `evaluateCondition` now
|
|
16
|
+
unwrap Expression envelopes transparently.
|
|
17
|
+
- `@object-ui/react`: new `toPredicateInput()` helper to safely normalize
|
|
18
|
+
`boolean | string | Expression` predicate inputs into the `${expr}` form
|
|
19
|
+
expected by `useCondition`.
|
|
20
|
+
- `@object-ui/components`: `action-bar`, `action-button`, `action-group`,
|
|
21
|
+
`action-icon`, `action-menu` renderers use `toPredicateInput()` instead of
|
|
22
|
+
template-literal interpolation that produced `${[object Object]}`.
|
|
23
|
+
- `@object-ui/plugin-detail`, `@object-ui/plugin-kanban`,
|
|
24
|
+
`@object-ui/plugin-calendar`, `@object-ui/app-shell`,
|
|
25
|
+
`@object-ui/console`: title-format helpers accept both legacy strings and
|
|
26
|
+
the new `{ source }` envelope.
|
|
27
|
+
|
|
28
|
+
All changes are backward-compatible — legacy bare strings continue to work.
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [7c9b85c]
|
|
31
|
+
- Updated dependencies [fd15918]
|
|
32
|
+
- @object-ui/core@4.0.7
|
|
33
|
+
- @object-ui/react@4.0.7
|
|
34
|
+
- @object-ui/i18n@4.0.7
|
|
35
|
+
- @object-ui/types@4.0.7
|
|
36
|
+
|
|
3
37
|
## 4.0.6
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
package/dist/index.css
CHANGED
|
@@ -809,6 +809,9 @@
|
|
|
809
809
|
.max-h-40 {
|
|
810
810
|
max-height: calc(var(--spacing) * 40);
|
|
811
811
|
}
|
|
812
|
+
.max-h-64 {
|
|
813
|
+
max-height: calc(var(--spacing) * 64);
|
|
814
|
+
}
|
|
812
815
|
.max-h-\[50vh\] {
|
|
813
816
|
max-height: 50vh;
|
|
814
817
|
}
|
|
@@ -3479,6 +3482,12 @@
|
|
|
3479
3482
|
--tw-ring-color: var(--color-ring);
|
|
3480
3483
|
}
|
|
3481
3484
|
}
|
|
3485
|
+
.focus\:ring-offset-1 {
|
|
3486
|
+
&:focus {
|
|
3487
|
+
--tw-ring-offset-width: 1px;
|
|
3488
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3482
3491
|
.focus\:ring-offset-2 {
|
|
3483
3492
|
&:focus {
|
|
3484
3493
|
--tw-ring-offset-width: 2px;
|