@synerise/ds-button 0.17.17 → 0.17.19
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/CHANGELOG.md +16 -0
- package/dist/Expander/Expander.styles.d.ts +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.js +15 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.17.19](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.17.18...@synerise/ds-button@0.17.19) (2023-06-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-button
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.17.18](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.17.17...@synerise/ds-button@0.17.18) (2023-06-14)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-button
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.17.17](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.17.16...@synerise/ds-button@0.17.17) (2023-05-26)
|
|
7
23
|
|
|
8
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Keyframes } from 'styled-components';
|
|
3
|
-
import { ThemeProps } from '@synerise/ds-core
|
|
3
|
+
import { ThemeProps } from '@synerise/ds-core';
|
|
4
4
|
export declare type ExpanderProps = {
|
|
5
5
|
onClick: () => void;
|
|
6
6
|
size: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Props as ButtonProps } from './Button.types';
|
|
3
|
+
import * as MainButtonStyles from './Button.styles';
|
|
4
|
+
import * as CheckboxStyles from './Checkbox/Checkbox.styles';
|
|
5
|
+
import * as CreatorStyles from './Creator/Creator.styles';
|
|
6
|
+
import * as ExpanderStyles from './Expander/Expander.styles';
|
|
7
|
+
import * as StarStyles from './Star/Star.styles';
|
|
3
8
|
declare class Button extends React.Component<ButtonProps> {
|
|
4
9
|
static readonly Checkbox: (props: import("./Checkbox/Checkbox.types").CheckboxButtonProps) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;
|
|
5
10
|
static readonly Creator: React.FC<import("./Creator/Creator.types").CreatorProps>;
|
|
@@ -8,3 +13,13 @@ declare class Button extends React.Component<ButtonProps> {
|
|
|
8
13
|
render(): JSX.Element;
|
|
9
14
|
}
|
|
10
15
|
export default Button;
|
|
16
|
+
export type { Props as ButtonProps } from './Button.types';
|
|
17
|
+
export { CreatorStatus } from './Creator/Creator.types';
|
|
18
|
+
export { ExpanderSize } from './Expander/Expander.types';
|
|
19
|
+
export declare const ButtonStyles: {
|
|
20
|
+
Button: typeof MainButtonStyles;
|
|
21
|
+
Creator: typeof CreatorStyles;
|
|
22
|
+
Checkbox: typeof CheckboxStyles;
|
|
23
|
+
Expander: typeof ExpanderStyles;
|
|
24
|
+
Star: typeof StarStyles;
|
|
25
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,11 @@ import CheckboxButton from './Checkbox/Checkbox';
|
|
|
8
8
|
import Creator from './Creator/Creator';
|
|
9
9
|
import Expander from './Expander/Expander';
|
|
10
10
|
import StarButton from './Star/Star';
|
|
11
|
+
import * as MainButtonStyles from './Button.styles';
|
|
12
|
+
import * as CheckboxStyles from './Checkbox/Checkbox.styles';
|
|
13
|
+
import * as CreatorStyles from './Creator/Creator.styles';
|
|
14
|
+
import * as ExpanderStyles from './Expander/Expander.styles';
|
|
15
|
+
import * as StarStyles from './Star/Star.styles';
|
|
11
16
|
|
|
12
17
|
var Button = /*#__PURE__*/function (_React$Component) {
|
|
13
18
|
_inheritsLoose(Button, _React$Component);
|
|
@@ -34,4 +39,13 @@ _defineProperty(Button, "Expander", Expander);
|
|
|
34
39
|
|
|
35
40
|
_defineProperty(Button, "Star", StarButton);
|
|
36
41
|
|
|
37
|
-
export default Button;
|
|
42
|
+
export default Button;
|
|
43
|
+
export { CreatorStatus } from './Creator/Creator.types';
|
|
44
|
+
export { ExpanderSize } from './Expander/Expander.types';
|
|
45
|
+
export var ButtonStyles = {
|
|
46
|
+
Button: MainButtonStyles,
|
|
47
|
+
Creator: CreatorStyles,
|
|
48
|
+
Checkbox: CheckboxStyles,
|
|
49
|
+
Expander: ExpanderStyles,
|
|
50
|
+
Star: StarStyles
|
|
51
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-button",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.19",
|
|
4
4
|
"description": "Button UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-icon": "^0.
|
|
35
|
+
"@synerise/ds-icon": "^0.57.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@synerise/ds-core": "*",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@synerise/ds-utils": "^0.19.0",
|
|
44
44
|
"csstype": "2.6.9"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "948b33abd56086fc73880204892f90bd6ddc0a72"
|
|
47
47
|
}
|