@epilot/base-elements 2.9.0 → 2.10.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.10.0](https://gitlab.com/e-pilot/product/frontend/base/elements/compare/v2.9.0...v2.10.0) (2022-11-15)
6
+
7
+
8
+ ### Features
9
+
10
+ * change select label type from string to react node ([c31b8d5](https://gitlab.com/e-pilot/product/frontend/base/elements/commit/c31b8d56b14472b70aeb66fea829906a7cf8f5bf))
11
+
5
12
  ## [2.9.0](https://gitlab.com/e-pilot/product/frontend/base/elements/compare/v2.8.0...v2.9.0) (2022-10-26)
6
13
 
7
14
 
@@ -1,6 +1,6 @@
1
1
  import { SelectProps as MuiSelectProps, FormControlProps as MuiFormControlProps } from '@material-ui/core';
2
2
  import { SelectInputProps } from '@material-ui/core/Select/SelectInput';
3
- import { CSSProperties } from 'react';
3
+ import React, { CSSProperties } from 'react';
4
4
  export interface SelectProps extends Omit<MuiSelectProps, 'error'> {
5
5
  /**
6
6
  * The content of the select.
@@ -27,7 +27,7 @@ export interface SelectProps extends Omit<MuiSelectProps, 'error'> {
27
27
  * The text to be used in an enclosing label element.
28
28
  * It works as a placeholder when the select is empty.
29
29
  */
30
- label?: string;
30
+ label?: React.ReactNode;
31
31
  /**
32
32
  * The variant to use
33
33
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/base-elements",
3
- "version": "2.9.0",
3
+ "version": "2.10.0",
4
4
  "author": {
5
5
  "name": "epilot GmbH",
6
6
  "email": "info@epilot.cloud",