@equinor/fusion-framework-react-components-people-provider 1.6.3 → 1.6.4-next.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 +43 -7
- package/dist/esm/PeopleResolver.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/PeopleResolver.d.ts +8 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +12 -12
- package/src/PeopleResolver.tsx +11 -0
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @equinor/fusion-framework-react-components-people-provider
|
|
2
2
|
|
|
3
|
+
## 1.6.4-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78) Thanks [@odinr](https://github.com/odinr)! - relase next
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78)]:
|
|
10
|
+
- @equinor/fusion-framework-react-module@3.1.15-next.0
|
|
11
|
+
- @equinor/fusion-framework-react@7.4.21-next.0
|
|
12
|
+
- @equinor/fusion-query@6.0.5-next.0
|
|
13
|
+
- @equinor/fusion-framework-module-services@7.2.2-next.0
|
|
14
|
+
|
|
3
15
|
## 1.6.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -31,7 +43,6 @@
|
|
|
31
43
|
- [#4095](https://github.com/equinor/fusion-framework/pull/4095) [`f09b26f`](https://github.com/equinor/fusion-framework/commit/f09b26f100a94bf3c841be9830525aa2c734b180) Thanks [@eikeland](https://github.com/eikeland)! - Add `suggest` and `resolve` methods to People API client for improved people picker functionality.
|
|
32
44
|
|
|
33
45
|
The People service now supports:
|
|
34
|
-
|
|
35
46
|
- **suggest**: Autocomplete/typeahead for people picker with optional system account filtering
|
|
36
47
|
- **resolve**: Batch resolution of person identifiers to full person objects
|
|
37
48
|
|
|
@@ -62,12 +73,42 @@
|
|
|
62
73
|
- Updated dependencies [[`f09b26f`](https://github.com/equinor/fusion-framework/commit/f09b26f100a94bf3c841be9830525aa2c734b180)]:
|
|
63
74
|
- @equinor/fusion-framework-module-services@7.2.0
|
|
64
75
|
|
|
76
|
+
## 2.0.0-next.0
|
|
77
|
+
|
|
78
|
+
### Major Changes
|
|
79
|
+
|
|
80
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`9f7597e`](https://github.com/equinor/fusion-framework/commit/9f7597ee237ef069dc24cbe39c73b5b26db157dd) Thanks [@odinr](https://github.com/odinr)! - Require React 18+ as peer dependency. React 17 is no longer supported.
|
|
81
|
+
|
|
82
|
+
**Migration:** Update your application to React 18+ to continue using these packages.
|
|
83
|
+
|
|
84
|
+
Closes https://github.com/equinor/fusion-framework/issues/3504
|
|
85
|
+
|
|
86
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`75c068f`](https://github.com/equinor/fusion-framework/commit/75c068fea13c32435ac26bd9043cc156482bfaf1) Thanks [@odinr](https://github.com/odinr)! - Upgrade to React 19 and remove support for React versions lower than 18.
|
|
87
|
+
|
|
88
|
+
**Breaking changes:**
|
|
89
|
+
- Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
|
|
90
|
+
- React 16 and 17 are no longer supported
|
|
91
|
+
- Dev dependencies upgraded to React 19.2.1 and @types/react 19.2.7
|
|
92
|
+
|
|
93
|
+
**Migration:**
|
|
94
|
+
- Update your React version to 18.0.0 or higher before upgrading these packages
|
|
95
|
+
- If using React 16 or 17, upgrade to React 18 or 19 first
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b) Thanks [@odinr](https://github.com/odinr)! - relase next
|
|
100
|
+
|
|
101
|
+
- Updated dependencies [[`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b), [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8), [`9f7597e`](https://github.com/equinor/fusion-framework/commit/9f7597ee237ef069dc24cbe39c73b5b26db157dd), [`75c068f`](https://github.com/equinor/fusion-framework/commit/75c068fea13c32435ac26bd9043cc156482bfaf1)]:
|
|
102
|
+
- @equinor/fusion-framework-react-module@4.0.0-next.0
|
|
103
|
+
- @equinor/fusion-framework-react@8.0.0-next.0
|
|
104
|
+
- @equinor/fusion-query@7.0.0-next.0
|
|
105
|
+
- @equinor/fusion-framework-module-services@7.1.6-next.0
|
|
106
|
+
|
|
65
107
|
## 1.5.25
|
|
66
108
|
|
|
67
109
|
### Patch Changes
|
|
68
110
|
|
|
69
111
|
- [#3542](https://github.com/equinor/fusion-framework/pull/3542) [`2d4fd18`](https://github.com/equinor/fusion-framework/commit/2d4fd18394e8545b4616140a93a369d5ae77ccbc) Thanks [@eikeland](https://github.com/eikeland)! - Updated person component dependencies for improved functionality and bug fixes.
|
|
70
|
-
|
|
71
112
|
- Updated `@equinor/fusion-react-person` from `^0.10.3` to `^0.10.10` in app-react-people cookbook
|
|
72
113
|
- Updated `@equinor/fusion-wc-person` from `^3.1.8` to `^3.2.4` in dev-portal and people-resolver packages
|
|
73
114
|
|
|
@@ -345,7 +386,6 @@
|
|
|
345
386
|
### Patch Changes
|
|
346
387
|
|
|
347
388
|
- [#2591](https://github.com/equinor/fusion-framework/pull/2591) [`445760c`](https://github.com/equinor/fusion-framework/commit/445760ce73e1d76303c83c367a394adfb5b7a479) Thanks [@eikeland](https://github.com/eikeland)! - ### Updated Dependencies:
|
|
348
|
-
|
|
349
389
|
- Updated @equinor/fusion-wc-person to ^3.0.5 in package.json.
|
|
350
390
|
|
|
351
391
|
## 1.4.13
|
|
@@ -391,7 +431,6 @@
|
|
|
391
431
|
- [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component.
|
|
392
432
|
|
|
393
433
|
Updated the following dependencies
|
|
394
|
-
|
|
395
434
|
- `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
|
|
396
435
|
|
|
397
436
|
- Updated dependencies [[`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251)]:
|
|
@@ -405,7 +444,6 @@
|
|
|
405
444
|
- [#2493](https://github.com/equinor/fusion-framework/pull/2493) [`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81) Thanks [@eikeland](https://github.com/eikeland)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component.
|
|
406
445
|
|
|
407
446
|
Updated the following dependencies
|
|
408
|
-
|
|
409
447
|
- `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
|
|
410
448
|
|
|
411
449
|
- Updated dependencies [[`73af73e`](https://github.com/equinor/fusion-framework/commit/73af73e5582ca27b132210af8ba308b80e036d51)]:
|
|
@@ -476,7 +514,6 @@
|
|
|
476
514
|
- [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file.
|
|
477
515
|
|
|
478
516
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
479
|
-
|
|
480
517
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
481
518
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
482
519
|
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
@@ -544,7 +581,6 @@
|
|
|
544
581
|
Updated the `PeopleApiClient.photo` method to properly type the response as `PersonPhotoApiResponse<TVersion>` instead of `Blob`. This allows for more accurate type checking when using the method.
|
|
545
582
|
|
|
546
583
|
To update your code:
|
|
547
|
-
|
|
548
584
|
- If you are using the `PeopleApiClient.photo` method directly, no changes are needed. The method will now properly type the response.
|
|
549
585
|
- If you have custom type assertions or checks around the response from `PeopleApiClient.photo`, you may need to update them to handle `PersonPhotoApiResponse<TVersion>` instead of `Blob`.
|
|
550
586
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeopleResolver.js","sourceRoot":"","sources":["../../src/PeopleResolver.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EAEjB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"PeopleResolver.js","sourceRoot":"","sources":["../../src/PeopleResolver.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0B,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EAEjB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AAanC,qBAAqB,CAAC;AACtB,mBAAmB,CAAC;AACpB,iBAAiB,CAAC;AAClB,qBAAqB,CAAC;AACtB,mBAAmB,CAAC;AAIpB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAsD,EAAE,EAAE;IAChG,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,GAAG,GAAG,MAAM,CAA+B,IAAI,CAAC,CAAC;IAEvD,8CAA8C;IAC9C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,GAAG,CAAC,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC5B,GAAG,CAAC,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAClC,CAAC;IACH,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO,8BAAqB,GAAG,EAAE,GAAG,YAAG,QAAQ,GAAuB,CAAC;AACzE,CAAC,CAAC"}
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,cAAc,CAAC"}
|