@synerise/ds-button 0.21.10 → 0.21.11

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 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
+ ## [0.21.11](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.21.10...@synerise/ds-button@0.21.11) (2024-09-17)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-button
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.21.10](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@0.21.9...@synerise/ds-button@0.21.10) (2024-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-button
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export declare const RIPPLE_ANIMATION_TIME = 500;
3
3
  export declare const Spinner: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const RippleEffect: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -4,7 +4,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
4
4
 
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
 
7
- import * as React from 'react';
7
+ import React from 'react';
8
8
  import styled, { css, keyframes } from 'styled-components';
9
9
  import Button from 'antd/lib/button';
10
10
  import { IconContainer } from '@synerise/ds-icon';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { CheckboxButtonProps } from './Checkbox.types';
3
3
  declare const CheckboxButton: (props: CheckboxButtonProps) => React.ReactElement;
4
4
  export default CheckboxButton;
@@ -4,7 +4,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
4
4
 
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
 
7
- import * as React from 'react';
7
+ import React from 'react';
8
8
  import Icon, { CheckboxIndeterminateM, CheckboxSelectedFillM } from '@synerise/ds-icon';
9
9
  import Button from '../Button';
10
10
  import * as S from './Checkbox.styles';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export declare const CreatorLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
3
3
  export declare const Creator: import("styled-components").StyledComponent<({ status, pressed, withLabel, ...rest }: any) => React.JSX.Element, any, {
4
4
  withLabel: boolean;
@@ -2,7 +2,7 @@ var _excluded = ["status", "pressed", "withLabel"];
2
2
 
3
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
4
4
 
5
- import * as React from 'react';
5
+ import React from 'react';
6
6
  import styled, { css } from 'styled-components';
7
7
  import { IconContainer } from '@synerise/ds-icon';
8
8
  import { hexToRgba } from '@synerise/ds-utils';
@@ -1,5 +1,5 @@
1
1
  import { Keyframes } from 'styled-components';
2
- import * as React from 'react';
2
+ import React from 'react';
3
3
  import { ThemeProps } from '@synerise/ds-core';
4
4
  export type ExpanderProps = {
5
5
  onClick: () => void;
@@ -5,7 +5,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
 
7
7
  import styled, { keyframes, css } from 'styled-components';
8
- import * as React from 'react';
8
+ import React from 'react';
9
9
  import { IconContainer } from '@synerise/ds-icon';
10
10
  import Button from '../Button';
11
11
  export var focusAnimation = function focusAnimation(_ref) {
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { StarButtonProps } from './Star.types';
3
3
  declare const StarButton: (props: StarButtonProps) => React.ReactElement;
4
4
  export default StarButton;
package/dist/Star/Star.js CHANGED
@@ -4,7 +4,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
4
4
 
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
 
7
- import * as React from 'react';
7
+ import React from 'react';
8
8
  import Icon, { StarM, StarFillM } from '@synerise/ds-icon';
9
9
  import Button from '../Button';
10
10
  import * as S from './Star.styles';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { Props as ButtonProps } from './Button.types';
3
3
  import * as MainButtonStyles from './Button.styles';
4
4
  import * as CheckboxStyles from './Checkbox/Checkbox.styles';
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
2
2
 
3
3
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
4
 
5
- import * as React from 'react';
5
+ import React from 'react';
6
6
  import MainButton from './Button';
7
7
  import CheckboxButton from './Checkbox/Checkbox';
8
8
  import Creator from './Creator/Creator';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-button",
3
- "version": "0.21.10",
3
+ "version": "0.21.11",
4
4
  "description": "Button UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -33,8 +33,8 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-icon": "^0.65.5",
37
- "@synerise/ds-utils": "^0.29.2",
36
+ "@synerise/ds-icon": "^0.65.6",
37
+ "@synerise/ds-utils": "^0.29.3",
38
38
  "classnames": "2.3.2",
39
39
  "csstype": "^2.6.9"
40
40
  },
@@ -44,5 +44,5 @@
44
44
  "react": ">=16.9.0 <= 17.0.2",
45
45
  "styled-components": "5.0.1"
46
46
  },
47
- "gitHead": "6f3231e4a9e0720ffee61b748488cecd590da6e6"
47
+ "gitHead": "ae3c38b44ca0f9071cd55f7b82c182a99b5710e8"
48
48
  }