jcicl 0.0.28 → 0.0.29

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
@@ -87,8 +87,12 @@ Templates are intended to render the HTML for predefined page layouts comprised
87
87
 
88
88
  ### Publishing the library
89
89
 
90
+ The library will automatically publish a new minor version on merges to master. If you need to manually publish a new version:
91
+
90
92
  `npm run bp`
91
93
 
92
- - Versions, builds, and publishes the library to the npm registry
94
+ - Creates a new minor version (`0.0.x`), builds, and publishes the library to the npm registry
95
+
96
+ `npm run bpMinor` for minor versions (`0.x.0`), and `npm run bpMajor` for major versions (`x.0.0`)
93
97
 
94
98
  For more details on scripting commands, please see the [npm CLI documentation](https://docs.npmjs.com/cli/v9/commands)
@@ -1,6 +1,7 @@
1
1
  import { ButtonBaseProps } from '@mui/material/ButtonBase/ButtonBase';
2
2
  export interface ListButtonProps extends ButtonBaseProps {
3
3
  padding?: string;
4
+ active?: boolean;
4
5
  }
5
6
  declare const ListButton: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonBaseOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
6
7
  ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
@@ -1,10 +1,10 @@
1
- import { n as o } from "../../.chunks/emotion-styled.browser.esm.js";
1
+ import { n } from "../../.chunks/emotion-styled.browser.esm.js";
2
2
  import e from "../../theme.js";
3
- import { B as n } from "../../.chunks/ButtonBase.js";
4
- const x = o(n)(({ padding: t = "1rem" }) => ({
3
+ import { B as p } from "../../.chunks/ButtonBase.js";
4
+ const i = n(p)(({ padding: o = "1rem", active: t }) => ({
5
5
  width: "100%",
6
6
  height: "100%",
7
- padding: t,
7
+ padding: o,
8
8
  fontSize: "inherit",
9
9
  pointerEvents: "all",
10
10
  justifyContent: "flex-start",
@@ -12,7 +12,10 @@ const x = o(n)(({ padding: t = "1rem" }) => ({
12
12
  pointerEvents: "none"
13
13
  },
14
14
  span: {
15
- transition: "201ms all ease-in-out"
15
+ transition: "201ms all ease-in-out",
16
+ ...t && {
17
+ boxShadow: `inset 0px -11px 3px -10px ${e.colors.darkGreen}, inset 0px 11px 3px -10px ${e.colors.darkGreen}`
18
+ }
16
19
  },
17
20
  "&:hover": {
18
21
  span: {
@@ -26,5 +29,5 @@ const x = o(n)(({ padding: t = "1rem" }) => ({
26
29
  }
27
30
  }));
28
31
  export {
29
- x as default
32
+ i as default
30
33
  };
package/package.json CHANGED
@@ -1 +1,23 @@
1
- {"name":"jcicl","private":false,"version":"0.0.28","description":"Component library for the websites of Johnson County Iowa","license":"MIT","homepage":"https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary?path=%2FREADME.md&version=GBmaster","repository":{"type":"git","url":"https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary"},"bugs":{"url":"https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary"},"dependencies":{"@emotion/react":"^11.13.3","@emotion/styled":"^11.13.0","@fontsource/material-icons":"^5.1.0","@fontsource/roboto":"^5.1.0","@mui/icons-material":"^6.1.3","@mui/material":"^6.1.1"}}
1
+ {
2
+ "name": "jcicl",
3
+ "private": false,
4
+ "version": "0.0.29",
5
+ "description": "Component library for the websites of Johnson County Iowa",
6
+ "license": "MIT",
7
+ "homepage": "https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary?path=%2FREADME.md&version=GBmaster",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary"
11
+ },
12
+ "bugs": {
13
+ "url": "https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary"
14
+ },
15
+ "dependencies": {
16
+ "@emotion/react": "^11.13.3",
17
+ "@emotion/styled": "^11.13.0",
18
+ "@fontsource/material-icons": "^5.1.0",
19
+ "@fontsource/roboto": "^5.1.0",
20
+ "@mui/icons-material": "^6.1.3",
21
+ "@mui/material": "^6.1.1"
22
+ }
23
+ }