@fluentui-copilot/react-attachments 0.8.2 → 0.9.0

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 (164) hide show
  1. package/CHANGELOG.json +63 -1
  2. package/CHANGELOG.md +28 -2
  3. package/dist/index.d.ts +220 -5
  4. package/lib/AttachmentList.js +2 -0
  5. package/lib/AttachmentList.js.map +1 -0
  6. package/lib/AttachmentOverflowMenu.js +2 -0
  7. package/lib/AttachmentOverflowMenu.js.map +1 -0
  8. package/lib/AttachmentOverflowMenuButton.js +2 -0
  9. package/lib/AttachmentOverflowMenuButton.js.map +1 -0
  10. package/lib/AttachmentOverflowMenuItem.js +2 -0
  11. package/lib/AttachmentOverflowMenuItem.js.map +1 -0
  12. package/lib/components/Attachment/Attachment.types.js.map +1 -1
  13. package/lib/components/Attachment/useAttachment.js +6 -8
  14. package/lib/components/Attachment/useAttachment.js.map +1 -1
  15. package/lib/components/Attachment/useAttachmentStyles.js +2 -2
  16. package/lib/components/Attachment/useAttachmentStyles.js.map +1 -1
  17. package/lib/components/AttachmentList/AttachmentList.js +13 -0
  18. package/lib/components/AttachmentList/AttachmentList.js.map +1 -0
  19. package/lib/components/AttachmentList/AttachmentList.types.js +2 -0
  20. package/lib/components/AttachmentList/AttachmentList.types.js.map +1 -0
  21. package/lib/components/AttachmentList/index.js +6 -0
  22. package/lib/components/AttachmentList/index.js.map +1 -0
  23. package/lib/components/AttachmentList/renderAttachmentList.js +14 -0
  24. package/lib/components/AttachmentList/renderAttachmentList.js.map +1 -0
  25. package/lib/components/AttachmentList/useAttachmentList.js +74 -0
  26. package/lib/components/AttachmentList/useAttachmentList.js.map +1 -0
  27. package/lib/components/AttachmentList/useAttachmentListContextValues.js +13 -0
  28. package/lib/components/AttachmentList/useAttachmentListContextValues.js.map +1 -0
  29. package/lib/components/AttachmentList/useAttachmentListStyles.js +14 -0
  30. package/lib/components/AttachmentList/useAttachmentListStyles.js.map +1 -0
  31. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js +15 -0
  32. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +1 -0
  33. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js +2 -0
  34. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +1 -0
  35. package/lib/components/AttachmentOverflowMenu/index.js +6 -0
  36. package/lib/components/AttachmentOverflowMenu/index.js.map +1 -0
  37. package/lib/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js +18 -0
  38. package/lib/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +1 -0
  39. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js +24 -0
  40. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +1 -0
  41. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js +17 -0
  42. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +1 -0
  43. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js +11 -0
  44. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +1 -0
  45. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +2 -0
  46. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +1 -0
  47. package/lib/components/AttachmentOverflowMenuButton/index.js +6 -0
  48. package/lib/components/AttachmentOverflowMenuButton/index.js.map +1 -0
  49. package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +14 -0
  50. package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +1 -0
  51. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +32 -0
  52. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +1 -0
  53. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js +17 -0
  54. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js.map +1 -0
  55. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js +11 -0
  56. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +1 -0
  57. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +2 -0
  58. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +1 -0
  59. package/lib/components/AttachmentOverflowMenuItem/index.js +6 -0
  60. package/lib/components/AttachmentOverflowMenuItem/index.js.map +1 -0
  61. package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +10 -0
  62. package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +1 -0
  63. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +41 -0
  64. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +1 -0
  65. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js +14 -0
  66. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js.map +1 -0
  67. package/lib/components/AttachmentTag/AttachmentTag.js +4 -1
  68. package/lib/components/AttachmentTag/AttachmentTag.js.map +1 -1
  69. package/lib/components/AttachmentTag/useAttachmentTag.js.map +1 -1
  70. package/lib/components/AttachmentTagItem/AttachmentTagItem.js +4 -0
  71. package/lib/components/AttachmentTagItem/AttachmentTagItem.js.map +1 -1
  72. package/lib/components/AttachmentTagItem/useAttachmentTagItem.js.map +1 -1
  73. package/lib/components/AttachmentTagList/AttachmentTagList.js +4 -1
  74. package/lib/components/AttachmentTagList/AttachmentTagList.js.map +1 -1
  75. package/lib/components/AttachmentTagList/useAttachmentTagList.js +2 -2
  76. package/lib/components/AttachmentTagList/useAttachmentTagList.js.map +1 -1
  77. package/lib/components/index.js +5 -0
  78. package/lib/components/index.js.map +1 -1
  79. package/lib/components/utils/useAttachmentTagSlots.js +2 -2
  80. package/lib/components/utils/useAttachmentTagSlots.js.map +1 -1
  81. package/lib/contexts/attachmentListContext.js +8 -0
  82. package/lib/contexts/attachmentListContext.js.map +1 -0
  83. package/lib/contexts/attachmentOverflowMenuContext.js +10 -0
  84. package/lib/contexts/attachmentOverflowMenuContext.js.map +1 -0
  85. package/lib/index.js +6 -0
  86. package/lib/index.js.map +1 -1
  87. package/lib-commonjs/AttachmentList.js +7 -0
  88. package/lib-commonjs/AttachmentList.js.map +1 -0
  89. package/lib-commonjs/AttachmentOverflowMenu.js +7 -0
  90. package/lib-commonjs/AttachmentOverflowMenu.js.map +1 -0
  91. package/lib-commonjs/AttachmentOverflowMenuButton.js +7 -0
  92. package/lib-commonjs/AttachmentOverflowMenuButton.js.map +1 -0
  93. package/lib-commonjs/AttachmentOverflowMenuItem.js +7 -0
  94. package/lib-commonjs/AttachmentOverflowMenuItem.js.map +1 -0
  95. package/lib-commonjs/components/Attachment/useAttachment.js +5 -7
  96. package/lib-commonjs/components/Attachment/useAttachment.js.map +1 -1
  97. package/lib-commonjs/components/Attachment/useAttachmentStyles.js +4 -4
  98. package/lib-commonjs/components/Attachment/useAttachmentStyles.js.map +1 -1
  99. package/lib-commonjs/components/AttachmentList/AttachmentList.js +23 -0
  100. package/lib-commonjs/components/AttachmentList/AttachmentList.js.map +1 -0
  101. package/lib-commonjs/components/AttachmentList/AttachmentList.types.js +5 -0
  102. package/lib-commonjs/components/AttachmentList/AttachmentList.types.js.map +1 -0
  103. package/lib-commonjs/components/AttachmentList/index.js +11 -0
  104. package/lib-commonjs/components/AttachmentList/index.js.map +1 -0
  105. package/lib-commonjs/components/AttachmentList/renderAttachmentList.js +20 -0
  106. package/lib-commonjs/components/AttachmentList/renderAttachmentList.js.map +1 -0
  107. package/lib-commonjs/components/AttachmentList/useAttachmentList.js +68 -0
  108. package/lib-commonjs/components/AttachmentList/useAttachmentList.js.map +1 -0
  109. package/lib-commonjs/components/AttachmentList/useAttachmentListContextValues.js +20 -0
  110. package/lib-commonjs/components/AttachmentList/useAttachmentListContextValues.js.map +1 -0
  111. package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.js +30 -0
  112. package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.js.map +1 -0
  113. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js +24 -0
  114. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +1 -0
  115. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js +5 -0
  116. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +1 -0
  117. package/lib-commonjs/components/AttachmentOverflowMenu/index.js +11 -0
  118. package/lib-commonjs/components/AttachmentOverflowMenu/index.js.map +1 -0
  119. package/lib-commonjs/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js +21 -0
  120. package/lib-commonjs/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +1 -0
  121. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js +21 -0
  122. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +1 -0
  123. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js +22 -0
  124. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +1 -0
  125. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js +21 -0
  126. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +1 -0
  127. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +5 -0
  128. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +1 -0
  129. package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js +11 -0
  130. package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js.map +1 -0
  131. package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +24 -0
  132. package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +1 -0
  133. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +28 -0
  134. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +1 -0
  135. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js +37 -0
  136. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js.map +1 -0
  137. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js +21 -0
  138. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +1 -0
  139. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +5 -0
  140. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +1 -0
  141. package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js +11 -0
  142. package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js.map +1 -0
  143. package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +16 -0
  144. package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +1 -0
  145. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +39 -0
  146. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +1 -0
  147. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js +28 -0
  148. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js.map +1 -0
  149. package/lib-commonjs/components/AttachmentTag/AttachmentTag.js.map +1 -1
  150. package/lib-commonjs/components/AttachmentTagItem/AttachmentTagItem.js.map +1 -1
  151. package/lib-commonjs/components/AttachmentTagList/AttachmentTagList.js.map +1 -1
  152. package/lib-commonjs/components/AttachmentTagList/useAttachmentTagList.js +1 -1
  153. package/lib-commonjs/components/AttachmentTagList/useAttachmentTagList.js.map +1 -1
  154. package/lib-commonjs/components/index.js +5 -0
  155. package/lib-commonjs/components/index.js.map +1 -1
  156. package/lib-commonjs/components/utils/useAttachmentTagSlots.js +1 -1
  157. package/lib-commonjs/components/utils/useAttachmentTagSlots.js.map +1 -1
  158. package/lib-commonjs/contexts/attachmentListContext.js +28 -0
  159. package/lib-commonjs/contexts/attachmentListContext.js.map +1 -0
  160. package/lib-commonjs/contexts/attachmentOverflowMenuContext.js +30 -0
  161. package/lib-commonjs/contexts/attachmentOverflowMenuContext.js.map +1 -0
  162. package/lib-commonjs/index.js +78 -0
  163. package/lib-commonjs/index.js.map +1 -1
  164. package/package.json +2 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["useAttachmentTagList.js"],"sourcesContent":["import { getNativeElementProps, slot, useArrowNavigationGroup } from '@fluentui/react-components';\n/**\n * Create the state required to render AttachmentTagList.\n *\n * The returned state can be modified with hooks such as useAttachmentTagListStyles_unstable,\n * before being passed to renderAttachmentTagList_unstable.\n *\n * @param props - props from this instance of AttachmentTagList\n * @param ref - reference to root HTMLElement of AttachmentTagList\n */\nexport const useAttachmentTagList_unstable = (props, ref) => {\n const {\n onAttachmentTagDismiss\n } = props;\n const focusAttributes = useArrowNavigationGroup({\n axis: 'both',\n circular: true\n });\n return {\n onAttachmentTagDismiss,\n components: {\n root: 'div'\n },\n root: slot.always(getNativeElementProps('div', {\n 'aria-label': 'Attachments',\n ref,\n role: 'menu',\n ...focusAttributes,\n ...props\n }), {\n elementType: 'div'\n })\n };\n};\n//# sourceMappingURL=useAttachmentTagList.js.map"],"names":["useAttachmentTagList_unstable","props","ref","onAttachmentTagDismiss","focusAttributes","useArrowNavigationGroup","axis","circular","components","root","slot","always","getNativeElementProps","role","elementType"],"mappings":";;;;+BAUaA;;;eAAAA;;;iCAVwD;AAU9D,MAAMA,gCAAgC,CAACC,OAAOC;IACnD,MAAM,EACJC,sBAAsB,EACvB,GAAGF;IACJ,MAAMG,kBAAkBC,IAAAA,wCAAuB,EAAC;QAC9CC,MAAM;QACNC,UAAU;IACZ;IACA,OAAO;QACLJ;QACAK,YAAY;YACVC,MAAM;QACR;QACAA,MAAMC,qBAAI,CAACC,MAAM,CAACC,IAAAA,sCAAqB,EAAC,OAAO;YAC7C,cAAc;YACdV;YACAW,MAAM;YACN,GAAGT,eAAe;YAClB,GAAGH,KAAK;QACV,IAAI;YACFa,aAAa;QACf;IACF;AACF,GACA,gDAAgD"}
