@selfdecode/sd-component-library 4.0.52 → 4.0.54-test

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 (34) hide show
  1. package/lib/components/badges/index.d.ts +0 -1
  2. package/lib/components/inputs/multi-row-secondary-text-input/interfaces.d.ts +3 -0
  3. package/lib/components/selectors/index.d.ts +0 -2
  4. package/lib/core/theme.d.ts +0 -26
  5. package/lib/index.d.ts +0 -3
  6. package/lib/index.js +1 -1
  7. package/package.json +1 -1
  8. package/lib/bdafa645632f64b2dd45337fcbbf152a.svg +0 -3
  9. package/lib/components/animations/up-down-arrow/index.d.ts +0 -1
  10. package/lib/components/animations/up-down-arrow/interfaces.d.ts +0 -10
  11. package/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +0 -3
  12. package/lib/components/badges/tertiary-badge/index.d.ts +0 -3
  13. package/lib/components/badges/tertiary-badge/interfaces.d.ts +0 -2
  14. package/lib/components/badges/tertiary-badge/tertiary-badge.d.ts +0 -6
  15. package/lib/components/carousels/carousel-section-container/carousel-section-container.d.ts +0 -9
  16. package/lib/components/carousels/carousel-section-container/index.d.ts +0 -1
  17. package/lib/components/carousels/carousel-section-container/interfaces.d.ts +0 -25
  18. package/lib/components/carousels/index.d.ts +0 -1
  19. package/lib/components/ratings/five-stars-rating/assets/index.d.ts +0 -1
  20. package/lib/components/ratings/five-stars-rating/assets/star.svg +0 -3
  21. package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +0 -3
  22. package/lib/components/ratings/five-stars-rating/index.d.ts +0 -2
  23. package/lib/components/ratings/five-stars-rating/interfaces.d.ts +0 -15
  24. package/lib/components/ratings/index.d.ts +0 -1
  25. package/lib/components/ribbons/progress-ribbon/index.d.ts +0 -1
  26. package/lib/components/ribbons/progress-ribbon/interfaces.d.ts +0 -34
  27. package/lib/components/ribbons/progress-ribbon/progress-ribbon.d.ts +0 -3
  28. package/lib/components/slider/index.d.ts +0 -2
  29. package/lib/components/slider/interfaces.d.ts +0 -57
  30. package/lib/components/slider/partials/step-circles/index.d.ts +0 -1
  31. package/lib/components/slider/partials/step-circles/interfaces.d.ts +0 -14
  32. package/lib/components/slider/partials/step-circles/step-circles.d.ts +0 -3
  33. package/lib/components/slider/slider.d.ts +0 -3
  34. package/lib/interfaces.d.ts +0 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfdecode/sd-component-library",
