@loja-integrada/admin-components 0.19.7 → 0.19.9
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/Icons/icons-path/ProgressiveDiscount.d.ts +2 -0
- package/dist/Icons/icons-path/index.d.ts +1 -0
- package/dist/Indicators/Alert/Alert.d.ts +6 -2
- package/dist/admin-components.cjs.development.js +317 -130
- 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 +317 -130
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +5 -5
- package/src/Icons/icons-path/ProgressiveDiscount.tsx +36 -0
- package/src/Icons/icons-path/index.ts +2 -0
- package/src/Indicators/Alert/Alert.tsx +23 -8
- package/src/tailwind.scss +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IconProps } from '../../Icons';
|
|
3
|
-
declare type alertTypesOptions = 'success' | 'warning' | 'danger' | 'info' | 'primary';
|
|
3
|
+
declare type alertTypesOptions = 'success' | 'warning' | 'danger' | 'info' | 'infoOutline' | 'infoDark' | 'primary';
|
|
4
4
|
declare const alertTypes: Record<alertTypesOptions, {
|
|
5
5
|
class: string;
|
|
6
6
|
icon: IconProps['icon'];
|
|
7
7
|
iconClass: string;
|
|
8
8
|
}>;
|
|
9
|
-
export declare const Alert: React.MemoExoticComponent<({ type, isOpen, title, subtitle, actions, showClose, onClose, hideIcon, customIcon, }: AlertProps) => JSX.Element | null>;
|
|
9
|
+
export declare const Alert: React.MemoExoticComponent<({ type, isOpen, title, subtitle, actions, showClose, onClose, hideIcon, hideBorder, customIcon, }: AlertProps) => JSX.Element | null>;
|
|
10
10
|
export interface AlertProps {
|
|
11
11
|
/** Alert color
|
|
12
12
|
* @default info
|
|
@@ -36,6 +36,10 @@ export interface AlertProps {
|
|
|
36
36
|
* @default false
|
|
37
37
|
*/
|
|
38
38
|
hideIcon?: boolean;
|
|
39
|
+
/** Hide alert border
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
hideBorder?: boolean;
|
|
39
43
|
/**
|
|
40
44
|
* Custom icon
|
|
41
45
|
*/
|