cozy-sharing 32.1.1 → 32.1.2
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/.storybook/main.js +8 -1
- package/.storybook/preview.jsx +11 -6
- package/CHANGELOG.md +4 -0
- package/dist/components/Recipient/LinkRecipient.stories.js +3 -0
- package/dist/components/Recipient/LinkRecipientPermissions.stories.js +5 -1
- package/package.json +2 -2
- package/src/components/Recipient/LinkRecipient.stories.jsx +1 -0
- package/src/components/Recipient/LinkRecipientPermissions.stories.jsx +3 -1
package/.storybook/main.js
CHANGED
|
@@ -12,7 +12,14 @@ const config = {
|
|
|
12
12
|
docs: {
|
|
13
13
|
autodocs: true
|
|
14
14
|
},
|
|
15
|
-
staticDirs: ['./public']
|
|
15
|
+
staticDirs: ['./public'],
|
|
16
|
+
webpackFinal: async (config) => {
|
|
17
|
+
config.resolve.alias = {
|
|
18
|
+
...config.resolve.alias,
|
|
19
|
+
'cozy-client/dist/types': require.resolve('cozy-client/dist/index.js')
|
|
20
|
+
}
|
|
21
|
+
return config
|
|
22
|
+
}
|
|
16
23
|
}
|
|
17
24
|
|
|
18
25
|
export default config
|
package/.storybook/preview.jsx
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
import 'cozy-ui/dist/cozy-ui.min.css'
|
|
4
3
|
import 'cozy-ui/dist/cozy-ui.utils.min.css'
|
|
5
4
|
import 'cozy-ui/transpiled/react/stylesheet.css'
|
|
5
|
+
import 'cozy-ui-plus/dist/stylesheet.css'
|
|
6
6
|
import '../dist/stylesheet.css'
|
|
7
7
|
|
|
8
8
|
import I18n from "twake-i18n"
|
|
9
9
|
import { BreakpointsProvider } from 'cozy-ui/transpiled/react/providers/Breakpoints'
|
|
10
|
+
import AlertProvider from 'cozy-ui/transpiled/react/providers/Alert'
|
|
10
11
|
import CozyTheme from 'cozy-ui-plus/dist/providers/CozyTheme'
|
|
11
12
|
import { CozyProvider, createFakeClient } from 'cozy-client'
|
|
12
13
|
|
|
@@ -40,16 +41,20 @@ const preview = {
|
|
|
40
41
|
})
|
|
41
42
|
return (
|
|
42
43
|
<CozyProvider client={fakeClient}>
|
|
43
|
-
<CozyTheme>
|
|
44
|
+
<CozyTheme ignoreCozySettings>
|
|
44
45
|
<BreakpointsProvider>
|
|
45
46
|
<SharingContext.Provider value={{
|
|
46
47
|
revokeGroup: () => {},
|
|
47
|
-
revokeSelf: () => {}
|
|
48
|
+
revokeSelf: () => {},
|
|
49
|
+
getDocumentPermissions: () => [],
|
|
50
|
+
getSharingLink: () => ''
|
|
48
51
|
}}>
|
|
49
52
|
<I18n lang="en" dictRequire={() => enLocale}>
|
|
50
|
-
<
|
|
51
|
-
<
|
|
52
|
-
|
|
53
|
+
<AlertProvider>
|
|
54
|
+
<div style={{position: "relative"}}>
|
|
55
|
+
<Story />
|
|
56
|
+
</div>
|
|
57
|
+
</AlertProvider>
|
|
53
58
|
</I18n>
|
|
54
59
|
</SharingContext.Provider>
|
|
55
60
|
</BreakpointsProvider>
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [32.1.2](https://github.com/cozy/cozy-libs/compare/cozy-sharing@32.1.1...cozy-sharing@32.1.2) (2026-05-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package cozy-sharing
|
|
9
|
+
|
|
6
10
|
## [32.1.1](https://github.com/cozy/cozy-libs/compare/cozy-sharing@32.1.0...cozy-sharing@32.1.1) (2026-05-18)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package cozy-sharing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-sharing",
|
|
3
|
-
"version": "32.1.
|
|
3
|
+
"version": "32.1.2",
|
|
4
4
|
"description": "Provides sharing login for React applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"sideEffects": [
|
|
84
84
|
"*.css"
|
|
85
85
|
],
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "9a0df81fbae4d16cd70fea539f652f7bc8930ca7"
|
|
87
87
|
}
|