jcicl 0.0.147 → 0.0.151

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 +1 @@
1
- export {};
1
+ export { default, type PaginationProps } from './Pagination';
@@ -1 +1,4 @@
1
-
1
+ import { default as o } from "./Pagination.js";
2
+ export {
3
+ o as default
4
+ };
@@ -1,11 +1,14 @@
1
1
  import { jsx as re, jsxs as Et } from "react/jsx-runtime";
2
2
  import * as C from "react";
3
3
  import { a as Ht, g as Ut, P as r, d as Ft, s as et, u as qt, c as zt, e as Yt, b as qe } from "../.chunks/DefaultPropsProvider.js";
4
- import { u as Xt, b as fo, a as ze } from "../.chunks/index.js";
5
- import { o as Rt, P as uo, H as Qe, c as mo, a as vo, d as ho, g as go, G as At, e as yo } from "../.chunks/Portal.js";
4
+ import { u as Xt, a as fo } from "../.chunks/index.js";
5
+ import { o as Rt, P as uo, H as Qe, u as mo, b as vo, g as ho, e as go } from "../.chunks/Portal.js";
6
6
  import { m as lt } from "../.chunks/memoTheme.js";
7
- import { c as bo } from "../.chunks/chainPropTypes.js";
8
- import { r as Gt, u as it, a as Ct, d as Ye, e as Mt, f as wo } from "../.chunks/TransitionGroupContext.js";
7
+ import { c as yo } from "../.chunks/chainPropTypes.js";
8
+ import { r as Gt, u as ze, T as bo } from "../.chunks/useTimeout.js";
9
+ import { u as it, a as At, c as Ct } from "../.chunks/TransitionGroupContext.js";
10
+ import { u as wo, G as Mt } from "../.chunks/Grow.js";
11
+ import { a as Ye } from "../.chunks/resolveComponentProps.js";
9
12
  import { i as jt } from "../.chunks/isFocusVisible.js";
