@muraldevkit/ui-toolkit 4.31.1 → 4.33.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.
@@ -4,6 +4,7 @@ import { DataQa } from '../../../utils/dataQa';
4
4
  export interface MrlDatePickerProps extends React.ComponentPropsWithRef<'input'>, DataQa {
5
5
  /** Id of the text input */
6
6
  inputId: string;
7
+ kind?: 'default' | 'borderless';
7
8
  /** The value of the text input used to make it a controlled input */
8
9
  value?: string;
9
10
  /**
@@ -1,9 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { GroupBase, Props } from 'react-select';
3
- import { DefaultOption } from '../types';
3
+ import { DefaultOption, SelectKind } from '../types';
4
4
  export interface MrlMultiSelectProps<T, IsMulti extends boolean = false, Group extends GroupBase<T> = GroupBase<T>> extends Omit<Props<T, IsMulti, Group>, 'isMulti' | 'hideSelectedOptions'> {
5
5
  hasError?: boolean;
6
6
  isReadOnly?: boolean;
7
+ kind?: SelectKind;
7
8
  /**
8
9
  * The data-qa prefix, it will be used to add data-qa attributes to different sub components of the MrlMultiSelect component.
9
10
  *
@@ -163,6 +163,13 @@ export interface MrlSmartTableProps extends Partial<Pick<MrlTableProps, 'aria-la
163
163
  * @default "mrl-smart-table"
164
164
  */
165
165
  dataQaPrefix?: string;
166
+ /**
167
+ * Text to be displayed when there are no rows in the table.
168
+ * Will be ignored if `emptyState` is provided.
169
+ *
170
+ * @default "There's no data available to be displayed in this table."
171
+ */
172
+ emptyStateText?: string;
166
173
  /**
167
174
  * Provides content to display when there are no rows in the table.
168
175
  *