jcicl 0.0.116 → 0.0.120

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.
@@ -4,7 +4,7 @@ import { a as Ht, g as Ut, P as r, d as Ft, s as et, u as qt, c as zt, e as Yt,
4
4
  import { o as Rt, P as fo, H as Qe, d as uo, c as Xt, a as vo, f as mo, h as ho, g as go, G as At, i as ze, e as yo } from "../.chunks/Portal.js";
5
5
  import { m as lt } from "../.chunks/memoTheme.js";
6
6
  import { c as bo } from "../.chunks/chainPropTypes.js";
7
- import { r as Gt, c as it, e as Ct, b as Ye, d as Mt, f as wo } from "../.chunks/TransitionGroupContext.js";
7
+ import { r as Gt, a as it, u as Ct, d as Ye, e as Mt, f as wo } from "../.chunks/TransitionGroupContext.js";
8
8
  import { i as jt } from "../.chunks/isFocusVisible.js";
9
9
  var W = "top", z = "bottom", Y = "right", I = "left", ct = "auto", Ie = [W, z, Y, I], Oe = "start", ke = "end", Oo = "clippingParents", Kt = "viewport", Se = "popper", xo = "reference", $t = /* @__PURE__ */ Ie.reduce(function(t, e) {
10
10
  return t.concat([e + "-" + Oe, e + "-" + ke]);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.116",
4
+ "version": "0.0.120",
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
@@ -42,6 +42,7 @@ export interface ThemeBoxShadows extends Partial<ThemeColors> {
42
42
  darkGreenThick?: string;
43
43
  gray63?: string;
44
44
  greenThick?: string;
45
+ indigoThick?: string;
45
46
  }
46
47
  export interface ThemeConstants {
47
48
  appHeaderHeight: number;
@@ -52,11 +53,29 @@ export interface ThemeScreenSizes {
52
53
  mobile: string;
53
54
  tablet: string;
54
55
  }
56
+ export interface ThemeFonts {
57
+ roboto: string;
58
+ }
55
59
  export interface Theme {
56
- boxShadow: ThemeBoxShadows;
60
+ boxShadows: ThemeBoxShadows;
57
61
  colors: ThemeColors;
58
62
  constants: ThemeConstants;
59
63
  screenSizes: ThemeScreenSizes;
64
+ fonts: ThemeFonts;
65
+ }
66
+ export interface TemplateThemeProps {
67
+ backgroundPrimary: string;
68
+ backgroundSecondary: string;
69
+ backgroundTertiary: string;
70
+ borderPrimary: string;
71
+ iconPrimary: string;
72
+ highlightPrimary: string;
73
+ highlightSecondary: string;
74
+ highlightTertiary: string;
75
+ shadowPrimary: string;
76
+ shadowSecondary: string;
77
+ shadowTertiary: string;
78
+ scrollColor: string;
60
79
  }
61
80
  declare const theme: Theme;
62
81
  export default theme;
package/theme.js CHANGED
@@ -1,5 +1,8 @@
1
1
  const e = {
2
- boxShadow: {},
2
+ fonts: {
3
+ roboto: "Roboto, sans-serif"
4
+ },
5
+ boxShadows: {},
3
6
  colors: {
4
7
  black: "black",
5
8
  blue: "#1976d2",
@@ -48,10 +51,10 @@ const e = {
48
51
  // Testing range for mobile: 320px - 480px
49
52
  mobile: "533px",
50
53
  // Testing range for tablets: 533px - 1080px
51
- tablet: "963px"
54
+ tablet: "1080px"
52
55
  }
53
56
  };
54
- e.boxShadow = {
57
+ e.boxShadows = {
55
58
  ...Object.fromEntries(
56
59
  Object.keys(e.colors).map((a) => [
57
60
  a,
@@ -61,7 +64,8 @@ e.boxShadow = {
61
64
  darkGreenThick: `0 0 2px 1px ${e.colors.darkGreen}`,
62
65
  greenThick: `0 0 2px 1px ${e.colors.green}`,
63
66
  gray63: "0px 0px 2px 1px rgba(100, 100, 100, 0.63)",
64
- black63: "0px 0px 2px 1px rgba(0, 0, 0, 0.63)"
67
+ black63: "0px 0px 2px 1px rgba(0, 0, 0, 0.63)",
68
+ indigoThick: `0 0 2px 1px ${e.colors.indigo}`
65
69
  };
66
70
  export {
67
71
  e as default