@carbon/ibm-products 2.54.0-canary.4 → 2.54.0-canary.40

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.
Files changed (235) hide show
  1. package/css/index-full-carbon.css +96 -23
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +20 -10
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +20 -10
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +33 -13
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/_virtual/_rollupPluginBabelHelpers.js +1 -1
  18. package/es/components/APIKeyModal/APIKeyModal.js +17 -14
  19. package/es/components/APIKeyModal/APIKeyModal.types.d.ts +5 -1
  20. package/es/components/AboutModal/AboutModal.js +3 -6
  21. package/es/components/AddSelect/hooks/useFocus.js +1 -2
  22. package/es/components/AddSelect/hooks/useParentSelect.js +1 -2
  23. package/es/components/AddSelect/hooks/usePath.js +1 -2
  24. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +18 -9
  25. package/es/components/Card/Card.js +13 -9
  26. package/es/components/Checklist/Checklist.js +1 -1
  27. package/es/components/Checklist/ChecklistIcon.js +1 -1
  28. package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
  29. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
  30. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
  31. package/es/components/ConditionBuilder/utils/util.js +0 -4
  32. package/es/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
  33. package/es/components/CreateTearsheet/CreateTearsheet.js +2 -2
  34. package/es/components/CreateTearsheet/CreateTearsheetStep.js +6 -3
  35. package/es/components/Datagrid/Datagrid/Datagrid.d.ts +1 -0
  36. package/es/components/Datagrid/Datagrid/Datagrid.js +7 -0
  37. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
  38. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
  39. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
  40. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
  41. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
  42. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
  43. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +2 -3
  44. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +2 -3
  45. package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
  46. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
  47. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
  48. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
  49. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
  50. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
  51. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
  52. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
  53. package/es/components/Datagrid/useCustomizeColumns.js +4 -4
  54. package/es/components/Datagrid/useDatagrid.js +2 -2
  55. package/es/components/Datagrid/useDefaultStringRenderer.js +1 -2
  56. package/es/components/Datagrid/useEditableCell.js +1 -2
  57. package/es/components/Datagrid/useFlexResize.js +1 -2
  58. package/es/components/Datagrid/useFloatingScroll.js +1 -2
  59. package/es/components/Datagrid/useNestedRowExpander.js +1 -2
  60. package/es/components/Datagrid/useParentDimensions.js +1 -2
  61. package/es/components/Datagrid/useResizeTable.js +1 -2
  62. package/es/components/Datagrid/useRowExpander.js +1 -2
  63. package/es/components/Datagrid/useRowRenderer.js +1 -2
  64. package/es/components/Datagrid/useRowSize.js +1 -2
  65. package/es/components/Datagrid/useSkeletonRows.js +1 -2
  66. package/es/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
  67. package/es/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
  68. package/es/components/DecoratorLink/DecoratorLink.d.ts +1 -0
  69. package/es/components/DecoratorLink/DecoratorLink.js +5 -0
  70. package/es/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
  71. package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
  72. package/es/components/DescriptionList/DescriptionList.d.ts +1 -0
  73. package/es/components/DescriptionList/DescriptionList.js +5 -0
  74. package/es/components/EditFullPage/EditFullPage.d.ts +2 -0
  75. package/es/components/EditFullPage/EditFullPage.js +8 -0
  76. package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -0
  77. package/es/components/EditSidePanel/EditSidePanel.js +8 -0
  78. package/es/components/EditTearsheet/EditTearsheet.d.ts +2 -0
  79. package/es/components/EditTearsheet/EditTearsheet.js +8 -0
  80. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
  81. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
  82. package/es/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
  83. package/es/components/EditUpdateCards/EditUpdateCards.js +8 -0
  84. package/es/components/EmptyStates/EmptyStateIllustration.js +1 -2
  85. package/es/components/EmptyStates/EmptyStateV2.d.ts +1 -0
  86. package/es/components/EmptyStates/EmptyStateV2.js +7 -0
  87. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  88. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  89. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  90. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  91. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  92. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  93. package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -2
  94. package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -2
  95. package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -2
  96. package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -2
  97. package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -2
  98. package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -2
  99. package/es/components/FilterPanel/FilterPanel.d.ts +1 -0
  100. package/es/components/FilterPanel/FilterPanel.js +6 -0
  101. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
  102. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
  103. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
  104. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
  105. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
  106. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
  107. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
  108. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
  109. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
  110. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
  111. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
  112. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
  113. package/es/components/Nav/Nav.d.ts +3 -0
  114. package/es/components/Nav/Nav.js +8 -0
  115. package/es/components/Nav/NavItemLink.js +1 -2
  116. package/es/components/StatusIndicator/StatusIndicator.d.ts +1 -0
  117. package/es/components/StatusIndicator/StatusIndicator.js +5 -0
  118. package/es/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
  119. package/es/components/StatusIndicator/StatusIndicatorStep.js +5 -0
  120. package/es/components/Tearsheet/TearsheetShell.js +3 -24
  121. package/es/global/js/hooks/useFocus.d.ts +1 -0
  122. package/es/global/js/hooks/useFocus.js +21 -1
  123. package/es/global/js/hooks/usePrefersReducedMotion.js +1 -2
  124. package/es/index.js +1 -1
  125. package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
  126. package/lib/components/APIKeyModal/APIKeyModal.js +16 -13
  127. package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +5 -1
  128. package/lib/components/AboutModal/AboutModal.js +2 -5
  129. package/lib/components/AddSelect/hooks/useFocus.js +1 -2
  130. package/lib/components/AddSelect/hooks/useParentSelect.js +1 -2
  131. package/lib/components/AddSelect/hooks/usePath.js +1 -2
  132. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +17 -8
  133. package/lib/components/Card/Card.js +12 -8
  134. package/lib/components/Checklist/ChecklistChart.js +7 -7
  135. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
  136. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
  137. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
  138. package/lib/components/ConditionBuilder/utils/util.js +0 -4
  139. package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
  140. package/lib/components/CreateTearsheet/CreateTearsheet.js +2 -2
  141. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +5 -2
  142. package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +1 -0
  143. package/lib/components/Datagrid/Datagrid/Datagrid.js +7 -0
  144. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
  145. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
  146. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
  147. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
  148. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
  149. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
  150. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -2
  151. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -2
  152. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
  153. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
  154. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
  155. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
  156. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
  157. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
  158. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
  159. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
  160. package/lib/components/Datagrid/useColumnOrder.js +1 -1
  161. package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -2
  162. package/lib/components/Datagrid/useEditableCell.js +1 -2
  163. package/lib/components/Datagrid/useFlexResize.js +1 -2
  164. package/lib/components/Datagrid/useFloatingScroll.js +1 -2
  165. package/lib/components/Datagrid/useNestedRowExpander.js +1 -2
  166. package/lib/components/Datagrid/useParentDimensions.js +1 -2
  167. package/lib/components/Datagrid/useResizeTable.js +1 -2
  168. package/lib/components/Datagrid/useRowExpander.js +1 -2
  169. package/lib/components/Datagrid/useRowRenderer.js +1 -2
  170. package/lib/components/Datagrid/useRowSize.js +1 -2
  171. package/lib/components/Datagrid/useSkeletonRows.js +1 -2
  172. package/lib/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
  173. package/lib/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
  174. package/lib/components/DecoratorLink/DecoratorLink.d.ts +1 -0
  175. package/lib/components/DecoratorLink/DecoratorLink.js +5 -0
  176. package/lib/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
  177. package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
  178. package/lib/components/DescriptionList/DescriptionList.d.ts +1 -0
  179. package/lib/components/DescriptionList/DescriptionList.js +5 -0
  180. package/lib/components/EditFullPage/EditFullPage.d.ts +2 -0
  181. package/lib/components/EditFullPage/EditFullPage.js +8 -0
  182. package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -0
  183. package/lib/components/EditSidePanel/EditSidePanel.js +8 -0
  184. package/lib/components/EditTearsheet/EditTearsheet.d.ts +2 -0
  185. package/lib/components/EditTearsheet/EditTearsheet.js +8 -0
  186. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
  187. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
  188. package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
  189. package/lib/components/EditUpdateCards/EditUpdateCards.js +8 -0
  190. package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -2
  191. package/lib/components/EmptyStates/EmptyStateV2.d.ts +1 -0
  192. package/lib/components/EmptyStates/EmptyStateV2.js +7 -0
  193. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  194. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  195. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  196. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  197. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  198. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  199. package/lib/components/EmptyStates/assets/ErrorIllustration.js +1 -2
  200. package/lib/components/EmptyStates/assets/NoDataIllustration.js +1 -2
  201. package/lib/components/EmptyStates/assets/NoTagsIllustration.js +1 -2
  202. package/lib/components/EmptyStates/assets/NotFoundIllustration.js +1 -2
  203. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +1 -2
  204. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -2
  205. package/lib/components/FilterPanel/FilterPanel.d.ts +1 -0
  206. package/lib/components/FilterPanel/FilterPanel.js +6 -0
  207. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
  208. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
  209. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
  210. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
  211. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
  212. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
  213. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
  214. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
  215. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
  216. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
  217. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
  218. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
  219. package/lib/components/Nav/Nav.d.ts +3 -0
  220. package/lib/components/Nav/Nav.js +8 -0
  221. package/lib/components/Nav/NavItemLink.js +1 -2
  222. package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -0
  223. package/lib/components/StatusIndicator/StatusIndicator.js +5 -0
  224. package/lib/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
  225. package/lib/components/StatusIndicator/StatusIndicatorStep.js +5 -0
  226. package/lib/components/Tearsheet/TearsheetShell.js +2 -23
  227. package/lib/global/js/hooks/useFocus.d.ts +1 -0
  228. package/lib/global/js/hooks/useFocus.js +21 -0
  229. package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -2
  230. package/lib/index.js +109 -109
  231. package/package.json +11 -11
  232. package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +2 -3
  233. package/scss/components/Datagrid/styles/_datagrid.scss +16 -6
  234. package/scss/components/Datagrid/styles/_useStickyColumn.scss +2 -2
  235. package/scss/components/PageHeader/_page-header.scss +5 -0
