@fctc/sme-widget-ui 2.3.8 → 2.3.9

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/index.js CHANGED
@@ -17158,6 +17158,11 @@ var typeStyles = {
17158
17158
  backgroundColor: "#DCD5FF",
17159
17159
  color: "#5946F9",
17160
17160
  border: "1px solid #5946F9"
17161
+ },
17162
+ blue_light: {
17163
+ backgroundColor: "#EEFEFF",
17164
+ color: "#23A9AE",
17165
+ border: "1px solid #23A9AE"
17161
17166
  }
17162
17167
  };
17163
17168
  var baseStyle = {
@@ -17172,19 +17177,29 @@ var baseStyle = {
17172
17177
  height: "fit-content"
17173
17178
  };
17174
17179
  var ButtonBadgeField = (props) => {
17175
- const { defaultValue, selection, value, formValues, domainHelper, type, class: classField } = props;
17180
+ const {
17181
+ defaultValue,
17182
+ selection,
17183
+ value,
17184
+ formValues,
17185
+ domainHelper,
17186
+ type,
17187
+ class: classField
17188
+ } = props;
17176
17189
  const decorationSuccess = props["decoration-success"] && domainHelper.checkDomain(formValues, props["decoration-success"]);
17177
17190
  const decorationInfo = props["decoration-info"] && domainHelper.checkDomain(formValues, props["decoration-info"]);
17178
17191
  const decorationDanger = props["decoration-danger"] && domainHelper.checkDomain(formValues, props["decoration-danger"]);
17179
17192
  const decorationWarning = props["decoration-warning"] && domainHelper.checkDomain(formValues, props["decoration-warning"]);
17180
17193
  const decorationPurpled = props["decoration-purpled"] && domainHelper.checkDomain(formValues, props["decoration-purpled"]);
17181
17194
  const decorationOrange = props["decoration-oranged"] && domainHelper.checkDomain(formValues, props["decoration-oranged"]);
17195
+ const decorationInforLight = props["decoration-info-light"] && domainHelper.checkDomain(formValues, props["decoration-info-light"]);
17182
17196
  const getType = () => {
17183
17197
  if (decorationInfo) return typeStyles["info"];
17184
17198
  if (decorationSuccess) return typeStyles["success"];
17185
17199
  if (decorationDanger) return typeStyles["danger"];
17186
17200
  if (decorationWarning || decorationOrange) return typeStyles["warning"];
17187
17201
  if (decorationPurpled) return typeStyles["purpled"];
17202
+ if (decorationInforLight) return typeStyles["blue_light"];
17188
17203
  return typeStyles["default"];
17189
17204
  };
17190
17205
  const getLabel = (value2) => {
package/dist/index.mjs CHANGED
@@ -17031,6 +17031,11 @@ var typeStyles = {
17031
17031
  backgroundColor: "#DCD5FF",
17032
17032
  color: "#5946F9",
17033
17033
  border: "1px solid #5946F9"
17034
+ },
17035
+ blue_light: {
17036
+ backgroundColor: "#EEFEFF",
17037
+ color: "#23A9AE",
17038
+ border: "1px solid #23A9AE"
17034
17039
  }
17035
17040
  };
17036
17041
  var baseStyle = {
@@ -17045,19 +17050,29 @@ var baseStyle = {
17045
17050
  height: "fit-content"
17046
17051
  };
17047
17052
  var ButtonBadgeField = (props) => {
17048
- const { defaultValue, selection, value, formValues, domainHelper, type, class: classField } = props;
17053
+ const {
17054
+ defaultValue,
17055
+ selection,
17056
+ value,
17057
+ formValues,
17058
+ domainHelper,
17059
+ type,
17060
+ class: classField
17061
+ } = props;
17049
17062
  const decorationSuccess = props["decoration-success"] && domainHelper.checkDomain(formValues, props["decoration-success"]);
17050
17063
  const decorationInfo = props["decoration-info"] && domainHelper.checkDomain(formValues, props["decoration-info"]);
17051
17064
  const decorationDanger = props["decoration-danger"] && domainHelper.checkDomain(formValues, props["decoration-danger"]);
17052
17065
  const decorationWarning = props["decoration-warning"] && domainHelper.checkDomain(formValues, props["decoration-warning"]);
17053
17066
  const decorationPurpled = props["decoration-purpled"] && domainHelper.checkDomain(formValues, props["decoration-purpled"]);
17054
17067
  const decorationOrange = props["decoration-oranged"] && domainHelper.checkDomain(formValues, props["decoration-oranged"]);
17068
+ const decorationInforLight = props["decoration-info-light"] && domainHelper.checkDomain(formValues, props["decoration-info-light"]);
17055
17069
  const getType = () => {
17056
17070
  if (decorationInfo) return typeStyles["info"];
17057
17071
  if (decorationSuccess) return typeStyles["success"];
17058
17072
  if (decorationDanger) return typeStyles["danger"];
17059
17073
  if (decorationWarning || decorationOrange) return typeStyles["warning"];
17060
17074
  if (decorationPurpled) return typeStyles["purpled"];
17075
+ if (decorationInforLight) return typeStyles["blue_light"];
17061
17076
  return typeStyles["default"];
17062
17077
  };
17063
17078
  const getLabel = (value2) => {
@@ -179,6 +179,7 @@ interface IButtonBadgeProps extends IInputFieldProps {
179
179
  'decoration-warning'?: any;
180
180
  'decoration-purpled'?: any;
181
181
  'decoration-oranged'?: any;
182
+ 'decoration-info-light'?: any;
182
183
  domainHelper?: any;
183
184
  class?: string;
184
185
  }
package/dist/widgets.d.ts CHANGED
@@ -179,6 +179,7 @@ interface IButtonBadgeProps extends IInputFieldProps {
179
179
  'decoration-warning'?: any;
180
180
  'decoration-purpled'?: any;
181
181
  'decoration-oranged'?: any;
182
+ 'decoration-info-light'?: any;
182
183
  domainHelper?: any;
183
184
  class?: string;
184
185
  }
package/dist/widgets.js CHANGED
@@ -16407,6 +16407,11 @@ var typeStyles = {
16407
16407
  backgroundColor: "#DCD5FF",
16408
16408
  color: "#5946F9",
16409
16409
  border: "1px solid #5946F9"
16410
+ },
16411
+ blue_light: {
16412
+ backgroundColor: "#EEFEFF",
16413
+ color: "#23A9AE",
16414
+ border: "1px solid #23A9AE"
16410
16415
  }
16411
16416
  };
16412
16417
  var baseStyle = {
@@ -16421,19 +16426,29 @@ var baseStyle = {
16421
16426
  height: "fit-content"
16422
16427
  };
16423
16428
  var ButtonBadgeField = (props) => {
16424
- const { defaultValue, selection, value, formValues, domainHelper, type, class: classField } = props;
16429
+ const {
16430
+ defaultValue,
16431
+ selection,
16432
+ value,
16433
+ formValues,
16434
+ domainHelper,
16435
+ type,
16436
+ class: classField
16437
+ } = props;
16425
16438
  const decorationSuccess = props["decoration-success"] && domainHelper.checkDomain(formValues, props["decoration-success"]);
16426
16439
  const decorationInfo = props["decoration-info"] && domainHelper.checkDomain(formValues, props["decoration-info"]);
16427
16440
  const decorationDanger = props["decoration-danger"] && domainHelper.checkDomain(formValues, props["decoration-danger"]);
16428
16441
  const decorationWarning = props["decoration-warning"] && domainHelper.checkDomain(formValues, props["decoration-warning"]);
16429
16442
  const decorationPurpled = props["decoration-purpled"] && domainHelper.checkDomain(formValues, props["decoration-purpled"]);
16430
16443
  const decorationOrange = props["decoration-oranged"] && domainHelper.checkDomain(formValues, props["decoration-oranged"]);
16444
+ const decorationInforLight = props["decoration-info-light"] && domainHelper.checkDomain(formValues, props["decoration-info-light"]);
16431
16445
  const getType = () => {
16432
16446
  if (decorationInfo) return typeStyles["info"];
16433
16447
  if (decorationSuccess) return typeStyles["success"];
16434
16448
  if (decorationDanger) return typeStyles["danger"];
16435
16449
  if (decorationWarning || decorationOrange) return typeStyles["warning"];
16436
16450
  if (decorationPurpled) return typeStyles["purpled"];
16451
+ if (decorationInforLight) return typeStyles["blue_light"];
16437
16452
  return typeStyles["default"];
16438
16453
  };
16439
16454
  const getLabel = (value2) => {
package/dist/widgets.mjs CHANGED
@@ -16344,6 +16344,11 @@ var typeStyles = {
16344
16344
  backgroundColor: "#DCD5FF",
16345
16345
  color: "#5946F9",
16346
16346
  border: "1px solid #5946F9"
16347
+ },
16348
+ blue_light: {
16349
+ backgroundColor: "#EEFEFF",
16350
+ color: "#23A9AE",
16351
+ border: "1px solid #23A9AE"
16347
16352
  }
16348
16353
  };
16349
16354
  var baseStyle = {
@@ -16358,19 +16363,29 @@ var baseStyle = {
16358
16363
  height: "fit-content"
16359
16364
  };
16360
16365
  var ButtonBadgeField = (props) => {
16361
- const { defaultValue, selection, value, formValues, domainHelper, type, class: classField } = props;
16366
+ const {
16367
+ defaultValue,
16368
+ selection,
16369
+ value,
16370
+ formValues,
16371
+ domainHelper,
16372
+ type,
16373
+ class: classField
16374
+ } = props;
16362
16375
  const decorationSuccess = props["decoration-success"] && domainHelper.checkDomain(formValues, props["decoration-success"]);
16363
16376
  const decorationInfo = props["decoration-info"] && domainHelper.checkDomain(formValues, props["decoration-info"]);
16364
16377
  const decorationDanger = props["decoration-danger"] && domainHelper.checkDomain(formValues, props["decoration-danger"]);
16365
16378
  const decorationWarning = props["decoration-warning"] && domainHelper.checkDomain(formValues, props["decoration-warning"]);
16366
16379
  const decorationPurpled = props["decoration-purpled"] && domainHelper.checkDomain(formValues, props["decoration-purpled"]);
16367
16380
  const decorationOrange = props["decoration-oranged"] && domainHelper.checkDomain(formValues, props["decoration-oranged"]);
16381
+ const decorationInforLight = props["decoration-info-light"] && domainHelper.checkDomain(formValues, props["decoration-info-light"]);
16368
16382
  const getType = () => {
16369
16383
  if (decorationInfo) return typeStyles["info"];
16370
16384
  if (decorationSuccess) return typeStyles["success"];
16371
16385
  if (decorationDanger) return typeStyles["danger"];
16372
16386
  if (decorationWarning || decorationOrange) return typeStyles["warning"];
16373
16387
  if (decorationPurpled) return typeStyles["purpled"];
16388
+ if (decorationInforLight) return typeStyles["blue_light"];
16374
16389
  return typeStyles["default"];
16375
16390
  };
16376
16391
  const getLabel = (value2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.3.8",
3
+ "version": "2.3.9",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",