@carbon/ibm-products 2.38.0-alpha.5 → 2.39.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. package/css/index-full-carbon.css +227 -0
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +218 -0
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +227 -0
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +445 -0
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/ActionSet/ActionSet.js +3 -2
  18. package/es/components/Card/Card.js +50 -9
  19. package/es/components/Card/CardFooter.d.ts +5 -1
  20. package/es/components/Card/CardFooter.js +11 -1
  21. package/es/components/Carousel/Carousel.d.ts +6 -2
  22. package/es/components/Checklist/Checklist.d.ts +100 -2
  23. package/es/components/Checklist/Checklist.js +19 -15
  24. package/es/components/Checklist/Checklist.types.d.ts +19 -0
  25. package/es/components/Checklist/Checklist.types.js +22 -0
  26. package/es/components/Checklist/ChecklistChart.d.ts +6 -2
  27. package/es/components/Checklist/ChecklistChart.js +14 -33
  28. package/es/components/Checklist/ChecklistIcon.d.ts +5 -1
  29. package/es/components/Checklist/ChecklistIcon.js +9 -4
  30. package/es/components/Coachmark/Coachmark.d.ts +65 -2
  31. package/es/components/Coachmark/Coachmark.js +7 -10
  32. package/es/components/Coachmark/CoachmarkDragbar.d.ts +40 -2
  33. package/es/components/Coachmark/CoachmarkDragbar.js +3 -1
  34. package/es/components/Coachmark/CoachmarkHeader.d.ts +27 -2
  35. package/es/components/Coachmark/CoachmarkHeader.js +0 -1
  36. package/es/components/Coachmark/CoachmarkOverlay.d.ts +42 -2
  37. package/es/components/Coachmark/CoachmarkOverlay.js +18 -15
  38. package/es/components/Coachmark/CoachmarkTagline.d.ts +27 -2
  39. package/es/components/Coachmark/CoachmarkTagline.js +0 -1
  40. package/es/components/Coachmark/utils/enums.d.ts +20 -20
  41. package/es/components/Coachmark/utils/enums.js +22 -20
  42. package/es/components/CoachmarkButton/CoachmarkButton.d.ts +19 -2
  43. package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +42 -2
  44. package/es/components/CoachmarkFixed/CoachmarkFixed.js +4 -2
  45. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +46 -2
  46. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +5 -4
  47. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +2 -1
  48. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +25 -23
  49. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +2 -2
  50. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +14 -24
  51. package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +2 -0
  52. package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +4 -1
  53. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +3 -3
  54. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +11 -11
  55. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +5 -3
  56. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +54 -44
  57. package/es/components/CreateInfluencer/CreateInfluencer.d.ts +55 -17
  58. package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +67 -2
  59. package/es/components/DataSpreadsheet/DataSpreadsheet.js +48 -27
  60. package/es/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +139 -2
  61. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +60 -39
  62. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +89 -2
  63. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +39 -27
  64. package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.js +2 -1
  65. package/es/components/DataSpreadsheet/types/index.d.ts +30 -0
  66. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +19 -2
  67. package/es/components/GetStartedCard/GetStartedCard.d.ts +5 -0
  68. package/es/components/GetStartedCard/GetStartedCard.js +82 -0
  69. package/es/components/GetStartedCard/index.d.ts +1 -0
  70. package/es/components/Guidebanner/Guidebanner.js +2 -2
  71. package/es/components/NotificationsPanel/NotificationsPanel.d.ts +162 -1
  72. package/es/components/NotificationsPanel/NotificationsPanel.js +10 -10
  73. package/es/components/SearchBar/SearchBar.d.ts +10 -1
  74. package/es/components/SearchBar/SearchBar.js +26 -20
  75. package/es/components/SidePanel/SidePanel.js +1 -1
  76. package/es/components/TagOverflow/TagOverflow.d.ts +5 -0
  77. package/es/components/TagOverflow/TagOverflow.js +153 -29
  78. package/es/components/TagOverflow/TagOverflowModal.d.ts +29 -0
  79. package/es/components/TagOverflow/TagOverflowModal.js +112 -0
  80. package/es/components/TagOverflow/TagOverflowPopover.d.ts +2 -0
  81. package/es/components/TagOverflow/TagOverflowPopover.js +135 -0
  82. package/es/components/TagSet/TagSet.d.ts +87 -3
  83. package/es/components/TagSet/TagSet.js +20 -9
  84. package/es/components/TagSet/TagSetModal.d.ts +32 -26
  85. package/es/components/TagSet/TagSetModal.js +5 -5
  86. package/es/components/TagSet/TagSetOverflow.d.ts +45 -2
  87. package/es/components/TagSet/TagSetOverflow.js +14 -12
  88. package/es/components/WebTerminal/WebTerminal.js +2 -2
  89. package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +15 -2
  90. package/es/components/WebTerminal/hooks/index.d.ts +16 -11
  91. package/es/components/WebTerminal/hooks/index.js +1 -1
  92. package/es/components/index.d.ts +1 -0
  93. package/es/global/js/package-settings.d.ts +2 -1
  94. package/es/global/js/package-settings.js +2 -1
  95. package/es/index.js +1 -0
  96. package/es/node_modules/@carbon/colors/es/index.js +4 -1
  97. package/es/settings.d.ts +2 -1
  98. package/lib/components/ActionSet/ActionSet.js +2 -1
  99. package/lib/components/Card/Card.js +50 -9
  100. package/lib/components/Card/CardFooter.d.ts +5 -1
  101. package/lib/components/Card/CardFooter.js +11 -1
  102. package/lib/components/Carousel/Carousel.d.ts +6 -2
  103. package/lib/components/Checklist/Checklist.d.ts +100 -2
  104. package/lib/components/Checklist/Checklist.js +19 -15
  105. package/lib/components/Checklist/Checklist.types.d.ts +19 -0
  106. package/lib/components/Checklist/Checklist.types.js +27 -0
  107. package/lib/components/Checklist/ChecklistChart.d.ts +6 -2
  108. package/lib/components/Checklist/ChecklistChart.js +17 -36
  109. package/lib/components/Checklist/ChecklistIcon.d.ts +5 -1
  110. package/lib/components/Checklist/ChecklistIcon.js +9 -4
  111. package/lib/components/Coachmark/Coachmark.d.ts +65 -2
  112. package/lib/components/Coachmark/Coachmark.js +6 -9
  113. package/lib/components/Coachmark/CoachmarkDragbar.d.ts +40 -2
  114. package/lib/components/Coachmark/CoachmarkDragbar.js +3 -1
  115. package/lib/components/Coachmark/CoachmarkHeader.d.ts +27 -2
  116. package/lib/components/Coachmark/CoachmarkHeader.js +0 -1
  117. package/lib/components/Coachmark/CoachmarkOverlay.d.ts +42 -2
  118. package/lib/components/Coachmark/CoachmarkOverlay.js +18 -15
  119. package/lib/components/Coachmark/CoachmarkTagline.d.ts +27 -2
  120. package/lib/components/Coachmark/CoachmarkTagline.js +0 -1
  121. package/lib/components/Coachmark/utils/enums.d.ts +20 -20
  122. package/lib/components/Coachmark/utils/enums.js +22 -20
  123. package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +19 -2
  124. package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +42 -2
  125. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +4 -2
  126. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +46 -2
  127. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +5 -4
  128. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +2 -1
  129. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +25 -23
  130. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +2 -2
  131. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +13 -23
  132. package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +2 -0
  133. package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +4 -1
  134. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +3 -3
  135. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +11 -11
  136. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +5 -3
  137. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +54 -44
  138. package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +55 -17
  139. package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +67 -2
  140. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +48 -27
  141. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +139 -2
  142. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +59 -38
  143. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +89 -2
  144. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +39 -27
  145. package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +2 -1
  146. package/lib/components/DataSpreadsheet/types/index.d.ts +30 -0
  147. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +19 -2
  148. package/lib/components/GetStartedCard/GetStartedCard.d.ts +5 -0
  149. package/lib/components/GetStartedCard/GetStartedCard.js +88 -0
  150. package/lib/components/GetStartedCard/index.d.ts +1 -0
  151. package/lib/components/Guidebanner/Guidebanner.js +2 -2
  152. package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +162 -1
  153. package/lib/components/NotificationsPanel/NotificationsPanel.js +10 -10
  154. package/lib/components/SearchBar/SearchBar.d.ts +10 -1
  155. package/lib/components/SearchBar/SearchBar.js +26 -18
  156. package/lib/components/SidePanel/SidePanel.js +1 -1
  157. package/lib/components/TagOverflow/TagOverflow.d.ts +5 -0
  158. package/lib/components/TagOverflow/TagOverflow.js +154 -28
  159. package/lib/components/TagOverflow/TagOverflowModal.d.ts +29 -0
  160. package/lib/components/TagOverflow/TagOverflowModal.js +121 -0
  161. package/lib/components/TagOverflow/TagOverflowPopover.d.ts +2 -0
  162. package/lib/components/TagOverflow/TagOverflowPopover.js +144 -0
  163. package/lib/components/TagSet/TagSet.d.ts +87 -3
  164. package/lib/components/TagSet/TagSet.js +20 -9
  165. package/lib/components/TagSet/TagSetModal.d.ts +32 -26
  166. package/lib/components/TagSet/TagSetModal.js +3 -3
  167. package/lib/components/TagSet/TagSetOverflow.d.ts +45 -2
  168. package/lib/components/TagSet/TagSetOverflow.js +14 -12
  169. package/lib/components/WebTerminal/WebTerminal.js +2 -2
  170. package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +15 -2
  171. package/lib/components/WebTerminal/hooks/index.d.ts +16 -11
  172. package/lib/components/WebTerminal/hooks/index.js +1 -1
  173. package/lib/components/index.d.ts +1 -0
  174. package/lib/global/js/package-settings.d.ts +2 -1
  175. package/lib/global/js/package-settings.js +2 -1
  176. package/lib/index.js +5 -0
  177. package/lib/node_modules/@carbon/colors/es/index.js +6 -0
  178. package/lib/settings.d.ts +2 -1
  179. package/package.json +3 -3
  180. package/scss/components/Checklist/_carbon-imports.scss +2 -2
  181. package/scss/components/GetStartedCard/_carbon-imports.scss +9 -0
  182. package/scss/components/GetStartedCard/_get-started-card.scss +135 -0
  183. package/scss/components/GetStartedCard/_index-with-carbon.scss +9 -0
  184. package/scss/components/GetStartedCard/_index.scss +8 -0
  185. package/scss/components/TagOverflow/_tag-overflow.scss +157 -0
  186. package/scss/components/_index-released-only-with-carbon.scss +2 -1
  187. package/scss/components/_index-released-only.scss +2 -1
  188. package/scss/components/_index-with-carbon.scss +2 -0
  189. package/scss/components/_index.scss +1 -0
  190. package/telemetry.yml +28 -24
