@synerise/ds-button 1.5.19 → 1.5.21
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 +8 -0
- package/dist/Creator/Creator.styles.d.ts +23 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [1.5.21](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.5.20...@synerise/ds-button@1.5.21) (2026-04-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-button
|
|
9
|
+
|
|
10
|
+
## [1.5.20](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.5.19...@synerise/ds-button@1.5.20) (2026-04-10)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-button
|
|
13
|
+
|
|
6
14
|
## [1.5.19](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.5.18...@synerise/ds-button@1.5.19) (2026-04-01)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-button
|
|
@@ -6,5 +6,27 @@ type StyledCreatorProps = {
|
|
|
6
6
|
status?: string;
|
|
7
7
|
labelAlign: 'left' | 'center';
|
|
8
8
|
};
|
|
9
|
-
export declare const Creator: import('styled-components').StyledComponent<React.ForwardRefExoticComponent<
|
|
9
|
+
export declare const Creator: import('styled-components').StyledComponent<React.ForwardRefExoticComponent<Omit<Partial<{
|
|
10
|
+
href: string;
|
|
11
|
+
target?: string;
|
|
12
|
+
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
13
|
+
} & import('antd/lib/button/button').BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
|
|
14
|
+
htmlType?: import('antd/lib/button/button').ButtonHTMLType;
|
|
15
|
+
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
16
|
+
} & Omit<React.ButtonHTMLAttributes<any>, "type" | "onClick">>, "ghost" | "type"> & {
|
|
17
|
+
type?: import('@synerise/ds-utils').LiteralStringUnion<import('../Button.types').ButtonType>;
|
|
18
|
+
mode?: import('@synerise/ds-utils').LiteralStringUnion<"single-icon" | "split" | "two-icons" | "label-icon" | "icon-label">;
|
|
19
|
+
color?: import('@synerise/ds-utils').LiteralStringUnion<"blue" | "grey" | "red" | "green" | "yellow" | "pink" | "mars" | "orange" | "fern" | "cyan" | "purple" | "violet">;
|
|
20
|
+
groupVariant?: import('@synerise/ds-utils').LiteralStringUnion<"left-rounded" | "squared" | "right-rounded">;
|
|
21
|
+
justifyContent?: import('csstype').JustifyContentProperty;
|
|
22
|
+
loading?: boolean | {
|
|
23
|
+
delay?: number;
|
|
24
|
+
};
|
|
25
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
26
|
+
iconColor?: import('@synerise/ds-utils').LiteralStringUnion<"blue" | "grey" | "red" | "green" | "yellow" | "pink" | "mars" | "orange" | "fern" | "cyan" | "purple" | "violet">;
|
|
27
|
+
error?: boolean;
|
|
28
|
+
readOnly?: boolean;
|
|
29
|
+
tagProps?: import('@synerise/ds-tag').TagProps;
|
|
30
|
+
tooltipProps?: import('@synerise/ds-tooltip').TooltipProps;
|
|
31
|
+
} & StyledCreatorProps & React.RefAttributes<HTMLButtonElement>>, any, StyledCreatorProps, never>;
|
|
10
32
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-button",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.21",
|
|
4
4
|
"description": "Button UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -18,9 +18,6 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"build": "vite build",
|
|
20
20
|
"build:watch": "vite build --watch",
|
|
21
|
-
"build:css": "node ../../../scripts/style/less.js",
|
|
22
|
-
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
23
|
-
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
21
|
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
22
|
"prepublish": "pnpm run build",
|
|
26
23
|
"test": "vitest run",
|
|
@@ -35,10 +32,10 @@
|
|
|
35
32
|
],
|
|
36
33
|
"types": "dist/index.d.ts",
|
|
37
34
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
39
|
-
"@synerise/ds-tag": "^1.4.
|
|
40
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
41
|
-
"@synerise/ds-utils": "^1.
|
|
35
|
+
"@synerise/ds-icon": "^1.16.0",
|
|
36
|
+
"@synerise/ds-tag": "^1.4.21",
|
|
37
|
+
"@synerise/ds-tooltip": "^1.4.13",
|
|
38
|
+
"@synerise/ds-utils": "^1.8.0",
|
|
42
39
|
"classnames": "^2.5.1",
|
|
43
40
|
"csstype": "^2.6.9"
|
|
44
41
|
},
|
|
@@ -49,5 +46,5 @@
|
|
|
49
46
|
"styled-components": "^5.3.3",
|
|
50
47
|
"vitest": "4"
|
|
51
48
|
},
|
|
52
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "16b12f75e97d9c416a5cb9ca38864e97ef4f1530"
|
|
53
50
|
}
|