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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) 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/SidePanel/SidePanel.js +1 -1
  97. package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
  98. package/es/components/Tearsheet/Tearsheet.js +1 -1
  99. package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
  100. package/es/components/Tearsheet/TearsheetShell.js +1 -1
  101. package/lib/components/APIKeyModal/index.d.ts +2 -1
  102. package/lib/components/AboutModal/AboutModal.d.ts +1 -2
  103. package/lib/components/AboutModal/index.d.ts +8 -1
  104. package/lib/components/ActionSet/ActionSet.d.ts +1 -2
  105. package/lib/components/ActionSet/ActionSet.js +2 -2
  106. package/lib/components/ActionSet/index.d.ts +8 -1
  107. package/lib/components/AddSelect/index.d.ts +2 -1
  108. package/lib/components/Carousel/index.d.ts +9 -2
  109. package/lib/components/Cascade/Cascade.d.ts +1 -2
  110. package/lib/components/Cascade/Cascade.js +2 -2
  111. package/lib/components/Cascade/index.d.ts +2 -1
  112. package/lib/components/Checklist/Checklist.d.ts +2 -2
  113. package/lib/components/Checklist/Checklist.js +6 -6
  114. package/lib/components/Checklist/index.d.ts +8 -1
  115. package/lib/components/Coachmark/Coachmark.d.ts +1 -2
  116. package/lib/components/Coachmark/Coachmark.js +5 -5
  117. package/lib/components/Coachmark/index.d.ts +10 -3
  118. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
  119. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +3 -2
  120. package/lib/components/CoachmarkBeacon/index.d.ts +8 -1
  121. package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
  122. package/lib/components/CoachmarkButton/CoachmarkButton.js +4 -2
  123. package/lib/components/CoachmarkButton/index.d.ts +8 -1
  124. package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
  125. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
  126. package/lib/components/CoachmarkFixed/index.d.ts +8 -1
  127. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
  128. package/lib/components/CoachmarkOverlayElement/index.d.ts +8 -1
  129. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
  130. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +7 -4
  131. package/lib/components/CoachmarkOverlayElements/index.d.ts +8 -1
  132. package/lib/components/ComboButton/ComboButton.d.ts +1 -1
  133. package/lib/components/ComboButton/ComboButton.js +5 -5
  134. package/lib/components/ComboButton/index.d.ts +9 -2
  135. package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
  136. package/lib/components/CreateFullPage/CreateFullPage.js +5 -5
  137. package/lib/components/CreateFullPage/index.d.ts +9 -2
  138. package/lib/components/CreateModal/CreateModal.d.ts +2 -3
  139. package/lib/components/CreateModal/CreateModal.js +1 -1
  140. package/lib/components/CreateModal/index.d.ts +2 -1
  141. package/lib/components/CreateSidePanel/index.d.ts +7 -1
  142. package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
  143. package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
  144. package/lib/components/CreateTearsheet/index.d.ts +10 -3
  145. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
  146. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
  147. package/lib/components/CreateTearsheetNarrow/index.d.ts +8 -1
  148. package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
  149. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
  150. package/lib/components/DataSpreadsheet/index.d.ts +8 -1
  151. package/lib/components/Datagrid/Datagrid/DatagridRow.js +7 -5
  152. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  153. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  154. package/lib/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
  155. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +70 -26
  156. package/lib/components/Datagrid/types/index.d.ts +2 -0
  157. package/lib/components/Datagrid/useNestedRowExpander.js +64 -15
  158. package/lib/components/Datagrid/useRowRenderer.js +44 -2
  159. package/lib/components/DelimitedList/DelimitedList.d.ts +1 -2
  160. package/lib/components/DelimitedList/index.d.ts +8 -1
  161. package/lib/components/EditFullPage/EditFullPage.d.ts +1 -2
  162. package/lib/components/EditFullPage/index.d.ts +8 -1
  163. package/lib/components/EditInPlace/EditInPlace.d.ts +1 -1
  164. package/lib/components/EditInPlace/EditInPlace.js +3 -3
  165. package/lib/components/EditInPlace/index.d.ts +8 -1
  166. package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -3
  167. package/lib/components/EditSidePanel/EditSidePanel.js +2 -2
  168. package/lib/components/EditSidePanel/index.d.ts +8 -1
  169. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
  170. package/lib/components/EditTearsheetNarrow/index.d.ts +8 -1
  171. package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
  172. package/lib/components/EditUpdateCards/EditUpdateCards.js +1 -0
  173. package/lib/components/EditUpdateCards/index.d.ts +8 -1
  174. package/lib/components/ExportModal/ExportModal.d.ts +3 -3
  175. package/lib/components/ExportModal/ExportModal.js +3 -3
  176. package/lib/components/ExportModal/index.d.ts +2 -1
  177. package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
  178. package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
  179. package/lib/components/ExpressiveCard/index.d.ts +2 -1
  180. package/lib/components/Guidebanner/Guidebanner.js +2 -1
  181. package/lib/components/InterstitialScreen/InterstitialScreen.js +1 -0
  182. package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
  183. package/lib/components/SidePanel/SidePanel.js +1 -1
  184. package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
  185. package/lib/components/Tearsheet/Tearsheet.js +1 -1
  186. package/lib/components/Tearsheet/TearsheetNarrow.js +1 -1
  187. package/lib/components/Tearsheet/TearsheetShell.js +1 -1
  188. package/package.json +2 -2
  189. package/scss/components/Datagrid/styles/_useNestedRows.scss +1 -1
