@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
@@ -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');
13
14
  var React = require('react');
15
+ var TearsheetShell = require('./TearsheetShell.js');
16
+ var ActionSet = require('../ActionSet/ActionSet.js');
14
17
  var index = require('../../node_modules/prop-types/index.js');
15
- var devtools = require('../../global/js/utils/devtools.js');
16
18
  var propsHelper = require('../../global/js/utils/props-helper.js');
19
+ var devtools = require('../../global/js/utils/devtools.js');
17
20
  var settings = require('../../settings.js');
18
- var react = require('@carbon/react');
19
- var ActionSet = require('../ActionSet/ActionSet.js');
20
- var TearsheetShell = require('./TearsheetShell.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -5,10 +5,10 @@
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, PropsWithChildren } from 'react';
9
- import PropTypes from 'prop-types';
10
8
  import { ButtonProps } from '@carbon/react';
11
9
  import { CloseIconDescriptionTypes } from './TearsheetShell';
10
+ import React, { PropsWithChildren, ReactNode } from 'react';
11
+ import PropTypes from 'prop-types';
12
12
  interface TearsheetNarrowBaseProps extends PropsWithChildren {
13
13
  /**
14
14
  * The navigation actions to be shown as buttons in the action area at the
@@ -90,7 +90,7 @@ interface TearsheetNarrowBaseProps extends PropsWithChildren {
90
90
  */
91
91
  verticalPosition?: 'normal' | 'lower';
92
92
  }
93
- type TearsheetNarrowProps = TearsheetNarrowBaseProps & CloseIconDescriptionTypes;
93
+ export type TearsheetNarrowProps = TearsheetNarrowBaseProps & CloseIconDescriptionTypes;
94
94
  /**
95
95
  * A narrow tearsheet is a slimmer variant of the tearsheet, providing a dialog
96
96
  * that keeps users in-context and focused by bringing actionable content front
@@ -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 TearsheetShell = require('./TearsheetShell.js');
13
15
  var React = require('react');
16
+ var propsHelper = require('../../global/js/utils/props-helper.js');
17
+ var ActionSet = require('../ActionSet/ActionSet.js');
14
18
  var index = require('../../node_modules/prop-types/index.js');
15
19
  var devtools = require('../../global/js/utils/devtools.js');
16
- var propsHelper = require('../../global/js/utils/props-helper.js');
17
20
  var settings = require('../../settings.js');
18
- var react = require('@carbon/react');
19
- var ActionSet = require('../ActionSet/ActionSet.js');
20
- var TearsheetShell = require('./TearsheetShell.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -1,2 +1,10 @@
1
- export { Tearsheet } from "./Tearsheet";
2
- export { TearsheetNarrow } from "./TearsheetNarrow";
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 { Tearsheet } from './Tearsheet';
8
+ export { TearsheetNarrow } from './TearsheetNarrow';
9
+ export type { TearsheetProps } from './Tearsheet';
10
+ export type { TearsheetNarrowProps } from './TearsheetNarrow';
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import React from 'react';
8
8
  declare const blockClass: string;
9
- interface ToolbarProps {
9
+ export interface ToolbarProps {
10
10
  /** Provide an optional class to be applied to the containing node */
11
11
  className?: string;
12
12
  /** Determines whether the `Toolbar` is rendered vertically */
@@ -10,17 +10,17 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
- var cx = require('classnames');
14
- var index = require('../../node_modules/prop-types/index.js');
15
13
  var React = require('react');
16
- var devtools = require('../../global/js/utils/devtools.js');
14
+ var index = require('../../node_modules/prop-types/index.js');
17
15
  var getFocusableElements = require('../../global/js/utils/getFocusableElements.js');
16
+ var cx = require('classnames');
17
+ var devtools = require('../../global/js/utils/devtools.js');
18
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
 
22
- var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
23
22
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
23
+ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
24
24
 
25
25
  var _excluded = ["children", "className", "vertical"];
26
26
  var checkComponentEnabled = settings.pkg.checkComponentEnabled,
@@ -5,10 +5,10 @@
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 { IconButton } from '@carbon/react';
9
8
  import React from 'react';
9
+ import { IconButton } from '@carbon/react';
10
10
  export declare const blockClass: string;
