@modul/mbui 1.1.0-beta-test-b22e5ed1 → 1.1.0-beta-whitebusinesslanding-15cf1cee

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 (168) hide show
  1. package/dist/Alert/index.js +1 -1
  2. package/dist/Checkbox/index.js +2 -2
  3. package/dist/Chip/Chip.d.ts +1 -1
  4. package/dist/Collapsible/index.js +2 -2
  5. package/dist/Counter/index.js +3 -3
  6. package/dist/DatePicker/index.js +5 -5
  7. package/dist/DrawerDatePicker/index.js +4 -4
  8. package/dist/Icon/icons/LikeSolid.d.ts +4 -0
  9. package/dist/Icon/icons/Sorting.d.ts +4 -0
  10. package/dist/Icon/icons/index.d.ts +2 -0
  11. package/dist/Icon/icons/index.js +1 -1
  12. package/dist/Icon/index.js +1 -1
  13. package/dist/Input-OTP/Input.d.ts +4 -4
  14. package/dist/LandingPage/WhiteBusiness/WhiteBusinessPage.d.ts +1 -1
  15. package/dist/LandingPage/WhiteBusiness/components/Consultation.d.ts +4 -3
  16. package/dist/LandingPage/WhiteBusiness/components/Hero.d.ts +2 -2
  17. package/dist/LandingPage/WhiteBusiness/components/PageNavbar.d.ts +1 -0
  18. package/dist/LandingPage/WhiteBusiness/components/ProgressBarWidget.d.ts +7 -6
  19. package/dist/LandingPage/WhiteBusiness/components/StickyFooter.d.ts +5 -0
  20. package/dist/LandingPage/WhiteBusiness/components/index.d.ts +1 -0
  21. package/dist/LandingPage/WhiteBusiness/components/index.js +76 -85
  22. package/dist/LandingPage/WhiteBusiness/components/style.d.ts +0 -1
  23. package/dist/LandingPage/index.d.ts +1 -1
  24. package/dist/LandingPage/index.js +76 -85
  25. package/dist/Loading/index.js +1 -1
  26. package/dist/PDFViewer/index.js +6 -6
  27. package/dist/Page/index.js +3 -2
  28. package/dist/Select/Autocomplete.d.ts +1 -0
  29. package/dist/Select/SelectDrawer/index.js +4 -4
  30. package/dist/Select/components/index.js +2 -13
  31. package/dist/Select/index.css +1 -0
  32. package/dist/Select/index.js +606 -62
  33. package/dist/Stepper/index.js +1 -1
  34. package/dist/Toaster/index.js +2 -2
  35. package/dist/assets/css/global.css +3 -2
  36. package/dist/assets/images/src/assets/images/flex-solo-hero.png +0 -0
  37. package/dist/assets/images/src/assets/images/icons/backcards/default.svg +1 -0
  38. package/dist/assets/images/src/assets/images/icons/backcards/mabl5.svg +1 -0
  39. package/dist/assets/images/src/assets/images/icons/backcards/mamo2.svg +1 -0
  40. package/dist/assets/images/src/assets/images/icons/backcards/maod2.svg +1 -0
  41. package/dist/assets/images/src/assets/images/icons/backcards/mb06.svg +1 -0
  42. package/dist/assets/images/src/assets/images/icons/backcards/mir1d.svg +1 -0
  43. package/dist/assets/images/src/assets/images/icons/backcards/mirmd.svg +1 -0
  44. package/dist/assets/images/src/assets/images/icons/backcards/mirn.svg +1 -0
  45. package/dist/assets/images/src/assets/images/icons/backcards/mirpt.svg +1 -0
  46. package/dist/assets/images/src/assets/images/icons/backcards/mirs.svg +1 -0
  47. package/dist/assets/images/src/assets/images/icons/backcards/mirsd.svg +1 -0
  48. package/dist/assets/images/src/assets/images/icons/backcards/mirst-backside.svg +1 -0
  49. package/dist/assets/images/src/assets/images/icons/backcards/mirst.svg +1 -0
  50. package/dist/assets/images/src/assets/images/icons/backcards/vb07.svg +1 -0
  51. package/dist/assets/images/src/assets/images/icons/banks/sprite.svg +1 -0
  52. package/dist/assets/images/src/assets/images/icons/cardtype/default.svg +1 -0
  53. package/dist/assets/images/src/assets/images/icons/cardtype/sprite.svg +1 -0
  54. package/dist/assets/images/src/assets/images/icons/other/icon-contact.svg +1 -0
  55. package/dist/assets/images/src/assets/images/icons/other/user-avatar.svg +1 -0
  56. package/dist/assets/images/src/assets/images/logo/garant/emblem-white.svg +1 -0
  57. package/dist/assets/images/src/assets/images/logo/garant/emblem.svg +1 -0
  58. package/dist/assets/images/src/assets/images/logo/garant/logo-white.svg +1 -0
  59. package/dist/assets/images/src/assets/images/logo/garant/logo.svg +1 -0
  60. package/dist/assets/images/src/assets/images/logo/kassa/emblem-white.svg +1 -0
  61. package/dist/assets/images/src/assets/images/logo/kassa/emblem.svg +1 -0
  62. package/dist/assets/images/src/assets/images/logo/kassa/logo-white.svg +1 -0
  63. package/dist/assets/images/src/assets/images/logo/kassa/logo.svg +1 -0
  64. package/dist/assets/images/src/assets/images/user-avatar.svg +1 -0
  65. package/dist/assets/images/src/assets/images/white-business/add-email-bonus.svg +1 -0
  66. package/dist/assets/images/src/assets/images/white-business/counterparty.svg +1 -0
  67. package/dist/assets/images/src/assets/images/white-business/white-business-shield.svg +1 -0
  68. package/dist/assets/images/white-business/add-email-bonus.svg +1 -0
  69. package/dist/assets/images/white-business/counterparty.svg +1 -0
  70. package/dist/assets/images/white-business/white-business-shield.svg +1 -0
  71. package/dist/index.d.ts +2 -2
  72. package/dist/index.js +76 -85
  73. package/package.json +1 -1
  74. /package/dist/assets/images/{empty-bg.svg → src/assets/images/bankcards/empty-bg.svg} +0 -0
  75. /package/dist/assets/images/{empty.svg → src/assets/images/bankcards/empty.svg} +0 -0
  76. /package/dist/assets/images/{mabl5-bg.svg → src/assets/images/bankcards/mabl5-bg.svg} +0 -0
  77. /package/dist/assets/images/{mabl5.svg → src/assets/images/bankcards/mabl5.svg} +0 -0
  78. /package/dist/assets/images/{mamo2-bg.svg → src/assets/images/bankcards/mamo2-bg.svg} +0 -0
  79. /package/dist/assets/images/{mamo2.svg → src/assets/images/bankcards/mamo2.svg} +0 -0
  80. /package/dist/assets/images/{maod2-bg.svg → src/assets/images/bankcards/maod2-bg.svg} +0 -0
  81. /package/dist/assets/images/{maod2.svg → src/assets/images/bankcards/maod2.svg} +0 -0
  82. /package/dist/assets/images/{mask.svg → src/assets/images/bankcards/mask.svg} +0 -0
  83. /package/dist/assets/images/{mb06-bg.svg → src/assets/images/bankcards/mb06-bg.svg} +0 -0
  84. /package/dist/assets/images/{mb06.svg → src/assets/images/bankcards/mb06.svg} +0 -0
  85. /package/dist/assets/images/{mir1-bg.svg → src/assets/images/bankcards/mir1-bg.svg} +0 -0
  86. /package/dist/assets/images/{mir1.svg → src/assets/images/bankcards/mir1.svg} +0 -0
  87. /package/dist/assets/images/{mir1d-bg.svg → src/assets/images/bankcards/mir1d-bg.svg} +0 -0
  88. /package/dist/assets/images/{mir1d.svg → src/assets/images/bankcards/mir1d.svg} +0 -0
  89. /package/dist/assets/images/{mirmd-bg.svg → src/assets/images/bankcards/mirmd-bg.svg} +0 -0
  90. /package/dist/assets/images/{mirmd.svg → src/assets/images/bankcards/mirmd.svg} +0 -0
  91. /package/dist/assets/images/{mirn-bg.svg → src/assets/images/bankcards/mirn-bg.svg} +0 -0
  92. /package/dist/assets/images/{mirn.svg → src/assets/images/bankcards/mirn.svg} +0 -0
  93. /package/dist/assets/images/{mirp-bg.svg → src/assets/images/bankcards/mirp-bg.svg} +0 -0
  94. /package/dist/assets/images/{mirp.svg → src/assets/images/bankcards/mirp.svg} +0 -0
  95. /package/dist/assets/images/{mirs-bg.svg → src/assets/images/bankcards/mirs-bg.svg} +0 -0
  96. /package/dist/assets/images/{mirs.svg → src/assets/images/bankcards/mirs.svg} +0 -0
  97. /package/dist/assets/images/{mirsd-bg.svg → src/assets/images/bankcards/mirsd-bg.svg} +0 -0
  98. /package/dist/assets/images/{mirsd.svg → src/assets/images/bankcards/mirsd.svg} +0 -0
  99. /package/dist/assets/images/{mirst-bg.svg → src/assets/images/bankcards/mirst-bg.svg} +0 -0
  100. /package/dist/assets/images/{mirst.svg → src/assets/images/bankcards/mirst.svg} +0 -0
  101. /package/dist/assets/images/{mirst2.svg → src/assets/images/bankcards/mirst2.svg} +0 -0
  102. /package/dist/assets/images/{mov02-bg.svg → src/assets/images/bankcards/mov02-bg.svg} +0 -0
  103. /package/dist/assets/images/{mov02.svg → src/assets/images/bankcards/mov02.svg} +0 -0
  104. /package/dist/assets/images/{pvd01-bg.svg → src/assets/images/bankcards/pvd01-bg.svg} +0 -0
  105. /package/dist/assets/images/{pvd01.svg → src/assets/images/bankcards/pvd01.svg} +0 -0
  106. /package/dist/assets/images/{vabmo-bg.svg → src/assets/images/bankcards/vabmo-bg.svg} +0 -0
  107. /package/dist/assets/images/{vabmo.svg → src/assets/images/bankcards/vabmo.svg} +0 -0
  108. /package/dist/assets/images/{vb01-bg.svg → src/assets/images/bankcards/vb01-bg.svg} +0 -0
  109. /package/dist/assets/images/{vb01.svg → src/assets/images/bankcards/vb01.svg} +0 -0
  110. /package/dist/assets/images/{vb02-bg.svg → src/assets/images/bankcards/vb02-bg.svg} +0 -0
  111. /package/dist/assets/images/{vb02.svg → src/assets/images/bankcards/vb02.svg} +0 -0
  112. /package/dist/assets/images/{vb03-bg.svg → src/assets/images/bankcards/vb03-bg.svg} +0 -0
  113. /package/dist/assets/images/{vb03.svg → src/assets/images/bankcards/vb03.svg} +0 -0
  114. /package/dist/assets/images/{vb05-bg.svg → src/assets/images/bankcards/vb05-bg.svg} +0 -0
  115. /package/dist/assets/images/{vb05.svg → src/assets/images/bankcards/vb05.svg} +0 -0
  116. /package/dist/assets/images/{vb07-bg.svg → src/assets/images/bankcards/vb07-bg.svg} +0 -0
  117. /package/dist/assets/images/{vb07.svg → src/assets/images/bankcards/vb07.svg} +0 -0
  118. /package/dist/assets/images/{sprite.stack.svg → src/assets/images/currency_flags/sprite.stack.svg} +0 -0
  119. /package/dist/assets/images/{background.svg → src/assets/images/icon-file/background.svg} +0 -0
  120. /package/dist/assets/images/{bmp.svg → src/assets/images/icon-file/bmp.svg} +0 -0
  121. /package/dist/assets/images/{default.svg → src/assets/images/icon-file/default.svg} +0 -0
  122. /package/dist/assets/images/{doc.svg → src/assets/images/icon-file/doc.svg} +0 -0
  123. /package/dist/assets/images/{jpg.svg → src/assets/images/icon-file/jpg.svg} +0 -0
  124. /package/dist/assets/images/{pdf.svg → src/assets/images/icon-file/pdf.svg} +0 -0
  125. /package/dist/assets/images/{png.svg → src/assets/images/icon-file/png.svg} +0 -0
  126. /package/dist/assets/images/{rar.svg → src/assets/images/icon-file/rar.svg} +0 -0
  127. /package/dist/assets/images/{sprite.svg → src/assets/images/icon-file/sprite.svg} +0 -0
  128. /package/dist/assets/images/{txt.svg → src/assets/images/icon-file/txt.svg} +0 -0
  129. /package/dist/assets/images/{xls.svg → src/assets/images/icon-file/xls.svg} +0 -0
  130. /package/dist/assets/images/{zip.svg → src/assets/images/icon-file/zip.svg} +0 -0
  131. /package/dist/assets/images/{mabl5-backside.svg → src/assets/images/icons/backcards/mabl5-backside.svg} +0 -0
  132. /package/dist/assets/images/{mamo2-backside.svg → src/assets/images/icons/backcards/mamo2-backside.svg} +0 -0
  133. /package/dist/assets/images/{maod2-backside.svg → src/assets/images/icons/backcards/maod2-backside.svg} +0 -0
  134. /package/dist/assets/images/{mb06-backside.svg → src/assets/images/icons/backcards/mb06-backside.svg} +0 -0
  135. /package/dist/assets/images/{mir1-backside.svg → src/assets/images/icons/backcards/mir1-backside.svg} +0 -0
  136. /package/dist/assets/images/{mirst-backside.svg → src/assets/images/icons/backcards/mir1.svg} +0 -0
  137. /package/dist/assets/images/{mir1d-backside.svg → src/assets/images/icons/backcards/mir1d-backside.svg} +0 -0
  138. /package/dist/assets/images/{mirmd-backside.svg → src/assets/images/icons/backcards/mirmd-backside.svg} +0 -0
  139. /package/dist/assets/images/{mirn-backside.svg → src/assets/images/icons/backcards/mirn-backside.svg} +0 -0
  140. /package/dist/assets/images/{mirp-backside.svg → src/assets/images/icons/backcards/mirp-backside.svg} +0 -0
  141. /package/dist/assets/images/{mirpt.svg → src/assets/images/icons/backcards/mirp.svg} +0 -0
  142. /package/dist/assets/images/{mirpt-backside.svg → src/assets/images/icons/backcards/mirpt-backside.svg} +0 -0
  143. /package/dist/assets/images/{mirs-backside.svg → src/assets/images/icons/backcards/mirs-backside.svg} +0 -0
  144. /package/dist/assets/images/{mirsd-backside.svg → src/assets/images/icons/backcards/mirsd-backside.svg} +0 -0
  145. /package/dist/assets/images/{vb07-backside.svg → src/assets/images/icons/backcards/vb07-backside.svg} +0 -0
  146. /package/dist/assets/images/{unknown.svg → src/assets/images/icons/banks/unknown.svg} +0 -0
  147. /package/dist/assets/images/{mastercard.svg → src/assets/images/icons/cardtype/mastercard.svg} +0 -0
  148. /package/dist/assets/images/{mir.svg → src/assets/images/icons/cardtype/mir.svg} +0 -0
  149. /package/dist/assets/images/{visa.svg → src/assets/images/icons/cardtype/visa.svg} +0 -0
  150. /package/dist/assets/images/{icon-clock.svg → src/assets/images/icons/other/icon-clock.svg} +0 -0
  151. /package/dist/assets/images/{icon-error.svg → src/assets/images/icons/other/icon-error.svg} +0 -0
  152. /package/dist/assets/images/{icon-pie-chart.svg → src/assets/images/icons/other/icon-pie-chart.svg} +0 -0
  153. /package/dist/assets/images/{icon-success.svg → src/assets/images/icons/other/icon-success.svg} +0 -0
  154. /package/dist/assets/images/{1c.svg → src/assets/images/logo/1c.svg} +0 -0
  155. /package/dist/assets/images/{emblem-white.svg → src/assets/images/logo/bank/emblem-white.svg} +0 -0
  156. /package/dist/assets/images/{emblem.svg → src/assets/images/logo/bank/emblem.svg} +0 -0
  157. /package/dist/assets/images/{logo-white.svg → src/assets/images/logo/bank/logo-white.svg} +0 -0
  158. /package/dist/assets/images/{logo.svg → src/assets/images/logo/bank/logo.svg} +0 -0
  159. /package/dist/assets/images/{sbp-logo.svg → src/assets/images/logo/sbp-logo.svg} +0 -0
  160. /package/dist/assets/images/{statusbar.svg → src/assets/images/statusbar.svg} +0 -0
  161. /package/dist/assets/images/{bg-good.svg → src/assets/images/white-business/bg-good.svg} +0 -0
  162. /package/dist/assets/images/{bg-risk.svg → src/assets/images/white-business/bg-risk.svg} +0 -0
  163. /package/dist/assets/images/{bg-unknown.svg → src/assets/images/white-business/bg-unknown.svg} +0 -0
  164. /package/dist/assets/images/{bg-warning.svg → src/assets/images/white-business/bg-warning.svg} +0 -0
  165. /package/dist/assets/images/{icon-check-circle-solid.svg → src/assets/images/white-business/icon-check-circle-solid.svg} +0 -0
  166. /package/dist/assets/images/{icon-contact.svg → src/assets/images/white-business/icon-contact.svg} +0 -0
  167. /package/dist/assets/images/{icon-info-solid.svg → src/assets/images/white-business/icon-info-solid.svg} +0 -0
  168. /package/dist/assets/images/{icon-warning.svg → src/assets/images/white-business/icon-warning.svg} +0 -0
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "maxLength" | "value" | "onChange" | "onComplete" | "textAlign" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
2
+ declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "textAlign" | "maxLength" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
3
3
  value?: string;
