jcicl 0.0.313 → 0.0.317

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,11 +1,15 @@
1
1
  import { ButtonProps as MuiButtonProps } from '@mui/material/Button/Button';
2
2
  export interface ButtonProps extends Omit<MuiButtonProps, 'variant' | 'size' | 'color'> {
3
- variant?: 1 | 2 | 'unstyled' | 'icon' | 'bibi' | 'bibiOutlined' | 'bibiInverse' | 'filter';
3
+ variant?: 1 | 2 | 'unstyled' | 'icon' | 'bibi' | 'bibiOutlined' | 'bibiInverse' | 'filter' | 'custom';
4
4
  size?: number;
5
5
  color?: string;
6
6
  highlightColor?: string;
7
7
  hoverColor?: string;
8
8
  active?: boolean;
9
+ backgroundColor?: string;
10
+ textColor?: string;
11
+ customShadow1?: string;
12
+ customShadow2?: string;
9
13
  }
10
14
  export declare const Button: React.FC<ButtonProps & {
11
15
  children: React.ReactNode;
package/Button/Button.js CHANGED
@@ -1,39 +1,39 @@
1
- import { jsxs as H, jsx as l } from "react/jsx-runtime";
2
- import * as x from "react";
3
- import { g as _, a as A, s as c, r as q, c as d, m as J, u as K, b as O, P as t, d as Q, e as g } from "../.chunks/DefaultPropsProvider.js";
1
+ import { jsxs as U, jsx as i } from "react/jsx-runtime";
2
+ import * as B from "react";
3
+ import { g as _, a as A, s, r as q, c as p, m as J, u as K, b as R, P as t, d as Q, e as $ } from "../.chunks/DefaultPropsProvider.js";
4
4
  import { m as X } from "../.chunks/memoTheme.js";
5
5
  import { c as Y } from "../.chunks/createSimplePaletteValueFilter.js";
6
- import { B as S } from "../.chunks/ButtonBase.js";
6
+ import { B as m } from "../.chunks/ButtonBase.js";
7
7
  import { i as Z } from "../.chunks/emotion-styled.browser.esm.js";
8
- import { c as f } from "../.chunks/emotion-react.browser.esm.js";
8
+ import { c as v } from "../.chunks/emotion-react.browser.esm.js";
9
9
  import r from "../theme.js";
10
10
  function oo(o) {
11
11
  return _("MuiButton", o);
12
12
  }
13
- const b = A("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge"]), R = /* @__PURE__ */ x.createContext({});
14
- process.env.NODE_ENV !== "production" && (R.displayName = "ButtonGroupContext");
15
- const N = /* @__PURE__ */ x.createContext(void 0);
16
- process.env.NODE_ENV !== "production" && (N.displayName = "ButtonGroupButtonContext");
17
- const to = (o) => {
13
+ const g = A("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge"]), E = /* @__PURE__ */ B.createContext({});
14
+ process.env.NODE_ENV !== "production" && (E.displayName = "ButtonGroupContext");
15
+ const T = /* @__PURE__ */ B.createContext(void 0);
16
+ process.env.NODE_ENV !== "production" && (T.displayName = "ButtonGroupButtonContext");
17
+ const ro = (o) => {
18
18
  const {
19
19
  color: a,
20
20
  disableElevation: n,
21
21
  fullWidth: e,
22
- size: p,
23
- variant: i,
24
- classes: u
25
- } = o, s = {
26
- root: ["root", i, `${i}${d(a)}`, `size${d(p)}`, `${i}Size${d(p)}`, `color${d(a)}`, n && "disableElevation", e && "fullWidth"],
22
+ size: d,
23
+ variant: u,
24
+ classes: b
25
+ } = o, x = {
26
+ root: ["root", u, `${u}${p(a)}`, `size${p(d)}`, `${u}Size${p(d)}`, `color${p(a)}`, n && "disableElevation", e && "fullWidth"],
27
27
  label: ["label"],
28
- startIcon: ["icon", "startIcon", `iconSize${d(p)}`],
29
- endIcon: ["icon", "endIcon", `iconSize${d(p)}`]
30
- }, y = Q(s, oo, u);
28
+ startIcon: ["icon", "startIcon", `iconSize${p(d)}`],
29
+ endIcon: ["icon", "endIcon", `iconSize${p(d)}`]
30
+ }, f = Q(x, oo, b);
31
31
  return {
32
- ...u,
32
+ ...b,
33
33
  // forward the focused, disabled, etc. classes to the ButtonBase
34
- ...y
34
+ ...f
35
35
  };
