@algorithm-shift/design-system 1.2.34 → 1.2.35
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 +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +218 -156
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +220 -159
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -50,6 +50,10 @@ interface TextAreaProps extends ElementProps, InputProperties { }
|
|
|
50
50
|
interface UrlInputProps extends ElementProps, InputProperties { }
|
|
51
51
|
interface SearchInputProps extends ElementProps, InputProperties { }
|
|
52
52
|
interface FileInputProps extends ElementProps, InputProperties { }
|
|
53
|
+
interface TextInputGroupProps extends ElementProps, InputProperties {
|
|
54
|
+
prepend?: string | React.ReactNode;
|
|
55
|
+
append?: string | React.ReactNode;
|
|
56
|
+
}
|
|
53
57
|
interface CheckboxInputProps extends ElementProps, InputProperties {
|
|
54
58
|
value?: boolean;
|
|
55
59
|
onChange?: (value: boolean) => void;
|
|
@@ -236,6 +240,8 @@ declare function DatePicker({ className, style, ...props }: DatePickerInputProps
|
|
|
236
240
|
|
|
237
241
|
declare const DateRange: ({ className, style, ...props }: DateRangeInputProps) => react_jsx_runtime.JSX.Element;
|
|
238
242
|
|
|
243
|
+
declare const TextInputGroup: ({ className, style, prepend, append, ...props }: TextInputGroupProps) => react_jsx_runtime.JSX.Element;
|
|
244
|
+
|
|
239
245
|
declare const Table: ({ columns, data, rowActions, className, style, pagination, itemsPerPage, onPageChange, loading }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
240
246
|
|
|
241
247
|
interface CustomPaginationProps {
|
|
@@ -268,4 +274,4 @@ declare function EmailComposer({ className, style, to, setTo, showCc, setShowCc,
|
|
|
268
274
|
|
|
269
275
|
declare function cn(...inputs: ClassValue[]): string;
|
|
270
276
|
|
|
271
|
-
export { ChartComponent as BarChart, ButtonWrapper as Button, CheckboxInput as Checkbox, Container, DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, ImageControl as Image, Logo, Modal, MultiCheckbox, Navbar, Notification, NumberInput, CustomPagination as Pagination, PasswordInput as Password, PhoneInput as Phone, DonutChart as PieChart, Profile, RadioInput as RadioGroup, RichText, SearchInput as Search, Shape, Spacer, StagesComponent as Stages, SwitchToggle, Table, Tabs, TextInput as Text, Textarea, Typography, UrlInput as URL, cn };
|
|
277
|
+
export { ChartComponent as BarChart, ButtonWrapper as Button, CheckboxInput as Checkbox, Container, DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, ImageControl as Image, Logo, Modal, MultiCheckbox, Navbar, Notification, NumberInput, CustomPagination as Pagination, PasswordInput as Password, PhoneInput as Phone, DonutChart as PieChart, Profile, RadioInput as RadioGroup, RichText, SearchInput as Search, Shape, Spacer, StagesComponent as Stages, SwitchToggle, Table, Tabs, TextInput as Text, TextInputGroup, Textarea, Typography, UrlInput as URL, cn };
|
package/dist/index.d.ts
CHANGED
|
@@ -50,6 +50,10 @@ interface TextAreaProps extends ElementProps, InputProperties { }
|
|
|
50
50
|
interface UrlInputProps extends ElementProps, InputProperties { }
|
|
51
51
|
interface SearchInputProps extends ElementProps, InputProperties { }
|
|
52
52
|
interface FileInputProps extends ElementProps, InputProperties { }
|
|
53
|
+
interface TextInputGroupProps extends ElementProps, InputProperties {
|
|
54
|
+
prepend?: string | React.ReactNode;
|
|
55
|
+
append?: string | React.ReactNode;
|
|
56
|
+
}
|
|
53
57
|
interface CheckboxInputProps extends ElementProps, InputProperties {
|
|
54
58
|
value?: boolean;
|
|
55
59
|
onChange?: (value: boolean) => void;
|
|
@@ -236,6 +240,8 @@ declare function DatePicker({ className, style, ...props }: DatePickerInputProps
|
|
|
236
240
|
|
|
237
241
|
declare const DateRange: ({ className, style, ...props }: DateRangeInputProps) => react_jsx_runtime.JSX.Element;
|
|
238
242
|
|
|
243
|
+
declare const TextInputGroup: ({ className, style, prepend, append, ...props }: TextInputGroupProps) => react_jsx_runtime.JSX.Element;
|
|
244
|
+
|
|
239
245
|
declare const Table: ({ columns, data, rowActions, className, style, pagination, itemsPerPage, onPageChange, loading }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
240
246
|
|
|
241
247
|
interface CustomPaginationProps {
|
|
@@ -268,4 +274,4 @@ declare function EmailComposer({ className, style, to, setTo, showCc, setShowCc,
|
|
|
268
274
|
|
|
269
275
|
declare function cn(...inputs: ClassValue[]): string;
|
|
270
276
|
|
|
271
|
-
export { ChartComponent as BarChart, ButtonWrapper as Button, CheckboxInput as Checkbox, Container, DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, ImageControl as Image, Logo, Modal, MultiCheckbox, Navbar, Notification, NumberInput, CustomPagination as Pagination, PasswordInput as Password, PhoneInput as Phone, DonutChart as PieChart, Profile, RadioInput as RadioGroup, RichText, SearchInput as Search, Shape, Spacer, StagesComponent as Stages, SwitchToggle, Table, Tabs, TextInput as Text, Textarea, Typography, UrlInput as URL, cn };
|
|
277
|
+
export { ChartComponent as BarChart, ButtonWrapper as Button, CheckboxInput as Checkbox, Container, DatePicker, DateRange, Dropdown, EmailInput as Email, EmailComposer, FileInput, Flex as FlexLayout, Grid as GridLayout, ImageControl as Image, Logo, Modal, MultiCheckbox, Navbar, Notification, NumberInput, CustomPagination as Pagination, PasswordInput as Password, PhoneInput as Phone, DonutChart as PieChart, Profile, RadioInput as RadioGroup, RichText, SearchInput as Search, Shape, Spacer, StagesComponent as Stages, SwitchToggle, Table, Tabs, TextInput as Text, TextInputGroup, Textarea, Typography, UrlInput as URL, cn };
|