@stackone/malachite 0.16.0 → 0.18.0

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
@@ -101,6 +101,7 @@ declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonE
101
101
  flexGrow?: boolean;
102
102
  fill?: boolean;
103
103
  tooltip?: string;
104
+ iconOnly?: boolean;
104
105
  children?: default_2.ReactNode;
105
106
  onClick?: default_2.MouseEventHandler<HTMLButtonElement>;
106
107
  }
@@ -240,20 +241,28 @@ export declare const darkTheme: MalachiteTheme;
240
241
 
241
242
  export declare const defaultTheme: MalachiteTheme;
242
243
 
243
- /**
244
- * A 1px horizontal divider component that uses the card border style from the theme.
245
- * The divider spans edge to edge of its container.
246
- * Supports configurable margin and padding using predefined spacing sizes.
247
- */
248
244
  export declare const Divider: default_2.FC<DividerProps>;
249
245
 
250
246
  declare interface DividerProps {
251
247
  margin?: SpacingSize;
252
248
  padding?: PaddingSize;
253
249
  className?: string;
250
+ variant?: DividerVariant;
251
+ grow?: boolean;
252
+ }
253
+
254
+ /**
255
+ * A 1px horizontal divider component that uses the card border style from the theme.
256
+ * The divider spans edge to edge of its container.
257
+ * Supports configurable margin and padding using predefined spacing sizes.
258
+ */
259
+ export declare enum DividerVariant {
260
+ Default = "default",
261
+ Muted = "muted",
262
+ Emphasis = "emphasis"
254
263
  }
255
264
 
256
- export declare const Dropdown: ({ items, onItemSelected, defaultValue, disabled, error, label, hint, tooltip, name, required, loading, formControl, description, helperText, }: DropdownProps) => JSX_2.Element;
265
+ export declare const Dropdown: ({ items, onItemSelected, defaultValue, disabled, error, label, hint, tooltip, name, required, loading, formControl, description, helperText, placeholder, }: DropdownProps) => JSX_2.Element;
257
266
 
258
267
  export declare interface DropdownItem {
259
268
  id: string;
@@ -279,6 +288,7 @@ export declare interface DropdownProps {
279
288
  description?: string;
280
289
  required?: boolean;
281
290
  helperText?: string;
291
+ placeholder?: string;
282
292
  }
283
293
 
284
294
  declare interface EllipsisTextProps {