@selfdecode/sd-component-library 4.0.0 → 4.0.3
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/carousels/carousel-section-container/interfaces.d.ts +3 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/navbar-item/navbar-item.d.ts +3 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-box/interfaces.d.ts +2 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navigation-item-text/navigation-item-text.d.ts +3 -1
- package/lib/components/complex/navbar/presentational/url-utils.d.ts +0 -6
- package/lib/components/inputs/primary-text-input/interfaces.d.ts +2 -0
- package/lib/components/inputs/secondary-text-input/interfaces.d.ts +1 -1
- package/lib/core/theme.d.ts +5 -5
- package/lib/index.js +1 -1
- package/lib/setupTests.d.ts +1 -0
- package/package.json +10 -12
|
@@ -19,5 +19,7 @@ export declare type CarouselSectionContainerProps = SectionContainerProps & {
|
|
|
19
19
|
* The component that contains the carouselItems in
|
|
20
20
|
* desktop and tablet views.
|
|
21
21
|
*/
|
|
22
|
-
WrapperComponent: React.FC
|
|
22
|
+
WrapperComponent: React.FC<{
|
|
23
|
+
children?: ReactNode;
|
|
24
|
+
}>;
|
|
23
25
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { NavbarMobileV2PresentationalProps } from "../../../../../navbar-v2/partials/navbar-mobile-v2/presentational/interfaces";
|
|
2
3
|
export declare type NavbarMobileUnfoldedBoxProps = Pick<NavbarMobileV2PresentationalProps, "itemsInCart" | "onClickCartIcon" | "isLegacy" | "hideSearch"> & {
|
|
3
4
|
/**
|
|
@@ -16,4 +17,5 @@ export declare type NavbarMobileUnfoldedBoxProps = Pick<NavbarMobileV2Presentati
|
|
|
16
17
|
* Container overflow.
|
|
17
18
|
*/
|
|
18
19
|
overflow?: string;
|
|
20
|
+
children?: React.ReactNode;
|
|
19
21
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { TextProps } from "rebass";
|
|
1
2
|
import { TextInputProps } from "../text-input";
|
|
2
3
|
export declare type PrimaryTextInputProps = Pick<TextInputProps, "onChange" | "value" | "type" | "placeholder" | "onKeyPress" | "focusInput" | "padding" | "textAlign" | "width" | "m" | "mt" | "mr" | "mb" | "ml" | "onFocus" | "autoFocus" | "errorBackground" | "sx" | "id" | "disabled" | "maxLength"> & {
|
|
3
4
|
/**
|
|
4
5
|
* Optional error message
|
|
5
6
|
*/
|
|
6
7
|
errorMessage?: string;
|
|
8
|
+
errorMessageProps?: Partial<TextProps>;
|
|
7
9
|
hideErrorText?: boolean;
|
|
8
10
|
};
|
|
@@ -4,7 +4,7 @@ import { PrimaryTextInputProps } from "../primary-text-input";
|
|
|
4
4
|
/**
|
|
5
5
|
* Defines the SecondaryTextInput component's properties.
|
|
6
6
|
*/
|
|
7
|
-
export declare type SecondaryTextInputProps = Pick<PrimaryTextInputProps, "onChange" | "value" | "type" | "padding" | "placeholder" | "errorMessage" | "hideErrorText" | "focusInput" | "textAlign" | "width" | "m" | "mt" | "mr" | "mb" | "ml" | "onFocus" | "autoFocus" | "errorBackground" | "disabled" | "sx" | "maxLength"> & {
|
|
7
|
+
export declare type SecondaryTextInputProps = Pick<PrimaryTextInputProps, "onChange" | "value" | "type" | "padding" | "placeholder" | "errorMessage" | "errorMessageProps" | "hideErrorText" | "focusInput" | "textAlign" | "width" | "m" | "mt" | "mr" | "mb" | "ml" | "onFocus" | "autoFocus" | "errorBackground" | "disabled" | "sx" | "maxLength"> & {
|
|
8
8
|
/**
|
|
9
9
|
* The label for the text input
|
|
10
10
|
*/
|
package/lib/core/theme.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* The theme for the application.
|
|
3
|
+
*/
|
|
4
|
+
declare const theme: {
|
|
2
5
|
breakpoints: string[];
|
|
3
6
|
colors: {
|
|
4
7
|
cl_transparent: string;
|
|
@@ -766,7 +769,4 @@ declare const _default: {
|
|
|
766
769
|
};
|
|
767
770
|
};
|
|
768
771
|
};
|
|
769
|
-
|
|
770
|
-
* The theme for the application.
|
|
771
|
-
*/
|
|
772
|
-
export default _default;
|
|
772
|
+
export default theme;
|