@fluentui/react-migration-v0-v9 9.6.34 → 9.6.36
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 +28 -2
- package/dist/index.d.cts +494 -0
- package/lib/components/Attachment/Attachment.js +4 -4
- package/lib/components/Attachment/Attachment.js.map +1 -1
- package/lib/components/Attachment/Attachment.styles.js +3 -3
- package/lib/components/Attachment/Attachment.styles.js.map +1 -1
- package/lib/components/Attachment/Attachment.styles.raw.js +3 -3
- package/lib/components/Attachment/Attachment.styles.raw.js.map +1 -1
- package/lib/components/Attachment/AttachmentAction.js +3 -3
- package/lib/components/Attachment/AttachmentAction.js.map +1 -1
- package/lib/components/Attachment/AttachmentAction.styles.js +1 -1
- package/lib/components/Attachment/AttachmentAction.styles.js.map +1 -1
- package/lib/components/Attachment/AttachmentAction.styles.raw.js +1 -1
- package/lib/components/Attachment/AttachmentBody.js +3 -3
- package/lib/components/Attachment/AttachmentBody.js.map +1 -1
- package/lib/components/Attachment/AttachmentBody.styles.js +1 -1
- package/lib/components/Attachment/AttachmentBody.styles.js.map +1 -1
- package/lib/components/Attachment/AttachmentBody.styles.raw.js +1 -1
- package/lib/components/Attachment/AttachmentDescription.js +3 -3
- package/lib/components/Attachment/AttachmentDescription.js.map +1 -1
- package/lib/components/Attachment/AttachmentDescription.styles.js +1 -1
- package/lib/components/Attachment/AttachmentDescription.styles.js.map +1 -1
- package/lib/components/Attachment/AttachmentDescription.styles.raw.js +1 -1
- package/lib/components/Attachment/AttachmentHeader.js +3 -3
- package/lib/components/Attachment/AttachmentHeader.js.map +1 -1
- package/lib/components/Attachment/AttachmentHeader.styles.js +1 -1
- package/lib/components/Attachment/AttachmentHeader.styles.js.map +1 -1
- package/lib/components/Attachment/AttachmentHeader.styles.raw.js +1 -1
- package/lib/components/Attachment/AttachmentIcon.js +3 -3
- package/lib/components/Attachment/AttachmentIcon.js.map +1 -1
- package/lib/components/Attachment/AttachmentIcon.styles.js +1 -1
- package/lib/components/Attachment/AttachmentIcon.styles.js.map +1 -1
- package/lib/components/Attachment/AttachmentIcon.styles.raw.js +1 -1
- package/lib/components/Attachment/index.js +6 -6
- package/lib/components/Attachment/index.js.map +1 -1
- package/lib/components/Button/ButtonMigration.mixins.js +1 -1
- package/lib/components/Button/index.js +1 -1
- package/lib/components/Button/index.js.map +1 -1
- package/lib/components/Flex/Flex.js +3 -3
- package/lib/components/Flex/Flex.js.map +1 -1
- package/lib/components/Flex/Flex.styles.js +1 -1
- package/lib/components/Flex/Flex.styles.js.map +1 -1
- package/lib/components/Flex/Flex.styles.raw.js +1 -1
- package/lib/components/Flex/index.js +3 -3
- package/lib/components/Flex/index.js.map +1 -1
- package/lib/components/FormField/FormFieldShim.js +2 -2
- package/lib/components/FormField/index.js +1 -1
- package/lib/components/FormField/index.js.map +1 -1
- package/lib/components/Grid/Grid.styles.js +1 -1
- package/lib/components/Grid/Grid.styles.js.map +1 -1
- package/lib/components/Grid/Grid.styles.raw.js +1 -1
- package/lib/components/Grid/GridShim.js +3 -3
- package/lib/components/Grid/GridShim.js.map +1 -1
- package/lib/components/Grid/index.js +3 -3
- package/lib/components/Grid/index.js.map +1 -1
- package/lib/components/Input/Input.mixins.js +1 -1
- package/lib/components/Input/index.js +1 -1
- package/lib/components/Input/index.js.map +1 -1
- package/lib/components/ItemLayout/ItemLayout.js +4 -4
- package/lib/components/ItemLayout/ItemLayout.js.map +1 -1
- package/lib/components/ItemLayout/ItemLayout.styles.js +1 -1
- package/lib/components/ItemLayout/ItemLayout.styles.js.map +1 -1
- package/lib/components/ItemLayout/ItemLayout.styles.raw.js +1 -1
- package/lib/components/ItemLayout/index.js +2 -2
- package/lib/components/ItemLayout/index.js.map +1 -1
- package/lib/components/List/List/List.js +6 -6
- package/lib/components/List/List/List.js.map +1 -1
- package/lib/components/List/List/index.js +4 -4
- package/lib/components/List/List/index.js.map +1 -1
- package/lib/components/List/List/listContext.js +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 +3 -3
- package/lib/components/List/List/useList.js.map +1 -1
- package/lib/components/List/List/useListStyles.styles.js +1 -1
- package/lib/components/List/List/useListStyles.styles.js.map +1 -1
- package/lib/components/List/List/useListStyles.styles.raw.js +1 -1
- package/lib/components/List/ListItem/ListItem.js +5 -5
- package/lib/components/List/ListItem/ListItem.js.map +1 -1
- package/lib/components/List/ListItem/index.js +4 -4
- 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 +3 -3
- package/lib/components/List/ListItem/useListItem.js.map +1 -1
- package/lib/components/List/ListItem/useListItemStyles.styles.js +3 -3
- package/lib/components/List/ListItem/useListItemStyles.styles.js.map +1 -1
- package/lib/components/List/ListItem/useListItemStyles.styles.raw.js +3 -3
- package/lib/components/List/hooks/index.js +1 -1
- package/lib/components/List/hooks/index.js.map +1 -1
- package/lib/components/List/hooks/useListSelection.js +2 -2
- package/lib/components/List/index.js +3 -3
- package/lib/components/List/index.js.map +1 -1
- package/lib/components/Primitive/Primitive.js +2 -2
- package/lib/components/Primitive/index.js +1 -1
- package/lib/components/Primitive/index.js.map +1 -1
- package/lib/components/Segment/Segment.js +3 -3
- package/lib/components/Segment/Segment.js.map +1 -1
- package/lib/components/Segment/Segment.styles.js +1 -1
- package/lib/components/Segment/Segment.styles.js.map +1 -1
- package/lib/components/Segment/Segment.styles.raw.js +1 -1
- package/lib/components/Segment/index.js +1 -1
- package/lib/components/Segment/index.js.map +1 -1
- package/lib/components/Slider/index.js +1 -1
- package/lib/components/Slider/index.js.map +1 -1
- package/lib/components/Spinner/SpinnerMigration.mixins.js +1 -1
- package/lib/components/Spinner/index.js +1 -1
- package/lib/components/Spinner/index.js.map +1 -1
- package/lib/components/StyledText/StyledText.js +3 -3
- package/lib/components/StyledText/StyledText.js.map +1 -1
- package/lib/components/StyledText/StyledText.styles.js +1 -1
- package/lib/components/StyledText/StyledText.styles.js.map +1 -1
- package/lib/components/StyledText/StyledText.styles.raw.js +1 -1
- package/lib/components/StyledText/index.js +2 -2
- package/lib/components/StyledText/index.js.map +1 -1
- package/lib/components/Video/Video.js +3 -3
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/components/Video/Video.styles.js +1 -1
- package/lib/components/Video/Video.styles.js.map +1 -1
- package/lib/components/Video/Video.styles.raw.js +1 -1
- package/lib/components/Video/index.js +1 -1
- package/lib/components/Video/index.js.map +1 -1
- package/lib/index.js +14 -14
- package/lib/index.js.map +1 -1
- package/lib-commonjs/components/Attachment/{Attachment.js → Attachment.cjs} +1 -1
- package/lib-commonjs/components/Attachment/{Attachment.js.map → Attachment.cjs.map} +1 -1
- package/lib-commonjs/components/Attachment/Attachment.styles.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/{Attachment.styles.raw.js → Attachment.styles.raw.cjs} +2 -2
- package/lib-commonjs/components/Attachment/{Attachment.styles.raw.js.map → Attachment.styles.raw.cjs.map} +1 -1
- package/lib-commonjs/components/Attachment/{AttachmentAction.js → AttachmentAction.cjs} +1 -1
- package/lib-commonjs/components/Attachment/{AttachmentAction.js.map → AttachmentAction.cjs.map} +1 -1
- package/lib-commonjs/components/Attachment/AttachmentAction.styles.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/{AttachmentBody.js → AttachmentBody.cjs} +1 -1
- package/lib-commonjs/components/Attachment/{AttachmentBody.js.map → AttachmentBody.cjs.map} +1 -1
- package/lib-commonjs/components/Attachment/AttachmentBody.styles.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/{AttachmentDescription.js → AttachmentDescription.cjs} +1 -1
- package/lib-commonjs/components/Attachment/{AttachmentDescription.js.map → AttachmentDescription.cjs.map} +1 -1
- package/lib-commonjs/components/Attachment/AttachmentDescription.styles.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/{AttachmentHeader.js → AttachmentHeader.cjs} +1 -1
- package/lib-commonjs/components/Attachment/{AttachmentHeader.js.map → AttachmentHeader.cjs.map} +1 -1
- package/lib-commonjs/components/Attachment/AttachmentHeader.styles.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/{AttachmentIcon.js → AttachmentIcon.cjs} +1 -1
- package/lib-commonjs/components/Attachment/{AttachmentIcon.js.map → AttachmentIcon.cjs.map} +1 -1
- package/lib-commonjs/components/Attachment/AttachmentIcon.styles.cjs.map +1 -0
- package/lib-commonjs/components/Attachment/{index.js → index.cjs} +6 -6
- package/lib-commonjs/components/Attachment/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Button/{index.js → index.cjs} +1 -1
- package/lib-commonjs/components/Button/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Flex/{Flex.js → Flex.cjs} +1 -1
- package/lib-commonjs/components/Flex/{Flex.js.map → Flex.cjs.map} +1 -1
- package/lib-commonjs/components/Flex/Flex.styles.cjs.map +1 -0
- package/lib-commonjs/components/Flex/{index.js → index.cjs} +3 -3
- package/lib-commonjs/components/Flex/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/FormField/{index.js → index.cjs} +1 -1
- package/lib-commonjs/components/FormField/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Grid/Grid.styles.cjs.map +1 -0
- package/lib-commonjs/components/Grid/{GridShim.js → GridShim.cjs} +1 -1
- package/lib-commonjs/components/Grid/{GridShim.js.map → GridShim.cjs.map} +1 -1
- package/lib-commonjs/components/Grid/{index.js → index.cjs} +3 -3
- package/lib-commonjs/components/Grid/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Input/{index.js → index.cjs} +1 -1
- package/lib-commonjs/components/Input/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/ItemLayout/{ItemLayout.js → ItemLayout.cjs} +1 -1
- package/lib-commonjs/components/ItemLayout/{ItemLayout.js.map → ItemLayout.cjs.map} +1 -1
- package/lib-commonjs/components/ItemLayout/ItemLayout.styles.cjs.map +1 -0
- package/lib-commonjs/components/ItemLayout/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/ItemLayout/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/List/List/{List.js → List.cjs} +4 -4
- package/lib-commonjs/components/List/List/{List.js.map → List.cjs.map} +1 -1
- package/lib-commonjs/components/List/List/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/List/List/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/List/List/{renderList.js → renderList.cjs} +1 -1
- package/lib-commonjs/components/List/List/{renderList.js.map → renderList.cjs.map} +1 -1
- package/lib-commonjs/components/List/List/{useList.js → useList.cjs} +1 -1
- package/lib-commonjs/components/List/List/{useList.js.map → useList.cjs.map} +1 -1
- package/lib-commonjs/components/List/List/useListStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/List/ListItem/{ListItem.js → ListItem.cjs} +3 -3
- package/lib-commonjs/components/List/ListItem/{ListItem.js.map → ListItem.cjs.map} +1 -1
- package/lib-commonjs/components/List/ListItem/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/List/ListItem/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/List/ListItem/{renderListItem.js → renderListItem.cjs} +2 -2
- package/lib-commonjs/components/List/ListItem/{renderListItem.js.map → renderListItem.cjs.map} +1 -1
- package/lib-commonjs/components/List/ListItem/{useListItem.js → useListItem.cjs} +1 -1
- package/lib-commonjs/components/List/ListItem/{useListItem.js.map → useListItem.cjs.map} +1 -1
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/List/hooks/{index.js → index.cjs} +1 -1
- package/lib-commonjs/components/List/hooks/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/List/{index.js → index.cjs} +14 -14
- package/lib-commonjs/components/List/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Primitive/{index.js → index.cjs} +1 -1
- package/lib-commonjs/components/Primitive/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Segment/{Segment.js → Segment.cjs} +1 -1
- package/lib-commonjs/components/Segment/{Segment.js.map → Segment.cjs.map} +1 -1
- package/lib-commonjs/components/Segment/Segment.styles.cjs.map +1 -0
- package/lib-commonjs/components/Segment/{index.js → index.cjs} +1 -1
- package/lib-commonjs/components/Segment/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Slider/{index.js → index.cjs} +1 -1
- package/lib-commonjs/components/Slider/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Spinner/{index.js → index.cjs} +1 -1
- package/lib-commonjs/components/Spinner/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/StyledText/{StyledText.js → StyledText.cjs} +1 -1
- package/lib-commonjs/components/StyledText/{StyledText.js.map → StyledText.cjs.map} +1 -1
- package/lib-commonjs/components/StyledText/StyledText.styles.cjs.map +1 -0
- package/lib-commonjs/components/StyledText/{index.js → index.cjs} +2 -2
- package/lib-commonjs/components/StyledText/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/Video/{Video.js → Video.cjs} +1 -1
- package/lib-commonjs/components/Video/{Video.js.map → Video.cjs.map} +1 -1
- package/lib-commonjs/components/Video/Video.styles.cjs.map +1 -0
- package/lib-commonjs/components/Video/{index.js → index.cjs} +1 -1
- package/lib-commonjs/components/Video/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/index.cjs +182 -0
- package/lib-commonjs/{index.js.map → index.cjs.map} +1 -1
- package/package.json +21 -15
- package/lib-commonjs/components/Attachment/Attachment.styles.js.map +0 -1
- package/lib-commonjs/components/Attachment/AttachmentAction.styles.js.map +0 -1
- package/lib-commonjs/components/Attachment/AttachmentBody.styles.js.map +0 -1
- package/lib-commonjs/components/Attachment/AttachmentDescription.styles.js.map +0 -1
- package/lib-commonjs/components/Attachment/AttachmentHeader.styles.js.map +0 -1
- package/lib-commonjs/components/Attachment/AttachmentIcon.styles.js.map +0 -1
- package/lib-commonjs/components/Flex/Flex.styles.js.map +0 -1
- package/lib-commonjs/components/Grid/Grid.styles.js.map +0 -1
- package/lib-commonjs/components/ItemLayout/ItemLayout.styles.js.map +0 -1
- package/lib-commonjs/components/List/List/useListStyles.styles.js.map +0 -1
- package/lib-commonjs/components/List/ListItem/useListItemStyles.styles.js.map +0 -1
- package/lib-commonjs/components/Segment/Segment.styles.js.map +0 -1
- package/lib-commonjs/components/StyledText/StyledText.styles.js.map +0 -1
- package/lib-commonjs/components/Video/Video.styles.js.map +0 -1
- package/lib-commonjs/index.js +0 -182
- /package/lib-commonjs/components/Attachment/{Attachment.styles.js → Attachment.styles.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentAction.styles.js → AttachmentAction.styles.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentAction.styles.raw.js → AttachmentAction.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentAction.styles.raw.js.map → AttachmentAction.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentBody.styles.js → AttachmentBody.styles.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentBody.styles.raw.js → AttachmentBody.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentBody.styles.raw.js.map → AttachmentBody.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentDescription.styles.js → AttachmentDescription.styles.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentDescription.styles.raw.js → AttachmentDescription.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentDescription.styles.raw.js.map → AttachmentDescription.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentHeader.styles.js → AttachmentHeader.styles.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentHeader.styles.raw.js → AttachmentHeader.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentHeader.styles.raw.js.map → AttachmentHeader.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentIcon.styles.js → AttachmentIcon.styles.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentIcon.styles.raw.js → AttachmentIcon.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/Attachment/{AttachmentIcon.styles.raw.js.map → AttachmentIcon.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/Button/{ButtonMigration.mixins.js → ButtonMigration.mixins.cjs} +0 -0
- /package/lib-commonjs/components/Button/{ButtonMigration.mixins.js.map → ButtonMigration.mixins.cjs.map} +0 -0
- /package/lib-commonjs/components/Flex/{Flex.styles.js → Flex.styles.cjs} +0 -0
- /package/lib-commonjs/components/Flex/{Flex.styles.raw.js → Flex.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/Flex/{Flex.styles.raw.js.map → Flex.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/Flex/{FlexItem.mixins.js → FlexItem.mixins.cjs} +0 -0
- /package/lib-commonjs/components/Flex/{FlexItem.mixins.js.map → FlexItem.mixins.cjs.map} +0 -0
- /package/lib-commonjs/components/FormField/{FormFieldShim.js → FormFieldShim.cjs} +0 -0
- /package/lib-commonjs/components/FormField/{FormFieldShim.js.map → FormFieldShim.cjs.map} +0 -0
- /package/lib-commonjs/components/Grid/{Grid.mixins.js → Grid.mixins.cjs} +0 -0
- /package/lib-commonjs/components/Grid/{Grid.mixins.js.map → Grid.mixins.cjs.map} +0 -0
- /package/lib-commonjs/components/Grid/{Grid.styles.js → Grid.styles.cjs} +0 -0
- /package/lib-commonjs/components/Grid/{Grid.styles.raw.js → Grid.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/Grid/{Grid.styles.raw.js.map → Grid.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/Input/{Input.mixins.js → Input.mixins.cjs} +0 -0
- /package/lib-commonjs/components/Input/{Input.mixins.js.map → Input.mixins.cjs.map} +0 -0
- /package/lib-commonjs/components/ItemLayout/{ItemLayout.styles.js → ItemLayout.styles.cjs} +0 -0
- /package/lib-commonjs/components/ItemLayout/{ItemLayout.styles.raw.js → ItemLayout.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/ItemLayout/{ItemLayout.styles.raw.js.map → ItemLayout.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/List/List/{List.types.js → List.types.cjs} +0 -0
- /package/lib-commonjs/components/List/List/{List.types.js.map → List.types.cjs.map} +0 -0
- /package/lib-commonjs/components/List/List/{listContext.js → listContext.cjs} +0 -0
- /package/lib-commonjs/components/List/List/{listContext.js.map → listContext.cjs.map} +0 -0
- /package/lib-commonjs/components/List/List/{useListContextValues.js → useListContextValues.cjs} +0 -0
- /package/lib-commonjs/components/List/List/{useListContextValues.js.map → useListContextValues.cjs.map} +0 -0
- /package/lib-commonjs/components/List/List/{useListStyles.styles.js → useListStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/List/List/{useListStyles.styles.raw.js → useListStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/List/List/{useListStyles.styles.raw.js.map → useListStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/List/ListItem/{ListItem.types.js → ListItem.types.cjs} +0 -0
- /package/lib-commonjs/components/List/ListItem/{ListItem.types.js.map → ListItem.types.cjs.map} +0 -0
- /package/lib-commonjs/components/List/ListItem/{useListItemStyles.styles.js → useListItemStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/List/ListItem/{useListItemStyles.styles.raw.js → useListItemStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/List/ListItem/{useListItemStyles.styles.raw.js.map → useListItemStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/List/hooks/{types.js → types.cjs} +0 -0
- /package/lib-commonjs/components/List/hooks/{types.js.map → types.cjs.map} +0 -0
- /package/lib-commonjs/components/List/hooks/{useListSelection.js → useListSelection.cjs} +0 -0
- /package/lib-commonjs/components/List/hooks/{useListSelection.js.map → useListSelection.cjs.map} +0 -0
- /package/lib-commonjs/components/Primitive/{Primitive.js → Primitive.cjs} +0 -0
- /package/lib-commonjs/components/Primitive/{Primitive.js.map → Primitive.cjs.map} +0 -0
- /package/lib-commonjs/components/Segment/{Segment.styles.js → Segment.styles.cjs} +0 -0
- /package/lib-commonjs/components/Segment/{Segment.styles.raw.js → Segment.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/Segment/{Segment.styles.raw.js.map → Segment.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/Slider/{Slider.mixins.js → Slider.mixins.cjs} +0 -0
- /package/lib-commonjs/components/Slider/{Slider.mixins.js.map → Slider.mixins.cjs.map} +0 -0
- /package/lib-commonjs/components/Spinner/{SpinnerMigration.mixins.js → SpinnerMigration.mixins.cjs} +0 -0
- /package/lib-commonjs/components/Spinner/{SpinnerMigration.mixins.js.map → SpinnerMigration.mixins.cjs.map} +0 -0
- /package/lib-commonjs/components/StyledText/{StyledText.styles.js → StyledText.styles.cjs} +0 -0
- /package/lib-commonjs/components/StyledText/{StyledText.styles.raw.js → StyledText.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/StyledText/{StyledText.styles.raw.js.map → StyledText.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/Video/{Video.styles.js → Video.styles.cjs} +0 -0
- /package/lib-commonjs/components/Video/{Video.styles.raw.js → Video.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/Video/{Video.styles.raw.js.map → Video.styles.raw.cjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,38 @@
|
|
|
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 Mon, 24 Aug 2026 08:15:11 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.6.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.6.36)
|
|
8
|
+
|
|
9
|
+
Mon, 24 Aug 2026 08:15:11 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.35..@fluentui/react-migration-v0-v9_v9.6.36)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Bump @fluentui/react-components to v9.74.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
15
|
+
|
|
16
|
+
## [9.6.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.6.35)
|
|
17
|
+
|
|
18
|
+
Tue, 11 Aug 2026 17:20:14 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.34..@fluentui/react-migration-v0-v9_v9.6.35)
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- Ship ESM-first (type:module): valid ESM under lib/, CommonJS under lib-commonjs/*.cjs, and drop the `node` export condition - bare-Node `import` resolves ESM, `require` resolves CJS; node-targeted bundlers tree-shake. ([PR #36327](https://github.com/microsoft/fluentui/pull/36327) by martinhochel@microsoft.com)
|
|
24
|
+
- Bump @fluentui/react-aria to v9.17.14 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
25
|
+
- Bump @fluentui/react-components to v9.74.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
26
|
+
- Bump @fluentui/react-context-selector to v9.2.19 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
27
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.5 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
28
|
+
- Bump @fluentui/react-shared-contexts to v9.26.3 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
29
|
+
- Bump @fluentui/react-tabster to v9.26.17 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
30
|
+
- Bump @fluentui/react-theme to v9.2.2 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
31
|
+
- Bump @fluentui/react-utilities to v9.26.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
32
|
+
|
|
7
33
|
## [9.6.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.6.34)
|
|
8
34
|
|
|
9
|
-
Tue, 04 Aug 2026 10:
|
|
35
|
+
Tue, 04 Aug 2026 10:12:23 GMT
|
|
10
36
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.6.33..@fluentui/react-migration-v0-v9_v9.6.34)
|
|
11
37
|
|
|
12
38
|
### Patches
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
import type { ButtonProps } from '@fluentui/react-components';
|
|
2
|
+
import type { ComponentProps } from '@fluentui/react-components';
|
|
3
|
+
import type { ComponentProps as ComponentProps_2 } from '@fluentui/react-utilities';
|
|
4
|
+
import type { ComponentState } from '@fluentui/react-utilities';
|
|
5
|
+
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
6
|
+
import type { GriffelStyle } from '@fluentui/react-components';
|
|
7
|
+
import type { JSXElement } from '@fluentui/react-utilities';
|
|
8
|
+
import type { JSXIntrinsicElement } from '@fluentui/react-utilities';
|
|
9
|
+
import type { JSXIntrinsicElementKeys } from '@fluentui/react-utilities';
|
|
10
|
+
import type { ObjectShorthandValue } from '@fluentui/react-northstar';
|
|
11
|
+
import * as React_2 from 'react';
|
|
12
|
+
import type { SelectionHookParams } from '@fluentui/react-utilities';
|
|
13
|
+
import type { SelectionItemId } from '@fluentui/react-utilities';
|
|
14
|
+
import type { SelectionMode as SelectionMode_2 } from '@fluentui/react-utilities';
|
|
15
|
+
import type { Slot } from '@fluentui/react-components';
|
|
16
|
+
import type { Slot as Slot_2 } from '@fluentui/react-utilities';
|
|
17
|
+
import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
18
|
+
|
|
19
|
+
export declare const Attachment: React_2.ForwardRefExoticComponent<AttachmentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
|
|
21
|
+
export declare const AttachmentAction: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
22
|
+
|
|
23
|
+
export declare const attachmentActionClassName = "fui-AttachmentAction";
|
|
24
|
+
|
|
25
|
+
export declare type AttachmentActionProps = ButtonProps;
|
|
26
|
+
|
|
27
|
+
export declare const AttachmentBody: React_2.FC<AttachmentBodyProps>;
|
|
28
|
+
|
|
29
|
+
export declare const attachmentBodyClassName = "fui-AttachmentBody";
|
|
30
|
+
|
|
31
|
+
export declare interface AttachmentBodyProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export declare const attachmentClassName = "fui-Attachment";
|
|
35
|
+
|
|
36
|
+
export declare const AttachmentDescription: React_2.FC<AttachmentDescriptionProps>;
|
|
37
|
+
|
|
38
|
+
export declare const attachmentDescriptionClassName = "fui-AttachmentDescription";
|
|
39
|
+
|
|
40
|
+
export declare interface AttachmentDescriptionProps extends React_2.HTMLAttributes<HTMLSpanElement> {
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export declare const AttachmentHeader: React_2.FC<AttachmentHeaderProps>;
|
|
44
|
+
|
|
45
|
+
export declare const attachmentHeaderClassName = "fui-AttachmentHeader";
|
|
46
|
+
|
|
47
|
+
export declare interface AttachmentHeaderProps extends React_2.HTMLAttributes<HTMLSpanElement> {
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export declare const AttachmentIcon: React_2.FC<AttachmentIconProps>;
|
|
51
|
+
|
|
52
|
+
export declare const attachmentIconClassName = "fui-AttachmentIcon";
|
|
53
|
+
|
|
54
|
+
export declare interface AttachmentIconProps extends React_2.HTMLAttributes<HTMLSpanElement> {
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export declare const attachmentProgressBarClassName = "fui-Attachment__progress";
|
|
58
|
+
|
|
59
|
+
export declare const attachmentProgressContainerClassName = "fui-Attachment__progress-container";
|
|
60
|
+
|
|
61
|
+
export declare interface AttachmentProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
62
|
+
actionable?: boolean;
|
|
63
|
+
disabled?: boolean;
|
|
64
|
+
progress?: string | number;
|
|
65
|
+
onClick?: (event: React_2.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export declare const Flex: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & FlexProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
69
|
+
|
|
70
|
+
export declare const flexClassName = "fui-Flex";
|
|
71
|
+
|
|
72
|
+
export declare const flexItem: {
|
|
73
|
+
align: (value: "auto" | "start" | "end" | "center" | "baseline" | "stretch") => GriffelStyle;
|
|
74
|
+
size: (value: "half" | "quarter" | "small" | "medium" | "large") => GriffelStyle;
|
|
75
|
+
grow: (flexGrow: boolean | number) => GriffelStyle | undefined;
|
|
76
|
+
shrink: (flexShrink: boolean | number) => GriffelStyle | undefined;
|
|
77
|
+
pushRow: () => GriffelStyle;
|
|
78
|
+
pushColumn: () => GriffelStyle;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
declare interface FlexProps {
|
|
82
|
+
/** Defines if container should be inline element. */
|
|
83
|
+
inline?: boolean;
|
|
84
|
+
/** Sets vertical flow direction. */
|
|
85
|
+
column?: boolean;
|
|
86
|
+
/** Allows overflow items to wrap on the next container's line. */
|
|
87
|
+
wrap?: boolean;
|
|
88
|
+
/** Controls items alignment in horizontal direction. */
|
|
89
|
+
hAlign?: 'start' | 'center' | 'end' | 'stretch';
|
|
90
|
+
/** Controls items alignment in vertical direction. */
|
|
91
|
+
vAlign?: 'start' | 'center' | 'end' | 'stretch';
|
|
92
|
+
/** Defines strategy for distributing remaining space between items. */
|
|
93
|
+
space?: 'around' | 'between' | 'evenly';
|
|
94
|
+
/** Defines gap between each two adjacent child items. */
|
|
95
|
+
gap?: 'gap.smaller' | 'gap.small' | 'gap.medium' | 'gap.large';
|
|
96
|
+
/** Defines container's padding. */
|
|
97
|
+
padding?: 'padding.medium';
|
|
98
|
+
/** Orders container to fill all parent's space available. */
|
|
99
|
+
fill?: boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export declare const FormFieldShim: React_2.ForwardRefExoticComponent<{
|
|
103
|
+
/**
|
|
104
|
+
* Message to be shown when error state is true
|
|
105
|
+
*/
|
|
106
|
+
errorMessage?: WithContent;
|
|
107
|
+
/**
|
|
108
|
+
* Whether the field label should be marked as required.
|
|
109
|
+
*/
|
|
110
|
+
required?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Control to be rendered
|
|
113
|
+
*/
|
|
114
|
+
control?: ObjectShorthandValue<{
|
|
115
|
+
/**
|
|
116
|
+
* Control content
|
|
117
|
+
*/
|
|
118
|
+
content?: React_2.ReactNode;
|
|
119
|
+
}> & {
|
|
120
|
+
/**
|
|
121
|
+
* Error state
|
|
122
|
+
*/
|
|
123
|
+
error?: "true" | "false";
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Label to be rendered
|
|
127
|
+
*/
|
|
128
|
+
label?: WithContent;
|
|
129
|
+
} & {
|
|
130
|
+
children?: React_2.ReactNode | undefined;
|
|
131
|
+
} & React_2.RefAttributes<HTMLInputElement>>;
|
|
132
|
+
|
|
133
|
+
export declare const grid: {
|
|
134
|
+
columns: (template: string) => GriffelStyle;
|
|
135
|
+
rows: (template: string) => GriffelStyle;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export declare const gridClassName = "fui-Grid";
|
|
139
|
+
|
|
140
|
+
export declare const GridShim: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & GridShimProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
141
|
+
|
|
142
|
+
export declare interface GridShimProps {
|
|
143
|
+
/**
|
|
144
|
+
* The columns of the grid with a space-separated list of values.
|
|
145
|
+
* The values represent the track size, and the space between them represents the grid line.
|
|
146
|
+
*/
|
|
147
|
+
columns?: 1 | 2 | 3;
|
|
148
|
+
/**
|
|
149
|
+
* The rows of the grid with a space-separated list of values.
|
|
150
|
+
* The values represent the track size, and the space between them represents the grid line.
|
|
151
|
+
*/
|
|
152
|
+
rows?: 1 | 2 | 3;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export declare const input: {
|
|
156
|
+
error: () => GriffelStyle;
|
|
157
|
+
errorIndicator: () => GriffelStyle;
|
|
158
|
+
fluid: () => GriffelStyle;
|
|
159
|
+
successIndicator: () => GriffelStyle;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
export declare const ItemLayout: React_2.ForwardRefExoticComponent<Omit<ItemLayoutSlots, "root"> & Omit<{
|
|
163
|
+
as?: "div" | undefined;
|
|
164
|
+
} & Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & {
|
|
165
|
+
children?: any;
|
|
166
|
+
}, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
167
|
+
|
|
168
|
+
export declare const itemLayoutClassName = "fui-ItemLayout";
|
|
169
|
+
|
|
170
|
+
declare type ItemLayoutSlots = {
|
|
171
|
+
root: Slot_2<'div'>;
|
|
172
|
+
contentMedia?: Slot_2<'div'>;
|
|
173
|
+
contentWrapper?: Slot_2<'div'>;
|
|
174
|
+
header?: Slot_2<'div'>;
|
|
175
|
+
headerMedia?: Slot_2<'div'>;
|
|
176
|
+
startMedia?: Slot_2<'div'>;
|
|
177
|
+
endMedia?: Slot_2<'div'>;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
export declare const List: ForwardRefComponent<ListProps>;
|
|
181
|
+
|
|
182
|
+
export declare const listClassNames: SlotClassNames<ListSlots>;
|
|
183
|
+
|
|
184
|
+
declare type ListContextValue = {
|
|
185
|
+
navigable: boolean;
|
|
186
|
+
selection?: ListSelectionState;
|
|
187
|
+
as?: 'div' | 'ol' | 'ul';
|
|
188
|
+
truncateHeader?: ListProps['truncateHeader'];
|
|
189
|
+
truncateContent?: ListProps['truncateContent'];
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
declare type ListContextValues = {
|
|
193
|
+
listContext: ListContextValue;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
export declare const ListItem: ForwardRefComponent<ListItemProps>;
|
|
197
|
+
|
|
198
|
+
export declare const listItemClassNames: SlotClassNames<ListItemSlots>;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* ListItem Props
|
|
202
|
+
*/
|
|
203
|
+
export declare type ListItemProps = ComponentProps_2<ListItemSlots> & {
|
|
204
|
+
value?: string | number;
|
|
205
|
+
truncateHeader?: boolean;
|
|
206
|
+
truncateContent?: boolean;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
export declare type ListItemSlots = {
|
|
210
|
+
root: NonNullable<Slot_2<'li', 'div'>>;
|
|
211
|
+
media?: React_2.ComponentProps<typeof ItemLayout>['startMedia'];
|
|
212
|
+
header?: React_2.ComponentProps<typeof ItemLayout>['header'];
|
|
213
|
+
contentWrapper?: React_2.ComponentProps<typeof ItemLayout>['contentWrapper'];
|
|
214
|
+
headerMedia?: React_2.ComponentProps<typeof ItemLayout>['headerMedia'];
|
|
215
|
+
contentMedia?: React_2.ComponentProps<typeof ItemLayout>['contentMedia'];
|
|
216
|
+
endMedia?: React_2.ComponentProps<typeof ItemLayout>['endMedia'];
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* State used in rendering ListItem
|
|
221
|
+
*/
|
|
222
|
+
export declare type ListItemState = ComponentState<ListItemSlots> & {
|
|
223
|
+
selectable?: boolean;
|
|
224
|
+
selected?: boolean;
|
|
225
|
+
navigable?: boolean;
|
|
226
|
+
truncateHeader?: boolean;
|
|
227
|
+
truncateContent?: boolean;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
declare type ListLayout = 'horizontal' | 'vertical' | 'grid';
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* List Props
|
|
234
|
+
*/
|
|
235
|
+
export declare type ListProps = ComponentProps_2<ListSlots> & {
|
|
236
|
+
/**
|
|
237
|
+
* Defines the layout orientation.
|
|
238
|
+
*
|
|
239
|
+
* @default vertical
|
|
240
|
+
*/
|
|
241
|
+
layout?: ListLayout;
|
|
242
|
+
/**
|
|
243
|
+
* Defines if the list should be navigable. Set this to true when adding an `onClick` handler.
|
|
244
|
+
*
|
|
245
|
+
* @default false
|
|
246
|
+
*/
|
|
247
|
+
navigable?: boolean;
|
|
248
|
+
/**
|
|
249
|
+
* Defines if the List items should be selectable.
|
|
250
|
+
*
|
|
251
|
+
* @default false
|
|
252
|
+
*/
|
|
253
|
+
selectable?: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* Defines selection mode for the List.
|
|
256
|
+
*
|
|
257
|
+
* @default single
|
|
258
|
+
*/
|
|
259
|
+
selectionMode?: SelectionMode_2;
|
|
260
|
+
/**
|
|
261
|
+
* For controlled selection - defines selected items
|
|
262
|
+
*/
|
|
263
|
+
selectedItems?: SelectionItemId[];
|
|
264
|
+
/**
|
|
265
|
+
* For uncontrolled selection - defines default selected items
|
|
266
|
+
*/
|
|
267
|
+
defaultSelectedItems?: SelectionItemId[];
|
|
268
|
+
/**
|
|
269
|
+
* Callback for selection change events, used for both controlled and uncontrolled (as notification)
|
|
270
|
+
*/
|
|
271
|
+
onSelectionChange?: (event: React_2.SyntheticEvent, data: {
|
|
272
|
+
selectedItems: SelectionItemId[];
|
|
273
|
+
}) => void;
|
|
274
|
+
/**
|
|
275
|
+
* Truncates header
|
|
276
|
+
*
|
|
277
|
+
* @default false
|
|
278
|
+
*/
|
|
279
|
+
truncateHeader?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* Truncates content
|
|
282
|
+
*
|
|
283
|
+
* @default false
|
|
284
|
+
*/
|
|
285
|
+
truncateContent?: boolean;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
declare type ListSelectionState = {
|
|
289
|
+
isSelected: (item: string | number) => boolean;
|
|
290
|
+
toggleItem: (e: React_2.SyntheticEvent, id: string | number) => void;
|
|
291
|
+
deselectItem: (e: React_2.SyntheticEvent, id: string | number) => void;
|
|
292
|
+
selectItem: (e: React_2.SyntheticEvent, id: string | number) => void;
|
|
293
|
+
clearSelection: (e: React_2.SyntheticEvent) => void;
|
|
294
|
+
toggleAllItems: (e: React_2.SyntheticEvent, itemIds: string[] | number[]) => void;
|
|
295
|
+
setSelectedItems: React_2.Dispatch<React_2.SetStateAction<Iterable<SelectionItemId>>>;
|
|
296
|
+
selectedItems: SelectionItemId[];
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
export declare type ListSlots = {
|
|
300
|
+
root: NonNullable<Slot_2<'ul', 'div' | 'ol'>>;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* State used in rendering List
|
|
305
|
+
*/
|
|
306
|
+
export declare type ListState = ComponentState<ListSlots> & Required<Pick<ListProps, 'layout'>> & ListContextValue;
|
|
307
|
+
|
|
308
|
+
export declare const Primitive: PrimitiveComponent;
|
|
309
|
+
|
|
310
|
+
export declare const primitiveClassName = "fui-Primitive";
|
|
311
|
+
|
|
312
|
+
declare interface PrimitiveComponent {
|
|
313
|
+
/**
|
|
314
|
+
* Infers props from JSX.IntrinsicElements based on "as" value. Explicitly avoids `React.ElementType` and manually
|
|
315
|
+
* narrow the prop types so that events are typed when using JSX.IntrinsicElements.
|
|
316
|
+
*/
|
|
317
|
+
<As extends JSXIntrinsicElementKeys>(props: {
|
|
318
|
+
as?: As;
|
|
319
|
+
} & JSXIntrinsicElement<As>): React_2.ReactElement | null;
|
|
320
|
+
displayName: string;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Render the final JSX of List
|
|
325
|
+
*/
|
|
326
|
+
export declare const renderList_unstable: (state: ListState, contextValues: ListContextValues) => JSXElement;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Render the final JSX of ListItem
|
|
330
|
+
*/
|
|
331
|
+
export declare const renderListItem_unstable: (state: ListItemState) => JSXElement;
|
|
332
|
+
|
|
333
|
+
export declare const Segment: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
334
|
+
|
|
335
|
+
export declare const slider: {
|
|
336
|
+
fluid: () => GriffelStyle;
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
export declare const spinner: {
|
|
340
|
+
v0Inline: () => GriffelStyle;
|
|
341
|
+
v0SpinnerLabelStyle: () => GriffelStyle;
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
export declare const StyledText: React_2.ForwardRefExoticComponent<StyledTextProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
345
|
+
|
|
346
|
+
export declare const styledTextClassName = "fui-StyledText";
|
|
347
|
+
|
|
348
|
+
export declare type StyledTextProps = ComponentProps<StyledTextSlots> & {
|
|
349
|
+
/**
|
|
350
|
+
* Aligns text based on the parent container.
|
|
351
|
+
*/
|
|
352
|
+
align?: 'start' | 'center' | 'end' | 'justify';
|
|
353
|
+
/**
|
|
354
|
+
* At mentions can be formatted to draw users' attention.
|
|
355
|
+
* Mentions for "me" can be formatted to appear differently.
|
|
356
|
+
*/
|
|
357
|
+
atMention?: 'me' | boolean;
|
|
358
|
+
/**
|
|
359
|
+
* Set as disabled StyledText component
|
|
360
|
+
*/
|
|
361
|
+
disabled?: boolean;
|
|
362
|
+
/**
|
|
363
|
+
* Set as error StyledText component
|
|
364
|
+
*/
|
|
365
|
+
error?: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* The StyledText can appear more important and draw user's attention
|
|
368
|
+
*/
|
|
369
|
+
important?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* Applies font size and line height based on the theme tokens.
|
|
372
|
+
*/
|
|
373
|
+
size?: 'smaller' | 'small' | 'medium' | 'large' | 'large500' | 'larger' | 'largest' | 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
374
|
+
/**
|
|
375
|
+
* Set as success StyledText component
|
|
376
|
+
*/
|
|
377
|
+
success?: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* The text can signify a temporary state
|
|
380
|
+
*/
|
|
381
|
+
temporary?: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* Set as timestamp StyledText component
|
|
384
|
+
*/
|
|
385
|
+
timestamp?: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* Truncate overflowing text for block displays.
|
|
388
|
+
*/
|
|
389
|
+
truncate?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* Applies font weight to the content.
|
|
392
|
+
*/
|
|
393
|
+
weight?: 'light' | 'semilight' | 'regular' | 'medium' | 'semibold' | 'bold';
|
|
394
|
+
/**
|
|
395
|
+
* Wraps the text content on white spaces.
|
|
396
|
+
*
|
|
397
|
+
* @default true
|
|
398
|
+
*/
|
|
399
|
+
wrap?: boolean;
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
export declare type StyledTextSlots = {
|
|
403
|
+
root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'time'>;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
export declare const useFlexStyles: () => Record<"flex" | "fill" | "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
|
+
|
|
408
|
+
export declare const useGridStyles: () => Record<"grid" | "onlyRows" | "rows1" | "rows2" | "rows3" | "columns1" | "columns2" | "columns3" | "columnsDefault", string>;
|
|
409
|
+
|
|
410
|
+
export declare const useItemLayoutStyles: () => Record<"root" | "header" | "contentMedia" | "contentWrapper" | "headerMedia" | "startMedia" | "endMedia", string>;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Create the state required to render List.
|
|
414
|
+
*
|
|
415
|
+
* The returned state can be modified with hooks such as useListStyles_unstable,
|
|
416
|
+
* before being passed to renderList_unstable.
|
|
417
|
+
*
|
|
418
|
+
* @param props - props from this instance of List
|
|
419
|
+
* @param ref - reference to root HTMLElement of List
|
|
420
|
+
*/
|
|
421
|
+
export declare const useList_unstable: (props: ListProps, ref: React_2.Ref<HTMLDivElement | HTMLUListElement>) => ListState;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Create the state required to render ListItem.
|
|
425
|
+
*
|
|
426
|
+
* The returned state can be modified with hooks such as useListItemStyles_unstable,
|
|
427
|
+
* before being passed to renderListItem_unstable.
|
|
428
|
+
*
|
|
429
|
+
* @param props - props from this instance of ListItem
|
|
430
|
+
* @param ref - reference to root HTMLLIElement | HTMLDivElementof ListItem
|
|
431
|
+
*/
|
|
432
|
+
export declare const useListItem_unstable: (props: ListItemProps, ref: React_2.Ref<HTMLLIElement | HTMLDivElement>) => ListItemState;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Apply styling to the ListItem slots based on the state
|
|
436
|
+
*/
|
|
437
|
+
export declare const useListItemStyles_unstable: (state: ListItemState) => ListItemState;
|
|
438
|
+
|
|
439
|
+
export declare function useListSelection(options?: SelectionHookParams): ListSelectionState;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Apply styling to the List slots based on the state
|
|
443
|
+
*/
|
|
444
|
+
export declare const useListStyles_unstable: (state: ListState) => ListState;
|
|
445
|
+
|
|
446
|
+
export declare const v0Icon: () => GriffelStyle;
|
|
447
|
+
|
|
448
|
+
export declare const v9CustomSizeIcon: () => GriffelStyle;
|
|
449
|
+
|
|
450
|
+
export declare const v9DisabledCursor: () => GriffelStyle;
|
|
451
|
+
|
|
452
|
+
export declare const v9HoverClasses: () => GriffelStyle;
|
|
453
|
+
|
|
454
|
+
export declare const v9Icon: () => GriffelStyle;
|
|
455
|
+
|
|
456
|
+
export declare const Video: React_2.ForwardRefExoticComponent<VideoProps & React_2.RefAttributes<HTMLVideoElement>>;
|
|
457
|
+
|
|
458
|
+
export declare const videoClassName = "fui-Video";
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Video component props
|
|
462
|
+
*/
|
|
463
|
+
export declare interface VideoProps extends React_2.VideoHTMLAttributes<HTMLVideoElement> {
|
|
464
|
+
/**
|
|
465
|
+
* The source URL of the video
|
|
466
|
+
*/
|
|
467
|
+
src: string;
|
|
468
|
+
/**
|
|
469
|
+
* Whether the video should start playing automatically
|
|
470
|
+
* @default false
|
|
471
|
+
*/
|
|
472
|
+
autoPlay?: boolean;
|
|
473
|
+
/**
|
|
474
|
+
* Whether the video should display controls
|
|
475
|
+
* @default true
|
|
476
|
+
*/
|
|
477
|
+
controls?: boolean;
|
|
478
|
+
/**
|
|
479
|
+
* Whether the video should loop
|
|
480
|
+
*/
|
|
481
|
+
loop?: boolean;
|
|
482
|
+
/**
|
|
483
|
+
* Whether the video should be muted
|
|
484
|
+
*/
|
|
485
|
+
muted?: boolean;
|
|
486
|
+
/**
|
|
487
|
+
* The URL of an image to display while the video is loading
|
|
488
|
+
*/
|
|
489
|
+
poster?: string;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
declare type WithContent = ObjectShorthandValue<React_2.HTMLAttributes<HTMLDivElement>> | string;
|
|
493
|
+
|
|
494
|
+
export { }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { mergeClasses } from
|
|
3
|
-
import { useARIAButtonProps } from
|
|
4
|
-
import * as React from
|
|
5
|
-
import { useAttachmentBaseStyles, useAttachmentStyles } from
|
|
2
|
+
import { mergeClasses } from "@fluentui/react-components";
|
|
3
|
+
import { useARIAButtonProps } from "@fluentui/react-aria";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { useAttachmentBaseStyles, useAttachmentStyles } from "./Attachment.styles.js";
|
|
6
6
|
export const attachmentClassName = 'fui-Attachment';
|
|
7
7
|
export const attachmentProgressContainerClassName = `${attachmentClassName}__progress-container`;
|
|
8
8
|
export const attachmentProgressBarClassName = `${attachmentClassName}__progress`;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { createCustomFocusIndicatorStyle, __resetStyles, __styles, tokens } from
|
|
4
|
-
import { attachmentActionClassName } from
|
|
5
|
-
import { attachmentIconClassName } from
|
|
3
|
+
import { createCustomFocusIndicatorStyle, __resetStyles, __styles, tokens } from "@fluentui/react-components";
|
|
4
|
+
import { attachmentActionClassName } from "./AttachmentAction.js";
|
|
5
|
+
import { attachmentIconClassName } from "./AttachmentIcon.js";
|
|
6
6
|
export const useAttachmentBaseStyles = /*#__PURE__*/__resetStyles("rvvwr24", "r1f25zs7", [".rvvwr24{position:relative;display:inline-flex;align-items:center;width:100%;max-width:424px;min-height:32px;padding:7px 3px 7px 11px;margin-bottom:2px;margin-right:2px;background-color:var(--colorNeutralBackground6);color:var(--colorNeutralForeground1);box-shadow:0 .2rem .4rem -.075rem var(--colorNeutralShadowAmbient);border:1px solid var(--colorNeutralStroke3);border-radius:4px;}", ".rvvwr24[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);}", ".r1f25zs7{position:relative;display:inline-flex;align-items:center;width:100%;max-width:424px;min-height:32px;padding:7px 11px 7px 3px;margin-bottom:2px;margin-left:2px;background-color:var(--colorNeutralBackground6);color:var(--colorNeutralForeground1);box-shadow:0 .2rem .4rem -.075rem var(--colorNeutralShadowAmbient);border:1px solid var(--colorNeutralStroke3);border-radius:4px;}", ".r1f25zs7[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);}"]);
|
|
7
7
|
export const useAttachmentStyles = /*#__PURE__*/__styles({
|
|
8
8
|
actionable: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createCustomFocusIndicatorStyle","__resetStyles","__styles","tokens","attachmentActionClassName","attachmentIconClassName","useAttachmentBaseStyles","useAttachmentStyles","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"],"sources":["Attachment.styles.js"],"sourcesContent":["'use client';\nimport { createCustomFocusIndicatorStyle, makeResetStyles, makeStyles, tokens } from
|
|
1
|
+
{"version":3,"names":["createCustomFocusIndicatorStyle","__resetStyles","__styles","tokens","attachmentActionClassName","attachmentIconClassName","useAttachmentBaseStyles","useAttachmentStyles","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"],"sources":["Attachment.styles.js"],"sourcesContent":["'use client';\nimport { createCustomFocusIndicatorStyle, makeResetStyles, makeStyles, tokens } from \"@fluentui/react-components\";\nimport { attachmentActionClassName } from \"./AttachmentAction.js\";\nimport { attachmentIconClassName } from \"./AttachmentIcon.js\";\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 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});\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"],"mappings":"AAAA,YAAY;;AACZ,SAASA,+BAA+B,EAAAC,aAAA,EAAAC,QAAA,EAA+BC,MAAM,QAAQ,4BAA4B;AACjH,SAASC,yBAAyB,QAAQ,uBAAuB;AACjE,SAASC,uBAAuB,QAAQ,qBAAqB;AAC7D,OAAO,MAAMC,uBAAuB,gBAAGL,aAAA,2jCA6BtC,CAAC;AACF,OAAO,MAAMM,mBAAmB,gBAAGL,QAAA;EAAAM,UAAA;IAAAC,OAAA;IAAAC,MAAA;EAAA;EAAAC,iBAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;EAAA;EAAAC,WAAA;IAAAC,MAAA;IAAAR,OAAA;IAAAS,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;IAAAC,CAAA;EAAA;IAAAA,CAAA;EAAA;EAAAC,CAAA;AAAA,CAuBlC,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { createCustomFocusIndicatorStyle, makeResetStyles, makeStyles, tokens } from
|
|
3
|
-
import { attachmentActionClassName } from
|
|
4
|
-
import { attachmentIconClassName } from
|
|
2
|
+
import { createCustomFocusIndicatorStyle, makeResetStyles, makeStyles, tokens } from "@fluentui/react-components";
|
|
3
|
+
import { attachmentActionClassName } from "./AttachmentAction.js";
|
|
4
|
+
import { attachmentIconClassName } from "./AttachmentIcon.js";
|
|
5
5
|
export const useAttachmentBaseStyles = makeResetStyles({
|
|
6
6
|
...createCustomFocusIndicatorStyle({
|
|
7
7
|
outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { Button, mergeClasses } from
|
|
3
|
-
import * as React from
|
|
4
|
-
import { useAttachmentActionStyles } from
|
|
2
|
+
import { Button, mergeClasses } from "@fluentui/react-components";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { useAttachmentActionStyles } from "./AttachmentAction.styles.js";
|
|
5
5
|
export const attachmentActionClassName = 'fui-AttachmentAction';
|
|
6
6
|
export const AttachmentAction = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
7
7
|
const { className, disabled, disabledFocusable, children, onClick, onKeyUp, onKeyDown, ...rest } = props;
|