@bigbinary/neeto-molecules 1.0.62 → 1.0.64

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": "1.0.62",
3
+ "version": "1.0.64",
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>",
@@ -10,8 +10,6 @@
10
10
  "delete": "Delete",
11
11
  "apply": "Apply",
12
12
  "add": "Add {{entity}}",
13
- "editTitle": "Edit {{entity}}",
14
- "addNew": "Add new {{entity}}",
15
13
  "reset": "Reset",
16
14
  "saveChanges": "Save changes",
17
15
  "publish": "Publish",
@@ -19,8 +17,6 @@
19
17
  "changeTimezone": "Change timezone",
20
18
  "rename": "Rename"
21
19
  },
22
- "andSentence": "{{first}} {{and}} {{last}}",
23
- "and": "and",
24
20
  "or": "or",
25
21
  "name": "name",
26
22
  "value": "value",
@@ -70,8 +66,6 @@
70
66
  "myOrganization": "My organization",
71
67
  "logout": "Log out",
72
68
  "help": "Help",
73
- "livechat": "Live chat",
74
- "keyboardShortcuts": "Keyboard shortcuts",
75
69
  "productSwitcher": "Product switcher",
76
70
  "helpLinks": {
77
71
  "liveChat": "Live chat",
@@ -81,8 +75,6 @@
81
75
  }
82
76
  },
83
77
  "appSwitcher": {
84
- "all": "All",
85
- "recent": "Recent",
86
78
  "noApps": "No apps found",
87
79
  "chooseNeetoProduct": "Choose your neeto product",
88
80
  "searchProducts": "Search products"
@@ -359,7 +351,6 @@
359
351
  "subject": "Subject",
360
352
  "emailBody": "Email body",
361
353
  "sendLater": "Send later",
362
- "emailAddress": "Email address",
363
354
  "additionalOptions": "Additional options",
364
355
  "reset": "Reset",
365
356
  "sendEmail": "Send email",
@@ -404,12 +395,9 @@
404
395
  "active": "Active",
405
396
  "defaultThemeName": "My theme",
406
397
  "addNewTheme": "Add new theme",
407
- "deleteTheme": "Are you sure you want to delete this theme?",
408
398
  "searchThemes": "Search themes",
409
399
  "systemThemes": "System themes",
410
400
  "customThemes": "Custom themes",
411
- "customThemesList": {},
412
- "systemThemesList": {},
413
401
  "backToThemes": "Back to themes",
414
402
  "name": "Name",
415
403
  "thankYouTextAlignment": "Thank you text alignment",
@@ -453,7 +441,6 @@
453
441
  "center": "Center align"
454
442
  },
455
443
  "error": {
456
- "somethingWentWrong": "Something went wrong. Please try again.",
457
444
  "fileSizeLimitExceeded": "Your file is larger than {{maxSizeInReadableUnits}}. Please try again with a smaller file.",
458
445
  "fileTypeError": "Please upload a file with one of the following file types: {{acceptedTypes}}."
459
446
  }
@@ -24,7 +24,7 @@ interface Variable {
24
24
  * label="Input with DynamicVariables"
25
25
  * name="subject"
26
26
  * suffix={
27
- * <Variables
27
+ * <DynamicVariables
28
28
  * dropdownProps={{ buttonStyle: "text" }}
29
29
  * variables={EDITOR_VARIABLES}
30
30
  * onVariableClick={variable => {
@@ -1,6 +1,20 @@
1
1
  import React from "react";
2
+ import { NavLinkProps } from "react-router-dom";
2
3
  import { AvatarProps } from "@bigbinary/neetoui";
3
- import { LinkType, NavLinkItemType } from "@bigbinary/neetoui/layouts";
4
+ type NavLinkItemType = {
5
+ to: string;
6
+ label?: React.ReactNode;
7
+ icon?: any;
8
+ description?: React.ReactNode;
9
+ } & React.PropsWithoutRef<NavLinkProps<any>> & React.RefAttributes<HTMLAnchorElement>;
10
+ type LinkType = {
11
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
12
+ label?: React.ReactNode;
13
+ icon?: any;
14
+ } & React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
15
+ type ChangeLogPropsType = LinkType & {
16
+ changesCount?: number;
17
+ };
4
18
  interface ProfileInfo {
5
19
  name?: string;
6
20
  email?: string;
@@ -13,7 +27,7 @@ interface ProfileInfo {
13
27
  interface HelpLinks {
14
28
  liveChatProps?: LinkType;
15
29
  helpCenterProps?: LinkType;
16
- changelogProps?: LinkType;
30
+ changelogProps?: ChangeLogType;
17
31
  keyboardShortcutProps?: LinkType;
18
32
  }
19
33
  /**