sy-ui-lib 1.0.10 → 1.0.11

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.
@@ -27,6 +27,12 @@ declare const meta: {
27
27
  };
28
28
  options: string[];
29
29
  };
30
+ size: {
31
+ control: {
32
+ type: "select";
33
+ };
34
+ options: string[];
35
+ };
30
36
  };
31
37
  };
32
38
  export default meta;
@@ -5,6 +5,7 @@ export type ChipType = "active" | "suspended" | "locked" | "pending" | "info";
5
5
  export type ChipVariant = "filled" | "outlined";
6
6
  /** Defines the available icon colors */
7
7
  export type ChipIconColor = "white" | "success" | "error" | "slategray" | "goldenYellow" | "techBlue";
8
+ export type ChipSize = "xs" | "sm" | "md";
8
9
  /** Props for the Chip component */
9
10
  export interface ChipProps {
10
11
  /** Text content to be displayed inside the chip */
@@ -19,4 +20,6 @@ export interface ChipProps {
19
20
  onClick?: () => void;
20
21
  /** Optional icon to be displayed in future use */
21
22
  iconName?: IconName;
23
+ /** Size of the chip, affecting padding and minimum dimensions */
24
+ size?: ChipSize;
22
25
  }
@@ -5,4 +5,5 @@ export interface ToggleProps {
5
5
  ariaLabel?: string;
6
6
  onColor?: string;
7
7
  offColor?: string;
8
+ size?: "sm" | "md";
8
9
  }