@fluentui/react-migration-v0-v9 9.1.37 → 9.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/CHANGELOG.md +31 -2
  2. package/dist/index.d.ts +50 -0
  3. package/lib/components/Attachment/Attachment.js +35 -0
  4. package/lib/components/Attachment/Attachment.js.map +1 -0
  5. package/lib/components/Attachment/Attachment.styles.js +41 -0
  6. package/lib/components/Attachment/Attachment.styles.js.map +1 -0
  7. package/lib/components/Attachment/AttachmentAction.js +43 -0
  8. package/lib/components/Attachment/AttachmentAction.js.map +1 -0
  9. package/lib/components/Attachment/AttachmentAction.styles.js +20 -0
  10. package/lib/components/Attachment/AttachmentAction.styles.js.map +1 -0
  11. package/lib/components/Attachment/AttachmentBody.js +14 -0
  12. package/lib/components/Attachment/AttachmentBody.js.map +1 -0
  13. package/lib/components/Attachment/AttachmentBody.styles.js +14 -0
  14. package/lib/components/Attachment/AttachmentBody.styles.js.map +1 -0
  15. package/lib/components/Attachment/AttachmentDescription.js +14 -0
  16. package/lib/components/Attachment/AttachmentDescription.js.map +1 -0
  17. package/lib/components/Attachment/AttachmentDescription.styles.js +12 -0
  18. package/lib/components/Attachment/AttachmentDescription.styles.js.map +1 -0
  19. package/lib/components/Attachment/AttachmentHeader.js +14 -0
  20. package/lib/components/Attachment/AttachmentHeader.js.map +1 -0
  21. package/lib/components/Attachment/AttachmentHeader.styles.js +12 -0
  22. package/lib/components/Attachment/AttachmentHeader.styles.js.map +1 -0
  23. package/lib/components/Attachment/AttachmentIcon.js +14 -0
  24. package/lib/components/Attachment/AttachmentIcon.js.map +1 -0
  25. package/lib/components/Attachment/AttachmentIcon.styles.js +16 -0
  26. package/lib/components/Attachment/AttachmentIcon.styles.js.map +1 -0
  27. package/lib/components/Attachment/index.js +6 -0
  28. package/lib/components/Attachment/index.js.map +1 -0
  29. package/lib/components/Button/ButtonMigration.mixins.js.map +1 -1
  30. package/lib/components/Button/index.js.map +1 -1
  31. package/lib/components/Flex/Flex.js.map +1 -1
  32. package/lib/components/Flex/FlexItem.mixins.js.map +1 -1
  33. package/lib/components/Flex/index.js.map +1 -1
  34. package/lib/components/FormField/FormFieldShim.js.map +1 -1
  35. package/lib/components/FormField/index.js.map +1 -1
  36. package/lib/components/Grid/Grid.mixins.js.map +1 -1
  37. package/lib/components/Grid/GridShim.js.map +1 -1
  38. package/lib/components/Grid/index.js.map +1 -1
  39. package/lib/components/Input/Input.mixins.js.map +1 -1
  40. package/lib/components/Input/index.js.map +1 -1
  41. package/lib/components/ItemLayout/ItemLayout.js.map +1 -1
  42. package/lib/components/ItemLayout/index.js.map +1 -1
  43. package/lib/components/List/List/List.js.map +1 -1
  44. package/lib/components/List/List/List.types.js.map +1 -1
  45. package/lib/components/List/List/index.js.map +1 -1
  46. package/lib/components/List/List/listContext.js.map +1 -1
  47. package/lib/components/List/List/renderList.js.map +1 -1
  48. package/lib/components/List/List/useList.js.map +1 -1
  49. package/lib/components/List/List/useListContextValues.js.map +1 -1
  50. package/lib/components/List/List/useListStyles.styles.js +2 -0
  51. package/lib/components/List/List/useListStyles.styles.js.map +1 -1
  52. package/lib/components/List/ListItem/ListItem.js.map +1 -1
  53. package/lib/components/List/ListItem/ListItem.types.js.map +1 -1
  54. package/lib/components/List/ListItem/index.js.map +1 -1
  55. package/lib/components/List/ListItem/renderListItem.js.map +1 -1
  56. package/lib/components/List/ListItem/useListItem.js.map +1 -1
  57. package/lib/components/List/ListItem/useListItemStyles.styles.js +2 -0
  58. package/lib/components/List/ListItem/useListItemStyles.styles.js.map +1 -1
  59. package/lib/components/List/hooks/index.js.map +1 -1
  60. package/lib/components/List/hooks/types.js.map +1 -1
  61. package/lib/components/List/hooks/useListSelection.js.map +1 -1
  62. package/lib/components/List/index.js.map +1 -1
  63. package/lib/components/Primitive/Primitive.js.map +1 -1
  64. package/lib/components/Primitive/index.js.map +1 -1
  65. package/lib/components/Segment/Segment.js.map +1 -1
  66. package/lib/components/Segment/index.js.map +1 -1
  67. package/lib/components/Slider/Slider.mixins.js.map +1 -1
  68. package/lib/components/Slider/index.js.map +1 -1
  69. package/lib/components/Spinner/SpinnerMigration.mixins.js.map +1 -1
  70. package/lib/components/Spinner/index.js.map +1 -1
  71. package/lib/components/StyledText/StyledText.js.map +1 -1
  72. package/lib/components/StyledText/index.js.map +1 -1
  73. package/lib/index.js +1 -0
  74. package/lib/index.js.map +1 -1
  75. package/lib-commonjs/components/Attachment/Attachment.js +60 -0
  76. package/lib-commonjs/components/Attachment/Attachment.js.map +1 -0
  77. package/lib-commonjs/components/Attachment/Attachment.styles.js +95 -0
  78. package/lib-commonjs/components/Attachment/Attachment.styles.js.map +1 -0
  79. package/lib-commonjs/components/Attachment/AttachmentAction.js +62 -0
  80. package/lib-commonjs/components/Attachment/AttachmentAction.js.map +1 -0
  81. package/lib-commonjs/components/Attachment/AttachmentAction.styles.js +40 -0
  82. package/lib-commonjs/components/Attachment/AttachmentAction.styles.js.map +1 -0
  83. package/lib-commonjs/components/Attachment/AttachmentBody.js +33 -0
  84. package/lib-commonjs/components/Attachment/AttachmentBody.js.map +1 -0
  85. package/lib-commonjs/components/Attachment/AttachmentBody.styles.js +28 -0
  86. package/lib-commonjs/components/Attachment/AttachmentBody.styles.js.map +1 -0
  87. package/lib-commonjs/components/Attachment/AttachmentDescription.js +33 -0
  88. package/lib-commonjs/components/Attachment/AttachmentDescription.js.map +1 -0
  89. package/lib-commonjs/components/Attachment/AttachmentDescription.styles.js +26 -0
  90. package/lib-commonjs/components/Attachment/AttachmentDescription.styles.js.map +1 -0
  91. package/lib-commonjs/components/Attachment/AttachmentHeader.js +33 -0
  92. package/lib-commonjs/components/Attachment/AttachmentHeader.js.map +1 -0
  93. package/lib-commonjs/components/Attachment/AttachmentHeader.styles.js +26 -0
  94. package/lib-commonjs/components/Attachment/AttachmentHeader.styles.js.map +1 -0
  95. package/lib-commonjs/components/Attachment/AttachmentIcon.js +33 -0
  96. package/lib-commonjs/components/Attachment/AttachmentIcon.js.map +1 -0
  97. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.js +38 -0
  98. package/lib-commonjs/components/Attachment/AttachmentIcon.styles.js.map +1 -0
  99. package/lib-commonjs/components/Attachment/index.js +11 -0
  100. package/lib-commonjs/components/Attachment/index.js.map +1 -0
  101. package/lib-commonjs/components/Button/ButtonMigration.mixins.js +8 -8
  102. package/lib-commonjs/components/Button/ButtonMigration.mixins.js.map +1 -1
  103. package/lib-commonjs/components/Button/index.js.map +1 -1
  104. package/lib-commonjs/components/Flex/Flex.js +3 -3
  105. package/lib-commonjs/components/Flex/Flex.js.map +1 -1
  106. package/lib-commonjs/components/Flex/Flex.styles.js.map +1 -1
  107. package/lib-commonjs/components/Flex/FlexItem.mixins.js.map +1 -1
  108. package/lib-commonjs/components/Flex/index.js +3 -3
  109. package/lib-commonjs/components/Flex/index.js.map +1 -1
  110. package/lib-commonjs/components/FormField/FormFieldShim.js.map +1 -1
  111. package/lib-commonjs/components/FormField/index.js.map +1 -1
  112. package/lib-commonjs/components/Grid/Grid.mixins.js.map +1 -1
  113. package/lib-commonjs/components/Grid/Grid.styles.js.map +1 -1
  114. package/lib-commonjs/components/Grid/GridShim.js +3 -3
  115. package/lib-commonjs/components/Grid/GridShim.js.map +1 -1
  116. package/lib-commonjs/components/Grid/index.js +3 -3
  117. package/lib-commonjs/components/Grid/index.js.map +1 -1
  118. package/lib-commonjs/components/Input/Input.mixins.js.map +1 -1
  119. package/lib-commonjs/components/Input/index.js.map +1 -1
  120. package/lib-commonjs/components/ItemLayout/ItemLayout.js +3 -3
  121. package/lib-commonjs/components/ItemLayout/ItemLayout.js.map +1 -1
  122. package/lib-commonjs/components/ItemLayout/ItemLayout.styles.js.map +1 -1
  123. package/lib-commonjs/components/ItemLayout/index.js.map +1 -1
  124. package/lib-commonjs/components/List/List/List.js.map +1 -1
  125. package/lib-commonjs/components/List/List/List.types.js.map +1 -1
  126. package/lib-commonjs/components/List/List/index.js.map +1 -1
  127. package/lib-commonjs/components/List/List/listContext.js +3 -3
  128. package/lib-commonjs/components/List/List/listContext.js.map +1 -1
  129. package/lib-commonjs/components/List/List/renderList.js.map +1 -1
  130. package/lib-commonjs/components/List/List/useList.js.map +1 -1
  131. package/lib-commonjs/components/List/List/useListContextValues.js.map +1 -1
  132. package/lib-commonjs/components/List/List/useListStyles.styles.js +1 -0
  133. package/lib-commonjs/components/List/List/useListStyles.styles.js.map +1 -1
  134. package/lib-commonjs/components/List/ListItem/ListItem.js.map +1 -1
  135. package/lib-commonjs/components/List/ListItem/ListItem.types.js.map +1 -1
  136. package/lib-commonjs/components/List/ListItem/index.js.map +1 -1
  137. package/lib-commonjs/components/List/ListItem/renderListItem.js.map +1 -1
  138. package/lib-commonjs/components/List/ListItem/useListItem.js.map +1 -1
  139. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.js +1 -0
  140. package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.js.map +1 -1
  141. package/lib-commonjs/components/List/hooks/index.js.map +1 -1
  142. package/lib-commonjs/components/List/hooks/types.js.map +1 -1
  143. package/lib-commonjs/components/List/hooks/useListSelection.js.map +1 -1
  144. package/lib-commonjs/components/List/index.js +12 -12
  145. package/lib-commonjs/components/List/index.js.map +1 -1
  146. package/lib-commonjs/components/Primitive/Primitive.js +3 -3
  147. package/lib-commonjs/components/Primitive/Primitive.js.map +1 -1
  148. package/lib-commonjs/components/Primitive/index.js.map +1 -1
  149. package/lib-commonjs/components/Segment/Segment.js +3 -3
  150. package/lib-commonjs/components/Segment/Segment.js.map +1 -1
  151. package/lib-commonjs/components/Segment/Segment.styles.js.map +1 -1
  152. package/lib-commonjs/components/Segment/index.js.map +1 -1
  153. package/lib-commonjs/components/Slider/Slider.mixins.js.map +1 -1
  154. package/lib-commonjs/components/Slider/index.js.map +1 -1
  155. package/lib-commonjs/components/Spinner/SpinnerMigration.mixins.js.map +1 -1
  156. package/lib-commonjs/components/Spinner/index.js.map +1 -1
  157. package/lib-commonjs/components/StyledText/StyledText.js +3 -3
  158. package/lib-commonjs/components/StyledText/StyledText.js.map +1 -1
  159. package/lib-commonjs/components/StyledText/StyledText.styles.js +3 -3
  160. package/lib-commonjs/components/StyledText/StyledText.styles.js.map +1 -1
  161. package/lib-commonjs/components/StyledText/index.js.map +1 -1
  162. package/lib-commonjs/index.js +91 -48
  163. package/lib-commonjs/index.js.map +1 -1
  164. package/package.json +8 -8
