@scbt-ecom/ui 0.14.1 → 0.15.0

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 (37) hide show
  1. package/dist/client.js +7041 -7026
  2. package/dist/client.js.map +1 -1
  3. package/dist/hybrid.js +427 -381
  4. package/dist/hybrid.js.map +1 -1
  5. package/dist/{index-BJGvyDqg.js → index-CexXWplL.js} +22 -2
  6. package/dist/index-CexXWplL.js.map +1 -0
  7. package/dist/shared/hooks/index.d.ts +1 -0
  8. package/dist/shared/hooks/useFieldsProgress.d.ts +14 -0
  9. package/dist/shared/ui/CustomLink.d.ts +7 -2
  10. package/dist/shared/ui/icon/sprite.gen.d.ts +1 -0
  11. package/dist/sprites/logos.svg +1 -0
  12. package/dist/style.css +1 -1
  13. package/dist/widgets/authProvider/AuthProvider.d.ts +3 -0
  14. package/dist/widgets/authProvider/index.d.ts +2 -0
  15. package/dist/widgets/authProvider/model/helpers.d.ts +5 -0
  16. package/dist/widgets/authProvider/model/types.d.ts +75 -0
  17. package/dist/widgets/authProvider/ui/Esia.d.ts +2 -0
  18. package/dist/widgets/authProvider/ui/MobileId.d.ts +2 -0
  19. package/dist/widgets/authProvider/ui/index.d.ts +2 -0
  20. package/dist/widgets/authProvider/ui/ui/AuthWrapper.d.ts +11 -0
  21. package/dist/widgets/authProvider/ui/ui/EsiaLogo.d.ts +2 -0
  22. package/dist/widgets/authProvider/ui/ui/Links.d.ts +11 -0
  23. package/dist/widgets/authProvider/ui/ui/index.d.ts +3 -0
  24. package/dist/widgets/baseForm/BaseForm.d.ts +3 -0
  25. package/dist/widgets/baseForm/index.d.ts +1 -0
  26. package/dist/widgets/footer/Footer.d.ts +14 -12
  27. package/dist/widgets/footer/ui/Copyright.d.ts +4 -3
  28. package/dist/widgets/footer/ui/FooterLogo.d.ts +8 -0
  29. package/dist/widgets/footer/ui/Ligal.d.ts +4 -4
  30. package/dist/widgets/footer/ui/NavLinks.d.ts +7 -6
  31. package/dist/widgets/footer/ui/PhonesBlock.d.ts +5 -5
  32. package/dist/widgets/footer/ui/SiteMap.d.ts +8 -0
  33. package/dist/widgets/footer/ui/SocialLinks.d.ts +4 -4
  34. package/dist/widgets/footer/ui/index.d.ts +7 -5
  35. package/dist/widgets/index.d.ts +9 -7
  36. package/package.json +1 -1
  37. package/dist/index-BJGvyDqg.js.map +0 -1
