jcicl 0.0.145 → 0.0.149

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,4 +1,4 @@
1
- import { jsx as r, jsxs as s } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
2
  import { useState as g } from "react";
3
3
  import { n, i as u } from "../.chunks/emotion-styled.browser.esm.js";
4
4
  import { c as d } from "../.chunks/emotion-react.browser.esm.js";
@@ -8,7 +8,7 @@ import { c as y } from "../.chunks/createSvgIcon.js";
8
8
  import { B as b } from "../.chunks/ButtonBase.js";
9
9
  const A = y(/* @__PURE__ */ r("path", {
10
10
  d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"
11
- }), "ArrowForwardIos"), B = n("div")(({ padding: o, shadow: t, width: e }) => ({
11
+ }), "ArrowForwardIos"), j = n("div")(({ padding: o, shadow: t, width: e }) => ({
12
12
  ...d`
13
13
  h3 {
14
14
  margin: 0;
@@ -24,7 +24,7 @@ const A = y(/* @__PURE__ */ r("path", {
24
24
  background-color: ${c.colors.white};
25
25
  width: ${e};
26
26
  `
27
- })), $ = n("div")(({ expanded: o }) => ({
27
+ })), B = n("div")(({ expanded: o }) => ({
28
28
  ...d`
29
29
  transition: 313ms all ease-in-out;
30
30
  display: grid;
@@ -33,7 +33,7 @@ const A = y(/* @__PURE__ */ r("path", {
33
33
  overflow: hidden;
34
34
  }
35
35
  `
36
- })), v = n(b, {
36
+ })), $ = n(b, {
37
37
  shouldForwardProp: (o) => u(o) && typeof o == "string"
38
38
  })(({ expanded: o }) => ({
39
39
  ...d`
@@ -44,7 +44,7 @@ const A = y(/* @__PURE__ */ r("path", {
44
44
  height: 24px;
45
45
  aspect-ratio: 1;
46
46
  `
47
- })), G = ({
47
+ })), C = ({
48
48
  decorativeElement: o,
49
49
  title: t,
50
50
  children: e,
@@ -52,19 +52,19 @@ const A = y(/* @__PURE__ */ r("path", {
52
52
  shadow: m = c.boxShadows.darkGreen,
53
53
  width: p = "360px"
54
54
  }) => {
55
- const [i, f] = g(!1), h = { padding: l, shadow: m, width: p }, w = { expanded: i }, x = { expanded: i };
56
- return /* @__PURE__ */ s(B, { ...h, children: [
57
- /* @__PURE__ */ s(a, { alignItems: "center", justifyContent: "space-between", children: [
58
- /* @__PURE__ */ s(a, { width: "100%", gap: "1rem", alignItems: "center", children: [
55
+ const [s, f] = g(!1), h = { padding: l, shadow: m, width: p }, w = { expanded: s }, x = { expanded: s };
56
+ return /* @__PURE__ */ i(j, { ...h, children: [
57
+ /* @__PURE__ */ i(a, { className: "jcAccordionHeader", alignItems: "center", justifyContent: "space-between", children: [
58
+ /* @__PURE__ */ i(a, { className: "jcAccordionTitle", width: "100%", gap: "1rem", alignItems: "center", children: [
59
59
  o && o,
60
60
  /* @__PURE__ */ r("h3", { children: t })
61
61
  ] }),
62
- /* @__PURE__ */ r(v, { ...w, onClick: () => f(!i), children: /* @__PURE__ */ r(A, {}) })
62
+ /* @__PURE__ */ r($, { ...w, onClick: () => f(!s), children: /* @__PURE__ */ r(A, {}) })
63
63
  ] }),
64
- /* @__PURE__ */ r($, { className: "jcAccordionBody", ...x, children: /* @__PURE__ */ r("div", { children: e }) })
64
+ /* @__PURE__ */ r(B, { className: "jcAccordionBody", ...x, children: /* @__PURE__ */ r("div", { children: e }) })
65
65
  ] });
66
66
  };
67
67
  export {
68
- G as Accordion,
69
- G as default
68
+ C as Accordion,
69
+ C as default
70
70
  };
package/Flex/Flex.d.ts CHANGED
@@ -13,6 +13,7 @@ export interface FlexProps {
13
13
  /** Format: `{ reactCssProperty: value, reactCssProperty: value }` A React CSS property is simply any css property converted to camelCase */
14
14
  styles?: CSSProperties;
15
15
  id?: string;
16
+ className?: string;
16
17
  }
17
18
  export declare const Flex: React.FC<FlexProps>;
18
19
  export default Flex;
package/Flex/Flex.js CHANGED
@@ -18,7 +18,7 @@ const p = d("div", {
18
18
  fontFamily: "Roboto, sans-serif",
19
19
  ...n
20
20
  })
21
- ), b = ({ children: o, ...r }) => /* @__PURE__ */ x(p, { className: "jcFlex", ...r, children: o });
21
+ ), b = ({ children: o, className: r, ...a }) => /* @__PURE__ */ x(p, { className: `jcFlex ${r}`, ...a, children: o });
22
22
  export {
23
23
  b as Flex,
24
24
  b as default
@@ -1,20 +1,19 @@
1
1
  import { jsx as d, jsxs as Z } from "react/jsx-runtime";
2
- import { n as tt } from "../.chunks/emotion-styled.browser.esm.js";
3
- import { c as at } from "../.chunks/emotion-react.browser.esm.js";
4
- import et from "../theme.js";
2
+ import { n as aa } from "../.chunks/emotion-styled.browser.esm.js";
3
+ import { c as ta } from "../.chunks/emotion-react.browser.esm.js";
5
4
  import * as G from "react";
6
- import { a as _, g as H, s as B, e as N, u as q, b as U, P as a, c as I, d as J } from "../.chunks/DefaultPropsProvider.js";
7
- import { b as ot, u as st } from "../.chunks/index.js";
5
+ import { a as _, g as H, s as B, e as N, u as q, b as U, P as t, c as I, d as J } from "../.chunks/DefaultPropsProvider.js";
6
+ import { b as ea, u as oa } from "../.chunks/index.js";
8
7
  import { u as j, i as w } from "../.chunks/useSlot.js";
9
8
  import { c as D } from "../.chunks/createSimplePaletteValueFilter.js";
10
9
  import { c as h } from "../.chunks/createSvgIcon.js";
11
10
  import { m as V } from "../.chunks/memoTheme.js";
12
- import { B as nt } from "../.chunks/ButtonBase.js";
13
- function it(t) {
14
- return H("MuiPagination", t);
11
+ import { B as sa } from "../.chunks/ButtonBase.js";
12
+ function na(a) {
13
+ return H("MuiPagination", a);
15
14
  }
16
15
  _("MuiPagination", ["root", "ul", "outlined", "text"]);
17
- function rt(t = {}) {
16
+ function ia(a = {}) {
18
17
  const {
19
18
  boundaryCount: e = 1,
20
19
  componentName: o = "usePagination",
@@ -29,7 +28,7 @@ function rt(t = {}) {
29
28
  showLastButton: R = !1,
30
29
  siblingCount: m = 1,
31
30
  ...O
32
- } = t, [l, p] = ot({
31
+ } = a, [l, p] = ea({
33
32
  controlled: P,
34
33
  default: y,
35
34
  name: o,
@@ -110,23 +109,23 @@ function rt(t = {}) {
110
109
  ...O
111
110
  };
112
111
  }
113
- function lt(t) {
114
- return H("MuiPaginationItem", t);
112
+ function ra(a) {
113
+ return H("MuiPaginationItem", a);
115
114
  }
116
- const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]), pt = h(/* @__PURE__ */ d("path", {
115
+ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]), la = h(/* @__PURE__ */ d("path", {
117
116
  d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
118
- }), "FirstPage"), ct = h(/* @__PURE__ */ d("path", {
117
+ }), "FirstPage"), pa = h(/* @__PURE__ */ d("path", {
119
118
  d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
120
- }), "LastPage"), dt = h(/* @__PURE__ */ d("path", {
119
+ }), "LastPage"), ca = h(/* @__PURE__ */ d("path", {
121
120
  d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
122
- }), "NavigateBefore"), ut = h(/* @__PURE__ */ d("path", {
121
+ }), "NavigateBefore"), da = h(/* @__PURE__ */ d("path", {
123
122
  d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
124
- }), "NavigateNext"), K = (t, e) => {
123
+ }), "NavigateNext"), K = (a, e) => {
125
124
  const {
126
125
  ownerState: o
127
- } = t;
126
+ } = a;
128
127
  return [e.root, e[o.variant], e[`size${I(o.size)}`], o.variant === "text" && e[`text${I(o.color)}`], o.variant === "outlined" && e[`outlined${I(o.color)}`], o.shape === "rounded" && e.rounded, o.type === "page" && e.page, (o.type === "start-ellipsis" || o.type === "end-ellipsis") && e.ellipsis, (o.type === "previous" || o.type === "next") && e.previousNext, (o.type === "first" || o.type === "last") && e.firstLast];
129
- }, gt = (t) => {
128
+ }, ua = (a) => {
130
129
  const {
131
130
  classes: e,
132
131
  color: o,
@@ -136,7 +135,7 @@ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
136
135
  shape: x,
137
136
  type: u,
138
137
  variant: g
139
- } = t, P = {
138
+ } = a, P = {
140
139
  root: ["root", `size${I(b)}`, g, x, o !== "standard" && `color${I(o)}`, o !== "standard" && `${g}${I(o)}`, n && "disabled", y && "selected", {
141
140
  page: "page",
142
141
  first: "firstLast",
@@ -148,25 +147,25 @@ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
148
147
  }[u]],
149
148
  icon: ["icon"]
150
149
  };
151
- return J(P, lt, e);
152
- }, ft = B("div", {
150
+ return J(P, ra, e);
151
+ }, ga = B("div", {
153
152
  name: "MuiPaginationItem",
154
153
  slot: "Root",
155
154
  overridesResolver: K
156
155
  })(V(({
157
- theme: t
156
+ theme: a
158
157
  }) => ({
159
- ...t.typography.body2,
158
+ ...a.typography.body2,
160
159
  borderRadius: 32 / 2,
161
160
  textAlign: "center",
162
161
  boxSizing: "border-box",
163
162
  minWidth: 32,
164
163
  padding: "0 6px",
165
164
  margin: "0 3px",
166
- color: (t.vars || t).palette.text.primary,
165
+ color: (a.vars || a).palette.text.primary,
167
166
  height: "auto",
168
167
  [`&.${r.disabled}`]: {
169
- opacity: (t.vars || t).palette.action.disabledOpacity
168
+ opacity: (a.vars || a).palette.action.disabledOpacity
170
169
  },
171
170
  variants: [{
172
171
  props: {
@@ -186,17 +185,17 @@ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
186
185
  minWidth: 40,
187
186
  borderRadius: 40 / 2,
188
187
  padding: "0 10px",
189
- fontSize: t.typography.pxToRem(15)
188
+ fontSize: a.typography.pxToRem(15)
190
189
  }
191
190
  }]
192
- }))), vt = B(nt, {
191
+ }))), fa = B(sa, {
193
192
  name: "MuiPaginationItem",
194
193
  slot: "Root",
195
194
  overridesResolver: K
196
195
  })(V(({
197
- theme: t
196
+ theme: a
198
197
  }) => ({
199
- ...t.typography.body2,
198
+ ...a.typography.body2,
200
199
  borderRadius: 32 / 2,
201
200
  textAlign: "center",
202
201
  boxSizing: "border-box",
@@ -204,39 +203,39 @@ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
204
203
  height: 32,
205
204
  padding: "0 6px",
206
205
  margin: "0 3px",
207
- color: (t.vars || t).palette.text.primary,
206
+ color: (a.vars || a).palette.text.primary,
208
207
  [`&.${r.focusVisible}`]: {
209
- backgroundColor: (t.vars || t).palette.action.focus
208
+ backgroundColor: (a.vars || a).palette.action.focus
210
209
  },
211
210
  [`&.${r.disabled}`]: {
212
- opacity: (t.vars || t).palette.action.disabledOpacity
211
+ opacity: (a.vars || a).palette.action.disabledOpacity
213
212
  },
214
- transition: t.transitions.create(["color", "background-color"], {
215
- duration: t.transitions.duration.short
213
+ transition: a.transitions.create(["color", "background-color"], {
214
+ duration: a.transitions.duration.short
216
215
  }),
217
216
  "&:hover": {
218
- backgroundColor: (t.vars || t).palette.action.hover,
217
+ backgroundColor: (a.vars || a).palette.action.hover,
219
218
  // Reset on touch devices, it doesn't add specificity
220
219
  "@media (hover: none)": {
221
220
  backgroundColor: "transparent"
222
221
  }
223
222
  },
224
223
  [`&.${r.selected}`]: {
225
- backgroundColor: (t.vars || t).palette.action.selected,
224
+ backgroundColor: (a.vars || a).palette.action.selected,
226
225
  "&:hover": {
227
- backgroundColor: t.vars ? `rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))` : N(t.palette.action.selected, t.palette.action.selectedOpacity + t.palette.action.hoverOpacity),
226
+ backgroundColor: a.vars ? `rgba(${a.vars.palette.action.selectedChannel} / calc(${a.vars.palette.action.selectedOpacity} + ${a.vars.palette.action.hoverOpacity}))` : N(a.palette.action.selected, a.palette.action.selectedOpacity + a.palette.action.hoverOpacity),
228
227
  // Reset on touch devices, it doesn't add specificity
229
228
  "@media (hover: none)": {
230
- backgroundColor: (t.vars || t).palette.action.selected
229
+ backgroundColor: (a.vars || a).palette.action.selected
231
230
  }
232
231
  },
233
232
  [`&.${r.focusVisible}`]: {
234
- backgroundColor: t.vars ? `rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))` : N(t.palette.action.selected, t.palette.action.selectedOpacity + t.palette.action.focusOpacity)
233
+ backgroundColor: a.vars ? `rgba(${a.vars.palette.action.selectedChannel} / calc(${a.vars.palette.action.selectedOpacity} + ${a.vars.palette.action.focusOpacity}))` : N(a.palette.action.selected, a.palette.action.selectedOpacity + a.palette.action.focusOpacity)
235
234
  },
236
235
  [`&.${r.disabled}`]: {
237
236
  opacity: 1,
238
- color: (t.vars || t).palette.action.disabled,
239
- backgroundColor: (t.vars || t).palette.action.selected
237
+ color: (a.vars || a).palette.action.disabled,
238
+ backgroundColor: (a.vars || a).palette.action.selected
240
239
  }
241
240
  },
242
241
  variants: [{
@@ -259,25 +258,25 @@ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
259
258
  height: 40,
260
259
  borderRadius: 40 / 2,
261
260
  padding: "0 10px",
262
- fontSize: t.typography.pxToRem(15)
261
+ fontSize: a.typography.pxToRem(15)
263
262
  }
264
263
  }, {
265
264
  props: {
266
265
  shape: "rounded"
267
266
  },
268
267
  style: {
269
- borderRadius: (t.vars || t).shape.borderRadius
268
+ borderRadius: (a.vars || a).shape.borderRadius
270
269
  }
271
270
  }, {
272
271
  props: {
273
272
  variant: "outlined"
274
273
  },
275
274
  style: {
276
- border: t.vars ? `1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${t.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)"}`,
275
+ border: a.vars ? `1px solid rgba(${a.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${a.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)"}`,
277
276
  [`&.${r.selected}`]: {
278
277
  [`&.${r.disabled}`]: {
279
- borderColor: (t.vars || t).palette.action.disabledBackground,
280
- color: (t.vars || t).palette.action.disabled
278
+ borderColor: (a.vars || a).palette.action.disabledBackground,
279
+ color: (a.vars || a).palette.action.disabled
281
280
  }
282
281
  }
283
282
  }
@@ -288,79 +287,79 @@ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
288
287
  style: {
289
288
  [`&.${r.selected}`]: {
290
289
  [`&.${r.disabled}`]: {
291
- color: (t.vars || t).palette.action.disabled
290
+ color: (a.vars || a).palette.action.disabled
292
291
  }
293
292
  }
294
293
  }
295
- }, ...Object.entries(t.palette).filter(D(["dark", "contrastText"])).map(([e]) => ({
294
+ }, ...Object.entries(a.palette).filter(D(["dark", "contrastText"])).map(([e]) => ({
296
295
  props: {
297
296
  variant: "text",
298
297
  color: e
299
298
  },
300
299
  style: {
301
300
  [`&.${r.selected}`]: {
302
- color: (t.vars || t).palette[e].contrastText,
303
- backgroundColor: (t.vars || t).palette[e].main,
301
+ color: (a.vars || a).palette[e].contrastText,
302
+ backgroundColor: (a.vars || a).palette[e].main,
304
303
  "&:hover": {
305
- backgroundColor: (t.vars || t).palette[e].dark,
304
+ backgroundColor: (a.vars || a).palette[e].dark,
306
305
  // Reset on touch devices, it doesn't add specificity
307
306
  "@media (hover: none)": {
308
- backgroundColor: (t.vars || t).palette[e].main
307
+ backgroundColor: (a.vars || a).palette[e].main
309
308
  }
310
309
  },
311
310
  [`&.${r.focusVisible}`]: {
312
- backgroundColor: (t.vars || t).palette[e].dark
311
+ backgroundColor: (a.vars || a).palette[e].dark
313
312
  },
314
313
  [`&.${r.disabled}`]: {
315
- color: (t.vars || t).palette.action.disabled
314
+ color: (a.vars || a).palette.action.disabled
316
315
  }
317
316
  }
318
317
  }
319
- })), ...Object.entries(t.palette).filter(D(["light"])).map(([e]) => ({
318
+ })), ...Object.entries(a.palette).filter(D(["light"])).map(([e]) => ({
320
319
  props: {
321
320
  variant: "outlined",
322
321
  color: e
323
322
  },
324
323
  style: {
325
324
  [`&.${r.selected}`]: {
326
- color: (t.vars || t).palette[e].main,
327
- border: `1px solid ${t.vars ? `rgba(${t.vars.palette[e].mainChannel} / 0.5)` : N(t.palette[e].main, 0.5)}`,
328
- backgroundColor: t.vars ? `rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.activatedOpacity})` : N(t.palette[e].main, t.palette.action.activatedOpacity),
325
+ color: (a.vars || a).palette[e].main,
326
+ border: `1px solid ${a.vars ? `rgba(${a.vars.palette[e].mainChannel} / 0.5)` : N(a.palette[e].main, 0.5)}`,
327
+ backgroundColor: a.vars ? `rgba(${a.vars.palette[e].mainChannel} / ${a.vars.palette.action.activatedOpacity})` : N(a.palette[e].main, a.palette.action.activatedOpacity),
329
328
  "&:hover": {
330
- backgroundColor: t.vars ? `rgba(${t.vars.palette[e].mainChannel} / calc(${t.vars.palette.action.activatedOpacity} + ${t.vars.palette.action.focusOpacity}))` : N(t.palette[e].main, t.palette.action.activatedOpacity + t.palette.action.focusOpacity),
329
+ backgroundColor: a.vars ? `rgba(${a.vars.palette[e].mainChannel} / calc(${a.vars.palette.action.activatedOpacity} + ${a.vars.palette.action.focusOpacity}))` : N(a.palette[e].main, a.palette.action.activatedOpacity + a.palette.action.focusOpacity),
331
330
  // Reset on touch devices, it doesn't add specificity
332
331
  "@media (hover: none)": {
333
332
  backgroundColor: "transparent"
334
333
  }
335
334
  },
336
335
  [`&.${r.focusVisible}`]: {
337
- backgroundColor: t.vars ? `rgba(${t.vars.palette[e].mainChannel} / calc(${t.vars.palette.action.activatedOpacity} + ${t.vars.palette.action.focusOpacity}))` : N(t.palette[e].main, t.palette.action.activatedOpacity + t.palette.action.focusOpacity)
336
+ backgroundColor: a.vars ? `rgba(${a.vars.palette[e].mainChannel} / calc(${a.vars.palette.action.activatedOpacity} + ${a.vars.palette.action.focusOpacity}))` : N(a.palette[e].main, a.palette.action.activatedOpacity + a.palette.action.focusOpacity)
338
337
  }
339
338
  }
340
339
  }
341
340
  }))]
342
- }))), yt = B("div", {
341
+ }))), va = B("div", {
343
342
  name: "MuiPaginationItem",
344
343
  slot: "Icon",
345
- overridesResolver: (t, e) => e.icon
344
+ overridesResolver: (a, e) => e.icon
346
345
  })(V(({
347
- theme: t
346
+ theme: a
348
347
  }) => ({
349
- fontSize: t.typography.pxToRem(20),
348
+ fontSize: a.typography.pxToRem(20),
350
349
  margin: "0 -8px",
351
350
  variants: [{
352
351
  props: {
353
352
  size: "small"
354
353
  },
355
354
  style: {
356
- fontSize: t.typography.pxToRem(18)
355
+ fontSize: a.typography.pxToRem(18)
357
356
  }
358
357
  }, {
359
358
  props: {
360
359
  size: "large"
361
360
  },
362
361
  style: {
363
- fontSize: t.typography.pxToRem(22)
362
+ fontSize: a.typography.pxToRem(22)
364
363
  }
365
364
  }]
366
365
  }))), Q = /* @__PURE__ */ G.forwardRef(function(e, o) {
@@ -391,7 +390,7 @@ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
391
390
  size: m,
392
391
  type: p,
393
392
  variant: C
394
- }, k = st(), v = gt(c), f = {
393
+ }, k = oa(), v = ua(c), f = {
395
394
  slots: {
396
395
  previous: O.previous ?? u.previous,
397
396
  next: O.next ?? u.next,
@@ -400,19 +399,19 @@ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
400
399
  },
401
400
  slotProps: l
402
401
  }, [L, S] = j("previous", {
403
- elementType: dt,
402
+ elementType: ca,
404
403
  externalForwardedProps: f,
405
404
  ownerState: c
406
405
  }), [z, s] = j("next", {
407
- elementType: ut,
406
+ elementType: da,
408
407
  externalForwardedProps: f,
409
408
  ownerState: c
410
409
  }), [i, M] = j("first", {
411
- elementType: pt,
410
+ elementType: la,
412
411
  externalForwardedProps: f,
413
412
  ownerState: c
414
413
  }), [W, F] = j("last", {
415
- elementType: ct,
414
+ elementType: pa,
416
415
  externalForwardedProps: f,
417
416
  ownerState: c
418
417
  }), A = k ? {
@@ -431,19 +430,19 @@ const r = _("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
431
430
  first: M,
432
431
  last: F
433
432
  }[A];
434
- return p === "start-ellipsis" || p === "end-ellipsis" ? /* @__PURE__ */ d(ft, {
433
+ return p === "start-ellipsis" || p === "end-ellipsis" ? /* @__PURE__ */ d(ga, {
435
434
  ref: o,
436
435
  ownerState: c,
437
436
  className: U(v.root, y),
438
437
  children: "…"
439
- }) : /* @__PURE__ */ Z(vt, {
438
+ }) : /* @__PURE__ */ Z(fa, {
440
439
  ref: o,
441
440
  ownerState: c,
442
441
  component: x,
443
442
  disabled: g,
444
443
  className: U(v.root, y),
445
444
  ...$,
446
- children: [p === "page" && P, E ? /* @__PURE__ */ d(yt, {
445
+ children: [p === "page" && P, E ? /* @__PURE__ */ d(va, {
447
446
  ...Y,
448
447
  className: v.icon,
449
448
  as: E
@@ -458,27 +457,27 @@ process.env.NODE_ENV !== "production" && (Q.propTypes = {
458
457
  /**
459
458
  * @ignore
460
459
  */
461
- children: a.node,
460
+ children: t.node,
462
461
  /**
463
462
  * Override or extend the styles applied to the component.
464
463
  */
465
- classes: a.object,
464
+ classes: t.object,
466
465
  /**
467
466
  * @ignore
468
467
  */
469
- className: a.string,
468
+ className: t.string,
470
469
  /**
471
470
  * The active color.
472
471
  * It supports both default and custom theme colors, which can be added as shown in the
473
472
  * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
474
473
  * @default 'standard'
475
474
  */
476
- color: a.oneOfType([a.oneOf(["primary", "secondary", "standard"]), a.string]),
475
+ color: t.oneOfType([t.oneOf(["primary", "secondary", "standard"]), t.string]),
477
476
  /**
478
477
  * The component used for the root node.
479
478
  * Either a string to use a HTML element or a component.
480
479
  */
481
- component: a.elementType,
480
+ component: t.elementType,
482
481
  /**
483
482
  * The components used for each slot inside.
484
483
  *
@@ -488,93 +487,93 @@ process.env.NODE_ENV !== "production" && (Q.propTypes = {
488
487
  * @default {}
489
488
  * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
490
489
  */
491
- components: a.shape({
492
- first: a.elementType,
493
- last: a.elementType,
494
- next: a.elementType,
495
- previous: a.elementType
490
+ components: t.shape({
491
+ first: t.elementType,
492
+ last: t.elementType,
493
+ next: t.elementType,
494
+ previous: t.elementType
496
495
  }),
497
496
  /**
498
497
  * If `true`, the component is disabled.
499
498
  * @default false
500
499
  */
501
- disabled: a.bool,
500
+ disabled: t.bool,
502
501
  /**
503
502
  * The current page number.
504
503
  */
505
- page: a.node,
504
+ page: t.node,
506
505
  /**
507
506
  * If `true` the pagination item is selected.
508
507
  * @default false
509
508
  */
510
- selected: a.bool,
509
+ selected: t.bool,
511
510
  /**
512
511
  * The shape of the pagination item.
513
512
  * @default 'circular'
514
513
  */
515
- shape: a.oneOf(["circular", "rounded"]),
514
+ shape: t.oneOf(["circular", "rounded"]),
516
515
  /**
517
516
  * The size of the component.
518
517
  * @default 'medium'
519
518
  */
520
- size: a.oneOfType([a.oneOf(["small", "medium", "large"]), a.string]),
519
+ size: t.oneOfType([t.oneOf(["small", "medium", "large"]), t.string]),
521
520
  /**
522
521
  * The props used for each slot inside.
523
522
  * @default {}
524
523
  */
525
- slotProps: a.shape({
526
- first: a.oneOfType([a.func, a.object]),
527
- last: a.oneOfType([a.func, a.object]),
528
- next: a.oneOfType([a.func, a.object]),
529
- previous: a.oneOfType([a.func, a.object])
524
+ slotProps: t.shape({
525
+ first: t.oneOfType([t.func, t.object]),
526
+ last: t.oneOfType([t.func, t.object]),
527
+ next: t.oneOfType([t.func, t.object]),
528
+ previous: t.oneOfType([t.func, t.object])
530
529
  }),
531
530
  /**
532
531
  * The components used for each slot inside.
533
532
  * @default {}
534
533
  */
535
- slots: a.shape({
536
- first: a.elementType,
537
- last: a.elementType,
538
- next: a.elementType,
539
- previous: a.elementType
534
+ slots: t.shape({
535
+ first: t.elementType,
536
+ last: t.elementType,
537
+ next: t.elementType,
538
+ previous: t.elementType
540
539
  }),
541
540
  /**
542
541
  * The system prop that allows defining system overrides as well as additional CSS styles.
543
542
  */
544
- sx: a.oneOfType([a.arrayOf(a.oneOfType([a.func, a.object, a.bool])), a.func, a.object]),
543
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
545
544
  /**
546
545
  * The type of pagination item.
547
546
  * @default 'page'
548
547
  */
549
- type: a.oneOf(["end-ellipsis", "first", "last", "next", "page", "previous", "start-ellipsis"]),
548
+ type: t.oneOf(["end-ellipsis", "first", "last", "next", "page", "previous", "start-ellipsis"]),
550
549
  /**
551
550
  * The variant to use.
552
551
  * @default 'text'
553
552
  */
554
- variant: a.oneOfType([a.oneOf(["outlined", "text"]), a.string])
553
+ variant: t.oneOfType([t.oneOf(["outlined", "text"]), t.string])
555
554
  });
556
- const bt = (t) => {
555
+ const ya = (a) => {
557
556
  const {
558
557
  classes: e,
559
558
  variant: o
560
- } = t;
559
+ } = a;
561
560
  return J({
562
561
  root: ["root", o],
563
562
  ul: ["ul"]
564
- }, it, e);
565
- }, xt = B("nav", {
563
+ }, na, e);
564
+ }, ba = B("nav", {
566
565
  name: "MuiPagination",
567
566
  slot: "Root",
568
- overridesResolver: (t, e) => {
567
+ overridesResolver: (a, e) => {
569
568
  const {
570
569
  ownerState: o
571
- } = t;
570
+ } = a;
572
571
  return [e.root, e[o.variant]];
573
572
  }
574
- })({}), Pt = B("ul", {
573
+ })({}), xa = B("ul", {
575
574
  name: "MuiPagination",
576
575
  slot: "Ul",
577
- overridesResolver: (t, e) => e.ul
576
+ overridesResolver: (a, e) => e.ul
578
577
  })({
579
578
  display: "flex",
580
579
  flexWrap: "wrap",
@@ -583,8 +582,8 @@ const bt = (t) => {
583
582
  margin: 0,
584
583
  listStyle: "none"
585
584
  });
586
- function mt(t, e, o) {
587
- return t === "page" ? `${o ? "" : "Go to "}page ${e}` : `Go to ${t} page`;
585
+ function Pa(a, e, o) {
586
+ return a === "page" ? `${o ? "" : "Go to "}page ${e}` : `Go to ${a} page`;
588
587
  }
589
588
  const X = /* @__PURE__ */ G.forwardRef(function(e, o) {
590
589
  const n = q({
@@ -597,7 +596,7 @@ const X = /* @__PURE__ */ G.forwardRef(function(e, o) {
597
596
  count: u = 1,
598
597
  defaultPage: g = 1,
599
598
  disabled: P = !1,
600
- getItemAriaLabel: T = mt,
599
+ getItemAriaLabel: T = Pa,
601
600
  hideNextButton: R = !1,
602
601
  hidePrevButton: m = !1,
603
602
  onChange: O,
@@ -614,7 +613,7 @@ const X = /* @__PURE__ */ G.forwardRef(function(e, o) {
614
613
  ...L
615
614
  } = n, {
616
615
  items: S
617
- } = rt({
616
+ } = ia({
618
617
  ...n,
619
618
  componentName: "Pagination"
620
619
  }), z = {
@@ -634,14 +633,14 @@ const X = /* @__PURE__ */ G.forwardRef(function(e, o) {
634
633
  siblingCount: k,
635
634
  size: v,
636
635
  variant: f
637
- }, s = bt(z);
638
- return /* @__PURE__ */ d(xt, {
636
+ }, s = ya(z);
637
+ return /* @__PURE__ */ d(ba, {
639
638
  "aria-label": "pagination navigation",
640
639
  className: U(s.root, b),
641
640
  ownerState: z,
642
641
  ref: o,
643
642
  ...L,
644
- children: /* @__PURE__ */ d(Pt, {
643
+ children: /* @__PURE__ */ d(xa, {
645
644
  className: s.ul,
646
645
  ownerState: z,
647
646
  children: S.map((i, M) => /* @__PURE__ */ d("li", {
@@ -670,18 +669,18 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
670
669
  /**
671
670
  * Override or extend the styles applied to the component.
672
671
  */
673
- classes: a.object,
672
+ classes: t.object,
674
673
  /**
675
674
  * @ignore
676
675
  */
677
- className: a.string,
676
+ className: t.string,
678
677
  /**
679
678
  * The active color.
680
679
  * It supports both default and custom theme colors, which can be added as shown in the
681
680
  * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
682
681
  * @default 'standard'
683
682
  */
684
- color: a.oneOfType([a.oneOf(["primary", "secondary", "standard"]), a.string]),
683
+ color: t.oneOfType([t.oneOf(["primary", "secondary", "standard"]), t.string]),
685
684
  /**
686
685
  * The total number of pages.
687
686
  * @default 1
@@ -696,7 +695,7 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
696
695
  * If `true`, the component is disabled.
697
696
  * @default false
698
697
  */
699
- disabled: a.bool,
698
+ disabled: t.bool,
700
699
  /**
701
700
  * Accepts a function which returns a string value that provides a user-friendly name for the current page.
702
701
  * This is important for screen reader users.
@@ -707,24 +706,24 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
707
706
  * @param {boolean} selected If true, the current page is selected.
708
707
  * @returns {string}
709
708
  */
710
- getItemAriaLabel: a.func,
709
+ getItemAriaLabel: t.func,
711
710
  /**
712
711
  * If `true`, hide the next-page button.
713
712
  * @default false
714
713
  */
715
- hideNextButton: a.bool,
714
+ hideNextButton: t.bool,
716
715
  /**
717
716
  * If `true`, hide the previous-page button.
718
717
  * @default false
719
718
  */
720
- hidePrevButton: a.bool,
719
+ hidePrevButton: t.bool,
721
720
  /**
722
721
  * Callback fired when the page is changed.
723
722
  *
724
723
  * @param {React.ChangeEvent<unknown>} event The event source of the callback.
725
724
  * @param {number} page The page selected.
726
725
  */
727
- onChange: a.func,
726
+ onChange: t.func,
728
727
  /**
729
728
  * The current page. Unlike `TablePagination`, which starts numbering from `0`, this pagination starts from `1`.
730
729
  */
@@ -735,22 +734,22 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
735
734
  * @returns {ReactNode}
736
735
  * @default (item) => <PaginationItem {...item} />
737
736
  */
738
- renderItem: a.func,
737
+ renderItem: t.func,
739
738
  /**
740
739
  * The shape of the pagination items.
741
740
  * @default 'circular'
742
741
  */
743
- shape: a.oneOf(["circular", "rounded"]),
742
+ shape: t.oneOf(["circular", "rounded"]),
744
743
  /**
745
744
  * If `true`, show the first-page button.
746
745
  * @default false
747
746
  */
748
- showFirstButton: a.bool,
747
+ showFirstButton: t.bool,
749
748
  /**
750
749
  * If `true`, show the last-page button.
751
750
  * @default false
752
751
  */
753
- showLastButton: a.bool,
752
+ showLastButton: t.bool,
754
753
  /**
755
754
  * Number of always visible pages before and after the current page.
756
755
  * @default 1
@@ -760,22 +759,20 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
760
759
  * The size of the component.
761
760
  * @default 'medium'
762
761
  */
763
- size: a.oneOfType([a.oneOf(["small", "medium", "large"]), a.string]),
762
+ size: t.oneOfType([t.oneOf(["small", "medium", "large"]), t.string]),
764
763
  /**
765
764
  * The system prop that allows defining system overrides as well as additional CSS styles.
766
765
  */
767
- sx: a.oneOfType([a.arrayOf(a.oneOfType([a.func, a.object, a.bool])), a.func, a.object]),
766
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
768
767
  /**
769
768
  * The variant to use.
770
769
  * @default 'text'
771
770
  */
772
- variant: a.oneOfType([a.oneOf(["outlined", "text"]), a.string])
771
+ variant: t.oneOfType([t.oneOf(["outlined", "text"]), t.string])
773
772
  });
774
- const Ot = tt(X)(() => ({
775
- ...at`
776
- color: ${et.colors.green};
777
- `
778
- })), wt = (t) => /* @__PURE__ */ d(Ot, { ...t });
773
+ const ma = aa(X)(() => ({
774
+ ...ta``
775
+ })), La = (a) => /* @__PURE__ */ d(ma, { ...a });
779
776
  export {
780
- wt as default
777
+ La as default
781
778
  };
@@ -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
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.145",
4
+ "version": "0.0.149",
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",