@trackunit/react-form-components 0.0.204 → 0.0.206

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-components",
3
- "version": "0.0.204",
3
+ "version": "0.0.206",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -9,16 +9,16 @@
9
9
  "dependencies": {
10
10
  "@trackunit/react-components": "*",
11
11
  "@trackunit/ui-icons": "*",
12
- "@trackunit/css-class-variance-utilities": "*",
13
12
  "react": "^18.2.0",
14
- "uuid": "^8.3.2",
15
- "date-fns": "^2.29.3",
16
- "react-select": "^5.7.7",
17
- "libphonenumber-js": "^1.10.36",
13
+ "uuid": "^9.0.1",
14
+ "date-fns": "^2.30.0",
15
+ "react-select": "^5.8.0",
16
+ "libphonenumber-js": "1.10.36",
18
17
  "@trackunit/shared-utils": "*",
19
18
  "@testing-library/react": "14.0.0",
20
- "@trackunit/i18n-library-translation": "*",
21
- "jest-fetch-mock": "^3.0.3"
19
+ "jest-fetch-mock": "^3.0.3",
20
+ "@trackunit/css-class-variance-utilities": "*",
21
+ "@trackunit/i18n-library-translation": "*"
22
22
  },
23
23
  "module": "./index.esm.js",
24
24
  "main": "./index.cjs.js"
@@ -12,7 +12,6 @@ export interface SelectProps<Option, IsAsync extends boolean, IsMulti extends bo
12
12
  * An React element to render before the text in the select.
13
13
  * This is typically used to render an icon.
14
14
  *
15
- *
16
15
  * @memberof SelectProps
17
16
  */
18
17
  prefix?: JSX.Element;
@@ -20,28 +19,24 @@ export interface SelectProps<Option, IsAsync extends boolean, IsMulti extends bo
20
19
  * An string to render in field when there is no value selected.
21
20
  * Can be used as a description, example or a hint.
22
21
  *
23
- *
24
22
  * @memberof SelectProps
25
23
  */
26
24
  placeholder?: string;
27
25
  /**
28
26
  * An boolean flag to disable field
29
27
  *
30
- *
31
28
  * @memberof SelectProps
32
29
  */
33
30
  disabled?: boolean;
34
31
  /**
35
32
  * An boolean flag to make the field readonly
36
33
  *
37
- *
38
34
  * @memberof SelectProps
39
35
  */
40
36
  readOnly?: boolean;
41
37
  /**
42
38
  * An field id
43
39
  *
44
- *
45
40
  * @memberof SelectProps
46
41
  */
47
42
  id?: string;
@@ -49,7 +44,6 @@ export interface SelectProps<Option, IsAsync extends boolean, IsMulti extends bo
49
44
  * An boolean flag to set select into async mode
50
45
  * This is typically used when data is fetched after render
51
46
  *
52
- *
53
47
  * @memberof SelectProps
54
48
  */
55
49
  async?: AsyncSelect<Option, GroupType>;
@@ -57,7 +51,6 @@ export interface SelectProps<Option, IsAsync extends boolean, IsMulti extends bo
57
51
  * A custom icon to be used as a dropdown indicator
58
52
  * This is typically used during style customization
59
53
  *
60
- *
61
54
  * @memberof SelectProps
62
55
  */
63
56
  dropdownIcon?: JSX.Element;
@@ -65,14 +58,12 @@ export interface SelectProps<Option, IsAsync extends boolean, IsMulti extends bo
65
58
  * A label to be used as a aria-label
66
59
  * This is typically used for accessibility
67
60
  *
68
- *
69
61
  * @memberof SelectProps
70
62
  */
71
63
  label?: string;
72
64
  /**
73
65
  * A number of pixels to limit maximal length of the select menu list
74
66
  *
75
- *
76
67
  * @memberof SelectProps
77
68
  */
78
69
  maxMenuHeight?: number;
@@ -81,21 +72,18 @@ export interface SelectProps<Option, IsAsync extends boolean, IsMulti extends bo
81
72
  * typically used when selected value is not compliant with field requirement
82
73
  * ex if it breaks validation rules
83
74
  *
84
- *
85
75
  * @memberof SelectProps
86
76
  */
87
77
  hasError?: boolean;
88
78
  /**
89
79
  * A boolean flag to display loading indicator
90
80
  *
91
- *
92
81
  * @memberof SelectProps
93
82
  */
94
83
  isLoading?: boolean;
95
84
  /**
96
85
  * A number value to limit amount of visible tags for selected options
97
86
  *
98
- *
99
87
  * @memberof SelectProps
100
88
  */
101
89
  maxSelectedDisplayCount?: number;
@@ -103,7 +91,6 @@ export interface SelectProps<Option, IsAsync extends boolean, IsMulti extends bo
103
91
  * A custom handler for menu open event
104
92
  * use if you want to trigger custom logic or fetch data
105
93
  *
106
- *
107
94
  * @memberof SelectProps
108
95
  */
109
96
  onMenuOpen?: () => void;
@@ -111,14 +98,12 @@ export interface SelectProps<Option, IsAsync extends boolean, IsMulti extends bo
111
98
  * A flag to allow user to clear value once selected
112
99
  * default value is true
113
100
  *
114
- *
115
101
  * @memberof SelectProps
116
102
  */
117
103
  isClearable?: boolean;
118
104
  /**
119
105
  * A flag to allow user to filter option list by key from the text input
120
106
  *
121
- *
122
107
  * @memberof SelectProps
123
108
  */
124
109
  isSearchable?: boolean;