jcicl 1.0.25 → 1.0.26

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.
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ export interface SiteBannerProps {
3
+ text: string;
4
+ }
5
+ export declare const SiteBanner: React.FC<SiteBannerProps>;
6
+ export default SiteBanner;
@@ -0,0 +1,28 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { n as t } from "../.chunks/emotion-styled.browser.esm.js";
3
+ import n from "../theme.js";
4
+ import { useThemeColors as i } from "../ThemeContext.js";
5
+ const a = t.div(({ backgroundColor: o }) => ({
6
+ width: "100%",
7
+ padding: "13px 0",
8
+ backgroundColor: o,
9
+ boxShadow: n.boxShadows.gray63,
10
+ display: "flex",
11
+ alignItems: "center",
12
+ justifyContent: "center",
13
+ boxSizing: "border-box"
14
+ })), s = t.span({
15
+ color: n.colors.white,
16
+ fontFamily: "Roboto, sans-serif",
17
+ fontSize: "19px",
18
+ fontWeight: 500,
19
+ textAlign: "center",
20
+ textShadow: "0px 0px 5px rgba(0, 0, 0, 0.5)"
21
+ }), c = ({ text: o }) => {
22
+ const r = i();
23
+ return /* @__PURE__ */ e(a, { backgroundColor: r.themeColor, children: /* @__PURE__ */ e(s, { children: o }) });
24
+ };
25
+ export {
26
+ c as SiteBanner,
27
+ c as default
28
+ };
@@ -0,0 +1 @@
1
+ export { default, type SiteBannerProps } from './SiteBanner';
@@ -0,0 +1,4 @@
1
+ import { SiteBanner as r } from "./SiteBanner.js";
2
+ export {
3
+ r as default
4
+ };
package/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export { default as InfoCard } from './InfoCard';
15
15
  export { default as LabeledInput } from './LabeledInput';
16
16
  export { default as List } from './List';
17
17
  export { default as LogoLoop } from './LogoLoop';
18
+ export { default as SiteBanner } from './SiteBanner';
18
19
  export { default as Tooltip } from './Tooltip';
19
20
  export { default as WithLabel } from './WithLabel';
20
21
  export { default as WithLoading } from './WithLoading';
package/index.js CHANGED
@@ -8,43 +8,45 @@ import { Input as s } from "./Input/Input.js";
8
8
  import { LabeledValue as I } from "./LabeledValue/LabeledValue.js";
9
9
  import { default as b } from "./ListButton/ListButton.js";
10
10
  import { default as g } from "./Loading/Loading.js";
11
- import { default as h } from "./ScrollContainer/ScrollContainer.js";
12
- import { Accordion as B } from "./Accordion/Accordion.js";
11
+ import { default as C } from "./ScrollContainer/ScrollContainer.js";
12
+ import { Accordion as v } from "./Accordion/Accordion.js";
13
13
  import { default as E } from "./ErrorBoundary/ErrorBoundary.js";
14
- import { InfoCard as D } from "./InfoCard/InfoCard.js";
15
- import { LabeledInput as G } from "./LabeledInput/LabeledInput.js";
16
- import { default as N } from "./List/List.js";
14
+ import { InfoCard as y } from "./InfoCard/InfoCard.js";
15
+ import { LabeledInput as F } from "./LabeledInput/LabeledInput.js";
16
+ import { default as H } from "./List/List.js";
17
17
  import { default as T } from "./LogoLoop/LogoLoop.js";
18
- import { Tooltip as j } from "./Tooltip/Tooltip.js";
19
- import { default as q } from "./WithLabel/WithLabel.js";
20
- import { default as z } from "./WithLoading/WithLoading.js";
21
- import { A as K } from "./.chunks/AppHeader.js";
22
- import { EditableInfoCard as O } from "./EditableInfoCard/EditableInfoCard.js";
23
- import { Nav as Q } from "./Nav/Nav.js";
24
- import { default as U } from "./AppContainer/AppContainer.js";
18
+ import { SiteBanner as j } from "./SiteBanner/SiteBanner.js";
19
+ import { Tooltip as q } from "./Tooltip/Tooltip.js";
20
+ import { default as z } from "./WithLabel/WithLabel.js";
21
+ import { default as K } from "./WithLoading/WithLoading.js";
22
+ import { A as O } from "./.chunks/AppHeader.js";
23
+ import { EditableInfoCard as Q } from "./EditableInfoCard/EditableInfoCard.js";
24
+ import { Nav as U } from "./Nav/Nav.js";
25
+ import { default as Y } from "./AppContainer/AppContainer.js";
25
26
  export {
26
- B as Accordion,
27
- U as AppContainer,
28
- K as AppHeader,
27
+ v as Accordion,
28
+ Y as AppContainer,
29
+ O as AppHeader,
29
30
  t as AvatarWithImage,
30
31
  a as Button,
31
32
  p as Divider,
32
- O as EditableInfoCard,
33
+ Q as EditableInfoCard,
33
34
  E as ErrorBoundary,
34
35
  x as Flex,
35
36
  l as Grid,
36
37
  i as Icon,
37
- D as InfoCard,
38
+ y as InfoCard,
38
39
  s as Input,
39
- G as LabeledInput,
40
+ F as LabeledInput,
40
41
  I as LabeledValue,
41
- N as List,
42
+ H as List,
42
43
  b as ListButton,
43
44
  g as Loading,
44
45
  T as LogoLoop,
45
- Q as Nav,
46
- h as ScrollContainer,
47
- j as Tooltip,
48
- q as WithLabel,
49
- z as WithLoading
46
+ U as Nav,
47
+ C as ScrollContainer,
48
+ j as SiteBanner,
49
+ q as Tooltip,
50
+ z as WithLabel,
51
+ K as WithLoading
50
52
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "1.0.25",
4
+ "version": "1.0.26",
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",