@idealyst/components 1.2.103 → 1.2.105
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/package.json +4 -4
- package/src/Text/Text.styles.tsx +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idealyst/components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.105",
|
|
4
4
|
"description": "Shared component library for React and React Native",
|
|
5
5
|
"documentation": "https://github.com/IdealystIO/idealyst-framework/tree/main/packages/components#readme",
|
|
6
6
|
"readme": "README.md",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"publish:npm": "npm publish"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@idealyst/theme": "^1.2.
|
|
59
|
+
"@idealyst/theme": "^1.2.105",
|
|
60
60
|
"@mdi/js": ">=7.0.0",
|
|
61
61
|
"@mdi/react": ">=1.0.0",
|
|
62
62
|
"@react-native-vector-icons/common": ">=12.0.0",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@idealyst/blur": "^1.2.40",
|
|
110
|
-
"@idealyst/theme": "^1.2.
|
|
111
|
-
"@idealyst/tooling": "^1.2.
|
|
110
|
+
"@idealyst/theme": "^1.2.105",
|
|
111
|
+
"@idealyst/tooling": "^1.2.105",
|
|
112
112
|
"@mdi/react": "^1.6.1",
|
|
113
113
|
"@types/react": "^19.1.0",
|
|
114
114
|
"react": "^19.1.0",
|
package/src/Text/Text.styles.tsx
CHANGED
|
@@ -20,8 +20,8 @@ export type TextVariants = {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
23
|
+
* Parameters for the internal Text dynamic style function.
|
|
24
|
+
* Used by the defineStyle implementation to resolve styles at runtime.
|
|
25
25
|
*/
|
|
26
26
|
export type TextStyleParams = {
|
|
27
27
|
/** Text color variant */
|
|
@@ -36,9 +36,10 @@ export type TextStyleParams = {
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* Text style definition type for use with extendStyle/overrideStyle.
|
|
39
|
+
* Extensions are plain style objects — functions are NOT supported.
|
|
39
40
|
*/
|
|
40
41
|
export interface TextStyleDef {
|
|
41
|
-
text:
|
|
42
|
+
text: TextStyle & {
|
|
42
43
|
variants?: {
|
|
43
44
|
typography?: Record<string, TextStyle>;
|
|
44
45
|
weight?: Record<string, TextStyle>;
|