elab_components 0.3.6 → 0.3.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.
@@ -1,6 +1,6 @@
1
1
  declare const props: () => {
2
2
  disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
3
- look: "flat" | "default" | "bare" | "outline";
3
+ look: "default" | "flat" | "bare" | "outline";
4
4
  icon: string;
5
5
  iconClass: string;
6
6
  imageAlt: string;
@@ -6,7 +6,7 @@ declare const props: () => {
6
6
  };
7
7
  export declare const buttonOneProps: () => {
8
8
  disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
9
- look: "flat" | "default" | "bare" | "outline";
9
+ look: "default" | "flat" | "bare" | "outline";
10
10
  icon: string;
11
11
  iconClass: string;
12
12
  imageAlt: string;
@@ -24,7 +24,7 @@ export declare const buttonOneProps: () => {
24
24
  };
25
25
  export declare const buttonTwoProps: () => {
26
26
  disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
27
- look: "flat" | "default" | "bare" | "outline";
27
+ look: "default" | "flat" | "bare" | "outline";
28
28
  icon: string;
29
29
  iconClass: string;
30
30
  imageAlt: string;
@@ -42,7 +42,7 @@ export declare const buttonTwoProps: () => {
42
42
  };
43
43
  export declare const buttonThreeProps: () => {
44
44
  disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
45
- look: "flat" | "default" | "bare" | "outline";
45
+ look: "default" | "flat" | "bare" | "outline";
46
46
  icon: string;
47
47
  iconClass: string;
48
48
  imageAlt: string;
@@ -3,7 +3,7 @@ declare const props: () => {
3
3
  className: string;
4
4
  dir: "auto" | "rtl" | "ltr";
5
5
  disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
6
- look: "flat" | "default" | "bare" | "outline";
6
+ look: "default" | "flat" | "bare" | "outline";
7
7
  icon: string;
8
8
  iconClass: string;
9
9
  imageAlt: string;
@@ -7,7 +7,7 @@ declare const props: () => {
7
7
  icon: string;
8
8
  iconClass: string;
9
9
  imageUrl: string;
10
- look: "flat" | "default" | "bare" | "outline";
10
+ look: "default" | "flat" | "bare" | "outline";
11
11
  onBlur: import("@storybook/addon-actions").HandlerFunction;
12
12
  onButtonClick: import("@storybook/addon-actions").HandlerFunction;
13
13
  onClose: import("@storybook/addon-actions").HandlerFunction;
package/dist/index.esm.js CHANGED
@@ -31187,7 +31187,7 @@ var OkGrid = function (_a) {
31187
31187
  setSelectedFilterData(__assign(__assign({}, selectedFilterData), { data: data }));
31188
31188
  }, [dataState, searchKeyword]);
31189
31189
  var getCellComponent = function (col) {
31190
- if (col.navigate !== undefined)
31190
+ if (col.navigate !== undefined && col.navigate !== null)
31191
31191
  return function (e) { return navigateToNewPage(e, col.navigate); };
31192
31192
  if (col.function === 'UnitPriceCell')
31193
31193
  return UnitPriceCell;
package/dist/index.js CHANGED
@@ -31215,7 +31215,7 @@ var OkGrid = function (_a) {
31215
31215
  setSelectedFilterData(__assign(__assign({}, selectedFilterData), { data: data }));
31216
31216
  }, [dataState, searchKeyword]);
31217
31217
  var getCellComponent = function (col) {
31218
- if (col.navigate !== undefined)
31218
+ if (col.navigate !== undefined && col.navigate !== null)
31219
31219
  return function (e) { return navigateToNewPage(e, col.navigate); };
31220
31220
  if (col.function === 'UnitPriceCell')
31221
31221
  return UnitPriceCell;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elab_components",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "private": false,
5
5
  "author": "Amar",
6
6
  "main": "dist/index.js",