@bigbinary/neeto-molecules 1.0.5 → 1.0.7

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.
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var DateFormat = require('@bigbinary/neeto-molecules/DateFormat');
4
+
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
+
7
+ var DateFormat__default = /*#__PURE__*/_interopDefaultLegacy(DateFormat);
8
+
9
+ var TimeFormat = DateFormat__default["default"];
10
+
11
+ module.exports = TimeFormat;
@@ -0,0 +1,5 @@
1
+ import DateFormat from '@bigbinary/neeto-molecules/DateFormat';
2
+
3
+ var TimeFormat = DateFormat;
4
+
5
+ export { TimeFormat as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
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>",
@@ -38,6 +38,7 @@
38
38
  "@bigbinary/neeto-commons-frontend": "^2.0.39",
39
39
  "@bigbinary/neeto-editor": "^1.23.3",
40
40
  "@bigbinary/neeto-icons": "^1.9.15",
41
+ "@bigbinary/neeto-molecules": "^1.0.5",
41
42
  "@bigbinary/neetoui": "4.4.3",
42
43
  "@honeybadger-io/react": "2.0.1",
43
44
  "@rollup/plugin-alias": "^3.1.9",
@@ -117,8 +118,9 @@
117
118
  "dependencies": {},
118
119
  "peerDependencies": {
119
120
  "@bigbinary/neeto-commons-frontend": "^2.0.39",
121
+ "@bigbinary/neeto-editor": "latest",
120
122
  "@bigbinary/neeto-icons": "^1.9.15",
121
- "@bigbinary/neeto-molecules": "^1.0.0",
123
+ "@bigbinary/neeto-molecules": "^1.0.5",
122
124
  "@bigbinary/neetoui": "^4.4.3",
123
125
  "@honeybadger-io/react": "2.0.1",
124
126
  "@svgr/webpack": "^6.5.1",
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+
3
+ import { TooltipProps, TypographyProps } from "@bigbinary/neetoui";
4
+ import {
5
+ timeFormat,
6
+ DateTimeType,
7
+ } from "@bigbinary/neeto-commons-frontend/utils";
8
+
9
+ const DateFormat: {
10
+ [key in Capitalize<keyof typeof timeFormat>]: React.FC<{
11
+ date: DateTimeType;
12
+ typographyProps?: Partial<TypographyProps>;
13
+ tooltipProps?: Partial<TooltipProps>;
14
+ }>;
15
+ };
16
+
17
+ export default DateFormat;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import { DropdownProps } from "@bigbinary/neetoui";
3
+
4
+ interface Variable {
5
+ label?: string;
6
+ key?: string;
7
+ value?: string;
8
+ category?: string;
9
+ variables?: Omit<Variable, "variables">[]
10
+ }
11
+
12
+ const DynamicVariables: React.FC<{
13
+ onVariableClick?: (variable: Variable) => void;
14
+ variables: Variable[];
15
+ dropdownProps?: DropdownProps;
16
+ }>;
17
+
18
+ export default DynamicVariables;
@@ -0,0 +1,5 @@
1
+ import DateFormat from "@bigbinary/neeto-molecules/DateFormat";
2
+
3
+ const TimeFormat = DateFormat;
4
+
5
+ export default TimeFormat;