@delightui/components 0.1.149 → 0.1.150

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/dist/index.d.ts CHANGED
@@ -69,6 +69,7 @@ type ButtonTypeEnum = 'Filled' | 'Outlined' | 'Ghost';
69
69
  type ButtonStyleEnum = 'Primary' | 'Secondary' | 'Destructive';
70
70
  type ButtonSizeEnum = 'Small' | 'Medium' | 'Large';
71
71
  type ButtonActionTypeEnum = 'button' | 'submit' | 'reset';
72
+ type ButtonContentAlignmentEnum = 'Center' | 'SpaceBetween';
72
73
  type ButtonProps = Omit<HTMLAttributes<HTMLButtonElement>, 'style'> & {
73
74
  /**
74
75
  * Appearance of the button.
@@ -121,6 +122,11 @@ type ButtonProps = Omit<HTMLAttributes<HTMLButtonElement>, 'style'> & {
121
122
  * @default 'button'
122
123
  */
123
124
  actionType?: ButtonActionTypeEnum;
125
+ /**
126
+ * Specifies alignment of the content like leading icon, content and trailing icon
127
+ * @default 'Center'
128
+ */
129
+ alignContent?: ButtonContentAlignmentEnum;
124
130
  };
125
131
 
126
132
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delightui/components",
3
- "version": "0.1.149",
3
+ "version": "0.1.150",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "vite",