@audira/carbon-react-native 1.0.0 → 1.0.2
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/lib/commonjs/carbon-style-sheet/g/font.js +6 -6
- package/lib/commonjs/carbon-style-sheet/g/font.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g/spacing.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/typography.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/font.js +4 -4
- package/lib/commonjs/carbon-style-sheet/g-object/font.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/spacing.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/typography.js +1 -1
- package/lib/commonjs/components/text/Text.js +1 -1
- package/lib/commonjs/components/text/Text.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/font.js +4 -4
- package/lib/module/carbon-style-sheet/g/font.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/spacing.js +1 -1
- package/lib/module/carbon-style-sheet/g/typography.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/font.js +3 -3
- package/lib/module/carbon-style-sheet/g-object/font.js.map +1 -1
- package/lib/module/carbon-style-sheet/g-object/spacing.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/typography.js +1 -1
- package/lib/module/components/text/Text.js +1 -1
- package/lib/module/components/text/Text.js.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g/font.d.ts +2 -2
- package/lib/typescript/commonjs/carbon-style-sheet/g/font.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g/text.d.ts +16 -10
- package/lib/typescript/commonjs/carbon-style-sheet/g/text.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/font.d.ts +2 -2
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/font.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g/font.d.ts +2 -2
- package/lib/typescript/module/carbon-style-sheet/g/font.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g/text.d.ts +16 -10
- package/lib/typescript/module/carbon-style-sheet/g/text.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g-object/font.d.ts +2 -2
- package/lib/typescript/module/carbon-style-sheet/g-object/font.d.ts.map +1 -1
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/carbon-style-sheet/g/font.ts +4 -4
- package/src/carbon-style-sheet/g/spacing.ts +1 -1
- package/src/carbon-style-sheet/g/text.ts +10 -10
- package/src/carbon-style-sheet/g/typography.ts +1 -1
- package/src/carbon-style-sheet/g-object/font.ts +3 -3
- package/src/carbon-style-sheet/g-object/spacing.ts +1 -1
- package/src/carbon-style-sheet/g-object/text.ts +11 -11
- package/src/carbon-style-sheet/g-object/typography.ts +1 -1
- package/src/components/text/Text.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated
|
|
2
|
-
// Fri, 13 Mar 2026
|
|
2
|
+
// Fri, 13 Mar 2026 19:09:53 GMT
|
|
3
3
|
|
|
4
4
|
// To support cross platforms, we are mapping the `fontFamily` value to its PostScript name,
|
|
5
5
|
// instead of the `fontWeight` number with a single font family name like in Web// Giving a `fontWeight` number will not work.
|
|
@@ -44,9 +44,9 @@ export const { font_regular } = StyleSheet.create({
|
|
|
44
44
|
fontFamily: "IBMPlexSans-Regular",
|
|
45
45
|
} as const,
|
|
46
46
|
})
|
|
47
|
-
export const {
|
|
48
|
-
|
|
49
|
-
fontFamily: "IBMPlexSans-
|
|
47
|
+
export const { font_italic } = StyleSheet.create({
|
|
48
|
+
font_italic: {
|
|
49
|
+
fontFamily: "IBMPlexSans-Italic",
|
|
50
50
|
} as const,
|
|
51
51
|
})
|
|
52
52
|
export const { font_medium } = StyleSheet.create({
|
|
@@ -5,59 +5,59 @@ import {
|
|
|
5
5
|
export const { text_center } = StyleSheet.create({
|
|
6
6
|
text_center: {
|
|
7
7
|
textAlign: "center",
|
|
8
|
-
},
|
|
8
|
+
} as const,
|
|
9
9
|
})
|
|
10
10
|
|
|
11
11
|
export const { text_left } = StyleSheet.create({
|
|
12
12
|
text_left: {
|
|
13
13
|
textAlign: "left",
|
|
14
|
-
},
|
|
14
|
+
} as const,
|
|
15
15
|
})
|
|
16
16
|
|
|
17
17
|
export const { text_right } = StyleSheet.create({
|
|
18
18
|
text_right: {
|
|
19
19
|
textAlign: "right",
|
|
20
|
-
},
|
|
20
|
+
} as const,
|
|
21
21
|
})
|
|
22
22
|
|
|
23
23
|
export const { underline } = StyleSheet.create({
|
|
24
24
|
underline: {
|
|
25
25
|
textDecorationLine: "underline",
|
|
26
|
-
},
|
|
26
|
+
} as const,
|
|
27
27
|
})
|
|
28
28
|
|
|
29
29
|
export const { line_through } = StyleSheet.create({
|
|
30
30
|
line_through: {
|
|
31
31
|
textDecorationLine: "line-through",
|
|
32
|
-
},
|
|
32
|
+
} as const,
|
|
33
33
|
})
|
|
34
34
|
|
|
35
35
|
export const { no_underline } = StyleSheet.create({
|
|
36
36
|
no_underline: {
|
|
37
37
|
textDecorationLine: "none",
|
|
38
|
-
},
|
|
38
|
+
} as const,
|
|
39
39
|
})
|
|
40
40
|
|
|
41
41
|
export const { align_auto } = StyleSheet.create({
|
|
42
42
|
align_auto: {
|
|
43
43
|
verticalAlign: "auto",
|
|
44
|
-
},
|
|
44
|
+
} as const,
|
|
45
45
|
})
|
|
46
46
|
|
|
47
47
|
export const { align_top } = StyleSheet.create({
|
|
48
48
|
align_top: {
|
|
49
49
|
verticalAlign: "top",
|
|
50
|
-
},
|
|
50
|
+
} as const,
|
|
51
51
|
})
|
|
52
52
|
|
|
53
53
|
export const { align_middle } = StyleSheet.create({
|
|
54
54
|
align_middle: {
|
|
55
55
|
verticalAlign: "middle",
|
|
56
|
-
},
|
|
56
|
+
} as const,
|
|
57
57
|
})
|
|
58
58
|
|
|
59
59
|
export const { align_bottom } = StyleSheet.create({
|
|
60
60
|
align_bottom: {
|
|
61
61
|
verticalAlign: "bottom",
|
|
62
|
-
},
|
|
62
|
+
} as const,
|
|
63
63
|
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated
|
|
2
|
-
// Fri, 13 Mar 2026
|
|
2
|
+
// Fri, 13 Mar 2026 19:09:53 GMT
|
|
3
3
|
|
|
4
4
|
// To support cross platforms, we are mapping the `fontFamily` value to its PostScript name,
|
|
5
5
|
// instead of the `fontWeight` number with a single font family name like in Web// Giving a `fontWeight` number will not work.
|
|
@@ -37,8 +37,8 @@ export const font_regular = {
|
|
|
37
37
|
fontFamily: "IBMPlexSans-Regular",
|
|
38
38
|
} as const satisfies TextStyle
|
|
39
39
|
|
|
40
|
-
export const
|
|
41
|
-
fontFamily: "IBMPlexSans-
|
|
40
|
+
export const font_italic = {
|
|
41
|
+
fontFamily: "IBMPlexSans-Italic",
|
|
42
42
|
} as const satisfies TextStyle
|
|
43
43
|
|
|
44
44
|
export const font_medium = {
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
2
|
+
TextStyle,
|
|
3
3
|
} from "react-native"
|
|
4
4
|
|
|
5
5
|
export const text_center = {
|
|
6
6
|
textAlign: "center",
|
|
7
|
-
} as const satisfies
|
|
7
|
+
} as const satisfies TextStyle
|
|
8
8
|
|
|
9
9
|
export const text_left = {
|
|
10
10
|
textAlign: "left",
|
|
11
|
-
} as const satisfies
|
|
11
|
+
} as const satisfies TextStyle
|
|
12
12
|
|
|
13
13
|
export const text_right = {
|
|
14
14
|
textAlign: "right",
|
|
15
|
-
} as const satisfies
|
|
15
|
+
} as const satisfies TextStyle
|
|
16
16
|
|
|
17
17
|
export const underline = {
|
|
18
18
|
textDecorationLine: "underline",
|
|
19
|
-
} as const satisfies
|
|
19
|
+
} as const satisfies TextStyle
|
|
20
20
|
|
|
21
21
|
export const line_through = {
|
|
22
22
|
textDecorationLine: "line-through",
|
|
23
|
-
} as const satisfies
|
|
23
|
+
} as const satisfies TextStyle
|
|
24
24
|
|
|
25
25
|
export const no_underline = {
|
|
26
26
|
textDecorationLine: "none",
|
|
27
|
-
} as const satisfies
|
|
27
|
+
} as const satisfies TextStyle
|
|
28
28
|
|
|
29
29
|
export const align_auto = {
|
|
30
30
|
verticalAlign: "auto",
|
|
31
|
-
} as const satisfies
|
|
31
|
+
} as const satisfies TextStyle
|
|
32
32
|
|
|
33
33
|
export const align_top = {
|
|
34
34
|
verticalAlign: "top",
|
|
35
|
-
} as const satisfies
|
|
35
|
+
} as const satisfies TextStyle
|
|
36
36
|
|
|
37
37
|
export const align_middle = {
|
|
38
38
|
verticalAlign: "middle",
|
|
39
|
-
} as const satisfies
|
|
39
|
+
} as const satisfies TextStyle
|
|
40
40
|
|
|
41
41
|
export const align_bottom = {
|
|
42
42
|
verticalAlign: "bottom",
|
|
43
|
-
} as const satisfies
|
|
43
|
+
} as const satisfies TextStyle
|
|
@@ -92,7 +92,7 @@ const
|
|
|
92
92
|
100: CarbonStyleSheet.g.font_thin_italic,
|
|
93
93
|
200: CarbonStyleSheet.g.font_extralight_italic,
|
|
94
94
|
300: CarbonStyleSheet.g.font_light_italic,
|
|
95
|
-
400: CarbonStyleSheet.g.
|
|
95
|
+
400: CarbonStyleSheet.g.font_italic,
|
|
96
96
|
500: CarbonStyleSheet.g.font_medium_italic,
|
|
97
97
|
600: CarbonStyleSheet.g.font_semibold_italic,
|
|
98
98
|
700: CarbonStyleSheet.g.font_bold_italic,
|