one-north-cla 0.0.3 → 0.0.4

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
@@ -8,10 +8,29 @@ import { ReactNode } from 'react';
8
8
  import { RefAttributes } from 'react';
9
9
  import { SocialPlatform } from '../../../lib/types';
10
10
 
11
- export declare function Button({ asChild, children, className, displayStars, variant, ...props }: ButtonProps): JSX.Element | null;
11
+ export declare function Button({ children, className, displayStars, variant, ...props }: ButtonProps): JSX.Element | null;
12
+
13
+ export declare function ButtonIcon({ children, className, variant, ...props }: ButtonIconProps): JSX.Element | null;
14
+
15
+ export declare interface ButtonIconProps {
16
+ children?: ReactNode;
17
+ className?: string;
18
+ variant?: ButtonIconVariant;
19
+ }
20
+
21
+ export declare type ButtonIconVariant = "cart-connect" | "cart-digital" | "enterprise" | "enterprise-nav" | "primary-connect" | "primary-digital" | "reversed-cart-connect" | "reversed-cart-digital" | "reversed-connect" | "reversed-connect-nav" | "reversed-digital" | "reversed-digital-nav" | "secondary";
22
+
23
+ export declare function ButtonLogo({ children, className, variant, ...props }: ButtonLogoProps): JSX.Element | null;
24
+
25
+ export declare interface ButtonLogoProps {
26
+ children?: ReactNode;
27
+ className?: string;
28
+ variant?: ButtonLogoVariant;
29
+ }
30
+
31
+ export declare type ButtonLogoVariant = "basic" | "connect" | "digital";
12
32
 
13
33
  export declare interface ButtonProps {
14
- asChild?: boolean;
15
34
  children?: ReactNode;
16
35
  className?: string;
17
36
  displayStars?: boolean;
@@ -36,6 +55,7 @@ export declare function ContentCarouselMultiple({ backgroundColor, button, child
36
55
 
37
56
  export declare interface ContentCarouselMultipleCardProps {
38
57
  button: ReactNode;
58
+ buttonIconVariant?: ButtonIconVariant;
39
59
  count?: number;
40
60
  headline: ReactNode;
41
61
  id: string;
@@ -100,10 +120,9 @@ export declare interface ShareProps {
100
120
  variant: PageVariant;
101
121
  }
102
122
 
103
- export declare function TextCta({ asChild, children, className, displayStars, variant, ...props }: TextCtaProps): JSX.Element | null;
123
+ export declare function TextCta({ children, className, displayStars, variant, ...props }: TextCtaProps): JSX.Element | null;
104
124
 
105
125
  export declare interface TextCtaProps {
106
- asChild?: boolean;
107
126
  children?: ReactNode;
108
127
  className?: string;
109
128
  displayStars?: boolean;