shared-design-system 1.86.0 → 1.88.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
label?: string;
|
|
3
|
+
label?: string | React.ReactNode;
|
|
4
4
|
required?: boolean;
|
|
5
5
|
error?: string;
|
|
6
6
|
help?: string;
|
|
@@ -9,14 +9,14 @@ export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
9
9
|
}
|
|
10
10
|
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
11
|
export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
12
|
-
label?: string;
|
|
12
|
+
label?: string | React.ReactNode;
|
|
13
13
|
required?: boolean;
|
|
14
14
|
error?: string;
|
|
15
15
|
help?: string;
|
|
16
16
|
}
|
|
17
17
|
export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
18
18
|
export interface NativeSelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
19
|
-
label?: string;
|
|
19
|
+
label?: string | React.ReactNode;
|
|
20
20
|
required?: boolean;
|
|
21
21
|
error?: string;
|
|
22
22
|
help?: string;
|
|
@@ -24,7 +24,7 @@ export interface NativeSelectProps extends React.SelectHTMLAttributes<HTMLSelect
|
|
|
24
24
|
}
|
|
25
25
|
export declare const NativeSelect: React.ForwardRefExoticComponent<NativeSelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
26
26
|
export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
27
|
-
label?: string;
|
|
27
|
+
label?: string | React.ReactNode;
|
|
28
28
|
}
|
|
29
29
|
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
30
30
|
export interface AutocompleteProps extends Omit<InputProps, 'onChange' | 'onSelect'> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface TabItem {
|
|
3
|
-
label: string;
|
|
3
|
+
label: string | React.ReactNode;
|
|
4
4
|
value: any;
|
|
5
5
|
icon?: React.ReactNode;
|
|
6
6
|
badge?: React.ReactNode;
|
|
@@ -9,7 +9,7 @@ export interface TabItem {
|
|
|
9
9
|
backgroundPrimary?: string;
|
|
10
10
|
}
|
|
11
11
|
export interface TabProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
12
|
-
label: string;
|
|
12
|
+
label: string | React.ReactNode;
|
|
13
13
|
value: any;
|
|
14
14
|
icon?: React.ReactNode;
|
|
15
15
|
badge?: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shared-design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.88.0",
|
|
4
4
|
"description": "Shared Tailwind Design System & UI Tokens for all Micro Frontends",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"module": "dist/src/index.js",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"react": "^19.
|
|
46
|
-
"react-dom": "^19.
|
|
45
|
+
"react": "^19.2.5",
|
|
46
|
+
"react-dom": "^19.2.5",
|
|
47
47
|
"tailwindcss": "^4.3.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"typescript": "^5.6.3",
|
|
56
|
-
"@types/react": "^19.
|
|
57
|
-
"@types/react-dom": "^19.
|
|
56
|
+
"@types/react": "^19.2.14",
|
|
57
|
+
"@types/react-dom": "^19.2.3",
|
|
58
58
|
"@types/node": "^20.11.0"
|
|
59
59
|
}
|
|
60
60
|
}
|