@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/dist/CalendarView.js +9 -8
- package/dist/CalendarView.js.map +1 -1
- package/dist/ShareViaEmail.js +5 -6
- package/dist/ShareViaEmail.js.map +1 -1
- package/package.json +1 -1
- package/types/CalendarView.d.ts +22 -0
- package/types/DownloadMobileAppCallout.d.ts +2 -2
- package/types/ShareViaEmail.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-molecules",
|
|
3
|
-
"version": "1.1.
|
|
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>",
|
package/types/CalendarView.d.ts
CHANGED
|
@@ -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
|
|
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<{
|
package/types/ShareViaEmail.d.ts
CHANGED