@@ -6,12 +6,12 @@
6
6
  */
7
7
 
8
8
  import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
+ import { Button, InlineLoading, ButtonSet } from '@carbon/react';
9
10
  import React__default from 'react';
11
+ import { allPropTypes, prepareProps } from '../../global/js/utils/props-helper.js';
10
12
  import PropTypes from '../../node_modules/prop-types/index.js';
11
13
  import cx from 'classnames';
12
14
  import { pkg } from '../../settings.js';
13
- import { prepareProps, allPropTypes } from '../../global/js/utils/props-helper.js';
14
- import { Button, ButtonSet, InlineLoading } from '@carbon/react';
15
15
 
16
16
  var _InlineLoading;
17
17
  var _excluded = ["className", "disabled", "kind", "label", "loading", "isExpressive"],
@@ -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';
@@ -16,7 +16,7 @@ import { AddSelectList } from './AddSelectList.js';
16
16
  import { AddSelectColumn } from './AddSelectColumn.js';
17
17
  import { AddSelectFilter } from './AddSelectFilter.js';
18
18
  import { AddSelectSort } from './AddSelectSort.js';
19
- import { getFilteredItems, sortItems } from './add-select-utils.js';
19
+ import { sortItems, getFilteredItems } from './add-select-utils.js';
20
20
  import { useItemSort } from './hooks/useItemSort.js';
21
21
  import useParentSelect from './hooks/useParentSelect.js';
22
22
  import usePath from './hooks/usePath.js';
@@ -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 {};
@@ -8,10 +8,10 @@
8
8
  import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { forwardRef } from 'react';
10
10
  import { Grid } from '@carbon/react';
11
- import cx from 'classnames';
12
11
  import PropTypes from '../../node_modules/prop-types/index.js';
13
- import { pkg } from '../../settings.js';
12
+ import cx from 'classnames';
14
13
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
14
+ import { pkg } from '../../settings.js';
15
15
 
16
16
  var _excluded = ["children", "className", "grid"];
17
17
  var blockClass = "".concat(pkg.prefix, "--cascade");
@@ -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
  */
@@ -6,17 +6,17 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
+ import { IconButton, Button } from '@carbon/react';
10
+ import { Themes, Kinds } from './Checklist.types.js';
9
11
  import React__default, { useState, useRef, useEffect } from 'react';
12
+ import { ChecklistChart } from './ChecklistChart.js';
13
+ import { ChecklistIcon } from './ChecklistIcon.js';
14
+ import { ChevronUp } from '@carbon/react/icons';
10
15
  import PropTypes from '../../node_modules/prop-types/index.js';
11
16
  import cx from 'classnames';
12
17
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
- import uuidv4 from '../../global/js/utils/uuidv4.js';
14
18
  import { pkg } from '../../settings.js';
15
- import { IconButton, Button } from '@carbon/react';
16
- import { ChevronUp } from '@carbon/react/icons';
17
- import { ChecklistIcon } from './ChecklistIcon.js';
18
- import { ChecklistChart } from './ChecklistChart.js';
19
- import { Themes, Kinds } from './Checklist.types.js';
19
+ import uuidv4 from '../../global/js/utils/uuidv4.js';
20
20
 
21
21
  var _excluded = ["chartValue", "chartLabel", "checklistAriaLabel", "checklistToggleAriaLabel", "className", "onClickViewAll", "onToggle", "open", "enableToggle", "taskLists", "theme", "title", "toggleLabel", "toggleLabelAlign", "viewAllLabel"];
