@bigbinary/neeto-molecules 3.8.3 → 3.9.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.
@@ -36,7 +36,7 @@ var PageLoader = function PageLoader(_ref) {
36
36
  })
37
37
  }));
38
38
  };
39
- var index = /*#__PURE__*/React.memo(PageLoader);
39
+ var PageLoader$1 = /*#__PURE__*/React.memo(PageLoader);
40
40
 
41
- module.exports = index;
41
+ module.exports = PageLoader$1;
42
42
  //# sourceMappingURL=PageLoader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageLoader.js","sources":["../../src/components/PageLoader/index.jsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport { Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\n\nimport \"./page-loader.scss\";\n\n// Please update the https://github.com/bigbinary/neeto-commons-backend/blob/main/app/views/shared/_page_loader.html.erb#L1\n// whenever there are some changes in the JSX.\n// Styles changes will be handled by the release process.\nconst PageLoader = ({ text = \"\", ...otherProps }) => (\n <div className=\"neeto-molecules-pageloader__wrapper\" {...otherProps}>\n <div className=\"neeto-molecules-pageloader neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-justify-center\">\n <div\n className=\"neeto-molecules-pageloader__content neeto-ui-flex neeto-ui-flex-shrink-0 neeto-ui-items-center neeto-ui-justify-center\"\n data-cy=\"neeto-molecules-pageloader\"\n >\n <div className=\"neeto-molecules-pageloader__loader\" />\n </div>\n {text && (\n <Typography style=\"h5\" weight=\"semibold\">\n {text}\n </Typography>\n )}\n </div>\n </div>\n);\n\nPageLoader.propTypes = {\n /**\n * Text to indicate loading status (optional).\n */\n text: PropTypes.string,\n};\n\nexport default memo(PageLoader);\n"],"names":["PageLoader","_ref","_ref$text","text","otherProps","_objectWithoutProperties","_excluded","_jsx","_objectSpread","className","children","_jsxs","Typography","style","weight","memo"],"mappings":";;;;;;;;;;;;;;;AAUA,IAAMA,UAAU,GAAG,SAAbA,UAAUA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CAAME,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,EAAE,GAAAA,SAAA;AAAKE,IAAAA,UAAU,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;AAAA,EAAA,oBAC5CC,cAAA,CAAA,KAAA,EAAAC,aAAA,CAAAA,aAAA,CAAA;AAAKC,IAAAA,SAAS,EAAC,qCAAA;AAAqC,GAAA,EAAKL,UAAU,CAAA,EAAA,EAAA,EAAA;AAAAM,IAAAA,QAAA,eACjEC,eAAA,CAAA,KAAA,EAAA;AAAKF,MAAAA,SAAS,EAAC,0GAA0G;AAAAC,MAAAA,QAAA,gBACvHH,cAAA,CAAA,KAAA,EAAA;AACEE,QAAAA,SAAS,EAAC,wHAAwH;AAClI,QAAA,SAAA,EAAQ,4BAA4B;AAAAC,QAAAA,QAAA,eAEpCH,cAAA,CAAA,KAAA,EAAA;AAAKE,UAAAA,SAAS,EAAC,oCAAA;SAAsC,CAAA;AAAC,OACnD,CAAC,EACLN,IAAI,iBACHI,cAAA,CAACK,UAAU,EAAA;AAACC,QAAAA,KAAK,EAAC,IAAI;AAACC,QAAAA,MAAM,EAAC,UAAU;AAAAJ,QAAAA,QAAA,EACrCP,IAAAA;AAAI,OACK,CACb,CAAA;KACE,CAAA;AAAC,GAAA,CACH,CAAC,CAAA;AAAA,CACP,CAAA;AASD,YAAeY,aAAAA,UAAI,CAACf,UAAU,CAAC;;;;"}
