@carbon/ibm-products 2.43.2-canary.124 → 2.43.2-canary.127

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. package/css/index-full-carbon.css +1 -1
  2. package/css/index-full-carbon.min.css +1 -1
  3. package/css/index-full-carbon.min.css.map +1 -1
  4. package/css/index-without-carbon-released-only.css +1 -1
  5. package/css/index-without-carbon-released-only.min.css +1 -1
  6. package/css/index-without-carbon-released-only.min.css.map +1 -1
  7. package/css/index-without-carbon.css +1 -1
  8. package/css/index-without-carbon.min.css +1 -1
  9. package/css/index-without-carbon.min.css.map +1 -1
  10. package/css/index.css +1 -1
  11. package/css/index.min.css +1 -1
  12. package/css/index.min.css.map +1 -1
  13. package/es/components/APIKeyModal/index.d.ts +2 -1
  14. package/es/components/AboutModal/AboutModal.d.ts +1 -2
  15. package/es/components/AboutModal/index.d.ts +8 -1
  16. package/es/components/ActionSet/ActionSet.d.ts +1 -2
  17. package/es/components/ActionSet/ActionSet.js +2 -2
  18. package/es/components/ActionSet/index.d.ts +8 -1
  19. package/es/components/AddSelect/AddSelectBody.js +1 -1
  20. package/es/components/AddSelect/index.d.ts +2 -1
  21. package/es/components/Carousel/index.d.ts +9 -2
  22. package/es/components/Cascade/Cascade.d.ts +1 -2
  23. package/es/components/Cascade/Cascade.js +2 -2
  24. package/es/components/Cascade/index.d.ts +2 -1
  25. package/es/components/Checklist/Checklist.d.ts +2 -2
  26. package/es/components/Checklist/Checklist.js +6 -6
  27. package/es/components/Checklist/index.d.ts +8 -1
  28. package/es/components/Coachmark/Coachmark.d.ts +1 -2
  29. package/es/components/Coachmark/Coachmark.js +5 -5
  30. package/es/components/Coachmark/index.d.ts +10 -3
  31. package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
  32. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +3 -2
  33. package/es/components/CoachmarkBeacon/index.d.ts +8 -1
  34. package/es/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
  35. package/es/components/CoachmarkButton/CoachmarkButton.js +4 -2
  36. package/es/components/CoachmarkButton/index.d.ts +8 -1
  37. package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
  38. package/es/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
  39. package/es/components/CoachmarkFixed/index.d.ts +8 -1
  40. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
  41. package/es/components/CoachmarkOverlayElement/index.d.ts +8 -1
  42. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
  43. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +7 -4
  44. package/es/components/CoachmarkOverlayElements/index.d.ts +8 -1
  45. package/es/components/ComboButton/ComboButton.d.ts +1 -1
  46. package/es/components/ComboButton/ComboButton.js +4 -4
  47. package/es/components/ComboButton/index.d.ts +9 -2
  48. package/es/components/CreateFullPage/CreateFullPage.d.ts +1 -1
  49. package/es/components/CreateFullPage/CreateFullPage.js +5 -5
  50. package/es/components/CreateFullPage/index.d.ts +9 -2
  51. package/es/components/CreateModal/CreateModal.d.ts +2 -3
  52. package/es/components/CreateModal/CreateModal.js +1 -1
  53. package/es/components/CreateModal/index.d.ts +2 -1
  54. package/es/components/CreateSidePanel/index.d.ts +7 -1
  55. package/es/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
  56. package/es/components/CreateTearsheet/CreateTearsheet.js +4 -4
  57. package/es/components/CreateTearsheet/index.d.ts +10 -3
  58. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
  59. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
  60. package/es/components/CreateTearsheetNarrow/index.d.ts +8 -1
  61. package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
  62. package/es/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
  63. package/es/components/DataSpreadsheet/index.d.ts +8 -1
  64. package/es/components/Datagrid/Datagrid/DatagridRow.js +7 -5
  65. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  66. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  67. package/es/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
  68. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +70 -27
  69. package/es/components/Datagrid/types/index.d.ts +2 -0
  70. package/es/components/Datagrid/useNestedRowExpander.js +65 -16
  71. package/es/components/Datagrid/useRowRenderer.js +44 -2
  72. package/es/components/DelimitedList/DelimitedList.d.ts +1 -2
  73. package/es/components/DelimitedList/index.d.ts +8 -1
  74. package/es/components/EditFullPage/EditFullPage.d.ts +1 -2
  75. package/es/components/EditFullPage/index.d.ts +8 -1
  76. package/es/components/EditInPlace/EditInPlace.d.ts +1 -1
  77. package/es/components/EditInPlace/EditInPlace.js +3 -3
  78. package/es/components/EditInPlace/index.d.ts +8 -1
  79. package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -3
  80. package/es/components/EditSidePanel/EditSidePanel.js +2 -2
  81. package/es/components/EditSidePanel/index.d.ts +8 -1
  82. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
  83. package/es/components/EditTearsheetNarrow/index.d.ts +8 -1
  84. package/es/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
  85. package/es/components/EditUpdateCards/EditUpdateCards.js +1 -0
  86. package/es/components/EditUpdateCards/index.d.ts +8 -1
  87. package/es/components/ExportModal/ExportModal.d.ts +3 -3
  88. package/es/components/ExportModal/ExportModal.js +3 -3
  89. package/es/components/ExportModal/index.d.ts +2 -1
  90. package/es/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
  91. package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
  92. package/es/components/ExpressiveCard/index.d.ts +2 -1
  93. package/es/components/Guidebanner/Guidebanner.js +2 -1
  94. package/es/components/InterstitialScreen/InterstitialScreen.js +1 -0
  95. package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
  96. package/es/components/RemoveModal/RemoveModal.d.ts +1 -1
  97. package/es/components/RemoveModal/RemoveModal.js +3 -3
  98. package/es/components/SidePanel/SidePanel.js +1 -1
  99. package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
  100. package/es/components/Tearsheet/Tearsheet.js +1 -1
  101. package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
  102. package/es/components/Tearsheet/TearsheetShell.js +1 -1
  103. package/lib/components/APIKeyModal/index.d.ts +2 -1
  104. package/lib/components/AboutModal/AboutModal.d.ts +1 -2
  105. package/lib/components/AboutModal/index.d.ts +8 -1
  106. package/lib/components/ActionSet/ActionSet.d.ts +1 -2
  107. package/lib/components/ActionSet/ActionSet.js +2 -2
  108. package/lib/components/ActionSet/index.d.ts +8 -1
  109. package/lib/components/AddSelect/index.d.ts +2 -1
  110. package/lib/components/Carousel/index.d.ts +9 -2
  111. package/lib/components/Cascade/Cascade.d.ts +1 -2
  112. package/lib/components/Cascade/Cascade.js +2 -2
  113. package/lib/components/Cascade/index.d.ts +2 -1
  114. package/lib/components/Checklist/Checklist.d.ts +2 -2
  115. package/lib/components/Checklist/Checklist.js +6 -6
  116. package/lib/components/Checklist/index.d.ts +8 -1
  117. package/lib/components/Coachmark/Coachmark.d.ts +1 -2
  118. package/lib/components/Coachmark/Coachmark.js +5 -5
  119. package/lib/components/Coachmark/index.d.ts +10 -3
  120. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
  121. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +3 -2
  122. package/lib/components/CoachmarkBeacon/index.d.ts +8 -1
  123. package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
  124. package/lib/components/CoachmarkButton/CoachmarkButton.js +4 -2
  125. package/lib/components/CoachmarkButton/index.d.ts +8 -1
  126. package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
  127. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
  128. package/lib/components/CoachmarkFixed/index.d.ts +8 -1
  129. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
  130. package/lib/components/CoachmarkOverlayElement/index.d.ts +8 -1
  131. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
  132. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +7 -4
  133. package/lib/components/CoachmarkOverlayElements/index.d.ts +8 -1
  134. package/lib/components/ComboButton/ComboButton.d.ts +1 -1
  135. package/lib/components/ComboButton/ComboButton.js +5 -5
  136. package/lib/components/ComboButton/index.d.ts +9 -2
  137. package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
  138. package/lib/components/CreateFullPage/CreateFullPage.js +5 -5
  139. package/lib/components/CreateFullPage/index.d.ts +9 -2
  140. package/lib/components/CreateModal/CreateModal.d.ts +2 -3
  141. package/lib/components/CreateModal/CreateModal.js +1 -1
  142. package/lib/components/CreateModal/index.d.ts +2 -1
  143. package/lib/components/CreateSidePanel/index.d.ts +7 -1
  144. package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
  145. package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
  146. package/lib/components/CreateTearsheet/index.d.ts +10 -3
  147. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
  148. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
  149. package/lib/components/CreateTearsheetNarrow/index.d.ts +8 -1
  150. package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
  151. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
  152. package/lib/components/DataSpreadsheet/index.d.ts +8 -1
  153. package/lib/components/Datagrid/Datagrid/DatagridRow.js +7 -5
  154. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  155. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  156. package/lib/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
  157. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +70 -26
  158. package/lib/components/Datagrid/types/index.d.ts +2 -0
  159. package/lib/components/Datagrid/useNestedRowExpander.js +64 -15
  160. package/lib/components/Datagrid/useRowRenderer.js +44 -2
  161. package/lib/components/DelimitedList/DelimitedList.d.ts +1 -2
  162. package/lib/components/DelimitedList/index.d.ts +8 -1
  163. package/lib/components/EditFullPage/EditFullPage.d.ts +1 -2
  164. package/lib/components/EditFullPage/index.d.ts +8 -1
  165. package/lib/components/EditInPlace/EditInPlace.d.ts +1 -1
  166. package/lib/components/EditInPlace/EditInPlace.js +3 -3
  167. package/lib/components/EditInPlace/index.d.ts +8 -1
  168. package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -3
  169. package/lib/components/EditSidePanel/EditSidePanel.js +2 -2
  170. package/lib/components/EditSidePanel/index.d.ts +8 -1
  171. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
  172. package/lib/components/EditTearsheetNarrow/index.d.ts +8 -1
  173. package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
  174. package/lib/components/EditUpdateCards/EditUpdateCards.js +1 -0
  175. package/lib/components/EditUpdateCards/index.d.ts +8 -1
  176. package/lib/components/ExportModal/ExportModal.d.ts +3 -3
  177. package/lib/components/ExportModal/ExportModal.js +3 -3
  178. package/lib/components/ExportModal/index.d.ts +2 -1
  179. package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
  180. package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
  181. package/lib/components/ExpressiveCard/index.d.ts +2 -1
  182. package/lib/components/Guidebanner/Guidebanner.js +2 -1
  183. package/lib/components/InterstitialScreen/InterstitialScreen.js +1 -0
  184. package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
  185. package/lib/components/RemoveModal/RemoveModal.d.ts +1 -1
  186. package/lib/components/RemoveModal/RemoveModal.js +3 -3
  187. package/lib/components/SidePanel/SidePanel.js +1 -1
  188. package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
  189. package/lib/components/Tearsheet/Tearsheet.js +1 -1
  190. package/lib/components/Tearsheet/TearsheetNarrow.js +1 -1
  191. package/lib/components/Tearsheet/TearsheetShell.js +1 -1
  192. package/package.json +3 -3
  193. package/scss/components/Datagrid/styles/_useNestedRows.scss +1 -1
