@carbon/ibm-products 2.43.2-canary.242 → 2.43.2-canary.243

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, defineProperty as _defineProperty, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
- import { ComposedModal, ModalHeader, ModalBody, FormGroup, RadioButtonGroup, RadioButton, TextInput, PasswordInput, Loading, ModalFooter, Button } from '@carbon/react';
9
+ import { unstable_FeatureFlags, ComposedModal, ModalHeader, ModalBody, FormGroup, RadioButtonGroup, RadioButton, TextInput, PasswordInput, Loading, ModalFooter, Button } from '@carbon/react';
10
10
  import { CheckmarkFilled, ErrorFilled } from '@carbon/react/icons';
11
11
  import React__default, { forwardRef, useState, useEffect, useRef } from 'react';
12
12
  import PropTypes from '../../node_modules/prop-types/index.js';
@@ -119,7 +119,11 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
119
119
  invalidText: invalidInputText,
120
120
  onBlur: onBlurHandler
121
121
  }, 'data-modal-primary-focus', true);
122
- return renderPortalUse( /*#__PURE__*/React__default.createElement(ComposedModal, _extends({}, rest, {
122
+ return renderPortalUse( /*#__PURE__*/React__default.createElement(unstable_FeatureFlags, {
123
+ flags: {
124
+ 'enable-experimental-focus-wrap-without-sentinels': true
125
+ }
126
+ }, /*#__PURE__*/React__default.createElement(ComposedModal, _extends({}, rest, {
123
127
  className: cx(blockClass, className),
124
128
  "aria-label": title,
125
129
  size: "sm",
@@ -179,7 +183,7 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
179
183
  kind: "primary",
180
184
  onClick: onSubmitHandler,
181
185
  disabled: primaryButtonDisabled
182
- }, primaryButtonText))));
186
+ }, primaryButtonText)))));
183
187
  });
184
188
 
185
189
  // Return a placeholder if not released and not enabled by feature flag
@@ -128,7 +128,11 @@ exports.ExportModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
128
128
  invalidText: invalidInputText,
129
129
  onBlur: onBlurHandler
130
130
  }, 'data-modal-primary-focus', true);
131
- return renderPortalUse( /*#__PURE__*/React__default["default"].createElement(react.ComposedModal, _rollupPluginBabelHelpers["extends"]({}, rest, {
131
+ return renderPortalUse( /*#__PURE__*/React__default["default"].createElement(react.unstable_FeatureFlags, {
132
+ flags: {
133
+ 'enable-experimental-focus-wrap-without-sentinels': true
134
+ }
135
+ }, /*#__PURE__*/React__default["default"].createElement(react.ComposedModal, _rollupPluginBabelHelpers["extends"]({}, rest, {
132
136
  className: cx__default["default"](blockClass, className),
133
137
  "aria-label": title,
134
138
  size: "sm",
@@ -188,7 +192,7 @@ exports.ExportModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
188
192
  kind: "primary",
189
193
  onClick: onSubmitHandler,
190
194
  disabled: primaryButtonDisabled
191
- }, primaryButtonText))));
195
+ }, primaryButtonText)))));
192
196
  });
193
197
 
194
198
  // Return a placeholder if not released and not enabled by feature flag
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.242+f076047b5",
4
+ "version": "2.43.2-canary.243+dd7564d02",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -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": "f076047b593235b01b9c4666194c080e0b4a3b4e"
123
+ "gitHead": "dd7564d02dcad68052555eb5b2bf543b4a901992"
124
124
  }