@synerise/ds-button-group 1.1.5 → 1.1.7

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/README.md CHANGED
@@ -58,4 +58,4 @@ import ButtonGroup from '@synerise/ds-button-group'
58
58
  | buttonsPosition | Defines the horizontal position of buttons. | `left` / `center` / `right` | `center` |
59
59
  | fullWidth | Set buttons width to fill all available space | boolean | `false` |
60
60
  | children | Buttons used in the group | React.ReactNode | - |
61
- | splitMode | Enables split mode - adds borders to single-icon buttons | boolean | `false` |
61
+ | splitMode | Enables split mode - adds borders to single-icon buttons | boolean | `false` |
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { ButtonGroupProps } from './ButtonGroup.types';
2
+ import { type ButtonGroupProps } from './ButtonGroup.types';
3
3
  declare const ButtonGroup: ({ className, children, title, description, size, fullWidth, buttonsPosition, disabled, splitMode, compact, error, }: ButtonGroupProps) => React.JSX.Element;
4
4
  export default ButtonGroup;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import Button from 'antd/lib/button';
2
+ import React from 'react';
3
3
  import * as S from './ButtonGroup.styles';
4
4
  var ButtonGroup = function ButtonGroup(_ref) {
5
5
  var className = _ref.className,
@@ -1,5 +1,5 @@
1
- import { Keyframes } from 'styled-components';
2
- import { ThemeProps } from '@synerise/ds-core';
1
+ import { type Keyframes } from 'styled-components';
2
+ import { type ThemeProps } from '@synerise/ds-core';
3
3
  export declare const focusAnimation: ({ theme }: ThemeProps) => Keyframes;
4
4
  export declare const Container: import("styled-components").StyledComponent<"div", any, {
5
5
  options?: boolean | undefined;
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { ButtonGroupProps as AntButtonGroupProps } from 'antd/lib/button/button-group';
3
- import { LiteralStringUnion } from '@synerise/ds-utils';
1
+ import { type ButtonGroupProps as AntButtonGroupProps } from 'antd/lib/button/button-group';
2
+ import { type ReactNode } from 'react';
3
+ import { type LiteralStringUnion } from '@synerise/ds-utils';
4
4
  export type ButtonGroupProps = AntButtonGroupProps & {
5
5
  children?: ReactNode;
6
6
  title?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-button-group",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Button-Group UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,9 +34,9 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-button": "^1.4.1",
38
- "@synerise/ds-divider": "^1.0.12",
39
- "@synerise/ds-utils": "^1.3.0"
37
+ "@synerise/ds-button": "^1.4.3",
38
+ "@synerise/ds-divider": "^1.0.14",
39
+ "@synerise/ds-utils": "^1.3.1"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@synerise/ds-core": "*",
@@ -44,5 +44,5 @@
44
44
  "react": ">=16.9.0 <= 18.3.1",
45
45
  "styled-components": "^5.3.3"
46
46
  },
47
- "gitHead": "11fe1d29b2ac23e70c3d5e6ce8ae20201a619a34"
47
+ "gitHead": "8db1900bf3f7b0782c834ff82f628199530cd934"
48
48
  }