@@ -0,0 +1,135 @@
1
+ /**
2
+ * Copyright IBM Corp. 2020, 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
+
8
+ import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
+ import React__default, { useRef } from 'react';
10
+ import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import cx from 'classnames';
12
+ import { Popover, Tag, PopoverContent, Link } from '@carbon/react';
13
+ import { pkg } from '../../settings.js';
14
+ import { useClickOutside } from '../../global/js/hooks/useClickOutside.js';
15
+
16
+ var _excluded = ["allTagsModalSearchThreshold", "className", "onShowAllClick", "overflowAlign", "overflowTags", "overflowType", "showAllTagsLabel", "popoverOpen", "setPopoverOpen"];
17
+ var componentName = 'TagOverflowPopover';
18
+ var blockClass = "".concat(pkg.prefix, "--tag-overflow-popover");
19
+
20
+ // Default values for props
21
+ var defaults = {
22
+ allTagsModalSearchThreshold: 10,
23
+ overflowAlign: 'bottom'
24
+ };
25
+ var TagOverflowPopover = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
26
+ var _ref$allTagsModalSear = _ref.allTagsModalSearchThreshold,
27
+ allTagsModalSearchThreshold = _ref$allTagsModalSear === void 0 ? defaults.allTagsModalSearchThreshold : _ref$allTagsModalSear,
28
+ className = _ref.className,
29
+ onShowAllClick = _ref.onShowAllClick,
30
+ _ref$overflowAlign = _ref.overflowAlign,
31
+ overflowAlign = _ref$overflowAlign === void 0 ? defaults.overflowAlign : _ref$overflowAlign,
32
+ overflowTags = _ref.overflowTags,
33
+ overflowType = _ref.overflowType,
34
+ showAllTagsLabel = _ref.showAllTagsLabel,
35
+ popoverOpen = _ref.popoverOpen,
36
+ setPopoverOpen = _ref.setPopoverOpen,
37
+ rest = _objectWithoutProperties(_ref, _excluded);
38
+ var localRef = useRef();
39
+ var overflowTagContent = useRef(null);
40
+ useClickOutside(ref || localRef, function () {
41
+ if (popoverOpen) {
42
+ setPopoverOpen(false);
43
+ }
44
+ });
45
+ var handleShowAllTagsClick = function handleShowAllTagsClick(evt) {
46
+ evt.stopPropagation();
47
+ evt.preventDefault();
48
+ setPopoverOpen(false);
49
+ onShowAllClick();
50
+ };
51
+ var handleEscKeyPress = function handleEscKeyPress(event) {
52
+ var key = event.key;
53
+ if (key === 'Escape') {
54
+ setPopoverOpen(false);
55
+ }
56
+ };
57
+ var getOverflowPopoverItems = function getOverflowPopoverItems() {
58
+ return overflowTags.filter(function (_, index) {
59
+ return overflowTags.length > allTagsModalSearchThreshold ? index < allTagsModalSearchThreshold : index <= allTagsModalSearchThreshold;
60
+ });
61
+ };
62
+ return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
63
+ "aria-hidden": overflowTags.length === 0,
64
+ className: cx(blockClass, _defineProperty({}, "".concat(blockClass, "--hidden"), overflowTags.length === 0)),
65
+ ref: ref || localRef
66
+ }), /*#__PURE__*/React__default.createElement(Popover, {
67
+ align: overflowAlign,
68
+ className: cx(className, "".concat(blockClass, "__el")),
69
+ dropShadow: true,
70
+ highContrast: true,
71
+ onKeyDown: handleEscKeyPress,
72
+ open: popoverOpen
73
+ }, /*#__PURE__*/React__default.createElement(Tag, {
74
+ onClick: function onClick() {
75
+ return setPopoverOpen(!popoverOpen);
76
+ },
77
+ className: cx("".concat(blockClass, "__trigger"))
78
+ }, "+", overflowTags.length), /*#__PURE__*/React__default.createElement(PopoverContent, null, /*#__PURE__*/React__default.createElement("div", {
79
+ ref: overflowTagContent,
80
+ className: "".concat(blockClass, "__content")
81
+ }, /*#__PURE__*/React__default.createElement("ul", {
82
+ className: "".concat(blockClass, "__tag-list")
83
+ }, getOverflowPopoverItems().map(function (tag) {
84
+ return /*#__PURE__*/React__default.createElement("li", {
85
+ className: cx("".concat(blockClass, "__tag-item"), _defineProperty(_defineProperty({}, "".concat(blockClass, "__tag-item--default"), overflowType === 'default'), "".concat(blockClass, "__tag-item--tag"), overflowType === 'tag')),
86
+ key: tag.id
87
+ }, tag.label);
88
+ })), overflowTags.length > allTagsModalSearchThreshold && /*#__PURE__*/React__default.createElement(Link, {
89
+ className: "".concat(blockClass, "__show-all-tags-link"),
90
+ href: "",
91
+ onClick: handleShowAllTagsClick,
92
+ role: "button"
93
+ }, showAllTagsLabel)))));
94
+ });
95
+ TagOverflowPopover.displayName = componentName;
96
+ TagOverflowPopover.propTypes = {
97
+ /**
98
+ * count of overflowTags over which a modal is offered
99
+ */
100
+ allTagsModalSearchThreshold: PropTypes.number,
101
+ /**
102
+ * className
103
+ */
104
+ className: PropTypes.string,
105
+ /**
106
+ * function to execute on clicking show all
107
+ */
108
+ onShowAllClick: PropTypes.func.isRequired,
109
+ /**
110
+ * overflowAlign from the standard tooltip
111
+ */
112
+ overflowAlign: PropTypes.oneOf(['top', 'top-left', 'top-right', 'bottom', 'bottom-left', 'bottom-right', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top']),
113
+ /**
114
+ * tags shown in overflow
115
+ */
116
+ overflowTags: PropTypes.arrayOf(PropTypes.object).isRequired,
117
+ /**
118
+ * Type of rendering displayed inside of the tag overflow component
119
+ */
120
+ overflowType: PropTypes.oneOf(['default', 'tag']),
121
+ /**
122
+ * Open state of the popover
123
+ */
124
+ popoverOpen: PropTypes.bool,
125
+ /**
126
+ * Setter function for the popoverOpen state value
127
+ */
128
+ setPopoverOpen: PropTypes.func,
129
+ /**
130
+ * label for the overflow show all tags link
131
+ */
132
+ showAllTagsLabel: PropTypes.string
133
+ };
134
+
135
+ export { TagOverflowPopover };
@@ -1,8 +1,92 @@
1
- export let TagSet: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
1
+ import React, { ReactNode, PropsWithChildren } from 'react';
2
+ import { TagBaseProps } from '@carbon/type';
3
+ type Align = 'start' | 'center' | 'end';
4
+ type OverflowAlign = 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'left-bottom' | 'left-top' | 'right' | 'right-bottom' | 'right-top';
5
+ type OverflowType = 'default' | 'tag';
6
+ type TagType = {
7
+ label: string;
8
+ type?: keyof typeof tagTypes;
9
+ } & TagBaseProps;
10
+ interface TagSetProps extends PropsWithChildren {
11
+ /**
12
+ * align the Tags displayed by the TagSet. Default start.
13
+ */
14
+ align?: Align;
15
+ /**
16
+ * label text for the show all search. **Note: Required if more than 10 tags**
17
+ */
18
+ allTagsModalSearchLabel?: string;
19
+ /**
20
+ * placeholder text for the show all search. **Note: Required if more than 10 tags**
21
+ */
22
+ allTagsModalSearchPlaceholderText?: string;
23
+ /**
24
+ * portal target for the all tags modal
25
+ */
26
+ allTagsModalTarget?: ReactNode;
27
+ /**
28
+ * title for the show all modal. **Note: Required if more than 10 tags**
29
+ */
30
+ allTagsModalTitle?: string;
31
+ /**
32
+ * className
33
+ */
34
+ className?: string;
35
+ /**
36
+ * Optional ref for custom resize container to measure available space
37
+ * Default will measure the available space of the TagSet container itself.
38
+ */
39
+ containingElementRef?: React.RefObject<HTMLElement>;
40
+ /**
41
+ * maximum visible tags
42
+ */
43
+ maxVisible?: number;
44
+ /**
45
+ * Specify offset amount for measure available space, only used when `containingElementSelector`
46
+ * is also provided
47
+ */
48
+ measurementOffset?: number;
49
+ /**
50
+ * display tags in multiple lines
51
+ */
52
+ multiline?: boolean;
53
+ /**
54
+ * Handler to get overflow tags
55
+ */
56
+ onOverflowTagChange?: (value: ReactNode) => void;
57
+ /**
58
+ * overflowAlign from the standard tooltip. Default center.
59
+ */
60
+ overflowAlign?: OverflowAlign;
61
+ /**
62
+ * overflowClassName for the tooltip popup
63
+ */
64
+ overflowClassName?: string;
65
+ /**
66
+ * Type of rendering displayed inside of the tag overflow component
67
+ */
68
+ overflowType?: OverflowType;
69
+ /**
70
+ * label for the overflow show all tags link.
71
+ *
72
+ * **Note:** Required if more than 10 tags
73
+ */
74
+ showAllTagsLabel: string;
75
+ /**
76
+ * The tags to be shown in the TagSet. Each tag is specified as an object
77
+ * with properties: **label**\* (required) to supply the tag content, and
78
+ * other properties will be passed to the Carbon Tag component, such as
79
+ * **type**, **disabled**, **ref**, **className** , and any other Tag props.
80
+ *
81
+ * See https://react.carbondesignsystem.com/?path=/docs/components-tag--default
82
+ */
83
+ tags?: TagType[];
84
+ }
85
+ export declare let TagSet: React.ForwardRefExoticComponent<TagSetProps & React.RefAttributes<HTMLDivElement>>;
2
86
  /**
3
87
  * The strings shown in the showAllModal are only shown if we have more than allTagsModalSearchLThreshold
4
88
  * @returns null if no problems
5
89
  */
6
- export const string_required_if_more_than_10_tags: (props: any, propName: any, componentName: any, location: any, propFullName: any, secret: any) => any;
90
+ export declare const string_required_if_more_than_10_tags: (props: any, propName: any, componentName: any, location: any, propFullName: any, secret: any) => any;
91
+ declare const tagTypes: string[];
7
92
  export default TagSet;
8
- import React from 'react';
@@ -32,18 +32,26 @@ var defaults = {
32
32
  overflowType: 'default',
33
33
  onOverflowTagChange: function onOverflowTagChange() {}
34
34
  };
35
+
36
+ // interface TagType extends TagBaseProps
37
+ // {
38
+ // label: string;
39
+ // // we duplicate this prop to improve the DocGen
40
+ // type?: typeof tagTypes[number];
41
+ // }
42
+
35
43
  var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
36
44
  var _ref$align = _ref.align,
37
- align = _ref$align === void 0 ? defaults.align : _ref$align,
45
+ align = _ref$align === void 0 ? 'start' : _ref$align,
38
46
  allTagsModalTarget = _ref.allTagsModalTarget,
39
47
  className = _ref.className,
40
48
  maxVisible = _ref.maxVisible,
41
49
  multiline = _ref.multiline,
42
50
  _ref$overflowAlign = _ref.overflowAlign,
43
- overflowAlign = _ref$overflowAlign === void 0 ? defaults.overflowAlign : _ref$overflowAlign,
51
+ overflowAlign = _ref$overflowAlign === void 0 ? 'bottom' : _ref$overflowAlign,
44
52
  overflowClassName = _ref.overflowClassName,
45
53
  _ref$overflowType = _ref.overflowType,
46
- overflowType = _ref$overflowType === void 0 ? defaults.overflowType : _ref$overflowType,
54
+ overflowType = _ref$overflowType === void 0 ? 'default' : _ref$overflowType,
47
55
  allTagsModalTitle = _ref.allTagsModalTitle,
48
56
  allTagsModalSearchLabel = _ref.allTagsModalSearchLabel,
49
57
  allTagsModalSearchPlaceholderText = _ref.allTagsModalSearchPlaceholderText,
@@ -73,7 +81,7 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
73
81
  setShowAllModalOpen = _useState8[1];
74
82
  var localTagSetRef = useRef(null);
75
83
  var tagSetRef = ref || localTagSetRef;
76
- var sizingContainerRef = useRef();
84
+ var sizingContainerRef = useRef(null);
77
85
  var displayedArea = useRef(null);
78
86
  var _useState9 = useState([]),
79
87
  _useState10 = _slicedToArray(_useState9, 2),
@@ -98,7 +106,9 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
98
106
  key: index,
99
107
  className: "".concat(blockClass, "__sizing-tag"),
100
108
  ref: function ref(el) {
101
- return newSizingTags[index] = el;
109
+ if (el != null) {
110
+ newSizingTags[index] = el;
111
+ }
102
112
  }
103
113
  }, /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
104
114
  // ensure id is not duplicated
@@ -155,7 +165,7 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
155
165
  }, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, tags, onOverflowTagChange, popoverOpen, handleTagOnClose]);
