jcicl 0.0.30 → 0.0.32

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.
package/README.md CHANGED
@@ -96,3 +96,9 @@ The library will automatically publish a new minor version on merges to master.
96
96
  `npm run bpMinor` for minor versions (`0.x.0`), and `npm run bpMajor` for major versions (`x.0.0`)
97
97
 
98
98
  For more details on scripting commands, please see the [npm CLI documentation](https://docs.npmjs.com/cli/v9/commands)
99
+
100
+ ### Deploying storybook
101
+
102
+ TODO: Automate
103
+
104
+ Build the library with `npm run storybook`, then copy all of the files in `storybook-static` into `windu\E:\ComponentLibrary`
@@ -0,0 +1,22 @@
1
+ import { n as p } from "../../.chunks/emotion-styled.browser.esm.js";
2
+ import e from "../../theme.js";
3
+ import { B as s } from "../../.chunks/ButtonBase.js";
4
+ const a = p(s)(({ padding: t = "1rem", active: o, activeStyles: r }) => ({
5
+ display: "flex",
6
+ width: "100%",
7
+ height: "100%",
8
+ padding: t,
9
+ fontSize: "inherit",
10
+ justifyContent: "flex-start",
11
+ transition: "201ms all ease-in-out",
12
+ ...o && {
13
+ boxShadow: `inset 0px -11px 6px -10px ${e.colors.darkGreen}, inset 0px 11px 6px -10px ${e.colors.darkGreen}`,
14
+ ...r
15
+ },
16
+ "&:hover, :focus": {
17
+ boxShadow: `inset 0px -11px 6px -10px ${e.colors.green}, inset 0px 11px 6px -10px ${e.colors.green}`
18
+ }
19
+ }));
20
+ export {
21
+ a as default
22
+ };
@@ -0,0 +1 @@
1
+ export { default, type ListButtonProps } from './ListButton';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./ListButton.js";
2
+ export {
3
+ o as default
4
+ };
package/base/index.d.ts CHANGED
@@ -5,3 +5,4 @@ export { default as Divider } from './Divider';
5
5
  export { default as Flex } from './Flex';
6
6
  export { default as Grid } from './Grid';
7
7
  export { default as Input } from './Input';
8
+ export { default as ListButton } from './ListButton';
package/base/index.js CHANGED
@@ -1,16 +1,18 @@
1
- import { default as t } from "./Avatar/Avatar.js";
1
+ import { default as o } from "./Avatar/Avatar.js";
2
2
  import { AvatarWithImage as a } from "./AvatarWithImage/AvatarWithImage.js";
3
3
  import { Button as m } from "./Button/Button.js";
4
4
  import { Divider as x } from "./Divider/Divider.js";
5
- import { default as i } from "./Flex/Flex.js";
5
+ import { default as d } from "./Flex/Flex.js";
6
6
  import { Grid as l } from "./Grid/Grid.js";
7
7
  import { Input as n } from "./Input/Input.js";
8
+ import { default as A } from "./ListButton/ListButton.js";
8
9
  export {
9
- t as Avatar,
10
+ o as Avatar,
10
11
  a as AvatarWithImage,
11
12
  m as Button,
12
13
  x as Divider,
13
- i as Flex,
14
+ d as Flex,
14
15
  l as Grid,
15
- n as Input
16
+ n as Input,
17
+ A as ListButton
16
18
  };
@@ -1,2 +1 @@
1
1
  export { default, type ListProps } from './List';
2
- export { default as ListButton } from './ListButton';
@@ -1,6 +1,4 @@
1
- import { default as e } from "./List.js";
2
- import { default as r } from "./ListButton.js";
1
+ import { default as o } from "./List.js";
3
2
  export {
4
- r as ListButton,
5
- e as default
3
+ o as default
6
4
  };
@@ -1,7 +1,6 @@
1
- import { default as o } from "./List/List.js";
2
- import "./List/ListButton.js";
3
- import { default as f } from "./WithLabel/WithLabel.js";
1
+ import { default as e } from "./List/List.js";
2
+ import { default as o } from "./WithLabel/WithLabel.js";
4
3
  export {
5
- o as List,
6
- f as WithLabel
4
+ e as List,
5
+ o as WithLabel
7
6
  };
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { Avatar, AvatarWithImage, Button, Divider, Flex, Grid } from './base';
1
+ export { Avatar, AvatarWithImage, Button, Divider, Flex, Grid, ListButton } from './base';
2
2
  export { List, WithLabel } from './composite';
3
3
  export { AppHeader, Nav } from './supercomposite';
4
4
  export { AppContainer } from './templates';
package/index.js CHANGED
@@ -1,26 +1,27 @@
1
- import { default as a } from "./base/Avatar/Avatar.js";
2
- import { AvatarWithImage as p } from "./base/AvatarWithImage/AvatarWithImage.js";
3
- import { Button as x } from "./base/Button/Button.js";
4
- import { Divider as i } from "./base/Divider/Divider.js";
5
- import { default as s } from "./base/Flex/Flex.js";
6
- import { Grid as v } from "./base/Grid/Grid.js";
1
+ import { default as e } from "./base/Avatar/Avatar.js";
2
+ import { AvatarWithImage as f } from "./base/AvatarWithImage/AvatarWithImage.js";
3
+ import { Button as m } from "./base/Button/Button.js";
4
+ import { Divider as d } from "./base/Divider/Divider.js";
5
+ import { default as l } from "./base/Flex/Flex.js";
6
+ import { Grid as u } from "./base/Grid/Grid.js";
7
7
  import "./base/Input/Input.js";
8
- import { default as n } from "./composite/List/List.js";
9
- import "./composite/List/ListButton.js";
10
- import { default as L } from "./composite/WithLabel/WithLabel.js";
8
+ import { default as v } from "./base/ListButton/ListButton.js";
9
+ import { default as L } from "./composite/List/List.js";
10
+ import { default as B } from "./composite/WithLabel/WithLabel.js";
11
11
  import { default as b } from "./supercomposite/AppHeader/AppHeader.js";
12
- import { Nav as B } from "./supercomposite/Nav/Nav.js";
13
- import { default as D } from "./templates/AppContainer/AppContainer.js";
12
+ import { Nav as C } from "./supercomposite/Nav/Nav.js";
13
+ import { default as F } from "./templates/AppContainer/AppContainer.js";
14
14
  export {
15
- D as AppContainer,
15
+ F as AppContainer,
16
16
  b as AppHeader,
17
- a as Avatar,
18
- p as AvatarWithImage,
19
- x as Button,
20
- i as Divider,
21
- s as Flex,
22
- v as Grid,
23
- n as List,
24
- B as Nav,
25
- L as WithLabel
17
+ e as Avatar,
18
+ f as AvatarWithImage,
19
+ m as Button,
20
+ d as Divider,
21
+ l as Flex,
22
+ u as Grid,
23
+ L as List,
24
+ v as ListButton,
25
+ C as Nav,
26
+ B as WithLabel
26
27
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.30",
4
+ "version": "0.0.32",
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",
@@ -13,6 +13,7 @@
13
13
  "url": "https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary"
14
14
  },
15
15
  "dependencies": {
16
+ "@emotion/css": "^11.13.4",
16
17
  "@emotion/react": "^11.13.3",
17
18
  "@emotion/styled": "^11.13.0",
18
19
  "@fontsource/material-icons": "^5.1.0",
@@ -1,25 +0,0 @@
1
- import { n as r } from "../../.chunks/emotion-styled.browser.esm.js";
2
- import o from "../../theme.js";
3
- import { B as x } from "../../.chunks/ButtonBase.js";
4
- const a = r(x)(({ padding: t = "1rem", active: e, activeStyles: p }) => ({
5
- display: "flex",
6
- width: "100%",
7
- height: "100%",
8
- padding: t,
9
- fontSize: "inherit",
10
- justifyContent: "flex-start",
11
- transition: "201ms all ease-in-out",
12
- ...e && {
13
- boxShadow: `inset 0px -11px 6px -10px ${o.colors.darkGreen}, inset 0px 11px 6px -10px ${o.colors.darkGreen} !important`,
14
- ...p
15
- },
16
- "&:hover": {
17
- boxShadow: `inset 0px -11px 6px -10px ${o.colors.green}, inset 0px 11px 6px -10px ${o.colors.green} !important`
18
- },
19
- "&:focus": {
20
- boxShadow: `inset 0px -11px 6px -10px ${o.colors.darkGreen}, inset 0px 11px 6px -10px ${o.colors.darkGreen} !important`
21
- }
22
- }));
23
- export {
24
- a as default
25
- };