@availity/mui-card 0.1.4 → 0.2.1
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/CHANGELOG.md +18 -13
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +4 -4
- package/src/lib/Card.tsx +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,37 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.2.1](https://github.com/Availity/element/compare/@availity/mui-card@0.2.0...@availity/mui-card@0.2.1) (2023-10-06)
|
|
6
|
+
|
|
7
|
+
## [0.2.0](https://github.com/Availity/element/compare/@availity/mui-card@0.1.4...@availity/mui-card@0.2.0) (2023-08-28)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **mui-card:** move default elevation props to theme (legacy compatibility) ([d68dcf8](https://github.com/Availity/element/commit/d68dcf8ac16091a7d2d37cebbe19b4645708a28b))
|
|
13
|
+
|
|
5
14
|
## [0.1.4](https://github.com/Availity/element/compare/@availity/mui-card@0.1.3...@availity/mui-card@0.1.4) (2023-08-23)
|
|
6
15
|
|
|
7
16
|
## [0.1.3](https://github.com/Availity/element/compare/@availity/mui-card@0.1.2...@availity/mui-card@0.1.3) (2023-08-22)
|
|
8
17
|
|
|
9
|
-
|
|
10
18
|
### Bug Fixes
|
|
11
19
|
|
|
12
|
-
|
|
20
|
+
- **mui-card:** export subcomponents ([7e6c64c](https://github.com/Availity/element/commit/7e6c64c3a22a20213962434b059a7096ce51899c))
|
|
13
21
|
|
|
14
22
|
## [0.1.2](https://github.com/Availity/element/compare/@availity/mui-card@0.1.1...@availity/mui-card@0.1.2) (2023-08-16)
|
|
15
23
|
|
|
16
|
-
|
|
17
24
|
### Bug Fixes
|
|
18
25
|
|
|
19
|
-
|
|
26
|
+
- **mui-card:** add alt text to the CardMedia stories for 508 compliance ([4ead52a](https://github.com/Availity/element/commit/4ead52a56ce0c604d21f0dfd914fa19fbfa7a610))
|
|
20
27
|
|
|
21
28
|
## [0.1.1](https://github.com/Availity/element/compare/@availity/mui-card@0.1.0...@availity/mui-card@0.1.1) (2023-07-13)
|
|
22
29
|
|
|
23
30
|
## 0.1.0 (2023-07-03)
|
|
24
31
|
|
|
25
|
-
|
|
26
32
|
### Features
|
|
27
33
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
- **mui-card:** add CardActionArea ([ddb874a](https://github.com/Availity/element/commit/ddb874a5857f494e74d4e177624d8796435634dc))
|
|
35
|
+
- **mui-card:** add CardActions ([e6c40f7](https://github.com/Availity/element/commit/e6c40f73ce629254f5bad9bcda66ebcec963bc17))
|
|
36
|
+
- **mui-card:** add CardContent ([54e7163](https://github.com/Availity/element/commit/54e716326bd73429905feb86a3f13afbcbbf2a29))
|
|
37
|
+
- **mui-card:** add CardHeader ([0f2a6d4](https://github.com/Availity/element/commit/0f2a6d4a321907e0a394120096efc26985aab45f))
|
|
38
|
+
- **mui-card:** add CardMedia ([9b4b5bd](https://github.com/Availity/element/commit/9b4b5bdba2dde82035e52ffb5db0d482e652725a))
|
|
39
|
+
- **mui-card:** initial commit ([0b68ac9](https://github.com/Availity/element/commit/0b68ac90897d16278d82d02a590ba884d00bb693))
|
|
35
40
|
|
|
36
41
|
### Bug Fixes
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
- **mui-card:** header lineHeights and add action example ([71456f8](https://github.com/Availity/element/commit/71456f82a5ace78ef7da752dc649dba709174e02))
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-card",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Availity MUI Card Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@availity/mui-button": "^0.
|
|
37
|
-
"@availity/mui-icon": "^0.
|
|
38
|
-
"@mui/material": "^5.
|
|
36
|
+
"@availity/mui-button": "^0.4.2",
|
|
37
|
+
"@availity/mui-icon": "^0.6.1",
|
|
38
|
+
"@mui/material": "^5.14.12",
|
|
39
39
|
"react": "18.2.0",
|
|
40
40
|
"react-dom": "18.2.0",
|
|
41
41
|
"tsup": "^5.12.7",
|
package/src/lib/Card.tsx
CHANGED
|
@@ -5,9 +5,5 @@ export interface CardProps extends Omit<MuiCardProps, 'elevation' | 'variant' |
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
export const Card = ({ children, ...rest }: CardProps): JSX.Element => {
|
|
8
|
-
return
|
|
9
|
-
<MuiCard {...rest} variant="elevation" elevation={1}>
|
|
10
|
-
{children}
|
|
11
|
-
</MuiCard>
|
|
12
|
-
);
|
|
8
|
+
return <MuiCard {...rest}>{children}</MuiCard>;
|
|
13
9
|
};
|