@loja-integrada/admin-components 0.18.4 → 0.18.5
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 +6 -0
- 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 +6 -0
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Indicators/InformationBox/InformationBox.spec.tsx +4 -0
- package/src/Indicators/InformationBox/InformationBox.tsx +7 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IconProps } from '../../Icons';
|
|
3
|
-
declare type InformationBoxTypesOptions = 'tip' | 'warning' | 'danger';
|
|
3
|
+
declare type InformationBoxTypesOptions = 'tip' | 'warning' | 'danger' | 'info';
|
|
4
4
|
declare const InformationBoxTypes: Record<InformationBoxTypesOptions, {
|
|
5
5
|
title: string;
|
|
6
6
|
class: string;
|
|
@@ -2929,6 +2929,12 @@ var InformationBoxTypes = {
|
|
|
2929
2929
|
"class": 'bg-danger-light border-danger',
|
|
2930
2930
|
icon: 'ban',
|
|
2931
2931
|
iconClass: 'text-danger'
|
|
2932
|
+
},
|
|
2933
|
+
info: {
|
|
2934
|
+
title: 'Informação!',
|
|
2935
|
+
"class": 'bg-focus-light border-focus-dark',
|
|
2936
|
+
icon: 'infoCircle',
|
|
2937
|
+
iconClass: 'text-focus-dark'
|
|
2932
2938
|
}
|
|
2933
2939
|
};
|
|
2934
2940
|
|