@fluentui-copilot/react-attachments 0.0.0-nightly-20240426-0405-4698d75c.1 → 0.0.0-nightly-20240501-0406-278a94d6.1

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 (143) hide show
  1. package/CHANGELOG.json +34 -5
  2. package/CHANGELOG.md +15 -5
  3. package/lib/Attachment.js.map +1 -1
  4. package/lib/AttachmentList.js.map +1 -1
  5. package/lib/AttachmentOverflowMenu.js.map +1 -1
  6. package/lib/AttachmentOverflowMenuButton.js.map +1 -1
  7. package/lib/AttachmentOverflowMenuItem.js.map +1 -1
  8. package/lib/AttachmentTag.js.map +1 -1
  9. package/lib/AttachmentTagItem.js.map +1 -1
  10. package/lib/AttachmentTagList.js.map +1 -1
  11. package/lib/components/Attachment/Attachment.js.map +1 -1
  12. package/lib/components/Attachment/Attachment.types.js +3 -1
  13. package/lib/components/Attachment/Attachment.types.js.map +1 -1
  14. package/lib/components/Attachment/index.js.map +1 -1
  15. package/lib/components/Attachment/renderAttachment.js.map +1 -1
  16. package/lib/components/Attachment/useAttachment.js.map +1 -1
  17. package/lib/components/Attachment/useAttachmentStyles.js.map +1 -1
  18. package/lib/components/AttachmentList/AttachmentList.js.map +1 -1
  19. package/lib/components/AttachmentList/AttachmentList.types.js.map +1 -1
  20. package/lib/components/AttachmentList/index.js.map +1 -1
  21. package/lib/components/AttachmentList/renderAttachmentList.js.map +1 -1
  22. package/lib/components/AttachmentList/useAttachmentList.js.map +1 -1
  23. package/lib/components/AttachmentList/useAttachmentListContextValues.js.map +1 -1
  24. package/lib/components/AttachmentList/useAttachmentListStyles.js.map +1 -1
  25. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +1 -1
  26. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +1 -1
  27. package/lib/components/AttachmentOverflowMenu/index.js.map +1 -1
  28. package/lib/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +1 -1
  29. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +1 -1
  30. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +1 -1
  31. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +1 -1
  32. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +3 -1
  33. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +1 -1
  34. package/lib/components/AttachmentOverflowMenuButton/index.js.map +1 -1
  35. package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +1 -1
  36. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +1 -1
  37. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js.map +1 -1
  38. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +1 -1
  39. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +3 -1
  40. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +1 -1
  41. package/lib/components/AttachmentOverflowMenuItem/index.js.map +1 -1
  42. package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +1 -1
  43. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +1 -1
  44. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js.map +1 -1
  45. package/lib/components/AttachmentTag/AttachmentTag.js.map +1 -1
  46. package/lib/components/AttachmentTag/AttachmentTag.types.js +3 -1
  47. package/lib/components/AttachmentTag/AttachmentTag.types.js.map +1 -1
  48. package/lib/components/AttachmentTag/index.js.map +1 -1
  49. package/lib/components/AttachmentTag/renderAttachmentTag.js.map +1 -1
  50. package/lib/components/AttachmentTag/useAttachmentTag.js.map +1 -1
  51. package/lib/components/AttachmentTag/useAttachmentTagStyles.js.map +1 -1
  52. package/lib/components/AttachmentTagItem/AttachmentTagItem.js.map +1 -1
  53. package/lib/components/AttachmentTagItem/AttachmentTagItem.types.js +3 -1
  54. package/lib/components/AttachmentTagItem/AttachmentTagItem.types.js.map +1 -1
  55. package/lib/components/AttachmentTagItem/index.js.map +1 -1
  56. package/lib/components/AttachmentTagItem/renderAttachmentTagItem.js.map +1 -1
  57. package/lib/components/AttachmentTagItem/useAttachmentTagItem.js.map +1 -1
  58. package/lib/components/AttachmentTagItem/useAttachmentTagItemStyles.js.map +1 -1
  59. package/lib/components/AttachmentTagList/AttachmentTagList.js.map +1 -1
  60. package/lib/components/AttachmentTagList/AttachmentTagList.types.js.map +1 -1
  61. package/lib/components/AttachmentTagList/index.js.map +1 -1
  62. package/lib/components/AttachmentTagList/renderAttachmentTagList.js.map +1 -1
  63. package/lib/components/AttachmentTagList/useAttachmentTagList.js.map +1 -1
  64. package/lib/components/AttachmentTagList/useAttachmentTagListContextValues.js.map +1 -1
  65. package/lib/components/AttachmentTagList/useAttachmentTagListStyles.js.map +1 -1
  66. package/lib/components/index.js.map +1 -1
  67. package/lib/components/utils/useAttachmentTagSlots.js.map +1 -1
  68. package/lib/contexts/attachmentListContext.js.map +1 -1
  69. package/lib/contexts/attachmentOverflowMenuContext.js.map +1 -1
  70. package/lib/contexts/attachmentTagListContext.js.map +1 -1
  71. package/lib/index.js.map +1 -1
  72. package/lib-commonjs/Attachment.js.map +1 -1
  73. package/lib-commonjs/AttachmentList.js.map +1 -1
  74. package/lib-commonjs/AttachmentOverflowMenu.js.map +1 -1
  75. package/lib-commonjs/AttachmentOverflowMenuButton.js.map +1 -1
  76. package/lib-commonjs/AttachmentOverflowMenuItem.js.map +1 -1
  77. package/lib-commonjs/AttachmentTag.js.map +1 -1
  78. package/lib-commonjs/AttachmentTagItem.js.map +1 -1
  79. package/lib-commonjs/AttachmentTagList.js.map +1 -1
  80. package/lib-commonjs/components/Attachment/Attachment.js.map +1 -1
  81. package/lib-commonjs/components/Attachment/Attachment.types.js +3 -1
  82. package/lib-commonjs/components/Attachment/Attachment.types.js.map +1 -1
  83. package/lib-commonjs/components/Attachment/index.js.map +1 -1
  84. package/lib-commonjs/components/Attachment/renderAttachment.js.map +1 -1
  85. package/lib-commonjs/components/Attachment/useAttachment.js.map +1 -1
  86. package/lib-commonjs/components/Attachment/useAttachmentStyles.js.map +1 -1
  87. package/lib-commonjs/components/AttachmentList/AttachmentList.js.map +1 -1
  88. package/lib-commonjs/components/AttachmentList/AttachmentList.types.js.map +1 -1
  89. package/lib-commonjs/components/AttachmentList/index.js.map +1 -1
  90. package/lib-commonjs/components/AttachmentList/renderAttachmentList.js.map +1 -1
  91. package/lib-commonjs/components/AttachmentList/useAttachmentList.js.map +1 -1
  92. package/lib-commonjs/components/AttachmentList/useAttachmentListContextValues.js.map +1 -1
  93. package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.js.map +1 -1
  94. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +1 -1
  95. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +1 -1
  96. package/lib-commonjs/components/AttachmentOverflowMenu/index.js.map +1 -1
  97. package/lib-commonjs/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +1 -1
  98. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +1 -1
  99. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +1 -1
  100. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +1 -1
  101. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +3 -1
  102. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +1 -1
  103. package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js.map +1 -1
  104. package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +1 -1
  105. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +1 -1
  106. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js.map +1 -1
  107. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +1 -1
  108. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +3 -1
  109. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +1 -1
  110. package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js.map +1 -1
  111. package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +1 -1
  112. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +1 -1
  113. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js.map +1 -1
  114. package/lib-commonjs/components/AttachmentTag/AttachmentTag.js.map +1 -1
  115. package/lib-commonjs/components/AttachmentTag/AttachmentTag.types.js +3 -1
  116. package/lib-commonjs/components/AttachmentTag/AttachmentTag.types.js.map +1 -1
  117. package/lib-commonjs/components/AttachmentTag/index.js.map +1 -1
  118. package/lib-commonjs/components/AttachmentTag/renderAttachmentTag.js.map +1 -1
  119. package/lib-commonjs/components/AttachmentTag/useAttachmentTag.js.map +1 -1
  120. package/lib-commonjs/components/AttachmentTag/useAttachmentTagStyles.js +7 -7
  121. package/lib-commonjs/components/AttachmentTag/useAttachmentTagStyles.js.map +1 -1
  122. package/lib-commonjs/components/AttachmentTagItem/AttachmentTagItem.js.map +1 -1
  123. package/lib-commonjs/components/AttachmentTagItem/AttachmentTagItem.types.js +3 -1
  124. package/lib-commonjs/components/AttachmentTagItem/AttachmentTagItem.types.js.map +1 -1
  125. package/lib-commonjs/components/AttachmentTagItem/index.js.map +1 -1
  126. package/lib-commonjs/components/AttachmentTagItem/renderAttachmentTagItem.js.map +1 -1
  127. package/lib-commonjs/components/AttachmentTagItem/useAttachmentTagItem.js.map +1 -1
  128. package/lib-commonjs/components/AttachmentTagItem/useAttachmentTagItemStyles.js.map +1 -1
  129. package/lib-commonjs/components/AttachmentTagList/AttachmentTagList.js.map +1 -1
  130. package/lib-commonjs/components/AttachmentTagList/AttachmentTagList.types.js.map +1 -1
  131. package/lib-commonjs/components/AttachmentTagList/index.js.map +1 -1
  132. package/lib-commonjs/components/AttachmentTagList/renderAttachmentTagList.js.map +1 -1
  133. package/lib-commonjs/components/AttachmentTagList/useAttachmentTagList.js.map +1 -1
  134. package/lib-commonjs/components/AttachmentTagList/useAttachmentTagListContextValues.js.map +1 -1
  135. package/lib-commonjs/components/AttachmentTagList/useAttachmentTagListStyles.js.map +1 -1
  136. package/lib-commonjs/components/index.js.map +1 -1
  137. package/lib-commonjs/components/utils/useAttachmentTagSlots.js.map +1 -1
  138. package/lib-commonjs/contexts/attachmentListContext.js.map +1 -1
  139. package/lib-commonjs/contexts/attachmentOverflowMenuContext.js.map +1 -1
  140. package/lib-commonjs/contexts/attachmentTagListContext.js.map +1 -1
  141. package/lib-commonjs/index.js +83 -83
  142. package/lib-commonjs/index.js.map +1 -1
  143. package/package.json +9 -9
