@fluentui-copilot/react-attachments 0.8.3 → 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 (120) hide show
  1. package/CHANGELOG.json +42 -1
  2. package/CHANGELOG.md +18 -2
  3. package/dist/index.d.ts +152 -4
  4. package/lib/AttachmentOverflowMenu.js +2 -0
  5. package/lib/AttachmentOverflowMenu.js.map +1 -0
  6. package/lib/AttachmentOverflowMenuButton.js +2 -0
  7. package/lib/AttachmentOverflowMenuButton.js.map +1 -0
  8. package/lib/AttachmentOverflowMenuItem.js +2 -0
  9. package/lib/AttachmentOverflowMenuItem.js.map +1 -0
  10. package/lib/components/AttachmentList/AttachmentList.types.js.map +1 -1
  11. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js +15 -0
  12. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +1 -0
  13. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js +2 -0
  14. package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +1 -0
  15. package/lib/components/AttachmentOverflowMenu/index.js +6 -0
  16. package/lib/components/AttachmentOverflowMenu/index.js.map +1 -0
  17. package/lib/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js +18 -0
  18. package/lib/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +1 -0
  19. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js +24 -0
  20. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +1 -0
  21. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js +17 -0
  22. package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +1 -0
  23. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js +11 -0
  24. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +1 -0
  25. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +2 -0
  26. package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +1 -0
  27. package/lib/components/AttachmentOverflowMenuButton/index.js +6 -0
  28. package/lib/components/AttachmentOverflowMenuButton/index.js.map +1 -0
  29. package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +14 -0
  30. package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +1 -0
  31. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +32 -0
  32. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +1 -0
  33. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js +17 -0
  34. package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js.map +1 -0
  35. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js +11 -0
  36. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +1 -0
  37. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +2 -0
  38. package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +1 -0
  39. package/lib/components/AttachmentOverflowMenuItem/index.js +6 -0
  40. package/lib/components/AttachmentOverflowMenuItem/index.js.map +1 -0
  41. package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +10 -0
  42. package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +1 -0
  43. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +41 -0
  44. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +1 -0
  45. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js +14 -0
  46. package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js.map +1 -0
  47. package/lib/components/AttachmentTag/AttachmentTag.js +4 -1
  48. package/lib/components/AttachmentTag/AttachmentTag.js.map +1 -1
  49. package/lib/components/AttachmentTag/useAttachmentTag.js.map +1 -1
  50. package/lib/components/AttachmentTagItem/AttachmentTagItem.js +4 -0
  51. package/lib/components/AttachmentTagItem/AttachmentTagItem.js.map +1 -1
  52. package/lib/components/AttachmentTagItem/useAttachmentTagItem.js.map +1 -1
  53. package/lib/components/AttachmentTagList/AttachmentTagList.js +4 -1
  54. package/lib/components/AttachmentTagList/AttachmentTagList.js.map +1 -1
  55. package/lib/components/AttachmentTagList/useAttachmentTagList.js +2 -2
  56. package/lib/components/AttachmentTagList/useAttachmentTagList.js.map +1 -1
  57. package/lib/components/index.js +3 -0
  58. package/lib/components/index.js.map +1 -1
  59. package/lib/components/utils/useAttachmentTagSlots.js +2 -2
  60. package/lib/components/utils/useAttachmentTagSlots.js.map +1 -1
  61. package/lib/contexts/attachmentOverflowMenuContext.js +10 -0
  62. package/lib/contexts/attachmentOverflowMenuContext.js.map +1 -0
  63. package/lib/index.js +4 -0
  64. package/lib/index.js.map +1 -1
  65. package/lib-commonjs/AttachmentOverflowMenu.js +7 -0
  66. package/lib-commonjs/AttachmentOverflowMenu.js.map +1 -0
  67. package/lib-commonjs/AttachmentOverflowMenuButton.js +7 -0
  68. package/lib-commonjs/AttachmentOverflowMenuButton.js.map +1 -0
  69. package/lib-commonjs/AttachmentOverflowMenuItem.js +7 -0
  70. package/lib-commonjs/AttachmentOverflowMenuItem.js.map +1 -0
  71. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js +24 -0
  72. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +1 -0
  73. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js +5 -0
  74. package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +1 -0
  75. package/lib-commonjs/components/AttachmentOverflowMenu/index.js +11 -0
  76. package/lib-commonjs/components/AttachmentOverflowMenu/index.js.map +1 -0
  77. package/lib-commonjs/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js +21 -0
  78. package/lib-commonjs/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +1 -0
  79. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js +21 -0
  80. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +1 -0
  81. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js +22 -0
  82. package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +1 -0
  83. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js +21 -0
  84. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +1 -0
  85. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +5 -0
  86. package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +1 -0
  87. package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js +11 -0
  88. package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js.map +1 -0
  89. package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +24 -0
  90. package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +1 -0
  91. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +28 -0
  92. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +1 -0
  93. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js +37 -0
  94. package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.js.map +1 -0
  95. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js +21 -0
  96. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +1 -0
  97. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +5 -0
  98. package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +1 -0
  99. package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js +11 -0
  100. package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js.map +1 -0
  101. package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +16 -0
  102. package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +1 -0
  103. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +39 -0
  104. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +1 -0
  105. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js +28 -0
  106. package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.js.map +1 -0
  107. package/lib-commonjs/components/AttachmentTag/AttachmentTag.js.map +1 -1
  108. package/lib-commonjs/components/AttachmentTagItem/AttachmentTagItem.js.map +1 -1
  109. package/lib-commonjs/components/AttachmentTagList/AttachmentTagList.js.map +1 -1
  110. package/lib-commonjs/components/AttachmentTagList/useAttachmentTagList.js +1 -1
  111. package/lib-commonjs/components/AttachmentTagList/useAttachmentTagList.js.map +1 -1
  112. package/lib-commonjs/components/index.js +3 -0
  113. package/lib-commonjs/components/index.js.map +1 -1
  114. package/lib-commonjs/components/utils/useAttachmentTagSlots.js +1 -1
  115. package/lib-commonjs/components/utils/useAttachmentTagSlots.js.map +1 -1
  116. package/lib-commonjs/contexts/attachmentOverflowMenuContext.js +30 -0
  117. package/lib-commonjs/contexts/attachmentOverflowMenuContext.js.map +1 -0
  118. package/lib-commonjs/index.js +52 -0
  119. package/lib-commonjs/index.js.map +1 -1
  120. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "renderAttachmentOverflowMenuButton_unstable", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return renderAttachmentOverflowMenuButton_unstable;
