@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
|
|
2
|
-
import
|
|
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-
|
|
5
|
-
Expenses:
|
|
6
|
-
Title:
|
|
7
|
-
Content:
|
|
8
|
-
SubContent:
|
|
9
|
-
Amount:
|
|
10
|
-
|
|
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(
|
|
14
|
-
className:
|
|
15
|
+
"data-testid": a(s, "data-testid", "expenses"),
|
|
16
|
+
className: d(e.Expenses, a(s, "className")),
|
|
15
17
|
children: [
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */ o("div", { "data-testid": "expenses-amount", className:
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
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
|
-
|
|
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
|
-
|
|
29
|
+
q as Expenses
|
|
28
30
|
};
|
package/package.json
CHANGED
|
@@ -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)}
|