@lumiastream/ui 0.8.6 → 0.8.8

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.
@@ -1,14 +1,17 @@
1
1
  import * as React from 'react';
2
2
  import { LSInputProps as LSInputProps$1 } from './LSInput.js';
3
+ import { LSSliderProps } from './LSSlider.js';
3
4
  import '@mui/material/TextField';
5
+ import '@mui/material/Slider';
4
6
 
5
- interface LSInputPropsChild {
7
+ interface LSSliderInputPropsChild {
6
8
  name?: string;
7
9
  value?: number | string | null;
8
10
  autoFocus?: boolean;
9
11
  defaultValue?: number | string | null;
10
12
  label?: React.ReactNode;
11
13
  inline?: boolean;
14
+ info?: React.ReactNode;
12
15
  hasInfo?: boolean;
13
16
  infoOpen?: () => void;
14
17
  infoClose?: () => void;
@@ -17,23 +20,32 @@ interface LSInputPropsChild {
17
20
  isMiliseconds?: boolean;
18
21
  isFloatMiliseconds?: boolean;
19
22
  step?: number;
23
+ allowAnyDecimal?: boolean;
20
24
  min?: number;
21
25
  max?: number;
22
- inputAfterText?: string;
23
- inputProps?: LSInputProps;
24
- startIcon?: React.ElementType;
25
- endIcon?: React.ElementType;
26
- color?: 'primary' | 'secondary';
26
+ sliderMin?: number;
27
+ sliderMax?: number;
28
+ inputAfterText?: React.ReactNode;
29
+ endAdornment?: React.ReactNode;
30
+ showborder?: boolean;
31
+ sliderProps?: LSSliderProps;
32
+ inputProps?: LSInputProps$1;
33
+ startIcon?: React.ReactNode;
34
+ endIcon?: React.ReactNode;
35
+ color?: LSInputProps$1['color'];
27
36
  labelColor?: 'inherit' | 'initial' | 'primary' | 'secondary' | 'textPrimary' | 'textSecondary' | 'error';
37
+ valueLabelDisplay?: LSSliderProps['valueLabelDisplay'] | string;
38
+ valueLabelFormat?: (value: number) => React.ReactNode;
28
39
  onChange?: (value: any) => any;
29
40
  fullWidth?: boolean;
30
41
  helperText?: React.ReactNode;
31
42
  hideInput?: boolean;
32
43
  hideSlider?: boolean;
33
- valueLabelFormat?: (value: number) => React.ReactNode;
44
+ inPopout?: boolean;
34
45
  }
35
46
  type ProtoExntends<T, U> = U & Omit<T, keyof U>;
36
- type LSInputProps = ProtoExntends<LSInputProps$1, LSInputPropsChild>;
37
- declare const LSSliderInput: React.FC<LSInputProps>;
47
+ type LSSliderInputProps = ProtoExntends<LSInputProps$1, LSSliderInputPropsChild>;
48
+ type LSInputProps = LSSliderInputProps;
49
+ declare const LSSliderInput: React.ForwardRefExoticComponent<Omit<LSSliderInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
38
50
 
39
- export { LSSliderInput, type LSInputProps as LSSliderInputProps };
51
+ export { type LSInputProps, LSSliderInput, type LSSliderInputProps };