@@ -1 +1 @@
1
- {"version":3,"sources":["AttachmentTagList.js"],"sourcesContent":["import * as React from 'react';\nimport { renderAttachmentTagList_unstable } from './renderAttachmentTagList';\nimport { useAttachmentTagList_unstable } from './useAttachmentTagList';\nimport { useAttachmentTagListContextValues_unstable } from './useAttachmentTagListContextValues';\nimport { useAttachmentTagListStyles_unstable } from './useAttachmentTagListStyles';\nimport { useCustomStyleHook } from '@fluentui-copilot/react-provider';\n/**\n * @deprecated use new AttachmentList component exported from \\@fluentui-copilot/react-attachments package instead.\n * Deprecated on 4/9/2024. Will be removed in the next minor release (0.15.0).\n */\nexport const AttachmentTagList = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useAttachmentTagList_unstable(props, ref);\n const contextValues = useAttachmentTagListContextValues_unstable(state);\n useAttachmentTagListStyles_unstable(state);\n useCustomStyleHook('useAttachmentTagListStyles')(state);\n return renderAttachmentTagList_unstable(state, contextValues);\n});\nAttachmentTagList.displayName = 'AttachmentTagList';\n//# sourceMappingURL=AttachmentTagList.js.map"],"names":["AttachmentTagList","React","forwardRef","props","ref","state","useAttachmentTagList_unstable","contextValues","useAttachmentTagListContextValues_unstable","useAttachmentTagListStyles_unstable","useCustomStyleHook","renderAttachmentTagList_unstable","displayName"],"mappings":";;;;+BAUaA;;;eAAAA;;;;iEAVU;yCAC0B;sCACH;mDACa;4CACP;+BACjB;AAK5B,MAAMA,oBAAoB,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACrE,MAAMC,QAAQC,IAAAA,mDAA6B,EAACH,OAAOC;IACnD,MAAMG,gBAAgBC,IAAAA,6EAA0C,EAACH;IACjEI,IAAAA,+DAAmC,EAACJ;IACpCK,IAAAA,iCAAkB,EAAC,8BAA8BL;IACjD,OAAOM,IAAAA,yDAAgC,EAACN,OAAOE;AACjD;AACAP,kBAAkBY,WAAW,GAAG,qBAChC,6CAA6C"}
1
+ {"version":3,"sources":["AttachmentTagList.tsx"],"sourcesContent":["import * as React from 'react';\nimport { renderAttachmentTagList_unstable } from './renderAttachmentTagList';\nimport { useAttachmentTagList_unstable } from './useAttachmentTagList';\nimport { useAttachmentTagListContextValues_unstable } from './useAttachmentTagListContextValues';\nimport { useAttachmentTagListStyles_unstable } from './useAttachmentTagListStyles';\nimport type { AttachmentTagListProps } from './AttachmentTagList.types';\nimport type { ForwardRefComponent } from '@fluentui/react-components';\nimport { useCustomStyleHook } from '@fluentui-copilot/react-provider';\n\n/**\n * @deprecated use new AttachmentList component exported from \\@fluentui-copilot/react-attachments package instead.\n * Deprecated on 4/9/2024. Will be removed in the next minor release (0.15.0).\n */\nexport const AttachmentTagList: ForwardRefComponent<AttachmentTagListProps> = React.forwardRef((props, ref) => {\n const state = useAttachmentTagList_unstable(props, ref);\n const contextValues = useAttachmentTagListContextValues_unstable(state);\n\n useAttachmentTagListStyles_unstable(state);\n useCustomStyleHook('useAttachmentTagListStyles')(state);\n\n return renderAttachmentTagList_unstable(state, contextValues);\n});\n\nAttachmentTagList.displayName = 'AttachmentTagList';\n"],"names":["state","useAttachmentTagList_unstable","props","ref","contextValues","useAttachmentTagListContextValues_unstable","useAttachmentTagListStyles_unstable","renderAttachmentTagList_unstable","AttachmentTagList"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAcQA;;;eAAAA;;;;iEAde;yCAC0B;sCACH;mDACa;4CACP;+BAGjB;AAOjC,MAAMA,oBAAQC,WAAAA,GAAAA,OAA8BC,UAAOC,CAAAA,CAAAA,OAAAA;UACnDH,QAAMI,IAAAA,mDAAgBC,EAAAA,OAAAA;UAEtBC,gBAAAA,IAAAA,6EAAoCN,EAAAA;uEACjB,EAAAA;yCAEZO,EAAAA,8BAAwCH;IACjD,OAAGG,IAAAA,yDAAA,EAAAP,OAAAI;AAEHI"}
@@ -1 +1 @@
1
- {"version":3,"sources":["AttachmentTagList.types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=AttachmentTagList.types.js.map"],"names":[],"mappings":";;;;CACA,mDAAmD"}
1
+ {"version":3,"sources":["AttachmentTagList.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-components';\nimport type { AttachmentTagListContextValue } from '../../contexts/attachmentTagListContext';\nimport type { AttachmentTagProps } from '../AttachmentTag/AttachmentTag.types';\n\nexport type AttachmentTagListSlots = {\n root: Slot<'div'>;\n};\n\nexport type AttachmentTagDismissedData = {\n content?: AttachmentTagProps['children'];\n media?: AttachmentTagProps['media'];\n};\n\n/**\n * AttachmentTagList Props\n */\nexport type AttachmentTagListProps = ComponentProps<AttachmentTagListSlots> & {\n onAttachmentTagDismiss?: (\n e: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>,\n data: AttachmentTagDismissedData,\n ) => void;\n};\n\n/**\n * State used in rendering AttachmentTagList\n */\nexport type AttachmentTagListState = ComponentState<AttachmentTagListSlots> &\n Pick<AttachmentTagListProps, 'onAttachmentTagDismiss'>;\n\nexport type AttachmentTagListContextValues = {\n tagList: AttachmentTagListContextValue;\n};\n"],"names":[],"rangeMappings":"","mappings":""}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './AttachmentTagList';\nexport * from './AttachmentTagList.types';\nexport * from './renderAttachmentTagList';\nexport * from './useAttachmentTagList';\nexport * from './useAttachmentTagListStyles';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;CACd,iCAAiC"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './AttachmentTagList';\nexport * from './AttachmentTagList.types';\nexport * from './renderAttachmentTagList';\nexport * from './useAttachmentTagList';\nexport * from './useAttachmentTagListStyles';\n"],"names":[],"rangeMappings":";;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["renderAttachmentTagList.js"],"sourcesContent":["import { jsx as _jsx } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-components';\nimport { AttachmentTagListProvider } from '../../contexts/attachmentTagListContext';\n/**\n * Render the final JSX of AttachmentTagList\n */\nexport const renderAttachmentTagList_unstable = (state, contextValues) => {\n assertSlots(state);\n return /*#__PURE__*/_jsx(AttachmentTagListProvider, {\n value: contextValues.tagList,\n children: /*#__PURE__*/_jsx(state.root, {})\n });\n};\n//# sourceMappingURL=renderAttachmentTagList.js.map"],"names":["renderAttachmentTagList_unstable","state","contextValues","assertSlots","_jsx","AttachmentTagListProvider","value","tagList","children","root"],"mappings":";;;;+BAMaA;;;eAAAA;;;4BANe;iCACA;0CACc;AAInC,MAAMA,mCAAmC,CAACC,OAAOC;IACtDC,IAAAA,4BAAW,EAACF;IACZ,OAAO,WAAW,GAAEG,IAAAA,eAAI,EAACC,mDAAyB,EAAE;QAClDC,OAAOJ,cAAcK,OAAO;QAC5BC,UAAU,WAAW,GAAEJ,IAAAA,eAAI,EAACH,MAAMQ,IAAI,EAAE,CAAC;IAC3C;AACF,GACA,mDAAmD"}
1
+ {"version":3,"sources":["renderAttachmentTagList.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\n\nimport { AttachmentTagListProvider } from '../../contexts/attachmentTagListContext';\nimport type {\n AttachmentTagListContextValues,\n AttachmentTagListState,\n AttachmentTagListSlots,\n} from './AttachmentTagList.types';\n\n/**\n * Render the final JSX of AttachmentTagList\n */\nexport const renderAttachmentTagList_unstable = (\n state: AttachmentTagListState,\n contextValues: AttachmentTagListContextValues,\n) => {\n assertSlots<AttachmentTagListSlots>(state);\n\n return (\n <AttachmentTagListProvider value={contextValues.tagList}>\n <state.root />\n </AttachmentTagListProvider>\n );\n};\n"],"names":["assertSlots","state","value","contextValues","tagList"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;+BAmBEA;;;eAAAA;;;4BAnBwB;iCAGE;0CAEc;AAcxCA,MAAAA,mCAAoCC,CAAAA,OAAAA;oCAEpC,EAAAA;WAC6BC,WAAOC,GAAAA,IAAAA,eAAAA,EAAAA,mDAAqB,EAAA;6BACrDC,OAAA;;IAGJ"}
@@ -1 +1 @@
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"}
1
+ {"version":3,"sources":["useAttachmentTagList.ts"],"sourcesContent":["import type * as React from 'react';\n\nimport { getIntrinsicElementProps, slot, useArrowNavigationGroup } from '@fluentui/react-components';\nimport type { AttachmentTagListProps, AttachmentTagListState } from './AttachmentTagList.types';\n\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 = (\n props: AttachmentTagListProps,\n ref: React.Ref<HTMLDivElement>,\n): AttachmentTagListState => {\n const { onAttachmentTagDismiss } = props;\n\n const focusAttributes = useArrowNavigationGroup({\n axis: 'both',\n circular: true,\n });\n\n return {\n onAttachmentTagDismiss,\n\n components: {\n root: 'div',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n 'aria-label': 'Attachments',\n ref,\n role: 'menu',\n ...focusAttributes,\n ...props,\n }),\n { elementType: 'div' },\n ),\n };\n};\n"],"names":["onAttachmentTagDismiss","props","focusAttributes","useArrowNavigationGroup","axis","slot","role","getIntrinsicElementProps","elementType"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAkBUA;;;eAAAA;;;iCAhB8D;AAgBtE,MAAQA,gCAA2BC,CAAAA,OAAAA;UAEnC,wBACQ;UAERC,kBAAAC,IAAAA,wCAAA,EAAA;QAEAC,MAAA;kBACEJ;;;;oBAKMK;kBAEF;;mCAEAC,CAAAA,MAAM,CAAAC,IAAAA,yCAAA,EAAA,OAAA;0BACHL;;kBAGL;8BAAEM;eAAmBP,KAAA;QAEzB,IAAA;YACAO,aAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["useAttachmentTagListContextValues.js"],"sourcesContent":["export function useAttachmentTagListContextValues_unstable(state) {\n const {\n onAttachmentTagDismiss\n } = state;\n // This context is created with \"@fluentui/react-context-selector\", there is no sense to memoize it\n const tagList = {\n onAttachmentTagDismiss\n };\n return {\n tagList\n };\n}\n//# sourceMappingURL=useAttachmentTagListContextValues.js.map"],"names":["useAttachmentTagListContextValues_unstable","state","onAttachmentTagDismiss","tagList"],"mappings":";;;;+BAAgBA;;;eAAAA;;;AAAT,SAASA,2CAA2CC,KAAK;IAC9D,MAAM,EACJC,sBAAsB,EACvB,GAAGD;IACJ,mGAAmG;IACnG,MAAME,UAAU;QACdD;IACF;IACA,OAAO;QACLC;IACF;AACF,EACA,6DAA6D"}
1
+ {"version":3,"sources":["useAttachmentTagListContextValues.ts"],"sourcesContent":["import type { AttachmentTagListContextValues, AttachmentTagListState } from './AttachmentTagList.types';\n\nexport function useAttachmentTagListContextValues_unstable(\n state: AttachmentTagListState,\n): AttachmentTagListContextValues {\n const { onAttachmentTagDismiss } = state;\n\n // This context is created with \"@fluentui/react-context-selector\", there is no sense to memoize it\n const tagList = {\n onAttachmentTagDismiss,\n };\n\n return { tagList };\n}\n"],"names":["useAttachmentTagListContextValues_unstable","state","onAttachmentTagDismiss","tagList"],"rangeMappings":";;;;;;;;;;;;;;;;;","mappings":";;;;+BAEgBA;;;eAAAA;;;AAAT,SAASA,2CACdC,KAA6B;UAE7B,EAEAC,sBAAA,KACAD;uGACEC;UACFC,UAAA;QAEAD;;WAAiB;QACnBC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["useAttachmentTagListStyles.js"],"sourcesContent":["import { __resetStyles, mergeClasses, tokens } from '@fluentui/react-components';\nexport const attachmentTagListClassNames = {\n root: 'fai-AttachmentTagList'\n};\nconst useRootBaseClassName = __resetStyles(\"r168fwfa\", null, [\".r168fwfa{column-gap:var(--spacingHorizontalSNudge);display:flex;flex-direction:row;flex-shrink:0;flex-wrap:wrap;row-gap:var(--spacingVerticalXS);}\"]);\n/**\n * Apply styling to the AttachmentTagList slots based on the state\n */\nexport const useAttachmentTagListStyles_unstable = state => {\n const rootBaseClassName = useRootBaseClassName();\n state.root.className = mergeClasses(attachmentTagListClassNames.root, rootBaseClassName, state.root.className);\n return state;\n};\n//# sourceMappingURL=useAttachmentTagListStyles.js.map"],"names":["attachmentTagListClassNames","useAttachmentTagListStyles_unstable","root","useRootBaseClassName","__resetStyles","state","rootBaseClassName","className","mergeClasses"],"mappings":";;;;;;;;;;;IACaA,2BAA2B;eAA3BA;;IAOAC,mCAAmC;eAAnCA;;;iCARuC;AAC7C,MAAMD,8BAA8B;IACzCE,MAAM;AACR;AACA,MAAMC,uBAAuBC,IAAAA,8BAAa,EAAC,YAAY,MAAM;IAAC;CAAsJ;AAI7M,MAAMH,sCAAsCI,CAAAA;IACjD,MAAMC,oBAAoBH;IAC1BE,MAAMH,IAAI,CAACK,SAAS,GAAGC,IAAAA,6BAAY,EAACR,4BAA4BE,IAAI,EAAEI,mBAAmBD,MAAMH,IAAI,CAACK,SAAS;IAC7G,OAAOF;AACT,GACA,sDAAsD"}
1
+ {"version":3,"sources":["useAttachmentTagListStyles.ts"],"sourcesContent":["import { makeResetStyles, mergeClasses, tokens } from '@fluentui/react-components';\nimport type { AttachmentTagListSlots, AttachmentTagListState } from './AttachmentTagList.types';\nimport type { SlotClassNames } from '@fluentui/react-components';\n\nexport const attachmentTagListClassNames: SlotClassNames<AttachmentTagListSlots> = {\n root: 'fai-AttachmentTagList',\n};\n\nconst useRootBaseClassName = makeResetStyles({\n columnGap: tokens.spacingHorizontalSNudge,\n display: 'flex',\n flexDirection: 'row',\n flexShrink: 0,\n flexWrap: 'wrap',\n rowGap: tokens.spacingVerticalXS,\n});\n\n/**\n * Apply styling to the AttachmentTagList slots based on the state\n */\nexport const useAttachmentTagListStyles_unstable = (state: AttachmentTagListState): AttachmentTagListState => {\n const rootBaseClassName = useRootBaseClassName();\n state.root.className = mergeClasses(attachmentTagListClassNames.root, rootBaseClassName, state.root.className);\n\n return state;\n};\n"],"names":["attachmentTagListClassNames","flexShrink","root","useRootBaseClassName","makeResetStyles","state","flexWrap","rowGap","tokens","spacingVerticalXS","rootBaseClassName","className"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAIaA,2BAAAA;eAAAA;;IAQXC,mCAAY;eAAZA;;;iCAZ4C;AAIvC,MAAMD,8BAAsE;UACjFE;AACF;AAEA,MAAMC,uBAAuBC,IAAAA,8BAAAA,EAAAA,YAAgB,MAAA;IAAA;CAAA;AAI3CH,MAAAA,sCAAYI,CAAAA;UACZC,oBAAUH;UACVI,IAAQC,CAAAA,SAAOC,GAAAA,IAAAA,6BAAiB,EAAAT,4BAAAE,IAAA,EAAAQ,mBAAAL,MAAAH,IAAA,CAAAS,SAAA;IAClC,OAAAN;AAEA"}
@@ -1 +1 @@
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"}
1
+ {"version":3,"sources":["index.ts"],"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"],"names":[],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA"}
@@ -1 +1 @@
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"}
1
+ {"version":3,"sources":["useAttachmentTagSlots.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { getIntrinsicElementProps, mergeCallbacks, slot } from '@fluentui/react-components';\nimport { useHasParentContext } from '@fluentui/react-context-selector';\nimport { Dismiss20Regular, Dismiss20Filled, bundleIcon } from '@fluentui/react-icons';\n\nimport { useAttachmentTagListContext_unstable } from '../../contexts/attachmentTagListContext';\n\nimport { AttachmentTagListContext } from '../../contexts/attachmentTagListContext';\nimport type { AttachmentTagProps, AttachmentTagState } from './../AttachmentTag/AttachmentTag.types';\nimport type { AttachmentTagItemProps, AttachmentTagItemState } from './../AttachmentTagItem/AttachmentTagItem.types';\n\n/**\n * @internal\n * Create the slots required to render AttachmentTag or AttachmentTagItem.\n */\nexport function useAttachmentTagSlots<TAttachmentTagState extends AttachmentTagState | AttachmentTagItemState>(\n props: AttachmentTagProps | AttachmentTagItemProps,\n ref: React.Ref<HTMLButtonElement | HTMLDivElement>,\n options: {\n elementType: TAttachmentTagState['components'];\n },\n): TAttachmentTagState {\n const onAttachmentTagDismiss = useAttachmentTagListContext_unstable(context => context.onAttachmentTagDismiss);\n const { children, role } = props;\n const { elementType } = options;\n\n const DismissIcon = bundleIcon(Dismiss20Filled, Dismiss20Regular);\n\n const hasParentContext = useHasParentContext(AttachmentTagListContext);\n const rootRole = role ?? (hasParentContext ? 'menuitem' : undefined);\n\n const root: TAttachmentTagState['root'] = slot.always(\n getIntrinsicElementProps(elementType.root as 'button' | 'div', {\n ref,\n ...props,\n role: rootRole,\n }),\n { elementType: elementType.root as 'button' | 'div' },\n );\n root.onClick = mergeCallbacks(\n root.onClick as React.MouseEventHandler<HTMLAnchorElement | HTMLButtonElement>,\n (ev: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>) =>\n onAttachmentTagDismiss?.(ev, { content: children, media }),\n );\n\n const media: TAttachmentTagState['media'] = slot.optional(props.media, { elementType: elementType.media });\n\n const content: TAttachmentTagState['content'] = slot.always(props.content, {\n defaultProps: {\n children,\n },\n elementType: elementType.content,\n });\n\n const icon: TAttachmentTagState['icon'] = slot.always(props.icon, {\n defaultProps: {\n children: <DismissIcon />,\n },\n elementType: elementType.icon,\n });\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 } as TAttachmentTagState;\n}\n"],"names":["onAttachmentTagDismiss","useAttachmentTagListContext_unstable","props","children","DismissIcon","role","ref","rootRole","hasParentContext","useHasParentContext","AttachmentTagListContext","elementType","root","undefined","slot","always","getIntrinsicElementProps","content","media","optional","onClick","mergeCallbacks","ev","icon","defaultProps","components","createElement"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAuBQA;;;eAAAA;;;;iEAvBe;iCAEwC;sCAC3B;4BAC0B;0CAET;AAiBnD,SAAMA,sBAAyBC,KAAAA,EAAAA,GAAAA,EAAAA,OAAAA;UAC/BD,yBAA2BE,IAAAA,8DAAAA,EAAAA,CAAAA,UAAAA,QAAAA,sBAAAA;UAC3B,EAEAC,QAAMC,EAENC,IAAA,KACAH;UAEA,aAEII;UAEAD,cAAME,IAAAA,sBAAAA,EAAAA,2BAAAA,EAAAA,4BAAAA;UAERC,mBAAAC,IAAAA,yCAAA,EAAAC,kDAAA;UAAEC,WAAAA,SAAaA,QAAYC,SAAI,KAAA,IAAAP,OAAAG,mBAAA,aAAAK;UAAqBD,OAAAE,qBAAA,CAAAC,MAAA,CAAAC,IAAAA,yCAAA,EAAAL,YAAAC,IAAA,EAAA;QAEtDA;gBAGmCK;;;QAGnCN,aAAMO,YAA2CC,IAASjB;;SAA8CkB,OAAA,GAAAC,IAAAA,+BAAA,EAAAT,KAAAQ,OAAA,EAAAE,CAAAA,KAAAtB,2BAAA,QAAAA,2BAAA,KAAA,IAAA,KAAA,IAAAA,uBAAAsB,IAAA;YAExGL,SAAMA;;;UAGJC,QAAAJ,qBAAA,CAAAK,QAAA,CAAAjB,MAAAgB,KAAA,EAAA;qBACAP,YAAaA,KAAYM;;UAG3BA,UAA0CH,qBAAKC,CAAAA,MAAOb,CAAAA,MAAMqB,OAAM,EAAA;sBAChEC;;;qBAGAb,YAAaA,OAAYY;;UAG3BA,OAAOT,qBAAA,CAAAC,MAAA,CAAAb,MAAAqB,IAAA,EAAA;sBACLE;sBACEb,WAAMD,GAAAA,OAAgBe,aAAA,CAAAtB,aAAA;;qBAEtBa,YAASN,IAAYM;;WAEvB;oBACAL;kBACAM,YAAAA,IAAAA;mBACAD,YAAAA,KAAAA;qBACAM,YAAAA,OAAAA;YACFA,MAAAZ,YAAAY,IAAA;QACF"}
@@ -1 +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"}
1
+ {"version":3,"sources":["attachmentListContext.ts"],"sourcesContent":["import { createContext, useContextSelector } from '@fluentui/react-context-selector';\nimport type { Context, ContextSelector } from '@fluentui/react-context-selector';\nimport type { AttachmentListProps } from '../components/index';\n\nexport const AttachmentListContext: Context<AttachmentListContextValue> = createContext<\n AttachmentListContextValue | undefined\n>(undefined) as Context<AttachmentListContextValue>;\n\nconst attachmentListContextDefaultValue: AttachmentListContextValue = {\n onAttachmentDismiss: () => null,\n};\n\n/**\n * Context shared between AttachmentList and its children components\n */\nexport type AttachmentListContextValue = Pick<AttachmentListProps, 'onAttachmentDismiss'>;\n\nexport const AttachmentListProvider = AttachmentListContext.Provider;\n\nexport const useAttachmentListContext_unstable = <T>(selector: ContextSelector<AttachmentListContextValue, T>) =>\n useContextSelector(AttachmentListContext, (ctx = attachmentListContextDefaultValue) => selector(ctx));\n"],"names":["AttachmentListContext","AttachmentListProvider","useAttachmentListContext_unstable","createContext","undefined","attachmentListContextDefaultValue","onAttachmentDismiss","Provider","selector","useContextSelector","ctx"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAIaA,qBAAAA;eAAAA;;IAaAC,sBAAAA;eAAAA;;IAEAC,iCAAAA;eAAAA;;;sCAnBqC;AAI3C,MAAMF,wBAA6DG,IAAAA,mCAAAA,EAExEC;AAEF,MAAMC,oCAAgE;yBACpEC,IAA2B;AAC7B;AAOO,MAAML,yBAAyBD,sBAAsBO,QAAQ;AAE7D,MAAML,oCAAoCM,CAAAA,WAC/CC,IAAAA,wCAAAA,EAAmBT,uBAAuB,CAACU,MAAML,iCAAiC,GAAKG,SAASE"}
@@ -1 +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"}
1
+ {"version":3,"sources":["attachmentOverflowMenuContext.ts"],"sourcesContent":["import { createContext, useContextSelector } from '@fluentui/react-context-selector';\nimport type { Context, ContextSelector } from '@fluentui/react-context-selector';\nimport type { AttachmentOverflowMenuState } from '../components/index';\n\nexport const AttachmentOverflowMenuContext: Context<AttachmentOverflowMenuContextValue> = createContext<\n AttachmentOverflowMenuContextValue | undefined\n>(undefined) as Context<AttachmentOverflowMenuContextValue>;\n\nconst overflowMenuContextDefaultValue: AttachmentOverflowMenuContextValue = {\n isOverflowing: false,\n overflowButtonRef: undefined,\n overflowCount: 0,\n};\n\n/**\n * Context shared between AttachmentOverflowMenu and its children components\n */\nexport type AttachmentOverflowMenuContextValue = Pick<\n AttachmentOverflowMenuState,\n 'isOverflowing' | 'overflowButtonRef' | 'overflowCount'\n>;\nexport const AttachmentOverflowMenuProvider = AttachmentOverflowMenuContext.Provider;\n\nexport const useAttachmentOverflowMenuContext_unstable = <T>(\n selector: ContextSelector<AttachmentOverflowMenuContextValue, T>,\n) => useContextSelector(AttachmentOverflowMenuContext, (ctx = overflowMenuContextDefaultValue) => selector(ctx));\n"],"names":["AttachmentOverflowMenuContext","AttachmentOverflowMenuProvider","useAttachmentOverflowMenuContext_unstable","createContext","undefined","overflowMenuContextDefaultValue","isOverflowing","overflowButtonRef","overflowCount","Provider","selector","useContextSelector","ctx"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAIaA,6BAAAA;eAAAA;;IAiBAC,8BAAAA;eAAAA;;IAEAC,yCAAAA;eAAAA;;;sCAvBqC;AAI3C,MAAMF,gCAA6EG,IAAAA,mCAAAA,EAExFC;AAEF,MAAMC,kCAAsE;mBAC1EC;uBACAC;mBACAC;AACF;AASO,MAAMP,iCAAiCD,8BAA8BS,QAAQ;AAE7E,MAAMP,4CAA4CQ,CAAAA,WAEpDC,IAAAA,wCAAAA,EAAmBX,+BAA+B,CAACY,MAAMP,+BAA+B,GAAKK,SAASE"}
@@ -1 +1 @@
1
- {"version":3,"sources":["attachmentTagListContext.js"],"sourcesContent":["import { createContext, useContextSelector } from '@fluentui/react-context-selector';\nexport const AttachmentTagListContext = createContext(undefined);\nconst tagListContextDefaultValue = {\n onAttachmentTagDismiss: () => null\n};\nexport const AttachmentTagListProvider = AttachmentTagListContext.Provider;\nexport const useAttachmentTagListContext_unstable = selector => useContextSelector(AttachmentTagListContext, (ctx = tagListContextDefaultValue) => selector(ctx));\n//# sourceMappingURL=attachmentTagListContext.js.map"],"names":["AttachmentTagListContext","AttachmentTagListProvider","useAttachmentTagListContext_unstable","createContext","undefined","tagListContextDefaultValue","onAttachmentTagDismiss","Provider","selector","useContextSelector","ctx"],"mappings":";;;;;;;;;;;IACaA,wBAAwB;eAAxBA;;IAIAC,yBAAyB;eAAzBA;;IACAC,oCAAoC;eAApCA;;;sCANqC;AAC3C,MAAMF,2BAA2BG,IAAAA,mCAAa,EAACC;AACtD,MAAMC,6BAA6B;IACjCC,wBAAwB,IAAM;AAChC;AACO,MAAML,4BAA4BD,yBAAyBO,QAAQ;AACnE,MAAML,uCAAuCM,CAAAA,WAAYC,IAAAA,wCAAkB,EAACT,0BAA0B,CAACU,MAAML,0BAA0B,GAAKG,SAASE,OAC5J,oDAAoD"}
1
+ {"version":3,"sources":["attachmentTagListContext.ts"],"sourcesContent":["import { createContext, useContextSelector } from '@fluentui/react-context-selector';\nimport type { Context, ContextSelector } from '@fluentui/react-context-selector';\nimport type { AttachmentTagListProps } from '../components/index';\n\nexport const AttachmentTagListContext: Context<AttachmentTagListContextValue> = createContext<\n AttachmentTagListContextValue | undefined\n>(undefined) as Context<AttachmentTagListContextValue>;\n\nconst tagListContextDefaultValue: AttachmentTagListContextValue = {\n onAttachmentTagDismiss: () => null,\n};\n\n/**\n * Context shared between AttachmentTagList and its children components\n */\nexport type AttachmentTagListContextValue = Pick<AttachmentTagListProps, 'onAttachmentTagDismiss'>;\n\nexport const AttachmentTagListProvider = AttachmentTagListContext.Provider;\n\nexport const useAttachmentTagListContext_unstable = <T>(selector: ContextSelector<AttachmentTagListContextValue, T>) =>\n useContextSelector(AttachmentTagListContext, (ctx = tagListContextDefaultValue) => selector(ctx));\n"],"names":["AttachmentTagListContext","AttachmentTagListProvider","useAttachmentTagListContext_unstable","createContext","undefined","tagListContextDefaultValue","onAttachmentTagDismiss","Provider","selector","useContextSelector","ctx"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAIaA,wBAAAA;eAAAA;;IAaAC,yBAAAA;eAAAA;;IAEAC,oCAAAA;eAAAA;;;sCAnBqC;AAI3C,MAAMF,2BAAmEG,IAAAA,mCAAAA,EAE9EC;AAEF,MAAMC,6BAA4D;4BAChEC,IAA8B;AAChC;AAOO,MAAML,4BAA4BD,yBAAyBO,QAAQ;AAEnE,MAAML,uCAAuCM,CAAAA,WAClDC,IAAAA,wCAAAA,EAAmBT,0BAA0B,CAACU,MAAML,0BAA0B,GAAKG,SAASE"}
@@ -9,116 +9,95 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- AttachmentTag: function() {
13
- return _AttachmentTag.AttachmentTag;
12
+ Attachment: function() {
13
+ return _Attachment.Attachment;
14
14
  },
15
- attachmentTagClassNames: function() {
16
- return _AttachmentTag.attachmentTagClassNames;
15
+ AttachmentList: function() {
16
+ return _AttachmentList.AttachmentList;
17
17
  },
18
- renderAttachmentTag_unstable: function() {
19
- return _AttachmentTag.renderAttachmentTag_unstable;
18
+ AttachmentListContext: function() {
19
+ return _attachmentListContext.AttachmentListContext;
20
20
  },
21
- useAttachmentTagStyles_unstable: function() {
22
- return _AttachmentTag.useAttachmentTagStyles_unstable;
21
+ AttachmentListProvider: function() {
22
+ return _attachmentListContext.AttachmentListProvider;
23
23
  },
24
- useAttachmentTag_unstable: function() {
25
- return _AttachmentTag.useAttachmentTag_unstable;
24
+ AttachmentOverflowMenu: function() {
25
+ return _AttachmentOverflowMenu.AttachmentOverflowMenu;
26
26
  },
27
- AttachmentTagList: function() {
28
- return _AttachmentTagList.AttachmentTagList;
27
+ AttachmentOverflowMenuButton: function() {
28
+ return _AttachmentOverflowMenuButton.AttachmentOverflowMenuButton;
29
29
  },
30
- attachmentTagListClassNames: function() {
31
- return _AttachmentTagList.attachmentTagListClassNames;
30
+ AttachmentOverflowMenuContext: function() {
31
+ return _attachmentOverflowMenuContext.AttachmentOverflowMenuContext;
32
32
  },
33
- renderAttachmentTagList_unstable: function() {
34
- return _AttachmentTagList.renderAttachmentTagList_unstable;
33
+ AttachmentOverflowMenuItem: function() {
34
+ return _AttachmentOverflowMenuItem.AttachmentOverflowMenuItem;
35
35
  },
36
- useAttachmentTagListStyles_unstable: function() {
37
- return _AttachmentTagList.useAttachmentTagListStyles_unstable;
36
+ AttachmentOverflowMenuProvider: function() {
37
+ return _attachmentOverflowMenuContext.AttachmentOverflowMenuProvider;
38
38
  },
39
- useAttachmentTagList_unstable: function() {
40
- return _AttachmentTagList.useAttachmentTagList_unstable;
39
+ AttachmentTag: function() {
40
+ return _AttachmentTag.AttachmentTag;
41
41
  },
42
42
  AttachmentTagItem: function() {
43
43
  return _AttachmentTagItem.AttachmentTagItem;
44
44
  },
45
- attachmentTagItemClassNames: function() {
46
- return _AttachmentTagItem.attachmentTagItemClassNames;
47
- },
48
- renderAttachmentTagItem_unstable: function() {
49
- return _AttachmentTagItem.renderAttachmentTagItem_unstable;
50
- },
51
- useAttachmentTagItemStyles_unstable: function() {
52
- return _AttachmentTagItem.useAttachmentTagItemStyles_unstable;
53
- },
54
- useAttachmentTagItem_unstable: function() {
55
- return _AttachmentTagItem.useAttachmentTagItem_unstable;
45
+ AttachmentTagList: function() {
46
+ return _AttachmentTagList.AttachmentTagList;
56
47
  },
57
- AttachmentList: function() {
58
- return _AttachmentList.AttachmentList;
48
+ attachmentClassNames: function() {
49
+ return _Attachment.attachmentClassNames;
59
50
  },
60
51
  attachmentListClassNames: function() {
61
52
  return _AttachmentList.attachmentListClassNames;
62
53
  },
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;
54
+ attachmentOverflowMenuButtonClassNames: function() {
55
+ return _AttachmentOverflowMenuButton.attachmentOverflowMenuButtonClassNames;
77
56
  },
78
- useAttachmentListContext_unstable: function() {
79
- return _attachmentListContext.useAttachmentListContext_unstable;
57
+ attachmentOverflowMenuItemClassNames: function() {
58
+ return _AttachmentOverflowMenuItem.attachmentOverflowMenuItemClassNames;
80
59
  },
81
- Attachment: function() {
82
- return _Attachment.Attachment;
60
+ attachmentTagClassNames: function() {
61
+ return _AttachmentTag.attachmentTagClassNames;
83
62
  },
84
- attachmentClassNames: function() {
85
- return _Attachment.attachmentClassNames;
63
+ attachmentTagItemClassNames: function() {
64
+ return _AttachmentTagItem.attachmentTagItemClassNames;
86
65
  },
87
- renderAttachment_unstable: function() {
88
- return _Attachment.renderAttachment_unstable;
66
+ attachmentTagListClassNames: function() {
67
+ return _AttachmentTagList.attachmentTagListClassNames;
89
68
  },
90
- useAttachmentStyles_unstable: function() {
91
- return _Attachment.useAttachmentStyles_unstable;
69
+ renderAttachmentList_unstable: function() {
70
+ return _AttachmentList.renderAttachmentList_unstable;
92
71
  },
93
- useAttachment_unstable: function() {
94
- return _Attachment.useAttachment_unstable;
72
+ renderAttachmentOverflowMenuButton_unstable: function() {
73
+ return _AttachmentOverflowMenuButton.renderAttachmentOverflowMenuButton_unstable;
95
74
  },
96
- AttachmentOverflowMenu: function() {
97
- return _AttachmentOverflowMenu.AttachmentOverflowMenu;
75
+ renderAttachmentOverflowMenuItem_unstable: function() {
76
+ return _AttachmentOverflowMenuItem.renderAttachmentOverflowMenuItem_unstable;
98
77
  },
99
78
  renderAttachmentOverflowMenu_unstable: function() {
100
79
  return _AttachmentOverflowMenu.renderAttachmentOverflowMenu_unstable;
101
80
  },
102
- useAttachmentOverflowMenu_unstable: function() {
103
- return _AttachmentOverflowMenu.useAttachmentOverflowMenu_unstable;
81
+ renderAttachmentTagItem_unstable: function() {
82
+ return _AttachmentTagItem.renderAttachmentTagItem_unstable;
104
83
  },
105
- AttachmentOverflowMenuContext: function() {
106
- return _attachmentOverflowMenuContext.AttachmentOverflowMenuContext;
84
+ renderAttachmentTagList_unstable: function() {
85
+ return _AttachmentTagList.renderAttachmentTagList_unstable;
107
86
  },
108
- AttachmentOverflowMenuProvider: function() {
109
- return _attachmentOverflowMenuContext.AttachmentOverflowMenuProvider;
87
+ renderAttachmentTag_unstable: function() {
88
+ return _AttachmentTag.renderAttachmentTag_unstable;
110
89
  },
111
- useAttachmentOverflowMenuContext_unstable: function() {
112
- return _attachmentOverflowMenuContext.useAttachmentOverflowMenuContext_unstable;
90
+ renderAttachment_unstable: function() {
91
+ return _Attachment.renderAttachment_unstable;
113
92
  },
114
- AttachmentOverflowMenuButton: function() {
115
- return _AttachmentOverflowMenuButton.AttachmentOverflowMenuButton;
93
+ useAttachmentListContext_unstable: function() {
94
+ return _attachmentListContext.useAttachmentListContext_unstable;
116
95
  },
117
- attachmentOverflowMenuButtonClassNames: function() {
118
- return _AttachmentOverflowMenuButton.attachmentOverflowMenuButtonClassNames;
96
+ useAttachmentListStyles_unstable: function() {
97
+ return _AttachmentList.useAttachmentListStyles_unstable;
119
98
  },
120
- renderAttachmentOverflowMenuButton_unstable: function() {
121
- return _AttachmentOverflowMenuButton.renderAttachmentOverflowMenuButton_unstable;
99
+ useAttachmentList_unstable: function() {
100
+ return _AttachmentList.useAttachmentList_unstable;
122
101
  },
123
102
  useAttachmentOverflowMenuButtonStyles_unstable: function() {
124
103
  return _AttachmentOverflowMenuButton.useAttachmentOverflowMenuButtonStyles_unstable;
@@ -126,20 +105,41 @@ _export(exports, {
126
105
  useAttachmentOverflowMenuButton_unstable: function() {
127
106
  return _AttachmentOverflowMenuButton.useAttachmentOverflowMenuButton_unstable;
128
107
  },
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;
108
+ useAttachmentOverflowMenuContext_unstable: function() {
109
+ return _attachmentOverflowMenuContext.useAttachmentOverflowMenuContext_unstable;
137
110
  },
138
111
  useAttachmentOverflowMenuItemStyles_unstable: function() {
139
112
  return _AttachmentOverflowMenuItem.useAttachmentOverflowMenuItemStyles_unstable;
140
113
  },
141
114
  useAttachmentOverflowMenuItem_unstable: function() {
142
115
  return _AttachmentOverflowMenuItem.useAttachmentOverflowMenuItem_unstable;
116
+ },
117
+ useAttachmentOverflowMenu_unstable: function() {
118
+ return _AttachmentOverflowMenu.useAttachmentOverflowMenu_unstable;
119
+ },
120
+ useAttachmentStyles_unstable: function() {
121
+ return _Attachment.useAttachmentStyles_unstable;
122
+ },
123
+ useAttachmentTagItemStyles_unstable: function() {
124
+ return _AttachmentTagItem.useAttachmentTagItemStyles_unstable;
125
+ },
126
+ useAttachmentTagItem_unstable: function() {
127
+ return _AttachmentTagItem.useAttachmentTagItem_unstable;
128
+ },
129
+ useAttachmentTagListStyles_unstable: function() {
130
+ return _AttachmentTagList.useAttachmentTagListStyles_unstable;
131
+ },
132
+ useAttachmentTagList_unstable: function() {
133
+ return _AttachmentTagList.useAttachmentTagList_unstable;
134
+ },
135
+ useAttachmentTagStyles_unstable: function() {
136
+ return _AttachmentTag.useAttachmentTagStyles_unstable;
137
+ },
138
+ useAttachmentTag_unstable: function() {
139
+ return _AttachmentTag.useAttachmentTag_unstable;
140
+ },
141
+ useAttachment_unstable: function() {
142
+ return _Attachment.useAttachment_unstable;
143
143
  }
144
144
  });
145
145
  const _AttachmentTag = require("./AttachmentTag");
@@ -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 { 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"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export type { AttachmentTagProps, AttachmentTagSlots, AttachmentTagState } from './AttachmentTag';\nexport {\n AttachmentTag,\n attachmentTagClassNames,\n renderAttachmentTag_unstable,\n useAttachmentTagStyles_unstable,\n useAttachmentTag_unstable,\n} from './AttachmentTag';\nexport type {\n AttachmentTagDismissedData,\n AttachmentTagListProps,\n AttachmentTagListSlots,\n AttachmentTagListState,\n} from './AttachmentTagList';\nexport {\n AttachmentTagList,\n attachmentTagListClassNames,\n renderAttachmentTagList_unstable,\n useAttachmentTagListStyles_unstable,\n useAttachmentTagList_unstable,\n} from './AttachmentTagList';\n\nexport type { AttachmentTagItemProps, AttachmentTagItemSlots, AttachmentTagItemState } from './AttachmentTagItem';\nexport {\n AttachmentTagItem,\n attachmentTagItemClassNames,\n renderAttachmentTagItem_unstable,\n useAttachmentTagItemStyles_unstable,\n useAttachmentTagItem_unstable,\n} from './AttachmentTagItem';\n\nexport type { AttachmentListProps, AttachmentListSlots, AttachmentListState } from './AttachmentList';\nexport {\n AttachmentList,\n attachmentListClassNames,\n renderAttachmentList_unstable,\n useAttachmentListStyles_unstable,\n useAttachmentList_unstable,\n} from './AttachmentList';\nexport type { AttachmentListContextValue } from './contexts/attachmentListContext';\nexport {\n AttachmentListContext,\n AttachmentListProvider,\n useAttachmentListContext_unstable,\n} from './contexts/attachmentListContext';\nexport type { AttachmentProps, AttachmentSlots, AttachmentState } from './Attachment';\nexport {\n Attachment,\n attachmentClassNames,\n renderAttachment_unstable,\n useAttachmentStyles_unstable,\n useAttachment_unstable,\n} from './Attachment';\n\nexport type {\n AttachmentOverflowMenuProps,\n AttachmentOverflowMenuSlots,\n AttachmentOverflowMenuState,\n} from './AttachmentOverflowMenu';\nexport {\n AttachmentOverflowMenu,\n renderAttachmentOverflowMenu_unstable,\n useAttachmentOverflowMenu_unstable,\n} from './AttachmentOverflowMenu';\n\nexport type { AttachmentOverflowMenuContextValue } from './contexts/attachmentOverflowMenuContext';\nexport {\n AttachmentOverflowMenuContext,\n AttachmentOverflowMenuProvider,\n useAttachmentOverflowMenuContext_unstable,\n} from './contexts/attachmentOverflowMenuContext';\n\nexport type {\n AttachmentOverflowMenuButtonProps,\n AttachmentOverflowMenuButtonSlots,\n AttachmentOverflowMenuButtonState,\n} from './AttachmentOverflowMenuButton';\nexport {\n AttachmentOverflowMenuButton,\n attachmentOverflowMenuButtonClassNames,\n renderAttachmentOverflowMenuButton_unstable,\n useAttachmentOverflowMenuButtonStyles_unstable,\n useAttachmentOverflowMenuButton_unstable,\n} from './AttachmentOverflowMenuButton';\n\nexport type {\n AttachmentOverflowMenuItemProps,\n AttachmentOverflowMenuItemSlots,\n AttachmentOverflowMenuItemState,\n} from './AttachmentOverflowMenuItem';\nexport {\n AttachmentOverflowMenuItem,\n attachmentOverflowMenuItemClassNames,\n renderAttachmentOverflowMenuItem_unstable,\n useAttachmentOverflowMenuItemStyles_unstable,\n useAttachmentOverflowMenuItem_unstable,\n} from './AttachmentOverflowMenuItem';\n"],"names":["Attachment","AttachmentList","AttachmentListContext","AttachmentListProvider","AttachmentOverflowMenu","AttachmentOverflowMenuButton","AttachmentOverflowMenuContext","AttachmentOverflowMenuItem","AttachmentOverflowMenuProvider","AttachmentTag","AttachmentTagItem","AttachmentTagList","attachmentClassNames","attachmentListClassNames","attachmentOverflowMenuButtonClassNames","attachmentOverflowMenuItemClassNames","attachmentTagClassNames","attachmentTagItemClassNames","attachmentTagListClassNames","renderAttachmentList_unstable","renderAttachmentOverflowMenuButton_unstable","renderAttachmentOverflowMenuItem_unstable","renderAttachmentOverflowMenu_unstable","renderAttachmentTagItem_unstable","renderAttachmentTagList_unstable","renderAttachmentTag_unstable","renderAttachment_unstable","useAttachmentListContext_unstable","useAttachmentListStyles_unstable","useAttachmentList_unstable","useAttachmentOverflowMenuButtonStyles_unstable","useAttachmentOverflowMenuButton_unstable","useAttachmentOverflowMenuContext_unstable","useAttachmentOverflowMenuItemStyles_unstable","useAttachmentOverflowMenuItem_unstable","useAttachmentOverflowMenu_unstable","useAttachmentStyles_unstable","useAttachmentTagItemStyles_unstable","useAttachmentTagItem_unstable","useAttachmentTagListStyles_unstable","useAttachmentTagList_unstable","useAttachmentTagStyles_unstable","useAttachmentTag_unstable","useAttachment_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA+CEA,UAAU;eAAVA,sBAAU;;IAdVC,cAAc;eAAdA,8BAAc;;IAQdC,qBAAqB;eAArBA,4CAAqB;;IACrBC,sBAAsB;eAAtBA,6CAAsB;;IAkBtBC,sBAAsB;eAAtBA,8CAAsB;;IAkBtBC,4BAA4B;eAA5BA,0DAA4B;;IAX5BC,6BAA6B;eAA7BA,4DAA6B;;IAwB7BC,0BAA0B;eAA1BA,sDAA0B;;IAvB1BC,8BAA8B;eAA9BA,6DAA8B;;IAlE9BC,aAAa;eAAbA,4BAAa;;IAsBbC,iBAAiB;eAAjBA,oCAAiB;;IATjBC,iBAAiB;eAAjBA,oCAAiB;;IAiCjBC,oBAAoB;eAApBA,gCAAoB;;IAdpBC,wBAAwB;eAAxBA,wCAAwB;;IA6CxBC,sCAAsC;eAAtCA,oEAAsC;;IAatCC,oCAAoC;eAApCA,gEAAoC;;IAzFpCC,uBAAuB;eAAvBA,sCAAuB;;IAsBvBC,2BAA2B;eAA3BA,8CAA2B;;IAT3BC,2BAA2B;eAA3BA,8CAA2B;;IAmB3BC,6BAA6B;eAA7BA,6CAA6B;;IA6C7BC,2CAA2C;eAA3CA,yEAA2C;;IAa3CC,yCAAyC;eAAzCA,qEAAyC;;IAhCzCC,qCAAqC;eAArCA,6DAAqC;;IAnCrCC,gCAAgC;eAAhCA,mDAAgC;;IAThCC,gCAAgC;eAAhCA,mDAAgC;;IAbhCC,4BAA4B;eAA5BA,2CAA4B;;IA6C5BC,yBAAyB;eAAzBA,qCAAyB;;IANzBC,iCAAiC;eAAjCA,wDAAiC;;IAPjCC,gCAAgC;eAAhCA,gDAAgC;;IAChCC,0BAA0B;eAA1BA,0CAA0B;;IA4C1BC,8CAA8C;eAA9CA,4EAA8C;;IAC9CC,wCAAwC;eAAxCA,sEAAwC;;IAbxCC,yCAAyC;eAAzCA,wEAAyC;;IAyBzCC,4CAA4C;eAA5CA,wEAA4C;;IAC5CC,sCAAsC;eAAtCA,kEAAsC;;IAjCtCC,kCAAkC;eAAlCA,0DAAkC;;IAZlCC,4BAA4B;eAA5BA,wCAA4B;;IAvB5BC,mCAAmC;eAAnCA,sDAAmC;;IACnCC,6BAA6B;eAA7BA,gDAA6B;;IAV7BC,mCAAmC;eAAnCA,sDAAmC;;IACnCC,6BAA6B;eAA7BA,gDAA6B;;IAd7BC,+BAA+B;eAA/BA,8CAA+B;;IAC/BC,yBAAyB;eAAzBA,wCAAyB;;IA6CzBC,sBAAsB;eAAtBA,kCAAsB;;;+BA5CjB;mCAaA;mCASA;gCASA;uCAMA;4BAQA;wCAWA;+CAOA;8CAaA;4CAaA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-copilot/react-attachments",
3
- "version": "0.0.0-nightly-20240426-0405-4698d75c.1",
3
+ "version": "0.0.0-nightly-20240501-0406-278a94d6.1",
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",
@@ -12,17 +12,17 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@fluentui-copilot/react-provider": "0.0.0-nightly-20240426-0405-4698d75c.1",
15
+ "@fluentui-copilot/react-provider": "0.0.0-nightly-20240501-0406-278a94d6.1",
16
16
  "@swc/helpers": "^0.5.1"
17
17
  },
18
18
  "peerDependencies": {
19
- "@fluentui/keyboard-keys": ">=9.0.4 <10.0.0",
20
- "@fluentui/react-components": ">=9.37.3 <10.0.0",
21
- "@fluentui/react-context-selector": ">=9.1.34 <10.0.0",
22
- "@fluentui/react-icons": ">=2.0.217 <3.0.0",
23
- "@fluentui/react-jsx-runtime": ">=9.0.18 <10.0.0",
24
- "@fluentui/react-overflow": ">=9.0.18 <10.0.0",
25
- "@fluentui/react-shared-contexts": ">=9.11.1 <10.0.0",
19
+ "@fluentui/keyboard-keys": ">=9.0.7 <10.0.0",
20
+ "@fluentui/react-components": ">=9.49.0 <10.0.0",
21
+ "@fluentui/react-context-selector": ">=9.1.58 <10.0.0",
22
+ "@fluentui/react-icons": ">=2.0.237 <3.0.0",
23
+ "@fluentui/react-jsx-runtime": ">=9.0.36 <10.0.0",
24
+ "@fluentui/react-overflow": ">=9.1.17 <10.0.0",
25
+ "@fluentui/react-shared-contexts": ">=9.17.0 <10.0.0",
26
26
  "@types/react": ">=16.14.0 <19.0.0",
27
27
  "@types/react-dom": ">=16.9.8 <19.0.0",
28
28
  "react": ">=16.14.0 <19.0.0",