@carbon/ibm-products 2.39.0 → 2.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/css/index-full-carbon.css +9 -3
  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 +5 -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 +9 -3
  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 +9 -3
  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/AddSelect/AddSelect.d.ts +44 -2
  18. package/es/components/AddSelect/AddSelect.js +8 -4
  19. package/es/components/AddSelect/AddSelectBody.d.ts +44 -2
  20. package/es/components/AddSelect/AddSelectBody.js +10 -12
  21. package/es/components/AddSelect/AddSelectSort.d.ts +16 -17
  22. package/es/components/AddSelect/AddSelectSort.js +5 -5
  23. package/es/components/AddSelect/types/index.d.ts +44 -0
  24. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +5 -1
  25. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +12 -6
  26. package/es/components/Card/Card.js +1 -1
  27. package/es/components/CreateInfluencer/CreateInfluencer.js +1 -1
  28. package/es/components/CreateTearsheet/CreateTearsheetStep.d.ts +95 -2
  29. package/es/components/CreateTearsheet/CreateTearsheetStep.js +7 -5
  30. package/es/components/DataSpreadsheet/DataSpreadsheet.js +4 -3
  31. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +5 -0
  32. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +5 -1
  33. package/es/components/ExpressiveCard/ExpressiveCard.d.ts +2 -1
  34. package/es/components/Guidebanner/Guidebanner.d.ts +62 -2
  35. package/es/components/Guidebanner/Guidebanner.js +8 -7
  36. package/es/components/Guidebanner/GuidebannerElement.d.ts +30 -17
  37. package/es/components/Guidebanner/GuidebannerElement.js +4 -4
  38. package/es/components/Guidebanner/GuidebannerElementButton.d.ts +29 -15
  39. package/es/components/Guidebanner/GuidebannerElementButton.js +10 -4
  40. package/es/components/Guidebanner/GuidebannerElementLink.d.ts +20 -13
  41. package/es/components/Guidebanner/GuidebannerElementLink.js +3 -3
  42. package/es/components/InterstitialScreen/InterstitialScreen.js +3 -1
  43. package/es/components/MultiAddSelect/MultiAddSelect.d.ts +134 -2
  44. package/es/components/MultiAddSelect/MultiAddSelect.js +2 -1
  45. package/es/components/NotificationsPanel/NotificationsPanel.js +0 -1
  46. package/es/components/PageHeader/PageHeader.d.ts +298 -5
  47. package/es/components/PageHeader/PageHeader.js +98 -47
  48. package/es/components/PageHeader/PageHeaderUtils.d.ts +1 -1
  49. package/es/components/PageHeader/PageHeaderUtils.js +4 -1
  50. package/es/components/SidePanel/SidePanel.d.ts +6 -2
  51. package/es/components/SidePanel/SidePanel.js +17 -2
  52. package/es/components/SidePanel/constants.d.ts +1 -0
  53. package/es/components/SidePanel/constants.js +1 -0
  54. package/es/components/SingleAddSelect/SingleAddSelect.d.ts +69 -2
  55. package/es/components/SingleAddSelect/SingleAddSelect.js +2 -1
  56. package/es/components/Tearsheet/Tearsheet.d.ts +132 -6
  57. package/es/components/Tearsheet/Tearsheet.js +25 -13
  58. package/es/components/Tearsheet/TearsheetShell.d.ts +5 -1
  59. package/es/components/Tearsheet/TearsheetShell.js +26 -4
  60. package/es/components/WebTerminal/WebTerminal.d.ts +4 -0
  61. package/es/components/WebTerminal/WebTerminal.js +11 -3
  62. package/es/global/js/hooks/useFocus.d.ts +3 -1
  63. package/es/global/js/hooks/useFocus.js +6 -3
  64. package/es/global/js/hooks/useRetrieveStepData.d.ts +1 -1
  65. package/es/global/js/hooks/useRetrieveStepData.js +1 -1
  66. package/lib/components/AddSelect/AddSelect.d.ts +44 -2
  67. package/lib/components/AddSelect/AddSelect.js +7 -3
  68. package/lib/components/AddSelect/AddSelectBody.d.ts +44 -2
  69. package/lib/components/AddSelect/AddSelectBody.js +10 -12
  70. package/lib/components/AddSelect/AddSelectSort.d.ts +16 -17
  71. package/lib/components/AddSelect/AddSelectSort.js +5 -5
  72. package/lib/components/AddSelect/types/index.d.ts +44 -0
  73. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +5 -1
  74. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +12 -6
  75. package/lib/components/Card/Card.js +1 -1
  76. package/lib/components/CreateInfluencer/CreateInfluencer.js +1 -1
  77. package/lib/components/CreateTearsheet/CreateTearsheetStep.d.ts +95 -2
  78. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +7 -5
  79. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +4 -3
  80. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +5 -0
  81. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +5 -1
  82. package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +2 -1
  83. package/lib/components/Guidebanner/Guidebanner.d.ts +62 -2
  84. package/lib/components/Guidebanner/Guidebanner.js +8 -7
  85. package/lib/components/Guidebanner/GuidebannerElement.d.ts +30 -17
  86. package/lib/components/Guidebanner/GuidebannerElement.js +4 -4
  87. package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +29 -15
  88. package/lib/components/Guidebanner/GuidebannerElementButton.js +10 -4
  89. package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +20 -13
  90. package/lib/components/Guidebanner/GuidebannerElementLink.js +3 -3
  91. package/lib/components/InterstitialScreen/InterstitialScreen.js +3 -1
  92. package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +134 -2
  93. package/lib/components/MultiAddSelect/MultiAddSelect.js +2 -1
  94. package/lib/components/NotificationsPanel/NotificationsPanel.js +0 -1
  95. package/lib/components/PageHeader/PageHeader.d.ts +298 -5
  96. package/lib/components/PageHeader/PageHeader.js +98 -47
  97. package/lib/components/PageHeader/PageHeaderUtils.d.ts +1 -1
  98. package/lib/components/PageHeader/PageHeaderUtils.js +4 -1
  99. package/lib/components/SidePanel/SidePanel.d.ts +6 -2
  100. package/lib/components/SidePanel/SidePanel.js +17 -2
  101. package/lib/components/SidePanel/constants.d.ts +1 -0
  102. package/lib/components/SidePanel/constants.js +1 -0
  103. package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +69 -2
  104. package/lib/components/SingleAddSelect/SingleAddSelect.js +2 -1
  105. package/lib/components/Tearsheet/Tearsheet.d.ts +132 -6
  106. package/lib/components/Tearsheet/Tearsheet.js +25 -13
  107. package/lib/components/Tearsheet/TearsheetShell.d.ts +5 -1
  108. package/lib/components/Tearsheet/TearsheetShell.js +26 -4
  109. package/lib/components/WebTerminal/WebTerminal.d.ts +4 -0
  110. package/lib/components/WebTerminal/WebTerminal.js +11 -3
  111. package/lib/global/js/hooks/useFocus.d.ts +3 -1
  112. package/lib/global/js/hooks/useFocus.js +6 -3
  113. package/lib/global/js/hooks/useRetrieveStepData.d.ts +1 -1
  114. package/lib/global/js/hooks/useRetrieveStepData.js +1 -1
  115. package/package.json +3 -3
  116. package/scss/components/CoachmarkStack/_coachmark-stack.scss +4 -2
  117. package/scss/components/SidePanel/_side-panel-variables.scss +1 -0
  118. package/scss/components/StringFormatter/_string-formatter.scss +1 -1
  119. package/telemetry.yml +2 -0
