@elastic/eui 74.0.0 → 74.0.1

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.
@@ -32,11 +32,6 @@ export var EuiModalHeaderTitle = function EuiModalHeaderTitle(_ref) {
32
32
  }, rest), ___EmotionJSX(Component, null, children));
33
33
  };
34
34
  EuiModalHeaderTitle.propTypes = {
35
- className: PropTypes.string,
36
- "aria-label": PropTypes.string,
37
- "data-test-subj": PropTypes.string,
38
- css: PropTypes.any,
39
-
40
35
  /**
41
36
  * The tag to render. Can be changed to a lower heading
42
37
  * level like `h2` or a container `div`.
package/eui.d.ts CHANGED
@@ -15878,8 +15878,8 @@ declare module '@elastic/eui/src/components/modal/modal_header' {
15878
15878
  }
15879
15879
  declare module '@elastic/eui/src/components/modal/modal_header_title' {
15880
15880
  import { FunctionComponent, HTMLAttributes, ElementType } from 'react';
15881
- import { CommonProps } from '@elastic/eui/src/components/common';
15882
- export type EuiModalHeaderTitleProps = FunctionComponent<HTMLAttributes<HTMLHeadingElement> & CommonProps & {
15881
+ import { EuiTitleProps } from '@elastic/eui/src/components/title';
15882
+ export type EuiModalHeaderTitleProps = FunctionComponent<Omit<EuiTitleProps, 'children'> & HTMLAttributes<HTMLHeadingElement> & {
15883
15883
  /**
15884
15884
  * The tag to render. Can be changed to a lower heading
15885
15885
  * level like `h2` or a container `div`.
@@ -41,11 +41,6 @@ var EuiModalHeaderTitle = function EuiModalHeaderTitle(_ref) {
41
41
 
42
42
  exports.EuiModalHeaderTitle = EuiModalHeaderTitle;
43
43
  EuiModalHeaderTitle.propTypes = {
44
- className: _propTypes.default.string,
45
- "aria-label": _propTypes.default.string,
46
- "data-test-subj": _propTypes.default.string,
47
- css: _propTypes.default.any,
48
-
49
44
  /**
50
45
  * The tag to render. Can be changed to a lower heading
51
46
  * level like `h2` or a container `div`.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elastic/eui",
3
3
  "description": "Elastic UI Component Library",
4
- "version": "74.0.0",
4
+ "version": "74.0.1",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -38,11 +38,6 @@ var EuiModalHeaderTitle = function EuiModalHeaderTitle(_ref) {
38
38
 
39
39
  exports.EuiModalHeaderTitle = EuiModalHeaderTitle;
40
40
  EuiModalHeaderTitle.propTypes = {
41
- className: _propTypes.default.string,
42
- "aria-label": _propTypes.default.string,
43
- "data-test-subj": _propTypes.default.string,
44
- css: _propTypes.default.any,
45
-
46
41
  /**
47
42
  * The tag to render. Can be changed to a lower heading
48
43
  * level like `h2` or a container `div`.