jcicl 0.0.197 → 0.0.201
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,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as z, jsx as
|
|
1
|
+
import { jsxs as z, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
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
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
|
-
import { B as
|
|
9
|
-
import { u as
|
|
8
|
+
import { B as ce } from "../.chunks/ButtonBase.js";
|
|
9
|
+
import { u as re } from "../.chunks/useControlled.js";
|
|
10
10
|
import { r as D } from "../.chunks/TransitionGroupContext.js";
|
|
11
11
|
import { c as P } from "../.chunks/createSvgIcon.js";
|
|
12
12
|
import { m as ie } from "../.chunks/memoTheme.js";
|
|
@@ -19,14 +19,14 @@ const de = (o) => {
|
|
|
19
19
|
const {
|
|
20
20
|
classes: t,
|
|
21
21
|
checked: a,
|
|
22
|
-
disabled:
|
|
22
|
+
disabled: r,
|
|
23
23
|
edge: n
|
|
24
24
|
} = o, l = {
|
|
25
|
-
root: ["root", a && "checked",
|
|
25
|
+
root: ["root", a && "checked", r && "disabled", n && `edge${b(n)}`],
|
|
26
26
|
input: ["input"]
|
|
27
27
|
};
|
|
28
28
|
return H(l, le, t);
|
|
29
|
-
}, pe = O(
|
|
29
|
+
}, pe = O(ce)({
|
|
30
30
|
padding: 9,
|
|
31
31
|
borderRadius: "50%",
|
|
32
32
|
variants: [{
|
|
@@ -77,7 +77,7 @@ const de = (o) => {
|
|
|
77
77
|
zIndex: 1
|
|
78
78
|
}), _ = /* @__PURE__ */ v.forwardRef(function(t, a) {
|
|
79
79
|
const {
|
|
80
|
-
autoFocus:
|
|
80
|
+
autoFocus: r,
|
|
81
81
|
checked: n,
|
|
82
82
|
checkedIcon: l,
|
|
83
83
|
className: p,
|
|
@@ -99,7 +99,7 @@ const de = (o) => {
|
|
|
99
99
|
type: x,
|
|
100
100
|
value: j,
|
|
101
101
|
...K
|
|
102
|
-
} = t, [$, Q] =
|
|
102
|
+
} = t, [$, Q] = re({
|
|
103
103
|
controlled: n,
|
|
104
104
|
default: !!d,
|
|
105
105
|
name: "SwitchBase",
|
|
@@ -136,8 +136,8 @@ const de = (o) => {
|
|
|
136
136
|
ownerState: R,
|
|
137
137
|
ref: a,
|
|
138
138
|
...K,
|
|
139
|
-
children: [/* @__PURE__ */
|
|
140
|
-
autoFocus:
|
|
139
|
+
children: [/* @__PURE__ */ c(ue, {
|
|
140
|
+
autoFocus: r,
|
|
141
141
|
checked: n,
|
|
142
142
|
defaultChecked: d,
|
|
143
143
|
className: N.input,
|
|
@@ -261,11 +261,11 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
261
261
|
*/
|
|
262
262
|
value: e.any
|
|
263
263
|
});
|
|
264
|
-
const fe = P(/* @__PURE__ */
|
|
264
|
+
const fe = P(/* @__PURE__ */ c("path", {
|
|
265
265
|
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
266
|
-
}), "CheckBoxOutlineBlank"), he = P(/* @__PURE__ */
|
|
266
|
+
}), "CheckBoxOutlineBlank"), he = P(/* @__PURE__ */ c("path", {
|
|
267
267
|
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
268
|
-
}), "CheckBox"), me = P(/* @__PURE__ */
|
|
268
|
+
}), "CheckBox"), me = P(/* @__PURE__ */ c("path", {
|
|
269
269
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
270
270
|
}), "IndeterminateCheckBox");
|
|
271
271
|
function be(o) {
|
|
@@ -275,10 +275,10 @@ const S = q("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
275
275
|
const {
|
|
276
276
|
classes: t,
|
|
277
277
|
indeterminate: a,
|
|
278
|
-
color:
|
|
278
|
+
color: r,
|
|
279
279
|
size: n
|
|
280
280
|
} = o, l = {
|
|
281
|
-
root: ["root", a && "indeterminate", `color${b(
|
|
281
|
+
root: ["root", a && "indeterminate", `color${b(r)}`, `size${b(n)}`]
|
|
282
282
|
}, p = H(l, be, t);
|
|
283
283
|
return {
|
|
284
284
|
...t,
|
|
@@ -345,8 +345,8 @@ const S = q("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}]
|
|
348
|
-
}))), Ce = /* @__PURE__ */
|
|
349
|
-
const
|
|
348
|
+
}))), Ce = /* @__PURE__ */ c(he, {}), ye = /* @__PURE__ */ c(fe, {}), xe = /* @__PURE__ */ c(me, {}), W = /* @__PURE__ */ v.forwardRef(function(t, a) {
|
|
349
|
+
const r = ne({
|
|
350
350
|
props: t,
|
|
351
351
|
name: "MuiCheckbox"
|
|
352
352
|
}), {
|
|
@@ -360,14 +360,14 @@ const S = q("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
360
360
|
disableRipple: w = !1,
|
|
361
361
|
className: B,
|
|
362
362
|
...I
|
|
363
|
-
} =
|
|
364
|
-
...
|
|
363
|
+
} = r, C = d ? k : p, y = d ? k : n, f = {
|
|
364
|
+
...r,
|
|
365
365
|
disableRipple: w,
|
|
366
366
|
color: l,
|
|
367
367
|
indeterminate: d,
|
|
368
368
|
size: u
|
|
369
369
|
}, h = ke(f);
|
|
370
|
-
return /* @__PURE__ */
|
|
370
|
+
return /* @__PURE__ */ c(ge, {
|
|
371
371
|
type: "checkbox",
|
|
372
372
|
inputProps: {
|
|
373
373
|
"data-indeterminate": d,
|
|
@@ -498,7 +498,6 @@ const ve = oe("div")(() => ({
|
|
|
498
498
|
.jcCheckboxLabel {
|
|
499
499
|
white-space: nowrap;
|
|
500
500
|
font-weight: bold;
|
|
501
|
-
text-transform: capitalize;
|
|
502
501
|
line-height: 1;
|
|
503
502
|
}
|
|
504
503
|
|
|
@@ -517,7 +516,7 @@ const ve = oe("div")(() => ({
|
|
|
517
516
|
o,
|
|
518
517
|
t && ":"
|
|
519
518
|
] }),
|
|
520
|
-
/* @__PURE__ */
|
|
519
|
+
/* @__PURE__ */ c(W, { ...a })
|
|
521
520
|
] });
|
|
522
521
|
export {
|
|
523
522
|
Me as LabeledCheckbox,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { n as
|
|
3
|
-
import { c as
|
|
4
|
-
import { Input as
|
|
5
|
-
const
|
|
6
|
-
...
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { n as s } from "../.chunks/emotion-styled.browser.esm.js";
|
|
3
|
+
import { c as n } from "../.chunks/emotion-react.browser.esm.js";
|
|
4
|
+
import { Input as i } from "../Input/Input.js";
|
|
5
|
+
const l = s("div")(({ grid: e }) => ({
|
|
6
|
+
...n`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-wrap: nowrap;
|
|
9
9
|
gap: 9px;
|
|
@@ -12,7 +12,6 @@ const i = p("div")(({ grid: t }) => ({
|
|
|
12
12
|
span {
|
|
13
13
|
white-space: nowrap;
|
|
14
14
|
font-weight: bold;
|
|
15
|
-
text-transform: capitalize;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
.MuiTextField-root {
|
|
@@ -20,17 +19,22 @@ const i = p("div")(({ grid: t }) => ({
|
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
.MuiInputBase-root {
|
|
23
|
-
width: ${
|
|
22
|
+
width: ${e && "100%"};
|
|
24
23
|
}
|
|
25
24
|
`
|
|
26
|
-
})),
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
})), u = ({
|
|
26
|
+
label: e,
|
|
27
|
+
grid: t = !0,
|
|
28
|
+
noLabel: a = !1,
|
|
29
|
+
...p
|
|
30
|
+
}) => /* @__PURE__ */ o(l, { grid: t, className: "jcLabeledInput", children: [
|
|
31
|
+
!a && /* @__PURE__ */ o("span", { children: [
|
|
32
|
+
e,
|
|
29
33
|
":"
|
|
30
34
|
] }),
|
|
31
|
-
/* @__PURE__ */ r(
|
|
35
|
+
/* @__PURE__ */ r(i, { ...p })
|
|
32
36
|
] });
|
|
33
37
|
export {
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
u as LabeledInput,
|
|
39
|
+
u as default
|
|
36
40
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jcicl",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.201",
|
|
5
5
|
"description": "Component library for the websites of Johnson County Iowa",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary?path=%2FREADME.md&version=GBmaster",
|