22
22
 
@@ -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 {};
@@ -7,13 +7,13 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, objectSpread2 as _objectSpread2, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { forwardRef, useState, useRef, useCallback, useEffect } from 'react';
10
- import cx from 'classnames';
10
+ import { useClickOutsideElement, useWindowEvent } from './utils/hooks.js';
11
+ import { COACHMARK_OVERLAY_KIND } from './utils/enums.js';
12
+ import { CoachmarkContext } from './utils/context.js';
13
+ import { CoachmarkOverlay } from './CoachmarkOverlay.js';
11
14
  import PropTypes from '../../node_modules/prop-types/index.js';
12
15
  import { createPortal } from 'react-dom';
13
- import { CoachmarkOverlay } from './CoachmarkOverlay.js';
14
- import { CoachmarkContext } from './utils/context.js';
15
- import { COACHMARK_OVERLAY_KIND } from './utils/enums.js';
16
- import { useClickOutsideElement, useWindowEvent } from './utils/hooks.js';
16
+ import cx from 'classnames';
17
17
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
18
18
  import { pkg } from '../../settings.js';
19
19
  import { throttle } from '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 {};
@@ -6,12 +6,13 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
- import React__default from 'react';
9
+ import '../Coachmark/Coachmark.js';
10
+ import { useCoachmark } from '../Coachmark/utils/context.js';
10
11
  import PropTypes from '../../node_modules/prop-types/index.js';
12
+ import React__default from 'react';
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 { useCoachmark } from '../Coachmark/utils/context.js';
15
16
 
16
17
  var _div, _circle;
17
18
  var _excluded = ["label", "className", "kind"];
@@ -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 {};
@@ -6,16 +6,18 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
- import React__default from 'react';
9
+ import { Button } from '@carbon/react';
10
10
  import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import React__default from 'react';
11
12
  import cx from 'classnames';
12
13
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
14
  import { pkg } from '../../settings.js';
14
- import { Button } from '@carbon/react';
15
+ import '../Coachmark/Coachmark.js';
15
16
  import { useCoachmark } from '../Coachmark/utils/context.js';
16
17
 
17
18
  var _div;
18
19
  var _excluded = ["className", "label"];
20
+
19
21
  // Carbon and package components we use.
20
22
  /* TODO: @import(s) of carbon components and other package components. */
21
23
 
