@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
|
@@ -27640,8 +27640,10 @@ const UploadContent = ({
|
|
|
27640
27640
|
href: url,
|
|
27641
27641
|
download: true,
|
|
27642
27642
|
target: target || undefined,
|
|
27643
|
+
className: css_className(['download', 'download-link']),
|
|
27643
27644
|
children: children
|
|
27644
27645
|
}) : jsxRuntime_module_e("span", {
|
|
27646
|
+
className: css_className('download'),
|
|
27645
27647
|
children: children
|
|
27646
27648
|
});
|
|
27647
27649
|
|
|
@@ -27671,22 +27673,19 @@ const Upload = _ref => {
|
|
|
27671
27673
|
event: event,
|
|
27672
27674
|
type: "upload"
|
|
27673
27675
|
}, props), {}, {
|
|
27674
|
-
children: jsxRuntime_module_e(
|
|
27675
|
-
|
|
27676
|
+
children: jsxRuntime_module_e(UploadContent, {
|
|
27677
|
+
url: url,
|
|
27678
|
+
target: !fromClient ? '_blank' : undefined,
|
|
27676
27679
|
children: [jsxRuntime_module_e(icon, {
|
|
27677
27680
|
name: "download",
|
|
27678
27681
|
size: "16"
|
|
27679
|
-
}), jsxRuntime_module_e(
|
|
27680
|
-
|
|
27681
|
-
|
|
27682
|
-
children:
|
|
27683
|
-
|
|
27684
|
-
|
|
27685
|
-
|
|
27686
|
-
}), jsxRuntime_module_e("span", {
|
|
27687
|
-
className: css_className('visually-hidden'),
|
|
27688
|
-
children: srText
|
|
27689
|
-
})]
|
|
27682
|
+
}), jsxRuntime_module_e("span", {
|
|
27683
|
+
"aria-hidden": "true",
|
|
27684
|
+
className: css_className('file-download'),
|
|
27685
|
+
children: filename
|
|
27686
|
+
}), jsxRuntime_module_e("span", {
|
|
27687
|
+
className: css_className('visually-hidden'),
|
|
27688
|
+
children: srText
|
|
27690
27689
|
})]
|
|
27691
27690
|
})
|
|
27692
27691
|
}));
|