@@ -0,0 +1,95 @@
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
+ useAttachmentBaseStyles: function() {
13
+ return useAttachmentBaseStyles;
14
+ },
15
+ useAttachmentStyles: function() {
16
+ return useAttachmentStyles;
17
+ }
18
+ });
19
+ const _reactcomponents = require("@fluentui/react-components");
20
+ const useAttachmentBaseStyles = /*#__PURE__*/ (0, _reactcomponents.__resetStyles)("rtx3whk", "r4q6ha0", [
21
+ ".rtx3whk{position:relative;display:inline-flex;align-items:center;width:100%;max-width:424px;min-height:32px;padding-top:7px;padding-right:3px;padding-bottom:7px;padding-left:11px;margin-bottom:2px;margin-right:2px;background-color:var(--colorNeutralBackground6);color:var(--colorNeutralForeground1);box-shadow:0 .2rem .4rem -.075rem var(--colorNeutralShadowAmbient);border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:var(--colorNeutralStroke3);border-right-color:var(--colorNeutralStroke3);border-bottom-color:var(--colorNeutralStroke3);border-left-color:var(--colorNeutralStroke3);border-radius:4px;}",
22
+ ".rtx3whk[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);}",
23
+ ".r4q6ha0{position:relative;display:inline-flex;align-items:center;width:100%;max-width:424px;min-height:32px;padding-top:7px;padding-left:3px;padding-bottom:7px;padding-right:11px;margin-bottom:2px;margin-left:2px;background-color:var(--colorNeutralBackground6);color:var(--colorNeutralForeground1);box-shadow:0 .2rem .4rem -.075rem var(--colorNeutralShadowAmbient);border-top-width:1px;border-left-width:1px;border-bottom-width:1px;border-right-width:1px;border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-color:var(--colorNeutralStroke3);border-left-color:var(--colorNeutralStroke3);border-bottom-color:var(--colorNeutralStroke3);border-right-color:var(--colorNeutralStroke3);border-radius:4px;}",
24
+ ".r4q6ha0[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);}"
25
+ ]);
26
+ const useAttachmentStyles = /*#__PURE__*/ (0, _reactcomponents.__styles)({
27
+ actionable: {
28
+ Bceei9c: "f1k6fduh",
29
+ Jwef8y: "f11oyicx"
30
+ },
31
+ progressContainer: {
32
+ Beyfa6y: [
33
+ "f1bjk9e1",
34
+ "fff7au0"
35
+ ],
36
+ Bbmb7ep: [
37
+ "fff7au0",
38
+ "f1bjk9e1"
39
+ ],
40
+ B5kzvoi: "f1yab3r1",
41
+ Bqenvij: "f6ywr7j",
42
+ oyh7mz: [
43
+ "f1vgc2s3",
44
+ "f1e31b4d"
45
+ ],
46
+ B68tc82: 0,
47
+ Bmxbyg5: 0,
48
+ Bpg54ce: "f1a3p1vp",
49
+ qhf8xq: "f1euv43f",
50
+ j35jbq: [
51
+ "f1e31b4d",
52
+ "f1vgc2s3"
53
+ ]
54
+ },
55
+ progressBar: {
56
+ De3pzq: "fnusneo",
57
+ Bqenvij: "f1l02sjl",
58
+ B2u0y6b: "f6dzj5z",
59
+ Bn62ygk: 0,
60
+ Cwk7ip: 0,
61
+ B3o57yi: 0,
62
+ Bmy1vo4: 0,
63
+ Bkqvd7p: 0,
64
+ Bi2q7bf: "f12zwupp"
65
+ }
66
+ }, {
67
+ d: [
68
+ ".f1k6fduh{cursor:pointer;}",
69
+ ".f1bjk9e1{border-bottom-left-radius:4px;}",
70
+ ".fff7au0{border-bottom-right-radius:4px;}",
71
+ ".f1yab3r1{bottom:0;}",
72
+ ".f6ywr7j{height:4px;}",
73
+ ".f1vgc2s3{left:0;}",
74
+ ".f1e31b4d{right:0;}",
75
+ [
76
+ ".f1a3p1vp{overflow:hidden;}",
77
+ {
78
+ p: -1
79
+ }
80
+ ],
81
+ ".f1euv43f{position:absolute;}",
82
+ ".fnusneo{background-color:var(--colorPaletteLightGreenBackground3);}",
83
+ ".f1l02sjl{height:100%;}",
84
+ ".f6dzj5z{max-width:100%;}",
85
+ [
86
+ ".f12zwupp{transition:width 0.2s;}",
87
+ {
88
+ p: -1
89
+ }
90
+ ]
91
+ ],
92
+ h: [
93
+ ".f11oyicx:hover{background-color:var(--colorNeutralBackground4Hover);}"
94
+ ]
95
+ }); //# sourceMappingURL=Attachment.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["Attachment.styles.js"],"sourcesContent":["import { createCustomFocusIndicatorStyle, makeResetStyles, makeStyles, shorthands, tokens } from '@fluentui/react-components';\nimport { attachmentActionClassName } from './AttachmentAction';\nimport { attachmentIconClassName } from './AttachmentIcon';\nexport const useAttachmentBaseStyles = makeResetStyles({\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n backgroundColor: undefined,\n color: undefined,\n [`& .${attachmentActionClassName}`]: {\n color: undefined\n },\n [`& .${attachmentIconClassName}`]: {\n color: undefined\n }\n }, {\n selector: 'focus'\n }),\n position: 'relative',\n display: 'inline-flex',\n alignItems: 'center',\n width: '100%',\n maxWidth: '424px',\n minHeight: '32px',\n ...shorthands.padding('7px', '3px', '7px', '11px'),\n marginBottom: '2px',\n marginRight: '2px',\n backgroundColor: tokens.colorNeutralBackground6,\n color: tokens.colorNeutralForeground1,\n boxShadow: `0 .2rem .4rem -.075rem ${tokens.colorNeutralShadowAmbient}`,\n ...shorthands.border('1px', 'solid', tokens.colorNeutralStroke3),\n borderRadius: '4px'\n});\nexport const useAttachmentStyles = makeStyles({\n actionable: {\n cursor: 'pointer',\n ':hover': {\n backgroundColor: tokens.colorNeutralBackground4Hover\n }\n },\n progressContainer: {\n borderBottomLeftRadius: '4px',\n borderBottomRightRadius: '4px',\n bottom: 0,\n height: '4px',\n left: 0,\n overflow: 'hidden',\n position: 'absolute',\n right: 0\n },\n progressBar: {\n backgroundColor: tokens.colorPaletteLightGreenBackground3,\n height: '100%',\n maxWidth: '100%',\n transition: 'width 0.2s'\n }\n});\n"],"names":["useAttachmentBaseStyles","useAttachmentStyles","__resetStyles","__styles","actionable","Bceei9c","Jwef8y","progressContainer","Beyfa6y","Bbmb7ep","B5kzvoi","Bqenvij","oyh7mz","B68tc82","Bmxbyg5","Bpg54ce","qhf8xq","j35jbq","progressBar","De3pzq","B2u0y6b","Bn62ygk","Cwk7ip","B3o57yi","Bmy1vo4","Bkqvd7p","Bi2q7bf","d","p","h"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAGaA,uBAAuB;eAAvBA;;IA8BAC,mBAAmB;eAAnBA;;;iCAjCoF;AAG1F,MAAMD,0BAAuB,WAAA,GAAGE,IAAAA,8BAAA,EAAA,WAAA,WAAA;IAAA;IAAA;IAAA;IAAA;CA6BtC;AACM,MAAMD,sBAAmB,WAAA,GAAGE,IAAAA,yBAAA,EAAA;IAAAC,YAAA;QAAAC,SAAA;QAAAC,QAAA;IAAA;IAAAC,mBAAA;QAAAC,SAAA;YAAA;YAAA;SAAA;QAAAC,SAAA;YAAA;YAAA;SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,QAAA;YAAA;YAAA;SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,QAAA;QAAAC,QAAA;YAAA;YAAA;SAAA;IAAA;IAAAC,aAAA;QAAAC,QAAA;QAAAR,SAAA;QAAAS,SAAA;QAAAC,SAAA;QAAAC,QAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAAC,GAAA,CAAA;YAAA;SAAA;QAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAAA,GAAA,CAAA;YAAA;SAAA;KAAA;IAAAC,GAAA;QAAA;KAAA;AAAA"}
@@ -0,0 +1,62 @@
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
+ AttachmentAction: function() {
13
+ return AttachmentAction;
14
+ },
15
+ attachmentActionClassName: function() {
16
+ return attachmentActionClassName;
17
+ }
18
+ });
19
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
20
+ const _reactcomponents = require("@fluentui/react-components");
21
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
22
+ const _AttachmentActionstyles = require("./AttachmentAction.styles");
23
+ const attachmentActionClassName = 'fui-AttachmentAction';
24
+ const AttachmentAction = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
25
+ const { className, disabled, disabledFocusable, children, onClick, onKeyUp, onKeyDown, ...rest } = props;
26
+ const classes = (0, _AttachmentActionstyles.useAttachmentActionStyles)();
27
+ const handleClick = _react.useCallback((e)=>{
28
+ e.stopPropagation();
29
+ e.preventDefault();
30
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
31
+ }, [
32
+ onClick
33
+ ]);
34
+ const handleKeyUp = _react.useCallback((e)=>{
35
+ if (e.key === 'Enter' || e.key === ' ') {
36
+ e.stopPropagation();
37
+ }
38
+ onKeyUp === null || onKeyUp === void 0 ? void 0 : onKeyUp(e);
39
+ }, [
40
+ onKeyUp
41
+ ]);
42
+ const handleKeyDown = _react.useCallback((e)=>{
43
+ if (e.key === 'Enter' || e.key === ' ') {
44
+ e.stopPropagation();
45
+ }
46
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
47
+ }, [
48
+ onKeyDown
49
+ ]);
50
+ return /*#__PURE__*/ _react.createElement(_reactcomponents.Button, {
51
+ ref: ref,
52
+ className: (0, _reactcomponents.mergeClasses)(attachmentActionClassName, classes.root, (disabled || disabledFocusable) && classes.disabled, className),
53
+ appearance: "transparent",
54
+ disabled: disabled,
55
+ disabledFocusable: disabledFocusable,
56
+ onClick: handleClick,
57
+ onKeyDown: handleKeyDown,
58
+ onKeyUp: handleKeyUp,
59
+ ...rest
60
+ }, children);
61
+ });
62
+ AttachmentAction.displayName = 'AttachmentAction';
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentAction.tsx"],"sourcesContent":["import { Button, ButtonProps, mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentActionStyles } from './AttachmentAction.styles';\n\nexport type AttachmentActionProps = ButtonProps;\n\nexport const attachmentActionClassName = 'fui-AttachmentAction';\n\nexport const AttachmentAction = React.forwardRef<HTMLButtonElement, AttachmentActionProps>((props, ref) => {\n const { className, disabled, disabledFocusable, children, onClick, onKeyUp, onKeyDown, ...rest } = props;\n const classes = useAttachmentActionStyles();\n\n const handleClick = React.useCallback(\n e => {\n e.stopPropagation();\n e.preventDefault();\n onClick?.(e);\n },\n [onClick],\n );\n\n const handleKeyUp = React.useCallback(\n e => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.stopPropagation();\n }\n onKeyUp?.(e);\n },\n [onKeyUp],\n );\n\n const handleKeyDown = React.useCallback(\n e => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.stopPropagation();\n }\n onKeyDown?.(e);\n },\n [onKeyDown],\n );\n\n return (\n <Button\n ref={ref}\n className={mergeClasses(\n attachmentActionClassName,\n classes.root,\n (disabled || disabledFocusable) && classes.disabled,\n className,\n )}\n appearance=\"transparent\"\n disabled={disabled}\n disabledFocusable={disabledFocusable}\n onClick={handleClick}\n onKeyDown={handleKeyDown}\n onKeyUp={handleKeyUp}\n {...rest}\n >\n {children}\n </Button>\n );\n});\n\nAttachmentAction.displayName = 'AttachmentAction';\n"],"names":["AttachmentAction","attachmentActionClassName","React","forwardRef","props","ref","className","disabled","disabledFocusable","children","onClick","onKeyUp","onKeyDown","rest","classes","useAttachmentActionStyles","handleClick","useCallback","e","stopPropagation","preventDefault","handleKeyUp","key","handleKeyDown","createElement","Button","mergeClasses","root","appearance","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAQaA,gBAAAA;eAAAA;;IAFAC,yBAAAA;eAAAA;;;;iCANqC;iEAC3B;wCACmB;AAInC,MAAMA,4BAA4B;AAElC,MAAMD,mBAAAA,WAAAA,GAAmBE,OAAMC,UAAU,CAA2C,CAACC,OAAOC;IACjG,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,iBAAiB,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,EAAEC,SAAS,EAAE,GAAGC,MAAM,GAAGT;IACnG,MAAMU,UAAUC,IAAAA,iDAAAA;IAEhB,MAAMC,cAAcd,OAAMe,WAAW,CACnCC,CAAAA;QACEA,EAAEC,eAAe;QACjBD,EAAEE,cAAc;QAChBV,YAAAA,QAAAA,YAAAA,KAAAA,IAAAA,KAAAA,IAAAA,QAAUQ;IACZ,GACA;QAACR;KAAQ;IAGX,MAAMW,cAAcnB,OAAMe,WAAW,CACnCC,CAAAA;QACE,IAAIA,EAAEI,GAAG,KAAK,WAAWJ,EAAEI,GAAG,KAAK,KAAK;YACtCJ,EAAEC,eAAe;QACnB;QACAR,YAAAA,QAAAA,YAAAA,KAAAA,IAAAA,KAAAA,IAAAA,QAAUO;IACZ,GACA;QAACP;KAAQ;IAGX,MAAMY,gBAAgBrB,OAAMe,WAAW,CACrCC,CAAAA;QACE,IAAIA,EAAEI,GAAG,KAAK,WAAWJ,EAAEI,GAAG,KAAK,KAAK;YACtCJ,EAAEC,eAAe;QACnB;QACAP,cAAAA,QAAAA,cAAAA,KAAAA,IAAAA,KAAAA,IAAAA,UAAYM;IACd,GACA;QAACN;KAAU;IAGb,OAAA,WAAA,GACEV,OAAAsB,aAAA,CAACC,uBAAAA,EAAAA;QACCpB,KAAKA;QACLC,WAAWoB,IAAAA,6BAAAA,EACTzB,2BACAa,QAAQa,IAAI,EACZ,AAACpB,CAAAA,YAAYC,iBAAAA,KAAsBM,QAAQP,QAAQ,EACnDD;QAEFsB,YAAW;QACXrB,UAAUA;QACVC,mBAAmBA;QACnBE,SAASM;QACTJ,WAAWW;QACXZ,SAASU;QACR,GAAGR,IAAI;OAEPJ;AAGP;AAEAT,iBAAiB6B,WAAW,GAAG"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useAttachmentActionStyles", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useAttachmentActionStyles;
9
+ }
10
+ });
11
+ const _reactcomponents = require("@fluentui/react-components");
12
+ const useAttachmentActionStyles = /*#__PURE__*/ (0, _reactcomponents.__styles)({
13
+ root: {
14
+ Bqenvij: "f1d2rq10",
15
+ B2u0y6b: "f1n52uh2",
16
+ Bf4jedk: "fwbmr0d",
17
+ mc9l5x: "ftuwxu6",
18
+ Brf1p80: "f4d9j23",
19
+ Bt984gj: "f122n59",
20
+ qhf8xq: "f10pi13n",
21
+ ha4doy: "fmrv4ls",
22
+ Bceei9c: "f1k6fduh"
23
+ },
24
+ disabled: {
25
+ Bceei9c: "f158kwzp"
26
+ }
27
+ }, {
28
+ d: [
29
+ ".f1d2rq10{height:32px;}",
30
+ ".f1n52uh2{max-width:280px;}",
31
+ ".fwbmr0d{min-width:32px;}",
32
+ ".ftuwxu6{display:inline-flex;}",
33
+ ".f4d9j23{justify-content:center;}",
34
+ ".f122n59{align-items:center;}",
35
+ ".f10pi13n{position:relative;}",
36
+ ".fmrv4ls{vertical-align:middle;}",
37
+ ".f1k6fduh{cursor:pointer;}",
38
+ ".f158kwzp{cursor:default;}"
39
+ ]
40
+ }); //# sourceMappingURL=AttachmentAction.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentAction.styles.js"],"sourcesContent":["import { makeStyles } from '@fluentui/react-components';\nexport const useAttachmentActionStyles = makeStyles({\n root: {\n height: '32px',\n maxWidth: '280px',\n minWidth: '32px',\n display: 'inline-flex',\n justifyContent: 'center',\n alignItems: 'center',\n position: 'relative',\n verticalAlign: 'middle',\n cursor: 'pointer'\n },\n disabled: {\n cursor: 'default'\n }\n});\n"],"names":["useAttachmentActionStyles","__styles","root","Bqenvij","B2u0y6b","Bf4jedk","mc9l5x","Brf1p80","Bt984gj","qhf8xq","ha4doy","Bceei9c","disabled","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BACaA;;;eAAAA;;;iCADc;AACpB,MAAMA,4BAAyB,WAAA,GAAGC,IAAAA,yBAAA,EAAA;IAAAC,MAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,QAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,QAAA;QAAAC,QAAA;QAAAC,SAAA;IAAA;IAAAC,UAAA;QAAAD,SAAA;IAAA;AAAA,GAAA;IAAAE,GAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
@@ -0,0 +1,33 @@
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
+ AttachmentBody: function() {
13
+ return AttachmentBody;
14
+ },
15
+ attachmentBodyClassName: function() {
16
+ return attachmentBodyClassName;
17
+ }
18
+ });
19
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
20
+ const _reactcomponents = require("@fluentui/react-components");
21
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
22
+ const _AttachmentBodystyles = require("./AttachmentBody.styles");
23
+ const attachmentBodyClassName = 'fui-AttachmentBody';
24
+ const AttachmentBody = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
25
+ const { className, children, ...rest } = props;
26
+ const classes = (0, _AttachmentBodystyles.useAttachmentBodyStyles)();
27
+ return /*#__PURE__*/ _react.createElement("div", {
28
+ ref: ref,
29
+ className: (0, _reactcomponents.mergeClasses)(attachmentBodyClassName, classes.root, className),
30
+ ...rest
31
+ }, children);
32
+ });
33
+ AttachmentBody.displayName = 'AttachmentBody';
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentBody.tsx"],"sourcesContent":["import { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentBodyStyles } from './AttachmentBody.styles';\n\nexport interface AttachmentBodyProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport const attachmentBodyClassName = 'fui-AttachmentBody';\n\nexport const AttachmentBody: React.FC<AttachmentBodyProps> = React.forwardRef<HTMLDivElement, AttachmentBodyProps>(\n (props, ref) => {\n const { className, children, ...rest } = props;\n const classes = useAttachmentBodyStyles();\n\n return (\n <div ref={ref} className={mergeClasses(attachmentBodyClassName, classes.root, className)} {...rest}>\n {children}\n </div>\n );\n },\n);\n\nAttachmentBody.displayName = 'AttachmentBody';\n"],"names":["AttachmentBody","attachmentBodyClassName","React","forwardRef","props","ref","className","children","rest","classes","useAttachmentBodyStyles","createElement","div","mergeClasses","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAQaA,cAAAA;eAAAA;;IAFAC,uBAAAA;eAAAA;;;;iCANgB;iEACN;sCACiB;AAIjC,MAAMA,0BAA0B;AAEhC,MAAMD,iBAAAA,WAAAA,GAAgDE,OAAMC,UAAU,CAC3E,CAACC,OAAOC;IACN,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUC,IAAAA,6CAAAA;IAEhB,OAAA,WAAA,GACER,OAAAS,aAAA,CAACC,OAAAA;QAAIP,KAAKA;QAAKC,WAAWO,IAAAA,6BAAAA,EAAaZ,yBAAyBQ,QAAQK,IAAI,EAAER;QAAa,GAAGE,IAAI;OAC/FD;AAGP;AAGFP,eAAee,WAAW,GAAG"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useAttachmentBodyStyles", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useAttachmentBodyStyles;
9
+ }
10
+ });
11
+ const _reactcomponents = require("@fluentui/react-components");
12
+ const useAttachmentBodyStyles = /*#__PURE__*/ (0, _reactcomponents.__styles)({
13
+ root: {
14
+ xawz: 0,
15
+ Bh6795r: 0,
16
+ Bnnss6s: 0,
17
+ fkmc3a: "fbotcpb"
18
+ }
19
+ }, {
20
+ d: [
21
+ [
22
+ ".fbotcpb{flex:1 1 0;}",
23
+ {
24
+ p: -1
25
+ }
26
+ ]
27
+ ]
28
+ }); //# sourceMappingURL=AttachmentBody.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentBody.styles.js"],"sourcesContent":["import { makeStyles } from '@fluentui/react-components';\nexport const useAttachmentBodyStyles = makeStyles({\n root: {\n flex: '1 1 0'\n }\n});\n"],"names":["useAttachmentBodyStyles","__styles","root","xawz","Bh6795r","Bnnss6s","fkmc3a","d","p"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BACaA;;;eAAAA;;;iCADc;AACpB,MAAMA,0BAAuB,WAAA,GAAGC,IAAAA,yBAAA,EAAA;IAAAC,MAAA;QAAAC,MAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,QAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;YAAA;YAAA;gBAAAC,GAAA,CAAA;YAAA;SAAA;KAAA;AAAA"}
@@ -0,0 +1,33 @@
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
+ AttachmentDescription: function() {
13
+ return AttachmentDescription;
14
+ },
15
+ attachmentDescriptionClassName: function() {
16
+ return attachmentDescriptionClassName;
17
+ }
18
+ });
19
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
20
+ const _reactcomponents = require("@fluentui/react-components");
21
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
22
+ const _AttachmentDescriptionstyles = require("./AttachmentDescription.styles");
23
+ const attachmentDescriptionClassName = 'fui-AttachmentDescription';
24
+ const AttachmentDescription = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
25
+ const { className, children, ...rest } = props;
26
+ const classes = (0, _AttachmentDescriptionstyles.useAttachmentDescriptionStyles)();
27
+ return /*#__PURE__*/ _react.createElement("span", {
28
+ ref: ref,
29
+ className: (0, _reactcomponents.mergeClasses)(attachmentDescriptionClassName, classes.root, className),
30
+ ...rest
31
+ }, children);
32
+ });
33
+ AttachmentDescription.displayName = 'AttachmentDescription';
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentDescription.tsx"],"sourcesContent":["import { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentDescriptionStyles } from './AttachmentDescription.styles';\n\nexport interface AttachmentDescriptionProps extends React.HTMLAttributes<HTMLSpanElement> {}\n\nexport const attachmentDescriptionClassName = 'fui-AttachmentDescription';\n\nexport const AttachmentDescription: React.FC<AttachmentDescriptionProps> = React.forwardRef<\n HTMLSpanElement,\n AttachmentDescriptionProps\n>((props, ref) => {\n const { className, children, ...rest } = props;\n const classes = useAttachmentDescriptionStyles();\n\n return (\n <span ref={ref} className={mergeClasses(attachmentDescriptionClassName, classes.root, className)} {...rest}>\n {children}\n </span>\n );\n});\n\nAttachmentDescription.displayName = 'AttachmentDescription';\n"],"names":["AttachmentDescription","attachmentDescriptionClassName","React","forwardRef","props","ref","className","children","rest","classes","useAttachmentDescriptionStyles","createElement","span","mergeClasses","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAQaA,qBAAAA;eAAAA;;IAFAC,8BAAAA;eAAAA;;;;iCANgB;iEACN;6CACwB;AAIxC,MAAMA,iCAAiC;AAEvC,MAAMD,wBAAAA,WAAAA,GAA8DE,OAAMC,UAAU,CAGzF,CAACC,OAAOC;IACR,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUC,IAAAA,2DAAAA;IAEhB,OAAA,WAAA,GACER,OAAAS,aAAA,CAACC,QAAAA;QAAKP,KAAKA;QAAKC,WAAWO,IAAAA,6BAAAA,EAAaZ,gCAAgCQ,QAAQK,IAAI,EAAER;QAAa,GAAGE,IAAI;OACvGD;AAGP;AAEAP,sBAAsBe,WAAW,GAAG"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useAttachmentDescriptionStyles", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useAttachmentDescriptionStyles;
9
+ }
10
+ });
11
+ const _reactcomponents = require("@fluentui/react-components");
12
+ const useAttachmentDescriptionStyles = /*#__PURE__*/ (0, _reactcomponents.__styles)({
13
+ root: {
14
+ mc9l5x: "ftgm304",
15
+ Be2twd7: "fy9rknc",
16
+ Bhrd7zp: "figsok6",
17
+ Bg96gwp: "fp6vxd"
18
+ }
19
+ }, {
20
+ d: [
21
+ ".ftgm304{display:block;}",
22
+ ".fy9rknc{font-size:var(--fontSizeBase200);}",
23
+ ".figsok6{font-weight:var(--fontWeightRegular);}",
24
+ ".fp6vxd{line-height:1;}"
25
+ ]
26
+ }); //# sourceMappingURL=AttachmentDescription.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentDescription.styles.js"],"sourcesContent":["import { makeStyles, tokens } from '@fluentui/react-components';\nexport const useAttachmentDescriptionStyles = makeStyles({\n root: {\n display: 'block',\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: 1\n }\n});\n"],"names":["useAttachmentDescriptionStyles","__styles","root","mc9l5x","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BACaA;;;eAAAA;;;iCADsB;AAC5B,MAAMA,iCAA8B,WAAA,GAAGC,IAAAA,yBAAA,EAAA;IAAAC,MAAA;QAAAC,QAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
@@ -0,0 +1,33 @@
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
+ AttachmentHeader: function() {
13
+ return AttachmentHeader;
14
+ },
15
+ attachmentHeaderClassName: function() {
16
+ return attachmentHeaderClassName;
17
+ }
18
+ });
19
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
20
+ const _reactcomponents = require("@fluentui/react-components");
21
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
22
+ const _AttachmentHeaderstyles = require("./AttachmentHeader.styles");
23
+ const attachmentHeaderClassName = 'fui-AttachmentHeader';
24
+ const AttachmentHeader = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
25
+ const { className, children, ...rest } = props;
26
+ const classes = (0, _AttachmentHeaderstyles.useAttachmentHeaderStyles)();
27
+ return /*#__PURE__*/ _react.createElement("span", {
28
+ ref: ref,
29
+ className: (0, _reactcomponents.mergeClasses)(attachmentHeaderClassName, classes.root, className),
30
+ ...rest
31
+ }, children);
32
+ });
33
+ AttachmentHeader.displayName = 'AttachmentHeader';
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentHeader.tsx"],"sourcesContent":["import { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentHeaderStyles } from './AttachmentHeader.styles';\n\nexport interface AttachmentHeaderProps extends React.HTMLAttributes<HTMLSpanElement> {}\n\nexport const attachmentHeaderClassName = 'fui-AttachmentHeader';\n\nexport const AttachmentHeader: React.FC<AttachmentHeaderProps> = React.forwardRef<\n HTMLSpanElement,\n AttachmentHeaderProps\n>((props, ref) => {\n const { className, children, ...rest } = props;\n const classes = useAttachmentHeaderStyles();\n\n return (\n <span ref={ref} className={mergeClasses(attachmentHeaderClassName, classes.root, className)} {...rest}>\n {children}\n </span>\n );\n});\n\nAttachmentHeader.displayName = 'AttachmentHeader';\n"],"names":["AttachmentHeader","attachmentHeaderClassName","React","forwardRef","props","ref","className","children","rest","classes","useAttachmentHeaderStyles","createElement","span","mergeClasses","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAQaA,gBAAAA;eAAAA;;IAFAC,yBAAAA;eAAAA;;;;iCANgB;iEACN;wCACmB;AAInC,MAAMA,4BAA4B;AAElC,MAAMD,mBAAAA,WAAAA,GAAoDE,OAAMC,UAAU,CAG/E,CAACC,OAAOC;IACR,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUC,IAAAA,iDAAAA;IAEhB,OAAA,WAAA,GACER,OAAAS,aAAA,CAACC,QAAAA;QAAKP,KAAKA;QAAKC,WAAWO,IAAAA,6BAAAA,EAAaZ,2BAA2BQ,QAAQK,IAAI,EAAER;QAAa,GAAGE,IAAI;OAClGD;AAGP;AAEAP,iBAAiBe,WAAW,GAAG"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useAttachmentHeaderStyles", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useAttachmentHeaderStyles;
9
+ }
10
+ });
11
+ const _reactcomponents = require("@fluentui/react-components");
12
+ const useAttachmentHeaderStyles = /*#__PURE__*/ (0, _reactcomponents.__styles)({
13
+ root: {
14
+ mc9l5x: "ftgm304",
15
+ Be2twd7: "fkhj508",
16
+ Bhrd7zp: "fl43uef",
17
+ Bg96gwp: "f8497fr"
18
+ }
19
+ }, {
20
+ d: [
21
+ ".ftgm304{display:block;}",
22
+ ".fkhj508{font-size:var(--fontSizeBase300);}",
23
+ ".fl43uef{font-weight:var(--fontWeightSemibold);}",
24
+ ".f8497fr{line-height:1.4286;}"
25
+ ]
26
+ }); //# sourceMappingURL=AttachmentHeader.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentHeader.styles.js"],"sourcesContent":["import { makeStyles, tokens } from '@fluentui/react-components';\nexport const useAttachmentHeaderStyles = makeStyles({\n root: {\n display: 'block',\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: 1.4286\n }\n});\n"],"names":["useAttachmentHeaderStyles","__styles","root","mc9l5x","Be2twd7","Bhrd7zp","Bg96gwp","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BACaA;;;eAAAA;;;iCADsB;AAC5B,MAAMA,4BAAyB,WAAA,GAAGC,IAAAA,yBAAA,EAAA;IAAAC,MAAA;QAAAC,QAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
@@ -0,0 +1,33 @@
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
+ AttachmentIcon: function() {
13
+ return AttachmentIcon;
14
+ },
15
+ attachmentIconClassName: function() {
16
+ return attachmentIconClassName;
17
+ }
18
+ });
19
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
20
+ const _reactcomponents = require("@fluentui/react-components");
21
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
22
+ const _AttachmentIconstyles = require("./AttachmentIcon.styles");
23
+ const attachmentIconClassName = 'fui-AttachmentIcon';
24
+ const AttachmentIcon = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
25
+ const { className, children, ...rest } = props;
26
+ const classes = (0, _AttachmentIconstyles.useAttachmentIconStyles)();
27
+ return /*#__PURE__*/ _react.createElement("span", {
28
+ ref: ref,
29
+ className: (0, _reactcomponents.mergeClasses)(attachmentIconClassName, classes.root, className),
30
+ ...rest
31
+ }, children);
32
+ });
33
+ AttachmentIcon.displayName = 'AttachmentIcon';
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentIcon.tsx"],"sourcesContent":["import { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\nimport { useAttachmentIconStyles } from './AttachmentIcon.styles';\n\nexport interface AttachmentIconProps extends React.HTMLAttributes<HTMLSpanElement> {}\n\nexport const attachmentIconClassName = 'fui-AttachmentIcon';\n\nexport const AttachmentIcon: React.FC<AttachmentIconProps> = React.forwardRef<HTMLSpanElement, AttachmentIconProps>(\n (props, ref) => {\n const { className, children, ...rest } = props;\n const classes = useAttachmentIconStyles();\n\n return (\n <span ref={ref} className={mergeClasses(attachmentIconClassName, classes.root, className)} {...rest}>\n {children}\n </span>\n );\n },\n);\n\nAttachmentIcon.displayName = 'AttachmentIcon';\n"],"names":["AttachmentIcon","attachmentIconClassName","React","forwardRef","props","ref","className","children","rest","classes","useAttachmentIconStyles","createElement","span","mergeClasses","root","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAQaA,cAAAA;eAAAA;;IAFAC,uBAAAA;eAAAA;;;;iCANgB;iEACN;sCACiB;AAIjC,MAAMA,0BAA0B;AAEhC,MAAMD,iBAAAA,WAAAA,GAAgDE,OAAMC,UAAU,CAC3E,CAACC,OAAOC;IACN,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUC,IAAAA,6CAAAA;IAEhB,OAAA,WAAA,GACER,OAAAS,aAAA,CAACC,QAAAA;QAAKP,KAAKA;QAAKC,WAAWO,IAAAA,6BAAAA,EAAaZ,yBAAyBQ,QAAQK,IAAI,EAAER;QAAa,GAAGE,IAAI;OAChGD;AAGP;AAGFP,eAAee,WAAW,GAAG"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useAttachmentIconStyles", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useAttachmentIconStyles;
9
+ }
10
+ });
11
+ const _reactcomponents = require("@fluentui/react-components");
12
+ const useAttachmentIconStyles = /*#__PURE__*/ (0, _reactcomponents.__styles)({
13
+ root: {
14
+ Bqenvij: "f1d2rq10",
15
+ a9b677: "f1szoe96",
16
+ t21cq0: [
17
+ "f1x4n1mu",
18
+ "f1hf5xhj"
19
+ ],
20
+ mc9l5x: "ftuwxu6",
21
+ Bt984gj: "f122n59",
22
+ Brf1p80: "f4d9j23",
23
+ p4uzdd: "ffmg4tr",
24
+ B5pe6w7: "f17klwcu"
25
+ }
26
+ }, {
27
+ d: [
28
+ ".f1d2rq10{height:32px;}",
29
+ ".f1szoe96{width:32px;}",
30
+ ".f1x4n1mu{margin-right:12px;}",
31
+ ".f1hf5xhj{margin-left:12px;}",
32
+ ".ftuwxu6{display:inline-flex;}",
33
+ ".f122n59{align-items:center;}",
34
+ ".f4d9j23{justify-content:center;}",
35
+ ".ffmg4tr svg{height:100%;}",
36
+ ".f17klwcu svg{width:100%;}"
37
+ ]
38
+ }); //# sourceMappingURL=AttachmentIcon.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["AttachmentIcon.styles.js"],"sourcesContent":["import { makeStyles } from '@fluentui/react-components';\nexport const useAttachmentIconStyles = makeStyles({\n root: {\n height: '32px',\n width: '32px',\n marginRight: '12px',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n '& svg': {\n height: '100%',\n width: '100%'\n }\n }\n});\n"],"names":["useAttachmentIconStyles","__styles","root","Bqenvij","a9b677","t21cq0","mc9l5x","Bt984gj","Brf1p80","p4uzdd","B5pe6w7","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BACaA;;;eAAAA;;;iCADc;AACpB,MAAMA,0BAAuB,WAAA,GAAGC,IAAAA,yBAAA,EAAA;IAAAC,MAAA;QAAAC,SAAA;QAAAC,QAAA;QAAAC,QAAA;YAAA;YAAA;SAAA;QAAAC,QAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,QAAA;QAAAC,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ const _export_star = require("@swc/helpers/_/_export_star");
6
+ _export_star._(require("./Attachment"), exports);
7
+ _export_star._(require("./AttachmentAction"), exports);
8
+ _export_star._(require("./AttachmentBody"), exports);
9
+ _export_star._(require("./AttachmentDescription"), exports);
10
+ _export_star._(require("./AttachmentHeader"), exports);
11
+ _export_star._(require("./AttachmentIcon"), exports);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Attachment';\nexport * from './AttachmentAction';\nexport * from './AttachmentBody';\nexport * from './AttachmentDescription';\nexport * from './AttachmentHeader';\nexport * from './AttachmentIcon';\n\nexport type { AttachmentProps } from './Attachment';\nexport type { AttachmentActionProps } from './AttachmentAction';\nexport type { AttachmentBodyProps } from './AttachmentBody';\nexport type { AttachmentDescriptionProps } from './AttachmentDescription';\nexport type { AttachmentHeaderProps } from './AttachmentHeader';\nexport type { AttachmentIconProps } from './AttachmentIcon';\n"],"names":[],"rangeMappings":";;;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA"}
@@ -9,20 +9,20 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- v9HoverClasses: function() {
13
- return v9HoverClasses;
14
- },
15
- v9Icon: function() {
16
- return v9Icon;
12
+ v0Icon: function() {
13
+ return v0Icon;
17
14
  },
18
15
  v9CustomSizeIcon: function() {
19
16
  return v9CustomSizeIcon;
20
17
  },
21
- v0Icon: function() {
22
- return v0Icon;
23
- },
24
18
  v9DisabledCursor: function() {
25
19
  return v9DisabledCursor;
20
+ },
21
+ v9HoverClasses: function() {
22
+ return v9HoverClasses;
23
+ },
24
+ v9Icon: function() {
25
+ return v9Icon;
26
26
  }
27
27
  });