@@ -9,10 +9,10 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index$1 = require('../../_virtual/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var cx = require('classnames');
14
14
  var clamp = require('lodash/clamp');
15
- var index = require('../../node_modules/@carbon/colors/es/index.js');
15
+ var index$1 = require('../../node_modules/@carbon/colors/es/index.js');
16
16
  var devtools = require('../../global/js/utils/devtools.js');
17
17
  var settings = require('../../settings.js');
18
18
  var Checklist_types = require('./Checklist.types.js');
@@ -38,8 +38,8 @@ function (_ref, ref) {
38
38
  theme = _ref$theme === void 0 ? defaults.theme : _ref$theme,
39
39
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
40
40
  var numDegrees = clamp(value * 360, 0, 360);
41
- var circleColor = theme === Checklist_types.Themes.light ? index.gray20 : index.gray70; // $ui-03 (-ish)
42
- var progressColor = index.purple50;
41
+ var circleColor = theme === Checklist_types.Themes.light ? index$1.gray20 : index$1.gray70; // $ui-03 (-ish)
42
+ var progressColor = index$1.purple50;
43
43
  React.useEffect(function () {
44
44
  var ele = document.getElementsByClassName("".concat(blockClass));
45
45
  setTimeout(function () {
@@ -75,15 +75,15 @@ ChecklistChart.propTypes = {
75
75
  /**
76
76
  * Optional class name for this component.
77
77
  */
78
- className: index$1.default.string,
78
+ className: index.default.string,
79
79
  /**
80
80
  * Determines the theme of the component.
81
81
  */
82
- theme: index$1.default.oneOf([Checklist_types.Themes.light, Checklist_types.Themes.dark]),
82
+ theme: index.default.oneOf([Checklist_types.Themes.light, Checklist_types.Themes.dark]),
83
83
  /**
84
84
  * Number between 0 and 1.
85
85
  */
86
- value: index$1.default.number.isRequired
86
+ value: index.default.number.isRequired
87
87
  };
88
88
 
89
89
  exports.ChecklistChart = ChecklistChart;
@@ -54,6 +54,5 @@ var GroupConnector = function GroupConnector() {
54
54
  }
55
55
  })));
56
56
  };
57
- var GroupConnector$1 = GroupConnector;
58
57
 
59
- exports.default = GroupConnector$1;
58
+ exports.default = GroupConnector;
@@ -65,9 +65,6 @@ var ItemOption = function ItemOption(_ref) {
65
65
  className: "".concat(util.blockClass, "__statement_wrapper")
66
66
  }, /*#__PURE__*/React.createElement("div", null, option.text1, " (", option.connector, ")"), /*#__PURE__*/React.createElement("div", null, option.text2));
