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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. package/es/components/AddSelect/AddSelectBody.js +2 -2
  2. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
  3. package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
  4. package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
  5. package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
  6. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
  7. package/es/components/EditSidePanel/EditSidePanel.js +1 -1
  8. package/es/components/EditUpdateCards/EditUpdateCards.js +1 -1
  9. package/es/components/FeatureFlags/index.d.ts +26 -21
  10. package/es/components/FeatureFlags/index.js +1 -10
  11. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
  12. package/es/components/FilterSummary/FilterSummary.d.ts +1 -1
  13. package/es/components/FilterSummary/FilterSummary.js +7 -8
  14. package/es/components/FilterSummary/index.d.ts +8 -1
  15. package/es/components/FullPageError/FullPageError.d.ts +1 -2
  16. package/es/components/FullPageError/FullPageError.js +4 -4
  17. package/es/components/FullPageError/index.d.ts +8 -1
  18. package/es/components/GetStartedCard/GetStartedCard.d.ts +1 -1
  19. package/es/components/GetStartedCard/index.d.ts +8 -1
  20. package/es/components/Guidebanner/Guidebanner.d.ts +1 -2
  21. package/es/components/Guidebanner/Guidebanner.js +4 -4
  22. package/es/components/Guidebanner/GuidebannerElement.d.ts +1 -2
  23. package/es/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
  24. package/es/components/Guidebanner/GuidebannerElementButton.js +2 -2
  25. package/es/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
  26. package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
  27. package/es/components/Guidebanner/index.d.ts +14 -4
  28. package/es/components/ImportModal/ImportModal.d.ts +1 -1
  29. package/es/components/ImportModal/ImportModal.js +3 -3
  30. package/es/components/ImportModal/index.d.ts +2 -1
  31. package/es/components/InlineTip/InlineTip.d.ts +1 -1
  32. package/es/components/InlineTip/InlineTip.js +4 -4
  33. package/es/components/InlineTip/InlineTipButton.d.ts +1 -2
  34. package/es/components/InlineTip/InlineTipButton.js +1 -1
  35. package/es/components/InlineTip/InlineTipLink.d.ts +1 -2
  36. package/es/components/InlineTip/InlineTipLink.js +2 -2
  37. package/es/components/InlineTip/index.d.ts +12 -3
  38. package/es/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
  39. package/es/components/InterstitialScreen/InterstitialScreen.js +6 -6
  40. package/es/components/InterstitialScreen/index.d.ts +8 -1
  41. package/es/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
  42. package/es/components/InterstitialScreenView/index.d.ts +8 -1
  43. package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
  44. package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
  45. package/es/components/InterstitialScreenViewModule/index.d.ts +8 -1
  46. package/es/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
  47. package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
  48. package/es/components/MultiAddSelect/index.d.ts +2 -1
  49. package/es/components/NonLinearReading/NonLinearReading.d.ts +1 -1
  50. package/es/components/NonLinearReading/NonLinearReading.js +2 -2
  51. package/es/components/NonLinearReading/index.d.ts +8 -1
  52. package/es/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
  53. package/es/components/NotificationsPanel/NotificationsPanel.js +3 -3
  54. package/es/components/NotificationsPanel/index.d.ts +8 -1
  55. package/es/components/OptionsTile/OptionsTile.d.ts +1 -2
  56. package/es/components/OptionsTile/OptionsTile.js +4 -4
  57. package/es/components/OptionsTile/index.d.ts +8 -1
  58. package/es/components/PageHeader/PageHeader.d.ts +2 -2
  59. package/es/components/PageHeader/PageHeader.js +8 -8
  60. package/es/components/PageHeader/index.d.ts +2 -1
  61. package/es/components/ProductiveCard/ProductiveCard.d.ts +1 -1
  62. package/es/components/ProductiveCard/ProductiveCard.js +1 -1
  63. package/es/components/ProductiveCard/index.d.ts +2 -1
  64. package/es/components/RemoveModal/RemoveModal.d.ts +2 -3
  65. package/es/components/RemoveModal/RemoveModal.js +3 -3
  66. package/es/components/RemoveModal/index.d.ts +2 -1
  67. package/es/components/Saving/Saving.d.ts +1 -1
  68. package/es/components/Saving/Saving.js +2 -2
  69. package/es/components/Saving/index.d.ts +2 -1
  70. package/es/components/SearchBar/SearchBar.d.ts +1 -1
  71. package/es/components/SearchBar/SearchBar.js +1 -1
  72. package/es/components/SearchBar/index.d.ts +8 -1
  73. package/es/components/SidePanel/SidePanel.d.ts +1 -1
  74. package/es/components/SidePanel/SidePanel.js +9 -9
  75. package/es/components/SidePanel/index.d.ts +8 -1
  76. package/es/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
  77. package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
  78. package/es/components/SingleAddSelect/index.d.ts +2 -1
  79. package/es/components/StatusIcon/StatusIcon.d.ts +1 -1
  80. package/es/components/StatusIcon/StatusIcon.js +1 -1
  81. package/es/components/StatusIcon/index.d.ts +8 -1
  82. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
  83. package/es/components/SteppedAnimatedMedia/index.d.ts +8 -1
  84. package/es/components/TagOverflow/TagOverflow.d.ts +3 -3
  85. package/es/components/TagOverflow/TagOverflow.js +4 -4
  86. package/es/components/TagOverflow/index.d.ts +8 -1
  87. package/es/components/TagSet/TagSet.d.ts +2 -2
  88. package/es/components/TagSet/TagSet.js +4 -4
  89. package/es/components/TagSet/index.d.ts +2 -1
  90. package/es/components/Tearsheet/Tearsheet.d.ts +2 -3
  91. package/es/components/Tearsheet/Tearsheet.js +4 -4
  92. package/es/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
  93. package/es/components/Tearsheet/TearsheetNarrow.js +4 -4
  94. package/es/components/Tearsheet/index.d.ts +10 -2
  95. package/es/components/Toolbar/Toolbar.d.ts +1 -1
  96. package/es/components/Toolbar/Toolbar.js +3 -3
  97. package/es/components/Toolbar/ToolbarButton.d.ts +2 -3
  98. package/es/components/Toolbar/ToolbarButton.js +3 -3
  99. package/es/components/Toolbar/ToolbarGroup.d.ts +1 -2
  100. package/es/components/Toolbar/ToolbarGroup.js +3 -3
  101. package/es/components/Toolbar/index.d.ts +12 -3
  102. package/es/components/TruncatedList/TruncatedList.d.ts +1 -2
  103. package/es/components/TruncatedList/TruncatedList.js +2 -2
  104. package/es/components/TruncatedList/index.d.ts +8 -1
  105. package/es/components/UserProfileImage/UserProfileImage.d.ts +3 -3
  106. package/es/components/UserProfileImage/UserProfileImage.js +5 -4
  107. package/es/components/UserProfileImage/index.d.ts +2 -1
  108. package/es/components/WebTerminal/WebTerminal.d.ts +4 -4
  109. package/es/components/WebTerminal/WebTerminal.js +5 -5
  110. package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
  111. package/es/components/WebTerminal/index.d.ts +11 -3
  112. package/lib/components/AddSelect/AddSelectBody.js +2 -2
  113. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
  114. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
  115. package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
  116. package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
  117. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
  118. package/lib/components/EditSidePanel/EditSidePanel.js +1 -1
  119. package/lib/components/EditUpdateCards/EditUpdateCards.js +1 -1
  120. package/lib/components/FeatureFlags/index.d.ts +26 -21
  121. package/lib/components/FeatureFlags/index.js +1 -10
  122. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
  123. package/lib/components/FilterSummary/FilterSummary.d.ts +1 -1
  124. package/lib/components/FilterSummary/FilterSummary.js +7 -8
  125. package/lib/components/FilterSummary/index.d.ts +8 -1
  126. package/lib/components/FullPageError/FullPageError.d.ts +1 -2
  127. package/lib/components/FullPageError/FullPageError.js +4 -4
  128. package/lib/components/FullPageError/index.d.ts +8 -1
  129. package/lib/components/GetStartedCard/GetStartedCard.d.ts +1 -1
  130. package/lib/components/GetStartedCard/index.d.ts +8 -1
  131. package/lib/components/Guidebanner/Guidebanner.d.ts +1 -2
  132. package/lib/components/Guidebanner/Guidebanner.js +4 -4
  133. package/lib/components/Guidebanner/GuidebannerElement.d.ts +1 -2
  134. package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
  135. package/lib/components/Guidebanner/GuidebannerElementButton.js +2 -2
  136. package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
  137. package/lib/components/Guidebanner/GuidebannerElementLink.js +1 -1
  138. package/lib/components/Guidebanner/index.d.ts +14 -4
  139. package/lib/components/ImportModal/ImportModal.d.ts +1 -1
  140. package/lib/components/ImportModal/ImportModal.js +3 -3
  141. package/lib/components/ImportModal/index.d.ts +2 -1
  142. package/lib/components/InlineTip/InlineTip.d.ts +1 -1
  143. package/lib/components/InlineTip/InlineTip.js +4 -4
  144. package/lib/components/InlineTip/InlineTipButton.d.ts +1 -2
  145. package/lib/components/InlineTip/InlineTipButton.js +1 -1
  146. package/lib/components/InlineTip/InlineTipLink.d.ts +1 -2
  147. package/lib/components/InlineTip/InlineTipLink.js +2 -2
  148. package/lib/components/InlineTip/index.d.ts +12 -3
  149. package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
  150. package/lib/components/InterstitialScreen/InterstitialScreen.js +6 -6
  151. package/lib/components/InterstitialScreen/index.d.ts +8 -1
  152. package/lib/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
  153. package/lib/components/InterstitialScreenView/index.d.ts +8 -1
  154. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
  155. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
  156. package/lib/components/InterstitialScreenViewModule/index.d.ts +8 -1
  157. package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
  158. package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
  159. package/lib/components/MultiAddSelect/index.d.ts +2 -1
  160. package/lib/components/NonLinearReading/NonLinearReading.d.ts +1 -1
  161. package/lib/components/NonLinearReading/NonLinearReading.js +2 -2
  162. package/lib/components/NonLinearReading/index.d.ts +8 -1
  163. package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
  164. package/lib/components/NotificationsPanel/NotificationsPanel.js +3 -3
  165. package/lib/components/NotificationsPanel/index.d.ts +8 -1
  166. package/lib/components/OptionsTile/OptionsTile.d.ts +1 -2
  167. package/lib/components/OptionsTile/OptionsTile.js +5 -5
  168. package/lib/components/OptionsTile/index.d.ts +8 -1
  169. package/lib/components/PageHeader/PageHeader.d.ts +2 -2
  170. package/lib/components/PageHeader/PageHeader.js +8 -8
  171. package/lib/components/PageHeader/index.d.ts +2 -1
  172. package/lib/components/ProductiveCard/ProductiveCard.d.ts +1 -1
  173. package/lib/components/ProductiveCard/ProductiveCard.js +1 -1
  174. package/lib/components/ProductiveCard/index.d.ts +2 -1
  175. package/lib/components/RemoveModal/RemoveModal.d.ts +2 -3
  176. package/lib/components/RemoveModal/RemoveModal.js +3 -3
  177. package/lib/components/RemoveModal/index.d.ts +2 -1
  178. package/lib/components/Saving/Saving.d.ts +1 -1
  179. package/lib/components/Saving/Saving.js +2 -2
  180. package/lib/components/Saving/index.d.ts +2 -1
  181. package/lib/components/SearchBar/SearchBar.d.ts +1 -1
  182. package/lib/components/SearchBar/SearchBar.js +1 -1
  183. package/lib/components/SearchBar/index.d.ts +8 -1
  184. package/lib/components/SidePanel/SidePanel.d.ts +1 -1
  185. package/lib/components/SidePanel/SidePanel.js +9 -9
  186. package/lib/components/SidePanel/index.d.ts +8 -1
  187. package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
  188. package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
  189. package/lib/components/SingleAddSelect/index.d.ts +2 -1
  190. package/lib/components/StatusIcon/StatusIcon.d.ts +1 -1
  191. package/lib/components/StatusIcon/StatusIcon.js +1 -1
  192. package/lib/components/StatusIcon/index.d.ts +8 -1
  193. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
  194. package/lib/components/SteppedAnimatedMedia/index.d.ts +8 -1
  195. package/lib/components/TagOverflow/TagOverflow.d.ts +3 -3
  196. package/lib/components/TagOverflow/TagOverflow.js +4 -4
  197. package/lib/components/TagOverflow/index.d.ts +8 -1
  198. package/lib/components/TagSet/TagSet.d.ts +2 -2
  199. package/lib/components/TagSet/TagSet.js +4 -4
  200. package/lib/components/TagSet/index.d.ts +2 -1
  201. package/lib/components/Tearsheet/Tearsheet.d.ts +2 -3
  202. package/lib/components/Tearsheet/Tearsheet.js +4 -4
  203. package/lib/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
  204. package/lib/components/Tearsheet/TearsheetNarrow.js +4 -4
  205. package/lib/components/Tearsheet/index.d.ts +10 -2
  206. package/lib/components/Toolbar/Toolbar.d.ts +1 -1
  207. package/lib/components/Toolbar/Toolbar.js +4 -4
  208. package/lib/components/Toolbar/ToolbarButton.d.ts +2 -3
  209. package/lib/components/Toolbar/ToolbarButton.js +4 -4
  210. package/lib/components/Toolbar/ToolbarGroup.d.ts +1 -2
  211. package/lib/components/Toolbar/ToolbarGroup.js +4 -4
  212. package/lib/components/Toolbar/index.d.ts +12 -3
  213. package/lib/components/TruncatedList/TruncatedList.d.ts +1 -2
  214. package/lib/components/TruncatedList/TruncatedList.js +2 -2
  215. package/lib/components/TruncatedList/index.d.ts +8 -1
  216. package/lib/components/UserProfileImage/UserProfileImage.d.ts +3 -3
  217. package/lib/components/UserProfileImage/UserProfileImage.js +5 -4
  218. package/lib/components/UserProfileImage/index.d.ts +2 -1
  219. package/lib/components/WebTerminal/WebTerminal.d.ts +4 -4
  220. package/lib/components/WebTerminal/WebTerminal.js +5 -5
  221. package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
  222. package/lib/components/WebTerminal/index.d.ts +11 -3
  223. package/package.json +2 -2
