@object-ui/providers 17.2.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.
- package/CHANGELOG.md +49 -0
- package/README.md +0 -12
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
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
|
+
|
|
35
|
+
## 17.3.0
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [d915c47]
|
|
40
|
+
- Updated dependencies [9e9e9a9]
|
|
41
|
+
- Updated dependencies [23018cc]
|
|
42
|
+
- Updated dependencies [f44d872]
|
|
43
|
+
- Updated dependencies [f833d3a]
|
|
44
|
+
- Updated dependencies [d22ae31]
|
|
45
|
+
- @object-ui/types@17.3.0
|
|
46
|
+
|
|
3
47
|
## 17.2.0
|
|
4
48
|
|
|
5
49
|
### Minor Changes
|
|
@@ -586,24 +630,29 @@
|
|
|
586
630
|
- a2d7023: End-user feature batch — forms, designer history, import/export, and PWA offline sync.
|
|
587
631
|
|
|
588
632
|
**Forms (`@object-ui/fields`, `@object-ui/providers`)**
|
|
633
|
+
|
|
589
634
|
- `FileField`: native `<input capture="environment">` camera capture for mobile devices, plus a uploading-progress indicator driven by `UploadProvider`.
|
|
590
635
|
- `ImageField`: per-image inline crop/rotate via the lazy-loaded `ImageCropperDialog` (canvas-based, zero new deps).
|
|
591
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.
|
|
592
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.
|
|
593
638
|
|
|
594
639
|
**Container-aware widget widths (`@object-ui/components`)**
|
|
640
|
+
|
|
595
641
|
- New `useResizeObserver(ref)` hook exposing `{ width, height }` of any element. SSR-safe; reads the initial size via `getBoundingClientRect`.
|
|
596
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.
|
|
597
643
|
|
|
598
644
|
**Designer history (`@object-ui/plugin-designer`)**
|
|
645
|
+
|
|
599
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.
|
|
600
647
|
- New `<HistoryPanel>` component renders the timeline visually with one-click jump-to-checkpoint via the new `jumpTo(index)` API.
|
|
601
648
|
|
|
602
649
|
**Import wizard (`@object-ui/plugin-grid`)**
|
|
650
|
+
|
|
603
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`).
|
|
604
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.
|
|
605
653
|
|
|
606
654
|
**PWA offline sync (`@object-ui/mobile`)**
|
|
655
|
+
|
|
607
656
|
- New `MemoryOfflineQueue` / `IndexedDbOfflineQueue` (`createOfflineQueue()` picks the best backend) backed by IndexedDB.
|
|
608
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.
|
|
609
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
|
+
"version": "17.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Reusable context providers for ObjectUI applications",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@objectstack/spec": "^17.0.0-rc.
|
|
28
|
-
"@object-ui/types": "17.
|
|
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",
|
|
32
32
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@types/react": "19.2.
|
|
36
|
-
"@types/react-dom": "19.2.
|
|
35
|
+
"@types/react": "19.2.18",
|
|
36
|
+
"@types/react-dom": "19.2.4",
|
|
37
37
|
"typescript": "^6.0.3"
|
|
38
38
|
},
|
|
39
39
|
"keywords": [
|