28
28
  const _reacticons = require("@fluentui/react-icons");
@@ -1 +1 @@
1
- {"version":3,"sources":["ButtonMigration.mixins.js"],"sourcesContent":["import { iconFilledClassName, iconRegularClassName } from '@fluentui/react-icons';\n// class names from v0 - not imported as we do not want to keep depending on v0.\nconst iconClassNames = {\n filled: 'ui-icon__filled',\n outline: 'ui-icon__outline'\n};\nexport const v9HoverClasses = ()=>({\n [`& .${iconFilledClassName}`]: {\n display: 'none'\n },\n [`& .${iconRegularClassName}`]: {\n display: 'inline'\n },\n '&:hover': {\n [`& .${iconFilledClassName}`]: {\n display: 'inline'\n },\n [`& .${iconRegularClassName}`]: {\n display: 'none'\n }\n }\n });\nexport const v9Icon = ()=>({\n // styles that allow to keep consistent size of v9 icon with v0 icon\n '& svg': {\n width: '100%',\n paddingBottom: '100%',\n // negative margin is necessary here for centering v9 icon\n // with v0 button, because of extra spaces that svg contains\n margin: '-4px 0 0 -4px',\n overflow: 'visible'\n },\n ...v9HoverClasses()\n });\nexport const v9CustomSizeIcon = ()=>({\n '& svg': {\n overflow: 'visible'\n },\n ...v9HoverClasses()\n });\nexport const v0Icon = ()=>({\n [`& .${iconClassNames.outline}`]: {\n display: 'block'\n },\n [`& .${iconClassNames.filled}`]: {\n display: 'none'\n },\n '&:hover': {\n [`& .${iconClassNames.outline}`]: {\n display: 'none'\n },\n [`& .${iconClassNames.filled}`]: {\n display: 'block'\n }\n }\n });\nexport const v9DisabledCursor = ()=>({\n '&:disabled': {\n cursor: 'default',\n '&:hover': {\n cursor: 'default'\n },\n '&:hover:active': {\n cursor: 'default'\n }\n }\n });\n"],"names":["v9HoverClasses","v9Icon","v9CustomSizeIcon","v0Icon","v9DisabledCursor","iconClassNames","filled","outline","iconFilledClassName","display","iconRegularClassName","width","paddingBottom","margin","overflow","cursor"],"mappings":";;;;;;;;;;;IAMaA,cAAc;eAAdA;;IAgBAC,MAAM;eAANA;;IAYAC,gBAAgB;eAAhBA;;IAMAC,MAAM;eAANA;;IAgBAC,gBAAgB;eAAhBA;;;4BAxD6C;AAC1D,gFAAgF;AAChF,MAAMC,iBAAiB;IACnBC,QAAQ;IACRC,SAAS;AACb;AACO,MAAMP,iBAAiB,IAAK,CAAA;QAC3B,CAAC,CAAC,GAAG,EAAEQ,+BAAmB,CAAC,CAAC,CAAC,EAAE;YAC3BC,SAAS;QACb;QACA,CAAC,CAAC,GAAG,EAAEC,gCAAoB,CAAC,CAAC,CAAC,EAAE;YAC5BD,SAAS;QACb;QACA,WAAW;YACP,CAAC,CAAC,GAAG,EAAED,+BAAmB,CAAC,CAAC,CAAC,EAAE;gBAC3BC,SAAS;YACb;YACA,CAAC,CAAC,GAAG,EAAEC,gCAAoB,CAAC,CAAC,CAAC,EAAE;gBAC5BD,SAAS;YACb;QACJ;IACJ,CAAA;AACG,MAAMR,SAAS,IAAK,CAAA;QACnB,oEAAoE;QACpE,SAAS;YACLU,OAAO;YACPC,eAAe;YACf,0DAA0D;YAC1D,4DAA4D;YAC5DC,QAAQ;YACRC,UAAU;QACd;QACA,GAAGd,gBAAgB;IACvB,CAAA;AACG,MAAME,mBAAmB,IAAK,CAAA;QAC7B,SAAS;YACLY,UAAU;QACd;QACA,GAAGd,gBAAgB;IACvB,CAAA;AACG,MAAMG,SAAS,IAAK,CAAA;QACnB,CAAC,CAAC,GAAG,EAAEE,eAAeE,OAAO,CAAC,CAAC,CAAC,EAAE;YAC9BE,SAAS;QACb;QACA,CAAC,CAAC,GAAG,EAAEJ,eAAeC,MAAM,CAAC,CAAC,CAAC,EAAE;YAC7BG,SAAS;QACb;QACA,WAAW;YACP,CAAC,CAAC,GAAG,EAAEJ,eAAeE,OAAO,CAAC,CAAC,CAAC,EAAE;gBAC9BE,SAAS;YACb;YACA,CAAC,CAAC,GAAG,EAAEJ,eAAeC,MAAM,CAAC,CAAC,CAAC,EAAE;gBAC7BG,SAAS;YACb;QACJ;IACJ,CAAA;AACG,MAAML,mBAAmB,IAAK,CAAA;QAC7B,cAAc;YACVW,QAAQ;YACR,WAAW;gBACPA,QAAQ;YACZ;YACA,kBAAkB;gBACdA,QAAQ;YACZ;QACJ;IACJ,CAAA"}
1
+ {"version":3,"sources":["ButtonMigration.mixins.ts"],"sourcesContent":["import { GriffelStyle } from '@fluentui/react-components';\nimport { iconFilledClassName, iconRegularClassName } from '@fluentui/react-icons';\n\n// class names from v0 - not imported as we do not want to keep depending on v0.\nconst iconClassNames = {\n filled: 'ui-icon__filled',\n outline: 'ui-icon__outline',\n};\n\nexport const v9HoverClasses = (): GriffelStyle => ({\n [`& .${iconFilledClassName}`]: {\n display: 'none',\n },\n [`& .${iconRegularClassName}`]: {\n display: 'inline',\n },\n '&:hover': {\n [`& .${iconFilledClassName}`]: {\n display: 'inline',\n },\n [`& .${iconRegularClassName}`]: {\n display: 'none',\n },\n },\n});\n\nexport const v9Icon = (): GriffelStyle => ({\n // styles that allow to keep consistent size of v9 icon with v0 icon\n '& svg': {\n width: '100%',\n paddingBottom: '100%',\n // negative margin is necessary here for centering v9 icon\n // with v0 button, because of extra spaces that svg contains\n margin: '-4px 0 0 -4px',\n overflow: 'visible',\n },\n ...v9HoverClasses(),\n});\n\nexport const v9CustomSizeIcon = (): GriffelStyle => ({\n '& svg': { overflow: 'visible' },\n ...v9HoverClasses(),\n});\n\nexport const v0Icon = (): GriffelStyle => ({\n [`& .${iconClassNames.outline}`]: {\n display: 'block',\n },\n [`& .${iconClassNames.filled}`]: {\n display: 'none',\n },\n '&:hover': {\n [`& .${iconClassNames.outline}`]: {\n display: 'none',\n },\n [`& .${iconClassNames.filled}`]: {\n display: 'block',\n },\n },\n});\n\nexport const v9DisabledCursor = (): GriffelStyle => ({\n '&:disabled': {\n cursor: 'default',\n '&:hover': {\n cursor: 'default',\n },\n '&:hover:active': {\n cursor: 'default',\n },\n },\n});\n"],"names":["v0Icon","v9CustomSizeIcon","v9DisabledCursor","v9HoverClasses","v9Icon","iconClassNames","filled","outline","iconFilledClassName","display","iconRegularClassName","width","paddingBottom","margin","overflow","cursor"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA4CaA,MAAAA;eAAAA;;IALAC,gBAAAA;eAAAA;;IAsBAC,gBAAAA;eAAAA;;IApDAC,cAAAA;eAAAA;;IAiBAC,MAAAA;eAAAA;;;4BAzB6C;AAE1D,gFAAgF;AAChF,MAAMC,iBAAiB;IACrBC,QAAQ;IACRC,SAAS;AACX;AAEO,MAAMJ,iBAAiB,IAAqB,CAAA;QACjD,CAAC,CAAC,GAAG,EAAEK,+BAAAA,CAAoB,CAAC,CAAC,EAAE;YAC7BC,SAAS;QACX;QACA,CAAC,CAAC,GAAG,EAAEC,gCAAAA,CAAqB,CAAC,CAAC,EAAE;YAC9BD,SAAS;QACX;QACA,WAAW;YACT,CAAC,CAAC,GAAG,EAAED,+BAAAA,CAAoB,CAAC,CAAC,EAAE;gBAC7BC,SAAS;YACX;YACA,CAAC,CAAC,GAAG,EAAEC,gCAAAA,CAAqB,CAAC,CAAC,EAAE;gBAC9BD,SAAS;YACX;QACF;IACF,CAAA;AAEO,MAAML,SAAS,IAAqB,CAAA;QACzC,oEAAoE;QACpE,SAAS;YACPO,OAAO;YACPC,eAAe;YACf,0DAA0D;YAC1D,4DAA4D;YAC5DC,QAAQ;YACRC,UAAU;QACZ;QACA,GAAGX,gBAAgB;IACrB,CAAA;AAEO,MAAMF,mBAAmB,IAAqB,CAAA;QACnD,SAAS;YAAEa,UAAU;QAAU;QAC/B,GAAGX,gBAAgB;IACrB,CAAA;AAEO,MAAMH,SAAS,IAAqB,CAAA;QACzC,CAAC,CAAC,GAAG,EAAEK,eAAeE,OAAO,CAAC,CAAC,CAAC,EAAE;YAChCE,SAAS;QACX;QACA,CAAC,CAAC,GAAG,EAAEJ,eAAeC,MAAM,CAAC,CAAC,CAAC,EAAE;YAC/BG,SAAS;QACX;QACA,WAAW;YACT,CAAC,CAAC,GAAG,EAAEJ,eAAeE,OAAO,CAAC,CAAC,CAAC,EAAE;gBAChCE,SAAS;YACX;YACA,CAAC,CAAC,GAAG,EAAEJ,eAAeC,MAAM,CAAC,CAAC,CAAC,EAAE;gBAC/BG,SAAS;YACX;QACF;IACF,CAAA;AAEO,MAAMP,mBAAmB,IAAqB,CAAA;QACnD,cAAc;YACZa,QAAQ;YACR,WAAW;gBACTA,QAAQ;YACV;YACA,kBAAkB;gBAChBA,QAAQ;YACV;QACF;IACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './ButtonMigration.mixins';\n"],"names":[],"mappings":";;;;;uBAAc"}
1
+ {"version":3,"sources":["index.tsx"],"sourcesContent":["export * from './ButtonMigration.mixins';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
@@ -9,11 +9,11 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- flexClassName: function() {
13
- return flexClassName;
14
- },
15
12
  Flex: function() {
16
13
  return Flex;
14
+ },
15
+ flexClassName: function() {
16
+ return flexClassName;
17
17
  }
18
18
  });
19
19
  const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");