1
+ {"version":3,"file":"PageLoader.js","sources":["../../src/components/PageLoader/index.jsx"],"sourcesContent":["import { memo } from \"react\";\n\nimport { Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\n\nimport \"./page-loader.scss\";\n\n// Please update the https://github.com/bigbinary/neeto-commons-backend/blob/main/app/views/shared/_page_loader.html.erb#L1\n// whenever there are some changes in the JSX.\n// Styles changes will be handled by the release process.\nconst PageLoader = ({ text = \"\", ...otherProps }) => (\n <div className=\"neeto-molecules-pageloader__wrapper\" {...otherProps}>\n <div className=\"neeto-molecules-pageloader neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-justify-center\">\n <div\n className=\"neeto-molecules-pageloader__content neeto-ui-flex neeto-ui-flex-shrink-0 neeto-ui-items-center neeto-ui-justify-center\"\n data-cy=\"neeto-molecules-pageloader\"\n >\n <div className=\"neeto-molecules-pageloader__loader\" />\n </div>\n {text && (\n <Typography style=\"h5\" weight=\"semibold\">\n {text}\n </Typography>\n )}\n </div>\n </div>\n);\n\nPageLoader.propTypes = {\n /**\n * Text to indicate loading status (optional).\n */\n text: PropTypes.string,\n};\n\nexport default memo(PageLoader);\n"],"names":["PageLoader","_ref","_ref$text","text","otherProps","_objectWithoutProperties","_excluded","_jsx","_objectSpread","className","children","_jsxs","Typography","style","weight","memo"],"mappings":";;;;;;;;;;;;;;;AAUA,IAAMA,UAAU,GAAG,SAAbA,UAAUA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CAAME,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,EAAE,GAAAA,SAAA;AAAKE,IAAAA,UAAU,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;AAAA,EAAA,oBAC5CC,cAAA,CAAA,KAAA,EAAAC,aAAA,CAAAA,aAAA,CAAA;AAAKC,IAAAA,SAAS,EAAC,qCAAA;AAAqC,GAAA,EAAKL,UAAU,CAAA,EAAA,EAAA,EAAA;AAAAM,IAAAA,QAAA,eACjEC,eAAA,CAAA,KAAA,EAAA;AAAKF,MAAAA,SAAS,EAAC,0GAA0G;AAAAC,MAAAA,QAAA,gBACvHH,cAAA,CAAA,KAAA,EAAA;AACEE,QAAAA,SAAS,EAAC,wHAAwH;AAClI,QAAA,SAAA,EAAQ,4BAA4B;AAAAC,QAAAA,QAAA,eAEpCH,cAAA,CAAA,KAAA,EAAA;AAAKE,UAAAA,SAAS,EAAC,oCAAA;SAAsC,CAAA;AAAC,OACnD,CAAC,EACLN,IAAI,iBACHI,cAAA,CAACK,UAAU,EAAA;AAACC,QAAAA,KAAK,EAAC,IAAI;AAACC,QAAAA,MAAM,EAAC,UAAU;AAAAJ,QAAAA,QAAA,EACrCP,IAAAA;AAAI,OACK,CACb,CAAA;KACE,CAAA;AAAC,GAAA,CACH,CAAC,CAAA;AAAA,CACP,CAAA;AASD,mBAAeY,aAAAA,UAAI,CAACf,UAAU,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "3.8.3",
3
+ "version": "3.9.1",
4
4
  "description": "A package of reusable molecular components for neeto products.",
5
5
  "repository": "git@github.com:bigbinary/neeto-molecules.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -332,6 +332,59 @@
332
332
  "expired": "Expired"
333
333
  }
334
334
  },
335
+ "auditLogs": {
336
+ "title": "Audit Logs",
337
+ "noData": "No audit logs found.",
338
+ "noError": "Error details are not available. Please check the logs for more information.",
339
+ "table": {
340
+ "headers": {
341
+ "action": "Action",
342
+ "status": "Status",
343
+ "performedBy": "Performed by",
344
+ "performedAt": "Performed at",
345
+ "additionalDetails": "Additional details"
346
+ }
347
+ },
348
+ "actions": {
349
+ "invitedUsers": "Invited users",
350
+ "userSignedUp": "User signed up",
351
+ "updatedUser": "Updated user",
352
+ "bulkUpdateUsers": "Bulk updated users",
353
+ "updatedUserProfile": "Updated user profile",
354
+ "createdRole": "Created organization role",
355
+ "updatedRole": "Updated organization role",
356
+ "deletedRole": "Deleted organization role"
357
+ },
358
+ "additionalDetails": {
359
+ "title": "Additional details",
360
+ "action": "<strong>Action:</strong> {{value, anyCase}}",
361
+ "performedBy": "<strong>Performed by:</strong> {{value, anyCase}}",
362
+ "performedAt": "<strong>Performed at:</strong> {{value, anyCase}}",
363
+ "product": "<strong>Product:</strong> {{value, anyCase}}",
364
+ "changesMadeBy": "<strong>Changes made by:</strong> {{value, anyCase}}",
365
+ "name": "<strong>New user name:</strong> {{value, anyCase}}",
366
+ "organizationRole": "<strong>Organization role:</strong> {{value, anyCase}}",
367
+ "addedPermissions": "<strong>Permissions added:</strong> {{value, anyCase}}",
368
+ "removedPermissions": "<strong>Permissions removed:</strong> {{value, anyCase}}",
369
+ "details": "<strong>Details:</strong> {{value, anyCase}}",
370
+ "errorMessage": "<strong>Error:</strong> {{value, anyCase}}"
371
+ },
372
+ "details": {
373
+ "emails": {
374
+ "title": "Emails"
375
+ },
376
+ "changelog": {
377
+ "field": "Field",
378
+ "from": "From",
379
+ "to": "To",
380
+ "true": "True",
381
+ "false": "False"
382
+ },
383
+ "permissions": {
384
+ "description": "Description"
385
+ }
386
+ }
387
+ },
335
388
  "ipRestriction": {
336
389
  "switchLabel": "Enable IP restriction",
337
390
  "description": "Restrict access to only trusted locations and networks by defining the range of allowed IP addresses.",
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ /**
3
+ *
4
+ * A full-page component that allows you to track user activities, including
5
+ *
6
+ * sign-ups, profile updates, and invitations. It provides detailed log entries
7
+ *
8
+ * with metadata.
9
+ *
10
+ * @example
11
+ *
12
+ * import NeetoAuditLogs from "@bigbinary/neeto-molecules/AuditLogs";
13
+ *
14
+ * const AuditLogs = () => <NeetoAuditLogs />;
15
+ * @endexample
16
+ */
17
+ const AuditLogs: React.FC<{}>;
18
+ export default AuditLogs;