11
- interface ToolbarButtonProps extends React.ComponentProps<typeof IconButton> {
11
+ export interface ToolbarButtonProps extends React.ComponentProps<typeof IconButton> {
12
12
  /** Determines whether the caret is rendered */
13
13
  caret?: boolean;
14
14
  /** Provide an optional class to be applied to the containing node */
@@ -22,4 +22,3 @@ interface ToolbarButtonProps extends React.ComponentProps<typeof IconButton> {
22
22
  export declare let ToolbarButton: React.ForwardRefExoticComponent<ToolbarButtonProps & {
23
23
  children?: React.ReactNode;
24
24
  } & React.RefAttributes<unknown>>;
25
- export {};
@@ -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('react');
14
+ var Toolbar = require('./Toolbar.js');
15
+ var index = require('../../node_modules/prop-types/index.js');
13
16
  var react = require('@carbon/react');
14
17
  var cx = require('classnames');
15
- var index = require('../../node_modules/prop-types/index.js');
16
- var React = require('react');
17
18
  var settings = require('../../settings.js');
18
- var Toolbar = require('./Toolbar.js');
19
19
 
20
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
21
21
 
22
- var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
23
22
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
23
+ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
24
24
 
25
25
  var _excluded = ["caret", "children", "className", "renderIcon", "iconDescription"];
26
26
  var blockClass = "".concat(Toolbar.blockClass, "__button");
@@ -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 ToolbarGroupProps {
8
+ export interface ToolbarGroupProps {
9
9
  /** Provide the content of the `ToolbarGroup` */
10
10
  children?: ReactNode;
11
11
  /** Provide an optional class to be applied to the containing node */
@@ -15,4 +15,3 @@ interface ToolbarGroupProps {
15
15
  export declare let ToolbarGroup: React.ForwardRefExoticComponent<ToolbarGroupProps & {
16
16
  children?: React.ReactNode;
17
17
  } & React.RefAttributes<HTMLDivElement>>;
18
- export {};
@@ -10,16 +10,16 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
- var cx = require('classnames');
14
- var index = require('../../node_modules/prop-types/index.js');
15
13
  var React = require('react');
16
- var settings = require('../../settings.js');
14
+ var index = require('../../node_modules/prop-types/index.js');
17
15
  var Toolbar = require('./Toolbar.js');
16
+ var cx = require('classnames');
17
+ var settings = require('../../settings.js');
18
18
 
19
19
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
20
20
 
21
- var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
22
21
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
22
+ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
23
23
 
24
24
  var _excluded = ["className", "children"];
25
25
  /** Toolbar groups organize the commands within a toolbar into related groups. */
@@ -1,3 +1,12 @@
1
- export { Toolbar } from "./Toolbar";
2
- export { ToolbarButton } from "./ToolbarButton";
3
- export { ToolbarGroup } from "./ToolbarGroup";
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 { Toolbar } from './Toolbar';
8
+ export { ToolbarButton } from './ToolbarButton';
9
+ export { ToolbarGroup } from './ToolbarGroup';
10
+ export type { ToolbarProps } from './Toolbar';
11
+ export type { ToolbarButtonProps } from './ToolbarButton';
12
+ export type { ToolbarGroupProps } from './ToolbarGroup';
@@ -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 TruncatedListProps extends PropsWithChildren {
8
+ export interface TruncatedListProps extends PropsWithChildren {
9
9
  as?: React.ElementType | string;
10
10
  /**
11
11
  * Optional class name for expand/collapse button.
@@ -49,4 +49,3 @@ interface TruncatedListProps extends PropsWithChildren {
49
49
  * and see the entire list.
50
50
  */
51
51
  export declare let TruncatedList: React.ForwardRefExoticComponent<TruncatedListProps & React.RefAttributes<HTMLDivElement>>;
52
- export {};
@@ -11,11 +11,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
+ var settings = require('../../settings.js');
15
+ var react = require('@carbon/react');
14
16
  var index = require('../../node_modules/prop-types/index.js');
15
17
  var cx = require('classnames');
16
18
  var devtools = require('../../global/js/utils/devtools.js');
17
- var settings = require('../../settings.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 { TruncatedList } from "./TruncatedList";
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 { TruncatedList } from './TruncatedList';
8
+ export type { TruncatedListProps } from './TruncatedList';
@@ -5,10 +5,10 @@
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 from 'react';
9
- import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
10
8
  import '../../global/js/utils/props-helper';
9
+ import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
11
10
  import { IconButton } from '@carbon/react';
11
+ import React from 'react';
12
12
  type imageProps = {
13
13
  /**
14
14
  * When passing the image prop, supply a full path to the image to be displayed.
@@ -61,7 +61,7 @@ type UserProfileImageBaseProps = {
61
61
  */
62
62
  tooltipText?: string;
63
63
  };
64
- type UserProfileImageProps = UserProfileImageBaseProps & imageProps;
64
+ export type UserProfileImageProps = UserProfileImageBaseProps & imageProps;
65
65
  /**
66
66
  * The user profile avatar allows for an image of the user to be displayed by passing in the image prop. By default the component will display a user icon on a blue background.
67
67
  */
@@ -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('react');
13
+ require('../../global/js/utils/props-helper.js');
14
+ var icons = require('@carbon/react/icons');
15
+ var react = require('@carbon/react');
14
16
  var index = require('../../node_modules/prop-types/index.js');
17
+ var React = require('react');
15
18
  var cx = require('classnames');
16
19
  var devtools = require('../../global/js/utils/devtools.js');
17
- require('../../global/js/utils/props-helper.js');
18
20
  var settings = require('../../settings.js');
19
- var icons = require('@carbon/react/icons');
20
- var react = require('@carbon/react');
21
21
  var TooltipTrigger = require('../TooltipTrigger/TooltipTrigger.js');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -26,6 +26,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
26
26
  var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
27
27
 
28
28
  var _excluded = ["backgroundColor", "className", "kind", "icon", "initials", "image", "imageDescription", "size", "theme", "tooltipText", "tooltipAlignment"];
29
+
29
30
  // The block part of our conventional BEM class names (blockClass__E--M).
30
31
  var blockClass = "".concat(settings.pkg.prefix, "--user-profile-image");
31
32
  var componentName = 'UserProfileImage';
@@ -1 +1,2 @@
1
- export { UserProfileImage } from "./UserProfileImage";
1
+ export { UserProfileImage } from './UserProfileImage';
2
+ export type { UserProfileImageProps } from './UserProfileImage';
@@ -5,18 +5,18 @@
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, { PropsWithChildren, ReactNode } from 'react';
9
8
  import { OverflowMenuItem } from '@carbon/react';
9
+ import React, { PropsWithChildren, ReactNode } from 'react';
10
10
  interface Action {
11
11
  renderIcon: () => void;
12
12
  onClick: () => void;
13
13
  iconDescription: string;
14
14
  }
15
- interface WebTerminalProps extends PropsWithChildren {
15
+ export interface WebTerminalProps extends PropsWithChildren {
16
16
  /**
17
17
  * Provide your own terminal component as children to show up in the web terminal
18
18
  */
19
- children: ReactNode | ReactNode[];
19
+ children: ReactNode;
20
20
  /**
21
21
  * An array of actions to be displayed in the web terminal header bar
22
22
  */
@@ -32,7 +32,7 @@ interface WebTerminalProps extends PropsWithChildren {
32
32
  /**
33
33
  * Array of objects for each documentation link. Each documentation link uses the prop types of OverflowMenuItems. See more: https://react.carbondesignsystem.com/?path=/docs/components-overflowmenu--default
34
34
  */
35
- documentationLinks?: readonly OverflowMenuItem[];
35
+ documentationLinks?: readonly (typeof OverflowMenuItem)[];
36
36
  /**
37
37
  * Description for the documentation link overflow menu tooltip
38
38
  */
@@ -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('@carbon/react');
14
+ var icons = require('@carbon/react/icons');
13
15
  var React = require('react');
14
16
  var index$1 = require('../../node_modules/prop-types/index.js');
15
17
  var cx = require('classnames');
16
- var settings = require('../../settings.js');
17
- var icons = require('@carbon/react/icons');
18
- var react = require('@carbon/react');
19
- var carbonMotion = require('@carbon/motion');
20
- var index = require('./hooks/index.js');
21
18
  var devtools = require('../../global/js/utils/devtools.js');
19
+ var carbonMotion = require('@carbon/motion');
20
+ var settings = require('../../settings.js');
22
21
  var usePrefersReducedMotion = require('../../global/js/hooks/usePrefersReducedMotion.js');
22
+ var index = require('./hooks/index.js');
23
23
 
24
24
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
25
25
 
@@ -5,11 +5,10 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface WebTerminalContentWrapperProps {
8
+ export interface WebTerminalContentWrapperProps {
9
9
  /**
10
10
  * Pass in content as children.
11
11
  */
12
- children: ReactNode | ReactNode[];
12
+ children: ReactNode;
13
13
  }
14
14
  export declare let WebTerminalContentWrapper: React.ForwardRefExoticComponent<WebTerminalContentWrapperProps & React.RefAttributes<HTMLDivElement>>;
15
- export {};
@@ -1,3 +1,11 @@
1
- export { WebTerminal } from "./WebTerminal";
2
- export { WebTerminalContentWrapper } from "./WebTerminalContentWrapper";
3
- export { useWebTerminal, WebTerminalProvider } from "./hooks";
1
+ /**
2
+ * Copyright IBM Corp. 2020, 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 { WebTerminal } from './WebTerminal';
8
+ export { WebTerminalContentWrapper } from './WebTerminalContentWrapper';
9
+ export { useWebTerminal, WebTerminalProvider } from './hooks';
10
+ export type { WebTerminalProps } from './WebTerminal';
11
+ export type { WebTerminalContentWrapperProps } from './WebTerminalContentWrapper';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "2.43.2-canary.127+ef7c980a6",
4
+ "version": "2.43.2-canary.129+5fdb47a91",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -120,5 +120,5 @@
120
120
  "react": "^16.8.6 || ^17.0.1 || ^18.2.0",
121
121
  "react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
122
122
  },
123
- "gitHead": "ef7c980a67956c4dc4859a6395cadab3c2e92048"
123
+ "gitHead": "5fdb47a91e8c7f151f4ef29bc86f7b8bd2fe96d0"
124
124
  }