@agility/plenum-ui 1.2.6 → 1.2.9

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/.prettierrc CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "singleQuote": false,
3
- "printWidth": 100,
3
+ "printWidth": 80,
4
4
  "editor.formatOnSave": true,
5
5
  "proseWrap": "preserve",
6
6
  "tabWidth": 4,
@@ -22,7 +22,7 @@ export interface ComboboxProps<T extends Record<string, unknown>> {
22
22
  isRequired?: boolean;
23
23
  /** Message shown under field */
24
24
  message?: string;
25
- value?: string;
25
+ displayValue?: string;
26
26
  /**
27
27
  * Whether this item is nullable or not.
28
28
  *
@@ -31,4 +31,4 @@ export interface ComboboxProps<T extends Record<string, unknown>> {
31
31
  */
32
32
  nullable?: boolean;
33
33
  }
34
- export declare const Combobox: <T extends Record<string, unknown>>({ label, items, displayProperty, keyProperty, onChange, placeholder, message, isDisabled, isError, isRequired, id, nullable }: ComboboxProps<T>) => JSX.Element;
34
+ export declare const Combobox: <T extends Record<string, unknown>>({ label, items, displayProperty, displayValue, keyProperty, onChange, placeholder, message, isDisabled, isError, isRequired, id, nullable }: ComboboxProps<T>) => JSX.Element;
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- declare type Type = 'text' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'url' | 'date' | 'datetime-local' | 'month' | 'time' | 'week' | 'currency';
1
+ import { FC } from "react";
2
+ declare type Type = "text" | "email" | "number" | "password" | "search" | "tel" | "url" | "date" | "datetime-local" | "month" | "time" | "week" | "currency";
3
3
  export declare type SelectOptions = {
4
4
  label: string;
5
5
  value: string;
@@ -34,7 +34,7 @@ export interface TextInputSelectProps {
34
34
  /** Max length of input character */
35
35
  maxLength?: number;
36
36
  /** Select input location */
37
- selectLocation?: 'left' | 'right';
37
+ selectLocation?: "left" | "right";
38
38
  /** Prefix */
39
39
  prefix?: string;
40
40
  /** List of options to show on the select field */