@redneckz/wildless-cms-uni-blocks 0.14.910 → 0.14.912
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/bundle/Env.d.ts +2 -0
- package/bundle/bundle.umd.js +15 -8
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Footer/LinkList.d.ts +1 -0
- package/dist/Env.d.ts +2 -0
- package/dist/Env.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/Footer/LinkList.d.ts +1 -0
- package/dist/components/Footer/LinkList.js +2 -2
- package/dist/components/Footer/LinkList.js.map +1 -1
- package/dist/services/search/tokenize.js +4 -1
- package/dist/services/search/tokenize.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.js +5 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js +5 -1
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/lib/Env.d.ts +2 -0
- package/lib/Env.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/Footer/LinkList.d.ts +1 -0
- package/lib/components/Footer/LinkList.js +2 -2
- package/lib/components/Footer/LinkList.js.map +1 -1
- package/lib/services/search/tokenize.js +4 -1
- package/lib/services/search/tokenize.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.fixture.d.ts +2 -0
- package/lib/ui-kit/SearchDialog/SearchDialog.js +5 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js +5 -1
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/bundle/Env.d.ts +2 -0
- package/mobile/bundle/bundle.umd.js +5 -5
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Footer/LinkList.d.ts +1 -0
- package/mobile/dist/Env.d.ts +2 -0
- package/mobile/dist/Env.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/Footer/LinkList.d.ts +1 -0
- package/mobile/dist/components/Footer/LinkList.js +2 -2
- package/mobile/dist/components/Footer/LinkList.js.map +1 -1
- package/mobile/dist/services/search/tokenize.js +4 -1
- package/mobile/dist/services/search/tokenize.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +5 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/lib/Env.d.ts +2 -0
- package/mobile/lib/Env.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/Footer/LinkList.d.ts +1 -0
- package/mobile/lib/components/Footer/LinkList.js +2 -2
- package/mobile/lib/components/Footer/LinkList.js.map +1 -1
- package/mobile/lib/services/search/tokenize.js +4 -1
- package/mobile/lib/services/search/tokenize.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +5 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/src/Env.ts +2 -0
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
- package/mobile/src/components/Footer/LinkList.tsx +3 -2
- package/mobile/src/services/search/tokenize.ts +8 -1
- package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +11 -1
- package/package.json +1 -1
- package/src/Env.ts +2 -0
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
- package/src/components/Footer/LinkList.tsx +3 -2
- package/src/icons/IconName.ts +4 -4
- package/src/services/search/tokenize.ts +8 -1
- package/src/ui-kit/SearchDialog/SearchDialog.fixture.tsx +782 -0
- package/src/ui-kit/SearchDialog/SearchDialog.tsx +11 -1
- package/src/ui-kit/Sitemap/Sitemap.tsx +25 -7
package/mobile/bundle/Env.d.ts
CHANGED
|
@@ -10373,7 +10373,7 @@
|
|
|
10373
10373
|
};
|
|
10374
10374
|
const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
|
|
10375
10375
|
setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
|
|
10376
|
-
const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.
|
|
10376
|
+
const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate ||
|
|
10377
10377
|
currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
|
|
10378
10378
|
if (rate) {
|
|
10379
10379
|
setCalcState({
|
|
@@ -10383,7 +10383,7 @@
|
|
|
10383
10383
|
};
|
|
10384
10384
|
const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
|
|
10385
10385
|
setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
|
|
10386
|
-
const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.
|
|
10386
|
+
const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate ||
|
|
10387
10387
|
currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
|
|
10388
10388
|
if (rate) {
|
|
10389
10389
|
setCalcState({
|
|
@@ -10412,9 +10412,9 @@
|
|
|
10412
10412
|
});
|
|
10413
10413
|
const getCurrencyRates = (currencies) => currencies?.filter((_) => [1, 2, 3].includes(_?.currency?.id)) || [];
|
|
10414
10414
|
|
|
10415
|
-
const LinkList = JSX(({ className = '', items }) => {
|
|
10415
|
+
const LinkList = JSX(({ className = '', items, isFlex = true }) => {
|
|
10416
10416
|
const link = useLink();
|
|
10417
|
-
return (jsx("ul", { className: style('flex flex-col gap-s w-full', className), children: items?.map(renderLinkListItem(link)) }));
|
|
10417
|
+
return (jsx("ul", { className: style(isFlex ? 'flex flex-col gap-s' : 'block', 'w-full', className), children: items?.map(renderLinkListItem(link)) }));
|
|
10418
10418
|
});
|
|
10419
10419
|
const renderLinkListItem = (link) => ({ dataFooter, ...linkProps }, i) => {
|
|
10420
10420
|
const { text, href, target, onClick } = link(linkProps);
|
|
@@ -11752,7 +11752,7 @@
|
|
|
11752
11752
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
11753
11753
|
});
|
|
11754
11754
|
|
|
11755
|
-
const packageVersion = "0.14.
|
|
11755
|
+
const packageVersion = "0.14.911";
|
|
11756
11756
|
|
|
11757
11757
|
exports.Blocks = Blocks;
|
|
11758
11758
|
exports.ContentPage = ContentPage;
|