4
4
  onChange?: (newValue: string) => unknown;
5
5
  maxLength: number;
6
- textAlign?: "center" | "right" | "left";
6
+ textAlign?: "left" | "right" | "center";
7
7
  onComplete?: (...args: any[]) => unknown;
8
8
  pushPasswordManagerStrategy?: "none" | "increase-width";
9
9
  containerClassName?: string;
@@ -11,11 +11,11 @@ declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputH
11
11
  } & {
12
12
  render: (props: import("input-otp").RenderProps) => React.ReactNode;
13
13
  children?: never;
14
- } & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "maxLength" | "value" | "onChange" | "onComplete" | "textAlign" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
14
+ } & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "textAlign" | "maxLength" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
15
15
  value?: string;
16
16
  onChange?: (newValue: string) => unknown;
17
17
  maxLength: number;
18
- textAlign?: "center" | "right" | "left";
18
+ textAlign?: "left" | "right" | "center";
19
19
  onComplete?: (...args: any[]) => unknown;
20
20
  pushPasswordManagerStrategy?: "none" | "increase-width";
21
21
  containerClassName?: string;
@@ -5,4 +5,4 @@ interface IProps {
5
5
  }
6
6
  declare const WhiteBusinessPage: FC<IProps>;
7
7
  export { WhiteBusinessPage };