@@ -1,19 +1,32 @@
1
- export function GuidebannerElement({ button, className, description, title, ...rest }: {
2
- [x: string]: any;
3
- button: any;
4
- className: any;
5
- description: any;
6
- title: any;
7
- }): import("react/jsx-runtime").JSX.Element;
8
- export namespace GuidebannerElement {
9
- export { componentName as displayName };
10
- export namespace propTypes {
11
- let button: PropTypes.Requireable<PropTypes.ReactNodeLike>;
12
- let className: PropTypes.Requireable<string>;
13
- let description: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
14
- let title: PropTypes.Requireable<string>;
15
- }
1
+ /**
2
+ * Copyright IBM Corp. 2023, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import React, { ReactNode } from 'react';
8
+ interface GuidebannerElementProps {
9
+ /**
10
+ * An optional button can be rendered below the description.
11
+ * This can be a link, button, Coachmark button, etc.
12
+ */
13
+ button?: ReactNode;
14
+ /**
15
+ * Provide an optional class to be applied to the containing node.
16
+ */
17
+ className?: string;
18
+ /**
19
+ * The description of the element.
20
+ */
21
+ description: ReactNode;
22
+ /**
23
+ * The title of the element.
24
+ */
25
+ title?: string;
16
26
  }
17
- declare const componentName: "GuidebannerElement";
18
- import PropTypes from 'prop-types';
27
+ /**
28
+ * The GuidebannerElement is a required child component of the Guidebanner,
29
+ * and acts as a container for a CarouselItem.
30
+ */
31
+ export declare let GuidebannerElement: React.ForwardRefExoticComponent<GuidebannerElementProps & React.RefAttributes<HTMLDivElement>>;
19
32
  export {};
