@cakemail-org/ui-components-v2 2.1.57 → 2.1.59

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.
@@ -107,6 +107,7 @@ export declare enum EIconName {
107
107
  "Uptime32" = "Uptime32",
108
108
  "CreateWidget44" = "CreateWidget44",
109
109
  "EmptyFolder44" = "EmptyFolder44",
110
+ "EmptyList44" = "EmptyList44",
110
111
  "CreateForm44" = "CreateForm44",
111
112
  "Stats44" = "Stats44",
112
113
  "Upload44" = "Upload44"
@@ -0,0 +1,4 @@
1
+ import { SvgIconProps } from '@mui/material/SvgIcon';
2
+ import React from "react";
3
+ declare function EmptyList44(props: SvgIconProps): React.JSX.Element;
4
+ export default EmptyList44;
package/dist/cjs/index.js CHANGED
@@ -301,7 +301,8 @@ var Button = /** @class */ (function (_super) {
301
301
  };
302
302
  Button.prototype.render = function () {
303
303
  var isDisabled = typeof this.props.disabled === "boolean" ? this.props.disabled : this.state.disabled;
304
- return React.createElement(LoadingButton, __assign({}, this.props, { className: "".concat(this.props.className, " ").concat(this.props.iconOnly ? "iconOnly" : ""), disabled: isDisabled, loading: this.state.isLoading, onClick: this.handleOnClick, color: this.props.color }), this.props.children);
304
+ var _a = this.props, className = _a.className, iconOnly = _a.iconOnly; _a.animated; var rest = __rest(_a, ["className", "iconOnly", "animated"]);
305
+ return React.createElement(LoadingButton, __assign({}, rest, { className: "".concat(className, " ").concat(iconOnly ? "iconOnly" : ""), disabled: isDisabled, loading: this.state.isLoading, onClick: this.handleOnClick, color: this.props.color }), this.props.children);
305
306
  };
306
307
  return Button;
307
308
  }(React.Component));
@@ -1347,6 +1348,13 @@ function EmptyFolder(props) {
1347
1348
  React.createElement("path", { d: "M26.0002 20.5V18.5H24.0002V20.5H26.0002Z" }));
1348
1349
  }
1349
1350
 
