gantri-components 1.26.4 → 1.28.1

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.
@@ -0,0 +1,3 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { BadgeProps } from './badge.types';
3
+ export declare const Badge: FC<PropsWithChildren<BadgeProps>>;
@@ -0,0 +1,2 @@
1
+ import { BadgeProps } from './badge.types';
2
+ export declare const BadgePresets: Partial<BadgeProps>;
@@ -0,0 +1,2 @@
1
+ import { BadgeProps } from './badge.types';
2
+ export declare const StyledBadge: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, Pick<BadgeProps, "color" | "opacity" | "size" | "variant">, never>;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { PaletteColor } from '../../styles/theme';
3
+ export interface BadgeProps {
4
+ color?: PaletteColor;
5
+ icon?: JSX.Element;
6
+ opacity?: number;
7
+ size?: 'large' | 'small';
8
+ text?: string;
9
+ tx?: string;
10
+ txValues?: any;
11
+ variant?: 'primary' | 'secondary';
12
+ }
@@ -0,0 +1 @@
1
+ export * from './badge';
@@ -1,3 +1,4 @@
1
+ export declare const StyledCheckboxWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1
2
  export declare const StyledCheckboxContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
3
  disabled: boolean;
3
4
  }, never>;
@@ -1,3 +1,5 @@
1
+ export * from './aspect-ratio';
2
+ export * from './badge';
1
3
  export * from './box';
2
4
  export * from './button';
3
5
  export * from './cell';
@@ -9,4 +11,3 @@ export * from './radio';
9
11
  export * from './stack';
10
12
  export * from './typography';
11
13
  export * from './checkbox';
12
- export * from './aspect-ratio';
@@ -1,3 +1,4 @@
1
+ export declare const StyledRadioWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1
2
  export declare const StyledRadioContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
3
  export declare const StyledRadio: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
4
  export declare const StyledRadioInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;