@open-condo/ui 2.41.1 → 2.42.1
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/components/Button/button.d.ts +4 -1
- package/dist/components/Button/button.d.ts.map +1 -1
- package/dist/components/Button/icon/iconButton.d.ts +3 -0
- package/dist/components/Button/icon/iconButton.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/index.js +12 -4
- package/dist/style-vars/variables.css +1 -1
- package/dist/style-vars/variables.less +1 -1
- package/dist/styles.css +1172 -95
- package/dist/styles.min.css +1 -1
- package/package.json +2 -2
|
@@ -2,10 +2,13 @@ import { ButtonProps as DefaultButtonProps } from 'antd';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare const BUTTON_CLASS_PREFIX = "condo-btn";
|
|
4
4
|
type CondoButtonProps = {
|
|
5
|
-
type: 'primary' | 'secondary';
|
|
5
|
+
type: 'primary' | 'secondary' | 'accent';
|
|
6
6
|
children?: string;
|
|
7
7
|
stateless?: boolean;
|
|
8
8
|
focus?: boolean;
|
|
9
|
+
minimal?: boolean;
|
|
10
|
+
compact?: boolean;
|
|
11
|
+
size?: 'medium' | 'large';
|
|
9
12
|
};
|
|
10
13
|
export type ButtonProps = Omit<DefaultButtonProps, 'shape' | 'size' | 'style' | 'ghost' | 'type' | 'prefix' | 'prefixCls'> & CondoButtonProps;
|
|
11
14
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,WAAW,IAAI,kBAAkB,EACpC,MAAM,MAAM,CAAA;AAEb,OAAO,KAAsB,MAAM,OAAO,CAAA;AAI1C,eAAO,MAAM,mBAAmB,cAAc,CAAA;AAE9C,KAAK,gBAAgB,GAAG;IACpB,IAAI,EAAE,SAAS,GAAG,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,WAAW,IAAI,kBAAkB,EACpC,MAAM,MAAM,CAAA;AAEb,OAAO,KAAsB,MAAM,OAAO,CAAA;AAI1C,eAAO,MAAM,mBAAmB,cAAc,CAAA;AAE9C,KAAK,gBAAgB,GAAG;IACpB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC,GACxH,gBAAgB,CAAA;AAElB,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,yBAAyB,CAAC,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAgDhG,CAAA;AAIF,OAAO,EACH,MAAM,GACT,CAAA"}
|
|
@@ -4,6 +4,9 @@ type CondoIconButtonProps = {
|
|
|
4
4
|
size?: 'small' | 'medium';
|
|
5
5
|
};
|
|
6
6
|
export type IconButtonProps = Omit<DefaultButtonProps, 'shape' | 'size' | 'style' | 'ghost' | 'type' | 'prefix' | 'prefixCls' | 'icon' | 'danger' | 'block'> & CondoIconButtonProps;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated
|
|
9
|
+
*/
|
|
7
10
|
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
11
|
export { IconButton, };
|
|
9
12
|
//# sourceMappingURL=iconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/icon/iconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,WAAW,IAAI,kBAAkB,EACpC,MAAM,MAAM,CAAA;AAEb,OAAO,KAAsB,MAAM,OAAO,CAAA;AAO1C,KAAK,oBAAoB,GAAG;IACxB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC,GAC1J,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"iconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/icon/iconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,WAAW,IAAI,kBAAkB,EACpC,MAAM,MAAM,CAAA;AAEb,OAAO,KAAsB,MAAM,OAAO,CAAA;AAO1C,KAAK,oBAAoB,GAAG;IACxB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC,GAC1J,oBAAoB,CAAA;AACtB;;EAEE;AACF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,yBAAyB,CAAC,eAAe,GAAG,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAuCxG,CAAA;AAIF,OAAO,EACH,UAAU,GACb,CAAA"}
|
|
@@ -5,6 +5,9 @@ import { IconButton } from './icon/iconButton';
|
|
|
5
5
|
export type { ButtonProps } from './button';
|
|
6
6
|
export type { IconButtonProps } from './icon/iconButton';
|
|
7
7
|
type CombinedButtonType = typeof InternalButton & {
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated
|
|
10
|
+
*/
|
|
8
11
|
Icon: typeof IconButton;
|
|
9
12
|
};
|
|
10
13
|
declare const Button: CombinedButtonType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AACrB,OAAO,mBAAmB,CAAA;AAE1B,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,KAAK,kBAAkB,GAAG,OAAO,cAAc,GAAG;IAC9C,IAAI,EAAE,OAAO,UAAU,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,MAAM,EAAqB,kBAAkB,CAAA;AAGnD,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AACrB,OAAO,mBAAmB,CAAA;AAE1B,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,KAAK,kBAAkB,GAAG,OAAO,cAAc,GAAG;IAC9C;;OAEG;IACH,IAAI,EAAE,OAAO,UAAU,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,MAAM,EAAqB,kBAAkB,CAAA;AAGnD,OAAO,EAAE,MAAM,EAAE,CAAA"}
|