@@ -26,19 +26,19 @@ var _excluded = ["button", "className", "description", "title"];
26
26
  // The block part of our conventional BEM class names (blockClass__E--M).
27
27
  var blockClass = "".concat(settings.pkg.prefix, "--guidebanner__element");
28
28
  var componentName = 'GuidebannerElement';
29
-
30
29
  /**
31
30
  * The GuidebannerElement is a required child component of the Guidebanner,
32
31
  * and acts as a container for a CarouselItem.
33
32
  */
34
- exports.GuidebannerElement = function GuidebannerElement(_ref) {
33
+ exports.GuidebannerElement = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
35
34
  var button = _ref.button,
36
35
  className = _ref.className,
37
36
  description = _ref.description,
38
37
  title = _ref.title,
39
38
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
40
39
  return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
41
- className: cx__default["default"](blockClass, className)
40
+ className: cx__default["default"](blockClass, className),
41
+ ref: ref
42
42
  }, devtools.getDevtoolsProps(componentName)), title && /*#__PURE__*/React__default["default"].createElement("h2", {
43
43
  className: "".concat(blockClass, "-title")
44
44
  }, title), description && /*#__PURE__*/React__default["default"].createElement("p", {
@@ -46,7 +46,7 @@ exports.GuidebannerElement = function GuidebannerElement(_ref) {
46
46
  }, description), button && /*#__PURE__*/React__default["default"].createElement("div", {
47
47
  className: "".concat(blockClass, "-buttons")
48
48
  }, button));
49
- };
49
+ });
50
50
 
51
51
  // Return a placeholder if not released and not enabled by feature flag
52
52
  exports.GuidebannerElement = settings.pkg.checkComponentEnabled(exports.GuidebannerElement, componentName);
@@ -1,17 +1,31 @@
1
- export function GuidebannerElementButton({ children, className, type, ...rest }: {
2
- [x: string]: any;
3
- children: any;
4
- className: any;
5
- type: any;
6
- }): import("react/jsx-runtime").JSX.Element;
7
- export namespace GuidebannerElementButton {
8
- export { componentName as displayName };
9
- export namespace propTypes {
10
- let children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
11
- let className: PropTypes.Requireable<string>;
12
- let type: PropTypes.Requireable<string>;
13
- }
1
+ /**
2
+ * Copyright IBM Corp. 2023, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import React, { ReactNode } from 'react';
8
+ interface GuidebannerElementButtonProps {
9
+ /**
10
+ * Provide the contents of the GuidebannerElementLink.
11
+ */
12
+ children: ReactNode;
13
+ /**
14
+ * Provide an optional class to be applied to the containing node.
15
+ */
16
+ className?: string;
17
+ /**
18
+ * Provide a description for the icon.
19
+ */
20
+ iconDescription?: string;
21
+ /**
22
+ * If type is "primary", then return a tertiary button with the "crossroads" icon,
23
+ * else return a ghost button.
24
+ */
25
+ type?: string;
14
26
  }
