jcicl 0.0.128 → 0.0.130

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,6 +1,6 @@
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';
3
+ variant?: 1 | 2 | 'unstyled' | 'icon' | 'bibi' | 'bibiOutlined' | 'bibiInverse';
4
4
  size?: number;
5
5
  color?: string;
6
6
  highlightColor?: string;
package/Button/Button.js CHANGED
@@ -1,39 +1,39 @@
1
- import { jsxs as D, jsx as d } from "react/jsx-runtime";
2
- import * as x from "react";
3
- import { g as U, a as _, s as c, r as H, c as i, f as A, u as q, b as I, P as t, d as J, e as b } from "../.chunks/DefaultPropsProvider.js";
4
- import { m as K } from "../.chunks/memoTheme.js";
5
- import { c as Q } from "../.chunks/createSimplePaletteValueFilter.js";
1
+ import { jsxs as H, jsx as l } from "react/jsx-runtime";
2
+ import * as g from "react";
3
+ import { g as _, a as A, s as c, r as q, c as d, f as J, u as K, b as O, P as t, d as Q, e as v } from "../.chunks/DefaultPropsProvider.js";
4
+ import { m as X } from "../.chunks/memoTheme.js";
5
+ import { c as Y } from "../.chunks/createSimplePaletteValueFilter.js";
6
6
  import { B as S } from "../.chunks/ButtonBase.js";
