@synerise/ds-button 1.5.17 → 1.5.18

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/Button.d.ts +11 -13
  3. package/dist/Button.figma.js +39 -49
  4. package/dist/Button.js +72 -96
  5. package/dist/Button.styles.d.ts +14 -14
  6. package/dist/Button.styles.js +56 -105
  7. package/dist/Button.types.d.ts +7 -7
  8. package/dist/Button.types.js +11 -10
  9. package/dist/ButtonToggle/ButtonToggle.d.ts +2 -2
  10. package/dist/ButtonToggle/ButtonToggle.js +21 -25
  11. package/dist/ButtonToggle/ButtonToggle.styles.d.ts +2 -2
  12. package/dist/ButtonToggle/ButtonToggle.styles.js +14 -14
  13. package/dist/ButtonToggle/ButtonToggle.types.d.ts +1 -1
  14. package/dist/ButtonToggle/ButtonToggle.types.js +1 -1
  15. package/dist/Checkbox/Checkbox.d.ts +2 -2
  16. package/dist/Checkbox/Checkbox.js +43 -55
  17. package/dist/Checkbox/Checkbox.styles.d.ts +4 -4
  18. package/dist/Checkbox/Checkbox.styles.js +37 -33
  19. package/dist/Checkbox/Checkbox.types.d.ts +1 -1
  20. package/dist/Checkbox/Checkbox.types.js +1 -1
  21. package/dist/Creator/Creator.d.ts +2 -2
  22. package/dist/Creator/Creator.js +25 -41
  23. package/dist/Creator/Creator.styles.d.ts +3 -25
  24. package/dist/Creator/Creator.styles.js +37 -81
  25. package/dist/Creator/Creator.types.d.ts +2 -2
  26. package/dist/Creator/Creator.types.js +9 -6
  27. package/dist/Expander/Expander.d.ts +2 -2
  28. package/dist/Expander/Expander.js +16 -22
  29. package/dist/Expander/Expander.styles.d.ts +4 -4
  30. package/dist/Expander/Expander.styles.js +19 -38
  31. package/dist/Expander/Expander.types.js +8 -5
  32. package/dist/Star/Star.d.ts +2 -2
  33. package/dist/Star/Star.js +17 -29
  34. package/dist/Star/Star.styles.d.ts +2 -2
  35. package/dist/Star/Star.styles.js +25 -24
  36. package/dist/Star/Star.types.d.ts +1 -1
  37. package/dist/Star/Star.types.js +1 -1
  38. package/dist/assets/style/index-tn0RQdqM.css +0 -0
  39. package/dist/index.d.ts +22 -22
  40. package/dist/index.js +34 -24
  41. package/dist/modules.d.js +1 -1
  42. package/dist/modules.d.ts +0 -0
  43. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
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.18](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.5.17...@synerise/ds-button@1.5.18) (2026-03-24)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-button
9
+
6
10
  ## [1.5.17](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.5.16...@synerise/ds-button@1.5.17) (2026-03-20)
7
11
 
8
12
  **Note:** Version bump only for package @synerise/ds-button
package/dist/Button.d.ts CHANGED
@@ -1,27 +1,25 @@
1
- import React, { type MouseEvent } from 'react';
2
- import '@synerise/ds-core/dist/js/style';
3
- import './style/index.less';
1
+ import { default as React, MouseEvent } from 'react';
4
2
  declare const Button: React.ForwardRefExoticComponent<Omit<Partial<{
5
3
  href: string;
6
4
  target?: string;
7
5
  onClick?: React.MouseEventHandler<HTMLElement>;
8
- } & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
9
- htmlType?: import("antd/lib/button/button").ButtonHTMLType;
6
+ } & import('antd/lib/button/button').BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
7
+ htmlType?: import('antd/lib/button/button').ButtonHTMLType;
10
8
  onClick?: React.MouseEventHandler<HTMLElement>;
