catchup-library-web 2.0.20 → 2.0.21

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/dist/index.d.mts CHANGED
@@ -291,6 +291,8 @@ interface IInputGroupProps {
291
291
  defaultValue?: string;
292
292
  placeholder?: string;
293
293
  value: string;
294
+ minValue?: string;
295
+ maxValue?: string;
294
296
  onFocus?: (e: any) => void;
295
297
  onChange?: (e: any) => void;
296
298
  onClick?: (e: any) => void;
@@ -355,7 +357,7 @@ declare global {
355
357
  }
356
358
  }
357
359
  }
358
- declare const InputGroup: ({ type, title, defaultValue, placeholder, value, onFocus, onChange, onClick, onKeyDown, optionList, errorText, multiple, accept, theme, useMinHeight, disabled, limit, useMath, }: IInputGroupProps) => react_jsx_runtime.JSX.Element;
360
+ declare const InputGroup: ({ type, title, defaultValue, placeholder, value, minValue, maxValue, onFocus, onChange, onClick, onKeyDown, optionList, errorText, multiple, accept, theme, useMinHeight, disabled, limit, useMath, }: IInputGroupProps) => react_jsx_runtime.JSX.Element;
359
361
 
360
362
  declare const LeftTextRightInputGroup: ({ type, title, value, optionList, onChange, disabled, errorText, }: ILeftTextRightInputGroupProps) => react_jsx_runtime.JSX.Element;
361
363
 
package/dist/index.d.ts CHANGED
@@ -291,6 +291,8 @@ interface IInputGroupProps {
291
291
  defaultValue?: string;
292
292
  placeholder?: string;
293
293
  value: string;
294
+ minValue?: string;
295
+ maxValue?: string;
294
296
  onFocus?: (e: any) => void;
295
297
  onChange?: (e: any) => void;
296
298
  onClick?: (e: any) => void;
@@ -355,7 +357,7 @@ declare global {
355
357
  }
356
358
  }
357
359
  }
358
- declare const InputGroup: ({ type, title, defaultValue, placeholder, value, onFocus, onChange, onClick, onKeyDown, optionList, errorText, multiple, accept, theme, useMinHeight, disabled, limit, useMath, }: IInputGroupProps) => react_jsx_runtime.JSX.Element;
360
+ declare const InputGroup: ({ type, title, defaultValue, placeholder, value, minValue, maxValue, onFocus, onChange, onClick, onKeyDown, optionList, errorText, multiple, accept, theme, useMinHeight, disabled, limit, useMath, }: IInputGroupProps) => react_jsx_runtime.JSX.Element;
359
361
 
360
362
  declare const LeftTextRightInputGroup: ({ type, title, value, optionList, onChange, disabled, errorText, }: ILeftTextRightInputGroupProps) => react_jsx_runtime.JSX.Element;
361
363
 
package/dist/index.js CHANGED
@@ -3818,6 +3818,8 @@ var InputGroup = ({
3818
3818
  defaultValue,
3819
3819
  placeholder,
3820
3820
  value,
3821
+ minValue,
3822
+ maxValue,
3821
3823
  onFocus,
3822
3824
  onChange,
3823
3825
  onClick,
@@ -4043,7 +4045,9 @@ var InputGroup = ({
4043
4045
  placeholder,
4044
4046
  value,
4045
4047
  onChange,
4046
- disabled
4048
+ disabled,
4049
+ min: minValue,
4050
+ max: maxValue
4047
4051
  }
4048
4052
  )
4049
4053
  ] });
package/dist/index.mjs CHANGED
@@ -3596,6 +3596,8 @@ var InputGroup = ({
3596
3596
  defaultValue,
3597
3597
  placeholder,
3598
3598
  value,
3599
+ minValue,
3600
+ maxValue,
3599
3601
  onFocus,
3600
3602
  onChange,
3601
3603
  onClick,
@@ -3821,7 +3823,9 @@ var InputGroup = ({
3821
3823
  placeholder,
3822
3824
  value,
3823
3825
  onChange,
3824
- disabled
3826
+ disabled,
3827
+ min: minValue,
3828
+ max: maxValue
3825
3829
  }
3826
3830
  )
3827
3831
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "2.0.20",
3
+ "version": "2.0.21",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -50,6 +50,8 @@ const InputGroup = ({
50
50
  defaultValue,
51
51
  placeholder,
52
52
  value,
53
+ minValue,
54
+ maxValue,
53
55
  onFocus,
54
56
  onChange,
55
57
  onClick,
@@ -299,6 +301,8 @@ const InputGroup = ({
299
301
  value={value}
300
302
  onChange={onChange}
301
303
  disabled={disabled}
304
+ min={minValue}
305
+ max={maxValue}
302
306
  />
303
307
  </div>
304
308
  );
@@ -4,6 +4,8 @@ export interface IInputGroupProps {
4
4
  defaultValue?: string;
5
5
  placeholder?: string;
6
6
  value: string;
7
+ minValue?: string;
8
+ maxValue?: string;
7
9
  onFocus?: (e: any) => void;
8
10
  onChange?: (e: any) => void;
9
11
  onClick?: (e: any) => void;