@redneckz/wildless-cms-uni-blocks 0.14.115 → 0.14.117
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.
- package/bin/migration-scripts/0.14.111.js +10 -1
- package/bin/utils.js +3 -1
- package/bundle/bundle.umd.js +2 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js +2 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js +2 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +2 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +2 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +9 -2
- package/package.json +1 -1
- package/src/components/ExchangeRateTile/CurrentLocation.tsx +9 -2
|
@@ -3,6 +3,7 @@ exports.CurrentLocation = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const RoundedIcon_1 = require("../../ui-kit/Icon/RoundedIcon");
|
|
6
|
+
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
6
7
|
const icon = { icon: 'GpsIcon' };
|
|
7
|
-
exports.CurrentLocation = (0, uni_jsx_1.JSX)(({ className = '', address }) => ((0, jsx_runtime_1.jsxs)("div", { className: `flex gap-s ${className}`, children: [(0, jsx_runtime_1.jsx)(RoundedIcon_1.RoundedIcon, { ...icon, iconBgVersion: "primary" }), (0, jsx_runtime_1.jsxs)("div", { className: "space-y-2xs", children: [address ? (0, jsx_runtime_1.jsx)(
|
|
8
|
+
exports.CurrentLocation = (0, uni_jsx_1.JSX)(({ className = '', address }) => ((0, jsx_runtime_1.jsxs)("div", { className: `flex gap-s ${className}`, children: [(0, jsx_runtime_1.jsx)(RoundedIcon_1.RoundedIcon, { ...icon, iconBgVersion: "primary" }), (0, jsx_runtime_1.jsxs)("div", { className: "space-y-2xs", children: [address ? ((0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-l", color: "text-primary-main", children: address })) : null, (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m", color: "text-secondary-text", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
|
|
8
9
|
//# sourceMappingURL=CurrentLocation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CurrentLocation.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrentLocation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+DAA4D;
|
|
1
|
+
{"version":3,"file":"CurrentLocation.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrentLocation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+DAA4D;AAC5D,gEAA6D;AAO7D,MAAM,IAAI,GAAY,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAE7B,QAAA,eAAe,GAAG,IAAA,aAAG,EAAuB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACxF,iCAAK,SAAS,EAAE,cAAc,SAAS,EAAE,aACvC,uBAAC,yBAAW,OAAK,IAAI,EAAE,aAAa,EAAC,SAAS,GAAG,EACjD,iCAAK,SAAS,EAAC,aAAa,aACzB,OAAO,CAAC,CAAC,CAAC,CACT,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB,YAC/C,OAAO,GACE,CACb,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,uLAExC,IACR,IACF,CACP,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon.js';
|
|
4
|
+
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
4
5
|
const icon = { icon: 'GpsIcon' };
|
|
5
|
-
export const CurrentLocation = JSX(({ className = '', address }) => (_jsxs("div", { className: `flex gap-s ${className}`, children: [_jsx(RoundedIcon, { ...icon, iconBgVersion: "primary" }), _jsxs("div", { className: "space-y-2xs", children: [address ? _jsx(
|
|
6
|
+
export const CurrentLocation = JSX(({ className = '', address }) => (_jsxs("div", { className: `flex gap-s ${className}`, children: [_jsx(RoundedIcon, { ...icon, iconBgVersion: "primary" }), _jsxs("div", { className: "space-y-2xs", children: [address ? (_jsx(Paragraph, { size: "text-l", color: "text-primary-main", children: address })) : null, _jsx(Paragraph, { size: "text-m", color: "text-secondary-text", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
|
|
6
7
|
//# sourceMappingURL=CurrentLocation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CurrentLocation.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrentLocation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"CurrentLocation.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/CurrentLocation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAO7D,MAAM,IAAI,GAAY,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAE1C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAuB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACxF,eAAK,SAAS,EAAE,cAAc,SAAS,EAAE,aACvC,KAAC,WAAW,OAAK,IAAI,EAAE,aAAa,EAAC,SAAS,GAAG,EACjD,eAAK,SAAS,EAAC,aAAa,aACzB,OAAO,CAAC,CAAC,CAAC,CACT,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB,YAC/C,OAAO,GACE,CACb,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,uLAExC,IACR,IACF,CACP,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { type Picture } from '../../model/Picture';
|
|
3
3
|
import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon';
|
|
4
|
+
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
4
5
|
|
|
5
6
|
interface CurrentLocationProps {
|
|
6
7
|
className?: string;
|
|
@@ -13,8 +14,14 @@ export const CurrentLocation = JSX<CurrentLocationProps>(({ className = '', addr
|
|
|
13
14
|
<div className={`flex gap-s ${className}`}>
|
|
14
15
|
<RoundedIcon {...icon} iconBgVersion="primary" />
|
|
15
16
|
<div className="space-y-2xs">
|
|
16
|
-
{address ?
|
|
17
|
-
|
|
17
|
+
{address ? (
|
|
18
|
+
<Paragraph size="text-l" color="text-primary-main">
|
|
19
|
+
{address}
|
|
20
|
+
</Paragraph>
|
|
21
|
+
) : null}
|
|
22
|
+
<Paragraph size="text-m" color="text-secondary-text">
|
|
23
|
+
Курс указан для заданного офиса
|
|
24
|
+
</Paragraph>
|
|
18
25
|
</div>
|
|
19
26
|
</div>
|
|
20
27
|
));
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { type Picture } from '../../model/Picture';
|
|
3
3
|
import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon';
|
|
4
|
+
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
4
5
|
|
|
5
6
|
interface CurrentLocationProps {
|
|
6
7
|
className?: string;
|
|
@@ -13,8 +14,14 @@ export const CurrentLocation = JSX<CurrentLocationProps>(({ className = '', addr
|
|
|
13
14
|
<div className={`flex gap-s ${className}`}>
|
|
14
15
|
<RoundedIcon {...icon} iconBgVersion="primary" />
|
|
15
16
|
<div className="space-y-2xs">
|
|
16
|
-
{address ?
|
|
17
|
-
|
|
17
|
+
{address ? (
|
|
18
|
+
<Paragraph size="text-l" color="text-primary-main">
|
|
19
|
+
{address}
|
|
20
|
+
</Paragraph>
|
|
21
|
+
) : null}
|
|
22
|
+
<Paragraph size="text-m" color="text-secondary-text">
|
|
23
|
+
Курс указан для заданного офиса
|
|
24
|
+
</Paragraph>
|
|
18
25
|
</div>
|
|
19
26
|
</div>
|
|
20
27
|
));
|