@bigbinary/neeto-molecules 1.1.53 → 1.1.55

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.1.53",
3
+ "version": "1.1.55",
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>",
@@ -5,6 +5,7 @@ type ViewOption = {
5
5
  label: string;
6
6
  fullCalendarView: string;
7
7
  picker: string;
8
+ default?: boolean;
8
9
  };
9
10
  type ViewOptionsType = {
10
11
  [key: string]: ViewOption;
@@ -26,6 +27,27 @@ interface EventObject {
26
27
  * @endexample
27
28
  * @example
28
29
  *
30
+ * viewOptions: {
31
+ * ["Daily"]: {
32
+ * label: "Daily",
33
+ * fullCalendarView: "timeGridDay",
34
+ * picker: "day",
35
+ * },
36
+ * ["Weekly"]: {
37
+ * label: "Weekly",
38
+ * fullCalendarView: "timeGridWeek",
39
+ * picker: "week",
40
+ * default: true, //default initial view can be set by adding 'default: true'
41
+ * },
42
+ * ["Monthly"]: {
43
+ * label: "Monthly",
44
+ * fullCalendarView: "dayGridMonth",
45
+ * picker: "month",
46
+ * },
47
+ * },
48
+ * @endexample
49
+ * @example
50
+ *
29
51
  * import CalendarView from "@bigbinary/neeto-molecules/CalendarView";
30
52
  *
31
53
  * const MONTHLY_VIEW = "Monthly";
@@ -22,9 +22,9 @@ import React from "react";
22
22
  *
23
23
  * <DownloadMobileAppCallout excludePathRegex={PUBLIC_ROUTE_REGEX} />
24
24
  * @endexample
25
- * With this change, the DownloadMobileAppCallout component won't display callout for any path that
25
+ * With this change, the DownloadMobileAppCallout component won't display callout
26
26
  *
27
- * starts with "/public".
27
+ * for any path that starts with "/public".
28
28
  *
29
29
  */
30
30
  const DownloadMobileAppCallout: React.FC<{
@@ -70,7 +70,7 @@ const ShareViaEmail: React.FC<{
70
70
  children?: React.ReactNode;
71
71
  description?: string;
72
72
  disableReplyTo?: boolean;
73
- isSendFromDisabled?: boolean;
73
+ showSendFromField?: boolean;
74
74
  productName?: string;
75
75
  defaultValues?: {
76
76
  sendFromEmail?: string;