@stackone/malachite 0.12.0 → 0.14.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
@@ -243,8 +243,15 @@ export declare const defaultTheme: MalachiteTheme;
243
243
  /**
244
244
  * A 1px horizontal divider component that uses the card border style from the theme.
245
245
  * The divider spans edge to edge of its container.
246
+ * Supports configurable margin and padding using predefined spacing sizes.
246
247
  */
247
- export declare const Divider: default_2.FC;
248
+ export declare const Divider: default_2.FC<DividerProps>;
249
+
250
+ declare interface DividerProps {
251
+ margin?: SpacingSize;
252
+ padding?: PaddingSize;
253
+ className?: string;
254
+ }
248
255
 
249
256
  export declare const Dropdown: default_2.FC<DropdownProps>;
250
257
 
@@ -669,16 +676,23 @@ declare interface MarkdownProps {
669
676
  export declare const Padded: default_2.FC<PaddedProps>;
670
677
 
671
678
  declare interface PaddedProps {
672
- vertical: PaddingSize;
673
- horizontal: PaddingSize;
679
+ vertical: PaddingSize_2;
680
+ horizontal: PaddingSize_2;
674
681
  children: default_2.ReactNode;
675
682
  fullHeight?: boolean;
676
683
  className?: string;
677
684
  }
678
685
 
679
- declare type PaddingSize = 'small' | 'medium' | 'large' | 'none';
686
+ export declare enum PaddingSize {
687
+ XSmall = "xsmall",
688
+ Small = "small",
689
+ Medium = "medium",
690
+ Large = "large"
691
+ }
680
692
 
681
- declare type PaddingSize_2 = 'default' | 'compact';
693
+ declare type PaddingSize_2 = 'small' | 'medium' | 'large' | 'none';
694
+
695
+ declare type PaddingSize_3 = 'default' | 'compact';
682
696
 
683
697
  declare interface PageTitleProps {
684
698
  children: default_2.ReactNode;
@@ -770,6 +784,13 @@ declare interface SpacerProps {
770
784
  className?: string;
771
785
  }
772
786
 
787
+ export declare enum SpacingSize {
788
+ XSmall = "xsmall",
789
+ Small = "small",
790
+ Medium = "medium",
791
+ Large = "large"
792
+ }
793
+
773
794
  export declare const Spinner: default_2.FC<SpinnerProps>;
774
795
 
775
796
  declare interface SpinnerProps {
@@ -889,7 +910,7 @@ export declare interface TagProps {
889
910
  shadow?: boolean;
890
911
  textTransform?: 'none' | 'uppercase';
891
912
  width?: WidthSize;
892
- paddingSize?: PaddingSize_2;
913
+ paddingSize?: PaddingSize_3;
893
914
  icon?: default_2.ReactNode;
894
915
  iconPosition?: 'left' | 'right';
895
916
  pointerType?: 'pointer' | 'default';