@availity/mui-card 1.0.12 → 1.0.13
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 +10 -0
- package/dist/index.js +13 -17
- package/dist/index.mjs +10 -14
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.0.13](https://github.com/Availity/element/compare/@availity/mui-card@1.0.12...@availity/mui-card@1.0.13) (2025-10-30)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-button` updated to version `1.0.12`
|
|
10
|
+
* `mui-icon` updated to version `1.0.12`
|
|
11
|
+
* `mui-form-utils` updated to version `1.0.12`
|
|
12
|
+
* `mui-layout` updated to version `1.0.12`
|
|
13
|
+
* `mui-avatar` updated to version `1.0.12`
|
|
14
|
+
* `mui-chip` updated to version `1.0.12`
|
|
5
15
|
## [1.0.12](https://github.com/Availity/element/compare/@availity/mui-card@1.0.11...@availity/mui-card@1.0.12) (2025-05-29)
|
|
6
16
|
|
|
7
17
|
### Dependency Updates
|
package/dist/index.js
CHANGED
|
@@ -103,20 +103,16 @@ var CardContent = (_a) => {
|
|
|
103
103
|
// src/lib/CardHeader.tsx
|
|
104
104
|
var import_CardHeader = __toESM(require("@mui/material/CardHeader"));
|
|
105
105
|
|
|
106
|
-
// ../chip/src/lib/
|
|
106
|
+
// ../chip/src/lib/StatusChip.tsx
|
|
107
107
|
var import_Chip = __toESM(require("@mui/material/Chip"));
|
|
108
108
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
109
|
-
|
|
110
|
-
// ../chip/src/lib/StatusChip.tsx
|
|
111
|
-
var import_Chip2 = __toESM(require("@mui/material/Chip"));
|
|
112
|
-
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
113
109
|
var StatusChip = (_a) => {
|
|
114
110
|
var _b = _a, { color = "default" } = _b, rest = __objRest(_b, ["color"]);
|
|
115
|
-
return /* @__PURE__ */ (0,
|
|
111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Chip.default, __spreadProps(__spreadValues({ color }, rest), { size: "small" }));
|
|
116
112
|
};
|
|
117
113
|
|
|
118
114
|
// src/lib/CardHeader.tsx
|
|
119
|
-
var
|
|
115
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
120
116
|
var CardHeader = (_a) => {
|
|
121
117
|
var _b = _a, {
|
|
122
118
|
titleTypographyProps,
|
|
@@ -135,25 +131,25 @@ var CardHeader = (_a) => {
|
|
|
135
131
|
"title",
|
|
136
132
|
"logo"
|
|
137
133
|
]);
|
|
138
|
-
return /* @__PURE__ */ (0,
|
|
134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
139
135
|
import_CardHeader.default,
|
|
140
136
|
__spreadProps(__spreadValues({}, rest), {
|
|
141
|
-
title: logo ? /* @__PURE__ */ (0,
|
|
137
|
+
title: logo ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
142
138
|
logo,
|
|
143
|
-
/* @__PURE__ */ (0,
|
|
139
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("br", {}),
|
|
144
140
|
title
|
|
145
141
|
] }) : title,
|
|
146
142
|
titleTypographyProps: __spreadProps(__spreadValues({}, titleTypographyProps), {
|
|
147
143
|
variant: "h5"
|
|
148
144
|
}),
|
|
149
145
|
subheaderTypographyProps: __spreadProps(__spreadValues({}, subheaderTypographyProps), { variant: "body2" }),
|
|
150
|
-
subheader: statusChipProps && statusChipProps.position === "bottom" ? /* @__PURE__ */ (0,
|
|
146
|
+
subheader: statusChipProps && statusChipProps.position === "bottom" ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
151
147
|
subheader,
|
|
152
|
-
/* @__PURE__ */ (0,
|
|
153
|
-
/* @__PURE__ */ (0,
|
|
148
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("br", {}),
|
|
149
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(StatusChip, __spreadValues({}, statusChipProps))
|
|
154
150
|
] }) : subheader,
|
|
155
|
-
action: statusChipProps && statusChipProps.position === "right" ? /* @__PURE__ */ (0,
|
|
156
|
-
/* @__PURE__ */ (0,
|
|
151
|
+
action: statusChipProps && statusChipProps.position === "right" ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
152
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(StatusChip, __spreadValues({}, statusChipProps)),
|
|
157
153
|
action
|
|
158
154
|
] }) : action
|
|
159
155
|
})
|
|
@@ -162,10 +158,10 @@ var CardHeader = (_a) => {
|
|
|
162
158
|
|
|
163
159
|
// src/lib/CardMedia.tsx
|
|
164
160
|
var import_CardMedia = __toESM(require("@mui/material/CardMedia"));
|
|
165
|
-
var
|
|
161
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
166
162
|
var CardMedia = (_a) => {
|
|
167
163
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
|
168
|
-
return /* @__PURE__ */ (0,
|
|
164
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_CardMedia.default, __spreadProps(__spreadValues({}, rest), { children }));
|
|
169
165
|
};
|
|
170
166
|
// Annotate the CommonJS export names for ESM import in node:
|
|
171
167
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
|
@@ -67,20 +67,16 @@ var CardContent = (_a) => {
|
|
|
67
67
|
// src/lib/CardHeader.tsx
|
|
68
68
|
import { default as MuiCardHeader } from "@mui/material/CardHeader";
|
|
69
69
|
|
|
70
|
-
// ../chip/src/lib/
|
|
70
|
+
// ../chip/src/lib/StatusChip.tsx
|
|
71
71
|
import { default as MuiChip } from "@mui/material/Chip";
|
|
72
72
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
73
|
-
|
|
74
|
-
// ../chip/src/lib/StatusChip.tsx
|
|
75
|
-
import { default as MuiChip2 } from "@mui/material/Chip";
|
|
76
|
-
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
77
73
|
var StatusChip = (_a) => {
|
|
78
74
|
var _b = _a, { color = "default" } = _b, rest = __objRest(_b, ["color"]);
|
|
79
|
-
return /* @__PURE__ */
|
|
75
|
+
return /* @__PURE__ */ jsx5(MuiChip, __spreadProps(__spreadValues({ color }, rest), { size: "small" }));
|
|
80
76
|
};
|
|
81
77
|
|
|
82
78
|
// src/lib/CardHeader.tsx
|
|
83
|
-
import { Fragment, jsx as
|
|
79
|
+
import { Fragment, jsx as jsx6, jsxs } from "react/jsx-runtime";
|
|
84
80
|
var CardHeader = (_a) => {
|
|
85
81
|
var _b = _a, {
|
|
86
82
|
titleTypographyProps,
|
|
@@ -99,12 +95,12 @@ var CardHeader = (_a) => {
|
|
|
99
95
|
"title",
|
|
100
96
|
"logo"
|
|
101
97
|
]);
|
|
102
|
-
return /* @__PURE__ */
|
|
98
|
+
return /* @__PURE__ */ jsx6(
|
|
103
99
|
MuiCardHeader,
|
|
104
100
|
__spreadProps(__spreadValues({}, rest), {
|
|
105
101
|
title: logo ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
106
102
|
logo,
|
|
107
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ jsx6("br", {}),
|
|
108
104
|
title
|
|
109
105
|
] }) : title,
|
|
110
106
|
titleTypographyProps: __spreadProps(__spreadValues({}, titleTypographyProps), {
|
|
@@ -113,11 +109,11 @@ var CardHeader = (_a) => {
|
|
|
113
109
|
subheaderTypographyProps: __spreadProps(__spreadValues({}, subheaderTypographyProps), { variant: "body2" }),
|
|
114
110
|
subheader: statusChipProps && statusChipProps.position === "bottom" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
115
111
|
subheader,
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ jsx6("br", {}),
|
|
113
|
+
/* @__PURE__ */ jsx6(StatusChip, __spreadValues({}, statusChipProps))
|
|
118
114
|
] }) : subheader,
|
|
119
115
|
action: statusChipProps && statusChipProps.position === "right" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
120
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ jsx6(StatusChip, __spreadValues({}, statusChipProps)),
|
|
121
117
|
action
|
|
122
118
|
] }) : action
|
|
123
119
|
})
|
|
@@ -126,10 +122,10 @@ var CardHeader = (_a) => {
|
|
|
126
122
|
|
|
127
123
|
// src/lib/CardMedia.tsx
|
|
128
124
|
import { default as MuiCardMedia } from "@mui/material/CardMedia";
|
|
129
|
-
import { jsx as
|
|
125
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
130
126
|
var CardMedia = (_a) => {
|
|
131
127
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
|
132
|
-
return /* @__PURE__ */
|
|
128
|
+
return /* @__PURE__ */ jsx7(MuiCardMedia, __spreadProps(__spreadValues({}, rest), { children }));
|
|
133
129
|
};
|
|
134
130
|
export {
|
|
135
131
|
Card,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-card",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Availity MUI Card Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@availity/mui-button": "^1.1.
|
|
44
|
-
"@availity/mui-icon": "^1.1.
|
|
43
|
+
"@availity/mui-button": "^1.1.5",
|
|
44
|
+
"@availity/mui-icon": "^1.1.1",
|
|
45
45
|
"@mui/material": "^6.4.5",
|
|
46
46
|
"react": "18.2.0",
|
|
47
47
|
"react-dom": "18.2.0",
|
|
@@ -54,5 +54,6 @@
|
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
|
-
}
|
|
57
|
+
},
|
|
58
|
+
"sideEffects": false
|
|
58
59
|
}
|