Merge pull request #2504 from Jwaegebaert/dev/tiles/upgradePackage

Updated react-tiles-v2 to handle icon name contains search
This commit is contained in:
Hugo Bernier 2022-03-29 00:23:32 -04:00 committed by GitHub
commit 3f4f0e2281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 73 additions and 48 deletions

View File

@ -41,6 +41,7 @@ Version|Date|Comments
1.0|July 14, 2021|Initial release 1.0|July 14, 2021|Initial release
1.1|October 14, 2021|Added sorting, static tile width and unique tile color - [fthorild](https://github.com/fthorild) 1.1|October 14, 2021|Added sorting, static tile width and unique tile color - [fthorild](https://github.com/fthorild)
1.1.1|March 25, 2022|Added current icon within property pane 1.1.1|March 25, 2022|Added current icon within property pane
1.1.2|March 28, 2022|Update `@pnp/spfx-controls-react` to handle icon name contains search
## Minimal path to awesome ## Minimal path to awesome

View File

@ -9,7 +9,7 @@
"This solution creates a customizable Tiles Web part, it uses a stored collection from the PnP `PropertyFieldCollectionData` control and allows the user to choose the color scheme (theme or custom) and to set the size of the tiles. By default the tiles use a fluid flex layout to use the available screen area." "This solution creates a customizable Tiles Web part, it uses a stored collection from the PnP `PropertyFieldCollectionData` control and allows the user to choose the color scheme (theme or custom) and to set the size of the tiles. By default the tiles use a fluid flex layout to use the available screen area."
], ],
"creationDateTime": "2021-07-14", "creationDateTime": "2021-07-14",
"updateDateTime": "2022-03-25", "updateDateTime": "2022-03-28",
"products": [ "products": [
"SharePoint" "SharePoint"
], ],
@ -46,7 +46,13 @@
"name": "Fredrik Thorild", "name": "Fredrik Thorild",
"company": "Sogeti Sweden", "company": "Sogeti Sweden",
"pictureUrl": "https://github.com/fthorild.png" "pictureUrl": "https://github.com/fthorild.png"
},
{
"gitHubAccount": "Jwaegebaert",
"name": "Jasey Waegebaert",
"pictureUrl": "https://github.com/Jwaegebaert.png"
} }
], ],
"references": [ "references": [
{ {

View File

@ -3,7 +3,7 @@
"solution": { "solution": {
"name": "Tiles V2 Webpart - Modern", "name": "Tiles V2 Webpart - Modern",
"id": "d56958d6-9eaf-4500-934b-b421c22a7d1f", "id": "d56958d6-9eaf-4500-934b-b421c22a7d1f",
"version": "1.1.1.0", "version": "1.1.2.0",
"skipFeatureDeployment": true, "skipFeatureDeployment": true,
"includeClientSideAssets": true, "includeClientSideAssets": true,
"isDomainIsolated": false, "isDomainIsolated": false,

View File

@ -1,6 +1,6 @@
{ {
"name": "tiles", "name": "tiles",
"version": "1.1.0", "version": "1.1.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -31,17 +31,17 @@
} }
}, },
"@babel/runtime": { "@babel/runtime": {
"version": "7.13.10", "version": "7.17.8",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.10.tgz", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.8.tgz",
"integrity": "sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw==", "integrity": "sha512-dQpEpK0O9o6lj6oPu0gRDbbnk+4LeHlNcBpspf6Olzt3GIX4P1lWF1gS+pHLDFlaJvbR6q7jCfQ08zA4QJBnmA==",
"requires": { "requires": {
"regenerator-runtime": "^0.13.4" "regenerator-runtime": "^0.13.4"
}, },
"dependencies": { "dependencies": {
"regenerator-runtime": { "regenerator-runtime": {
"version": "0.13.7", "version": "0.13.9",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
"integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="
} }
} }
}, },
@ -2846,9 +2846,9 @@
} }
}, },
"@pnp/spfx-controls-react": { "@pnp/spfx-controls-react": {
"version": "2.5.0", "version": "2.6.0",
"resolved": "https://registry.npmjs.org/@pnp/spfx-controls-react/-/spfx-controls-react-2.5.0.tgz", "resolved": "https://registry.npmjs.org/@pnp/spfx-controls-react/-/spfx-controls-react-2.6.0.tgz",
"integrity": "sha512-74t1Op5C0TaBdeMud6ltOoO5ReUExAJS1wM4Ex8UqakndwfGk7ak4iKLcRqramkJTjTtgQk0v5NRrjLVdhcNLw==", "integrity": "sha512-mr6IVG44KHL1NDz4iMK7MghbBWmfKKBAecwEd964OR5rV5YYicdSOTZhjqSXOLLh3GS1EtPX8nQNbSM/GTJtZw==",
"requires": { "requires": {
"@fluentui/react-northstar": "^0.51.3", "@fluentui/react-northstar": "^0.51.3",
"@microsoft/decorators": "1.11.0", "@microsoft/decorators": "1.11.0",
@ -2860,6 +2860,7 @@
"@pnp/sp": "2.0.6", "@pnp/sp": "2.0.6",
"@pnp/telemetry-js": "2.0.0", "@pnp/telemetry-js": "2.0.0",
"@uifabric/icons": "7.3.0", "@uifabric/icons": "7.3.0",
"animate.css": "^4.1.1",
"chart.js": "2.7.3", "chart.js": "2.7.3",
"color": "3.1.2", "color": "3.1.2",
"lodash": "4.17.13", "lodash": "4.17.13",
@ -3296,9 +3297,9 @@
"dev": true "dev": true
}, },
"@popperjs/core": { "@popperjs/core": {
"version": "2.9.1", "version": "2.11.4",
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.9.1.tgz", "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.4.tgz",
"integrity": "sha512-DvJbbn3dUgMxDnJLH+RZQPnXak1h4ZVYQ7CWiFWjQwBFkVajT4rfw2PdpHLTSTwxrYfnoEXkuBiwkDm6tPMQeA==" "integrity": "sha512-q/ytXxO5NKvyT37pmisQAItCFqA7FD/vNb8dgaJy3/630Fsc+Mz9/9f2SziBoIZ30TJooXyTwZmhi1zjXmObYg=="
}, },
"@quid/stylis-plugin-focus-visible": { "@quid/stylis-plugin-focus-visible": {
"version": "4.0.0", "version": "4.0.0",
@ -3335,9 +3336,12 @@
"dev": true "dev": true
}, },
"@types/classnames": { "@types/classnames": {
"version": "2.2.11", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/@types/classnames/-/classnames-2.2.11.tgz", "resolved": "https://registry.npmjs.org/@types/classnames/-/classnames-2.3.1.tgz",
"integrity": "sha512-2koNhpWm3DgWRp5tpkiJ8JGc1xTn2q0l+jUNUE7oMKXUf5NpI9AIdC4kbjGNFBdHtcxBD18LAksoudAVhFKCjw==" "integrity": "sha512-zeOWb0JGBoVmlQoznvqXbE0tEC/HONsnoUNH19Hc96NFsTAwTXbTqb8FMYkru1F/iqp7a18Ws3nWJvtA1sHD1A==",
"requires": {
"classnames": "*"
}
}, },
"@types/es6-promise": { "@types/es6-promise": {
"version": "0.0.33", "version": "0.0.33",
@ -4226,6 +4230,11 @@
"integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
"dev": true "dev": true
}, },
"animate.css": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/animate.css/-/animate.css-4.1.1.tgz",
"integrity": "sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ=="
},
"ansi-colors": { "ansi-colors": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz",
@ -5707,9 +5716,9 @@
} }
}, },
"classnames": { "classnames": {
"version": "2.2.6", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz",
"integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA=="
}, },
"clean-css": { "clean-css": {
"version": "4.2.1", "version": "4.2.1",
@ -6935,18 +6944,18 @@
} }
}, },
"dom-helpers": { "dom-helpers": {
"version": "5.2.0", "version": "5.2.1",
"resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.0.tgz", "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",
"integrity": "sha512-Ru5o9+V8CpunKnz5LGgWXkmrH/20cGKwcHwS4m73zIvs54CN9epEmT/HLqFJW3kXpakAFkEdzgy1hzlJe3E4OQ==", "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==",
"requires": { "requires": {
"@babel/runtime": "^7.8.7", "@babel/runtime": "^7.8.7",
"csstype": "^3.0.2" "csstype": "^3.0.2"
}, },
"dependencies": { "dependencies": {
"csstype": { "csstype": {
"version": "3.0.7", "version": "3.0.11",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.11.tgz",
"integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==" "integrity": "sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw=="
} }
} }
}, },
@ -9349,6 +9358,14 @@
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz",
"integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw=="
}, },
"has-tostringtag": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
"integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
"requires": {
"has-symbols": "^1.0.2"
}
},
"has-unicode": { "has-unicode": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
@ -9794,9 +9811,9 @@
"dev": true "dev": true
}, },
"inline-style-expand-shorthand": { "inline-style-expand-shorthand": {
"version": "1.2.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/inline-style-expand-shorthand/-/inline-style-expand-shorthand-1.2.0.tgz", "resolved": "https://registry.npmjs.org/inline-style-expand-shorthand/-/inline-style-expand-shorthand-1.3.0.tgz",
"integrity": "sha512-YdteDMlG1StHeEXF7opaVfPMCIVO8B4TPjE6kZLwdhZdgjH3Q7lxwSe+89sMhdPN77F3quOYhBbqBE0+KXuHpA==" "integrity": "sha512-cYW3cf2Tzi43jjHk8yyHAAnwgVXOC0jdmv7QkHMmha2zI2znhWh8LEC+Enb+PHcZi9afsbcP4JHyr5C08jDRHA=="
}, },
"inpath": { "inpath": {
"version": "1.0.2", "version": "1.0.2",
@ -9947,11 +9964,12 @@
} }
}, },
"is-arguments": { "is-arguments": {
"version": "1.1.0", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
"integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
"requires": { "requires": {
"call-bind": "^1.0.0" "call-bind": "^1.0.2",
"has-tostringtag": "^1.0.0"
} }
}, },
"is-arrayish": { "is-arrayish": {
@ -14996,9 +15014,9 @@
} }
}, },
"react-accessible-accordion": { "react-accessible-accordion": {
"version": "3.3.4", "version": "3.3.5",
"resolved": "https://registry.npmjs.org/react-accessible-accordion/-/react-accessible-accordion-3.3.4.tgz", "resolved": "https://registry.npmjs.org/react-accessible-accordion/-/react-accessible-accordion-3.3.5.tgz",
"integrity": "sha512-EUq+KmVRIIG5u1fR5XIbb2JU7w7NouLjuyfuPvnhuDIfNNWNYap1I8ijn2rdA6OQi1gGSRGbVzHs+3wxH/M0Sw==" "integrity": "sha512-yCh3tx+jNuOPs+m58LOBFTGDEaGvM8UfuCNznr855FDAWzwV8V/ZH/TVBvgqH0npP58KrrVrHpj4jcy0EE5hEw=="
}, },
"react-ace": { "react-ace": {
"version": "5.8.0", "version": "5.8.0",
@ -15064,9 +15082,9 @@
} }
}, },
"react-transition-group": { "react-transition-group": {
"version": "4.4.1", "version": "4.4.2",
"resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.1.tgz", "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.2.tgz",
"integrity": "sha512-Djqr7OQ2aPUiYurhPalTrVy9ddmFCCzwhqQmtN+J3+3DzLO209Fdr70QrN8Z3DsglWql6iY1lDWAfpFiBtuKGw==", "integrity": "sha512-/RNYfRAMlZwDSr6z4zNKV6xu53/e2BuaBbGhbyYIXTrmgu/bGHzmqOs7mJSJBHy9Ud+ApHx3QjrkKSp1pxvlFg==",
"requires": { "requires": {
"@babel/runtime": "^7.5.5", "@babel/runtime": "^7.5.5",
"dom-helpers": "^5.0.1", "dom-helpers": "^5.0.1",
@ -15241,9 +15259,9 @@
} }
}, },
"regexp.prototype.flags": { "regexp.prototype.flags": {
"version": "1.3.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.1.tgz",
"integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==", "integrity": "sha512-pMR7hBVUUGI7PMA37m2ofIdQCsomVnas+Jn5UPGAHQ+/LlwKm/aTLJHdasmHRzlfeZwHiAOaRSo2rbBDm3nNUQ==",
"requires": { "requires": {
"call-bind": "^1.0.2", "call-bind": "^1.0.2",
"define-properties": "^1.1.3" "define-properties": "^1.1.3"
@ -15508,9 +15526,9 @@
"dev": true "dev": true
}, },
"rtl-css-js": { "rtl-css-js": {
"version": "1.14.0", "version": "1.15.0",
"resolved": "https://registry.npmjs.org/rtl-css-js/-/rtl-css-js-1.14.0.tgz", "resolved": "https://registry.npmjs.org/rtl-css-js/-/rtl-css-js-1.15.0.tgz",
"integrity": "sha512-Dl5xDTeN3e7scU1cWX8c9b6/Nqz3u/HgR4gePc1kWXYiQWVQbKCEyK6+Hxve9LbcJ5EieHy1J9nJCN3grTtGwg==", "integrity": "sha512-99Cu4wNNIhrI10xxUaABHsdDqzalrSRTie4GeCmbGVuehm4oj+fIy8fTzB+16pmKe8Bv9rl+hxIBez6KxExTew==",
"requires": { "requires": {
"@babel/runtime": "^7.1.2" "@babel/runtime": "^7.1.2"
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "tiles", "name": "tiles",
"version": "1.1.1", "version": "1.1.2",
"private": true, "private": true,
"main": "lib/index.js", "main": "lib/index.js",
"engines": { "engines": {
@ -19,7 +19,7 @@
"@microsoft/sp-webpart-base": "1.11.0", "@microsoft/sp-webpart-base": "1.11.0",
"@pnp/graph": "^2.2.0", "@pnp/graph": "^2.2.0",
"@pnp/sp": "^2.2.0", "@pnp/sp": "^2.2.0",
"@pnp/spfx-controls-react": "2.5.0", "@pnp/spfx-controls-react": "2.6.0",
"@pnp/spfx-property-controls": "2.4.0", "@pnp/spfx-property-controls": "2.4.0",
"office-ui-fabric-react": "^7.164.2", "office-ui-fabric-react": "^7.164.2",
"typestyle": "^2.0.2" "typestyle": "^2.0.2"