@inntechcorp/it-design 2.2.25 → 2.2.26
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/alert/index.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/alert/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AlertProps } from "../index";
|
|
2
2
|
declare const Alert: {
|
|
3
|
-
({ type, size, title, className, children }: AlertProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
({ type, size, icon, title, className, children }: AlertProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default Alert;
|
package/dist/index.cjs.js
CHANGED
|
@@ -4420,7 +4420,7 @@ function(b,z){M.exports?M.exports=z(Eo()):z(b.moment)}(Fo,(function(M){void 0===
|
|
|
4420
4420
|
align-self: flex-start;
|
|
4421
4421
|
}
|
|
4422
4422
|
|
|
4423
|
-
`,Zr=({type:M="info",size:b="small",
|
|
4423
|
+
`,Zr=({type:M="info",size:b="small",icon:p="",title:o="",className:c="",children:e=""})=>{const t=()=>{let z="itd-alert";return z+=" itd-alert-"+M,z+=" itd-alert-"+("x-small"===b?"xs":"small"===b?"sm":"medium"===b?"md":"default"===b?"df":"large"===b?"lg":"x-large"===b?"xlg":"df"),""!==c&&(z+=" "+c),z};return z.jsxs(Gr,{className:t(),children:[z.jsx(Jr,{children:""!==p?z.jsx(O.ReactSVG,{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' stroke-linecap='round' stroke-linejoin='round'%3e %3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e %3cline x1='12' x2='12' y1='8' y2='12'%3e%3c/line%3e %3cline x1='12' x2='12.01' y1='16' y2='16'%3e%3c/line%3e%3c/svg%3e"}):p}),z.jsxs(Qr,{$noTitle:!o,children:[""!==o?z.jsx(Yr,{children:o}):null,""!==e?z.jsx(Kr,{children:e}):null]})]})};Zr.displayName="ITD-Alert";const Mi=n.section`
|
|
4424
4424
|
width: 100%;
|
|
4425
4425
|
height: 100%;
|
|
4426
4426
|
position: relative;
|
package/dist/index.d.ts
CHANGED
|
@@ -674,7 +674,7 @@ declare function table(data: any): void;
|
|
|
674
674
|
declare const Button: ({ id, disabled, loading, selected, circle, strecth, justify, contentPosition, type, variant, size, state, icon, href, target, className, children, onClick }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
675
675
|
|
|
676
676
|
declare const Alert: {
|
|
677
|
-
({ type, size, title, className, children }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
677
|
+
({ type, size, icon, title, className, children }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
678
678
|
displayName: string;
|
|
679
679
|
};
|
|
680
680
|
|
package/dist/index.esm.js
CHANGED
|
@@ -4420,7 +4420,7 @@ function(b,z){M.exports?M.exports=z(SO()):z(b.moment)}(FO,(function(M){void 0===
|
|
|
4420
4420
|
align-self: flex-start;
|
|
4421
4421
|
}
|
|
4422
4422
|
|
|
4423
|
-
`,td=({type:M="info",size:b="small",
|
|
4423
|
+
`,td=({type:M="info",size:b="small",icon:z="",title:o="",className:c="",children:e=""})=>O(pd,{className:(()=>{let z="itd-alert";return z+=" itd-alert-"+M,z+=" itd-alert-"+("x-small"===b?"xs":"small"===b?"sm":"medium"===b?"md":"default"===b?"df":"large"===b?"lg":"x-large"===b?"xlg":"df"),""!==c&&(z+=" "+c),z})(),children:[p(ed,{children:""!==z?p(v,{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' stroke-linecap='round' stroke-linejoin='round'%3e %3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e %3cline x1='12' x2='12' y1='8' y2='12'%3e%3c/line%3e %3cline x1='12' x2='12.01' y1='16' y2='16'%3e%3c/line%3e%3c/svg%3e"}):z}),O(cd,{$noTitle:!o,children:[""!==o?p(od,{children:o}):null,""!==e?p(Od,{children:e}):null]})]});td.displayName="ITD-Alert";const nd=k.section`
|
|
4424
4424
|
width: 100%;
|
|
4425
4425
|
height: 100%;
|
|
4426
4426
|
position: relative;
|