mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-03-02 01:39:21 +00:00
Updated to SPFX 1.14.0 in /samples/react-star-ratings
This commit is contained in:
parent
25bfa4e146
commit
e6183b430b
@ -8,16 +8,15 @@ This web part demonstrates *Star Ratings* capablities to SharePoint News. The "R
|
|||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
-Incompatible-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1")
|
-Incompatible-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1")
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
1. Enable the "Ratings" feature of the site collection. The feature GUID is `915c240e-a6cc-49b8-8b2c-0bff8b553ed3`.
|
1. Enable the "Ratings" feature of the site collection. The feature GUID is `915c240e-a6cc-49b8-8b2c-0bff8b553ed3`.
|
||||||
@ -45,6 +44,7 @@ react-star-ratings|[Takashi Shinohara](https://github.com/karamem0) ([@karamem0]
|
|||||||
|
|
||||||
Version|Date|Comments
|
Version|Date|Comments
|
||||||
-------|----|--------
|
-------|----|--------
|
||||||
|
1.2|March 28, 2022|Upgraded to SPFx v1.14
|
||||||
1.1|January 12, 2022|Updated to retrieve values from API
|
1.1|January 12, 2022|Updated to retrieve values from API
|
||||||
1.0|October 7, 2021|Initial release
|
1.0|October 7, 2021|Initial release
|
||||||
|
|
||||||
@ -64,5 +64,4 @@ Finally, if you have an idea for improvement, [make a suggestion](https://github
|
|||||||
|
|
||||||
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
||||||
|
|
||||||
|
|
||||||
<img src="https://pnptelemetry.azurewebsites.net/sp-dev-fx-webparts/samples/react-star-ratings" />
|
<img src="https://pnptelemetry.azurewebsites.net/sp-dev-fx-webparts/samples/react-star-ratings" />
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"solution": {
|
"solution": {
|
||||||
"name": "ratings",
|
"name": "ratings",
|
||||||
"id": "1fac5bb8-6a05-4c52-aee3-496f6921ac1a",
|
"id": "1fac5bb8-6a05-4c52-aee3-496f6921ac1a",
|
||||||
"version": "1.0.0.0",
|
"version": "1.2.0.0",
|
||||||
"includeClientSideAssets": true,
|
"includeClientSideAssets": true,
|
||||||
"skipFeatureDeployment": true,
|
"skipFeatureDeployment": true,
|
||||||
"isDomainIsolated": false,
|
"isDomainIsolated": false,
|
||||||
|
8449
samples/react-star-ratings/package-lock.json
generated
8449
samples/react-star-ratings/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ratings",
|
"name": "ratings",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -9,26 +9,24 @@
|
|||||||
"test": "gulp test"
|
"test": "gulp test"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fluentui/react": "^7.177.2",
|
"@microsoft/sp-core-library": "1.14.0",
|
||||||
"@microsoft/sp-core-library": "1.12.1",
|
"@microsoft/sp-lodash-subset": "1.14.0",
|
||||||
"@microsoft/sp-lodash-subset": "1.12.1",
|
"@microsoft/sp-office-ui-fabric-core": "1.14.0",
|
||||||
"@microsoft/sp-office-ui-fabric-core": "1.12.1",
|
"@microsoft/sp-property-pane": "1.14.0",
|
||||||
"@microsoft/sp-property-pane": "1.12.1",
|
"@microsoft/sp-webpart-base": "1.14.0",
|
||||||
"@microsoft/sp-webpart-base": "1.12.1",
|
"office-ui-fabric-react": "7.183.1",
|
||||||
"office-ui-fabric-react": "7.156.0",
|
"react": "16.13.1",
|
||||||
"react": "16.9.0",
|
"react-dom": "16.13.1"
|
||||||
"react-dom": "16.9.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "16.9.36",
|
"@microsoft/rush-stack-compiler-3.9": "0.4.48",
|
||||||
|
"@microsoft/sp-build-web": "1.14.0",
|
||||||
|
"@microsoft/sp-module-interfaces": "1.14.0",
|
||||||
|
"@microsoft/sp-tslint-rules": "1.14.0",
|
||||||
|
"@types/react": "16.9.51",
|
||||||
"@types/react-dom": "16.9.8",
|
"@types/react-dom": "16.9.8",
|
||||||
"@microsoft/sp-build-web": "1.12.1",
|
"@types/webpack-env": "1.16.3",
|
||||||
"@microsoft/sp-tslint-rules": "1.12.1",
|
|
||||||
"@microsoft/sp-module-interfaces": "1.12.1",
|
|
||||||
"@microsoft/sp-webpart-workbench": "1.12.1",
|
|
||||||
"@microsoft/rush-stack-compiler-3.7": "0.2.3",
|
|
||||||
"gulp": "~4.0.2",
|
|
||||||
"ajv": "~6.12.3",
|
"ajv": "~6.12.3",
|
||||||
"@types/webpack-env": "1.13.1"
|
"gulp": "~4.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ import {
|
|||||||
Rating,
|
Rating,
|
||||||
RatingSize,
|
RatingSize,
|
||||||
TooltipHost
|
TooltipHost
|
||||||
} from '@fluentui/react';
|
} from 'office-ui-fabric-react';
|
||||||
import styles from './Ratings.module.scss';
|
import styles from './Ratings.module.scss';
|
||||||
import * as strings from 'RatingsWebPartStrings';
|
import * as strings from 'RatingsWebPartStrings';
|
||||||
import { IRatingsProps } from './IRatingsProps';
|
import { IRatingsProps } from './IRatingsProps';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.7/includes/tsconfig-web.json",
|
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.9/includes/tsconfig-web.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
"no-switch-case-fall-through": true,
|
"no-switch-case-fall-through": true,
|
||||||
"no-unnecessary-semicolons": true,
|
"no-unnecessary-semicolons": true,
|
||||||
"no-unused-expression": true,
|
"no-unused-expression": true,
|
||||||
"no-use-before-declare": true,
|
|
||||||
"no-with-statement": true,
|
"no-with-statement": true,
|
||||||
"semicolon": true,
|
"semicolon": true,
|
||||||
"trailing-comma": false,
|
"trailing-comma": false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user