@sheetxl/utils-mui 0.8.0-beta.2 → 0.8.0-beta.20

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,37 +1,3 @@
1
- Name: tiny-invariant
2
- Version: 1.3.3
3
- License: MIT
4
- Private: false
5
- Description: A tiny invariant function
6
- Repository: https://github.com/alexreardon/tiny-invariant.git
7
- Author: Alex Reardon <alexreardon@gmail.com>
8
- License Text:
9
- ===
10
-
11
- MIT License
12
-
13
- Copyright (c) 2019 Alexander Reardon
14
-
15
- Permission is hereby granted, free of charge, to any person obtaining a copy
16
- of this software and associated documentation files (the "Software"), to deal
17
- in the Software without restriction, including without limitation the rights
18
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19
- copies of the Software, and to permit persons to whom the Software is
20
- furnished to do so, subject to the following conditions:
21
-
22
- The above copyright notice and this permission notice shall be included in all
23
- copies or substantial portions of the Software.
24
-
25
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31
- SOFTWARE.
32
-
33
- ---
34
-
35
1
  Name: mui-modal-provider
36
2
  Version: 2.4.6
37
3
  License: MIT
@@ -121,44 +87,6 @@ SOFTWARE.
121
87
 
122
88
  ---
123
89
 
124
- Name: react-use
125
- Version: 17.6.1
126
- License: Unlicense
127
- Private: false
128
- Description: Collection of React Hooks
129
- Repository: https://github.com/streamich/react-use
130
- Homepage: https://github.com/streamich/react-use#readme
131
- Author: @streamich
132
- License Text:
133
- ===
134
-
135
- This is free and unencumbered software released into the public domain.
136
-
137
- Anyone is free to copy, modify, publish, use, compile, sell, or
138
- distribute this software, either in source code form or as a compiled
139
- binary, for any purpose, commercial or non-commercial, and by any
140
- means.
141
-
142
- In jurisdictions that recognize copyright laws, the author or authors
143
- of this software dedicate any and all copyright interest in the
144
- software to the public domain. We make this dedication for the benefit
145
- of the public at large and to the detriment of our heirs and
146
- successors. We intend this dedication to be an overt act of
147
- relinquishment in perpetuity of all present and future rights to this
148
- software under copyright law.
149
-
150
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
151
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
152
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
153
- IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
154
- OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
155
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
156
- OTHER DEALINGS IN THE SOFTWARE.
157
-
158
- For more information, please refer to <https://unlicense.org>
159
-
160
- ---
161
-
162
90
  Name: prop-types
163
91
  Version: 15.8.1
164
92
  License: MIT
@@ -194,7 +122,7 @@ SOFTWARE.
194
122
  ---
195
123
 
196
124
  Name: react-draggable
197
- Version: 4.7.0
125
+ Version: 4.7.2
198
126
  License: MIT
199
127
  Private: false
200
128
  Description: React draggable component
@@ -266,7 +194,7 @@ SOFTWARE.
266
194
  ---
267
195
 
268
196
  Name: react-hook-form
269
- Version: 7.83.0
197
+ Version: 7.89.0
270
198
  License: MIT
271
199
  Private: false
272
200
  Description: Performant, flexible and extensible forms library for React Hooks
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.2
2
+ * @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.20
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: MIT
6
6
  */
7
7
  import { OptionsDialog as o } from "./index.mjs";
8
8
  import { Box as t, FormControl as n, TextField as a } from "@mui/material";
@@ -30,14 +30,14 @@ var u = ["Input"], d = p(i((i, p) => {
30
30
  o.keyCode === l.Enter && await M?.(D, void 0);
31
31
  }, [D, N]), z = c((o) => {
32
32
  P(o.target.value), M?.(o.target.value, void 0);
33
- }, [g]);
33
+ }, [g]), E = c(async (o) => await M(D, o) ?? !0, [D, g]);
34
34
  return e(o, {
35
35
  options: w,
36
36
  onDone: x,
37
37
  onOption: (o, t) => {
38
38
  t || N(o);
39
39
  },
40
- onValidateOption: c(async (o) => await M(D, o) ?? !0, [D, g]),
40
+ onValidateOption: E,
41
41
  cancelOption: C,
42
42
  defaultOption: I,
43
43
  autoFocusSel: F,