1
+ {"version":3,"sources":["useAttachmentTagList.js"],"sourcesContent":["import { getIntrinsicElementProps, slot, useArrowNavigationGroup } from '@fluentui/react-components';\n/**\n * Create the state required to render AttachmentTagList.\n *\n * The returned state can be modified with hooks such as useAttachmentTagListStyles_unstable,\n * before being passed to renderAttachmentTagList_unstable.\n *\n * @param props - props from this instance of AttachmentTagList\n * @param ref - reference to root HTMLElement of AttachmentTagList\n */\nexport const useAttachmentTagList_unstable = (props, ref) => {\n const {\n onAttachmentTagDismiss\n } = props;\n const focusAttributes = useArrowNavigationGroup({\n axis: 'both',\n circular: true\n });\n return {\n onAttachmentTagDismiss,\n components: {\n root: 'div'\n },\n root: slot.always(getIntrinsicElementProps('div', {\n 'aria-label': 'Attachments',\n ref,\n role: 'menu',\n ...focusAttributes,\n ...props\n }), {\n elementType: 'div'\n })\n };\n};\n//# sourceMappingURL=useAttachmentTagList.js.map"],"names":["useAttachmentTagList_unstable","props","ref","onAttachmentTagDismiss","focusAttributes","useArrowNavigationGroup","axis","circular","components","root","slot","always","getIntrinsicElementProps","role","elementType"],"mappings":";;;;+BAUaA;;;eAAAA;;;iCAV2D;AAUjE,MAAMA,gCAAgC,CAACC,OAAOC;IACnD,MAAM,EACJC,sBAAsB,EACvB,GAAGF;IACJ,MAAMG,kBAAkBC,IAAAA,wCAAuB,EAAC;QAC9CC,MAAM;QACNC,UAAU;IACZ;IACA,OAAO;QACLJ;QACAK,YAAY;YACVC,MAAM;QACR;QACAA,MAAMC,qBAAI,CAACC,MAAM,CAACC,IAAAA,yCAAwB,EAAC,OAAO;YAChD,cAAc;YACdV;YACAW,MAAM;YACN,GAAGT,eAAe;YAClB,GAAGH,KAAK;QACV,IAAI;YACFa,aAAa;QACf;IACF;AACF,GACA,gDAAgD"}
@@ -6,4 +6,9 @@ const _export_star = require("@swc/helpers/_/_export_star");
6
6
  _export_star._(require("./AttachmentTag"), exports);
