@arthurzakharov/ui-kit 1.5.1 → 1.5.3
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/dist/assets/user-panel-DbR0J2Ct.css +1 -0
- package/dist/components/footer/footer.component.d.ts +1 -1
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/user-panel/user-panel.component.d.ts +0 -3
- package/dist/components/user-panel/user-panel.component.js +8 -8
- package/dist/main.d.ts +1 -1
- package/package.json +1 -1
- package/dist/assets/user-panel-BJB6pJ70.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._User_svj2j_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm);font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-secondary)}._Head_svj2j_13{margin-bottom:var(--rm-ui-padding-xs);display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._Info_svj2j_26{display:inline-flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Footer } from './footer.component';
|
|
1
|
+
export { Footer, type FooterProps } from './footer.component';
|
|
@@ -5,7 +5,4 @@ export interface UserPanelProps extends Base {
|
|
|
5
5
|
data: string[];
|
|
6
6
|
onClick: () => void;
|
|
7
7
|
}
|
|
8
|
-
/**
|
|
9
|
-
* Displays a user panel with title, editable button, and user information data.
|
|
10
|
-
*/
|
|
11
8
|
export declare const UserPanel: ({ title, button, data, onClick, ...base }: UserPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,18 +2,18 @@ import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { Pencil as m } from "lucide-react";
|
|
3
3
|
import p from "clsx";
|
|
4
4
|
import { ControlButtonText as f } from "../../controls/control-button-text/control-button-text.component.js";
|
|
5
|
-
import { baseProps as
|
|
6
|
-
import '../../assets/user-panel-
|
|
5
|
+
import { baseProps as s } from "../../utils/functions/functions.util.js";
|
|
6
|
+
import '../../assets/user-panel-DbR0J2Ct.css';const u = "_Head_svj2j_13", h = "_Info_svj2j_26", t = {
|
|
7
7
|
Head: u,
|
|
8
8
|
Info: h
|
|
9
|
-
},
|
|
9
|
+
}, H = ({ title: i, button: n, data: a, onClick: l, ...r }) => /* @__PURE__ */ o(
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
|
-
"data-testid":
|
|
13
|
-
className: p(t.UserPanel,
|
|
12
|
+
"data-testid": s(r, "data-testid", "user-panel"),
|
|
13
|
+
className: p(t.UserPanel, s(r, "className")),
|
|
14
14
|
children: [
|
|
15
15
|
/* @__PURE__ */ o("div", { className: t.Head, children: [
|
|
16
|
-
/* @__PURE__ */ e("span", { "data-testid": "user-panel-title", children:
|
|
16
|
+
/* @__PURE__ */ e("span", { "data-testid": "user-panel-title", children: i }),
|
|
17
17
|
/* @__PURE__ */ e(
|
|
18
18
|
f,
|
|
19
19
|
{
|
|
@@ -24,7 +24,7 @@ import '../../assets/user-panel-BJB6pJ70.css';const u = "_Head_12b2p_13", h = "_
|
|
|
24
24
|
size: "md",
|
|
25
25
|
color: "text-primary",
|
|
26
26
|
onClick: l,
|
|
27
|
-
children:
|
|
27
|
+
children: n
|
|
28
28
|
}
|
|
29
29
|
)
|
|
30
30
|
] }),
|
|
@@ -33,5 +33,5 @@ import '../../assets/user-panel-BJB6pJ70.css';const u = "_Head_12b2p_13", h = "_
|
|
|
33
33
|
}
|
|
34
34
|
);
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
H as UserPanel
|
|
37
37
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export { DataProtectedLabel } from './components/data-protected-label';
|
|
|
29
29
|
export { Dialog, type DialogProps, type DialogSize, type DialogPosition } from './components/dialog/dialog.component';
|
|
30
30
|
export { DialogArticle } from './components/dialog-article';
|
|
31
31
|
export { Expenses, type ExpensesProps } from './components/expenses';
|
|
32
|
-
export { Footer } from './components/footer';
|
|
32
|
+
export { Footer, type FooterProps } from './components/footer';
|
|
33
33
|
export { FormRow, type FormRowProps } from './components/form-row/form-row.component';
|
|
34
34
|
export { Header, type HeaderProps, type HeaderDescription } from './components/header/header.component';
|
|
35
35
|
export { InfoPanel, type InfoPanelProps } from './components/info-panel';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._User_12b2p_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm);font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-secondary)}._Head_12b2p_13{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._Info_12b2p_25{display:inline-flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start}
|