@fluentui/react-migration-v0-v9 9.74.7-experimental.cli-api.20261006-ccaa611d58.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +70 -13
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/lib/components/Attachment/Attachment.js.map +1 -1
- package/lib/components/Attachment/Attachment.module.css +50 -0
- package/lib/components/Attachment/Attachment.styles.css.js +3 -0
- package/lib/components/Attachment/Attachment.styles.css.js.map +1 -0
- package/lib/components/Attachment/Attachment.styles.raw.css.js +3 -0
- package/lib/components/Attachment/Attachment.styles.raw.css.js.map +1 -0
- package/lib/components/Attachment/Attachment.styles.raw.js.map +1 -1
- package/lib/components/Attachment/AttachmentAction.js.map +1 -1
- package/lib/components/Attachment/AttachmentAction.module.css +17 -0
- package/lib/components/Attachment/AttachmentAction.styles.css.js +2 -0
- package/lib/components/Attachment/AttachmentAction.styles.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentAction.styles.raw.css.js +2 -0
- package/lib/components/Attachment/AttachmentAction.styles.raw.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentAction.styles.raw.js.map +1 -1
- package/lib/components/Attachment/AttachmentBody.js.map +1 -1
- package/lib/components/Attachment/AttachmentBody.module.css +5 -0
- package/lib/components/Attachment/AttachmentBody.styles.css.js +2 -0
- package/lib/components/Attachment/AttachmentBody.styles.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentBody.styles.raw.css.js +2 -0
- package/lib/components/Attachment/AttachmentBody.styles.raw.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentBody.styles.raw.js.map +1 -1
- package/lib/components/Attachment/AttachmentDescription.js.map +1 -1
- package/lib/components/Attachment/AttachmentDescription.module.css +8 -0
- package/lib/components/Attachment/AttachmentDescription.styles.css.js +2 -0
- package/lib/components/Attachment/AttachmentDescription.styles.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentDescription.styles.raw.css.js +2 -0
- package/lib/components/Attachment/AttachmentDescription.styles.raw.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentDescription.styles.raw.js.map +1 -1
- package/lib/components/Attachment/AttachmentHeader.js.map +1 -1
- package/lib/components/Attachment/AttachmentHeader.module.css +8 -0
- package/lib/components/Attachment/AttachmentHeader.styles.css.js +2 -0
- package/lib/components/Attachment/AttachmentHeader.styles.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentHeader.styles.raw.css.js +2 -0
- package/lib/components/Attachment/AttachmentHeader.styles.raw.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentHeader.styles.raw.js.map +1 -1
- package/lib/components/Attachment/AttachmentIcon.js.map +1 -1
- package/lib/components/Attachment/AttachmentIcon.module.css +15 -0
- package/lib/components/Attachment/AttachmentIcon.styles.css.js +2 -0
- package/lib/components/Attachment/AttachmentIcon.styles.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentIcon.styles.raw.css.js +2 -0
- package/lib/components/Attachment/AttachmentIcon.styles.raw.css.js.map +1 -0
- package/lib/components/Attachment/AttachmentIcon.styles.raw.js.map +1 -1
- package/lib/components/Attachment/index.js.map +1 -1
- package/lib/components/Button/ButtonMigration.mixins.js.map +1 -1
- package/lib/components/Button/index.js.map +1 -1
- package/lib/components/Flex/Flex.js.map +1 -1
- package/lib/components/Flex/Flex.module.css +102 -0
- package/lib/components/Flex/Flex.styles.css.js +2 -0
- package/lib/components/Flex/Flex.styles.css.js.map +1 -0
- package/lib/components/Flex/Flex.styles.raw.css.js +2 -0
- package/lib/components/Flex/Flex.styles.raw.css.js.map +1 -0
- package/lib/components/Flex/Flex.styles.raw.js.map +1 -1
- package/lib/components/Flex/FlexItem.mixins.js.map +1 -1
- package/lib/components/Flex/index.js.map +1 -1
- package/lib/components/FormField/FormFieldShim.js.map +1 -1
- package/lib/components/FormField/index.js.map +1 -1
- package/lib/components/Grid/Grid.mixins.js.map +1 -1
- package/lib/components/Grid/Grid.module.css +38 -0
- package/lib/components/Grid/Grid.styles.css.js +2 -0
- package/lib/components/Grid/Grid.styles.css.js.map +1 -0
- package/lib/components/Grid/Grid.styles.raw.css.js +2 -0
- package/lib/components/Grid/Grid.styles.raw.css.js.map +1 -0
- package/lib/components/Grid/Grid.styles.raw.js.map +1 -1
- package/lib/components/Grid/GridShim.js.map +1 -1
- package/lib/components/Grid/index.js.map +1 -1
- package/lib/components/Input/Input.mixins.js.map +1 -1
- package/lib/components/Input/index.js.map +1 -1
- package/lib/components/ItemLayout/ItemLayout.js.map +1 -1
- package/lib/components/ItemLayout/ItemLayout.module.css +65 -0
- package/lib/components/ItemLayout/ItemLayout.styles.css.js +2 -0
- package/lib/components/ItemLayout/ItemLayout.styles.css.js.map +1 -0
- package/lib/components/ItemLayout/ItemLayout.styles.raw.css.js +2 -0
- package/lib/components/ItemLayout/ItemLayout.styles.raw.css.js.map +1 -0
- package/lib/components/ItemLayout/ItemLayout.styles.raw.js.map +1 -1
- package/lib/components/ItemLayout/index.js.map +1 -1
- package/lib/components/List/List/List.js.map +1 -1
- package/lib/components/List/List/List.module.css +16 -0
- package/lib/components/List/List/List.types.js.map +1 -1
- package/lib/components/List/List/index.js.map +1 -1
- package/lib/components/List/List/listContext.js.map +1 -1
- package/lib/components/List/List/renderList.js +2 -2
- package/lib/components/List/List/renderList.js.map +1 -1
- package/lib/components/List/List/useList.js.map +1 -1
- package/lib/components/List/List/useListContextValues.js.map +1 -1
- package/lib/components/List/List/useListStyles.styles.css.js +11 -0
- package/lib/components/List/List/useListStyles.styles.css.js.map +1 -0
- package/lib/components/List/List/useListStyles.styles.raw.css.js +11 -0
- package/lib/components/List/List/useListStyles.styles.raw.css.js.map +1 -0
- package/lib/components/List/List/useListStyles.styles.raw.js.map +1 -1
- package/lib/components/List/ListItem/ListItem.js.map +1 -1
- package/lib/components/List/ListItem/ListItem.module.css +40 -0
- package/lib/components/List/ListItem/ListItem.types.js.map +1 -1
- package/lib/components/List/ListItem/index.js.map +1 -1
- package/lib/components/List/ListItem/renderListItem.js +2 -2
- package/lib/components/List/ListItem/renderListItem.js.map +1 -1
- package/lib/components/List/ListItem/useListItem.js.map +1 -1
- package/lib/components/List/ListItem/useListItemStyles.styles.css.js +25 -0
- package/lib/components/List/ListItem/useListItemStyles.styles.css.js.map +1 -0
- package/lib/components/List/ListItem/useListItemStyles.styles.js +5 -1
- package/lib/components/List/ListItem/useListItemStyles.styles.js.map +1 -1
- package/lib/components/List/ListItem/useListItemStyles.styles.raw.css.js +25 -0
- package/lib/components/List/ListItem/useListItemStyles.styles.raw.css.js.map +1 -0
- package/lib/components/List/ListItem/useListItemStyles.styles.raw.js.map +1 -1
- package/lib/components/List/hooks/index.js.map +1 -1
- package/lib/components/List/hooks/types.js.map +1 -1
- package/lib/components/List/hooks/useListSelection.js.map +1 -1
- package/lib/components/List/index.js.map +1 -1
- package/lib/components/Primitive/Primitive.js.map +1 -1
- package/lib/components/Primitive/index.js.map +1 -1
- package/lib/components/Segment/Segment.js.map +1 -1
- package/lib/components/Segment/Segment.module.css +10 -0
- package/lib/components/Segment/Segment.styles.css.js +2 -0
- package/lib/components/Segment/Segment.styles.css.js.map +1 -0
- package/lib/components/Segment/Segment.styles.raw.css.js +2 -0
- package/lib/components/Segment/Segment.styles.raw.css.js.map +1 -0
- package/lib/components/Segment/Segment.styles.raw.js.map +1 -1
- package/lib/components/Segment/index.js.map +1 -1
- package/lib/components/Slider/Slider.mixins.js.map +1 -1
- package/lib/components/Slider/index.js.map +1 -1
- package/lib/components/Spinner/SpinnerMigration.mixins.js.map +1 -1
- package/lib/components/Spinner/index.js.map +1 -1
- package/lib/components/StyledText/StyledText.js.map +1 -1
- package/lib/components/StyledText/StyledText.module.css +115 -0
- package/lib/components/StyledText/StyledText.styles.css.js +4 -0
- package/lib/components/StyledText/StyledText.styles.css.js.map +1 -0
- package/lib/components/StyledText/StyledText.styles.raw.css.js +4 -0
- package/lib/components/StyledText/StyledText.styles.raw.css.js.map +1 -0
- package/lib/components/StyledText/StyledText.styles.raw.js.map +1 -1
- package/lib/components/StyledText/index.js.map +1 -1
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/components/Video/Video.module.css +8 -0
- package/lib/components/Video/Video.styles.css.js +2 -0
- package/lib/components/Video/Video.styles.css.js.map +1 -0
- package/lib/components/Video/Video.styles.raw.css.js +2 -0
- package/lib/components/Video/Video.styles.raw.css.js.map +1 -0
- package/lib/components/Video/Video.styles.raw.js.map +1 -1
- package/lib/components/Video/index.js.map +1 -1
- package/lib-commonjs/components/Attachment/Attachment.cjs +5 -5
- package/lib-commonjs/components/Attachment/Attachment.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/Attachment.module.css +50 -0
- package/lib-commonjs/components/Attachment/Attachment.styles.cjs +3 -3
- package/lib-commonjs/components/Attachment/Attachment.styles.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/Attachment.styles.css.cjs +22 -0
- package/lib-commonjs/components/Attachment/Attachment.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/Attachment.styles.raw.cjs +3 -3
- package/lib-commonjs/components/Attachment/Attachment.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/Attachment.styles.raw.css.cjs +22 -0
- package/lib-commonjs/components/Attachment/Attachment.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentAction.cjs +3 -3
- package/lib-commonjs/components/Attachment/AttachmentAction.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentAction.module.css +17 -0
- package/lib-commonjs/components/Attachment/AttachmentAction.styles.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentAction.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentAction.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentAction.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentAction.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentBody.cjs +3 -3
- package/lib-commonjs/components/Attachment/AttachmentBody.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentBody.module.css +5 -0
- package/lib-commonjs/components/Attachment/AttachmentBody.styles.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentBody.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentBody.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentBody.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentBody.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentDescription.cjs +3 -3
- package/lib-commonjs/components/Attachment/AttachmentDescription.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentDescription.module.css +8 -0
- package/lib-commonjs/components/Attachment/AttachmentDescription.styles.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentDescription.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentDescription.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentDescription.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentDescription.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentHeader.cjs +3 -3
- package/lib-commonjs/components/Attachment/AttachmentHeader.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentHeader.module.css +8 -0
- package/lib-commonjs/components/Attachment/AttachmentHeader.styles.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentHeader.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentHeader.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentHeader.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentHeader.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentIcon.cjs +3 -3
- package/lib-commonjs/components/Attachment/AttachmentIcon.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentIcon.module.css +15 -0
- package/lib-commonjs/components/Attachment/AttachmentIcon.styles.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentIcon.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/AttachmentIcon.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Attachment/AttachmentIcon.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/Attachment/AttachmentIcon.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/index.cjs +15 -15
- package/lib-commonjs/components/Attachment/index.cjs.map +1 -1
- package/lib-commonjs/components/Button/ButtonMigration.mixins.cjs +6 -6
- package/lib-commonjs/components/Button/ButtonMigration.mixins.cjs.map +1 -1
- package/lib-commonjs/components/Button/index.cjs +6 -6
- package/lib-commonjs/components/Button/index.cjs.map +1 -1
- package/lib-commonjs/components/Flex/Flex.cjs +3 -3
- package/lib-commonjs/components/Flex/Flex.cjs.map +1 -1
- package/lib-commonjs/components/Flex/Flex.module.css +102 -0
- package/lib-commonjs/components/Flex/Flex.styles.css.cjs +13 -0
- package/lib-commonjs/components/Flex/Flex.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Flex/Flex.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Flex/Flex.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/Flex/Flex.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Flex/FlexItem.mixins.cjs.map +1 -1
- package/lib-commonjs/components/Flex/index.cjs +5 -5
- package/lib-commonjs/components/Flex/index.cjs.map +1 -1
- package/lib-commonjs/components/FormField/FormFieldShim.cjs.map +1 -1
- package/lib-commonjs/components/FormField/index.cjs.map +1 -1
- package/lib-commonjs/components/Grid/Grid.mixins.cjs.map +1 -1
- package/lib-commonjs/components/Grid/Grid.module.css +38 -0
- package/lib-commonjs/components/Grid/Grid.styles.css.cjs +13 -0
- package/lib-commonjs/components/Grid/Grid.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Grid/Grid.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Grid/Grid.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/Grid/Grid.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Grid/GridShim.cjs +3 -3
- package/lib-commonjs/components/Grid/GridShim.cjs.map +1 -1
- package/lib-commonjs/components/Grid/index.cjs +5 -5
- package/lib-commonjs/components/Grid/index.cjs.map +1 -1
- package/lib-commonjs/components/Input/Input.mixins.cjs.map +1 -1
- package/lib-commonjs/components/Input/index.cjs.map +1 -1
- package/lib-commonjs/components/ItemLayout/ItemLayout.cjs +3 -3
- package/lib-commonjs/components/ItemLayout/ItemLayout.cjs.map +1 -1
- package/lib-commonjs/components/ItemLayout/ItemLayout.module.css +65 -0
- package/lib-commonjs/components/ItemLayout/ItemLayout.styles.css.cjs +13 -0
- package/lib-commonjs/components/ItemLayout/ItemLayout.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/ItemLayout/ItemLayout.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/ItemLayout/ItemLayout.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/ItemLayout/ItemLayout.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/ItemLayout/index.cjs +4 -4
- package/lib-commonjs/components/ItemLayout/index.cjs.map +1 -1
- package/lib-commonjs/components/List/List/List.cjs.map +1 -1
- package/lib-commonjs/components/List/List/List.module.css +16 -0
- package/lib-commonjs/components/List/List/List.types.cjs.map +1 -1
- package/lib-commonjs/components/List/List/index.cjs +6 -6
- package/lib-commonjs/components/List/List/index.cjs.map +1 -1
- package/lib-commonjs/components/List/List/listContext.cjs +4 -4
- package/lib-commonjs/components/List/List/listContext.cjs.map +1 -1
- package/lib-commonjs/components/List/List/renderList.cjs.map +1 -1
- package/lib-commonjs/components/List/List/useList.cjs.map +1 -1
- package/lib-commonjs/components/List/List/useListContextValues.cjs.map +1 -1
- package/lib-commonjs/components/List/List/useListStyles.styles.cjs +3 -3
- package/lib-commonjs/components/List/List/useListStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/List/List/useListStyles.styles.css.cjs +28 -0
- package/lib-commonjs/components/List/List/useListStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/List/List/useListStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/List/List/useListStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/List/List/useListStyles.styles.raw.css.cjs +28 -0
- package/lib-commonjs/components/List/List/useListStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/List/ListItem/ListItem.cjs.map +1 -1
- package/lib-commonjs/components/List/ListItem/ListItem.module.css +40 -0
- package/lib-commonjs/components/List/ListItem/ListItem.types.cjs.map +1 -1
- package/lib-commonjs/components/List/ListItem/index.cjs +6 -6
- package/lib-commonjs/components/List/ListItem/index.cjs.map +1 -1
- package/lib-commonjs/components/List/ListItem/renderListItem.cjs.map +1 -1
- package/lib-commonjs/components/List/ListItem/useListItem.cjs.map +1 -1
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.cjs +11 -4
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.css.cjs +42 -0
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.css.cjs +42 -0
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/List/hooks/index.cjs.map +1 -1
- package/lib-commonjs/components/List/hooks/types.cjs.map +1 -1
- package/lib-commonjs/components/List/hooks/useListSelection.cjs.map +1 -1
- package/lib-commonjs/components/List/index.cjs +12 -12
- package/lib-commonjs/components/List/index.cjs.map +1 -1
- package/lib-commonjs/components/Primitive/Primitive.cjs +3 -3
- package/lib-commonjs/components/Primitive/Primitive.cjs.map +1 -1
- package/lib-commonjs/components/Primitive/index.cjs +3 -3
- package/lib-commonjs/components/Primitive/index.cjs.map +1 -1
- package/lib-commonjs/components/Segment/Segment.cjs +3 -3
- package/lib-commonjs/components/Segment/Segment.cjs.map +1 -1
- package/lib-commonjs/components/Segment/Segment.module.css +10 -0
- package/lib-commonjs/components/Segment/Segment.styles.css.cjs +13 -0
- package/lib-commonjs/components/Segment/Segment.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Segment/Segment.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Segment/Segment.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/Segment/Segment.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Segment/index.cjs +3 -3
- package/lib-commonjs/components/Segment/index.cjs.map +1 -1
- package/lib-commonjs/components/Slider/Slider.mixins.cjs.map +1 -1
- package/lib-commonjs/components/Slider/index.cjs.map +1 -1
- package/lib-commonjs/components/Spinner/SpinnerMigration.mixins.cjs.map +1 -1
- package/lib-commonjs/components/Spinner/index.cjs.map +1 -1
- package/lib-commonjs/components/StyledText/StyledText.cjs +3 -3
- package/lib-commonjs/components/StyledText/StyledText.cjs.map +1 -1
- package/lib-commonjs/components/StyledText/StyledText.module.css +115 -0
- package/lib-commonjs/components/StyledText/StyledText.styles.cjs +4 -4
- package/lib-commonjs/components/StyledText/StyledText.styles.cjs.map +1 -1
- package/lib-commonjs/components/StyledText/StyledText.styles.css.cjs +26 -0
- package/lib-commonjs/components/StyledText/StyledText.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/StyledText/StyledText.styles.raw.cjs +4 -4
- package/lib-commonjs/components/StyledText/StyledText.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/StyledText/StyledText.styles.raw.css.cjs +26 -0
- package/lib-commonjs/components/StyledText/StyledText.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/StyledText/index.cjs +6 -6
- package/lib-commonjs/components/StyledText/index.cjs.map +1 -1
- package/lib-commonjs/components/Video/Video.cjs +3 -3
- package/lib-commonjs/components/Video/Video.cjs.map +1 -1
- package/lib-commonjs/components/Video/Video.module.css +8 -0
- package/lib-commonjs/components/Video/Video.styles.css.cjs +13 -0
- package/lib-commonjs/components/Video/Video.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Video/Video.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Video/Video.styles.raw.css.cjs +13 -0
- package/lib-commonjs/components/Video/Video.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Video/index.cjs +3 -3
- package/lib-commonjs/components/Video/index.cjs.map +1 -1
- package/lib-commonjs/index.cjs +53 -53
- package/lib-commonjs/index.cjs.map +1 -1
- package/package.json +14 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,82 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-migration-v0-v9
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Sat, 31 Oct 2026 11:08:48 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.
|
|
7
|
+
## [9.75.0-experimental.css-modules.20261031-810ab07afb.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.75.0-experimental.css-modules.20261031-810ab07afb.0)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.
|
|
9
|
+
Sat, 31 Oct 2026 11:08:48 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.41..@fluentui/react-migration-v0-v9_v9.75.0-experimental.css-modules.20261031-810ab07afb.0)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
|
-
- Release 9.
|
|
15
|
-
- Bump @fluentui/react-aria to v9.
|
|
16
|
-
- Bump @fluentui/react-components to v9.
|
|
17
|
-
- Bump @fluentui/react-context-selector to v9.
|
|
18
|
-
- Bump @fluentui/react-jsx-runtime to v9.
|
|
19
|
-
- Bump @fluentui/react-shared-contexts to v9.
|
|
20
|
-
- Bump @fluentui/react-tabster to v9.
|
|
21
|
-
- Bump @fluentui/react-theme to v9.
|
|
22
|
-
- Bump @fluentui/react-utilities to v9.
|
|
14
|
+
- Release 9.75.0-experimental.css-modules.20261031-810ab07afb ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
|
|
15
|
+
- Bump @fluentui/react-aria to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-components to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- Bump @fluentui/react-context-selector to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- Bump @fluentui/react-jsx-runtime to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- Bump @fluentui/react-shared-contexts to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-tabster to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
|
+
- Bump @fluentui/react-theme to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
22
|
+
- Bump @fluentui/react-utilities to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
23
|
+
|
|
24
|
+
## [9.6.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.6.41)
|
|
25
|
+
|
|
26
|
+
Tue, 27 Oct 2026 16:42:57 GMT
|
|
27
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.40..@fluentui/react-migration-v0-v9_v9.6.41)
|
|
28
|
+
|
|
29
|
+
### Patches
|
|
30
|
+
|
|
31
|
+
- Bump @fluentui/react-components to v9.75.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
32
|
+
|
|
33
|
+
## [9.6.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.6.40)
|
|
34
|
+
|
|
35
|
+
Thu, 22 Oct 2026 11:25:58 GMT
|
|
36
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.39..@fluentui/react-migration-v0-v9_v9.6.40)
|
|
37
|
+
|
|
38
|
+
### Patches
|
|
39
|
+
|
|
40
|
+
- Bump @fluentui/react-components to v9.74.11 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
41
|
+
|
|
42
|
+
## [9.6.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.6.39)
|
|
43
|
+
|
|
44
|
+
Mon, 19 Oct 2026 16:49:01 GMT
|
|
45
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.38..@fluentui/react-migration-v0-v9_v9.6.39)
|
|
46
|
+
|
|
47
|
+
### Patches
|
|
48
|
+
|
|
49
|
+
- Bump @fluentui/react-aria to v9.17.16 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
50
|
+
- Bump @fluentui/react-components to v9.74.10 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
51
|
+
- Bump @fluentui/react-context-selector to v9.2.21 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
52
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
53
|
+
- Bump @fluentui/react-tabster to v9.26.19 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
54
|
+
- Bump @fluentui/react-utilities to v9.27.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
55
|
+
|
|
56
|
+
## [9.6.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.6.38)
|
|
57
|
+
|
|
58
|
+
Wed, 23 Sep 2026 09:04:33 GMT
|
|
59
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.37..@fluentui/react-migration-v0-v9_v9.6.38)
|
|
60
|
+
|
|
61
|
+
### Patches
|
|
62
|
+
|
|
63
|
+
- Bump @fluentui/react-components to v9.74.9 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
64
|
+
|
|
65
|
+
## [9.6.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.6.37)
|
|
66
|
+
|
|
67
|
+
Tue, 22 Sep 2026 11:25:40 GMT
|
|
68
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.36..@fluentui/react-migration-v0-v9_v9.6.37)
|
|
69
|
+
|
|
70
|
+
### Patches
|
|
71
|
+
|
|
72
|
+
- fix: remove unused react-dom and @types/react-dom peer dependencies, mark @types/react as optional ([PR #36559](https://github.com/microsoft/fluentui/pull/36559) by martinhochel@microsoft.com)
|
|
73
|
+
- Bump @fluentui/react-aria to v9.17.15 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
74
|
+
- Bump @fluentui/react-components to v9.74.8 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
75
|
+
- Bump @fluentui/react-context-selector to v9.2.20 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
76
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
77
|
+
- Bump @fluentui/react-shared-contexts to v9.26.4 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
78
|
+
- Bump @fluentui/react-tabster to v9.26.18 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
79
|
+
- Bump @fluentui/react-utilities to v9.26.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
23
80
|
|
|
24
81
|
## [9.6.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.6.36)
|
|
25
82
|
|
package/dist/index.d.cts
CHANGED
|
@@ -403,7 +403,7 @@ export declare type StyledTextSlots = {
|
|
|
403
403
|
root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'time'>;
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
-
export declare const useFlexStyles: () => Record<"
|
|
406
|
+
export declare const useFlexStyles: () => Record<"fill" | "flex" | "inline" | "column" | "wrap" | "alignItemsFlexStart" | "alignItemsCenter" | "alignItemsFlexEnd" | "alignItemsStretch" | "justifyContentFlexStart" | "justifyContentCenter" | "justifyContentFlexEnd" | "justifyContentStretch" | "justifyContentSpaceAround" | "justifyContentSpaceBetween" | "justifyContentSpaceEvenly" | "gapForColumnFlexSmall" | "gapForColumnFlexSmaller" | "gapForColumnFlexMedium" | "gapForColumnFlexLarge" | "gapForRowFlexSmall" | "gapForRowFlexSmaller" | "gapForRowFlexMedium" | "gapForRowFlexLarge" | "paddingMedium", string>;
|
|
407
407
|
|
|
408
408
|
export declare const useGridStyles: () => Record<"grid" | "onlyRows" | "rows1" | "rows2" | "rows3" | "columns1" | "columns2" | "columns3" | "columnsDefault", string>;
|
|
409
409
|
|
package/dist/index.d.ts
CHANGED
|
@@ -403,7 +403,7 @@ export declare type StyledTextSlots = {
|
|
|
403
403
|
root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'time'>;
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
-
export declare const useFlexStyles: () => Record<"
|
|
406
|
+
export declare const useFlexStyles: () => Record<"fill" | "flex" | "inline" | "column" | "wrap" | "alignItemsFlexStart" | "alignItemsCenter" | "alignItemsFlexEnd" | "alignItemsStretch" | "justifyContentFlexStart" | "justifyContentCenter" | "justifyContentFlexEnd" | "justifyContentStretch" | "justifyContentSpaceAround" | "justifyContentSpaceBetween" | "justifyContentSpaceEvenly" | "gapForColumnFlexSmall" | "gapForColumnFlexSmaller" | "gapForColumnFlexMedium" | "gapForColumnFlexLarge" | "gapForRowFlexSmall" | "gapForRowFlexSmaller" | "gapForRowFlexMedium" | "gapForRowFlexLarge" | "paddingMedium", string>;
|
|
407
407
|
|
|
408
408
|
export declare const useGridStyles: () => Record<"grid" | "onlyRows" | "rows1" | "rows2" | "rows3" | "columns1" | "columns2" | "columns3" | "columnsDefault", string>;
|
|
409
409
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/Attachment.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport { useARIAButtonProps } from '@fluentui/react-aria';\nimport * as React from 'react';\n\nimport { useAttachmentBaseStyles, useAttachmentStyles } from './Attachment.styles';\n\nexport const attachmentClassName = 'fui-Attachment';\nexport const attachmentProgressContainerClassName = `${attachmentClassName}__progress-container`;\nexport const attachmentProgressBarClassName = `${attachmentClassName}__progress`;\n\nexport interface AttachmentProps extends React.HTMLAttributes<HTMLElement> {\n actionable?: boolean;\n disabled?: boolean;\n progress?: string | number;\n onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;\n}\n\nexport const Attachment = React.forwardRef<HTMLDivElement, AttachmentProps>((props, ref) => {\n const { actionable, className, children, disabled, onClick, progress, onKeyDown, onKeyUp, ...rest } = props;\n const attachmentBaseClass = useAttachmentBaseStyles();\n const classes = useAttachmentStyles();\n\n const buttonProps = useARIAButtonProps('div', {\n disabled,\n onClick,\n onKeyDown: onKeyDown as React.KeyboardEventHandler<HTMLLIElement & HTMLDivElement>,\n onKeyUp: onKeyUp as React.KeyboardEventHandler<HTMLLIElement & HTMLDivElement>,\n });\n\n return (\n <div\n ref={ref}\n className={mergeClasses(attachmentClassName, attachmentBaseClass, actionable && classes.actionable, className)}\n {...(actionable && {\n 'data-is-focusable': true,\n ...buttonProps,\n })}\n {...rest}\n >\n {children}\n {!isNaN(Number(progress)) && (\n <div className={mergeClasses(attachmentProgressContainerClassName, classes.progressContainer)}>\n <div\n className={mergeClasses(classes.progressBar, attachmentProgressBarClassName)}\n style={{ width: `${progress}%` }}\n />\n </div>\n )}\n </div>\n );\n});\n\nAttachment.displayName = 'Attachment';\n"],"names":["mergeClasses","useARIAButtonProps","React","useAttachmentBaseStyles","useAttachmentStyles","attachmentClassName","attachmentProgressContainerClassName","attachmentProgressBarClassName","Attachment","forwardRef","props","ref","actionable","className","children","disabled","onClick","progress","onKeyDown","onKeyUp","rest","attachmentBaseClass","classes","buttonProps","div","isNaN","Number","progressContainer","progressBar","style","width","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,SAASC,kBAAkB,QAAQ,uBAAuB;AAC1D,YAAYC,WAAW,QAAQ;AAE/B,SAASC,uBAAuB,EAAEC,mBAAmB,QAAQ,yBAAsB;AAEnF,OAAO,MAAMC,sBAAsB,iBAAiB;AACpD,OAAO,MAAMC,uCAAuC,GAAGD,oBAAoB,oBAAoB,CAAC,CAAC;AACjG,OAAO,MAAME,iCAAiC,GAAGF,oBAAoB,UAAU,CAAC,CAAC;AASjF,OAAO,MAAMG,2BAAaN,MAAMO,UAAU,CAAkC,CAACC,OAAOC;IAClF,MAAM,EAAEC,UAAU,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,OAAO,EAAE,GAAGC,MAAM,GAAGV;IACtG,MAAMW,sBAAsBlB;IAC5B,MAAMmB,UAAUlB;IAEhB,MAAMmB,cAActB,mBAAmB,OAAO;QAC5Cc;QACAC;QACAE,WAAWA;QACXC,SAASA;IACX;IAEA,qBACE,oBAACK;QACCb,KAAKA;QACLE,WAAWb,aAAaK,qBAAqBgB,qBAAqBT,cAAcU,QAAQV,UAAU,EAAEC;QACnG,GAAID,cAAc;YACjB,qBAAqB;YACrB,GAAGW,WAAW;QAChB,CAAC;QACA,GAAGH,IAAI;OAEPN,UACA,CAACW,MAAMC,OAAOT,4BACb,oBAACO;QAAIX,WAAWb,aAAaM,sCAAsCgB,QAAQK,iBAAiB;qBAC1F,oBAACH;QACCX,WAAWb,aAAasB,QAAQM,WAAW,EAAErB;QAC7CsB,OAAO;YAAEC,OAAO,GAAGb,SAAS,CAAC,CAAC;QAAC;;AAM3C,GAAG;AAEHT,WAAWuB,WAAW,GAAG"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@layer fluentui {
|
|
2
|
+
.base {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
width: 100%;
|
|
7
|
+
max-width: 424px;
|
|
8
|
+
min-height: 32px;
|
|
9
|
+
padding-block: 7px;
|
|
10
|
+
padding-inline: 11px 3px;
|
|
11
|
+
margin-bottom: 2px;
|
|
12
|
+
margin-inline-end: 2px;
|
|
13
|
+
background-color: var(--colorNeutralBackground6);
|
|
14
|
+
color: var(--colorNeutralForeground1);
|
|
15
|
+
box-shadow: 0 0.2rem 0.4rem -0.075rem var(--colorNeutralShadowAmbient);
|
|
16
|
+
border: 1px solid var(--colorNeutralStroke3);
|
|
17
|
+
border-radius: 4px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.base[data-fui-focus-visible] {
|
|
21
|
+
outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
22
|
+
border-radius: var(--borderRadiusMedium);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.actionable {
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.actionable:hover {
|
|
30
|
+
background-color: var(--colorNeutralBackground4Hover);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.progressContainer {
|
|
34
|
+
border-bottom-left-radius: 4px;
|
|
35
|
+
border-bottom-right-radius: 4px;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
height: 4px;
|
|
38
|
+
left: 0;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
position: absolute;
|
|
41
|
+
right: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.progressBar {
|
|
45
|
+
background-color: var(--colorPaletteLightGreenBackground3);
|
|
46
|
+
height: 100%;
|
|
47
|
+
max-width: 100%;
|
|
48
|
+
transition: width 0.2s;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/Attachment.styles.css.ts"],"sourcesContent":["import styles from './Attachment.module.css';\n\nexport const useAttachmentBaseStyles = (): string => styles.base;\n\nexport const useAttachmentStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentBaseStyles","base","useAttachmentStyles"],"mappings":"AAAA,OAAOA,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,0BAA0B,IAAcD,OAAOE,IAAI,CAAC;AAEjE,OAAO,MAAMC,sBAAsB,IAAqBH,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/Attachment.styles.css.ts"],"sourcesContent":["import styles from './Attachment.module.css';\n\nexport const useAttachmentBaseStyles = (): string => styles.base;\n\nexport const useAttachmentStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentBaseStyles","base","useAttachmentStyles"],"mappings":"AAAA,OAAOA,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,0BAA0B,IAAcD,OAAOE,IAAI,CAAC;AAEjE,OAAO,MAAMC,sBAAsB,IAAqBH,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/Attachment.styles.ts"],"sourcesContent":["'use client';\n\nimport { createCustomFocusIndicatorStyle, makeResetStyles, makeStyles, tokens } from '@fluentui/react-components';\nimport { attachmentActionClassName } from './AttachmentAction';\nimport { attachmentIconClassName } from './AttachmentIcon';\n\nexport const useAttachmentBaseStyles = makeResetStyles({\n ...createCustomFocusIndicatorStyle(\n {\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n backgroundColor: undefined,\n color: undefined,\n [`& .${attachmentActionClassName}`]: {\n color: undefined,\n },\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 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 border: `1px solid ${tokens.colorNeutralStroke3}`,\n borderRadius: '4px',\n});\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":["createCustomFocusIndicatorStyle","makeResetStyles","makeStyles","tokens","attachmentActionClassName","attachmentIconClassName","useAttachmentBaseStyles","outline","strokeWidthThick","colorStrokeFocus2","borderRadius","borderRadiusMedium","backgroundColor","undefined","color","selector","position","display","alignItems","width","maxWidth","minHeight","padding","marginBottom","marginRight","colorNeutralBackground6","colorNeutralForeground1","boxShadow","colorNeutralShadowAmbient","border","colorNeutralStroke3","useAttachmentStyles","actionable","cursor","colorNeutralBackground4Hover","progressContainer","borderBottomLeftRadius","borderBottomRightRadius","bottom","height","left","overflow","right","progressBar","colorPaletteLightGreenBackground3","transition"],"mappings":"AAAA;AAEA,SAASA,+BAA+B,EAAEC,eAAe,EAAEC,UAAU,EAAEC,MAAM,QAAQ,6BAA6B;AAClH,SAASC,yBAAyB,QAAQ,wBAAqB;AAC/D,SAASC,uBAAuB,QAAQ,sBAAmB;AAE3D,OAAO,MAAMC,0BAA0BL,gBAAgB;IACrD,GAAGD,gCACD;QACEO,SAAS,GAAGJ,OAAOK,gBAAgB,CAAC,OAAO,EAAEL,OAAOM,iBAAiB,EAAE;QACvEC,cAAcP,OAAOQ,kBAAkB;QACvCC,iBAAiBC;QACjBC,OAAOD;QACP,CAAC,CAAC,GAAG,EAAET,2BAA2B,CAAC,EAAE;YACnCU,OAAOD;QACT;QAEA,CAAC,CAAC,GAAG,EAAER,yBAAyB,CAAC,EAAE;YACjCS,OAAOD;QACT;IACF,GACA;QAAEE,UAAU;IAAQ,EACrB;IACDC,UAAU;IACVC,SAAS;IACTC,YAAY;IACZC,OAAO;IACPC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,cAAc;IACdC,aAAa;IACbZ,iBAAiBT,OAAOsB,uBAAuB;IAC/CX,OAAOX,OAAOuB,uBAAuB;IACrCC,WAAW,CAAC,uBAAuB,EAAExB,OAAOyB,yBAAyB,EAAE;IACvEC,QAAQ,CAAC,UAAU,EAAE1B,OAAO2B,mBAAmB,EAAE;IACjDpB,cAAc;AAChB,GAAG;AAEH,OAAO,MAAMqB,sBAAsB7B,WAAW;IAC5C8B,YAAY;QACVC,QAAQ;QACR,UAAU;YACRrB,iBAAiBT,OAAO+B,4BAA4B;QACtD;IACF;IACAC,mBAAmB;QACjBC,wBAAwB;QACxBC,yBAAyB;QACzBC,QAAQ;QACRC,QAAQ;QACRC,MAAM;QACNC,UAAU;QACVzB,UAAU;QACV0B,OAAO;IACT;IACAC,aAAa;QACX/B,iBAAiBT,OAAOyC,iCAAiC;QACzDL,QAAQ;QACRnB,UAAU;QACVyB,YAAY;IACd;AACF,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentAction.tsx"],"sourcesContent":["'use client';\n\nimport type { ButtonProps } from '@fluentui/react-components';\nimport { Button, 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<React.MouseEventHandler<HTMLButtonElement & HTMLAnchorElement>>(\n e => {\n e.stopPropagation();\n e.preventDefault();\n onClick?.(e);\n },\n [onClick],\n );\n\n const handleKeyUp = React.useCallback<React.KeyboardEventHandler<HTMLAnchorElement & HTMLButtonElement>>(\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<React.KeyboardEventHandler<HTMLButtonElement & HTMLAnchorElement>>(\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":["Button","mergeClasses","React","useAttachmentActionStyles","attachmentActionClassName","AttachmentAction","forwardRef","props","ref","className","disabled","disabledFocusable","children","onClick","onKeyUp","onKeyDown","rest","classes","handleClick","useCallback","e","stopPropagation","preventDefault","handleKeyUp","key","handleKeyDown","root","appearance","displayName"],"mappings":"AAAA;AAGA,SAASA,MAAM,EAAEC,YAAY,QAAQ,6BAA6B;AAClE,YAAYC,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,+BAA4B;AAItE,OAAO,MAAMC,4BAA4B,uBAAuB;AAEhE,OAAO,MAAMC,iCAAmBH,MAAMI,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,UAAUd;IAEhB,MAAMe,cAAchB,MAAMiB,WAAW,CACnCC,CAAAA;QACEA,EAAEC,eAAe;QACjBD,EAAEE,cAAc;QAChBT,oBAAAA,8BAAAA,QAAUO;IACZ,GACA;QAACP;KAAQ;IAGX,MAAMU,cAAcrB,MAAMiB,WAAW,CACnCC,CAAAA;QACE,IAAIA,EAAEI,GAAG,KAAK,WAAWJ,EAAEI,GAAG,KAAK,KAAK;YACtCJ,EAAEC,eAAe;QACnB;QACAP,oBAAAA,8BAAAA,QAAUM;IACZ,GACA;QAACN;KAAQ;IAGX,MAAMW,gBAAgBvB,MAAMiB,WAAW,CACrCC,CAAAA;QACE,IAAIA,EAAEI,GAAG,KAAK,WAAWJ,EAAEI,GAAG,KAAK,KAAK;YACtCJ,EAAEC,eAAe;QACnB;QACAN,sBAAAA,gCAAAA,UAAYK;IACd,GACA;QAACL;KAAU;IAGb,qBACE,oBAACf;QACCQ,KAAKA;QACLC,WAAWR,aACTG,2BACAa,QAAQS,IAAI,EACZ,AAAChB,CAAAA,YAAYC,iBAAgB,KAAMM,QAAQP,QAAQ,EACnDD;QAEFkB,YAAW;QACXjB,UAAUA;QACVC,mBAAmBA;QACnBE,SAASK;QACTH,WAAWU;QACXX,SAASS;QACR,GAAGP,IAAI;OAEPJ;AAGP,GAAG;AAEHP,iBAAiBuB,WAAW,GAAG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@layer fluentui {
|
|
2
|
+
.root {
|
|
3
|
+
height: 32px;
|
|
4
|
+
max-width: 280px;
|
|
5
|
+
min-width: 32px;
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-items: center;
|
|
9
|
+
position: relative;
|
|
10
|
+
vertical-align: middle;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.disabled {
|
|
15
|
+
cursor: default;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentAction.styles.css.ts"],"sourcesContent":["import styles from './AttachmentAction.module.css';\n\nexport const useAttachmentActionStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentActionStyles"],"mappings":"AAAA,OAAOA,YAAY,gCAAgC;AAEnD,OAAO,MAAMC,4BAA4B,IAAqBD,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentAction.styles.css.ts"],"sourcesContent":["import styles from './AttachmentAction.module.css';\n\nexport const useAttachmentActionStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentActionStyles"],"mappings":"AAAA,OAAOA,YAAY,gCAAgC;AAEnD,OAAO,MAAMC,4BAA4B,IAAqBD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentAction.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@fluentui/react-components';\n\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":["makeStyles","useAttachmentActionStyles","root","height","maxWidth","minWidth","display","justifyContent","alignItems","position","verticalAlign","cursor","disabled"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,6BAA6B;AAExD,OAAO,MAAMC,4BAA4BD,WAAW;IAClDE,MAAM;QACJC,QAAQ;QACRC,UAAU;QACVC,UAAU;QACVC,SAAS;QACTC,gBAAgB;QAChBC,YAAY;QACZC,UAAU;QACVC,eAAe;QACfC,QAAQ;IACV;IACAC,UAAU;QACRD,QAAQ;IACV;AACF,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentBody.tsx"],"sourcesContent":["'use client';\n\nimport { 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":["mergeClasses","React","useAttachmentBodyStyles","attachmentBodyClassName","AttachmentBody","forwardRef","props","ref","className","children","rest","classes","div","root","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAC/B,SAASC,uBAAuB,QAAQ,6BAA0B;AAIlE,OAAO,MAAMC,0BAA0B,qBAAqB;AAE5D,OAAO,MAAMC,+BAAgDH,MAAMI,UAAU,CAC3E,CAACC,OAAOC;IACN,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUT;IAEhB,qBACE,oBAACU;QAAIL,KAAKA;QAAKC,WAAWR,aAAaG,yBAAyBQ,QAAQE,IAAI,EAAEL;QAAa,GAAGE,IAAI;OAC/FD;AAGP,GACA;AAEFL,eAAeU,WAAW,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentBody.styles.css.ts"],"sourcesContent":["import styles from './AttachmentBody.module.css';\n\nexport const useAttachmentBodyStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentBodyStyles"],"mappings":"AAAA,OAAOA,YAAY,8BAA8B;AAEjD,OAAO,MAAMC,0BAA0B,IAAqBD,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentBody.styles.css.ts"],"sourcesContent":["import styles from './AttachmentBody.module.css';\n\nexport const useAttachmentBodyStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentBodyStyles"],"mappings":"AAAA,OAAOA,YAAY,8BAA8B;AAEjD,OAAO,MAAMC,0BAA0B,IAAqBD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentBody.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@fluentui/react-components';\n\nexport const useAttachmentBodyStyles = makeStyles({\n root: {\n flex: '1 1 0',\n },\n});\n"],"names":["makeStyles","useAttachmentBodyStyles","root","flex"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,6BAA6B;AAExD,OAAO,MAAMC,0BAA0BD,WAAW;IAChDE,MAAM;QACJC,MAAM;IACR;AACF,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentDescription.tsx"],"sourcesContent":["'use client';\n\nimport { 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":["mergeClasses","React","useAttachmentDescriptionStyles","attachmentDescriptionClassName","AttachmentDescription","forwardRef","props","ref","className","children","rest","classes","span","root","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAC/B,SAASC,8BAA8B,QAAQ,oCAAiC;AAIhF,OAAO,MAAMC,iCAAiC,4BAA4B;AAE1E,OAAO,MAAMC,sCAA8DH,MAAMI,UAAU,CAGzF,CAACC,OAAOC;IACR,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUT;IAEhB,qBACE,oBAACU;QAAKL,KAAKA;QAAKC,WAAWR,aAAaG,gCAAgCQ,QAAQE,IAAI,EAAEL;QAAa,GAAGE,IAAI;OACvGD;AAGP,GAAG;AAEHL,sBAAsBU,WAAW,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentDescription.styles.css.ts"],"sourcesContent":["import styles from './AttachmentDescription.module.css';\n\nexport const useAttachmentDescriptionStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentDescriptionStyles"],"mappings":"AAAA,OAAOA,YAAY,qCAAqC;AAExD,OAAO,MAAMC,iCAAiC,IAAqBD,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentDescription.styles.css.ts"],"sourcesContent":["import styles from './AttachmentDescription.module.css';\n\nexport const useAttachmentDescriptionStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentDescriptionStyles"],"mappings":"AAAA,OAAOA,YAAY,qCAAqC;AAExD,OAAO,MAAMC,iCAAiC,IAAqBD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentDescription.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, tokens } from '@fluentui/react-components';\n\nexport const useAttachmentDescriptionStyles = makeStyles({\n root: {\n display: 'block',\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: 1,\n },\n});\n"],"names":["makeStyles","tokens","useAttachmentDescriptionStyles","root","display","fontSize","fontSizeBase200","fontWeight","fontWeightRegular","lineHeight"],"mappings":"AAAA;AAEA,SAASA,UAAU,EAAEC,MAAM,QAAQ,6BAA6B;AAEhE,OAAO,MAAMC,iCAAiCF,WAAW;IACvDG,MAAM;QACJC,SAAS;QACTC,UAAUJ,OAAOK,eAAe;QAChCC,YAAYN,OAAOO,iBAAiB;QACpCC,YAAY;IACd;AACF,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentHeader.tsx"],"sourcesContent":["'use client';\n\nimport { 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":["mergeClasses","React","useAttachmentHeaderStyles","attachmentHeaderClassName","AttachmentHeader","forwardRef","props","ref","className","children","rest","classes","span","root","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,+BAA4B;AAItE,OAAO,MAAMC,4BAA4B,uBAAuB;AAEhE,OAAO,MAAMC,iCAAoDH,MAAMI,UAAU,CAG/E,CAACC,OAAOC;IACR,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUT;IAEhB,qBACE,oBAACU;QAAKL,KAAKA;QAAKC,WAAWR,aAAaG,2BAA2BQ,QAAQE,IAAI,EAAEL;QAAa,GAAGE,IAAI;OAClGD;AAGP,GAAG;AAEHL,iBAAiBU,WAAW,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentHeader.styles.css.ts"],"sourcesContent":["import styles from './AttachmentHeader.module.css';\n\nexport const useAttachmentHeaderStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentHeaderStyles"],"mappings":"AAAA,OAAOA,YAAY,gCAAgC;AAEnD,OAAO,MAAMC,4BAA4B,IAAqBD,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentHeader.styles.css.ts"],"sourcesContent":["import styles from './AttachmentHeader.module.css';\n\nexport const useAttachmentHeaderStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentHeaderStyles"],"mappings":"AAAA,OAAOA,YAAY,gCAAgC;AAEnD,OAAO,MAAMC,4BAA4B,IAAqBD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentHeader.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, tokens } from '@fluentui/react-components';\n\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":["makeStyles","tokens","useAttachmentHeaderStyles","root","display","fontSize","fontSizeBase300","fontWeight","fontWeightSemibold","lineHeight"],"mappings":"AAAA;AAEA,SAASA,UAAU,EAAEC,MAAM,QAAQ,6BAA6B;AAEhE,OAAO,MAAMC,4BAA4BF,WAAW;IAClDG,MAAM;QACJC,SAAS;QACTC,UAAUJ,OAAOK,eAAe;QAChCC,YAAYN,OAAOO,kBAAkB;QACrCC,YAAY;IACd;AACF,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentIcon.tsx"],"sourcesContent":["'use client';\n\nimport { 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":["mergeClasses","React","useAttachmentIconStyles","attachmentIconClassName","AttachmentIcon","forwardRef","props","ref","className","children","rest","classes","span","root","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAC/B,SAASC,uBAAuB,QAAQ,6BAA0B;AAIlE,OAAO,MAAMC,0BAA0B,qBAAqB;AAE5D,OAAO,MAAMC,+BAAgDH,MAAMI,UAAU,CAC3E,CAACC,OAAOC;IACN,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,MAAM,GAAGJ;IACzC,MAAMK,UAAUT;IAEhB,qBACE,oBAACU;QAAKL,KAAKA;QAAKC,WAAWR,aAAaG,yBAAyBQ,QAAQE,IAAI,EAAEL;QAAa,GAAGE,IAAI;OAChGD;AAGP,GACA;AAEFL,eAAeU,WAAW,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentIcon.styles.css.ts"],"sourcesContent":["import styles from './AttachmentIcon.module.css';\n\nexport const useAttachmentIconStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentIconStyles"],"mappings":"AAAA,OAAOA,YAAY,8BAA8B;AAEjD,OAAO,MAAMC,0BAA0B,IAAqBD,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentIcon.styles.css.ts"],"sourcesContent":["import styles from './AttachmentIcon.module.css';\n\nexport const useAttachmentIconStyles = (): typeof styles => styles;\n"],"names":["styles","useAttachmentIconStyles"],"mappings":"AAAA,OAAOA,YAAY,8BAA8B;AAEjD,OAAO,MAAMC,0BAA0B,IAAqBD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/AttachmentIcon.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@fluentui/react-components';\n\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":["makeStyles","useAttachmentIconStyles","root","height","width","marginRight","display","alignItems","justifyContent"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,6BAA6B;AAExD,OAAO,MAAMC,0BAA0BD,WAAW;IAChDE,MAAM;QACJC,QAAQ;QACRC,OAAO;QACPC,aAAa;QACbC,SAAS;QACTC,YAAY;QACZC,gBAAgB;QAChB,SAAS;YACPL,QAAQ;YACRC,OAAO;QACT;IACF;AACF,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Attachment/index.ts"],"sourcesContent":["export type { AttachmentProps } from './Attachment';\nexport {\n Attachment,\n attachmentClassName,\n attachmentProgressBarClassName,\n attachmentProgressContainerClassName,\n} from './Attachment';\nexport type { AttachmentActionProps } from './AttachmentAction';\nexport { AttachmentAction, attachmentActionClassName } from './AttachmentAction';\nexport type { AttachmentBodyProps } from './AttachmentBody';\nexport { AttachmentBody, attachmentBodyClassName } from './AttachmentBody';\nexport type { AttachmentDescriptionProps } from './AttachmentDescription';\nexport { AttachmentDescription, attachmentDescriptionClassName } from './AttachmentDescription';\nexport type { AttachmentHeaderProps } from './AttachmentHeader';\nexport { AttachmentHeader, attachmentHeaderClassName } from './AttachmentHeader';\nexport type { AttachmentIconProps } from './AttachmentIcon';\nexport { AttachmentIcon, attachmentIconClassName } from './AttachmentIcon';\n"],"names":["Attachment","attachmentClassName","attachmentProgressBarClassName","attachmentProgressContainerClassName","AttachmentAction","attachmentActionClassName","AttachmentBody","attachmentBodyClassName","AttachmentDescription","attachmentDescriptionClassName","AttachmentHeader","attachmentHeaderClassName","AttachmentIcon","attachmentIconClassName"],"mappings":"AACA,SACEA,UAAU,EACVC,mBAAmB,EACnBC,8BAA8B,EAC9BC,oCAAoC,QAC/B,kBAAe;AAEtB,SAASC,gBAAgB,EAAEC,yBAAyB,QAAQ,wBAAqB;AAEjF,SAASC,cAAc,EAAEC,uBAAuB,QAAQ,sBAAmB;AAE3E,SAASC,qBAAqB,EAAEC,8BAA8B,QAAQ,6BAA0B;AAEhG,SAASC,gBAAgB,EAAEC,yBAAyB,QAAQ,wBAAqB;AAEjF,SAASC,cAAc,EAAEC,uBAAuB,QAAQ,sBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Button/ButtonMigration.mixins.ts"],"sourcesContent":["import type { 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":["iconFilledClassName","iconRegularClassName","iconClassNames","filled","outline","v9HoverClasses","display","v9Icon","width","paddingBottom","margin","overflow","v9CustomSizeIcon","v0Icon","v9DisabledCursor","cursor"],"mappings":"AACA,SAASA,mBAAmB,EAAEC,oBAAoB,QAAQ,wBAAwB;AAElF,gFAAgF;AAChF,MAAMC,iBAAiB;IACrBC,QAAQ;IACRC,SAAS;AACX;AAEA,OAAO,MAAMC,iBAAiB,IAAqB,CAAA;QACjD,CAAC,CAAC,GAAG,EAAEL,qBAAqB,CAAC,EAAE;YAC7BM,SAAS;QACX;QACA,CAAC,CAAC,GAAG,EAAEL,sBAAsB,CAAC,EAAE;YAC9BK,SAAS;QACX;QACA,WAAW;YACT,CAAC,CAAC,GAAG,EAAEN,qBAAqB,CAAC,EAAE;gBAC7BM,SAAS;YACX;YACA,CAAC,CAAC,GAAG,EAAEL,sBAAsB,CAAC,EAAE;gBAC9BK,SAAS;YACX;QACF;IACF,CAAA,EAAG;AAEH,OAAO,MAAMC,SAAS,IAAqB,CAAA;QACzC,oEAAoE;QACpE,SAAS;YACPC,OAAO;YACPC,eAAe;YACf,0DAA0D;YAC1D,4DAA4D;YAC5DC,QAAQ;YACRC,UAAU;QACZ;QACA,GAAGN,gBAAgB;IACrB,CAAA,EAAG;AAEH,OAAO,MAAMO,mBAAmB,IAAqB,CAAA;QACnD,SAAS;YAAED,UAAU;QAAU;QAC/B,GAAGN,gBAAgB;IACrB,CAAA,EAAG;AAEH,OAAO,MAAMQ,SAAS,IAAqB,CAAA;QACzC,CAAC,CAAC,GAAG,EAAEX,eAAeE,OAAO,EAAE,CAAC,EAAE;YAChCE,SAAS;QACX;QACA,CAAC,CAAC,GAAG,EAAEJ,eAAeC,MAAM,EAAE,CAAC,EAAE;YAC/BG,SAAS;QACX;QACA,WAAW;YACT,CAAC,CAAC,GAAG,EAAEJ,eAAeE,OAAO,EAAE,CAAC,EAAE;gBAChCE,SAAS;YACX;YACA,CAAC,CAAC,GAAG,EAAEJ,eAAeC,MAAM,EAAE,CAAC,EAAE;gBAC/BG,SAAS;YACX;QACF;IACF,CAAA,EAAG;AAEH,OAAO,MAAMQ,mBAAmB,IAAqB,CAAA;QACnD,cAAc;YACZC,QAAQ;YACR,WAAW;gBACTA,QAAQ;YACV;YACA,kBAAkB;gBAChBA,QAAQ;YACV;QACF;IACF,CAAA,EAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Button/index.tsx"],"sourcesContent":["export { v0Icon, v9CustomSizeIcon, v9DisabledCursor, v9HoverClasses, v9Icon } from './ButtonMigration.mixins';\n"],"names":["v0Icon","v9CustomSizeIcon","v9DisabledCursor","v9HoverClasses","v9Icon"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,EAAEC,gBAAgB,EAAEC,cAAc,EAAEC,MAAM,QAAQ,8BAA2B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Flex/Flex.tsx"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@fluentui/react-components';\nimport * as React from 'react';\n\nimport { useFlexStyles } from './Flex.styles';\n\nexport interface FlexProps {\n /** Defines if container should be inline element. */\n inline?: boolean;\n\n /** Sets vertical flow direction. */\n column?: boolean;\n\n /** Allows overflow items to wrap on the next container's line. */\n wrap?: boolean;\n\n /** Controls items alignment in horizontal direction. */\n hAlign?: 'start' | 'center' | 'end' | 'stretch';\n\n /** Controls items alignment in vertical direction. */\n vAlign?: 'start' | 'center' | 'end' | 'stretch';\n\n /** Defines strategy for distributing remaining space between items. */\n space?: 'around' | 'between' | 'evenly';\n\n /** Defines gap between each two adjacent child items. */\n gap?: 'gap.smaller' | 'gap.small' | 'gap.medium' | 'gap.large';\n\n /** Defines container's padding. */\n padding?: 'padding.medium';\n\n /** Orders container to fill all parent's space available. */\n fill?: boolean;\n}\n\nexport const flexClassName = 'fui-Flex';\n\nexport const Flex = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLElement> & FlexProps>((props, ref) => {\n const { children, column, fill, gap, hAlign, inline, padding, space, vAlign, wrap, className, ...rest } = props;\n const classes = useFlexStyles();\n\n const classMaps = React.useMemo(\n () => ({\n alignItems: {\n start: classes.alignItemsFlexStart,\n center: classes.alignItemsCenter,\n end: classes.alignItemsFlexEnd,\n stretch: classes.alignItemsCenter,\n },\n justifyContent: {\n start: classes.justifyContentFlexStart,\n center: classes.justifyContentCenter,\n end: classes.justifyContentFlexEnd,\n stretch: classes.justifyContentStretch,\n },\n justifyContentSpace: {\n around: classes.justifyContentSpaceAround,\n between: classes.justifyContentSpaceBetween,\n evenly: classes.justifyContentSpaceEvenly,\n },\n gapForColumnFlex: {\n 'gap.smaller': classes.gapForColumnFlexSmaller,\n 'gap.small': classes.gapForColumnFlexSmall,\n 'gap.medium': classes.gapForColumnFlexMedium,\n 'gap.large': classes.gapForColumnFlexLarge,\n },\n gapRow: {\n 'gap.smaller': classes.gapForRowFlexSmaller,\n 'gap.small': classes.gapForRowFlexSmall,\n 'gap.medium': classes.gapForRowFlexMedium,\n 'gap.large': classes.gapForRowFlexLarge,\n },\n paddings: {\n 'padding.medium': classes.paddingMedium,\n },\n }),\n [classes],\n );\n\n const flexClasses = mergeClasses(\n flexClassName,\n classes.flex,\n inline && classes.inline,\n column && classes.column,\n hAlign && (column ? classMaps.alignItems[hAlign] : classMaps.justifyContent[hAlign]),\n vAlign && (column ? classMaps.justifyContent[vAlign] : classMaps.alignItems[vAlign]),\n space && classMaps.justifyContentSpace[space],\n wrap && classes.wrap,\n fill && classes.fill,\n gap && (column ? classMaps.gapForColumnFlex[gap] : classMaps.gapRow[gap]),\n padding && classMaps.paddings[padding],\n className,\n );\n\n const content = React.Children.map(children, child => {\n // @ts-expect-error __isFlexItem is added to the React type property by N*\n const isFlexItemElement: boolean = child?.type?.__isFlexItem;\n\n return isFlexItemElement\n ? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n React.cloneElement(child as React.ReactElement<any>, {\n flexDirection: column ? 'column' : 'row',\n })\n : child;\n });\n\n return (\n <div ref={ref} className={flexClasses} {...rest}>\n {content}\n </div>\n );\n});\n\nFlex.displayName = 'Flex';\n"],"names":["mergeClasses","React","useFlexStyles","flexClassName","Flex","forwardRef","props","ref","children","column","fill","gap","hAlign","inline","padding","space","vAlign","wrap","className","rest","classes","classMaps","useMemo","alignItems","start","alignItemsFlexStart","center","alignItemsCenter","end","alignItemsFlexEnd","stretch","justifyContent","justifyContentFlexStart","justifyContentCenter","justifyContentFlexEnd","justifyContentStretch","justifyContentSpace","around","justifyContentSpaceAround","between","justifyContentSpaceBetween","evenly","justifyContentSpaceEvenly","gapForColumnFlex","gapForColumnFlexSmaller","gapForColumnFlexSmall","gapForColumnFlexMedium","gapForColumnFlexLarge","gapRow","gapForRowFlexSmaller","gapForRowFlexSmall","gapForRowFlexMedium","gapForRowFlexLarge","paddings","paddingMedium","flexClasses","flex","content","Children","map","child","isFlexItemElement","type","__isFlexItem","cloneElement","flexDirection","div","displayName"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,6BAA6B;AAC1D,YAAYC,WAAW,QAAQ;AAE/B,SAASC,aAAa,QAAQ,mBAAgB;AA+B9C,OAAO,MAAMC,gBAAgB,WAAW;AAExC,OAAO,MAAMC,qBAAOH,MAAMI,UAAU,CAAgE,CAACC,OAAOC;IAC1G,MAAM,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,IAAI,EAAEC,GAAG,EAAEC,MAAM,EAAEC,MAAM,EAAEC,OAAO,EAAEC,KAAK,EAAEC,MAAM,EAAEC,IAAI,EAAEC,SAAS,EAAE,GAAGC,MAAM,GAAGb;IAC1G,MAAMc,UAAUlB;IAEhB,MAAMmB,YAAYpB,MAAMqB,OAAO,CAC7B,IAAO,CAAA;YACLC,YAAY;gBACVC,OAAOJ,QAAQK,mBAAmB;gBAClCC,QAAQN,QAAQO,gBAAgB;gBAChCC,KAAKR,QAAQS,iBAAiB;gBAC9BC,SAASV,QAAQO,gBAAgB;YACnC;YACAI,gBAAgB;gBACdP,OAAOJ,QAAQY,uBAAuB;gBACtCN,QAAQN,QAAQa,oBAAoB;gBACpCL,KAAKR,QAAQc,qBAAqB;gBAClCJ,SAASV,QAAQe,qBAAqB;YACxC;YACAC,qBAAqB;gBACnBC,QAAQjB,QAAQkB,yBAAyB;gBACzCC,SAASnB,QAAQoB,0BAA0B;gBAC3CC,QAAQrB,QAAQsB,yBAAyB;YAC3C;YACAC,kBAAkB;gBAChB,eAAevB,QAAQwB,uBAAuB;gBAC9C,aAAaxB,QAAQyB,qBAAqB;gBAC1C,cAAczB,QAAQ0B,sBAAsB;gBAC5C,aAAa1B,QAAQ2B,qBAAqB;YAC5C;YACAC,QAAQ;gBACN,eAAe5B,QAAQ6B,oBAAoB;gBAC3C,aAAa7B,QAAQ8B,kBAAkB;gBACvC,cAAc9B,QAAQ+B,mBAAmB;gBACzC,aAAa/B,QAAQgC,kBAAkB;YACzC;YACAC,UAAU;gBACR,kBAAkBjC,QAAQkC,aAAa;YACzC;QACF,CAAA,GACA;QAAClC;KAAQ;IAGX,MAAMmC,cAAcvD,aAClBG,eACAiB,QAAQoC,IAAI,EACZ3C,UAAUO,QAAQP,MAAM,EACxBJ,UAAUW,QAAQX,MAAM,EACxBG,UAAWH,CAAAA,SAASY,UAAUE,UAAU,CAACX,OAAO,GAAGS,UAAUU,cAAc,CAACnB,OAAO,AAAD,GAClFI,UAAWP,CAAAA,SAASY,UAAUU,cAAc,CAACf,OAAO,GAAGK,UAAUE,UAAU,CAACP,OAAO,AAAD,GAClFD,SAASM,UAAUe,mBAAmB,CAACrB,MAAM,EAC7CE,QAAQG,QAAQH,IAAI,EACpBP,QAAQU,QAAQV,IAAI,EACpBC,OAAQF,CAAAA,SAASY,UAAUsB,gBAAgB,CAAChC,IAAI,GAAGU,UAAU2B,MAAM,CAACrC,IAAI,AAAD,GACvEG,WAAWO,UAAUgC,QAAQ,CAACvC,QAAQ,EACtCI;IAGF,MAAMuC,UAAUxD,MAAMyD,QAAQ,CAACC,GAAG,CAACnD,UAAUoD,CAAAA;YAERA;QADnC,0EAA0E;QAC1E,MAAMC,oBAA6BD,kBAAAA,6BAAAA,cAAAA,MAAOE,IAAI,cAAXF,kCAAAA,YAAaG,YAAY;QAE5D,OAAOF,kCAEH5D,MAAM+D,YAAY,CAACJ,OAAkC;YACnDK,eAAexD,SAAS,WAAW;QACrC,KACAmD;IACN;IAEA,qBACE,oBAACM;QAAI3D,KAAKA;QAAKW,WAAWqC;QAAc,GAAGpC,IAAI;OAC5CsC;AAGP,GAAG;AAEHrD,KAAK+D,WAAW,GAAG"}
|