@arthurzakharov/ui-kit 1.0.89 → 1.0.90
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
|
+
._TextBlock_1kh21_1{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-lg)}._TextBlockEmoji_1kh21_10{font-size:64px;line-height:1}._TextBlockHeader_1kh21_15{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._TextBlockTitle_1kh21_24{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2);color:var(--rm-ui-color-text-primary)}._TextBlockSubtitle_1kh21_31{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-secondary)}._TextBlockContent_1kh21_38{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)}._TextBlockContent_1kh21_38 h1,._TextBlockContent_1kh21_38 h2{margin-bottom:var(--rm-ui-padding-sm)}._TextBlockContent_1kh21_38 h3,._TextBlockContent_1kh21_38 h4,._TextBlockContent_1kh21_38 h5,._TextBlockContent_1kh21_38 h6{margin-bottom:var(--rm-ui-padding-xs)}._TextBlockContent_1kh21_38 p:not(:last-child):not(:last-of-type),._TextBlockContent_1kh21_38 div:not(:last-child):not(:last-of-type){margin-bottom:var(--rm-ui-padding-sm)}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import '../../assets/text-block-
|
|
1
|
+
import { jsxs as k, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/text-block-CJXB3-4R.css';const x = "_TextBlock_1kh21_1", i = "_TextBlockEmoji_1kh21_10", s = "_TextBlockHeader_1kh21_15", B = "_TextBlockTitle_1kh21_24", _ = "_TextBlockSubtitle_1kh21_31", a = "_TextBlockContent_1kh21_38", e = {
|
|
3
3
|
TextBlock: x,
|
|
4
4
|
TextBlockEmoji: i,
|
|
5
|
-
TextBlockHeader:
|
|
5
|
+
TextBlockHeader: s,
|
|
6
6
|
TextBlockTitle: B,
|
|
7
|
-
TextBlockSubtitle:
|
|
8
|
-
TextBlockContent:
|
|
9
|
-
}, d = (
|
|
10
|
-
const { children: T, emoji: o, title: l = "", subtitle: c = "" } =
|
|
11
|
-
return /* @__PURE__ */
|
|
7
|
+
TextBlockSubtitle: _,
|
|
8
|
+
TextBlockContent: a
|
|
9
|
+
}, d = (n) => {
|
|
10
|
+
const { children: T, emoji: o, title: l = "", subtitle: c = "" } = n;
|
|
11
|
+
return /* @__PURE__ */ k("div", { className: e.TextBlock, children: [
|
|
12
12
|
o ? /* @__PURE__ */ t("div", { className: e.TextBlockEmoji, children: o }) : null,
|
|
13
|
-
l || c ? /* @__PURE__ */
|
|
13
|
+
l || c ? /* @__PURE__ */ k("div", { className: e.TextBlockHeader, children: [
|
|
14
14
|
l ? /* @__PURE__ */ t("h2", { className: e.TextBlockTitle, children: l }) : null,
|
|
15
15
|
c ? /* @__PURE__ */ t("h6", { className: e.TextBlockSubtitle, children: c }) : null
|
|
16
16
|
] }) : null,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._TextBlock_hasyn_1{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-lg)}._TextBlockEmoji_hasyn_10{font-size:64px;line-height:1}._TextBlockHeader_hasyn_15{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._TextBlockTitle_hasyn_24{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2);color:var(--rm-ui-color-text-primary)}._TextBlockSubtitle_hasyn_31{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-secondary)}._TextBlockContent_hasyn_38{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)}._TextBlockContent_hasyn_38 h1,._TextBlockContent_hasyn_38 h2{margin-bottom:var(--rm-ui-padding-sm)}._TextBlockContent_hasyn_38 h3,._TextBlockContent_hasyn_38 h4,._TextBlockContent_hasyn_38 h5,._TextBlockContent_hasyn_38 h6{margin-bottom:var(--rm-ui-padding-xs)}._TextBlockContent_hasyn_38 p,._TextBlockContent_hasyn_38 div{margin-bottom:var(--rm-ui-padding-md)}
|