10
13
  var W = "top", z = "bottom", Y = "right", I = "left", ct = "auto", Ie = [W, z, Y, I], Oe = "start", ke = "end", Oo = "clippingParents", Kt = "viewport", Se = "popper", xo = "reference", $t = /* @__PURE__ */ Ie.reduce(function(t, e) {
11
14
  return t.concat([e + "-" + Oe, e + "-" + ke]);
@@ -965,7 +968,7 @@ const jr = (t) => {
965
968
  // prevent from spreading to DOM, it can come from the parent component e.g. Select.
966
969
  ...v
967
970
  } = e, w = C.useRef(null), E = it(w, o), O = C.useRef(null), d = it(O, g), y = C.useRef(d);
968
- Ct(() => {
971
+ At(() => {
969
972
  y.current = d;
970
973
  }, [d]), C.useImperativeHandle(g, () => O.current, []);
971
974
  const b = Cr(f, i), [R, D] = C.useState(b), [A, P] = C.useState(_e(n));
@@ -973,7 +976,7 @@ const jr = (t) => {
973
976
  O.current && O.current.forceUpdate();
974
977
  }), C.useEffect(() => {
975
978
  n && P(_e(n));
976
- }, [n]), Ct(() => {
979
+ }, [n]), At(() => {
977
980
  if (!A || !s)
978
981
  return;
979
982
  const G = (k) => {
@@ -1018,7 +1021,7 @@ const jr = (t) => {
1018
1021
  placement: R
1019
1022
  };
1020
1023
  T !== null && (M.TransitionProps = T);
1021
- const N = jr(e), j = u.root ?? "div", X = mo({
1024
+ const N = jr(e), j = u.root ?? "div", X = wo({
1022
1025
  elementType: j,
1023
1026
  externalSlotProps: x.root,
1024
1027
  externalForwardedProps: v,
@@ -1111,7 +1114,7 @@ process.env.NODE_ENV !== "production" && (no.propTypes = {
1111
1114
  * It's used to set the position of the popper.
1112
1115
  * The return value will passed as the reference object of the Popper instance.
1113
1116
  */
1114
- anchorEl: bo(r.oneOfType([Qe, r.object, r.func]), (t) => {
1117
+ anchorEl: yo(r.oneOfType([Qe, r.object, r.func]), (t) => {
1115
1118
  if (t.open) {
1116
1119
  const e = _e(t.anchorEl);
1117
1120
  if (e && ot(e) && e.nodeType === 1) {
@@ -1669,7 +1672,7 @@ const Lr = (t) => {
1669
1672
  }
1670
1673
  })));
1671
1674
  let Ge = !1;
1672
- const Vt = new wo();
1675
+ const Vt = new bo();
1673
1676
  let Be = {
1674
1677
  x: 0,
1675
1678
  y: 0
@@ -1711,12 +1714,12 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
1711
1714
  slotProps: M = {},
1712
1715
  slots: N = {},
1713
1716
  title: j,
1714
- TransitionComponent: X = At,
1717
+ TransitionComponent: X = Mt,
1715
1718
  TransitionProps: G,
1716
1719
  ...S
1717
1720
  } = n, $ = /* @__PURE__ */ C.isValidElement(i) ? i : /* @__PURE__ */ re("span", {
1718
1721
  children: i
1719
- }), k = vo(), te = Xt(), [L, de] = C.useState(), [oe, me] = C.useState(null), K = C.useRef(!1), H = x || w, ae = Ye(), ie = Ye(), U = Ye(), ve = Ye(), [rt, he] = fo({
1722
+ }), k = mo(), te = Xt(), [L, de] = C.useState(), [oe, me] = C.useState(null), K = C.useRef(!1), H = x || w, ae = ze(), ie = ze(), U = ze(), ve = ze(), [rt, he] = fo({
1720
1723
  controlled: R,
1721
1724
  default: !1,
1722
1725
  name: "Tooltip",
@@ -1732,13 +1735,13 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
1732
1735
  `));
1733
1736
  }, [j, L, h]);
1734
1737
  }
1735
- const ge = ho(E), pe = C.useRef(), ye = Mt(() => {
1738
+ const ge = vo(E), pe = C.useRef(), ye = Ct(() => {
1736
1739
  pe.current !== void 0 && (document.body.style.WebkitUserSelect = pe.current, pe.current = void 0), ve.clear();
1737
1740
  });
1738
1741
  C.useEffect(() => ye, [ye]);
1739
1742
  const Ee = (h) => {
1740
1743
  Vt.clear(), Ge = !0, he(!0), b && !J && b(h);
1741
- }, le = Mt(
1744
+ }, le = Ct(
1742
1745
  /**
1743
1746
  * @param {React.SyntheticEvent | Event} event
1744
1747
  */
@@ -1784,7 +1787,7 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
1784
1787
  document.removeEventListener("keydown", h);
1785
1788
  };
1786
1789
  }, [le, J]);
1787
- const Ue = it(go($), de, o);
1790
+ const Ue = it(ho($), de, o);
1788
1791
  !j && j !== 0 && (J = !1);
1789
1792
  const we = C.useRef(), Fe = (h) => {
1790
1793
  const Q = $.props;
@@ -1834,17 +1837,17 @@ const ao = /* @__PURE__ */ C.forwardRef(function(e, o) {
1834
1837
  placement: D,
1835
1838
  PopperComponentProp: A,
1836
1839
  touch: K.current
1837
- }, at = Lr(De), yt = N.popper ?? p.Popper ?? kr, bt = N.transition ?? p.Transition ?? X ?? At, wt = N.tooltip ?? p.Tooltip ?? Wr, Ot = N.arrow ?? p.Arrow ?? Ir, so = ze(yt, {
1840
+ }, at = Lr(De), yt = N.popper ?? p.Popper ?? kr, bt = N.transition ?? p.Transition ?? X ?? Mt, wt = N.tooltip ?? p.Tooltip ?? Wr, Ot = N.arrow ?? p.Arrow ?? Ir, so = Ye(yt, {
1838
1841
  ...P,
1839
1842
  ...M.popper ?? s.popper,
1840
1843
  className: qe(at.popper, P == null ? void 0 : P.className, (xt = M.popper ?? s.popper) == null ? void 0 : xt.className)
1841
- }, De), po = ze(bt, {
1844
+ }, De), po = Ye(bt, {
1842
1845
  ...G,
1843
1846
  ...M.transition ?? s.transition
1844
- }, De), lo = ze(wt, {
1847
+ }, De), lo = Ye(wt, {
1845
1848
  ...M.tooltip ?? s.tooltip,
1846
1849
  className: qe(at.tooltip, (Tt = M.tooltip ?? s.tooltip) == null ? void 0 : Tt.className)
1847
- }, De), co = ze(Ot, {
1850
+ }, De), co = Ye(Ot, {
1848
1851
  ...M.arrow ?? s.arrow,
1849
1852
  className: qe(at.arrow, (Pt = M.arrow ?? s.arrow) == null ? void 0 : Pt.className)
1850
1853
  }, De);
@@ -1899,7 +1902,7 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
1899
1902
  /**
1900
1903
  * Tooltip reference element.
1901
1904
  */
1902
- children: yo.isRequired,
1905
+ children: go.isRequired,
1903
1906
  /**
1904
1907
  * Override or extend the styles applied to the component.
1905
1908
  */
@@ -2077,7 +2080,7 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
2077
2080
  */
2078
2081
  TransitionProps: r.object
2079
2082
  });
2080
- const Gr = ({
2083
+ const Qr = ({
2081
2084
  title: t,
2082
2085
  children: e,
2083
2086
  arrow: o = !0,
@@ -2088,6 +2091,6 @@ const Gr = ({
2088
2091
  return /* @__PURE__ */ re(ao, { ...i, children: e });
2089
2092
  };
2090
2093
  export {
2091
- Gr as Tooltip,
2092
- Gr as default
2094
+ Qr as Tooltip,
2095
+ Qr as default
2093
2096
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.147",
4
+ "version": "0.0.151",
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",