@lumiastream/ui 0.3.3 → 0.3.5

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.
@@ -122,12 +122,12 @@ var LSFontPicker = memo(function LSFontPicker2({
122
122
  transform: "rotate(180deg)"
123
123
  }
124
124
  }
125
- }
126
- },
127
- ListboxProps: {
128
- sx: {
129
- maxHeight: 300,
130
- padding: 0
125
+ },
126
+ listbox: {
127
+ sx: {
128
+ maxHeight: 300,
129
+ padding: 0
130
+ }
131
131
  }
132
132
  },
133
133
  noOptionsText: "No fonts found",
@@ -150,27 +150,39 @@ var LSFontPicker = memo(function LSFontPicker2({
150
150
  key
151
151
  );
152
152
  },
153
- renderInput: (params) => /* @__PURE__ */ jsx(
154
- TextFieldComponent,
155
- {
156
- ...params,
157
- label,
158
- helperText,
159
- placeholder,
160
- fullWidth: true,
161
- className: "mui-ls-input",
162
- variant: "outlined",
163
- sx: {
164
- "& .MuiOutlinedInput-root": {
165
- paddingRight: "0.5rem"
153
+ renderInput: (params) => {
154
+ const {
155
+ InputLabelProps: paramsInputLabelProps,
156
+ InputProps: paramsInputProps,
157
+ ...restParams
158
+ } = params;
159
+ return /* @__PURE__ */ jsx(
160
+ TextFieldComponent,
161
+ {
162
+ ...restParams,
163
+ label,
164
+ helperText,
165
+ placeholder,
166
+ fullWidth: true,
167
+ className: "mui-ls-input",
168
+ variant: "outlined",
169
+ sx: {
170
+ "& .MuiOutlinedInput-root": {
171
+ paddingRight: "0.5rem"
172
+ }
173
+ },
174
+ slotProps: {
175
+ inputLabel: {
176
+ shrink: true,
177
+ ...paramsInputLabelProps ?? {}
178
+ },
179
+ input: {
180
+ ...paramsInputProps ?? {}
181
+ }
166
182
  }
167
- },
168
- InputLabelProps: {
169
- shrink: true,
170
- ...params.InputLabelProps ?? {}
171
183
  }
172
- }
173
- )
184
+ );
185
+ }
174
186
  }
175
187
  ) });
176
188
  });
@@ -878,12 +878,12 @@ var LSFontPicker = memo(function LSFontPicker2({
878
878
  transform: "rotate(180deg)"
879
879
  }
880
880
  }
881
- }
882
- },
883
- ListboxProps: {
884
- sx: {
885
- maxHeight: 300,
886
- padding: 0
881
+ },
882
+ listbox: {
883
+ sx: {
884
+ maxHeight: 300,
885
+ padding: 0
886
+ }
887
887
  }
888
888
  },
889
889
  noOptionsText: "No fonts found",
@@ -906,27 +906,39 @@ var LSFontPicker = memo(function LSFontPicker2({
906
906
  key
907
907
  );
908
908
  },
909
- renderInput: (params) => /* @__PURE__ */ jsx8(
910
- TextFieldComponent,
911
- {
912
- ...params,
913
- label,
914
- helperText,
915
- placeholder,
916
- fullWidth: true,
917
- className: "mui-ls-input",
918
- variant: "outlined",
919
- sx: {
920
- "& .MuiOutlinedInput-root": {
921
- paddingRight: "0.5rem"
909
+ renderInput: (params) => {
910
+ const {
911
+ InputLabelProps: paramsInputLabelProps,
912
+ InputProps: paramsInputProps,
913
+ ...restParams
914
+ } = params;
915
+ return /* @__PURE__ */ jsx8(
916
+ TextFieldComponent,
917
+ {
918
+ ...restParams,
919
+ label,
920
+ helperText,
921
+ placeholder,
922
+ fullWidth: true,
923
+ className: "mui-ls-input",
924
+ variant: "outlined",
925
+ sx: {
926
+ "& .MuiOutlinedInput-root": {
927
+ paddingRight: "0.5rem"
928
+ }
929
+ },
930
+ slotProps: {
931
+ inputLabel: {
932
+ shrink: true,
933
+ ...paramsInputLabelProps ?? {}
934
+ },
935
+ input: {
936
+ ...paramsInputProps ?? {}
937
+ }
922
938
  }
923
- },
924
- InputLabelProps: {
925
- shrink: true,
926
- ...params.InputLabelProps ?? {}
927
939
  }
928
- }
929
- )
940
+ );
941
+ }
930
942
  }
931
943
  ) });
932
944
  });