Add repository property to our package.json files (#1280)
* Add repository property to all package.json files * Change files * Manually modufy change files * Manually modufy change files
This commit is contained in:
Родитель
90d041b676
Коммит
f4a5b4f5c9
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "apps/android"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/experimental-drawer": "*",
|
||||
"@fluentui-react-native/tester": "^0.50.9",
|
||||
|
|
|
@ -25,6 +25,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "apps/fluent-tester"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/android-theme": ">=0.5.1 <1.0.0",
|
||||
"@fluentui-react-native/apple-theme": ">=0.9.3 <1.0.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "apps/ios"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/tester": "^0.50.9",
|
||||
"@react-native-community/slider": "^4.1.12",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier-fix": "fluentui-scripts prettier --fix true",
|
||||
"e2etest": "wdio"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "apps/macos"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/tester": "^0.50.9",
|
||||
"react": "17.0.1",
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "apps/web"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
},
|
||||
|
|
|
@ -27,6 +27,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "apps/win32"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/tester": "^0.50.9",
|
||||
"react": "17.0.1",
|
||||
|
|
|
@ -16,6 +16,11 @@
|
|||
"prewindows": "install-windows-test-app --use-nuget",
|
||||
"windows": "react-native run-windows --sln windows/FluentTester.sln"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "apps/windows"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/tester": "^0.50.9",
|
||||
"react": "17.0.1",
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/adapters",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/android-theme",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/apple-theme",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/button",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/callout",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/checkbox",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/component-cache",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/composition",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/contextual-menu",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/default-theme",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-activity-indicator",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-avatar",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-button",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-checkbox",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-drawer",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-expander",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-menu-button",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-native-date-picker",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-shimmer",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-tabs",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/experimental-text",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/focus-trap-zone",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/focus-zone",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/framework",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "minor",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/icon",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/immutable-merge",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/interactive-hooks",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/link",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/memo-cache",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/menu-button",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/merge-props",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/persona",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/persona-coin",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/pressable",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/radio-group",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/separator",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/stack",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/styling-utils",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/tabs",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/tester",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/tester-win32",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/text",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/theme",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/theme-tokens",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/theme-types",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/themed-stylesheet",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/theming-utils",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/tokens",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/use-slot",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/use-slots",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/use-styling",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/use-tokens",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@fluentui-react-native/win32-theme",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@uifabricshared/foundation-composable",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@uifabricshared/foundation-compose",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@uifabricshared/foundation-settings",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@uifabricshared/foundation-tokens",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@uifabricshared/theme-registry",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@uifabricshared/themed-settings",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@uifabricshared/theming-ramp",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Add repository property to all package.json files",
|
||||
"packageName": "@uifabricshared/theming-react-native",
|
||||
"email": "ruaraki@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -7,6 +7,11 @@
|
|||
"start": "next start",
|
||||
"build": "next build && echo"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "docs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdx-js/loader": "^1.5.5",
|
||||
"@mdx-js/mdx": "^1.5.5",
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
# Migrating from old to new customize
|
||||
|
||||
The customize API off our components allows clients to add additional styling or supply new slot props in order for them to meet their needs. In moving components from the old to new framework, the customize API usage changes slightly. This guide will describe how to move from the old to new customize API for our refreshed components.
|
||||
|
||||
## Old customize
|
||||
|
||||
The old customize API takes in an argument of type `IDefineComposeSettings<TSlotProps, TTokens>`. This allows the object passed in to have each of the base component's slot prop builders (i.e. `root`), `tokens`, `_overrides` (which define how new states create differences in component styling) and `_precedence` (which defines the ordering of how states are applied) properties customized.
|
||||
|
||||
This example is taken from our checkbox component:
|
||||
|
||||
```jsx
|
||||
const CircleColorCheckbox = Checkbox.customize({
|
||||
tokens: { borderRadius: 50, checkboxBackgroundColor: 'white' },
|
||||
_overrides: {
|
||||
checked: {
|
||||
tokens: {
|
||||
checkboxBackgroundColor: 'green',
|
||||
checkboxBorderColor: 'green',
|
||||
checkmarkColor: 'white',
|
||||
},
|
||||
},
|
||||
focused: { tokens: { checkboxBackgroundColor: 'menuItemBackgroundHovered' } },
|
||||
hovered: { tokens: { checkboxBackgroundColor: 'menuItemBackgroundHovered' } },
|
||||
pressed: { tokens: { checkboxBackgroundColor: 'menuItemBackgroundPressed' } },
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
## New customize
|
||||
|
||||
The new customize API takes in an argument of type `TokenSettings<TTokens, TTheme>[]`. This allows the object passed in to have each of the base component's `tokens` customized. The object passed in can be an array, and you can pass in a function which takes a theme and creates an object of type `TTokens` (actual type depends on the base component). Notably this does not allow for slot props builders to be modified, a difference from the old customize API.
|
||||
|
||||
This example is taken from our checkbox component:
|
||||
|
||||
```jsx
|
||||
const CircleColorCheckbox = Checkbox.customize({
|
||||
borderRadius: 50,
|
||||
checkboxBackgroundColor: 'white',
|
||||
checked: {
|
||||
checkboxBackgroundColor: 'green',
|
||||
checkboxBorderColor: 'green',
|
||||
checkmarkColor: 'white',
|
||||
},
|
||||
focused: { checkboxBackgroundColor: 'menuItemBackgroundHovered' },
|
||||
hovered: { checkboxBackgroundColor: 'menuItemBackgroundHovered' },
|
||||
pressed: { checkboxBackgroundColor: 'menuItemBackgroundPressed' },
|
||||
});
|
||||
```
|
||||
|
||||
## Moving from old to new
|
||||
|
||||
### No `tokens` property
|
||||
|
||||
All tokens that were previously under `tokens` are now at the top level of the object passed into `customize()`
|
||||
|
||||
### No `_overrides` property
|
||||
|
||||
All states that were previously under `_overrides` are now at the top level of the object passed into `customize()`
|
||||
|
||||
### No `_precedence` property
|
||||
|
||||
There is no equivalent for `_precedence` in the new customize API. Instead, you can change the token entries when the right combination os states is applied.
|
||||
|
||||
### No slot props as properties
|
||||
|
||||
There is no equivalent for passing in new slot prop building functions in the new customize API.
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/Button"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uifabricshared/foundation-compose": "^1.11.3",
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
|
|
|
@ -23,6 +23,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/Callout"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/adapters": "^0.8.1",
|
||||
"@fluentui-react-native/component-cache": "^1.3.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/Checkbox"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uifabricshared/foundation-compose": "^1.11.3",
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
|
|
|
@ -23,6 +23,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/ContextualMenu"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/adapters": "^0.8.1",
|
||||
"@fluentui-react-native/callout": ">=0.19.8 <1.0.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/FocusTrapZone"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
"@fluentui-react-native/component-cache": "^1.3.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/FocusZone"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/component-cache": "^1.3.0",
|
||||
"@fluentui-react-native/interactive-hooks": ">=0.11.6 <1.0.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/Link"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uifabricshared/foundation-compose": "^1.11.3",
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
|
|
|
@ -23,6 +23,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/MenuButton"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/button": "^0.21.6",
|
||||
"@fluentui-react-native/component-cache": "^1.3.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/Persona"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uifabricshared/foundation-compose": "^1.11.3",
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/PersonaCoin"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uifabricshared/foundation-compose": "^1.11.3",
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/Pressable"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
"@fluentui-react-native/interactive-hooks": ">=0.11.6 <1.0.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/RadioGroup"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uifabricshared/foundation-compose": "^1.11.3",
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/Separator"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/framework": ">=0.7.5 <1.0.0"
|
||||
},
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/Stack"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uifabricshared/foundation-compose": "^1.11.3",
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
|
|
|
@ -22,6 +22,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/Tabs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
"@fluentui-react-native/focus-zone": ">=0.8.6 <1.0.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/components/text"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uifabricshared/foundation-compose": "^1.11.3",
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "Composable component building blocks",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/ui-fabric-react-native"
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/deprecated/foundation-composable"
|
||||
},
|
||||
"module": "src/index.ts",
|
||||
"main": "src/index.ts",
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "Compose infrastructure",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/ui-fabric-react-native"
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/deprecated/foundation-compose"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"module": "src/index.ts",
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "Settings and style definitions and helpers",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/ui-fabric-react-native"
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/deprecated/foundation-settings"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"module": "src/index.ts",
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "Core tokens package",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/ui-fabric-react-native"
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/deprecated/foundation-tokens"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"module": "src/index.ts",
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "Implementation of the theme graph",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/ui-fabric-react-native"
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/deprecated/theme-registry"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"module": "src/index.ts",
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "Package which drives custom cacheable settings for a component",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/ui-fabric-react-native"
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/deprecated/themed-settings"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"module": "src/index.ts",
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "Theming Library",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/just"
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/deprecated/theming-ramp"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"module": "src/index.ts",
|
||||
|
|
|
@ -24,6 +24,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/deprecated/theming-react-native"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/experimental/ActivityIndicator"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/framework": "0.7.5",
|
||||
"assert-never": "^1.2.1",
|
||||
|
|
|
@ -23,6 +23,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/experimental/Avatar"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/adapters": "^0.8.1",
|
||||
"@fluentui-react-native/component-cache": "^1.3.0",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/experimental/Button"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/adapters": "^0.8.1",
|
||||
"@fluentui-react-native/experimental-activity-indicator": "^0.5.4",
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
"prettier": "fluentui-scripts prettier",
|
||||
"prettier-fix": "fluentui-scripts prettier --fix true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/experimental/Checkbox"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/adapters": ">=0.8.1 <1.0.0",
|
||||
"@fluentui-react-native/experimental-text": ">=0.7.5 <1.0.0",
|
||||
|
|
|
@ -25,6 +25,11 @@
|
|||
"@fluentui-react-native/framework": "0.7.5",
|
||||
"tslib": "^2.3.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/experimental/Drawer"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
||||
"@types/react-native": "^0.64.0",
|
||||
|
|
|
@ -24,6 +24,11 @@
|
|||
"update-api": "fluentui-scripts update-api-extractor",
|
||||
"windows": "react-native run-windows"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
||||
"directory": "packages/experimental/Expander"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui-react-native/component-cache": "^1.3.0",
|
||||
"@fluentui-react-native/framework": "0.7.5"
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче