@kroo-web/design-system 1.22.6 → 1.23.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.
@@ -22,3 +22,7 @@ export declare const Radius: Story;
22
22
  /** The isSquare prop allows you to enforce that the card always had the same width and height using aspect ratio
23
23
  */
24
24
  export declare const IsSquare: Story;
25
+ /** The border prop within variants handles what the component looks like and allows you to choose from the
26
+ * below list of options
27
+ */
28
+ export declare const Border: Story;
@@ -3,13 +3,14 @@ import { PolymorphicPropsWithoutRef } from '../../types/PolymorphicWithoutRef';
3
3
 
4
4
  declare const defaultElement = "div";
5
5
  export type TCardVariants = {
6
+ border?: 0 | 1 | 2 | 3;
6
7
  elementType?: 'div';
7
8
  radius?: 'large' | 'medium' | 'none' | 'small';
8
9
  size?: {
9
10
  horizontal: 'extra-small' | 'large' | 'medium' | 'none' | 'small';
10
11
  vertical: 'extra-small' | 'large' | 'medium' | 'none' | 'small';
11
12
  };
12
- visual?: 'primary' | 'secondary' | 'tertiary';
13
+ visual?: 'primary' | 'secondary' | 'tertiary' | 'warning';
13
14
  };
14
15
  export interface ICardOwnProps extends React.HTMLAttributes<HTMLDivElement>, PropsWithChildren {
15
16
  as?: 'div';
@@ -17,6 +17,7 @@ export type TNativeRadioGroupRootProps = {
17
17
  name: string;
18
18
  onChange: (value: string) => void;
19
19
  variant?: 'cards' | 'circle';
20
+ visual?: 'horizontal' | 'vertical';
20
21
  } & RadixRadioGroup.RadioGroupProps;
21
22
  /**
22
23
  *
@@ -25,15 +26,17 @@ export type TNativeRadioGroupRootProps = {
25
26
  */
26
27
  export declare const RadioGroup: {
27
28
  Indicator: ({ className, ...props }: RadixRadioGroup.RadioGroupIndicatorProps) => import("react/jsx-runtime").JSX.Element;
28
- Item: ({ children, className, variant, ...props }: {
29
+ Item: ({ children, className, supportingText, variant, ...props }: {
30
+ supportingText?: string;
29
31
  variant?: "cards" | "circle";
30
32
  } & RadixRadioGroup.RadioGroupItemProps) => import("react/jsx-runtime").JSX.Element;
31
33
  Root: <T extends FieldValues>({ children, className, disabled, label, name, variant, ...props }: TRadioGroupProps<T>) => import("react/jsx-runtime").JSX.Element;
32
34
  };
33
35
  export declare const NativeRadioGroup: {
34
36
  Indicator: ({ className, ...props }: RadixRadioGroup.RadioGroupIndicatorProps) => import("react/jsx-runtime").JSX.Element;
35
- Item: ({ children, className, variant, ...props }: {
37
+ Item: ({ children, className, supportingText, variant, ...props }: {
38
+ supportingText?: string;
36
39
  variant?: "cards" | "circle";
37
40
  } & RadixRadioGroup.RadioGroupItemProps) => import("react/jsx-runtime").JSX.Element;
38
- Root: ({ children, className, disabled, error, label, name, onChange, variant, ...props }: TNativeRadioGroupRootProps) => import("react/jsx-runtime").JSX.Element;
41
+ Root: ({ children, className, disabled, error, label, name, onChange, variant, visual, ...props }: TNativeRadioGroupRootProps) => import("react/jsx-runtime").JSX.Element;
39
42
  };