@synerise/ds-button 1.1.2 → 1.1.4
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 +16 -0
- package/dist/Button.js +2 -2
- package/dist/Button.styles.js +2 -2
- package/dist/Checkbox/Checkbox.js +2 -2
- package/dist/Creator/Creator.js +2 -2
- package/dist/Creator/Creator.styles.js +1 -1
- package/dist/Creator/Creator.types.js +3 -3
- package/dist/Expander/Expander.styles.js +2 -2
- package/dist/Expander/Expander.types.js +3 -3
- package/dist/Star/Star.js +2 -2
- package/dist/index.js +3 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.1.4](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.1.3...@synerise/ds-button@1.1.4) (2025-04-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-button
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.1.3](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.1.2...@synerise/ds-button@1.1.3) (2025-04-02)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-button
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.1.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.1.1...@synerise/ds-button@1.1.2) (2025-03-31)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-button
|
package/dist/Button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["type", "mode", "justifyContent", "groupVariant", "loading", "onClick", "className", "color", "error", "activated", "tagProps", "children"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
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
4
|
import React, { useEffect, useState, useMemo, useRef } from 'react';
|
|
5
5
|
import '@synerise/ds-core/dist/js/style';
|
|
6
6
|
import "./style/index.css";
|
package/dist/Button.styles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["mode", "type", "loading", "justifyContent", "groupVariant", "customColor", "rightIconSize", "leftIconSize", "pressed", "size", "iconColor", "error", "activated"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
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
4
|
import React from 'react';
|
|
5
5
|
import styled, { css, keyframes } from 'styled-components';
|
|
6
6
|
import Button from 'antd/lib/button';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["checked", "defaultChecked", "hasError", "indeterminate", "onChange", "onClick"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
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
4
|
import React from 'react';
|
|
5
5
|
import Icon, { CheckboxIndeterminateM, CheckboxSelectedFillM } from '@synerise/ds-icon';
|
|
6
6
|
import Button from '../Button';
|
package/dist/Creator/Creator.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["onClick", "disabled", "label", "block", "status", "className"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
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
4
|
import React, { useCallback, useState } from 'react';
|
|
5
5
|
import classnames from 'classnames';
|
|
6
6
|
import Icon, { AddM } from '@synerise/ds-icon';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _excluded = ["status", "pressed", "withLabel"];
|
|
2
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
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; }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import styled, { css } from 'styled-components';
|
|
5
5
|
import { IconContainer } from '@synerise/ds-icon';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export var CreatorStatus
|
|
2
|
-
(function (CreatorStatus) {
|
|
1
|
+
export var CreatorStatus = /*#__PURE__*/function (CreatorStatus) {
|
|
3
2
|
CreatorStatus["Default"] = "default";
|
|
4
3
|
CreatorStatus["Error"] = "error";
|
|
5
4
|
CreatorStatus["Upload"] = "upload";
|
|
6
|
-
|
|
5
|
+
return CreatorStatus;
|
|
6
|
+
}({});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["children", "expanded", "size"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
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
4
|
import styled, { keyframes, css } from 'styled-components';
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { IconContainer } from '@synerise/ds-icon';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export var ExpanderSize
|
|
2
|
-
(function (ExpanderSize) {
|
|
1
|
+
export var ExpanderSize = /*#__PURE__*/function (ExpanderSize) {
|
|
3
2
|
ExpanderSize[ExpanderSize["S"] = 24] = "S";
|
|
4
3
|
ExpanderSize[ExpanderSize["M"] = 32] = "M";
|
|
5
|
-
|
|
4
|
+
return ExpanderSize;
|
|
5
|
+
}({});
|
package/dist/Star/Star.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["hasError", "active", "type"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
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
4
|
import React from 'react';
|
|
5
5
|
import Icon, { StarM, StarFillM } from '@synerise/ds-icon';
|
|
6
6
|
import Button from '../Button';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function _inheritsLoose(
|
|
2
|
-
function _setPrototypeOf(
|
|
1
|
+
function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
|
|
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
5
|
import CheckboxButton from './Checkbox/Checkbox';
|
|
@@ -12,10 +12,10 @@ import * as CreatorStyles from './Creator/Creator.styles';
|
|
|
12
12
|
import * as ExpanderStyles from './Expander/Expander.styles';
|
|
13
13
|
import * as StarStyles from './Star/Star.styles';
|
|
14
14
|
var Button = /*#__PURE__*/function (_React$Component) {
|
|
15
|
-
_inheritsLoose(Button, _React$Component);
|
|
16
15
|
function Button() {
|
|
17
16
|
return _React$Component.apply(this, arguments) || this;
|
|
18
17
|
}
|
|
18
|
+
_inheritsLoose(Button, _React$Component);
|
|
19
19
|
var _proto = Button.prototype;
|
|
20
20
|
_proto.render = function render() {
|
|
21
21
|
return /*#__PURE__*/React.createElement(MainButton, this.props);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-button",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Button UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-icon": "^1.
|
|
38
|
-
"@synerise/ds-tag": "^1.1.
|
|
37
|
+
"@synerise/ds-icon": "^1.4.0",
|
|
38
|
+
"@synerise/ds-tag": "^1.1.4",
|
|
39
39
|
"@synerise/ds-utils": "^1.0.1",
|
|
40
40
|
"classnames": "2.3.2",
|
|
41
41
|
"csstype": "^2.6.9"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": ">=16.9.0 <= 18.3.1",
|
|
47
47
|
"styled-components": "^5.3.3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "6735f9babfeef53122f54ca86cba5f581e8870d9"
|
|
50
50
|
}
|