@@ -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';
@@ -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 CoachmarkFixedProps {
8
+ export interface CoachmarkFixedProps {
9
9
  /**
10
10
  * CoachmarkFixed should use a single CoachmarkOverlayElements component as a child.
11
11
  */
@@ -45,4 +45,3 @@ interface CoachmarkFixedProps {
45
45
  * This variant allows the a coachmark overlay to be displayed by interacting with the tagline.
46
46
  */
47
47
  export declare let CoachmarkFixed: React.ForwardRefExoticComponent<CoachmarkFixedProps & React.RefAttributes<HTMLDivElement>>;
48
- export {};
@@ -7,19 +7,20 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { useRef, useState, useCallback, useEffect } from 'react';
10
+ import { COACHMARK_OVERLAY_KIND } from '../Coachmark/utils/enums.js';
11
+ import { CoachmarkContext } from '../Coachmark/utils/context.js';
12
+ import { CoachmarkOverlay } from '../Coachmark/CoachmarkOverlay.js';
13
+ import { CoachmarkTagline } from '../Coachmark/CoachmarkTagline.js';
10
14
  import PropTypes from '../../node_modules/prop-types/index.js';
15
+ import { createPortal } from 'react-dom';
11
16
  import cx from 'classnames';
12
17
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
18
  import { pkg } from '../../settings.js';
14
- import { createPortal } from 'react-dom';
15
- import { CoachmarkOverlay } from '../Coachmark/CoachmarkOverlay.js';
16
- import { CoachmarkTagline } from '../Coachmark/CoachmarkTagline.js';
17
- import { CoachmarkContext } from '../Coachmark/utils/context.js';
18
- import { COACHMARK_OVERLAY_KIND } from '../Coachmark/utils/enums.js';
19
19
  import { useReducedMotion } from 'framer-motion';
20
20
  import { useIsomorphicEffect } from '../../global/js/hooks/useIsomorphicEffect.js';
21
21
 
22
22
  var _excluded = ["children", "className", "onClose", "portalTarget", "tagline", "theme"];
23
+
23
24
  // Carbon and package components we use.
24
25
  /* TODO: @import(s) of carbon components and other package components. */
25
26
 
@@ -1 +1,8 @@
1
- export { CoachmarkFixed } from "./CoachmarkFixed";
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 { CoachmarkFixed } from './CoachmarkFixed';
8
+ export type { CoachmarkFixedProps } from './CoachmarkFixed';
@@ -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 CoachmarkOverlayElementProps {
8
+ export interface CoachmarkOverlayElementProps {
9
9
  /**
10
10
  * An optional button can be rendered below the description.
11
11
  * This can be a link, button, Coachmark button, etc.
@@ -30,4 +30,3 @@ interface CoachmarkOverlayElementProps {
30
30
  * in a carousel fashion.
31
31
  */
32
32
  export declare let CoachmarkOverlayElement: React.ForwardRefExoticComponent<CoachmarkOverlayElementProps & React.RefAttributes<HTMLDivElement>>;
33
- export {};
@@ -1 +1,8 @@
1
- export { CoachmarkOverlayElement } from "./CoachmarkOverlayElement";
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 { CoachmarkOverlayElement } from './CoachmarkOverlayElement';
8
+ export type { CoachmarkOverlayElementProps } from './CoachmarkOverlayElement';
@@ -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 CoachmarkOverlayElementsProps {
8
+ export interface CoachmarkOverlayElementsProps {
9
9
  /**
10
10
  * CoachmarkOverlayElements should be used with one or many CoachmarkOverlayElement components as children.
11
11
  * @see CoachmarkOverlayElement
@@ -47,4 +47,3 @@ interface CoachmarkOverlayElementsProps {
47
47
  * components in a carousel fashion.
48
48
  */
49
49
  export declare let CoachmarkOverlayElements: React.ForwardRefExoticComponent<CoachmarkOverlayElementsProps & React.RefAttributes<HTMLDivElement>>;
50
- export {};
@@ -6,19 +6,22 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
+ import { Button } from '@carbon/react';
9
10
  import React__default, { useRef, useState, Children, useEffect } from 'react';
11
+ import { Carousel } from '../Carousel/Carousel.js';
12
+ import '../Carousel/CarouselItem.js';
10
13
  import PropTypes from '../../node_modules/prop-types/index.js';
14
+ import { clamp } from 'lodash';
11
15
  import cx from 'classnames';
12
16
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
- import { pkg } from '../../settings.js';
14
- import { Button } from '@carbon/react';
15
- import { clamp } from 'lodash';
16
17
  import pconsole from '../../global/js/utils/pconsole.js';
18
+ import { pkg } from '../../settings.js';
19
+ import '../Coachmark/Coachmark.js';
17
20
  import { useCoachmark } from '../Coachmark/utils/context.js';
18
21
  import { SteppedAnimatedMedia } from '../SteppedAnimatedMedia/SteppedAnimatedMedia.js';
19
- import { Carousel } from '../Carousel/Carousel.js';
20
22
 
21
23
  var _excluded = ["className", "children", "isVisible", "media", "nextButtonText", "previousButtonLabel", "closeButtonLabel"];
24
+
22
25
  // The block part of our conventional BEM class names (blockClass__E--M).
23
26
  var blockClass = "".concat(pkg.prefix, "--coachmark-overlay-elements");
24
27
  var componentName = 'CoachmarkOverlayElements';
@@ -1 +1,8 @@
1
- export { CoachmarkOverlayElements } from "./CoachmarkOverlayElements";
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 { CoachmarkOverlayElements } from './CoachmarkOverlayElements';
8
+ export type { CoachmarkOverlayElementsProps } from './CoachmarkOverlayElements';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ComponentProps, ReactNode } from 'react';
8
- interface ComboButtonProps extends ComponentProps<'div'> {
8
+ export interface ComboButtonProps extends ComponentProps<'div'> {
9
9
  /** Provide the contents of the `ComboButton` */
10
10
  children?: ReactNode;
11
11
  /** Provide an optional class to be applied to the containing node */
@@ -6,13 +6,13 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2, toArray as _toArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
- import { ChevronUp, ChevronDown } from '@carbon/react/icons';
10
9
  import { Button, OverflowMenu, OverflowMenuItem } from '@carbon/react';
11
- import cx from 'classnames';
12
- import { p as propTypesExports } from '../../node_modules/prop-types/index.js';
13
- import uuidv4 from '../../global/js/utils/uuidv4.js';
10
+ import { ChevronUp, ChevronDown } from '@carbon/react/icons';
14
11
  import React__default, { forwardRef, useRef, useState, Children, createElement } from 'react';
12
+ import { p as propTypesExports } from '../../node_modules/prop-types/index.js';
13
+ import cx from 'classnames';
15
14
  import { pkg } from '../../settings.js';
15
+ import uuidv4 from '../../global/js/utils/uuidv4.js';
16
16
 
17
17
  var _excluded = ["children", "className", "overflowMenu"],
18
18
  _excluded2 = ["children", "renderIcon"];
@@ -1,2 +1,9 @@
1
- export { ComboButton } from "./ComboButton";
2
- export { ComboButtonItem } from "./ComboButtonItem";
1
+ /**
2
+ * Copyright IBM Corp. 2020, 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 { ComboButton } from './ComboButton';
8
+ export { ComboButtonItem } from './ComboButtonItem';
9
+ export type { ComboButtonProps } from './ComboButton';
@@ -117,7 +117,7 @@ type CreateFullPageBaseProps = {
117
117
  */
118
118
  title?: string;
119
119
  };
120
- type CreateFullPageProps = CreateFullPageBaseProps & CreateFullPageBreadcrumbsProps;
120
+ export type CreateFullPageProps = CreateFullPageBaseProps & CreateFullPageBreadcrumbsProps;
121
121
  /**
122
122
  * Use with creations that must be completed in order for a service to be usable.
123
123
  *
@@ -6,22 +6,22 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
+ import { Form, ComposedModal, ModalHeader, ModalBody, ModalFooter, Button } from '@carbon/react';
9
10
  import React__default, { useState, useEffect, createContext } from 'react';
11
+ import { SimpleHeader, overflowAriaLabel_required_if_breadcrumbs_exist } from '../SimpleHeader/SimpleHeader.js';
12
+ import { ActionSet } from '../ActionSet/ActionSet.js';
10
13
  import PropTypes from '../../node_modules/prop-types/index.js';
11
14
  import cx from 'classnames';
12
15
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
- import { pkg } from '../../settings.js';
14
- import { Form, ComposedModal, ModalHeader, ModalBody, ModalFooter, Button } from '@carbon/react';
15
- import { lastIndexInArray } from '../../global/js/utils/lastIndexInArray.js';
16
16
  import { getNumberOfHiddenSteps } from '../../global/js/utils/getNumberOfHiddenSteps.js';
17
- import { SimpleHeader, overflowAriaLabel_required_if_breadcrumbs_exist } from '../SimpleHeader/SimpleHeader.js';
17
+ import { lastIndexInArray } from '../../global/js/utils/lastIndexInArray.js';
18
+ import { pkg } from '../../settings.js';
18
19
  import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
19
20
  import { useCreateComponentFocus } from '../../global/js/hooks/useCreateComponentFocus.js';
20
21
  import { useValidCreateStepCount } from '../../global/js/hooks/useValidCreateStepCount.js';
21
22
  import { useResetCreateComponent } from '../../global/js/hooks/useResetCreateComponent.js';
22
23
  import { useCreateComponentStepChange } from '../../global/js/hooks/useCreateComponentStepChange.js';
23
24
  import { CreateInfluencer } from '../CreateInfluencer/CreateInfluencer.js';
24
- import { ActionSet } from '../ActionSet/ActionSet.js';
25
25
 
26
26
  var _excluded = ["breadcrumbsOverflowAriaLabel", "breadcrumbs", "backButtonText", "cancelButtonText", "children", "className", "initialStep", "maxVisibleBreadcrumbs", "modalDangerButtonText", "modalDescription", "modalSecondaryButtonText", "modalTitle", "nextButtonText", "onClose", "onRequestSubmit", "firstFocusElement", "submitButtonText", "noTrailingSlash", "title", "secondaryTitle"];
27
27
  var blockClass = "".concat(pkg.prefix, "--create-full-page");
@@ -1,2 +1,9 @@
1
- export { CreateFullPage } from "./CreateFullPage";
2
- export { CreateFullPageStep } from "./CreateFullPageStep";
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 { CreateFullPage } from './CreateFullPage';
8
+ export { CreateFullPageStep } from './CreateFullPageStep';
9
+ export type { CreateFullPageProps } from './CreateFullPage';
@@ -5,9 +5,9 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  /// <reference path="../../../src/custom-typings/index.d.ts" />
8
- import React, { ReactNode } from 'react';
9
8
  import { ComposedModal } from '@carbon/react';
10
- interface CreateModalProps extends React.ComponentProps<typeof ComposedModal> {
9
+ import React, { ReactNode } from 'react';
10
+ export interface CreateModalProps extends React.ComponentProps<typeof ComposedModal> {
11
11
  /**
12
12
  * Specify an optional className to be applied to the modal root node
13
13
  */
@@ -69,4 +69,3 @@ immediately apparent to the user, with a clear and obvious path to completion.
69
69
  export declare let CreateModal: React.ForwardRefExoticComponent<CreateModalProps & {
70
70
  children?: React.ReactNode;
71
71
  } & React.RefAttributes<unknown>>;
72
- export {};
@@ -6,8 +6,8 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
- import React__default from 'react';
10
9
  import { ComposedModal, ModalHeader, ModalBody, Form, ModalFooter, Button } from '@carbon/react';
10
+ import React__default from 'react';
11
11
  import PropTypes from '../../node_modules/prop-types/index.js';
12
12
  import cx from 'classnames';
13
13
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
@@ -1 +1,2 @@
1
- export { CreateModal } from "./CreateModal";
1
+ export { CreateModal } from './CreateModal';
2
+ export type { CreateModalProps } from './CreateModal';
@@ -1 +1,7 @@
1
- export { CreateSidePanel } from "./CreateSidePanel";
1
+ /**
2
+ * Copyright IBM Corp. 2020, 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 { CreateSidePanel } from './CreateSidePanel';
@@ -4,7 +4,7 @@
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, { ReactNode, PropsWithChildren, Dispatch, SetStateAction } from 'react';
7
+ import React, { Dispatch, PropsWithChildren, ReactNode, SetStateAction } from 'react';
8
8
  export interface StepsContextType {
9
9
  currentStep: number;
10
10
  setIsDisabled: Dispatch<SetStateAction<boolean>>;
@@ -16,7 +16,7 @@ export interface StepsContextType {
16
16
  }
17
17
  export declare const StepsContext: React.Context<StepsContextType | null>;
18
18
  export declare const StepNumberContext: React.Context<number>;
19
- interface CreateTearsheetProps extends PropsWithChildren {
19
+ export interface CreateTearsheetProps extends PropsWithChildren {
20
20
  /**
21
21
  * The back button text
22
22
  */
@@ -7,14 +7,14 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { forwardRef, useState, useRef, useEffect, createContext } from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
11
- import cx from 'classnames';
12
10
  import { Form } from '@carbon/react';
11
+ import PropTypes from '../../node_modules/prop-types/index.js';
13
12
  import { TearsheetShell } from '../Tearsheet/TearsheetShell.js';
14
- import { pkg } from '../../settings.js';
13
+ import cx from 'classnames';
15
14
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
16
- import { lastIndexInArray } from '../../global/js/utils/lastIndexInArray.js';
17
15
  import { getNumberOfHiddenSteps } from '../../global/js/utils/getNumberOfHiddenSteps.js';
16
+ import { lastIndexInArray } from '../../global/js/utils/lastIndexInArray.js';
17
+ import { pkg } from '../../settings.js';
18
18
  import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
19
19
  import { useCreateComponentFocus } from '../../global/js/hooks/useCreateComponentFocus.js';
20
20
  import { useValidCreateStepCount } from '../../global/js/hooks/useValidCreateStepCount.js';
@@ -1,3 +1,10 @@
1
- export { CreateTearsheet } from "./CreateTearsheet";
2
- export { CreateTearsheetStep } from "./CreateTearsheetStep";
3
- export { CreateTearsheetDivider } from "./CreateTearsheetDivider";
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 { CreateTearsheet } from './CreateTearsheet';
8
+ export { CreateTearsheetStep } from './CreateTearsheetStep';
9
+ export { CreateTearsheetDivider } from './CreateTearsheetDivider';
10
+ export type { CreateTearsheetProps } from './CreateTearsheet';
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import React, { PropsWithChildren, ReactNode } from 'react';
8
8
  type VerticalPosition = 'normal' | 'lower';
9
- interface CreateTearsheetNarrowProps extends PropsWithChildren {
9
+ export interface CreateTearsheetNarrowProps extends PropsWithChildren {
10
10
  /**
11
11
  * Provide the contents of the CreateTearsheetNarrow.
12
12
  */