36
- }, E = [{
36
+ }, W = [{
37
37
  props: {
38
38
  size: "small"
39
39
  },
@@ -60,7 +60,7 @@ const to = (o) => {
60
60
  fontSize: 22
61
61
  }
62
62
  }
63
- }], ro = c(S, {
63
+ }], to = s(m, {
64
64
  shouldForwardProp: (o) => q(o) || o === "classes",
65
65
  name: "MuiButton",
66
66
  slot: "Root",
@@ -68,7 +68,7 @@ const to = (o) => {
68
68
  const {
69
69
  ownerState: n
70
70
  } = o;
71
- return [a.root, a[n.variant], a[`${n.variant}${d(n.color)}`], a[`size${d(n.size)}`], a[`${n.variant}Size${d(n.size)}`], n.color === "inherit" && a.colorInherit, n.disableElevation && a.disableElevation, n.fullWidth && a.fullWidth];
71
+ return [a.root, a[n.variant], a[`${n.variant}${p(n.color)}`], a[`size${p(n.size)}`], a[`${n.variant}Size${p(n.size)}`], n.color === "inherit" && a.colorInherit, n.disableElevation && a.disableElevation, n.fullWidth && a.fullWidth];
72
72
  }
73
73
  })(X(({
74
74
  theme: o
@@ -86,7 +86,7 @@ const to = (o) => {
86
86
  "&:hover": {
87
87
  textDecoration: "none"
88
88
  },
89
- [`&.${b.disabled}`]: {
89
+ [`&.${g.disabled}`]: {
90
90
  color: (o.vars || o).palette.action.disabled
91
91
  },
92
92
  variants: [{
@@ -107,10 +107,10 @@ const to = (o) => {
107
107
  "&:active": {
108
108
  boxShadow: (o.vars || o).shadows[8]
109
109
  },
110
- [`&.${b.focusVisible}`]: {
110
+ [`&.${g.focusVisible}`]: {
111
111
  boxShadow: (o.vars || o).shadows[6]
112
112
  },
113
- [`&.${b.disabled}`]: {
113
+ [`&.${g.disabled}`]: {
114
114
  color: (o.vars || o).palette.action.disabled,
115
115
  boxShadow: (o.vars || o).shadows[0],
116
116
  backgroundColor: (o.vars || o).palette.action.disabledBackground
@@ -126,7 +126,7 @@ const to = (o) => {
126
126
  borderColor: "var(--variant-outlinedBorder, currentColor)",
127
127
  backgroundColor: "var(--variant-outlinedBg)",
128
128
  color: "var(--variant-outlinedColor)",
129
- [`&.${b.disabled}`]: {
129
+ [`&.${g.disabled}`]: {
130
130
  border: `1px solid ${(o.vars || o).palette.action.disabledBackground}`
131
131
  }
132
132
  }
@@ -146,15 +146,15 @@ const to = (o) => {
146
146
  style: {
147
147
  "--variant-textColor": (o.vars || o).palette[e].main,
148
148
  "--variant-outlinedColor": (o.vars || o).palette[e].main,
149
- "--variant-outlinedBorder": o.vars ? `rgba(${o.vars.palette[e].mainChannel} / 0.5)` : g(o.palette[e].main, 0.5),
149
+ "--variant-outlinedBorder": o.vars ? `rgba(${o.vars.palette[e].mainChannel} / 0.5)` : $(o.palette[e].main, 0.5),
150
150
  "--variant-containedColor": (o.vars || o).palette[e].contrastText,
151
151
  "--variant-containedBg": (o.vars || o).palette[e].main,
152
152
  "@media (hover: hover)": {
153
153
  "&:hover": {
154
154
  "--variant-containedBg": (o.vars || o).palette[e].dark,
155
- "--variant-textBg": o.vars ? `rgba(${o.vars.palette[e].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : g(o.palette[e].main, o.palette.action.hoverOpacity),
155
+ "--variant-textBg": o.vars ? `rgba(${o.vars.palette[e].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : $(o.palette[e].main, o.palette.action.hoverOpacity),
156
156
  "--variant-outlinedBorder": (o.vars || o).palette[e].main,
157
- "--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette[e].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : g(o.palette[e].main, o.palette.action.hoverOpacity)
157
+ "--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette[e].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : $(o.palette[e].main, o.palette.action.hoverOpacity)
158
158
  }
159
159
  }
160
160
  }
@@ -169,8 +169,8 @@ const to = (o) => {
169
169
  "@media (hover: hover)": {
170
170
  "&:hover": {
171
171
  "--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedHoverBg : n,
172
- "--variant-textBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : g(o.palette.text.primary, o.palette.action.hoverOpacity),
173
- "--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : g(o.palette.text.primary, o.palette.action.hoverOpacity)
172
+ "--variant-textBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : $(o.palette.text.primary, o.palette.action.hoverOpacity),
173
+ "--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : $(o.palette.text.primary, o.palette.action.hoverOpacity)
174
174
  }
175
175
  }
176
176
  }
@@ -237,13 +237,13 @@ const to = (o) => {
237
237
  "&:hover": {
238
238
  boxShadow: "none"
239
239
  },
240
- [`&.${b.focusVisible}`]: {
240
+ [`&.${g.focusVisible}`]: {
241
241
  boxShadow: "none"
242
242
  },
243
243
  "&:active": {
244
244
  boxShadow: "none"
245
245
  },
246
- [`&.${b.disabled}`]: {
246
+ [`&.${g.disabled}`]: {
247
247
  boxShadow: "none"
248
248
  }
249
249
  }
@@ -256,14 +256,14 @@ const to = (o) => {
256
256
  }
257
257
  }]
258
258
  };
259
- })), ao = c("span", {
259
+ })), ao = s("span", {
260
260
  name: "MuiButton",
261
261
  slot: "StartIcon",
262
262
  overridesResolver: (o, a) => {
263
263
  const {
264
264
  ownerState: n
265
265
  } = o;
266
- return [a.startIcon, a[`iconSize${d(n.size)}`]];
266
+ return [a.startIcon, a[`iconSize${p(n.size)}`]];
267
267
  }
268
268
  })({
269
269
  display: "inherit",
@@ -276,15 +276,15 @@ const to = (o) => {
276
276
  style: {
277
277
  marginLeft: -2
278
278
  }
279
- }, ...E]
280
- }), no = c("span", {
279
+ }, ...W]
280
+ }), no = s("span", {
281
281
  name: "MuiButton",
282
282
  slot: "EndIcon",
283
283
  overridesResolver: (o, a) => {
284
284
  const {
285
285
  ownerState: n
286
286
  } = o;
287
- return [a.endIcon, a[`iconSize${d(n.size)}`]];
287
+ return [a.endIcon, a[`iconSize${p(n.size)}`]];
288
288
  }
289
289
  })({
290
290
  display: "inherit",
@@ -297,62 +297,62 @@ const to = (o) => {
297
297
  style: {
298
298
  marginRight: -2
299
299
  }
300
- }, ...E]
301
- }), T = /* @__PURE__ */ x.forwardRef(function(a, n) {
302
- const e = x.useContext(R), p = x.useContext(N), i = J(e, a), u = K({
303
- props: i,
300
+ }, ...W]
301
+ }), j = /* @__PURE__ */ B.forwardRef(function(a, n) {
302
+ const e = B.useContext(E), d = B.useContext(T), u = J(e, a), b = K({
303
+ props: u,
304
304
  name: "MuiButton"
305
305
  }), {
306
- children: s,
307
- color: y = "primary",
308
- component: w = "button",
309
- className: P,
310
- disabled: m = !1,
311
- disableElevation: W = !1,
312
- disableFocusRipple: C = !1,
313
- endIcon: h,
314
- focusVisibleClassName: V,
315
- fullWidth: j = !1,
306
+ children: x,
307
+ color: f = "primary",
308
+ component: l = "button",
309
+ className: h,
310
+ disabled: c = !1,
311
+ disableElevation: C = !1,
312
+ disableFocusRipple: k = !1,
313
+ endIcon: I,
314
+ focusVisibleClassName: P,
315
+ fullWidth: V = !1,
316
316
  size: M = "medium",
317
- startIcon: I,
318
- type: k,
319
- variant: F = "text",
320
- ...G
321
- } = u, B = {
322
- ...u,
323
- color: y,
324
- component: w,
325
- disabled: m,
326
- disableElevation: W,
327
- disableFocusRipple: C,
328
- fullWidth: j,
317
+ startIcon: O,
318
+ type: N,
319
+ variant: G = "text",
320
+ ...F
321
+ } = b, w = {
322
+ ...b,
323
+ color: f,
324
+ component: l,
325
+ disabled: c,
326
+ disableElevation: C,
327
+ disableFocusRipple: k,
328
+ fullWidth: V,
329
329
  size: M,
330
- type: k,
331
- variant: F
332
- }, v = to(B), L = I && /* @__PURE__ */ l(ao, {
333
- className: v.startIcon,
334
- ownerState: B,
330
+ type: N,
331
+ variant: G
332
+ }, y = ro(w), L = O && /* @__PURE__ */ i(ao, {
333
+ className: y.startIcon,
334
+ ownerState: w,
335
+ children: O
336
+ }), D = I && /* @__PURE__ */ i(no, {
337
+ className: y.endIcon,
338
+ ownerState: w,
335
339
  children: I
336
- }), D = h && /* @__PURE__ */ l(no, {
337
- className: v.endIcon,
338
- ownerState: B,
339
- children: h
340
- }), U = p || "";
341
- return /* @__PURE__ */ H(ro, {
342
- ownerState: B,
343
- className: O(e.className, v.root, P, U),
344
- component: w,
345
- disabled: m,
346
- focusRipple: !C,
347
- focusVisibleClassName: O(v.focusVisible, V),
340
+ }), H = d || "";
341
+ return /* @__PURE__ */ U(to, {
342
+ ownerState: w,
343
+ className: R(e.className, y.root, h, H),
344
+ component: l,
345
+ disabled: c,
346
+ focusRipple: !k,
347
+ focusVisibleClassName: R(y.focusVisible, P),
348
348
  ref: n,
349
- type: k,
350
- ...G,
351
- classes: v,
352
- children: [L, s, D]
349
+ type: N,
350
+ ...F,
351
+ classes: y,
352
+ children: [L, x, D]
353
353
  });
354
354
  });
355
- process.env.NODE_ENV !== "production" && (T.propTypes = {
355
+ process.env.NODE_ENV !== "production" && (j.propTypes = {
356
356
  // ┌────────────────────────────── Warning ──────────────────────────────┐
357
357
  // │ These PropTypes are generated from the TypeScript type definitions. │
358
358
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -446,7 +446,7 @@ process.env.NODE_ENV !== "production" && (T.propTypes = {
446
446
  */
447
447
  variant: t.oneOfType([t.oneOf(["contained", "outlined", "text"]), t.string])
448
448
  });
449
- const $ = c(T)`
449
+ const S = s(j)`
450
450
  text-transform: none;
451
451
  &:disabled {
452
452
  opacity: 0.5;
@@ -455,7 +455,7 @@ const $ = c(T)`
455
455
  justify-content: center;
456
456
  align-items: center;
457
457
  }
458
- `, eo = c($)`
458
+ `, eo = s(S)`
459
459
  background-color: ${r.colors.green};
460
460
  border-radius: 0;
461
461
  height: 2.5rem;
@@ -475,12 +475,58 @@ const $ = c(T)`
475
475
  &:disabled {
476
476
  background-color: ${r.colors.darkGreen};
477
477
  }
478
- `, io = c($)`
479
- color: ${r.colors.black};
480
- border: 3px solid ${r.colors.blue};
481
- padding: 0.5rem 2rem;
482
- `, z = c($)(({ width: o = "114px" }) => ({
483
- ...f`
478
+ `, io = s(S)(
479
+ ({
480
+ customBackgroundColor: o = r.colors.green,
481
+ customHoverColor: a = r.colors.darkGreen,
482
+ customTextColor: n = r.colors.white,
483
+ customShadow1: e = r.boxShadows.gray63,
484
+ customShadow2: d = r.boxShadows.black63
485
+ }) => ({
486
+ ...v`
487
+ background-color: ${o};
488
+ border-radius: 0;
489
+ height: 2.5rem;
490
+ border: 2px solid transparent;
491
+ color: ${n};
492
+ transition: 313ms all ease-in;
493
+ border-radius: 32px;
494
+ font-weight: 400;
495
+ padding: 0.75rem 2rem;
496
+ font-size: 1rem;
497
+ box-shadow: ${e};
498
+ &:hover,
499
+ :focus-visible {
500
+ background-color: ${a};
501
+ box-shadow: ${d};
502
+ }
503
+ &:disabled {
504
+ background-color: ${a};
505
+ }
506
+ `
507
+ })
508
+ ), so = s(S)`
509
+ background-color: ${r.colors.gold};
510
+ border-radius: 0;
511
+ height: 2.5rem;
512
+ border: 2px solid transparent;
513
+ color: ${r.colors.midnight};
514
+ transition: 313ms all ease-in;
515
+ border-radius: 32px;
516
+ font-weight: 400;
517
+ padding: 0.75rem 2rem;
518
+ font-size: 19px;
519
+ box-shadow: ${r.boxShadows.gray63};
520
+ &:hover,
521
+ :focus-visible {
522
+ background-color: ${r.colors.goldHover};
523
+ box-shadow: ${r.boxShadows.gray63};
524
+ }
525
+ &:disabled {
526
+ background-color: ${r.colors.goldHover};
527
+ }
528
+ `, z = s(S)(({ width: o = "114px" }) => ({
529
+ ...v`
484
530
  box-sizing: border-box;
485
531
  background-color: ${r.colors.bibiBlue};
486
532
  border-radius: 0;
@@ -497,8 +543,8 @@ const $ = c(T)`
497
543
  background-color: ${r.colors.bibiBlueHover};
498
544
  }
499
545
  `
500
- })), so = c(z)(({ active: o }) => ({
501
- ...f`
546
+ })), lo = s(z)(({ active: o }) => ({
547
+ ...v`
502
548
  background-color: ${o && r.colors.white};
503
549
  color: ${o && r.colors.bibiBlue};
504
550
  &:hover,
@@ -507,8 +553,8 @@ const $ = c(T)`
507
553
  color: ${r.colors.bibiBlue};
508
554
  }
509
555
  `
510
- })), lo = c(z)(() => ({
511
- ...f`
556
+ })), co = s(z)(() => ({
557
+ ...v`
512
558
  background-color: ${r.colors.white};
513
559
  color: ${r.colors.bibiBlue};
514
560
  &:hover,
@@ -518,13 +564,13 @@ const $ = c(T)`
518
564
  color: ${r.colors.white};
519
565
  }
520
566
  `
521
- })), co = c(S)`
567
+ })), po = s(m)`
522
568
  border-radius: 8px;
523
- `, po = c(S, {
569
+ `, uo = s(m, {
524
570
  shouldForwardProp: (o) => typeof o == "string" && Z(o)
525
571
  })(
526
572
  ({ size: o, color: a, highlightColor: n, hoverColor: e }) => ({
527
- ...f`
573
+ ...v`
528
574
  display: flex;
529
575
  align-items: center;
530
576
  justify-content: center;
@@ -548,8 +594,8 @@ const $ = c(T)`
548
594
  }
549
595
  `
550
596
  })
551
- ), uo = c($)(({ active: o }) => ({
552
- ...f`
597
+ ), bo = s(S)(({ active: o }) => ({
598
+ ...v`
553
599
  box-sizing: border-box;
554
600
  background-color: ${o ? r.colors.black : r.colors.white};
555
601
  height: 28px;
@@ -567,17 +613,33 @@ const $ = c(T)`
567
613
  background-color: ${o ? r.colors.charcoal : r.colors.gray2};
568
614
  }
569
615
  `
570
- })), So = ({
616
+ })), wo = ({
571
617
  variant: o = 1,
572
618
  size: a = 50,
573
619
  color: n = r.colors.darkGreen,
574
620
  highlightColor: e = r.colors.dandelion,
575
- hoverColor: p = r.colors.green,
576
- children: i,
577
- active: u,
578
- ...s
579
- }) => o === "bibi" ? /* @__PURE__ */ l(z, { ...s, children: i }) : o === "bibiOutlined" ? /* @__PURE__ */ l(so, { ...s, children: i }) : o === "bibiInverse" ? /* @__PURE__ */ l(lo, { ...s, children: i }) : o === "unstyled" ? /* @__PURE__ */ l(co, { ...s, children: i }) : o === 2 ? /* @__PURE__ */ l(io, { ...s, children: /* @__PURE__ */ l("span", { children: i }) }) : o === "icon" ? /* @__PURE__ */ l(po, { className: "jcIconButton", ...{ size: a, color: n, highlightColor: e, hoverColor: p }, ...s, children: i }) : o === "filter" ? /* @__PURE__ */ l(uo, { className: "jcFilterButton", active: u, ...s, children: i }) : /* @__PURE__ */ l(eo, { ...s, children: /* @__PURE__ */ l("span", { children: i }) });
621
+ hoverColor: d = r.colors.green,
622
+ backgroundColor: u = r.colors.darkGreen,
623
+ textColor: b = r.colors.white,
624
+ customShadow1: x = r.boxShadows.gray63,
625
+ customShadow2: f = r.boxShadows.black63,
626
+ children: l,
627
+ active: h,
628
+ ...c
629
+ }) => o === "custom" ? /* @__PURE__ */ i(
630
+ io,
631
+ {
632
+ customBackgroundColor: u,
633
+ customHoverColor: d,
634
+ customTextColor: b,
635
+ customShadow1: x,
636
+ customShadow2: f,
637
+ className: "jcCustomButton",
638
+ ...c,
639
+ children: l
640
+ }
641
+ ) : o === "bibi" ? /* @__PURE__ */ i(z, { ...c, children: l }) : o === "bibiOutlined" ? /* @__PURE__ */ i(lo, { ...c, children: l }) : o === "bibiInverse" ? /* @__PURE__ */ i(co, { ...c, children: l }) : o === "unstyled" ? /* @__PURE__ */ i(po, { ...c, children: l }) : o === 2 ? /* @__PURE__ */ i(so, { ...c, children: /* @__PURE__ */ i("span", { children: l }) }) : o === "icon" ? /* @__PURE__ */ i(uo, { className: "jcIconButton", ...{ size: a, color: n, highlightColor: e, hoverColor: d }, ...c, children: l }) : o === "filter" ? /* @__PURE__ */ i(bo, { className: "jcFilterButton", active: h, ...c, children: l }) : /* @__PURE__ */ i(eo, { ...c, children: /* @__PURE__ */ i("span", { children: l }) });
580
642
  export {
581
- So as Button,
582
- So as default
643
+ wo as Button,
644
+ wo as default
583
645
  };