@delightui/components 0.1.11 → 0.1.13

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
@@ -90,10 +90,16 @@ type ActionImageProps = ImageProps & {
90
90
  declare const ActionImage: (props: ActionImageProps) => React$1.JSX.Element;
91
91
 
92
92
  type ButtonTypeEnum = 'Filled' | 'Outlined' | 'Ghost';
93
+ type ButtonAppearanceEnum = 'Default' | 'Inverse';
93
94
  type ButtonStyleEnum = 'Primary' | 'Secondary' | 'Destructive';
94
95
  type ButtonSizeEnum = 'Small' | 'Medium' | 'Large';
95
96
  type ButtonActionTypeEnum = 'button' | 'submit' | 'reset';
96
97
  type ButtonProps = Omit<HTMLAttributes<HTMLButtonElement>, 'style'> & {
98
+ /**
99
+ * Appearance of the button.
100
+ * @default 'Default'
101
+ */
102
+ appearance?: ButtonAppearanceEnum;
97
103
  /**
98
104
  * Type of the button.
99
105
  * @default 'Filled'
@@ -188,9 +194,15 @@ interface IconProps {
188
194
 
189
195
  declare const Icon: (props: IconProps) => React$1.JSX.Element | null;
190
196
 
197
+ type IconButtonAppearanceEnum = 'Default' | 'Inverse';
191
198
  type IconButtonStyleEnum = 'Primary' | 'Secondary';
192
199
  type IconButtonSizeEnum = 'Small' | 'Medium';
193
200
  interface IconButtonProps extends Omit<ButtonProps, 'leadingIcon' | 'trailingIcon' | 'style' | 'size'> {
201
+ /**
202
+ * Appearance of the button.
203
+ * @default 'Default'
204
+ */
205
+ appearance?: IconButtonAppearanceEnum;
194
206
  /**
195
207
  * The icon to be displayed.
196
208
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delightui/components",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "vite",