@careevolution/mydatahelps-ui 2.87.2-DocumentLibrary.6 → 2.87.2-DocumentLibrary.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.
package/dist/cjs/index.js CHANGED
@@ -133066,7 +133066,7 @@ function DocumentLibraryPreview(props) {
133066
133066
  return;
133067
133067
  }
133068
133068
  createAllLibraryDocumentsLoader(props.previewState).load(props.surveySpecification).then(documents => {
133069
- setDocuments(documents.sort(createLibraryDocumentSorter('name', 'desc')));
133069
+ setDocuments(documents.sort(createLibraryDocumentSorter('date', 'desc')));
133070
133070
  });
133071
133071
  }, [], [props.previewState]);
133072
133072
  if (!documents)
package/dist/esm/index.js CHANGED
@@ -133046,7 +133046,7 @@ function DocumentLibraryPreview(props) {
133046
133046
  return;
133047
133047
  }
133048
133048
  createAllLibraryDocumentsLoader(props.previewState).load(props.surveySpecification).then(documents => {
133049
- setDocuments(documents.sort(createLibraryDocumentSorter('name', 'desc')));
133049
+ setDocuments(documents.sort(createLibraryDocumentSorter('date', 'desc')));
133050
133050
  });
133051
133051
  }, [], [props.previewState]);
133052
133052
  if (!documents)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "2.87.2-DocumentLibrary.6",
3
+ "version": "2.87.2-DocumentLibrary.7",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",