@selfdecode/sd-component-library 4.0.30 → 4.0.32
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/buttons/index.d.ts +0 -1
- package/lib/components/checkboxes/checkbox/checkbox.d.ts +2 -1
- package/lib/components/checkboxes/checkbox-v2/checkbox-v2.d.ts +3 -0
- package/lib/components/checkboxes/checkbox-v2/index.d.ts +1 -0
- package/lib/components/checkboxes/checkbox-v2/interfaces.d.ts +9 -0
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/checkbox-v2-container.d.ts +3 -0
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/index.d.ts +2 -0
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/interfaces.d.ts +18 -0
- package/lib/components/checkboxes/checkbox-v2/partials/index.d.ts +1 -0
- package/lib/components/checkboxes/index.d.ts +2 -0
- package/lib/components/checkboxes/partial-checkbox/partial-checkbox.d.ts +2 -1
- package/lib/components/checkboxes/partial-checkbox-v2/index.d.ts +1 -0
- package/lib/components/checkboxes/partial-checkbox-v2/interfaces.d.ts +6 -0
- package/lib/components/checkboxes/partial-checkbox-v2/partial-checkbox-v2.d.ts +3 -0
- package/lib/components/containers/grid-containers/grid-align-content-start/grid-align-content-start.d.ts +3 -0
- package/lib/components/containers/grid-containers/grid-align-content-start/index.d.ts +1 -0
- package/lib/components/containers/grid-containers/index.d.ts +1 -0
- package/lib/components/meters/smiley-meter-v2/constants.d.ts +0 -2
- package/lib/components/meters/smiley-meter-v2/interfaces.d.ts +0 -4
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +1 -1
- package/lib/components/selectors/custom-scrollable-selector/partials/index.d.ts +1 -0
- package/lib/components/selectors/custom-selector/partials/index.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/partials/index.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +1 -1
- package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +1 -1
- package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +1 -1
- package/lib/components/selectors/selector-v2/partials/index.d.ts +1 -0
- package/lib/components/selectors/selector-v2/selector-v2.d.ts +1 -1
- package/lib/components/tabs/tab-bar-v2/partials/tab-v2/interfaces.d.ts +0 -1
- package/lib/components/texts/base-inline-text/base-inline-text.d.ts +3 -0
- package/lib/components/texts/base-inline-text/index.d.ts +1 -0
- package/lib/components/texts/index.d.ts +2 -0
- package/lib/components/texts/inherit-color-text/index.d.ts +1 -0
- package/lib/components/texts/inherit-color-text/inherit-color-text.d.ts +3 -0
- package/lib/components/tooltips/index.d.ts +0 -1
- package/lib/components/utils/index.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -1
- package/lib/interfaces.d.ts +0 -1
- package/package.json +1 -1
- package/lib/components/buttons/cta/share-button/assets/index.d.ts +0 -1
- package/lib/components/buttons/cta/share-button/assets/share.svg +0 -1
- package/lib/components/buttons/cta/share-button/index.d.ts +0 -3
- package/lib/components/buttons/cta/share-button/interfaces.d.ts +0 -23
- package/lib/components/buttons/cta/share-button/share-button.d.ts +0 -6
- package/lib/components/dropdowns/dropdown/dropdown-placholder/dropdown-placholder.d.ts +0 -6
- package/lib/components/dropdowns/dropdown/dropdown-placholder/index.d.ts +0 -1
- package/lib/components/dropdowns/dropdown/dropdown-placholder/interfaces.d.ts +0 -2
- package/lib/components/dropdowns/dropdown/dropdown.d.ts +0 -6
- package/lib/components/dropdowns/dropdown/index.d.ts +0 -3
- package/lib/components/dropdowns/dropdown/interfaces.d.ts +0 -38
- package/lib/components/dropdowns/index.d.ts +0 -2
- package/lib/components/dropdowns/primary-dropdown/index.d.ts +0 -1
- package/lib/components/dropdowns/primary-dropdown/interfaces.d.ts +0 -2
- package/lib/components/dropdowns/primary-dropdown/primary-dropdown.d.ts +0 -6
- package/lib/components/tooltips/star-tooltip/index.d.ts +0 -1
- package/lib/components/tooltips/star-tooltip/interfaces.d.ts +0 -23
- package/lib/components/tooltips/star-tooltip/partials/toltip-text-modal/index.d.ts +0 -1
- package/lib/components/tooltips/star-tooltip/partials/toltip-text-modal/interfaces.d.ts +0 -6
- package/lib/components/tooltips/star-tooltip/partials/toltip-text-modal/tooltip-text-modal.d.ts +0 -3
- package/lib/components/tooltips/star-tooltip/star-tooltip.d.ts +0 -3
- package/lib/components/utils/page-tracker/index.d.ts +0 -2
- package/lib/components/utils/page-tracker/interfaces.d.ts +0 -7
- package/lib/components/utils/page-tracker/page-tracker.d.ts +0 -2
- package/lib/fd0a680053462edb6f26ac4e136ee800.svg +0 -1
package/lib/interfaces.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export type { CtaButtonProps as BaseCtaButtonProps } from "./components/buttons/
|
|
|
8
8
|
export type { TextCtaButtonProps as BaseTextCtaButtonProps } from "./components/buttons/cta/text-cta-button";
|
|
9
9
|
export type { BaseGridContainerProps as BaseBaseGridContainerProps } from "./components/containers/grid-containers/base-grid-container";
|
|
10
10
|
export type { CustomScrollbarBoxProps as BaseCustomScrollbarBoxProps } from "./components/custom-scrollbar-box";
|
|
11
|
-
export type { DropdownProps as BaseDropdownProps } from "./components/dropdowns/dropdown";
|
|
12
11
|
export type { InputProps as BaseInputProps } from "./components/inputs/input";
|
|
13
12
|
export type { TextInputProps as BaseTextInputProps } from "./components/inputs/text-input";
|
|
14
13
|
export type { ResponsiveTextProps as BaseResponsiveTextProps } from "./components/texts/responsive-text";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ReactComponent as Share } from "./share.svg";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"> <path d="M 18 2 A 3 3 0 0 0 15 5 A 3 3 0 0 0 15.054688 5.5605469 L 7.9394531 9.7109375 A 3 3 0 0 0 6 9 A 3 3 0 0 0 3 12 A 3 3 0 0 0 6 15 A 3 3 0 0 0 7.9355469 14.287109 L 15.054688 18.439453 A 3 3 0 0 0 15 19 A 3 3 0 0 0 18 22 A 3 3 0 0 0 21 19 A 3 3 0 0 0 18 16 A 3 3 0 0 0 16.0625 16.712891 L 8.9453125 12.560547 A 3 3 0 0 0 9 12 A 3 3 0 0 0 8.9453125 11.439453 L 16.060547 7.2890625 A 3 3 0 0 0 18 8 A 3 3 0 0 0 21 5 A 3 3 0 0 0 18 2 z"/></svg>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { CtaButtonProps } from "../cta-button";
|
|
2
|
-
/**
|
|
3
|
-
* Props we want from the base button.
|
|
4
|
-
*/
|
|
5
|
-
declare type BaseButtonProps = Pick<CtaButtonProps, "link" | "scrollTo" | "history" | "onClick" | "children" | "disabled" | "color" | "bg" | "borderColor" | "hoverBorderColor" | "hoverColor" | "hoverBg" | "m" | "mt" | "mr" | "mb" | "ml">;
|
|
6
|
-
/**
|
|
7
|
-
* Additional props we want to add
|
|
8
|
-
*/
|
|
9
|
-
export interface ShareButtonProps extends BaseButtonProps {
|
|
10
|
-
/**
|
|
11
|
-
* The share title string.
|
|
12
|
-
*/
|
|
13
|
-
shareTitle: string;
|
|
14
|
-
/**
|
|
15
|
-
* The share body string.
|
|
16
|
-
*/
|
|
17
|
-
shareBody?: string;
|
|
18
|
-
/**
|
|
19
|
-
* The url we want to share.
|
|
20
|
-
*/
|
|
21
|
-
url: string;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DropdownPlaceholderProps } from "./interfaces";
|
|
3
|
-
/**
|
|
4
|
-
* The placholder for the dropdown component.
|
|
5
|
-
*/
|
|
6
|
-
export declare const DropdownPlaceholder: (props: DropdownPlaceholderProps) => React.ReactElement<DropdownPlaceholderProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DropdownPlaceholder } from "./dropdown-placholder";
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../interfaces";
|
|
2
|
-
export declare enum Position {
|
|
3
|
-
BottomLeft = "bottom_left",
|
|
4
|
-
BottomRight = "bottom_right",
|
|
5
|
-
TopLeft = "top_left",
|
|
6
|
-
TopRight = "top_right"
|
|
7
|
-
}
|
|
8
|
-
export interface DropdownItemProps {
|
|
9
|
-
/**
|
|
10
|
-
* The link title.
|
|
11
|
-
*/
|
|
12
|
-
title: string;
|
|
13
|
-
/**
|
|
14
|
-
* The link url.
|
|
15
|
-
*/
|
|
16
|
-
href?: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Defines the dropdown component's properties.
|
|
20
|
-
*/
|
|
21
|
-
export interface DropdownProps extends BaseComponentProps {
|
|
22
|
-
/**
|
|
23
|
-
* List of the links.
|
|
24
|
-
*/
|
|
25
|
-
links: DropdownItemProps[];
|
|
26
|
-
/**
|
|
27
|
-
* The dropdown position.
|
|
28
|
-
*/
|
|
29
|
-
position?: Position;
|
|
30
|
-
/**
|
|
31
|
-
* The dropdown arrow visibility.
|
|
32
|
-
*/
|
|
33
|
-
hideArrow?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The placeholder text for he dropdown.
|
|
36
|
-
*/
|
|
37
|
-
placeholder?: string;
|
|
38
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PrimaryDropdown } from "./primary-dropdown";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { StarTooltip } from "./star-tooltip";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BaseTooltipProps } from "../base-tooltip";
|
|
2
|
-
export interface StarTooltipProps extends Pick<BaseTooltipProps, "tooltipText"> {
|
|
3
|
-
/**
|
|
4
|
-
* Small text to be displayed after star icon.
|
|
5
|
-
*/
|
|
6
|
-
primaryText: string;
|
|
7
|
-
/**
|
|
8
|
-
* Medium bold text to be displayed after primary text.
|
|
9
|
-
*/
|
|
10
|
-
secondaryText: string;
|
|
11
|
-
/**
|
|
12
|
-
* Tooltip text color.
|
|
13
|
-
*/
|
|
14
|
-
color?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Tooltip text background color.
|
|
17
|
-
*/
|
|
18
|
-
bg?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Width of the tooltip text.
|
|
21
|
-
*/
|
|
22
|
-
width?: string[];
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TooltipTextModal } from "./tooltip-text-modal";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"> <path d="M 18 2 A 3 3 0 0 0 15 5 A 3 3 0 0 0 15.054688 5.5605469 L 7.9394531 9.7109375 A 3 3 0 0 0 6 9 A 3 3 0 0 0 3 12 A 3 3 0 0 0 6 15 A 3 3 0 0 0 7.9355469 14.287109 L 15.054688 18.439453 A 3 3 0 0 0 15 19 A 3 3 0 0 0 18 22 A 3 3 0 0 0 21 19 A 3 3 0 0 0 18 16 A 3 3 0 0 0 16.0625 16.712891 L 8.9453125 12.560547 A 3 3 0 0 0 9 12 A 3 3 0 0 0 8.9453125 11.439453 L 16.060547 7.2890625 A 3 3 0 0 0 18 8 A 3 3 0 0 0 21 5 A 3 3 0 0 0 18 2 z"/></svg>
|