@fluentui-copilot/react-attachments 0.0.0-nightly-20251002-0405-17b34fb7.1 → 0.0.0-nightly-20251010-0406-7df7c6d1.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.
- package/CHANGELOG.json +3 -3
- package/CHANGELOG.md +4 -4
- package/package.json +8 -8
- package/dist/index.d.ts +0 -379
- package/lib/AgentTag.js +0 -1
- package/lib/AgentTag.js.map +0 -1
- package/lib/Attachment.js +0 -1
- package/lib/Attachment.js.map +0 -1
- package/lib/AttachmentList.js +0 -1
- package/lib/AttachmentList.js.map +0 -1
- package/lib/AttachmentOverflowMenu.js +0 -1
- package/lib/AttachmentOverflowMenu.js.map +0 -1
- package/lib/AttachmentOverflowMenuButton.js +0 -1
- package/lib/AttachmentOverflowMenuButton.js.map +0 -1
- package/lib/AttachmentOverflowMenuItem.js +0 -1
- package/lib/AttachmentOverflowMenuItem.js.map +0 -1
- package/lib/components/AgentTag/AgentTag.js +0 -11
- package/lib/components/AgentTag/AgentTag.js.map +0 -1
- package/lib/components/AgentTag/AgentTag.types.js +0 -3
- package/lib/components/AgentTag/AgentTag.types.js.map +0 -1
- package/lib/components/AgentTag/index.js +0 -4
- package/lib/components/AgentTag/index.js.map +0 -1
- package/lib/components/AgentTag/renderAgentTag.js +0 -6
- package/lib/components/AgentTag/renderAgentTag.js.map +0 -1
- package/lib/components/AgentTag/useAgentTag.js +0 -18
- package/lib/components/AgentTag/useAgentTag.js.map +0 -1
- package/lib/components/AgentTag/useAgentTagStyles.styles.js +0 -95
- package/lib/components/AgentTag/useAgentTagStyles.styles.js.map +0 -1
- package/lib/components/AgentTag/useAgentTagStyles.styles.raw.js +0 -66
- package/lib/components/AgentTag/useAgentTagStyles.styles.raw.js.map +0 -1
- package/lib/components/Attachment/Attachment.js +0 -13
- package/lib/components/Attachment/Attachment.js.map +0 -1
- package/lib/components/Attachment/Attachment.types.js +0 -3
- package/lib/components/Attachment/Attachment.types.js.map +0 -1
- package/lib/components/Attachment/index.js +0 -4
- package/lib/components/Attachment/index.js.map +0 -1
- package/lib/components/Attachment/renderAttachment.js +0 -42
- package/lib/components/Attachment/renderAttachment.js.map +0 -1
- package/lib/components/Attachment/useAttachment.js +0 -103
- package/lib/components/Attachment/useAttachment.js.map +0 -1
- package/lib/components/Attachment/useAttachmentStyles.styles.js +0 -348
- package/lib/components/Attachment/useAttachmentStyles.styles.js.map +0 -1
- package/lib/components/Attachment/useAttachmentStyles.styles.raw.js +0 -328
- package/lib/components/Attachment/useAttachmentStyles.styles.raw.js.map +0 -1
- package/lib/components/AttachmentList/AttachmentList.js +0 -14
- package/lib/components/AttachmentList/AttachmentList.js.map +0 -1
- package/lib/components/AttachmentList/AttachmentList.types.js +0 -1
- package/lib/components/AttachmentList/AttachmentList.types.js.map +0 -1
- package/lib/components/AttachmentList/index.js +0 -4
- package/lib/components/AttachmentList/index.js.map +0 -1
- package/lib/components/AttachmentList/renderAttachmentList.js +0 -31
- package/lib/components/AttachmentList/renderAttachmentList.js.map +0 -1
- package/lib/components/AttachmentList/useAttachmentList.js +0 -134
- package/lib/components/AttachmentList/useAttachmentList.js.map +0 -1
- package/lib/components/AttachmentList/useAttachmentListContextValues.js +0 -12
- package/lib/components/AttachmentList/useAttachmentListContextValues.js.map +0 -1
- package/lib/components/AttachmentList/useAttachmentListStyles.styles.js +0 -48
- package/lib/components/AttachmentList/useAttachmentListStyles.styles.js.map +0 -1
- package/lib/components/AttachmentList/useAttachmentListStyles.styles.raw.js +0 -44
- package/lib/components/AttachmentList/useAttachmentListStyles.styles.raw.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js +0 -14
- package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js +0 -1
- package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/index.js +0 -4
- package/lib/components/AttachmentOverflowMenu/index.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js +0 -13
- package/lib/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js +0 -18
- package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js +0 -12
- package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js +0 -12
- package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +0 -3
- package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/index.js +0 -4
- package/lib/components/AttachmentOverflowMenuButton/index.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +0 -15
- package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +0 -69
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.js +0 -116
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.raw.js +0 -102
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.raw.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js +0 -10
- package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +0 -3
- package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/index.js +0 -4
- package/lib/components/AttachmentOverflowMenuItem/index.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +0 -13
- package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +0 -56
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.js +0 -84
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.raw.js +0 -59
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.raw.js.map +0 -1
- package/lib/components/index.js +0 -5
- package/lib/components/index.js.map +0 -1
- package/lib/components/utils/useProgressBarStyles.styles.js +0 -54
- package/lib/components/utils/useProgressBarStyles.styles.js.map +0 -1
- package/lib/components/utils/useProgressBarStyles.styles.raw.js +0 -42
- package/lib/components/utils/useProgressBarStyles.styles.raw.js.map +0 -1
- package/lib/contexts/attachmentListContext.js +0 -9
- package/lib/contexts/attachmentListContext.js.map +0 -1
- package/lib/contexts/attachmentOverflowMenuContext.js +0 -9
- package/lib/contexts/attachmentOverflowMenuContext.js.map +0 -1
- package/lib/index.js +0 -8
- package/lib/index.js.map +0 -1
- package/lib-commonjs/AgentTag.js +0 -28
- package/lib-commonjs/AgentTag.js.map +0 -1
- package/lib-commonjs/Attachment.js +0 -31
- package/lib-commonjs/Attachment.js.map +0 -1
- package/lib-commonjs/AttachmentList.js +0 -28
- package/lib-commonjs/AttachmentList.js.map +0 -1
- package/lib-commonjs/AttachmentOverflowMenu.js +0 -25
- package/lib-commonjs/AttachmentOverflowMenu.js.map +0 -1
- package/lib-commonjs/AttachmentOverflowMenuButton.js +0 -28
- package/lib-commonjs/AttachmentOverflowMenuButton.js.map +0 -1
- package/lib-commonjs/AttachmentOverflowMenuItem.js +0 -28
- package/lib-commonjs/AttachmentOverflowMenuItem.js.map +0 -1
- package/lib-commonjs/components/AgentTag/AgentTag.js +0 -21
- package/lib-commonjs/components/AgentTag/AgentTag.js.map +0 -1
- package/lib-commonjs/components/AgentTag/AgentTag.types.js +0 -6
- package/lib-commonjs/components/AgentTag/AgentTag.types.js.map +0 -1
- package/lib-commonjs/components/AgentTag/index.js +0 -31
- package/lib-commonjs/components/AgentTag/index.js.map +0 -1
- package/lib-commonjs/components/AgentTag/renderAgentTag.js +0 -14
- package/lib-commonjs/components/AgentTag/renderAgentTag.js.map +0 -1
- package/lib-commonjs/components/AgentTag/useAgentTag.js +0 -19
- package/lib-commonjs/components/AgentTag/useAgentTag.js.map +0 -1
- package/lib-commonjs/components/AgentTag/useAgentTagStyles.styles.js +0 -145
- package/lib-commonjs/components/AgentTag/useAgentTagStyles.styles.js.map +0 -1
- package/lib-commonjs/components/AgentTag/useAgentTagStyles.styles.raw.js +0 -82
- package/lib-commonjs/components/AgentTag/useAgentTagStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/Attachment/Attachment.js +0 -23
- package/lib-commonjs/components/Attachment/Attachment.js.map +0 -1
- package/lib-commonjs/components/Attachment/Attachment.types.js +0 -6
- package/lib-commonjs/components/Attachment/Attachment.types.js.map +0 -1
- package/lib-commonjs/components/Attachment/index.js +0 -34
- package/lib-commonjs/components/Attachment/index.js.map +0 -1
- package/lib-commonjs/components/Attachment/renderAttachment.js +0 -50
- package/lib-commonjs/components/Attachment/renderAttachment.js.map +0 -1
- package/lib-commonjs/components/Attachment/useAttachment.js +0 -105
- package/lib-commonjs/components/Attachment/useAttachment.js.map +0 -1
- package/lib-commonjs/components/Attachment/useAttachmentStyles.styles.js +0 -550
- package/lib-commonjs/components/Attachment/useAttachmentStyles.styles.js.map +0 -1
- package/lib-commonjs/components/Attachment/useAttachmentStyles.styles.raw.js +0 -347
- package/lib-commonjs/components/Attachment/useAttachmentStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/AttachmentList.js +0 -25
- package/lib-commonjs/components/AttachmentList/AttachmentList.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/AttachmentList.types.js +0 -4
- package/lib-commonjs/components/AttachmentList/AttachmentList.types.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/index.js +0 -31
- package/lib-commonjs/components/AttachmentList/index.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/renderAttachmentList.js +0 -39
- package/lib-commonjs/components/AttachmentList/renderAttachmentList.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/useAttachmentList.js +0 -137
- package/lib-commonjs/components/AttachmentList/useAttachmentList.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/useAttachmentListContextValues.js +0 -22
- package/lib-commonjs/components/AttachmentList/useAttachmentListContextValues.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.styles.js +0 -67
- package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.styles.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.styles.raw.js +0 -60
- package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js +0 -24
- package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js +0 -4
- package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/index.js +0 -28
- package/lib-commonjs/components/AttachmentOverflowMenu/index.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js +0 -21
- package/lib-commonjs/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js +0 -21
- package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js +0 -22
- package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js +0 -23
- package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +0 -6
- package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js +0 -31
- package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +0 -23
- package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +0 -72
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.js +0 -178
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.raw.js +0 -118
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js +0 -21
- package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +0 -6
- package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js +0 -31
- package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +0 -21
- package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +0 -59
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.js +0 -109
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.raw.js +0 -75
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/index.js +0 -92
- package/lib-commonjs/components/index.js.map +0 -1
- package/lib-commonjs/components/utils/useProgressBarStyles.styles.js +0 -103
- package/lib-commonjs/components/utils/useProgressBarStyles.styles.js.map +0 -1
- package/lib-commonjs/components/utils/useProgressBarStyles.styles.raw.js +0 -50
- package/lib-commonjs/components/utils/useProgressBarStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/contexts/attachmentListContext.js +0 -30
- package/lib-commonjs/contexts/attachmentListContext.js.map +0 -1
- package/lib-commonjs/contexts/attachmentOverflowMenuContext.js +0 -30
- package/lib-commonjs/contexts/attachmentOverflowMenuContext.js.map +0 -1
- package/lib-commonjs/index.js +0 -122
- package/lib-commonjs/index.js.map +0 -1
package/lib-commonjs/AgentTag.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
AgentTag: function() {
|
|
13
|
-
return _index.AgentTag;
|
|
14
|
-
},
|
|
15
|
-
agentTagClassNames: function() {
|
|
16
|
-
return _index.agentTagClassNames;
|
|
17
|
-
},
|
|
18
|
-
renderAgentTag_unstable: function() {
|
|
19
|
-
return _index.renderAgentTag_unstable;
|
|
20
|
-
},
|
|
21
|
-
useAgentTagStyles_unstable: function() {
|
|
22
|
-
return _index.useAgentTagStyles_unstable;
|
|
23
|
-
},
|
|
24
|
-
useAgentTag_unstable: function() {
|
|
25
|
-
return _index.useAgentTag_unstable;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const _index = require("./components/AgentTag/index");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["AgentTag.ts"],"sourcesContent":["export {\n AgentTag,\n renderAgentTag_unstable,\n useAgentTag_unstable,\n agentTagClassNames,\n useAgentTagStyles_unstable,\n} from './components/AgentTag/index';\nexport type { AgentTagProps, AgentTagSlots, AgentTagState } from './components/AgentTag/index';\n"],"names":["AgentTag","agentTagClassNames","renderAgentTag_unstable","useAgentTagStyles_unstable","useAgentTag_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACEA,QAAQ;eAARA,eAAQ;;IAGRC,kBAAkB;eAAlBA,yBAAkB;;IAFlBC,uBAAuB;eAAvBA,8BAAuB;;IAGvBC,0BAA0B;eAA1BA,iCAA0B;;IAF1BC,oBAAoB;eAApBA,2BAAoB;;;uBAGf"}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
Attachment: function() {
|
|
13
|
-
return _index.Attachment;
|
|
14
|
-
},
|
|
15
|
-
attachmentClassNames: function() {
|
|
16
|
-
return _index.attachmentClassNames;
|
|
17
|
-
},
|
|
18
|
-
renderAttachment_unstable: function() {
|
|
19
|
-
return _index.renderAttachment_unstable;
|
|
20
|
-
},
|
|
21
|
-
useAttachmentStyles_unstable: function() {
|
|
22
|
-
return _index.useAttachmentStyles_unstable;
|
|
23
|
-
},
|
|
24
|
-
useAttachment_unstable: function() {
|
|
25
|
-
return _index.useAttachment_unstable;
|
|
26
|
-
},
|
|
27
|
-
useOverflowStyles: function() {
|
|
28
|
-
return _index.useOverflowStyles;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
const _index = require("./components/Attachment/index");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Attachment.ts"],"sourcesContent":["export type { AttachmentProps, AttachmentSlots, AttachmentState } from './components/Attachment/index';\nexport { Attachment, attachmentClassNames, renderAttachment_unstable, useAttachmentStyles_unstable, useAttachment_unstable, useOverflowStyles } from './components/Attachment/index';\n"],"names":["Attachment","attachmentClassNames","renderAttachment_unstable","useAttachmentStyles_unstable","useAttachment_unstable","useOverflowStyles"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,UAAU;eAAVA,iBAAU;;IAAEC,oBAAoB;eAApBA,2BAAoB;;IAAEC,yBAAyB;eAAzBA,gCAAyB;;IAAEC,4BAA4B;eAA5BA,mCAA4B;;IAAEC,sBAAsB;eAAtBA,6BAAsB;;IAAEC,iBAAiB;eAAjBA,wBAAiB;;;uBAAQ"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
AttachmentList: function() {
|
|
13
|
-
return _index.AttachmentList;
|
|
14
|
-
},
|
|
15
|
-
attachmentListClassNames: function() {
|
|
16
|
-
return _index.attachmentListClassNames;
|
|
17
|
-
},
|
|
18
|
-
renderAttachmentList_unstable: function() {
|
|
19
|
-
return _index.renderAttachmentList_unstable;
|
|
20
|
-
},
|
|
21
|
-
useAttachmentListStyles_unstable: function() {
|
|
22
|
-
return _index.useAttachmentListStyles_unstable;
|
|
23
|
-
},
|
|
24
|
-
useAttachmentList_unstable: function() {
|
|
25
|
-
return _index.useAttachmentList_unstable;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const _index = require("./components/AttachmentList/index");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["AttachmentList.ts"],"sourcesContent":["export type { AttachmentDismissedData, AttachmentListContextValues, AttachmentListProps, AttachmentListSlots, AttachmentListState } from './components/AttachmentList/index';\nexport { AttachmentList, attachmentListClassNames, renderAttachmentList_unstable, useAttachmentListStyles_unstable, useAttachmentList_unstable } from './components/AttachmentList/index';\n"],"names":["AttachmentList","attachmentListClassNames","renderAttachmentList_unstable","useAttachmentListStyles_unstable","useAttachmentList_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,cAAc;eAAdA,qBAAc;;IAAEC,wBAAwB;eAAxBA,+BAAwB;;IAAEC,6BAA6B;eAA7BA,oCAA6B;;IAAEC,gCAAgC;eAAhCA,uCAAgC;;IAAEC,0BAA0B;eAA1BA,iCAA0B;;;uBAAQ"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
AttachmentOverflowMenu: function() {
|
|
13
|
-
return _index.AttachmentOverflowMenu;
|
|
14
|
-
},
|
|
15
|
-
renderAttachmentOverflowMenu_unstable: function() {
|
|
16
|
-
return _index.renderAttachmentOverflowMenu_unstable;
|
|
17
|
-
},
|
|
18
|
-
useAttachmentOverflowMenuContextValues_unstable: function() {
|
|
19
|
-
return _index.useAttachmentOverflowMenuContextValues_unstable;
|
|
20
|
-
},
|
|
21
|
-
useAttachmentOverflowMenu_unstable: function() {
|
|
22
|
-
return _index.useAttachmentOverflowMenu_unstable;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
const _index = require("./components/AttachmentOverflowMenu/index");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["AttachmentOverflowMenu.ts"],"sourcesContent":["export type { AttachmentOverflowMenuContextValues, AttachmentOverflowMenuProps, AttachmentOverflowMenuSlots, AttachmentOverflowMenuState } from './components/AttachmentOverflowMenu/index';\nexport { AttachmentOverflowMenu, renderAttachmentOverflowMenu_unstable, useAttachmentOverflowMenuContextValues_unstable, useAttachmentOverflowMenu_unstable } from './components/AttachmentOverflowMenu/index';\n"],"names":["AttachmentOverflowMenu","renderAttachmentOverflowMenu_unstable","useAttachmentOverflowMenuContextValues_unstable","useAttachmentOverflowMenu_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,sBAAsB;eAAtBA,6BAAsB;;IAAEC,qCAAqC;eAArCA,4CAAqC;;IAAEC,+CAA+C;eAA/CA,sDAA+C;;IAAEC,kCAAkC;eAAlCA,yCAAkC;;;uBAAQ"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
AttachmentOverflowMenuButton: function() {
|
|
13
|
-
return _index.AttachmentOverflowMenuButton;
|
|
14
|
-
},
|
|
15
|
-
attachmentOverflowMenuButtonClassNames: function() {
|
|
16
|
-
return _index.attachmentOverflowMenuButtonClassNames;
|
|
17
|
-
},
|
|
18
|
-
renderAttachmentOverflowMenuButton_unstable: function() {
|
|
19
|
-
return _index.renderAttachmentOverflowMenuButton_unstable;
|
|
20
|
-
},
|
|
21
|
-
useAttachmentOverflowMenuButtonStyles_unstable: function() {
|
|
22
|
-
return _index.useAttachmentOverflowMenuButtonStyles_unstable;
|
|
23
|
-
},
|
|
24
|
-
useAttachmentOverflowMenuButton_unstable: function() {
|
|
25
|
-
return _index.useAttachmentOverflowMenuButton_unstable;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const _index = require("./components/AttachmentOverflowMenuButton/index");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["AttachmentOverflowMenuButton.ts"],"sourcesContent":["export type { AttachmentOverflowMenuButtonProps, AttachmentOverflowMenuButtonSlots, AttachmentOverflowMenuButtonState } from './components/AttachmentOverflowMenuButton/index';\nexport { AttachmentOverflowMenuButton, attachmentOverflowMenuButtonClassNames, renderAttachmentOverflowMenuButton_unstable, useAttachmentOverflowMenuButtonStyles_unstable, useAttachmentOverflowMenuButton_unstable } from './components/AttachmentOverflowMenuButton/index';\n"],"names":["AttachmentOverflowMenuButton","attachmentOverflowMenuButtonClassNames","renderAttachmentOverflowMenuButton_unstable","useAttachmentOverflowMenuButtonStyles_unstable","useAttachmentOverflowMenuButton_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,4BAA4B;eAA5BA,mCAA4B;;IAAEC,sCAAsC;eAAtCA,6CAAsC;;IAAEC,2CAA2C;eAA3CA,kDAA2C;;IAAEC,8CAA8C;eAA9CA,qDAA8C;;IAAEC,wCAAwC;eAAxCA,+CAAwC;;;uBAAQ"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
AttachmentOverflowMenuItem: function() {
|
|
13
|
-
return _index.AttachmentOverflowMenuItem;
|
|
14
|
-
},
|
|
15
|
-
attachmentOverflowMenuItemClassNames: function() {
|
|
16
|
-
return _index.attachmentOverflowMenuItemClassNames;
|
|
17
|
-
},
|
|
18
|
-
renderAttachmentOverflowMenuItem_unstable: function() {
|
|
19
|
-
return _index.renderAttachmentOverflowMenuItem_unstable;
|
|
20
|
-
},
|
|
21
|
-
useAttachmentOverflowMenuItemStyles_unstable: function() {
|
|
22
|
-
return _index.useAttachmentOverflowMenuItemStyles_unstable;
|
|
23
|
-
},
|
|
24
|
-
useAttachmentOverflowMenuItem_unstable: function() {
|
|
25
|
-
return _index.useAttachmentOverflowMenuItem_unstable;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const _index = require("./components/AttachmentOverflowMenuItem/index");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["AttachmentOverflowMenuItem.ts"],"sourcesContent":["export type { AttachmentOverflowMenuItemProps, AttachmentOverflowMenuItemSlots, AttachmentOverflowMenuItemState } from './components/AttachmentOverflowMenuItem/index';\nexport { AttachmentOverflowMenuItem, attachmentOverflowMenuItemClassNames, renderAttachmentOverflowMenuItem_unstable, useAttachmentOverflowMenuItemStyles_unstable, useAttachmentOverflowMenuItem_unstable } from './components/AttachmentOverflowMenuItem/index';\n"],"names":["AttachmentOverflowMenuItem","attachmentOverflowMenuItemClassNames","renderAttachmentOverflowMenuItem_unstable","useAttachmentOverflowMenuItemStyles_unstable","useAttachmentOverflowMenuItem_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,0BAA0B;eAA1BA,iCAA0B;;IAAEC,oCAAoC;eAApCA,2CAAoC;;IAAEC,yCAAyC;eAAzCA,gDAAyC;;IAAEC,4CAA4C;eAA5CA,mDAA4C;;IAAEC,sCAAsC;eAAtCA,6CAAsC;;;uBAAQ"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "AgentTag", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return AgentTag;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
12
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
13
|
-
const _useAgentTag = require("./useAgentTag");
|
|
14
|
-
const _renderAgentTag = require("./renderAgentTag");
|
|
15
|
-
const _useAgentTagStylesstyles = require("./useAgentTagStyles.styles");
|
|
16
|
-
const AgentTag = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
|
17
|
-
const state = (0, _useAgentTag.useAgentTag_unstable)(props, ref);
|
|
18
|
-
(0, _useAgentTagStylesstyles.useAgentTagStyles_unstable)(state);
|
|
19
|
-
return (0, _renderAgentTag.renderAgentTag_unstable)(state);
|
|
20
|
-
});
|
|
21
|
-
AgentTag.displayName = 'AgentTag';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["AgentTag.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useAgentTag_unstable } from './useAgentTag';\nimport { renderAgentTag_unstable } from './renderAgentTag';\nimport { useAgentTagStyles_unstable } from './useAgentTagStyles.styles';\nimport type { AgentTagProps } from './AgentTag.types';\nimport type { ForwardRefComponent } from '@fluentui/react-components';\n\n// AgentTag component - TODO: add more docs\nexport const AgentTag: ForwardRefComponent<AgentTagProps> = React.forwardRef((props, ref) => {\n const state = useAgentTag_unstable(props, ref);\n\n useAgentTagStyles_unstable(state);\n return renderAgentTag_unstable(state);\n});\n\nAgentTag.displayName = 'AgentTag';\n"],"names":["AgentTag","React","forwardRef","props","ref","state","useAgentTag_unstable","useAgentTagStyles_unstable","renderAgentTag_unstable","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;;iEARU;6BACc;gCACG;yCACG;AAKpC,MAAMA,WAAAA,WAAAA,GAA+CC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACnF,MAAMC,QAAQC,IAAAA,iCAAAA,EAAqBH,OAAOC;IAE1CG,IAAAA,mDAAAA,EAA2BF;IAC3B,OAAOG,IAAAA,uCAAAA,EAAwBH;AACjC;AAEAL,SAASS,WAAW,GAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["AgentTag.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState } from '@fluentui/react-components';\nimport type { AttachmentSlots, AttachmentProps, AttachmentState } from '../Attachment';\n\nexport type AgentTagSlots = AttachmentSlots;\n\n/**\n * AgentTag Props\n */\nexport type AgentTagProps = ComponentProps<Partial<Omit<AgentTagSlots, 'primaryAction' | 'progress'>>> &\n Omit<AttachmentProps, keyof AttachmentSlots | 'dismissOnly'>;\n\n/**\n * State used in rendering AgentTag\n */\nexport type AgentTagState = ComponentState<AgentTagSlots> & Omit<AttachmentState, keyof AttachmentSlots>;\n"],"names":[],"rangeMappings":";;","mappings":"AAWA;;CAEC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
AgentTag: function() {
|
|
13
|
-
return _AgentTag.AgentTag;
|
|
14
|
-
},
|
|
15
|
-
agentTagClassNames: function() {
|
|
16
|
-
return _useAgentTagStylesstyles.agentTagClassNames;
|
|
17
|
-
},
|
|
18
|
-
renderAgentTag_unstable: function() {
|
|
19
|
-
return _renderAgentTag.renderAgentTag_unstable;
|
|
20
|
-
},
|
|
21
|
-
useAgentTagStyles_unstable: function() {
|
|
22
|
-
return _useAgentTagStylesstyles.useAgentTagStyles_unstable;
|
|
23
|
-
},
|
|
24
|
-
useAgentTag_unstable: function() {
|
|
25
|
-
return _useAgentTag.useAgentTag_unstable;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const _AgentTag = require("./AgentTag");
|
|
29
|
-
const _renderAgentTag = require("./renderAgentTag");
|
|
30
|
-
const _useAgentTag = require("./useAgentTag");
|
|
31
|
-
const _useAgentTagStylesstyles = require("./useAgentTagStyles.styles");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export { AgentTag } from './AgentTag';\nexport type { AgentTagProps, AgentTagSlots, AgentTagState } from './AgentTag.types';\nexport { renderAgentTag_unstable } from './renderAgentTag';\nexport { useAgentTag_unstable } from './useAgentTag';\nexport { agentTagClassNames, useAgentTagStyles_unstable } from './useAgentTagStyles.styles';\n"],"names":["AgentTag","agentTagClassNames","renderAgentTag_unstable","useAgentTagStyles_unstable","useAgentTag_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,QAAQ;eAARA,kBAAQ;;IAIRC,kBAAkB;eAAlBA,2CAAkB;;IAFlBC,uBAAuB;eAAvBA,uCAAuB;;IAEHC,0BAA0B;eAA1BA,mDAA0B;;IAD9CC,oBAAoB;eAApBA,iCAAoB;;;0BAHJ;gCAEe;6BACH;yCAC0B"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "renderAgentTag_unstable", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return renderAgentTag_unstable;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const _Attachment = require("../Attachment");
|
|
12
|
-
const renderAgentTag_unstable = (state)=>{
|
|
13
|
-
return (0, _Attachment.renderAttachment_unstable)(state);
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["renderAgentTag.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { renderAttachment_unstable } from '../Attachment';\nimport type { AgentTagState } from './AgentTag.types';\n\n/**\n * Render the final JSX of AgentTag\n */\nexport const renderAgentTag_unstable = (state: AgentTagState) => {\n return renderAttachment_unstable(state);\n};\n"],"names":["renderAgentTag_unstable","state","renderAttachment_unstable"],"rangeMappings":";;;;;;;;;;;;;","mappings":";;;;+BASaA;;;eAAAA;;;4BARb;AAQO,MAAMA,0BAA0B,CAACC;IACtC,OAAOC,IAAAA,qCAAAA,EAA0BD;AACnC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "useAgentTag_unstable", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return useAgentTag_unstable;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const _ = require("..");
|
|
12
|
-
const useAgentTag_unstable = (props, ref)=>{
|
|
13
|
-
const state = (0, _.useAttachment_unstable)({
|
|
14
|
-
...props,
|
|
15
|
-
dismissOnly: true,
|
|
16
|
-
designVersion: 'next'
|
|
17
|
-
}, ref);
|
|
18
|
-
return state;
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["useAgentTag.ts"],"sourcesContent":["import type * as React from 'react';\nimport type { AgentTagProps, AgentTagState } from './AgentTag.types';\nimport { useAttachment_unstable } from '..';\n\n// If you add JSX to this file, be sure to change the file type to .tsx\n\n/**\n * Create the state required to render AgentTag.\n *\n * The returned state can be modified with hooks such as useAgentTagStyles_unstable,\n * before being passed to renderAgentTag_unstable.\n *\n * @param props - props from this instance of AgentTag\n * @param ref - reference to root HTMLElement of AgentTag\n */\nexport const useAgentTag_unstable = (props: AgentTagProps, ref: React.Ref<HTMLDivElement>): AgentTagState => {\n const state = useAttachment_unstable({ ...props, dismissOnly: true, designVersion: 'next' }, ref);\n\n return state;\n};\n"],"names":["useAgentTag_unstable","props","ref","state","useAttachment_unstable","dismissOnly","designVersion"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;+BAeaA;;;eAAAA;;;kBAb0B;AAahC,MAAMA,uBAAuB,CAACC,OAAsBC;IACzD,MAAMC,QAAQC,IAAAA,wBAAAA,EAAuB;QAAE,GAAGH,KAAK;QAAEI,aAAa;QAAMC,eAAe;IAAO,GAAGJ;IAE7F,OAAOC;AACT"}
|
|
@@ -1,145 +0,0 @@
|
|
|
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
|
-
agentTagClassNames: function() {
|
|
13
|
-
return agentTagClassNames;
|
|
14
|
-
},
|
|
15
|
-
useAgentTagStyles_unstable: function() {
|
|
16
|
-
return useAgentTagStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _reactcomponents = require("@fluentui/react-components");
|
|
20
|
-
const _ = require("..");
|
|
21
|
-
const agentTagClassNames = {
|
|
22
|
-
root: 'fai-AgentTag',
|
|
23
|
-
primaryAction: 'fai-AgentTag__primaryAction',
|
|
24
|
-
dismissIcon: 'fai-AgentTag__dismissIcon',
|
|
25
|
-
dismissButton: 'fai-AgentTag__dismissButton',
|
|
26
|
-
media: 'fai-AgentTag__media',
|
|
27
|
-
content: 'fai-AgentTag__content',
|
|
28
|
-
progress: 'fai-AgentTag__progress'
|
|
29
|
-
};
|
|
30
|
-
const useMediaStyles = (0, _reactcomponents.__styles)({
|
|
31
|
-
canvas: {
|
|
32
|
-
a9b677: "fq4mcun",
|
|
33
|
-
Bqenvij: "frvgh55"
|
|
34
|
-
},
|
|
35
|
-
sidecar: {
|
|
36
|
-
a9b677: "f64fuq3",
|
|
37
|
-
Bqenvij: "fjamq6b"
|
|
38
|
-
}
|
|
39
|
-
}, {
|
|
40
|
-
d: [
|
|
41
|
-
".fq4mcun{width:24px;}",
|
|
42
|
-
".frvgh55{height:24px;}",
|
|
43
|
-
".f64fuq3{width:20px;}",
|
|
44
|
-
".fjamq6b{height:20px;}"
|
|
45
|
-
]
|
|
46
|
-
});
|
|
47
|
-
const useContentStyles = (0, _reactcomponents.__styles)({
|
|
48
|
-
canvas: {
|
|
49
|
-
Bahqtrf: "fk6fouc",
|
|
50
|
-
Be2twd7: "fod5ikn",
|
|
51
|
-
Bhrd7zp: "fl43uef",
|
|
52
|
-
Bg96gwp: "f1anucx2",
|
|
53
|
-
sj55zd: "fkfq4zb"
|
|
54
|
-
},
|
|
55
|
-
sidecar: {
|
|
56
|
-
Bahqtrf: "fk6fouc",
|
|
57
|
-
Be2twd7: "fkhj508",
|
|
58
|
-
Bhrd7zp: "fl43uef",
|
|
59
|
-
Bg96gwp: "f1i3iumi",
|
|
60
|
-
sj55zd: "fkfq4zb"
|
|
61
|
-
}
|
|
62
|
-
}, {
|
|
63
|
-
d: [
|
|
64
|
-
".fk6fouc{font-family:var(--fontFamilyBase);}",
|
|
65
|
-
".fod5ikn{font-size:var(--fontSizeBase400);}",
|
|
66
|
-
".fl43uef{font-weight:var(--fontWeightSemibold);}",
|
|
67
|
-
".f1anucx2{line-height:var(--lineHeightBase450);}",
|
|
68
|
-
".fkfq4zb{color:var(--colorNeutralForeground2);}",
|
|
69
|
-
".fkhj508{font-size:var(--fontSizeBase300);}",
|
|
70
|
-
".f1i3iumi{line-height:var(--lineHeightBase300);}"
|
|
71
|
-
]
|
|
72
|
-
});
|
|
73
|
-
const useDismissButtonStyles = (0, _reactcomponents.__styles)({
|
|
74
|
-
canvas: {
|
|
75
|
-
Beyfa6y: 0,
|
|
76
|
-
Bbmb7ep: 0,
|
|
77
|
-
Btl43ni: 0,
|
|
78
|
-
B7oj6ja: 0,
|
|
79
|
-
Dimara: "f1jxijnj",
|
|
80
|
-
uwmqm3: [
|
|
81
|
-
"fhx4nu",
|
|
82
|
-
"fjodcmx"
|
|
83
|
-
],
|
|
84
|
-
z189sj: [
|
|
85
|
-
"fw5db7e",
|
|
86
|
-
"f1uw59to"
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
sidecar: {
|
|
90
|
-
uwmqm3: [
|
|
91
|
-
"f1uw59to",
|
|
92
|
-
"fw5db7e"
|
|
93
|
-
],
|
|
94
|
-
z189sj: [
|
|
95
|
-
"f1vdfbxk",
|
|
96
|
-
"f1f5gg8d"
|
|
97
|
-
],
|
|
98
|
-
Beyfa6y: 0,
|
|
99
|
-
Bbmb7ep: 0,
|
|
100
|
-
Btl43ni: 0,
|
|
101
|
-
B7oj6ja: 0,
|
|
102
|
-
Dimara: "f1kijzfu"
|
|
103
|
-
}
|
|
104
|
-
}, {
|
|
105
|
-
d: [
|
|
106
|
-
[
|
|
107
|
-
".f1jxijnj{border-radius:var(--borderRadius2XL);}",
|
|
108
|
-
{
|
|
109
|
-
p: -1
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
".fhx4nu{padding-left:var(--spacingHorizontalL);}",
|
|
113
|
-
".fjodcmx{padding-right:var(--spacingHorizontalL);}",
|
|
114
|
-
".fw5db7e{padding-right:var(--spacingHorizontalM);}",
|
|
115
|
-
".f1uw59to{padding-left:var(--spacingHorizontalM);}",
|
|
116
|
-
".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",
|
|
117
|
-
".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",
|
|
118
|
-
[
|
|
119
|
-
".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",
|
|
120
|
-
{
|
|
121
|
-
p: -1
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
]
|
|
125
|
-
});
|
|
126
|
-
const useAgentTagStyles_unstable = (state)=>{
|
|
127
|
-
'use no memo';
|
|
128
|
-
const { mode } = state;
|
|
129
|
-
const contentStyles = useContentStyles();
|
|
130
|
-
const dismissButtonStyles = useDismissButtonStyles();
|
|
131
|
-
const mediaStyles = useMediaStyles();
|
|
132
|
-
state.root.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.root, state.root.className);
|
|
133
|
-
state.primaryAction.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.primaryAction, state.primaryAction.className);
|
|
134
|
-
state.dismissIcon.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.dismissIcon, state.dismissIcon.className);
|
|
135
|
-
state.dismissButton.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.dismissButton, dismissButtonStyles[mode], state.dismissButton.className);
|
|
136
|
-
if (state.media) {
|
|
137
|
-
state.media.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.media, mediaStyles[mode], state.media.className);
|
|
138
|
-
}
|
|
139
|
-
state.content.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.content, contentStyles[mode], state.content.className);
|
|
140
|
-
if (state.progress) {
|
|
141
|
-
state.progress.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.progress, state.progress.className);
|
|
142
|
-
}
|
|
143
|
-
(0, _.useAttachmentStyles_unstable)(state);
|
|
144
|
-
return state;
|
|
145
|
-
}; //# sourceMappingURL=useAgentTagStyles.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["useAgentTagStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@fluentui/react-components';\nimport type { AgentTagSlots, AgentTagState } from './AgentTag.types';\nimport type { SlotClassNames } from '@fluentui/react-components';\nimport { useAttachmentStyles_unstable } from '..';\nimport { tokens, typographyStyles } from '@fluentui-copilot/tokens';\n\nexport const agentTagClassNames: SlotClassNames<AgentTagSlots> = {\n root: 'fai-AgentTag',\n primaryAction: 'fai-AgentTag__primaryAction',\n dismissIcon: 'fai-AgentTag__dismissIcon',\n dismissButton: 'fai-AgentTag__dismissButton',\n media: 'fai-AgentTag__media',\n content: 'fai-AgentTag__content',\n progress: 'fai-AgentTag__progress',\n};\n\nconst useMediaStyles = makeStyles({\n canvas: {\n width: '24px',\n height: '24px',\n },\n sidecar: { width: '20px', height: '20px' },\n});\n\nconst useContentStyles = makeStyles({\n canvas: {\n ...typographyStyles.subtitle2,\n color: tokens.colorNeutralForeground2,\n },\n sidecar: {\n ...typographyStyles.body1Strong,\n color: tokens.colorNeutralForeground2,\n },\n});\n\nconst useDismissButtonStyles = makeStyles({\n canvas: {\n borderRadius: tokens.borderRadius2XL,\n paddingLeft: tokens.spacingHorizontalL,\n paddingRight: tokens.spacingHorizontalM,\n },\n sidecar: {\n paddingLeft: tokens.spacingHorizontalM,\n paddingRight: tokens.spacingHorizontalS,\n borderRadius: tokens.borderRadiusXLarge,\n },\n});\n\n/**\n * Apply styling to the AgentTag slots based on the state\n */\nexport const useAgentTagStyles_unstable = (state: AgentTagState): AgentTagState => {\n 'use no memo';\n\n const { mode } = state;\n\n const contentStyles = useContentStyles();\n const dismissButtonStyles = useDismissButtonStyles();\n const mediaStyles = useMediaStyles();\n\n state.root.className = mergeClasses(agentTagClassNames.root, state.root.className);\n\n state.primaryAction.className = mergeClasses(agentTagClassNames.primaryAction, state.primaryAction.className);\n\n state.dismissIcon.className = mergeClasses(agentTagClassNames.dismissIcon, state.dismissIcon.className);\n\n state.dismissButton.className = mergeClasses(\n agentTagClassNames.dismissButton,\n dismissButtonStyles[mode],\n state.dismissButton.className,\n );\n\n if (state.media) {\n state.media.className = mergeClasses(agentTagClassNames.media, mediaStyles[mode], state.media.className);\n }\n\n state.content.className = mergeClasses(agentTagClassNames.content, contentStyles[mode], state.content.className);\n\n if (state.progress) {\n state.progress.className = mergeClasses(agentTagClassNames.progress, state.progress.className);\n }\n\n useAttachmentStyles_unstable(state);\n\n return state;\n};\n"],"names":["agentTagClassNames","root","primaryAction","dismissIcon","dismissButton","media","content","progress","useMediaStyles","makeStyles","canvas","width","height","sidecar","d","useContentStyles","typographyStyles","subtitle2","color","Bahqtrf","sj55zd","useDismissButtonStyles","borderRadius","paddingLeft","paddingRight","__styles","Beyfa6y","Btl43ni","B7oj6ja","Dimara","mode","uwmqm3","contentStyles","z189sj","dismissButtonStyles","state","className","mergeClasses","Bbmb7ep","useAttachmentStyles_unstable","p"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAMaA,kBAAAA;eAAAA;;;;;;iCANoB;kBAGY;AAGtC,MAAMA,qBAAoD;UAC/DC;mBACAC;iBACAC;mBACAC;WACAC;aACAC;cACAC;AACF;AAEA,MAAMC,iBAAiBC,IAAAA,yBAAAA,EAAAA;YACrBC;gBACEC;iBACAC;;aAEFC;gBAAWF;iBAAeC;;AAC5B,GAAA;IAEAE,GAAA;QAAMC;QAAmBN;QAAW;QAAA;KAAA;;yBAE7BO,IAAAA,yBAAiBC,EAAAA;YACpBC;QACFC,SAAA;QACAN,SAAS;iBACJG;iBACHE;QACFE,QAAA;IACF;IAEAP,SAAMQ;QACJX,SAAQ;iBACNY;iBACAC;iBACAC;QACFJ,QAAA;;;;;QAGyC;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;;MAEzCC,yBAAAI,IAAAA,yBAAA,EAAA;IACFf,QAAA;QAEAgB,SAAA;;QAGAC,SAAO;QACLC,SAAA;QAEAC,QAAQC;QAERC,QAAMC;YAAAA;YAAAA;SAAgBjB;QACtBkB,QAAMC;YAAAA;YAAAA;SAAsBb;;aAGtBpB;QAENkC,QAAMjC;YAAAA;YAAckC;SAAS;QAE7BD,QAAMhC;YAAAA;YAAYiC;SAAYC;QAE9BF,SAAM/B;QAMNkC,SAAIH;iBACFA;QACFP,SAAA;QAEAO,QAAM7B;;;OAIN;QAAA;YAAA;YAAA;gBAEAiC,GAAAA,CAAAA;;SAEA;QAAA;QAAOJ;QAAAA;QAAAA;QAAAA;QAAAA;QAAAA;YAAAA;YAAAA;gBACPK,GAAA,CAAA"}
|
|
@@ -1,82 +0,0 @@
|
|
|
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
|
-
agentTagClassNames: function() {
|
|
13
|
-
return agentTagClassNames;
|
|
14
|
-
},
|
|
15
|
-
useAgentTagStyles_unstable: function() {
|
|
16
|
-
return useAgentTagStyles_unstable;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const _reactcomponents = require("@fluentui/react-components");
|
|
20
|
-
const _ = require("..");
|
|
21
|
-
const _tokens = require("@fluentui-copilot/tokens");
|
|
22
|
-
const agentTagClassNames = {
|
|
23
|
-
root: 'fai-AgentTag',
|
|
24
|
-
primaryAction: 'fai-AgentTag__primaryAction',
|
|
25
|
-
dismissIcon: 'fai-AgentTag__dismissIcon',
|
|
26
|
-
dismissButton: 'fai-AgentTag__dismissButton',
|
|
27
|
-
media: 'fai-AgentTag__media',
|
|
28
|
-
content: 'fai-AgentTag__content',
|
|
29
|
-
progress: 'fai-AgentTag__progress'
|
|
30
|
-
};
|
|
31
|
-
const useMediaStyles = (0, _reactcomponents.makeStyles)({
|
|
32
|
-
canvas: {
|
|
33
|
-
width: '24px',
|
|
34
|
-
height: '24px'
|
|
35
|
-
},
|
|
36
|
-
sidecar: {
|
|
37
|
-
width: '20px',
|
|
38
|
-
height: '20px'
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
const useContentStyles = (0, _reactcomponents.makeStyles)({
|
|
42
|
-
canvas: {
|
|
43
|
-
..._tokens.typographyStyles.subtitle2,
|
|
44
|
-
color: _tokens.tokens.colorNeutralForeground2
|
|
45
|
-
},
|
|
46
|
-
sidecar: {
|
|
47
|
-
..._tokens.typographyStyles.body1Strong,
|
|
48
|
-
color: _tokens.tokens.colorNeutralForeground2
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
const useDismissButtonStyles = (0, _reactcomponents.makeStyles)({
|
|
52
|
-
canvas: {
|
|
53
|
-
borderRadius: _tokens.tokens.borderRadius2XL,
|
|
54
|
-
paddingLeft: _tokens.tokens.spacingHorizontalL,
|
|
55
|
-
paddingRight: _tokens.tokens.spacingHorizontalM
|
|
56
|
-
},
|
|
57
|
-
sidecar: {
|
|
58
|
-
paddingLeft: _tokens.tokens.spacingHorizontalM,
|
|
59
|
-
paddingRight: _tokens.tokens.spacingHorizontalS,
|
|
60
|
-
borderRadius: _tokens.tokens.borderRadiusXLarge
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
const useAgentTagStyles_unstable = (state)=>{
|
|
64
|
-
'use no memo';
|
|
65
|
-
const { mode } = state;
|
|
66
|
-
const contentStyles = useContentStyles();
|
|
67
|
-
const dismissButtonStyles = useDismissButtonStyles();
|
|
68
|
-
const mediaStyles = useMediaStyles();
|
|
69
|
-
state.root.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.root, state.root.className);
|
|
70
|
-
state.primaryAction.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.primaryAction, state.primaryAction.className);
|
|
71
|
-
state.dismissIcon.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.dismissIcon, state.dismissIcon.className);
|
|
72
|
-
state.dismissButton.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.dismissButton, dismissButtonStyles[mode], state.dismissButton.className);
|
|
73
|
-
if (state.media) {
|
|
74
|
-
state.media.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.media, mediaStyles[mode], state.media.className);
|
|
75
|
-
}
|
|
76
|
-
state.content.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.content, contentStyles[mode], state.content.className);
|
|
77
|
-
if (state.progress) {
|
|
78
|
-
state.progress.className = (0, _reactcomponents.mergeClasses)(agentTagClassNames.progress, state.progress.className);
|
|
79
|
-
}
|
|
80
|
-
(0, _.useAttachmentStyles_unstable)(state);
|
|
81
|
-
return state;
|
|
82
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["useAgentTagStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@fluentui/react-components';\nimport type { AgentTagSlots, AgentTagState } from './AgentTag.types';\nimport type { SlotClassNames } from '@fluentui/react-components';\nimport { useAttachmentStyles_unstable } from '..';\nimport { tokens, typographyStyles } from '@fluentui-copilot/tokens';\n\nexport const agentTagClassNames: SlotClassNames<AgentTagSlots> = {\n root: 'fai-AgentTag',\n primaryAction: 'fai-AgentTag__primaryAction',\n dismissIcon: 'fai-AgentTag__dismissIcon',\n dismissButton: 'fai-AgentTag__dismissButton',\n media: 'fai-AgentTag__media',\n content: 'fai-AgentTag__content',\n progress: 'fai-AgentTag__progress',\n};\n\nconst useMediaStyles = makeStyles({\n canvas: {\n width: '24px',\n height: '24px',\n },\n sidecar: { width: '20px', height: '20px' },\n});\n\nconst useContentStyles = makeStyles({\n canvas: {\n ...typographyStyles.subtitle2,\n color: tokens.colorNeutralForeground2,\n },\n sidecar: {\n ...typographyStyles.body1Strong,\n color: tokens.colorNeutralForeground2,\n },\n});\n\nconst useDismissButtonStyles = makeStyles({\n canvas: {\n borderRadius: tokens.borderRadius2XL,\n paddingLeft: tokens.spacingHorizontalL,\n paddingRight: tokens.spacingHorizontalM,\n },\n sidecar: {\n paddingLeft: tokens.spacingHorizontalM,\n paddingRight: tokens.spacingHorizontalS,\n borderRadius: tokens.borderRadiusXLarge,\n },\n});\n\n/**\n * Apply styling to the AgentTag slots based on the state\n */\nexport const useAgentTagStyles_unstable = (state: AgentTagState): AgentTagState => {\n 'use no memo';\n\n const { mode } = state;\n\n const contentStyles = useContentStyles();\n const dismissButtonStyles = useDismissButtonStyles();\n const mediaStyles = useMediaStyles();\n\n state.root.className = mergeClasses(agentTagClassNames.root, state.root.className);\n\n state.primaryAction.className = mergeClasses(agentTagClassNames.primaryAction, state.primaryAction.className);\n\n state.dismissIcon.className = mergeClasses(agentTagClassNames.dismissIcon, state.dismissIcon.className);\n\n state.dismissButton.className = mergeClasses(\n agentTagClassNames.dismissButton,\n dismissButtonStyles[mode],\n state.dismissButton.className,\n );\n\n if (state.media) {\n state.media.className = mergeClasses(agentTagClassNames.media, mediaStyles[mode], state.media.className);\n }\n\n state.content.className = mergeClasses(agentTagClassNames.content, contentStyles[mode], state.content.className);\n\n if (state.progress) {\n state.progress.className = mergeClasses(agentTagClassNames.progress, state.progress.className);\n }\n\n useAttachmentStyles_unstable(state);\n\n return state;\n};\n"],"names":["agentTagClassNames","useAgentTagStyles_unstable","root","primaryAction","dismissIcon","dismissButton","media","content","progress","useMediaStyles","makeStyles","canvas","width","height","sidecar","useContentStyles","typographyStyles","subtitle2","color","tokens","colorNeutralForeground2","body1Strong","useDismissButtonStyles","borderRadius","borderRadius2XL","paddingLeft","spacingHorizontalL","paddingRight","spacingHorizontalM","spacingHorizontalS","borderRadiusXLarge","state","mode","contentStyles","dismissButtonStyles","mediaStyles","className","mergeClasses","useAttachmentStyles_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAMaA,kBAAAA;eAAAA;;IA6CAC,0BAAAA;eAAAA;;;iCAnD4B;kBAGI;wBACJ;AAElC,MAAMD,qBAAoD;IAC/DE,MAAM;IACNC,eAAe;IACfC,aAAa;IACbC,eAAe;IACfC,OAAO;IACPC,SAAS;IACTC,UAAU;AACZ;AAEA,MAAMC,iBAAiBC,IAAAA,2BAAAA,EAAW;IAChCC,QAAQ;QACNC,OAAO;QACPC,QAAQ;IACV;IACAC,SAAS;QAAEF,OAAO;QAAQC,QAAQ;IAAO;AAC3C;AAEA,MAAME,mBAAmBL,IAAAA,2BAAAA,EAAW;IAClCC,QAAQ;QACN,GAAGK,wBAAAA,CAAiBC,SAAS;QAC7BC,OAAOC,cAAAA,CAAOC,uBAAuB;IACvC;IACAN,SAAS;QACP,GAAGE,wBAAAA,CAAiBK,WAAW;QAC/BH,OAAOC,cAAAA,CAAOC,uBAAuB;IACvC;AACF;AAEA,MAAME,yBAAyBZ,IAAAA,2BAAAA,EAAW;IACxCC,QAAQ;QACNY,cAAcJ,cAAAA,CAAOK,eAAe;QACpCC,aAAaN,cAAAA,CAAOO,kBAAkB;QACtCC,cAAcR,cAAAA,CAAOS,kBAAkB;IACzC;IACAd,SAAS;QACPW,aAAaN,cAAAA,CAAOS,kBAAkB;QACtCD,cAAcR,cAAAA,CAAOU,kBAAkB;QACvCN,cAAcJ,cAAAA,CAAOW,kBAAkB;IACzC;AACF;AAKO,MAAM7B,6BAA6B,CAAC8B;IACzC;IAEA,MAAM,EAAEC,IAAI,EAAE,GAAGD;IAEjB,MAAME,gBAAgBlB;IACtB,MAAMmB,sBAAsBZ;IAC5B,MAAMa,cAAc1B;IAEpBsB,MAAM7B,IAAI,CAACkC,SAAS,GAAGC,IAAAA,6BAAAA,EAAarC,mBAAmBE,IAAI,EAAE6B,MAAM7B,IAAI,CAACkC,SAAS;IAEjFL,MAAM5B,aAAa,CAACiC,SAAS,GAAGC,IAAAA,6BAAAA,EAAarC,mBAAmBG,aAAa,EAAE4B,MAAM5B,aAAa,CAACiC,SAAS;IAE5GL,MAAM3B,WAAW,CAACgC,SAAS,GAAGC,IAAAA,6BAAAA,EAAarC,mBAAmBI,WAAW,EAAE2B,MAAM3B,WAAW,CAACgC,SAAS;IAEtGL,MAAM1B,aAAa,CAAC+B,SAAS,GAAGC,IAAAA,6BAAAA,EAC9BrC,mBAAmBK,aAAa,EAChC6B,mBAAmB,CAACF,KAAK,EACzBD,MAAM1B,aAAa,CAAC+B,SAAS;IAG/B,IAAIL,MAAMzB,KAAK,EAAE;QACfyB,MAAMzB,KAAK,CAAC8B,SAAS,GAAGC,IAAAA,6BAAAA,EAAarC,mBAAmBM,KAAK,EAAE6B,WAAW,CAACH,KAAK,EAAED,MAAMzB,KAAK,CAAC8B,SAAS;IACzG;IAEAL,MAAMxB,OAAO,CAAC6B,SAAS,GAAGC,IAAAA,6BAAAA,EAAarC,mBAAmBO,OAAO,EAAE0B,aAAa,CAACD,KAAK,EAAED,MAAMxB,OAAO,CAAC6B,SAAS;IAE/G,IAAIL,MAAMvB,QAAQ,EAAE;QAClBuB,MAAMvB,QAAQ,CAAC4B,SAAS,GAAGC,IAAAA,6BAAAA,EAAarC,mBAAmBQ,QAAQ,EAAEuB,MAAMvB,QAAQ,CAAC4B,SAAS;IAC/F;IAEAE,IAAAA,8BAAAA,EAA6BP;IAE7B,OAAOA;AACT"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "Attachment", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return Attachment;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
12
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
13
|
-
const _useAttachment = require("./useAttachment");
|
|
14
|
-
const _renderAttachment = require("./renderAttachment");
|
|
15
|
-
const _useAttachmentStylesstyles = require("./useAttachmentStyles.styles");
|
|
16
|
-
const _reactprovider = require("@fluentui-copilot/react-provider");
|
|
17
|
-
const Attachment = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
|
18
|
-
const state = (0, _useAttachment.useAttachment_unstable)(props, ref);
|
|
19
|
-
(0, _useAttachmentStylesstyles.useAttachmentStyles_unstable)(state);
|
|
20
|
-
(0, _reactprovider.useCustomStyleHook)('useAttachmentStyles')(state);
|
|
21
|
-
return (0, _renderAttachment.renderAttachment_unstable)(state);
|
|
22
|
-
});
|
|
23
|
-
Attachment.displayName = 'Attachment';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Attachment.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useAttachment_unstable } from './useAttachment';\nimport { renderAttachment_unstable } from './renderAttachment';\nimport { useAttachmentStyles_unstable } from './useAttachmentStyles.styles';\nimport type { AttachmentProps } from './Attachment.types';\nimport type { ForwardRefComponent } from '@fluentui/react-components';\nimport { useCustomStyleHook } from '@fluentui-copilot/react-provider';\n\n// Attachment component - TODO: add more docs\nexport const Attachment: ForwardRefComponent<AttachmentProps> = React.forwardRef((props, ref) => {\n const state = useAttachment_unstable(props, ref);\n\n useAttachmentStyles_unstable(state);\n useCustomStyleHook('useAttachmentStyles')(state);\n\n return renderAttachment_unstable(state);\n});\n\nAttachment.displayName = 'Attachment';\n"],"names":["Attachment","React","forwardRef","props","ref","state","useAttachment_unstable","useAttachmentStyles_unstable","useCustomStyleHook","renderAttachment_unstable","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BASaA;;;eAAAA;;;;iEATU;+BACgB;kCACG;2CACG;+BAGV;AAG5B,MAAMA,aAAAA,WAAAA,GAAmDC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACvF,MAAMC,QAAQC,IAAAA,qCAAAA,EAAuBH,OAAOC;IAE5CG,IAAAA,uDAAAA,EAA6BF;IAC7BG,IAAAA,iCAAAA,EAAmB,uBAAuBH;IAE1C,OAAOI,IAAAA,2CAAAA,EAA0BJ;AACnC;AAEAL,WAAWU,WAAW,GAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Attachment.types.ts"],"sourcesContent":["import type { CopilotMode, DesignVersion } from '@fluentui-copilot/react-provider';\nimport type { ComponentProps, ComponentState, ProgressBar, Slot } from '@fluentui/react-components';\n\nexport type AttachmentSlots = {\n root: NonNullable<Slot<'div'>>;\n\n /**\n * Attachments support a primary action.\n */\n primaryAction: NonNullable<Slot<'button', 'span'>>;\n\n /**\n * Attachments have a dismiss button.\n */\n dismissButton: NonNullable<Slot<'button'>>;\n\n /**\n * Attachments can include an image or other media.\n */\n media?: Slot<'span'>;\n\n /**\n * The content of the attachment.\n */\n content: NonNullable<Slot<'span'>>;\n\n /**\n * The icon that renders for the `dismissButton`.\n */\n dismissIcon: NonNullable<Slot<'span'>>;\n\n /**\n * An attachment supports a progress bar, which can display the attachment's upload progress.\n */\n progress?: Slot<typeof ProgressBar>;\n};\n\n/**\n * Attachment Props\n */\nexport type AttachmentProps = Omit<ComponentProps<Partial<AttachmentSlots>>, 'content'> &\n Pick<Partial<AttachmentSlots>, 'content'> &\n CopilotMode &\n DesignVersion & {\n /**\n * Use this prop if an attachment has no text content.\n *\n * @default false\n */\n imageOnly?: boolean;\n\n /**\n * An attachment supports different sizes.\n *\n * @default 'medium'\n */\n size?: 'small' | 'medium';\n /**\n * Use this prop if the attachment has no primary action\n * and should be rendered as a single button\n */\n dismissOnly?: boolean;\n };\n\n/**\n * State used in rendering Attachment\n */\nexport type AttachmentState = ComponentState<AttachmentSlots> &\n Required<Pick<AttachmentProps, 'id' | 'size' | 'designVersion' | 'mode' | 'dismissOnly'>> &\n Pick<AttachmentProps, 'imageOnly'> & {\n isLoading: boolean;\n shouldUseOverflow: boolean;\n };\n"],"names":[],"rangeMappings":";;","mappings":"AAgEA;;CAEC"}
|