7
- import { i as X } from "../.chunks/emotion-styled.browser.esm.js";
8
- import { c as Y } from "../.chunks/emotion-react.browser.esm.js";
9
- import s from "../theme.js";
10
- function Z(o) {
11
- return U("MuiButton", o);
7
+ import { i as Z } from "../.chunks/emotion-styled.browser.esm.js";
8
+ import { c as f } from "../.chunks/emotion-react.browser.esm.js";
9
+ import n from "../theme.js";
10
+ function oo(o) {
11
+ return _("MuiButton", o);
12
12
  }
13
- const u = _("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"]), h = /* @__PURE__ */ x.createContext({});
14
- process.env.NODE_ENV !== "production" && (h.displayName = "ButtonGroupContext");
15
- const O = /* @__PURE__ */ x.createContext(void 0);
16
- process.env.NODE_ENV !== "production" && (O.displayName = "ButtonGroupButtonContext");
17
- const oo = (o) => {
13
+ const u = 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__ */ g.createContext({});
14
+ process.env.NODE_ENV !== "production" && (R.displayName = "ButtonGroupContext");
15
+ const E = /* @__PURE__ */ g.createContext(void 0);
16
+ process.env.NODE_ENV !== "production" && (E.displayName = "ButtonGroupButtonContext");
17
+ const to = (o) => {
18
18
  const {
19
- color: n,
20
- disableElevation: a,
21
- fullWidth: r,
22
- size: e,
23
- variant: l,
19
+ color: a,
20
+ disableElevation: r,
21
+ fullWidth: e,
22
+ size: i,
23
+ variant: s,
24
24
  classes: p
25
- } = o, f = {
26
- root: ["root", l, `${l}${i(n)}`, `size${i(e)}`, `${l}Size${i(e)}`, `color${i(n)}`, a && "disableElevation", r && "fullWidth"],
25
+ } = o, y = {
26
+ root: ["root", s, `${s}${d(a)}`, `size${d(i)}`, `${s}Size${d(i)}`, `color${d(a)}`, r && "disableElevation", e && "fullWidth"],
27
27
  label: ["label"],
28
- startIcon: ["icon", "startIcon", `iconSize${i(e)}`],
29
- endIcon: ["icon", "endIcon", `iconSize${i(e)}`]
30
- }, y = J(f, Z, p);
28
+ startIcon: ["icon", "startIcon", `iconSize${d(i)}`],
29
+ endIcon: ["icon", "endIcon", `iconSize${d(i)}`]
30
+ }, B = Q(y, oo, p);
31
31
  return {
32
32
  ...p,
33
33
  // forward the focused, disabled, etc. classes to the ButtonBase
34
- ...y
34
+ ...B
35
35
  };
36
- }, R = [{
36
+ }, N = [{
37
37
  props: {
38
38
  size: "small"
39
39
  },
@@ -60,20 +60,20 @@ const oo = (o) => {
60
60
  fontSize: 22
61
61
  }
62
62
  }
63
- }], to = c(S, {
64
- shouldForwardProp: (o) => H(o) || o === "classes",
63
+ }], ro = c(S, {
64
+ shouldForwardProp: (o) => q(o) || o === "classes",
65
65
  name: "MuiButton",
66
66
  slot: "Root",
67
- overridesResolver: (o, n) => {
67
+ overridesResolver: (o, a) => {
68
68
  const {
69
- ownerState: a
69
+ ownerState: r
70
70
  } = o;
71
- return [n.root, n[a.variant], n[`${a.variant}${i(a.color)}`], n[`size${i(a.size)}`], n[`${a.variant}Size${i(a.size)}`], a.color === "inherit" && n.colorInherit, a.disableElevation && n.disableElevation, a.fullWidth && n.fullWidth];
71
+ return [a.root, a[r.variant], a[`${r.variant}${d(r.color)}`], a[`size${d(r.size)}`], a[`${r.variant}Size${d(r.size)}`], r.color === "inherit" && a.colorInherit, r.disableElevation && a.disableElevation, r.fullWidth && a.fullWidth];
72
72
  }
73
- })(K(({
73
+ })(X(({
74
74
  theme: o
75
75
  }) => {
76
- const n = o.palette.mode === "light" ? o.palette.grey[300] : o.palette.grey[800], a = o.palette.mode === "light" ? o.palette.grey.A100 : o.palette.grey[700];
76
+ const a = o.palette.mode === "light" ? o.palette.grey[300] : o.palette.grey[800], r = o.palette.mode === "light" ? o.palette.grey.A100 : o.palette.grey[700];
77
77
  return {
78
78
  ...o.typography.button,
79
79
  minWidth: 64,
@@ -139,22 +139,22 @@ const oo = (o) => {
139
139
  color: "var(--variant-textColor)",
140
140
  backgroundColor: "var(--variant-textBg)"
141
141
  }
142
- }, ...Object.entries(o.palette).filter(Q()).map(([r]) => ({
142
+ }, ...Object.entries(o.palette).filter(Y()).map(([e]) => ({
143
143
  props: {
144
- color: r
144
+ color: e
145
145
  },
146
146
  style: {
147
- "--variant-textColor": (o.vars || o).palette[r].main,
148
- "--variant-outlinedColor": (o.vars || o).palette[r].main,
149
- "--variant-outlinedBorder": o.vars ? `rgba(${o.vars.palette[r].mainChannel} / 0.5)` : b(o.palette[r].main, 0.5),
150
- "--variant-containedColor": (o.vars || o).palette[r].contrastText,
151
- "--variant-containedBg": (o.vars || o).palette[r].main,
147
+ "--variant-textColor": (o.vars || o).palette[e].main,
148
+ "--variant-outlinedColor": (o.vars || o).palette[e].main,
149
+ "--variant-outlinedBorder": o.vars ? `rgba(${o.vars.palette[e].mainChannel} / 0.5)` : v(o.palette[e].main, 0.5),
150
+ "--variant-containedColor": (o.vars || o).palette[e].contrastText,
151
+ "--variant-containedBg": (o.vars || o).palette[e].main,
152
152
  "@media (hover: hover)": {
153
153
  "&:hover": {
154
- "--variant-containedBg": (o.vars || o).palette[r].dark,
155
- "--variant-textBg": o.vars ? `rgba(${o.vars.palette[r].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : b(o.palette[r].main, o.palette.action.hoverOpacity),
156
- "--variant-outlinedBorder": (o.vars || o).palette[r].main,
157
- "--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette[r].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : b(o.palette[r].main, o.palette.action.hoverOpacity)
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})` : v(o.palette[e].main, o.palette.action.hoverOpacity),
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})` : v(o.palette[e].main, o.palette.action.hoverOpacity)
158
158
  }
159
159
  }
160
160
  }
@@ -165,12 +165,12 @@ const oo = (o) => {
165
165
  style: {
166
166
  color: "inherit",
167
167
  borderColor: "currentColor",
168
- "--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedBg : n,
168
+ "--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedBg : a,
169
169
  "@media (hover: hover)": {
170
170
  "&:hover": {
171
- "--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedHoverBg : a,
172
- "--variant-textBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : b(o.palette.text.primary, o.palette.action.hoverOpacity),
173
- "--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : b(o.palette.text.primary, o.palette.action.hoverOpacity)
171
+ "--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedHoverBg : r,
172
+ "--variant-textBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : v(o.palette.text.primary, o.palette.action.hoverOpacity),
173
+ "--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : v(o.palette.text.primary, o.palette.action.hoverOpacity)
174
174
  }
175
175
  }
176
176
  }
@@ -259,11 +259,11 @@ const oo = (o) => {
259
259
  })), ao = c("span", {
260
260
  name: "MuiButton",
261
261
  slot: "StartIcon",
262
- overridesResolver: (o, n) => {
262
+ overridesResolver: (o, a) => {
263
263
  const {
264
- ownerState: a
264
+ ownerState: r
265
265
  } = o;
266
- return [n.startIcon, n[`iconSize${i(a.size)}`]];
266
+ return [a.startIcon, a[`iconSize${d(r.size)}`]];
267
267
  }
268
268
  })({
269
269
  display: "inherit",
@@ -276,15 +276,15 @@ const oo = (o) => {
276
276
  style: {
277
277
  marginLeft: -2
278
278
  }
279
- }, ...R]
279
+ }, ...N]
280
280
  }), no = c("span", {
281
281
  name: "MuiButton",
282
282
  slot: "EndIcon",
283
- overridesResolver: (o, n) => {
283
+ overridesResolver: (o, a) => {
284
284
  const {
285
- ownerState: a
285
+ ownerState: r
286
286
  } = o;
287
- return [n.endIcon, n[`iconSize${i(a.size)}`]];
287
+ return [a.endIcon, a[`iconSize${d(r.size)}`]];
288
288
  }
289
289
  })({
290
290
  display: "inherit",
@@ -297,62 +297,62 @@ const oo = (o) => {
297
297
  style: {
298
298
  marginRight: -2
299
299
  }
300
- }, ...R]
301
- }), k = /* @__PURE__ */ x.forwardRef(function(n, a) {
302
- const r = x.useContext(h), e = x.useContext(O), l = A(r, n), p = q({
303
- props: l,
300
+ }, ...N]
301
+ }), T = /* @__PURE__ */ g.forwardRef(function(a, r) {
302
+ const e = g.useContext(R), i = g.useContext(E), s = J(e, a), p = K({
303
+ props: s,
304
304
  name: "MuiButton"
305
305
  }), {
306
- children: f,
307
- color: y = "primary",
308
- component: B = "button",
309
- className: N,
310
- disabled: z = !1,
311
- disableElevation: P = !1,
312
- disableFocusRipple: $ = !1,
313
- endIcon: m,
314
- focusVisibleClassName: T,
315
- fullWidth: W = !1,
316
- size: V = "medium",
317
- startIcon: C,
318
- type: w,
319
- variant: M = "text",
320
- ...j
321
- } = p, g = {
306
+ children: y,
307
+ color: B = "primary",
308
+ component: w = "button",
309
+ className: P,
310
+ disabled: C = !1,
311
+ disableElevation: W = !1,
312
+ disableFocusRipple: m = !1,
313
+ endIcon: h,
314
+ focusVisibleClassName: V,
315
+ fullWidth: M = !1,
316
+ size: j = "medium",
317
+ startIcon: I,
318
+ type: k,
319
+ variant: G = "text",
320
+ ...L
321
+ } = p, x = {
322
322
  ...p,
323
- color: y,
324
- component: B,
325
- disabled: z,
326
- disableElevation: P,
327
- disableFocusRipple: $,
328
- fullWidth: W,
329
- size: V,
330
- type: w,
331
- variant: M
332
- }, v = oo(g), G = C && /* @__PURE__ */ d(ao, {
333
- className: v.startIcon,
334
- ownerState: g,
335
- children: C
336
- }), L = m && /* @__PURE__ */ d(no, {
337
- className: v.endIcon,
338
- ownerState: g,
339
- children: m
340
- }), F = e || "";
341
- return /* @__PURE__ */ D(to, {
342
- ownerState: g,
343
- className: I(r.className, v.root, N, F),
344
- component: B,
345
- disabled: z,
346
- focusRipple: !$,
347
- focusVisibleClassName: I(v.focusVisible, T),
348
- ref: a,
349
- type: w,
350
- ...j,
351
- classes: v,
352
- children: [G, f, L]
323
+ color: B,
324
+ component: w,
325
+ disabled: C,
326
+ disableElevation: W,
327
+ disableFocusRipple: m,
328
+ fullWidth: M,
329
+ size: j,
330
+ type: k,
331
+ variant: G
332
+ }, b = to(x), F = I && /* @__PURE__ */ l(ao, {
333
+ className: b.startIcon,
334
+ ownerState: x,
335
+ children: I
336
+ }), D = h && /* @__PURE__ */ l(no, {
337
+ className: b.endIcon,
338
+ ownerState: x,
339
+ children: h
340
+ }), U = i || "";
341
+ return /* @__PURE__ */ H(ro, {
342
+ ownerState: x,
343
+ className: O(e.className, b.root, P, U),
344
+ component: w,
345
+ disabled: C,
346
+ focusRipple: !m,
347
+ focusVisibleClassName: O(b.focusVisible, V),
348
+ ref: r,
349
+ type: k,
350
+ ...L,
351
+ classes: b,
352
+ children: [F, y, D]
353
353
  });
354
354
  });
355
- process.env.NODE_ENV !== "production" && (k.propTypes = {
355
+ process.env.NODE_ENV !== "production" && (T.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,45 +446,84 @@ process.env.NODE_ENV !== "production" && (k.propTypes = {
446
446
  */
447
447
  variant: t.oneOfType([t.oneOf(["contained", "outlined", "text"]), t.string])
448
448
  });
449
- const E = c(k)`
449
+ const $ = c(T)`
450
450
  text-transform: none;
451
451
  &:disabled {
452
452
  opacity: 0.5;
453
- color: ${s.colors.black};
453
+ color: ${n.colors.black};
454
454
  display: flex;
455
455
  justify-content: center;
456
456
  align-items: center;
457
457
  }
458
- `, ro = c(E)`
459
- background-color: ${s.colors.green};
458
+ `, eo = c($)`
459
+ background-color: ${n.colors.green};
460
460
  border-radius: 0;
461
461
  height: 2.5rem;
462
462
  border: 2px solid transparent;
463
- color: ${s.colors.white};
463
+ color: ${n.colors.white};
464
464
  transition: 313ms all ease-in;
465
465
  border-radius: 32px;
466
466
  font-weight: 400;
467
467
  padding: 0.75rem 2rem;
468
468
  font-size: 1rem;
469
- box-shadow: ${s.boxShadows.gray63};
469
+ box-shadow: ${n.boxShadows.gray63};
470
470
  &:hover,
471
471
  :focus-visible {
472
- background-color: ${s.colors.darkGreen};
473
- box-shadow: ${s.boxShadows.black63};
472
+ background-color: ${n.colors.darkGreen};
473
+ box-shadow: ${n.boxShadows.black63};
474
474
  }
475
475
  &:disabled {
476
- background-color: ${s.colors.darkGreen};
476
+ background-color: ${n.colors.darkGreen};
477
477
  }
478
- `, eo = c(E)`
479
- color: ${s.colors.black};
480
- border: 3px solid ${s.colors.blue};
478
+ `, io = c($)`
479
+ color: ${n.colors.black};
480
+ border: 3px solid ${n.colors.blue};
481
481
  padding: 0.5rem 2rem;
482
- `, io = c(S)`
482
+ `, z = c($)(({ width: o = "114px" }) => ({
483
+ ...f`
484
+ box-sizing: border-box;
485
+ background-color: ${n.colors.bibiBlue};
486
+ border-radius: 0;
487
+ height: 47px;
488
+ width: ${o};
489
+ border: 2px solid transparent;
490
+ color: ${n.colors.white};
491
+ transition: 108ms all ease-in;
492
+ font-weight: 500;
493
+ padding: 0;
494
+ font-size: 19px;
495
+ &:hover,
496
+ :focus-visible {
497
+ background-color: ${n.colors.bibiBlueHover};
498
+ }
499
+ `
500
+ })), so = c(z)(({ active: o }) => ({
501
+ ...f`
502
+ background-color: ${o && n.colors.white};
503
+ color: ${o && n.colors.bibiBlue};
504
+ &:hover,
505
+ :focus-visible {
506
+ background-color: ${n.colors.white};
507
+ color: ${n.colors.bibiBlue};
508
+ }
509
+ `
510
+ })), lo = c(z)(() => ({
511
+ ...f`
512
+ background-color: ${n.colors.white};
513
+ color: ${n.colors.bibiBlue};
514
+ &:hover,
515
+ :focus-visible {
516
+ background-color: ${n.colors.bibiBlue};
517
+ border: 2px solid ${n.colors.white};
518
+ color: ${n.colors.white};
519
+ }
520
+ `
521
+ })), co = c(S)`
483
522
  border-radius: 8px;
484
- `, so = c(S, {
485
- shouldForwardProp: (o) => typeof o == "string" && X(o)
486
- })(({ size: o, color: n, highlightColor: a }) => ({
487
- ...Y`
523
+ `, po = c(S, {
524
+ shouldForwardProp: (o) => typeof o == "string" && Z(o)
525
+ })(({ size: o, color: a, highlightColor: r }) => ({
526
+ ...f`
488
527
  display: flex;
489
528
  align-items: center;
490
529
  justify-content: center;
@@ -494,27 +533,27 @@ const E = c(k)`
494
533
  &:hover,
495
534
  :focus-visible {
496
535
  svg {
497
- filter: drop-shadow(0 0 6px ${a}) drop-shadow(0 0 6px ${a})
498
- drop-shadow(0 0 6px ${a}) drop-shadow(0 0 6px ${a});
536
+ filter: drop-shadow(0 0 6px ${r}) drop-shadow(0 0 6px ${r})
537
+ drop-shadow(0 0 6px ${r}) drop-shadow(0 0 6px ${r});
499
538
  }
500
539
  }
501
540
 
502
541
  svg {
503
542
  transition: 313ms all ease-in-out;
504
- fill: ${n};
543
+ fill: ${a};
505
544
  width: ${o}px;
506
545
  height: ${o}px;
507
546
  }
508
547
  `
509
- })), fo = ({
548
+ })), So = ({
510
549
  variant: o = 1,
511
- size: n = 50,
512
- color: a = s.colors.darkGreen,
513
- highlightColor: r = s.colors.dandelion,
514
- children: e,
515
- ...l
516
- }) => o === "unstyled" ? /* @__PURE__ */ d(io, { ...l, children: e }) : o === 2 ? /* @__PURE__ */ d(eo, { ...l, children: /* @__PURE__ */ d("span", { children: e }) }) : o === "icon" ? /* @__PURE__ */ d(so, { ...{ size: n, color: a, highlightColor: r }, ...l, children: e }) : /* @__PURE__ */ d(ro, { ...l, children: /* @__PURE__ */ d("span", { children: e }) });
550
+ size: a = 50,
551
+ color: r = n.colors.darkGreen,
552
+ highlightColor: e = n.colors.dandelion,
553
+ children: i,
554
+ ...s
555
+ }) => 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, { ...{ size: a, color: r, highlightColor: e }, ...s, children: i }) : /* @__PURE__ */ l(eo, { ...s, children: /* @__PURE__ */ l("span", { children: i }) });
517
556
  export {
518
- fo as Button,
519
- fo as default
557
+ So as Button,
558
+ So as default
520
559
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.128",
4
+ "version": "0.0.130",
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",
package/theme.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  export interface ThemeColors {
2
+ bibiBlue: string;
3
+ bibiBlueHover: string;
2
4
  black: string;
3
5
  blue: string;
4
6
  burgundy: string;
@@ -40,11 +42,11 @@ export interface ThemeColors {
40
42
  }
41
43
  export interface ThemeBoxShadows extends Partial<ThemeColors> {
42
44
  black63?: string;
43
- maroonThick?: string;
44
45
  darkGreenThick?: string;
45
46
  gray63?: string;
46
47
  greenThick?: string;
47
48
  indigoThick?: string;
49
+ maroonThick?: string;
48
50
  }
49
51
  export interface ThemeConstants {
50
52
  appHeaderHeight: number;
@@ -62,22 +64,22 @@ export interface Theme {
62
64
  boxShadows: ThemeBoxShadows;
63
65
  colors: ThemeColors;
64
66
  constants: ThemeConstants;
65
- screenSizes: ThemeScreenSizes;
66
67
  fonts: ThemeFonts;
68
+ screenSizes: ThemeScreenSizes;
67
69
  }
68
70
  export interface TemplateThemeProps {
69
71
  backgroundPrimary: string;
70
72
  backgroundSecondary: string;
71
73
  backgroundTertiary: string;
72
74
  borderPrimary: string;
73
- iconPrimary: string;
74
75
  highlightPrimary: string;
75
76
  highlightSecondary: string;
76
77
  highlightTertiary: string;
78
+ iconPrimary: string;
79
+ scrollColor: string;
77
80
  shadowPrimary: string;
78
81
  shadowSecondary: string;
79
82
  shadowTertiary: string;
80
- scrollColor: string;
81
83
  }
82
84
  declare const theme: Theme;
83
85
  export default theme;
package/theme.js CHANGED
@@ -4,6 +4,8 @@ const a = {
4
4
  },
5
5
  boxShadows: {},
6
6
  colors: {
7
+ bibiBlue: "#009dde",
8
+ bibiBlueHover: "#0088c0",
7
9
  black: "black",
8
10
  blue: "#1976d2",
9
11
  burgundy: "#920920",
@@ -68,8 +70,8 @@ a.boxShadows = {
68
70
  `0 0 2px 1px ${a.colors[e]}`
69
71
  ])
70
72
  ),
71
- gray63: "0px 0px 2px 1px rgba(100, 100, 100, 0.63)",
72
- black63: "0px 0px 2px 1px rgba(0, 0, 0, 0.63)"
73
+ black63: "0px 0px 2px 1px rgba(0, 0, 0, 0.63)",
74
+ gray63: "0px 0px 2px 1px rgba(100, 100, 100, 0.63)"
73
75
  };
74
76
  export {
75
77
  a as default