@wavelengthusaf/components 4.21.1 → 4.22.0

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.
@@ -206,7 +206,7 @@ var require_react_is_development = __commonJS({
206
206
  var ContextProvider = REACT_PROVIDER_TYPE;
207
207
  var Element = REACT_ELEMENT_TYPE;
208
208
  var ForwardRef2 = REACT_FORWARD_REF_TYPE;
209
- var Fragment15 = REACT_FRAGMENT_TYPE;
209
+ var Fragment16 = REACT_FRAGMENT_TYPE;
210
210
  var Lazy = REACT_LAZY_TYPE;
211
211
  var Memo2 = REACT_MEMO_TYPE;
212
212
  var Portal = REACT_PORTAL_TYPE;
@@ -265,7 +265,7 @@ var require_react_is_development = __commonJS({
265
265
  exports.ContextProvider = ContextProvider;
266
266
  exports.Element = Element;
267
267
  exports.ForwardRef = ForwardRef2;
268
- exports.Fragment = Fragment15;
268
+ exports.Fragment = Fragment16;
269
269
  exports.Lazy = Lazy;
270
270
  exports.Memo = Memo2;
271
271
  exports.Portal = Portal;
@@ -3853,6 +3853,562 @@ function WavelengthSearchTextField() {
3853
3853
  }
3854
3854
  WavelengthSearchTextField.displayName = "WavelengthSearchTextField";
3855
3855
 
3856
+ // src/components/search/MuiSearch.tsx
3857
+
3858
+ var _InputAdornment = require('@mui/material/InputAdornment'); var _InputAdornment2 = _interopRequireDefault(_InputAdornment);
3859
+ var _IconButton = require('@mui/material/IconButton'); var _IconButton2 = _interopRequireDefault(_IconButton);
3860
+ var _Icon = require('@mui/material/Icon'); var _Icon2 = _interopRequireDefault(_Icon);
3861
+
3862
+ var _ListItem = require('@mui/material/ListItem'); var _ListItem2 = _interopRequireDefault(_ListItem);
3863
+ var _Popper = require('@mui/material/Popper'); var _Popper2 = _interopRequireDefault(_Popper);
3864
+ var _Autocomplete = require('@mui/material/Autocomplete'); var _Autocomplete2 = _interopRequireDefault(_Autocomplete);
3865
+ var _ListItemText = require('@mui/material/ListItemText'); var _ListItemText2 = _interopRequireDefault(_ListItemText);
3866
+
3867
+
3868
+
3869
+ var CustomPopper = (props) => {
3870
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3871
+ _Popper2.default,
3872
+ {
3873
+ sx: {
3874
+ "&.MuiAutocomplete-popper": {
3875
+ zIndex: 5
3876
+ }
3877
+ },
3878
+ ...props,
3879
+ placement: "bottom",
3880
+ disablePortal: true,
3881
+ modifiers: [
3882
+ {
3883
+ name: "flip",
3884
+ enabled: true,
3885
+ options: {
3886
+ altBoundary: true,
3887
+ rootBoundary: "document",
3888
+ padding: 8
3889
+ }
3890
+ },
3891
+ {
3892
+ name: "preventOverflow",
3893
+ enabled: true,
3894
+ options: {
3895
+ altAxis: false,
3896
+ altBoundary: true,
3897
+ tether: true,
3898
+ rootBoundary: "document",
3899
+ padding: 8
3900
+ }
3901
+ }
3902
+ ]
3903
+ }
3904
+ );
3905
+ };
3906
+ var AutocompleteCustomEndAdornment = _styledcomponents2.default.call(void 0, "div")({
3907
+ position: "absolute",
3908
+ right: "12px",
3909
+ top: "50%",
3910
+ transform: "translate(0, -50%)"
3911
+ });
3912
+ function MuiSearch({
3913
+ id,
3914
+ mode,
3915
+ type,
3916
+ width: width2,
3917
+ height: height2,
3918
+ label,
3919
+ size,
3920
+ borderRadius: borderRadius2,
3921
+ children,
3922
+ placeholder,
3923
+ onEnter,
3924
+ onSearchItemSelected,
3925
+ options,
3926
+ onChange,
3927
+ borderColor: borderColor2,
3928
+ hoverColor,
3929
+ textColor,
3930
+ fontSize,
3931
+ backgroundColor: backgroundColor2,
3932
+ iconPos = "end",
3933
+ clearIconMarginRight
3934
+ }) {
3935
+ const palette2 = getPalette();
3936
+ borderColor2 = borderColor2 ? borderColor2 : "#2D3140";
3937
+ hoverColor = hoverColor ? hoverColor : palette2.primary;
3938
+ if (type === "search-bar" || type === void 0) {
3939
+ if (mode === "automatic" && iconPos === "end") {
3940
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3941
+ _Autocomplete2.default,
3942
+ {
3943
+ id,
3944
+ filterOptions: (x) => x,
3945
+ loading: true,
3946
+ disableListWrap: true,
3947
+ freeSolo: true,
3948
+ onChange: (e, value) => {
3949
+ if (value !== null) {
3950
+ if (typeof value !== "string") {
3951
+ if (onSearchItemSelected) onSearchItemSelected(value);
3952
+ }
3953
+ }
3954
+ },
3955
+ disableCloseOnSelect: false,
3956
+ getOptionLabel: (options2) => {
3957
+ const returnVal = typeof options2 === "string" ? options2 : options2.title;
3958
+ return returnVal;
3959
+ },
3960
+ options,
3961
+ sx: {
3962
+ width: width2,
3963
+ "&.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root": {
3964
+ paddingRight: clearIconMarginRight ? clearIconMarginRight : "45px"
3965
+ }
3966
+ },
3967
+ renderOption: (props, options2) => /* @__PURE__ */ _react.createElement.call(void 0, _ListItem2.default, { ...props, key: options2.id }, /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ListItemText2.default, { primary: options2.title, secondary: options2.subtitle })),
3968
+ renderInput: (params) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3969
+ _TextField2.default,
3970
+ {
3971
+ placeholder,
3972
+ ...params,
3973
+ size,
3974
+ InputProps: {
3975
+ ...params.InputProps,
3976
+ style: { borderRadius: borderRadius2, color: textColor, backgroundColor: backgroundColor2, height: height2, fontSize },
3977
+ type: "search",
3978
+ endAdornment: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AutocompleteCustomEndAdornment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _IconButton2.default, { sx: { color: "white" }, children }) })
3979
+ },
3980
+ sx: {
3981
+ "& .MuiInputBase-root": {
3982
+ height: height2
3983
+ },
3984
+ "&.MuiTextField-root": {
3985
+ "& label": { color: `${textColor}` },
3986
+ "& label.Mui-focused": {
3987
+ color: `${hoverColor}`
3988
+ },
3989
+ "& .MuiOutlinedInput-root": {
3990
+ "& fieldset": {
3991
+ borderColor: `${borderColor2}`
3992
+ },
3993
+ "&:hover fieldset": {
3994
+ borderColor: `${hoverColor}`
3995
+ },
3996
+ "&.Mui-focused fieldset": {
3997
+ borderColor: `${hoverColor}`
3998
+ }
3999
+ }
4000
+ }
4001
+ },
4002
+ label,
4003
+ onChange
4004
+ }
4005
+ ),
4006
+ PopperComponent: CustomPopper
4007
+ }
4008
+ ) });
4009
+ } else if (mode === "automatic" && iconPos === "start") {
4010
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4011
+ _Autocomplete2.default,
4012
+ {
4013
+ id,
4014
+ filterOptions: (x) => x,
4015
+ loading: true,
4016
+ disableListWrap: true,
4017
+ freeSolo: true,
4018
+ onChange: (e, value) => {
4019
+ if (value !== null) {
4020
+ if (typeof value !== "string") {
4021
+ if (onSearchItemSelected) onSearchItemSelected(value);
4022
+ }
4023
+ }
4024
+ },
4025
+ disableCloseOnSelect: false,
4026
+ getOptionLabel: (options2) => {
4027
+ const returnVal = typeof options2 === "string" ? options2 : options2.title;
4028
+ return returnVal;
4029
+ },
4030
+ options,
4031
+ sx: {
4032
+ width: width2,
4033
+ "&.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root": {
4034
+ paddingRight: clearIconMarginRight ? clearIconMarginRight : "15px"
4035
+ }
4036
+ },
4037
+ renderOption: (props, results) => /* @__PURE__ */ _react.createElement.call(void 0, _ListItem2.default, { ...props, key: results.id }, /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ListItemText2.default, { primary: results.title, secondary: results.subtitle })),
4038
+ renderInput: (params) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4039
+ _TextField2.default,
4040
+ {
4041
+ placeholder,
4042
+ ...params,
4043
+ size,
4044
+ InputProps: {
4045
+ ...params.InputProps,
4046
+ style: { borderRadius: borderRadius2, color: textColor, backgroundColor: backgroundColor2, height: height2, fontSize },
4047
+ type: "search",
4048
+ endAdornment: null,
4049
+ startAdornment: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _InputAdornment2.default, { position: "start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Icon2.default, { sx: { color: textColor, paddingRight: "0px" }, children }) })
4050
+ },
4051
+ sx: {
4052
+ "& .MuiInputBase-root": {
4053
+ height: height2
4054
+ },
4055
+ "&.MuiTextField-root": {
4056
+ "& label": { color: `${textColor}` },
4057
+ "& label.Mui-focused": {
4058
+ color: `${hoverColor}`
4059
+ },
4060
+ "& .MuiOutlinedInput-root": {
4061
+ "& fieldset": {
4062
+ borderColor: `${borderColor2}`
4063
+ },
4064
+ "&:hover fieldset": {
4065
+ borderColor: `${hoverColor}`
4066
+ },
4067
+ "&.Mui-focused fieldset": {
4068
+ borderColor: `${hoverColor}`
4069
+ }
4070
+ }
4071
+ }
4072
+ },
4073
+ label,
4074
+ onChange
4075
+ }
4076
+ ),
4077
+ PopperComponent: CustomPopper
4078
+ }
4079
+ ) });
4080
+ } else if (mode === "manual" && iconPos === "end") {
4081
+ const textRef = _react.useRef.call(void 0, );
4082
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4083
+ _Autocomplete2.default,
4084
+ {
4085
+ id,
4086
+ filterOptions: (x) => x,
4087
+ loading: true,
4088
+ freeSolo: true,
4089
+ onChange: (e, value) => {
4090
+ if (value !== null) {
4091
+ if (typeof value !== "string") {
4092
+ if (onSearchItemSelected) onSearchItemSelected(value);
4093
+ }
4094
+ }
4095
+ },
4096
+ disableCloseOnSelect: false,
4097
+ getOptionLabel: (options2) => {
4098
+ const returnVal = typeof options2 === "string" ? options2 : options2.title;
4099
+ return returnVal;
4100
+ },
4101
+ options,
4102
+ sx: {
4103
+ width: width2,
4104
+ "&.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root": {
4105
+ paddingRight: clearIconMarginRight ? clearIconMarginRight : "50px"
4106
+ }
4107
+ },
4108
+ renderOption: (props, options2) => /* @__PURE__ */ _react.createElement.call(void 0, _ListItem2.default, { ...props, key: options2.id }, /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ListItemText2.default, { primary: options2.title, secondary: options2.subtitle })),
4109
+ renderInput: (params) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4110
+ _TextField2.default,
4111
+ {
4112
+ inputRef: textRef,
4113
+ placeholder,
4114
+ onKeyDown: (e) => {
4115
+ if (e.key === "Enter") {
4116
+ if (textRef.current && onEnter) {
4117
+ onEnter(textRef.current.value);
4118
+ }
4119
+ }
4120
+ },
4121
+ ...params,
4122
+ size,
4123
+ InputProps: {
4124
+ ...params.InputProps,
4125
+ style: { borderRadius: borderRadius2, color: textColor, fontSize },
4126
+ type: "search",
4127
+ endAdornment: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AutocompleteCustomEndAdornment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4128
+ _IconButton2.default,
4129
+ {
4130
+ sx: { color: textColor },
4131
+ onClick: () => {
4132
+ if (textRef.current && onEnter) {
4133
+ onEnter(textRef.current.value);
4134
+ }
4135
+ },
4136
+ children
4137
+ }
4138
+ ) })
4139
+ },
4140
+ sx: {
4141
+ "& .MuiInputBase-root": {
4142
+ height: height2
4143
+ },
4144
+ "&.MuiTextField-root": {
4145
+ "& label": { color: `${textColor}`, verticalAlign: "bottom" },
4146
+ "& label.Mui-focused": {
4147
+ color: `${hoverColor}`
4148
+ },
4149
+ "& .MuiOutlinedInput-root": {
4150
+ "& fieldset": {
4151
+ borderColor: `${borderColor2}`
4152
+ },
4153
+ "&:hover fieldset": {
4154
+ borderColor: `${hoverColor}`
4155
+ },
4156
+ "&.Mui-focused fieldset": {
4157
+ borderColor: `${hoverColor}`
4158
+ }
4159
+ }
4160
+ }
4161
+ },
4162
+ label
4163
+ }
4164
+ )
4165
+ }
4166
+ ) });
4167
+ } else if (mode === "manual" && iconPos === "start") {
4168
+ const textRef = _react.useRef.call(void 0, );
4169
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4170
+ _Autocomplete2.default,
4171
+ {
4172
+ id,
4173
+ filterOptions: (x) => x,
4174
+ loading: true,
4175
+ freeSolo: true,
4176
+ onChange: (e, value) => {
4177
+ if (value !== null) {
4178
+ if (typeof value !== "string") {
4179
+ if (onSearchItemSelected) onSearchItemSelected(value);
4180
+ }
4181
+ }
4182
+ },
4183
+ disableCloseOnSelect: false,
4184
+ getOptionLabel: (options2) => {
4185
+ const returnVal = typeof options2 === "string" ? options2 : options2.title;
4186
+ return returnVal;
4187
+ },
4188
+ options,
4189
+ sx: {
4190
+ width: width2,
4191
+ "&.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root": {
4192
+ paddingRight: clearIconMarginRight ? clearIconMarginRight : "15px"
4193
+ }
4194
+ },
4195
+ renderOption: (props, options2) => /* @__PURE__ */ _react.createElement.call(void 0, _ListItem2.default, { ...props, key: options2.id }, /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ListItemText2.default, { primary: options2.title, secondary: options2.subtitle })),
4196
+ renderInput: (params) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4197
+ _TextField2.default,
4198
+ {
4199
+ inputRef: textRef,
4200
+ placeholder,
4201
+ onKeyDown: (e) => {
4202
+ if (e.key === "Enter") {
4203
+ if (textRef.current && onEnter) {
4204
+ onEnter(textRef.current.value);
4205
+ }
4206
+ }
4207
+ },
4208
+ ...params,
4209
+ size,
4210
+ InputProps: {
4211
+ ...params.InputProps,
4212
+ style: { borderRadius: borderRadius2, color: textColor, fontSize },
4213
+ type: "search",
4214
+ endAdornment: null,
4215
+ startAdornment: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _InputAdornment2.default, { position: "start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4216
+ _IconButton2.default,
4217
+ {
4218
+ sx: { color: textColor, paddingRight: "0px" },
4219
+ onClick: () => {
4220
+ if (textRef.current && onEnter) {
4221
+ onEnter(textRef.current.value);
4222
+ }
4223
+ },
4224
+ children
4225
+ }
4226
+ ) })
4227
+ },
4228
+ sx: {
4229
+ "& .MuiInputBase-root": {
4230
+ height: height2
4231
+ },
4232
+ "&.MuiTextField-root": {
4233
+ "& label": { color: `${textColor}`, verticalAlign: "bottom" },
4234
+ "& label.Mui-focused": {
4235
+ color: `${hoverColor}`
4236
+ },
4237
+ "& .MuiOutlinedInput-root": {
4238
+ "& fieldset": {
4239
+ borderColor: `${borderColor2}`
4240
+ },
4241
+ "&:hover fieldset": {
4242
+ borderColor: `${hoverColor}`
4243
+ },
4244
+ "&.Mui-focused fieldset": {
4245
+ borderColor: `${hoverColor}`
4246
+ }
4247
+ }
4248
+ }
4249
+ },
4250
+ label
4251
+ }
4252
+ )
4253
+ }
4254
+ ) });
4255
+ }
4256
+ } else if (type === "text-box") {
4257
+ if (mode === "automatic") {
4258
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4259
+ _Autocomplete2.default,
4260
+ {
4261
+ id,
4262
+ filterOptions: (x) => x,
4263
+ loading: true,
4264
+ disableListWrap: true,
4265
+ freeSolo: true,
4266
+ disableClearable: true,
4267
+ onChange: (e, value) => {
4268
+ if (value !== null) {
4269
+ if (typeof value !== "string") {
4270
+ if (onSearchItemSelected) onSearchItemSelected(value);
4271
+ }
4272
+ }
4273
+ },
4274
+ disableCloseOnSelect: false,
4275
+ getOptionLabel: (options2) => {
4276
+ const returnVal = typeof options2 === "string" ? options2 : options2.title;
4277
+ return returnVal;
4278
+ },
4279
+ options,
4280
+ sx: {
4281
+ width: width2,
4282
+ "&.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root": {
4283
+ paddingRight: clearIconMarginRight ? clearIconMarginRight : "15px"
4284
+ }
4285
+ },
4286
+ renderOption: (props, results) => /* @__PURE__ */ _react.createElement.call(void 0, _ListItem2.default, { ...props, key: results.id }, /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ListItemText2.default, { primary: results.title, secondary: results.subtitle })),
4287
+ renderInput: (params) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4288
+ _TextField2.default,
4289
+ {
4290
+ placeholder,
4291
+ ...params,
4292
+ size,
4293
+ InputProps: {
4294
+ ...params.InputProps,
4295
+ style: { borderRadius: borderRadius2, color: textColor, backgroundColor: backgroundColor2, height: height2, fontSize },
4296
+ type: "search"
4297
+ },
4298
+ sx: {
4299
+ "& .MuiInputBase-root": {
4300
+ height: height2
4301
+ },
4302
+ "& .MuiAutocomplete-endAdornment": {
4303
+ display: "none"
4304
+ },
4305
+ "&.MuiTextField-root": {
4306
+ "& label": { color: `${textColor}` },
4307
+ "& label.Mui-focused": {
4308
+ color: `${hoverColor}`
4309
+ },
4310
+ "& .MuiOutlinedInput-root": {
4311
+ "& fieldset": {
4312
+ borderColor: `${borderColor2}`
4313
+ },
4314
+ "&:hover fieldset": {
4315
+ borderColor: `${hoverColor}`
4316
+ },
4317
+ "&.Mui-focused fieldset": {
4318
+ borderColor: `${hoverColor}`
4319
+ }
4320
+ }
4321
+ }
4322
+ },
4323
+ label,
4324
+ onChange
4325
+ }
4326
+ ),
4327
+ PopperComponent: CustomPopper
4328
+ }
4329
+ ) });
4330
+ } else if (mode === "manual") {
4331
+ const textRef = _react.useRef.call(void 0, );
4332
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4333
+ _Autocomplete2.default,
4334
+ {
4335
+ id,
4336
+ filterOptions: (x) => x,
4337
+ loading: true,
4338
+ freeSolo: true,
4339
+ onChange: (e, value) => {
4340
+ if (value !== null) {
4341
+ if (typeof value !== "string") {
4342
+ if (onSearchItemSelected) onSearchItemSelected(value);
4343
+ }
4344
+ }
4345
+ },
4346
+ disableCloseOnSelect: false,
4347
+ getOptionLabel: (options2) => {
4348
+ const returnVal = typeof options2 === "string" ? options2 : options2.title;
4349
+ return returnVal;
4350
+ },
4351
+ options,
4352
+ sx: {
4353
+ width: width2,
4354
+ "&.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root": {
4355
+ paddingRight: clearIconMarginRight ? clearIconMarginRight : "15px"
4356
+ }
4357
+ },
4358
+ renderOption: (props, options2) => /* @__PURE__ */ _react.createElement.call(void 0, _ListItem2.default, { ...props, key: options2.id }, /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ListItemText2.default, { primary: options2.title, secondary: options2.subtitle })),
4359
+ renderInput: (params) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4360
+ _TextField2.default,
4361
+ {
4362
+ placeholder,
4363
+ inputRef: textRef,
4364
+ onKeyDown: (e) => {
4365
+ if (e.key === "Enter") {
4366
+ if (textRef.current && onEnter) {
4367
+ onEnter(textRef.current.value);
4368
+ }
4369
+ }
4370
+ },
4371
+ ...params,
4372
+ size,
4373
+ InputProps: {
4374
+ ...params.InputProps,
4375
+ endAdornment: null,
4376
+ style: { borderRadius: borderRadius2, color: textColor, fontSize },
4377
+ type: "search"
4378
+ },
4379
+ sx: {
4380
+ "& .MuiInputBase-root": {
4381
+ height: height2
4382
+ },
4383
+ "&.MuiTextField-root": {
4384
+ "& label": { color: `${textColor}`, verticalAlign: "bottom" },
4385
+ "& label.Mui-focused": {
4386
+ color: `${hoverColor}`
4387
+ },
4388
+ "& .MuiOutlinedInput-root": {
4389
+ "& fieldset": {
4390
+ borderColor: `${borderColor2}`
4391
+ },
4392
+ "&:hover fieldset": {
4393
+ borderColor: `${hoverColor}`
4394
+ },
4395
+ "&.Mui-focused fieldset": {
4396
+ borderColor: `${hoverColor}`
4397
+ }
4398
+ }
4399
+ }
4400
+ },
4401
+ label
4402
+ }
4403
+ )
4404
+ }
4405
+ ) });
4406
+ }
4407
+ }
4408
+ return void 0;
4409
+ }
4410
+ MuiSearch.displayName = "MuiSearch";
4411
+
3856
4412
  // src/components/logos/applogo/WavelengthAppLogo.tsx