@@ -6,13 +6,13 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
+ import '../../global/js/utils/props-helper.js';
9
10
  import React__default from 'react';
11
+ import { Form } from '@carbon/react';
10
12
  import PropTypes from '../../node_modules/prop-types/index.js';
11
13
  import cx from 'classnames';
12
14
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
15
  import { pkg } from '../../settings.js';
14
- import { Form } from '@carbon/react';
15
- import '../../global/js/utils/props-helper.js';
16
16
  import uuidv4 from '../../global/js/utils/uuidv4.js';
17
17
  import { SidePanel } from '../SidePanel/SidePanel.js';
18
18
 
@@ -1 +1,8 @@
1
- export { EditSidePanel } from "./EditSidePanel";
1
+ /**
2
+ * Copyright IBM Corp. 2021, 2021
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { EditSidePanel } from './EditSidePanel';
8
+ export type { EditSidePanelProps } from './EditSidePanel';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface EditTearsheetNarrowProps {
8
+ export interface EditTearsheetNarrowProps {
9
9
  /**
10
10
  * Provide the contents of the EditTearsheetNarrow.
11
11
  */
@@ -19,4 +19,3 @@ interface EditTearsheetNarrowProps {
19
19
  * Use a narrow tearsheet as an alternative to a modal when there is scrolling. See usage guidance for further information.
20
20
  */
21
21
  export declare let EditTearsheetNarrow: React.ForwardRefExoticComponent<EditTearsheetNarrowProps & React.RefAttributes<HTMLDivElement>>;
22
- export {};
@@ -1 +1,8 @@
1
- export { EditTearsheetNarrow } from "./EditTearsheetNarrow";
1
+ /**
2
+ * Copyright IBM Corp. 2022, 2022
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { EditTearsheetNarrow } from './EditTearsheetNarrow';
8
+ export type { EditTearsheetNarrowProps } from './EditTearsheetNarrow';
@@ -15,7 +15,7 @@ type ActionIcon = {
15
15
  href?: string;
16
16
  };
17
17
  type PlacementType = 'top' | 'bottom';
18
- interface EditUpdateCardsProps {
18
+ export interface EditUpdateCardsProps {
19
19
  /**
20
20
  * Icons that are displayed on card. Refer to design documentation for implementation guidelines
21
21
  */
@@ -14,6 +14,7 @@ import { pkg } from '../../settings.js';
14
14
  import { ProductiveCard } from '../ProductiveCard/ProductiveCard.js';
15
15
 
16
16
  var _excluded = ["actionIcons", "actionsPlacement", "className", "description", "editChildren", "editMode", "label", "onPrimaryButtonClick", "onSecondaryButtonClick", "previewChildren", "title", "titleSize", "primaryButtonIcon", "primaryButtonText", "secondaryButtonIcon", "secondaryButtonText"];
17
+
17
18
  // import { children } from 'cheerio/lib/api/traversing';
18
19
 
19
20
  // Carbon and package components we use.
@@ -1 +1,8 @@
1
- export { EditUpdateCards } from "./EditUpdateCards";
1
+ /**
2
+ * Copyright IBM Corp. 2022, 2022
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { EditUpdateCards } from './EditUpdateCards';
8
+ export type { EditUpdateCardsProps } from './EditUpdateCards';
@@ -1,12 +1,12 @@
1
1
  /// <reference path="../../../src/custom-typings/index.d.ts" />
2
- import React, { ReactNode } from 'react';
3
2
  import { ComposedModal } from '@carbon/react';
3
+ import React, { ReactNode } from 'react';
4
4
  type InputType = 'text' | 'password';
5
5
  type PreformattedExtensions = {
6
6
  extension?: string;
7
7
  description?: string;
8
8
  };
9
- interface RemoveModalProps extends React.ComponentProps<typeof ComposedModal> {
9
+ export interface ExportModalProps extends React.ComponentProps<typeof ComposedModal> {
10
10
  /**
11
11
  * Body content for the modal
12
12
  */
@@ -107,7 +107,7 @@ interface RemoveModalProps extends React.ComponentProps<typeof ComposedModal> {
107
107
  /**
108
108
  * Modal dialog version of the export pattern
109
109
  */
110
- export declare let ExportModal: React.ForwardRefExoticComponent<RemoveModalProps & {
110
+ export declare let ExportModal: React.ForwardRefExoticComponent<ExportModalProps & {
111
111
  children?: React.ReactNode;
112
112
  } & React.RefAttributes<unknown>>;
113
113
  export {};
@@ -6,15 +6,15 @@
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 React__default, { forwardRef, useState, useEffect, useRef } from 'react';
10
9
  import { ComposedModal, ModalHeader, ModalBody, FormGroup, RadioButtonGroup, RadioButton, TextInput, PasswordInput, Loading, ModalFooter, Button } from '@carbon/react';
11
- import cx from 'classnames';
12
10
  import { CheckmarkFilled, ErrorFilled } from '@carbon/react/icons';
11
+ import React__default, { forwardRef, useState, useEffect, useRef } from 'react';
13
12
  import PropTypes from '../../node_modules/prop-types/index.js';
13
+ import cx from 'classnames';
14
14
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
15
- import uuidv4 from '../../global/js/utils/uuidv4.js';
16
15
  import { pkg } from '../../settings.js';
17
16
  import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
17
+ import uuidv4 from '../../global/js/utils/uuidv4.js';
18
18
 
19
19
  var _Loading;
20
20
  var _excluded = ["body", "className", "error", "errorMessage", "filename", "hidePasswordLabel", "inputLabel", "inputType", "invalidInputText", "loading", "loadingMessage", "onClose", "onRequestSubmit", "open", "portalTarget", "preformattedExtensions", "preformattedExtensionsLabel", "primaryButtonText", "secondaryButtonText", "showPasswordLabel", "successMessage", "successful", "title", "validExtensions"];
@@ -1 +1,2 @@
1
- export { ExportModal } from "./ExportModal";
1
+ export { ExportModal } from './ExportModal';
2
+ export type { ExportModalProps } from './ExportModal';
@@ -8,7 +8,7 @@ type ActionIcon = {
8
8
  iconDescription?: string;
9
9
  href?: string;
10
10
  };
11
- interface ExpressiveCardProps extends PropsWithChildren {
11
+ export interface ExpressiveCardProps extends PropsWithChildren {
12
12
  /**
13
13
  * Icons that are displayed on card. Refer to design documentation for implementation guidelines. Note- href will supersede onClick
14
14
  */
@@ -9,8 +9,8 @@ import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js
9
9
  import React__default, { forwardRef } from 'react';
10
10
  import PropTypes from '../../node_modules/prop-types/index.js';
11
11
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
12
- import { prepareProps } from '../../global/js/utils/props-helper.js';
13
12
  import { pkg } from '../../settings.js';
13
+ import { prepareProps } from '../../global/js/utils/props-helper.js';
14
14
  import { Card } from '../Card/Card.js';
15
15
 
16
16
  var componentName = 'ExpressiveCard';
@@ -1 +1,2 @@
1
- export { ExpressiveCard } from "./ExpressiveCard";
1
+ export { ExpressiveCard } from './ExpressiveCard';
2
+ export type { ExpressiveCardProps } from './ExpressiveCard';
@@ -12,10 +12,11 @@ import cx from 'classnames';
12
12
  import { blue90, purple70 } from '../../node_modules/@carbon/colors/es/index.js';
13
13
  import { Idea, CaretLeft, CaretRight, Close } from '@carbon/react/icons';
14
14
  import { Button, IconButton } from '@carbon/react';
15
+ import { Carousel } from '../Carousel/Carousel.js';
16
+ import '../Carousel/CarouselItem.js';
15
17
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
16
18
  import { pkg } from '../../settings.js';
17
19
  import uuidv4 from '../../global/js/utils/uuidv4.js';
18
- import { Carousel } from '../Carousel/Carousel.js';
19
20
 
20
21
  var _CaretLeft, _CaretRight, _Close;
21
22
  var _excluded = ["children", "className", "collapsible", "onClose", "withLeftGutter", "closeIconDescription", "collapseButtonLabel", "expandButtonLabel", "nextIconDescription", "previousIconDescription", "title"];
@@ -15,6 +15,7 @@ import { clamp } from 'lodash';
15
15
  import { ArrowRight } from '@carbon/react/icons';
16
16
  import { ComposedModal, ModalHeader, ProgressIndicator, ProgressStep, ModalBody, ModalFooter, FlexGrid, Row, Column, Button } from '@carbon/react';
17
17
  import { Carousel } from '../Carousel/Carousel.js';
18
+ import '../Carousel/CarouselItem.js';
18
19
  import { SteppedAnimatedMedia } from '../SteppedAnimatedMedia/SteppedAnimatedMedia.js';
19
20
 
20
21
  var _excluded = ["children", "className", "closeIconDescription", "domainName", "hideProgressIndicator", "interstitialAriaLabel", "isFullScreen", "isOpen", "media", "nextButtonLabel", "onClose", "previousButtonLabel", "productName", "headerClassName", "headerTitle", "startButtonLabel", "skipButtonLabel"];
@@ -8,9 +8,9 @@
8
8
  import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { forwardRef } from 'react';
10
10
  import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import { AddSelect } from '../AddSelect/AddSelect.js';
11
12
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
12
13
  import { pkg } from '../../settings.js';
13
- import { AddSelect } from '../AddSelect/AddSelect.js';
14
14
 
15
15
  var componentName = 'MultiAddSelect';
16
16
  /**
@@ -5,7 +5,7 @@ interface RemoveModalProps extends React.ComponentProps<typeof ComposedModal> {
5
5
  /**
6
6
  * The content to be displayed in the body of the modal
7
7
  */
8
- body: string;
8
+ body: ReactNode;
9
9
  /**
10
10
  * Optional classname
11
11
  */
@@ -91,9 +91,9 @@ var RemoveModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
91
91
  title: title,
92
92
  label: label,
93
93
  iconDescription: iconDescription
94
- }), /*#__PURE__*/React__default.createElement(ModalBody, null, /*#__PURE__*/React__default.createElement("p", {
94
+ }), /*#__PURE__*/React__default.createElement(ModalBody, null, typeof body === 'string' ? /*#__PURE__*/React__default.createElement("p", {
95
95
  className: "".concat(blockClass, "__body")
96
- }, body), textConfirmation && /*#__PURE__*/React__default.createElement(TextInput, {
96
+ }, body) : body, textConfirmation && /*#__PURE__*/React__default.createElement(TextInput, {
97
97
  id: "".concat(idRef.current, "-confirmation-input"),
98
98
  className: "".concat(blockClass, "__input"),
99
99
  invalidText: inputInvalidText,
@@ -122,7 +122,7 @@ RemoveModal.propTypes = {
122
122
  /**
123
123
  * The content to be displayed in the body of the modal
124
124
  */
125
- body: PropTypes.string.isRequired,
125
+ body: PropTypes.node.isRequired,
126
126
  /**
127
127
  * Optional classname
128
128
  */
@@ -17,10 +17,10 @@ import { pkg } from '../../settings.js';
17
17
  import { SIDE_PANEL_SIZES } from './constants.js';
18
18
  import { Button, IconButton } from '@carbon/react';
19
19
  import { ArrowLeft, Close } from '@carbon/react/icons';
20
+ import { ActionSet } from '../ActionSet/ActionSet.js';
20
21
  import { actionSetVariants, overlayVariants, panelVariants } from './motion/variants.js';
21
22
  import pconsole from '../../global/js/utils/pconsole.js';
22
23
  import usePrefersReducedMotion from '../../global/js/hooks/usePrefersReducedMotion.js';
23
- import { ActionSet } from '../ActionSet/ActionSet.js';
24
24
  import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
25
25
  import { useFocus } from '../../global/js/hooks/useFocus.js';
26
26
 
@@ -8,10 +8,10 @@
8
8
  import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { forwardRef } from 'react';
10
10
  import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import { AddSelect } from '../AddSelect/AddSelect.js';
11
12
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
12
13
  import { pkg } from '../../settings.js';
13
14
  import { prepareProps } from '../../global/js/utils/props-helper.js';
14
- import { AddSelect } from '../AddSelect/AddSelect.js';
15
15
 
16
16
  var componentName = 'SingleAddSelect';
17
17
  /**
@@ -12,8 +12,8 @@ import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
12
12
  import { allPropTypes } from '../../global/js/utils/props-helper.js';
13
13
  import { pkg } from '../../settings.js';
14
14
  import { Button } from '@carbon/react';
15
- import { TearsheetShell, tearsheetHasCloseIcon, portalType } from './TearsheetShell.js';
16
15
  import { ActionSet } from '../ActionSet/ActionSet.js';
16
+ import { TearsheetShell, tearsheetHasCloseIcon, portalType } from './TearsheetShell.js';
17
17
 
18
18
  var _excluded = ["influencerPosition", "influencerWidth"];
19
19
  var componentName = 'Tearsheet';
@@ -12,8 +12,8 @@ import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
12
12
  import { prepareProps, allPropTypes } from '../../global/js/utils/props-helper.js';
13
13
  import { pkg } from '../../settings.js';
14
14
  import { Button } from '@carbon/react';
15
- import { TearsheetShell, tearsheetHasCloseIcon, portalType, tearsheetShellWideProps } from './TearsheetShell.js';
16
15
  import { ActionSet } from '../ActionSet/ActionSet.js';
16
+ import { TearsheetShell, tearsheetHasCloseIcon, portalType, tearsheetShellWideProps } from './TearsheetShell.js';
17
17
 
18
18
  var _excluded = ["verticalPosition"];
19
19
  var componentName = 'TearsheetNarrow';
@@ -14,11 +14,11 @@ import { pkg } from '../../settings.js';
14
14
  import pconsole from '../../global/js/utils/pconsole.js';
15
15
  import { getNodeTextContent } from '../../global/js/utils/getNodeTextContent.js';
16
16
  import { Button, usePrefix, ComposedModal, ModalHeader, Layer } from '@carbon/react';
17
+ import { ActionSet } from '../ActionSet/ActionSet.js';
17
18
  import { Wrap } from '../../global/js/utils/Wrap.js';
18
19
  import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
19
20
  import { useFocus, getSpecificElement } from '../../global/js/hooks/useFocus.js';
20
21
  import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
21
- import { ActionSet } from '../ActionSet/ActionSet.js';
22
22
 
23
23
  var _excluded = ["actions", "ariaLabel", "children", "className", "closeIconDescription", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "portalTarget", "selectorPrimaryFocus", "selectorsFloatingMenus", "size", "slug", "title", "verticalPosition", "launcherButtonRef"];
24
24
 
@@ -1 +1,2 @@
1
- export { APIKeyModal } from "./APIKeyModal";
1
+ export { APIKeyModal } from './APIKeyModal';
2
+ export type { APIKeyModalProps } from './APIKeyModal.types';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface AboutModalProps {
8
+ export interface AboutModalProps {
9
9
  /**
10
10
  * If you are legally required to display logos of technologies used
11
11
  * to build your product you can provide this in the additionalInfo.
@@ -77,4 +77,3 @@ interface AboutModalProps {
77
77
  * to completion.
78
78
  */
79
79
  export declare let AboutModal: React.ForwardRefExoticComponent<AboutModalProps & React.RefAttributes<HTMLDivElement>>;
80
- export {};
@@ -1 +1,8 @@
1
- export { AboutModal } from "./AboutModal";
1
+ /**
2
+ * Copyright IBM Corp. 2021, 2021
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { AboutModal } from './AboutModal';
8
+ export type { AboutModalProps } from './AboutModal';
@@ -9,7 +9,7 @@ import React from 'react';
9
9
  import { ButtonProps } from '@carbon/react';
10
10
  export declare const ButtonSizes: readonly ["sm", "md", "lg", "xl", "2xl"];
11
11
  export type ButtonSize = (typeof ButtonSizes)[number];
12
- interface ActionSetProps {
12
+ export interface ActionSetProps {
13
13
  /**
14
14
  * The action buttons to show. Each action is specified as an object
15
15
  * representation of a Carbon button.
@@ -47,4 +47,3 @@ interface ActionSetProps {
47
47
  * right.
48
48
  */
49
49
  export declare const ActionSet: React.ForwardRefExoticComponent<ActionSetProps & React.RefAttributes<HTMLDivElement>>;
50
- export {};
@@ -10,12 +10,12 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
+ var react = require('@carbon/react');
13
14
  var React = require('react');
15
+ var propsHelper = require('../../global/js/utils/props-helper.js');
14
16
  var index = require('../../node_modules/prop-types/index.js');
15
17
  var cx = require('classnames');
16
18
  var settings = require('../../settings.js');
17
- var propsHelper = require('../../global/js/utils/props-helper.js');
18
- var react = require('@carbon/react');
19
19
 
20
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
21
21
 
@@ -1 +1,8 @@
1
- export { ActionSet } from "./ActionSet";
1
+ /**
2
+ * Copyright IBM Corp. 2021, 2021
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { ActionSet } from './ActionSet';
8
+ export type { ActionSetProps } from './ActionSet';
@@ -1 +1,2 @@
1
- export { AddSelect } from "./AddSelect";
1
+ export { AddSelect } from './AddSelect';
2
+ export type { AddSelectProps } from './AddSelect';
@@ -1,2 +1,9 @@
1
- export { Carousel } from "./Carousel";
2
- export { CarouselItem } from "./CarouselItem";
1
+ /**
2
+ * Copyright IBM Corp. 2023, 2023
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { Carousel } from './Carousel';
8
+ export { CarouselItem } from './CarouselItem';
9
+ export type { CarouselProps } from './Carousel';
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- interface CascadeProps {
2
+ export interface CascadeProps {
3
3
  children: ReactNode;
4
4
  /**
5
5
  * Specify an optional className to be applied to
@@ -25,4 +25,3 @@ page as that will distract the user.
25
25
  export declare let Cascade: React.ForwardRefExoticComponent<CascadeProps & {
26
26
  children?: React.ReactNode;
27
27
  } & React.RefAttributes<HTMLDivElement>>;
28
- export {};
@@ -12,10 +12,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
14
  var react = require('@carbon/react');
15
- var cx = require('classnames');
16
15
  var index = require('../../node_modules/prop-types/index.js');
17
- var settings = require('../../settings.js');
16
+ var cx = require('classnames');
18
17
  var devtools = require('../../global/js/utils/devtools.js');
18
+ var settings = require('../../settings.js');
19
19
 
20
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
21
21
 
@@ -1 +1,2 @@
1
- export { Cascade } from "./Cascade";
1
+ export { Cascade } from './Cascade';
2
+ export type { CascadeProps } from './Cascade';
@@ -11,9 +11,9 @@
11
11
  * ModifiedTabs (ModifiedTabLabelNew, ModifiedTabLabelWithClose)
12
12
  * PageHeader (PageHeaderTitle, PageHeaderUtils)
13
13
  */
14
- import React, { ReactNode } from 'react';
15
14
  import { IconButton } from '@carbon/react';
16
15
  import { Kind, Theme } from './Checklist.types';
16
+ import React, { ReactNode } from 'react';
17
17
  type Task = {
18
18
  kind: Kind;
19
19
  label: string;
@@ -23,7 +23,7 @@ type TaskList = {
23
23
  title?: string;
24
24
  tasks: Array<Task>;
25
25
  };
26
- interface ChecklistProps {
26
+ export interface ChecklistProps {
27
27
  /**
28
28
  * Define both `chartLabel` and `chartValue` to show the chart and its label together.
29
29
  */
@@ -10,17 +10,17 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
+ var react = require('@carbon/react');
14
+ var Checklist_types = require('./Checklist.types.js');
13
15
  var React = require('react');
16
+ var ChecklistChart = require('./ChecklistChart.js');
17
+ var ChecklistIcon = require('./ChecklistIcon.js');
18
+ var icons = require('@carbon/react/icons');
14
19
  var index = require('../../node_modules/prop-types/index.js');
15
20
  var cx = require('classnames');
16
21
  var devtools = require('../../global/js/utils/devtools.js');
17
- var uuidv4 = require('../../global/js/utils/uuidv4.js');
18
22
  var settings = require('../../settings.js');
19
- var react = require('@carbon/react');
20
- var icons = require('@carbon/react/icons');
21
- var ChecklistIcon = require('./ChecklistIcon.js');
22
- var ChecklistChart = require('./ChecklistChart.js');
23
- var Checklist_types = require('./Checklist.types.js');
23
+ var uuidv4 = require('../../global/js/utils/uuidv4.js');
24
24
 
25
25
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
26
26
 
@@ -1 +1,8 @@
1
- export { Checklist } from "./Checklist";
1
+ /**
2
+ * Copyright IBM Corp. 2023, 2023
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { Checklist } from './Checklist';
8
+ export type { ChecklistProps } from './Checklist';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { MutableRefObject, ReactNode } from 'react';
8
- interface CoachmarkProps {
8
+ export interface CoachmarkProps {
9
9
  /**
10
10
  * Where to render the Coachmark relative to its target.
11
11
  * Applies only to Floating and Tooltip Coachmarks.
@@ -72,4 +72,3 @@ interface CoachmarkProps {
72
72
  * user to gain understanding of the product's main value and discover new use cases.
73
73
  */
74
74
  export declare let Coachmark: React.ForwardRefExoticComponent<CoachmarkProps & React.RefAttributes<HTMLElement>>;
75
- export {};
@@ -11,13 +11,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
- var cx = require('classnames');
14
+ var hooks = require('./utils/hooks.js');
15
+ var enums = require('./utils/enums.js');
16
+ var context = require('./utils/context.js');
17
+ var CoachmarkOverlay = require('./CoachmarkOverlay.js');
15
18
  var index = require('../../node_modules/prop-types/index.js');
16
19
  var reactDom = require('react-dom');
17
- var CoachmarkOverlay = require('./CoachmarkOverlay.js');
18
- var context = require('./utils/context.js');
19
- var enums = require('./utils/enums.js');
20
- var hooks = require('./utils/hooks.js');
20
+ var cx = require('classnames');
21
21
  var devtools = require('../../global/js/utils/devtools.js');
22
22
  var settings = require('../../settings.js');
23
23
  var lodash = require('lodash');
@@ -1,3 +1,10 @@
1
- export { Coachmark } from "./Coachmark";
2
- export { useCoachmark } from "./utils/context";
3
- export { BEACON_KIND, COACHMARK_OVERLAY_KIND, COACHMARK_ALIGNMENT } from "./utils/enums";
1
+ /**
2
+ * Copyright IBM Corp. 2023, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { Coachmark } from './Coachmark';
8
+ export { BEACON_KIND, COACHMARK_OVERLAY_KIND, COACHMARK_ALIGNMENT, } from './utils/enums';
9
+ export { useCoachmark } from './utils/context';
10
+ export type { CoachmarkProps } from './Coachmark';
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React from 'react';
8
7
  import { BEACON_KIND } from '../Coachmark';
9
- interface CoachmarkBeaconProps {
8
+ import React from 'react';
9
+ export interface CoachmarkBeaconProps {
10
10
  /**
11
11
  * Optional class name for this component.
12
12
  */
@@ -26,4 +26,3 @@ interface CoachmarkBeaconProps {
26
26
  * Use beacon for the target prop of a Coachmark component.
27
27
  */
28
28
  export declare let CoachmarkBeacon: React.ForwardRefExoticComponent<CoachmarkBeaconProps & React.RefAttributes<HTMLDivElement>>;
29
- export {};
@@ -10,12 +10,13 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
- var React = require('react');
13
+ require('../Coachmark/Coachmark.js');
14
+ var context = require('../Coachmark/utils/context.js');
14
15
  var index = require('../../node_modules/prop-types/index.js');
16
+ var React = require('react');
15
17
  var cx = require('classnames');
16
18
  var devtools = require('../../global/js/utils/devtools.js');
17
19
  var settings = require('../../settings.js');
18
- var context = require('../Coachmark/utils/context.js');
19
20
 
20
21
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
21
22
 
@@ -1 +1,8 @@
1
- export { CoachmarkBeacon } from "./CoachmarkBeacon";
1
+ /**
2
+ * Copyright IBM Corp. 2023, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { CoachmarkBeacon } from './CoachmarkBeacon';
8
+ export type { CoachmarkBeaconProps } from './CoachmarkBeacon';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
- interface CoachmarkButtonProps {
8
+ export interface CoachmarkButtonProps {
9
9
  /**
10
10
  * Provide an optional class to be applied to the containing node.
11
11
  */
@@ -19,4 +19,3 @@ interface CoachmarkButtonProps {
19
19
  * Use CoachmarkButton for the target prop of a Coachmark component.
20
20
  */
21
21
  export declare let CoachmarkButton: React.ForwardRefExoticComponent<CoachmarkButtonProps & React.RefAttributes<HTMLButtonElement>>;
22
- export {};
@@ -10,12 +10,13 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
- var React = require('react');
13
+ var react = require('@carbon/react');
14
14
  var index = require('../../node_modules/prop-types/index.js');
15
+ var React = require('react');
15
16
  var cx = require('classnames');
16
17
  var devtools = require('../../global/js/utils/devtools.js');
17
18
  var settings = require('../../settings.js');
18
- var react = require('@carbon/react');
19
+ require('../Coachmark/Coachmark.js');
19
20
  var context = require('../Coachmark/utils/context.js');
20
21
 
21
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -25,6 +26,7 @@ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
25
26
 
26
27
  var _div;
27
28
  var _excluded = ["className", "label"];
29
+
28
30
  // Carbon and package components we use.
29
31
  /* TODO: @import(s) of carbon components and other package components. */
30
32
 
@@ -1 +1,8 @@
1
- export { CoachmarkButton } from "./CoachmarkButton";
1
+ /**
2
+ * Copyright IBM Corp. 2023, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { CoachmarkButton } from './CoachmarkButton';
8
+ export type { CoachmarkButtonProps } from './CoachmarkButton';