@object-ui/providers 17.3.0 → 17.5.0

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +0 -12
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @object-ui/providers — Changelog
2
2
 
3
+ ## 17.5.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f650253]
8
+ - Updated dependencies [3d9769a]
9
+ - Updated dependencies [92876f0]
10
+ - Updated dependencies [d9d3463]
11
+ - Updated dependencies [2a40f69]
12
+ - Updated dependencies [bec3e14]
13
+ - Updated dependencies [1f9b905]
14
+ - Updated dependencies [abb0f81]
15
+ - Updated dependencies [38ab505]
16
+ - Updated dependencies [7e4f0e5]
17
+ - Updated dependencies [c1d939f]
18
+ - Updated dependencies [bb68488]
19
+ - Updated dependencies [ab04728]
20
+ - @object-ui/types@17.5.0
21
+
22
+ ## 17.4.0
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [d229dfa]
27
+ - Updated dependencies [c2fd122]
28
+ - Updated dependencies [48132f7]
29
+ - Updated dependencies [7e5bb5d]
30
+ - Updated dependencies [e6fdbdc]
31
+ - Updated dependencies [7e2b7e9]
32
+ - Updated dependencies [c1e1e6b]
33
+ - @object-ui/types@17.4.0
34
+
3
35
  ## 17.3.0
4
36
 
5
37
  ### Patch Changes
@@ -598,24 +630,29 @@
598
630
  - a2d7023: End-user feature batch — forms, designer history, import/export, and PWA offline sync.
599
631
 
600
632
  **Forms (`@object-ui/fields`, `@object-ui/providers`)**
633
+
601
634
  - `FileField`: native `<input capture="environment">` camera capture for mobile devices, plus a uploading-progress indicator driven by `UploadProvider`.
602
635
  - `ImageField`: per-image inline crop/rotate via the lazy-loaded `ImageCropperDialog` (canvas-based, zero new deps).
603
636
  - New `UploadProvider` in `@object-ui/providers` with pluggable adapters for S3 and Azure Blob (plus the default object-URL adapter for local previews). XHR-based with progress, abort, and retry.
604
637
  - `LookupField`: `lookup.dependsOn: string | string[]` to chain dependent lookups (e.g. State depends on Country); the trigger is gated until parent values are present and the OData `$filter` is built automatically.
605
638
 
606
639
  **Container-aware widget widths (`@object-ui/components`)**
640
+
607
641
  - New `useResizeObserver(ref)` hook exposing `{ width, height }` of any element. SSR-safe; reads the initial size via `getBoundingClientRect`.
608
642
  - `plugin-gantt` and `plugin-kanban` now react to their container size instead of `window.innerWidth`, so they behave correctly inside split panels and dashboards.
609
643
 
610
644
  **Designer history (`@object-ui/plugin-designer`)**
645
+
611
646
  - `useUndoRedo` (and therefore `useDesignerHistory`) gains `persistKey` + `storage` options to round-trip the undo/redo stack through `sessionStorage`, plus a `clearPersisted()` cleanup helper. Drafts now survive accidental tab refreshes.
612
647
  - New `<HistoryPanel>` component renders the timeline visually with one-click jump-to-checkpoint via the new `jumpTo(index)` API.
613
648
 
614
649
  **Import wizard (`@object-ui/plugin-grid`)**
650
+
615
651
  - Saved column-mapping templates: name, save, re-apply, and delete via a new template bar in the mapping step. Persisted under `objectui:import-templates:${objectName}` (override via `templateStorageKey` / `templateStorage`).
616
652
  - Inline validation correction: cells with errors in the preview step are now editable; corrections feed straight into the import without requiring a re-upload, with green-bar status indicators for fixed rows.
617
653
 
618
654
  **PWA offline sync (`@object-ui/mobile`)**
655
+
619
656
  - New `MemoryOfflineQueue` / `IndexedDbOfflineQueue` (`createOfflineQueue()` picks the best backend) backed by IndexedDB.
620
657
  - `createOfflineDataSource(inner, { queue })` wraps any DataSource so mutations issued while offline (or that fail with a network-style error) are queued and replayed in order on reconnect. Includes `replay()`, `drop()`, `clear()`, `pending()`, an `onChange` notifier, and an opt-in `resolveConflict` hook for stale-write conflicts.
621
658
  - New `useOfflineSync(source)` hook exposes `{ isOnline, pending, isReplaying, replay, drop, clear }` and auto-replays on the browser's `online` event.
package/README.md CHANGED
@@ -66,20 +66,8 @@ function App() {
66
66
  }
67
67
  ```
68
68
 
69
- <!-- release-metadata:v3.3.0 -->
70
-
71
- ## Compatibility
72
-
73
- - **React:** 18.x or 19.x
74
- - **Node.js:** ≥ 18
75
- - **TypeScript:** ≥ 5.0 (strict mode)
76
- - **`@objectstack/spec`:** ^3.3.0
77
- - **`@objectstack/client`:** ^3.3.0
78
- - **Tailwind CSS:** ≥ 3.4 (for packages with UI)
79
-
80
69
  ## Links
81
70
 
82
- - 📚 [Documentation](https://www.objectui.org/docs/packages/providers)
83
71
  - 📦 [npm package](https://www.npmjs.com/package/@object-ui/providers)
84
72
  - 📝 [Changelog](./CHANGELOG.md)
85
73
  - 🐛 [Report an issue](https://github.com/objectstack-ai/objectui/issues)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@object-ui/providers",
3
- "version": "17.3.0",
3
+ "version": "17.5.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Reusable context providers for ObjectUI applications",
@@ -24,8 +24,8 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@objectstack/spec": "^17.0.0-rc.2",
28
- "@object-ui/types": "17.3.0"
27
+ "@objectstack/spec": "^17.0.0-rc.6",
28
+ "@object-ui/types": "17.5.0"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "react": "^18.0.0 || ^19.0.0",