@object-ui/plugin-kanban 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 CHANGED
@@ -1,5 +1,38 @@
1
1
  # @object-ui/plugin-kanban
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
+ - @object-ui/core@4.0.7
32
+ - @object-ui/react@4.0.7
33
+ - @object-ui/components@4.0.7
34
+ - @object-ui/types@4.0.7
35
+
3
36
  ## 4.0.6
4
37
 
5
38
  ### Patch Changes
package/dist/index.js CHANGED
Binary file
Binary file
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectKanban.d.ts","sourceRoot":"","sources":["../../../../src/ObjectKanban.tsx"],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AK,IAAI,CAAC;CACrC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA0VpD,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@object-ui/plugin-kanban",
3
- "version": "4.0.6",
3
+ "version": "4.0.7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Kanban board plugin for Object UI, powered by dnd-kit",
@@ -29,10 +29,10 @@
29
29
  "@dnd-kit/utilities": "^3.2.2",
30
30
  "@tanstack/react-virtual": "^3.13.24",
31
31
  "lucide-react": "^1.14.0",
32
- "@object-ui/components": "4.0.6",
33
- "@object-ui/core": "4.0.6",
34
- "@object-ui/react": "4.0.6",
35
- "@object-ui/types": "4.0.6"
32
+ "@object-ui/components": "4.0.7",
33
+ "@object-ui/core": "4.0.7",
34
+ "@object-ui/react": "4.0.7",
35
+ "@object-ui/types": "4.0.7"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": "^18.0.0 || ^19.0.0",
@@ -45,7 +45,7 @@
45
45
  "typescript": "^6.0.3",
46
46
  "vite": "^8.0.10",
47
47
  "vite-plugin-dts": "^5.0.0",
48
- "@object-ui/data-objectstack": "4.0.6"
48
+ "@object-ui/data-objectstack": "4.0.7"
49
49
  },
50
50
  "keywords": [
51
51
  "objectui",