@selfdecode/sd-component-library 4.0.67 → 4.0.69
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.
- package/lib/components/boolean-feedback/index.d.ts +0 -1
- package/lib/components/buttons/button/interfaces.d.ts +2 -2
- package/lib/components/buttons/index.d.ts +0 -7
- package/lib/components/containers/grid-containers/fr-fr-container/fr-fr-container.d.ts +1 -0
- package/lib/components/containers/grid-containers/fr-max-container/fr-max-container.d.ts +1 -0
- package/lib/components/containers/grid-containers/max-fr-container/max-fr-container.d.ts +1 -0
- package/lib/components/containers/grid-containers/max-max-container/max-max-container.d.ts +1 -0
- package/lib/components/icons/index.d.ts +0 -3
- package/lib/components/meters/index.d.ts +0 -5
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/lib/34495da933de1f754678f771ab03f6d4.svg +0 -5
- package/lib/344ff1b1dabb64d4afd170ecb184dcf4.svg +0 -28
- package/lib/3ddb32186aa33370109f8d3ba34025c0.svg +0 -5
- package/lib/418f7317e257e6dfb9941a652fdf7fec.svg +0 -1
- package/lib/4393e885c58d2ca4f0b55953152d8092.svg +0 -28
- package/lib/589592499a7422b3f2d78b1e515b3e9c.svg +0 -10
- package/lib/6772478d2eaee427474922088bbf90ed.svg +0 -6
- package/lib/7f56dfa647c344ca2cc0370f97c7596e.svg +0 -28
- package/lib/830707144a2930f96fc68e3a58ffc06e.svg +0 -28
- package/lib/920b13e676d7c5e40a5a2a4460ee445e.svg +0 -23
- package/lib/components/boolean-feedback/yes-no-feedback/index.d.ts +0 -1
- package/lib/components/boolean-feedback/yes-no-feedback/interfaces.d.ts +0 -2
- package/lib/components/boolean-feedback/yes-no-feedback/yes-no-feedback.d.ts +0 -6
- package/lib/components/buttons/cta/next-button/assets/index.d.ts +0 -1
- package/lib/components/buttons/cta/next-button/assets/next.svg +0 -1
- package/lib/components/buttons/cta/next-button/index.d.ts +0 -3
- package/lib/components/buttons/cta/next-button/interfaces.d.ts +0 -11
- package/lib/components/buttons/cta/next-button/next-button.d.ts +0 -6
- package/lib/components/buttons/logos/navbar-logo/assets/index.d.ts +0 -1
- package/lib/components/buttons/logos/navbar-logo/assets/navbar-logo.svg +0 -1
- package/lib/components/buttons/logos/navbar-logo/index.d.ts +0 -1
- package/lib/components/buttons/logos/navbar-logo/interfaces.d.ts +0 -2
- package/lib/components/buttons/logos/navbar-logo/navbar-logo.d.ts +0 -6
- package/lib/components/buttons/partials/cross-button/assets/cross.svg +0 -5
- package/lib/components/buttons/partials/cross-button/assets/index.d.ts +0 -1
- package/lib/components/buttons/partials/cross-button/cross-button.d.ts +0 -6
- package/lib/components/buttons/partials/cross-button/index.d.ts +0 -1
- package/lib/components/buttons/partials/cross-button/interfaces.d.ts +0 -5
- package/lib/components/buttons/partials/goto-button/assets/arrow-right.svg +0 -13
- package/lib/components/buttons/partials/goto-button/assets/index.d.ts +0 -1
- package/lib/components/buttons/partials/goto-button/goto-button.d.ts +0 -6
- package/lib/components/buttons/partials/goto-button/index.d.ts +0 -1
- package/lib/components/buttons/partials/goto-button/interfaces.d.ts +0 -5
- package/lib/components/buttons/partials/multi-choice/assets/index.d.ts +0 -2
- package/lib/components/buttons/partials/multi-choice/assets/minus.svg +0 -1
- package/lib/components/buttons/partials/multi-choice/assets/plus.svg +0 -1
- package/lib/components/buttons/partials/multi-choice/index.d.ts +0 -3
- package/lib/components/buttons/partials/multi-choice/interfaces.d.ts +0 -11
- package/lib/components/buttons/partials/multi-choice/multi-choice-button.d.ts +0 -6
- package/lib/components/buttons/partials/tick-button/assets/index.d.ts +0 -1
- package/lib/components/buttons/partials/tick-button/assets/tick.svg +0 -5
- package/lib/components/buttons/partials/tick-button/index.d.ts +0 -1
- package/lib/components/buttons/partials/tick-button/interfaces.d.ts +0 -5
- package/lib/components/buttons/partials/tick-button/tick-button.d.ts +0 -6
- package/lib/components/buttons/radio-info-button/index.d.ts +0 -1
- package/lib/components/buttons/radio-info-button/interfaces.d.ts +0 -31
- package/lib/components/buttons/radio-info-button/radio-info-button.d.ts +0 -3
- package/lib/components/buttons/round-icon-button/index.d.ts +0 -1
- package/lib/components/buttons/round-icon-button/interfaces.d.ts +0 -67
- package/lib/components/buttons/round-icon-button/round-icon-button.d.ts +0 -3
- package/lib/components/icons/cart-icon/cart-icon.svg +0 -10
- package/lib/components/icons/cart-icon/index.d.ts +0 -1
- package/lib/components/icons/genetics-icon/genetics-icon.svg +0 -6
- package/lib/components/icons/genetics-icon/index.d.ts +0 -1
- package/lib/components/icons/vial-icon/index.d.ts +0 -1
- package/lib/components/icons/vial-icon/vial-icon.svg +0 -10
- package/lib/components/meters/base-outline-meter/base-outline-meter.d.ts +0 -6
- package/lib/components/meters/base-outline-meter/index.d.ts +0 -3
- package/lib/components/meters/base-outline-meter/interfaces.d.ts +0 -20
- package/lib/components/meters/continuous-outline-meter/continuous-outline-meter.d.ts +0 -6
- package/lib/components/meters/continuous-outline-meter/index.d.ts +0 -1
- package/lib/components/meters/continuous-outline-meter/interfaces.d.ts +0 -25
- package/lib/components/meters/discrete-outline-meter/discrete-outline-meter.d.ts +0 -6
- package/lib/components/meters/discrete-outline-meter/index.d.ts +0 -1
- package/lib/components/meters/discrete-outline-meter/interfaces.d.ts +0 -25
- package/lib/components/meters/multicolor-outline-meter/index.d.ts +0 -1
- package/lib/components/meters/multicolor-outline-meter/interfaces.d.ts +0 -21
- package/lib/components/meters/multicolor-outline-meter/multicolor-outline-meter.d.ts +0 -6
- package/lib/components/meters/smiley-meter/assets/index.d.ts +0 -5
- package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-1.svg +0 -28
- package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-2.svg +0 -28
- package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-3.svg +0 -23
- package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-4.svg +0 -28
- package/lib/components/meters/smiley-meter/assets/outlined-smiley-state-5.svg +0 -28
- package/lib/components/meters/smiley-meter/index.d.ts +0 -1
- package/lib/components/meters/smiley-meter/interfaces.d.ts +0 -31
- package/lib/components/meters/smiley-meter/smiley-meter.d.ts +0 -6
- package/lib/e986409f719ff9bf4d159ad2929c4590.svg +0 -13
- package/lib/f4610337988c18280ddf07a84452b043.svg +0 -10
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from "react";
|
|
2
2
|
import { History } from "history";
|
|
3
|
-
import { SxProps } from "rebass";
|
|
3
|
+
import { LinkProps, SxProps } from "rebass";
|
|
4
4
|
import { LoadingSpinnerProps as LoadingIconProps } from "../../animations/loading-spinner/interfaces";
|
|
5
5
|
import { BaseComponentProps } from "../../interfaces";
|
|
6
6
|
/**
|
|
7
7
|
* Defines the button component's properties. You cannot pass
|
|
8
8
|
* both onClick and link props at the same time
|
|
9
9
|
*/
|
|
10
|
-
export interface ButtonProps extends BaseComponentProps {
|
|
10
|
+
export interface ButtonProps extends BaseComponentProps, Pick<LinkProps, "target" | "rel"> {
|
|
11
11
|
/**
|
|
12
12
|
* The location the button should point to if it is a link.
|
|
13
13
|
* You should only pass external links, not links that should
|
|
@@ -6,13 +6,6 @@ export { PrimaryOrangeButton } from "../buttons/cta/primary-orange-button";
|
|
|
6
6
|
export { SecondaryBlueButton } from "../buttons/cta/secondary-blue-button";
|
|
7
7
|
export { SecondaryOrangeButton } from "../buttons/cta/secondary-orange-button";
|
|
8
8
|
export { PrimaryTextButton } from "../buttons/cta/primary-text-button";
|
|
9
|
-
export { GoToButton } from "../buttons/partials/goto-button";
|
|
10
|
-
export { NextButton } from "../buttons/cta/next-button";
|
|
11
9
|
export { IconButton } from "../buttons/partials/icon-button";
|
|
12
|
-
export { TickButton } from "../buttons/partials/tick-button";
|
|
13
|
-
export { CrossButton } from "../buttons/partials/cross-button";
|
|
14
10
|
export { PoweredByGreyLogoButton } from "../buttons/logos/powered-by-grey-logo";
|
|
15
11
|
export { PoweredByWhiteLogoButton } from "../buttons/logos/powered-by-white-logo";
|
|
16
|
-
export { RadioInfoButton } from "../buttons/radio-info-button";
|
|
17
|
-
export { RoundIconButton } from "../buttons/round-icon-button";
|
|
18
|
-
export { NavbarLogoButton } from "../buttons/logos/navbar-logo";
|
|
@@ -2,5 +2,6 @@ import React from "react";
|
|
|
2
2
|
import { FrFrContainerProps } from "./interfaces";
|
|
3
3
|
/**
|
|
4
4
|
* Grid container component with two 1fr columns.
|
|
5
|
+
* @deprecated use Grid instead
|
|
5
6
|
*/
|
|
6
7
|
export declare function FrFrContainer(props: FrFrContainerProps): React.ReactElement<FrFrContainerProps>;
|
|
@@ -2,5 +2,6 @@ import React from "react";
|
|
|
2
2
|
import { FrMaxContainerProps } from "./interfaces";
|
|
3
3
|
/**
|
|
4
4
|
* Grid container component with 1fr and max-content columns.
|
|
5
|
+
* @deprecated use Grid instead
|
|
5
6
|
*/
|
|
6
7
|
export declare function FrMaxContainer(props: FrMaxContainerProps): React.ReactElement<FrMaxContainerProps>;
|
|
@@ -2,5 +2,6 @@ import React from "react";
|
|
|
2
2
|
import { MaxFrContainerProps } from "./interfaces";
|
|
3
3
|
/**
|
|
4
4
|
* Grid container component with max-content and 1fr columns.
|
|
5
|
+
* @deprecated use Grid instead
|
|
5
6
|
*/
|
|
6
7
|
export declare function MaxFrContainer(props: MaxFrContainerProps): React.ReactElement<MaxFrContainerProps>;
|
|
@@ -2,5 +2,6 @@ import React from "react";
|
|
|
2
2
|
import { MaxMaxContainerProps } from "./interfaces";
|
|
3
3
|
/**
|
|
4
4
|
* Grid container component with two max-content columns.
|
|
5
|
+
* @deprecated use Grid instead
|
|
5
6
|
*/
|
|
6
7
|
export declare function MaxMaxContainer(props: MaxMaxContainerProps): React.ReactElement<MaxMaxContainerProps>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export { BorderedPlainWarningCircleIcon } from "./bordered-plain-warning-circle-icon";
|
|
2
|
-
export { CartIcon } from "./cart-icon";
|
|
3
2
|
export { CrossIcon } from "./cross-icon";
|
|
4
|
-
export { GeneticsIcon } from "./genetics-icon";
|
|
5
3
|
export { GlobeIcon } from "./globe-icon";
|
|
6
4
|
export { HamburgerIcon } from "./hamburger-icon";
|
|
7
5
|
export { PlainWarningCircleIcon } from "./plain-warning-circle-icon";
|
|
@@ -14,7 +12,6 @@ export { SDNavbarIcon } from "./sd-navbar-icon";
|
|
|
14
12
|
export { SearchIcon } from "./search-icon";
|
|
15
13
|
export { ShortDownArrowIcon } from "./short-dropdown-arrow-icon";
|
|
16
14
|
export { StarIcon } from "./star-icon";
|
|
17
|
-
export { VialIcon } from "./vial-icon";
|
|
18
15
|
export { WarningCircleIcon } from "./warning-circle-icon";
|
|
19
16
|
export { TriangularPointerIcon } from "./triangular-pointer-icon";
|
|
20
17
|
export { EnvironmentIcon } from "./environment-icon";
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
export * from "./smiley-meter-v2";
|
|
2
|
-
export * from "./smiley-meter";
|
|
3
2
|
export * from "./people-meter";
|
|
4
3
|
export * from "./outline-meter";
|
|
5
4
|
export * from "./multi-option-discrete-outline-meter";
|
|
6
|
-
export * from "./multicolor-outline-meter";
|
|
7
5
|
export * from "./gradient-outline-meter";
|
|
8
|
-
export * from "./discrete-outline-meter";
|
|
9
6
|
export * from "./dashed-meter";
|
|
10
|
-
export * from "./continuous-outline-meter";
|
|
11
|
-
export * from "./base-outline-meter";
|
|
12
7
|
export * from "./bars-meter";
|
|
13
8
|
export * from "./donut-diagram";
|
|
14
9
|
export * from "./compact-donut-gauge";
|