@selfdecode/sd-component-library 3.0.20 → 3.0.23

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.
@@ -1,7 +1,8 @@
1
1
  import { CSSProperties } from "react";
2
2
  import { SxProps } from "rebass";
3
3
  import { PrimaryTextInputProps } from "../primary-text-input";
4
- export interface SearchInputV2Props extends PrimaryTextInputProps {
4
+ import { SearchInputProps } from "../search-input";
5
+ export interface SearchInputV2Props extends PrimaryTextInputProps, Pick<SearchInputProps, "onClickSearch"> {
5
6
  containerSx?: SxProps["sx"];
6
7
  searchStyle?: CSSProperties;
7
8
  }
@@ -1 +1,2 @@
1
1
  export * from "./pagination-bar";
2
+ export * from "./pagination-bar-mobile";
@@ -1,4 +1,4 @@
1
- import { MaxWidthContainerProps } from "../../containers/max-width-container/interfaces";
1
+ import { MaxWidthContainerProps } from "../../containers";
2
2
  export interface PaginationBarProps extends Pick<MaxWidthContainerProps, "bgSx" | "innerSx"> {
3
3
  /**
4
4
  * The number of current page
@@ -0,0 +1 @@
1
+ export { PaginationBarMobile } from "./pagination-bar-mobile";
@@ -0,0 +1,5 @@
1
+ import { GridProps } from "../../containers";
2
+ import { PaginationBarProps } from "../pagination-bar";
3
+ export declare type PaginationBarMobileProps = Omit<GridProps, "onChange"> & Omit<PaginationBarProps, "onChange" | "bgSx" | "innerSx"> & {
4
+ onChange: (newValue: number) => void;
5
+ };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { PaginationBarMobileProps as Props } from "./interfaces";
3
+ export declare const PaginationBarMobile: React.FC<Props>;
@@ -0,0 +1,2 @@
1
+ export * from "./pagination-bar-button";
2
+ export * from "./pagination-bar-current-page";
@@ -0,0 +1 @@
1
+ export { PaginationBarButton } from "./pagination-bar-button";
@@ -0,0 +1,4 @@
1
+ export interface PaginationBarButtonProps {
2
+ disabled: boolean;
3
+ onClick: () => void;
4
+ }
@@ -0,0 +1,3 @@
1
+ import React, { PropsWithChildren } from "react";
2
+ import { PaginationBarButtonProps as Props } from "./interfaces";
3
+ export declare const PaginationBarButton: React.FC<PropsWithChildren<Props>>;
@@ -0,0 +1 @@
1
+ export { PaginationBarCurrentPage } from "./pagination-bar-current-page";
@@ -0,0 +1,2 @@
1
+ import React, { PropsWithChildren } from "react";
2
+ export declare const PaginationBarCurrentPage: React.FC<PropsWithChildren<{}>>;