@open-condo/ui 1.4.0 → 1.5.0

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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const Cross: React.FC<React.HtmlHTMLAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=cross.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cross.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/cross.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAUpE,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { Modal } from './modal';
2
+ import './style.less';
3
+ export type { ModalProps } from './modal';
4
+ export { Modal };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ModalProps as DefaultModalProps } from 'antd';
3
+ declare type CondoModalWidthType = 'small' | 'big' | 'fit-content';
4
+ declare type CondoModalProps = {
5
+ title: string;
6
+ open: boolean;
7
+ width?: CondoModalWidthType;
8
+ };
9
+ export declare type ModalProps = Pick<DefaultModalProps, 'children' | 'footer' | 'className' | 'afterClose' | 'maskClosable' | 'destroyOnClose' | 'getContainer' | 'zIndex'> & CondoModalProps;
10
+ declare const Modal: React.FC<ModalProps>;
11
+ export { Modal, };
12
+ //# sourceMappingURL=modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,EAAyB,UAAU,IAAI,iBAAiB,EAAE,MAAM,MAAM,CAAA;AAK7E,aAAK,mBAAmB,GAAG,OAAO,GAAG,KAAK,GAAG,aAAa,CAAA;AAE1D,aAAK,eAAe,GAAG;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,CAAC,EAAE,mBAAmB,CAAA;CAC9B,CAAA;AAED,oBAAY,UAAU,GAAG,IAAI,CAAC,iBAAiB,EAC/C,UAAU,GACR,QAAQ,GACR,WAAW,GACX,YAAY,GACZ,cAAc,GACd,gBAAgB,GAChB,cAAc,GACd,QAAQ,CACT,GAAG,eAAe,CAAA;AASnB,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA0C/B,CAAA;AAED,OAAO,EACH,KAAK,GACR,CAAA"}
package/dist/index.d.ts CHANGED
@@ -3,6 +3,8 @@ export { Button } from './components/Button';
3
3
  export type { ButtonProps } from './components/Button';
4
4
  export { Carousel } from './components/Carousel';
5
5
  export type { CarouselProps } from './components/Carousel';
6
+ export { Modal } from './components/Modal';
7
+ export type { ModalProps } from './components/Modal';
6
8
  export { Typography } from './components/Typography';
7
9
  export type { TypographyType, TypographyTextProps, TypographyTitleProps, TypographyLinkProps, TypographyParagraphProps, } from './components/Typography';
8
10
  export { Markdown } from './components/Markdown';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sDAAsD,CAAA;AAE7D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAE1D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,YAAY,EACR,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,wBAAwB,GAC3B,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sDAAsD,CAAA;AAE7D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAE1D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,YAAY,EACR,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,wBAAwB,GAC3B,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA"}