@open-condo/ui 1.6.0 → 1.7.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,14 @@
1
+ import React, { CSSProperties } from 'react';
2
+ import { CardProps as DefaultCardProps } from 'antd';
3
+ export declare type CardProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> & Pick<DefaultCardProps, 'hoverable' | 'title'> & {
4
+ width?: CSSProperties['width'];
5
+ bodyPadding?: CSSProperties['padding'];
6
+ titlePadding?: CSSProperties['padding'];
7
+ };
8
+ declare const Card: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "title"> & Pick<DefaultCardProps, "title" | "hoverable"> & {
9
+ width?: CSSProperties['width'];
10
+ bodyPadding?: CSSProperties['padding'];
11
+ titlePadding?: CSSProperties['padding'];
12
+ } & React.RefAttributes<HTMLDivElement>>;
13
+ export { Card, };
14
+ //# sourceMappingURL=card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC5C,OAAO,EAEH,SAAS,IAAI,gBAAgB,EAChC,MAAM,MAAM,CAAA;AAIb,oBAAY,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,GAC3E,IAAI,CAAC,gBAAgB,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG;IAC5C,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAC9B,WAAW,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAA;IACtC,YAAY,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAA;CAC1C,CAAA;AAED,QAAA,MAAM,IAAI;YALE,aAAa,CAAC,OAAO,CAAC;kBAChB,aAAa,CAAC,SAAS,CAAC;mBACvB,aAAa,CAAC,SAAS,CAAC;wCAezC,CAAA;AAIF,OAAO,EACH,IAAI,GACP,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { Card } from './card';
2
+ import './style.less';
3
+ export type { CardProps } from './card';
4
+ export { Card, };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,cAAc,CAAA;AAErB,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EACH,IAAI,GACP,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { Tag } from './tag';
2
+ import './style.less';
3
+ export type { TagProps } from './tag';
4
+ export { Tag, };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,cAAc,CAAA;AAErB,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EACH,GAAG,GACN,CAAA"}
@@ -0,0 +1,13 @@
1
+ import React, { CSSProperties } from 'react';
2
+ export declare type TagProps = React.HTMLAttributes<HTMLSpanElement> & {
3
+ children: string;
4
+ textColor?: CSSProperties['color'];
5
+ bgColor?: CSSProperties['backgroundColor'];
6
+ };
7
+ declare const Tag: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
8
+ children: string;
9
+ textColor?: CSSProperties['color'];
10
+ bgColor?: CSSProperties['backgroundColor'];
11
+ } & React.RefAttributes<HTMLSpanElement>>;
12
+ export { Tag, };
13
+ //# sourceMappingURL=tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAQ5C,oBAAY,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,GAAG;IAC3D,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAClC,OAAO,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;CAC7C,CAAA;AAED,QAAA,MAAM,GAAG;cALK,MAAM;gBACJ,aAAa,CAAC,OAAO,CAAC;cACxB,aAAa,CAAC,iBAAiB,CAAC;yCAqB5C,CAAA;AAIF,OAAO,EACH,GAAG,GACN,CAAA"}
package/dist/index.d.ts CHANGED
@@ -3,12 +3,16 @@ export { Banner } from './components/Banner';
3
3
  export type { BannerProps } from './components/Banner';
4
4
  export { Button } from './components/Button';
5
5
  export type { ButtonProps } from './components/Button';
6
+ export { Card } from './components/Card';
7
+ export type { CardProps } from './components/Card';
6
8
  export { Carousel } from './components/Carousel';
7
9
  export type { CarouselProps } from './components/Carousel';
8
10
  export { Markdown } from './components/Markdown';
9
11
  export type { MarkdownProps } from './components/Markdown';
10
12
  export { Modal } from './components/Modal';
11
13
  export type { ModalProps } from './components/Modal';
14
+ export { Tag } from './components/Tag';
15
+ export type { TagProps } from './components/Tag';
12
16
  export { Typography } from './components/Typography';
13
17
  export type { TypographyType, TypographyTextProps, TypographyTitleProps, TypographyLinkProps, TypographyParagraphProps, } from './components/Typography';
14
18
  //# sourceMappingURL=index.d.ts.map
@@ -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,OAA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