@loja-integrada/admin-components 0.18.33 → 0.18.35

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
  import React from 'react';
2
2
  import { IconProps } from '../../Icons';
3
- declare type InformationBoxTypesOptions = 'tip' | 'warning' | 'danger' | 'info';
3
+ declare type InformationBoxTypesOptions = 'success' | 'warning' | 'danger' | 'info';
4
4
  declare const InformationBoxTypes: Record<InformationBoxTypesOptions, {
5
5
  title: string;
6
6
  class: string;
@@ -34788,7 +34788,7 @@ cov_1urw57c37o();
34788
34788
 
34789
34789
  function cov_1s85yl253c() {
34790
34790
  var path = "/runner/_work/admin-components/admin-components/styleguide/src/Indicators/InformationBox/InformationBox.tsx";
34791
- var hash = "a69e76ff461ea64f9a8b0cf1b0ed3b2f02a31fa7";
34791
+ var hash = "868c34e4882b862ac7bea5129fb3bf091114f789";
34792
34792
  var global = new Function("return this")();
34793
34793
  var gcv = "__coverage__";
34794
34794
  var coverageData = {
@@ -34851,7 +34851,7 @@ function cov_1s85yl253c() {
34851
34851
  loc: {
34852
34852
  start: {
34853
34853
  line: 29,
34854
- column: 72
34854
+ column: 73
34855
34855
  },
34856
34856
  end: {
34857
34857
  line: 37,
@@ -34870,7 +34870,7 @@ function cov_1s85yl253c() {
34870
34870
  },
34871
34871
  end: {
34872
34872
  line: 29,
34873
- column: 47
34873
+ column: 48
34874
34874
  }
34875
34875
  },
34876
34876
  type: "default-arg",
@@ -34881,7 +34881,7 @@ function cov_1s85yl253c() {
34881
34881
  },
34882
34882
  end: {
34883
34883
  line: 29,
34884
- column: 47
34884
+ column: 48
34885
34885
  }
34886
34886
  }],
34887
34887
  line: 29
@@ -34968,7 +34968,7 @@ function cov_1s85yl253c() {
34968
34968
  "2": [0, 0]
34969
34969
  },
34970
34970
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
34971
- hash: "a69e76ff461ea64f9a8b0cf1b0ed3b2f02a31fa7"
34971
+ hash: "868c34e4882b862ac7bea5129fb3bf091114f789"
34972
34972
  };
34973
34973
  var coverage = global[gcv] || (global[gcv] = {});
34974
34974
 
@@ -34988,28 +34988,28 @@ function cov_1s85yl253c() {
34988
34988
 
34989
34989
  cov_1s85yl253c();
34990
34990
  var InformationBoxTypes = ( /*#__PURE__*/cov_1s85yl253c().s[0]++, {
34991
- tip: {
34992
- title: 'Dica!',
34993
- "class": 'bg-success-light border-success',
34994
- icon: 'lightbulb',
34995
- iconClass: 'text-success'
34991
+ success: {
34992
+ title: 'Sucesso!',
34993
+ "class": 'bg-success-light dark:bg-success border-success',
34994
+ icon: 'check',
34995
+ iconClass: 'text-success-dark'
34996
34996
  },
34997
34997
  warning: {
34998
34998
  title: 'Atenção!',
34999
34999
  "class": 'bg-warning-light border-warning',
35000
- icon: 'exclamationTriangle',
35001
- iconClass: 'text-warning'
35000
+ icon: 'infoCircle',
35001
+ iconClass: 'text-warning-dark'
35002
35002
  },
35003
35003
  danger: {
35004
35004
  title: 'Cuidado!',
35005
35005
  "class": 'bg-danger-light border-danger',
35006
- icon: 'ban',
35007
- iconClass: 'text-danger'
35006
+ icon: 'exclamationTriangle',
35007
+ iconClass: 'text-danger-dark'
35008
35008
  },
35009
35009
  info: {
35010
- title: 'Informação!',
35010
+ title: 'Informação',
35011
35011
  "class": 'bg-focus-light border-focus-dark',
35012
- icon: 'infoCircle',
35012
+ icon: 'lightbulb',
35013
35013
  iconClass: 'text-focus-dark'
35014
35014
  }
35015
35015
  });
@@ -35017,7 +35017,7 @@ cov_1s85yl253c().s[1]++;
35017
35017
 
35018
35018
  var InformationBoxComponent = function InformationBoxComponent(_ref) {
35019
35019
  var _ref$type = _ref.type,
35020
- type = _ref$type === void 0 ? (cov_1s85yl253c().b[0][0]++, 'tip') : _ref$type,
35020
+ type = _ref$type === void 0 ? (cov_1s85yl253c().b[0][0]++, 'info') : _ref$type,
35021
35021
  subtitle = _ref.subtitle,
35022
35022
  title = _ref.title;
35023
35023
  cov_1s85yl253c().f[0]++;
@@ -37366,7 +37366,7 @@ cov_2exnju1afb();
37366
37366
 
37367
37367
  function cov_24egftxhy6() {
37368
37368
  var path = "/runner/_work/admin-components/admin-components/styleguide/src/Components/Tabs/TabsItem.tsx";
37369
- var hash = "968aa3ab76e1dbacbc3b08d40b05952a82f305ea";
37369
+ var hash = "4288533066e0b8cff705b891655875aff0a189d0";
37370
37370
  var global = new Function("return this")();
37371
37371
  var gcv = "__coverage__";
37372
37372
  var coverageData = {
@@ -37435,11 +37435,11 @@ function cov_24egftxhy6() {
37435
37435
  "6": {
37436
37436
  start: {
37437
37437
  line: 7,
37438
- column: 245
37438
+ column: 261
37439
37439
  },
37440
37440
  end: {
37441
37441
  line: 7,
37442
- column: 257
37442
+ column: 273
37443
37443
  }
37444
37444
  }
37445
37445
  },
@@ -37497,21 +37497,21 @@ function cov_24egftxhy6() {
37497
37497
  decl: {
37498
37498
  start: {
37499
37499
  line: 7,
37500
- column: 239
37500
+ column: 255
37501
37501
  },
37502
37502
  end: {
37503
37503
  line: 7,
37504
- column: 240
37504
+ column: 256
37505
37505
  }
37506
37506
  },
37507
37507
  loc: {
37508
37508
  start: {
37509
37509
  line: 7,
37510
- column: 245
37510
+ column: 261
37511
37511
  },
37512
37512
  end: {
37513
37513
  line: 7,
37514
- column: 257
37514
+ column: 273
37515
37515
  }
37516
37516
  },
37517
37517
  line: 7
@@ -37603,31 +37603,31 @@ function cov_24egftxhy6() {
37603
37603
  loc: {
37604
37604
  start: {
37605
37605
  line: 7,
37606
- column: 87
37606
+ column: 103
37607
37607
  },
37608
37608
  end: {
37609
37609
  line: 7,
37610
- column: 119
37610
+ column: 135
37611
37611
  }
37612
37612
  },
37613
37613
  type: "cond-expr",
37614
37614
  locations: [{
37615
37615
  start: {
37616
37616
  line: 7,
37617
- column: 96
37617
+ column: 112
37618
37618
  },
37619
37619
  end: {
37620
37620
  line: 7,
37621
- column: 114
37621
+ column: 130
37622
37622
  }
37623
37623
  }, {
37624
37624
  start: {
37625
37625
  line: 7,
37626
- column: 117
37626
+ column: 133
37627
37627
  },
37628
37628
  end: {
37629
37629
  line: 7,
37630
- column: 119
37630
+ column: 135
37631
37631
  }
37632
37632
  }],
37633
37633
  line: 7
@@ -37636,31 +37636,31 @@ function cov_24egftxhy6() {
37636
37636
  loc: {
37637
37637
  start: {
37638
37638
  line: 7,
37639
- column: 197
37639
+ column: 213
37640
37640
  },
37641
37641
  end: {
37642
37642
  line: 7,
37643
- column: 226
37643
+ column: 242
37644
37644
  }
37645
37645
  },
37646
37646
  type: "cond-expr",
37647
37647
  locations: [{
37648
37648
  start: {
37649
37649
  line: 7,
37650
- column: 208
37650
+ column: 224
37651
37651
  },
37652
37652
  end: {
37653
37653
  line: 7,
37654
- column: 221
37654
+ column: 237
37655
37655
  }
37656
37656
  }, {
37657
37657
  start: {
37658
37658
  line: 7,
37659
- column: 224
37659
+ column: 240
37660
37660
  },
37661
37661
  end: {
37662
37662
  line: 7,
37663
- column: 226
37663
+ column: 242
37664
37664
  }
37665
37665
  }],
37666
37666
  line: 7
@@ -37722,7 +37722,7 @@ function cov_24egftxhy6() {
37722
37722
  "5": [0, 0]
37723
37723
  },
37724
37724
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
37725
- hash: "968aa3ab76e1dbacbc3b08d40b05952a82f305ea"
37725
+ hash: "4288533066e0b8cff705b891655875aff0a189d0"
37726
37726
  };
37727
37727
  var coverage = global[gcv] || (global[gcv] = {});
37728
37728
 
@@ -37764,6 +37764,7 @@ var TabsItem = function TabsItem(_ref) {
37764
37764
  cov_24egftxhy6().f[1]++;
37765
37765
  cov_24egftxhy6().s[5]++;
37766
37766
  return /*#__PURE__*/React__default.createElement("button", {
37767
+ type: "button",
37767
37768
  id: "btnTab" + id,
37768
37769
  className: "tabs-item " + (active ? (cov_24egftxhy6().b[3][0]++, 'tabs-item-active') : (cov_24egftxhy6().b[3][1]++, '')) + " group min-w-0 flex-shrink-0 overflow-x-hidden px-2 last:-mr-2 first:-ml-2 " + (disabled ? (cov_24egftxhy6().b[4][0]++, disabledStyle) : (cov_24egftxhy6().b[4][1]++, '')),
37769
37770
  onClick: function onClick() {