@seamly/web-ui 20.0.0 → 20.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/lib/deprecated-view.css +1 -1
- package/build/dist/lib/index.debug.js +1 -1
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.js +12 -13
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/standalone.js +12 -13
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/style-guide.js +6 -3
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/styles-default-implementation.css +1 -1
- package/build/dist/lib/styles.css +1 -1
- package/package.json +1 -1
- package/src/javascripts/style-guide/components/links.js +5 -5
- package/src/javascripts/style-guide.js +2 -0
- package/src/javascripts/ui/components/conversation/event/upload.js +13 -10
- package/src/stylesheets/5-components/_message-body.scss +19 -12
- package/src/stylesheets/6-default-implementation/_hover.scss +19 -7
- package/src/stylesheets/7-deprecated/5-components/_message.scss +4 -3
package/build/dist/lib/index.js
CHANGED
|
@@ -19575,8 +19575,10 @@ const UploadContent = ({
|
|
|
19575
19575
|
href: url,
|
|
19576
19576
|
download: true,
|
|
19577
19577
|
target: target || undefined,
|
|
19578
|
+
className: css_className(['download', 'download-link']),
|
|
19578
19579
|
children: children
|
|
19579
19580
|
}) : (0,jsx_runtime_namespaceObject.jsx)("span", {
|
|
19581
|
+
className: css_className('download'),
|
|
19580
19582
|
children: children
|
|
19581
19583
|
});
|
|
19582
19584
|
|
|
@@ -19606,22 +19608,19 @@ const Upload = _ref => {
|
|
|
19606
19608
|
event: event,
|
|
19607
19609
|
type: "upload"
|
|
19608
19610
|
}, props), {}, {
|
|
19609
|
-
children: (0,jsx_runtime_namespaceObject.jsxs)(
|
|
19610
|
-
|
|
19611
|
+
children: (0,jsx_runtime_namespaceObject.jsxs)(UploadContent, {
|
|
19612
|
+
url: url,
|
|
19613
|
+
target: !fromClient ? '_blank' : undefined,
|
|
19611
19614
|
children: [(0,jsx_runtime_namespaceObject.jsx)(icon, {
|
|
19612
19615
|
name: "download",
|
|
19613
19616
|
size: "16"
|
|
19614
|
-
}), (0,jsx_runtime_namespaceObject.
|
|
19615
|
-
|
|
19616
|
-
|
|
19617
|
-
children:
|
|
19618
|
-
|
|
19619
|
-
|
|
19620
|
-
|
|
19621
|
-
}), (0,jsx_runtime_namespaceObject.jsx)("span", {
|
|
19622
|
-
className: css_className('visually-hidden'),
|
|
19623
|
-
children: srText
|
|
19624
|
-
})]
|
|
19617
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("span", {
|
|
19618
|
+
"aria-hidden": "true",
|
|
19619
|
+
className: css_className('file-download'),
|
|
19620
|
+
children: filename
|
|
19621
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("span", {
|
|
19622
|
+
className: css_className('visually-hidden'),
|
|
19623
|
+
children: srText
|
|
19625
19624
|
})]
|
|
19626
19625
|
})
|
|
19627
19626
|
}));
|