@redneckz/wildless-cms-uni-blocks 0.14.604 → 0.14.605

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.
@@ -4,5 +4,5 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const Icon_1 = require("../Icon/Icon");
6
6
  const RichText_1 = require("../RichText/RichText");
7
- exports.InfoCard = (0, uni_jsx_1.JSX)(({ __html, icon, iconVersion = 'black' }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m", children: [(0, jsx_runtime_1.jsx)("div", { className: "rounded-full bg-white p-xs", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, width: "24", height: "24", iconVersion: iconVersion }) }), (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html })] })));
7
+ exports.InfoCard = (0, uni_jsx_1.JSX)(({ __html, icon = 'InfoCircleIcon', iconVersion = 'black' }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m", children: [(0, jsx_runtime_1.jsx)("div", { className: "rounded-full bg-white p-xs", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, width: "24", height: "24", iconVersion: iconVersion }) }), (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html })] })));
8
8
  //# sourceMappingURL=InfoCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InfoCard.js","sourceRoot":"","sources":["../../../src/ui-kit/InfoCard/InfoCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,uCAAoC;AAEpC,mDAAgD;AAQnC,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,EAAE,EAAE,EAAE,CAAC,CACtF,iCAAK,SAAS,EAAC,8EAA8E,aAC3F,gCAAK,SAAS,EAAC,4BAA4B,YACzC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,WAAW,EAAE,WAAW,GAAI,GACjE,EACN,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,IACxB,CACP,CAAC,CAAC"}
1
+ {"version":3,"file":"InfoCard.js","sourceRoot":"","sources":["../../../src/ui-kit/InfoCard/InfoCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,uCAAoC;AAEpC,mDAAgD;AAQnC,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,MAAM,EAAE,IAAI,GAAG,gBAAgB,EAAE,WAAW,GAAG,OAAO,EAAE,EAAE,EAAE,CAAC,CAC9D,iCAAK,SAAS,EAAC,8EAA8E,aAC3F,gCAAK,SAAS,EAAC,4BAA4B,YACzC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,WAAW,EAAE,WAAW,GAAI,GACjE,EACN,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,IACxB,CACP,CACF,CAAC"}
@@ -2,5 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Icon } from '../Icon/Icon.js';
4
4
  import { RichText } from '../RichText/RichText.js';
5
- export const InfoCard = JSX(({ __html, icon, iconVersion = 'black' }) => (_jsxs("div", { className: "flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m", children: [_jsx("div", { className: "rounded-full bg-white p-xs", children: _jsx(Icon, { name: icon, width: "24", height: "24", iconVersion: iconVersion }) }), _jsx(RichText, { __html: __html })] })));
5
+ export const InfoCard = JSX(({ __html, icon = 'InfoCircleIcon', iconVersion = 'black' }) => (_jsxs("div", { className: "flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m", children: [_jsx("div", { className: "rounded-full bg-white p-xs", children: _jsx(Icon, { name: icon, width: "24", height: "24", iconVersion: iconVersion }) }), _jsx(RichText, { __html: __html })] })));
6
6
  //# sourceMappingURL=InfoCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InfoCard.js","sourceRoot":"","sources":["../../../src/ui-kit/InfoCard/InfoCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAQhD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,EAAE,EAAE,EAAE,CAAC,CACtF,eAAK,SAAS,EAAC,8EAA8E,aAC3F,cAAK,SAAS,EAAC,4BAA4B,YACzC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,WAAW,EAAE,WAAW,GAAI,GACjE,EACN,KAAC,QAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,IACxB,CACP,CAAC,CAAC"}
1
+ {"version":3,"file":"InfoCard.js","sourceRoot":"","sources":["../../../src/ui-kit/InfoCard/InfoCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAQhD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,MAAM,EAAE,IAAI,GAAG,gBAAgB,EAAE,WAAW,GAAG,OAAO,EAAE,EAAE,EAAE,CAAC,CAC9D,eAAK,SAAS,EAAC,8EAA8E,aAC3F,cAAK,SAAS,EAAC,4BAA4B,YACzC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,WAAW,EAAE,WAAW,GAAI,GACjE,EACN,KAAC,QAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,IACxB,CACP,CACF,CAAC"}
@@ -10,11 +10,13 @@ interface InfoCardProps {
10
10
  iconVersion?: IconVersion;
11
11
  }
12
12
 
13
- export const InfoCard = JSX<InfoCardProps>(({ __html, icon, iconVersion = 'black' }) => (
14
- <div className="flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m">
15
- <div className="rounded-full bg-white p-xs">
16
- <Icon name={icon} width="24" height="24" iconVersion={iconVersion} />
13
+ export const InfoCard = JSX<InfoCardProps>(
14
+ ({ __html, icon = 'InfoCircleIcon', iconVersion = 'black' }) => (
15
+ <div className="flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m">
16
+ <div className="rounded-full bg-white p-xs">
17
+ <Icon name={icon} width="24" height="24" iconVersion={iconVersion} />
18
+ </div>
19
+ <RichText __html={__html} />
17
20
  </div>
18
- <RichText __html={__html} />
19
- </div>
20
- ));
21
+ ),
22
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.14.604",
3
+ "version": "0.14.605",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -6,4 +6,4 @@ const __html = `<p>Клиент на момент оформления заяв
6
6
  официально трудоустроен более 6 месяцев, если Клиент получает з/п на счет РСХБ,
7
7
  то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске</p>`;
8
8
 
9
- export default <InfoCard __html={__html} icon="InfoCircleIcon" />;
9
+ export default <InfoCard __html={__html} />;
@@ -10,11 +10,13 @@ interface InfoCardProps {
10
10
  iconVersion?: IconVersion;
11
11
  }
12
12
 
13
- export const InfoCard = JSX<InfoCardProps>(({ __html, icon, iconVersion = 'black' }) => (
14
- <div className="flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m">
15
- <div className="rounded-full bg-white p-xs">
16
- <Icon name={icon} width="24" height="24" iconVersion={iconVersion} />
13
+ export const InfoCard = JSX<InfoCardProps>(
14
+ ({ __html, icon = 'InfoCircleIcon', iconVersion = 'black' }) => (
15
+ <div className="flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m">
16
+ <div className="rounded-full bg-white p-xs">
17
+ <Icon name={icon} width="24" height="24" iconVersion={iconVersion} />
18
+ </div>
19
+ <RichText __html={__html} />
17
20
  </div>
18
- <RichText __html={__html} />
19
- </div>
20
- ));
21
+ ),
22
+ );