@carbon-labs/react-animated-header 0.7.0 → 0.8.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.
|
@@ -121,12 +121,9 @@ const AnimatedHeader = _ref => {
|
|
|
121
121
|
md: 8,
|
|
122
122
|
lg: 4,
|
|
123
123
|
className: `${blockClass}__left-area-container ${!open && descriptionCollapsed}`
|
|
124
|
-
}, description && /*#__PURE__*/React.createElement(
|
|
125
|
-
align: "bottom",
|
|
126
|
-
label: description
|
|
127
|
-
}, /*#__PURE__*/React.createElement("h2", {
|
|
124
|
+
}, description && /*#__PURE__*/React.createElement("h2", {
|
|
128
125
|
className: `${blockClass}__description`
|
|
129
|
-
}, description)
|
|
126
|
+
}, description), tasksConfig?.button?.text && /*#__PURE__*/React.createElement(Button, {
|
|
130
127
|
className: `${blockClass}__button`,
|
|
131
128
|
kind: tasksConfig.button.type,
|
|
132
129
|
renderIcon: tasksConfig.button.icon,
|
|
@@ -125,12 +125,9 @@ const AnimatedHeader = _ref => {
|
|
|
125
125
|
md: 8,
|
|
126
126
|
lg: 4,
|
|
127
127
|
className: `${blockClass}__left-area-container ${!open && descriptionCollapsed}`
|
|
128
|
-
}, description && /*#__PURE__*/React.createElement(
|
|
129
|
-
align: "bottom",
|
|
130
|
-
label: description
|
|
131
|
-
}, /*#__PURE__*/React.createElement("h2", {
|
|
128
|
+
}, description && /*#__PURE__*/React.createElement("h2", {
|
|
132
129
|
className: `${blockClass}__description`
|
|
133
|
-
}, description)
|
|
130
|
+
}, description), tasksConfig?.button?.text && /*#__PURE__*/React.createElement(react.Button, {
|
|
134
131
|
className: `${blockClass}__button`,
|
|
135
132
|
kind: tasksConfig.button.type,
|
|
136
133
|
renderIcon: tasksConfig.button.icon,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon-labs/react-animated-header",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@carbon-labs/utilities": "canary"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "024cddd160713ecd5e40c79868a9bf75b3234316"
|
|
40
40
|
}
|