156
166
  var checkFullyVisibleTags = useCallback(function () {
157
167
  if (multiline) {
158
- return setDisplayCount(maxVisible);
168
+ return setDisplayCount(maxVisible || 3);
159
169
  }
160
170
 
161
171
  // how many will fit?
@@ -163,7 +173,7 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
163
173
  if (sizingTags.length > 0) {
164
174
  var optionalContainingElement = containingElementRef === null || containingElementRef === void 0 ? void 0 : containingElementRef.current;
165
175
  var measurementOffsetValue = typeof measurementOffset === 'number' ? measurementOffset : 0;
166
- var spaceAvailable = optionalContainingElement ? optionalContainingElement.offsetWidth - measurementOffsetValue : tagSetRef.current.offsetWidth;
176
+ var spaceAvailable = optionalContainingElement ? optionalContainingElement.offsetWidth - measurementOffsetValue : tagSetRef === null || tagSetRef === void 0 ? void 0 : tagSetRef['current'].offsetWidth;
167
177
  for (var i in sizingTags) {
168
178
  var _sizingTags$i;
169
179
  var tagWidth = ((_sizingTags$i = sizingTags[i]) === null || _sizingTags$i === void 0 ? void 0 : _sizingTags$i.offsetWidth) || 0;
@@ -174,7 +184,7 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
174
184
  break;
175
185
  }
176
186
  }
177
- if (willFit < sizingTags.length) {
187
+ if (willFit < sizingTags.length && overflowTag.current) {
178
188
  while (willFit > 0 && spaceAvailable < overflowTag.current.offsetWidth) {
179
189
  // Highly unlikely any useful tag is smaller
180
190
  willFit -= 1; // remove one tag
@@ -262,7 +272,7 @@ var TYPES = {
262
272
  outline: 'Outline'
263
273
  };
264
274
  var tagTypes = Object.keys(TYPES);
265
- TagSet.types = tagTypes;
275
+ TagSet['types'] = tagTypes;
266
276
  TagSet.propTypes = {
267
277
  /**
268
278
  * align the Tags displayed by the TagSet. Default start.
@@ -292,6 +302,7 @@ TagSet.propTypes = {
292
302
  * Optional ref for custom resize container to measure available space
293
303
  * Default will measure the available space of the TagSet container itself.
294
304
  */
305
+ /**@ts-ignore */
295
306
  containingElementRef: PropTypes.object,
296
307
  /**
297
308
  * maximum visible tags
@@ -1,29 +1,35 @@
1
- export function TagSetModal({ allTags, className, title, onClose, open, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: {
2
- [x: string]: any;
3
- allTags: any;
4
- className: any;
5
- title: any;
6
- onClose: any;
7
- open: any;
8
- portalTarget: any;
9
- searchLabel?: string | undefined;
10
- searchPlaceholder: any;
11
- }): any;
12
- export namespace TagSetModal {
13
- export namespace propTypes {
14
- let allTags: PropTypes.Requireable<(PropTypes.InferProps<{
1
+ /// <reference path="../../../src/custom-typings/index.d.ts" />
2
+ import React, { ReactNode } from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import { Tag } from '@carbon/react';
5
+ interface TagType {
6
+ label: string;
7
+ }
8
+ type AllTags = TagType[] & Omit<React.ComponentProps<Tag>, 'filter'>[];
9
+ interface TagSetModalProps {
10
+ allTags?: AllTags;
11
+ className?: string;
12
+ onClose?: () => void;
13
+ open?: boolean;
14
+ portalTarget?: ReactNode;
15
+ searchLabel?: string;
16
+ searchPlaceholder?: string;
17
+ title?: string;
18
+ }
19
+ export declare const TagSetModal: {
20
+ ({ allTags, className, title, onClose, open, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagSetModalProps): any;
21
+ propTypes: {
22
+ allTags: PropTypes.Requireable<(PropTypes.InferProps<{
15
23
  label: PropTypes.Validator<string>;
16
24
  }> | null | undefined)[]>;
17
- let className: PropTypes.Requireable<string>;
18
- let onClose: PropTypes.Requireable<(...args: any[]) => any>;
19
- let open: PropTypes.Requireable<boolean>;
20
- let portalTarget: PropTypes.Requireable<PropTypes.ReactNodeLike>;
21
- let searchLabel: PropTypes.Requireable<string>;
22
- let searchPlaceholder: PropTypes.Requireable<string>;
23
- let title: PropTypes.Requireable<string>;
24
- }
25
- export { componentName as displayName };
26
- }
27
- import PropTypes from 'prop-types';
28
- declare const componentName: "TagSetModal";
25
+ className: PropTypes.Requireable<string>;
26
+ onClose: PropTypes.Requireable<(...args: any[]) => any>;
27
+ open: PropTypes.Requireable<boolean>;
28
+ portalTarget: PropTypes.Requireable<PropTypes.ReactNodeLike>;
29
+ searchLabel: PropTypes.Requireable<string>;
30
+ searchPlaceholder: PropTypes.Requireable<string>;
31
+ title: PropTypes.Requireable<string>;
32
+ };
33
+ displayName: string;
34
+ };
29
35
  export {};
@@ -5,11 +5,11 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
8
+ import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { useState, useEffect } from 'react';
10
10
  import PropTypes from '../../node_modules/prop-types/index.js';
11
11
  import cx from 'classnames';
12
- import { ComposedModal, ModalHeader, Search, ModalBody, Tag } from '@carbon/react';
12
+ import { Tag, ComposedModal, ModalHeader, Search, ModalBody } from '@carbon/react';
13
13
  import { pkg } from '../../settings.js';
14
14
  import { prepareProps } from '../../global/js/utils/props-helper.js';
15
15
  import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
@@ -47,11 +47,11 @@ var TagSetModal = function TagSetModal(_ref) {
47
47
  useEffect(function () {
48
48
  var newFilteredModalTags = [];
49
49
  if (open) {
50
- if (search === '') {
51
- newFilteredModalTags = allTags.slice(0);
50
+ if (search === '' && allTags) {
51
+ newFilteredModalTags = allTags === null || allTags === void 0 ? void 0 : allTags.slice(0);
52
52
  } else {
53
53
  var lCaseSearch = search.toLocaleLowerCase();
54
- allTags.forEach(function (tag) {
54
+ allTags === null || allTags === void 0 || allTags.forEach(function (tag) {
55
55
  var _tag$dataSearch, _tag$label;
56
56
  var dataSearch = (_tag$dataSearch = tag['data-search']) === null || _tag$dataSearch === void 0 || (_tag$dataSearch = _tag$dataSearch.toLocaleLowerCase()) === null || _tag$dataSearch === void 0 ? void 0 : _tag$dataSearch.indexOf(lCaseSearch);
57
57
  var labelSearch = (_tag$label = tag.label) === null || _tag$label === void 0 || (_tag$label = _tag$label.toLocaleLowerCase()) === null || _tag$label === void 0 ? void 0 : _tag$label.indexOf(lCaseSearch);
@@ -1,2 +1,45 @@
1
- export const TagSetOverflow: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
+ type OverflowAlign = 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'left-bottom' | 'left-top' | 'right' | 'right-bottom' | 'right-top';
3
+ type OverflowType = 'default' | 'tag';
4
+ interface TagSetOverflowProps {
5
+ /**
6
+ * count of overflowTags over which a modal is offered
7
+ */
8
+ allTagsModalSearchThreshold?: number;
9
+ /**
10
+ * className
11
+ */
12
+ className?: string;
13
+ /**
14
+ * function to execute on clicking show all
15
+ */
16
+ onShowAllClick: () => void;
17
+ /**
18
+ * overflowAlign from the standard tooltip
19
+ */
20
+ overflowAlign?: OverflowAlign;
21
+ /** @type {Array<any>}
22
+ * tags shown in overflow
23
+ */
24
+ overflowTags: ReactNode[];
25
+ /**
26
+ * Type of rendering displayed inside of the tag overflow component
27
+ */
28
+ overflowType?: OverflowType;
29
+ /**
30
+ * Open state of the popover
31
+ */
32
+ popoverOpen?: boolean;
33
+ /**
34
+ * Setter function for the popoverOpen state value
35
+ */
36
+ setPopoverOpen?: ((value: boolean) => void) | undefined;
37
+ /**
38
+ * label for the overflow show all tags link
39
+ */
40
+ showAllTagsLabel?: string;
41
+ }
42
+ export declare const TagSetOverflow: React.ForwardRefExoticComponent<TagSetOverflowProps & {
43
+ children?: React.ReactNode;
44
+ } & React.RefAttributes<HTMLSpanElement>>;
45
+ export {};
@@ -19,8 +19,7 @@ var blockClass = "".concat(pkg.prefix, "--tag-set-overflow");
19
19
 
20
20
  // Default values for props
21
21
  var defaults = {
22
- allTagsModalSearchThreshold: 10,
23
- overflowAlign: 'bottom'
22
+ allTagsModalSearchThreshold: 10
24
23
  };
25
24
  var TagSetOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
26
25
  var _ref$allTagsModalSear = _ref.allTagsModalSearchThreshold,
@@ -28,30 +27,30 @@ var TagSetOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
28
27
  className = _ref.className,
29
28
  onShowAllClick = _ref.onShowAllClick,
30
29
  _ref$overflowAlign = _ref.overflowAlign,
31
- overflowAlign = _ref$overflowAlign === void 0 ? defaults.overflowAlign : _ref$overflowAlign,
30
+ overflowAlign = _ref$overflowAlign === void 0 ? 'bottom' : _ref$overflowAlign,
32
31
  overflowTags = _ref.overflowTags,
33
32
  overflowType = _ref.overflowType,
34
33
  showAllTagsLabel = _ref.showAllTagsLabel,
35
34
  popoverOpen = _ref.popoverOpen,
36
35
  setPopoverOpen = _ref.setPopoverOpen,
37
36
  rest = _objectWithoutProperties(_ref, _excluded);
38
- var localRef = useRef();
37
+ var localRef = useRef(null);
39
38
  var overflowTagContent = useRef(null);
40
39
  useClickOutside(ref || localRef, function () {
41
40
  if (popoverOpen) {
42
- setPopoverOpen(false);
41
+ setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
43
42
  }
44
43
  });
45
44
  var handleShowAllTagsClick = function handleShowAllTagsClick(ev) {
46
45
  ev.stopPropagation();
47
46
  ev.preventDefault();
48
- setPopoverOpen(false);
47
+ setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
49
48
  onShowAllClick();
50
49
  };
51
50
  var handleEscKeyPress = function handleEscKeyPress(event) {
52
51
  var key = event.key;
53
52
  if (key === 'Escape') {
54
- setPopoverOpen(false);
53
+ setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
55
54
  }
56
55
  };
57
56
  return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
@@ -67,7 +66,7 @@ var TagSetOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
67
66
  open: popoverOpen
68
67
  }, /*#__PURE__*/React__default.createElement(Tag, {
69
68
  onClick: function onClick() {
70
- return setPopoverOpen(!popoverOpen);
69
+ return setPopoverOpen === null || setPopoverOpen === void 0 ? void 0 : setPopoverOpen(!popoverOpen);
71
70
  },
72
71
  className: cx("".concat(blockClass, "__popover-trigger"))
73
72
  }, "+", overflowTags.length), /*#__PURE__*/React__default.createElement(PopoverContent, null, /*#__PURE__*/React__default.createElement("div", {
@@ -85,10 +84,12 @@ var TagSetOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
85
84
  if (overflowType === 'default') {
86
85
  tagProps.filter = false;
87
86
  }
88
- return /*#__PURE__*/React__default.createElement("li", {
89
- className: cx("".concat(blockClass, "__tag-item"), _defineProperty(_defineProperty({}, "".concat(blockClass, "__tag-item--default"), overflowType === 'default'), "".concat(blockClass, "__tag-item--tag"), overflowType === 'tag')),
90
- key: index
91
- }, /*#__PURE__*/React__default.cloneElement(tag, tagProps));
87
+ if ( /*#__PURE__*/React__default.isValidElement(tag)) {
88
+ return /*#__PURE__*/React__default.createElement("li", {
89
+ className: cx("".concat(blockClass, "__tag-item"), _defineProperty(_defineProperty({}, "".concat(blockClass, "__tag-item--default"), overflowType === 'default'), "".concat(blockClass, "__tag-item--tag"), overflowType === 'tag')),
90
+ key: index
91
+ }, /*#__PURE__*/React__default.cloneElement(tag, tagProps));
92
+ }
92
93
  })), overflowTags.length > allTagsModalSearchThreshold && /*#__PURE__*/React__default.createElement(Link, {
93
94
  className: "".concat(blockClass, "__show-all-tags-link"),
94
95
  href: "",
@@ -117,6 +118,7 @@ TagSetOverflow.propTypes = {
117
118
  /**
118
119
  * tags shown in overflow
119
120
  */
121
+ /**@ts-ignore */
120
122
  overflowTags: PropTypes.arrayOf(PropTypes.object).isRequired,
121
123
  /**
122
124
  * Type of rendering displayed inside of the tag overflow component
@@ -72,7 +72,7 @@ var WebTerminal = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
72
72
  */
73
73
  useEffect(function () {
74
74
  if (isInitiallyOpen) {
75
- openWebTerminal();
75
+ openWebTerminal === null || openWebTerminal === void 0 || openWebTerminal();
76
76
  }
77
77
  }, []); // eslint-disable-line
78
78
 
@@ -92,7 +92,7 @@ var WebTerminal = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
92
92
  if (prefersReducedMotion) {
93
93
  setRender(false);
94
94
  }
95
- closeWebTerminal();
95
+ closeWebTerminal === null || closeWebTerminal === void 0 || closeWebTerminal();
96
96
  };
97
97
  return shouldRender ? /*#__PURE__*/React__default.createElement("div", _extends({}, _objectSpread2(_objectSpread2({}, rest), getDevtoolsProps(componentName)), {
98
98
  ref: ref,
@@ -1,2 +1,15 @@
1
- export let WebTerminalContentWrapper: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
- import React from 'react';
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
+ import React, { ReactNode } from 'react';
8
+ interface WebTerminalContentWrapperProps {
9
+ /**
10
+ * Pass in content as children.
11
+ */
12
+ children: ReactNode | ReactNode[];
13
+ }
14
+ export declare let WebTerminalContentWrapper: React.ForwardRefExoticComponent<WebTerminalContentWrapperProps & React.RefAttributes<HTMLDivElement>>;
15
+ export {};
@@ -1,12 +1,17 @@
1
- export const WebTerminalContext: React.Context<any>;
2
- export function WebTerminalProvider({ children }: {
3
- children: any;
4
- }): import("react/jsx-runtime").JSX.Element;
5
- export namespace WebTerminalProvider {
6
- namespace propTypes {
7
- let children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
8
- }
1
+ import React, { ReactNode } from 'react';
2
+ export interface WebTerminalContextType {
3
+ open?: boolean;
4
+ openWebTerminal?: () => void;
5
+ closeWebTerminal?: () => void;
6
+ toggleWebTerminal?: () => void;
9
7
  }
10
- export function useWebTerminal(): any;
11
- import React from 'react';
12
- import PropTypes from 'prop-types';
8
+ export declare const WebTerminalContext: React.Context<WebTerminalContextType>;
9
+ interface WebTerminalProviderProps {
10
+ /**
11
+ * Provide your own terminal component as children to show up in the web terminal
12
+ */
13
+ children: ReactNode | ReactNode[];
14
+ }
15
+ export declare let WebTerminalProvider: React.FC<WebTerminalProviderProps>;
16
+ export declare const useWebTerminal: () => WebTerminalContextType;
17
+ export {};
@@ -10,7 +10,7 @@ import React__default, { useState, useCallback, useContext, createContext } from
10
10
  import PropTypes from '../../../node_modules/prop-types/index.js';
11
11
  import { pkg } from '../../../settings.js';
12
12
 
13
- var WebTerminalContext = /*#__PURE__*/createContext();
13
+ var WebTerminalContext = /*#__PURE__*/createContext({});
14
14
  var componentName = 'WebTerminalProvider';
15
15
  var WebTerminalProvider = function WebTerminalProvider(_ref) {
16
16
  var children = _ref.children;
@@ -54,6 +54,7 @@ export { StatusIndicator } from "./StatusIndicator";
54
54
  export { TagOverflow } from "./TagOverflow";
55
55
  export { ActionBar } from "./ActionBar";
56
56
  export { ConditionBuilder } from "./ConditionBuilder";
57
+ export { GetStartedCard } from "./GetStartedCard";
57
58
  export { ComboButton, ComboButtonItem } from "./ComboButton";
58
59
  export { CreateFullPage, CreateFullPageStep } from "./CreateFullPage";
59
60
  export { CreateTearsheet, CreateTearsheetStep, CreateTearsheetDivider } from "./CreateTearsheet";
@@ -24,6 +24,7 @@ declare namespace defaults {
24
24
  let AboutModal: boolean;
25
25
  let APIKeyModal: boolean;
26
26
  let Cascade: boolean;
27
+ let Checklist: boolean;
27
28
  let CreateModal: boolean;
28
29
  let CreateFullPage: boolean;
29
30
  let CreateFullPageStep: boolean;
@@ -95,6 +96,7 @@ declare namespace defaults {
95
96
  let FilterPanelLabel: boolean;
96
97
  let FilterPanelSearch: boolean;
97
98
  let ConditionBuilder: boolean;
99
+ let GetStartedCard: boolean;
98
100
  let Coachmark: boolean;
99
101
  let CoachmarkBeacon: boolean;
100
102
  let CoachmarkButton: boolean;
@@ -112,7 +114,6 @@ declare namespace defaults {
112
114
  let DescriptionListRow: boolean;
113
115
  let SearchBar: boolean;
114
116
  let UserAvatar: boolean;
115
- let Checklist: boolean;
116
117
  let EmptyStateV2: boolean;
117
118
  let Guidebanner: boolean;
118
119
  let GuidebannerElement: boolean;