@max-ts/components 1.1.2 → 1.1.4
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.
|
@@ -21,4 +21,4 @@ export type ActionGroupProps<TMainActionComponent extends ElementType = ElementT
|
|
|
21
21
|
className?: string;
|
|
22
22
|
size?: 'small' | 'medium' | 'large';
|
|
23
23
|
};
|
|
24
|
-
export declare const ActionGroup: <TMainActionComponent extends ElementType = ElementType, TSecondaryActionComponent extends ElementType = ElementType>(props: ActionGroupProps<TMainActionComponent, TSecondaryActionComponent>) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const ActionGroup: <TMainActionComponent extends ElementType = ElementType, TSecondaryActionComponent extends ElementType = ElementType, TSecondaryVisibleActionComponent extends ElementType = ElementType>(props: ActionGroupProps<TMainActionComponent, TSecondaryActionComponent, TSecondaryVisibleActionComponent>) => import("react/jsx-runtime").JSX.Element;
|
package/lib/index.mjs
CHANGED
|
@@ -3693,8 +3693,8 @@ const Ad = ({
|
|
|
3693
3693
|
grid-template-rows: auto 1fr auto;
|
|
3694
3694
|
grid-template-areas: 'header' 'content' 'footer';
|
|
3695
3695
|
border-right: 1px solid ${({ theme: e }) => e.palette.grey[200]};
|
|
3696
|
-
background-color: #FAFAFA;
|
|
3697
3696
|
overflow: hidden auto;
|
|
3697
|
+
background-color: transparent;
|
|
3698
3698
|
transition: ${({ theme: e }) => e.transitions.create("width", {
|
|
3699
3699
|
duration: e.transitions.duration.standard,
|
|
3700
3700
|
easing: e.transitions.easing.easeInOut
|
|
@@ -3753,6 +3753,7 @@ const Ad = ({
|
|
|
3753
3753
|
grid-template-areas: 'sidebar main';
|
|
3754
3754
|
border: 1px solid ${({ theme: e }) => e.palette.grey[200]};
|
|
3755
3755
|
border-radius: ${({ theme: e }) => e.shape.small};
|
|
3756
|
+
background-color: #FAFAFA;
|
|
3756
3757
|
`, Ni = ({
|
|
3757
3758
|
children: e,
|
|
3758
3759
|
className: t
|
|
@@ -9522,13 +9523,13 @@ const Uo = ({
|
|
|
9522
9523
|
display: grid;
|
|
9523
9524
|
grid-template-columns: auto 1fr auto;
|
|
9524
9525
|
grid-template-rows: repeat(3, auto);
|
|
9525
|
-
|
|
9526
|
-
grid-template-areas:
|
|
9526
|
+
align-items: center;
|
|
9527
|
+
grid-template-areas: 'buttons title actions' 'subtitle subtitle subtitle' '. . .';
|
|
9527
9528
|
padding: ${({ theme: e }) => e.spacing(4)};
|
|
9529
|
+
gap: ${({ theme: e }) => e.spacing(2)};
|
|
9528
9530
|
padding-bottom: 0;
|
|
9529
|
-
|
|
9530
9531
|
&:has(.breadcrumbs) {
|
|
9531
|
-
|
|
9532
|
+
grid-template-areas: 'buttons breadcrumbs actions' 'title title title' 'subtitle subtitle subtitle';
|
|
9532
9533
|
}
|
|
9533
9534
|
`, fv = m("div")`
|
|
9534
9535
|
grid-area: buttons;
|
|
@@ -9561,13 +9562,13 @@ const Uo = ({
|
|
|
9561
9562
|
typeof t == "string" && (document.title = t);
|
|
9562
9563
|
}, [t]), /* @__PURE__ */ l.jsxs(dv, { className: Rn(a, La), children: [
|
|
9563
9564
|
/* @__PURE__ */ l.jsxs(fv, { children: [
|
|
9564
|
-
/* @__PURE__ */ l.jsx(we, { title: s ? "Развернуть" : "Свернуть", children: /* @__PURE__ */ l.jsx(Ue, { variant: "text", onClick: c, children: s ? /* @__PURE__ */ l.jsx(xs, {
|
|
9565
|
+
/* @__PURE__ */ l.jsx(we, { title: s ? "Развернуть" : "Свернуть", children: /* @__PURE__ */ l.jsx(Ue, { variant: "text", onClick: c, children: s ? /* @__PURE__ */ l.jsx(xs, {}) : /* @__PURE__ */ l.jsx(ws, {}) }) }),
|
|
9565
9566
|
i && /* @__PURE__ */ l.jsx(we, { title: "Назад", children: /* @__PURE__ */ l.jsx(
|
|
9566
9567
|
Ue,
|
|
9567
9568
|
{
|
|
9568
9569
|
...i,
|
|
9569
9570
|
variant: "text",
|
|
9570
|
-
children: /* @__PURE__ */ l.jsx(ks, {
|
|
9571
|
+
children: /* @__PURE__ */ l.jsx(ks, {})
|
|
9571
9572
|
}
|
|
9572
9573
|
) })
|
|
9573
9574
|
] }),
|
|
@@ -10127,9 +10128,12 @@ const Ub = (e) => /* @__PURE__ */ l.jsx(gl, { ...e }), xv = m(Wr)`
|
|
|
10127
10128
|
&:hover,
|
|
10128
10129
|
&:active {
|
|
10129
10130
|
color: unset;
|
|
10130
|
-
|
|
10131
10131
|
background-color: unset;
|
|
10132
10132
|
}
|
|
10133
|
+
svg {
|
|
10134
|
+
width: 20px;
|
|
10135
|
+
height: 20px;
|
|
10136
|
+
}
|
|
10133
10137
|
`, Hv = m(he)`
|
|
10134
10138
|
overflow: hidden;
|
|
10135
10139
|
text-overflow: ellipsis;
|