@fluentui-copilot/react-attachments 0.10.3 → 0.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/CHANGELOG.json +43 -1
  2. package/CHANGELOG.md +11 -2
  3. package/dist/index.d.ts +33 -0
  4. package/lib/Attachment.js +1 -1
  5. package/lib/Attachment.js.map +1 -1
  6. package/lib/AttachmentList.js +1 -1
  7. package/lib/AttachmentList.js.map +1 -1
  8. package/lib/AttachmentOverflowMenu.js +1 -1
  9. package/lib/AttachmentOverflowMenu.js.map +1 -1
  10. package/lib/AttachmentOverflowMenuButton.js +1 -1
  11. package/lib/AttachmentOverflowMenuButton.js.map +1 -1
  12. package/lib/AttachmentOverflowMenuItem.js +1 -1
  13. package/lib/AttachmentOverflowMenuItem.js.map +1 -1
  14. package/lib/AttachmentTag.js +1 -1
  15. package/lib/AttachmentTag.js.map +1 -1
  16. package/lib/AttachmentTagItem.js +1 -1
  17. package/lib/AttachmentTagItem.js.map +1 -1
  18. package/lib/AttachmentTagList.js +1 -1
  19. package/lib/AttachmentTagList.js.map +1 -1
  20. package/lib/components/Attachment/Attachment.types.js.map +1 -1
  21. package/lib/components/Attachment/index.js +4 -5
  22. package/lib/components/Attachment/index.js.map +1 -1
  23. package/lib/components/AttachmentList/AttachmentList.types.js.map +1 -1
  24. package/lib/components/AttachmentList/index.js +4 -5
  25. package/lib/components/AttachmentList/index.js.map +1 -1
  26. package/lib/components/AttachmentOverflowMenu/index.js +4 -5
  27. package/lib/components/AttachmentOverflowMenu/index.js.map +1 -1
  28. package/lib/components/AttachmentOverflowMenuButton/index.js +4 -5
  29. package/lib/components/AttachmentOverflowMenuButton/index.js.map +1 -1
  30. package/lib/components/AttachmentOverflowMenuItem/index.js +4 -5
  31. package/lib/components/AttachmentOverflowMenuItem/index.js.map +1 -1
  32. package/lib/components/AttachmentTag/index.js +4 -5
  33. package/lib/components/AttachmentTag/index.js.map +1 -1
  34. package/lib/components/AttachmentTagItem/index.js +4 -5
  35. package/lib/components/AttachmentTagItem/index.js.map +1 -1
  36. package/lib/components/AttachmentTagList/index.js +4 -5
  37. package/lib/components/AttachmentTagList/index.js.map +1 -1
  38. package/lib/components/index.js +8 -8
  39. package/lib/components/index.js.map +1 -1
  40. package/lib-commonjs/Attachment.js +27 -2
  41. package/lib-commonjs/Attachment.js.map +1 -1
  42. package/lib-commonjs/AttachmentList.js +24 -2
  43. package/lib-commonjs/AttachmentList.js.map +1 -1
  44. package/lib-commonjs/AttachmentOverflowMenu.js +21 -2
  45. package/lib-commonjs/AttachmentOverflowMenu.js.map +1 -1
  46. package/lib-commonjs/AttachmentOverflowMenuButton.js +24 -2
  47. package/lib-commonjs/AttachmentOverflowMenuButton.js.map +1 -1
  48. package/lib-commonjs/AttachmentOverflowMenuItem.js +24 -2
  49. package/lib-commonjs/AttachmentOverflowMenuItem.js.map +1 -1
  50. package/lib-commonjs/AttachmentTag.js +36 -2
  51. package/lib-commonjs/AttachmentTag.js.map +1 -1
  52. package/lib-commonjs/AttachmentTagItem.js +24 -2
  53. package/lib-commonjs/AttachmentTagItem.js.map +1 -1
  54. package/lib-commonjs/AttachmentTagList.js +24 -2
  55. package/lib-commonjs/AttachmentTagList.js.map +1 -1
  56. package/lib-commonjs/components/Attachment/Attachment.types.js.map +1 -1
  57. package/lib-commonjs/components/Attachment/index.js +30 -6
  58. package/lib-commonjs/components/Attachment/index.js.map +1 -1
  59. package/lib-commonjs/components/AttachmentList/AttachmentList.types.js.map +1 -1
  60. package/lib-commonjs/components/AttachmentList/index.js +27 -6
  61. package/lib-commonjs/components/AttachmentList/index.js.map +1 -1
  62. package/lib-commonjs/components/AttachmentOverflowMenu/index.js +24 -6
  63. package/lib-commonjs/components/AttachmentOverflowMenu/index.js.map +1 -1
  64. package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js +27 -6
  65. package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js.map +1 -1
  66. package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js +27 -6
  67. package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js.map +1 -1
  68. package/lib-commonjs/components/AttachmentTag/index.js +39 -6
  69. package/lib-commonjs/components/AttachmentTag/index.js.map +1 -1
  70. package/lib-commonjs/components/AttachmentTagItem/index.js +27 -6
  71. package/lib-commonjs/components/AttachmentTagItem/index.js.map +1 -1
  72. package/lib-commonjs/components/AttachmentTagList/index.js +27 -6
  73. package/lib-commonjs/components/AttachmentTagList/index.js.map +1 -1
  74. package/lib-commonjs/components/index.js +148 -9
  75. package/lib-commonjs/components/index.js.map +1 -1
  76. package/package.json +2 -2
