@arthurzakharov/ui-kit 1.5.1 → 1.5.2

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.
@@ -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}
@@ -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 i } from "../../utils/functions/functions.util.js";
6
- import '../../assets/user-panel-BJB6pJ70.css';const u = "_Head_12b2p_13", h = "_Info_12b2p_25", t = {
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
- }, N = ({ title: n, button: s, data: a, onClick: l, ...r }) => /* @__PURE__ */ o(
9
+ }, H = ({ title: i, button: n, data: a, onClick: l, ...r }) => /* @__PURE__ */ o(
10
10
  "div",
11
11
  {
12
- "data-testid": i(r, "data-testid", "user-panel"),
13
- className: p(t.UserPanel, i(r, "className")),
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: n }),
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: s
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
- N as UserPanel
36
+ H as UserPanel
37
37
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.5.1",
4
+ "version": "1.5.2",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -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}