@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.
@@ -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)("div", {
19610
- className: css_className('download'),
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.jsxs)(UploadContent, {
19615
- url: url,
19616
- target: !fromClient ? '_blank' : undefined,
19617
- children: [(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
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
  }));