@loja-integrada/admin-components 0.19.1 → 0.19.3
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/Forms/Toggle/Toggle.d.ts +1 -1
- package/dist/Indicators/Badge/Badge.d.ts +1 -0
- package/dist/Indicators/InformationBox/InformationBox.d.ts +1 -0
- package/dist/Indicators/Status/Status.d.ts +2 -1
- package/dist/admin-components.cjs.development.js +165 -193
- 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 +165 -193
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Forms/Toggle/Toggle.tsx +1 -1
- package/src/Indicators/Badge/Badge.spec.tsx +10 -9
- package/src/Indicators/Badge/Badge.tsx +9 -14
- package/src/Indicators/InformationBox/InformationBox.spec.tsx +12 -7
- package/src/Indicators/InformationBox/InformationBox.tsx +6 -1
- package/src/Indicators/Status/Status.spec.tsx +8 -0
- package/src/Indicators/Status/Status.tsx +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const Toggle: React.MemoExoticComponent<React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLInputElement>>>;
|
|
3
3
|
export interface ToggleProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
label?: string;
|
|
4
|
+
label?: React.ReactNode | string;
|
|
5
5
|
}
|
|
@@ -3,6 +3,7 @@ import { IconProps } from '../../Icons';
|
|
|
3
3
|
declare type InformationBoxTypesOptions = 'success' | 'warning' | 'danger' | 'info';
|
|
4
4
|
declare const InformationBoxTypes: Record<InformationBoxTypesOptions, {
|
|
5
5
|
title: string;
|
|
6
|
+
titleClass: string;
|
|
6
7
|
class: string;
|
|
7
8
|
icon: IconProps['icon'];
|
|
8
9
|
iconClass: string;
|
|
@@ -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
|
* */
|