@@ -1,37 +1,42 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024, 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
+ import React from 'react';
8
+ import PropTypes from 'prop-types';
9
+ /**
10
+ * Our FeatureFlagContext is used alongside the FeatureFlags component to enable
11
+ * or disable feature flags in a given React tree
12
+ */
13
+ declare const FeatureFlagContext: React.Context<any>;
1
14
  /**
2
15
  * Supports an object of feature flag values with the `flags` prop, merging them
3
16
  * along with the current `FeatureFlagContext` to provide consumers to check if
4
17
  * a feature flag is enabled or disabled in a given React tree
5
18
  */
6
- export function FeatureFlags({ children, flags }: {
19
+ declare function FeatureFlags({ children, flags }: {
7
20
  children: any;
8
21
  flags?: {} | undefined;
9
22
  }): import("react/jsx-runtime").JSX.Element;
10
- export namespace FeatureFlags {
11
- namespace propTypes {
12
- let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
- let flags: PropTypes.Requireable<{
23
+ declare namespace FeatureFlags {
24
+ var propTypes: {
25
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
26
+ /**
27
+ * Provide the feature flags to enabled or disabled in the current React tree
28
+ */
29
+ flags: PropTypes.Requireable<{
14
30
  [x: string]: boolean | null | undefined;
15
31
  }>;
16
- }
32
+ };
17
33
  }
18
34
  /**
19
- * Our FeatureFlagContext is used alongside the FeatureFlags component to enable
20
- * or disable feature flags in a given React tree
35
+ * Access whether a given flag is enabled or disabled in a given FeatureFlagContext
21
36
  */
22
- export const FeatureFlagContext: React.Context<any>;
37
+ declare function useFeatureFlag(flag: string): boolean;
23
38
  /**
24
39
  * Access all feature flag information for the given FeatureFlagContext
25
- *
26
- * @returns {FeatureFlagScope}
27
- */
28
- export function useFeatureFlags(): FeatureFlagScope;
29
- /**
30
- * Access whether a given flag is enabled or disabled in a given
31
- * FeatureFlagContext
32
- *
33
- * @returns {boolean}
34
40
  */
35
- export function useFeatureFlag(flag: any): boolean;
36
- import PropTypes from 'prop-types';
37
- import React from 'react';
41
+ declare function useFeatureFlags(): any;
42
+ export { FeatureFlags, FeatureFlagContext, useFeatureFlags, useFeatureFlag };
@@ -108,21 +108,15 @@ function useChangedValue(value, compare, callback) {
108
108
  }
109
109
 
110
110
  /**
111
- * Access whether a given flag is enabled or disabled in a given
112
- * FeatureFlagContext
113
- *
114
- * @returns {boolean}
111
+ * Access whether a given flag is enabled or disabled in a given FeatureFlagContext
115
112
  */
116
113
  function useFeatureFlag(flag) {
117
114
  var scope = React.useContext(FeatureFlagContext);
118
- // console.log(scope);
119
115
  return scope.enabled(flag);
120
116
  }
121
117
 
122
118
  /**
123
119
  * Access all feature flag information for the given FeatureFlagContext
124
- *
125
- * @returns {FeatureFlagScope}
126
120
  */
127
121
  function useFeatureFlags() {
128
122
  return React.useContext(FeatureFlagContext);
@@ -133,9 +127,6 @@ function useFeatureFlags() {
133
127
  * comparison since the objects we are comparing are objects with boolean flags
134
128
  * from the flags prop in the `FeatureFlags` component
135
129
  *
136
- * @param {object} a
137
- * @param {object} b
138
- * @returns {boolean}
139
130
  */
140
131
  function isEqual(a, b) {
141
132
  if (a === b) {
@@ -16,8 +16,8 @@ var cx = require('classnames');
16
16
  var react = require('@carbon/react');
17
17
  var devtools = require('../../../global/js/utils/devtools.js');
18
18
  var settings = require('../../../settings.js');
19
- var FilterPanelLabel = require('../FilterPanelLabel/FilterPanelLabel.js');
20
19
  var TruncatedList = require('../../TruncatedList/TruncatedList.js');
20
+ var FilterPanelLabel = require('../FilterPanelLabel/FilterPanelLabel.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -9,7 +9,7 @@ export interface Filter {
9
9
  key: string;
10
10
  value: string;
11
11
  }
12
- interface FilterSummaryProps {
12
+ export interface FilterSummaryProps {
13
13
  className?: string;
14
14
  clearButtonInline?: boolean;
15
15
  clearFilters: () => void;
@@ -10,20 +10,20 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
- var React = require('react');
14
- var react = require('@carbon/react');
15
13
  var framerMotion = require('framer-motion');
14
+ var react = require('@carbon/react');
15
+ var motionConstants = require('../../global/js/utils/motionConstants.js');
16
+ var React = require('react');
16
17
  var icons = require('@carbon/react/icons');
17
18
  var index = require('../../node_modules/prop-types/index.js');
19
+ var TagSet = require('../TagSet/TagSet.js');
18
20
  var cx = require('classnames');
19
- var settings = require('../../settings.js');
20
- var uuidv4 = require('../../global/js/utils/uuidv4.js');
21
- var motionConstants = require('../../global/js/utils/motionConstants.js');
22
21
  var debounce = require('lodash/debounce');
23
22
  var devtools = require('../../global/js/utils/devtools.js');
23
+ var settings = require('../../settings.js');
24
+ var uuidv4 = require('../../global/js/utils/uuidv4.js');
24
25
  var usePreviousValue = require('../../global/js/hooks/usePreviousValue.js');
25
26
  var useWindowResize = require('../../global/js/hooks/useWindowResize.js');
26
- var TagSet = require('../TagSet/TagSet.js');
27
27
 
28
28
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
29
29
 
@@ -169,6 +169,5 @@ FilterSummary.propTypes = {
169
169
  overflowType: index["default"].oneOf(['default', 'tag']),
170
170
  renderLabel: index["default"].func
171
171
  };
172
- var FilterSummary$1 = FilterSummary;
173
172
 
174
- exports["default"] = FilterSummary$1;
173
+ exports["default"] = FilterSummary;
@@ -1 +1,8 @@
1
- export { default as FilterSummary } from "./FilterSummary";
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 { default as FilterSummary } from './FilterSummary';
8
+ export type { FilterSummaryProps } from './FilterSummary';
@@ -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 FullPageErrorProps {
8
+ export interface FullPageErrorProps {
9
9
  /**
10
10
  * Provide the contents of the FullPageError.
11
11
  */
@@ -37,4 +37,3 @@ interface FullPageErrorProps {
37
37
  * This is typically caused by issues with the requested URL or access permissions.
38
38
  */
39
39
  export declare let FullPageError: React.ForwardRefExoticComponent<FullPageErrorProps & React.RefAttributes<HTMLDivElement>>;
40
- export {};
@@ -10,15 +10,15 @@
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 Error403SVG = require('./assets/Error403SVG.js');
16
+ var Error404SVG = require('./assets/Error404SVG.js');
17
+ var ErrorGenericSVG = require('./assets/ErrorGenericSVG.js');
14
18
  var index = require('../../node_modules/prop-types/index.js');
15
19
  var cx = require('classnames');
16
20
  var devtools = require('../../global/js/utils/devtools.js');
17
21
  var settings = require('../../settings.js');
18
- var ErrorGenericSVG = require('./assets/ErrorGenericSVG.js');
19
- var Error404SVG = require('./assets/Error404SVG.js');
20
- var Error403SVG = require('./assets/Error403SVG.js');
21
- var react = require('@carbon/react');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
@@ -1 +1,8 @@
1
- export { FullPageError } from "./FullPageError";
1
+ /**
2
+ * Copyright IBM Corp. 2024, 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 { FullPageError } from './FullPageError';
8
+ export type { FullPageErrorProps } from './FullPageError';
@@ -10,7 +10,7 @@ type MetaData = {
10
10
  icon?: () => ReactNode;
11
11
  iconDescription?: string;
12
12
  };
13
- interface GetStartedCardProps extends PropsWithChildren {
13
+ export interface GetStartedCardProps extends PropsWithChildren {
14
14
  /**
15
15
  * Provide an optional class to be applied to the containing node.
16
16
  */
@@ -1 +1,8 @@
1
- export { GetStartedCard } from "./GetStartedCard";
1
+ /**
2
+ * Copyright IBM Corp. 2024, 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 { GetStartedCard } from './GetStartedCard';
8
+ export type { GetStartedCardProps } from './GetStartedCard';
@@ -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 GuidebannerProps {
8
+ export interface GuidebannerProps {
9
9
  /**
10
10
  * Provide the contents of the Guidebanner.
11
11
  * One or more GuidebannerElement components are required.
@@ -63,4 +63,3 @@ interface GuidebannerProps {
63
63
  * to introduce foundational concepts related to the page's content.
64
64
  */
65
65
  export declare let Guidebanner: React.ForwardRefExoticComponent<GuidebannerProps & React.RefAttributes<HTMLDivElement>>;
66
- export {};
@@ -10,14 +10,14 @@
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 icons = require('@carbon/react/icons');
13
15
  var React = require('react');
14
- var index$1 = require('../../node_modules/prop-types/index.js');
15
- var cx = require('classnames');
16
16
  var index = require('../../node_modules/@carbon/colors/es/index.js');
17
- var icons = require('@carbon/react/icons');
18
- var react = require('@carbon/react');
19
17
  var Carousel = require('../Carousel/Carousel.js');
20
18
  require('../Carousel/CarouselItem.js');
19
+ var index$1 = require('../../node_modules/prop-types/index.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 uuidv4 = require('../../global/js/utils/uuidv4.js');
@@ -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 GuidebannerElementProps {
8
+ export interface GuidebannerElementProps {
9
9
  /**
10
10
  * An optional button can be rendered below the description.
11
11
  * This can be a link, button, Coachmark button, etc.
@@ -29,4 +29,3 @@ interface GuidebannerElementProps {
29
29
  * and acts as a container for a CarouselItem.
30
30
  */
31
31
  export declare let GuidebannerElement: React.ForwardRefExoticComponent<GuidebannerElementProps & React.RefAttributes<HTMLDivElement>>;
32
- export {};
@@ -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 GuidebannerElementButtonProps {
8
+ export interface GuidebannerElementButtonProps {
9
9
  /**
10
10
  * Provide the contents of the GuidebannerElementLink.
11
11
  */
@@ -27,5 +27,4 @@ interface GuidebannerElementButtonProps {
27
27
  /**
28
28
  * One of two buttons styled specifically for the GuidebannerElement.
29
29
  */
30
- export declare let GuidebannerElementButton: React.ForwardRefExoticComponent<GuidebannerElementButtonProps & React.RefAttributes<Button>>;
31
- export {};
30
+ export declare let GuidebannerElementButton: React.ForwardRefExoticComponent<GuidebannerElementButtonProps & React.RefAttributes<any>>;
@@ -11,10 +11,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
- var index = require('../../node_modules/prop-types/index.js');
15
- var cx = require('classnames');
16
14
  var react = require('@carbon/react');
17
15
  var icons = require('@carbon/react/icons');
16
+ var index = require('../../node_modules/prop-types/index.js');
17
+ var cx = require('classnames');
18
18
  var devtools = require('../../global/js/utils/devtools.js');
19
19
  var settings = require('../../settings.js');
20
20
 
@@ -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 GuidebannerElementLinkProps {
8
+ export interface GuidebannerElementLinkProps {
9
9
  /**
10
10
  * Provide the contents of the GuidebannerElementLink.
11
11
  */
@@ -18,5 +18,4 @@ interface GuidebannerElementLinkProps {
18
18
  /**
19
19
  * A link styled specifically for the GuidebannerElement.
20
20
  */
21
- export declare let GuidebannerElementLink: React.ForwardRefExoticComponent<GuidebannerElementLinkProps & React.RefAttributes<Link>>;
22
- export {};
21
+ export declare let GuidebannerElementLink: React.ForwardRefExoticComponent<GuidebannerElementLinkProps & React.RefAttributes<any>>;
@@ -11,9 +11,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
+ var react = require('@carbon/react');
14
15
  var index = require('../../node_modules/prop-types/index.js');
15
16
  var cx = require('classnames');
16
- var react = require('@carbon/react');
17
17
  var devtools = require('../../global/js/utils/devtools.js');
18
18
  var settings = require('../../settings.js');
19
19
 
@@ -1,4 +1,14 @@
1
- export { Guidebanner } from "./Guidebanner";
2
- export { GuidebannerElement } from "./GuidebannerElement";
3
- export { GuidebannerElementButton } from "./GuidebannerElementButton";
4
- export { GuidebannerElementLink } from "./GuidebannerElementLink";
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 { Guidebanner } from './Guidebanner';
8
+ export { GuidebannerElement } from './GuidebannerElement';
9
+ export { GuidebannerElementButton } from './GuidebannerElementButton';
10
+ export { GuidebannerElementLink } from './GuidebannerElementLink';
11
+ export type { GuidebannerProps } from './Guidebanner';
12
+ export type { GuidebannerElementProps } from './GuidebannerElement';
13
+ export type { GuidebannerElementButtonProps } from './GuidebannerElementButton';
14
+ export type { GuidebannerElementLinkProps } from './GuidebannerElementLink';
@@ -18,7 +18,7 @@ type FileType = {
18
18
  errorBody?: string;
19
19
  errorSubject?: string;
20
20
  };
21
- interface ImportModalProps {
21
+ export interface ImportModalProps {
22
22
  /**
23
23
  * Specifies the file types that are valid for importing
24
24
  */
@@ -10,15 +10,15 @@
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');
14
15
  var icons = require('@carbon/react/icons');
15
- var react = require('@carbon/react');
16
- var cx = require('classnames');
17
16
  var index = require('../../node_modules/prop-types/index.js');
17
+ var cx = require('classnames');
18
18
  var devtools = require('../../global/js/utils/devtools.js');
19
+ var settings = require('../../settings.js');
19
20
  var usePortalTarget = require('../../global/js/hooks/usePortalTarget.js');
20
21
  var uuidv4 = require('../../global/js/utils/uuidv4.js');
21
- var settings = require('../../settings.js');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
@@ -1 +1,2 @@
1
- export { ImportModal } from "./ImportModal";
1
+ export { ImportModal } from './ImportModal';
2
+ export type { ImportModalProps } from './ImportModal';
@@ -9,7 +9,7 @@ type MediaType = {
9
9
  render?: () => ReactNode;
10
10
  filePaths?: string[];
11
11
  };
12
- interface InlineTipProps {
12
+ export interface InlineTipProps {
13
13
  /**
14
14
  * Optional "call to action" ghost button or link that can appear
15
15
  * directly below the content. This component comes with pre-styled
@@ -10,16 +10,16 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
- var React = require('react');
14
- var icons = require('@carbon/react/icons');
15
13
  var react = require('@carbon/react');
14
+ var icons = require('@carbon/react/icons');
15
+ var React = require('react');
16
16
  var index = require('../../node_modules/prop-types/index.js');
17
+ var SteppedAnimatedMedia = require('../SteppedAnimatedMedia/SteppedAnimatedMedia.js');
17
18
  var cx = require('classnames');
18
19
  var utils = require('./utils.js');
19
20
  var devtools = require('../../global/js/utils/devtools.js');
20
- var uuidv4 = require('../../global/js/utils/uuidv4.js');
21
21
  var settings = require('../../settings.js');
22
- var SteppedAnimatedMedia = require('../SteppedAnimatedMedia/SteppedAnimatedMedia.js');
22
+ var uuidv4 = require('../../global/js/utils/uuidv4.js');
23
23
 
24
24
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
25
25
 
@@ -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 InlineTipButtonProps {
8
+ export interface InlineTipButtonProps {
9
9
  /**
10
10
  * Provide an optional class to be applied to the containing node.
11
11
  */
@@ -21,4 +21,3 @@ interface InlineTipButtonProps {
21
21
  export declare let InlineTipButton: React.ForwardRefExoticComponent<InlineTipButtonProps & {
22
22
  children?: React.ReactNode;
23
23
  } & React.RefAttributes<HTMLButtonElement>>;
24
- export {};
@@ -11,9 +11,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
+ var react = require('@carbon/react');
14
15
  var index = require('../../node_modules/prop-types/index.js');
15
16
  var cx = require('classnames');
16
- var react = require('@carbon/react');
17
17
  var devtools = require('../../global/js/utils/devtools.js');
18
18
  var settings = require('../../settings.js');
19
19
 
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { PropsWithChildren, ReactNode } from 'react';
8
- interface InlineTipLinkProps extends PropsWithChildren {
8
+ export interface InlineTipLinkProps extends PropsWithChildren {
9
9
  /**
10
10
  * Provide the contents of the InlineTipLink.
11
11
  */
@@ -19,4 +19,3 @@ interface InlineTipLinkProps extends PropsWithChildren {
19
19
  * This is a standard Carbon link, styled specifically for use inside InlineTip.
20
20
  */
21
21
  export declare let InlineTipLink: React.ForwardRefExoticComponent<InlineTipLinkProps & React.RefAttributes<HTMLDivElement>>;
22
- export {};
@@ -11,10 +11,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
- var index = require('../../node_modules/prop-types/index.js');
15
- var cx = require('classnames');
16
14
  var icons = require('@carbon/react/icons');
17
15
  var react = require('@carbon/react');
16
+ var index = require('../../node_modules/prop-types/index.js');
17
+ var cx = require('classnames');
18
18
  var devtools = require('../../global/js/utils/devtools.js');
19
19
  var settings = require('../../settings.js');
20
20
 
@@ -1,3 +1,12 @@
1
- export { InlineTip } from "./InlineTip";
2
- export { InlineTipButton } from "./InlineTipButton";
3
- export { InlineTipLink } from "./InlineTipLink";
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 { InlineTip } from './InlineTip';
8
+ export { InlineTipButton } from './InlineTipButton';
9
+ export { InlineTipLink } from './InlineTipLink';
10
+ export type { InlineTipProps } from './InlineTip';
11
+ export type { InlineTipButtonProps } from './InlineTipButton';
12
+ export type { InlineTipLinkProps } from './InlineTipLink';
@@ -17,7 +17,7 @@ type Media = {
17
17
  render?: never;
18
18
  filePaths?: string[];
19
19
  });
20
- interface InterstitialScreenProps extends PropsWithChildren {
20
+ export interface InterstitialScreenProps extends PropsWithChildren {
21
21
  /**
22
22
  * Provide the contents of the InterstitialScreen.
23
23
  */
@@ -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');
13
14
  var React = require('react');
14
- var index = require('../../node_modules/prop-types/index.js');
15
- var cx = require('classnames');
16
- var devtools = require('../../global/js/utils/devtools.js');
17
- var settings = require('../../settings.js');
18
- var lodash = require('lodash');
19
15
  var icons = require('@carbon/react/icons');
20
- var react = require('@carbon/react');
21
16
  var Carousel = require('../Carousel/Carousel.js');
22
17
  require('../Carousel/CarouselItem.js');
18
+ var index = require('../../node_modules/prop-types/index.js');
23
19
  var SteppedAnimatedMedia = require('../SteppedAnimatedMedia/SteppedAnimatedMedia.js');
20
+ var lodash = require('lodash');
21
+ var cx = require('classnames');
22
+ var devtools = require('../../global/js/utils/devtools.js');
23
+ var settings = require('../../settings.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 { InterstitialScreen } from "./InterstitialScreen";
1
+ /**
2
+ * Copyright IBM Corp. 2024, 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 { InterstitialScreen } from './InterstitialScreen';
8
+ export type { InterstitialScreenProps } from './InterstitialScreen';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { PropsWithChildren, ReactNode } from 'react';
8
- interface InterstitialScreenViewProps extends PropsWithChildren {
8
+ export interface InterstitialScreenViewProps extends PropsWithChildren {
9
9
  /**
10
10
  * Provide the contents of the InterstitialScreenView.
11
11
  */
@@ -23,4 +23,3 @@ interface InterstitialScreenViewProps extends PropsWithChildren {
23
23
  * An Onboarding component intended to be used as the child elements of the InterstitialScreen component.
24
24
  */
25
25
  export declare let InterstitialScreenView: React.ForwardRefExoticComponent<InterstitialScreenViewProps & React.RefAttributes<HTMLDivElement>>;
26
- export {};
@@ -1 +1,8 @@
1
- export { InterstitialScreenView } from "./InterstitialScreenView";
1
+ /**
2
+ * Copyright IBM Corp. 2024, 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 { InterstitialScreenView } from './InterstitialScreenView';
8
+ export type { InterstitialScreenViewProps } from './InterstitialScreenView';
@@ -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 InterstitialScreenViewModuleProps {
8
+ export interface InterstitialScreenViewModuleProps {
9
9
  /**
10
10
  * Provide an optional class to be applied to the containing node.
11
11
  */
@@ -23,4 +23,3 @@ interface InterstitialScreenViewModuleProps {
23
23
  * View module to help in building interstitial screen views.
24
24
  */
25
25
  export declare let InterstitialScreenViewModule: React.ForwardRefExoticComponent<InterstitialScreenViewModuleProps & React.RefAttributes<HTMLElement>>;
26
- export {};
@@ -10,8 +10,8 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
- var React = require('react');
14
13
  var index = require('../../node_modules/prop-types/index.js');
14
+ var React = require('react');
15
15
  var cx = require('classnames');
16
16
  var devtools = require('../../global/js/utils/devtools.js');
17
17
  var settings = require('../../settings.js');
@@ -1 +1,8 @@
1
- export { InterstitialScreenViewModule } from "./InterstitialScreenViewModule";
1
+ /**
2
+ * Copyright IBM Corp. 2024, 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 { InterstitialScreenViewModule } from './InterstitialScreenViewModule';
8
+ export type { InterstitialScreenViewModuleProps } from './InterstitialScreenViewModule';
@@ -28,7 +28,7 @@ type ItemType = {
28
28
  sortBy: string[];
29
29
  filterBy: string[];
30
30
  };
31
- interface MultiAddSelectProps {
31
+ export interface MultiAddSelectProps {
32
32
  /**
33
33
  * optional class name
34
34
  */
@@ -11,8 +11,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
- var index = require('../../node_modules/prop-types/index.js');
15
14
  var AddSelect = require('../AddSelect/AddSelect.js');
15
+ var index = require('../../node_modules/prop-types/index.js');
16
16
  var devtools = require('../../global/js/utils/devtools.js');
17
17
  var settings = require('../../settings.js');
18
18