@pnp/spfx-controls-react 3.16.0-beta.6304721 → 3.16.0-beta.6318049
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.json +6 -2
- package/CHANGELOG.md +7 -2
- package/lib/common/telemetry/version.js +1 -1
- package/lib/controls/uploadFiles/components/File/useFileStyles.js +2 -2
- package/lib/controls/uploadFiles/components/File/useFileStyles.js.map +1 -1
- package/lib/controls/uploadFiles/components/FileCommandBar/useFileCommandBarStyles.js +2 -2
- package/lib/controls/uploadFiles/components/FileCommandBar/useFileCommandBarStyles.js.map +1 -1
- package/lib/controls/uploadFiles/components/NoDocuments/useNoDocumentsStyles.js +2 -2
- package/lib/controls/uploadFiles/components/NoDocuments/useNoDocumentsStyles.js.map +1 -1
- package/lib/controls/uploadFiles/components/UploadFiles/useUploadFilesStyles.js +2 -2
- package/lib/controls/uploadFiles/components/UploadFiles/useUploadFilesStyles.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.json
CHANGED
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
],
|
|
9
9
|
"enhancements": [
|
|
10
10
|
"`FieldCollectionData`: render on page instead of panel and added combobox and peoplepicker controls [#1588](https://github.com/pnp/sp-dev-fx-controls-react/pull/1588)",
|
|
11
|
-
"`FieldCollectionData`: added date field control and updated number field [#1600](https://github.com/pnp/sp-dev-fx-controls-react/pull/1600)"
|
|
11
|
+
"`FieldCollectionData`: added date field control and updated number field [#1600](https://github.com/pnp/sp-dev-fx-controls-react/pull/1600)",
|
|
12
|
+
"`ListItemComments`: Added ListItemComments component to Controls.tsx [#1621](https://github.com/pnp/sp-dev-fx-controls-react/pull/1621)",
|
|
13
|
+
"`FolderPicker`: Improve documentation of FolderPicker [#1379](https://github.com/pnp/sp-dev-fx-controls-react/pull/1379)"
|
|
12
14
|
],
|
|
13
15
|
"fixes": [
|
|
14
16
|
"`AccessibleAccordion`: fix typo in documentation [#1634](https://github.com/pnp/sp-dev-fx-controls-react/pull/1634)",
|
|
@@ -18,7 +20,8 @@
|
|
|
18
20
|
"`DynamicForm`: DynamicForm does not properly handle NULL default values for Taxonomy fields [#1267](https://github.com/pnp/sp-dev-fx-controls-react/issues/1267)",
|
|
19
21
|
"`DynamicForm`: New items are always created with the default content type if the list has multiple content types [#1626](https://github.com/pnp/sp-dev-fx-controls-react/pull/1626)",
|
|
20
22
|
"`PeoplePicker`:PeoplePicker won't accept Multiple Users with the same name [#1620] (https://github.com/pnp/sp-dev-fx-controls-react/pull/1620)",
|
|
21
|
-
"`DynamicForm`: Dynamic Form accessed TaxonomyFieldTypeMulti without considering sub-array results [#1614](https://github.com/pnp/sp-dev-fx-controls-react/pull/1614)"
|
|
23
|
+
"`DynamicForm`: Dynamic Form accessed TaxonomyFieldTypeMulti without considering sub-array results [#1614](https://github.com/pnp/sp-dev-fx-controls-react/pull/1614)",
|
|
24
|
+
"`DynamicForm`: Number validations are working, but the percentage values are not getting saved [#1601](https://github.com/pnp/sp-dev-fx-controls-react/pull/1601)"
|
|
22
25
|
]
|
|
23
26
|
},
|
|
24
27
|
"contributions": [
|
|
@@ -27,6 +30,7 @@
|
|
|
27
30
|
"[Nils Andresen](https://github.com/nils-a)",
|
|
28
31
|
"[Nishkalank Bezawada](https://github.com/NishkalankBezawada)",
|
|
29
32
|
"[Rico van de Ven](https://github.com/RicoNL)",
|
|
33
|
+
"[Steve Beaugé](https://github.com/stevebeauge)",
|
|
30
34
|
"[wuxiaojun514](https://github.com/wuxiaojun514)"
|
|
31
35
|
]
|
|
32
36
|
},
|
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
- `FieldCollectionData`: render on page instead of panel and added combobox and peoplepicker controls [#1588](https://github.com/pnp/sp-dev-fx-controls-react/pull/1588)
|
|
12
12
|
- `FieldCollectionData`: added date field control and updated number field [#1600](https://github.com/pnp/sp-dev-fx-controls-react/pull/1600)
|
|
13
|
+
- `ListItemComments`: Added ListItemComments component to Controls.tsx [#1621](https://github.com/pnp/sp-dev-fx-controls-react/pull/1621)
|
|
14
|
+
- `FolderPicker`: Improve documentation of FolderPicker [#1379](https://github.com/pnp/sp-dev-fx-controls-react/pull/1379)
|
|
13
15
|
|
|
14
16
|
### Fixes
|
|
15
17
|
|
|
@@ -18,11 +20,14 @@
|
|
|
18
20
|
- `Localization`: Update dutch translations [#1635](https://github.com/pnp/sp-dev-fx-controls-react/issues/1635)
|
|
19
21
|
- `TaxonomyPicker`: suggested item contains double termset name [#1597](https://github.com/pnp/sp-dev-fx-controls-react/issues/1597)
|
|
20
22
|
- `DynamicForm`: DynamicForm does not properly handle NULL default values for Taxonomy fields [#1267](https://github.com/pnp/sp-dev-fx-controls-react/issues/1267)
|
|
21
|
-
- `DynamicForm`:
|
|
23
|
+
- `DynamicForm`: New items are always created with the default content type if the list has multiple content types [#1626](https://github.com/pnp/sp-dev-fx-controls-react/pull/1626)
|
|
24
|
+
- `PeoplePicker`:PeoplePicker won't accept Multiple Users with the same name [#1620] (https://github.com/pnp/sp-dev-fx-controls-react/pull/1620)
|
|
25
|
+
- `DynamicForm`: Dynamic Form accessed TaxonomyFieldTypeMulti without considering sub-array results [#1614](https://github.com/pnp/sp-dev-fx-controls-react/pull/1614)
|
|
26
|
+
- `DynamicForm`: Number validations are working, but the percentage values are not getting saved [#1601](https://github.com/pnp/sp-dev-fx-controls-react/pull/1601)
|
|
22
27
|
|
|
23
28
|
### Contributors
|
|
24
29
|
|
|
25
|
-
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Michaël Maillot](https://github.com/michaelmaillot), [Nils Andresen](https://github.com/nils-a), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Rico van de Ven](https://github.com/RicoNL), [wuxiaojun514](https://github.com/wuxiaojun514).
|
|
30
|
+
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Michaël Maillot](https://github.com/michaelmaillot), [Nils Andresen](https://github.com/nils-a), [Nishkalank Bezawada](https://github.com/NishkalankBezawada), [Rico van de Ven](https://github.com/RicoNL), [Steve Beaugé](https://github.com/stevebeauge), [wuxiaojun514](https://github.com/wuxiaojun514).
|
|
26
31
|
|
|
27
32
|
## 3.15.0
|
|
28
33
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var version = "3.16.0-beta.
|
|
1
|
+
export var version = "3.16.0-beta.6318049";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { useAtom } from 'jotai';
|
|
3
3
|
import { FontSizes, FontWeights, mergeStyleSets, } from 'office-ui-fabric-react/lib/Styling';
|
|
4
4
|
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
|
5
5
|
import { globalState } from '../../jotai/atoms';
|
|
6
6
|
export var useFileStyles = function () {
|
|
7
|
-
var appGlobalState =
|
|
7
|
+
var appGlobalState = useAtom(globalState)[0];
|
|
8
8
|
var themeVariant = appGlobalState.themeVariant;
|
|
9
9
|
var documentImageStyles = React.useMemo(function () {
|
|
10
10
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFileStyles.js","sourceRoot":"","sources":["../../../../../src/controls/uploadFiles/components/File/useFileStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useFileStyles.js","sourceRoot":"","sources":["../../../../../src/controls/uploadFiles/components/File/useFileStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAUhC,OAAO,EACL,SAAS,EACT,WAAW,EACX,cAAc,GACf,MAAM,oCAAoC,CAAC;AAI5C,qEAAqE;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,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AAA;QACd,kBAAkB,oBAAA;QAClB,mBAAmB,qBAAA;QACnB,cAAc,gBAAA;QACd,UAAU,YAAA;QACV,mBAAmB,qBAAA;QACnB,aAAa,eAAA;KACd,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { useAtom } from 'jotai';
|
|
3
3
|
import { mergeStyles, mergeStyleSets, } from 'office-ui-fabric-react/lib/Styling';
|
|
4
4
|
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
|
5
5
|
import { globalState } from '../../jotai/atoms';
|
|
6
6
|
export var useFileCommandBarStyles = function () {
|
|
7
|
-
var appGlobalState =
|
|
7
|
+
var appGlobalState = useAtom(globalState)[0];
|
|
8
8
|
var themeVariant = appGlobalState.themeVariant, selectedFiles = appGlobalState.selectedFiles;
|
|
9
9
|
var checkBoxStyles = React.useCallback(function (props) {
|
|
10
10
|
var _a, _b, _c, _d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFileCommandBarStyles.js","sourceRoot":"","sources":["../../../../../src/controls/uploadFiles/components/FileCommandBar/useFileCommandBarStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useFileCommandBarStyles.js","sourceRoot":"","sources":["../../../../../src/controls/uploadFiles/components/FileCommandBar/useFileCommandBarStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAShC,OAAO,EACL,WAAW,EACX,cAAc,GACf,MAAM,oCAAoC,CAAC;AAG5C,qEAAqE;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,IAAM,uBAAuB,GAAG;IAC9B,IAAA,cAAc,GAAI,OAAO,C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AC7D;YACD,IAAI,EAAE;gBACJ,WAAW,EAAE,EAAE;gBACf,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM;gBAChD,KAAK,EAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,cAAc,CAAC,QAAQ;aAC7C;SACF,CAAC;IACJ,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,IAAM,oBAAoB,GAAiB,KAAK,CAAC,OAAO,CAAC;QACvD,OAAO;YACL,IAAI,EAAE;gBACJ,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,QAAQ;aAClB;SACF,CAAC;IACJ,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,OAAO;QACL,gBAAgB,kBAAA;QAChB,cAAc,gBAAA;QACd,oBAAoB,sBAAA;QACpB,aAAa,eAAA;QACb,gBAAgB,kBAAA;QAChB,sBAAsB,wBAAA;KACvB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { useAtom } from 'jotai';
|
|
3
3
|
import { mergeStyles, mergeStyleSets, } from 'office-ui-fabric-react/lib/Styling';
|
|
4
4
|
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
|
5
5
|
import { globalState } from '../../jotai/atoms';
|
|
6
6
|
export var useNoDocumentsStyles = function () {
|
|
7
|
-
var appGlobalState =
|
|
7
|
+
var appGlobalState = useAtom(globalState)[0];
|
|
8
8
|
var themeVariant = appGlobalState.themeVariant;
|
|
9
9
|
var controlStyles = React.useMemo(function () {
|
|
10
10
|
var _a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNoDocumentsStyles.js","sourceRoot":"","sources":["../../../../../src/controls/uploadFiles/components/NoDocuments/useNoDocumentsStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useNoDocumentsStyles.js","sourceRoot":"","sources":["../../../../../src/controls/uploadFiles/components/NoDocuments/useNoDocumentsStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EACL,WAAW,EACX,cAAc,GACf,MAAM,oCAAoC,CAAC;AAE5C,qEAAqE;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,IAAM,oBAAoB,GAAG;IAC3B,IAAA,cAAc,GAAI,OAAO,CAAC,WAAW,CAAC,GAAxB,CAAyB;IACtC,IAAA,YAAY,GAAM,cAAc,aAApB,CAAqB;IAGzC,IAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CACjC;;QACE,OAAA,cAAc,CAAC;YACb,UAAU,EAAE,WAAW,CAAC;gBACtB,QAAQ,EAAE,EAAE;gBACZ,KAAK,EAAE,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,OAAO,0CAAE,YAAY;aAC3C,CAAgB;SAClB,CAAC,CAAA;KAAA,EACJ,CAAC,YAAY,CAAC,CACf,CAAC;IAEF,IAAM,oBAAoB,GAAiB,KAAK,CAAC,OAAO,CAAC;;QACvD,OAAO;YACL,IAAI,EAAE;gBACJ,KAAK,EAAE,MAAM;gBACb,MAAM,EAAG,GAAG;gBACZ,OAAO,EAAE,MAAM;gBACf,UAAU,EAAE,QAAQ;gBACpB,cAAc,EAAE,QAAQ;gBACxB,eAAe,EAAE,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,OAAO,0CAAE,iBAAiB;gBACzD,WAAW,EAAE,CAAC;gBACd,WAAW,EAAE,QAAQ;gBACrB,WAAW,EAAE,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,OAAO,0CAAE,kBAAkB;aACvD;SACF,CAAC;IACJ,CAAC,EAAE,CAAC,YAAY,EAAI,CAAC,CAAC;IAEtB,OAAO,EAAE,oBAAoB,sBAAA,EAAE,aAAa,eAAA,EAAE,CAAC;AACjD,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
|
3
|
-
import {
|
|
3
|
+
import { useAtom } from 'jotai';
|
|
4
4
|
import { FontWeights } from 'office-ui-fabric-react/lib/Styling';
|
|
5
5
|
import { globalState } from '../../jotai/atoms/globalState';
|
|
6
6
|
export var useUploadFilesStyles = function () {
|
|
7
|
-
var appGlobalState =
|
|
7
|
+
var appGlobalState = useAtom(globalState)[0];
|
|
8
8
|
var themeVariant = appGlobalState.themeVariant;
|
|
9
9
|
var titleStyles = React.useMemo(function () {
|
|
10
10
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUploadFilesStyles.js","sourceRoot":"","sources":["../../../../../src/controls/uploadFiles/components/UploadFiles/useUploadFilesStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,qEAAqE;AACrE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useUploadFilesStyles.js","sourceRoot":"","sources":["../../../../../src/controls/uploadFiles/components/UploadFiles/useUploadFilesStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,qEAAqE;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAGjE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,MAAM,CAAC,IAAM,oBAAoB,GAAG;IAC3B,IAAA,cAAc,GAAI,OAAO,CAAC,WAAW,CAAC,GAAxB,CAAyB;IACtC,IAAA,YAAY,GAAK,cAAc,aAAnB,CAAoB;IAExC,IAAM,WAAW,GAAgB,KAAK,CAAC,OAAO,CAAC;QAC7C,OAAO;YACL,IAAI,EAAE;gBACJ,YAAY,EAAE,EAAE;gBAChB,WAAW,EAAE,EAAE;gBAEf,UAAU,EAAE,WAAW,CAAC,QAAQ;aACjC;SACF,CAAC;IACJ,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,IAAM,aAAa,GAAiB,KAAK,CAAC,OAAO,CAAC;QAChD,OAAO;YACL,IAAI,EAAE;gBACJ,MAAM,EAAE,MAAM;gBACd,KAAK,EAAE,MAAM;gBACb,QAAQ,EAAE,QAAQ;aACnB;SACF,CAAC;IACJ,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,OAAO,EAAE,WAAW,aAAA,EAAE,aAAa,eAAA,EAAE,CAAC;AACxC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/spfx-controls-react",
|
|
3
3
|
"description": "Reusable React controls for SharePoint Framework solutions",
|
|
4
|
-
"version": "3.16.0-beta.
|
|
4
|
+
"version": "3.16.0-beta.6318049",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "gulp build",
|
|
7
7
|
"clean": "gulp clean",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"color": "4.2.3",
|
|
55
55
|
"date-fns": "^2.22.1",
|
|
56
56
|
"he": "^1.2.0",
|
|
57
|
-
"jotai": "^
|
|
57
|
+
"jotai": "^2.4.2",
|
|
58
58
|
"lodash": "4.17.21",
|
|
59
59
|
"markdown-it": "^12.3.2",
|
|
60
60
|
"moment": "2.29.4",
|