@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/CHANGELOG.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"name": "@fluentui-copilot/react-attachments",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"tag": "@fluentui-copilot/react-attachments_v0.0.0-nightly-
|
|
7
|
-
"version": "0.0.0-nightly-
|
|
5
|
+
"date": "Fri, 10 Oct 2025 04:08:17 GMT",
|
|
6
|
+
"tag": "@fluentui-copilot/react-attachments_v0.0.0-nightly-20251010-0406-7df7c6d1.1",
|
|
7
|
+
"version": "0.0.0-nightly-20251010-0406-7df7c6d1.1",
|
|
8
8
|
"comments": {
|
|
9
9
|
"prerelease": [
|
|
10
10
|
{
|
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Change Log - @fluentui-copilot/react-attachments
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 10 Oct 2025 04:08:17 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [0.0.0-nightly-
|
|
7
|
+
## [0.0.0-nightly-20251010-0406-7df7c6d1.1](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-attachments_v0.0.0-nightly-20251010-0406-7df7c6d1.1)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-attachments_v0.13.6..@fluentui-copilot/react-attachments_v0.0.0-nightly-
|
|
9
|
+
Fri, 10 Oct 2025 04:08:17 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-attachments_v0.13.6..@fluentui-copilot/react-attachments_v0.0.0-nightly-20251010-0406-7df7c6d1.1)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-copilot/react-attachments",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20251010-0406-7df7c6d1.1",
|
|
4
4
|
"description": "A set of components related to attaching files in Copilot experiences.",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@fluentui-copilot/react-provider": "0.0.0-nightly-
|
|
16
|
-
"@fluentui-copilot/react-utilities": "0.0.0-nightly-
|
|
17
|
-
"@fluentui-copilot/tokens": "0.0.0-nightly-
|
|
15
|
+
"@fluentui-copilot/react-provider": "0.0.0-nightly-20251010-0406-7df7c6d1.1",
|
|
16
|
+
"@fluentui-copilot/react-utilities": "~0.0.0-nightly-20251010-0406-7df7c6d1.1",
|
|
17
|
+
"@fluentui-copilot/tokens": "0.0.0-nightly-20251010-0406-7df7c6d1.1",
|
|
18
18
|
"@swc/helpers": "^0.5.1"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"@fluentui/react-jsx-runtime": ">=9.2.0 <10.0.0",
|
|
26
26
|
"@fluentui/react-shared-contexts": ">=9.25.1 <10.0.0",
|
|
27
27
|
"@fluentui/react-utilities": ">=9.24.1 <10.0.0",
|
|
28
|
-
"@types/react": ">=16.14.0 <
|
|
29
|
-
"@types/react-dom": ">=16.9.8 <
|
|
30
|
-
"react": ">=16.14.0 <
|
|
31
|
-
"react-dom": ">=16.14.0 <
|
|
28
|
+
"@types/react": ">=16.14.0 <20.0.0",
|
|
29
|
+
"@types/react-dom": ">=16.9.8 <20.0.0",
|
|
30
|
+
"react": ">=16.14.0 <20.0.0",
|
|
31
|
+
"react-dom": ">=16.14.0 <20.0.0"
|
|
32
32
|
},
|
|
33
33
|
"beachball": {},
|
|
34
34
|
"exports": {
|
package/dist/index.d.ts
DELETED
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
import type { ComponentProps } from '@fluentui/react-components';
|
|
4
|
-
import type { ComponentState } from '@fluentui/react-components';
|
|
5
|
-
import type { Context } from '@fluentui/react-context-selector';
|
|
6
|
-
import type { ContextSelector } from '@fluentui/react-context-selector';
|
|
7
|
-
import type { CopilotMode } from '@fluentui-copilot/react-provider';
|
|
8
|
-
import type { DesignVersion } from '@fluentui-copilot/react-provider';
|
|
9
|
-
import { FC } from 'react';
|
|
10
|
-
import type { ForwardRefComponent } from '@fluentui/react-components';
|
|
11
|
-
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
12
|
-
import type { MenuContextValues } from '@fluentui/react-components';
|
|
13
|
-
import type { MenuItem } from '@fluentui/react-components';
|
|
14
|
-
import type { MenuList } from '@fluentui/react-components';
|
|
15
|
-
import type { MenuPopover } from '@fluentui/react-components';
|
|
16
|
-
import type { MenuProps } from '@fluentui/react-components';
|
|
17
|
-
import type { MenuSlots } from '@fluentui/react-components';
|
|
18
|
-
import type { MenuState } from '@fluentui/react-components';
|
|
19
|
-
import type { ProgressBar } from '@fluentui/react-components';
|
|
20
|
-
import { Provider } from 'react';
|
|
21
|
-
import { ProviderProps } from 'react';
|
|
22
|
-
import * as React_2 from 'react';
|
|
23
|
-
import type { Slot } from '@fluentui/react-components';
|
|
24
|
-
import type { SlotClassNames } from '@fluentui/react-components';
|
|
25
|
-
|
|
26
|
-
export declare const AgentTag: ForwardRefComponent<AgentTagProps>;
|
|
27
|
-
|
|
28
|
-
export declare const agentTagClassNames: SlotClassNames<AgentTagSlots>;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* AgentTag Props
|
|
32
|
-
*/
|
|
33
|
-
export declare type AgentTagProps = ComponentProps<Partial<Omit<AgentTagSlots, 'primaryAction' | 'progress'>>> & Omit<AttachmentProps, keyof AttachmentSlots | 'dismissOnly'>;
|
|
34
|
-
|
|
35
|
-
export declare type AgentTagSlots = AttachmentSlots;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* State used in rendering AgentTag
|
|
39
|
-
*/
|
|
40
|
-
export declare type AgentTagState = ComponentState<AgentTagSlots> & Omit<AttachmentState, keyof AttachmentSlots>;
|
|
41
|
-
|
|
42
|
-
export declare const Attachment: ForwardRefComponent<AttachmentProps>;
|
|
43
|
-
|
|
44
|
-
export declare const attachmentClassNames: SlotClassNames<AttachmentSlots>;
|
|
45
|
-
|
|
46
|
-
export declare type AttachmentDismissedData = {
|
|
47
|
-
content?: AttachmentProps['children'];
|
|
48
|
-
media?: AttachmentProps['media'];
|
|
49
|
-
id?: string;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export declare const AttachmentList: ForwardRefComponent<AttachmentListProps>;
|
|
53
|
-
|
|
54
|
-
export declare const attachmentListClassNames: SlotClassNames<AttachmentListSlots>;
|
|
55
|
-
|
|
56
|
-
export declare const AttachmentListContext: Context<AttachmentListContextValue>;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Context shared between AttachmentList and its children components
|
|
60
|
-
*/
|
|
61
|
-
export declare type AttachmentListContextValue = Pick<AttachmentListState, 'onAttachmentDismiss' | 'shouldUseOverflow' | 'numberOfAttachments'>;
|
|
62
|
-
|
|
63
|
-
declare type AttachmentListContextValues = {
|
|
64
|
-
attachmentList: AttachmentListContextValue;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* AttachmentList Props
|
|
69
|
-
*/
|
|
70
|
-
export declare type AttachmentListProps = ComponentProps<Partial<AttachmentListSlots>> & DesignVersion & {
|
|
71
|
-
/**
|
|
72
|
-
* Callback fired when an attachment is dismissed.
|
|
73
|
-
*/
|
|
74
|
-
onAttachmentDismiss?: (e: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement>, data: AttachmentDismissedData) => void;
|
|
75
|
-
/**
|
|
76
|
-
* Props that will be passed to the overflow menu.
|
|
77
|
-
*/
|
|
78
|
-
overflowMenuProps?: Omit<AttachmentOverflowMenuProps, 'children'>;
|
|
79
|
-
/**
|
|
80
|
-
* The maximum number of attachments to display before the overflow button is shown even if there is
|
|
81
|
-
* enough space available to show more.
|
|
82
|
-
* If not set, the overflow functionality will be disabled.
|
|
83
|
-
* @default undefined
|
|
84
|
-
*/
|
|
85
|
-
maxVisibleAttachments?: number;
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
export declare const AttachmentListProvider: Provider<AttachmentListContextValue> & FC<ProviderProps<AttachmentListContextValue>>;
|
|
89
|
-
|
|
90
|
-
export declare type AttachmentListSlots = {
|
|
91
|
-
root: Slot<'div'>;
|
|
92
|
-
menuList?: Slot<typeof MenuList>;
|
|
93
|
-
menuPopover?: Slot<typeof MenuPopover>;
|
|
94
|
-
/**
|
|
95
|
-
* An AttachmentList has an overflow menu when `maxVisibleAttachments` is exceeded.
|
|
96
|
-
* Adding a custom button for the overflow menu is supported.
|
|
97
|
-
*/
|
|
98
|
-
overflowMenuButton: Slot<'span'>;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* State used in rendering AttachmentList
|
|
103
|
-
*/
|
|
104
|
-
export declare type AttachmentListState = ComponentState<AttachmentListSlots> & Pick<AttachmentListProps, 'onAttachmentDismiss' | 'overflowMenuProps' | 'designVersion'> & {
|
|
105
|
-
shouldUseOverflow: boolean;
|
|
106
|
-
numberOfAttachments: number;
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
export declare const AttachmentOverflowMenu: React_2.FC<AttachmentOverflowMenuProps>;
|
|
110
|
-
|
|
111
|
-
export declare const AttachmentOverflowMenuButton: ForwardRefComponent<AttachmentOverflowMenuButtonProps>;
|
|
112
|
-
|
|
113
|
-
export declare const attachmentOverflowMenuButtonClassNames: SlotClassNames<AttachmentOverflowMenuButtonSlots>;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* AttachmentOverflowMenuButton Props
|
|
117
|
-
*/
|
|
118
|
-
export declare type AttachmentOverflowMenuButtonProps = ComponentProps<Partial<AttachmentOverflowMenuButtonSlots>> & CopilotMode & DesignVersion & {
|
|
119
|
-
/**
|
|
120
|
-
* Toggle prop to indicate that there are Attachments in the overflow menu that's currently loading.
|
|
121
|
-
* Setting this to true will show an indeterminate progress bar on the button.
|
|
122
|
-
* @default false
|
|
123
|
-
*/
|
|
124
|
-
isLoading?: boolean;
|
|
125
|
-
text?: string | ((overflowCount: number) => React.ReactNode);
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
export declare type AttachmentOverflowMenuButtonSlots = {
|
|
129
|
-
root: NonNullable<Slot<'button'>>;
|
|
130
|
-
progress: NonNullable<Slot<typeof ProgressBar>>;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* State used in rendering AttachmentOverflowMenuButton
|
|
135
|
-
*/
|
|
136
|
-
export declare type AttachmentOverflowMenuButtonState = ComponentState<AttachmentOverflowMenuButtonSlots> & Pick<AttachmentOverflowMenuState, 'isOverflowing' | 'overflowCount'> & Pick<AttachmentOverflowMenuButtonProps, 'isLoading'> & Pick<Required<AttachmentOverflowMenuButtonProps>, 'designVersion' | 'mode'> & {
|
|
137
|
-
/**
|
|
138
|
-
* True when all attachments are overflowed into the overflow menu.
|
|
139
|
-
*/
|
|
140
|
-
fullyOverflowed: boolean;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
export declare const AttachmentOverflowMenuContext: Context<AttachmentOverflowMenuContextValue>;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Context shared between AttachmentOverflowMenu and its children components
|
|
147
|
-
*/
|
|
148
|
-
export declare type AttachmentOverflowMenuContextValue = Pick<AttachmentOverflowMenuState, 'isOverflowing' | 'overflowButtonRef' | 'overflowCount'>;
|
|
149
|
-
|
|
150
|
-
declare type AttachmentOverflowMenuContextValues = {
|
|
151
|
-
attachmentOverflowMenu: AttachmentOverflowMenuContextValue;
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
export declare const AttachmentOverflowMenuItem: ForwardRefComponent<AttachmentOverflowMenuItemProps>;
|
|
155
|
-
|
|
156
|
-
export declare const attachmentOverflowMenuItemClassNames: SlotClassNames<AttachmentOverflowMenuItemSlots>;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* AttachmentOverflowMenuItem Props
|
|
160
|
-
*/
|
|
161
|
-
export declare type AttachmentOverflowMenuItemProps = ComponentProps<Partial<AttachmentOverflowMenuItemSlots>> & DesignVersion & Pick<AttachmentProps, 'id' | 'media' | 'imageOnly'>;
|
|
162
|
-
|
|
163
|
-
export declare type AttachmentOverflowMenuItemSlots = {
|
|
164
|
-
root: NonNullable<Slot<typeof MenuItem>>;
|
|
165
|
-
progress?: Slot<typeof ProgressBar>;
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* State used in rendering AttachmentOverflowMenuItem
|
|
170
|
-
*/
|
|
171
|
-
export declare type AttachmentOverflowMenuItemState = ComponentState<AttachmentOverflowMenuItemSlots> & Pick<AttachmentOverflowMenuItemProps, 'imageOnly' | 'designVersion'> & {
|
|
172
|
-
isVisible: boolean;
|
|
173
|
-
};
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* AttachmentOverflowMenu Props
|
|
177
|
-
*/
|
|
178
|
-
export declare type AttachmentOverflowMenuProps = MenuProps;
|
|
179
|
-
|
|
180
|
-
export declare const AttachmentOverflowMenuProvider: Provider<AttachmentOverflowMenuContextValue> & FC<ProviderProps<AttachmentOverflowMenuContextValue>>;
|
|
181
|
-
|
|
182
|
-
export declare type AttachmentOverflowMenuSlots = MenuSlots;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* State used in rendering AttachmentOverflowMenu
|
|
186
|
-
*/
|
|
187
|
-
export declare type AttachmentOverflowMenuState = MenuState & {
|
|
188
|
-
isOverflowing: boolean;
|
|
189
|
-
overflowButtonRef?: React.MutableRefObject<HTMLButtonElement | null>;
|
|
190
|
-
overflowCount: number;
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Attachment Props
|
|
195
|
-
*/
|
|
196
|
-
export declare type AttachmentProps = Omit<ComponentProps<Partial<AttachmentSlots>>, 'content'> & Pick<Partial<AttachmentSlots>, 'content'> & CopilotMode & DesignVersion & {
|
|
197
|
-
/**
|
|
198
|
-
* Use this prop if an attachment has no text content.
|
|
199
|
-
*
|
|
200
|
-
* @default false
|
|
201
|
-
*/
|
|
202
|
-
imageOnly?: boolean;
|
|
203
|
-
/**
|
|
204
|
-
* An attachment supports different sizes.
|
|
205
|
-
*
|
|
206
|
-
* @default 'medium'
|
|
207
|
-
*/
|
|
208
|
-
size?: 'small' | 'medium';
|
|
209
|
-
/**
|
|
210
|
-
* Use this prop if the attachment has no primary action
|
|
211
|
-
* and should be rendered as a single button
|
|
212
|
-
*/
|
|
213
|
-
dismissOnly?: boolean;
|
|
214
|
-
};
|
|
215
|
-
|
|
216
|
-
export declare type AttachmentSlots = {
|
|
217
|
-
root: NonNullable<Slot<'div'>>;
|
|
218
|
-
/**
|
|
219
|
-
* Attachments support a primary action.
|
|
220
|
-
*/
|
|
221
|
-
primaryAction: NonNullable<Slot<'button', 'span'>>;
|
|
222
|
-
/**
|
|
223
|
-
* Attachments have a dismiss button.
|
|
224
|
-
*/
|
|
225
|
-
dismissButton: NonNullable<Slot<'button'>>;
|
|
226
|
-
/**
|
|
227
|
-
* Attachments can include an image or other media.
|
|
228
|
-
*/
|
|
229
|
-
media?: Slot<'span'>;
|
|
230
|
-
/**
|
|
231
|
-
* The content of the attachment.
|
|
232
|
-
*/
|
|
233
|
-
content: NonNullable<Slot<'span'>>;
|
|
234
|
-
/**
|
|
235
|
-
* The icon that renders for the `dismissButton`.
|
|
236
|
-
*/
|
|
237
|
-
dismissIcon: NonNullable<Slot<'span'>>;
|
|
238
|
-
/**
|
|
239
|
-
* An attachment supports a progress bar, which can display the attachment's upload progress.
|
|
240
|
-
*/
|
|
241
|
-
progress?: Slot<typeof ProgressBar>;
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* State used in rendering Attachment
|
|
246
|
-
*/
|
|
247
|
-
export declare type AttachmentState = ComponentState<AttachmentSlots> & Required<Pick<AttachmentProps, 'id' | 'size' | 'designVersion' | 'mode' | 'dismissOnly'>> & Pick<AttachmentProps, 'imageOnly'> & {
|
|
248
|
-
isLoading: boolean;
|
|
249
|
-
shouldUseOverflow: boolean;
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Render the final JSX of AgentTag
|
|
254
|
-
*/
|
|
255
|
-
export declare const renderAgentTag_unstable: (state: AgentTagState) => JSX_2.Element;
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* Render the final JSX of Attachment
|
|
259
|
-
*/
|
|
260
|
-
export declare const renderAttachment_unstable: (state: AttachmentState) => JSX_2.Element;
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Render the final JSX of AttachmentList
|
|
264
|
-
*/
|
|
265
|
-
export declare const renderAttachmentList_unstable: (state: AttachmentListState, contextValues: AttachmentListContextValues) => JSX_2.Element;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Render the final JSX of AttachmentOverflowMenu
|
|
269
|
-
*/
|
|
270
|
-
export declare const renderAttachmentOverflowMenu_unstable: (state: AttachmentOverflowMenuState, contextValues: {
|
|
271
|
-
menuContextValues: MenuContextValues;
|
|
272
|
-
attachmentOverflowMenuContextValues: AttachmentOverflowMenuContextValues;
|
|
273
|
-
}) => JSX_2.Element | null;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Render the final JSX of AttachmentOverflowMenuButton
|
|
277
|
-
*/
|
|
278
|
-
export declare const renderAttachmentOverflowMenuButton_unstable: (state: AttachmentOverflowMenuButtonState) => JSX_2.Element | null;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Render the final JSX of AttachmentOverflowMenuItem
|
|
282
|
-
*/
|
|
283
|
-
export declare const renderAttachmentOverflowMenuItem_unstable: (state: AttachmentOverflowMenuItemState) => JSX_2.Element | null;
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Create the state required to render AgentTag.
|
|
287
|
-
*
|
|
288
|
-
* The returned state can be modified with hooks such as useAgentTagStyles_unstable,
|
|
289
|
-
* before being passed to renderAgentTag_unstable.
|
|
290
|
-
*
|
|
291
|
-
* @param props - props from this instance of AgentTag
|
|
292
|
-
* @param ref - reference to root HTMLElement of AgentTag
|
|
293
|
-
*/
|
|
294
|
-
export declare const useAgentTag_unstable: (props: AgentTagProps, ref: React_2.Ref<HTMLDivElement>) => AgentTagState;
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* Apply styling to the AgentTag slots based on the state
|
|
298
|
-
*/
|
|
299
|
-
export declare const useAgentTagStyles_unstable: (state: AgentTagState) => AgentTagState;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Create the state required to render Attachment.
|
|
303
|
-
*
|
|
304
|
-
* The returned state can be modified with hooks such as useAttachmentStyles_unstable,
|
|
305
|
-
* before being passed to renderAttachment_unstable.
|
|
306
|
-
*
|
|
307
|
-
* @param props - props from this instance of Attachment
|
|
308
|
-
* @param ref - reference to root HTMLElement of Attachment
|
|
309
|
-
*/
|
|
310
|
-
export declare const useAttachment_unstable: (props: AttachmentProps, ref: React_2.Ref<HTMLDivElement>) => AttachmentState;
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* Create the state required to render AttachmentList.
|
|
314
|
-
*
|
|
315
|
-
* The returned state can be modified with hooks such as useAttachmentListStyles_unstable,
|
|
316
|
-
* before being passed to renderAttachmentList_unstable.
|
|
317
|
-
*
|
|
318
|
-
* @param props - props from this instance of AttachmentList
|
|
319
|
-
* @param ref - reference to root HTMLElement of AttachmentList
|
|
320
|
-
*/
|
|
321
|
-
export declare const useAttachmentList_unstable: (props: AttachmentListProps, ref: React_2.Ref<HTMLDivElement>) => AttachmentListState;
|
|
322
|
-
|
|
323
|
-
export declare const useAttachmentListContext_unstable: <T>(selector: ContextSelector<AttachmentListContextValue, T>) => T;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Apply styling to the AttachmentList slots based on the state
|
|
327
|
-
*/
|
|
328
|
-
export declare const useAttachmentListStyles_unstable: (state: AttachmentListState) => AttachmentListState;
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* Create the state required to render AttachmentOverflowMenu.
|
|
332
|
-
*
|
|
333
|
-
* The returned state can be modified with hooks such as useAttachmentOverflowMenuStyles_unstable,
|
|
334
|
-
* before being passed to renderAttachmentOverflowMenu_unstable.
|
|
335
|
-
*
|
|
336
|
-
* @param props - props from this instance of AttachmentOverflowMenu
|
|
337
|
-
*/
|
|
338
|
-
export declare const useAttachmentOverflowMenu_unstable: (props: AttachmentOverflowMenuProps) => AttachmentOverflowMenuState;
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Create the state required to render AttachmentOverflowMenuButton.
|
|
342
|
-
*
|
|
343
|
-
* The returned state can be modified with hooks such as useAttachmentOverflowMenuButtonStyles_unstable,
|
|
344
|
-
* before being passed to renderAttachmentOverflowMenuButton_unstable.
|
|
345
|
-
*
|
|
346
|
-
* @param props - props from this instance of AttachmentOverflowMenuButton
|
|
347
|
-
* @param ref - reference to root HTMLElement of AttachmentOverflowMenuButton
|
|
348
|
-
*/
|
|
349
|
-
export declare const useAttachmentOverflowMenuButton_unstable: (props: AttachmentOverflowMenuButtonProps, ref: React_2.Ref<HTMLButtonElement>) => AttachmentOverflowMenuButtonState;
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Apply styling to the AttachmentOverflowMenuButton slots based on the state
|
|
353
|
-
*/
|
|
354
|
-
export declare const useAttachmentOverflowMenuButtonStyles_unstable: (state: AttachmentOverflowMenuButtonState) => AttachmentOverflowMenuButtonState;
|
|
355
|
-
|
|
356
|
-
export declare const useAttachmentOverflowMenuContext_unstable: <T>(selector: ContextSelector<AttachmentOverflowMenuContextValue, T>) => T;
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Create the state required to render AttachmentOverflowMenuItem.
|
|
360
|
-
*
|
|
361
|
-
* The returned state can be modified with hooks such as useAttachmentOverflowMenuItemStyles_unstable,
|
|
362
|
-
* before being passed to renderAttachmentOverflowMenuItem_unstable.
|
|
363
|
-
*
|
|
364
|
-
* @param props - props from this instance of AttachmentOverflowMenuItem
|
|
365
|
-
* @param ref - reference to root HTMLElement of AttachmentOverflowMenuItem
|
|
366
|
-
*/
|
|
367
|
-
export declare const useAttachmentOverflowMenuItem_unstable: (props: AttachmentOverflowMenuItemProps, ref: React_2.Ref<HTMLDivElement>) => AttachmentOverflowMenuItemState;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Apply styling to the AttachmentList slots based on the state
|
|
371
|
-
*/
|
|
372
|
-
export declare const useAttachmentOverflowMenuItemStyles_unstable: (state: AttachmentOverflowMenuItemState) => AttachmentOverflowMenuItemState;
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Apply styling to the Attachment slots based on the state
|
|
376
|
-
*/
|
|
377
|
-
export declare const useAttachmentStyles_unstable: (state: AttachmentState) => AttachmentState;
|
|
378
|
-
|
|
379
|
-
export { }
|
package/lib/AgentTag.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AgentTag, renderAgentTag_unstable, useAgentTag_unstable, agentTagClassNames, useAgentTagStyles_unstable } from './components/AgentTag/index';
|
package/lib/AgentTag.js.map
DELETED
|
@@ -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","renderAgentTag_unstable","useAgentTag_unstable","agentTagClassNames","useAgentTagStyles_unstable"],"rangeMappings":"","mappings":"AAAA,SACEA,QAAQ,EACRC,uBAAuB,EACvBC,oBAAoB,EACpBC,kBAAkB,EAClBC,0BAA0B,QACrB,8BAA8B"}
|
package/lib/Attachment.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Attachment, attachmentClassNames, renderAttachment_unstable, useAttachmentStyles_unstable, useAttachment_unstable, useOverflowStyles } from './components/Attachment/index';
|
package/lib/Attachment.js.map
DELETED
|
@@ -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":"AACA,SAASA,UAAU,EAAEC,oBAAoB,EAAEC,yBAAyB,EAAEC,4BAA4B,EAAEC,sBAAsB,EAAEC,iBAAiB,QAAQ,gCAAgC"}
|
package/lib/AttachmentList.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AttachmentList, attachmentListClassNames, renderAttachmentList_unstable, useAttachmentListStyles_unstable, useAttachmentList_unstable } from './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":"AACA,SAASA,cAAc,EAAEC,wBAAwB,EAAEC,6BAA6B,EAAEC,gCAAgC,EAAEC,0BAA0B,QAAQ,oCAAoC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AttachmentOverflowMenu, renderAttachmentOverflowMenu_unstable, useAttachmentOverflowMenuContextValues_unstable, useAttachmentOverflowMenu_unstable } from './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":"AACA,SAASA,sBAAsB,EAAEC,qCAAqC,EAAEC,+CAA+C,EAAEC,kCAAkC,QAAQ,4CAA4C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AttachmentOverflowMenuButton, attachmentOverflowMenuButtonClassNames, renderAttachmentOverflowMenuButton_unstable, useAttachmentOverflowMenuButtonStyles_unstable, useAttachmentOverflowMenuButton_unstable } from './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":"AACA,SAASA,4BAA4B,EAAEC,sCAAsC,EAAEC,2CAA2C,EAAEC,8CAA8C,EAAEC,wCAAwC,QAAQ,kDAAkD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AttachmentOverflowMenuItem, attachmentOverflowMenuItemClassNames, renderAttachmentOverflowMenuItem_unstable, useAttachmentOverflowMenuItemStyles_unstable, useAttachmentOverflowMenuItem_unstable } from './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":"AACA,SAASA,0BAA0B,EAAEC,oCAAoC,EAAEC,yCAAyC,EAAEC,4CAA4C,EAAEC,sCAAsC,QAAQ,gDAAgD"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { useAgentTag_unstable } from './useAgentTag';
|
|
3
|
-
import { renderAgentTag_unstable } from './renderAgentTag';
|
|
4
|
-
import { useAgentTagStyles_unstable } from './useAgentTagStyles.styles';
|
|
5
|
-
// AgentTag component - TODO: add more docs
|
|
6
|
-
export const AgentTag = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
7
|
-
const state = useAgentTag_unstable(props, ref);
|
|
8
|
-
useAgentTagStyles_unstable(state);
|
|
9
|
-
return renderAgentTag_unstable(state);
|
|
10
|
-
});
|
|
11
|
-
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":["React","useAgentTag_unstable","renderAgentTag_unstable","useAgentTagStyles_unstable","AgentTag","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,oBAAoB,QAAQ,gBAAgB;AACrD,SAASC,uBAAuB,QAAQ,mBAAmB;AAC3D,SAASC,0BAA0B,QAAQ,6BAA6B;AAIxE,2CAA2C;AAC3C,OAAO,MAAMC,yBAA+CJ,MAAMK,UAAU,CAAC,CAACC,OAAOC;IACnF,MAAMC,QAAQP,qBAAqBK,OAAOC;IAE1CJ,2BAA2BK;IAC3B,OAAON,wBAAwBM;AACjC,GAAG;AAEHJ,SAASK,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,GACD,WAAyG"}
|
|
@@ -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","renderAgentTag_unstable","useAgentTag_unstable","agentTagClassNames","useAgentTagStyles_unstable"],"rangeMappings":";;;","mappings":"AAAA,SAASA,QAAQ,QAAQ,aAAa;AAEtC,SAASC,uBAAuB,QAAQ,mBAAmB;AAC3D,SAASC,oBAAoB,QAAQ,gBAAgB;AACrD,SAASC,kBAAkB,EAAEC,0BAA0B,QAAQ,6BAA6B"}
|
|
@@ -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":["renderAttachment_unstable","renderAgentTag_unstable","state"],"rangeMappings":";;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD,GAEjD,SAASA,yBAAyB,QAAQ,gBAAgB;AAG1D;;CAEC,GACD,OAAO,MAAMC,0BAA0B,CAACC;IACtC,OAAOF,0BAA0BE;AACnC,EAAE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { useAttachment_unstable } from '..';
|
|
2
|
-
// If you add JSX to this file, be sure to change the file type to .tsx
|
|
3
|
-
/**
|
|
4
|
-
* Create the state required to render AgentTag.
|
|
5
|
-
*
|
|
6
|
-
* The returned state can be modified with hooks such as useAgentTagStyles_unstable,
|
|
7
|
-
* before being passed to renderAgentTag_unstable.
|
|
8
|
-
*
|
|
9
|
-
* @param props - props from this instance of AgentTag
|
|
10
|
-
* @param ref - reference to root HTMLElement of AgentTag
|
|
11
|
-
*/ export const useAgentTag_unstable = (props, ref)=>{
|
|
12
|
-
const state = useAttachment_unstable({
|
|
13
|
-
...props,
|
|
14
|
-
dismissOnly: true,
|
|
15
|
-
designVersion: 'next'
|
|
16
|
-
}, ref);
|
|
17
|
-
return state;
|
|
18
|
-
};
|
|
@@ -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":["useAttachment_unstable","useAgentTag_unstable","props","ref","state","dismissOnly","designVersion"],"rangeMappings":";;;;;;;;;;;;;;;;;","mappings":"AAEA,SAASA,sBAAsB,QAAQ,KAAK;AAE5C,uEAAuE;AAEvE;;;;;;;;CAQC,GACD,OAAO,MAAMC,uBAAuB,CAACC,OAAsBC;IACzD,MAAMC,QAAQJ,uBAAuB;QAAE,GAAGE,KAAK;QAAEG,aAAa;QAAMC,eAAe;IAAO,GAAGH;IAE7F,OAAOC;AACT,EAAE"}
|