@midas-ds/components 17.14.5 → 17.14.6
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 +6 -0
- package/assets/CardHeader.css +1 -1
- package/card/index.js +1 -1
- package/chunks/{CardHeader-C0ZHxQnT.js → CardHeader-BnwDMzW9.js} +13 -13
- package/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/assets/CardHeader.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._card_7i5z9_1{font-family:var(--midas-typography-font-family);position:relative;display:flow-root;background-color:var(--midas-card-background-base);box-shadow:var(--midas-card-shadow)}@media(forced-colors:active){._card_7i5z9_1{border:1px solid}}._card_7i5z9_1._horizontal_7i5z9_12{display:flex;flex-flow:row wrap}._card_7i5z9_1:has(._cardLink_7i5z9_17[data-hovered]){background-color:var(--midas-layer-01-hover)}@media(hover:hover){._card_7i5z9_1:has(._cardLink_7i5z9_17:hover){background-color:var(--midas-layer-01-hover)}}._cardContent_7i5z9_28{padding:1rem;display:flex;flex-direction:column;gap:var(--midas-space-medium);flex-grow:1}._cardContent_7i5z9_28._horizontal_7i5z9_12{padding:.5rem 1rem;flex-direction:row;align-items:center;column-gap:1rem}._cardContent_7i5z9_28+._cardContent_7i5z9_28{padding-top:.5rem}._cardActions_7i5z9_47{display:flex;flex-direction:row;gap:.5rem;margin-top:var(--midas-space-medium);padding:0 var(--midas-space-medium) var(--midas-space-medium) var(--midas-space-medium)}._cardActions_7i5z9_47._horizontal_7i5z9_12{margin-top:0;margin-left:auto}._cardActions_7i5z9_47._deprecated_7i5z9_61{margin-top:0;padding:0}._cardActionArea_7i5z9_67{border:0;padding:0;text-align:unset;background-color:unset;cursor:pointer;width:100%}._cardActionArea_7i5z9_67[data-hovered]{background-color:var(--midas-button-icon-hover)}._cardActionArea_7i5z9_67[data-pressed]{background-color:var(--midas-button-icon-active)}._cardActionArea_7i5z9_67:focus{outline:none}._cardActionArea_7i5z9_67[data-focused]{box-shadow:var(--midas-state-focus)}@media(forced-colors:active){._cardActionArea_7i5z9_67[data-focused]{outline:2px solid highlight}}._cardActionArea_7i5z9_67+._cardContent_7i5z9_28{padding-top:.5rem}._cardImage_7i5z9_100{max-width:100%;height:auto}._cardImage_7i5z9_100._horizontal_7i5z9_12{max-width:unset}._cardLink_7i5z9_17{display:flex;justify-content:space-between;align-items:center;text-decoration:none}._cardLink_7i5z9_17[data-focused],._cardLink_7i5z9_17:focus{outline:none;box-shadow:var(--midas-state-focus)}@media(forced-colors:active){._cardLink_7i5z9_17[data-focused],._cardLink_7i5z9_17:focus{outline:2px solid highlight}}._cardLink_7i5z9_17:after{position:absolute;inset:0;z-index:var(--midas-z-index-base);content:""}._cardLink_7i5z9_17 ._cardLinkIcon_7i5z9_132{color:var(--midas-icon-primary)}._cardBody_337uy_1{margin:var(--midas-space-medium)}._cardHeader_1625c_1{display:flex;align-items:center;justify-content:space-between;padding:var(--midas-space-medium) var(--midas-space-30) 0 var(--midas-space-medium);margin-bottom:var(--midas-space-medium)}._cardHeader_1625c_1:has(+[data-card-image]){margin-bottom:var(--midas-space-small)}._textContainer_1625c_14{display:flex;flex-direction:column;padding-right:var(--midas-space-medium)}._subHeading_1625c_20{margin-bottom:0}
|
package/card/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as d, a as C, b as s, c as e, d as o, e as t, f as n, g as i, h as c } from "../chunks/CardHeader-
|
|
1
|
+
import { C as d, a as C, b as s, c as e, d as o, e as t, f as n, g as i, h as c } from "../chunks/CardHeader-BnwDMzW9.js";
|
|
2
2
|
export {
|
|
3
3
|
d as Card,
|
|
4
4
|
C as CardActionArea,
|
|
@@ -2,16 +2,16 @@ import { jsx as c, jsxs as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as o } from "./clsx-AexbMWKp.js";
|
|
3
3
|
import * as s from "react";
|
|
4
4
|
import { H as u } from "./Heading-nfcRc2QF.js";
|
|
5
|
-
import { Button as h, Link as
|
|
6
|
-
import { A as
|
|
7
|
-
import { T as
|
|
8
|
-
import '../assets/CardHeader.css';const
|
|
9
|
-
card:
|
|
10
|
-
horizontal:
|
|
11
|
-
cardLink:
|
|
12
|
-
cardContent:
|
|
13
|
-
cardActions:
|
|
14
|
-
deprecated:
|
|
5
|
+
import { Button as h, Link as z } from "react-aria-components";
|
|
6
|
+
import { A as x } from "./arrow-right-BVcFGZmy.js";
|
|
7
|
+
import { T as p } from "./Text-D0r_W4lH.js";
|
|
8
|
+
import '../assets/CardHeader.css';const A = "_card_7i5z9_1", g = "_horizontal_7i5z9_12", v = "_cardLink_7i5z9_17", I = "_cardContent_7i5z9_28", N = "_cardActions_7i5z9_47", y = "_deprecated_7i5z9_61", k = "_cardActionArea_7i5z9_67", H = "_cardImage_7i5z9_100", L = "_cardLinkIcon_7i5z9_132", r = {
|
|
9
|
+
card: A,
|
|
10
|
+
horizontal: g,
|
|
11
|
+
cardLink: v,
|
|
12
|
+
cardContent: I,
|
|
13
|
+
cardActions: N,
|
|
14
|
+
deprecated: y,
|
|
15
15
|
cardActionArea: k,
|
|
16
16
|
cardImage: H,
|
|
17
17
|
cardLinkIcon: L
|
|
@@ -116,14 +116,14 @@ import '../assets/CardHeader.css';const g = "_card_1u3lt_1", v = "_horizontal_1u
|
|
|
116
116
|
as: a,
|
|
117
117
|
...e
|
|
118
118
|
}) => /* @__PURE__ */ m(
|
|
119
|
-
a ||
|
|
119
|
+
a || z,
|
|
120
120
|
{
|
|
121
121
|
...e,
|
|
122
122
|
className: o(r.cardLink, e.className),
|
|
123
123
|
children: [
|
|
124
124
|
t,
|
|
125
125
|
/* @__PURE__ */ c(
|
|
126
|
-
|
|
126
|
+
x,
|
|
127
127
|
{
|
|
128
128
|
className: r.cardLinkIcon,
|
|
129
129
|
size: 24
|
|
@@ -159,7 +159,7 @@ import '../assets/CardHeader.css';const g = "_card_1u3lt_1", v = "_horizontal_1u
|
|
|
159
159
|
/* @__PURE__ */ m("div", { className: _.textContainer, children: [
|
|
160
160
|
/* @__PURE__ */ c(f, { elementType: n, children: e }),
|
|
161
161
|
d && /* @__PURE__ */ c(
|
|
162
|
-
|
|
162
|
+
p,
|
|
163
163
|
{
|
|
164
164
|
slot: "description",
|
|
165
165
|
className: _.subHeading,
|
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { B as n, a as d } from "./chunks/Breadcrumb-Bs836gOn.js";
|
|
|
5
5
|
import { B as l } from "./chunks/Button-GCROAMSl.js";
|
|
6
6
|
import { B as c } from "./chunks/ButtonGroup-Dr6HOBo2.js";
|
|
7
7
|
import { C, R as L } from "./chunks/RangeCalendar-DxLInTav.js";
|
|
8
|
-
import { C as b, a as S, b as D, c as I, d as F, e as R, f as G, g as P, h as k } from "./chunks/CardHeader-
|
|
8
|
+
import { C as b, a as S, b as D, c as I, d as F, e as R, f as G, g as P, h as k } from "./chunks/CardHeader-BnwDMzW9.js";
|
|
9
9
|
import { C as M } from "./chunks/CharacterCounter-Dgnv-orm.js";
|
|
10
10
|
import { C as A } from "./chunks/Checkbox-CyamRrFD.js";
|
|
11
11
|
import { C as y } from "./chunks/CheckboxGroup-CmjQm14M.js";
|
|
@@ -52,7 +52,7 @@ import { c as Ko } from "./chunks/clsx-AexbMWKp.js";
|
|
|
52
52
|
import { DialogTrigger as Wo, MenuTrigger as Xo, RouterProvider as Yo } from "react-aria-components";
|
|
53
53
|
import { u as $o } from "./chunks/useLocalizedStringFormatter-BHvsRxDk.js";
|
|
54
54
|
import { useToastState as or } from "react-stately";
|
|
55
|
-
const a = "17.14.
|
|
55
|
+
const a = "17.14.6", o = {
|
|
56
56
|
version: a
|
|
57
57
|
}, r = o.version;
|
|
58
58
|
export {
|
package/package.json
CHANGED