@fluentui-copilot/react-attachments 0.9.2 → 0.9.4

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.
Files changed (74) hide show
  1. package/CHANGELOG.json +31 -1
  2. package/CHANGELOG.md +20 -2
  3. package/dist/index.d.ts +37 -8
  4. package/lib/components/Attachment/Attachment.types.js.map +1 -1
  5. package/lib/components/Attachment/renderAttachment.js +11 -3
  6. package/lib/components/Attachment/renderAttachment.js.map +1 -1
  7. package/lib/components/Attachment/useAttachment.js +32 -8
  8. package/lib/components/Attachment/useAttachment.js.map +1 -1
  9. package/lib/components/Attachment/useAttachmentStyles.js +29 -4
  10. package/lib/components/Attachment/useAttachmentStyles.js.map +1 -1
  11. package/lib/components/AttachmentList/AttachmentList.types.js.map +1 -1
  12. package/lib/components/AttachmentList/renderAttachmentList.js +30 -3
  13. package/lib/components/AttachmentList/renderAttachmentList.js.map +1 -1
  14. package/lib/components/AttachmentList/useAttachmentList.js +79 -11
  15. package/lib/components/AttachmentList/useAttachmentList.js.map +1 -1
  16. package/lib/components/AttachmentList/useAttachmentListContextValues.js +4 -2
  17. package/lib/components/AttachmentList/useAttachmentListContextValues.js.map +1 -1
  18. package/lib/components/AttachmentList/useAttachmentListStyles.js +9 -1
  19. package/lib/components/AttachmentList/useAttachmentListStyles.js.map +1 -1
  20. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +1 -1
  21. package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +1 -1
  22. package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +1 -1
  23. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +23 -3
  24. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +1 -1
  25. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js +23 -5
  26. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js.map +1 -1
  27. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +1 -1
  28. package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +4 -2
  29. package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +1 -1
  30. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +32 -9
  31. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +1 -1
  32. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js +21 -5
  33. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js.map +1 -1
  34. package/lib/components/utils/useProgressBarStyles.js +54 -0
  35. package/lib/components/utils/useProgressBarStyles.js.map +1 -0
  36. package/lib/contexts/attachmentListContext.js +2 -1
  37. package/lib/contexts/attachmentListContext.js.map +1 -1
  38. package/lib/index.js.map +1 -1
  39. package/lib-commonjs/components/Attachment/Attachment.types.js.map +1 -1
  40. package/lib-commonjs/components/Attachment/renderAttachment.js +8 -2
  41. package/lib-commonjs/components/Attachment/renderAttachment.js.map +1 -1
  42. package/lib-commonjs/components/Attachment/useAttachment.js +28 -8
  43. package/lib-commonjs/components/Attachment/useAttachment.js.map +1 -1
  44. package/lib-commonjs/components/Attachment/useAttachmentStyles.js +34 -4
  45. package/lib-commonjs/components/Attachment/useAttachmentStyles.js.map +1 -1
  46. package/lib-commonjs/components/AttachmentList/AttachmentList.types.js.map +1 -1
  47. package/lib-commonjs/components/AttachmentList/renderAttachmentList.js +29 -1
  48. package/lib-commonjs/components/AttachmentList/renderAttachmentList.js.map +1 -1
  49. package/lib-commonjs/components/AttachmentList/useAttachmentList.js +80 -10
  50. package/lib-commonjs/components/AttachmentList/useAttachmentList.js.map +1 -1
  51. package/lib-commonjs/components/AttachmentList/useAttachmentListContextValues.js +3 -2
  52. package/lib-commonjs/components/AttachmentList/useAttachmentListContextValues.js.map +1 -1
  53. package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.js +9 -1
  54. package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.js.map +1 -1
  55. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +1 -1
  56. package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +2 -3
  57. package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +1 -1
  58. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +19 -2
  59. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +1 -1
  60. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js +24 -6
  61. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js.map +1 -1
  62. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +1 -1
  63. package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +6 -1
  64. package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +1 -1
  65. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +29 -8
  66. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +1 -1
  67. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js +20 -4
  68. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js.map +1 -1
  69. package/lib-commonjs/components/utils/useProgressBarStyles.js +103 -0
  70. package/lib-commonjs/components/utils/useProgressBarStyles.js.map +1 -0
  71. package/lib-commonjs/contexts/attachmentListContext.js +2 -1
  72. package/lib-commonjs/contexts/attachmentListContext.js.map +1 -1
  73. package/lib-commonjs/index.js.map +1 -1
  74. package/package.json +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-copilot/react-attachments",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "A set of components related to attaching files in Copilot experiences.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -13,6 +13,7 @@
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
15
  "@fluentui-copilot/react-provider": "^0.8.2",
16
+ "@fluentui-copilot/tokens": "^0.3.2",
16
17
  "@swc/helpers": "^0.5.1"
17
18
  },
18
19
  "peerDependencies": {
@@ -23,6 +24,7 @@
23
24
  "@fluentui/react-jsx-runtime": ">=9.0.37 <10.0.0",
24
25
  "@fluentui/react-overflow": ">=9.1.18 <10.0.0",
25
26
  "@fluentui/react-shared-contexts": ">=9.18.0 <10.0.0",
27
+ "@fluentui/react-utilities": ">=9.18.8 <10.0.0",
26
28
  "@types/react": ">=16.14.0 <19.0.0",
27
29
  "@types/react-dom": ">=16.9.8 <19.0.0",
28
30
  "react": ">=16.14.0 <19.0.0",