@edvisor/product-language 0.10.23 → 0.10.25

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.
@@ -62,6 +62,7 @@ export declare const IconListMinor: {
62
62
  readonly calendar: JSX.Element;
63
63
  readonly campground: JSX.Element;
64
64
  readonly 'cart-shopping': JSX.Element;
65
+ readonly 'cart-shopping-plus': JSX.Element;
65
66
  readonly 'chart-pie-simple': JSX.Element;
66
67
  readonly check: JSX.Element;
67
68
  readonly 'chevron-down-solid': JSX.Element;
@@ -90,6 +91,7 @@ export declare const IconListMinor: {
90
91
  readonly h1: JSX.Element;
91
92
  readonly 'heart-solid': JSX.Element;
92
93
  readonly heart: JSX.Element;
94
+ readonly 'heart-on-media': JSX.Element;
93
95
  readonly instagram: JSX.Element;
94
96
  readonly italic: JSX.Element;
95
97
  readonly link: JSX.Element;
@@ -128,5 +130,6 @@ export declare const IconListMinor: {
128
130
  readonly wifi: JSX.Element;
129
131
  readonly xmark: JSX.Element;
130
132
  readonly youtube: JSX.Element;
133
+ readonly 'virus-covid': JSX.Element;
131
134
  };
132
135
  export declare type IconNames = keyof typeof IconListMajor & keyof typeof IconListMajor;
@@ -62,6 +62,7 @@ export declare const IconMinor: {
62
62
  Calendar: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
63
63
  Campground: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
64
64
  CartShopping: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
65
+ CartShoppingPlus: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
65
66
  ChartPieSimple: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
66
67
  Check: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
67
68
  ChevronDownSolid: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
@@ -90,6 +91,7 @@ export declare const IconMinor: {
90
91
  H1: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
91
92
  Heart: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
92
93
  HeartSolid: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
94
+ HeartOnMedia: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
93
95
  Instagram: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
94
96
  Italic: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
95
97
  Link: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
@@ -128,4 +130,5 @@ export declare const IconMinor: {
128
130
  Wifi: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
129
131
  Xmark: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
130
132
  Youtube: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
133
+ VirusCovid: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
131
134
  };
@@ -9,6 +9,7 @@ export interface ISelectProps<T = any> {
9
9
  emptyText?: string;
10
10
  clearable?: boolean;
11
11
  searchable?: boolean;
12
+ iconPosition?: 'left' | 'right';
12
13
  disabled?: boolean;
13
14
  multi?: boolean;
14
15
  invalid?: boolean;
@@ -23,6 +24,7 @@ export interface ISelectProps<T = any> {
23
24
  labelPosition?: 'top' | 'side';
24
25
  labelComponent?: FC<LabelComponentProps<T>>;
25
26
  menuComponent?: FC<IMenuComponentProps>;
27
+ maxLength?: number;
26
28
  onChange?(value: T[] | T | undefined, option?: IOption<T>): void;
27
29
  onSearch?(value: string): void;
28
30
  onOpen?(): void;
@@ -35,6 +37,7 @@ export interface IValueProps {
35
37
  placeholder: ISelectProps['placeholder'];
36
38
  clearable: ISelectProps['clearable'];
37
39
  searchable: ISelectProps['searchable'];
40
+ iconPosition: ISelectProps['iconPosition'];
38
41
  labelComponent: ISelectProps['labelComponent'];
39
42
  multi: ISelectProps['multi'];
40
43
  disabled: ISelectProps['disabled'];
@@ -45,6 +48,7 @@ export interface IValueProps {
45
48
  focused?: boolean;
46
49
  label: ISelectProps['label'];
47
50
  labelPosition: ISelectProps['labelPosition'];
51
+ maxLength?: ISelectProps['maxLength'];
48
52
  onClear(): void;
49
53
  onClick(): void;
50
54
  onSearch(search: string): void;
@@ -132,4 +136,8 @@ export declare const enum labelPositionType {
132
136
  TOP = "top",
133
137
  SIDE = "side"
134
138
  }
139
+ export declare const enum iconPositionType {
140
+ LEFT = "left",
141
+ RIGHT = "right"
142
+ }
135
143
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edvisor/product-language",
3
- "version": "0.10.23",
3
+ "version": "0.10.25",
4
4
  "license": "MIT",
5
5
  "description": "Edvisor.io product-language components",
6
6
  "repository": "https://github.com/edvisor-io/front-end/",