@redneckz/wildless-cms-uni-blocks 0.2.43 → 0.2.46

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 (181) hide show
  1. package/dist/BenefitsBlock.d.ts +1 -7
  2. package/dist/BenefitsBlock.js +4 -26
  3. package/dist/BenefitsBlock.js.map +1 -1
  4. package/dist/Blocks.d.ts +1 -0
  5. package/dist/Blocks.js +2 -0
  6. package/dist/Blocks.js.map +1 -1
  7. package/dist/ContentPage.d.ts +2 -3
  8. package/dist/ContentPage.js +2 -2
  9. package/dist/ContentPage.js.map +1 -1
  10. package/dist/Footer/Contacts.d.ts +1 -1
  11. package/dist/Footer/Footer.d.ts +1 -3
  12. package/dist/Footer/Footer.js +2 -2
  13. package/dist/Footer/Footer.js.map +1 -1
  14. package/dist/Footer/Sitemap.d.ts +1 -1
  15. package/dist/Footer/SocialMedia.d.ts +1 -1
  16. package/dist/Footer/SocialMedia.js +4 -4
  17. package/dist/Footer/SocialMedia.js.map +1 -1
  18. package/dist/Footer/index.d.ts +2 -0
  19. package/dist/Footer/index.js +5 -0
  20. package/dist/Footer/index.js.map +1 -0
  21. package/dist/Header/Header.d.ts +1 -1
  22. package/dist/Header/Header.js +1 -1
  23. package/dist/Header/Header.js.map +1 -1
  24. package/dist/Header/HeaderSecondaryMenu.js +1 -1
  25. package/dist/Header/HeaderSecondaryMenu.js.map +1 -1
  26. package/dist/Header/HeaderSecondaryMenuButton.d.ts +1 -0
  27. package/dist/Header/HeaderSecondaryMenuButton.js +1 -1
  28. package/dist/Header/HeaderSecondaryMenuButton.js.map +1 -1
  29. package/dist/Icons/ActualBalanceIcon.d.ts +1 -1
  30. package/dist/Icons/CalendarIcon.d.ts +1 -1
  31. package/dist/Icons/ClockIcon.d.ts +1 -1
  32. package/dist/Icons/ComfortableCompIcon.d.ts +1 -1
  33. package/dist/Icons/EmptyWalletIcon.d.ts +1 -1
  34. package/dist/Icons/GridIcon.d.ts +1 -1
  35. package/dist/Icons/LoupeIcon.d.ts +1 -1
  36. package/dist/Icons/NewDocIcon.d.ts +1 -1
  37. package/dist/Icons/OkIcon.d.ts +1 -1
  38. package/dist/Icons/PassSendIcon.d.ts +1 -1
  39. package/dist/Icons/PercentageSquareIcon.d.ts +1 -1
  40. package/dist/Icons/ProfileIcon.d.ts +1 -1
  41. package/dist/Icons/SignDocsIcon.d.ts +1 -1
  42. package/dist/Icons/TelegramIcon.d.ts +1 -1
  43. package/dist/Icons/VKIcon.d.ts +1 -1
  44. package/dist/LikeControl.d.ts +1 -1
  45. package/dist/LikeControl.js +1 -1
  46. package/dist/LikeControl.js.map +1 -1
  47. package/dist/ProductBlock.d.ts +2 -8
  48. package/dist/ProductBlock.js +1 -1
  49. package/dist/ProductBlock.js.map +1 -1
  50. package/dist/ProductBlockInner.d.ts +1 -7
  51. package/dist/ProductBlockInner.js +4 -26
  52. package/dist/ProductBlockInner.js.map +1 -1
  53. package/dist/ProductGallery.d.ts +3 -5
  54. package/dist/ProductGallery.js +2 -2
  55. package/dist/ProductGallery.js.map +1 -1
  56. package/dist/StepsBlock.d.ts +8 -3
  57. package/dist/StepsBlock.js +4 -26
  58. package/dist/StepsBlock.js.map +1 -1
  59. package/dist/Tile.d.ts +1 -1
  60. package/dist/Tile.js +1 -1
  61. package/dist/Tile.js.map +1 -1
  62. package/dist/types.d.ts +5 -0
  63. package/dist/ui-kit/Button.d.ts +1 -0
  64. package/dist/ui-kit/Button.js +4 -4
  65. package/dist/ui-kit/Button.js.map +1 -1
  66. package/dist/ui-kit/LikeButton.d.ts +1 -0
  67. package/dist/ui-kit/LikeButton.js +1 -1
  68. package/dist/ui-kit/LikeButton.js.map +1 -1
  69. package/dist/ui-kit/SearchBar.d.ts +1 -1
  70. package/dist/ui-kit/TopItem.d.ts +1 -0
  71. package/dist/ui-kit/TopItem.js +2 -2
  72. package/dist/ui-kit/TopItem.js.map +1 -1
  73. package/dist/useLink.d.ts +1 -0
  74. package/dist/useLink.js +1 -0
  75. package/dist/useLink.js.map +1 -1
  76. package/dist/utils/url.d.ts +4 -4
  77. package/fonts/ubuntu/ubuntu.css +67 -0
  78. package/fonts/ubuntu/ubuntu.eot +0 -0
  79. package/fonts/ubuntu/ubuntu.ttf +0 -0
  80. package/fonts/ubuntu/ubuntu.woff +0 -0
  81. package/fonts/ubuntu/ubuntu.woff2 +0 -0
  82. package/fonts/ubuntu/ubuntubold.ttf +0 -0
  83. package/fonts/ubuntu/ubuntubold.woff +0 -0
  84. package/fonts/ubuntu/ubuntubold.woff2 +0 -0
  85. package/fonts/ubuntu/ubuntubolditalic.ttf +0 -0
  86. package/fonts/ubuntu/ubuntubolditalic.woff +0 -0
  87. package/fonts/ubuntu/ubuntubolditalic.woff2 +0 -0
  88. package/fonts/ubuntu/ubuntuitalic.ttf +0 -0
  89. package/fonts/ubuntu/ubuntuitalic.woff +0 -0
  90. package/fonts/ubuntu/ubuntuitalic.woff2 +0 -0
  91. package/fonts/ubuntu/ubuntulight.ttf +0 -0
  92. package/fonts/ubuntu/ubuntulight.woff +0 -0
  93. package/fonts/ubuntu/ubuntulight.woff2 +0 -0
  94. package/fonts/ubuntu/ubuntulightitalic.ttf +0 -0
  95. package/fonts/ubuntu/ubuntulightitalic.woff +0 -0
  96. package/fonts/ubuntu/ubuntulightitalic.woff2 +0 -0
  97. package/fonts/ubuntu/ubuntumedium.ttf +0 -0
  98. package/fonts/ubuntu/ubuntumedium.woff +0 -0
  99. package/fonts/ubuntu/ubuntumedium.woff2 +0 -0
  100. package/fonts/ubuntu/ubuntumediumitalic.ttf +0 -0
  101. package/fonts/ubuntu/ubuntumediumitalic.woff +0 -0
  102. package/fonts/ubuntu/ubuntumediumitalic.woff2 +0 -0
  103. package/lib/BenefitsBlock.d.ts +1 -7
  104. package/lib/BenefitsBlock.js +4 -3
  105. package/lib/BenefitsBlock.js.map +1 -1
  106. package/lib/Blocks.d.ts +1 -0
  107. package/lib/Blocks.js +2 -0
  108. package/lib/Blocks.js.map +1 -1
  109. package/lib/ContentPage.d.ts +2 -3
  110. package/lib/ContentPage.js +2 -2
  111. package/lib/ContentPage.js.map +1 -1
  112. package/lib/Footer/Contacts.d.ts +1 -1
  113. package/lib/Footer/Footer.d.ts +1 -3
  114. package/lib/Footer/Footer.js +2 -2
  115. package/lib/Footer/Footer.js.map +1 -1
  116. package/lib/Footer/Sitemap.d.ts +1 -1
  117. package/lib/Footer/SocialMedia.d.ts +1 -1
  118. package/lib/Footer/SocialMedia.js +1 -1
  119. package/lib/Footer/SocialMedia.js.map +1 -1
  120. package/lib/Footer/index.d.ts +2 -0
  121. package/lib/Footer/index.js +2 -0
  122. package/lib/Footer/index.js.map +1 -0
  123. package/lib/Header/Header.d.ts +1 -1
  124. package/lib/Header/Header.js +1 -1
  125. package/lib/Header/Header.js.map +1 -1
  126. package/lib/Header/HeaderSecondaryMenu.js +1 -1
  127. package/lib/Header/HeaderSecondaryMenu.js.map +1 -1
  128. package/lib/Header/HeaderSecondaryMenuButton.d.ts +1 -0
  129. package/lib/Header/HeaderSecondaryMenuButton.js +1 -1
  130. package/lib/Header/HeaderSecondaryMenuButton.js.map +1 -1
  131. package/lib/Icons/ActualBalanceIcon.d.ts +1 -1
  132. package/lib/Icons/CalendarIcon.d.ts +1 -1
  133. package/lib/Icons/ClockIcon.d.ts +1 -1
  134. package/lib/Icons/ComfortableCompIcon.d.ts +1 -1
  135. package/lib/Icons/EmptyWalletIcon.d.ts +1 -1
  136. package/lib/Icons/GridIcon.d.ts +1 -1
  137. package/lib/Icons/LoupeIcon.d.ts +1 -1
  138. package/lib/Icons/NewDocIcon.d.ts +1 -1
  139. package/lib/Icons/OkIcon.d.ts +1 -1
  140. package/lib/Icons/PassSendIcon.d.ts +1 -1
  141. package/lib/Icons/PercentageSquareIcon.d.ts +1 -1
  142. package/lib/Icons/ProfileIcon.d.ts +1 -1
  143. package/lib/Icons/SignDocsIcon.d.ts +1 -1
  144. package/lib/Icons/TelegramIcon.d.ts +1 -1
  145. package/lib/Icons/VKIcon.d.ts +1 -1
  146. package/lib/LikeControl.d.ts +1 -1
  147. package/lib/LikeControl.js +1 -1
  148. package/lib/LikeControl.js.map +1 -1
  149. package/lib/ProductBlock.d.ts +2 -8
  150. package/lib/ProductBlock.js +1 -1
  151. package/lib/ProductBlock.js.map +1 -1
  152. package/lib/ProductBlockInner.d.ts +1 -7
  153. package/lib/ProductBlockInner.js +4 -3
  154. package/lib/ProductBlockInner.js.map +1 -1
  155. package/lib/ProductGallery.d.ts +3 -5
  156. package/lib/ProductGallery.js +2 -2
  157. package/lib/ProductGallery.js.map +1 -1
  158. package/lib/StepsBlock.d.ts +8 -3
  159. package/lib/StepsBlock.js +4 -3
  160. package/lib/StepsBlock.js.map +1 -1
  161. package/lib/Tile.d.ts +1 -1
  162. package/lib/Tile.js +1 -1
  163. package/lib/Tile.js.map +1 -1
  164. package/lib/common.css +1 -1
  165. package/lib/types.d.ts +5 -0
  166. package/lib/ui-kit/Button.d.ts +1 -0
  167. package/lib/ui-kit/Button.js +4 -4
  168. package/lib/ui-kit/Button.js.map +1 -1
  169. package/lib/ui-kit/LikeButton.d.ts +1 -0
  170. package/lib/ui-kit/LikeButton.js +1 -1
  171. package/lib/ui-kit/LikeButton.js.map +1 -1
  172. package/lib/ui-kit/SearchBar.d.ts +1 -1
  173. package/lib/ui-kit/TopItem.d.ts +1 -0
  174. package/lib/ui-kit/TopItem.js +2 -2
  175. package/lib/ui-kit/TopItem.js.map +1 -1
  176. package/lib/useLink.d.ts +1 -0
  177. package/lib/useLink.js +1 -0
  178. package/lib/useLink.js.map +1 -1
  179. package/lib/utils/url.d.ts +4 -4
  180. package/package.json +44 -19
  181. package/lib/ubuntu.css +0 -1
