optimized-react-component-library-xyz123 0.1.64 → 0.1.65

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
@@ -960,7 +960,7 @@ var SelectedFiles = ({
960
960
  }) => {
961
961
  const theDiv = (0, import_react6.useRef)(null);
962
962
  const remove = (file) => {
963
- let newFiles = questionObject.Files.filter((f) => f !== file);
963
+ let newFiles = questionObject.files.filter((f) => f !== file);
964
964
  const newCountOfFiles = newFiles.length;
965
965
  setNumberOfFiles(newCountOfFiles);
966
966
  const e = { target: { value: `${newCountOfFiles} files`, files: newFiles } };
@@ -1033,7 +1033,7 @@ var SelectedFiles = ({
1033
1033
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "sr-only", children: "Ta bort felmeddelande f\xF6r uppladdning av filer" })
1034
1034
  ] })
1035
1035
  ] }),
1036
- questionObject.Files.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("ul", { className: "fileListUnorderedList", "aria-label": "Uppladdade filer", children: questionObject.Files.map((file, index) => {
1036
+ questionObject.files.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("ul", { className: "fileListUnorderedList", "aria-label": "Uppladdade filer", children: questionObject.files.map((file, index) => {
1037
1037
  const indicatorfileName = file.FileName;
1038
1038
  let mobileFirstFileName = file.FileName.split(".").shift();
1039
1039
  mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
package/dist/index.mjs CHANGED
@@ -895,7 +895,7 @@ var SelectedFiles = ({
895
895
  }) => {
896
896
  const theDiv = useRef3(null);
897
897
  const remove = (file) => {
898
- let newFiles = questionObject.Files.filter((f) => f !== file);
898
+ let newFiles = questionObject.files.filter((f) => f !== file);
899
899
  const newCountOfFiles = newFiles.length;
900
900
  setNumberOfFiles(newCountOfFiles);
901
901
  const e = { target: { value: `${newCountOfFiles} files`, files: newFiles } };
@@ -968,7 +968,7 @@ var SelectedFiles = ({
968
968
  /* @__PURE__ */ jsx10("span", { className: "sr-only", children: "Ta bort felmeddelande f\xF6r uppladdning av filer" })
969
969
  ] })
970
970
  ] }),
971
- questionObject.Files.length > 0 && /* @__PURE__ */ jsx10("ul", { className: "fileListUnorderedList", "aria-label": "Uppladdade filer", children: questionObject.Files.map((file, index) => {
971
+ questionObject.files.length > 0 && /* @__PURE__ */ jsx10("ul", { className: "fileListUnorderedList", "aria-label": "Uppladdade filer", children: questionObject.files.map((file, index) => {
972
972
  const indicatorfileName = file.FileName;
973
973
  let mobileFirstFileName = file.FileName.split(".").shift();
974
974
  mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.1.64",
3
+ "version": "0.1.65",
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",