11
9
  } & Omit<React.ButtonHTMLAttributes<any>, "type" | "onClick">>, "ghost" | "type"> & {
12
- type?: import("@synerise/ds-utils").LiteralStringUnion<import("./Button.types").ButtonType>;
13
- mode?: import("@synerise/ds-utils").LiteralStringUnion<"single-icon" | "split" | "two-icons" | "label-icon" | "icon-label">;
14
- color?: import("@synerise/ds-utils").LiteralStringUnion<"blue" | "grey" | "red" | "green" | "yellow" | "pink" | "mars" | "orange" | "fern" | "cyan" | "purple" | "violet">;
15
- groupVariant?: import("@synerise/ds-utils").LiteralStringUnion<"left-rounded" | "squared" | "right-rounded">;
16
- justifyContent?: import("csstype").JustifyContentProperty;
10
+ type?: import('@synerise/ds-utils').LiteralStringUnion<import('./Button.types').ButtonType>;
11
+ mode?: import('@synerise/ds-utils').LiteralStringUnion<"single-icon" | "split" | "two-icons" | "label-icon" | "icon-label">;
12
+ color?: import('@synerise/ds-utils').LiteralStringUnion<"blue" | "grey" | "red" | "green" | "yellow" | "pink" | "mars" | "orange" | "fern" | "cyan" | "purple" | "violet">;
13
+ groupVariant?: import('@synerise/ds-utils').LiteralStringUnion<"left-rounded" | "squared" | "right-rounded">;
14
+ justifyContent?: import('csstype').JustifyContentProperty;
17
15
  loading?: boolean | {
18
16
  delay?: number;
19
17
  };
20
18
  onClick?: (event: MouseEvent<HTMLElement>) => void;
21
- iconColor?: import("@synerise/ds-utils").LiteralStringUnion<"blue" | "grey" | "red" | "green" | "yellow" | "pink" | "mars" | "orange" | "fern" | "cyan" | "purple" | "violet">;
19
+ iconColor?: import('@synerise/ds-utils').LiteralStringUnion<"blue" | "grey" | "red" | "green" | "yellow" | "pink" | "mars" | "orange" | "fern" | "cyan" | "purple" | "violet">;
22
20
  error?: boolean;
23
21
  readOnly?: boolean;
24
- tagProps?: import("@synerise/ds-tag").TagProps;
25
- tooltipProps?: import("@synerise/ds-tooltip").TooltipProps;
22
+ tagProps?: import('@synerise/ds-tag').TagProps;
23
+ tooltipProps?: import('@synerise/ds-tooltip').TooltipProps;
26
24
  } & React.RefAttributes<HTMLButtonElement>>;
27
25
  export default Button;