67
67
  };
68
- var preventDefault = function preventDefault(evt) {
69
- return evt.preventDefault();
70
- };
71
68
  if (!allOptions) {
72
69
  return;
73
70
  }
@@ -80,8 +77,7 @@ var ItemOption = function ItemOption(_ref) {
80
77
  size: "sm",
81
78
  labelText: clearSearchText,
82
79
  closeButtonLabelText: clearSearchText,
83
- onChange: onSearchChangeHandler,
84
- onKeyDown: preventDefault
80
+ onChange: onSearchChangeHandler
85
81
  })), /*#__PURE__*/React.createElement("ul", {
86
82
  "aria-label": getAriaLabel(),
87
83
  role: "listbox"
@@ -131,13 +131,14 @@ var ItemOptionForValueField = function ItemOptionForValueField(_ref) {
131
131
  } else {
132
132
  onChange(option, evt);
133
133
  }
134
+ if (evt.target instanceof SVGElement) {
135
+ evt.stopPropagation();
136
+ //stop propagate event , since this closes the popover when clicked on checkboxes which are SVGs.
137
+ }
134
138
  };
135
139
  var getAriaLabel = function getAriaLabel() {
136
140
  return conditionState.label ? conditionState.label : conditionState.property ? conditionState.property : propertyText;
137
141
  };
138
- var preventDefault = function preventDefault(evt) {
139
- return evt.preventDefault();
140
- };
141
142
  if (!allOptions) {
142
143
  return _SelectSkeleton || (_SelectSkeleton = /*#__PURE__*/React.createElement(react.SelectSkeleton, null));
143
144
  }
@@ -150,8 +151,7 @@ var ItemOptionForValueField = function ItemOptionForValueField(_ref) {
150
151
  size: "sm",
151
152
  labelText: clearSearchText,
152
153
  closeButtonLabelText: clearSearchText,
153
- onChange: onSearchChangeHandler,
154
- onKeyDown: preventDefault
154
+ onChange: onSearchChangeHandler
155
155
  })), multiSelectable && /*#__PURE__*/React.createElement("div", {
156
156
  className: "".concat(util.blockClass, "__multiselectSelectionStatusContainer")
157
157
  }, /*#__PURE__*/React.createElement("h4", null, /*#__PURE__*/React.createElement("label", null, selection.length, "/", allOptions.length, " Selected")), /*#__PURE__*/React.createElement(react.Button, {
@@ -50,10 +50,6 @@ var traverseReverse = function traverseReverse(eachElem, index, allElements, rot
50
50
  }
51
51
  };
52
52
  var checkForHoldingKey = function checkForHoldingKey(evt, key) {
53
- // possible key inputs: altKey,ctrlKey,metaKey,shiftKey
54
- if (key === 'cmd') {
55
- return evt.metaKey || evt.ctrlKey;
56
- }
57
53
  return evt[key];
58
54
  };
59
55
  var checkIsValid = function checkIsValid(item) {
@@ -8,7 +8,7 @@ import React, { Dispatch, PropsWithChildren, ReactNode, SetStateAction } from 'r
8
8
  import { ExperimentalSecondarySubmit } from './CreateTearsheetStep';
9
9
  export interface StepsContextType {
10
10
  currentStep: number;
11
- setExperimentalSecondarySubmit: Dispatch<SetStateAction<ExperimentalSecondarySubmit>>;
11
+ setExperimentalSecondarySubmit: Dispatch<SetStateAction<ExperimentalSecondarySubmit | undefined>>;
12
12
  setIsDisabled: Dispatch<SetStateAction<boolean>>;
13
13
  setOnPrevious: (fn: any) => void;
14
14
  setOnNext: (fn: any) => void;
@@ -107,7 +107,7 @@ exports.CreateTearsheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
107
107
  _useState24 = _rollupPluginBabelHelpers.slicedToArray(_useState23, 2),
108
108
  lastIncludedStep = _useState24[0],
109
109
  setLastIncludedStep = _useState24[1];
110
- var _useState25 = React.useState({}),
110
+ var _useState25 = React.useState(),
111
111
  _useState26 = _rollupPluginBabelHelpers.slicedToArray(_useState25, 2),
112
112
  experimentalSecondarySubmit = _useState26[0],
113
113
  setExperimentalSecondarySubmit = _useState26[1];
@@ -178,7 +178,7 @@ exports.CreateTearsheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
178
178
  isSubmitting: isSubmitting,
179
179
  componentBlockClass: blockClass,
180
180
  experimentalSecondarySubmit: experimentalSecondarySubmit,
181
- experimentalSecondarySubmitText: experimentalSecondarySubmit.labelText ? experimentalSecondarySubmit.labelText : experimentalSecondarySubmitText,
181
+ experimentalSecondarySubmitText: experimentalSecondarySubmit !== null && experimentalSecondarySubmit !== void 0 && experimentalSecondarySubmit.labelText ? experimentalSecondarySubmit.labelText : experimentalSecondarySubmitText,
182
182
  setCreateComponentActions: setCreateTearsheetActions
183
183
  });
184
184
  return /*#__PURE__*/React.createElement(TearsheetShell.TearsheetShell, _rollupPluginBabelHelpers.extends({}, devtools.getDevtoolsProps(componentName), rest, {
@@ -84,7 +84,7 @@ exports.CreateTearsheetStep = /*#__PURE__*/React.forwardRef(function (_ref, ref)
84
84
  React.useEffect(function () {
85
85
  if (stepNumber === (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep) && (previousState === null || previousState === void 0 ? void 0 : previousState.currentStep) !== (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)) {
86
86
  stepsContext === null || stepsContext === void 0 || stepsContext.setOnMount(onMount);
87
- stepsContext === null || stepsContext === void 0 || stepsContext.setExperimentalSecondarySubmit(_rollupPluginBabelHelpers.objectSpread2({}, experimentalSecondarySubmit));
87
+ stepsContext === null || stepsContext === void 0 || stepsContext.setExperimentalSecondarySubmit(experimentalSecondarySubmit);
88
88
  }
89
89
  }, [onMount, experimentalSecondarySubmit, stepsContext, stepNumber, previousState === null || previousState === void 0 ? void 0 : previousState.currentStep]);
90
90
 
@@ -120,8 +120,11 @@ exports.CreateTearsheetStep = /*#__PURE__*/React.forwardRef(function (_ref, ref)
120
120
  stepsContext.setIsDisabled(!!disableSubmit);
121
121
  stepsContext === null || stepsContext === void 0 || stepsContext.setOnNext(onNext); // needs to be updated here otherwise there could be stale state values from only initially setting onNext
122
122
  stepsContext === null || stepsContext === void 0 || stepsContext.setOnPrevious(onPrevious);
123
+
124
+ //Handle props for experimentalSecondarySubmit button, depending on state change
125
+ stepsContext === null || stepsContext === void 0 || stepsContext.setExperimentalSecondarySubmit(experimentalSecondarySubmit);
123
126
  }
124
- }, [stepsContext, stepNumber, disableSubmit, onNext, onPrevious, stepRef, stepRefValue]);
127
+ }, [stepsContext, stepNumber, disableSubmit, onNext, onPrevious, stepRef, stepRefValue, experimentalSecondarySubmit]);
125
128
  var renderDescription = function renderDescription() {
126
129
  if (description) {
127
130
  if (typeof description === 'string') {
@@ -19,5 +19,6 @@ export interface DatagridProps {
19
19
  }
20
20
  /**
21
21
  * The `Datagrid` component is an extension of Carbon's DataTable component. At the most basic level, the `Datagrid` component takes in columns and rows and renders a data table. There is a set of data table extensions which this component provides support for, these can be found [here](https://pages.github.ibm.com/carbon/ibm-products/components/datagrid/overview/). This component is data driven and allows you to choose what pieces will be included based on the hooks/plugins that are provided.
22
+ * @deprecated
22
23
  */
23
24
  export declare let Datagrid: React.ForwardRefExoticComponent<DatagridProps & React.RefAttributes<HTMLDivElement>>;
@@ -23,6 +23,7 @@ var blockClass = "".concat(settings.pkg.prefix, "--datagrid");
23
23
  var componentName = 'Datagrid';
24
24
  /**
25
25
  * The `Datagrid` component is an extension of Carbon's DataTable component. At the most basic level, the `Datagrid` component takes in columns and rows and renders a data table. There is a set of data table extensions which this component provides support for, these can be found [here](https://pages.github.ibm.com/carbon/ibm-products/components/datagrid/overview/). This component is data driven and allows you to choose what pieces will be included based on the hooks/plugins that are provided.
26
+ * @deprecated
26
27
  */
27
28
  exports.Datagrid = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
28
29
  var datagridState = _ref.datagridState,
@@ -57,6 +58,12 @@ exports.Datagrid = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
57
58
  }, /*#__PURE__*/React.createElement(DatagridContent.DatagridContent, props)) : /*#__PURE__*/React.createElement(DatagridContent.DatagridContent, props))));