@@ -2,13 +2,152 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./AttachmentTag"), exports);
7
- _export_star._(require("./AttachmentTagList"), exports);
8
- _export_star._(require("./AttachmentTagItem"), exports);
9
- _export_star._(require("./Attachment"), exports);
10
- _export_star._(require("./AttachmentList"), exports);
11
- _export_star._(require("./AttachmentOverflowMenu"), exports);
12
- _export_star._(require("./AttachmentOverflowMenuButton"), exports);
13
- _export_star._(require("./AttachmentOverflowMenuItem"), exports);
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
+ ATTACHMENTTAG_MAXWIDTH: function() {
13
+ return _AttachmentTag.ATTACHMENTTAG_MAXWIDTH;
14
+ },
15
+ Attachment: function() {
16
+ return _Attachment.Attachment;
17
+ },
18
+ AttachmentList: function() {
19
+ return _AttachmentList.AttachmentList;
20
+ },
21
+ AttachmentOverflowMenu: function() {
22
+ return _AttachmentOverflowMenu.AttachmentOverflowMenu;
23
+ },
24
+ AttachmentOverflowMenuButton: function() {
25
+ return _AttachmentOverflowMenuButton.AttachmentOverflowMenuButton;
26
+ },
27
+ AttachmentOverflowMenuItem: function() {
28
+ return _AttachmentOverflowMenuItem.AttachmentOverflowMenuItem;
29
+ },
30
+ AttachmentTag: function() {
31
+ return _AttachmentTag.AttachmentTag;
32
+ },
33
+ AttachmentTagItem: function() {
34
+ return _AttachmentTagItem.AttachmentTagItem;
35
+ },
36
+ AttachmentTagList: function() {
37
+ return _AttachmentTagList.AttachmentTagList;
38
+ },
39
+ attachmentClassNames: function() {
40
+ return _Attachment.attachmentClassNames;
41
+ },
42
+ attachmentListClassNames: function() {
43
+ return _AttachmentList.attachmentListClassNames;
44
+ },
45
+ attachmentOverflowMenuButtonClassNames: function() {
46
+ return _AttachmentOverflowMenuButton.attachmentOverflowMenuButtonClassNames;
47
+ },
48
+ attachmentOverflowMenuItemClassNames: function() {
49
+ return _AttachmentOverflowMenuItem.attachmentOverflowMenuItemClassNames;
50
+ },
51
+ attachmentTagClassNames: function() {
52
+ return _AttachmentTag.attachmentTagClassNames;
53
+ },
54
+ attachmentTagItemClassNames: function() {
55
+ return _AttachmentTagItem.attachmentTagItemClassNames;
56
+ },
57
+ attachmentTagListClassNames: function() {
58
+ return _AttachmentTagList.attachmentTagListClassNames;
59
+ },
60
+ renderAttachmentList_unstable: function() {
61
+ return _AttachmentList.renderAttachmentList_unstable;
62
+ },
63
+ renderAttachmentOverflowMenuButton_unstable: function() {
64
+ return _AttachmentOverflowMenuButton.renderAttachmentOverflowMenuButton_unstable;
65
+ },
66
+ renderAttachmentOverflowMenuItem_unstable: function() {
67
+ return _AttachmentOverflowMenuItem.renderAttachmentOverflowMenuItem_unstable;
68
+ },
69
+ renderAttachmentOverflowMenu_unstable: function() {
70
+ return _AttachmentOverflowMenu.renderAttachmentOverflowMenu_unstable;
71
+ },
72
+ renderAttachmentTagItem_unstable: function() {
73
+ return _AttachmentTagItem.renderAttachmentTagItem_unstable;
74
+ },
75
+ renderAttachmentTagList_unstable: function() {
76
+ return _AttachmentTagList.renderAttachmentTagList_unstable;
77
+ },
78
+ renderAttachmentTag_unstable: function() {
79
+ return _AttachmentTag.renderAttachmentTag_unstable;
80
+ },
81
+ renderAttachment_unstable: function() {
82
+ return _Attachment.renderAttachment_unstable;
83
+ },
84
+ useAttachmentListStyles_unstable: function() {
85
+ return _AttachmentList.useAttachmentListStyles_unstable;
86
+ },
87
+ useAttachmentList_unstable: function() {
88
+ return _AttachmentList.useAttachmentList_unstable;
89
+ },
90
+ useAttachmentOverflowMenuButtonStyles_unstable: function() {
91
+ return _AttachmentOverflowMenuButton.useAttachmentOverflowMenuButtonStyles_unstable;
92
+ },
93
+ useAttachmentOverflowMenuButton_unstable: function() {
94
+ return _AttachmentOverflowMenuButton.useAttachmentOverflowMenuButton_unstable;
95
+ },
96
+ useAttachmentOverflowMenuContextValues_unstable: function() {
97
+ return _AttachmentOverflowMenu.useAttachmentOverflowMenuContextValues_unstable;
98
+ },
99
+ useAttachmentOverflowMenuItemStyles_unstable: function() {
100
+ return _AttachmentOverflowMenuItem.useAttachmentOverflowMenuItemStyles_unstable;
101
+ },
102
+ useAttachmentOverflowMenuItem_unstable: function() {
103
+ return _AttachmentOverflowMenuItem.useAttachmentOverflowMenuItem_unstable;
104
+ },
105
+ useAttachmentOverflowMenu_unstable: function() {
106
+ return _AttachmentOverflowMenu.useAttachmentOverflowMenu_unstable;
107
+ },
108
+ useAttachmentStyles_unstable: function() {
109
+ return _Attachment.useAttachmentStyles_unstable;
110
+ },
111
+ useAttachmentTagItemStyles_unstable: function() {
112
+ return _AttachmentTagItem.useAttachmentTagItemStyles_unstable;
113
+ },
114
+ useAttachmentTagItem_unstable: function() {
115
+ return _AttachmentTagItem.useAttachmentTagItem_unstable;
116
+ },
117
+ useAttachmentTagListStyles_unstable: function() {
118
+ return _AttachmentTagList.useAttachmentTagListStyles_unstable;
119
+ },
120
+ useAttachmentTagList_unstable: function() {
121
+ return _AttachmentTagList.useAttachmentTagList_unstable;
122
+ },
123
+ useAttachmentTagStyles_unstable: function() {
124
+ return _AttachmentTag.useAttachmentTagStyles_unstable;
125
+ },
126
+ useAttachmentTag_unstable: function() {
127
+ return _AttachmentTag.useAttachmentTag_unstable;
128
+ },
129
+ useAttachment_unstable: function() {
130
+ return _Attachment.useAttachment_unstable;
131
+ },
132
+ useContentBaseClassName: function() {
133
+ return _AttachmentTag.useContentBaseClassName;
134
+ },
135
+ useIconBaseClassName: function() {
136
+ return _AttachmentTag.useIconBaseClassName;
137
+ },
138
+ useMediaBaseClassName: function() {
139
+ return _AttachmentTag.useMediaBaseClassName;
140
+ },
141
+ useOverflowStyles: function() {
142
+ return _Attachment.useOverflowStyles;
143
+ }
144
+ });
145
+ const _AttachmentTag = require("./AttachmentTag");
146
+ const _AttachmentTagList = require("./AttachmentTagList");
147
+ const _AttachmentTagItem = require("./AttachmentTagItem");
148
+ const _Attachment = require("./Attachment");
149
+ const _AttachmentList = require("./AttachmentList");
150
+ const _AttachmentOverflowMenu = require("./AttachmentOverflowMenu");
151
+ const _AttachmentOverflowMenuButton = require("./AttachmentOverflowMenuButton");
152
+ const _AttachmentOverflowMenuItem = require("./AttachmentOverflowMenuItem");
14
153
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './AttachmentTag';\nexport * from './AttachmentTagList';\nexport * from './AttachmentTagItem';\nexport * from './Attachment';\nexport * from './AttachmentList';\nexport * from './AttachmentOverflowMenu';\nexport * from './AttachmentOverflowMenuButton';\nexport * from './AttachmentOverflowMenuItem';\n"],"names":[],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export type { AttachmentTagProps, AttachmentTagSlots, AttachmentTagState } from './AttachmentTag';\nexport { ATTACHMENTTAG_MAXWIDTH, AttachmentTag, attachmentTagClassNames, renderAttachmentTag_unstable, useAttachmentTagStyles_unstable, useAttachmentTag_unstable, useContentBaseClassName, useIconBaseClassName, useMediaBaseClassName } from './AttachmentTag';\nexport type { AttachmentTagDismissedData, AttachmentTagListContextValues, AttachmentTagListProps, AttachmentTagListSlots, AttachmentTagListState } from './AttachmentTagList';\nexport { AttachmentTagList, attachmentTagListClassNames, renderAttachmentTagList_unstable, useAttachmentTagListStyles_unstable, useAttachmentTagList_unstable } from './AttachmentTagList';\nexport type { AttachmentTagItemProps, AttachmentTagItemSlots, AttachmentTagItemState } from './AttachmentTagItem';\nexport { AttachmentTagItem, attachmentTagItemClassNames, renderAttachmentTagItem_unstable, useAttachmentTagItemStyles_unstable, useAttachmentTagItem_unstable } from './AttachmentTagItem';\nexport type { AttachmentProps, AttachmentSlots, AttachmentState } from './Attachment';\nexport { Attachment, attachmentClassNames, renderAttachment_unstable, useAttachmentStyles_unstable, useAttachment_unstable, useOverflowStyles } from './Attachment';\nexport type { AttachmentDismissedData, AttachmentListContextValues, AttachmentListProps, AttachmentListSlots, AttachmentListState } from './AttachmentList';\nexport { AttachmentList, attachmentListClassNames, renderAttachmentList_unstable, useAttachmentListStyles_unstable, useAttachmentList_unstable } from './AttachmentList';\nexport type { AttachmentOverflowMenuContextValues, AttachmentOverflowMenuProps, AttachmentOverflowMenuSlots, AttachmentOverflowMenuState } from './AttachmentOverflowMenu';\nexport { AttachmentOverflowMenu, renderAttachmentOverflowMenu_unstable, useAttachmentOverflowMenuContextValues_unstable, useAttachmentOverflowMenu_unstable } from './AttachmentOverflowMenu';\nexport type { AttachmentOverflowMenuButtonProps, AttachmentOverflowMenuButtonSlots, AttachmentOverflowMenuButtonState } from './AttachmentOverflowMenuButton';\nexport { AttachmentOverflowMenuButton, attachmentOverflowMenuButtonClassNames, renderAttachmentOverflowMenuButton_unstable, useAttachmentOverflowMenuButtonStyles_unstable, useAttachmentOverflowMenuButton_unstable } from './AttachmentOverflowMenuButton';\nexport type { AttachmentOverflowMenuItemProps, AttachmentOverflowMenuItemSlots, AttachmentOverflowMenuItemState } from './AttachmentOverflowMenuItem';\nexport { AttachmentOverflowMenuItem, attachmentOverflowMenuItemClassNames, renderAttachmentOverflowMenuItem_unstable, useAttachmentOverflowMenuItemStyles_unstable, useAttachmentOverflowMenuItem_unstable } from './AttachmentOverflowMenuItem';\n"],"names":["ATTACHMENTTAG_MAXWIDTH","Attachment","AttachmentList","AttachmentOverflowMenu","AttachmentOverflowMenuButton","AttachmentOverflowMenuItem","AttachmentTag","AttachmentTagItem","AttachmentTagList","attachmentClassNames","attachmentListClassNames","attachmentOverflowMenuButtonClassNames","attachmentOverflowMenuItemClassNames","attachmentTagClassNames","attachmentTagItemClassNames","attachmentTagListClassNames","renderAttachmentList_unstable","renderAttachmentOverflowMenuButton_unstable","renderAttachmentOverflowMenuItem_unstable","renderAttachmentOverflowMenu_unstable","renderAttachmentTagItem_unstable","renderAttachmentTagList_unstable","renderAttachmentTag_unstable","renderAttachment_unstable","useAttachmentListStyles_unstable","useAttachmentList_unstable","useAttachmentOverflowMenuButtonStyles_unstable","useAttachmentOverflowMenuButton_unstable","useAttachmentOverflowMenuContextValues_unstable","useAttachmentOverflowMenuItemStyles_unstable","useAttachmentOverflowMenuItem_unstable","useAttachmentOverflowMenu_unstable","useAttachmentStyles_unstable","useAttachmentTagItemStyles_unstable","useAttachmentTagItem_unstable","useAttachmentTagListStyles_unstable","useAttachmentTagList_unstable","useAttachmentTagStyles_unstable","useAttachmentTag_unstable","useAttachment_unstable","useContentBaseClassName","useIconBaseClassName","useMediaBaseClassName","useOverflowStyles"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,sBAAsB;eAAtBA,qCAAsB;;IAMtBC,UAAU;eAAVA,sBAAU;;IAEVC,cAAc;eAAdA,8BAAc;;IAEdC,sBAAsB;eAAtBA,8CAAsB;;IAEtBC,4BAA4B;eAA5BA,0D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IAAEC,oBAAoB;eAApBA,mCAAoB;;IAAEC,qBAAqB;eAArBA,oCAAqB;;IAM3GC,iBAAiB;eAAjBA,6BAAiB;;;+BANkG;mCAE1E;mCAEA;4BAEhB;gCAEC;wCAEa;8CAEyD;4CAEV"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-copilot/react-attachments",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
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",
@@ -13,7 +13,7 @@
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
15
  "@fluentui-copilot/react-provider": "^0.9.3",
16
- "@fluentui-copilot/react-utilities": "^0.0.4",
16
+ "@fluentui-copilot/react-utilities": "^0.0.5",
17
17
  "@fluentui-copilot/tokens": "^0.3.3",
18
18
  "@swc/helpers": "^0.5.1"
19
19
  },