@selfdecode/sd-component-library 4.0.71 → 4.0.72

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 (43) hide show
  1. package/lib/components/complex/index.d.ts +0 -1
  2. package/lib/components/feedback/multiple-options-feedback/index.d.ts +1 -1
  3. package/lib/components/feedback/multiple-options-feedback/multiple-options-feedback.d.ts +0 -1
  4. package/lib/components/feedback/yes-no-feedback-block/index.d.ts +1 -1
  5. package/lib/core/custom-hooks.d.ts +0 -8
  6. package/lib/index.d.ts +0 -1
  7. package/lib/index.js +1 -1
  8. package/package.json +1 -2
  9. package/lib/02db83b5e22f52e82765429b20693529.svg +0 -3
  10. package/lib/1466cc434ae48bd9e2be60af284743f7.svg +0 -3
  11. package/lib/components/complex/footer/index.d.ts +0 -1
  12. package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +0 -3
  13. package/lib/components/complex/footer/partials/footer-link/index.d.ts +0 -3
  14. package/lib/components/complex/footer/partials/footer-link/interfaces.d.ts +0 -10
  15. package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +0 -3
  16. package/lib/components/complex/footer/partials/footer-section/index.d.ts +0 -1
  17. package/lib/components/complex/footer/partials/footer-section/interfaces.d.ts +0 -11
  18. package/lib/components/complex/footer/partials/footer-social/assets/facebook.svg +0 -3
  19. package/lib/components/complex/footer/partials/footer-social/assets/index.d.ts +0 -3
  20. package/lib/components/complex/footer/partials/footer-social/assets/instagram.svg +0 -3
  21. package/lib/components/complex/footer/partials/footer-social/assets/linkedin.svg +0 -3
  22. package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +0 -2
  23. package/lib/components/complex/footer/partials/footer-social/index.d.ts +0 -1
  24. package/lib/components/complex/footer/presentational/footer-presentational.d.ts +0 -3
  25. package/lib/components/complex/footer/presentational/index.d.ts +0 -1
  26. package/lib/components/complex/footer/presentational/interfaces.d.ts +0 -8
  27. package/lib/components/complex/footer/utils.d.ts +0 -7
  28. package/lib/components/toast/index.d.ts +0 -2
  29. package/lib/components/toast/interfaces.d.ts +0 -16
  30. package/lib/components/toast/partials/error-toast/error-toast.d.ts +0 -2
  31. package/lib/components/toast/partials/error-toast/index.d.ts +0 -1
  32. package/lib/components/toast/partials/general-toast/general-toast.d.ts +0 -2
  33. package/lib/components/toast/partials/general-toast/index.d.ts +0 -1
  34. package/lib/components/toast/partials/index.d.ts +0 -3
  35. package/lib/components/toast/partials/loading-toast/index.d.ts +0 -1
  36. package/lib/components/toast/partials/loading-toast/loading-toast.d.ts +0 -2
  37. package/lib/components/toast/partials/toast-container/index.d.ts +0 -1
  38. package/lib/components/toast/partials/toast-container/interfaces.d.ts +0 -6
  39. package/lib/components/toast/partials/toast-container/toast-container.d.ts +0 -5
  40. package/lib/components/toast/toast-provider.d.ts +0 -4
  41. package/lib/components/toast/use-toast.d.ts +0 -1
  42. package/lib/core/routes.d.ts +0 -4
  43. package/lib/e5cf7cfa02465901d0b9fb5adf3130df.svg +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfdecode/sd-component-library",
3
- "version": "4.0.71",
3
+ "version": "4.0.72",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
@@ -31,7 +31,6 @@
31
31
  "react-date-range": "1.1.3",
32
32
  "react-dev-utils": "^12.0.1",
33
33
  "react-dom": "^18.2.0",
34
- "react-lottie-player": "^1.5.0",
35
34
  "react-refresh": "^0.11.0",
36
35
  "react-router-dom": "^5.3.3",
