@selfdecode/sd-component-library 4.0.8 → 4.0.10

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,6 +1,6 @@
1
1
  import { SxProps } from "rebass";
2
2
  import { PrimaryTextInputProps } from "../primary-text-input";
3
- export interface ClientPortalInputProps extends Pick<PrimaryTextInputProps, "value" | "onChange" | "onFocus" | "onKeyPress" | "autoFocus" | "disabled" | "maxLength" | "sx" | "focusInput" | "id" | "errorMessage" | "errorBackground" | "placeholder" | "type"> {
3
+ export interface ClientPortalInputProps extends Pick<PrimaryTextInputProps, "value" | "onChange" | "onFocus" | "onKeyPress" | "autoFocus" | "disabled" | "maxLength" | "sx" | "focusInput" | "id" | "errorMessage" | "errorBackground" | "placeholder" | "type" | "inputMode"> {
4
4
  label?: string;
5
5
  inputSx?: SxProps["sx"];
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { TextProps } from "rebass";
2
2
  import { TextInputProps } from "../text-input";
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
+ 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" | "inputMode"> & {
4
4
  /**
5
5
  * Optional error message
6
6
  */
@@ -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" | "errorMessageProps" | "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" | "inputMode"> & {
8
8
  /**
9
9
  * The label for the text input
10
10
  */
@@ -56,6 +56,7 @@ export interface TabBarProps<T> extends Pick<TabProps<T>, "labelSx" | "secondary
56
56
  */
57
57
  scrollable?: boolean;
58
58
  containerSx?: SxProps["sx"];
59
+ innerContainerSx?: SxProps["sx"];
59
60
  tabSx?: SxProps["sx"];
60
61
  /**
61
62
  * Whether to disable automatic translation of tab bar content.
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { TabBarProps } from "./interfaces";
3
- export declare function TabBar<T>({ tabs, selectedTabId, onTabSelect, activeColor, color, displayBorder, tabPadding, tabWidth, tabHeight, tabMaxWidth, labelSx, secondaryTextSx, scrollable, containerSx, dontTranslate, tabSx, }: TabBarProps<T>): JSX.Element;
3
+ export declare function TabBar<T>({ tabs, selectedTabId, onTabSelect, activeColor, color, displayBorder, tabPadding, tabWidth, tabHeight, tabMaxWidth, labelSx, secondaryTextSx, scrollable, containerSx, dontTranslate, tabSx, innerContainerSx, }: TabBarProps<T>): JSX.Element;