mainstack-design-system 0.3.6 → 0.3.7

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.
@@ -63604,11 +63604,11 @@ const Xue = ({
63604
63604
  ...m
63605
63605
  }) => {
63606
63606
  const p = Lt(null), v = () => {
63607
- const y = document.createElement("input");
63608
- p.current.getEditor(), y.setAttribute("type", "file"), y.setAttribute("accept", "image/*"), y.click(), y.onchange = () => {
63607
+ let y;
63608
+ window && (y = document.createElement("input"), p.current.getEditor(), y.setAttribute("type", "file"), y.setAttribute("accept", "image/*"), y.click(), y.onchange = () => {
63609
63609
  const b = y && y.files && y.files[0];
63610
63610
  b && d(b);
63611
- };
63611
+ });
63612
63612
  }, g = z1(
63613
63613
  () => ({
63614
63614
  toolbar: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",