@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.
@@ -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.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,aAAa,CAAC;AAErB,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IA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/C,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAoFtC,CAAC"}
@@ -0,0 +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,2 @@
1
+ export * from './DynamicIcon';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsiky/components-r19",
3
- "version": "1.8.53",
3
+ "version": "1.8.54",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -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,2 +0,0 @@
1
- export * from './AlertMessage';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AlertMessage/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}