3857
4413
 
3858
4414
  function WavelengthAppLogo({ width: width2, height: height2, name = "", grayscale, id }) {
@@ -6464,7 +7020,7 @@ WavelengthSlider.displayName = "WavelengthSlider";
6464
7020
 
6465
7021
  // src/components/carousels/WavelengthDefaultCarousel.tsx
6466
7022
 
6467
- var _IconButton = require('@mui/material/IconButton'); var _IconButton2 = _interopRequireDefault(_IconButton);
7023
+
6468
7024
  var _NavigateBefore = require('@mui/icons-material/NavigateBefore'); var _NavigateBefore2 = _interopRequireDefault(_NavigateBefore);
6469
7025
  var _NavigateNext = require('@mui/icons-material/NavigateNext'); var _NavigateNext2 = _interopRequireDefault(_NavigateNext);
6470
7026
  var _Typography = require('@mui/material/Typography'); var _Typography2 = _interopRequireDefault(_Typography);
@@ -8251,6 +8807,32 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8251
8807
  // src/index.ts
8252
8808
 
8253
8809
 
8810
+ // src/components/inputs/WavelengthCheckboxList.tsx
8811
+
8812
+
8813
+
8814
+ var WavelengthCheckboxList = ({ label, helperText, checkboxInformation, children, ...rest }) => {
8815
+ const ref = _react.useRef.call(void 0, null);
8816
+ _react.useEffect.call(void 0, () => {
8817
+ const el = ref.current;
8818
+ if (!el) return;
8819
+ function verifyAttribute(attribute, value) {
8820
+ if (value === void 0 || value === null) {
8821
+ _optionalChain([el, 'optionalAccess', _85 => _85.removeAttribute, 'call', _86 => _86(attribute)]);
8822
+ return;
8823
+ }
8824
+ _optionalChain([el, 'optionalAccess', _87 => _87.setAttribute, 'call', _88 => _88(attribute, value)]);
8825
+ }
8826
+ verifyAttribute("label", label);
8827
+ verifyAttribute("helper-text", helperText);
8828
+ verifyAttribute("checkbox-information", JSON.stringify(checkboxInformation));
8829
+ }, [label, helperText, checkboxInformation]);
8830
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-checkbox-list", { ref, "checkbox-information": checkboxInformation, ...rest, children });
8831
+ };
8832
+ WavelengthCheckboxList.displayName = "WavelengthCheckboxList";
8833
+
8834
+
8835
+
8254
8836
 
8255
8837
 
8256
8838
 
@@ -8328,7 +8910,7 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8328
8910
 
8329
8911
 
8330
8912
 
8331
- exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.ChildDataTable = ChildDataTable2; exports.ChildDataTableElement = _webcomponents.ChildDataTable; exports.DefaultCarousel = DefaultCarousel; exports.NestedDataTable = NestedDataTable; exports.SampleComponent = SampleComponent; exports.SampleComponentElement = _webcomponents.SampleComponent; exports.SliderCardCarousel = SliderCardCarousel; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppLogo = WavelengthAppLogo; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutoComplete = WavelengthAutoComplete; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBadge = WavelengthBadge; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthBannerElement = _webcomponents.WavelengthBanner; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton; exports.WavelengthButtonElement = _webcomponents.WavelengthButton; exports.WavelengthCheckbox = WavelengthCheckbox; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDatePicker = WavelengthDatePicker; exports.WavelengthDatePickerElement = _webcomponents.WavelengthDatePicker; exports.WavelengthDefaultIcon = WavelengthDefaultIcon; exports.WavelengthDefaultPagination = WavelengthDefaultPagination; exports.WavelengthDialog = WavelengthDialog; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFileDropZone = WavelengthFileDropZone; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthForm = WavelengthForm; exports.WavelengthFormElement = _webcomponents.WavelengthForm; exports.WavelengthInput = WavelengthInput; exports.WavelengthInputElement = _webcomponents.WavelengthInput; exports.WavelengthManyPlanes = WavelengthManyPlanes; exports.WavelengthMenu = WavelengthMenu; exports.WavelengthMultiSelectAutocomplete = WavelengthMultiSelectAutocomplete; exports.WavelengthMultiSelectAutocompleteElement = _webcomponents.WavelengthMultiSelectAutocomplete; exports.WavelengthNavBar = WavelengthNavBar; exports.WavelengthNotAvailablePage = WavelengthNotAvailablePage; exports.WavelengthNotificationPanel = WavelengthNotificationPanel; exports.WavelengthPagination = WavelengthPagination; exports.WavelengthPaginationElement = _webcomponents.WavelengthPagination; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthProgressBarElement = _webcomponents.WavelengthProgressBar; exports.WavelengthSearch = WavelengthSearch; exports.WavelengthSearchTextField = WavelengthSearchTextField; exports.WavelengthSideBar = WavelengthSideBar; exports.WavelengthSlider = WavelengthSlider; exports.WavelengthSnackbar = WavelengthSnackbar; exports.WavelengthSpinningLogo = WavelengthSpinningLogo; exports.WavelengthSpinningOuterCircle = WavelengthSpinningOuterCircle; exports.WavelengthStandardSnackbar = WavelengthStandardSnackbar; exports.WavelengthStyledButton = WavelengthStyledButton; exports.WavelengthSwitch = WavelengthSwitch; exports.WavelengthTestSnackbar = WavelengthTestSnackbar; exports.WavelengthTitleBar = WavelengthTitleBar; exports.WavelengthTitleBarElement = _webcomponents.WavelengthTitleBar; exports.WavelengthToolTip = WavelengthToolTip; exports.WavelengthWebSnackbar = WavelengthWebSnackbar; exports.add = add; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
8913
+ exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.ChildDataTable = ChildDataTable2; exports.ChildDataTableElement = _webcomponents.ChildDataTable; exports.DefaultCarousel = DefaultCarousel; exports.MuiSearch = MuiSearch; exports.NestedDataTable = NestedDataTable; exports.SampleComponent = SampleComponent; exports.SampleComponentElement = _webcomponents.SampleComponent; exports.SliderCardCarousel = SliderCardCarousel; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppLogo = WavelengthAppLogo; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutoComplete = WavelengthAutoComplete; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBadge = WavelengthBadge; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthBannerElement = _webcomponents.WavelengthBanner; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton; exports.WavelengthButtonElement = _webcomponents.WavelengthButton; exports.WavelengthCheckbox = WavelengthCheckbox; exports.WavelengthCheckboxList = WavelengthCheckboxList; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDatePicker = WavelengthDatePicker; exports.WavelengthDatePickerElement = _webcomponents.WavelengthDatePicker; exports.WavelengthDefaultIcon = WavelengthDefaultIcon; exports.WavelengthDefaultPagination = WavelengthDefaultPagination; exports.WavelengthDialog = WavelengthDialog; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFileDropZone = WavelengthFileDropZone; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthForm = WavelengthForm; exports.WavelengthFormElement = _webcomponents.WavelengthForm; exports.WavelengthInput = WavelengthInput; exports.WavelengthInputElement = _webcomponents.WavelengthInput; exports.WavelengthManyPlanes = WavelengthManyPlanes; exports.WavelengthMenu = WavelengthMenu; exports.WavelengthMultiSelectAutocomplete = WavelengthMultiSelectAutocomplete; exports.WavelengthMultiSelectAutocompleteElement = _webcomponents.WavelengthMultiSelectAutocomplete; exports.WavelengthNavBar = WavelengthNavBar; exports.WavelengthNotAvailablePage = WavelengthNotAvailablePage; exports.WavelengthNotificationPanel = WavelengthNotificationPanel; exports.WavelengthPagination = WavelengthPagination; exports.WavelengthPaginationElement = _webcomponents.WavelengthPagination; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthProgressBarElement = _webcomponents.WavelengthProgressBar; exports.WavelengthSearch = WavelengthSearch; exports.WavelengthSearchTextField = WavelengthSearchTextField; exports.WavelengthSideBar = WavelengthSideBar; exports.WavelengthSlider = WavelengthSlider; exports.WavelengthSnackbar = WavelengthSnackbar; exports.WavelengthSpinningLogo = WavelengthSpinningLogo; exports.WavelengthSpinningOuterCircle = WavelengthSpinningOuterCircle; exports.WavelengthStandardSnackbar = WavelengthStandardSnackbar; exports.WavelengthStyledButton = WavelengthStyledButton; exports.WavelengthSwitch = WavelengthSwitch; exports.WavelengthTestSnackbar = WavelengthTestSnackbar; exports.WavelengthTitleBar = WavelengthTitleBar; exports.WavelengthTitleBarElement = _webcomponents.WavelengthTitleBar; exports.WavelengthToolTip = WavelengthToolTip; exports.WavelengthWebSnackbar = WavelengthWebSnackbar; exports.add = add; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
8332
8914
  /*! Bundled license information:
8333
8915
 
8334
8916
  react-is/cjs/react-is.production.min.js: