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.
@@ -76,14 +76,14 @@ function L(t, e) {
76
76
  }
77
77
  const w = p.createContext(null);
78
78
  export {
79
- w as T,
79
+ f as T,
80
80
  L as _,
81
- d as a,
82
- h as b,
83
- j as c,
84
- R as d,
85
- b as e,
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
@@ -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 { a as w, g as C, s as T, e as x, u as N, c as O, P as e, b as R } from "./DefaultPropsProvider.js";
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
@@ -1,4 +1,4 @@
1
- import { c as v, P as h } from "./DefaultPropsProvider.js";
1
+ import { b as v, P as h } from "./DefaultPropsProvider.js";
2
2
  import * as E from "react";
3
3
  import "react/jsx-runtime";
4
4
  function O(n) {
@@ -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, a as Ue, g as Fe, s as ce, r as Ve, e as Z, u as We, c as _, b as Qe } from "../.chunks/DefaultPropsProvider.js";
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 { u as Ge, e as Ye, H as _e, a as ke, g as Je, T as Ke, r as Ze, b as me } from "../.chunks/Portal.js";
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/Select.js";
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 { a as io, u as ao } from "../.chunks/TransitionGroupContext.js";
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 { a as _, g as A, s as c, r as q, e as d, f as J, u as K, c as O, P as t, b as Q, d as v } from "../.chunks/DefaultPropsProvider.js";
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";
@@ -1,42 +1,45 @@
1
- import { jsx as h } from "react/jsx-runtime";
2
- import { n as D, i as S } from "../.chunks/emotion-styled.browser.esm.js";
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 b, u as C, c as R, P as i, b as T, d as $ } from "../.chunks/DefaultPropsProvider.js";
5
- import { m } from "../.chunks/memoTheme.js";
6
- import { g as L } from "../.chunks/dividerClasses.js";
7
- const W = (e) => {
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: t,
10
- children: r,
12
+ absolute: e,
13
+ children: i,
11
14
  classes: o,
12
15
  flexItem: p,
13
16
  light: s,
14
17
  orientation: a,
15
- textAlign: n,
16
- variant: l
17
- } = e;
18
- return T({
19
- root: ["root", t && "absolute", l, s && "light", a === "vertical" && "vertical", p && "flexItem", r && "withChildren", r && a === "vertical" && "withChildrenVertical", n === "right" && a !== "vertical" && "textAlignRight", n === "left" && a !== "vertical" && "textAlignLeft"],
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
- }, L, o);
22
- }, O = b("div", {
24
+ }, I, o);
25
+ }, V = u("div", {
23
26
  name: "MuiDivider",
24
27
  slot: "Root",
25
- overridesResolver: (e, t) => {
28
+ overridesResolver: (t, e) => {
26
29
  const {
27
- ownerState: r
28
- } = e;
29
- return [t.root, r.absolute && t.absolute, t[r.variant], r.light && t.light, r.orientation === "vertical" && t.vertical, r.flexItem && t.flexItem, r.children && t.withChildren, r.children && r.orientation === "vertical" && t.withChildrenVertical, r.textAlign === "right" && r.orientation !== "vertical" && t.textAlignRight, r.textAlign === "left" && r.orientation !== "vertical" && t.textAlignLeft];
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
- })(m(({
32
- theme: e
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: (e.vars || e).palette.divider,
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: e.vars ? `rgba(${e.vars.palette.dividerChannel} / 0.08)` : $(e.palette.divider, 0.08)
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: e.spacing(2),
72
- marginRight: e.spacing(2)
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: e.spacing(1),
81
- marginBottom: e.spacing(1)
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: t
103
- }) => !!t.children,
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: t
119
- }) => t.children && t.orientation !== "vertical",
121
+ ownerState: e
122
+ }) => e.children && e.orientation !== "vertical",
120
123
  style: {
121
124
  "&::before, &::after": {
122
125
  width: "100%",
123
- borderTop: `thin solid ${(e.vars || e).palette.divider}`,
126
+ borderTop: `thin solid ${(t.vars || t).palette.divider}`,
124
127
  borderTopStyle: "inherit"
125
128
  }
126
129
  }
127
130
  }, {
128
131
  props: ({
129
- ownerState: t
130
- }) => t.orientation === "vertical" && t.children,
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 ${(e.vars || e).palette.divider}`,
138
+ borderLeft: `thin solid ${(t.vars || t).palette.divider}`,
136
139
  borderLeftStyle: "inherit"
137
140
  }
138
141
  }
139
142
  }, {
140
143
  props: ({
141
- ownerState: t
142
- }) => t.textAlign === "right" && t.orientation !== "vertical",
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: t
154
- }) => t.textAlign === "left" && t.orientation !== "vertical",
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
- }))), I = b("span", {
167
+ }))), N = u("span", {
165
168
  name: "MuiDivider",
166
169
  slot: "Wrapper",
167
- overridesResolver: (e, t) => {
170
+ overridesResolver: (t, e) => {
168
171
  const {
169
- ownerState: r
170
- } = e;
171
- return [t.wrapper, r.orientation === "vertical" && t.wrapperVertical];
172
+ ownerState: i
173
+ } = t;
174
+ return [e.wrapper, i.orientation === "vertical" && e.wrapperVertical];
172
175
  }
173
- })(m(({
174
- theme: e
176
+ })(b(({
177
+ theme: t
175
178
  }) => ({
176
179
  display: "inline-block",
177
- paddingLeft: `calc(${e.spacing(1)} * 1.2)`,
178
- paddingRight: `calc(${e.spacing(1)} * 1.2)`,
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(${e.spacing(1)} * 1.2)`,
185
- paddingBottom: `calc(${e.spacing(1)} * 1.2)`
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(t, r) {
189
- const o = C({
190
- props: t,
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: n = "horizontal",
197
- component: l = s || n === "vertical" ? "div" : "hr",
198
- flexItem: g = !1,
199
- light: u = !1,
200
- role: c = l !== "hr" ? "separator" : void 0,
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, f = {
207
+ } = o, h = {
205
208
  ...o,
206
209
  absolute: p,
207
- component: l,
208
- flexItem: g,
209
- light: u,
210
- orientation: n,
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 = W(f);
215
- return /* @__PURE__ */ h(O, {
216
- as: l,
217
- className: R(v.root, a),
217
+ }, v = O(h);
218
+ return /* @__PURE__ */ g(V, {
219
+ as: n,
220
+ className: L(v.root, a),
218
221
  role: c,
219
- ref: r,
220
- ownerState: f,
221
- "aria-orientation": c === "separator" && (l !== "hr" || n === "vertical") ? n : void 0,
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__ */ h(I, {
226
+ children: s ? /* @__PURE__ */ g(N, {
224
227
  className: v.wrapper,
225
- ownerState: f,
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: i.bool,
243
+ absolute: r.bool,
241
244
  /**
242
245
  * The content of the component.
243
246
  */
244
- children: i.node,
247
+ children: r.node,
245
248
  /**
246
249
  * Override or extend the styles applied to the component.
247
250
  */
248
- classes: i.object,
251
+ classes: r.object,
249
252
  /**
250
253
  * @ignore
251
254
  */
252
- className: i.string,
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: i.elementType,
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: i.bool,
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: i.bool,
272
+ light: r.bool,
270
273
  /**
271
274
  * The component orientation.
272
275
  * @default 'horizontal'
273
276
  */
274
- orientation: i.oneOf(["horizontal", "vertical"]),
277
+ orientation: r.oneOf(["horizontal", "vertical"]),
275
278
  /**
276
279
  * @ignore
277
280
  */
278
- role: i.string,
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: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
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: i.oneOf(["center", "left", "right"]),
290
+ textAlign: r.oneOf(["center", "left", "right"]),
288
291
  /**
289
292
  * The variant to use.
290
293
  * @default 'fullWidth'
291
294
  */
292
- variant: i.oneOfType([i.oneOf(["fullWidth", "inset", "middle"]), i.string])
295
+ variant: r.oneOfType([r.oneOf(["fullWidth", "inset", "middle"]), r.string])
293
296
  });
294
- const N = D(d, {
295
- shouldForwardProp: (e) => S(e) && typeof e == "string"
296
- })(({ color: e = "midnight", opacity: t = 1, spacing: r = 8, vertical: o }) => ({
297
- borderBottomColor: o ? "transparent" : e,
298
- borderRightColor: o ? e : "transparent",
299
- opacity: t,
300
- margin: o ? `0 ${r}px` : `${r}px 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
- })), z = ({ orientation: e, ...t }) => /* @__PURE__ */ h(N, { vertical: e === "vertical", ...t });
306
+ })), k = ({ orientation: t, ...e }) => /* @__PURE__ */ g(B, { vertical: t === "vertical", ...e });
304
307
  export {
305
- z as Divider,
306
- z as default
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 { a as E, g as q, s as O, r as V, c as U, P as e, e as b, b as H, d as T, u as ne } from "../.chunks/DefaultPropsProvider.js";
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 { SelectProps } from '@mui/material/Select';
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
- } & SelectProps;
12
+ } & AutocompleteProps<DropdownOption, false, false, false>;
13
13
  export declare const LabeledDropdown: React.FC<LabeledDropdownProps>;
14
14
  export default LabeledDropdown;