@tsiky/components-r19 1.8.53 → 1.8.54
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/index.cjs.js +1674 -1674
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5765 -5742
- package/dist/src/components/Alert/Alert.d.ts +5 -1
- package/dist/src/components/Alert/Alert.d.ts.map +1 -1
- package/dist/src/components/DynamicIcon/DynamicIcon.d.ts +11 -0
- package/dist/src/components/DynamicIcon/DynamicIcon.d.ts.map +1 -0
- package/dist/src/components/DynamicIcon/index.d.ts +2 -0
- package/dist/src/components/DynamicIcon/index.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/src/components/AlertMessage/AlertMessage.d.ts +0 -16
- package/dist/src/components/AlertMessage/AlertMessage.d.ts.map +0 -1
- package/dist/src/components/AlertMessage/index.d.ts +0 -2
- package/dist/src/components/AlertMessage/index.d.ts.map +0 -1
|
@@ -10,7 +10,7 @@ export type AlertProps = {
|
|
|
10
10
|
id?: string;
|
|
11
11
|
size?: number | string;
|
|
12
12
|
background?: string;
|
|
13
|
-
icon?: string;
|
|
13
|
+
icon?: string | React.ReactNode;
|
|
14
14
|
text: string;
|
|
15
15
|
subtext?: string;
|
|
16
16
|
onClose?: () => void;
|
|
@@ -20,6 +20,10 @@ export type AlertProps = {
|
|
|
20
20
|
colorTextPrimary?: string;
|
|
21
21
|
colorTextSub?: string;
|
|
22
22
|
model?: AlertModel;
|
|
23
|
+
fontSize?: string | number;
|
|
24
|
+
fontWeight?: React.CSSProperties['fontWeight'];
|
|
25
|
+
a11yConfig?: any;
|
|
26
|
+
titleKey?: string;
|
|
23
27
|
};
|
|
24
28
|
export declare const Alert: React.FC<AlertProps>;
|
|
25
29
|
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/Alert.t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 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface DynamicIconProps {
|
|
3
|
+
path: string;
|
|
4
|
+
style?: React.CSSProperties;
|
|
5
|
+
width?: string | number;
|
|
6
|
+
height?: string | number;
|
|
7
|
+
keepColors?: boolean;
|
|
8
|
+
onClick?: (e: React.MouseEvent<HTMLSpanElement>) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const DynamicIcon: React.FC<DynamicIconProps>;
|
|
11
|
+
//# sourceMappingURL=DynamicIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicIcon/DynamicIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;CAC1D;AAID,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAiElD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DynamicIcon/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
export interface AlertMessageProps {
|
|
3
|
-
message: string;
|
|
4
|
-
icon?: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: CSSProperties;
|
|
7
|
-
fontSize?: string | number;
|
|
8
|
-
fontWeight?: CSSProperties['fontWeight'];
|
|
9
|
-
color?: string;
|
|
10
|
-
backgroundColor?: string;
|
|
11
|
-
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
12
|
-
a11yConfig?: any;
|
|
13
|
-
titleKey?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const AlertMessage: React.FC<AlertMessageProps>;
|
|
16
|
-
//# sourceMappingURL=AlertMessage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AlertMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/AlertMessage/AlertMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxD,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAClD,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+CpD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AlertMessage/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|