37
36
  "react-transition-group": "^4.4.1",
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21.1 20.06">
2
- <path d="M3107.57,3227.67h-4.52v13.54h4.52v-13.54Zm0.29-4.18a2.325,2.325,0,0,0-2.52-2.34,2.36,2.36,0,0,0-2.56,2.34,2.328,2.328,0,0,0,2.5,2.33h0.03A2.327,2.327,0,0,0,3107.86,3223.49Zm16.01,9.96c0-4.16-2.22-6.1-5.2-6.1a4.489,4.489,0,0,0-4.11,2.29h0.03v-1.97h-4.52s0.06,1.27,0,13.54h4.52v-7.56a3.429,3.429,0,0,1,.15-1.11,2.475,2.475,0,0,1,2.32-1.63c1.63,0,2.29,1.24,2.29,3.06v7.24h4.52v-7.76Z" transform="translate(-3102.78 -3221.16)"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23">
2
- <path d="M3060.99,3222.39a2.661,2.661,0,0,0-2.66-2.39h-17.66a2.592,2.592,0,0,0-.48.04,2.649,2.649,0,0,0-2.19,2.66v17.59a3.4,3.4,0,0,0,.03.45,2.643,2.643,0,0,0,2.59,2.26h17.76c0.1,0,.2-0.01.31-0.02a2.641,2.641,0,0,0,2.31-2.6v-17.76A1.848,1.848,0,0,0,3060.99,3222.39Zm-11.49,4.69a4.42,4.42,0,1,1-4.42,4.42A4.415,4.415,0,0,1,3049.5,3227.08Zm8.85,2.77v9.53a0.891,0.891,0,0,1-.96.97h-15.8a0.882,0.882,0,0,1-.93-0.93c-0.01-3.19,0-6.39,0-9.58v-0.1h1.99a7.072,7.072,0,0,0,3.39,7.94,7.059,7.059,0,0,0,7.44-.33,7.064,7.064,0,0,0,2.87-7.61h2v0.11Zm0-3.68a0.883,0.883,0,0,1-.91.91h-2.61a0.873,0.873,0,0,1-.9-0.88c-0.01-.89-0.01-1.78,0-2.66a0.868,0.868,0,0,1,.9-0.88c0.87-.01,1.75-0.01,2.62,0a0.878,0.878,0,0,1,.9.9v2.61Z" transform="translate(-3038 -3220)"/>
3
- </svg>
@@ -1 +0,0 @@
1
- export { FooterPresentational as Footer } from "./presentational";
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { FooterLinkProps } from "./interfaces";
3
- export declare function FooterLink(props: FooterLinkProps): JSX.Element;
@@ -1,3 +0,0 @@
1
- import { FooterLinkProps as Props } from "./interfaces";
2
- export { FooterLink } from "./footer-link";
3
- export declare type FooterLinkProps = Props;
@@ -1,10 +0,0 @@
1
- export interface FooterLinkProps {
2
- /**
3
- * the title
4
- */
5
- title: string;
6
- /**
7
- * the url
8
- */
9
- url: string;
10
- }
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { FooterSectionProps } from "./interfaces";
3
- export declare function FooterSection(props: FooterSectionProps): JSX.Element;
@@ -1 +0,0 @@
1
- export { FooterSection } from "./footer-section";
@@ -1,11 +0,0 @@
1
- import { FooterLinkProps } from "../footer-link";
2
- export interface FooterSectionProps {
3
- /**
4
- * The title
5
- */
6
- title: string;
7
- /**
8
- * The collection of footer links
9
- */
10
- footerLinks: Array<FooterLinkProps>;
11
- }
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.75 22.5">
2
- <path d="M2992.87,3220.4a25.637,25.637,0,0,0-3.1-.16c-3.07,0-5.17,1.86-5.17,5.28v2.95h-3.47v4h3.47v10.27h4.15v-10.27h3.45l0.53-4h-3.98v-2.55c0-1.15.32-1.95,1.99-1.95h2.13v-3.57Z" transform="translate(-2981.13 -3220.25)"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- export { ReactComponent as FacebookIcon } from "./facebook.svg";
2
- export { ReactComponent as InstagramIcon } from "./instagram.svg";
3
- export { ReactComponent as LinkedinIcon } from "./linkedin.svg";
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23">
2
- <path d="M3060.99,3222.39a2.661,2.661,0,0,0-2.66-2.39h-17.66a2.592,2.592,0,0,0-.48.04,2.649,2.649,0,0,0-2.19,2.66v17.59a3.4,3.4,0,0,0,.03.45,2.643,2.643,0,0,0,2.59,2.26h17.76c0.1,0,.2-0.01.31-0.02a2.641,2.641,0,0,0,2.31-2.6v-17.76A1.848,1.848,0,0,0,3060.99,3222.39Zm-11.49,4.69a4.42,4.42,0,1,1-4.42,4.42A4.415,4.415,0,0,1,3049.5,3227.08Zm8.85,2.77v9.53a0.891,0.891,0,0,1-.96.97h-15.8a0.882,0.882,0,0,1-.93-0.93c-0.01-3.19,0-6.39,0-9.58v-0.1h1.99a7.072,7.072,0,0,0,3.39,7.94,7.059,7.059,0,0,0,7.44-.33,7.064,7.064,0,0,0,2.87-7.61h2v0.11Zm0-3.68a0.883,0.883,0,0,1-.91.91h-2.61a0.873,0.873,0,0,1-.9-0.88c-0.01-.89-0.01-1.78,0-2.66a0.868,0.868,0,0,1,.9-0.88c0.87-.01,1.75-0.01,2.62,0a0.878,0.878,0,0,1,.9.9v2.61Z" transform="translate(-3038 -3220)"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21.1 20.06">
2
- <path d="M3107.57,3227.67h-4.52v13.54h4.52v-13.54Zm0.29-4.18a2.325,2.325,0,0,0-2.52-2.34,2.36,2.36,0,0,0-2.56,2.34,2.328,2.328,0,0,0,2.5,2.33h0.03A2.327,2.327,0,0,0,3107.86,3223.49Zm16.01,9.96c0-4.16-2.22-6.1-5.2-6.1a4.489,4.489,0,0,0-4.11,2.29h0.03v-1.97h-4.52s0.06,1.27,0,13.54h4.52v-7.56a3.429,3.429,0,0,1,.15-1.11,2.475,2.475,0,0,1,2.32-1.63c1.63,0,2.29,1.24,2.29,3.06v7.24h4.52v-7.76Z" transform="translate(-3102.78 -3221.16)"/>
3
- </svg>
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function FooterSocial(): JSX.Element;
@@ -1 +0,0 @@
1
- export { FooterSocial } from "./footer-social";
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { FooterPresentationalProps } from "./interfaces";
3
- export declare function FooterPresentational(props: FooterPresentationalProps): JSX.Element;
@@ -1 +0,0 @@
1
- export { FooterPresentational } from "./footer-presentational";
@@ -1,8 +0,0 @@
1
- import { History } from "history";
2
- import { MaxWidthContainerProps } from "../../../containers/max-width-container/interfaces";
3
- export interface FooterPresentationalProps extends Pick<MaxWidthContainerProps, "bgSx"> {
4
- /**
5
- * The history object
6
- */
7
- history?: History;
8
- }
@@ -1,7 +0,0 @@
1
- export declare const footerSections: {
2
- title: string;
3
- urls: {
4
- title: string;
5
- url: string;
6
- }[];
7
- }[];
@@ -1,2 +0,0 @@
1
- export { ToastProvider } from "./toast-provider";
2
- export { useToast } from "./use-toast";
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- import { ToastContainerProps } from "./partials/toast-container/interfaces";
3
- export declare type ToastType = "general" | "loading" | "error";
4
- export interface ToastConfig {
5
- text?: string;
6
- type?: ToastType;
7
- timeout?: number;
8
- }
9
- export declare type ToastContextType = {
10
- addToast: (toast: ToastConfig) => void;
11
- clearToast: () => void;
12
- };
13
- export declare type ToastProps = Pick<ToastConfig, "text"> & Pick<ToastContainerProps, "status">;
14
- export declare type ToastProviderProps = {
15
- children: React.ReactNode;
16
- };
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const ErrorToast: React.ForwardRefExoticComponent<Pick<import("../../interfaces").ToastConfig, "text"> & Pick<import("../toast-container/interfaces").ToastContainerProps, "status"> & React.RefAttributes<HTMLDivElement>>;
@@ -1 +0,0 @@
1
- export { ErrorToast } from "./error-toast";
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const GeneralToast: React.ForwardRefExoticComponent<Pick<import("../../interfaces").ToastConfig, "text"> & Pick<import("../toast-container/interfaces").ToastContainerProps, "status"> & React.RefAttributes<HTMLDivElement>>;
@@ -1 +0,0 @@
1
- export { GeneralToast } from "./general-toast";
@@ -1,3 +0,0 @@
1
- export * from "./error-toast";
2
- export * from "./general-toast";
3
- export * from "./loading-toast";
@@ -1 +0,0 @@
1
- export { LoadingToast } from "./loading-toast";
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const LoadingToast: React.ForwardRefExoticComponent<Pick<import("../../interfaces").ToastConfig, "text"> & Pick<import("../toast-container/interfaces").ToastContainerProps, "status"> & React.RefAttributes<HTMLDivElement>>;
@@ -1 +0,0 @@
1
- export { ToastContainer } from "./toast-container";
@@ -1,6 +0,0 @@
1
- import { TransitionStatus } from "react-transition-group";
2
- export interface ToastContainerProps {
3
- bg: string;
4
- status: TransitionStatus;
5
- animationDuration?: number;
6
- }
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import { ToastContainerProps as Props } from "./interfaces";
3
- export declare const ToastContainer: React.ForwardRefExoticComponent<Props & {
4
- children?: React.ReactNode;
5
- } & React.RefAttributes<HTMLDivElement>>;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { ToastProviderProps as Props, ToastContextType } from "./interfaces";
3
- export declare const ToastContext: React.Context<ToastContextType>;
4
- export declare const ToastProvider: React.FC<Props>;
@@ -1 +0,0 @@
1
- export declare const useToast: () => import("./interfaces").ToastContextType;
@@ -1,4 +0,0 @@
1
- export declare enum Routes {
2
- LOGOUT = "/service/accounts/logout",
3
- LOGIN = "/service/accounts/login"
4
- }
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.75 22.5">
2
- <path d="M2992.87,3220.4a25.637,25.637,0,0,0-3.1-.16c-3.07,0-5.17,1.86-5.17,5.28v2.95h-3.47v4h3.47v10.27h4.15v-10.27h3.45l0.53-4h-3.98v-2.55c0-1.15.32-1.95,1.99-1.95h2.13v-3.57Z" transform="translate(-2981.13 -3220.25)"/>
3
- </svg>