@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.
@@ -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}
@@ -3,7 +3,7 @@ type FooterLink = {
3
3
  text: string;
4
4
  onClick: () => void;
5
5
  };
6
- interface FooterProps extends Base {
6
+ export interface FooterProps extends Base {
7
7
  name: string;
8
8
  links: FooterLink[];
9
9
  }
@@ -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 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/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,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.5.1",
4
+ "version": "1.5.3",
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}