@@ -1,5 +1,5 @@
1
1
  import type { HeaderContent } from './HeaderContent';
2
- import { UniBlocksComponentProps } from '../types';
2
+ import type { UniBlocksComponentProps } from '../types';
3
3
  export interface HeaderProps extends HeaderContent, UniBlocksComponentProps {
4
4
  }
5
5
  export declare const Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderProps, any>, context?: any) => any;
@@ -16,7 +16,7 @@ export const Header = JSX(({ className, location, context, topItems }) => {
16
16
  const activeTopItem = mergedItems.find(isTopItemActive(router));
17
17
  const subItems = activeTopItem?.items;
18
18
  const activeSubItem = subItems?.find(isSubItemActive(router));
19
- const topMenu = mergedItems.map((_, i) => (_jsx(TopItem, { active: _ === activeTopItem, ...useLink({ router, handlerDecorator }, _) }, String(i))));
19
+ const topMenu = mergedItems.map((_, i) => (_jsx(TopItem, { active: _ === activeTopItem, ...useLink({ router, handlerDecorator }, _), ariaLabel: _.text }, String(i))));
20
20
  const subMenu = subItems?.map((_) => (_jsx(HeaderItem, { className: "mr-8", active: _ === activeSubItem, ...useLink({ router, handlerDecorator }, _) }, _.href)));
21
21
  return (_jsxs("header", { className: `pt-5 pb-8 px-20 bg-white rounded-bl-3xl rounded-br-3xl ${className || ''}`, children: [_jsxs("div", { className: "flex items-center", children: [_jsx(Logo, { className: "mr-8" }), topMenu, _jsx(HeaderSecondaryMenu, { location: location, className: "ml-auto" })] }), _jsx("div", { className: "mt-5 h-[1px] bg-main-divider" }), _jsx("nav", { className: "mt-5", children: subMenu })] }));
22
22
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../src/Header/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB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opItem } from '../ui-kit/TopItem.js';
5
5
  import { HeaderSecondaryMenuButton } from './HeaderSecondaryMenuButton.js';
6
6
  export const HeaderSecondaryMenu = JSX(({ location, className }) => {
7
- return (_jsxs("div", { className: `flex items-center ${className || ''}`, children: [_jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location }), _jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B" }), _jsx(HeaderSecondaryMenuButton, { className: "mr-5 text-primary-text hover:text-primary-main", children: LoupeIcon() }), _jsx(HeaderSecondaryMenuButton, { className: "mr-5 text-primary-text hover:text-primary-main", children: ProfileIcon() }), _jsx(HeaderSecondaryMenuButton, { className: "mr-5 text-main hover:text-secondary-hover min-w-[32px] min-h-[32px]", children: GridIcon() })] }));
7
+ return (_jsxs("div", { className: `flex items-center ${className || ''}`, children: [_jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }), _jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432" }), _jsx(HeaderSecondaryMenuButton, { className: "mr-5 text-primary-text hover:text-primary-main", ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: LoupeIcon({ 'aria-hidden': true }) }), _jsx(HeaderSecondaryMenuButton, { className: "mr-5 text-primary-text hover:text-primary-main", ariaLabel: "\u041F\u0440\u043E\u0444\u0438\u043B\u044C", children: ProfileIcon({ 'aria-hidden': true }) }), _jsx(HeaderSecondaryMenuButton, { className: "mr-5 text-main hover:text-secondary-hover min-w-[32px] min-h-[32px]", ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: GridIcon({ 'aria-hidden': true }) })] }));
8
8
  });
9
9
  //# sourceMappingURL=HeaderSecondaryMenu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSecondaryMenu.js","sourceRoot":"","sources":["../../src/Header/HeaderSecondaryMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAOxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAA2B,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE;IAC3F,OAAO,CACL,eAAK,SAAS,EAAE,qBAAqB,SAAS,IAAI,EAAE,EAAE,aACpD,KAAC,OAAO,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,GAAG,EAAC,IAAI,EAAE,QAAQ,GAAI,EACjE,KAAC,OAAO,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,GAAG,EAAC,IAAI,EAAC,8FAAmB,GAAG,EAC1E,KAAC,yBAAyB,IAAC,SAAS,EAAC,gDAAgD,YAClF,SAAS,EAAE,GACc,EAC5B,KAAC,yBAAyB,IAAC,SAAS,EAAC,gDAAgD,YAClF,WAAW,EAAE,GACY,EAC5B,KAAC,yBAAyB,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C,QAAQ,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,GACR,IACxB,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  interface HeaderSecondaryMenuButtonProps {
2
2
  className?: string;
3
+ ariaLabel?: string;
3
4
  }
4
5
  export declare const HeaderSecondaryMenuButton: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderSecondaryMenuButtonProps, any>, context?: any) => any;
5
6
  export {};
@@ -1,4 +1,4 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const HeaderSecondaryMenuButton = JSX(({ className, children }) => (_jsx("button", { type: "button", className: `border-0 p-0 w-[24px] flex items-center bg-inherit cursor-pointer ${className || ''}`, disabled: true, children: children })));
3
+ export const HeaderSecondaryMenuButton = JSX(({ className, children, ariaLabel }) => (_jsx("button", { type: "button", className: `border-0 p-0 w-[24px] flex items-center bg-inherit cursor-pointer ${className || ''}`, disabled: true, "aria-label": ariaLabel, children: children })));
4
4
  //# sourceMappingURL=HeaderSecondaryMenuButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSecondaryMenuButton.js","sourceRoot":"","sources":["../../src/Header/HeaderSecondaryMenuButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAMxC,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAC1C,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC3B,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,qEACT,SAAS,IAAI,EACf,EAAE,EACF,QAAQ,EAAE,IAAI,YAEb,QAAQ,GACF,CACV,CACF,CAAC"}
1
+ {"version":3,"file":"HeaderSecondaryMenuButton.js","sourceRoot":"","sources":["../../src/Header/HeaderSecondaryMenuButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAOxC,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAC1C,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACtC,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,qEACT,SAAS,IAAI,EACf,EAAE,EACF,QAAQ,EAAE,IAAI,gBACF,SAAS,YAEpB,QAAQ,GACF,CACV,CACF,CAAC"}
@@ -1 +1 @@
1
- export declare const ActualBalanceIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const ActualBalanceIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const CalendarIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const CalendarIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const ClockIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const ClockIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const ComfortableCompIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const ComfortableCompIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const EmptyWalletIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const EmptyWalletIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const GridIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const GridIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const LoupeIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const LoupeIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const NewDocIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const NewDocIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const OkIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const OkIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const PassSendIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const PassSendIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const PercentageSquareIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const PercentageSquareIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const ProfileIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const ProfileIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const SignDocsIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const SignDocsIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const TelegramIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const TelegramIcon: (props?: Record<string, any>) => any;
@@ -1 +1 @@
1
- export declare const VKIcon: (props?: Record<string, any> | undefined) => any;
1
+ export declare const VKIcon: (props?: Record<string, any>) => any;
@@ -1,2 +1,2 @@
1
- import { UniBlocksComponentProps } from './types';
1
+ import type { UniBlocksComponentProps } from './types';
2
2
  export declare const LikeControl: (props: import("@redneckz/uni-jsx").PropsWithChildren<UniBlocksComponentProps, any>, context?: any) => any;
@@ -3,6 +3,6 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { LikeButton } from './ui-kit/LikeButton.js';
4
4
  export const LikeControl = JSX(({ className, context }) => {
5
5
  const likeService = context.useLikeService();
6
- return (_jsxs("div", { className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, children: [_jsx(LikeButton, { onClick: likeService.like }), _jsx(LikeButton, { onClick: likeService.dislike, className: "rotate-180" }), _jsx("span", { className: "select-none", children: likeService.likeCount })] }));
6
+ return (_jsxs("div", { className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, children: [_jsx(LikeButton, { onClick: likeService.like, ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), _jsx(LikeButton, { onClick: likeService.dislike, className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), _jsx("span", { className: "select-none", children: likeService.likeCount })] }));
7
7
  });
8
8
  //# sourceMappingURL=LikeControl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LikeControl.js","sourceRoot":"","sources":["../src/LikeControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAA0B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAE7C,OAAO,CACL,eACE,SAAS,EAAE,6GACT,SAAS,IAAI,EACf,EAAE,aAEF,KAAC,UAAU,IAAC,OAAO,EAAE,WAAW,CAAC,IAAI,GAAI,EACzC,KAAC,UAAU,IAAC,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,SAAS,EAAC,YAAY,GAAG,EACnE,eAAM,SAAS,EAAC,aAAa,YAAE,WAAW,CAAC,SAAS,GAAQ,IACxD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"LikeControl.js","sourceRoot":"","sources":["../src/LikeControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAA0B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAE7C,OAAO,CACL,eACE,SAAS,EAAE,6GACT,SAAS,IAAI,EACf,EAAE,aAEF,KAAC,UAAU,IAAC,OAAO,EAAE,WAAW,CAAC,IAAI,EAAE,SAAS,EAAC,wIAA0B,GAAG,EAC9E,KAAC,UAAU,IACT,OAAO,EAAE,WAAW,CAAC,OAAO,EAC5B,SAAS,EAAC,YAAY,EACtB,SAAS,EAAC,0JAA6B,GACvC,EACF,eAAM,SAAS,EAAC,aAAa,YAAE,WAAW,CAAC,SAAS,GAAQ,IACxD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,11 +1,5 @@
1
- import * as Icons from './Icons/index';
2
- import { ProductBlockInnerContent } from './ProductBlockInner';
3
- import { UniBlocksComponentProps } from './types';
4
- export interface Benefit {
5
- label: string;
6
- description?: string;
7
- icon?: keyof typeof Icons;
8
- }
1
+ import type { ProductBlockInnerContent } from './ProductBlockInner';
2
+ import type { UniBlocksComponentProps } from './types';
9
3
  export interface ProductBlockProps extends ProductBlockInnerContent, UniBlocksComponentProps {
10
4
  }
11
5
  export declare const ProductBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductBlockProps, any>, context?: any) => any;
@@ -3,6 +3,6 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { ProductBlockInner } from './ProductBlockInner.js';
4
4
  export const ProductBlock = JSX((props) => {
5
5
  const className = props.className;
6
- return (_jsx("section", { className: `bg-white p-11 pr-[7.5rem] rounded-[40px] ${className || ''}`, children: _jsx(ProductBlockInner, { ...props }) }));
6
+ return (_jsx("section", { className: `bg-white p-11 pr-[7.5rem] ${className || ''}`, children: _jsx(ProductBlockInner, { ...props }) }));
7
7
  });
8
8
  //# sourceMappingURL=ProductBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../src/ProductBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAA4B,MAAM,qBAAqB,CAAC;AAWlF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;IAClC,OAAO,CACL,kBAAS,SAAS,EAAE,4CAA4C,SAAS,IAAI,EAAE,EAAE,YAC/E,KAAC,iBAAiB,OAAK,KAAK,GAAI,GACxB,CACX,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../src/ProductBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAMxD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;IAClC,OAAO,CACL,kBAAS,SAAS,EAAE,6BAA6B,SAAS,IAAI,EAAE,EAAE,YAChE,KAAC,iBAAiB,OAAK,KAAK,GAAI,GACxB,CACX,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,12 +1,6 @@
1
- import * as Icons from './Icons/index';
2
- import { Picture, UniBlocksComponentProps } from './types';
1
+ import type { Picture, UniBlocksComponentProps, Benefit } from './types';
3
2
  import type { ButtonProps } from './ui-kit/Button';
4
3
  import { BreadcrumbProps } from './ui-kit/Breadcrumb';
5
- export interface Benefit {
6
- label: string;
7
- description?: string;
8
- icon?: keyof typeof Icons;
9
- }
10
4
  export interface ProductBlockInnerContent {
11
5
  title?: string;
12
6
  description?: string;
@@ -1,23 +1,24 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import * as Icons from './Icons/index.js';
3
+ import { EmptyWalletIcon, PercentageSquareIcon, CalendarIcon } from './Icons/index.js';
4
4
  import { Img } from './Img.js';
5
5
  import { BlockItem } from './ui-kit/BlockItem.js';
6
6
  import { Button } from './ui-kit/Button.js';
7
7
  import { Breadcrumb } from './ui-kit/Breadcrumb.js';
8
8
  import { useLink } from './useLink.js';
9
+ const ICONS = { EmptyWalletIcon, PercentageSquareIcon, CalendarIcon };
9
10
  export const ProductBlockInner = JSX(({ className, context, title, description, breadcrumbs, benefits, buttons, image, items }) => {
10
11
  const router = context.useRouter();
11
12
  const { handlerDecorator } = context;
12
13
  return (_jsxs("div", { className: `font-sans flex justify-between items-stretch ${className || ''}`, children: [_jsxs("div", { className: "flex flex-col", children: [breadcrumbs?.length ? (_jsx("div", { className: "text-xs mb-6", children: join(_jsx("span", { className: "text-secondary-text mx-2", children: "/" }))(breadcrumbs.map((breadcrumb, i) => (_jsx(Breadcrumb, { ...useLink({ router, handlerDecorator }, { className: 'text-secondary-text', ...breadcrumb }) }, String(i))))) })) : null, title && (_jsx("h1", { className: "font-medium text-title-lg m-0 whitespace-pre-wrap max-w-[600px]", children: title })), description && (_jsx("div", { className: "font-normal text-base max-w-[600px] mt-4", children: description })), benefits?.length ? (_jsx("div", { className: "flex gap-6 mt-7", children: benefits.map(renderBenefit) })) : null, items?.length ? (_jsx("section", { className: "space-y-2.5 mt-5", role: "list", children: items.map((_, i) => (_jsx(BlockItem, { text: _ }, String(i)))) })) : null, buttons?.length ? (_jsx("div", { className: "flex mt-auto gap-4", children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) })) : null] }), image?.src && _jsx(Img, { image: image, className: "mt-auto" })] }));
13
14
  });
14
15
  function renderBenefit(benefit, i) {
15
- return (_jsxs("div", { className: "flex gap-4 items-center", children: [benefit.icon && (_jsx("div", { className: "w-[50px] h-[50px] min-w-[50px] min-h-[50px] bg-main rounded-full p-[10px] box-border", children: Icons[benefit.icon]() })), _jsxs("div", { className: "flex gap-1 flex-col h-full", children: [_jsx("h4", { className: "font-medium text-xl m-0", children: benefit.label }), benefit.description && (_jsx("div", { className: "font-normal text-sm text-secondary-text", children: benefit.description }))] })] }, String(i)));
16
+ return (_jsxs("div", { className: "flex gap-4 items-center", children: [benefit.icon && (_jsx("div", { className: "w-[50px] h-[50px] min-w-[50px] min-h-[50px] bg-main rounded-full p-[10px] box-border", children: ICONS[benefit.icon]?.() })), _jsxs("div", { className: "flex gap-1 flex-col h-full", children: [_jsx("h4", { className: "font-medium text-xl m-0", children: benefit.label }), benefit.description && (_jsx("div", { className: "font-normal text-sm text-secondary-text", children: benefit.description }))] })] }, String(i)));
16
17
  }
17
18
  function renderButton(button, i) {
18
19
  return button?.text ? (_jsx(Button, { ...button, className: "mt-8", version: button.version }, String(i))) : null;
19
20
  }
20
21
  function join(sep) {
21
- return (list) => list.reduce((acc, el) => (acc.length ? acc.concat(sep, el) : [el]), []);
22
+ return (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: i }, el) : [el]), []);
22
23
  }
23
24
  //# sourceMappingURL=ProductBlockInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../src/ProductBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAmB,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoBpC,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EA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C;AACN,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { ContentPageContext } from './ContentPageContext';
2
- import { ProductBlockInnerContent } from './ProductBlockInner';
1
+ import type { ProductBlockInnerContent } from './ProductBlockInner';
2
+ import type { UniBlocksComponentProps } from './types';
3
3
  interface ProductGalleryNav {
4
4
  title: string;
5
5
  desc: string;
@@ -12,9 +12,7 @@ export interface ProductGalleryContent {
12
12
  duration?: number;
13
13
  slides?: ProductSlideContent[];
14
14
  }
15
- export interface ProductGalleryProps extends ProductGalleryContent {
16
- className?: string;
17
- context: ContentPageContext;
15
+ export interface ProductGalleryProps extends ProductGalleryContent, UniBlocksComponentProps {
18
16
  }
19
17
  export declare const ProductGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<ProductGalleryProps, any>, context?: any) => any;
20
18
  export {};
@@ -5,7 +5,7 @@ export const ProductGallery = JSX(({ className, context, duration = 0, slides =
5
5
  const galleryNav = slides.map((s) => s.nav);
6
6
  const galleryBlocks = slides.map((s) => s.productBlock);
7
7
  const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
8
- return (_jsxs("section", { className: `font-sans bg-white rounded-[40px] overflow-hidden w-100 ${className || ''}`, children: [_jsx("div", { className: `flex transition duration-1000`, style: { transform: `translateX(-${activeSlideIndex}00%)` }, children: galleryBlocks.map((_, i) => renderProductBlock(_, i, context)) }), _jsx("div", { className: `border-t border-solid border-main-divider grid grid-cols-${galleryNav.length}`, children: galleryNav.map((slide, i) => renderNavButton({
8
+ return (_jsxs("section", { className: `font-sans bg-white overflow-hidden w-100 ${className || ''}`, children: [_jsx("div", { className: `flex transition duration-1000`, style: { transform: `translateX(-${activeSlideIndex}00%)` }, children: galleryBlocks.map((_, i) => renderProductBlock(_, i, context)) }), _jsx("div", { className: `border-0 border-t border-solid border-main-divider grid grid-cols-${galleryNav.length}`, children: galleryNav.map((slide, i) => renderNavButton({
9
9
  slide,
10
10
  i,
11
11
  activeSlideIndex,
@@ -20,6 +20,6 @@ function renderNavButton({ slide, i, activeSlideIndex, onClick, duration }) {
20
20
  const isActiveBtn = i === activeSlideIndex;
21
21
  const progressBarClassName = isActiveBtn ? 'animate-slide' : '';
22
22
  const btnTitleClassName = isActiveBtn ? 'text-primary-text' : 'text-secondary-text';
23
- return (_jsxs("button", { type: "button", onClick: onClick, className: `group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 py-4`, children: [_jsxs("div", { className: "border-0 border-r border-solid border-main-divider px-6", children: [_jsx("div", { className: `text-sm font-medium group-hover:text-primary-text ${btnTitleClassName}`, children: slide.title }), _jsx("div", { className: "text-xs text-secondary-text", children: slide.desc })] }), _jsx("div", { className: `absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${progressBarClassName}`, style: { animationDuration: `${duration}s` } })] }, String(i)));
23
+ return (_jsxs("button", { type: "button", onClick: onClick, className: `group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 py-4`, children: [_jsxs("div", { className: "border-0 border-r border-solid border-main-divider px-6", children: [_jsx("div", { className: `text-sm font-medium group-hover:text-primary-text ${btnTitleClassName}`, children: slide?.title }), _jsx("div", { className: "text-xs text-secondary-text", children: slide.desc })] }), _jsx("div", { className: `absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${progressBarClassName}`, style: { animationDuration: `${duration}s` } })] }, String(i)));
24
24
  }
25
25
  //# sourceMappingURL=ProductGallery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../src/ProductGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAA4B,MAAM,qBAAqB,CAAC;AAsBlF,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE;IACpD,MAAM,UAAU,G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,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAChE,MAAM,iBAAiB,GAAG,WAAW,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,CAAC;IACpF,OAAO,CACL,kBACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,uFAAuF,aAElG,eAAK,SAAS,EAAC,yDAAyD,aACtE,cAAK,SAAS,EAAE,qDAAqD,iBAAiB,EAAE,YACrF,KAAK,EAAE,KAAK,GACT,EACN,cAAK,SAAS,EAAC,6BAA6B,YAAE,KAAK,CAAC,IAAI,GAAO,IAC3D,EACN,cACE,SAAS,EAAE,6EAA6E,oBAAoB,EAAE,EAC9G,KAAK,EAAE,EAAE,iBAAiB,EAAE,GAAG,QAAQ,GAAG,EAAE,GACvC,KAbF,MAAM,CAAC,CAAC,CAAC,CAcP,CACV,CAAC;AACJ,CAAC"}
@@ -1,9 +1,13 @@
1
- import * as Icons from './Icons/index';
2
- import { UniBlocksComponentProps } from './types';
1
+ import type { UniBlocksComponentProps } from './types';
2
+ declare const ICONS: {
3
+ NewDocIcon: (props?: Record<string, any> | undefined) => any;
4
+ PassSendIcon: (props?: Record<string, any> | undefined) => any;
5
+ ActualBalanceIcon: (props?: Record<string, any> | undefined) => any;
6
+ };
3
7
  export interface Step {
4
8
  label: string;
5
9
  description?: string;
6
- icon?: keyof typeof Icons;
10
+ icon?: keyof typeof ICONS;
7
11
  }
8
12
  export interface StepsBlockContent {
9
13
  title?: string;
@@ -12,3 +16,4 @@ export interface StepsBlockContent {
12
16
  export interface StepsBlockProps extends StepsBlockContent, UniBlocksComponentProps {
13
17
  }
14
18
  export declare const StepsBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<StepsBlockProps, any>, context?: any) => any;
19
+ export {};
package/lib/StepsBlock.js CHANGED
@@ -1,10 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import * as Icons from './Icons/index.js';
3
+ import { NewDocIcon, PassSendIcon, ActualBalanceIcon } from './Icons/index.js';
4
+ const ICONS = { NewDocIcon, PassSendIcon, ActualBalanceIcon };
4
5
  export const StepsBlock = JSX(({ className, title, steps }) => {
5
- return (_jsxs("section", { className: `font-sans text-primary-text bg-white px-12 py-20 rounded-[40px] flex flex-col items-center ${className || ''}`, children: [_jsx("h2", { className: "font-medium text-title m-0 max-w-[47rem] text-center", children: title }), steps?.length ? _jsx("div", { className: "flex mt-9", children: steps.map(renderStep) }) : null] }));
6
+ return (_jsxs("section", { className: `font-sans text-primary-text bg-white px-12 py-12 flex flex-col items-center ${className || ''}`, children: [_jsx("h2", { className: "font-medium text-title m-0 max-w-[47rem] text-center", children: title }), steps?.length ? _jsx("div", { className: "flex mt-9", children: steps.map(renderStep) }) : null] }));
6
7
  });
7
8
  const renderStep = (step, i) => {
8
- return (_jsxs("div", { className: "flex flex-col items-center text-center px-12 relative after:content-[''] last:after:content-none after:bg-secondary-light after:absolute after:top-[50px] after:h-0.5 after:w-full after:right-[-50%]", children: [_jsx("div", { className: "h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-[40px] p-[26px] box-border z-10", children: (step.icon && Icons[step.icon]?.({ width: 48, height: 48 })) || (_jsx("span", { className: "text-title-lg", children: i + 1 })) }), _jsxs("div", { className: "max-w-min", children: [_jsx("h5", { className: "font-medium text-xl m-0 mt-4 whitespace-nowrap px-3", children: step.label }), step.description && (_jsx("div", { className: "font-normal text-sm text-secondary-text mt-2", children: step.description }))] })] }, String(i)));
9
+ return (_jsxs("div", { className: "flex flex-col items-center text-center px-12 relative after:content-[''] last:after:content-none after:bg-secondary-light after:absolute after:top-[50px] after:h-0.5 after:w-full after:right-[-50%]", children: [_jsx("div", { className: "h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10", children: (step.icon && ICONS[step.icon]?.({ width: 48, height: 48 })) || (_jsx("span", { className: "font-medium text-title-sm text-secondary-text", children: i + 1 })) }), _jsxs("div", { className: "max-w-min", children: [_jsx("h5", { className: "font-medium text-xl m-0 mt-4 whitespace-nowrap px-3", children: step.label }), step.description && (_jsx("div", { className: "font-normal text-sm text-secondary-text mt-2", children: step.description }))] })] }, String(i)));
9
10
  };
10
11
  //# sourceMappingURL=StepsBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../src/StepsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAgBvC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IAC7E,OAAO,CACL,mBACE,SAAS,EAAE,8FACT,SAAS,IAAI,EACf,EAAE,aAEF,aAAI,SAAS,EAAC,sDAAsD,YAAE,KAAK,GAAM,EAChF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,WAAW,YAAE,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,IACxE,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,IAAU,EAAE,CAAS,EAAE,EAAE;IAC3C,OAAO,CACL,eAEE,SAAS,EAAC,uMAAuM,aAEjN,cAAK,SAAS,EAAC,4GAA4G,YACxH,CAAC,IAAI,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAC/D,eAAM,SAAS,EAAC,eAAe,YAAE,CAAC,GAAG,CAAC,GAAQ,CAC/C,GACG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,IAAI,CAC/D,eAAM,SAAS,EAAC,+CAA+C,YAAE,CAAC,GAAG,CAAC,GAAQ,CAC/E,GACG,EACN,eAAK,SAAS,EAAC,WAAW,aACxB,aAAI,SAAS,EAAC,qDAAqD,YAAE,IAAI,CAAC,KAAK,GAAM,EACpF,IAAI,CAAC,WAAW,IAAI,CACnB,cAAK,SAAS,EAAC,8CAA8C,YAAE,IAAI,CAAC,WAAW,GAAO,CACvF,IACG,KAbD,MAAM,CAAC,CAAC,CAAC,CAcV,CACP,CAAC;AACJ,CAAC,CAAC"}
package/lib/Tile.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BlockVersion, Picture, UniBlocksComponentProps } from './types';
1
+ import type { BlockVersion, Picture, UniBlocksComponentProps } from './types';
2
2
  import type { ButtonProps } from './ui-kit/Button';
3
3
  export interface TileContent {
4
4
  title?: string;
package/lib/Tile.js CHANGED
@@ -12,7 +12,7 @@ const TITLE_CLASSES = 'font-medium m-0 whitespace-pre-wrap max-w-[600px]';
12
12
  export const Tile = JSX(({ className, context, title, description, button, image, items, version = 'primary' }) => {
13
13
  const router = context.useRouter();
14
14
  const { handlerDecorator } = context;
15
- return (_jsx("section", { className: `font-sans p-9 rounded-[40px] flex justify-between items-stretch relative ${className || ''} ${tileStyleMap[version]}`, children: _jsxs("div", { className: "flex flex-col w-full", children: [title && renderTitle(title, className), _jsxs("div", { className: "flex justify-between h-full", children: [_jsxs("div", { className: "flex flex-col", children: [description && (_jsx("div", { className: "font-normal text-base max-w-[600px] mt-4", children: description })), items?.length ? (_jsx("section", { className: "space-y-2.5 mt-5 max-w-[600px]", role: "list", children: items.map((_, i) => (_jsx(BlockItem, { text: _, version: version }, String(i)))) })) : null, button?.text && (_jsx("div", { className: "mt-auto", children: _jsx(Button, { className: "mt-8", ...useLink({ router, handlerDecorator }, button), version: "secondary" }) }))] }), image?.src && (_jsx("div", { className: "mt-auto flex-none h-[220px] w-[220px]", children: _jsx(Img, { image: image }) }))] })] }) }));
15
+ return (_jsx("section", { className: `font-sans p-9 flex justify-between items-stretch relative ${className || ''} ${tileStyleMap[version]}`, children: _jsxs("div", { className: "flex flex-col w-full", children: [title && renderTitle(title, className), _jsxs("div", { className: "flex justify-between h-full", children: [_jsxs("div", { className: "flex flex-col", children: [description && (_jsx("div", { className: "font-normal text-base max-w-[600px] mt-4", children: description })), items?.length ? (_jsx("section", { className: "space-y-2.5 mt-5 max-w-[600px]", role: "list", children: items.map((_, i) => (_jsx(BlockItem, { text: _, version: version }, String(i)))) })) : null, button?.text && (_jsx("div", { className: "mt-auto", children: _jsx(Button, { className: "mt-8", ...useLink({ router, handlerDecorator }, button), version: "secondary" }) }))] }), image?.src && (_jsx("div", { className: "mt-auto flex-none h-[220px] w-[220px]", children: _jsx(Img, { image: image }) }))] })] }) }));
16
16
  });
17
17
  const renderTitle = (title, className = '') => {
18
18
  if (className.includes('col-span-4')) {
package/lib/Tile.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.js","sourceRoot":"","sources":["../src/Tile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAapC,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,aAAa,GAAG,mDAAmD,CAAC;AAE1E,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IACxF,MAAM,MAAM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G,KAAK,GAAM,CAAC;KACtE;IAED,OAAO,aAAI,SAAS,EAAE,GAAG,aAAa,aAAa,YAAG,KAAK,GAAM,CAAC;AACpE,CAAC,CAAC"}
package/lib/common.css CHANGED
@@ -1 +1 @@
1
- @import "./styles/fonts/ubuntu/ubuntu.css";[data-theme=pc]{--color-primary-main:#42ab44;--color-primary-hover:#248341;--color-primary-active:#245f34;--color-secondary-hover:#c5e2c6;--color-secondary-active:#d8f2d9}[data-theme=bc]{--color-primary-main:#83b83e;--color-primary-hover:#5c921d;--color-primary-active:#3c5e10;--color-secondary-hover:#e8f4d9;--color-secondary-active:#d8e3ca}[data-theme=eo]{--color-primary-main:#ddb63d;--color-primary-hover:#bb9727;--color-primary-active:#7e630c;--color-secondary-hover:#f1ecdd;--color-secondary-active:#e5dec7}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.top-4{top:1rem}.right-4{right:1rem}.bottom-0{bottom:0}.right-0{right:0}.left-0{left:0}.-bottom-2{bottom:-.5rem}.top-0{top:0}.z-10{z-index:10}.col-span-12{grid-column:span 12/span 12}.col-span-8{grid-column:span 8/span 8}.col-span-4{grid-column:span 4/span 4}.col-span-6{grid-column:span 6/span 6}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mt-8{margin-top:2rem}.mt-2{margin-top:.5rem}.mb-6{margin-bottom:1.5rem}.mt-4{margin-top:1rem}.mt-7{margin-top:1.75rem}.mt-5{margin-top:1.25rem}.mt-auto{margin-top:auto}.mt-9{margin-top:2.25rem}.mb-4{margin-bottom:1rem}.mr-8{margin-right:2rem}.ml-auto{margin-left:auto}.mr-5{margin-right:1.25rem}.mr-7{margin-right:1.75rem}.ml-2\.5{margin-left:.625rem}.ml-2{margin-left:.5rem}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-\[70px\]{height:70px}.h-8{height:2rem}.h-full{height:100%}.h-\[50px\]{height:50px}.h-\[3px\]{height:3px}.h-\[100px\]{height:100px}.h-\[220px\]{height:220px}.h-\[1px\]{height:1px}.h-\[8px\]{height:8px}.h-\[2px\]{height:2px}.h-\[24px\]{height:24px}.min-h-\[70px\]{min-height:70px}.min-h-\[50px\]{min-height:50px}.min-h-\[100px\]{min-height:100px}.min-h-\[32px\]{min-height:32px}.min-h-\[8px\]{min-height:8px}.w-\[70px\]{width:70px}.w-full{width:100%}.w-8{width:2rem}.w-\[125px\]{width:125px}.w-\[50px\]{width:50px}.w-\[100px\]{width:100px}.w-\[220px\]{width:220px}.w-\[280px\]{width:280px}.w-\[235px\]{width:235px}.w-\[24px\]{width:24px}.w-\[8px\]{width:8px}.w-\[36px\]{width:36px}.w-10{width:2.5rem}.min-w-\[70px\]{min-width:70px}.min-w-\[50px\]{min-width:50px}.min-w-\[100px\]{min-width:100px}.min-w-\[32px\]{min-width:32px}.min-w-\[8px\]{min-width:8px}.max-w-\[47rem\]{max-width:47rem}.max-w-\[580px\]{max-width:580px}.max-w-\[600px\]{max-width:600px}.max-w-min{max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content}.max-w-\[292px\]{max-width:292px}.max-w-\[170px\]{max-width:170px}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow-0{flex-grow:0}.grow{flex-grow:1}.basis-full{flex-basis:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.animate-slide{-webkit-animation:progress linear;animation:progress linear}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-5{gap:1.25rem}.gap-3{gap:.75rem}.gap-6{gap:1.5rem}.gap-4{gap:1rem}.gap-1{gap:.25rem}.gap-32{gap:8rem}.gap-11{gap:2.75rem}.gap-\[14px\]{gap:14px}.gap-2{gap:.5rem}.gap-3\.5{gap:.875rem}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.625rem*var(--tw-space-y-reverse));margin-top:calc(.625rem*(1 - var(--tw-space-y-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.rounded-\[40px\]{border-radius:40px}.rounded-full{border-radius:9999px}.rounded-3xl{border-radius:1.5rem}.rounded-l-full{border-bottom-left-radius:9999px;border-top-left-radius:9999px}.rounded-r-full{border-bottom-right-radius:9999px;border-top-right-radius:9999px}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-bl-3xl{border-bottom-left-radius:1.5rem}.rounded-br-3xl{border-bottom-right-radius:1.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-0{border-width:0}.border-x-0{border-left-width:0;border-right-width:0}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-solid{border-style:solid}.border-none{border-style:none}.border-main{--tw-border-opacity:1;border-color:rgb(240 244 240/var(--tw-border-opacity))}.border-main-divider{--tw-border-opacity:1;border-color:rgb(235 237 240/var(--tw-border-opacity))}.border-primary-main{border-color:var(--color-primary-main)}.border-transparent{border-color:transparent}.border-y-main-divider{--tw-border-opacity:1;border-bottom-color:rgb(235 237 240/var(--tw-border-opacity));border-top-color:rgb(235 237 240/var(--tw-border-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-secondary-light{--tw-bg-opacity:1;background-color:rgb(245 247 249/var(--tw-bg-opacity))}.bg-main{--tw-bg-opacity:1;background-color:rgb(240 244 240/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-inherit{background-color:inherit}.bg-primary-main{background-color:var(--color-primary-main)}.bg-main-divider{--tw-bg-opacity:1;background-color:rgb(235 237 240/var(--tw-bg-opacity))}.bg-secondary-dark{--tw-bg-opacity:1;background-color:rgb(226 228 229/var(--tw-bg-opacity))}.p-12{padding:3rem}.p-10{padding:2.5rem}.p-20{padding:5rem}.p-2{padding:.5rem}.p-11{padding:2.75rem}.p-\[10px\]{padding:10px}.p-\[26px\]{padding:26px}.p-9{padding:2.25rem}.p-0{padding:0}.px-0{padding-left:0;padding-right:0}.py-4{padding-bottom:1rem;padding-top:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-12{padding-left:3rem;padding-right:3rem}.py-20{padding-bottom:5rem;padding-top:5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-9{padding-left:2.25rem;padding-right:2.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.py-\[5px\]{padding-bottom:5px;padding-top:5px}.px-20{padding-left:5rem;padding-right:5rem}.py-3\.5{padding-bottom:.875rem;padding-top:.875rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-4{padding-left:1rem;padding-right:1rem}.pt-0{padding-top:0}.pr-\[7\.5rem\]{padding-right:7.5rem}.pr-28{padding-right:7rem}.pt-\[3px\]{padding-top:3px}.pt-\[5px\]{padding-top:5px}.pt-5{padding-top:1.25rem}.pb-8{padding-bottom:2rem}.pl-4{padding-left:1rem}.pl-\[170px\]{padding-left:170px}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:Ubuntu,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-title{font-size:2rem;line-height:2.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.375rem}.text-xs{font-size:.75rem;line-height:1.125rem}.text-title-lg{font-size:2.5rem;line-height:3rem}.text-base{font-size:1rem;line-height:1.25rem}.text-title-xs{font-size:1.5rem;line-height:1.875rem}.text-title-sm{font-size:1.75rem;line-height:2.5rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-primary-text{--tw-text-opacity:1;color:rgb(28 28 28/var(--tw-text-opacity))}.text-secondary-text{--tw-text-opacity:1;color:rgb(125 126 127/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-main{--tw-text-opacity:1;color:rgb(240 244 240/var(--tw-text-opacity))}.text-primary-main{color:var(--color-primary-main)}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-1000{transition-duration:1s}.rotate-180{transform:rotate(180deg)}.-translate-x-full{transform:translateX(-100%)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:top-\[50px\]:after{content:var(--tw-content);top:50px}.after\:right-\[-50\%\]:after{content:var(--tw-content);right:-50%}.after\:h-0\.5:after{content:var(--tw-content);height:.125rem}.after\:h-0:after{content:var(--tw-content);height:0}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:bg-secondary-light:after{--tw-bg-opacity:1;background-color:rgb(245 247 249/var(--tw-bg-opacity));content:var(--tw-content)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.last\:after\:content-none:last-child:after{--tw-content:none;content:var(--tw-content)}.visited\:text-secondary-text:visited{color:#7d7e7f}.hover\:bg-primary-hover:hover{background-color:var(--color-primary-hover)}.hover\:bg-secondary-hover:hover{background-color:var(--color-secondary-hover)}.hover\:text-primary-text:hover{--tw-text-opacity:1;color:rgb(28 28 28/var(--tw-text-opacity))}.hover\:text-primary-main:hover{color:var(--color-primary-main)}.hover\:text-secondary-hover:hover{color:var(--color-secondary-hover)}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.active\:bg-primary-active:active{background-color:var(--color-primary-active)}.active\:bg-secondary-active:active{background-color:var(--color-secondary-active)}.group:hover .group-hover\:text-primary-text{--tw-text-opacity:1;color:rgb(28 28 28/var(--tw-text-opacity))}@media (min-width:1280px) and (max-width:1535px){.xl\:w-\[220px\]{width:220px}.xl\:gap-8{gap:2rem}.xl\:gap-5{gap:1.25rem}}
1
+ @import "../fonts/ubuntu/ubuntu.css";[data-theme=pc]{--color-primary-main:#42ab44;--color-primary-hover:#248341;--color-primary-active:#245f34;--color-secondary-hover:#c5e2c6;--color-secondary-active:#d8f2d9}[data-theme=bc]{--color-primary-main:#83b83e;--color-primary-hover:#5c921d;--color-primary-active:#3c5e10;--color-secondary-hover:#e8f4d9;--color-secondary-active:#d8e3ca}[data-theme=eo]{--color-primary-main:#ddb63d;--color-primary-hover:#bb9727;--color-primary-active:#7e630c;--color-secondary-hover:#f1ecdd;--color-secondary-active:#e5dec7}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.top-4{top:1rem}.right-4{right:1rem}.bottom-0{bottom:0}.right-0{right:0}.left-0{left:0}.-bottom-2{bottom:-.5rem}.top-0{top:0}.z-10{z-index:10}.col-span-12{grid-column:span 12/span 12}.col-span-8{grid-column:span 8/span 8}.col-span-4{grid-column:span 4/span 4}.col-span-6{grid-column:span 6/span 6}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mt-9{margin-top:2.25rem}.mt-2{margin-top:.5rem}.mb-6{margin-bottom:1.5rem}.mt-4{margin-top:1rem}.mt-7{margin-top:1.75rem}.mt-5{margin-top:1.25rem}.mt-auto{margin-top:auto}.mt-8{margin-top:2rem}.mb-4{margin-bottom:1rem}.mr-8{margin-right:2rem}.ml-auto{margin-left:auto}.mr-5{margin-right:1.25rem}.mr-7{margin-right:1.75rem}.ml-2\.5{margin-left:.625rem}.ml-2{margin-left:.5rem}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-\[70px\]{height:70px}.h-8{height:2rem}.h-full{height:100%}.h-\[50px\]{height:50px}.h-\[3px\]{height:3px}.h-\[100px\]{height:100px}.h-\[220px\]{height:220px}.h-\[1px\]{height:1px}.h-\[8px\]{height:8px}.h-\[2px\]{height:2px}.h-\[24px\]{height:24px}.min-h-\[70px\]{min-height:70px}.min-h-\[50px\]{min-height:50px}.min-h-\[100px\]{min-height:100px}.min-h-\[32px\]{min-height:32px}.min-h-\[8px\]{min-height:8px}.w-\[70px\]{width:70px}.w-full{width:100%}.w-8{width:2rem}.w-\[125px\]{width:125px}.w-\[50px\]{width:50px}.w-\[100px\]{width:100px}.w-\[220px\]{width:220px}.w-\[280px\]{width:280px}.w-\[235px\]{width:235px}.w-\[24px\]{width:24px}.w-\[8px\]{width:8px}.w-\[36px\]{width:36px}.w-10{width:2.5rem}.min-w-\[70px\]{min-width:70px}.min-w-\[50px\]{min-width:50px}.min-w-\[100px\]{min-width:100px}.min-w-\[32px\]{min-width:32px}.min-w-\[8px\]{min-width:8px}.max-w-\[47rem\]{max-width:47rem}.max-w-\[580px\]{max-width:580px}.max-w-\[600px\]{max-width:600px}.max-w-min{max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content}.max-w-\[292px\]{max-width:292px}.max-w-\[170px\]{max-width:170px}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow-0{flex-grow:0}.grow{flex-grow:1}.basis-full{flex-basis:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.animate-slide{-webkit-animation:progress linear;animation:progress linear}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-5{gap:1.25rem}.gap-1{gap:.25rem}.gap-3{gap:.75rem}.gap-6{gap:1.5rem}.gap-4{gap:1rem}.gap-32{gap:8rem}.gap-11{gap:2.75rem}.gap-\[14px\]{gap:14px}.gap-2{gap:.5rem}.gap-3\.5{gap:.875rem}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.625rem*var(--tw-space-y-reverse));margin-top:calc(.625rem*(1 - var(--tw-space-y-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-3xl{border-radius:1.5rem}.rounded-l-full{border-bottom-left-radius:9999px;border-top-left-radius:9999px}.rounded-r-full{border-bottom-right-radius:9999px;border-top-right-radius:9999px}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-bl-3xl{border-bottom-left-radius:1.5rem}.rounded-br-3xl{border-bottom-right-radius:1.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-0{border-width:0}.border-x-0{border-left-width:0;border-right-width:0}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-solid{border-style:solid}.border-none{border-style:none}.border-main{--tw-border-opacity:1;border-color:rgb(240 244 240/var(--tw-border-opacity))}.border-main-divider{--tw-border-opacity:1;border-color:rgb(235 237 240/var(--tw-border-opacity))}.border-primary-main{border-color:var(--color-primary-main)}.border-transparent{border-color:transparent}.border-y-main-divider{--tw-border-opacity:1;border-bottom-color:rgb(235 237 240/var(--tw-border-opacity));border-top-color:rgb(235 237 240/var(--tw-border-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-main{--tw-bg-opacity:1;background-color:rgb(240 244 240/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-inherit{background-color:inherit}.bg-primary-main{background-color:var(--color-primary-main)}.bg-secondary-light{--tw-bg-opacity:1;background-color:rgb(245 247 249/var(--tw-bg-opacity))}.bg-main-divider{--tw-bg-opacity:1;background-color:rgb(235 237 240/var(--tw-bg-opacity))}.bg-secondary-dark{--tw-bg-opacity:1;background-color:rgb(226 228 229/var(--tw-bg-opacity))}.p-12{padding:3rem}.p-10{padding:2.5rem}.p-20{padding:5rem}.p-2{padding:.5rem}.p-11{padding:2.75rem}.p-\[10px\]{padding:10px}.p-\[26px\]{padding:26px}.p-9{padding:2.25rem}.p-0{padding:0}.px-0{padding-left:0;padding-right:0}.py-4{padding-bottom:1rem;padding-top:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-12{padding-left:3rem;padding-right:3rem}.py-12{padding-bottom:3rem;padding-top:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-9{padding-left:2.25rem;padding-right:2.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.py-\[5px\]{padding-bottom:5px;padding-top:5px}.px-20{padding-left:5rem;padding-right:5rem}.py-3\.5{padding-bottom:.875rem;padding-top:.875rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-4{padding-left:1rem;padding-right:1rem}.pb-2{padding-bottom:.5rem}.pt-0{padding-top:0}.pr-\[7\.5rem\]{padding-right:7.5rem}.pr-28{padding-right:7rem}.pt-\[3px\]{padding-top:3px}.pt-\[5px\]{padding-top:5px}.pt-5{padding-top:1.25rem}.pb-8{padding-bottom:2rem}.pl-4{padding-left:1rem}.pl-\[170px\]{padding-left:170px}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:Ubuntu,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-title{font-size:2rem;line-height:2.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.375rem}.text-xs{font-size:.75rem;line-height:1.125rem}.text-title-lg{font-size:2.5rem;line-height:3rem}.text-base{font-size:1rem;line-height:1.25rem}.text-title-sm{font-size:1.75rem;line-height:2.5rem}.text-title-xs{font-size:1.5rem;line-height:1.875rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-primary-text{--tw-text-opacity:1;color:rgb(28 28 28/var(--tw-text-opacity))}.text-secondary-text{--tw-text-opacity:1;color:rgb(125 126 127/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-main{--tw-text-opacity:1;color:rgb(240 244 240/var(--tw-text-opacity))}.text-primary-main{color:var(--color-primary-main)}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-1000{transition-duration:1s}.rotate-180{transform:rotate(180deg)}.-translate-x-full{transform:translateX(-100%)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:top-\[50px\]:after{content:var(--tw-content);top:50px}.after\:right-\[-50\%\]:after{content:var(--tw-content);right:-50%}.after\:h-0\.5:after{content:var(--tw-content);height:.125rem}.after\:h-0:after{content:var(--tw-content);height:0}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:bg-secondary-light:after{--tw-bg-opacity:1;background-color:rgb(245 247 249/var(--tw-bg-opacity));content:var(--tw-content)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.last\:after\:content-none:last-child:after{--tw-content:none;content:var(--tw-content)}.visited\:text-secondary-text:visited{color:#7d7e7f}.hover\:bg-primary-hover:hover{background-color:var(--color-primary-hover)}.hover\:bg-secondary-hover:hover{background-color:var(--color-secondary-hover)}.hover\:text-primary-text:hover{--tw-text-opacity:1;color:rgb(28 28 28/var(--tw-text-opacity))}.hover\:text-primary-main:hover{color:var(--color-primary-main)}.hover\:text-secondary-hover:hover{color:var(--color-secondary-hover)}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.active\:bg-primary-active:active{background-color:var(--color-primary-active)}.active\:bg-secondary-active:active{background-color:var(--color-secondary-active)}.group:hover .group-hover\:text-primary-text{--tw-text-opacity:1;color:rgb(28 28 28/var(--tw-text-opacity))}@media (min-width:1280px) and (max-width:1535px){.xl\:w-\[220px\]{width:220px}.xl\:gap-8{gap:2rem}.xl\:gap-5{gap:1.25rem}}
package/lib/types.d.ts CHANGED
@@ -63,3 +63,8 @@ export declare type NavMenuItem = LinkContent;
63
63
  export interface TopMenuItem extends NavMenuItem {
64
64
  items?: NavMenuItem[];
65
65
  }
66
+ export interface Benefit {
67
+ label: string;
68
+ description?: string;
69
+ icon?: string;
70
+ }
@@ -4,6 +4,7 @@ export interface ButtonProps extends LinkContent {
4
4
  className?: string;
5
5
  onClick?: (ev: MouseEvent) => any;
6
6
  version?: ButtonVersion;
7
+ ariaLabel?: string;
7
8
  disabled?: Boolean;
8
9
  }
9
10
  export declare const Button: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonProps, any>, context?: any) => any;
@@ -8,11 +8,11 @@ const buttonDisabledStyleMap = {
8
8
  primary: 'bg-secondary-dark text-secondary-text',
9
9
  secondary: 'bg-secondary-light text-secondary-text',
10
10
  };
11
- const styleButton = 'inline-block rounded-3xl px-9 py-3.5 text-center font-sans';
12
- export const Button = JSX(({ className, text, href, target, onClick, children, disabled, version = 'primary' }) => {
11
+ const styleButton = 'inline-block rounded-md px-9 py-3.5 text-center font-sans';
12
+ export const Button = JSX(({ className, text, href, target, onClick, children, disabled, version = 'primary', ariaLabel, }) => {
13
13
  if (disabled) {
14
- return (_jsx("div", { role: "button", "area-disabled": "true", className: `${styleButton} select-none ${buttonDisabledStyleMap[version]} ${className || ''}`, children: _jsx("span", { className: "text-sm font-medium", children: text || children }) }));
14
+ return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabindex: "-1", className: `${styleButton} select-none ${buttonDisabledStyleMap[version]} ${className || ''}`, children: _jsx("span", { className: "text-sm font-medium", children: text || children }) }));
15
15
  }
16
- return (_jsx("a", { className: `${styleButton} no-underline ${buttonStyleMap[version]} ${className || ''}`, href: href, target: target, onClick: onClick, children: _jsx("span", { className: "text-sm font-medium", children: text || children }) }));
16
+ return (_jsx("a", { className: `${styleButton} no-underline ${buttonStyleMap[version]} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, children: _jsx("span", { className: "text-sm font-medium", children: text || children }) }));
17
17
  });
18
18
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../src/ui-kit/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAWxC,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,0FAA0F;CAC7F,CAAC;AAEF,MAA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GAAG,GAAG,CACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,GAAG,SAAS,EACnB,SAAS,GACV,EAAE,EAAE;IACH,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAC,IAAI,EACb,SAAS,EAAE,GAAG,WAAW,gBAAgB,sBAAsB,CAAC,OAAO,CAAC,IACtE,SAAS,IAAI,EACf,EAAE,YAEF,eAAM,SAAS,EAAC,qBAAqB,YAAE,IAAI,IAAI,QAAQ,GAAQ,GAC3D,CACP,CAAC;KACH;IAED,OAAO,CACL,YACE,SAAS,EAAE,GAAG,WAAW,iBAAiB,cAAc,CAAC,OAAO,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,EACtF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,YAErB,eAAM,SAAS,EAAC,qBAAqB,YAAE,IAAI,IAAI,QAAQ,GAAQ,GAC7D,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export interface LikeButtonProps {
2
2
  className?: string;
3
3
  onClick?: (ev: MouseEvent) => any;
4
+ ariaLabel?: string;
4
5
  }
5
6
  export declare const LikeButton: (props: import("@redneckz/uni-jsx").PropsWithChildren<LikeButtonProps, any>, context?: any) => any;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const LikeButton = JSX(({ className, onClick }) => (_jsx("button", { type: "button", className: `border-0 w-[36px] bg-inherit cursor-pointer ${className || ''}`, onClick: onClick, children: renderLikeIcon() })));
3
+ export const LikeButton = JSX(({ className, onClick, ariaLabel }) => (_jsx("button", { type: "button", className: `border-0 w-[36px] bg-inherit cursor-pointer ${className || ''}`, onClick: onClick, "aria-label": ariaLabel, children: renderLikeIcon() })));
4
4
  const renderLikeIcon = () => {
5
5
  const params = {
6
6
  stroke: '#292D32',
@@ -1 +1 @@
1
- {"version":3,"file":"LikeButton.js","sourceRoot":"","sources":["../../src/ui-kit/LikeButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAOxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACzE,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,+CAA+C,SAAS,IAAI,EAAE,EAAE,EAC3E,OAAO,EAAE,OAAO,YAEf,cAAc,EAAE,GACV,CACV,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,GAAG,EAAE;IAC1B,MAAM,MAAM,GAAG;QACb,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,OAAO;QACtB,cAAc,EAAE,OAAO;QACvB,WAAW,EAAE,KAAK;KACnB,CAAC;IAEF,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,aACrE,kBACM,MAAM,EACV,gBAAgB,EAAC,IAAI,EACrB,CAAC,EAAC,wLAAwL,GAC1L,EACF,kBACM,MAAM,EACV,CAAC,EAAC,oGAAoG,GACtG,IACE,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"LikeButton.js","sourceRoot":"","sources":["../../src/ui-kit/LikeButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACpF,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,+CAA+C,SAAS,IAAI,EAAE,EAAE,EAC3E,OAAO,EAAE,OAAO,gBACJ,SAAS,YAEpB,cAAc,EAAE,GACV,CACV,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,GAAG,EAAE;IAC1B,MAAM,MAAM,GAAG;QACb,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,OAAO;QACtB,cAAc,EAAE,OAAO;QACvB,WAAW,EAAE,KAAK;KACnB,CAAC;IAEF,OAAO,CACL,eAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,aACrE,kBACM,MAAM,EACV,gBAAgB,EAAC,IAAI,EACrB,CAAC,EAAC,wLAAwL,GAC1L,EACF,kBACM,MAAM,EACV,CAAC,EAAC,oGAAoG,GACtG,IACE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- import { UniBlocksComponentProps } from '../types';
1
+ import type { UniBlocksComponentProps } from '../types';
2
2
  export declare const SearchBar: (props: import("@redneckz/uni-jsx").PropsWithChildren<UniBlocksComponentProps, any>, context?: any) => any;
@@ -5,6 +5,7 @@ export interface TopItemContent extends LinkContent {
5
5
  export interface TopItemProps extends TopItemContent {
6
6
  className?: string;
7
7
  flat?: boolean;
8
+ ariaLabel?: string;
8
9
  onClick?: (ev: MouseEvent) => any;
9
10
  }
10
11
  export declare const TopItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<TopItemProps, any>, context?: any) => any;
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const TopItem = JSX(({ className, text, href, target, active, flat, onClick, children }) => {
3
+ export const TopItem = JSX(({ className, text, href, target, active, flat, onClick, children, ariaLabel }) => {
4
4
  const linkStyle = active ? 'border-primary-main rounded-3xl' : 'border-transparent';
5
5
  const textStyle = active
6
6
  ? 'text-primary-main'
7
7
  : `${flat ? 'text-primary-text' : 'text-secondary-text'} hover:text-primary-main`;
8
- return (_jsx("a", { className: `inline-block border border-solid bg-transparent text-center no-underline ${flat ? '' : 'px-4 py-2'} ${linkStyle} ${className || ''}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", children: _jsx("span", { className: `font-sans font-normal text-sm ${textStyle}`, children: text || children }) }));
8
+ return (_jsx("a", { className: `inline-block border border-solid bg-transparent text-center no-underline ${flat ? '' : 'px-4 py-2'} ${linkStyle} ${className || ''}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: _jsx("span", { className: `font-sans font-normal text-sm ${textStyle}`, children: text || children }) }));
9
9
  });
10
10
  //# sourceMappingURL=TopItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopItem.js","sourceRoot":"","sources":["../../src/ui-kit/TopItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAaxC,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,MAAM,SAAS,GAAG,MAAM,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,CAAC,oBAAoB,CAAC;IACpF,MAAM,SAAS,GAAG,MAAM;QACtB,CAAC,CAAC,mBAAmB;QACrB,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,0BAA0B,CAAC;IACpF,OAAO,CACL,YACE,SAAS,EAAE,4EACT,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WACd,IAAI,SAAS,IAAI,SAAS,IAAI,EAAE,EAAE,EAClC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAC,qBAAq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