58
59
  });
59
60
 
61
+ /**@ts-ignore*/
62
+ exports.Datagrid.deprecated = {
63
+ level: 'warn',
64
+ details: "For more information, please refer to the migration docs https://github.com/carbon-design-system/tanstack-carbon"
65
+ };
66
+
60
67
  // Return a placeholder if not released and not enabled by feature flag
61
68
  exports.Datagrid = settings.pkg.checkComponentEnabled(exports.Datagrid, componentName);
62
69
 
@@ -61,12 +61,12 @@ var ResizeHeader = function ResizeHeader(_ref) {
61
61
  if (key === 'ArrowLeft') {
62
62
  if (currentColumnWidth - incrementAmount > Math.max(Number(minWidth), 50)) {
63
63
  var newWidth = currentColumnWidth - incrementAmount;
64
- stateReducer.handleColumnResizingEvent(dispatch, header, newWidth, true);
64
+ stateReducer.handleColumnResizingEvent(dispatch, header, newWidth);
65
65
  }
66
66
  }
67
67
  if (key === 'ArrowRight') {
68
68
  var _newWidth = currentColumnWidth + incrementAmount;
69
- stateReducer.handleColumnResizingEvent(dispatch, header, _newWidth, true);
69
+ stateReducer.handleColumnResizingEvent(dispatch, header, _newWidth);
70
70
  }
71
71
  }
