jcicl 0.0.193 → 0.0.195
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/.chunks/ButtonBase.js +2 -2
- package/.chunks/CircularProgress.js +7 -7
- package/.chunks/DefaultPropsProvider.js +6 -6
- package/.chunks/Popper.js +1404 -0
- package/.chunks/Portal.js +8 -8
- package/.chunks/TextField.js +6205 -578
- package/.chunks/TransitionGroupContext.js +7 -7
- package/.chunks/createSvgIcon.js +1 -1
- package/.chunks/index.js +1 -1
- package/AppContainer/AppContainer.js +4 -4
- package/Button/Button.js +1 -1
- package/Divider/Divider.js +97 -94
- package/LabeledCheckbox/LabeledCheckbox.js +1 -1
- package/LabeledDropdown/LabeledDropdown.d.ts +2 -2
- package/LabeledDropdown/LabeledDropdown.js +2533 -195
- package/Pagination/Pagination.js +1 -1
- package/Tooltip/Tooltip.js +300 -1694
- package/package.json +1 -1
- package/.chunks/Select.js +0 -5641
- package/.chunks/dividerClasses.js +0 -9
|
@@ -76,14 +76,14 @@ function L(t, e) {
|
|
|
76
76
|
}
|
|
77
77
|
const w = p.createContext(null);
|
|
78
78
|
export {
|
|
79
|
-
|
|
79
|
+
f as T,
|
|
80
80
|
L as _,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
f,
|
|
81
|
+
R as a,
|
|
82
|
+
b,
|
|
83
|
+
d as c,
|
|
84
|
+
h as d,
|
|
85
|
+
j as e,
|
|
86
|
+
w as f,
|
|
87
87
|
_ as r,
|
|
88
88
|
y as s,
|
|
89
89
|
P as u
|
package/.chunks/createSvgIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "react";
|
|
2
2
|
import { jsxs as I, jsx as b } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { g as w, a as C, s as T, c as x, u as N, b as O, P as e, d as R } from "./DefaultPropsProvider.js";
|
|
4
4
|
import { m as j } from "./memoTheme.js";
|
|
5
5
|
function E(o) {
|
|
6
6
|
return w("MuiSvgIcon", o);
|
package/.chunks/index.js
CHANGED
|
@@ -11,14 +11,14 @@ import { Button as K } from "../Button/Button.js";
|
|
|
11
11
|
import i from "../theme.js";
|
|
12
12
|
import { l as Ae } from "../.chunks/jocologo.js";
|
|
13
13
|
import { X as je } from "../.chunks/Close.js";
|
|
14
|
-
import { P as t,
|
|
14
|
+
import { P as t, g as Ue, a as Fe, s as ce, r as Ve, c as Z, u as We, b as _, d as Qe } from "../.chunks/DefaultPropsProvider.js";
|
|
15
15
|
import { u as Xe } from "../.chunks/index.js";
|
|
16
|
-
import {
|
|
16
|
+
import { b as Ge, e as Ye, H as _e, u as ke, g as Je, T as Ke, r as Ze, c as me } from "../.chunks/Portal.js";
|
|
17
17
|
import { m as Ce } from "../.chunks/memoTheme.js";
|
|
18
|
-
import { g as qe, o as Te, d as eo, M as oo, P as ro } from "../.chunks/
|
|
18
|
+
import { g as qe, o as Te, d as eo, M as oo, P as ro } from "../.chunks/TextField.js";
|
|
19
19
|
import { i as to } from "../.chunks/useSlot.js";
|
|
20
20
|
import { c as no } from "../.chunks/chainPropTypes.js";
|
|
21
|
-
import {
|
|
21
|
+
import { c as io, u as ao } from "../.chunks/TransitionGroupContext.js";
|
|
22
22
|
function so(e, o, r, n, c) {
|
|
23
23
|
const [l, u] = x.useState(() => c && r ? r(e).matches : n ? n(e).matches : o);
|
|
24
24
|
return io(() => {
|
package/Button/Button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as H, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import * as g from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { g as _, a as A, s as c, r as q, c as d, f as J, u as K, b as O, P as t, d as Q, e as v } from "../.chunks/DefaultPropsProvider.js";
|
|
4
4
|
import { m as X } from "../.chunks/memoTheme.js";
|
|
5
5
|
import { c as Y } from "../.chunks/createSimplePaletteValueFilter.js";
|
|
6
6
|
import { B as S } from "../.chunks/ButtonBase.js";
|
package/Divider/Divider.js
CHANGED
|
@@ -1,42 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { n as
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { n as C, i as D } from "../.chunks/emotion-styled.browser.esm.js";
|
|
3
3
|
import * as A from "react";
|
|
4
|
-
import { s as
|
|
5
|
-
import { m } from "../.chunks/memoTheme.js";
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { a as R, g as S, s as u, u as T, b as L, P as r, d as W, e as $ } from "../.chunks/DefaultPropsProvider.js";
|
|
5
|
+
import { m as b } from "../.chunks/memoTheme.js";
|
|
6
|
+
function I(t) {
|
|
7
|
+
return S("MuiDivider", t);
|
|
8
|
+
}
|
|
9
|
+
R("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
10
|
+
const O = (t) => {
|
|
8
11
|
const {
|
|
9
|
-
absolute:
|
|
10
|
-
children:
|
|
12
|
+
absolute: e,
|
|
13
|
+
children: i,
|
|
11
14
|
classes: o,
|
|
12
15
|
flexItem: p,
|
|
13
16
|
light: s,
|
|
14
17
|
orientation: a,
|
|
15
|
-
textAlign:
|
|
16
|
-
variant:
|
|
17
|
-
} =
|
|
18
|
-
return
|
|
19
|
-
root: ["root",
|
|
18
|
+
textAlign: l,
|
|
19
|
+
variant: n
|
|
20
|
+
} = t;
|
|
21
|
+
return W({
|
|
22
|
+
root: ["root", e && "absolute", n, s && "light", a === "vertical" && "vertical", p && "flexItem", i && "withChildren", i && a === "vertical" && "withChildrenVertical", l === "right" && a !== "vertical" && "textAlignRight", l === "left" && a !== "vertical" && "textAlignLeft"],
|
|
20
23
|
wrapper: ["wrapper", a === "vertical" && "wrapperVertical"]
|
|
21
|
-
},
|
|
22
|
-
},
|
|
24
|
+
}, I, o);
|
|
25
|
+
}, V = u("div", {
|
|
23
26
|
name: "MuiDivider",
|
|
24
27
|
slot: "Root",
|
|
25
|
-
overridesResolver: (
|
|
28
|
+
overridesResolver: (t, e) => {
|
|
26
29
|
const {
|
|
27
|
-
ownerState:
|
|
28
|
-
} =
|
|
29
|
-
return [
|
|
30
|
+
ownerState: i
|
|
31
|
+
} = t;
|
|
32
|
+
return [e.root, i.absolute && e.absolute, e[i.variant], i.light && e.light, i.orientation === "vertical" && e.vertical, i.flexItem && e.flexItem, i.children && e.withChildren, i.children && i.orientation === "vertical" && e.withChildrenVertical, i.textAlign === "right" && i.orientation !== "vertical" && e.textAlignRight, i.textAlign === "left" && i.orientation !== "vertical" && e.textAlignLeft];
|
|
30
33
|
}
|
|
31
|
-
})(
|
|
32
|
-
theme:
|
|
34
|
+
})(b(({
|
|
35
|
+
theme: t
|
|
33
36
|
}) => ({
|
|
34
37
|
margin: 0,
|
|
35
38
|
// Reset browser default style.
|
|
36
39
|
flexShrink: 0,
|
|
37
40
|
borderWidth: 0,
|
|
38
41
|
borderStyle: "solid",
|
|
39
|
-
borderColor: (
|
|
42
|
+
borderColor: (t.vars || t).palette.divider,
|
|
40
43
|
borderBottomWidth: "thin",
|
|
41
44
|
variants: [{
|
|
42
45
|
props: {
|
|
@@ -53,7 +56,7 @@ const W = (e) => {
|
|
|
53
56
|
light: !0
|
|
54
57
|
},
|
|
55
58
|
style: {
|
|
56
|
-
borderColor:
|
|
59
|
+
borderColor: t.vars ? `rgba(${t.vars.palette.dividerChannel} / 0.08)` : $(t.palette.divider, 0.08)
|
|
57
60
|
}
|
|
58
61
|
}, {
|
|
59
62
|
props: {
|
|
@@ -68,8 +71,8 @@ const W = (e) => {
|
|
|
68
71
|
orientation: "horizontal"
|
|
69
72
|
},
|
|
70
73
|
style: {
|
|
71
|
-
marginLeft:
|
|
72
|
-
marginRight:
|
|
74
|
+
marginLeft: t.spacing(2),
|
|
75
|
+
marginRight: t.spacing(2)
|
|
73
76
|
}
|
|
74
77
|
}, {
|
|
75
78
|
props: {
|
|
@@ -77,8 +80,8 @@ const W = (e) => {
|
|
|
77
80
|
orientation: "vertical"
|
|
78
81
|
},
|
|
79
82
|
style: {
|
|
80
|
-
marginTop:
|
|
81
|
-
marginBottom:
|
|
83
|
+
marginTop: t.spacing(1),
|
|
84
|
+
marginBottom: t.spacing(1)
|
|
82
85
|
}
|
|
83
86
|
}, {
|
|
84
87
|
props: {
|
|
@@ -99,8 +102,8 @@ const W = (e) => {
|
|
|
99
102
|
}
|
|
100
103
|
}, {
|
|
101
104
|
props: ({
|
|
102
|
-
ownerState:
|
|
103
|
-
}) => !!
|
|
105
|
+
ownerState: e
|
|
106
|
+
}) => !!e.children,
|
|
104
107
|
style: {
|
|
105
108
|
display: "flex",
|
|
106
109
|
whiteSpace: "nowrap",
|
|
@@ -115,31 +118,31 @@ const W = (e) => {
|
|
|
115
118
|
}
|
|
116
119
|
}, {
|
|
117
120
|
props: ({
|
|
118
|
-
ownerState:
|
|
119
|
-
}) =>
|
|
121
|
+
ownerState: e
|
|
122
|
+
}) => e.children && e.orientation !== "vertical",
|
|
120
123
|
style: {
|
|
121
124
|
"&::before, &::after": {
|
|
122
125
|
width: "100%",
|
|
123
|
-
borderTop: `thin solid ${(
|
|
126
|
+
borderTop: `thin solid ${(t.vars || t).palette.divider}`,
|
|
124
127
|
borderTopStyle: "inherit"
|
|
125
128
|
}
|
|
126
129
|
}
|
|
127
130
|
}, {
|
|
128
131
|
props: ({
|
|
129
|
-
ownerState:
|
|
130
|
-
}) =>
|
|
132
|
+
ownerState: e
|
|
133
|
+
}) => e.orientation === "vertical" && e.children,
|
|
131
134
|
style: {
|
|
132
135
|
flexDirection: "column",
|
|
133
136
|
"&::before, &::after": {
|
|
134
137
|
height: "100%",
|
|
135
|
-
borderLeft: `thin solid ${(
|
|
138
|
+
borderLeft: `thin solid ${(t.vars || t).palette.divider}`,
|
|
136
139
|
borderLeftStyle: "inherit"
|
|
137
140
|
}
|
|
138
141
|
}
|
|
139
142
|
}, {
|
|
140
143
|
props: ({
|
|
141
|
-
ownerState:
|
|
142
|
-
}) =>
|
|
144
|
+
ownerState: e
|
|
145
|
+
}) => e.textAlign === "right" && e.orientation !== "vertical",
|
|
143
146
|
style: {
|
|
144
147
|
"&::before": {
|
|
145
148
|
width: "90%"
|
|
@@ -150,8 +153,8 @@ const W = (e) => {
|
|
|
150
153
|
}
|
|
151
154
|
}, {
|
|
152
155
|
props: ({
|
|
153
|
-
ownerState:
|
|
154
|
-
}) =>
|
|
156
|
+
ownerState: e
|
|
157
|
+
}) => e.textAlign === "left" && e.orientation !== "vertical",
|
|
155
158
|
style: {
|
|
156
159
|
"&::before": {
|
|
157
160
|
width: "10%"
|
|
@@ -161,68 +164,68 @@ const W = (e) => {
|
|
|
161
164
|
}
|
|
162
165
|
}
|
|
163
166
|
}]
|
|
164
|
-
}))),
|
|
167
|
+
}))), N = u("span", {
|
|
165
168
|
name: "MuiDivider",
|
|
166
169
|
slot: "Wrapper",
|
|
167
|
-
overridesResolver: (
|
|
170
|
+
overridesResolver: (t, e) => {
|
|
168
171
|
const {
|
|
169
|
-
ownerState:
|
|
170
|
-
} =
|
|
171
|
-
return [
|
|
172
|
+
ownerState: i
|
|
173
|
+
} = t;
|
|
174
|
+
return [e.wrapper, i.orientation === "vertical" && e.wrapperVertical];
|
|
172
175
|
}
|
|
173
|
-
})(
|
|
174
|
-
theme:
|
|
176
|
+
})(b(({
|
|
177
|
+
theme: t
|
|
175
178
|
}) => ({
|
|
176
179
|
display: "inline-block",
|
|
177
|
-
paddingLeft: `calc(${
|
|
178
|
-
paddingRight: `calc(${
|
|
180
|
+
paddingLeft: `calc(${t.spacing(1)} * 1.2)`,
|
|
181
|
+
paddingRight: `calc(${t.spacing(1)} * 1.2)`,
|
|
179
182
|
variants: [{
|
|
180
183
|
props: {
|
|
181
184
|
orientation: "vertical"
|
|
182
185
|
},
|
|
183
186
|
style: {
|
|
184
|
-
paddingTop: `calc(${
|
|
185
|
-
paddingBottom: `calc(${
|
|
187
|
+
paddingTop: `calc(${t.spacing(1)} * 1.2)`,
|
|
188
|
+
paddingBottom: `calc(${t.spacing(1)} * 1.2)`
|
|
186
189
|
}
|
|
187
190
|
}]
|
|
188
|
-
}))), d = /* @__PURE__ */ A.forwardRef(function(
|
|
189
|
-
const o =
|
|
190
|
-
props:
|
|
191
|
+
}))), d = /* @__PURE__ */ A.forwardRef(function(e, i) {
|
|
192
|
+
const o = T({
|
|
193
|
+
props: e,
|
|
191
194
|
name: "MuiDivider"
|
|
192
195
|
}), {
|
|
193
196
|
absolute: p = !1,
|
|
194
197
|
children: s,
|
|
195
198
|
className: a,
|
|
196
|
-
orientation:
|
|
197
|
-
component:
|
|
198
|
-
flexItem:
|
|
199
|
-
light:
|
|
200
|
-
role: c =
|
|
199
|
+
orientation: l = "horizontal",
|
|
200
|
+
component: n = s || l === "vertical" ? "div" : "hr",
|
|
201
|
+
flexItem: f = !1,
|
|
202
|
+
light: m = !1,
|
|
203
|
+
role: c = n !== "hr" ? "separator" : void 0,
|
|
201
204
|
textAlign: x = "center",
|
|
202
205
|
variant: w = "fullWidth",
|
|
203
206
|
...y
|
|
204
|
-
} = o,
|
|
207
|
+
} = o, h = {
|
|
205
208
|
...o,
|
|
206
209
|
absolute: p,
|
|
207
|
-
component:
|
|
208
|
-
flexItem:
|
|
209
|
-
light:
|
|
210
|
-
orientation:
|
|
210
|
+
component: n,
|
|
211
|
+
flexItem: f,
|
|
212
|
+
light: m,
|
|
213
|
+
orientation: l,
|
|
211
214
|
role: c,
|
|
212
215
|
textAlign: x,
|
|
213
216
|
variant: w
|
|
214
|
-
}, v =
|
|
215
|
-
return /* @__PURE__ */
|
|
216
|
-
as:
|
|
217
|
-
className:
|
|
217
|
+
}, v = O(h);
|
|
218
|
+
return /* @__PURE__ */ g(V, {
|
|
219
|
+
as: n,
|
|
220
|
+
className: L(v.root, a),
|
|
218
221
|
role: c,
|
|
219
|
-
ref:
|
|
220
|
-
ownerState:
|
|
221
|
-
"aria-orientation": c === "separator" && (
|
|
222
|
+
ref: i,
|
|
223
|
+
ownerState: h,
|
|
224
|
+
"aria-orientation": c === "separator" && (n !== "hr" || l === "vertical") ? l : void 0,
|
|
222
225
|
...y,
|
|
223
|
-
children: s ? /* @__PURE__ */
|
|
226
|
+
children: s ? /* @__PURE__ */ g(N, {
|
|
224
227
|
className: v.wrapper,
|
|
225
|
-
ownerState:
|
|
228
|
+
ownerState: h,
|
|
226
229
|
children: s
|
|
227
230
|
}) : null
|
|
228
231
|
});
|
|
@@ -237,71 +240,71 @@ process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
|
237
240
|
* Absolutely position the element.
|
|
238
241
|
* @default false
|
|
239
242
|
*/
|
|
240
|
-
absolute:
|
|
243
|
+
absolute: r.bool,
|
|
241
244
|
/**
|
|
242
245
|
* The content of the component.
|
|
243
246
|
*/
|
|
244
|
-
children:
|
|
247
|
+
children: r.node,
|
|
245
248
|
/**
|
|
246
249
|
* Override or extend the styles applied to the component.
|
|
247
250
|
*/
|
|
248
|
-
classes:
|
|
251
|
+
classes: r.object,
|
|
249
252
|
/**
|
|
250
253
|
* @ignore
|
|
251
254
|
*/
|
|
252
|
-
className:
|
|
255
|
+
className: r.string,
|
|
253
256
|
/**
|
|
254
257
|
* The component used for the root node.
|
|
255
258
|
* Either a string to use a HTML element or a component.
|
|
256
259
|
*/
|
|
257
|
-
component:
|
|
260
|
+
component: r.elementType,
|
|
258
261
|
/**
|
|
259
262
|
* If `true`, a vertical divider will have the correct height when used in flex container.
|
|
260
263
|
* (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
|
|
261
264
|
* @default false
|
|
262
265
|
*/
|
|
263
|
-
flexItem:
|
|
266
|
+
flexItem: r.bool,
|
|
264
267
|
/**
|
|
265
268
|
* If `true`, the divider will have a lighter color.
|
|
266
269
|
* @default false
|
|
267
270
|
* @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
268
271
|
*/
|
|
269
|
-
light:
|
|
272
|
+
light: r.bool,
|
|
270
273
|
/**
|
|
271
274
|
* The component orientation.
|
|
272
275
|
* @default 'horizontal'
|
|
273
276
|
*/
|
|
274
|
-
orientation:
|
|
277
|
+
orientation: r.oneOf(["horizontal", "vertical"]),
|
|
275
278
|
/**
|
|
276
279
|
* @ignore
|
|
277
280
|
*/
|
|
278
|
-
role:
|
|
281
|
+
role: r.string,
|
|
279
282
|
/**
|
|
280
283
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
281
284
|
*/
|
|
282
|
-
sx:
|
|
285
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
|
|
283
286
|
/**
|
|
284
287
|
* The text alignment.
|
|
285
288
|
* @default 'center'
|
|
286
289
|
*/
|
|
287
|
-
textAlign:
|
|
290
|
+
textAlign: r.oneOf(["center", "left", "right"]),
|
|
288
291
|
/**
|
|
289
292
|
* The variant to use.
|
|
290
293
|
* @default 'fullWidth'
|
|
291
294
|
*/
|
|
292
|
-
variant:
|
|
295
|
+
variant: r.oneOfType([r.oneOf(["fullWidth", "inset", "middle"]), r.string])
|
|
293
296
|
});
|
|
294
|
-
const
|
|
295
|
-
shouldForwardProp: (
|
|
296
|
-
})(({ color:
|
|
297
|
-
borderBottomColor: o ? "transparent" :
|
|
298
|
-
borderRightColor: o ?
|
|
299
|
-
opacity:
|
|
300
|
-
margin: o ? `0 ${
|
|
297
|
+
const B = C(d, {
|
|
298
|
+
shouldForwardProp: (t) => D(t) && typeof t == "string"
|
|
299
|
+
})(({ color: t = "midnight", opacity: e = 1, spacing: i = 8, vertical: o }) => ({
|
|
300
|
+
borderBottomColor: o ? "transparent" : t,
|
|
301
|
+
borderRightColor: o ? t : "transparent",
|
|
302
|
+
opacity: e,
|
|
303
|
+
margin: o ? `0 ${i}px` : `${i}px 0`,
|
|
301
304
|
height: o ? "100%" : 0,
|
|
302
305
|
width: o ? 1 : "100%"
|
|
303
|
-
})),
|
|
306
|
+
})), k = ({ orientation: t, ...e }) => /* @__PURE__ */ g(B, { vertical: t === "vertical", ...e });
|
|
304
307
|
export {
|
|
305
|
-
|
|
306
|
-
|
|
308
|
+
k as Divider,
|
|
309
|
+
k as default
|
|
307
310
|
};
|
|
@@ -3,7 +3,7 @@ import { n as oe } from "../.chunks/emotion-styled.browser.esm.js";
|
|
|
3
3
|
import { c as te } from "../.chunks/emotion-react.browser.esm.js";
|
|
4
4
|
import ae from "../theme.js";
|
|
5
5
|
import * as v from "react";
|
|
6
|
-
import {
|
|
6
|
+
import { g as E, a as q, s as O, r as V, b as U, P as e, c as b, d as H, e as T, u as ne } from "../.chunks/DefaultPropsProvider.js";
|
|
7
7
|
import { u as se } from "../.chunks/useFormControl.js";
|
|
8
8
|
import { B as re } from "../.chunks/ButtonBase.js";
|
|
9
9
|
import { u as ce } from "../.chunks/useControlled.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AutocompleteProps } from '@mui/material/Autocomplete';
|
|
2
2
|
export type DropdownOption = {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string | number;
|
|
@@ -9,6 +9,6 @@ export type LabeledDropdownProps = {
|
|
|
9
9
|
options: DropdownOption[];
|
|
10
10
|
borderFocusColor?: string;
|
|
11
11
|
minWidth?: string;
|
|
12
|
-
} &
|
|
12
|
+
} & AutocompleteProps<DropdownOption, false, false, false>;
|
|
13
13
|
export declare const LabeledDropdown: React.FC<LabeledDropdownProps>;
|
|
14
14
|
export default LabeledDropdown;
|