@loja-integrada/admin-components 0.18.34 → 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.
- package/dist/Indicators/InformationBox/InformationBox.d.ts +1 -1
- package/dist/admin-components.cjs.development.js +17 -17
- package/dist/admin-components.cjs.development.js.map +1 -1
- package/dist/admin-components.cjs.production.min.js +1 -1
- package/dist/admin-components.cjs.production.min.js.map +1 -1
- package/dist/admin-components.esm.js +17 -17
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/Indicators/InformationBox/InformationBox.spec.tsx +11 -12
- package/src/Indicators/InformationBox/InformationBox.tsx +13 -13
- package/src/Indicators/InformationBox/InformationBoxt.stories.tsx +7 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IconProps } from '../../Icons';
|
|
3
|
-
declare type InformationBoxTypesOptions = '
|
|
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 = "
|
|
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:
|
|
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:
|
|
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:
|
|
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: "
|
|
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
|
-
|
|
34992
|
-
title: '
|
|
34993
|
-
"class": 'bg-success-light border-success',
|
|
34994
|
-
icon: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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]++, '
|
|
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]++;
|