@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.
Files changed (72) hide show
  1. package/bundle/Env.d.ts +2 -0
  2. package/bundle/bundle.umd.js +15 -8
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/Footer/LinkList.d.ts +1 -0
  5. package/dist/Env.d.ts +2 -0
  6. package/dist/Env.js.map +1 -1
  7. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  8. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  9. package/dist/components/Footer/LinkList.d.ts +1 -0
  10. package/dist/components/Footer/LinkList.js +2 -2
  11. package/dist/components/Footer/LinkList.js.map +1 -1
  12. package/dist/services/search/tokenize.js +4 -1
  13. package/dist/services/search/tokenize.js.map +1 -1
  14. package/dist/ui-kit/SearchDialog/SearchDialog.js +5 -1
  15. package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  16. package/dist/ui-kit/Sitemap/Sitemap.js +5 -1
  17. package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  18. package/lib/Env.d.ts +2 -0
  19. package/lib/Env.js.map +1 -1
  20. package/lib/common.css +1 -1
  21. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  22. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  23. package/lib/components/Footer/LinkList.d.ts +1 -0
  24. package/lib/components/Footer/LinkList.js +2 -2
  25. package/lib/components/Footer/LinkList.js.map +1 -1
  26. package/lib/services/search/tokenize.js +4 -1
  27. package/lib/services/search/tokenize.js.map +1 -1
  28. package/lib/ui-kit/SearchDialog/SearchDialog.fixture.d.ts +2 -0
  29. package/lib/ui-kit/SearchDialog/SearchDialog.js +5 -1
  30. package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  31. package/lib/ui-kit/Sitemap/Sitemap.js +5 -1
  32. package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  33. package/mobile/bundle/Env.d.ts +2 -0
  34. package/mobile/bundle/bundle.umd.js +5 -5
  35. package/mobile/bundle/bundle.umd.min.js +1 -1
  36. package/mobile/bundle/components/Footer/LinkList.d.ts +1 -0
  37. package/mobile/dist/Env.d.ts +2 -0
  38. package/mobile/dist/Env.js.map +1 -1
  39. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  40. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  41. package/mobile/dist/components/Footer/LinkList.d.ts +1 -0
  42. package/mobile/dist/components/Footer/LinkList.js +2 -2
  43. package/mobile/dist/components/Footer/LinkList.js.map +1 -1
  44. package/mobile/dist/services/search/tokenize.js +4 -1
  45. package/mobile/dist/services/search/tokenize.js.map +1 -1
  46. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +5 -1
  47. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  48. package/mobile/lib/Env.d.ts +2 -0
  49. package/mobile/lib/Env.js.map +1 -1
  50. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  51. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  52. package/mobile/lib/components/Footer/LinkList.d.ts +1 -0
  53. package/mobile/lib/components/Footer/LinkList.js +2 -2
  54. package/mobile/lib/components/Footer/LinkList.js.map +1 -1
  55. package/mobile/lib/services/search/tokenize.js +4 -1
  56. package/mobile/lib/services/search/tokenize.js.map +1 -1
  57. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +5 -1
  58. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  59. package/mobile/src/Env.ts +2 -0
  60. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
  61. package/mobile/src/components/Footer/LinkList.tsx +3 -2
  62. package/mobile/src/services/search/tokenize.ts +8 -1
  63. package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +11 -1
  64. package/package.json +1 -1
  65. package/src/Env.ts +2 -0
  66. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
  67. package/src/components/Footer/LinkList.tsx +3 -2
  68. package/src/icons/IconName.ts +4 -4
  69. package/src/services/search/tokenize.ts +8 -1
  70. package/src/ui-kit/SearchDialog/SearchDialog.fixture.tsx +782 -0
  71. package/src/ui-kit/SearchDialog/SearchDialog.tsx +11 -1
  72. package/src/ui-kit/Sitemap/Sitemap.tsx +25 -7
@@ -2,6 +2,8 @@ export interface Env {
2
2
  SITE_URL?: string;
3
3
  SUB_PORTALS?: string;
4
4
  MOBILE?: string;
5
+ SINGLE_SEARCH_INDEX?: string;
6
+ SEARCH_LANG?: string;
5
7
  }
6
8
  export declare const env: Env & {
7
9
  _: Env;
@@ -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)?.buyExchangeRate ||
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)?.saleExchangeRate ||
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.909";
11755
+ const packageVersion = "0.14.911";
11756
11756
 
11757
11757
  exports.Blocks = Blocks;
11758
11758
  exports.ContentPage = ContentPage;