1351
+ function EmptyList44(props) {
1352
+ return React.createElement(SvgIcon, __assign({}, props, { width: "46", height: "44", viewBox: "0 0 46 44" }),
1353
+ React.createElement("path", { className: "noFill", d: "M42.2808 30C43.2976 27.5343 43.8584 24.8327 43.8584 22C43.8584 10.402 34.4564 1 22.8584 1C11.2604 1 1.8584 10.402 1.8584 22C1.8584 33.598 11.2604 43 22.8584 43C25.6182 43 28.2536 42.4676 30.6677 41.5", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1354
+ React.createElement("path", { className: "noFill", d: "M7.8584 7L32.8584 32", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1355
+ React.createElement("path", { className: "noFill", d: "M37.8584 31V43M43.8584 37H31.8584", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", fill: "none" }));
1356
+ }
1357
+
1350
1358
  function Stats44(props) {
1351
1359
  return React.createElement(SvgIcon, __assign({}, props, { width: "44", height: "44", viewBox: "0 0 44 44" }),
1352
1360
  React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 28.5H2V42.5H14V28.5H16V42.5H28V28.5H30V42.5H42V28.5H44V42.5V44.5H42H30H28H16H14H2H0V42.5V28.5Z" }),
@@ -1490,6 +1498,7 @@ function Icon(_a) {
1490
1498
  Uptime32: Uptime32,
1491
1499
  CreateWidget44: CreateWidget44,
1492
1500
  EmptyFolder44: EmptyFolder,
1501
+ EmptyList44: EmptyList44,
1493
1502
  CreateForm44: CreateForm44,
1494
1503
  Stats44: Stats44,
1495
1504
  Upload44: Upload44,
@@ -11087,7 +11096,6 @@ function InlineTextEdit(_a) {
11087
11096
  offsetWidthOfSpan = 150;
11088
11097
  }
11089
11098
  var offsetHeightOfSpan = ((_c = spanRef === null || spanRef === void 0 ? void 0 : spanRef.current) === null || _c === void 0 ? void 0 : _c.offsetHeight) || 20;
11090
- console.log("offsetWidthOfSpan", value);
11091
11099
  var classes = classNames("inlineTextEdit-component-v2", {
11092
11100
  "editing": editing,
11093
11101
  "disabled": disabled
@@ -17829,7 +17837,6 @@ var ListPopupModel = /** @class */ (function () {
17829
17837
  this.trigger = params.trigger;
17830
17838
  this.targeting = params.targeting;
17831
17839
  this.display_frequency = params.display_frequency;
17832
- this.published_content_url = params.published_content_url;
17833
17840
  this.thumbnail_url = params.thumbnail_url;
17834
17841
  }
17835
17842
  ListPopupModel.prototype.toJson = function () {
@@ -16,7 +16,6 @@ export declare class ListPopupModel {
16
16
  trigger: TPopupTrigger;
17
17
  targeting: TPopupTargeting;
18
18
  display_frequency: EPopupDisplayFrequency;
19
- published_content_url: string | null;
20
19
  thumbnail_url: string;
21
20
  constructor(params: TPopupModel);
22
21
  toJson(): any;
@@ -14,7 +14,6 @@ export type TPopupModel = {
14
14
  trigger: TPopupTrigger;
15
15
  targeting: TPopupTargeting;
16
16
  display_frequency: EPopupDisplayFrequency;
17
- published_content_url: string | null;
18
17
  thumbnail_url: string;
19
18
  };
20
19
  export type TPopupUser = {
@@ -42,6 +41,7 @@ export type TPopupTargeting = {
42
41
  export type TPopupContent = {
43
42
  position: EPopupPosition;
44
43
  json?: Record<string, any>;
44
+ published_content_url?: string | null;
45
45
  };
46
46
  export declare enum EPopupTriggerType {
47
47
  on_page_load = "on_page_load",
@@ -107,6 +107,7 @@ export declare enum EIconName {
107
107
  "Uptime32" = "Uptime32",
108
108
  "CreateWidget44" = "CreateWidget44",
109
109
  "EmptyFolder44" = "EmptyFolder44",
110
+ "EmptyList44" = "EmptyList44",
110
111
  "CreateForm44" = "CreateForm44",
111
112
  "Stats44" = "Stats44",
112
113
  "Upload44" = "Upload44"
@@ -0,0 +1,4 @@
1
+ import { SvgIconProps } from '@mui/material/SvgIcon';
2
+ import React from "react";
3
+ declare function EmptyList44(props: SvgIconProps): React.JSX.Element;
4
+ export default EmptyList44;
package/dist/esm/index.js CHANGED
@@ -281,7 +281,8 @@ var Button = /** @class */ (function (_super) {
281
281
  };
282
282
  Button.prototype.render = function () {
283
283
  var isDisabled = typeof this.props.disabled === "boolean" ? this.props.disabled : this.state.disabled;
284
- return React__default.createElement(LoadingButton, __assign({}, this.props, { className: "".concat(this.props.className, " ").concat(this.props.iconOnly ? "iconOnly" : ""), disabled: isDisabled, loading: this.state.isLoading, onClick: this.handleOnClick, color: this.props.color }), this.props.children);
284
+ var _a = this.props, className = _a.className, iconOnly = _a.iconOnly; _a.animated; var rest = __rest(_a, ["className", "iconOnly", "animated"]);
285
+ return React__default.createElement(LoadingButton, __assign({}, rest, { className: "".concat(className, " ").concat(iconOnly ? "iconOnly" : ""), disabled: isDisabled, loading: this.state.isLoading, onClick: this.handleOnClick, color: this.props.color }), this.props.children);
285
286
  };
286
287
  return Button;
287
288
  }(Component));
@@ -1327,6 +1328,13 @@ function EmptyFolder(props) {
1327
1328
  React__default.createElement("path", { d: "M26.0002 20.5V18.5H24.0002V20.5H26.0002Z" }));
1328
1329
  }
1329
1330
 
1331
+ function EmptyList44(props) {
1332
+ return React__default.createElement(SvgIcon, __assign({}, props, { width: "46", height: "44", viewBox: "0 0 46 44" }),
1333
+ React__default.createElement("path", { className: "noFill", d: "M42.2808 30C43.2976 27.5343 43.8584 24.8327 43.8584 22C43.8584 10.402 34.4564 1 22.8584 1C11.2604 1 1.8584 10.402 1.8584 22C1.8584 33.598 11.2604 43 22.8584 43C25.6182 43 28.2536 42.4676 30.6677 41.5", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1334
+ React__default.createElement("path", { className: "noFill", d: "M7.8584 7L32.8584 32", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1335
+ React__default.createElement("path", { className: "noFill", d: "M37.8584 31V43M43.8584 37H31.8584", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", fill: "none" }));
1336
+ }
1337
+
1330
1338
  function Stats44(props) {
1331
1339
  return React__default.createElement(SvgIcon, __assign({}, props, { width: "44", height: "44", viewBox: "0 0 44 44" }),
1332
1340
  React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 28.5H2V42.5H14V28.5H16V42.5H28V28.5H30V42.5H42V28.5H44V42.5V44.5H42H30H28H16H14H2H0V42.5V28.5Z" }),
@@ -1470,6 +1478,7 @@ function Icon(_a) {
1470
1478
  Uptime32: Uptime32,
1471
1479
  CreateWidget44: CreateWidget44,
1472
1480
  EmptyFolder44: EmptyFolder,
1481
+ EmptyList44: EmptyList44,
1473
1482
  CreateForm44: CreateForm44,
1474
1483
  Stats44: Stats44,
1475
1484
  Upload44: Upload44,
@@ -11067,7 +11076,6 @@ function InlineTextEdit(_a) {
11067
11076
  offsetWidthOfSpan = 150;
11068
11077
  }
11069
11078
  var offsetHeightOfSpan = ((_c = spanRef === null || spanRef === void 0 ? void 0 : spanRef.current) === null || _c === void 0 ? void 0 : _c.offsetHeight) || 20;
11070
- console.log("offsetWidthOfSpan", value);
11071
11079
  var classes = classNames("inlineTextEdit-component-v2", {
11072
11080
  "editing": editing,
11073
11081
  "disabled": disabled
@@ -17809,7 +17817,6 @@ var ListPopupModel = /** @class */ (function () {
17809
17817
  this.trigger = params.trigger;
17810
17818
  this.targeting = params.targeting;
17811
17819
  this.display_frequency = params.display_frequency;
17812
- this.published_content_url = params.published_content_url;
17813
17820
  this.thumbnail_url = params.thumbnail_url;
17814
17821
  }
17815
17822
  ListPopupModel.prototype.toJson = function () {
@@ -16,7 +16,6 @@ export declare class ListPopupModel {
16
16
  trigger: TPopupTrigger;
17
17
  targeting: TPopupTargeting;
18
18
  display_frequency: EPopupDisplayFrequency;
19
- published_content_url: string | null;
20
19
  thumbnail_url: string;
21
20
  constructor(params: TPopupModel);
22
21
  toJson(): any;
@@ -14,7 +14,6 @@ export type TPopupModel = {
14
14
  trigger: TPopupTrigger;
15
15
  targeting: TPopupTargeting;
16
16
  display_frequency: EPopupDisplayFrequency;
17
- published_content_url: string | null;
18
17
  thumbnail_url: string;
19
18
  };
20
19
  export type TPopupUser = {
@@ -42,6 +41,7 @@ export type TPopupTargeting = {
42
41
  export type TPopupContent = {
43
42
  position: EPopupPosition;
44
43
  json?: Record<string, any>;
44
+ published_content_url?: string | null;
45
45
  };
46
46
  export declare enum EPopupTriggerType {
47
47
  on_page_load = "on_page_load",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.1.57",
3
+ "version": "2.1.59",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",