@algorithm-shift/design-system 1.2.21 → 1.2.22

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.mts CHANGED
@@ -1,18 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
3
- import * as React$1 from 'react';
4
- import React__default from 'react';
5
- import { VariantProps } from 'class-variance-authority';
2
+ import React$1 from 'react';
6
3
  import { ClassValue } from 'clsx';
7
4
 
8
- declare const buttonVariants: (props?: ({
9
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
10
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
11
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
12
- declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
13
- asChild?: boolean;
14
- }): react_jsx_runtime.JSX.Element;
15
-
16
5
  interface ElementProps {
17
6
  children?: React.ReactNode;
18
7
  className?: string;
@@ -100,20 +89,26 @@ interface NotificationProps extends ElementProps {
100
89
  interface LogoProps extends ElementProps {
101
90
  imageUrl?: string;
102
91
  altText?: string;
92
+ }
93
+
94
+ interface ButtonProps extends ElementProps {
95
+ textContent?: string;
103
96
  }
104
97
 
105
98
  declare const Flex: ({ children, className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
106
99
 
107
100
  declare const Grid: ({ children, className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
108
101
 
109
- declare const Typography: ({ className, style, tagName, textContent, }: TypographyProps) => React__default.DetailedReactHTMLElement<{
110
- style: React__default.CSSProperties | undefined;
111
- className: string;
112
- }, HTMLElement>;
102
+ declare const ButtonComponent: ({ className, style, textContent, }: ButtonProps) => react_jsx_runtime.JSX.Element;
103
+
104
+ declare const ImageControl: ({ className, style, imageUrl, imageUrlExternal, altText, }: ImageProps) => react_jsx_runtime.JSX.Element;
113
105
 
114
106
  declare const Shape: ({ children, className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
115
107
 
116
- declare const ImageControl: ({ className, style, imageUrl, imageUrlExternal, altText, }: ImageProps) => react_jsx_runtime.JSX.Element;
108
+ declare const Typography: ({ className, style, tagName, textContent, }: TypographyProps) => React$1.DetailedReactHTMLElement<{
109
+ style: React$1.CSSProperties | undefined;
110
+ className: string;
111
+ }, HTMLElement>;
117
112
 
118
113
  declare const TextInput: ({ className, style, ...props }: TextInputProps) => react_jsx_runtime.JSX.Element;
119
114
 
@@ -165,4 +160,4 @@ declare const Logo: ({ className, style, imageUrl, altText, }: LogoProps) => rea
165
160
 
166
161
  declare function cn(...inputs: ClassValue[]): string;
167
162
 
168
- export { Button, CheckboxInput, DatePicker, DateRange, Dropdown, EmailInput, FileInput, Flex as FlexLayout, Grid as GridLayout, ImageControl as Image, Logo, MultiCheckbox, Notification, NumberInput, PasswordInput, PhoneInput, Profile, RadioInput, RichText, SearchInput, Shape, Spacer, StagesComponent as Stages, SwitchToggle, Table, Tabs, TextInput, Textarea, Typography, UrlInput, buttonVariants, cn };
163
+ export { ButtonComponent as Button, CheckboxInput as Checkbox, DatePicker, DateRange, Dropdown, EmailInput, FileInput, Flex as FlexLayout, Grid as GridLayout, ImageControl as Image, Logo, MultiCheckbox, Notification, NumberInput, PasswordInput, PhoneInput, Profile, RadioInput, RichText, SearchInput, Shape, Spacer, StagesComponent as Stages, SwitchToggle, Table, Tabs, TextInput, Textarea, Typography, UrlInput, cn };
package/dist/index.d.ts CHANGED
@@ -1,18 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
3
- import * as React$1 from 'react';
4
- import React__default from 'react';
5
- import { VariantProps } from 'class-variance-authority';
2
+ import React$1 from 'react';
6
3
  import { ClassValue } from 'clsx';
7
4
 
8
- declare const buttonVariants: (props?: ({
9
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
10
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
11
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
12
- declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
13
- asChild?: boolean;
14
- }): react_jsx_runtime.JSX.Element;
15
-
16
5
  interface ElementProps {
17
6
  children?: React.ReactNode;
18
7
  className?: string;
@@ -100,20 +89,26 @@ interface NotificationProps extends ElementProps {
100
89
  interface LogoProps extends ElementProps {
101
90
  imageUrl?: string;
102
91
  altText?: string;
92
+ }
93
+
94
+ interface ButtonProps extends ElementProps {
95
+ textContent?: string;
103
96
  }
104
97
 
105
98
  declare const Flex: ({ children, className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
106
99
 
107
100
  declare const Grid: ({ children, className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
108
101
 
109
- declare const Typography: ({ className, style, tagName, textContent, }: TypographyProps) => React__default.DetailedReactHTMLElement<{
110
- style: React__default.CSSProperties | undefined;
111
- className: string;
112
- }, HTMLElement>;
102
+ declare const ButtonComponent: ({ className, style, textContent, }: ButtonProps) => react_jsx_runtime.JSX.Element;
103
+
104
+ declare const ImageControl: ({ className, style, imageUrl, imageUrlExternal, altText, }: ImageProps) => react_jsx_runtime.JSX.Element;
113
105
 
114
106
  declare const Shape: ({ children, className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
115
107
 
116
- declare const ImageControl: ({ className, style, imageUrl, imageUrlExternal, altText, }: ImageProps) => react_jsx_runtime.JSX.Element;
108
+ declare const Typography: ({ className, style, tagName, textContent, }: TypographyProps) => React$1.DetailedReactHTMLElement<{
109
+ style: React$1.CSSProperties | undefined;
110
+ className: string;
111
+ }, HTMLElement>;
117
112
 
118
113
  declare const TextInput: ({ className, style, ...props }: TextInputProps) => react_jsx_runtime.JSX.Element;
119
114
 
@@ -165,4 +160,4 @@ declare const Logo: ({ className, style, imageUrl, altText, }: LogoProps) => rea
165
160
 
166
161
  declare function cn(...inputs: ClassValue[]): string;
167
162
 
168
- export { Button, CheckboxInput, DatePicker, DateRange, Dropdown, EmailInput, FileInput, Flex as FlexLayout, Grid as GridLayout, ImageControl as Image, Logo, MultiCheckbox, Notification, NumberInput, PasswordInput, PhoneInput, Profile, RadioInput, RichText, SearchInput, Shape, Spacer, StagesComponent as Stages, SwitchToggle, Table, Tabs, TextInput, Textarea, Typography, UrlInput, buttonVariants, cn };
163
+ export { ButtonComponent as Button, CheckboxInput as Checkbox, DatePicker, DateRange, Dropdown, EmailInput, FileInput, Flex as FlexLayout, Grid as GridLayout, ImageControl as Image, Logo, MultiCheckbox, Notification, NumberInput, PasswordInput, PhoneInput, Profile, RadioInput, RichText, SearchInput, Shape, Spacer, StagesComponent as Stages, SwitchToggle, Table, Tabs, TextInput, Textarea, Typography, UrlInput, cn };