@synerise/ds-button 1.4.1 → 1.4.3
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 +456 -1353
- package/README.md +15 -14
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +2 -2
- package/dist/Button.styles.js +2 -2
- package/dist/Button.types.d.ts +2 -2
- package/dist/ButtonToggle/ButtonToggle.js +0 -1
- package/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/Creator/Creator.d.ts +1 -1
- package/dist/Creator/Creator.js +1 -1
- package/dist/Creator/Creator.styles.js +6 -2
- package/dist/Expander/Expander.d.ts +2 -2
- package/dist/Expander/Expander.js +1 -1
- package/dist/Expander/Expander.styles.d.ts +2 -2
- package/dist/Expander/Expander.styles.js +5 -9
- package/dist/Star/Star.d.ts +1 -1
- package/dist/Star/Star.js +1 -1
- package/dist/Star/Star.types.d.ts +1 -1
- package/dist/index.d.ts +6 -8
- package/dist/index.js +5 -5
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
```js noeditor
|
|
2
2
|
import { version } from './package.json';
|
|
3
|
+
|
|
3
4
|
`Current version: ${version}`;
|
|
4
5
|
```
|
|
5
6
|
|
|
@@ -70,20 +71,20 @@ import { AngleDownS } from '@synerise/ds-icon';
|
|
|
70
71
|
|
|
71
72
|
## ButtonToggle
|
|
72
73
|
|
|
73
|
-
Special type of Button, with two states: default and activated (selected). Inherits most props from Button.
|
|
74
|
-
|
|
75
|
-
| Property | Description | Type
|
|
76
|
-
| -------------- | ---------------------------------------------------------------------------- |
|
|
77
|
-
| disabled | Defines if the button is disabled. | boolean
|
|
78
|
-
| groupVariant | Defines shape of the button | `left-rounded` / `squared` / `right-rounded`
|
|
79
|
-
| justifyContent | Defines justify of content in button. | JustifyContentProperty (React.CSSPRroperties)
|
|
80
|
-
| loading | Sets the loading status of button. | boolean / `{ delay?: number }`
|
|
81
|
-
| mode | Defines the mode of the button content. It affects content inside the button | `single-icon` / `split` / `two-icons` /`label-icon` / `icon-label`
|
|
82
|
-
| onClick | Callback executed after clicking the button | (event: React.MouseEvent) => void
|
|
83
|
-
| type | Defines the type of the button. | `solid` / `ghost`
|
|
84
|
-
| error | Defines if the button has error button styles . | boolean
|
|
85
|
-
| activated | Defines if the button has activated button styles . | boolean
|
|
86
|
-
| tagProps | Renders a status tag next to button label | TagProps see ds-tag
|
|
74
|
+
Special type of Button, with two states: default and activated (selected). Inherits most props from Button.
|
|
75
|
+
|
|
76
|
+
| Property | Description | Type | Default |
|
|
77
|
+
| -------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------ | ------- |
|
|
78
|
+
| disabled | Defines if the button is disabled. | boolean | `false` |
|
|
79
|
+
| groupVariant | Defines shape of the button | `left-rounded` / `squared` / `right-rounded` | - |
|
|
80
|
+
| justifyContent | Defines justify of content in button. | JustifyContentProperty (React.CSSPRroperties) | - |
|
|
81
|
+
| loading | Sets the loading status of button. | boolean / `{ delay?: number }` | `false` |
|
|
82
|
+
| mode | Defines the mode of the button content. It affects content inside the button | `single-icon` / `split` / `two-icons` /`label-icon` / `icon-label` | - |
|
|
83
|
+
| onClick | Callback executed after clicking the button | (event: React.MouseEvent) => void | - |
|
|
84
|
+
| type | Defines the type of the button. | `solid` / `ghost` | `solid` |
|
|
85
|
+
| error | Defines if the button has error button styles . | boolean | `false` |
|
|
86
|
+
| activated | Defines if the button has activated button styles . | boolean | `false` |
|
|
87
|
+
| tagProps | Renders a status tag next to button label | TagProps see ds-tag | - |
|
|
87
88
|
|
|
88
89
|
## Button.Creator
|
|
89
90
|
|
package/dist/Button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '@synerise/ds-core/dist/js/style';
|
|
3
|
+
import { type ButtonProps } from './Button.types';
|
|
3
4
|
import './style/index.less';
|
|
4
|
-
import { ButtonProps } from './Button.types';
|
|
5
5
|
declare const Button: ({ type, mode, justifyContent, groupVariant, loading, onClick, className, color, error, tagProps, children, tooltipProps, ...antdProps }: ButtonProps) => React.JSX.Element;
|
|
6
6
|
export default Button;
|
package/dist/Button.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var _excluded = ["type", "mode", "justifyContent", "groupVariant", "loading", "onClick", "className", "color", "error", "tagProps", "children", "tooltipProps"];
|
|
2
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
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, { useEffect,
|
|
4
|
+
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
5
5
|
import '@synerise/ds-core/dist/js/style';
|
|
6
|
-
import "./style/index.css";
|
|
7
6
|
import Icon, { SpinnerM } from '@synerise/ds-icon';
|
|
8
7
|
import { TagShape } from '@synerise/ds-tag';
|
|
9
8
|
import Tooltip from '@synerise/ds-tooltip';
|
|
10
9
|
import * as S from './Button.styles';
|
|
11
10
|
import { ButtonMode } from './Button.types';
|
|
11
|
+
import "./style/index.css";
|
|
12
12
|
var RIPPLE_ANIMATION_OFFSET = 50;
|
|
13
13
|
var Button = function Button(_ref) {
|
|
14
14
|
var _ref$type = _ref.type,
|
package/dist/Button.styles.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _excluded = ["mode", "type", "loading", "justifyContent", "groupVariant", "customColor", "rightIconSize", "leftIconSize", "pressed", "size", "iconColor", "error"];
|
|
2
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
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 Button from 'antd/lib/button';
|
|
4
5
|
import React from 'react';
|
|
5
6
|
import styled, { css, keyframes } from 'styled-components';
|
|
6
|
-
import Button from 'antd/lib/button';
|
|
7
7
|
import { IconContainer } from '@synerise/ds-icon';
|
|
8
8
|
import DSTag from '@synerise/ds-tag';
|
|
9
9
|
export var RIPPLE_ANIMATION_TIME = 500;
|
|
@@ -72,7 +72,7 @@ export var AntdButton = styled(function (_ref) {
|
|
|
72
72
|
}, function (props) {
|
|
73
73
|
return props.shape && props.shape === 'circle' && css(["border-radius:50%;"]);
|
|
74
74
|
}, ButtonLabel, ButtonLabel, ButtonLabel, function (props) {
|
|
75
|
-
return props.mode !== 'single-icon' && css(["&.ant-btn:not(.ds-expander):not(.ds-button-creator):not(.btn-search):not(.btn-search-open){min-width:54px;}"]);
|
|
75
|
+
return props.mode !== 'single-icon' && css(["&.ant-btn:not(.ds-expander):not(.ds-button-creator):not( .btn-search ):not(.btn-search-open){min-width:54px;}"]);
|
|
76
76
|
}, function (props) {
|
|
77
77
|
return pressedStyles(props);
|
|
78
78
|
}, function (props) {
|
package/dist/Button.types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { ElementType, MouseEvent } from 'react';
|
|
2
1
|
import type { ButtonProps as AntdButtonProps } from 'antd/lib/button';
|
|
3
2
|
import type { JustifyContentProperty } from 'csstype';
|
|
4
|
-
import type {
|
|
3
|
+
import type { ElementType, MouseEvent } from 'react';
|
|
5
4
|
import type { TagProps } from '@synerise/ds-tag';
|
|
6
5
|
import type { TooltipProps } from '@synerise/ds-tooltip';
|
|
6
|
+
import type { LiteralStringUnion } from '@synerise/ds-utils';
|
|
7
7
|
export declare enum ButtonMode {
|
|
8
8
|
SINGLE_ICON = "single-icon",
|
|
9
9
|
SPLIT = "split",
|
|
@@ -18,7 +18,6 @@ var ButtonToggle = function ButtonToggle(_ref) {
|
|
|
18
18
|
}, [activated, type]);
|
|
19
19
|
var handlePointerUp = function handlePointerUp(event) {
|
|
20
20
|
var button = event.currentTarget;
|
|
21
|
-
// eslint-disable-next-line no-unused-expressions
|
|
22
21
|
buttonProps.onPointerUp == null || buttonProps.onPointerUp(event);
|
|
23
22
|
setTimeout(function () {
|
|
24
23
|
button && button.blur();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Props as ButtonProps } from '../Button.types';
|
|
1
|
+
import { type Props as ButtonProps } from '../Button.types';
|
|
2
2
|
type ButtonPropsOmitted = Omit<ButtonProps, 'type' | 'block' | 'color' | 'groupVariant' | 'icon' | 'iconColor' | 'leftIconSize' | 'mode' | 'rightIconSize' | 'size' | 'onChange'>;
|
|
3
3
|
export type CheckboxButtonProps = ButtonPropsOmitted & {
|
|
4
4
|
checked?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CreatorProps } from './Creator.types';
|
|
2
|
+
import { type CreatorProps } from './Creator.types';
|
|
3
3
|
declare const Creator: ({ onClick, disabled, label, block, status, className, ...htmlAttributes }: CreatorProps) => React.JSX.Element;
|
|
4
4
|
export default Creator;
|
package/dist/Creator/Creator.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var _excluded = ["onClick", "disabled", "label", "block", "status", "className"];
|
|
2
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
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, { useCallback, useState } from 'react';
|
|
5
4
|
import classnames from 'classnames';
|
|
5
|
+
import React, { useCallback, useState } from 'react';
|
|
6
6
|
import Icon, { AddM } from '@synerise/ds-icon';
|
|
7
7
|
import * as S from './Creator.styles';
|
|
8
8
|
var Creator = function Creator(_ref) {
|
|
@@ -31,8 +31,12 @@ export var Creator = styled(function (_ref3) {
|
|
|
31
31
|
displayName: "Creatorstyles__Creator",
|
|
32
32
|
componentId: "sc-1w96u6h-1"
|
|
33
33
|
})(["&&&{width:", ";opacity:", ";height:48px;padding:", ";border-radius:3px;border:1px dashed ", ";background:transparent;transition:all 0.3s ease;justify-content:", ";align-items:center;&.ant-btn > span{display:flex;align-items:center;}", "{margin:auto 12px;svg{transition:all 0.3s ease;color:", ";fill:", ";}}", "{background-color:", ";}", "{display:none;}&:hover:not(:disabled){", "{svg{color:", " !important;fill:", " !important;}}", "{color:", ";}}&:hover:not(:disabled):not(:focus){border:1px dashed ", ";background-color:", ";}", " &:focus:active{border:1px dashed ", " !important;box-shadow:none;background-color:", ";}&:focus{border:1px dashed ", ";box-shadow:none;}&:disabled{border-color:", ";background-color:", ";}", " ", "}"], function (props) {
|
|
34
|
-
if (!props.withLabel)
|
|
35
|
-
|
|
34
|
+
if (!props.withLabel) {
|
|
35
|
+
return '48px';
|
|
36
|
+
}
|
|
37
|
+
if (props.block) {
|
|
38
|
+
return '100%';
|
|
39
|
+
}
|
|
36
40
|
return 'auto';
|
|
37
41
|
}, function (props) {
|
|
38
42
|
return props.disabled ? "0.4" : '1';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ExpanderProps } from './Expander.types';
|
|
3
|
-
declare const Expander: ({ size, expanded, disabled, onClick, className }: ExpanderProps) => React.JSX.Element;
|
|
2
|
+
import { type ExpanderProps } from './Expander.types';
|
|
3
|
+
declare const Expander: ({ size, expanded, disabled, onClick, className, }: ExpanderProps) => React.JSX.Element;
|
|
4
4
|
export default Expander;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Keyframes } from 'styled-components';
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import {
|
|
2
|
+
import { type Keyframes } from 'styled-components';
|
|
3
|
+
import { type ThemeProps } from '@synerise/ds-core';
|
|
4
4
|
export type ExpanderProps = {
|
|
5
5
|
onClick: () => void;
|
|
6
6
|
size: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var _excluded = ["children", "expanded", "size"];
|
|
2
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
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 styled, { keyframes, css } from 'styled-components';
|
|
5
4
|
import React from 'react';
|
|
5
|
+
import styled, { css, keyframes } from 'styled-components';
|
|
6
6
|
import { IconContainer } from '@synerise/ds-icon';
|
|
7
7
|
import Button from '../Button';
|
|
8
8
|
export var focusAnimation = function focusAnimation(_ref) {
|
|
@@ -15,17 +15,13 @@ export var Expander = styled(function (_ref2) {
|
|
|
15
15
|
expanded = _ref2.expanded,
|
|
16
16
|
size = _ref2.size,
|
|
17
17
|
rest = _objectWithoutPropertiesLoose(_ref2, _excluded);
|
|
18
|
-
return (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
React.createElement(Button, _extends({
|
|
22
|
-
mode: "single-icon"
|
|
23
|
-
}, rest), children)
|
|
24
|
-
);
|
|
18
|
+
return /*#__PURE__*/React.createElement(Button, _extends({
|
|
19
|
+
mode: "single-icon"
|
|
20
|
+
}, rest), children);
|
|
25
21
|
}).withConfig({
|
|
26
22
|
displayName: "Expanderstyles__Expander",
|
|
27
23
|
componentId: "sc-1a3xe1e-0"
|
|
28
|
-
})(["&&&{width:", "px;height:", "px;border-radius:50%;background-color:", ";", "{svg{opacity:", ";fill:", " !important;transition:transform 0.1s linear;transform:rotate(", ");}}.btn-focus{box-shadow:inset 0 0 0 1px ", ";}", "}"], function (props) {
|
|
24
|
+
})(["&&&{width:", "px;height:", "px;border-radius:50%;background-color:", ";", "{svg{opacity:", ";fill:", " !important;transition:transform 0.1s linear;transform:rotate( ", " );}}.btn-focus{box-shadow:inset 0 0 0 1px ", ";}", "}"], function (props) {
|
|
29
25
|
return props.size || SIZE_DEFAULT;
|
|
30
26
|
}, function (props) {
|
|
31
27
|
return props.size || SIZE_DEFAULT;
|
package/dist/Star/Star.d.ts
CHANGED
package/dist/Star/Star.js
CHANGED
|
@@ -2,7 +2,7 @@ var _excluded = ["hasError", "active", "type"];
|
|
|
2
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
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
4
|
import React from 'react';
|
|
5
|
-
import Icon, {
|
|
5
|
+
import Icon, { StarFillM, StarM } from '@synerise/ds-icon';
|
|
6
6
|
import Button from '../Button';
|
|
7
7
|
import * as S from './Star.styles';
|
|
8
8
|
var StarButton = function StarButton(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Props as ButtonProps } from '../Button.types';
|
|
1
|
+
import { type Props as ButtonProps } from '../Button.types';
|
|
2
2
|
type ButtonPropsOmitted = Omit<ButtonProps, 'type' | 'block' | 'color' | 'groupVariant' | 'icon' | 'iconColor' | 'leftIconSize' | 'mode' | 'rightIconSize' | 'size' | 'onChange'>;
|
|
3
3
|
export type StarButtonProps = ButtonPropsOmitted & {
|
|
4
4
|
active?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Props as ButtonProps } from './Button.types';
|
|
3
2
|
import * as MainButtonStyles from './Button.styles';
|
|
3
|
+
import { type Props } from './Button.types';
|
|
4
4
|
import * as CheckboxStyles from './Checkbox/Checkbox.styles';
|
|
5
5
|
import * as CreatorStyles from './Creator/Creator.styles';
|
|
6
6
|
import * as ExpanderStyles from './Expander/Expander.styles';
|
|
7
7
|
import * as StarStyles from './Star/Star.styles';
|
|
8
|
-
declare class Button extends React.Component<
|
|
8
|
+
declare class Button extends React.Component<Props> {
|
|
9
9
|
static readonly Checkbox: (props: import("./Checkbox/Checkbox.types").CheckboxButtonProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
10
10
|
static readonly Creator: ({ onClick, disabled, label, block, status, className, ...htmlAttributes }: import("./Creator/Creator.types").CreatorProps) => React.JSX.Element;
|
|
11
|
-
static readonly Expander: ({ size, expanded, disabled, onClick, className }: import("./Expander/Expander.types").ExpanderProps) => React.JSX.Element;
|
|
11
|
+
static readonly Expander: ({ size, expanded, disabled, onClick, className, }: import("./Expander/Expander.types").ExpanderProps) => React.JSX.Element;
|
|
12
12
|
static readonly Star: (props: import("./Star/Star.types").StarButtonProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
13
13
|
render(): React.JSX.Element;
|
|
14
14
|
}
|
|
15
15
|
export default Button;
|
|
16
16
|
export { default as ButtonToggle } from './ButtonToggle/ButtonToggle';
|
|
17
17
|
export type { ButtonToggleProps } from './ButtonToggle/ButtonToggle.types';
|
|
18
|
-
export type
|
|
18
|
+
export { type CreatorProps, CreatorStatus } from './Creator/Creator.types';
|
|
19
19
|
export type { StarButtonProps } from './Star/Star.types';
|
|
20
20
|
export type { CheckboxButtonProps } from './Checkbox/Checkbox.types';
|
|
21
|
-
export type
|
|
22
|
-
export type
|
|
23
|
-
export { ExpanderSize } from './Expander/Expander.types';
|
|
24
|
-
export { CreatorStatus } from './Creator/Creator.types';
|
|
21
|
+
export { ExpanderSize, type ExpanderProps } from './Expander/Expander.types';
|
|
22
|
+
export type ButtonProps = Props;
|
|
25
23
|
export declare const ButtonStyles: {
|
|
26
24
|
Button: typeof MainButtonStyles;
|
|
27
25
|
Creator: typeof CreatorStyles;
|
package/dist/index.js
CHANGED
|
@@ -2,14 +2,14 @@ function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prot
|
|
|
2
2
|
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import MainButton from './Button';
|
|
5
|
-
import CheckboxButton from './Checkbox/Checkbox';
|
|
6
|
-
import Creator from './Creator/Creator';
|
|
7
|
-
import Expander from './Expander/Expander';
|
|
8
|
-
import StarButton from './Star/Star';
|
|
9
5
|
import * as MainButtonStyles from './Button.styles';
|
|
6
|
+
import CheckboxButton from './Checkbox/Checkbox';
|
|
10
7
|
import * as CheckboxStyles from './Checkbox/Checkbox.styles';
|
|
8
|
+
import Creator from './Creator/Creator';
|
|
11
9
|
import * as CreatorStyles from './Creator/Creator.styles';
|
|
10
|
+
import Expander from './Expander/Expander';
|
|
12
11
|
import * as ExpanderStyles from './Expander/Expander.styles';
|
|
12
|
+
import StarButton from './Star/Star';
|
|
13
13
|
import * as StarStyles from './Star/Star.styles';
|
|
14
14
|
var Button = /*#__PURE__*/function (_React$Component) {
|
|
15
15
|
function Button() {
|
|
@@ -28,8 +28,8 @@ Button.Expander = Expander;
|
|
|
28
28
|
Button.Star = StarButton;
|
|
29
29
|
export default Button;
|
|
30
30
|
export { default as ButtonToggle } from './ButtonToggle/ButtonToggle';
|
|
31
|
-
export { ExpanderSize } from './Expander/Expander.types';
|
|
32
31
|
export { CreatorStatus } from './Creator/Creator.types';
|
|
32
|
+
export { ExpanderSize } from './Expander/Expander.types';
|
|
33
33
|
export var ButtonStyles = {
|
|
34
34
|
Button: MainButtonStyles,
|
|
35
35
|
Creator: CreatorStyles,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-button",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "Button UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-icon": "^1.5.
|
|
38
|
-
"@synerise/ds-tag": "^1.1.
|
|
39
|
-
"@synerise/ds-tooltip": "^1.1.
|
|
40
|
-
"@synerise/ds-utils": "^1.3.
|
|
41
|
-
"classnames": "2.
|
|
37
|
+
"@synerise/ds-icon": "^1.5.4",
|
|
38
|
+
"@synerise/ds-tag": "^1.1.12",
|
|
39
|
+
"@synerise/ds-tooltip": "^1.1.12",
|
|
40
|
+
"@synerise/ds-utils": "^1.3.1",
|
|
41
|
+
"classnames": "^2.5.1",
|
|
42
42
|
"csstype": "^2.6.9"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react": ">=16.9.0 <= 18.3.1",
|
|
48
48
|
"styled-components": "^5.3.3"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "8db1900bf3f7b0782c834ff82f628199530cd934"
|
|
51
51
|
}
|