@devsym/graph-toolkit-react 1.0.0-next.11 → 1.0.0-next.14
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/AGENTS.md +6 -0
- package/dist/components/People/People.d.ts.map +1 -1
- package/dist/components/People/People.types.d.ts +33 -0
- package/dist/components/People/People.types.d.ts.map +1 -1
- package/dist/components/People/index.d.ts +1 -1
- package/dist/components/People/index.d.ts.map +1 -1
- package/dist/components/PeoplePicker/PeoplePicker.d.ts.map +1 -1
- package/dist/components/PeoplePicker/PeoplePicker.types.d.ts +35 -0
- package/dist/components/PeoplePicker/PeoplePicker.types.d.ts.map +1 -1
- package/dist/components/PeoplePicker/index.d.ts +1 -1
- package/dist/components/PeoplePicker/index.d.ts.map +1 -1
- package/dist/components/Person/Person.d.ts.map +1 -1
- package/dist/components/Person/Person.types.d.ts +33 -0
- package/dist/components/Person/Person.types.d.ts.map +1 -1
- package/dist/components/Person/index.d.ts +1 -1
- package/dist/components/Person/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +1505 -1557
- package/package.json +11 -11
- package/readme.md +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devsym/graph-toolkit-react",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.14",
|
|
4
4
|
"description": "React components for Microsoft Graph powered by Fluent UI",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -72,31 +72,31 @@
|
|
|
72
72
|
"@azure/msal-browser": "^5.2.0",
|
|
73
73
|
"@changesets/cli": "^2.29.7",
|
|
74
74
|
"@fluentui/react-components": "^9.72.6",
|
|
75
|
-
"@storybook/addon-a11y": "^10.
|
|
76
|
-
"@storybook/addon-docs": "^10.
|
|
77
|
-
"@storybook/addon-links": "^10.
|
|
78
|
-
"@storybook/react-vite": "^10.
|
|
75
|
+
"@storybook/addon-a11y": "^10.3.4",
|
|
76
|
+
"@storybook/addon-docs": "^10.3.4",
|
|
77
|
+
"@storybook/addon-links": "^10.3.4",
|
|
78
|
+
"@storybook/react-vite": "^10.3.4",
|
|
79
79
|
"@testing-library/dom": "^10.4.1",
|
|
80
80
|
"@testing-library/react": "^16.3.0",
|
|
81
81
|
"@types/react": "^18.2.0",
|
|
82
82
|
"@types/react-dom": "^18.2.0",
|
|
83
83
|
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
84
84
|
"@typescript-eslint/parser": "^8.46.3",
|
|
85
|
-
"@vitejs/plugin-react": "^
|
|
85
|
+
"@vitejs/plugin-react": "^6.0.0",
|
|
86
86
|
"eslint": "^9.39.1",
|
|
87
87
|
"eslint-config-prettier": "^10.1.8",
|
|
88
88
|
"eslint-plugin-react": "^7.33.2",
|
|
89
89
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
90
|
-
"eslint-plugin-storybook": "^10.
|
|
90
|
+
"eslint-plugin-storybook": "^10.3.4",
|
|
91
91
|
"globals": "^17.3.0",
|
|
92
|
-
"jsdom": "^
|
|
92
|
+
"jsdom": "^29.0.2",
|
|
93
93
|
"prettier": "^3.2.5",
|
|
94
94
|
"react": "^18.2.0",
|
|
95
95
|
"react-dom": "^18.2.0",
|
|
96
|
-
"storybook": "^10.
|
|
96
|
+
"storybook": "^10.3.4",
|
|
97
97
|
"typescript": "^5.9.3",
|
|
98
|
-
"vite": "^
|
|
98
|
+
"vite": "^8.0.5",
|
|
99
99
|
"vite-plugin-dts": "^4.5.4",
|
|
100
|
-
"vitest": "^4.
|
|
100
|
+
"vitest": "^4.1.2"
|
|
101
101
|
}
|
|
102
102
|
}
|
package/readme.md
CHANGED
|
@@ -99,6 +99,8 @@ import { Person } from '@devsym/graph-toolkit-react';
|
|
|
99
99
|
|
|
100
100
|
`Person` supports Fluent UI Persona props directly.
|
|
101
101
|
|
|
102
|
+
`Person`, `People`, and `PeoplePicker` also expose an `onUpdated` callback so apps can react to direct data changes, resolved content loads, and picker state updates with trigger metadata.
|
|
103
|
+
|
|
102
104
|
MGT-style line customization is also supported:
|
|
103
105
|
|
|
104
106
|
```tsx
|
|
@@ -427,7 +429,7 @@ This **community-driven project** provides React developers with components for
|
|
|
427
429
|
1. Follow the existing code style (TypeScript, ESLint, Prettier)
|
|
428
430
|
2. Use Fluent UI components whenever possible
|
|
429
431
|
3. Write tests for new components
|
|
430
|
-
4. Add Storybook stories demonstrating all component features
|
|
432
|
+
4. Add Storybook stories demonstrating all component features through a component-level autodocs page (`tags: ['autodocs']`)
|
|
431
433
|
5. Update documentation
|
|
432
434
|
|
|
433
435
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
|