72
72
  };
@@ -60,6 +60,5 @@ Actions.propTypes = {
60
60
  setColumnsObject: index.default.func.isRequired,
61
61
  setSearchText: index.default.func.isRequired
62
62
  };
63
- var Actions$1 = Actions;
64
63
 
65
- exports.default = Actions$1;
64
+ exports.default = Actions;
@@ -72,6 +72,5 @@ ButtonWrapper.propTypes = {
72
72
  onClick: index.default.func.isRequired,
73
73
  setIsTearsheetOpen: index.default.func.isRequired
74
74
  };
75
- var ToggleButtonWrapper = ButtonWrapper;
76
75
 
77
- exports.default = ToggleButtonWrapper;
76
+ exports.default = ButtonWrapper;
@@ -97,6 +97,5 @@ Columns.propTypes = {
97
97
  setColumnStatus: index.default.func,
98
98
  setColumnsObject: index.default.func.isRequired
99
99
  };
100
- var Columns$1 = Columns;
101
100
 
102
- exports.default = Columns$1;
101
+ exports.default = Columns;
@@ -191,6 +191,5 @@ CustomizeColumnsTearsheet.propTypes = {
191
191
  selectAllLabel: index.default.string,
192
192
  setIsTearsheetOpen: index.default.func.isRequired
193
193
  };
194
- var CustomizeColumnsTearsheet$1 = CustomizeColumnsTearsheet;
195
194
 