8
- export { PageNavbar, Hero, CheckingCounterparty, ReliabilityIndicators, Consultation, ProgressBarWidget, List, ListItem } from './components';
8
+ export { PageNavbar, Hero, CheckingCounterparty, ReliabilityIndicators, Consultation, ProgressBarWidget, List, ListItem, StickyFooter } from './components';
@@ -1,10 +1,11 @@
1
1
  import { FC } from 'react';
2
2
  import { TServiceStatus } from './types';
3
3
  interface IConsultation {
4
- askAction: () => void;
5
- subscribeAction: () => void;
6
- topUpAccountAction: () => void;
4
+ onGetConsultation: () => void;
5
+ onSubscribe: () => void;
6
+ onTopUpAccount: () => void;
7
7
  serviceStatus: TServiceStatus;
8
+ price?: number;
8
9
  }
9
10
  export declare const Consultation: FC<IConsultation>;
10
11
  export {};
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import React from 'react';
2
2
  import { TStatus } from './ProgressBarWidget';
3
3
  import { TServiceStatus } from './types';
4
4
  interface IProps {
@@ -14,5 +14,5 @@ export declare const progressColor: {
14
14
  Norm: string;
15
15
  Fiasko: string;
16
16
  };
17
- export declare const Hero: FC<IProps>;
17
+ export declare const Hero: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLElement>>;
18
18
  export {};
@@ -1,4 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
+ export declare const PageNavbarCSS = "\n\tfixed\n\ttop-0\n\tcontainer\n\tflex\n\tjustify-between\n\titems-center\n\tpx-[--page-content-padd-x]\n\tpt-[env(safe-area-inset-top)]\n\th-[--page-header-height]\n\tw-full\n\tz-10\n";
2
3
  interface IProps {
3
4
  className?: string;
4
5
  children: ReactNode;
@@ -1,16 +1,17 @@
1
- import React from 'react';
2
- export declare type TStatus = 'Ok' | 'Norm' | 'Fiasko' | 'Unknown' | 'Neutral';
1
+ import { FC, ReactNode } from 'react';
2
+ export declare type TStatus = 'Ok' | 'Norm' | 'Fiasko' | 'Unknown' | 'Neutral' | 'NeedPay';
3
3
  interface IProgressBarWidget {
4
4
  status: TStatus;
5
5
  title: string;
6
6
  description: string;
7
- value: number;
7
+ value: number | boolean | null;
8
8
  content: {
9
9
  title: string;
10
- text: string;
10
+ text?: string | ReactNode;
11
11
  caption: string;
12
12
  };
13
- blocked: boolean;
13
+ blocked?: boolean;
14
+ onSubscribe?: () => void;
14
15
  }
15
- export declare const ProgressBarWidget: React.FC<IProgressBarWidget>;
16
+ export declare const ProgressBarWidget: FC<IProgressBarWidget>;
16
17
  export {};
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const StickyFooter: ({ children }: {
3
+ children: any;
4
+ }) => React.JSX.Element;
5
+ export { StickyFooter };
@@ -5,4 +5,5 @@ export { ReliabilityIndicators } from './ReliabilityIndicators';
5
5
  export { Consultation } from './Consultation';
6
6
  export { ProgressBarWidget } from './ProgressBarWidget';
7
7
  export { List, ListItem } from './List';
8
+ export { StickyFooter } from './StickyFooter';
8
9
  export * from './style';