@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.
@@ -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("div", {
27675
- className: css_className('download'),
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(UploadContent, {
27680
- url: url,
27681
- target: !fromClient ? '_blank' : undefined,
27682
- children: [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
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
  }));