3
- "version": "4.0.52",
3
+ "version": "4.0.54-test",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.199 14.401">
2
- <path id="Forma_1_copy_2" data-name="Forma 1 copy 2" d="M737.961,1685.238a.636.636,0,0,0-.512-.433l-4.482-.65-2-4.031a.667.667,0,0,0-1.146,0l-2.006,4.031-4.469.649a.64.64,0,0,0-.518.433.627.627,0,0,0,.163.65l3.234,3.139-.762,4.432a.634.634,0,0,0,.255.621.642.642,0,0,0,.377.12.651.651,0,0,0,.3-.073l4-2.092,4.008,2.092a.642.642,0,0,0,.674-.049.633.633,0,0,0,.253-.622l-.767-4.432,3.242-3.138A.63.63,0,0,0,737.961,1685.238Z" transform="translate(-722.794 -1679.8)"/>
3
- </svg>
@@ -1 +0,0 @@
1
- export { UpDownArrow } from "./up-down-arrow";
@@ -1,10 +0,0 @@
1
- export interface UpDownArrowProps {
2
- /**
3
- * Is the component currently hovered and should be animating
4
- */
5
- isHovered: boolean;
6
- /**
7
- * The color of the component
8
- */
9
- color?: string;
10
- }
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { UpDownArrowProps } from "./interfaces";
3
- export declare function UpDownArrow(props: UpDownArrowProps): JSX.Element;
@@ -1,3 +0,0 @@
1
- import { TertiaryBadgeProps as Props } from "./interfaces";
2
- export { TertiaryBadge } from "./tertiary-badge";
3
- export declare type TertiaryBadgeProps = Props;
@@ -1,2 +0,0 @@
1
- import { BadgeProps as Props } from "../badge/interfaces";
2
- export declare type TertiaryBadgeProps = Pick<Props, "children" | "m" | "mt" | "mr" | "mb" | "ml" | "bg">;
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import { TertiaryBadgeProps } from "./interfaces";
3
- /**
4
- * The Tertiary badge.
5
- */
6
- export declare const TertiaryBadge: React.FunctionComponent<TertiaryBadgeProps>;
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { CarouselSectionContainerProps as Props } from "./interfaces";
3
- /**
4
- * The CarouselSectionContainer component
5
- * In mobile view, it displays the items in a single row, and allows
6
- * to move between them using 2 arrows at the top right corner.
7
- * @param props
8
- */
9
- export declare const CarouselSectionContainer: React.FC<Props>;
@@ -1 +0,0 @@
1
- export { CarouselSectionContainer } from "./carousel-section-container";
@@ -1,25 +0,0 @@
1
- import { ReactNode } from "react";
2
- import { SectionContainerProps } from "../../containers/section-container/interfaces";
3
- export declare type CarouselSectionContainerProps = SectionContainerProps & {
4
- /**
5
- * The items of the carousel
6
- */
7
- carouselItems: ReactNode[];
8
- /**
9
- * The width in px of each item in the carousel.
10
- * This should be the sum of the horizontal
11
- * content, margin, padding and border.
12
- */
13
- itemWidth: number;
14
- /**
15
- * Amount of space in px between each carouselItem
16
- */
17
- spacing: number;
18
- /**
19
- * The component that contains the carouselItems in
20
- * desktop and tablet views.
21
- */
22
- WrapperComponent: React.FC<{
23
- children?: ReactNode;
24
- }>;
25
- };
@@ -1 +0,0 @@
1
- export * from "./carousel-section-container";
@@ -1 +0,0 @@
1
- export { ReactComponent as Star } from "./star.svg";
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.199 14.401">
2
- <path id="Forma_1_copy_2" data-name="Forma 1 copy 2" d="M737.961,1685.238a.636.636,0,0,0-.512-.433l-4.482-.65-2-4.031a.667.667,0,0,0-1.146,0l-2.006,4.031-4.469.649a.64.64,0,0,0-.518.433.627.627,0,0,0,.163.65l3.234,3.139-.762,4.432a.634.634,0,0,0,.255.621.642.642,0,0,0,.377.12.651.651,0,0,0,.3-.073l4-2.092,4.008,2.092a.642.642,0,0,0,.674-.049.633.633,0,0,0,.253-.622l-.767-4.432,3.242-3.138A.63.63,0,0,0,737.961,1685.238Z" transform="translate(-722.794 -1679.8)"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { FiveStarsRatingProps } from "./interfaces";
3
- export declare const FiveStarsRating: (props: FiveStarsRatingProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export { FiveStarsRating } from "./five-stars-rating";
2
- export type { FiveStarsRatingProps } from "./interfaces";
@@ -1,15 +0,0 @@
1
- import { BaseComponentProps } from "../../interfaces";
2
- export interface FiveStarsRatingProps extends BaseComponentProps {
3
- /**
4
- * The amount of stars the item receives.
5
- */
6
- rating: number;
7
- /**
8
- * The color of the stars.
9
- */
10
- color?: string;
11
- /**
12
- * If we want to change the size of the star.
13
- */
14
- starSize?: number;
15
- }
@@ -1 +0,0 @@
1
- export * from "./five-stars-rating";
@@ -1 +0,0 @@
1
- export { ProgressRibbon } from "./progress-ribbon";
@@ -1,34 +0,0 @@
1
- export interface ProgressRibbonProps {
2
- /**
3
- * Current progress to be displayed.
4
- */
5
- currentProgress: number;
6
- /**
7
- * Total progress number.
8
- */
9
- total: number;
10
- /**
11
- * Label for the ribbon
12
- */
13
- label: string;
14
- /**
15
- * Gap between the components.
16
- */
17
- gap?: string[];
18
- /**
19
- * Action button label
20
- */
21
- buttonLabel?: string;
22
- /**
23
- * Action button callback
24
- */
25
- handleButtonClick?: () => void;
26
- /**
27
- * Is the button disabled?
28
- */
29
- isButtonDisabled?: boolean;
30
- /**
31
- * Width of the button
32
- */
33
- buttonWidth?: string[];
34
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { ProgressRibbonProps } from "./interfaces";
3
- export declare const ProgressRibbon: React.FC<ProgressRibbonProps>;
@@ -1,2 +0,0 @@
1
- export { Slider } from "./slider";
2
- export type { SlideSettings } from "./interfaces";
@@ -1,57 +0,0 @@
1
- /// <reference types="react" />
2
- import { BaseComponentProps } from "../interfaces";
3
- export interface SlideSettings {
4
- slide: React.ReactNode;
5
- maxSteps: number;
6
- step: number;
7
- }
8
- export interface SliderProps extends BaseComponentProps {
9
- /**
10
- * The current step
11
- */
12
- currentStep: number;
13
- /**
14
- * The maximum number of steps
15
- */
16
- maxSteps: number;
17
- /**
18
- * the color of the active step circle
19
- */
20
- activeStepColor?: string;
21
- /**
22
- * The active slide
23
- */
24
- children: React.ReactNode;
25
- /**
26
- * The padding
27
- */
28
- p?: Array<string>;
29
- /**
30
- * The width
31
- */
32
- width?: Array<string>;
33
- /**
34
- * The button's height
35
- */
36
- height?: Array<string>;
37
- /**
38
- * The border style to apply to the button.
39
- */
40
- borderStyle?: string;
41
- /**
42
- * The border width to apply to the button.
43
- */
44
- borderWidth?: string;
45
- /**
46
- * The border color to apply to the button.
47
- */
48
- borderColor?: string;
49
- /**
50
- * The border radius for the slider.
51
- */
52
- borderRadius?: Array<string>;
53
- /**
54
- * The background css property
55
- */
56
- bg?: string;
57
- }
@@ -1 +0,0 @@
1
- export { StepCircles } from "./step-circles";
@@ -1,14 +0,0 @@
1
- export interface StepCirclesProps {
2
- /**
3
- * The current step
4
- */
5
- currentStep: number;
6
- /**
7
- * The maximum number of steps
8
- */
9
- maxSteps: number;
10
- /**
11
- * the color of the active step circle
12
- */
13
- activeStepColor?: string;
14
- }
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { StepCirclesProps } from "./interfaces";
3
- export declare const StepCircles: (props: StepCirclesProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { SliderProps } from "./interfaces";
3
- export declare const Slider: (props: SliderProps) => JSX.Element;
@@ -1,28 +0,0 @@
1
- export type { AccordionProps as BaseAccordionProps } from "./components/accordions/base-accordion";
2
- export type { SublistAccordionProps as BaseSublistAccordionProps } from "./components/accordions/sublist-accordion";
3
- export type { BadgeProps as BaseBadgeProps } from "./components/badges/badge";
4
- export type { BicolorBadgeProps as BaseBicolorBadgeProps } from "./components/bicolor-badge";
5
- export type { BreadCrumbProps as BaseBreadcrumbProps } from "./components/breadcrumbs/breadcrumb";
6
- export type { ButtonProps as BaseButtonProps } from "./components/buttons/button";
7
- export type { CtaButtonProps as BaseCtaButtonProps } from "./components/buttons/cta/cta-button";
8
- export type { TextCtaButtonProps as BaseTextCtaButtonProps } from "./components/buttons/cta/text-cta-button";
9
- export type { BaseGridContainerProps as BaseBaseGridContainerProps } from "./components/containers/grid-containers/base-grid-container";
10
- export type { CustomScrollbarBoxProps as BaseCustomScrollbarBoxProps } from "./components/custom-scrollbar-box";
11
- export type { InputProps as BaseInputProps } from "./components/inputs/input";
12
- export type { TextInputProps as BaseTextInputProps } from "./components/inputs/text-input";
13
- export type { ResponsiveTextProps as BaseResponsiveTextProps } from "./components/texts/responsive-text";
14
- export type { NumberInputProps as BaseNumberInputProps } from "./components/inputs/number-input";
15
- export type { LinkProps as BaseLinkProps } from "./components/links/link";
16
- export type { ListProps as BaseListProps } from "./components/lists/list";
17
- export type { ModalProps as BaseModalProps } from "./components/modals/modal";
18
- export type { BaseOutlineMeterProps as BaseBaseOutlineMeterProps } from "./components/meters/base-outline-meter";
19
- export type { ProgressBarProps as BaseProgressBarProps } from "./components/progress-bars/progress-bar";
20
- export type { SelectorProps as BaseSelectorProps, SelectorOption as SelectorOptionType, } from "./components/selectors/selector";
21
- export type { SlideSettings as SlideSettingsType } from "./components/slider";
22
- export type { TextSwitchProps as BaseTextSwitchProps } from "./components/switches/text-switch";
23
- export type { CarouselSwitchProps as BaseCarouselSwitchProps, Selection as CarouselSwitchSelectionType, } from "./components/switches/carousel-switch";
24
- export type { BaseTextProps as BaseTextPropsInterface } from "./components/texts/base-text";
25
- export type { PaginationBarProps as BasePaginationBarProps } from "./components/pagination-bars/pagination-bar";
26
- export type { CompactPrimarySelectorProps as BaseCompactSelectorProps } from "./components/selectors/compact-primary-selector";
27
- export type { BaseDateRangeInputProps } from "./components/inputs/date-inputs/base-date-range-input";
28
- export type { OutlinedDateRangeInputProps } from "./components/inputs/date-inputs/outlined-date-range-input";