@commercetools-uikit/secondary-icon-button 19.26.0 → 20.0.0
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.
|
@@ -11,7 +11,6 @@ var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/ob
|
|
|
11
11
|
var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
12
12
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
13
13
|
var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
14
|
-
var _pt = require('prop-types');
|
|
15
14
|
var _indexOfInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
16
15
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
17
16
|
var react$1 = require('react');
|
|
@@ -31,7 +30,6 @@ var _forEachInstanceProperty__default = /*#__PURE__*/_interopDefault(_forEachIns
|
|
|
31
30
|
var _Object$getOwnPropertyDescriptors__default = /*#__PURE__*/_interopDefault(_Object$getOwnPropertyDescriptors);
|
|
32
31
|
var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$defineProperties);
|
|
33
32
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
34
|
-
var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
35
33
|
var _indexOfInstanceProperty__default = /*#__PURE__*/_interopDefault(_indexOfInstanceProperty);
|
|
36
34
|
var _Object$keys__default = /*#__PURE__*/_interopDefault(_Object$keys);
|
|
37
35
|
var omit__default = /*#__PURE__*/_interopDefault(omit);
|
|
@@ -128,21 +126,11 @@ const SecondaryIconButton = _ref => {
|
|
|
128
126
|
})
|
|
129
127
|
});
|
|
130
128
|
};
|
|
131
|
-
SecondaryIconButton.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
132
|
-
as: _pt__default["default"].any,
|
|
133
|
-
type: _pt__default["default"].oneOf(['submit', 'reset', 'button']),
|
|
134
|
-
icon: _pt__default["default"].element,
|
|
135
|
-
color: _pt__default["default"].oneOf(['solid', 'primary', 'info']),
|
|
136
|
-
label: _pt__default["default"].string.isRequired,
|
|
137
|
-
isDisabled: _pt__default["default"].bool,
|
|
138
|
-
size: _pt__default["default"].oneOfType([_pt__default["default"].oneOf(['small', 'medium', 'big']), _pt__default["default"].oneOf(['10', '20', '30', '40'])]),
|
|
139
|
-
onClick: _pt__default["default"].func
|
|
140
|
-
} : {};
|
|
141
129
|
SecondaryIconButton.displayName = 'SecondaryIconButton';
|
|
142
130
|
var SecondaryIconButton$1 = SecondaryIconButton;
|
|
143
131
|
|
|
144
132
|
// NOTE: This string will be replaced on build time with the package version.
|
|
145
|
-
var version = "
|
|
133
|
+
var version = "20.0.0";
|
|
146
134
|
|
|
147
135
|
exports["default"] = SecondaryIconButton$1;
|
|
148
136
|
exports.version = version;
|
|
@@ -11,7 +11,6 @@ var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/ob
|
|
|
11
11
|
var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
12
12
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
13
13
|
var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
14
|
-
require('prop-types');
|
|
15
14
|
var _indexOfInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
16
15
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
17
16
|
var react$1 = require('react');
|
|
@@ -122,12 +121,11 @@ const SecondaryIconButton = _ref => {
|
|
|
122
121
|
})
|
|
123
122
|
});
|
|
124
123
|
};
|
|
125
|
-
SecondaryIconButton.propTypes = {};
|
|
126
124
|
SecondaryIconButton.displayName = 'SecondaryIconButton';
|
|
127
125
|
var SecondaryIconButton$1 = SecondaryIconButton;
|
|
128
126
|
|
|
129
127
|
// NOTE: This string will be replaced on build time with the package version.
|
|
130
|
-
var version = "
|
|
128
|
+
var version = "20.0.0";
|
|
131
129
|
|
|
132
130
|
exports["default"] = SecondaryIconButton$1;
|
|
133
131
|
exports.version = version;
|
|
@@ -7,7 +7,6 @@ import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/obje
|
|
|
7
7
|
import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
8
8
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
9
9
|
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
|
|
10
|
-
import _pt from 'prop-types';
|
|
11
10
|
import _indexOfInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/index-of';
|
|
12
11
|
import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
13
12
|
import { cloneElement } from 'react';
|
|
@@ -109,20 +108,10 @@ const SecondaryIconButton = _ref => {
|
|
|
109
108
|
})
|
|
110
109
|
});
|
|
111
110
|
};
|
|
112
|
-
SecondaryIconButton.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
113
|
-
as: _pt.any,
|
|
114
|
-
type: _pt.oneOf(['submit', 'reset', 'button']),
|
|
115
|
-
icon: _pt.element,
|
|
116
|
-
color: _pt.oneOf(['solid', 'primary', 'info']),
|
|
117
|
-
label: _pt.string.isRequired,
|
|
118
|
-
isDisabled: _pt.bool,
|
|
119
|
-
size: _pt.oneOfType([_pt.oneOf(['small', 'medium', 'big']), _pt.oneOf(['10', '20', '30', '40'])]),
|
|
120
|
-
onClick: _pt.func
|
|
121
|
-
} : {};
|
|
122
111
|
SecondaryIconButton.displayName = 'SecondaryIconButton';
|
|
123
112
|
var SecondaryIconButton$1 = SecondaryIconButton;
|
|
124
113
|
|
|
125
114
|
// NOTE: This string will be replaced on build time with the package version.
|
|
126
|
-
var version = "
|
|
115
|
+
var version = "20.0.0";
|
|
127
116
|
|
|
128
117
|
export { SecondaryIconButton$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/secondary-icon-button",
|
|
3
3
|
"description": "Secondary Icon Buttons are \"icon-only\" buttons and a restricted version of the `<IconButton>`. They trigger an action when clicked (`onClick` prop). You must also pass a label for accessibility reasons.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "20.0.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,21 +21,20 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "
|
|
25
|
-
"@commercetools-uikit/design-system": "
|
|
26
|
-
"@commercetools-uikit/spacings": "
|
|
27
|
-
"@commercetools-uikit/text": "
|
|
28
|
-
"@commercetools-uikit/utils": "
|
|
24
|
+
"@commercetools-uikit/accessible-button": "20.0.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "20.0.0",
|
|
26
|
+
"@commercetools-uikit/spacings": "20.0.0",
|
|
27
|
+
"@commercetools-uikit/text": "20.0.0",
|
|
28
|
+
"@commercetools-uikit/utils": "20.0.0",
|
|
29
29
|
"@emotion/react": "^11.10.5",
|
|
30
30
|
"@emotion/styled": "^11.10.5",
|
|
31
31
|
"lodash": "4.17.21",
|
|
32
|
-
"
|
|
33
|
-
"react-intl": "^6.3.2"
|
|
32
|
+
"react-intl": "^7.1.4"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
|
-
"react": "
|
|
35
|
+
"react": "19.0.0"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
39
|
-
"react": "
|
|
38
|
+
"react": "19.x"
|
|
40
39
|
}
|
|
41
40
|
}
|