jcicl 1.0.65 → 1.0.66

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/Button.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as u from "react";
2
- import { g as L, a as j, s as b, r as D, c as e, u as F, b as I, P as a, d as G, e as c } from "./DefaultPropsProvider.js";
2
+ import { g as L, a as j, s as b, r as D, b as e, u as F, c as I, P as a, d as G, e as c } from "./DefaultPropsProvider.js";
3
3
  import { m as U } from "./memoTheme.js";
4
4
  import { c as _ } from "./createSimplePaletteValueFilter.js";
5
5
  import { jsxs as H, jsx as m } from "react/jsx-runtime";
@@ -3,7 +3,7 @@ var ke = (o, t, n) => t in o ? Le(o, t, { enumerable: !0, configurable: !0, writ
3
3
  var le = (o, t, n) => ke(o, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as d from "react";
5
5
  import W, { Children as Oe, isValidElement as G, cloneElement as J } from "react";
6
- import { P as e, b as E, a as fe, s as te, u as de, g as je, d as Fe } from "./DefaultPropsProvider.js";
6
+ import { P as e, c as E, a as fe, s as te, u as de, g as je, d as Fe } from "./DefaultPropsProvider.js";
7
7
  import { jsx as I, jsxs as $e } from "react/jsx-runtime";
8
8
  import { k as ne } from "./emotion-react.browser.esm.js";
9
9
  import { c as Ie, d as Ue, _ as ze, e as ue, a as _e, u as ce, b as H, r as Xe } from "./TransitionGroupContext.js";
@@ -1,5 +1,5 @@
1
1
  import * as O from "react";
2
- import { g as T, a as R, s as g, c, u as N, b as j, P as r, d as U } from "./DefaultPropsProvider.js";
2
+ import { g as T, a as R, s as g, b as c, u as N, c as j, P as r, d as U } from "./DefaultPropsProvider.js";
3
3
  import { m as P } from "./memoTheme.js";
4
4
  import { c as E } from "./createSimplePaletteValueFilter.js";
5
5
  import { jsx as h } from "react/jsx-runtime";
@@ -3230,8 +3230,8 @@ export {
3230
3230
  pe as P,
3231
3231
  Po as T,
3232
3232
  jo as a,
3233
- Do as b,
3234
- pr as c,
3233
+ pr as b,
3234
+ Do as c,
3235
3235
  Bo as d,
3236
3236
  Fn as e,
3237
3237
  yo as f,
package/.chunks/Paper.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import * as P from "react";
2
- import { a as b, g as h, s as g, u as w, b as T, e as u, P as a, d as $, f } from "./DefaultPropsProvider.js";
2
+ import { a as h, g as b, s as g, u as w, c as T, e as u, P as a, d as $, f } from "./DefaultPropsProvider.js";
3
3
  import { u as x } from "./Portal.js";
4
4
  import { jsx as O } from "react/jsx-runtime";
5
5
  import { m as C } from "./memoTheme.js";
6
6
  import { c as N } from "./chainPropTypes.js";
7
7
  import { i as R } from "./integerPropType.js";
8
8
  function j(e) {
9
- return h("MuiPaper", e);
9
+ return b("MuiPaper", e);
10
10
  }
11
- b("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
11
+ h("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
12
12
  const E = (e) => {
13
13
  const {
14
14
  square: o,
@@ -1,5 +1,5 @@
1
1
  import * as D from "react";
2
- import { g as V, a as _, s as C, r as $, b as A, P as e, c as G, d as H } from "./DefaultPropsProvider.js";
2
+ import { g as V, a as _, s as C, r as $, c as A, P as e, b as G, d as H } from "./DefaultPropsProvider.js";
3
3
  import { u as J } from "./useFormControl.js";
4
4
  import { jsxs as K, jsx as M } from "react/jsx-runtime";
5
5
  import { B as Q } from "./ButtonBase.js";
@@ -1,5 +1,5 @@
1
1
  import * as c from "react";
2
- import { P as e, k as Vo, T as Ho, a as oe, g as te, c as ce, s as j, u as de, b as ee, d as ne, m as qo, r as Se, n as bo, o as ho, i as Ot } from "./DefaultPropsProvider.js";
2
+ import { P as e, k as Vo, T as Ho, a as oe, g as te, b as ce, s as j, u as de, c as ee, d as ne, m as qo, r as Se, n as bo, o as ho, i as Ot } from "./DefaultPropsProvider.js";
3
3
  import { u as ye } from "./useSlot.js";
4
4
  import { jsx as R, jsxs as he } from "react/jsx-runtime";
5
5
  import { u as De, F as _o } from "./useFormControl.js";
@@ -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 { 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";
3
+ import { g as w, a as C, s as T, b as x, u as N, c 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 { b as v, P as h } from "./DefaultPropsProvider.js";
1
+ import { c 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,7 +11,7 @@ import { Button as ne } from "../Button/Button.js";
11
11
  import a from "../theme.js";
12
12
  import { l as Ye } from "../.chunks/jocologo.js";
13
13
  import { X as Qe } from "../.chunks/Close.js";
14
- import { P as r, g as _e, a as qe, s as he, r as Je, c as ie, u as Ke, b as re, d as Ze } from "../.chunks/DefaultPropsProvider.js";
14
+ import { P as r, g as _e, a as qe, s as he, r as Je, b as ie, u as Ke, c as re, d as Ze } from "../.chunks/DefaultPropsProvider.js";
15
15
  import { u as eo } from "../.chunks/index.js";
16
16
  import { e as oo, H as ro, u as ze, g as to, T as no, r as io, b as Ce } from "../.chunks/Portal.js";
17
17
  import { m as De } from "../.chunks/memoTheme.js";
@@ -11,6 +11,8 @@ export interface ButtonProps extends Omit<MuiButtonProps, 'variant' | 'size' | '
11
11
  customShadow1?: string;
12
12
  customShadow2?: string;
13
13
  textToCopy?: string;
14
+ /** Width for bibi variants (e.g. "200px"). Defaults to "114px". */
15
+ width?: string;
14
16
  }
15
17
  export declare const Button: React.FC<ButtonProps & {
16
18
  children: React.ReactNode;
package/Button/Button.js CHANGED
@@ -1,26 +1,26 @@
1
- import { jsx as t, jsxs as $ } from "react/jsx-runtime";
2
- import { useState as C } from "react";
1
+ import { jsx as t, jsxs as B } from "react/jsx-runtime";
2
+ import { useState as T } from "react";
3
3
  import { B as F } from "../.chunks/Button.js";
4
4
  import { i as I } from "../.chunks/emotion-styled.browser.esm.js";
5
- import { c as a } from "../.chunks/emotion-react.browser.esm.js";
6
- import o from "../theme.js";
7
- import { Tooltip as T } from "../Tooltip/Tooltip.js";
8
- import { useThemeColors as N } from "../ThemeContext.js";
9
- import { s } from "../.chunks/DefaultPropsProvider.js";
5
+ import { c as u } from "../.chunks/emotion-react.browser.esm.js";
6
+ import { s as b, c } from "../.chunks/DefaultPropsProvider.js";
7
+ import i from "../theme.js";
8
+ import { Tooltip as S } from "../Tooltip/Tooltip.js";
9
+ import { useThemeColors as z } from "../ThemeContext.js";
10
10
  import { B as p } from "../.chunks/ButtonBase.js";
11
- import { C as H } from "../.chunks/check.js";
12
- const w = [
11
+ import { C as A } from "../.chunks/check.js";
12
+ const v = [
13
13
  "active",
14
14
  "customBackgroundColor",
15
15
  "customHoverColor",
16
16
  "customTextColor",
17
17
  "customShadow1",
18
18
  "customShadow2"
19
- ], u = s(F, { shouldForwardProp: (r) => !w.includes(r) })`
19
+ ], a = b(F, { shouldForwardProp: (e) => !v.includes(e) })`
20
20
  text-transform: none;
21
21
  &:disabled {
22
22
  opacity: 0.5;
23
- color: ${o.colors.black};
23
+ color: ${i.colors.black};
24
24
  display: flex;
25
25
  justify-content: center;
26
26
  align-items: center;
@@ -29,47 +29,19 @@ const w = [
29
29
  span {
30
30
  align-items: center !important;
31
31
  }
32
- `, G = s(u)`
33
- background-color: ${o.colors.green};
34
- height: 2.5rem;
35
- border: 2px solid transparent;
36
- color: ${o.colors.white};
37
- transition: 313ms all ease-in;
38
- border-radius: 32px;
39
- font-weight: 400;
40
- padding: 0.75rem 2rem;
41
- font-size: 1rem;
42
- box-shadow: ${o.boxShadows.gray63};
43
- &:hover,
44
- :focus-visible {
45
- background-color: ${o.colors.darkGreen};
46
- box-shadow: ${o.boxShadows.black63};
47
- }
48
- &:disabled {
49
- background-color: ${o.colors.darkGreen};
50
- }
51
- `, O = s(u, {
52
- shouldForwardProp: (r) => !w.includes(r)
32
+ `, G = "!bg-[#009200] !h-10 !border-2 !border-transparent !text-white transition-all duration-[313ms] ease-in !rounded-[32px] !font-normal !py-3 !px-8 !text-base shadow-[0px_0px_2px_1px_rgba(100,100,100,0.63)] hover:!bg-[#005c00] hover:shadow-[0px_0px_2px_1px_rgba(0,0,0,0.63)] focus-visible:!bg-[#005c00] focus-visible:shadow-[0px_0px_2px_1px_rgba(0,0,0,0.63)] disabled:!bg-[#005c00]", k = "!bg-[#fab62d] !h-10 !border-2 !border-transparent !text-[#131313] transition-all duration-[313ms] ease-in !rounded-[32px] !font-normal !py-3 !px-8 !text-base shadow-[0px_0px_2px_1px_rgba(100,100,100,0.63)] hover:!bg-[#e0a022] focus-visible:!bg-[#e0a022] disabled:!bg-[#e0a022]", m = "!box-border !bg-[#009dde] !rounded-none !h-[47px] !border-2 !border-transparent text-white transition-all duration-[108ms] ease-in !font-medium !p-0 !text-[19px] !min-w-0 hover:!bg-[#0088c0] focus-visible:!bg-[#0088c0]", H = "!h-10 !border-2 !border-transparent transition-all duration-[313ms] ease-in !rounded-[32px] !font-normal !py-3 !px-8 !text-base", O = b(a, {
33
+ shouldForwardProp: (e) => !v.includes(e)
53
34
  })(
54
35
  ({
55
- customBackgroundColor: r = o.colors.green,
56
- customHoverColor: e = o.colors.darkGreen,
57
- customTextColor: l = o.colors.white,
58
- customShadow1: c = o.boxShadows.gray63,
59
- customShadow2: d = o.boxShadows.black63
36
+ // customBackgroundColor = theme.colors.green,
37
+ customHoverColor: e = i.colors.darkGreen,
38
+ customTextColor: o = i.colors.white,
39
+ customShadow1: n = i.boxShadows.gray63,
40
+ customShadow2: d = i.boxShadows.black63
60
41
  }) => ({
61
- ...a`
62
- background-color: ${r};
63
- border-radius: 0;
64
- height: 2.5rem;
65
- border: 2px solid transparent;
66
- color: ${l};
67
- transition: 313ms all ease-in;
68
- border-radius: 32px;
69
- font-weight: 400;
70
- padding: 0.75rem 2rem;
71
- font-size: 1rem;
72
- box-shadow: ${c};
42
+ ...u`
43
+ color: ${o};
44
+ box-shadow: ${n};
73
45
  &:hover,
74
46
  :focus-visible {
75
47
  background-color: ${e};
@@ -80,93 +52,11 @@ const w = [
80
52
  }
81
53
  `
82
54
  })
83
- ), B = s(u)`
84
- background-color: ${o.colors.gold};
85
- height: 2.5rem;
86
- border: 2px solid transparent;
87
- color: ${o.colors.midnight};
88
- transition: 313ms all ease-in;
89
- border-radius: 32px;
90
- font-weight: 400;
91
- padding: 0.75rem 2rem;
92
- font-size: 1rem;
93
- box-shadow: ${o.boxShadows.gray63};
94
- &:hover,
95
- :focus-visible {
96
- background-color: ${o.colors.goldHover};
97
- box-shadow: ${o.boxShadows.gray63};
98
- }
99
- &:disabled {
100
- background-color: ${o.colors.goldHover};
101
- }
102
- `, A = s(B)`
103
- width: 447px;
104
- align-self: center;
105
- `, b = s(u)(({ width: r = "114px" }) => ({
106
- ...a`
107
- box-sizing: border-box;
108
- background-color: ${o.colors.bibiBlue};
109
- border-radius: 0;
110
- height: 47px;
111
- width: ${r};
112
- border: 2px solid transparent;
113
- color: ${o.colors.white};
114
- transition: 108ms all ease-in;
115
- font-weight: 500;
116
- padding: 0;
117
- font-size: 19px;
118
- &:hover,
119
- :focus-visible {
120
- background-color: ${o.colors.bibiBlueHover};
121
- }
122
- `
123
- })), U = s(b)(({ active: r }) => ({
124
- ...a`
125
- background-color: ${r && o.colors.white};
126
- color: ${r && o.colors.bibiBlue};
127
- &:hover,
128
- :focus-visible {
129
- background-color: ${o.colors.white};
130
- color: ${o.colors.bibiBlue};
131
- }
132
- `
133
- })), V = s(b)(() => ({
134
- ...a`
135
- background-color: ${o.colors.white};
136
- color: ${o.colors.bibiBlue};
137
- &:hover,
138
- :focus-visible {
139
- background-color: ${o.colors.bibiBlue};
140
- border: 2px solid ${o.colors.white};
141
- color: ${o.colors.white};
142
- }
143
- `
144
- })), k = s(p)`
145
- display: block;
146
- `, W = s(k)`
147
- font-family: inherit;
148
- font-size: inherit;
149
- font-weight: inherit;
150
- `, q = s("div")`
151
- display: flex;
152
- .isCopied {
153
- color: ${o.colors.gray};
154
- display: inline;
155
- margin-left: 8px;
156
- font-size: smaller;
157
- align-content: center;
158
- }
159
- .isCopied > svg {
160
- vertical-align: middle;
161
- height: 14px !important;
162
- width: 14px !important;
163
- margin: 0;
164
- }
165
- `, D = s(p, {
166
- shouldForwardProp: (r) => typeof r == "string" && I(r)
55
+ ), V = b(p, {
56
+ shouldForwardProp: (e) => typeof e == "string" && I(e)
167
57
  })(
168
- ({ size: r, color: e, highlightColor: l, hoverColor: c }) => ({
169
- ...a`
58
+ ({ size: e, color: o, highlightColor: n, hoverColor: d }) => ({
59
+ ...u`
170
60
  display: flex;
171
61
  align-items: center;
172
62
  justify-content: center;
@@ -176,49 +66,30 @@ const w = [
176
66
  &:hover,
177
67
  :focus-visible {
178
68
  svg {
179
- filter: drop-shadow(0 0 6px ${l}) drop-shadow(0 0 6px ${l})
180
- drop-shadow(0 0 6px ${l}) drop-shadow(0 0 6px ${l});
181
- fill: ${c || e};
69
+ filter: drop-shadow(0 0 6px ${n}) drop-shadow(0 0 6px ${n})
70
+ drop-shadow(0 0 6px ${n}) drop-shadow(0 0 6px ${n});
71
+ fill: ${d || o};
182
72
  }
183
73
  }
184
74
 
185
75
  svg {
186
76
  transition: 313ms all ease-in-out;
187
- fill: ${e};
188
- width: ${r}px;
189
- height: ${r}px;
77
+ fill: ${o};
78
+ width: ${e}px;
79
+ height: ${e}px;
190
80
  }
191
81
  `
192
82
  })
193
- ), E = s(u)(({ active: r }) => ({
194
- ...a`
195
- box-sizing: border-box;
196
- background-color: ${r ? o.colors.black : o.colors.white};
197
- height: 28px;
198
- border-radius: 18px;
199
- display: flex;
200
- align-items: center;
201
- justify-content: center;
202
- border: 2px solid ${r ? "transparent" : o.colors.black};
203
- color: ${r ? o.colors.white : o.colors.black};
204
- transition: 108ms all ease-in;
205
- font-weight: 500;
206
-
207
- &:hover,
208
- :focus-visible {
209
- background-color: ${r ? o.colors.charcoal : o.colors.gray2};
210
- }
211
- `
212
- })), J = s(p)(
213
- ({ backgroundColor: r, borderColor: e }) => ({
214
- ...a`
83
+ ), q = b(p)(
84
+ ({ backgroundColor: e, borderColor: o }) => ({
85
+ ...u`
215
86
  height: 28px;
216
87
  border-radius: 20px;
217
88
  border-width: 2px;
218
89
  border-style: solid;
219
- border-color: ${e}aa ${e} ${e} ${e}aa;
220
- background: ${r};
221
- color: ${e};
90
+ border-color: ${o}aa ${o} ${o} ${o}aa;
91
+ background: ${e};
92
+ color: ${o};
222
93
  padding: 10px;
223
94
  font-size: 0.9rem !important;
224
95
  font-weight: 500;
@@ -234,7 +105,7 @@ const w = [
234
105
  height: 15px;
235
106
  margin-left: 5px;
236
107
  margin-right: -8px;
237
- stroke: ${e};
108
+ stroke: ${o};
238
109
  transition: all 313ms ease;
239
110
  }
240
111
 
@@ -245,71 +116,114 @@ const w = [
245
116
  }
246
117
  `
247
118
  })
248
- ), to = ({
249
- variant: r = 1,
250
- size: e = 50,
251
- color: l,
252
- highlightColor: c,
253
- hoverColor: d,
254
- backgroundColor: m,
255
- textColor: g,
256
- customShadow1: y,
257
- customShadow2: v,
258
- children: i,
259
- textToCopy: S,
260
- active: j,
261
- ...n
119
+ ), Z = ({
120
+ variant: e = 1,
121
+ size: o = 50,
122
+ color: n,
123
+ highlightColor: d,
124
+ hoverColor: l,
125
+ backgroundColor: f,
126
+ textColor: h,
127
+ customShadow1: _,
128
+ customShadow2: N,
129
+ children: s,
130
+ textToCopy: j,
131
+ active: g,
132
+ width: x,
133
+ ...r
262
134
  }) => {
263
- const f = N();
264
- if (r === "custom")
135
+ const w = z();
136
+ if (e === "custom")
265
137
  return /* @__PURE__ */ t(
266
138
  O,
267
139
  {
268
- customBackgroundColor: m,
269
- customHoverColor: d,
270
- customTextColor: g,
271
- customShadow1: y,
272
- customShadow2: v,
273
- className: "jcCustomButton",
274
- ...n,
275
- children: i
140
+ customHoverColor: l,
141
+ customTextColor: h,
142
+ customShadow1: _,
143
+ customShadow2: N,
144
+ className: c("jcCustomButton", H, `background-[${f}]`),
145
+ ...r,
146
+ children: s
276
147
  }
277
148
  );
278
- if (r === "bibi")
279
- return /* @__PURE__ */ t(b, { ...n, children: i });
280
- if (r === "bibiOutlined")
281
- return /* @__PURE__ */ t(U, { ...n, children: i });
282
- if (r === "bibiInverse")
283
- return /* @__PURE__ */ t(V, { ...n, children: i });
284
- if (r === "unstyled")
285
- return /* @__PURE__ */ t(k, { ...n, children: i });
286
- if (r === "copy") {
287
- const [h, x] = C(!1);
288
- return /* @__PURE__ */ $(q, { onClick: async () => {
149
+ if (e === "bibi")
150
+ return /* @__PURE__ */ t(a, { className: m, style: { width: x ?? "114px" }, ...r, children: s });
151
+ if (e === "bibiOutlined")
152
+ return /* @__PURE__ */ t(
153
+ a,
154
+ {
155
+ className: c(
156
+ m,
157
+ g && "!bg-white !text-[#009dde]",
158
+ "hover:!bg-white hover:!text-[#009dde] focus-visible:!bg-white focus-visible:!text-[#009dde]"
159
+ ),
160
+ style: { width: x ?? "114px" },
161
+ ...r,
162
+ children: s
163
+ }
164
+ );
165
+ if (e === "bibiInverse")
166
+ return /* @__PURE__ */ t(
167
+ a,
168
+ {
169
+ className: c(
170
+ m,
171
+ "!bg-white !text-[#009dde]",
172
+ "hover:!bg-[#009dde] hover:!border-white hover:!text-white",
173
+ "focus-visible:!bg-[#009dde] focus-visible:!border-white focus-visible:!text-white",
174
+ `w-[${x ?? "114px"}]`
175
+ ),
176
+ ...r,
177
+ children: s
178
+ }
179
+ );
180
+ if (e === "unstyled")
181
+ return /* @__PURE__ */ t(p, { className: "block", ...r, children: s });
182
+ if (e === "copy") {
183
+ const [y, $] = T(!1);
184
+ return /* @__PURE__ */ B("div", { className: "flex", onClick: async () => {
289
185
  try {
290
- await navigator.clipboard.writeText(S || String(i)), x(!0), setTimeout(() => x(!1), 1100);
291
- } catch (z) {
292
- console.error("Failed to copy text: ", z);
186
+ await navigator.clipboard.writeText(j || String(s)), $(!0), setTimeout(() => $(!1), 1100);
187
+ } catch (C) {
188
+ console.error("Failed to copy text: ", C);
293
189
  }
294
190
  }, children: [
295
- /* @__PURE__ */ t(T, { title: "Copy to clipboard", children: /* @__PURE__ */ t(W, { ...n, children: i }) }),
296
- h && /* @__PURE__ */ $("span", { className: "isCopied", children: [
297
- /* @__PURE__ */ t(H, { size: 12 }),
191
+ /* @__PURE__ */ t(S, { title: "Copy to clipboard", children: /* @__PURE__ */ t(
192
+ p,
193
+ {
194
+ className: "block [font-family:inherit] [font-size:inherit] [font-weight:inherit]",
195
+ ...r,
196
+ children: s
197
+ }
198
+ ) }),
199
+ y && /* @__PURE__ */ B("span", { className: "inline ml-2 text-sm text-[#727272] content-center", children: [
200
+ /* @__PURE__ */ t(A, { size: 12, className: "inline align-middle !h-[14px] !w-[14px] m-0" }),
298
201
  " Copied"
299
202
  ] })
300
203
  ] });
301
204
  }
302
- return r === 2 ? /* @__PURE__ */ t(B, { ...n, children: /* @__PURE__ */ t("span", { children: i }) }) : r === "icon" ? (l = l || o.colors.green, c = c || o.colors.dandelion, d = d || o.colors.green, /* @__PURE__ */ t(D, { className: "jcIconButton", ...{ size: e, color: l, highlightColor: c, hoverColor: d }, ...n, children: i })) : r === "filter" ? /* @__PURE__ */ t(E, { className: "jcFilterButton", active: j, ...n, children: i }) : r === "form" ? /* @__PURE__ */ t(A, { className: "jcFormButton", ...n, children: i }) : r === "pill" ? /* @__PURE__ */ t(
303
- J,
205
+ return e === 2 ? /* @__PURE__ */ t(a, { className: k, ...r, children: /* @__PURE__ */ t("span", { children: s }) }) : e === "icon" ? (n = n || i.colors.green, d = d || i.colors.dandelion, l = l || i.colors.green, /* @__PURE__ */ t(V, { className: "jcIconButton", ...{ size: o, color: n, highlightColor: d, hoverColor: l }, ...r, children: s })) : e === "filter" ? /* @__PURE__ */ t(
206
+ a,
207
+ {
208
+ className: c(
209
+ "jcFilterButton",
210
+ "!box-border !h-[28px] !rounded-[18px] !flex !items-center !justify-center !border-2 transition-all duration-[108ms] ease-in !font-medium",
211
+ g ? "!bg-black !border-transparent !text-white hover:!bg-[#404040]" : "!bg-white !border-black !text-black hover:!bg-[#dddddd]"
212
+ ),
213
+ ...r,
214
+ children: s
215
+ }
216
+ ) : e === "form" ? /* @__PURE__ */ t(a, { className: c("jcFormButton", k, "!w-[447px] !self-center"), ...r, children: /* @__PURE__ */ t("span", { children: s }) }) : e === "pill" ? /* @__PURE__ */ t(
217
+ q,
304
218
  {
305
- backgroundColor: m || f.themeIconBackgroundB,
306
- borderColor: g || f.themeIconBackgroundA,
307
- ...n,
308
- children: /* @__PURE__ */ t("span", { children: i })
219
+ backgroundColor: f || w.themeIconBackgroundB,
220
+ borderColor: h || w.themeIconBackgroundA,
221
+ ...r,
222
+ children: /* @__PURE__ */ t("span", { children: s })
309
223
  }
310
- ) : /* @__PURE__ */ t(G, { ...n, children: /* @__PURE__ */ t("span", { children: i }) });
224
+ ) : /* @__PURE__ */ t(a, { className: G, ...r, children: /* @__PURE__ */ t("span", { children: s }) });
311
225
  };
312
226
  export {
313
- to as Button,
314
- to as default
227
+ Z as Button,
228
+ Z as default
315
229
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as g } from "react/jsx-runtime";
2
2
  import { n as C, i as D } from "../.chunks/emotion-styled.browser.esm.js";
3
3
  import * as A from "react";
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";
4
+ import { a as R, g as S, s as u, u as T, c as L, P as r, d as W, e as $ } from "../.chunks/DefaultPropsProvider.js";
5
5
  import { m as b } from "../.chunks/memoTheme.js";
6
6
  function I(t) {
7
7
  return S("MuiDivider", t);
@@ -3,7 +3,7 @@ import { n as B } from "../.chunks/emotion-styled.browser.esm.js";
3
3
  import { c as g } from "../.chunks/emotion-react.browser.esm.js";
4
4
  import { useThemeColors as P } from "../ThemeContext.js";
5
5
  import * as f from "react";
6
- import { a as R, g as T, s as M, r as N, c as p, e as z, u as L, b as V, P as o, d as H } from "../.chunks/DefaultPropsProvider.js";
6
+ import { a as R, g as T, s as M, r as N, b as p, e as z, u as L, c as V, P as o, d as H } from "../.chunks/DefaultPropsProvider.js";
7
7
  import { S as E } from "../.chunks/SwitchBase.js";
8
8
  import { c as b } from "../.chunks/createSvgIcon.js";
9
9
  import { m as F } from "../.chunks/memoTheme.js";
@@ -4,7 +4,7 @@ import { c as No } from "../.chunks/emotion-react.browser.esm.js";
4
4
  import Jo from "../theme.js";
5
5
  import { useThemeColors as Xo } from "../ThemeContext.js";
6
6
  import * as b from "react";
7
- import { g as po, a as co, s as F, c as d, u as uo, b as J, P as o, d as fo, e as V } from "../.chunks/DefaultPropsProvider.js";
7
+ import { g as po, a as co, s as F, b as d, u as uo, c as J, P as o, d as fo, e as V } from "../.chunks/DefaultPropsProvider.js";
8
8
  import { i as Io, a as be, b as Eo, f as Ae, A as Qo, T as zo } from "../.chunks/TextField.js";
9
9
  import { c as Ho } from "../.chunks/createSvgIcon.js";
10
10
  import { m as ee } from "../.chunks/memoTheme.js";
@@ -3,7 +3,7 @@ import { n as G } from "../.chunks/emotion-styled.browser.esm.js";
3
3
  import { c as S } from "../.chunks/emotion-react.browser.esm.js";
4
4
  import { useThemeColors as _ } from "../ThemeContext.js";
5
5
  import * as l from "react";
6
- import { s as m, r as I, P as e, a as q, g as A, c as f, e as w, u as W, b as Z, d as H } from "../.chunks/DefaultPropsProvider.js";
6
+ import { s as m, r as I, P as e, a as q, g as A, b as f, e as w, u as W, c as Z, d as H } from "../.chunks/DefaultPropsProvider.js";
7
7
  import { S as J } from "../.chunks/SwitchBase.js";
8
8
  import { c as B } from "../.chunks/createSvgIcon.js";
9
9
  import { m as P } from "../.chunks/memoTheme.js";
@@ -2,7 +2,7 @@ import { jsx as d, jsxs as Z } from "react/jsx-runtime";
2
2
  import { n as tt } from "../.chunks/emotion-styled.browser.esm.js";
3
3
  import { c as at } from "../.chunks/emotion-react.browser.esm.js";
4
4
  import * as G from "react";
5
- 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";
5
+ import { a as _, g as H, s as B, e as N, u as q, c as U, P as a, b as I, d as J } from "../.chunks/DefaultPropsProvider.js";
6
6
  import { u as et } from "../.chunks/useControlled.js";
7
7
  import { i as w } from "../.chunks/integerPropType.js";
8
8
  import { u as ot } from "../.chunks/index.js";
@@ -7,7 +7,7 @@ import { k as A, c as P } from "../.chunks/emotion-react.browser.esm.js";
7
7
  import { Button as q } from "../Button/Button.js";
8
8
  import { SlideOut as J, SlideIn as Q, SlideInReverse as z, SlideOutReverse as W } from "../animation/Slide/Slide.js";
9
9
  import { useThemeColors as Z } from "../ThemeContext.js";
10
- import { g as V, a as _, s as g, c as f, u as F, b as O, P as o, d as K, l as rr, h as er, i as tr } from "../.chunks/DefaultPropsProvider.js";
10
+ import { g as V, a as _, s as g, b as f, u as F, c as O, P as o, d as K, l as rr, h as er, i as tr } from "../.chunks/DefaultPropsProvider.js";
11
11
  import { m as w } from "../.chunks/memoTheme.js";
12
12
  import { P as or } from "../.chunks/Paper.js";
13
13
  import { u as ar } from "../.chunks/index.js";
@@ -5,5 +5,7 @@ export type ToastItem = ToastProps & {
5
5
  export type ToasterProps = {
6
6
  toastQueue: ToastItem[];
7
7
  onDismiss?: (id: string) => void;
8
+ /** Override the default positioning (fixed, bottom-right). Merges with defaults. */
9
+ style?: React.CSSProperties;
8
10
  };
9
11
  export declare const Toaster: React.FC<ToasterProps>;
package/Toast/Toaster.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import m from "./Toast.js";
3
- const x = ({ toastQueue: s = [], onDismiss: t }) => {
4
- const r = (o) => {
2
+ import n from "./Toast.js";
3
+ const a = ({ toastQueue: s = [], onDismiss: t, style: r }) => {
4
+ const e = (o) => {
5
5
  t && t(o);
6
6
  };
7
7
  return /* @__PURE__ */ i(
@@ -14,12 +14,13 @@ const x = ({ toastQueue: s = [], onDismiss: t }) => {
14
14
  display: "flex",
15
15
  flexDirection: "column",
16
16
  gap: "8px",
17
- zIndex: 9999
17
+ zIndex: 9999,
18
+ ...r
18
19
  },
19
- children: s.map(({ id: o, ...e }) => /* @__PURE__ */ i(m, { ...e, onDismiss: () => r(o) }, o))
20
+ children: s.map(({ id: o, ...m }) => /* @__PURE__ */ i(n, { ...m, onDismiss: () => e(o) }, o))
20
21
  }
21
22
  );
22
23
  };
23
24
  export {
24
- x as Toaster
25
+ a as Toaster
25
26
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as Pe, jsx as C } from "react/jsx-runtime";
2
2
  import * as s from "react";
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";
3
+ import { a as Qe, g as Ze, s as Y, b as Me, e as Ee, u as eo, c as I, P as o, d as oo } from "../.chunks/DefaultPropsProvider.js";
4
4
  import { u as to, a as j } from "../.chunks/index.js";
5
5
  import { u as ro, a as po, g as no, G as Re, e as so } from "../.chunks/Portal.js";
6
6
  import { m as G } from "../.chunks/memoTheme.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "1.0.65",
4
+ "version": "1.0.66",
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",
@@ -24,9 +24,12 @@
24
24
  "@mui/icons-material": "^6.1.3",
25
25
  "@mui/material": "^6.1.1",
26
26
  "@react-hook/resize-observer": "^2.0.2",
27
+ "@tailwindcss/vite": "^4.2.2",
27
28
  "@uiw/react-color": "^2.9.2",
29
+ "clsx": "^2.1.1",
28
30
  "lucide-react": "^0.525.0",
29
31
  "overlayscrollbars-react": "^0.5.6",
30
- "react-device-detect": "^2.2.3"
32
+ "react-device-detect": "^2.2.3",
33
+ "tailwindcss": "^4.2.2"
31
34
  }
32
35
  }