@carbon/ibm-products 2.43.2-canary.269 → 2.43.2-canary.270

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.
@@ -58,6 +58,13 @@ export interface TearsheetProps extends PropsWithChildren {
58
58
  * this prop to either true or false.
59
59
  */
60
60
  hasCloseIcon?: boolean;
61
+ /**
62
+ * The content for the header actions area, displayed alongside the title in
63
+ * the header area of the tearsheet. This is typically a drop-down, or a set
64
+ * of small buttons, or similar. NB the headerActions is only applicable for
65
+ * wide tearsheets.
66
+ */
67
+ headerActions?: ReactNode;
61
68
  /**
62
69
  * The content for the influencer section of the tearsheet, displayed
63
70
  * alongside the main content. This is typically a menu, or filter, or
@@ -144,6 +144,13 @@ Tearsheet.propTypes = _objectSpread2({
144
144
  */
145
145
  /**@ts-ignore */
146
146
  hasCloseIcon: PropTypes.bool,
147
+ /**
148
+ * The content for the header actions area, displayed alongside the title in
149
+ * the header area of the tearsheet. This is typically a drop-down, or a set
150
+ * of small buttons, or similar. NB the headerActions is only applicable for
151
+ * wide tearsheets.
152
+ */
153
+ headerActions: PropTypes.element,
147
154
  /**
148
155
  * The content for the influencer section of the tearsheet, displayed
149
156
  * alongside the main content. This is typically a menu, or filter, or
@@ -58,6 +58,13 @@ export interface TearsheetProps extends PropsWithChildren {
58
58
  * this prop to either true or false.
59
59
  */
60
60
  hasCloseIcon?: boolean;
61
+ /**
62
+ * The content for the header actions area, displayed alongside the title in
63
+ * the header area of the tearsheet. This is typically a drop-down, or a set
64
+ * of small buttons, or similar. NB the headerActions is only applicable for
65
+ * wide tearsheets.
66
+ */
67
+ headerActions?: ReactNode;
61
68
  /**
62
69
  * The content for the influencer section of the tearsheet, displayed
63
70
  * alongside the main content. This is typically a menu, or filter, or
@@ -146,6 +146,13 @@ exports.Tearsheet.propTypes = _rollupPluginBabelHelpers.objectSpread2({
146
146
  */
147
147
  /**@ts-ignore */
148
148
  hasCloseIcon: index.default.bool,
149
+ /**
150
+ * The content for the header actions area, displayed alongside the title in
151
+ * the header area of the tearsheet. This is typically a drop-down, or a set
152
+ * of small buttons, or similar. NB the headerActions is only applicable for
153
+ * wide tearsheets.
154
+ */
155
+ headerActions: index.default.element,
149
156
  /**
150
157
  * The content for the influencer section of the tearsheet, displayed
151
158
  * alongside the main content. This is typically a menu, or filter, or
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "2.43.2-canary.269+beaa94c98",
4
+ "version": "2.43.2-canary.270+d1dafa1e9",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -96,7 +96,7 @@
96
96
  "dependencies": {
97
97
  "@babel/runtime": "^7.23.9",
98
98
  "@carbon/feature-flags": "^0.22.0",
99
- "@carbon/ibm-products-styles": "^2.39.1-canary.279+beaa94c98",
99
+ "@carbon/ibm-products-styles": "^2.47.0-rc.0",
100
100
  "@carbon/telemetry": "^0.1.0",
101
101
  "@dnd-kit/core": "^6.0.8",
102
102
  "@dnd-kit/modifiers": "^7.0.0",
@@ -120,5 +120,5 @@
120
120
  "react": "^16.8.6 || ^17.0.1 || ^18.2.0",
121
121
  "react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
122
122
  },
123
- "gitHead": "beaa94c98a2df75f6773d810726fe1b6522658d2"
123
+ "gitHead": "d1dafa1e94472eb64e769ccd358e5355837fa9a5"
124
124
  }