@loja-integrada/admin-components 0.19.0 → 0.19.2

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.
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  declare const statusTypes: {
3
3
  default: string;
4
4
  success: string;
5
+ successDark: string;
5
6
  warning: string;
6
7
  danger: string;
7
8
  dangerLight: string;
@@ -15,7 +16,7 @@ export interface StatusProps {
15
16
  /**
16
17
  * Status additional text
17
18
  * */
18
- description?: string;
19
+ description?: React.ReactNode | string;
19
20
  /** Invert icon and text position
20
21
  * @default false
21
22
  * */
@@ -32058,7 +32058,7 @@ cov_1la8rcawnj();
32058
32058
 
32059
32059
  function cov_2nvs8x2nzz() {
32060
32060
  var path = "/runner/_work/admin-components/admin-components/styleguide/src/Indicators/Status/Status.tsx";
32061
- var hash = "bd7ec53c2bd893f89fe82aded3f84fa78214e2e1";
32061
+ var hash = "2dd4b0dd4cbfb84655b2d0c5fb77086d9a31d4c3";
32062
32062
  var global = new Function("return this")();
32063
32063
  var gcv = "__coverage__";
32064
32064
  var coverageData = {
@@ -32070,57 +32070,57 @@ function cov_2nvs8x2nzz() {
32070
32070
  column: 20
32071
32071
  },
32072
32072
  end: {
32073
- line: 8,
32073
+ line: 9,
32074
32074
  column: 1
32075
32075
  }
32076
32076
  },
32077
32077
  "1": {
32078
32078
  start: {
32079
- line: 9,
32079
+ line: 10,
32080
32080
  column: 29
32081
32081
  },
32082
32082
  end: {
32083
- line: 10,
32083
+ line: 11,
32084
32084
  column: 8
32085
32085
  }
32086
32086
  },
32087
32087
  "2": {
32088
32088
  start: {
32089
- line: 9,
32089
+ line: 10,
32090
32090
  column: 61
32091
32091
  },
32092
32092
  end: {
32093
- line: 10,
32093
+ line: 11,
32094
32094
  column: 8
32095
32095
  }
32096
32096
  },
32097
32097
  "3": {
32098
32098
  start: {
32099
- line: 11,
32099
+ line: 12,
32100
32100
  column: 24
32101
32101
  },
32102
32102
  end: {
32103
- line: 18,
32103
+ line: 19,
32104
32104
  column: 1
32105
32105
  }
32106
32106
  },
32107
32107
  "4": {
32108
32108
  start: {
32109
- line: 12,
32109
+ line: 13,
32110
32110
  column: 4
32111
32111
  },
32112
32112
  end: {
32113
- line: 17,
32113
+ line: 18,
32114
32114
  column: 117
32115
32115
  }
32116
32116
  },
32117
32117
  "5": {
32118
32118
  start: {
32119
- line: 19,
32119
+ line: 20,
32120
32120
  column: 22
32121
32121
  },
32122
32122
  end: {
32123
- line: 19,
32123
+ line: 20,
32124
32124
  column: 49
32125
32125
  }
32126
32126
  }
@@ -32130,240 +32130,240 @@ function cov_2nvs8x2nzz() {
32130
32130
  name: "(anonymous_0)",
32131
32131
  decl: {
32132
32132
  start: {
32133
- line: 9,
32133
+ line: 10,
32134
32134
  column: 29
32135
32135
  },
32136
32136
  end: {
32137
- line: 9,
32137
+ line: 10,
32138
32138
  column: 30
32139
32139
  }
32140
32140
  },
32141
32141
  loc: {
32142
32142
  start: {
32143
- line: 9,
32143
+ line: 10,
32144
32144
  column: 61
32145
32145
  },
32146
32146
  end: {
32147
- line: 10,
32147
+ line: 11,
32148
32148
  column: 8
32149
32149
  }
32150
32150
  },
32151
- line: 9
32151
+ line: 10
32152
32152
  },
32153
32153
  "1": {
32154
32154
  name: "(anonymous_1)",
32155
32155
  decl: {
32156
32156
  start: {
32157
- line: 11,
32157
+ line: 12,
32158
32158
  column: 24
32159
32159
  },
32160
32160
  end: {
32161
- line: 11,
32161
+ line: 12,
32162
32162
  column: 25
32163
32163
  }
32164
32164
  },
32165
32165
  loc: {
32166
32166
  start: {
32167
- line: 11,
32167
+ line: 12,
32168
32168
  column: 82
32169
32169
  },
32170
32170
  end: {
32171
- line: 18,
32171
+ line: 19,
32172
32172
  column: 1
32173
32173
  }
32174
32174
  },
32175
- line: 11
32175
+ line: 12
32176
32176
  }
32177
32177
  },
32178
32178
  branchMap: {
32179
32179
  "0": {
32180
32180
  loc: {
32181
32181
  start: {
32182
- line: 9,
32182
+ line: 10,
32183
32183
  column: 61
32184
32184
  },
32185
32185
  end: {
32186
- line: 10,
32186
+ line: 11,
32187
32187
  column: 8
32188
32188
  }
32189
32189
  },
32190
32190
  type: "binary-expr",
32191
32191
  locations: [{
32192
32192
  start: {
32193
- line: 9,
32193
+ line: 10,
32194
32194
  column: 62
32195
32195
  },
32196
32196
  end: {
32197
- line: 9,
32197
+ line: 10,
32198
32198
  column: 73
32199
32199
  }
32200
32200
  }, {
32201
32201
  start: {
32202
- line: 9,
32202
+ line: 10,
32203
32203
  column: 78
32204
32204
  },
32205
32205
  end: {
32206
- line: 9,
32206
+ line: 10,
32207
32207
  column: 204
32208
32208
  }
32209
32209
  }, {
32210
32210
  start: {
32211
- line: 10,
32211
+ line: 11,
32212
32212
  column: 4
32213
32213
  },
32214
32214
  end: {
32215
- line: 10,
32215
+ line: 11,
32216
32216
  column: 8
32217
32217
  }
32218
32218
  }],
32219
- line: 9
32219
+ line: 10
32220
32220
  },
32221
32221
  "1": {
32222
32222
  loc: {
32223
32223
  start: {
32224
- line: 9,
32224
+ line: 10,
32225
32225
  column: 160
32226
32226
  },
32227
32227
  end: {
32228
- line: 9,
32228
+ line: 10,
32229
32229
  column: 186
32230
32230
  }
32231
32231
  },
32232
32232
  type: "cond-expr",
32233
32233
  locations: [{
32234
32234
  start: {
32235
- line: 9,
32235
+ line: 10,
32236
32236
  column: 171
32237
32237
  },
32238
32238
  end: {
32239
- line: 9,
32239
+ line: 10,
32240
32240
  column: 177
32241
32241
  }
32242
32242
  }, {
32243
32243
  start: {
32244
- line: 9,
32244
+ line: 10,
32245
32245
  column: 180
32246
32246
  },
32247
32247
  end: {
32248
- line: 9,
32248
+ line: 10,
32249
32249
  column: 186
32250
32250
  }
32251
32251
  }],
32252
- line: 9
32252
+ line: 10
32253
32253
  },
32254
32254
  "2": {
32255
32255
  loc: {
32256
32256
  start: {
32257
- line: 11,
32257
+ line: 12,
32258
32258
  column: 27
32259
32259
  },
32260
32260
  end: {
32261
- line: 11,
32261
+ line: 12,
32262
32262
  column: 43
32263
32263
  }
32264
32264
  },
32265
32265
  type: "default-arg",
32266
32266
  locations: [{
32267
32267
  start: {
32268
- line: 11,
32268
+ line: 12,
32269
32269
  column: 34
32270
32270
  },
32271
32271
  end: {
32272
- line: 11,
32272
+ line: 12,
32273
32273
  column: 43
32274
32274
  }
32275
32275
  }],
32276
- line: 11
32276
+ line: 12
32277
32277
  },
32278
32278
  "3": {
32279
32279
  loc: {
32280
32280
  start: {
32281
- line: 11,
32281
+ line: 12,
32282
32282
  column: 58
32283
32283
  },
32284
32284
  end: {
32285
- line: 11,
32285
+ line: 12,
32286
32286
  column: 74
32287
32287
  }
32288
32288
  },
32289
32289
  type: "default-arg",
32290
32290
  locations: [{
32291
32291
  start: {
32292
- line: 11,
32292
+ line: 12,
32293
32293
  column: 69
32294
32294
  },
32295
32295
  end: {
32296
- line: 11,
32296
+ line: 12,
32297
32297
  column: 74
32298
32298
  }
32299
32299
  }],
32300
- line: 11
32300
+ line: 12
32301
32301
  },
32302
32302
  "4": {
32303
32303
  loc: {
32304
32304
  start: {
32305
- line: 13,
32305
+ line: 14,
32306
32306
  column: 8
32307
32307
  },
32308
32308
  end: {
32309
- line: 13,
32309
+ line: 14,
32310
32310
  column: 113
32311
32311
  }
32312
32312
  },
32313
32313
  type: "binary-expr",
32314
32314
  locations: [{
32315
32315
  start: {
32316
- line: 13,
32316
+ line: 14,
32317
32317
  column: 8
32318
32318
  },
32319
32319
  end: {
32320
- line: 13,
32320
+ line: 14,
32321
32321
  column: 16
32322
32322
  }
32323
32323
  }, {
32324
32324
  start: {
32325
- line: 13,
32325
+ line: 14,
32326
32326
  column: 21
32327
32327
  },
32328
32328
  end: {
32329
- line: 13,
32329
+ line: 14,
32330
32330
  column: 112
32331
32331
  }
32332
32332
  }],
32333
- line: 13
32333
+ line: 14
32334
32334
  },
32335
32335
  "5": {
32336
32336
  loc: {
32337
32337
  start: {
32338
- line: 17,
32338
+ line: 18,
32339
32339
  column: 8
32340
32340
  },
32341
32341
  end: {
32342
- line: 17,
32342
+ line: 18,
32343
32343
  column: 114
32344
32344
  }
32345
32345
  },
32346
32346
  type: "binary-expr",
32347
32347
  locations: [{
32348
32348
  start: {
32349
- line: 17,
32349
+ line: 18,
32350
32350
  column: 8
32351
32351
  },
32352
32352
  end: {
32353
- line: 17,
32353
+ line: 18,
32354
32354
  column: 17
32355
32355
  }
32356
32356
  }, {
32357
32357
  start: {
32358
- line: 17,
32358
+ line: 18,
32359
32359
  column: 22
32360
32360
  },
32361
32361
  end: {
32362
- line: 17,
32362
+ line: 18,
32363
32363
  column: 113
32364
32364
  }
32365
32365
  }],
32366
- line: 17
32366
+ line: 18
32367
32367
  }
32368
32368
  },
32369
32369
  s: {
@@ -32387,7 +32387,7 @@ function cov_2nvs8x2nzz() {
32387
32387
  "5": [0, 0]
32388
32388
  },
32389
32389
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
32390
- hash: "bd7ec53c2bd893f89fe82aded3f84fa78214e2e1"
32390
+ hash: "2dd4b0dd4cbfb84655b2d0c5fb77086d9a31d4c3"
32391
32391
  };
32392
32392
  var coverage = global[gcv] || (global[gcv] = {});
32393
32393
 
@@ -32409,6 +32409,7 @@ cov_2nvs8x2nzz();
32409
32409
  var statusTypes = ( /*#__PURE__*/cov_2nvs8x2nzz().s[0]++, {
32410
32410
  "default": 'bg-inverted-2',
32411
32411
  success: 'bg-success',
32412
+ successDark: 'bg-success-dark',
32412
32413
  warning: 'bg-warning',
32413
32414
  danger: 'bg-danger',
32414
32415
  dangerLight: 'bg-danger-light'