9
+ }
10
+ });
11
+ const _jsxruntime = require("@fluentui/react-jsx-runtime/jsx-runtime");
12
+ const _reactcomponents = require("@fluentui/react-components");
13
+ const renderAttachmentOverflowMenuButton_unstable = (state)=>{
14
+ (0, _reactcomponents.assertSlots)(state);
15
+ return state.isOverflowing ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_reactcomponents.MenuTrigger, {
16
+ children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(state.root, {
17
+ children: [
18
+ " +",
19
+ state.overflowCount,
20
+ " "
21
+ ]
22
+ })
23
+ }) : null;
24
+ }; //# sourceMappingURL=renderAttachmentOverflowMenuButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["renderAttachmentOverflowMenuButton.js"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { MenuTrigger, assertSlots } from '@fluentui/react-components';\n/**\n * Render the final JSX of AttachmentOverflowMenuButton\n */\nexport const renderAttachmentOverflowMenuButton_unstable = state => {\n assertSlots(state);\n return state.isOverflowing ? /*#__PURE__*/_jsx(MenuTrigger, {\n children: /*#__PURE__*/_jsxs(state.root, {\n children: [\" +\", state.overflowCount, \" \"]\n })\n }) : null;\n};\n//# sourceMappingURL=renderAttachmentOverflowMenuButton.js.map"],"names":["renderAttachmentOverflowMenuButton_unstable","state","assertSlots","isOverflowing","_jsx","MenuTrigger","children","_jsxs","root","overflowCount"],"mappings":";;;;+BAKaA;;;eAAAA;;;4BAL8B;iCACF;AAIlC,MAAMA,8CAA8CC,CAAAA;IACzDC,IAAAA,4BAAW,EAACD;IACZ,OAAOA,MAAME,aAAa,GAAG,WAAW,GAAEC,IAAAA,eAAI,EAACC,4BAAW,EAAE;QAC1DC,UAAU,WAAW,GAAEC,IAAAA,gBAAK,EAACN,MAAMO,IAAI,EAAE;YACvCF,UAAU;gBAAC;gBAAML,MAAMQ,aAAa;gBAAE;aAAI;QAC5C;IACF,KAAK;AACP,GACA,8DAA8D"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useAttachmentOverflowMenuButton_unstable", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useAttachmentOverflowMenuButton_unstable;
9
+ }
10
+ });
11
+ const _reactcomponents = require("@fluentui/react-components");
12
+ const _attachmentOverflowMenuContext = require("../../contexts/attachmentOverflowMenuContext");
13
+ const useAttachmentOverflowMenuButton_unstable = (props, ref)=>{
14
+ const { isOverflowing, overflowCount, overflowButtonRef } = (0, _attachmentOverflowMenuContext.useAttachmentOverflowMenuContext_unstable)((context)=>context);
15
+ return {
16
+ components: {
17
+ root: 'button'
18
+ },
19
+ root: _reactcomponents.slot.always((0, _reactcomponents.getIntrinsicElementProps)('button', {
20
+ ref: (0, _reactcomponents.useMergedRefs)(ref, overflowButtonRef),
21
+ ...props
22
+ }), {
23
+ elementType: 'button'
24
+ }),
25
+ isOverflowing,
26
+ overflowCount
27
+ };
28
+ }; //# sourceMappingURL=useAttachmentOverflowMenuButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useAttachmentOverflowMenuButton.js"],"sourcesContent":["import { getIntrinsicElementProps, slot, useMergedRefs } from '@fluentui/react-components';\nimport { useAttachmentOverflowMenuContext_unstable } from '../../contexts/attachmentOverflowMenuContext';\n/**\n * Create the state required to render AttachmentOverflowMenuButton.\n *\n * The returned state can be modified with hooks such as useAttachmentOverflowMenuButtonStyles_unstable,\n * before being passed to renderAttachmentOverflowMenuButton_unstable.\n *\n * @param props - props from this instance of AttachmentOverflowMenuButton\n * @param ref - reference to root HTMLElement of AttachmentOverflowMenuButton\n */\nexport const useAttachmentOverflowMenuButton_unstable = (props, ref) => {\n const {\n isOverflowing,\n overflowCount,\n overflowButtonRef\n } = useAttachmentOverflowMenuContext_unstable(context => context);\n return {\n components: {\n root: 'button'\n },\n root: slot.always(getIntrinsicElementProps('button', {\n ref: useMergedRefs(ref, overflowButtonRef),\n ...props\n }), {\n elementType: 'button'\n }),\n isOverflowing,\n overflowCount\n };\n};\n//# sourceMappingURL=useAttachmentOverflowMenuButton.js.map"],"names":["useAttachmentOverflowMenuButton_unstable","props","ref","isOverflowing","overflowCount","overflowButtonRef","useAttachmentOverflowMenuContext_unstable","context","components","root","slot","always","getIntrinsicElementProps","useMergedRefs","elementType"],"mappings":";;;;+BAWaA;;;eAAAA;;;iCAXiD;+CACJ;AAUnD,MAAMA,2CAA2C,CAACC,OAAOC;IAC9D,MAAM,EACJC,aAAa,EACbC,aAAa,EACbC,iBAAiB,EAClB,GAAGC,IAAAA,wEAAyC,EAACC,CAAAA,UAAWA;IACzD,OAAO;QACLC,YAAY;YACVC,MAAM;QACR;QACAA,MAAMC,qBAAI,CAACC,MAAM,CAACC,IAAAA,yCAAwB,EAAC,UAAU;YACnDV,KAAKW,IAAAA,8BAAa,EAACX,KAAKG;YACxB,GAAGJ,KAAK;QACV,IAAI;YACFa,aAAa;QACf;QACAX;QACAC;IACF;AACF,GACA,2DAA2D"}
@@ -0,0 +1,37 @@
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
+ attachmentOverflowMenuButtonClassNames: function() {
13
+ return attachmentOverflowMenuButtonClassNames;
14
+ },
15
+ useAttachmentOverflowMenuButtonStyles_unstable: function() {
16
+ return useAttachmentOverflowMenuButtonStyles_unstable;
17
+ }
18
+ });
19
+ const _reactcomponents = require("@fluentui/react-components");
20
+ const attachmentOverflowMenuButtonClassNames = {
21
+ root: 'fai-AttachmentOverflowMenuButton'
22
+ };
23
+ const useRootBaseClassName = (0, _reactcomponents.__resetStyles)("r1hzuvbo", null, {
24
+ r: [
25
+ ".r1hzuvbo{color:var(--colorNeutralForeground1);align-items:center;background-color:var(--colorNeutralBackground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);box-sizing:border-box;column-gap:var(--spacingHorizontalSNudge);cursor:pointer;display:inline-flex;flex-wrap:nowrap;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);justify-content:center;padding:var(--spacingVerticalS);vertical-align:middle;}",
26
+ ".r1hzuvbo:hover{cursor:pointer;background-color:var(--colorNeutralBackground3Hover);color:var(--colorNeutralForeground2Hover);}",
27
+ ".r1hzuvbo:active{background-color:var(--colorNeutralBackground3Pressed);color:var(--colorNeutralForeground2Pressed);}"
28
+ ],
29
+ s: [
30
+ "@media (forced-colors: active){.r1hzuvbo:hover{background-color:HighlightText;}.r1hzuvbo:active{background-color:HighlightText;}}"
31
+ ]
32
+ });
33
+ const useAttachmentOverflowMenuButtonStyles_unstable = (state)=>{
34
+ const rootBaseClassName = useRootBaseClassName();
35
+ state.root.className = (0, _reactcomponents.mergeClasses)(attachmentOverflowMenuButtonClassNames.root, rootBaseClassName, state.root.className);
36
+ return state;
37
+ }; //# sourceMappingURL=useAttachmentOverflowMenuButtonStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useAttachmentOverflowMenuButtonStyles.js"],"sourcesContent":["import { __resetStyles, mergeClasses, tokens, typographyStyles } from '@fluentui/react-components';\nexport const attachmentOverflowMenuButtonClassNames = {\n root: 'fai-AttachmentOverflowMenuButton'\n};\nconst useRootBaseClassName = __resetStyles(\"r1hzuvbo\", null, {\n r: [\".r1hzuvbo{color:var(--colorNeutralForeground1);align-items:center;background-color:var(--colorNeutralBackground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);box-sizing:border-box;column-gap:var(--spacingHorizontalSNudge);cursor:pointer;display:inline-flex;flex-wrap:nowrap;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);justify-content:center;padding:var(--spacingVerticalS);vertical-align:middle;}\", \".r1hzuvbo:hover{cursor:pointer;background-color:var(--colorNeutralBackground3Hover);color:var(--colorNeutralForeground2Hover);}\", \".r1hzuvbo:active{background-color:var(--colorNeutralBackground3Pressed);color:var(--colorNeutralForeground2Pressed);}\"],\n s: [\"@media (forced-colors: active){.r1hzuvbo:hover{background-color:HighlightText;}.r1hzuvbo:active{background-color:HighlightText;}}\"]\n});\n/**\n * Apply styling to the AttachmentOverflowMenuButton slots based on the state\n */\nexport const useAttachmentOverflowMenuButtonStyles_unstable = state => {\n const rootBaseClassName = useRootBaseClassName();\n state.root.className = mergeClasses(attachmentOverflowMenuButtonClassNames.root, rootBaseClassName, state.root.className);\n return state;\n};\n//# sourceMappingURL=useAttachmentOverflowMenuButtonStyles.js.map"],"names":["attachmentOverflowMenuButtonClassNames","useAttachmentOverflowMenuButtonStyles_unstable","root","useRootBaseClassName","__resetStyles","r","s","state","rootBaseClassName","className","mergeClasses"],"mappings":";;;;;;;;;;;IACaA,sCAAsC;eAAtCA;;IAUAC,8CAA8C;eAA9CA;;;iCAXyD;AAC/D,MAAMD,yCAAyC;IACpDE,MAAM;AACR;AACA,MAAMC,uBAAuBC,IAAAA,8BAAa,EAAC,YAAY,MAAM;IAC3DC,GAAG;QAAC;QAAugB;QAAmI;KAAwH;IACtwBC,GAAG;QAAC;KAAoI;AAC1I;AAIO,MAAML,iDAAiDM,CAAAA;IAC5D,MAAMC,oBAAoBL;IAC1BI,MAAML,IAAI,CAACO,SAAS,GAAGC,IAAAA,6BAAY,EAACV,uCAAuCE,IAAI,EAAEM,mBAAmBD,MAAML,IAAI,CAACO,SAAS;IACxH,OAAOF;AACT,GACA,iEAAiE"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "AttachmentOverflowMenuItem", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return AttachmentOverflowMenuItem;
9
+ }
10
+ });
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
13
+ const _useAttachmentOverflowMenuItem = require("./useAttachmentOverflowMenuItem");
14
+ const _renderAttachmentOverflowMenuItem = require("./renderAttachmentOverflowMenuItem");
15
+ const _useAttachmentOverflowMenuItemStyles = require("./useAttachmentOverflowMenuItemStyles");
16
+ const AttachmentOverflowMenuItem = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
17
+ const state = (0, _useAttachmentOverflowMenuItem.useAttachmentOverflowMenuItem_unstable)(props, ref);
18
+ (0, _useAttachmentOverflowMenuItemStyles.useAttachmentOverflowMenuItemStyles_unstable)(state);
19
+ return (0, _renderAttachmentOverflowMenuItem.renderAttachmentOverflowMenuItem_unstable)(state);
20
+ });
21
+ AttachmentOverflowMenuItem.displayName = 'AttachmentOverflowMenuItem'; //# sourceMappingURL=AttachmentOverflowMenuItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentOverflowMenuItem.js"],"sourcesContent":["import * as React from 'react';\nimport { useAttachmentOverflowMenuItem_unstable } from './useAttachmentOverflowMenuItem';\nimport { renderAttachmentOverflowMenuItem_unstable } from './renderAttachmentOverflowMenuItem';\nimport { useAttachmentOverflowMenuItemStyles_unstable } from './useAttachmentOverflowMenuItemStyles';\nexport const AttachmentOverflowMenuItem = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useAttachmentOverflowMenuItem_unstable(props, ref);\n useAttachmentOverflowMenuItemStyles_unstable(state);\n return renderAttachmentOverflowMenuItem_unstable(state);\n});\nAttachmentOverflowMenuItem.displayName = 'AttachmentOverflowMenuItem';\n//# sourceMappingURL=AttachmentOverflowMenuItem.js.map"],"names":["AttachmentOverflowMenuItem","React","forwardRef","props","ref","state","useAttachmentOverflowMenuItem_unstable","useAttachmentOverflowMenuItemStyles_unstable","renderAttachmentOverflowMenuItem_unstable","displayName"],"mappings":";;;;+BAIaA;;;eAAAA;;;;iEAJU;+CACgC;kDACG;qDACG;AACtD,MAAMA,6BAA6B,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC9E,MAAMC,QAAQC,IAAAA,qEAAsC,EAACH,OAAOC;IAC5DG,IAAAA,iFAA4C,EAACF;IAC7C,OAAOG,IAAAA,2EAAyC,EAACH;AACnD;AACAL,2BAA2BS,WAAW,GAAG,8BACzC,sDAAsD"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ //# sourceMappingURL=AttachmentOverflowMenuItem.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentOverflowMenuItem.types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=AttachmentOverflowMenuItem.types.js.map"],"names":[],"mappings":";;;;CACA,4DAA4D"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ const _export_star = require("@swc/helpers/_/_export_star");
6
+ _export_star._(require("./AttachmentOverflowMenuItem"), exports);
7
+ _export_star._(require("./AttachmentOverflowMenuItem.types"), exports);
8
+ _export_star._(require("./renderAttachmentOverflowMenuItem"), exports);
9
+ _export_star._(require("./useAttachmentOverflowMenuItem"), exports);
10
+ _export_star._(require("./useAttachmentOverflowMenuItemStyles"), exports);
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export * from './AttachmentOverflowMenuItem';\nexport * from './AttachmentOverflowMenuItem.types';\nexport * from './renderAttachmentOverflowMenuItem';\nexport * from './useAttachmentOverflowMenuItem';\nexport * from './useAttachmentOverflowMenuItemStyles';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;CACd,iCAAiC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "renderAttachmentOverflowMenuItem_unstable", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return renderAttachmentOverflowMenuItem_unstable;
9
+ }
10
+ });
11
+ const _jsxruntime = require("@fluentui/react-jsx-runtime/jsx-runtime");
12
+ const _reactcomponents = require("@fluentui/react-components");
13
+ const renderAttachmentOverflowMenuItem_unstable = (state)=>{
14
+ (0, _reactcomponents.assertSlots)(state);
15
+ return !state.isVisible ? /*#__PURE__*/ (0, _jsxruntime.jsx)(state.root, {}) : null;
16
+ }; //# sourceMappingURL=renderAttachmentOverflowMenuItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["renderAttachmentOverflowMenuItem.js"],"sourcesContent":["import { jsx as _jsx } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-components';\n/**\n * Render the final JSX of AttachmentOverflowMenuItem\n */\nexport const renderAttachmentOverflowMenuItem_unstable = state => {\n assertSlots(state);\n return !state.isVisible ? /*#__PURE__*/_jsx(state.root, {}) : null;\n};\n//# sourceMappingURL=renderAttachmentOverflowMenuItem.js.map"],"names":["renderAttachmentOverflowMenuItem_unstable","state","assertSlots","isVisible","_jsx","root"],"mappings":";;;;+BAKaA;;;eAAAA;;;4BALe;iCACA;AAIrB,MAAMA,4CAA4CC,CAAAA;IACvDC,IAAAA,4BAAW,EAACD;IACZ,OAAO,CAACA,MAAME,SAAS,GAAG,WAAW,GAAEC,IAAAA,eAAI,EAACH,MAAMI,IAAI,EAAE,CAAC,KAAK;AAChE,GACA,4DAA4D"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useAttachmentOverflowMenuItem_unstable", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useAttachmentOverflowMenuItem_unstable;
9
+ }
10
+ });
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
13
+ const _reactcomponents = require("@fluentui/react-components");
14
+ const _reacticons = require("@fluentui/react-icons");
15
+ const _attachmentListContext = require("../../contexts/attachmentListContext");
16
+ const useAttachmentOverflowMenuItem_unstable = (props, ref)=>{
17
+ const { id, media } = props;
18
+ const DismissIcon = (0, _reacticons.bundleIcon)(_reacticons.Dismiss20Filled, _reacticons.Dismiss20Regular);
19
+ const isVisible = (0, _reactcomponents.useIsOverflowItemVisible)(id);
20
+ const onAttachmentDismiss = (0, _attachmentListContext.useAttachmentListContext_unstable)((context)=>context.onAttachmentDismiss);
21
+ const root = _reactcomponents.slot.always({
22
+ ref,
23
+ icon: media,
24
+ secondaryContent: /*#__PURE__*/ _react.createElement(DismissIcon, null),
25
+ ...props
26
+ }, {
27
+ elementType: _reactcomponents.MenuItem
28
+ });
29
+ root.onClick = (0, _reactcomponents.mergeCallbacks)(root.onClick, (ev)=>onAttachmentDismiss === null || onAttachmentDismiss === void 0 ? void 0 : onAttachmentDismiss(ev, {
30
+ id
31
+ }));
32
+ return {
33
+ components: {
34
+ root: _reactcomponents.MenuItem
35
+ },
36
+ root,
37
+ isVisible
38
+ };
39
+ }; //# sourceMappingURL=useAttachmentOverflowMenuItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useAttachmentOverflowMenuItem.js"],"sourcesContent":["import * as React from 'react';\nimport { MenuItem, mergeCallbacks, slot, useIsOverflowItemVisible } from '@fluentui/react-components';\nimport { Dismiss20Filled, Dismiss20Regular, bundleIcon } from '@fluentui/react-icons';\nimport { useAttachmentListContext_unstable } from '../../contexts/attachmentListContext';\n/**\n * Create the state required to render AttachmentOverflowMenuItem.\n *\n * The returned state can be modified with hooks such as useAttachmentOverflowMenuItemStyles_unstable,\n * before being passed to renderAttachmentOverflowMenuItem_unstable.\n *\n * @param props - props from this instance of AttachmentOverflowMenuItem\n * @param ref - reference to root HTMLElement of AttachmentOverflowMenuItem\n */\nexport const useAttachmentOverflowMenuItem_unstable = (props, ref) => {\n const {\n id,\n media\n } = props;\n const DismissIcon = bundleIcon(Dismiss20Filled, Dismiss20Regular);\n const isVisible = useIsOverflowItemVisible(id);\n const onAttachmentDismiss = useAttachmentListContext_unstable(context => context.onAttachmentDismiss);\n const root = slot.always({\n ref,\n icon: media,\n secondaryContent: /*#__PURE__*/React.createElement(DismissIcon, null),\n ...props\n }, {\n elementType: MenuItem\n });\n root.onClick = mergeCallbacks(root.onClick, ev => onAttachmentDismiss === null || onAttachmentDismiss === void 0 ? void 0 : onAttachmentDismiss(ev, {\n id\n }));\n return {\n components: {\n root: MenuItem\n },\n root,\n isVisible\n };\n};\n//# sourceMappingURL=useAttachmentOverflowMenuItem.js.map"],"names":["useAttachmentOverflowMenuItem_unstable","props","ref","id","media","DismissIcon","bundleIcon","Dismiss20Filled","Dismiss20Regular","isVisible","useIsOverflowItemVisible","onAttachmentDismiss","useAttachmentListContext_unstable","context","root","slot","always","icon","secondaryContent","React","createElement","elementType","MenuItem","onClick","mergeCallbacks","ev","components"],"mappings":";;;;+BAaaA;;;eAAAA;;;;iEAbU;iCACkD;4BACX;uCACZ;AAU3C,MAAMA,yCAAyC,CAACC,OAAOC;IAC5D,MAAM,EACJC,EAAE,EACFC,KAAK,EACN,GAAGH;IACJ,MAAMI,cAAcC,IAAAA,sBAAU,EAACC,2BAAe,EAAEC,4BAAgB;IAChE,MAAMC,YAAYC,IAAAA,yCAAwB,EAACP;IAC3C,MAAMQ,sBAAsBC,IAAAA,wDAAiC,EAACC,CAAAA,UAAWA,QAAQF,mBAAmB;IACpG,MAAMG,OAAOC,qBAAI,CAACC,MAAM,CAAC;QACvBd;QACAe,MAAMb;QACNc,kBAAkB,WAAW,GAAEC,OAAMC,aAAa,CAACf,aAAa;QAChE,GAAGJ,KAAK;IACV,GAAG;QACDoB,aAAaC,yBAAQ;IACvB;IACAR,KAAKS,OAAO,GAAGC,IAAAA,+BAAc,EAACV,KAAKS,OAAO,EAAEE,CAAAA,KAAMd,wBAAwB,QAAQA,wBAAwB,KAAK,IAAI,KAAK,IAAIA,oBAAoBc,IAAI;YAClJtB;QACF;IACA,OAAO;QACLuB,YAAY;YACVZ,MAAMQ,yBAAQ;QAChB;QACAR;QACAL;IACF;AACF,GACA,yDAAyD"}
@@ -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
+ attachmentOverflowMenuItemClassNames: function() {
13
+ return attachmentOverflowMenuItemClassNames;
14
+ },
15
+ useAttachmentOverflowMenuItemStyles_unstable: function() {
16
+ return useAttachmentOverflowMenuItemStyles_unstable;
17
+ }
18
+ });
19
+ const _reactcomponents = require("@fluentui/react-components");
20
+ const attachmentOverflowMenuItemClassNames = {
21
+ root: 'fai-AttachmentOverflowMenuItem'
22
+ };
23
+ const useRootBaseClassName = (0, _reactcomponents.__resetStyles)("r0", null, []);
24
+ const useAttachmentOverflowMenuItemStyles_unstable = (state)=>{
25
+ const rootBaseClassName = useRootBaseClassName();
26
+ state.root.className = (0, _reactcomponents.mergeClasses)(attachmentOverflowMenuItemClassNames.root, rootBaseClassName, state.root.className);
27
+ return state;
28
+ }; //# sourceMappingURL=useAttachmentOverflowMenuItemStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useAttachmentOverflowMenuItemStyles.js"],"sourcesContent":["import { __resetStyles, mergeClasses } from '@fluentui/react-components';\nexport const attachmentOverflowMenuItemClassNames = {\n root: 'fai-AttachmentOverflowMenuItem'\n};\nconst useRootBaseClassName = __resetStyles(\"r0\", null, []);\n/**\n * Apply styling to the AttachmentList slots based on the state\n */\nexport const useAttachmentOverflowMenuItemStyles_unstable = state => {\n const rootBaseClassName = useRootBaseClassName();\n state.root.className = mergeClasses(attachmentOverflowMenuItemClassNames.root, rootBaseClassName, state.root.className);\n return state;\n};\n//# sourceMappingURL=useAttachmentOverflowMenuItemStyles.js.map"],"names":["attachmentOverflowMenuItemClassNames","useAttachmentOverflowMenuItemStyles_unstable","root","useRootBaseClassName","__resetStyles","state","rootBaseClassName","className","mergeClasses"],"mappings":";;;;;;;;;;;IACaA,oCAAoC;eAApCA;;IAOAC,4CAA4C;eAA5CA;;;iCAR+B;AACrC,MAAMD,uCAAuC;IAClDE,MAAM;AACR;AACA,MAAMC,uBAAuBC,IAAAA,8BAAa,EAAC,MAAM,MAAM,EAAE;AAIlD,MAAMH,+CAA+CI,CAAAA;IAC1D,MAAMC,oBAAoBH;IAC1BE,MAAMH,IAAI,CAACK,SAAS,GAAGC,IAAAA,6BAAY,EAACR,qCAAqCE,IAAI,EAAEI,mBAAmBD,MAAMH,IAAI,CAACK,SAAS;IACtH,OAAOF;AACT,GACA,+DAA+D"}
@@ -1 +1 @@
1
- {"version":3,"sources":["AttachmentTag.js"],"sourcesContent":["import * as React from 'react';\nimport { useAttachmentTag_unstable } from './useAttachmentTag';\nimport { renderAttachmentTag_unstable } from './renderAttachmentTag';\nimport { useAttachmentTagStyles_unstable } from './useAttachmentTagStyles';\nimport { useCustomStyleHook } from '@fluentui-copilot/react-provider';\n// AttachmentTag component - TODO: add more docs\nexport const AttachmentTag = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useAttachmentTag_unstable(props, ref);\n useAttachmentTagStyles_unstable(state);\n useCustomStyleHook('useAttachmentTagStyles')(state);\n return renderAttachmentTag_unstable(state);\n});\nAttachmentTag.displayName = 'AttachmentTag';\n//# sourceMappingURL=AttachmentTag.js.map"],"names":["AttachmentTag","React","forwardRef","props","ref","state","useAttachmentTag_unstable","useAttachmentTagStyles_unstable","useCustomStyleHook","renderAttachmentTag_unstable","displayName"],"mappings":";;;;+BAMaA;;;eAAAA;;;;iEANU;kCACmB;qCACG;wCACG;+BACb;AAE5B,MAAMA,gBAAgB,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACjE,MAAMC,QAAQC,IAAAA,2CAAyB,EAACH,OAAOC;IAC/CG,IAAAA,uDAA+B,EAACF;IAChCG,IAAAA,iCAAkB,EAAC,0BAA0BH;IAC7C,OAAOI,IAAAA,iDAA4B,EAACJ;AACtC;AACAL,cAAcU,WAAW,GAAG,iBAC5B,yCAAyC"}
1
+ {"version":3,"sources":["AttachmentTag.js"],"sourcesContent":["import * as React from 'react';\nimport { useAttachmentTag_unstable } from './useAttachmentTag';\nimport { renderAttachmentTag_unstable } from './renderAttachmentTag';\nimport { useAttachmentTagStyles_unstable } from './useAttachmentTagStyles';\nimport { useCustomStyleHook } from '@fluentui-copilot/react-provider';\n/**\n * @deprecated use new Attachment 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 AttachmentTag = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useAttachmentTag_unstable(props, ref);\n useAttachmentTagStyles_unstable(state);\n useCustomStyleHook('useAttachmentTagStyles')(state);\n return renderAttachmentTag_unstable(state);\n});\nAttachmentTag.displayName = 'AttachmentTag';\n//# sourceMappingURL=AttachmentTag.js.map"],"names":["AttachmentTag","React","forwardRef","props","ref","state","useAttachmentTag_unstable","useAttachmentTagStyles_unstable","useCustomStyleHook","renderAttachmentTag_unstable","displayName"],"mappings":";;;;+BASaA;;;eAAAA;;;;iEATU;kCACmB;qCACG;wCACG;+BACb;AAK5B,MAAMA,gBAAgB,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACjE,MAAMC,QAAQC,IAAAA,2CAAyB,EAACH,OAAOC;IAC/CG,IAAAA,uDAA+B,EAACF;IAChCG,IAAAA,iCAAkB,EAAC,0BAA0BH;IAC7C,OAAOI,IAAAA,iDAA4B,EAACJ;AACtC;AACAL,cAAcU,WAAW,GAAG,iBAC5B,yCAAyC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["AttachmentTagItem.js"],"sourcesContent":["import * as React from 'react';\nimport { useAttachmentTagItem_unstable } from './useAttachmentTagItem';\nimport { renderAttachmentTagItem_unstable } from './renderAttachmentTagItem';\nimport { useAttachmentTagItemStyles_unstable } from './useAttachmentTagItemStyles';\nexport const AttachmentTagItem = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useAttachmentTagItem_unstable(props, ref);\n useAttachmentTagItemStyles_unstable(state);\n return renderAttachmentTagItem_unstable(state);\n});\nAttachmentTagItem.displayName = 'AttachmentTagItem';\n//# sourceMappingURL=AttachmentTagItem.js.map"],"names":["AttachmentTagItem","React","forwardRef","props","ref","state","useAttachmentTagItem_unstable","useAttachmentTagItemStyles_unstable","renderAttachmentTagItem_unstable","displayName"],"mappings":";;;;+BAIaA;;;eAAAA;;;;iEAJU;sCACuB;yCACG;4CACG;AAC7C,MAAMA,oBAAoB,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACrE,MAAMC,QAAQC,IAAAA,mDAA6B,EAACH,OAAOC;IACnDG,IAAAA,+DAAmC,EAACF;IACpC,OAAOG,IAAAA,yDAAgC,EAACH;AAC1C;AACAL,kBAAkBS,WAAW,GAAG,qBAChC,6CAA6C"}
1
+ {"version":3,"sources":["AttachmentTagItem.js"],"sourcesContent":["import * as React from 'react';\nimport { useAttachmentTagItem_unstable } from './useAttachmentTagItem';\nimport { renderAttachmentTagItem_unstable } from './renderAttachmentTagItem';\nimport { useAttachmentTagItemStyles_unstable } from './useAttachmentTagItemStyles';\n/**\n * @deprecated use new AttachmentOverflowMenuItem 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 AttachmentTagItem = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useAttachmentTagItem_unstable(props, ref);\n useAttachmentTagItemStyles_unstable(state);\n return renderAttachmentTagItem_unstable(state);\n});\nAttachmentTagItem.displayName = 'AttachmentTagItem';\n//# sourceMappingURL=AttachmentTagItem.js.map"],"names":["AttachmentTagItem","React","forwardRef","props","ref","state","useAttachmentTagItem_unstable","useAttachmentTagItemStyles_unstable","renderAttachmentTagItem_unstable","displayName"],"mappings":";;;;+BAQaA;;;eAAAA;;;;iEARU;sCACuB;yCACG;4CACG;AAK7C,MAAMA,oBAAoB,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACrE,MAAMC,QAAQC,IAAAA,mDAA6B,EAACH,OAAOC;IACnDG,IAAAA,+DAAmC,EAACF;IACpC,OAAOG,IAAAA,yDAAgC,EAACH;AAC1C;AACAL,kBAAkBS,WAAW,GAAG,qBAChC,6CAA6C"}
@@ -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// AttachmentTagList component - TODO: add more docs\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":";;;;+BAOaA;;;eAAAA;;;;iEAPU;yCAC0B;sCACH;mDACa;4CACP;+BACjB;AAE5B,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.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"}
@@ -20,7 +20,7 @@ const useAttachmentTagList_unstable = (props, ref)=>{
20
20
  components: {
21
21
  root: 'div'
22
22
  },
23
- root: _reactcomponents.slot.always((0, _reactcomponents.getNativeElementProps)('div', {
23
+ root: _reactcomponents.slot.always((0, _reactcomponents.getIntrinsicElementProps)('div', {
24
24
  'aria-label': 'Attachments',
25
25
  ref,
26
26
  role: 'menu',
@@ -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"}
@@ -8,4 +8,7 @@ _export_star._(require("./AttachmentTagList"), exports);
8
8
  _export_star._(require("./AttachmentTagItem"), exports);
9
9
  _export_star._(require("./Attachment"), exports);
10
10
  _export_star._(require("./AttachmentList"), exports);
11
+ _export_star._(require("./AttachmentOverflowMenu"), exports);
12
+ _export_star._(require("./AttachmentOverflowMenuButton"), exports);
13
+ _export_star._(require("./AttachmentOverflowMenuItem"), exports);
11
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './AttachmentTag';\nexport * from './AttachmentTagList';\nexport * from './AttachmentTagItem';\nexport * from './Attachment';\nexport * from './AttachmentList';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA;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,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"}
@@ -92,6 +92,54 @@ _export(exports, {
92
92
  },
93
93
  useAttachment_unstable: function() {
94
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;
95
143
  }
96
144
  });
97
145
  const _AttachmentTag = require("./AttachmentTag");
@@ -100,4 +148,8 @@ const _AttachmentTagItem = require("./AttachmentTagItem");
100
148
  const _AttachmentList = require("./AttachmentList");
101
149
  const _attachmentListContext = require("./contexts/attachmentListContext");
102
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");
103
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 { 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';\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"],"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;;;+BALuB;mCACoB;mCACA;gCACf;uCACrD;4BACiC;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.3",
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",