@arthurzakharov/ui-kit 1.6.9 → 1.7.0

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
+ ._Expenses_hfqkm_1{display:block}._Title_hfqkm_5{margin-bottom:var(--rm-ui-padding-md);font-weight:var(--rm-ui-font-weight-bold);font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4);color:var(--rm-ui-color-text-primary)}._Content_hfqkm_13{margin-bottom:var(--rm-ui-padding-md)}._Content_hfqkm_13,._SubContent_hfqkm_18{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._Content_hfqkm_13>*[data-color=accent],._SubContent_hfqkm_18>*[data-color=accent]{color:var(--rm-ui-color-accent-primary)}._Content_hfqkm_13>*[role=button],._SubContent_hfqkm_18>*[role=button],._Content_hfqkm_13>button,._SubContent_hfqkm_18>button{color:var(--rm-ui-color-link)}._SubContent_hfqkm_18{display:block;margin-top:var(--rm-ui-padding-md)}._Amount_hfqkm_42{display:flex;align-items:center;justify-content:space-between;color:var(--rm-ui-color-theme-primary)}._AmountKey_hfqkm_49{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._AmountValue_hfqkm_55{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}
@@ -1,28 +1,30 @@
1
- import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import r from "clsx";
1
+ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
+ import d from "clsx";
3
3
  import { baseProps as a } from "../../utils/functions/functions.util.js";
4
- import '../../assets/expenses-AU5q4idk.css';const p = "_Expenses_zr16l_1", m = "_Title_zr16l_5", _ = "_Content_zr16l_13", x = "_SubContent_zr16l_18", u = "_Amount_zr16l_42", t = {
5
- Expenses: p,
6
- Title: m,
7
- Content: _,
8
- SubContent: x,
9
- Amount: u
10
- }, z = ({ title: c, content: i, subContent: s, amountTitle: l, amountNumber: d, ...n }) => /* @__PURE__ */ o(
4
+ import '../../assets/expenses-BWqSN6hG.css';const u = "_Expenses_hfqkm_1", _ = "_Title_hfqkm_5", p = "_Content_hfqkm_13", h = "_SubContent_hfqkm_18", r = "_Amount_hfqkm_42", x = "_AmountKey_hfqkm_49", A = "_AmountValue_hfqkm_55", e = {
5
+ Expenses: u,
6
+ Title: _,
7
+ Content: p,
8
+ SubContent: h,
9
+ Amount: r,
10
+ AmountKey: x,
11
+ AmountValue: A
12
+ }, q = ({ title: m, content: c, subContent: n, amountTitle: l, amountNumber: i, ...s }) => /* @__PURE__ */ o(
11
13
  "div",
12
14
  {
13
- "data-testid": a(n, "data-testid", "expenses"),
14
- className: r(t.Expenses, a(n, "className")),
15
+ "data-testid": a(s, "data-testid", "expenses"),
16
+ className: d(e.Expenses, a(s, "className")),
15
17
  children: [
16
- /* @__PURE__ */ e("h6", { "data-testid": "expenses-title", className: t.Title, children: c }),
17
- /* @__PURE__ */ e("p", { "data-testid": "expenses-content", className: t.Content, children: i }),
18
- /* @__PURE__ */ o("div", { "data-testid": "expenses-amount", className: t.Amount, children: [
19
- /* @__PURE__ */ e("span", { children: l }),
20
- /* @__PURE__ */ e("span", { children: d.join("") })
18
+ /* @__PURE__ */ t("h6", { "data-testid": "expenses-title", className: e.Title, children: m }),
19
+ /* @__PURE__ */ t("p", { "data-testid": "expenses-content", className: e.Content, children: c }),
20
+ /* @__PURE__ */ o("div", { "data-testid": "expenses-amount", className: e.Amount, children: [
21
+ /* @__PURE__ */ t("span", { className: e.AmountKey, children: l }),
22
+ /* @__PURE__ */ t("span", { className: e.AmountValue, children: i.join("") })
21
23
  ] }),
22
- s && /* @__PURE__ */ e("p", { "data-testid": "expenses-sub-content", className: t.SubContent, children: s })
24
+ n && /* @__PURE__ */ t("p", { "data-testid": "expenses-sub-content", className: e.SubContent, children: n })
23
25
  ]
24
26
  }
25
27
  );
26
28
  export {
27
- z as Expenses
29
+ q as Expenses
28
30
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.6.9",
4
+ "version": "1.7.0",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -1 +0,0 @@
1
- ._Expenses_zr16l_1{display:block}._Title_zr16l_5{margin-bottom:var(--rm-ui-padding-md);font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4);color:var(--rm-ui-color-text-primary)}._Content_zr16l_13{margin-bottom:var(--rm-ui-padding-md)}._Content_zr16l_13,._SubContent_zr16l_18{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._Content_zr16l_13>*[data-color=accent],._SubContent_zr16l_18>*[data-color=accent]{color:var(--rm-ui-color-accent-primary)}._Content_zr16l_13>*[role=button],._SubContent_zr16l_18>*[role=button],._Content_zr16l_13>button,._SubContent_zr16l_18>button{color:var(--rm-ui-color-link)}._SubContent_zr16l_18{display:block;margin-top:var(--rm-ui-padding-md)}._Amount_zr16l_42{display:flex;align-items:center;justify-content:space-between;font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-theme-primary)}