jcicl 0.0.227 → 0.0.229
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/AppContainer.js +17 -15
- package/.chunks/DefaultPropsProvider.js +8 -6
- package/.chunks/Paper.js +155 -0
- package/.chunks/Popper.js +1 -1
- package/.chunks/Portal.js +183 -201
- package/.chunks/TextField.js +1067 -1209
- package/.chunks/index.js +6 -83
- package/.chunks/integerPropType.js +31 -0
- package/.chunks/resolveComponentProps.js +80 -0
- package/.chunks/useSlot.js +41 -70
- package/.chunks/useTheme.js +23 -0
- package/Button/Button.js +1 -1
- package/LabeledDropdown/LabeledDropdown.js +21 -19
- package/Pagination/Pagination.js +139 -138
- package/Stepper/Stepper.d.ts +9 -0
- package/Stepper/Stepper.js +687 -0
- package/Stepper/index.d.ts +1 -0
- package/Stepper/index.js +4 -0
- package/Tooltip/Tooltip.js +20 -18
- package/package.json +1 -1
package/Tooltip/Tooltip.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { jsxs as Pe, jsx as C } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
3
|
import { a as Qe, g as Ze, s as Y, c as Me, e as Ee, u as eo, b as I, P as o, d as oo } from "../.chunks/DefaultPropsProvider.js";
|
|
4
|
-
import { u as to
|
|
5
|
-
import { u as ro
|
|
4
|
+
import { u as to } from "../.chunks/index.js";
|
|
5
|
+
import { u as ro } from "../.chunks/useTheme.js";
|
|
6
6
|
import { m as G } from "../.chunks/memoTheme.js";
|
|
7
7
|
import { P as $e } from "../.chunks/Popper.js";
|
|
8
|
-
import { a as
|
|
9
|
-
import { u as
|
|
8
|
+
import { a as j, b as Re, u as po, T as no } from "../.chunks/TransitionGroupContext.js";
|
|
9
|
+
import { u as so } from "../.chunks/useControlled.js";
|
|
10
|
+
import { u as ao, g as io, G as Ce, e as lo } from "../.chunks/Portal.js";
|
|
11
|
+
import { a as A } from "../.chunks/resolveComponentProps.js";
|
|
10
12
|
import { i as xe } from "../.chunks/isFocusVisible.js";
|
|
11
13
|
function co(r) {
|
|
12
14
|
return Ze("MuiTooltip", r);
|
|
@@ -276,7 +278,7 @@ const uo = (r) => {
|
|
|
276
278
|
}
|
|
277
279
|
})));
|
|
278
280
|
let S = !1;
|
|
279
|
-
const Oe = new
|
|
281
|
+
const Oe = new no();
|
|
280
282
|
let R = {
|
|
281
283
|
x: 0,
|
|
282
284
|
y: 0
|
|
@@ -318,12 +320,12 @@ const Ne = /* @__PURE__ */ s.forwardRef(function(e, n) {
|
|
|
318
320
|
slotProps: b = {},
|
|
319
321
|
slots: O = {},
|
|
320
322
|
title: f,
|
|
321
|
-
TransitionComponent: Fe =
|
|
323
|
+
TransitionComponent: Fe = Ce,
|
|
322
324
|
TransitionProps: Ue,
|
|
323
325
|
...pe
|
|
324
326
|
} = c, m = /* @__PURE__ */ s.isValidElement(h) ? h : /* @__PURE__ */ C("span", {
|
|
325
327
|
children: h
|
|
326
|
-
}), ne = ro(), We = to(), [a, se] = s.useState(), [F, Be] = s.useState(null), M = s.useRef(!1), U = je || k, ae =
|
|
328
|
+
}), ne = ro(), We = to(), [a, se] = s.useState(), [F, Be] = s.useState(null), M = s.useRef(!1), U = je || k, ae = j(), W = j(), E = j(), ie = j(), [Ve, le] = so({
|
|
327
329
|
controlled: oe,
|
|
328
330
|
default: !1,
|
|
329
331
|
name: "Tooltip",
|
|
@@ -339,13 +341,13 @@ const Ne = /* @__PURE__ */ s.forwardRef(function(e, n) {
|
|
|
339
341
|
`));
|
|
340
342
|
}, [f, a, t]);
|
|
341
343
|
}
|
|
342
|
-
const B =
|
|
344
|
+
const B = ao(De), y = s.useRef(), $ = Re(() => {
|
|
343
345
|
y.current !== void 0 && (document.body.style.WebkitUserSelect = y.current, y.current = void 0), ie.clear();
|
|
344
346
|
});
|
|
345
347
|
s.useEffect(() => $, [$]);
|
|
346
348
|
const ce = (t) => {
|
|
347
349
|
Oe.clear(), S = !0, le(!0), ee && !d && ee(t);
|
|
348
|
-
}, N =
|
|
350
|
+
}, N = Re(
|
|
349
351
|
/**
|
|
350
352
|
* @param {React.SyntheticEvent | Event} event
|
|
351
353
|
*/
|
|
@@ -391,7 +393,7 @@ const Ne = /* @__PURE__ */ s.forwardRef(function(e, n) {
|
|
|
391
393
|
document.removeEventListener("keydown", t);
|
|
392
394
|
};
|
|
393
395
|
}, [N, d]);
|
|
394
|
-
const He =
|
|
396
|
+
const He = po(io(m), se, n);
|
|
395
397
|
!f && f !== 0 && (d = !1);
|
|
396
398
|
const z = s.useRef(), Ye = (t) => {
|
|
397
399
|
const l = m.props;
|
|
@@ -441,17 +443,17 @@ const Ne = /* @__PURE__ */ s.forwardRef(function(e, n) {
|
|
|
441
443
|
placement: te,
|
|
442
444
|
PopperComponentProp: re,
|
|
443
445
|
touch: M.current
|
|
444
|
-
}, H = uo(P), he = O.popper ?? x.Popper ?? fo, ge = O.transition ?? x.Transition ?? Fe ??
|
|
446
|
+
}, H = uo(P), he = O.popper ?? x.Popper ?? fo, ge = O.transition ?? x.Transition ?? Fe ?? Ce, be = O.tooltip ?? x.Tooltip ?? ho, Te = O.arrow ?? x.Arrow ?? go, qe = A(he, {
|
|
445
447
|
...u,
|
|
446
448
|
...b.popper ?? g.popper,
|
|
447
449
|
className: I(H.popper, u == null ? void 0 : u.className, (ye = b.popper ?? g.popper) == null ? void 0 : ye.className)
|
|
448
|
-
}, P), Ke =
|
|
450
|
+
}, P), Ke = A(ge, {
|
|
449
451
|
...Ue,
|
|
450
452
|
...b.transition ?? g.transition
|
|
451
|
-
}, P), Xe =
|
|
453
|
+
}, P), Xe = A(be, {
|
|
452
454
|
...b.tooltip ?? g.tooltip,
|
|
453
455
|
className: I(H.tooltip, (we = b.tooltip ?? g.tooltip) == null ? void 0 : we.className)
|
|
454
|
-
}, P), Je =
|
|
456
|
+
}, P), Je = A(Te, {
|
|
455
457
|
...b.arrow ?? g.arrow,
|
|
456
458
|
className: I(H.arrow, (ve = b.arrow ?? g.arrow) == null ? void 0 : ve.className)
|
|
457
459
|
}, P);
|
|
@@ -506,7 +508,7 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
506
508
|
/**
|
|
507
509
|
* Tooltip reference element.
|
|
508
510
|
*/
|
|
509
|
-
children:
|
|
511
|
+
children: lo.isRequired,
|
|
510
512
|
/**
|
|
511
513
|
* Override or extend the styles applied to the component.
|
|
512
514
|
*/
|
|
@@ -684,7 +686,7 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
684
686
|
*/
|
|
685
687
|
TransitionProps: o.object
|
|
686
688
|
});
|
|
687
|
-
const
|
|
689
|
+
const Eo = ({
|
|
688
690
|
title: r,
|
|
689
691
|
children: e,
|
|
690
692
|
arrow: n = !0,
|
|
@@ -695,6 +697,6 @@ const Oo = ({
|
|
|
695
697
|
return /* @__PURE__ */ C(Ne, { ...h, children: e });
|
|
696
698
|
};
|
|
697
699
|
export {
|
|
698
|
-
|
|
699
|
-
|
|
700
|
+
Eo as Tooltip,
|
|
701
|
+
Eo as default
|
|
700
702
|
};
|
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.229",
|
|
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",
|