@arthurzakharov/ui-kit 1.0.76 → 1.0.79

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
+ ._InfoPanel_ntayw_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}._InfoPanelRow_ntayw_9{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:var(--rm-ui-padding-xs)}._InfoPanelKey_ntayw_17{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-secondary);text-align:left}._InfoPanelValue_ntayw_25{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-primary);text-align:right}
@@ -1,16 +1,16 @@
1
- import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
- import '../../../../assets/info-D53IeuxI.css';const f = "_InfoPanel_cjut0_1", I = "_InfoPanelRow_cjut0_9", t = "_InfoPanelKey_cjut0_16", P = "_InfoPanelValue_cjut0_23", n = {
3
- InfoPanel: f,
4
- InfoPanelRow: I,
5
- InfoPanelKey: t,
6
- InfoPanelValue: P
7
- }, u = (o) => {
1
+ import { jsx as a, jsxs as f } from "react/jsx-runtime";
2
+ import '../../../../assets/info-DKftTY2R.css';const I = "_InfoPanel_ntayw_1", t = "_InfoPanelRow_ntayw_9", P = "_InfoPanelKey_ntayw_17", c = "_InfoPanelValue_ntayw_25", n = {
3
+ InfoPanel: I,
4
+ InfoPanelRow: t,
5
+ InfoPanelKey: P,
6
+ InfoPanelValue: c
7
+ }, r = (o) => {
8
8
  const { data: l = [] } = o;
9
- return /* @__PURE__ */ e("ul", { className: n.InfoPanel, children: l.map(([a, s]) => /* @__PURE__ */ c("li", { className: n.InfoPanelRow, children: [
10
- /* @__PURE__ */ e("span", { className: n.InfoPanelKey, children: a }),
11
- /* @__PURE__ */ e("span", { className: n.InfoPanelValue, dangerouslySetInnerHTML: { __html: s } })
12
- ] }, a)) });
9
+ return /* @__PURE__ */ a("ul", { className: n.InfoPanel, children: l.map(([e, s]) => /* @__PURE__ */ f("li", { className: n.InfoPanelRow, children: [
10
+ /* @__PURE__ */ a("span", { className: n.InfoPanelKey, children: e }),
11
+ /* @__PURE__ */ a("span", { className: n.InfoPanelValue, dangerouslySetInnerHTML: { __html: s } })
12
+ ] }, e)) });
13
13
  };
14
14
  export {
15
- u as Info
15
+ r as Info
16
16
  };
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes, PropsWithChildren } from 'react';
2
2
  export interface ParagraphProps<T extends keyof HTMLElementTagNameMap> extends PropsWithChildren, HTMLAttributes<HTMLElementTagNameMap[T]> {
3
- tag: T;
3
+ tag?: T;
4
4
  }
5
5
  export declare function Paragraph<T extends keyof HTMLElementTagNameMap>(props: ParagraphProps<T>): import('react').DetailedReactHTMLElement<{
6
6
  defaultChecked?: boolean | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.0.76",
4
+ "version": "1.0.79",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -1 +0,0 @@
1
- ._InfoPanel_cjut0_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}._InfoPanelRow_cjut0_9{display:flex;flex-direction:row;align-items:center;justify-content:space-between}._InfoPanelKey_cjut0_16{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-secondary)}._InfoPanelValue_cjut0_23{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-primary)}