@bigbinary/neeto-molecules 3.15.25 → 3.15.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "3.15.25",
3
+ "version": "3.15.26",
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>",
@@ -458,7 +458,9 @@
458
458
  "inputLabel": "Your current link is given below",
459
459
  "description": "Once a new link is generated then the current link will stop working. This can't be undone.",
460
460
  "submitButtonLabel": "Regenerate link",
461
- "cancelButtonLabel": "Cancel"
461
+ "cancelButtonLabel": "Cancel",
462
+ "expiresInLabel": "Newly generated link will expire in",
463
+ "expiresOnLabel": "Date"
462
464
  },
463
465
  "editUrl": {
464
466
  "title": "Customize link",
@@ -486,6 +488,12 @@
486
488
  "dragNDrop": "Drag and drop or <Button>Browse</Button> a file.",
487
489
  "supportedFormat": "Only <code>{{fileType, anyCase}}</code> files are supported.",
488
490
  "supportedSize": "Maximum allowed file size is {{fileSize}} KB."
491
+ },
492
+ "expiryNotice": {
493
+ "expiresToday": "This link will expire today.",
494
+ "daysRemaining_one": "This link will expire in {{count}} day.",
495
+ "daysRemaining_other": "This link will expire in {{count}} days.",
496
+ "expired": "This link has expired."
489
497
  }
490
498
  },
491
499
  "keyboardShortcuts": {
@@ -14,6 +14,12 @@ type MoreOptions = {
14
14
  dataCy: string;
15
15
  subtitleProps?: SubtitleProps;
16
16
  };
17
+ type RegenerateConfig = {
18
+ expiresInOptions: Array<{
19
+ label: string;
20
+ value: string;
21
+ }>;
22
+ };
17
23
  /**
18
24
  *
19
25
  * A common component to share the link in multiple ways.
@@ -149,7 +155,7 @@ type MoreOptions = {
149
155
  declare const ShareViaLink: React.FC<{
150
156
  isLoading?: boolean;
151
157
  enabledOptions?: {
152
- regenerate?: boolean;
158
+ regenerate?: boolean | RegenerateConfig;
153
159
  edit?: boolean;
154
160
  };
155
161
  entity: {