jcicl 0.0.20 → 0.0.21

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,5 +1,5 @@
1
1
  import { n as $, i as L } from "./emotion-styled.browser.esm.js";
2
- import { theme as C } from "../theme.js";
2
+ import C from "../theme.js";
3
3
  import * as p from "react";
4
4
  import { g as P, a as S, s as T, r as h, u as j, c as I, P as e, b as E, d as u } from "./DefaultPropsProvider.js";
5
5
  import { m as G } from "./memoTheme.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { c } from "../../../.chunks/createSvgIcon.js";
3
3
  import { B as d } from "../../../.chunks/ButtonBase.js";
4
- import { theme as i } from "../../../theme.js";
4
+ import i from "../../../theme.js";
5
5
  import { n as a, i as l } from "../../../.chunks/emotion-styled.browser.esm.js";
6
6
  const m = c(/* @__PURE__ */ t("path", {
7
7
  d: "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4"
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { B as l } from "../../../.chunks/ButtonBase.js";
3
- import { theme as m } from "../../../theme.js";
3
+ import m from "../../../theme.js";
4
4
  import { n as d } from "../../../.chunks/emotion-styled.browser.esm.js";
5
5
  const s = d("img")(
6
6
  ({ borderColor: o = m.colors.darkGreen, size: r = 40, objectFit: e = "cover" }) => ({
@@ -4,7 +4,7 @@ import { a as F, g as U, s as c, r as _, e, h as H, u as A, c as w, P as t, b as
4
4
  import { m as J } from "../../.chunks/memoTheme.js";
5
5
  import { c as K } from "../../.chunks/createSimplePaletteValueFilter.js";
6
6
  import { B as Q } from "../../.chunks/ButtonBase.js";
7
- import { theme as i } from "../../theme.js";
7
+ import i from "../../theme.js";
8
8
  function X(o) {
9
9
  return F("MuiButton", o);
10
10
  }
@@ -1,5 +1,5 @@
1
1
  import { DividerProps as MuiDividerProps } from '@mui/material/Divider';
2
- import { default as theme } from '../../../../../../../../../src/assets/theme';
2
+ import { default as theme } from '../../../../../../../../../src/components/theme';
3
3
  export interface DividerProps extends MuiDividerProps {
4
4
  color?: keyof typeof theme.colors;
5
5
  opacity?: number;
@@ -1,6 +1,6 @@
1
1
  import { jsx as f } from "react/jsx-runtime";
2
2
  import { n as D, i as A } from "../../.chunks/emotion-styled.browser.esm.js";
3
- import { theme as u } from "../../theme.js";
3
+ import u from "../../theme.js";
4
4
  import * as S from "react";
5
5
  import { g as R, a as T, s as m, u as L, c as W, P as r, b as $, d as I } from "../../.chunks/DefaultPropsProvider.js";
6
6
  import { m as b } from "../../.chunks/memoTheme.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as ce, jsx as S } from "react/jsx-runtime";
2
2
  import { n as Ao } from "../../.chunks/emotion-styled.browser.esm.js";
3
- import { theme as we } from "../../theme.js";
3
+ import we from "../../theme.js";
4
4
  import * as i from "react";
5
5
  import { h as Bo, l as Wo, T as Do, P as e, g as Q, a as ee, e as _, s as F, u as fe, c as le, b as oe, m as To, r as ye, n as so, o as Uo, q as Vo } from "../../.chunks/DefaultPropsProvider.js";
6
6
  import { o as co, d as Ho, f as qo, M as _o, a as Ko, h as We } from "../../.chunks/Menu.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.20",
4
+ "version": "0.0.21",
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",
@@ -3,7 +3,7 @@ import { Input as R } from "../../base/Input/Input.js";
3
3
  import { Button as j } from "../../base/Button/Button.js";
4
4
  import { n as y } from "../../.chunks/emotion-styled.browser.esm.js";
5
5
  import { l as I } from "../../.chunks/jocologo.js";
6
- import { theme as f } from "../../theme.js";
6
+ import f from "../../theme.js";
7
7
  import * as v from "react";
8
8
  import { a as x, g as B, s as m, e as c, u as A, c as k, P as r, b as T } from "../../.chunks/DefaultPropsProvider.js";
9
9
  import { m as C } from "../../.chunks/memoTheme.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as a } from "react";
3
3
  import { n } from "../../.chunks/emotion-styled.browser.esm.js";
4
- import { theme as o } from "../../theme.js";
4
+ import o from "../../theme.js";
5
5
  import { l as s } from "../../.chunks/jocologo.js";
6
6
  import { Input as p } from "../../base/Input/Input.js";
7
7
  import { Button as m } from "../../base/Button/Button.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as s, jsxs as f } from "react/jsx-runtime";
2
2
  import { useState as m } from "react";
3
3
  import { n as i, i as u } from "../../.chunks/emotion-styled.browser.esm.js";
4
- import { theme as o } from "../../theme.js";
4
+ import o from "../../theme.js";
5
5
  import { B as x } from "../../.chunks/ButtonBase.js";
6
6
  const h = i("div")({
7
7
  display: "flex",
@@ -3,7 +3,7 @@ import * as x from "react";
3
3
  import { useState as ce, createElement as de } from "react";
4
4
  import { n as q } from "../../.chunks/emotion-styled.browser.esm.js";
5
5
  import { c as J } from "../../.chunks/createSvgIcon.js";
6
- import { theme as v } from "../../theme.js";
6
+ import v from "../../theme.js";
7
7
  import { Divider as fe } from "../../base/Divider/Divider.js";
8
8
  import { NavItem as U } from "./subcomponents/NavItem/NavItem.js";
9
9
  import { C as ue } from "../../.chunks/NavLinkButton.js";
@@ -2,7 +2,7 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import { Divider as a } from "../../../../base/Divider/Divider.js";
3
3
  import { N as l } from "../../../../.chunks/NavLink.js";
4
4
  import { NavMenu as n } from "./subcomponents/NavMenu.js";
5
- import { theme as c } from "../../../../theme.js";
5
+ import c from "../../../../theme.js";
6
6
  const v = ({
7
7
  type: i = "link",
8
8
  menuOrientation: r,
@@ -6,7 +6,7 @@ import { N as le } from "../../../../../.chunks/NavLinkButton.js";
6
6
  import { NavLinkText as pe } from "./NavLinkText.js";
7
7
  import { Divider as ce } from "../../../../../base/Divider/Divider.js";
8
8
  import { L as de, N as ue } from "../../../../../.chunks/NavLink.js";
9
- import { theme as K } from "../../../../../theme.js";
9
+ import K from "../../../../../theme.js";
10
10
  import { u as he, T as fe, g as V, L as me, M as ge } from "../../../../../.chunks/Menu.js";
11
11
  import { c as Q } from "../../../../../.chunks/createSvgIcon.js";
12
12
  import { g as xe, a as ye, s as O, u as we, c as Ee, P as e, b as ze, f as be } from "../../../../../.chunks/DefaultPropsProvider.js";
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
2
  import n from "../../supercomposite/AppHeader/AppHeader.js";
3
3
  import { CompactNav as s } from "../../supercomposite/CompactNav/CompactNav.js";
4
4
  import { n as d } from "../../.chunks/emotion-styled.browser.esm.js";
5
- import { theme as r } from "../../theme.js";
5
+ import r from "../../theme.js";
6
6
  const c = d("div")({
7
7
  display: "flex",
8
8
  flexDirection: "column",
@@ -2,7 +2,7 @@ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { AppBar as s } from "../../supercomposite/AppBar/AppBar.js";
3
3
  import { Nav as p } from "../../supercomposite/Nav/Nav.js";
4
4
  import { n as a } from "../../.chunks/emotion-styled.browser.esm.js";
5
- import { theme as r } from "../../theme.js";
5
+ import r from "../../theme.js";
6
6
  const l = a("div")({
7
7
  display: "flex",
8
8
  flexDirection: "column",
package/theme.d.ts CHANGED
@@ -1 +1,31 @@
1
- export { default as theme } from '../../../../../../../src/assets/theme';
1
+ export interface Theme {
2
+ colors: {
3
+ black: string;
4
+ blue: string;
5
+ charcoal: string;
6
+ darkBlue: string;
7
+ darkGreen: string;
8
+ darkGreenO22: string;
9
+ darkRed: string;
10
+ gold: string;
11
+ gray: string;
12
+ veryLightGray: string;
13
+ grayO44: string;
14
+ green: string;
15
+ midnight: string;
16
+ mint: string;
17
+ sunlight: string;
18
+ white: string;
19
+ whiteGreen: string;
20
+ whiteGreen2: string;
21
+ };
22
+ constants: {
23
+ appBarHeight: number;
24
+ appHeaderHeight: number;
25
+ appInnerNavWidth: number;
26
+ appSideNavWidth: number;
27
+ navBarWidth: number;
28
+ };
29
+ }
30
+ declare const theme: Theme;
31
+ export default theme;
package/theme.js CHANGED
@@ -28,5 +28,5 @@ const e = {
28
28
  }
29
29
  };
30
30
  export {
31
- e as theme
31
+ e as default
32
32
  };