@@ -0,0 +1,8 @@
1
+ export type TFooterLogoClasses = {
2
+ footerLogo?: string;
3
+ footerLogoIcon?: string;
4
+ };
5
+ export interface IFooterLogoProps {
6
+ classes?: TFooterLogoClasses;
7
+ }
8
+ export declare const FooterLogo: ({ classes }: IFooterLogoProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  export type TLigalClasses = {
3
- ligalRoot: string;
4
- ligal: string;
5
- ligalButton: string;
3
+ ligalRoot?: string;
4
+ ligalText?: string;
5
+ ligalButton?: string;
6
6
  };
7
7
  interface ILigalProps {
8
8
  ligal: string | React.ReactElement;
9
- classes?: Partial<TLigalClasses>;
9
+ classes?: TLigalClasses;
10
10
  }
11
11
  export declare const Ligal: ({ ligal, classes }: ILigalProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export {};
@@ -1,14 +1,15 @@
1
1
  import { IFooterNavLinks } from '../model/types';
2
2
  export type TNavigationLinksClasses = {
3
- navRoot: string;
4
- navGroup: string;
5
- navLabel: string;
6
- navWrapper: string;
7
- navLink: string;
3
+ navRoot?: string;
4
+ navGroup?: string;
5
+ navLabel?: string;
6
+ navLinks?: string;
7
+ navLink?: string;
8
+ navLinkIcon?: string;
8
9
  };
9
10
  interface INavLinksProps {
10
11
  navigationLinks: IFooterNavLinks[];
11
- classes?: Partial<TNavigationLinksClasses>;
12
+ classes?: TNavigationLinksClasses;
12
13
  }
13
14
  export declare const NavLinks: ({ navigationLinks, classes }: INavLinksProps) => import("react/jsx-runtime").JSX.Element;
14
15
  export {};
@@ -1,13 +1,13 @@
1
1
  import { IFooterPhones } from '../model/types';
2
2
  export type TPhoneBlockClasses = {
3
- phonesRoot: string;
4
- phoneWrapper: string;
5
- phoneText: string;
6
- phoneLink: string;
3
+ phonesRoot?: string;
4
+ phoneWrapper?: string;
5
+ phoneText?: string;
6
+ phoneLink?: string;
7
7
  };
8
8
  interface IPhonesBlockProps {
9
9
  phones: IFooterPhones[];
10
- classes?: Partial<TPhoneBlockClasses>;
10
+ classes?: TPhoneBlockClasses;
11
11
  }
12
12
  export declare const PhonesBlock: ({ phones, classes }: IPhonesBlockProps) => import("react/jsx-runtime").JSX.Element;
13
13
  export {};
@@ -0,0 +1,8 @@
1
+ export type TSiteMapClasses = {
2
+ siteMapLink?: string;
3
+ siteMapLinkIcon?: string;
4
+ };
5
+ export interface ISiteMapProps {
6
+ classes?: TSiteMapClasses;
7
+ }
8
+ export declare const SiteMap: ({ classes }: ISiteMapProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,12 @@
1
1
  import { IFooterSocialLinks } from '../model/types';
2
2
  export type TSocialLinksClasses = {
3
- socialRoot: string;
4
- socialLink: string;
5
- socialIcon: string;
3
+ socialRoot?: string;
4
+ socialLink?: string;
5
+ socialIcon?: string;
6
6
  };
7
7
  interface ISocialLinksProps {
8
8
  socialsLinks: IFooterSocialLinks[];
9
- classes?: Partial<TSocialLinksClasses>;
9
+ classes?: TSocialLinksClasses;
10
10
  }
11
11
  export declare const SocialLinks: ({ socialsLinks, classes }: ISocialLinksProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export {};
@@ -1,5 +1,7 @@
1
- export { SocialLinks, type TSocialLinksClasses } from './SocialLinks';
2
- export { PhonesBlock, type TPhoneBlockClasses } from './PhonesBlock';
3
- export { NavLinks, type TNavigationLinksClasses } from './NavLinks';
4
- export { Ligal, type TLigalClasses } from './Ligal';
5
- export { Copyright, type TCopyrightClasses } from './Copyright';
1
+ export * from './SocialLinks';
2
+ export * from './PhonesBlock';
3
+ export * from './NavLinks';
4
+ export * from './Ligal';
5
+ export * from './Copyright';
6
+ export * from './FooterLogo';
7
+ export * from './SiteMap';
@@ -1,7 +1,9 @@
1
- export { Benefit, type IBenefitProps } from './benefit';
2
- export { PageHeader, type TPageHeaderProps } from './pageHeader';
3
- export { Banner, type IBannerProps } from './banner';
4
- export { Advantages, type IAdvantagesProps } from './advantages';
5
- export { Footer, type IFooterProps } from './footer';
6
- export { Stepper, type IStepperProps, type ISingleStep } from './stepper';
7
- export { LongBanner, type ILongBannerProps } from './longBanner';
1
+ export * from './benefit';
2
+ export * from './pageHeader';
3
+ export * from './banner';
4
+ export * from './advantages';
5
+ export * from './footer';
6
+ export * from './stepper';
7
+ export * from './longBanner';
8
+ export * from './baseForm';
9
+ export * from './authProvider';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scbt-ecom/ui",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./utils-tailwind.css": "./dist/utils-tailwind.css",