@wavelengthusaf/components 1.2.7 → 1.2.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.
- package/dist/index.js +8 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -25
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3372,6 +3372,7 @@ import { Autocomplete as Autocomplete2, ListItemText, Popper } from "@mui/materi
|
|
|
3372
3372
|
import TextField2 from "@mui/material/TextField";
|
|
3373
3373
|
import InputAdornment from "@mui/material/InputAdornment";
|
|
3374
3374
|
import IconButton from "@mui/material/IconButton";
|
|
3375
|
+
import Icon from "@mui/material/Icon";
|
|
3375
3376
|
import { useRef } from "react";
|
|
3376
3377
|
import ListItem from "@mui/material/ListItem";
|
|
3377
3378
|
var CustomPopper = (props) => {
|
|
@@ -3459,10 +3460,7 @@ function WavelengthSearch({
|
|
|
3459
3460
|
},
|
|
3460
3461
|
options,
|
|
3461
3462
|
sx: { width: width2 },
|
|
3462
|
-
renderOption: (props,
|
|
3463
|
-
// @ts-expect-error boneless chicken
|
|
3464
|
-
/* @__PURE__ */ React9.createElement(ListItem, __spreadValues({ key: results.id }, props), /* @__PURE__ */ React9.createElement(ListItemText, { primary: results.title, secondary: results.subtitle }))
|
|
3465
|
-
),
|
|
3463
|
+
renderOption: (props, options2) => /* @__PURE__ */ React9.createElement(ListItem, __spreadProps(__spreadValues({}, props), { key: options2.id }), /* @__PURE__ */ React9.createElement(ListItemText, { primary: options2.title, secondary: options2.subtitle })),
|
|
3466
3464
|
renderInput: (params) => /* @__PURE__ */ React9.createElement(
|
|
3467
3465
|
TextField2,
|
|
3468
3466
|
__spreadProps(__spreadValues({
|
|
@@ -3526,10 +3524,7 @@ function WavelengthSearch({
|
|
|
3526
3524
|
},
|
|
3527
3525
|
options,
|
|
3528
3526
|
sx: { width: width2 },
|
|
3529
|
-
renderOption: (props, results) => (
|
|
3530
|
-
// @ts-expect-error boneless chicken
|
|
3531
|
-
/* @__PURE__ */ React9.createElement(ListItem, __spreadValues({ key: results.id }, props), /* @__PURE__ */ React9.createElement(ListItemText, { primary: results.title, secondary: results.subtitle }))
|
|
3532
|
-
),
|
|
3527
|
+
renderOption: (props, results) => /* @__PURE__ */ React9.createElement(ListItem, __spreadProps(__spreadValues({}, props), { key: results.id }), /* @__PURE__ */ React9.createElement(ListItemText, { primary: results.title, secondary: results.subtitle })),
|
|
3533
3528
|
renderInput: (params) => /* @__PURE__ */ React9.createElement(
|
|
3534
3529
|
TextField2,
|
|
3535
3530
|
__spreadProps(__spreadValues({
|
|
@@ -3540,7 +3535,7 @@ function WavelengthSearch({
|
|
|
3540
3535
|
InputProps: __spreadProps(__spreadValues({}, params.InputProps), {
|
|
3541
3536
|
style: { borderRadius: borderRadius2, color: textColor, backgroundColor: backgroundColor2, height: height2, fontSize },
|
|
3542
3537
|
type: "search",
|
|
3543
|
-
startAdornment: /* @__PURE__ */ React9.createElement(InputAdornment, { position: "start" }, /* @__PURE__ */ React9.createElement(
|
|
3538
|
+
startAdornment: /* @__PURE__ */ React9.createElement(InputAdornment, { position: "start" }, /* @__PURE__ */ React9.createElement(Icon, { sx: { color: textColor, paddingRight: "0px" } }, children))
|
|
3544
3539
|
}),
|
|
3545
3540
|
sx: {
|
|
3546
3541
|
"& .MuiInputBase-root": {
|
|
@@ -3593,10 +3588,7 @@ function WavelengthSearch({
|
|
|
3593
3588
|
},
|
|
3594
3589
|
options,
|
|
3595
3590
|
sx: { width: width2 },
|
|
3596
|
-
renderOption: (props, options2) => (
|
|
3597
|
-
// @ts-expect-error boneless chicken
|
|
3598
|
-
/* @__PURE__ */ React9.createElement(ListItem, __spreadValues({ key: options2.id }, props), /* @__PURE__ */ React9.createElement(ListItemText, { primary: options2.title, secondary: options2.subtitle }))
|
|
3599
|
-
),
|
|
3591
|
+
renderOption: (props, options2) => /* @__PURE__ */ React9.createElement(ListItem, __spreadProps(__spreadValues({}, props), { key: options2.id }), /* @__PURE__ */ React9.createElement(ListItemText, { primary: options2.title, secondary: options2.subtitle })),
|
|
3600
3592
|
renderInput: (params) => /* @__PURE__ */ React9.createElement(
|
|
3601
3593
|
TextField2,
|
|
3602
3594
|
__spreadProps(__spreadValues({
|
|
@@ -3677,10 +3669,7 @@ function WavelengthSearch({
|
|
|
3677
3669
|
},
|
|
3678
3670
|
options,
|
|
3679
3671
|
sx: { width: width2 },
|
|
3680
|
-
renderOption: (props, options2) => (
|
|
3681
|
-
// @ts-expect-error boneless chicken
|
|
3682
|
-
/* @__PURE__ */ React9.createElement(ListItem, __spreadValues({ key: options2.id }, props), /* @__PURE__ */ React9.createElement(ListItemText, { primary: options2.title, secondary: options2.subtitle }))
|
|
3683
|
-
),
|
|
3672
|
+
renderOption: (props, options2) => /* @__PURE__ */ React9.createElement(ListItem, __spreadProps(__spreadValues({}, props), { key: options2.id }), /* @__PURE__ */ React9.createElement(ListItemText, { primary: options2.title, secondary: options2.subtitle })),
|
|
3684
3673
|
renderInput: (params) => /* @__PURE__ */ React9.createElement(
|
|
3685
3674
|
TextField2,
|
|
3686
3675
|
__spreadProps(__spreadValues({
|
|
@@ -3764,10 +3753,7 @@ function WavelengthSearch({
|
|
|
3764
3753
|
},
|
|
3765
3754
|
options,
|
|
3766
3755
|
sx: { width: width2 },
|
|
3767
|
-
renderOption: (props, results) => (
|
|
3768
|
-
// @ts-expect-error boneless chicken
|
|
3769
|
-
/* @__PURE__ */ React9.createElement(ListItem, __spreadValues({ key: results.id }, props), /* @__PURE__ */ React9.createElement(ListItemText, { primary: results.title, secondary: results.subtitle }))
|
|
3770
|
-
),
|
|
3756
|
+
renderOption: (props, results) => /* @__PURE__ */ React9.createElement(ListItem, __spreadProps(__spreadValues({}, props), { key: results.id }), /* @__PURE__ */ React9.createElement(ListItemText, { primary: results.title, secondary: results.subtitle })),
|
|
3771
3757
|
renderInput: (params) => /* @__PURE__ */ React9.createElement(
|
|
3772
3758
|
TextField2,
|
|
3773
3759
|
__spreadProps(__spreadValues({
|
|
@@ -3830,10 +3816,7 @@ function WavelengthSearch({
|
|
|
3830
3816
|
},
|
|
3831
3817
|
options,
|
|
3832
3818
|
sx: { width: width2 },
|
|
3833
|
-
renderOption: (props, options2) => (
|
|
3834
|
-
// @ts-expect-error boneless chicken
|
|
3835
|
-
/* @__PURE__ */ React9.createElement(ListItem, __spreadValues({ key: options2.id }, props), /* @__PURE__ */ React9.createElement(ListItemText, { primary: options2.title, secondary: options2.subtitle }))
|
|
3836
|
-
),
|
|
3819
|
+
renderOption: (props, options2) => /* @__PURE__ */ React9.createElement(ListItem, __spreadProps(__spreadValues({}, props), { key: options2.id }), /* @__PURE__ */ React9.createElement(ListItemText, { primary: options2.title, secondary: options2.subtitle })),
|
|
3837
3820
|
renderInput: (params) => /* @__PURE__ */ React9.createElement(
|
|
3838
3821
|
TextField2,
|
|
3839
3822
|
__spreadProps(__spreadValues({
|