196
- exports.default = CustomizeColumnsTearsheet$1;
195
+ exports.default = CustomizeColumnsTearsheet;
@@ -65,6 +65,5 @@ var TearsheetWrapper = function TearsheetWrapper(_ref) {
65
65
  TearsheetWrapper.propTypes = {
66
66
  instance: index.default.object.isRequired
67
67
  };
68
- var CustomizeColumnsTearsheetWrapper = TearsheetWrapper;
69
68
 
70
- exports.default = CustomizeColumnsTearsheetWrapper;
69
+ exports.default = TearsheetWrapper;
@@ -331,6 +331,5 @@ FilterFlyout.propTypes = {
331
331
  */
332
332
  updateMethod: index.default.oneOf([constants.BATCH, constants.INSTANT]).isRequired
333
333
  };
334
- var FilterFlyout$1 = FilterFlyout;
335
334
 
336
- exports.default = FilterFlyout$1;
335
+ exports.default = FilterFlyout;
@@ -316,7 +316,6 @@ FilterPanel.propTypes = {
316
316
  title: index.default.string,
317
317
  updateMethod: index.default.oneOf([constants.BATCH, constants.INSTANT])
318
318
  };
319
- var FilterPanel$1 = FilterPanel;
320
319
 
321
320
  exports.componentClass = componentClass;
322
- exports.default = FilterPanel$1;
321
+ exports.default = FilterPanel;
@@ -78,6 +78,5 @@ OverflowCheckboxes.propTypes = {
78
78
  viewAllLabel: index.default.string,
79
79
  viewLessLabel: index.default.string
80
80
  };
81
- var OverflowCheckboxes$1 = OverflowCheckboxes;
82
81
 
83
- exports.default = OverflowCheckboxes$1;
82
+ exports.default = OverflowCheckboxes;
@@ -22,6 +22,5 @@ var useFilterContext = function useFilterContext() {
22
22
  }
23
23
  return context;
24
24
  };
25
- var useFilterContext$1 = useFilterContext;
26
25
 
27
- exports.default = useFilterContext$1;
26
+ exports.default = useFilterContext;
@@ -477,6 +477,5 @@ var useFilters = function useFilters(_ref) {
477
477
  cancel: cancel
478
478
  };
479
479
  };
480
- var useFilters$1 = useFilters;
481
480
 
482
- exports.default = useFilters$1;
481
+ exports.default = useFilters;
@@ -33,6 +33,5 @@ var useShouldDisableButtons = function useShouldDisableButtons(_ref) {
33
33
  }, [filtersState, prevFiltersRef]);
34
34
  return [shouldDisableButtons, setShouldDisableButtons];
35
35
  };
36
- var useShouldDisableButtons$1 = useShouldDisableButtons;
37
36
 
38
- exports.default = useShouldDisableButtons$1;
37
+ exports.default = useShouldDisableButtons;
@@ -25,6 +25,5 @@ var useSubscribeToEventEmitter = function useSubscribeToEventEmitter(type, callb
25
25
  EventEmitter.subscribe(type, callback);
26
26
  });
27
27
  };
28
- var useSubscribeToEventEmitter$1 = useSubscribeToEventEmitter;
29
28
 
30
- exports.default = useSubscribeToEventEmitter$1;
29
+ exports.default = useSubscribeToEventEmitter;
@@ -91,6 +91,5 @@ RowSizeDropdown.propTypes = {
91
91
  onChange: index.default.func.isRequired,
92
92
  selectedOption: index.default.string
93
93
  };
94
- var RowSizeDropdown$1 = RowSizeDropdown;
95
94
 
96
- exports.default = RowSizeDropdown$1;
95
+ exports.default = RowSizeDropdown;
@@ -89,6 +89,5 @@ RowSizeRadioGroup.propTypes = {
89
89
  selectedOption: index.default.string.isRequired,
90
90
  tableId: index.default.string.isRequired
91
91
  };
92
- var RowSizeRadioGroup$1 = RowSizeRadioGroup;
93
92
 
94
- exports.default = RowSizeRadioGroup$1;
93
+ exports.default = RowSizeRadioGroup;
@@ -30,7 +30,7 @@ var handleColumnResizeEndEvent = function handleColumnResizeEndEvent(dispatch, o
30
30
  });
31
31
  };
