karsten-design-system 1.2.51 → 1.2.53

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.
@@ -16,6 +16,7 @@ export interface FileUploadProps {
16
16
  className?: string;
17
17
  error?: string;
18
18
  disabled?: boolean;
19
+ systemLanguage?: 'pt' | 'en' | 'es';
19
20
  }
20
- export declare function FileUpload({ label, value, onChange, multiple, fileTypes, className, error, disabled, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function FileUpload({ label, value, onChange, multiple, fileTypes, className, error, disabled, systemLanguage, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
21
22
  export {};
@@ -12,5 +12,6 @@ export type MultiSelectProps = {
12
12
  ariaLabel?: string;
13
13
  onInputChange?: (input: string) => void;
14
14
  isLoadingOptions?: boolean;
15
+ systemLanguage?: 'pt' | 'en' | 'es';
15
16
  };
16
17
  export declare function MultiSelect(props: MultiSelectProps): import("react/jsx-runtime").JSX.Element;
@@ -12,5 +12,6 @@ export type SingleSelectProps = {
12
12
  ariaLabel?: string;
13
13
  onInputChange?: (input: string) => void;
14
14
  isLoadingOptions?: boolean;
15
+ systemLanguage?: 'pt' | 'en' | 'es';
15
16
  };
16
17
  export declare function Select(props: SingleSelectProps): import("react/jsx-runtime").JSX.Element;
@@ -41,5 +41,6 @@ export type TableProps<T> = {
41
41
  onFilterChange?: (filters: Record<string, string>) => void;
42
42
  onSortChange?: (dataIndex: keyof T, direction: SortDirection) => void;
43
43
  actionLabel?: string;
44
+ systemLanguage?: 'pt' | 'en' | 'es';
44
45
  };
45
- export declare function Table<T extends Record<string, any>>({ columns, data, totalRecords, actions, isOrdered, actionsHeaderClassName, actionsColumnsClassName, rowsPerPage, onPageChange, isPaginated, isLoading, onFilterChange, onSortChange, actionLabel, }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
46
+ export declare function Table<T extends Record<string, any>>({ columns, data, totalRecords, actions, isOrdered, actionsHeaderClassName, actionsColumnsClassName, rowsPerPage, onPageChange, isPaginated, isLoading, onFilterChange, onSortChange, actionLabel, systemLanguage, }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export type TextColorProps = {
2
+ value: string;
3
+ color?: TextColor;
4
+ };
5
+ export type TextColor = 'blue' | 'red' | 'green' | 'gray' | 'purple' | 'yellow' | 'orange' | 'pink' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'indigo' | 'violet' | 'fuchsia' | 'rose' | 'stone' | 'amber' | 'lime' | 'slate' | 'zinc' | 'neutral';
6
+ export declare function TextColor({ value, color }: TextColorProps): import("react/jsx-runtime").JSX.Element;
@@ -36,5 +36,6 @@ export * from './stories/components/spinner';
36
36
  export * from './stories/components/table';
37
37
  export * from './stories/components/tabs';
38
38
  export * from './stories/components/tagStatus';
39
+ export * from './stories/components/textColor';
39
40
  export * from './stories/components/toast';
40
41
  export * from './stories/components/tooltip';
@@ -16,6 +16,7 @@ export interface FileUploadProps {
16
16
  className?: string;
17
17
  error?: string;
18
18
  disabled?: boolean;
19
+ systemLanguage?: 'pt' | 'en' | 'es';
19
20
  }
20
- export declare function FileUpload({ label, value, onChange, multiple, fileTypes, className, error, disabled, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function FileUpload({ label, value, onChange, multiple, fileTypes, className, error, disabled, systemLanguage, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
21
22
  export {};
@@ -12,5 +12,6 @@ export type MultiSelectProps = {
12
12
  ariaLabel?: string;
13
13
  onInputChange?: (input: string) => void;
14
14
  isLoadingOptions?: boolean;
15
+ systemLanguage?: 'pt' | 'en' | 'es';
15
16
  };
16
17
  export declare function MultiSelect(props: MultiSelectProps): import("react/jsx-runtime").JSX.Element;
@@ -12,5 +12,6 @@ export type SingleSelectProps = {
12
12
  ariaLabel?: string;
13
13
  onInputChange?: (input: string) => void;
14
14
  isLoadingOptions?: boolean;
15
+ systemLanguage?: 'pt' | 'en' | 'es';
15
16
  };
16
17
  export declare function Select(props: SingleSelectProps): import("react/jsx-runtime").JSX.Element;
@@ -41,5 +41,6 @@ export type TableProps<T> = {
41
41
  onFilterChange?: (filters: Record<string, string>) => void;
42
42
  onSortChange?: (dataIndex: keyof T, direction: SortDirection) => void;
43
43
  actionLabel?: string;
44
+ systemLanguage?: 'pt' | 'en' | 'es';
44
45
  };
45
- export declare function Table<T extends Record<string, any>>({ columns, data, totalRecords, actions, isOrdered, actionsHeaderClassName, actionsColumnsClassName, rowsPerPage, onPageChange, isPaginated, isLoading, onFilterChange, onSortChange, actionLabel, }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
46
+ export declare function Table<T extends Record<string, any>>({ columns, data, totalRecords, actions, isOrdered, actionsHeaderClassName, actionsColumnsClassName, rowsPerPage, onPageChange, isPaginated, isLoading, onFilterChange, onSortChange, actionLabel, systemLanguage, }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export type TextColorProps = {
2
+ value: string;
3
+ color?: TextColor;
4
+ };
5
+ export type TextColor = 'blue' | 'red' | 'green' | 'gray' | 'purple' | 'yellow' | 'orange' | 'pink' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'indigo' | 'violet' | 'fuchsia' | 'rose' | 'stone' | 'amber' | 'lime' | 'slate' | 'zinc' | 'neutral';
6
+ export declare function TextColor({ value, color }: TextColorProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "karsten-design-system",
3
3
  "description": "Karsten Design System Components",
4
- "version": "1.2.51",
4
+ "version": "1.2.53",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",