7
7
  _export_star._(require("./AttachmentTagList"), exports);
8
8
  _export_star._(require("./AttachmentTagItem"), exports);
9
+ _export_star._(require("./Attachment"), exports);
10
+ _export_star._(require("./AttachmentList"), exports);
11
+ _export_star._(require("./AttachmentOverflowMenu"), exports);
12
+ _export_star._(require("./AttachmentOverflowMenuButton"), exports);
13
+ _export_star._(require("./AttachmentOverflowMenuItem"), exports);
9
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './AttachmentTag';\nexport * from './AttachmentTagList';\nexport * from './AttachmentTagItem';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA;CACd,iCAAiC"}
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export * from './AttachmentTag';\nexport * from './AttachmentTagList';\nexport * from './AttachmentTagItem';\nexport * from './Attachment';\nexport * from './AttachmentList';\nexport * from './AttachmentOverflowMenu';\nexport * from './AttachmentOverflowMenuButton';\nexport * from './AttachmentOverflowMenuItem';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;CACd,iCAAiC"}
@@ -21,7 +21,7 @@ function useAttachmentTagSlots(props, ref, options) {
21
21
  const DismissIcon = (0, _reacticons.bundleIcon)(_reacticons.Dismiss20Filled, _reacticons.Dismiss20Regular);
22
22
  const hasParentContext = (0, _reactcontextselector.useHasParentContext)(_attachmentTagListContext.AttachmentTagListContext);
23
23
  const rootRole = role !== null && role !== void 0 ? role : hasParentContext ? 'menuitem' : undefined;
24
- const root = _reactcomponents.slot.always((0, _reactcomponents.getNativeElementProps)(elementType.root, {
24
+ const root = _reactcomponents.slot.always((0, _reactcomponents.getIntrinsicElementProps)(elementType.root, {
25
25
  ref,
26
26
  ...props,
27
27
  role: rootRole
@@ -1 +1 @@
1
- {"version":3,"sources":["useAttachmentTagSlots.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, mergeCallbacks, slot } from '@fluentui/react-components';\nimport { useHasParentContext } from '@fluentui/react-context-selector';\nimport { Dismiss20Regular, Dismiss20Filled, bundleIcon } from '@fluentui/react-icons';\nimport { useAttachmentTagListContext_unstable } from '../../contexts/attachmentTagListContext';\nimport { AttachmentTagListContext } from '../../contexts/attachmentTagListContext';\n/**\n * @internal\n * Create the slots required to render AttachmentTag or AttachmentTagItem.\n */\nexport function useAttachmentTagSlots(props, ref, options) {\n const onAttachmentTagDismiss = useAttachmentTagListContext_unstable(context => context.onAttachmentTagDismiss);\n const {\n children,\n role\n } = props;\n const {\n elementType\n } = options;\n const DismissIcon = bundleIcon(Dismiss20Filled, Dismiss20Regular);\n const hasParentContext = useHasParentContext(AttachmentTagListContext);\n const rootRole = role !== null && role !== void 0 ? role : hasParentContext ? 'menuitem' : undefined;\n const root = slot.always(getNativeElementProps(elementType.root, {\n ref,\n ...props,\n role: rootRole\n }), {\n elementType: elementType.root\n });\n root.onClick = mergeCallbacks(root.onClick, ev => onAttachmentTagDismiss === null || onAttachmentTagDismiss === void 0 ? void 0 : onAttachmentTagDismiss(ev, {\n content: children,\n media\n }));\n const media = slot.optional(props.media, {\n elementType: elementType.media\n });\n const content = slot.always(props.content, {\n defaultProps: {\n children\n },\n elementType: elementType.content\n });\n const icon = slot.always(props.icon, {\n defaultProps: {\n children: /*#__PURE__*/React.createElement(DismissIcon, null)\n },\n elementType: elementType.icon\n });\n return {\n components: {\n root: elementType.root,\n media: elementType.media,\n content: elementType.content,\n icon: elementType.icon\n },\n root,\n media,\n content,\n icon\n };\n}\n//# sourceMappingURL=useAttachmentTagSlots.js.map"],"names":["useAttachmentTagSlots","props","ref","options","onAttachmentTagDismiss","useAttachmentTagListContext_unstable","context","children","role","elementType","DismissIcon","bundleIcon","Dismiss20Filled","Dismiss20Regular","hasParentContext","useHasParentContext","AttachmentTagListContext","rootRole","undefined","root","slot","always","getNativeElementProps","onClick","mergeCallbacks","ev","content","media","optional","defaultProps","icon","React","createElement","components"],"mappings":";;;;+BAUgBA;;;eAAAA;;;;iEAVO;iCACqC;sCACxB;4BAC0B;0CACT;AAM9C,SAASA,sBAAsBC,KAAK,EAAEC,GAAG,EAAEC,OAAO;IACvD,MAAMC,yBAAyBC,IAAAA,8DAAoC,EAACC,CAAAA,UAAWA,QAAQF,sBAAsB;IAC7G,MAAM,EACJG,QAAQ,EACRC,IAAI,EACL,GAAGP;IACJ,MAAM,EACJQ,WAAW,EACZ,GAAGN;IACJ,MAAMO,cAAcC,IAAAA,sBAAU,EAACC,2BAAe,EAAEC,4BAAgB;IAChE,MAAMC,mBAAmBC,IAAAA,yCAAmB,EAACC,kDAAwB;IACrE,MAAMC,WAAWT,SAAS,QAAQA,SAAS,KAAK,IAAIA,OAAOM,mBAAmB,aAAaI;IAC3F,MAAMC,OAAOC,qBAAI,CAACC,MAAM,CAACC,IAAAA,sCAAqB,EAACb,YAAYU,IAAI,EAAE;QAC/DjB;QACA,GAAGD,KAAK;QACRO,MAAMS;IACR,IAAI;QACFR,aAAaA,YAAYU,IAAI;IAC/B;IACAA,KAAKI,OAAO,GAAGC,IAAAA,+BAAc,EAACL,KAAKI,OAAO,EAAEE,CAAAA,KAAMrB,2BAA2B,QAAQA,2BAA2B,KAAK,IAAI,KAAK,IAAIA,uBAAuBqB,IAAI;YAC3JC,SAASnB;YACToB;QACF;IACA,MAAMA,QAAQP,qBAAI,CAACQ,QAAQ,CAAC3B,MAAM0B,KAAK,EAAE;QACvClB,aAAaA,YAAYkB,KAAK;IAChC;IACA,MAAMD,UAAUN,qBAAI,CAACC,MAAM,CAACpB,MAAMyB,OAAO,EAAE;QACzCG,cAAc;YACZtB;QACF;QACAE,aAAaA,YAAYiB,OAAO;IAClC;IACA,MAAMI,OAAOV,qBAAI,CAACC,MAAM,CAACpB,MAAM6B,IAAI,EAAE;QACnCD,cAAc;YACZtB,UAAU,WAAW,GAAEwB,OAAMC,aAAa,CAACtB,aAAa;QAC1D;QACAD,aAAaA,YAAYqB,IAAI;IAC/B;IACA,OAAO;QACLG,YAAY;YACVd,MAAMV,YAAYU,IAAI;YACtBQ,OAAOlB,YAAYkB,KAAK;YACxBD,SAASjB,YAAYiB,OAAO;YAC5BI,MAAMrB,YAAYqB,IAAI;QACxB;QACAX;QACAQ;QACAD;QACAI;IACF;AACF,EACA,iDAAiD"}
1
+ {"version":3,"sources":["useAttachmentTagSlots.js"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, mergeCallbacks, slot } from '@fluentui/react-components';\nimport { useHasParentContext } from '@fluentui/react-context-selector';\nimport { Dismiss20Regular, Dismiss20Filled, bundleIcon } from '@fluentui/react-icons';\nimport { useAttachmentTagListContext_unstable } from '../../contexts/attachmentTagListContext';\nimport { AttachmentTagListContext } from '../../contexts/attachmentTagListContext';\n/**\n * @internal\n * Create the slots required to render AttachmentTag or AttachmentTagItem.\n */\nexport function useAttachmentTagSlots(props, ref, options) {\n const onAttachmentTagDismiss = useAttachmentTagListContext_unstable(context => context.onAttachmentTagDismiss);\n const {\n children,\n role\n } = props;\n const {\n elementType\n } = options;\n const DismissIcon = bundleIcon(Dismiss20Filled, Dismiss20Regular);\n const hasParentContext = useHasParentContext(AttachmentTagListContext);\n const rootRole = role !== null && role !== void 0 ? role : hasParentContext ? 'menuitem' : undefined;\n const root = slot.always(getIntrinsicElementProps(elementType.root, {\n ref,\n ...props,\n role: rootRole\n }), {\n elementType: elementType.root\n });\n root.onClick = mergeCallbacks(root.onClick, ev => onAttachmentTagDismiss === null || onAttachmentTagDismiss === void 0 ? void 0 : onAttachmentTagDismiss(ev, {\n content: children,\n media\n }));\n const media = slot.optional(props.media, {\n elementType: elementType.media\n });\n const content = slot.always(props.content, {\n defaultProps: {\n children\n },\n elementType: elementType.content\n });\n const icon = slot.always(props.icon, {\n defaultProps: {\n children: /*#__PURE__*/React.createElement(DismissIcon, null)\n },\n elementType: elementType.icon\n });\n return {\n components: {\n root: elementType.root,\n media: elementType.media,\n content: elementType.content,\n icon: elementType.icon\n },\n root,\n media,\n content,\n icon\n };\n}\n//# sourceMappingURL=useAttachmentTagSlots.js.map"],"names":["useAttachmentTagSlots","props","ref","options","onAttachmentTagDismiss","useAttachmentTagListContext_unstable","context","children","role","elementType","DismissIcon","bundleIcon","Dismiss20Filled","Dismiss20Regular","hasParentContext","useHasParentContext","AttachmentTagListContext","rootRole","undefined","root","slot","always","getIntrinsicElementProps","onClick","mergeCallbacks","ev","content","media","optional","defaultProps","icon","React","createElement","components"],"mappings":";;;;+BAUgBA;;;eAAAA;;;;iEAVO;iCACwC;sCAC3B;4BAC0B;0CACT;AAM9C,SAASA,sBAAsBC,KAAK,EAAEC,GAAG,EAAEC,OAAO;IACvD,MAAMC,yBAAyBC,IAAAA,8DAAoC,EAACC,CAAAA,UAAWA,QAAQF,sBAAsB;IAC7G,MAAM,EACJG,QAAQ,EACRC,IAAI,EACL,GAAGP;IACJ,MAAM,EACJQ,WAAW,EACZ,GAAGN;IACJ,MAAMO,cAAcC,IAAAA,sBAAU,EAACC,2BAAe,EAAEC,4BAAgB;IAChE,MAAMC,mBAAmBC,IAAAA,yCAAmB,EAACC,kDAAwB;IACrE,MAAMC,WAAWT,SAAS,QAAQA,SAAS,KAAK,IAAIA,OAAOM,mBAAmB,aAAaI;IAC3F,MAAMC,OAAOC,qBAAI,CAACC,MAAM,CAACC,IAAAA,yCAAwB,EAACb,YAAYU,IAAI,EAAE;QAClEjB;QACA,GAAGD,KAAK;QACRO,MAAMS;IACR,IAAI;QACFR,aAAaA,YAAYU,IAAI;IAC/B;IACAA,KAAKI,OAAO,GAAGC,IAAAA,+BAAc,EAACL,KAAKI,OAAO,EAAEE,CAAAA,KAAMrB,2BAA2B,QAAQA,2BAA2B,KAAK,IAAI,KAAK,IAAIA,uBAAuBqB,IAAI;YAC3JC,SAASnB;YACToB;QACF;IACA,MAAMA,QAAQP,qBAAI,CAACQ,QAAQ,CAAC3B,MAAM0B,KAAK,EAAE;QACvClB,aAAaA,YAAYkB,KAAK;IAChC;IACA,MAAMD,UAAUN,qBAAI,CAACC,MAAM,CAACpB,MAAMyB,OAAO,EAAE;QACzCG,cAAc;YACZtB;QACF;QACAE,aAAaA,YAAYiB,OAAO;IAClC;IACA,MAAMI,OAAOV,qBAAI,CAACC,MAAM,CAACpB,MAAM6B,IAAI,EAAE;QACnCD,cAAc;YACZtB,UAAU,WAAW,GAAEwB,OAAMC,aAAa,CAACtB,aAAa;QAC1D;QACAD,aAAaA,YAAYqB,IAAI;IAC/B;IACA,OAAO;QACLG,YAAY;YACVd,MAAMV,YAAYU,IAAI;YACtBQ,OAAOlB,YAAYkB,KAAK;YACxBD,SAASjB,YAAYiB,OAAO;YAC5BI,MAAMrB,YAAYqB,IAAI;QACxB;QACAX;QACAQ;QACAD;QACAI;IACF;AACF,EACA,iDAAiD"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ AttachmentListContext: function() {
13
+ return AttachmentListContext;
14
+ },
15
+ AttachmentListProvider: function() {
16
+ return AttachmentListProvider;
17
+ },
18
+ useAttachmentListContext_unstable: function() {
19
+ return useAttachmentListContext_unstable;
20
+ }
21
+ });
22
+ const _reactcontextselector = require("@fluentui/react-context-selector");
23
+ const AttachmentListContext = (0, _reactcontextselector.createContext)(undefined);
24
+ const attachmentListContextDefaultValue = {
25
+ onAttachmentDismiss: ()=>null
26
+ };
27
+ const AttachmentListProvider = AttachmentListContext.Provider;
28
+ const useAttachmentListContext_unstable = (selector)=>(0, _reactcontextselector.useContextSelector)(AttachmentListContext, (ctx = attachmentListContextDefaultValue)=>selector(ctx)); //# sourceMappingURL=attachmentListContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["attachmentListContext.js"],"sourcesContent":["import { createContext, useContextSelector } from '@fluentui/react-context-selector';\nexport const AttachmentListContext = createContext(undefined);\nconst attachmentListContextDefaultValue = {\n onAttachmentDismiss: () => null\n};\nexport const AttachmentListProvider = AttachmentListContext.Provider;\nexport const useAttachmentListContext_unstable = selector => useContextSelector(AttachmentListContext, (ctx = attachmentListContextDefaultValue) => selector(ctx));\n//# sourceMappingURL=attachmentListContext.js.map"],"names":["AttachmentListContext","AttachmentListProvider","useAttachmentListContext_unstable","createContext","undefined","attachmentListContextDefaultValue","onAttachmentDismiss","Provider","selector","useContextSelector","ctx"],"mappings":";;;;;;;;;;;IACaA,qBAAqB;eAArBA;;IAIAC,sBAAsB;eAAtBA;;IACAC,iCAAiC;eAAjCA;;;sCANqC;AAC3C,MAAMF,wBAAwBG,IAAAA,mCAAa,EAACC;AACnD,MAAMC,oCAAoC;IACxCC,qBAAqB,IAAM;AAC7B;AACO,MAAML,yBAAyBD,sBAAsBO,QAAQ;AAC7D,MAAML,oCAAoCM,CAAAA,WAAYC,IAAAA,wCAAkB,EAACT,uBAAuB,CAACU,MAAML,iCAAiC,GAAKG,SAASE,OAC7J,iDAAiD"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ AttachmentOverflowMenuContext: function() {
13
+ return AttachmentOverflowMenuContext;
14
+ },
15
+ AttachmentOverflowMenuProvider: function() {
16
+ return AttachmentOverflowMenuProvider;
17
+ },
18
+ useAttachmentOverflowMenuContext_unstable: function() {
19
+ return useAttachmentOverflowMenuContext_unstable;
20
+ }
21
+ });
22
+ const _reactcontextselector = require("@fluentui/react-context-selector");
23
+ const AttachmentOverflowMenuContext = (0, _reactcontextselector.createContext)(undefined);
24
+ const overflowMenuContextDefaultValue = {
25
+ isOverflowing: false,
26
+ overflowButtonRef: undefined,
27
+ overflowCount: 0
28
+ };
29
+ const AttachmentOverflowMenuProvider = AttachmentOverflowMenuContext.Provider;
30
+ const useAttachmentOverflowMenuContext_unstable = (selector)=>(0, _reactcontextselector.useContextSelector)(AttachmentOverflowMenuContext, (ctx = overflowMenuContextDefaultValue)=>selector(ctx)); //# sourceMappingURL=attachmentOverflowMenuContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["attachmentOverflowMenuContext.js"],"sourcesContent":["import { createContext, useContextSelector } from '@fluentui/react-context-selector';\nexport const AttachmentOverflowMenuContext = createContext(undefined);\nconst overflowMenuContextDefaultValue = {\n isOverflowing: false,\n overflowButtonRef: undefined,\n overflowCount: 0\n};\nexport const AttachmentOverflowMenuProvider = AttachmentOverflowMenuContext.Provider;\nexport const useAttachmentOverflowMenuContext_unstable = selector => useContextSelector(AttachmentOverflowMenuContext, (ctx = overflowMenuContextDefaultValue) => selector(ctx));\n//# sourceMappingURL=attachmentOverflowMenuContext.js.map"],"names":["AttachmentOverflowMenuContext","AttachmentOverflowMenuProvider","useAttachmentOverflowMenuContext_unstable","createContext","undefined","overflowMenuContextDefaultValue","isOverflowing","overflowButtonRef","overflowCount","Provider","selector","useContextSelector","ctx"],"mappings":";;;;;;;;;;;IACaA,6BAA6B;eAA7BA;;IAMAC,8BAA8B;eAA9BA;;IACAC,yCAAyC;eAAzCA;;;sCARqC;AAC3C,MAAMF,gCAAgCG,IAAAA,mCAAa,EAACC;AAC3D,MAAMC,kCAAkC;IACtCC,eAAe;IACfC,mBAAmBH;IACnBI,eAAe;AACjB;AACO,MAAMP,iCAAiCD,8BAA8BS,QAAQ;AAC7E,MAAMP,4CAA4CQ,CAAAA,WAAYC,IAAAA,wCAAkB,EAACX,+BAA+B,CAACY,MAAMP,+BAA+B,GAAKK,SAASE,OAC3K,yDAAyD"}
@@ -54,6 +54,30 @@ _export(exports, {
54
54
  useAttachmentTagItem_unstable: function() {
55
55
  return _AttachmentTagItem.useAttachmentTagItem_unstable;
56
56
  },
57
+ AttachmentList: function() {
58
+ return _AttachmentList.AttachmentList;
59
+ },
60
+ attachmentListClassNames: function() {
61
+ return _AttachmentList.attachmentListClassNames;
62
+ },
63
+ renderAttachmentList_unstable: function() {
64
+ return _AttachmentList.renderAttachmentList_unstable;
65
+ },
66
+ useAttachmentListStyles_unstable: function() {
67
+ return _AttachmentList.useAttachmentListStyles_unstable;
68
+ },
69
+ useAttachmentList_unstable: function() {
70
+ return _AttachmentList.useAttachmentList_unstable;
71
+ },
72
+ AttachmentListContext: function() {
73
+ return _attachmentListContext.AttachmentListContext;
74
+ },
75
+ AttachmentListProvider: function() {
76
+ return _attachmentListContext.AttachmentListProvider;
77
+ },
78
+ useAttachmentListContext_unstable: function() {
79
+ return _attachmentListContext.useAttachmentListContext_unstable;
80
+ },
57
81
  Attachment: function() {
58
82
  return _Attachment.Attachment;
59
83
  },
@@ -68,10 +92,64 @@ _export(exports, {
68
92
  },
69
93
  useAttachment_unstable: function() {
70
94
  return _Attachment.useAttachment_unstable;
95
+ },
96
+ AttachmentOverflowMenu: function() {
97
+ return _AttachmentOverflowMenu.AttachmentOverflowMenu;
98
+ },
99
+ renderAttachmentOverflowMenu_unstable: function() {
100
+ return _AttachmentOverflowMenu.renderAttachmentOverflowMenu_unstable;
101
+ },
102
+ useAttachmentOverflowMenu_unstable: function() {
103
+ return _AttachmentOverflowMenu.useAttachmentOverflowMenu_unstable;
104
+ },
105
+ AttachmentOverflowMenuContext: function() {
106
+ return _attachmentOverflowMenuContext.AttachmentOverflowMenuContext;
107
+ },
108
+ AttachmentOverflowMenuProvider: function() {
109
+ return _attachmentOverflowMenuContext.AttachmentOverflowMenuProvider;
110
+ },
111
+ useAttachmentOverflowMenuContext_unstable: function() {
112
+ return _attachmentOverflowMenuContext.useAttachmentOverflowMenuContext_unstable;
113
+ },
114
+ AttachmentOverflowMenuButton: function() {
115
+ return _AttachmentOverflowMenuButton.AttachmentOverflowMenuButton;
116
+ },
117
+ attachmentOverflowMenuButtonClassNames: function() {
118
+ return _AttachmentOverflowMenuButton.attachmentOverflowMenuButtonClassNames;
119
+ },
120
+ renderAttachmentOverflowMenuButton_unstable: function() {
121
+ return _AttachmentOverflowMenuButton.renderAttachmentOverflowMenuButton_unstable;
122
+ },
123
+ useAttachmentOverflowMenuButtonStyles_unstable: function() {
124
+ return _AttachmentOverflowMenuButton.useAttachmentOverflowMenuButtonStyles_unstable;
125
+ },
126
+ useAttachmentOverflowMenuButton_unstable: function() {
127
+ return _AttachmentOverflowMenuButton.useAttachmentOverflowMenuButton_unstable;
128
+ },
129
+ AttachmentOverflowMenuItem: function() {
130
+ return _AttachmentOverflowMenuItem.AttachmentOverflowMenuItem;
131
+ },
132
+ attachmentOverflowMenuItemClassNames: function() {
133
+ return _AttachmentOverflowMenuItem.attachmentOverflowMenuItemClassNames;
134
+ },
135
+ renderAttachmentOverflowMenuItem_unstable: function() {
136
+ return _AttachmentOverflowMenuItem.renderAttachmentOverflowMenuItem_unstable;
137
+ },
138
+ useAttachmentOverflowMenuItemStyles_unstable: function() {
139
+ return _AttachmentOverflowMenuItem.useAttachmentOverflowMenuItemStyles_unstable;
140
+ },
141
+ useAttachmentOverflowMenuItem_unstable: function() {
142
+ return _AttachmentOverflowMenuItem.useAttachmentOverflowMenuItem_unstable;
71
143
  }
72
144
  });
73
145
  const _AttachmentTag = require("./AttachmentTag");
74
146
  const _AttachmentTagList = require("./AttachmentTagList");
75
147
  const _AttachmentTagItem = require("./AttachmentTagItem");
148
+ const _AttachmentList = require("./AttachmentList");
149
+ const _attachmentListContext = require("./contexts/attachmentListContext");
76
150
  const _Attachment = require("./Attachment");
151
+ const _AttachmentOverflowMenu = require("./AttachmentOverflowMenu");
152
+ const _attachmentOverflowMenuContext = require("./contexts/attachmentOverflowMenuContext");
153
+ const _AttachmentOverflowMenuButton = require("./AttachmentOverflowMenuButton");
154
+ const _AttachmentOverflowMenuItem = require("./AttachmentOverflowMenuItem");
77
155
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export { AttachmentTag, attachmentTagClassNames, renderAttachmentTag_unstable, useAttachmentTagStyles_unstable, useAttachmentTag_unstable } from './AttachmentTag';\nexport { AttachmentTagList, attachmentTagListClassNames, renderAttachmentTagList_unstable, useAttachmentTagListStyles_unstable, useAttachmentTagList_unstable } from './AttachmentTagList';\nexport { AttachmentTagItem, attachmentTagItemClassNames, renderAttachmentTagItem_unstable, useAttachmentTagItemStyles_unstable, useAttachmentTagItem_unstable } from './AttachmentTagItem';\nexport { Attachment, attachmentClassNames, renderAttachment_unstable, useAttachmentStyles_unstable, useAttachment_unstable } from './Attachment';\n//# sourceMappingURL=index.js.map"],"names":["AttachmentTag","attachmentTagClassNames","renderAttachmentTag_unstable","useAttachmentTagStyles_unstable","useAttachmentTag_unstable","AttachmentTagList","attachmentTagListClassNames","renderAttachmentTagList_unstable","useAttachmentTagListStyles_unstable","useAttachmentTagList_unstable","AttachmentTagItem","attachmentTagItemClassNames","renderAttachmentTagItem_unstable","useAttachmentTagItemStyles_unstable","useAttachmentTagItem_unstable","Attachment","attachmentClassNames","renderAttachment_unstable","useAttachmentStyles_unstable","useAttachment_unstable"],"mappings":";;;;;;;;;;;IAASA,aAAa;eAAbA,4BAAa;;IAAEC,uBAAuB;eAAvBA,sCAAuB;;IAAEC,4BAA4B;eAA5BA,2CAA4B;;IAAEC,+BAA+B;eAA/BA,8CAA+B;;IAAEC,yBAAyB;eAAzBA,wCAAyB;;IAChIC,iBAAiB;eAAjBA,oCAAiB;;IAAEC,2BAA2B;eAA3BA,8CAA2B;;IAAEC,gCAAgC;eAAhCA,mDAAgC;;IAAEC,mCAAmC;eAAnCA,sDAAmC;;IAAEC,6BAA6B;eAA7BA,gDAA6B;;IACpJC,iBAAiB;eAAjBA,oCAAiB;;IAAEC,2BAA2B;eAA3BA,8CAA2B;;IAAEC,gCAAgC;eAAhCA,mDAAgC;;IAAEC,mCAAmC;eAAnCA,sDAAmC;;IAAEC,6BAA6B;eAA7BA,gDAA6B;;IACpJC,UAAU;eAAVA,sBAAU;;IAAEC,oBAAoB;eAApBA,gCAAoB;;IAAEC,yBAAyB;eAAzBA,qCAAyB;;IAAEC,4BAA4B;eAA5BA,wCAA4B;;IAAEC,sBAAsB;eAAtBA,kCAAsB;;;+BAHuB;mCACoB;mCACA;4BACnC;CAClI,iCAAiC"}
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export { AttachmentTag, attachmentTagClassNames, renderAttachmentTag_unstable, useAttachmentTagStyles_unstable, useAttachmentTag_unstable } from './AttachmentTag';\nexport { AttachmentTagList, attachmentTagListClassNames, renderAttachmentTagList_unstable, useAttachmentTagListStyles_unstable, useAttachmentTagList_unstable } from './AttachmentTagList';\nexport { AttachmentTagItem, attachmentTagItemClassNames, renderAttachmentTagItem_unstable, useAttachmentTagItemStyles_unstable, useAttachmentTagItem_unstable } from './AttachmentTagItem';\nexport { AttachmentList, attachmentListClassNames, renderAttachmentList_unstable, useAttachmentListStyles_unstable, useAttachmentList_unstable } from './AttachmentList';\nexport { AttachmentListContext, AttachmentListProvider, useAttachmentListContext_unstable } from './contexts/attachmentListContext';\nexport { Attachment, attachmentClassNames, renderAttachment_unstable, useAttachmentStyles_unstable, useAttachment_unstable } from './Attachment';\nexport { AttachmentOverflowMenu, renderAttachmentOverflowMenu_unstable, useAttachmentOverflowMenu_unstable } from './AttachmentOverflowMenu';\nexport { AttachmentOverflowMenuContext, AttachmentOverflowMenuProvider, useAttachmentOverflowMenuContext_unstable } from './contexts/attachmentOverflowMenuContext';\nexport { AttachmentOverflowMenuButton, attachmentOverflowMenuButtonClassNames, renderAttachmentOverflowMenuButton_unstable, useAttachmentOverflowMenuButtonStyles_unstable, useAttachmentOverflowMenuButton_unstable } from './AttachmentOverflowMenuButton';\nexport { AttachmentOverflowMenuItem, attachmentOverflowMenuItemClassNames, renderAttachmentOverflowMenuItem_unstable, useAttachmentOverflowMenuItemStyles_unstable, useAttachmentOverflowMenuItem_unstable } from './AttachmentOverflowMenuItem';\n//# sourceMappingURL=index.js.map"],"names":["AttachmentTag","attachmentTagClassNames","renderAttachmentTag_unstable","useAttachmentTagStyles_unstable","useAttachmentTag_unstable","AttachmentTagList","attachmentTagListClassNames","renderAttachmentTagList_unstable","useAttachmentTagListStyles_unstable","useAttachmentTagList_unstable","AttachmentTagItem","attachmentTagItemClassNames","renderAttachmentTagItem_unstable","useAttachmentTagItemStyles_unstable","useAttachmentTagItem_unstable","AttachmentList","attachmentListClassNames","renderAttachmentList_unstable","useAttachmentListStyles_unstable","useAttachmentList_unstable","AttachmentListContext","AttachmentListProvider","useAttachmentListContext_unstable","Attachment","attachmentClassNames","renderAttachment_unstable","useAttachmentStyles_unstable","useAttachment_unstable","AttachmentOverflowMenu","renderAttachmentOverflowMenu_unstable","useAttachmentOverflowMenu_unstable","AttachmentOverflowMenuContext","AttachmentOverflowMenuProvider","useAttachmentOverflowMenuContext_unstable","AttachmentOverflowMenuButton","attachmentOverflowMenuButtonClassNames","renderAttachmentOverflowMenuButton_unstable","useAttachmentOverflowMenuButtonStyles_unstable","useAttachmentOverflowMenuButton_unstable","AttachmentOverflowMenuItem","attachmentOverflowMenuItemClassNames","renderAttachmentOverflowMenuItem_unstable","useAttachmentOverflowMenuItemStyles_unstable","useAttachmentOverflowMenuItem_unstable"],"mappings":";;;;;;;;;;;IAASA,aAAa;eAAbA,4BAAa;;IAAEC,uBAAuB;eAAvBA,sCAAuB;;IAAEC,4BAA4B;eAA5BA,2CAA4B;;IAAEC,+BAA+B;eAA/BA,8CAA+B;;IAAEC,yBAAyB;eAAzBA,wCAAyB;;IAChIC,iBAAiB;eAAjBA,oCAAiB;;IAAEC,2BAA2B;eAA3BA,8CAA2B;;IAAEC,gCAAgC;eAAhCA,mDAAgC;;IAAEC,mCAAmC;eAAnCA,sDAAmC;;IAAEC,6BAA6B;eAA7BA,gDAA6B;;IACpJC,iBAAiB;eAAjBA,oCAAiB;;IAAEC,2BAA2B;eAA3BA,8CAA2B;;IAAEC,gCAAgC;eAAhCA,mDAAgC;;IAAEC,mCAAmC;eAAnCA,sDAAmC;;IAAEC,6BAA6B;eAA7BA,gDAA6B;;IACpJC,cAAc;eAAdA,8BAAc;;IAAEC,wBAAwB;eAAxBA,wCAAwB;;IAAEC,6BAA6B;eAA7BA,6CAA6B;;IAAEC,gCAAgC;eAAhCA,gDAAgC;;IAAEC,0BAA0B;eAA1BA,0CAA0B;;IACrIC,qBAAqB;eAArBA,4CAAqB;;IAAEC,sBAAsB;eAAtBA,6CAAsB;;IAAEC,iCAAiC;eAAjCA,wDAAiC;;IAChFC,UAAU;eAAVA,sBAAU;;IAAEC,oBAAoB;eAApBA,gCAAoB;;IAAEC,yBAAyB;eAAzBA,qCAAyB;;IAAEC,4BAA4B;eAA5BA,wCAA4B;;IAAEC,sBAAsB;eAAtBA,kCAAsB;;IACjHC,sBAAsB;eAAtBA,8CAAsB;;IAAEC,qCAAqC;eAArCA,6DAAqC;;IAAEC,kCAAkC;eAAlCA,0DAAkC;;IACjGC,6BAA6B;eAA7BA,4DAA6B;;IAAEC,8BAA8B;eAA9BA,6DAA8B;;IAAEC,yCAAyC;eAAzCA,wEAAyC;;IACxGC,4BAA4B;eAA5BA,0DAA4B;;IAAEC,sCAAsC;eAAtCA,oEAAsC;;IAAEC,2CAA2C;eAA3CA,yEAA2C;;IAAEC,8CAA8C;eAA9CA,4EAA8C;;IAAEC,wCAAwC;eAAxCA,sEAAwC;;IAC3MC,0BAA0B;eAA1BA,sDAA0B;;IAAEC,oCAAoC;eAApCA,gEAAoC;;IAAEC,yCAAyC;eAAzCA,qEAAyC;;IAAEC,4CAA4C;eAA5CA,wEAA4C;;IAAEC,sCAAsC;eAAtCA,kEAAsC;;;+BATzD;mCACoB;mCACA;gCACf;uCACrD;4BACiC;wCAChB;+CACO;8CACmG;4CACV;CAClN,iCAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-copilot/react-attachments",
3
- "version": "0.8.2",
3
+ "version": "0.9.0",
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",
@@ -21,6 +21,7 @@
21
21
  "@fluentui/react-context-selector": ">=9.1.34 <10.0.0",
22
22
  "@fluentui/react-icons": ">=2.0.217 <3.0.0",
23
23
  "@fluentui/react-jsx-runtime": ">=9.0.18 <10.0.0",
24
+ "@fluentui/react-overflow": ">=9.0.18 <10.0.0",
24
25
  "@fluentui/react-shared-contexts": ">=9.11.1 <10.0.0",
25
26
  "@types/react": ">=16.14.0 <19.0.0",
26
27
  "@types/react-dom": ">=16.9.8 <19.0.0",