32
32
  var handleColumnResizingEvent = function handleColumnResizingEvent(dispatch, header, newWidth, isKeyEvent) {
33
- if (isKeyEvent) {
33
+ {
34
34
  dispatch({
35
35
  type: COLUMN_RESIZE_START,
36
36
  payload: {
@@ -13,7 +13,7 @@ var reactTable = require('react-table');
13
13
 
14
14
 
15
15
 
16
- Object.defineProperty(exports, 'default', {
16
+ Object.defineProperty(exports, "default", {
17
17
  enumerable: true,
18
18
  get: function () { return reactTable.useColumnOrder; }
19
19
  });
@@ -40,6 +40,5 @@ var useDefaultStringRenderer = function useDefaultStringRenderer(hooks) {
40
40
  };
41
41
  hooks.visibleColumns.push(visibleColumns);
42
42
  };
43
- var useDefaultStringRenderer$1 = useDefaultStringRenderer;
44
43
 
45
- exports.default = useDefaultStringRenderer$1;
44
+ exports.default = useDefaultStringRenderer;
@@ -14,6 +14,5 @@ var useInlineEdit = require('./useInlineEdit.js');
14
14
  var useEditableCell = function useEditableCell(hooks) {
15
15
  useInlineEdit.default(hooks);
16
16
  };
17
- var useEditableCell$1 = useEditableCell;
18
17
 
19
- exports.default = useEditableCell$1;
18
+ exports.default = useEditableCell;
@@ -79,6 +79,5 @@ var useFlexResize = function useFlexResize(hooks) {
79
79
  });
80
80
  hooks.useInstance.push(useInstance);
81
81
  };
82
- var useFlexResize$1 = useFlexResize;
83
82
 
84
- exports.default = useFlexResize$1;
83
+ exports.default = useFlexResize;
@@ -77,6 +77,5 @@ var useFloatingScroll = function useFloatingScroll(hooks) {
77
77
  hooks.useInstance.push(useAddScrollListener);
78
78
  hooks.useInstance.push(useInstance);
79
79
  };
80
- var useFloatingScroll$1 = useFloatingScroll;
81
80
 
82
- exports.default = useFloatingScroll$1;
81
+ exports.default = useFloatingScroll;
@@ -119,6 +119,5 @@ var useNestedRowExpander = function useNestedRowExpander(hooks) {
119
119
  hooks.visibleColumns.push(visibleColumns);
120
120
  hooks.useInstance.push(useInstance);
121
121
  };
122
- var useNestedRowExpander$1 = useNestedRowExpander;
123
122
 
124
- exports.default = useNestedRowExpander$1;
123
+ exports.default = useNestedRowExpander;
@@ -59,6 +59,5 @@ var useParentDimensions = function useParentDimensions(hooks) {
59
59
  };
60
60
  hooks.useInstance.push(useInstance);
61
61
  };
62
- var useParentDimensions$1 = useParentDimensions;
63
62
 
64
- exports.default = useParentDimensions$1;
63
+ exports.default = useParentDimensions;
@@ -36,6 +36,5 @@ var useResizeTable = function useResizeTable(hooks) {
36
36
  };
37
37
  hooks.useInstanceBeforeDimensions.push(useInstanceBeforeDimensions);
38
38
  };
39
- var useResizeTable$1 = useResizeTable;
40
39
 
41
- exports.default = useResizeTable$1;
40
+ exports.default = useResizeTable;
@@ -69,6 +69,5 @@ var useRowExpander = function useRowExpander(hooks) {
69
69
  hooks.visibleColumns.push(visibleColumns);
70
70
  hooks.useInstance.push(useInstance);
71
71
  };
72
- var useRowExpander$1 = useRowExpander;
73
72
 
74
- exports.default = useRowExpander$1;
73
+ exports.default = useRowExpander;
@@ -69,6 +69,5 @@ var useRowRenderer = function useRowRenderer(hooks) {
69
69
  };
70
70
  hooks.useInstance.push(useInstance);
71
71
  };
72
- var useRowRenderer$1 = useRowRenderer;
73
72
 
74
- exports.default = useRowRenderer$1;
73
+ exports.default = useRowRenderer;
@@ -55,6 +55,5 @@ var useRowSize = function useRowSize(hooks) {
55
55
  };
56
56
  hooks.getTableProps.push(getTableProps);
57
57
  };
58
- var useRowSize$1 = useRowSize;
59
58
 
60
- exports.default = useRowSize$1;
59
+ exports.default = useRowSize;
@@ -44,6 +44,5 @@ var useSkeletons = function useSkeletons(hooks) {
44
44
  };
45
45
  hooks.useInstance.push(useInstance);
46
46
  };
47
- var useSkeletonRows = useSkeletons;
48
47
 
49
- exports.default = useSkeletonRows;
48
+ exports.default = useSkeletons;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * The DecoratorDualButton groups a key/value pair where the key and value each behave like a button.
3
+ * @deprecated This component is deprecated
3
4
  */
4
5
  export let DecoratorDualButton: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
5
6
  import React from 'react';
@@ -19,6 +19,7 @@ var componentName = 'DecoratorDualButton';
19
19
 
20
20
  /**
21
21
  * The DecoratorDualButton groups a key/value pair where the key and value each behave like a button.
22
+ * @deprecated This component is deprecated
22
23
  */
23
24
  exports.DecoratorDualButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
24
25
  var validProps = propsHelper.prepareProps(props, ['href', 'kind', 'onClick', 'onContextMenu']);
@@ -28,6 +29,10 @@ exports.DecoratorDualButton = /*#__PURE__*/React.forwardRef(function (props, ref
28
29
  kind: "dual-button"
29
30
  }, devtools.getDevtoolsProps(componentName)));
30
31
  });
32
+ exports.DecoratorDualButton.deprecated = {
33
+ level: 'warn',
34
+ details: "This component is deprecated"
35
+ };
31
36
 
32
37
  // Return a placeholder if not released and not enabled by feature flag
33
38
  exports.DecoratorDualButton = settings.pkg.checkComponentEnabled(exports.DecoratorDualButton, componentName);
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * The DecoratorLink groups a key/value pair to behave like a link.
3
+ * @deprecated This component is deprecated
3
4
  */
4
5
  export let DecoratorLink: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
5
6
  import React from 'react';
@@ -19,6 +19,7 @@ var componentName = 'DecoratorLink';
19
19
 
20
20
  /**
21
21
  * The DecoratorLink groups a key/value pair to behave like a link.
22
+ * @deprecated This component is deprecated
22
23
  */