15
- declare const componentName: "GuidebannerElementButton";
16
- import PropTypes from 'prop-types';
27
+ /**
28
+ * One of two buttons styled specifically for the GuidebannerElement.
29
+ */
30
+ export declare let GuidebannerElementButton: React.ForwardRefExoticComponent<GuidebannerElementButtonProps & React.RefAttributes<Button>>;
17
31
  export {};
@@ -24,25 +24,31 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
24
24
  var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
25
25
 
26
26
  var _Crossroads;
27
- var _excluded = ["children", "className", "type"];
27
+ var _excluded = ["children", "className", "iconDescription", "type"];
28
28
 
29
29
  // The block part of our conventional BEM class names (blockClass__E--M).
30
30
  var blockClass = "".concat(settings.pkg.prefix, "--guidebanner__element-button");
31
31
  var componentName = 'GuidebannerElementButton';
32
+ var defaults = {
33
+ iconDescription: 'Crossroads'
34
+ };
32
35
 
33
36
  /**
34
37
  * One of two buttons styled specifically for the GuidebannerElement.
35
38
  */
36
- exports.GuidebannerElementButton = function GuidebannerElementButton(_ref) {
39
+ exports.GuidebannerElementButton = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
37
40
  var children = _ref.children,
38
41
  className = _ref.className,
42
+ _ref$iconDescription = _ref.iconDescription,
43
+ iconDescription = _ref$iconDescription === void 0 ? defaults.iconDescription : _ref$iconDescription,
39
44
  type = _ref.type,
40
45
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
41
46
  if (type === 'primary') {
42
47
  return /*#__PURE__*/React__default["default"].createElement(react.Button, _rollupPluginBabelHelpers["extends"]({}, rest, {
43
48
  className: cx__default["default"](blockClass, className),
44
- iconDescription: 'Crossroads',
49
+ iconDescription: iconDescription,
45
50
  kind: "tertiary",
51
+ ref: ref,
46
52
  renderIcon: function renderIcon() {
47
53
  return _Crossroads || (_Crossroads = /*#__PURE__*/React__default["default"].createElement(icons.Crossroads, {
48
54
  size: 16
@@ -58,7 +64,7 @@ exports.GuidebannerElementButton = function GuidebannerElementButton(_ref) {
58
64
  role: "button",
59
65
  size: "md"
60
66
  }, devtools.getDevtoolsProps(componentName)), children);
61
- };
67
+ });
62
68
 
63
69
  // Return a placeholder if not released and not enabled by feature flag
64
70
  exports.GuidebannerElementButton = settings.pkg.checkComponentEnabled(exports.GuidebannerElementButton, componentName);
@@ -1,15 +1,22 @@
1
- export function GuidebannerElementLink({ children, className, ...rest }: {
2
- [x: string]: any;
3
- children: any;
4
- className: any;
5
- }): import("react/jsx-runtime").JSX.Element;
6
- export namespace GuidebannerElementLink {
7
- export { componentName as displayName };
8
- export namespace propTypes {
9
- let children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
10
- let className: PropTypes.Requireable<string>;
11
- }
1
+ /**
2
+ * Copyright IBM Corp. 2023, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import React, { ReactNode } from 'react';
8
+ interface GuidebannerElementLinkProps {
9
+ /**
10
+ * Provide the contents of the GuidebannerElementLink.
11
+ */
12
+ children: ReactNode;
13
+ /**
14
+ * Provide an optional class to be applied to the containing node.
15
+ */
16
+ className?: string;
12
17
  }
13
- declare const componentName: "GuidebannerElementLink";
14
- import PropTypes from 'prop-types';
18
+ /**
19
+ * A link styled specifically for the GuidebannerElement.
20
+ */
21
+ export declare let GuidebannerElementLink: React.ForwardRefExoticComponent<GuidebannerElementLinkProps & React.RefAttributes<Link>>;
15
22
  export {};
@@ -27,21 +27,21 @@ var _excluded = ["children", "className"];
27
27
  // The block part of our conventional BEM class names (blockClass__E--M).
28
28
  var blockClass = "".concat(settings.pkg.prefix, "--guidebanner__element-link");
29
29
  var componentName = 'GuidebannerElementLink';
30
-
31
30
  /**
32
31
  * A link styled specifically for the GuidebannerElement.
33
32
  */
34
- exports.GuidebannerElementLink = function GuidebannerElementLink(_ref) {
33
+ exports.GuidebannerElementLink = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
35
34
  var children = _ref.children,
36
35
  className = _ref.className,
37
36
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
38
37
  return /*#__PURE__*/React__default["default"].createElement(react.Link, _rollupPluginBabelHelpers["extends"]({}, rest, {
39
38
  className: cx__default["default"](blockClass, className),
40
39
  kind: "ghost",
40
+ ref: ref,
41
41
  role: "link",
42
42
  size: "md"
43
43
  }, devtools.getDevtoolsProps(componentName)), children);
44
- };
44
+ });
45
45
 
46
46
  // Return a placeholder if not released and not enabled by feature flag
47
47
  exports.GuidebannerElementLink = settings.pkg.checkComponentEnabled(exports.GuidebannerElementLink, componentName);
@@ -223,6 +223,7 @@ exports.InterstitialScreen = /*#__PURE__*/React__default["default"].forwardRef(f
223
223
  className,
224
224
  // Apply any supplied class names to the main HTML element.
225
225
  variantClass, isVisibleClass),
226
+ role: "main",
226
227
  "aria-label": interstitialAriaLabel,
227
228
  ref: ref
228
229
  }, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -248,7 +249,8 @@ exports.InterstitialScreen = /*#__PURE__*/React__default["default"].forwardRef(f
248
249
  var renderBody = function renderBody() {
249
250
  return /*#__PURE__*/React__default["default"].createElement("div", {
250
251
  className: cx__default["default"]("".concat(blockClass, "--body")),
251
- ref: bodyScrollRef
252
+ ref: bodyScrollRef,
253
+ tabIndex: 0
252
254
  }, mediaIsDefined ? /*#__PURE__*/React__default["default"].createElement(react.FlexGrid, {
253
255
  fullWidth: true,
254
256
  className: cx__default["default"]("".concat(blockClass, "--body-grid"))
@@ -1,5 +1,137 @@
1
+ import React, { ReactNode } from 'react';
2
+ type Filter = {
3
+ id?: string;
4
+ label?: string;
5
+ };
6
+ type Modifier = {
7
+ label?: string;
8
+ options?: string[];
9
+ };
10
+ interface Entry {
11
+ avatar?: {
12
+ alt?: string;
13
+ icon?: () => void;
14
+ src?: string;
15
+ theme?: 'light' | 'dark';
16
+ };
17
+ children?: ReactNode;
18
+ icon?: () => void;
19
+ id: string;
20
+ subtitle?: string;
21
+ title: string;
22
+ value: string;
23
+ }
24
+ type Theme = 'light' | 'dark';
25
+ type ItemType = {
26
+ entries?: Entry[];
27
+ modifiers: Modifier;
28
+ sortBy: string[];
29
+ filterBy: string[];
30
+ };
31
+ interface MultiAddSelectProps {
32
+ /**
33
+ * optional class name
34
+ */
35
+ className?: string;
36
+ /**
37
+ * placeholder for column input filter
38
+ */
39
+ columnInputPlaceholder?: string;
40
+ /**
41
+ * text description that appears under the title
42
+ */
43
+ description?: string;
44
+ /**
45
+ * options to display in the global filter box. values are generated
46
+ * from the id which should correlate with a specific property in an
47
+ * item entry
48
+ */
49
+ globalFilters?: Filter[];
50
+ globalFiltersIconDescription?: string;
51
+ /**
52
+ * placeholder text for the global filter dropdown
53
+ */
54
+ globalFiltersPlaceholderText?: string;
55
+ /**
56
+ * text for the global filter primary button
57
+ */
58
+ globalFiltersPrimaryButtonText?: string;
59
+ /**
60
+ * text for the global filter secondary button
61
+ */
62
+ globalFiltersSecondaryButtonText?: string;
63
+ /**
64
+ * label for global search input
65
+ */
66
+ globalSearchLabel?: string;
67
+ /**
68
+ * placeholder for global search input
69
+ */
70
+ globalSearchPlaceholder?: string;
71
+ /**
72
+ * the theme for the empty state illustration
73
+ */
74
+ illustrationTheme?: Theme;
75
+ /**
76
+ * title that displays in the sidebar / influencer
77
+ */
78
+ influencerTitle?: string;
79
+ /**
80
+ * object that contains the item data. for more information reference the
81
+ * "Structuring items" section in the docs tab
82
+ */
83
+ items?: ItemType;
84
+ /**
85
+ * label that display above the list of items
86
+ */
87
+ itemsLabel?: string;
88
+ /**
89
+ * text to display when no results are found from the global search
90
+ */
91
+ noResultsDescription?: string;
92
+ /**
93
+ * title to display when no results are found from the global search
94
+ */
95
+ noResultsTitle?: string;
96
+ /**
97
+ * text body that displays in the sidebar when nothing is selected
98
+ */
99
+ noSelectionDescription?: string;
100
+ /**
101
+ * title that displays in the sidebar when nothing is selected
102
+ */
103
+ noSelectionTitle?: string;
104
+ /**
105
+ * function to call when the close button clicked
106
+ */
107
+ onClose?: () => void;
108
+ /**
109
+ * text for close button
110
+ */
111
+ onCloseButtonText?: string;
112
+ /**
113
+ * function to call when the submit button is clicked. returns a selection
114
+ */
115
+ onSubmit?: () => void;
116
+ /**
117
+ * text for the submit button
118
+ */
119
+ onSubmitButtonText?: string;
120
+ /**
121
+ * specifies if the component is open or not
122
+ */
123
+ open?: boolean;
124
+ /**
125
+ * text that displays when displaying filtered items
126
+ */
127
+ searchResultsTitle?: string;
128
+ /**
129
+ * header text
130
+ */
131
+ title?: string;
132
+ }
1
133
  /**
2
134
  * Used to add or select multiple or more items from larger lists or hierarchies.
3
135
  */
4
- export let MultiAddSelect: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
5
- import React from 'react';
136
+ export declare let MultiAddSelect: React.ForwardRefExoticComponent<MultiAddSelectProps & React.RefAttributes<HTMLDivElement>>;
137
+ export {};
@@ -21,7 +21,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
21
21
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
22
22
 
23
23
  var componentName = 'MultiAddSelect';
24
-
25
24
  /**
26
25
  * Used to add or select multiple or more items from larger lists or hierarchies.
27
26
  */
@@ -50,6 +49,7 @@ exports.MultiAddSelect.propTypes = {
50
49
  * from the id which should correlate with a specific property in an
51
50
  * item entry
52
51
  */
52
+ /**@ts-ignore */
53
53
  globalFilters: index["default"].arrayOf(index["default"].shape({
54
54
  id: index["default"].string,
55
55
  label: index["default"].string
@@ -87,6 +87,7 @@ exports.MultiAddSelect.propTypes = {
87
87
  * object that contains the item data. for more information reference the
88
88
  * "Structuring items" section in the docs tab
89
89
  */
90
+ /**@ts-ignore */
90
91
  items: index["default"].shape({
91
92
  modifiers: index["default"].shape({
92
93
  label: index["default"].string,
@@ -252,7 +252,6 @@ exports.NotificationsPanel = /*#__PURE__*/React__default["default"].forwardRef(f
252
252
  var notificationClassName = cx__default["default"](["".concat(blockClass, "__notification"), "".concat(blockClass, "__notification-").concat(group)]);
253
253
  var notificationHeaderClassName = cx__default["default"](["".concat(blockClass, "__notification-title"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__notification-title-unread"), notification.unread)]);
254
254
  return /*#__PURE__*/React__default["default"].createElement("div", {
255
- "aria-label": notification.title,
256
255
  key: "".concat(notification.timestamp, "-").concat(notification.title, "-").concat(index),
257
256
  className: notificationClassName,
258
257
  role: "button",