upgrade (office-ui-fabric-react): Upgrades to fabric 7 version. Updates React (minor), React-dom (minor), office-ui-fabric-react (major). Removes deprecated props.

This commit is contained in:
Shai Rose 2020-01-20 13:46:51 +02:00
Родитель b19002b066
Коммит 44ab009fb1
7 изменённых файлов: 146 добавлений и 88 удалений

Просмотреть файл

@ -1,7 +1,7 @@
{
"$schema": "../../node_modules/ng-packagr/package.schema.json",
"name": "@angular-react/core",
"version": "1.0.1",
"version": "2.0.0-rc0",
"ngPackage": {
"deleteDestPath": true,
"whitelistedNonPeerDependencies": [
@ -55,8 +55,8 @@
"@angular/platform-browser-dynamic": "^8.0.2",
"@angular/platform-browser": "^8.0.2",
"rxjs": "^6.5.2",
"react-dom": "^16.6.3",
"react": "^16.6.3"
"react-dom": "~16.8.6",
"react": "~16.8.6"
},
"dependencies": {
"css-to-style": "^1.2.1",

Просмотреть файл

@ -1,7 +1,7 @@
{
"$schema": "../../node_modules/ng-packagr/package.schema.json",
"name": "@angular-react/fabric",
"version": "1.2.3",
"version": "2.0.0-rc0",
"ngPackage": {
"lib": {
"entryFile": "public-api.ts",
@ -49,8 +49,8 @@
"@angular/core": "^8.0.2",
"@angular/platform-browser-dynamic": "^8.0.2",
"@angular/platform-browser": "^8.0.2",
"office-ui-fabric-react": "6.201.1",
"react-dom": "^16.6.3",
"react": "^16.6.3"
"office-ui-fabric-react": "7.71.0",
"react-dom": "~16.8.6",
"react": "^16.8.6"
}
}

Просмотреть файл

@ -143,7 +143,6 @@ export class FabDetailsListComponent extends ReactWrapperComponent<IDetailsListP
@Input() rowElementEventMap?: IDetailsListProps['rowElementEventMap'];
@Input() getCellValueKey?: IDetailsListProps['getCellValueKey'];
@Input() dragDropEvents?: IDetailsListProps['dragDropEvents'];
@Input() enableShimmer?: IDetailsListProps['enableShimmer'];
@Input() viewport?: IDetailsListProps['viewport'];
@Input() ariaLabelForListHeader?: IDetailsListProps['ariaLabelForListHeader'];
@Input() ariaLabelForSelectAllCheckbox?: IDetailsListProps['ariaLabelForSelectAllCheckbox'];

Просмотреть файл

@ -97,8 +97,8 @@ export class FabDropdownComponent extends ReactWrapperComponent<IDropdownProps>
@Input() theme?: IDropdownProps['theme'];
@Input() styles?: IDropdownProps['styles'];
@Input() renderContainer?: InputRendererOptions<ISelectableDroppableTextProps<IDropdown>>;
@Input() renderList?: InputRendererOptions<ISelectableDroppableTextProps<IDropdown>>;
@Input() renderContainer?: InputRendererOptions<ISelectableDroppableTextProps<IDropdown, IDropdown>>;
@Input() renderList?: InputRendererOptions<ISelectableDroppableTextProps<IDropdown, IDropdown>>;
@Input() renderItem?: InputRendererOptions<ISelectableOption>;
@Input() renderOption?: InputRendererOptions<ISelectableOption>;
@Input() renderPlaceholder?: InputRendererOptions<IDropdownProps>;

Просмотреть файл

@ -45,8 +45,6 @@ export class FabNavComponent extends ReactWrapperComponent<INavProps> {
@Input() componentRef?: INavProps['componentRef'];
@Input() groups: INavProps["groups"];
@Input() selectedKey?: INavProps["selectedKey"];
@Input() expandedStateText?: INavProps["expandedStateText"];
@Input() collapsedStateText?: INavProps["collapsedStateText"];
@Input() isOnTop?: INavProps["isOnTop"];
@Input() initialSelectedKey?: INavProps["initialSelectedKey"];
@Input() ariaLabel?: INavProps["ariaLabel"];

203
package-lock.json сгенерированный
Просмотреть файл

@ -1575,9 +1575,9 @@
}
},
"@microsoft/load-themed-styles": {
"version": "1.9.19",
"resolved": "https://registry.npmjs.org/@microsoft/load-themed-styles/-/load-themed-styles-1.9.19.tgz",
"integrity": "sha512-t4jHLmQtL9ORfGlAXOAIBJlsCa9QfhNhTbL4TrnsbNJ55HS6SLUULbwvbJTwmw+D9WGuM8d+HpkkkpM5N3T6IA=="
"version": "1.10.33",
"resolved": "https://registry.npmjs.org/@microsoft/load-themed-styles/-/load-themed-styles-1.10.33.tgz",
"integrity": "sha512-6ke2PEMbjizIvqhSeb/K6iUStEJcfONndE1kfB46dstFYZ9jJmYgO6UHUZkA3VMufmjdI1z28bJKz3cMzmkZGw=="
},
"@ngrx/effects": {
"version": "8.0.1",
@ -2313,9 +2313,9 @@
"dev": true
},
"@types/prop-types": {
"version": "15.5.8",
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.5.8.tgz",
"integrity": "sha512-3AQoUxQcQtLHsK25wtTWIoIpgYjH3vSDroZOUr7PpCHw/jLY1RB9z9E8dBT/OSmwStVgkRNvdh+ZHNiomRieaw==",
"version": "15.7.3",
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",
"integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==",
"dev": true
},
"@types/q": {
@ -2325,9 +2325,9 @@
"dev": true
},
"@types/react": {
"version": "16.7.18",
"resolved": "https://registry.npmjs.org/@types/react/-/react-16.7.18.tgz",
"integrity": "sha512-Tx4uu3ppK53/iHk6VpamMP3f3ahfDLEVt3ZQc8TFm30a1H3v9lMsCntBREswZIW/SKrvJjkb3Hq8UwO6GREBng==",
"version": "16.8.25",
"resolved": "https://registry.npmjs.org/@types/react/-/react-16.8.25.tgz",
"integrity": "sha512-ydAAkLnNTC4oYSxJ3zwK/4QcVmEecACJ4ZdxXITbxz/dhahBSDKY6OQ1uawAW6rE/7kfHccxulYLSAIZVrSq0A==",
"dev": true,
"requires": {
"@types/prop-types": "*",
@ -2335,9 +2335,9 @@
}
},
"@types/react-dom": {
"version": "16.0.11",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.0.11.tgz",
"integrity": "sha512-x6zUx9/42B5Kl2Vl9HlopV8JF64wLpX3c+Pst9kc1HgzrsH+mkehe/zmHMQTplIrR48H2gpU7ZqurQolYu8XBA==",
"version": "16.9.4",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.9.4.tgz",
"integrity": "sha512-fya9xteU/n90tda0s+FtN5Ym4tbgxpq/hb/Af24dvs6uYnYn+fspaxw5USlw0R8apDNwxsqumdRoCoKitckQqw==",
"dev": true,
"requires": {
"@types/react": "*"
@ -2390,64 +2390,124 @@
}
},
"@uifabric/foundation": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/@uifabric/foundation/-/foundation-0.8.2.tgz",
"integrity": "sha512-OW6Hk872MLMCRQkuzDzw4R786IrMw1PJflyxOjVleiGNxNckdiZgLbwD5kujCj9cVLex9XydYXC3m2+y+4FcDw==",
"version": "7.5.2",
"resolved": "https://registry.npmjs.org/@uifabric/foundation/-/foundation-7.5.2.tgz",
"integrity": "sha512-TNDVWjVDV/UbGOMbCsRblDY6yciTL9GPMOT1b4Ibuul6ytUVLaUCRchdnMf+8JIUNBwZIDMMJWwDVpdwURqpvQ==",
"requires": {
"@uifabric/set-version": "^1.1.3",
"@uifabric/styling": "^6.50.3",
"@uifabric/utilities": "^6.41.6",
"tslib": "^1.7.1"
"@uifabric/merge-styles": "^7.8.2",
"@uifabric/set-version": "^7.0.3",
"@uifabric/styling": "^7.10.1",
"@uifabric/utilities": "^7.11.2",
"tslib": "^1.10.0"
},
"dependencies": {
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
}
}
},
"@uifabric/icons": {
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/@uifabric/icons/-/icons-6.5.4.tgz",
"integrity": "sha512-yR9FlXiR3QsY8hkFhdWgzQxBUxxIqarwI/CVfE0N/aNqqlcfDs8fMRKRgpa5ZpPEtnF9VOkrNzcUI6dE2UjXJA==",
"version": "7.3.1",
"resolved": "https://registry.npmjs.org/@uifabric/icons/-/icons-7.3.1.tgz",
"integrity": "sha512-Jb2KjC6s+nY75H7U8/i23iKRwYFS3cavTXVYDz69guwLEhWh0aZ1QZqbAbUfF+YikVabJQmT8YT0Pup8/VbeWA==",
"requires": {
"@uifabric/set-version": "^1.1.3",
"@uifabric/styling": "^6.50.3",
"tslib": "^1.7.1"
"@uifabric/set-version": "^7.0.3",
"@uifabric/styling": "^7.10.1",
"tslib": "^1.10.0"
},
"dependencies": {
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
}
}
},
"@uifabric/merge-styles": {
"version": "6.19.3",
"resolved": "https://registry.npmjs.org/@uifabric/merge-styles/-/merge-styles-6.19.3.tgz",
"integrity": "sha512-89JXEvl6bIQQqQLJ8T3fXcmKpvJfzqer/noFcAHHq/Gbo1wT8pixiDgUQm9vpTB7lpyjfSfw3PAh5Xt5UFFYOg==",
"version": "7.8.2",
"resolved": "https://registry.npmjs.org/@uifabric/merge-styles/-/merge-styles-7.8.2.tgz",
"integrity": "sha512-CiGZkOQegNdrXIaVvgd8pumeHLm3odSRE21rsrA7HiqdyF+fh6ArQ0RWsKTlJRIQklCUJjMkXaO54QIWNOlQyg==",
"requires": {
"@uifabric/set-version": "^1.1.3",
"tslib": "^1.7.1"
"@uifabric/set-version": "^7.0.3",
"tslib": "^1.10.0"
},
"dependencies": {
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
}
}
},
"@uifabric/react-hooks": {
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/@uifabric/react-hooks/-/react-hooks-7.0.2.tgz",
"integrity": "sha512-Ly2loVgrSJ3VYHvyOp6Q23aieOcX3w80Cf8t8+gXRZjLXgNh39omOhucD1nVnSlnUy+w88vDhr2aC1dCiw/o7w==",
"requires": {
"@uifabric/set-version": "^7.0.3",
"@uifabric/utilities": "^7.11.2",
"tslib": "^1.10.0"
},
"dependencies": {
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
}
}
},
"@uifabric/set-version": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@uifabric/set-version/-/set-version-1.1.3.tgz",
"integrity": "sha512-IYpwVIuN7MJOeiWzZzr9AmFSvA5zc6gJn4fNHtEFIQnNB8WVWIcYrvx8Tbf7wWj9MvhdHYp70F054zZlHbL/Ag==",
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/@uifabric/set-version/-/set-version-7.0.3.tgz",
"integrity": "sha512-03A68Fyfx3y75dUW9rjQ2fZv/9zmGgMeovVLAQa0wc/oVjQ++eVDlAEK0AjfgnOaujYmhk79lXbYAuW3n+YUXw==",
"requires": {
"tslib": "^1.7.1"
"tslib": "^1.10.0"
},
"dependencies": {
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
}
}
},
"@uifabric/styling": {
"version": "6.50.6",
"resolved": "https://registry.npmjs.org/@uifabric/styling/-/styling-6.50.6.tgz",
"integrity": "sha512-v5XfP9IJQPH4Rxn6aHo9hvFQK0BNneGWZoqTsUDvuBn+3JJITdPjYIh/jOjUrJk50p2i9L3iFs4ybtcrqtKPGg==",
"version": "7.10.1",
"resolved": "https://registry.npmjs.org/@uifabric/styling/-/styling-7.10.1.tgz",
"integrity": "sha512-/G0BbIS1tI1SEiUD4mNxfNXq6dLyff6Ey5YqeMGx6v1AyQ2dWBolhGSYK8l7XGlBQCNZ+gR+AV4M6+8gWOkAaw==",
"requires": {
"@microsoft/load-themed-styles": "^1.7.13",
"@uifabric/merge-styles": "^6.19.3",
"@uifabric/set-version": "^1.1.3",
"@uifabric/utilities": "^6.41.6",
"tslib": "^1.7.1"
"@microsoft/load-themed-styles": "^1.10.26",
"@uifabric/merge-styles": "^7.8.2",
"@uifabric/set-version": "^7.0.3",
"@uifabric/utilities": "^7.11.2",
"tslib": "^1.10.0"
},
"dependencies": {
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
}
}
},
"@uifabric/utilities": {
"version": "6.41.6",
"resolved": "https://registry.npmjs.org/@uifabric/utilities/-/utilities-6.41.6.tgz",
"integrity": "sha512-xD2/Jy8OMACZSyRoN3dwk3Ds9QcU4jkf9GDc5mJcSqCyYp3ShlO6ggx4u28OFB5qhsIljtzop31hTvL6PH23Cg==",
"version": "7.11.2",
"resolved": "https://registry.npmjs.org/@uifabric/utilities/-/utilities-7.11.2.tgz",
"integrity": "sha512-PZnBsV3fyS6FiqZlP7byBosRNvmiIg9B8TLRl0YVQYr4LDDpLE05HKYxLLrp7SepPX9sxOh5AXgwrgDPojAkpg==",
"requires": {
"@uifabric/merge-styles": "^6.19.3",
"@uifabric/set-version": "^1.1.3",
"@uifabric/merge-styles": "^7.8.2",
"@uifabric/set-version": "^7.0.3",
"prop-types": "^15.5.10",
"tslib": "^1.7.1"
"tslib": "^1.10.0"
},
"dependencies": {
"tslib": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
"integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
}
}
},
"@webassemblyjs/ast": {
@ -4743,9 +4803,9 @@
"dev": true
},
"csstype": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.0.tgz",
"integrity": "sha512-by8hi8BlLbowQq0qtkx54d9aN73R9oUW20HISpka5kmgsR9F7nnxgfsemuR2sdCKZh+CDNf5egW9UZMm4mgJRg==",
"version": "2.6.8",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.8.tgz",
"integrity": "sha512-msVS9qTuMT5zwAGCVm4mxfrZ18BNc6Csd0oJAtiFMZ1FAx1CCvy2+5MDmYoix63LM/6NDbNtodCiGYGmFgO0dA==",
"dev": true
},
"cuint": {
@ -9567,17 +9627,18 @@
"dev": true
},
"office-ui-fabric-react": {
"version": "6.201.1",
"resolved": "https://registry.npmjs.org/office-ui-fabric-react/-/office-ui-fabric-react-6.201.1.tgz",
"integrity": "sha512-sS6Xy5a/+VJRRJOdbcAG5dlPDlv9AFhl2pZOwMLDhHTs50fvNpnXW3vY7Z0xIf8jy/KW3/NFiN+aC5alOx7Siw==",
"version": "7.71.0",
"resolved": "https://registry.npmjs.org/office-ui-fabric-react/-/office-ui-fabric-react-7.71.0.tgz",
"integrity": "sha512-iW8fpZzeOnMK9kyyHlQnOlrf2woEVksP8okwQaSvkAOdfo0DvjVsEKv2IVY4NgPEdU+TugeT0Y/jQZFwkBadeg==",
"requires": {
"@microsoft/load-themed-styles": "^1.7.13",
"@uifabric/foundation": "^0.8.2",
"@uifabric/icons": "^6.5.4",
"@uifabric/merge-styles": "^6.19.3",
"@uifabric/set-version": "^1.1.3",
"@uifabric/styling": "^6.50.5",
"@uifabric/utilities": "^6.41.6",
"@uifabric/foundation": "^7.5.0",
"@uifabric/icons": "^7.3.0",
"@uifabric/merge-styles": "^7.8.1",
"@uifabric/react-hooks": "^7.0.1",
"@uifabric/set-version": "^7.0.2",
"@uifabric/styling": "^7.7.4",
"@uifabric/utilities": "^7.6.0",
"prop-types": "^15.5.10",
"tslib": "^1.7.1"
}
@ -10644,25 +10705,25 @@
}
},
"react": {
"version": "16.7.0",
"resolved": "https://registry.npmjs.org/react/-/react-16.7.0.tgz",
"integrity": "sha512-StCz3QY8lxTb5cl2HJxjwLFOXPIFQp+p+hxQfc8WE0QiLfCtIlKj8/+5tjjKm8uSTlAW+fCPaavGFS06V9Ar3A==",
"version": "16.8.6",
"resolved": "https://registry.npmjs.org/react/-/react-16.8.6.tgz",
"integrity": "sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"prop-types": "^15.6.2",
"scheduler": "^0.12.0"
"scheduler": "^0.13.6"
}
},
"react-dom": {
"version": "16.7.0",
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.7.0.tgz",
"integrity": "sha512-D0Ufv1ExCAmF38P2Uh1lwpminZFRXEINJe53zRAbm4KPwSyd6DY/uDoS0Blj9jvPpn1+wivKpZYc8aAAN/nAkg==",
"version": "16.8.6",
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.8.6.tgz",
"integrity": "sha512-1nL7PIq9LTL3fthPqwkvr2zY7phIPjYrT0jp4HjyEQrEROnw4dG41VVwi/wfoCneoleqrNX7iAD+pXebJZwrwA==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"prop-types": "^15.6.2",
"scheduler": "^0.12.0"
"scheduler": "^0.13.6"
}
},
"read-cache": {
@ -11292,9 +11353,9 @@
"dev": true
},
"scheduler": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.12.0.tgz",
"integrity": "sha512-t7MBR28Akcp4Jm+QoR63XgAi9YgCUmgvDHqf5otgAj4QvdoBE4ImCX0ffehefePPG+aitiYHp0g/mW6s4Tp+dw==",
"version": "0.13.6",
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.13.6.tgz",
"integrity": "sha512-IWnObHt413ucAYKsD9J1QShUKkbKLQQHdxRyw73sw4FN26iWr3DY/H34xGPe4nmL1DwXyWmSWmMrA9TfQbE/XQ==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1"

Просмотреть файл

@ -71,9 +71,9 @@
"@ngrx/store-devtools": "~8.0.1",
"core-js": "^2.5.4",
"ngrx-store-freeze": "^0.2.4",
"office-ui-fabric-react": "6.201.1",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"office-ui-fabric-react": "7.71.0",
"react": "~16.8.6",
"react-dom": "~16.8.6",
"rxjs": "6.5.2",
"semantic-ui-react": "^0.82.1",
"web-animations-js": "^2.3.1",
@ -94,8 +94,8 @@
"@types/jasmine": "~3.3.1",
"@types/jasminewd2": "~2.0.6",
"@types/node": "~10.12.9",
"@types/react": "~16.7.13",
"@types/react-dom": "^16.0.11",
"@types/react": "~16.8.25",
"@types/react-dom": "^16.8.5",
"@types/stylenames": "^1.1.0",
"classnames": "^2.2.6",
"codelyzer": "~5.1.0",