jcicl 0.0.27 → 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 +8 -0
- package/composite/List/ListButton.d.ts +1 -0
- package/composite/List/ListButton.js +15 -11
- package/package.json +23 -23
package/README.md
CHANGED
|
@@ -87,4 +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`
|
|
93
|
+
|
|
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`)
|
|
97
|
+
|
|
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,29 +1,33 @@
|
|
|
1
|
-
import { n
|
|
2
|
-
import
|
|
3
|
-
import { B as
|
|
4
|
-
const
|
|
1
|
+
import { n } from "../../.chunks/emotion-styled.browser.esm.js";
|
|
2
|
+
import e from "../../theme.js";
|
|
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:
|
|
7
|
+
padding: o,
|
|
8
8
|
fontSize: "inherit",
|
|
9
9
|
pointerEvents: "all",
|
|
10
|
-
"
|
|
11
|
-
|
|
10
|
+
justifyContent: "flex-start",
|
|
11
|
+
"*": {
|
|
12
|
+
pointerEvents: "none"
|
|
12
13
|
},
|
|
13
14
|
span: {
|
|
14
|
-
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
|
+
}
|
|
15
19
|
},
|
|
16
20
|
"&:hover": {
|
|
17
21
|
span: {
|
|
18
|
-
boxShadow: `inset 0px -11px 3px -10px ${
|
|
22
|
+
boxShadow: `inset 0px -11px 3px -10px ${e.colors.green}, inset 0px 11px 3px -10px ${e.colors.green}`
|
|
19
23
|
}
|
|
20
24
|
},
|
|
21
25
|
"&:focus": {
|
|
22
26
|
span: {
|
|
23
|
-
boxShadow: `inset 0px -11px 3px -10px ${
|
|
27
|
+
boxShadow: `inset 0px -11px 3px -10px ${e.colors.darkGreen}, inset 0px 11px 3px -10px ${e.colors.darkGreen}`
|
|
24
28
|
}
|
|
25
29
|
}
|
|
26
30
|
}));
|
|
27
31
|
export {
|
|
28
|
-
|
|
32
|
+
i as default
|
|
29
33
|
};
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "jcicl",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
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
|
-
}
|
|
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
|
+
}
|