optimized-react-component-library-xyz123 0.1.88 → 0.1.89

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/dist/index.js CHANGED
@@ -784,7 +784,7 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
784
784
  }
785
785
  )
786
786
  ] }),
787
- isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("b", { className: "dropFilesNowText", children: language === "sv" ? "Sl\xE4pp filerna, nu ...!" : "Drop files here!" }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
787
+ isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("b", { className: "dropFilesNowText", children: language === "sv" ? "Sl\xE4pp filerna, nu ...!" : "Drop files here!" }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "dropFiles-label", children: [
788
788
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
789
789
  "svg",
790
790
  {
@@ -976,7 +976,7 @@ var SelectedFiles = ({
976
976
  };
977
977
  const windowWidth = useWindowWidth();
978
978
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
979
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: errorMessageAddingFile.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "pts-errorSummary-container", children: [
979
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: errorMessageAddingFile.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "pts-errorSummary-container pts-addFile-error-container", children: [
980
980
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
981
981
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "addFile-error-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
982
982
  "ul",
@@ -1009,8 +1009,7 @@ var SelectedFiles = ({
1009
1009
  },
1010
1010
  children: activatedLanguage === "sv" ? errorObj.svMessage : errorObj.enMessage
1011
1011
  }
1012
- ) }),
1013
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Row, { style: { marginTop: "12px", marginBottom: "12px" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_bootstrap.Col, { className: "makeSpace" }) })
1012
+ ) })
1014
1013
  ] }, index) }) }) }, `error-${errorObj.FileName}-${index}`) });
1015
1014
  })
1016
1015
  ]
package/dist/index.mjs CHANGED
@@ -719,7 +719,7 @@ var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h
719
719
  }
720
720
  )
721
721
  ] }),
722
- isDragActive ? /* @__PURE__ */ jsx6("b", { className: "dropFilesNowText", children: language === "sv" ? "Sl\xE4pp filerna, nu ...!" : "Drop files here!" }) : /* @__PURE__ */ jsxs6(Fragment6, { children: [
722
+ isDragActive ? /* @__PURE__ */ jsx6("b", { className: "dropFilesNowText", children: language === "sv" ? "Sl\xE4pp filerna, nu ...!" : "Drop files here!" }) : /* @__PURE__ */ jsxs6("div", { className: "dropFiles-label", children: [
723
723
  /* @__PURE__ */ jsx6(
724
724
  "svg",
725
725
  {
@@ -911,7 +911,7 @@ var SelectedFiles = ({
911
911
  };
912
912
  const windowWidth = useWindowWidth();
913
913
  return /* @__PURE__ */ jsxs8(Fragment10, { children: [
914
- /* @__PURE__ */ jsx10("div", { children: errorMessageAddingFile.length > 0 && /* @__PURE__ */ jsxs8("div", { className: "pts-errorSummary-container", children: [
914
+ /* @__PURE__ */ jsx10("div", { children: errorMessageAddingFile.length > 0 && /* @__PURE__ */ jsxs8("div", { className: "pts-errorSummary-container pts-addFile-error-container", children: [
915
915
  /* @__PURE__ */ jsx10("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
916
916
  /* @__PURE__ */ jsx10("div", { className: "addFile-error-list-container", children: /* @__PURE__ */ jsxs8(
917
917
  "ul",
@@ -944,8 +944,7 @@ var SelectedFiles = ({
944
944
  },
945
945
  children: activatedLanguage === "sv" ? errorObj.svMessage : errorObj.enMessage
946
946
  }
947
- ) }),
948
- /* @__PURE__ */ jsx10(Row, { style: { marginTop: "12px", marginBottom: "12px" }, children: /* @__PURE__ */ jsx10(Col, { className: "makeSpace" }) })
947
+ ) })
949
948
  ] }, index) }) }) }, `error-${errorObj.FileName}-${index}`) });
950
949
  })
951
950
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.1.88",
3
+ "version": "0.1.89",
4
4
  "description": "A modern React component library using TypeScript with React 19 support.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1948,6 +1948,31 @@ dd {
1948
1948
  margin-bottom: 0px;
1949
1949
  }
1950
1950
 
1951
+ .pts-addFile-error-container{
1952
+ display: inline-flex;
1953
+ }
1954
+ .pts-addFile-error-container li{
1955
+ display: flex;
1956
+ cursor: none;
1957
+ padding: 0 20px 1.6rem 0;
1958
+ }
1959
+
1960
+
1961
+ .desktopFileName {
1962
+ display: block;
1963
+ margin-bottom: 0.6rem;
1964
+ }
1965
+
1966
+ .error-close{
1967
+ color: #8E0039;
1968
+ font-weight: 400;
1969
+ line-height: 24px;
1970
+ background: #fff;
1971
+ border: none;
1972
+ cursor: pointer;
1973
+ font-size: 1.6rem;
1974
+ }
1975
+
1951
1976
  /* preview */
1952
1977
 
1953
1978
  /* .addFilesPreviewContainer {