cozy-sharing 37.2.2 → 37.2.3
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 +6 -0
- package/dist/components/ShareLinkAccessModal/ShareLinkAccessModal.js +1 -1
- package/dist/components/ShareLinkAccessModal/ShareLinkAccessModal.spec.js +0 -1
- package/package.json +3 -3
- package/src/components/ShareLinkAccessModal/ShareLinkAccessModal.jsx +1 -1
- package/src/components/ShareLinkAccessModal/ShareLinkAccessModal.spec.jsx +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
## [37.2.3](https://github.com/cozy/cozy-libs/compare/cozy-sharing@37.2.2...cozy-sharing@37.2.3) (2026-07-23)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **cozy-sharing:** Add padding to document chips ([0a26e8e](https://github.com/cozy/cozy-libs/commit/0a26e8ece49e40343e5eb800777d8b55234ac90f))
|
|
11
|
+
|
|
6
12
|
## [37.2.2](https://github.com/cozy/cozy-libs/compare/cozy-sharing@37.2.1...cozy-sharing@37.2.2) (2026-07-22)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package cozy-sharing
|
|
@@ -204,7 +204,7 @@ export var ShareLinkAccessModal = function ShareLinkAccessModal(_ref) {
|
|
|
204
204
|
component: "span",
|
|
205
205
|
className: "u-flex u-ov-hidden"
|
|
206
206
|
}, renderDocumentIcon(document, DOCUMENT_ICON_SIZE)),
|
|
207
|
-
className: "u-maw-100",
|
|
207
|
+
className: "u-maw-100 u-p-half",
|
|
208
208
|
label: document.name,
|
|
209
209
|
size: "small"
|
|
210
210
|
}));
|
|
@@ -186,7 +186,6 @@ describe('ShareLinkAccessModal', function () {
|
|
|
186
186
|
renderModal();
|
|
187
187
|
expect(screen.getByRole('dialog')).toHaveTextContent('invoice.pdf');
|
|
188
188
|
expect(screen.getByRole('dialog')).toHaveTextContent('Projects');
|
|
189
|
-
expect(screen.getByText('invoice.pdf').parentElement).toHaveClass('u-maw-100');
|
|
190
189
|
expect(screen.getByLabelText('Access level')).toHaveTextContent('Viewer');
|
|
191
190
|
expect(screen.getByRole('dialog')).toHaveAttribute('data-size', 'small');
|
|
192
191
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-sharing",
|
|
3
|
-
"version": "37.2.
|
|
3
|
+
"version": "37.2.3",
|
|
4
4
|
"description": "Provides sharing login for React applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"cozy-intent": "^2.31.1",
|
|
60
60
|
"cozy-minilog": "^3.10.1",
|
|
61
61
|
"cozy-ui": "^140.5.0",
|
|
62
|
-
"cozy-ui-plus": "^12.1.
|
|
62
|
+
"cozy-ui-plus": "^12.1.5",
|
|
63
63
|
"jest": "30.3.0",
|
|
64
64
|
"jest-environment-jsdom": "30.3.0",
|
|
65
65
|
"react": "16.12.0",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"sideEffects": [
|
|
86
86
|
"*.css"
|
|
87
87
|
],
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "5a5005bb37840651944ccb730a749066a719d1a6"
|
|
89
89
|
}
|
|
@@ -144,9 +144,6 @@ describe('ShareLinkAccessModal', () => {
|
|
|
144
144
|
|
|
145
145
|
expect(screen.getByRole('dialog')).toHaveTextContent('invoice.pdf')
|
|
146
146
|
expect(screen.getByRole('dialog')).toHaveTextContent('Projects')
|
|
147
|
-
expect(screen.getByText('invoice.pdf').parentElement).toHaveClass(
|
|
148
|
-
'u-maw-100'
|
|
149
|
-
)
|
|
150
147
|
expect(screen.getByLabelText('Access level')).toHaveTextContent('Viewer')
|
|
151
148
|
expect(screen.getByRole('dialog')).toHaveAttribute('data-size', 'small')
|
|
152
149
|
})
|