@@ -1,66 +1,56 @@
1
- import figma from '@figma/code-connect';
2
- import Button from './Button';
3
- import { ButtonMode } from './Button.types';
4
- var FIGMA_URL = 'https://www.figma.com/design/fsSZONXpVvtrDsCgtu01Jb/Synerise-Design-System?node-id=139:4694&m=dev';
5
- var typeMapping = figma["enum"]('Variant', {
6
- Primary: 'primary',
7
- Secondary: 'secondary',
8
- Tertiary: 'tertiary',
9
- 'Tetriary White': 'tertiary-white',
10
- 'Ghost Primary': 'ghost-primary',
11
- 'Ghost Secondary': 'ghost',
12
- 'Ghost Secondary White': 'ghost-white'
1
+ import { jsx } from "react/jsx-runtime";
2
+ import figma from "@figma/code-connect";
3
+ import Button from "./Button.js";
4
+ import { ButtonMode } from "./Button.types.js";
5
+ const FIGMA_URL = "https://www.figma.com/design/fsSZONXpVvtrDsCgtu01Jb/Synerise-Design-System?node-id=139:4694&m=dev";
6
+ const typeMapping = figma.enum("Variant", {
7
+ Primary: "primary",
8
+ Secondary: "secondary",
9
+ Tertiary: "tertiary",
10
+ "Tetriary White": "tertiary-white",
11
+ "Ghost Primary": "ghost-primary",
12
+ "Ghost Secondary": "ghost",
13
+ "Ghost Secondary White": "ghost-white"
13
14
  });
14
- var modeMapping = figma["enum"]('Content Type', {
15
- Simple: undefined,
16
- 'Icon left': ButtonMode.ICON_LABEL,
17
- 'Icon right': ButtonMode.LABEL_ICON,
18
- 'Icon solo': ButtonMode.SINGLE_ICON,
19
- '2 icons': ButtonMode.TWO_ICONS,
15
+ const modeMapping = figma.enum("Content Type", {
16
+ Simple: void 0,
17
+ "Icon left": ButtonMode.ICON_LABEL,
18
+ "Icon right": ButtonMode.LABEL_ICON,
19
+ "Icon solo": ButtonMode.SINGLE_ICON,
20
+ "2 icons": ButtonMode.TWO_ICONS,
20
21
  Split: ButtonMode.SPLIT
21
22
  });
22
- var sizeMapping = figma["enum"]('Size', {
23
- Normal: undefined,
24
- Large: 'large'
23
+ const sizeMapping = figma.enum("Size", {
24
+ Normal: void 0,
25
+ Large: "large"
25
26
  });
26
- var baseProps = {
27
+ const baseProps = {
27
28
  type: typeMapping,
28
29
  mode: modeMapping,
29
30
  size: sizeMapping,
30
- label: figma.string('✏️Text')
31
+ label: figma.string("✏️Text")
31
32
  };
32
33
  figma.connect(Button, FIGMA_URL, {
33
34
  variant: {
34
- State: 'Default'
35
+ State: "Default"
35
36
  },
36
37
  props: baseProps,
37
- example: function example(_ref) {
38
- var type = _ref.type,
39
- mode = _ref.mode,
40
- size = _ref.size,
41
- label = _ref.label;
42
- return /*#__PURE__*/React.createElement(Button, {
43
- type: type,
44
- mode: mode,
45
- size: size
46
- }, label);
47
- }
38
+ example: ({
39
+ type,
40
+ mode,
41
+ size,
42
+ label
43
+ }) => /* @__PURE__ */ jsx(Button, { type, mode, size, children: label })
48
44
  });
49
45
  figma.connect(Button, FIGMA_URL, {
50
46
  variant: {
51
- State: 'Disabled'
47
+ State: "Disabled"
52
48
  },
53
49
  props: baseProps,
54
- example: function example(_ref2) {
55
- var type = _ref2.type,
56
- mode = _ref2.mode,
57
- size = _ref2.size,
58
- label = _ref2.label;
59
- return /*#__PURE__*/React.createElement(Button, {
60
- type: type,
61
- mode: mode,
62
- size: size,
63
- disabled: true
64
- }, label);
65
- }
66
- });
50
+ example: ({
51
+ type,
52
+ mode,
53
+ size,
54
+ label
55
+ }) => /* @__PURE__ */ jsx(Button, { type, mode, size, disabled: true, children: label })
56
+ });
package/dist/Button.js CHANGED
@@ -1,110 +1,86 @@
1
- var _excluded = ["type", "mode", "justifyContent", "groupVariant", "loading", "onClick", "className", "color", "error", "tagProps", "children", "tooltipProps"];
2
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
- import React, { forwardRef, useEffect, useMemo, useRef, useState } from 'react';
5
- import '@synerise/ds-core/dist/js/style';
6
- import Icon, { SpinnerM } from '@synerise/ds-icon';
7
- import { TagShape } from '@synerise/ds-tag';
8
- import Tooltip from '@synerise/ds-tooltip';
9
- import * as S from './Button.styles';
10
- import { ButtonMode } from './Button.types';
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { forwardRef, useRef, useState, useEffect, useMemo } from "react";
3
+ import Icon, { SpinnerM } from "@synerise/ds-icon";
4
+ import { TagShape } from "@synerise/ds-tag";
5
+ import Tooltip from "@synerise/ds-tooltip";
6
+ import { RIPPLE_ANIMATION_TIME, ButtonLabel, Tag, AntdButton, RippleEffect, Spinner, ButtonFocus } from "./Button.styles.js";
7
+ import { ButtonMode } from "./Button.types.js";
11
8
  import "./style/index.css";
12
- var RIPPLE_ANIMATION_OFFSET = 50;
13
- var Button = /*#__PURE__*/forwardRef(function (_ref, forwardedRef) {
14
- var _ref$type = _ref.type,
15
- type = _ref$type === void 0 ? 'secondary' : _ref$type,
16
- mode = _ref.mode,
17
- _ref$justifyContent = _ref.justifyContent,
18
- justifyContent = _ref$justifyContent === void 0 ? 'center' : _ref$justifyContent,
19
- groupVariant = _ref.groupVariant,
20
- _ref$loading = _ref.loading,
21
- loading = _ref$loading === void 0 ? false : _ref$loading,
22
- onClick = _ref.onClick,
23
- className = _ref.className,
24
- _ref$color = _ref.color,
25
- color = _ref$color === void 0 ? 'red' : _ref$color,
26
- error = _ref.error,
27
- tagProps = _ref.tagProps,
28
- children = _ref.children,
29
- tooltipProps = _ref.tooltipProps,
30
- antdProps = _objectWithoutPropertiesLoose(_ref, _excluded);
31
- var rippleRef = useRef(null);
32
- var _useState = useState(''),
33
- rippleClassName = _useState[0],
34
- setRippleClassName = _useState[1];
35
- var _useState2 = useState(false),
36
- pressed = _useState2[0],
37
- setPressed = _useState2[1];
38
- useEffect(function () {
39
- var rippleAnimation;
40
- if (rippleClassName !== '') {
41
- rippleAnimation = setTimeout(function () {
42
- setRippleClassName('');
43
- }, S.RIPPLE_ANIMATION_TIME - RIPPLE_ANIMATION_OFFSET);
9
+ const RIPPLE_ANIMATION_OFFSET = 50;
10
+ const Button = forwardRef(({
11
+ type = "secondary",
12
+ mode,
13
+ justifyContent = "center",
14
+ groupVariant,
15
+ loading = false,
16
+ onClick,
17
+ className,
18
+ color = "red",
19
+ error,
20
+ tagProps,
21
+ children,
22
+ tooltipProps,
23
+ ...antdProps
24
+ }, forwardedRef) => {
25
+ const rippleRef = useRef(null);
26
+ const [rippleClassName, setRippleClassName] = useState("");
27
+ const [pressed, setPressed] = useState(false);
28
+ useEffect(() => {
29
+ let rippleAnimation;
30
+ if (rippleClassName !== "") {
31
+ rippleAnimation = setTimeout(() => {
32
+ setRippleClassName("");
33
+ }, RIPPLE_ANIMATION_TIME - RIPPLE_ANIMATION_OFFSET);
44
34
  }
45
- return function () {
35
+ return () => {
46
36
  rippleAnimation && clearTimeout(rippleAnimation);
47
37
  };
48
38
  }, [rippleClassName]);
49
- var handleClick = function handleClick(event) {
50
- var button = event.currentTarget.closest('.ant-btn');
39
+ const handleClick = (event) => {
40
+ const button = event.currentTarget.closest(".ant-btn");
51
41
  if (button) {
52
- var buttonBoundingRect = button.getBoundingClientRect();
53
- var x = event.clientX - buttonBoundingRect.left;
54
- var y = event.clientY - buttonBoundingRect.top;
42
+ const buttonBoundingRect = button.getBoundingClientRect();
43
+ const x = event.clientX - buttonBoundingRect.left;
44
+ const y = event.clientY - buttonBoundingRect.top;
55
45
  if (rippleRef.current) {
56
- rippleRef.current.style.cssText = "top: " + y + "px; left: " + x + "px";
46
+ rippleRef.current.style.cssText = `top: ${y}px; left: ${x}px`;
57
47
  }
58
- setRippleClassName('animate');
48
+ setRippleClassName("animate");
59
49
  onClick && onClick(event);
60
50
  }
61
51
  };
62
- var classNameString = useMemo(function () {
63
- var modeStringifed = mode || '';
64
- var readOnlyStringifed = antdProps.readOnly ? 'read-only' : '';
65
- var classNameStringifed = className || '';
66
- return "ds-button " + modeStringifed + " " + classNameStringifed + " " + readOnlyStringifed;
52
+ const classNameString = useMemo(() => {
53
+ const modeStringifed = mode || "";
54
+ const readOnlyStringifed = antdProps.readOnly ? "read-only" : "";
55
+ const classNameStringifed = className || "";
56
+ return `ds-button ${modeStringifed} ${classNameStringifed} ${readOnlyStringifed}`;
67
57
  }, [mode, className, antdProps.readOnly]);
68
- var buttonLabel = useMemo(function () {
69
- var label = /*#__PURE__*/React.createElement(S.ButtonLabel, {
70
- // ref={forwardedRef}
71
- withTooltip: !!tooltipProps,
72
- "data-testid": "ds-button-label",
73
- className: "ds-button-label"
74
- }, children, tagProps && mode !== ButtonMode.SINGLE_ICON && /*#__PURE__*/React.createElement(S.Tag, _extends({}, tagProps, {
75
- shape: TagShape.MEDIUM_ROUND,
76
- asPill: true
77
- })));
78
- return tooltipProps ? /*#__PURE__*/React.createElement(Tooltip, tooltipProps, label) : label;
58
+ const buttonLabel = useMemo(() => {
59
+ const label = /* @__PURE__ */ jsxs(
60
+ ButtonLabel,
61
+ {
62
+ withTooltip: !!tooltipProps,
63
+ "data-testid": "ds-button-label",
64
+ className: "ds-button-label",
65
+ children: [
66
+ children,
67
+ tagProps && mode !== ButtonMode.SINGLE_ICON && /* @__PURE__ */ jsx(Tag, { ...tagProps, shape: TagShape.MEDIUM_ROUND, asPill: true })
68
+ ]
69
+ }
70
+ );
71
+ return tooltipProps ? /* @__PURE__ */ jsx(Tooltip, { ...tooltipProps, children: label }) : label;
79
72
  }, [children, tagProps, mode, tooltipProps]);
80
- return /*#__PURE__*/React.createElement(S.AntdButton, _extends({
81
- ref: forwardedRef,
82
- justifyContent: justifyContent,
83
- type: type || 'secondary',
84
- mode: mode,
85
- error: error,
86
- groupVariant: groupVariant,
87
- loading: loading,
88
- onClick: handleClick,
89
- onMouseDown: function onMouseDown() {
90
- setPressed(true);
91
- },
92
- onMouseUp: function onMouseUp() {
93
- setPressed(false);
94
- },
95
- pressed: pressed,
96
- className: classNameString,
97
- customColor: color
98
- }, antdProps), !antdProps.readOnly && /*#__PURE__*/React.createElement(S.RippleEffect, {
99
- ref: rippleRef,
100
- className: "btn-ripple " + rippleClassName
101
- }), buttonLabel, loading && /*#__PURE__*/React.createElement(S.Spinner, {
102
- className: "btn-spinner",
103
- "data-testid": "button-spinner"
104
- }, /*#__PURE__*/React.createElement(Icon, {
105
- component: /*#__PURE__*/React.createElement(SpinnerM, null)
106
- })), /*#__PURE__*/React.createElement(S.ButtonFocus, {
107
- className: "btn-focus"
108
- }));
73
+ return /* @__PURE__ */ jsxs(AntdButton, { ref: forwardedRef, justifyContent, type: type || "secondary", mode, error, groupVariant, loading, onClick: handleClick, onMouseDown: () => {
74
+ setPressed(true);
75
+ }, onMouseUp: () => {
76
+ setPressed(false);
77
+ }, pressed, className: classNameString, customColor: color, ...antdProps, children: [
78
+ !antdProps.readOnly && /* @__PURE__ */ jsx(RippleEffect, { ref: rippleRef, className: `btn-ripple ${rippleClassName}` }),
79
+ buttonLabel,
80
+ loading && /* @__PURE__ */ jsx(Spinner, { className: "btn-spinner", "data-testid": "button-spinner", children: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(SpinnerM, {}) }) }),
81
+ /* @__PURE__ */ jsx(ButtonFocus, { className: "btn-focus" })
82
+ ] });
109
83
  });
110
- export default Button;
84
+ export {
85
+ Button as default
86
+ };
@@ -1,16 +1,16 @@
1
- import React from 'react';
2
- import { type ButtonProps } from './Button.types';
1
+ import { default as React } from 'react';
2
+ import { ButtonProps } from './Button.types';
3
3
  export declare const RIPPLE_ANIMATION_TIME = 500;
4
- export declare const Spinner: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const RippleEffect: import("styled-components").StyledComponent<"span", any, {}, never>;
6
- export declare const ButtonFocus: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare const Tag: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
4
+ export declare const Spinner: import('styled-components').StyledComponent<"div", any, {}, never>;
5
+ export declare const RippleEffect: import('styled-components').StyledComponent<"span", any, {}, never>;
6
+ export declare const ButtonFocus: import('styled-components').StyledComponent<"div", any, {}, never>;
7
+ export declare const Tag: import('styled-components').StyledComponent<React.ForwardRefExoticComponent<{
8
8
  id?: string | number;
9
9
  name?: string;
10
10
  textColor?: string;
11
11
  color?: string;
12
12
  image?: string;
13
- shape?: import("@synerise/ds-tag").TagShape;
13
+ shape?: import('@synerise/ds-tag').TagShape;
14
14
  removable?: boolean;
15
15
  className?: string;
16
16
  disabled?: boolean;
@@ -18,20 +18,20 @@ export declare const Tag: import("styled-components").StyledComponent<React.Forw
18
18
  onRemove?: (tag: string | number) => void;
19
19
  prefixel?: React.ReactNode;
20
20
  suffixel?: React.ReactNode;
21
- texts?: import("@synerise/ds-tag").TagTexts;
21
+ texts?: import('@synerise/ds-tag').TagTexts;
22
22
  asPill?: boolean;
23
23
  dashed?: boolean;
24
- tooltipProps?: import("@synerise/ds-tooltip").TooltipProps;
25
- } & Omit<React.HTMLAttributes<HTMLDivElement>, "onClick" | "className" | "id" | "color" | "disabled" | "name" | "shape" | "textColor" | "image" | "removable" | "onRemove" | "prefixel" | "suffixel" | "texts" | "asPill" | "dashed" | "tooltipProps"> & import("@synerise/ds-utils").DataAttributes & React.RefAttributes<HTMLDivElement>>, any, {}, never>;
26
- export declare const ButtonLabel: import("styled-components").StyledComponent<"div", any, {
24
+ tooltipProps?: import('@synerise/ds-tooltip').TooltipProps;
25
+ } & Omit<React.HTMLAttributes<HTMLDivElement>, "onClick" | "className" | "id" | "color" | "disabled" | "name" | "shape" | "textColor" | "image" | "removable" | "onRemove" | "prefixel" | "suffixel" | "texts" | "asPill" | "dashed" | "tooltipProps"> & import('@synerise/ds-utils').DataAttributes & React.RefAttributes<HTMLDivElement>>, any, {}, never>;
26
+ export declare const ButtonLabel: import('styled-components').StyledComponent<"div", any, {
27
27
  withTooltip?: boolean;
28
28
  }, never>;
29
- export declare const AntdButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<Partial<{
29
+ export declare const AntdButton: import('styled-components').StyledComponent<React.ForwardRefExoticComponent<Omit<Partial<{
30
30
  href: string;
31
31
  target?: string;
32
32
  onClick?: React.MouseEventHandler<HTMLElement>;
33
- } & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
34
- htmlType?: import("antd/lib/button/button").ButtonHTMLType;
33
+ } & import('antd/lib/button/button').BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
34
+ htmlType?: import('antd/lib/button/button').ButtonHTMLType;
35
35
  onClick?: React.MouseEventHandler<HTMLElement>;
36
36
  } & Omit<React.ButtonHTMLAttributes<any>, "type" | "onClick">>, "type"> & Pick<ButtonProps, "mode" | "justifyContent" | "groupVariant" | "iconColor" | "error"> & {
37
37
  pressed: boolean;