sy-ui-lib 1.0.0 → 1.0.2

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/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # SK UI Library
1
+ # SY UI Library
2
2
 
3
3
  This project is the **UI component library**, built with modern frontend tools and practices. It is a reusable and scalable library developed using **React**, **TypeScript**, **Vite**, **Storybook**, **Biome** and **Husky**..
4
4
 
5
- All user interfaces within SK projects will be built using these standardized and tested components to ensure design consistency, reusability, and developer efficiency.
5
+ All user interfaces within SY Exch projects will be built using these standardized and tested components to ensure design consistency, reusability, and developer efficiency.
6
6
 
7
7
  ---
8
8
 
@@ -8,6 +8,8 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
8
8
  size?: ButtonSize;
9
9
  /** Visual style of the button*/
10
10
  variant?: ButtonVariant;
11
+ /** If true, removes spacing around the button content , Defaults to false */
12
+ noSpace?: boolean;
11
13
  /** Text to show inside the button*/
12
14
  text?: string;
13
15
  /** To disable the button*/
@@ -30,4 +30,8 @@ export interface InputFieldProps {
30
30
  iconName?: IconName;
31
31
  /** Handler function on icon onclick event. */
32
32
  onClick?: (e: React.MouseEvent<HTMLElement>) => void;
33
+ /** Specifies the size of the input field. Defaults to `md`. */
34
+ size?: "sm" | "md" | "lg";
35
+ /** Specifies the theme of the input field. Defaults to `light`. */
36
+ theme?: "light" | "dark";
33
37
  }
@@ -1,6 +1,6 @@
1
1
  import { InputFieldProps } from '../InputField';
2
2
  /** Props associated with PhoneNumberInput component */
3
- export interface PhoneNumberInputProps extends Omit<InputFieldProps, "type" | "iconName" | "onClick" | "onChange"> {
3
+ export interface PhoneNumberInputProps extends Omit<InputFieldProps, "type" | "iconName" | "onClick" | "onChange" | "size"> {
4
4
  /** Handler function called when the phone input value changes. Receives the new value as a string. */
5
5
  onChange?: (value: string) => void;
6
6
  }