23
24
  exports.DecoratorLink = /*#__PURE__*/React.forwardRef(function (props, ref) {
24
25
  var validProps = propsHelper.prepareProps(props, ['disabled', 'kind', 'onClickLabel', 'onClickValue', 'onContextMenuLabel', 'onContextMenuValue']);
@@ -28,6 +29,10 @@ exports.DecoratorLink = /*#__PURE__*/React.forwardRef(function (props, ref) {
28
29
  kind: "link"
29
30
  }, devtools.getDevtoolsProps(componentName)));
30
31
  });
32
+ exports.DecoratorLink.deprecated = {
33
+ level: 'warn',
34
+ details: "This component is deprecated"
35
+ };
31
36
 
32
37
  // Return a placeholder if not released and not enabled by feature flag
33
38
  exports.DecoratorLink = settings.pkg.checkComponentEnabled(exports.DecoratorLink, componentName);
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * The DecoratorSingleButton groups a key/value pair to behave like a button.
3
+ * @deprecated This component is deprecated
3
4
  */
4
5
  export let DecoratorSingleButton: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
5
6
  import React from 'react';
@@ -19,6 +19,7 @@ var componentName = 'DecoratorSingleButton';
19
19
 
20
20
  /**
21
21
  * The DecoratorSingleButton groups a key/value pair to behave like a button.
22
+ * @deprecated This component is deprecated
22
23
  */
23
24
  exports.DecoratorSingleButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
24
25
  var validProps = propsHelper.prepareProps(props, ['href', 'kind', 'onClickLabel', 'onClickValue', 'onContextMenuLabel', 'onContextMenuValue']);
@@ -28,6 +29,10 @@ exports.DecoratorSingleButton = /*#__PURE__*/React.forwardRef(function (props, r
28
29
  kind: "single-button"
29
30
  }, devtools.getDevtoolsProps(componentName)));
30
31
  });
32
+ exports.DecoratorSingleButton.deprecated = {
33
+ level: 'warn',
34
+ details: "This component is deprecated"
35
+ };
31
36
 
32
37
  // Return a placeholder if not released and not enabled by feature flag
33
38
  exports.DecoratorSingleButton = settings.pkg.checkComponentEnabled(exports.DecoratorSingleButton, componentName);
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Type layouts provide an orderly layout of terms and definitions.
3
+ * @deprecated This component is deprecated
3
4
  */
4
5
  export let DescriptionList: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
5
6
  import React from 'react';
@@ -41,6 +41,7 @@ var defaults = {
41
41
 
42
42
  /**
43
43
  * Type layouts provide an orderly layout of terms and definitions.
44
+ * @deprecated This component is deprecated
44
45
  */
45
46
  exports.DescriptionList = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
46
47
  var _ref$border = _ref.border,
@@ -60,6 +61,10 @@ exports.DescriptionList = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
60
61
  selection: false
61
62
  }, children));
62
63
  });
64
+ exports.DescriptionList.deprecated = {
65
+ level: 'warn',
66
+ details: "This component is deprecated"
67
+ };
63
68
 
64
69
  // Return a placeholder if not released and not enabled by feature flag
65
70
  exports.DescriptionList = settings.pkg.checkComponentEnabled(exports.DescriptionList, componentName);
@@ -16,7 +16,9 @@ export interface EditFullPageProps {
16
16
  children: ReactNode;
17
17
  }
18
18
  /**
19
+ * **This component is deprecated.** <br>
19
20
  * Use when settings on a page need to always be shown in edit mode, or when the context of the page is needed to make several changes.
20
21
  * See usage guidance for further details.
22
+ * @deprecated
21
23
  */
22
24
  export declare let EditFullPage: React.ForwardRefExoticComponent<EditFullPageProps & React.RefAttributes<HTMLDivElement>>;
@@ -40,8 +40,10 @@ var componentName = 'EditFullPage';
40
40
  // };
41
41
 
42
42
  /**
43
+ * **This component is deprecated.** <br>
43
44
  * Use when settings on a page need to always be shown in edit mode, or when the context of the page is needed to make several changes.
44
45
  * See usage guidance for further details.
46
+ * @deprecated
45
47
  */
46
48
  exports.EditFullPage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
47
49
  var className = _ref.className,
@@ -62,6 +64,12 @@ exports.EditFullPage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
62
64
  }, devtools.getDevtoolsProps(componentName)), children);
63
65
  });
64
66
 
67
+ /**@ts-ignore*/
68
+ exports.EditFullPage.deprecated = {
69
+ level: 'warn',
70
+ details: "This component is deprecated and will be removed in the next major version."
71
+ };
72
+
65
73
  // Return a placeholder if not released and not enabled by feature flag
66
74
  exports.EditFullPage = settings.pkg.checkComponentEnabled(exports.EditFullPage, componentName);
67
75
 
@@ -89,6 +89,8 @@ export interface EditSidePanelProps {
89
89
  title: string;
90
90
  }
91
91
  /**
92
+ * **This component is deprecated.** <br>
92
93
  * Use with medium complexity edits if the user needs page context.
94
+ * @deprecated
93
95
  */
94
96
  export declare let EditSidePanel: React.ForwardRefExoticComponent<EditSidePanelProps & React.RefAttributes<HTMLDivElement>>;