carbon-react 96.0.0 → 96.1.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.
|
@@ -212,8 +212,8 @@ const MultiActionButton = ({
|
|
|
212
212
|
|
|
213
213
|
MultiActionButton.propTypes = { ...marginPropTypes,
|
|
214
214
|
|
|
215
|
-
/** Button type: "primary" | "secondary"
|
|
216
|
-
buttonType: _propTypes.default.oneOf(["primary", "secondary"]),
|
|
215
|
+
/** Button type: "primary" | "secondary" | "tertiary" */
|
|
216
|
+
buttonType: _propTypes.default.oneOf(["primary", "secondary", "tertiary"]),
|
|
217
217
|
|
|
218
218
|
/** The additional button to display. */
|
|
219
219
|
children: _propTypes.default.node.isRequired,
|
|
@@ -8,5 +8,5 @@ const MULTI_ACTION_BUTTON_ALIGNMENTS = ["left", "right"];
|
|
|
8
8
|
exports.MULTI_ACTION_BUTTON_ALIGNMENTS = MULTI_ACTION_BUTTON_ALIGNMENTS;
|
|
9
9
|
const MULTI_ACTION_BUTTON_SIZES = ["small", "medium", "large"];
|
|
10
10
|
exports.MULTI_ACTION_BUTTON_SIZES = MULTI_ACTION_BUTTON_SIZES;
|
|
11
|
-
const MULTI_ACTION_BUTTON_THEMES = ["primary", "secondary"];
|
|
11
|
+
const MULTI_ACTION_BUTTON_THEMES = ["primary", "secondary", "tertiary"];
|
|
12
12
|
exports.MULTI_ACTION_BUTTON_THEMES = MULTI_ACTION_BUTTON_THEMES;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import SplitButton from "../split-button";
|
|
2
2
|
|
|
3
|
-
declare class MultiActionButton extends SplitButton {
|
|
3
|
+
declare class MultiActionButton extends SplitButton {
|
|
4
|
+
/** Button type: "primary" | "secondary" | "tertiary" */
|
|
5
|
+
buttonType?: "primary" | "secondary" | "tertiary";
|
|
6
|
+
}
|
|
4
7
|
|
|
5
8
|
export default MultiActionButton;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carbon-react",
|
|
3
|
-
"version": "96.
|
|
3
|
+
"version": "96.1.0",
|
|
4
4
|
"description": "A library of reusable React components for easily building user interfaces.",
|
|
5
5
|
"engineStrict": true,
|
|
6
6
|
"engines": {
|
|
@@ -31,8 +31,7 @@
|
|
|
31
31
|
"babel": "cross-env NODE_ENV=production babel ./src --config-file ./babel.config.js --out-dir ./lib --ignore '**/*/__spec__.js','**/*.spec.js','**/__definition__.js' --quiet",
|
|
32
32
|
"clean-lib": "rimraf ./lib",
|
|
33
33
|
"copy-files": "cpy \"**/\" \"!**/(*.js|*.md|*.mdx|*.stories.*|*.snap)\" ../lib/ --cwd=src --parents",
|
|
34
|
-
"commit": "git-cz"
|
|
35
|
-
"chromatic": "chromatic"
|
|
34
|
+
"commit": "git-cz"
|
|
36
35
|
},
|
|
37
36
|
"repository": {
|
|
38
37
|
"type": "git",
|
|
@@ -89,6 +88,7 @@
|
|
|
89
88
|
"babel-jest": "^26.6.3",
|
|
90
89
|
"browserslist": "^4.16.6",
|
|
91
90
|
"chalk": "^4.1.1",
|
|
91
|
+
"chromatic": "^6.0.5",
|
|
92
92
|
"commitizen": "^4.2.4",
|
|
93
93
|
"conventional-changelog-conventionalcommits": "^4.5.0",
|
|
94
94
|
"core-js": "^3.1.4",
|