@audira/carbon-react-native 1.0.2 → 1.0.3
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/color.js +174 -6
- package/lib/commonjs/carbon-style-sheet/color.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/create.js +58 -21
- package/lib/commonjs/carbon-style-sheet/create.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g/font.js +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 +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/carbon-style-sheet/index.js +4 -13
- package/lib/commonjs/carbon-style-sheet/index.js.map +1 -1
- package/lib/module/carbon-style-sheet/color.js +172 -5
- package/lib/module/carbon-style-sheet/color.js.map +1 -1
- package/lib/module/carbon-style-sheet/create.js +58 -21
- package/lib/module/carbon-style-sheet/create.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/font.js +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 +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/carbon-style-sheet/index.js +2 -2
- package/lib/module/carbon-style-sheet/index.js.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/color.d.ts +169 -2
- package/lib/typescript/commonjs/carbon-style-sheet/color.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/create.d.ts +3 -3
- package/lib/typescript/commonjs/carbon-style-sheet/create.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/index.d.ts +2 -2
- package/lib/typescript/commonjs/carbon-style-sheet/index.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/color.d.ts +169 -2
- package/lib/typescript/module/carbon-style-sheet/color.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/create.d.ts +3 -3
- package/lib/typescript/module/carbon-style-sheet/create.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/index.d.ts +2 -2
- package/lib/typescript/module/carbon-style-sheet/index.d.ts.map +1 -1
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/carbon-style-sheet/color.ts +171 -12
- package/src/carbon-style-sheet/create.ts +93 -53
- package/src/carbon-style-sheet/g/font.ts +1 -1
- package/src/carbon-style-sheet/g/spacing.ts +1 -1
- package/src/carbon-style-sheet/g/typography.ts +1 -1
- package/src/carbon-style-sheet/g-object/font.ts +1 -1
- package/src/carbon-style-sheet/g-object/spacing.ts +1 -1
- package/src/carbon-style-sheet/g-object/typography.ts +1 -1
- package/src/carbon-style-sheet/index.ts +3 -1
|
@@ -3,10 +3,178 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
exports.notification_info_background = exports.notification_error_border = exports.notification_error_background = exports.notification_action_tertiary_inverse_text_on_color_disabled = exports.notification_action_tertiary_inverse_text = exports.notification_action_tertiary_inverse_hover = exports.notification_action_tertiary_inverse_active = exports.notification_action_tertiary_inverse = exports.notification_action_hover = exports.link_visited = exports.link_secondary = exports.link_primary_hover = exports.link_primary = exports.link_inverse_visited = exports.link_inverse_hover = exports.link_inverse_active = exports.link_inverse = exports.layer_selected_inverse = exports.layer_selected_hover_03 = exports.layer_selected_hover_02 = exports.layer_selected_hover_01 = exports.layer_selected_disabled = exports.layer_selected_03 = exports.layer_selected_02 = exports.layer_selected_01 = exports.layer_hover_03 = exports.layer_hover_02 = exports.layer_hover_01 = exports.layer_active_03 = exports.layer_active_02 = exports.layer_active_01 = exports.layer_accent_hover_03 = exports.layer_accent_hover_02 = exports.layer_accent_hover_01 = exports.layer_accent_active_03 = exports.layer_accent_active_02 = exports.layer_accent_active_01 = exports.layer_accent_03 = exports.layer_accent_02 = exports.layer_accent_01 = exports.layer_03 = exports.layer_02 = exports.layer_01 = exports.interactive = exports.icon_secondary = exports.icon_primary = exports.icon_on_color_disabled = exports.icon_on_color = exports.icon_inverse = exports.icon_interactive = exports.icon_disabled = exports.highlight = exports.focus_inverse = exports.focus_inset = exports.focus = exports.field_hover_03 = exports.field_hover_02 = exports.field_hover_01 = exports.field_03 = exports.field_02 = exports.field_01 = exports.button_tertiary_hover = exports.button_tertiary_active = exports.button_tertiary = exports.button_separator = exports.button_secondary_hover = exports.button_secondary_active = exports.button_secondary = exports.button_primary_hover = exports.button_primary_active = exports.button_primary = exports.button_disabled = exports.button_danger_secondary = exports.button_danger_primary = exports.button_danger_hover = exports.button_danger_active = exports.border_tile_03 = exports.border_tile_02 = exports.border_tile_01 = exports.border_subtle_selected_03 = exports.border_subtle_selected_02 = exports.border_subtle_selected_01 = exports.border_subtle_03 = exports.border_subtle_02 = exports.border_subtle_01 = exports.border_subtle_00 = exports.border_strong_03 = exports.border_strong_02 = exports.border_strong_01 = exports.border_inverse = exports.border_interactive = exports.border_disabled = exports.background_selected_hover = exports.background_selected = exports.background_inverse_hover = exports.background_inverse = exports.background_hover = exports.background_brand = exports.background_active = exports.background = void 0;
|
|
7
|
+
exports.toggle_off = exports.text_secondary = exports.text_primary = exports.text_placeholder = exports.text_on_color_disabled = exports.text_on_color = exports.text_inverse = exports.text_helper = exports.text_error = exports.text_disabled = exports.tag_hover_warm_gray = exports.tag_hover_teal = exports.tag_hover_red = exports.tag_hover_purple = exports.tag_hover_magenta = exports.tag_hover_green = exports.tag_hover_gray = exports.tag_hover_cyan = exports.tag_hover_cool_gray = exports.tag_hover_blue = exports.tag_color_warm_gray = exports.tag_color_teal = exports.tag_color_red = exports.tag_color_purple = exports.tag_color_magenta = exports.tag_color_green = exports.tag_color_gray = exports.tag_color_cyan = exports.tag_color_cool_gray = exports.tag_color_blue = exports.tag_border_warm_gray = exports.tag_border_teal = exports.tag_border_red = exports.tag_border_purple = exports.tag_border_magenta = exports.tag_border_green = exports.tag_border_gray = exports.tag_border_cyan = exports.tag_border_cool_gray = exports.tag_border_blue = exports.tag_background_warm_gray = exports.tag_background_teal = exports.tag_background_red = exports.tag_background_purple = exports.tag_background_magenta = exports.tag_background_green = exports.tag_background_gray = exports.tag_background_cyan = exports.tag_background_cool_gray = exports.tag_background_blue = exports.support_warning_inverse = exports.support_warning = exports.support_success_inverse = exports.support_success = exports.support_info_inverse = exports.support_info = exports.support_error_inverse = exports.support_error = exports.support_caution_undefined = exports.support_caution_minor = exports.support_caution_major = exports.skeleton_element = exports.skeleton_background = exports.overlay = exports.notification_warning_border = exports.notification_warning_background = exports.notification_success_border = exports.notification_success_background = exports.notification_info_border = void 0;
|
|
8
|
+
// Generated
|
|
9
|
+
// Sun, 29 Mar 2026 10:05:23 GMT
|
|
10
|
+
|
|
11
|
+
const background = exports.background = "#f4f4f4|#000000";
|
|
12
|
+
const background_active = exports.background_active = "rgba(141,141,141,0.5)|rgba(141,141,141,0.4)";
|
|
13
|
+
const background_brand = exports.background_brand = "#0f62fe|#0f62fe";
|
|
14
|
+
const background_hover = exports.background_hover = "rgba(141,141,141,0.12)|rgba(141,141,141,0.16)";
|
|
15
|
+
const background_inverse = exports.background_inverse = "#393939|#f4f4f4";
|
|
16
|
+
const background_inverse_hover = exports.background_inverse_hover = "#474747|#e8e8e8";
|
|
17
|
+
const background_selected = exports.background_selected = "rgba(141,141,141,0.2)|rgba(141,141,141,0.24)";
|
|
18
|
+
const background_selected_hover = exports.background_selected_hover = "rgba(141,141,141,0.32)|rgba(141,141,141,0.32)";
|
|
19
|
+
const border_disabled = exports.border_disabled = "#c6c6c6|rgba(141,141,141,0.5)";
|
|
20
|
+
const border_interactive = exports.border_interactive = "#0f62fe|#4589ff";
|
|
21
|
+
const border_inverse = exports.border_inverse = "#161616|#f4f4f4";
|
|
22
|
+
const border_strong_01 = exports.border_strong_01 = "#8d8d8d|#6f6f6f";
|
|
23
|
+
const border_strong_02 = exports.border_strong_02 = "#8d8d8d|#8d8d8d";
|
|
24
|
+
const border_strong_03 = exports.border_strong_03 = "#8d8d8d|#a8a8a8";
|
|
25
|
+
const border_subtle_00 = exports.border_subtle_00 = "#c6c6c6|#393939";
|
|
26
|
+
const border_subtle_01 = exports.border_subtle_01 = "#e0e0e0|#393939";
|
|
27
|
+
const border_subtle_02 = exports.border_subtle_02 = "#c6c6c6|#525252";
|
|
28
|
+
const border_subtle_03 = exports.border_subtle_03 = "#e0e0e0|#6f6f6f";
|
|
29
|
+
const border_subtle_selected_01 = exports.border_subtle_selected_01 = "#c6c6c6|#525252";
|
|
30
|
+
const border_subtle_selected_02 = exports.border_subtle_selected_02 = "#c6c6c6|#6f6f6f";
|
|
31
|
+
const border_subtle_selected_03 = exports.border_subtle_selected_03 = "#c6c6c6|#8d8d8d";
|
|
32
|
+
const border_tile_01 = exports.border_tile_01 = "#a8a8a8|#525252";
|
|
33
|
+
const border_tile_02 = exports.border_tile_02 = "#c6c6c6|#6f6f6f";
|
|
34
|
+
const border_tile_03 = exports.border_tile_03 = "#a8a8a8|#8d8d8d";
|
|
35
|
+
const button_danger_active = exports.button_danger_active = "#750e13|#750e13";
|
|
36
|
+
const button_danger_hover = exports.button_danger_hover = "#b81922|#b81922";
|
|
37
|
+
const button_danger_primary = exports.button_danger_primary = "#da1e28|#da1e28";
|
|
38
|
+
const button_danger_secondary = exports.button_danger_secondary = "#da1e28|#fa4d56";
|
|
39
|
+
const button_disabled = exports.button_disabled = "#c6c6c6|#525252";
|
|
40
|
+
const button_primary = exports.button_primary = "#0f62fe|#0f62fe";
|
|
41
|
+
const button_primary_active = exports.button_primary_active = "#002d9c|#002d9c";
|
|
42
|
+
const button_primary_hover = exports.button_primary_hover = "#0050e6|#0050e6";
|
|
43
|
+
const button_secondary = exports.button_secondary = "#393939|#6f6f6f";
|
|
44
|
+
const button_secondary_active = exports.button_secondary_active = "#6f6f6f|#393939";
|
|
45
|
+
const button_secondary_hover = exports.button_secondary_hover = "#474747|#5e5e5e";
|
|
46
|
+
const button_separator = exports.button_separator = "#e0e0e0|#161616";
|
|
47
|
+
const button_tertiary = exports.button_tertiary = "#0f62fe|#ffffff";
|
|
48
|
+
const button_tertiary_active = exports.button_tertiary_active = "#002d9c|#c6c6c6";
|
|
49
|
+
const button_tertiary_hover = exports.button_tertiary_hover = "#0050e6|#f4f4f4";
|
|
50
|
+
const field_01 = exports.field_01 = "#ffffff|#262626";
|
|
51
|
+
const field_02 = exports.field_02 = "#f4f4f4|#393939";
|
|
52
|
+
const field_03 = exports.field_03 = "#ffffff|#525252";
|
|
53
|
+
const field_hover_01 = exports.field_hover_01 = "#e8e8e8|#333333";
|
|
54
|
+
const field_hover_02 = exports.field_hover_02 = "#e8e8e8|#474747";
|
|
55
|
+
const field_hover_03 = exports.field_hover_03 = "#e8e8e8|#636363";
|
|
56
|
+
const focus = exports.focus = "#0f62fe|#ffffff";
|
|
57
|
+
const focus_inset = exports.focus_inset = "#ffffff|#161616";
|
|
58
|
+
const focus_inverse = exports.focus_inverse = "#ffffff|#0f62fe";
|
|
59
|
+
const highlight = exports.highlight = "#d0e2ff|#001d6c";
|
|
60
|
+
const icon_disabled = exports.icon_disabled = "rgba(22,22,22,0.25)|rgba(244,244,244,0.25)";
|
|
61
|
+
const icon_interactive = exports.icon_interactive = "#0f62fe|#ffffff";
|
|
62
|
+
const icon_inverse = exports.icon_inverse = "#ffffff|#161616";
|
|
63
|
+
const icon_on_color = exports.icon_on_color = "#ffffff|#ffffff";
|
|
64
|
+
const icon_on_color_disabled = exports.icon_on_color_disabled = "#8d8d8d|rgba(255,255,255,0.25)";
|
|
65
|
+
const icon_primary = exports.icon_primary = "#161616|#f4f4f4";
|
|
66
|
+
const icon_secondary = exports.icon_secondary = "#525252|#c6c6c6";
|
|
67
|
+
const interactive = exports.interactive = "#0f62fe|#4589ff";
|
|
68
|
+
const layer_01 = exports.layer_01 = "#ffffff|#262626";
|
|
69
|
+
const layer_02 = exports.layer_02 = "#f4f4f4|#393939";
|
|
70
|
+
const layer_03 = exports.layer_03 = "#ffffff|#525252";
|
|
71
|
+
const layer_accent_01 = exports.layer_accent_01 = "#e0e0e0|#393939";
|
|
72
|
+
const layer_accent_02 = exports.layer_accent_02 = "#e0e0e0|#525252";
|
|
73
|
+
const layer_accent_03 = exports.layer_accent_03 = "#e0e0e0|#6f6f6f";
|
|
74
|
+
const layer_accent_active_01 = exports.layer_accent_active_01 = "#a8a8a8|#525252";
|
|
75
|
+
const layer_accent_active_02 = exports.layer_accent_active_02 = "#a8a8a8|#8d8d8d";
|
|
76
|
+
const layer_accent_active_03 = exports.layer_accent_active_03 = "#a8a8a8|#393939";
|
|
77
|
+
const layer_accent_hover_01 = exports.layer_accent_hover_01 = "#d1d1d1|#474747";
|
|
78
|
+
const layer_accent_hover_02 = exports.layer_accent_hover_02 = "#d1d1d1|#636363";
|
|
79
|
+
const layer_accent_hover_03 = exports.layer_accent_hover_03 = "#d1d1d1|#5e5e5e";
|
|
80
|
+
const layer_active_01 = exports.layer_active_01 = "#c6c6c6|#525252";
|
|
81
|
+
const layer_active_02 = exports.layer_active_02 = "#c6c6c6|#6f6f6f";
|
|
82
|
+
const layer_active_03 = exports.layer_active_03 = "#c6c6c6|#8d8d8d";
|
|
83
|
+
const layer_hover_01 = exports.layer_hover_01 = "#e8e8e8|#333333";
|
|
84
|
+
const layer_hover_02 = exports.layer_hover_02 = "#e8e8e8|#474747";
|
|
85
|
+
const layer_hover_03 = exports.layer_hover_03 = "#e8e8e8|#636363";
|
|
86
|
+
const layer_selected_01 = exports.layer_selected_01 = "#e0e0e0|#393939";
|
|
87
|
+
const layer_selected_02 = exports.layer_selected_02 = "#e0e0e0|#525252";
|
|
88
|
+
const layer_selected_03 = exports.layer_selected_03 = "#e0e0e0|#6f6f6f";
|
|
89
|
+
const layer_selected_disabled = exports.layer_selected_disabled = "#8d8d8d|#6f6f6f";
|
|
90
|
+
const layer_selected_hover_01 = exports.layer_selected_hover_01 = "#d1d1d1|#474747";
|
|
91
|
+
const layer_selected_hover_02 = exports.layer_selected_hover_02 = "#d1d1d1|#636363";
|
|
92
|
+
const layer_selected_hover_03 = exports.layer_selected_hover_03 = "#d1d1d1|#5e5e5e";
|
|
93
|
+
const layer_selected_inverse = exports.layer_selected_inverse = "#161616|#f4f4f4";
|
|
94
|
+
const link_inverse = exports.link_inverse = "#78a9ff|#0f62fe";
|
|
95
|
+
const link_inverse_active = exports.link_inverse_active = "#f4f4f4|#161616";
|
|
96
|
+
const link_inverse_hover = exports.link_inverse_hover = "#a6c8ff|#0043ce";
|
|
97
|
+
const link_inverse_visited = exports.link_inverse_visited = "#be95ff|#8a3ffc";
|
|
98
|
+
const link_primary = exports.link_primary = "#0f62fe|#78a9ff";
|
|
99
|
+
const link_primary_hover = exports.link_primary_hover = "#0043ce|#a6c8ff";
|
|
100
|
+
const link_secondary = exports.link_secondary = "#0043ce|#a6c8ff";
|
|
101
|
+
const link_visited = exports.link_visited = "#8a3ffc|#be95ff";
|
|
102
|
+
const notification_action_hover = exports.notification_action_hover = "#ffffff|#333333";
|
|
103
|
+
const notification_action_tertiary_inverse = exports.notification_action_tertiary_inverse = "#ffffff|#0f62fe";
|
|
104
|
+
const notification_action_tertiary_inverse_active = exports.notification_action_tertiary_inverse_active = "#ffffff|#161616";
|
|
105
|
+
const notification_action_tertiary_inverse_hover = exports.notification_action_tertiary_inverse_hover = "#c6c6c6|#002d9c";
|
|
106
|
+
const notification_action_tertiary_inverse_text = exports.notification_action_tertiary_inverse_text = "#161616|#ffffff";
|
|
107
|
+
const notification_action_tertiary_inverse_text_on_color_disabled = exports.notification_action_tertiary_inverse_text_on_color_disabled = "#ffffff|#ffffff";
|
|
108
|
+
const notification_error_background = exports.notification_error_background = "#fff1f1|#262626";
|
|
109
|
+
const notification_error_border = exports.notification_error_border = "rgba(218,30,40,0.3)|rgba(255,131,137,0.5)";
|
|
110
|
+
const notification_info_background = exports.notification_info_background = "#edf5ff|#262626";
|
|
111
|
+
const notification_info_border = exports.notification_info_border = "rgba(0,67,206,0.3)|rgba(69,137,255,0.5)";
|
|
112
|
+
const notification_success_background = exports.notification_success_background = "#defbe6|#262626";
|
|
113
|
+
const notification_success_border = exports.notification_success_border = "rgba(36,161,72,0.3)|rgba(66,190,101,0.5)";
|
|
114
|
+
const notification_warning_background = exports.notification_warning_background = "#fcf4d6|#262626";
|
|
115
|
+
const notification_warning_border = exports.notification_warning_border = "rgba(241,194,27,0.3)|rgba(178,134,0,0.5)";
|
|
116
|
+
const overlay = exports.overlay = "rgba(22,22,22,0.5)|rgba(22,22,22,0.7)";
|
|
117
|
+
const skeleton_background = exports.skeleton_background = "#e8e8e8|#474747";
|
|
118
|
+
const skeleton_element = exports.skeleton_element = "#c6c6c6|#525252";
|
|
119
|
+
const support_caution_major = exports.support_caution_major = "#ff832b|#ff832b";
|
|
120
|
+
const support_caution_minor = exports.support_caution_minor = "#f1c21b|#f1c21b";
|
|
121
|
+
const support_caution_undefined = exports.support_caution_undefined = "#8a3ffc|#a56eff";
|
|
122
|
+
const support_error = exports.support_error = "#da1e28|#fa4d56";
|
|
123
|
+
const support_error_inverse = exports.support_error_inverse = "#fa4d56|#da1e28";
|
|
124
|
+
const support_info = exports.support_info = "#0043ce|#4589ff";
|
|
125
|
+
const support_info_inverse = exports.support_info_inverse = "#4589ff|#0043ce";
|
|
126
|
+
const support_success = exports.support_success = "#24a148|#42be65";
|
|
127
|
+
const support_success_inverse = exports.support_success_inverse = "#42be65|#24a148";
|
|
128
|
+
const support_warning = exports.support_warning = "#f1c21b|#f1c21b";
|
|
129
|
+
const support_warning_inverse = exports.support_warning_inverse = "#f1c21b|#f1c21b";
|
|
130
|
+
const tag_background_blue = exports.tag_background_blue = "#d0e2ff|#0043ce";
|
|
131
|
+
const tag_background_cool_gray = exports.tag_background_cool_gray = "#dde1e6|#4d5358";
|
|
132
|
+
const tag_background_cyan = exports.tag_background_cyan = "#bae6ff|#00539a";
|
|
133
|
+
const tag_background_gray = exports.tag_background_gray = "#e0e0e0|#525252";
|
|
134
|
+
const tag_background_green = exports.tag_background_green = "#a7f0ba|#0e6027";
|
|
135
|
+
const tag_background_magenta = exports.tag_background_magenta = "#ffd6e8|#9f1853";
|
|
136
|
+
const tag_background_purple = exports.tag_background_purple = "#e8daff|#6929c4";
|
|
137
|
+
const tag_background_red = exports.tag_background_red = "#ffd7d9|#a2191f";
|
|
138
|
+
const tag_background_teal = exports.tag_background_teal = "#9ef0f0|#005d5d";
|
|
139
|
+
const tag_background_warm_gray = exports.tag_background_warm_gray = "#e5e0df|#565151";
|
|
140
|
+
const tag_border_blue = exports.tag_border_blue = "#78a9ff|#4589ff";
|
|
141
|
+
const tag_border_cool_gray = exports.tag_border_cool_gray = "#a2a9b0|#878d96";
|
|
142
|
+
const tag_border_cyan = exports.tag_border_cyan = "#33b1ff|#1192e8";
|
|
143
|
+
const tag_border_gray = exports.tag_border_gray = "#a8a8a8|#8d8d8d";
|
|
144
|
+
const tag_border_green = exports.tag_border_green = "#42be65|#24a148";
|
|
145
|
+
const tag_border_magenta = exports.tag_border_magenta = "#ff7eb6|#ee5396";
|
|
146
|
+
const tag_border_purple = exports.tag_border_purple = "#be95ff|#a56eff";
|
|
147
|
+
const tag_border_red = exports.tag_border_red = "#ff8389|#fa4d56";
|
|
148
|
+
const tag_border_teal = exports.tag_border_teal = "#08bdba|#009d9a";
|
|
149
|
+
const tag_border_warm_gray = exports.tag_border_warm_gray = "#ada8a8|#8f8b8b";
|
|
150
|
+
const tag_color_blue = exports.tag_color_blue = "#0043ce|#d0e2ff";
|
|
151
|
+
const tag_color_cool_gray = exports.tag_color_cool_gray = "#121619|#dde1e6";
|
|
152
|
+
const tag_color_cyan = exports.tag_color_cyan = "#00539a|#bae6ff";
|
|
153
|
+
const tag_color_gray = exports.tag_color_gray = "#161616|#e0e0e0";
|
|
154
|
+
const tag_color_green = exports.tag_color_green = "#0e6027|#a7f0ba";
|
|
155
|
+
const tag_color_magenta = exports.tag_color_magenta = "#9f1853|#ffd6e8";
|
|
156
|
+
const tag_color_purple = exports.tag_color_purple = "#6929c4|#e8daff";
|
|
157
|
+
const tag_color_red = exports.tag_color_red = "#a2191f|#ffd7d9";
|
|
158
|
+
const tag_color_teal = exports.tag_color_teal = "#005d5d|#9ef0f0";
|
|
159
|
+
const tag_color_warm_gray = exports.tag_color_warm_gray = "#171414|#e5e0df";
|
|
160
|
+
const tag_hover_blue = exports.tag_hover_blue = "#b8d3ff|#0053ff";
|
|
161
|
+
const tag_hover_cool_gray = exports.tag_hover_cool_gray = "#cdd3da|#5d646a";
|
|
162
|
+
const tag_hover_cyan = exports.tag_hover_cyan = "#99daff|#0066bd";
|
|
163
|
+
const tag_hover_gray = exports.tag_hover_gray = "#d1d1d1|#636363";
|
|
164
|
+
const tag_hover_green = exports.tag_hover_green = "#74e792|#11742f";
|
|
165
|
+
const tag_hover_magenta = exports.tag_hover_magenta = "#ffbdda|#bf1d63";
|
|
166
|
+
const tag_hover_purple = exports.tag_hover_purple = "#dcc7ff|#7c3dd6";
|
|
167
|
+
const tag_hover_red = exports.tag_hover_red = "#ffc2c5|#c21e25";
|
|
168
|
+
const tag_hover_teal = exports.tag_hover_teal = "#57e5e5|#007070";
|
|
169
|
+
const tag_hover_warm_gray = exports.tag_hover_warm_gray = "#d8d0cf|#696363";
|
|
170
|
+
const text_disabled = exports.text_disabled = "rgba(22,22,22,0.25)|rgba(244,244,244,0.25)";
|
|
171
|
+
const text_error = exports.text_error = "#da1e28|#ff8389";
|
|
172
|
+
const text_helper = exports.text_helper = "#6f6f6f|#8d8d8d";
|
|
173
|
+
const text_inverse = exports.text_inverse = "#ffffff|#161616";
|
|
174
|
+
const text_on_color = exports.text_on_color = "#ffffff|#ffffff";
|
|
175
|
+
const text_on_color_disabled = exports.text_on_color_disabled = "#8d8d8d|rgba(255,255,255,0.25)";
|
|
176
|
+
const text_placeholder = exports.text_placeholder = "#a8a8a8|#6f6f6f";
|
|
177
|
+
const text_primary = exports.text_primary = "#161616|#f4f4f4";
|
|
178
|
+
const text_secondary = exports.text_secondary = "#525252|#c6c6c6";
|
|
179
|
+
const toggle_off = exports.toggle_off = "#8d8d8d|#6f6f6f";
|
|
12
180
|
//# sourceMappingURL=color.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_carbonReactNativeElements","require","color","exports","Object","keys","Color","Token","gray_10","reduce","acc","key"],"sourceRoot":"../../../src","sources":["carbon-style-sheet/color.ts"],"mappings":";;;;;;AAAA,IAAAA,0BAAA,GAAAC,OAAA;AAKO,MAAMC,KAAK,GAAAC,OAAA,CAAAD,KAAA,GACjBE,MAAM,CACJC,IAAI,CAACC,gCAAK,CAACC,KAAK,CAACC,OAAO,CAAC,CACzBC,MAAM,CAAiC,CAACC,GAAG,EAAEC,GAAG,KAAK;EACrDD,GAAG,CAACC,GAAG,CAAe,GAAGA,GAAiB;EAC1C,OAAOD,GAAG;AACX,CAAC,EAAE,CACH,CAAmC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["background","exports","background_active","background_brand","background_hover","background_inverse","background_inverse_hover","background_selected","background_selected_hover","border_disabled","border_interactive","border_inverse","border_strong_01","border_strong_02","border_strong_03","border_subtle_00","border_subtle_01","border_subtle_02","border_subtle_03","border_subtle_selected_01","border_subtle_selected_02","border_subtle_selected_03","border_tile_01","border_tile_02","border_tile_03","button_danger_active","button_danger_hover","button_danger_primary","button_danger_secondary","button_disabled","button_primary","button_primary_active","button_primary_hover","button_secondary","button_secondary_active","button_secondary_hover","button_separator","button_tertiary","button_tertiary_active","button_tertiary_hover","field_01","field_02","field_03","field_hover_01","field_hover_02","field_hover_03","focus","focus_inset","focus_inverse","highlight","icon_disabled","icon_interactive","icon_inverse","icon_on_color","icon_on_color_disabled","icon_primary","icon_secondary","interactive","layer_01","layer_02","layer_03","layer_accent_01","layer_accent_02","layer_accent_03","layer_accent_active_01","layer_accent_active_02","layer_accent_active_03","layer_accent_hover_01","layer_accent_hover_02","layer_accent_hover_03","layer_active_01","layer_active_02","layer_active_03","layer_hover_01","layer_hover_02","layer_hover_03","layer_selected_01","layer_selected_02","layer_selected_03","layer_selected_disabled","layer_selected_hover_01","layer_selected_hover_02","layer_selected_hover_03","layer_selected_inverse","link_inverse","link_inverse_active","link_inverse_hover","link_inverse_visited","link_primary","link_primary_hover","link_secondary","link_visited","notification_action_hover","notification_action_tertiary_inverse","notification_action_tertiary_inverse_active","notification_action_tertiary_inverse_hover","notification_action_tertiary_inverse_text","notification_action_tertiary_inverse_text_on_color_disabled","notification_error_background","notification_error_border","notification_info_background","notification_info_border","notification_success_background","notification_success_border","notification_warning_background","notification_warning_border","overlay","skeleton_background","skeleton_element","support_caution_major","support_caution_minor","support_caution_undefined","support_error","support_error_inverse","support_info","support_info_inverse","support_success","support_success_inverse","support_warning","support_warning_inverse","tag_background_blue","tag_background_cool_gray","tag_background_cyan","tag_background_gray","tag_background_green","tag_background_magenta","tag_background_purple","tag_background_red","tag_background_teal","tag_background_warm_gray","tag_border_blue","tag_border_cool_gray","tag_border_cyan","tag_border_gray","tag_border_green","tag_border_magenta","tag_border_purple","tag_border_red","tag_border_teal","tag_border_warm_gray","tag_color_blue","tag_color_cool_gray","tag_color_cyan","tag_color_gray","tag_color_green","tag_color_magenta","tag_color_purple","tag_color_red","tag_color_teal","tag_color_warm_gray","tag_hover_blue","tag_hover_cool_gray","tag_hover_cyan","tag_hover_gray","tag_hover_green","tag_hover_magenta","tag_hover_purple","tag_hover_red","tag_hover_teal","tag_hover_warm_gray","text_disabled","text_error","text_helper","text_inverse","text_on_color","text_on_color_disabled","text_placeholder","text_primary","text_secondary","toggle_off"],"sourceRoot":"../../../src","sources":["carbon-style-sheet/color.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6
6
|
exports.create = create;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
|
-
var _carbonReactNativeElements = require("@audira/carbon-react-native-elements");
|
|
9
8
|
var _index = require("../_internal/globals/index.js");
|
|
10
9
|
var _breakpoint = require("./breakpoint.js");
|
|
11
10
|
/**
|
|
@@ -46,39 +45,58 @@ var _breakpoint = require("./breakpoint.js");
|
|
|
46
45
|
*/
|
|
47
46
|
function create(styles) {
|
|
48
47
|
const normalStyle = {},
|
|
49
|
-
|
|
48
|
+
carbonColoredStyle = {},
|
|
50
49
|
breakpointStyle = {};
|
|
51
50
|
let containBreakpointStyle = false;
|
|
52
51
|
for (const name in styles) {
|
|
53
52
|
const style = styles[name];
|
|
54
|
-
for (const
|
|
55
|
-
if (_breakpoint.breakpoint[
|
|
53
|
+
for (const styleAttr in style) {
|
|
54
|
+
if (_breakpoint.breakpoint[styleAttr]) {
|
|
56
55
|
containBreakpointStyle = true;
|
|
57
|
-
breakpointStyle[`${
|
|
58
|
-
} else if (
|
|
56
|
+
breakpointStyle[`${styleAttr}${name}`] = style[styleAttr];
|
|
57
|
+
} else if (colorStyleAttrs[styleAttr]) {
|
|
58
|
+
// Resolve color string to the Carbon color (if any) for style prop or attribute that contain 'color'
|
|
59
|
+
// in the name like 'color', 'backgroundColor', 'borderColor', etc.,
|
|
60
|
+
// and the color value contains "|"
|
|
61
|
+
// If it does, it's a color token references that formatted in `gray_10|gray_100`
|
|
62
|
+
|
|
63
|
+
// For instance,
|
|
64
|
+
// if user want to modify `backgroundColor` with `CarbonStyleSheet.create` and using
|
|
65
|
+
// `CarbonStyleSheet.color.background`
|
|
66
|
+
// The `CarbonStyleSheet.color.background` itself is storing two color for gray_10 and gray_100
|
|
67
|
+
// in single string, which is `#f4f4f4|#000000`
|
|
68
|
+
// So we need to split them and make correct React Native StyleSheet
|
|
69
|
+
// with the same style attribute, for gray_10 and gray_100
|
|
70
|
+
|
|
71
|
+
const colorStr = style[styleAttr];
|
|
72
|
+
|
|
59
73
|
/**
|
|
60
|
-
*
|
|
61
|
-
*
|
|
74
|
+
* It's color token references
|
|
75
|
+
*
|
|
76
|
+
* For instance,
|
|
77
|
+
* `#f4f4f4|#000000`. It's formatted in `gray_10|gray_100`.
|
|
62
78
|
*/
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
79
|
+
const carbonColorToken = colorStr.split("|");
|
|
80
|
+
if (carbonColorToken.length > 1) {
|
|
81
|
+
const coloredStyleName_G10 = `${prefixColorStyleName.gray_10}${name}`,
|
|
82
|
+
coloredStyleName_G100 = `${prefixColorStyleName.gray_100}${name}`;
|
|
83
|
+
if (!carbonColoredStyle[coloredStyleName_G10]) {
|
|
84
|
+
carbonColoredStyle[coloredStyleName_G10] = {};
|
|
85
|
+
}
|
|
86
|
+
if (!carbonColoredStyle[coloredStyleName_G100]) {
|
|
87
|
+
carbonColoredStyle[coloredStyleName_G100] = {};
|
|
88
|
+
}
|
|
89
|
+
const colorStyleAttr = styleAttr;
|
|
90
|
+
carbonColoredStyle[coloredStyleName_G10][colorStyleAttr] = carbonColorToken[0];
|
|
91
|
+
carbonColoredStyle[coloredStyleName_G100][colorStyleAttr] = carbonColorToken[1];
|
|
71
92
|
}
|
|
72
|
-
const colorStr = style[styleProp];
|
|
73
|
-
coloredStyle[coloredStyleName_G10][styleProp] = _carbonReactNativeElements.Color.Token.gray_10.all[colorStr] || colorStr;
|
|
74
|
-
coloredStyle[coloredStyleName_G100][styleProp] = _carbonReactNativeElements.Color.Token.gray_100.all[colorStr] || colorStr;
|
|
75
93
|
} else {
|
|
76
94
|
normalStyle[name] = style;
|
|
77
95
|
}
|
|
78
96
|
}
|
|
79
97
|
}
|
|
80
98
|
const normalStyleSheet = _reactNative.StyleSheet.create(normalStyle),
|
|
81
|
-
coloredStyleSheet = _reactNative.StyleSheet.create(
|
|
99
|
+
coloredStyleSheet = _reactNative.StyleSheet.create(carbonColoredStyle),
|
|
82
100
|
breakpointStyleSheet = _reactNative.StyleSheet.create(breakpointStyle);
|
|
83
101
|
return Object.keys(styles).reduce((acc, styleName) => {
|
|
84
102
|
Object.defineProperty(acc, styleName, {
|
|
@@ -91,7 +109,26 @@ function create(styles) {
|
|
|
91
109
|
return acc;
|
|
92
110
|
}, {});
|
|
93
111
|
}
|
|
94
|
-
const
|
|
112
|
+
const colorStyleAttrs = {
|
|
113
|
+
backgroundColor: "backgroundColor",
|
|
114
|
+
borderColor: "borderColor",
|
|
115
|
+
borderEndColor: "borderEndColor",
|
|
116
|
+
borderStartColor: "borderStartColor",
|
|
117
|
+
borderTopColor: "borderTopColor",
|
|
118
|
+
borderBottomColor: "borderBottomColor",
|
|
119
|
+
borderLeftColor: "borderLeftColor",
|
|
120
|
+
borderRightColor: "borderRightColor",
|
|
121
|
+
borderBlockColor: "borderBlockColor",
|
|
122
|
+
borderBlockEndColor: "borderBlockEndColor",
|
|
123
|
+
borderBlockStartColor: "borderBlockStartColor",
|
|
124
|
+
color: "color",
|
|
125
|
+
outlineColor: "outlineColor",
|
|
126
|
+
overlayColor: "overlayColor",
|
|
127
|
+
textDecorationColor: "textDecorationColor",
|
|
128
|
+
textShadowColor: "textShadowColor",
|
|
129
|
+
tintColor: "tintColor",
|
|
130
|
+
shadowColor: "shadowColor"
|
|
131
|
+
},
|
|
95
132
|
prefixColorStyleName = {
|
|
96
133
|
gray_10: "gray_10__",
|
|
97
134
|
gray_100: "gray_100__"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_index","_breakpoint","create","styles","normalStyle","carbonColoredStyle","breakpointStyle","containBreakpointStyle","name","style","styleAttr","breakpointStyleProps","colorStyleAttrs","colorStr","carbonColorToken","split","length","coloredStyleName_G10","prefixColorStyleName","gray_10","coloredStyleName_G100","gray_100","colorStyleAttr","normalStyleSheet","StyleSheet","coloredStyleSheet","breakpointStyleSheet","Object","keys","reduce","acc","styleName","defineProperty","get","colorScheme","ColorSchemeGlobal","breakpoint","BreakpointGlobal","getBreakpointUpStyle","backgroundColor","borderColor","borderEndColor","borderStartColor","borderTopColor","borderBottomColor","borderLeftColor","borderRightColor","borderBlockColor","borderBlockEndColor","borderBlockStartColor","color","outlineColor","overlayColor","textDecorationColor","textShadowColor","tintColor","shadowColor","breakpointDown","bpSliced","slice","indexOf","i","bpStyle"],"sourceRoot":"../../../src","sources":["carbon-style-sheet/create.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAWA,IAAAC,MAAA,GAAAD,OAAA;AASA,IAAAE,WAAA,GAAAF,OAAA;AAuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASG,MAAMA,CACrBC,MAAc,EACL;EACT,MACCC,WAAkC,GACjC,CAAC,CAAC;IAEHC,kBAA2E,GAC1E,CAAC,CAAC;IAEHC,eAAsC,GACrC,CAAC,CAAC;EAEJ,IAAIC,sBAAsB,GAAG,KAAK;EAElC,KAAI,MAAMC,IAAI,IAAIL,MAAM,EAAE;IACzB,MAAMM,KAAK,GAAGN,MAAM,CAACK,IAAI,CAAC;IAE1B,KAAI,MAAME,SAAS,IAAID,KAAK,EAAE;MAC7B,IAAIE,sBAAoB,CAA4BD,SAAS,CAAC,EAAE;QAE/DH,sBAAsB,GAAG,IAAI;QAC7BD,eAAe,CAAC,GAAGI,SAAS,GAAGF,IAAI,EAAE,CAAC,GAAIC,KAAK,CAAqBC,SAAS,CAAU;MAExF,CAAC,MAAM,IAAGE,eAAe,CAACF,SAAS,CAAmB,EAAE;QAEvD;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA,MAAMG,QAAQ,GAAIJ,KAAK,C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AAO,EAAE,QAAQ,EAAE,OAAO,CAAC;AAEhD,SAASnB,oBAAoBA,CAC5BF,UAA2B,EAC3B9B,eAAsC,EACtCyB,SAAiB,EACF;EACf,MAAM2B,QAAQ,GAAGD,cAAc,CAACE,KAAK,CAACF,cAAc,CAACG,OAAO,CAACxB,UAAU,CAAC,CAAC;EACzE,IAAI3B,KAAmB,GAAG,IAAI;EAE9B,KAAI,IAAIoD,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGH,QAAQ,CAAC1C,MAAM,EAAE6C,CAAC,EAAE,EAAE;IACxC,MAAMC,OAAO,GAAGxD,eAAe,CAAC,GAAGoD,QAAQ,CAACG,CAAC,CAAC,GAAG9B,SAAS,EAAE,CAAC;IAC7D,IAAG+B,OAAO,EAAE;MACXrD,KAAK,GAAGqD,OAAO;MACf;IACD;EACD;EAEA,OAAOrD,KAAK;AACb","ignoreList":[]}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.font_thin_italic = exports.font_thin = exports.font_semibold_italic = exports.font_semibold = exports.font_regular = exports.font_medium_italic = exports.font_medium = exports.font_light_italic = exports.font_light = exports.font_italic = exports.font_extralight_italic = exports.font_extralight = exports.font_bold_italic = exports.font_bold = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
// Generated
|
|
9
|
-
//
|
|
9
|
+
// Sun, 29 Mar 2026 10:05:23 GMT
|
|
10
10
|
|
|
11
11
|
// To support cross platforms, we are mapping the `fontFamily` value to its PostScript name,
|
|
12
12
|
// instead of the `fontWeight` number with a single font family name like in Web// Giving a `fontWeight` number will not work.
|
|
@@ -8,7 +8,7 @@ exports.pl_05 = exports.pl_04 = exports.pl_03 = exports.pl_02 = exports.pl_01 =
|
|
|
8
8
|
exports.py_13 = exports.py_12 = exports.py_11 = exports.py_10 = exports.py_09 = exports.py_08 = exports.py_07 = exports.py_06 = exports.py_05 = exports.py_04 = exports.py_03 = exports.py_02 = exports.py_01 = exports.px_13 = exports.px_12 = exports.px_11 = exports.px_10 = exports.px_09 = exports.px_08 = exports.px_07 = exports.px_06 = exports.px_05 = exports.px_04 = exports.px_03 = exports.px_02 = exports.px_01 = exports.pt_13 = exports.pt_12 = exports.pt_11 = exports.pt_10 = exports.pt_09 = exports.pt_08 = exports.pt_07 = exports.pt_06 = exports.pt_05 = exports.pt_04 = exports.pt_03 = exports.pt_02 = exports.pt_01 = exports.ps_13 = exports.ps_12 = exports.ps_11 = exports.ps_10 = exports.ps_09 = exports.ps_08 = exports.ps_07 = exports.ps_06 = exports.ps_05 = exports.ps_04 = exports.ps_03 = exports.ps_02 = exports.ps_01 = exports.pr_13 = exports.pr_12 = exports.pr_11 = exports.pr_10 = exports.pr_09 = exports.pr_08 = exports.pr_07 = exports.pr_06 = exports.pr_05 = exports.pr_04 = exports.pr_03 = exports.pr_02 = exports.pr_01 = exports.pl_13 = exports.pl_12 = exports.pl_11 = exports.pl_10 = exports.pl_09 = exports.pl_08 = exports.pl_07 = exports.pl_06 = void 0;
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
// Generated
|
|
11
|
-
//
|
|
11
|
+
// Sun, 29 Mar 2026 10:05:23 GMT
|
|
12
12
|
|
|
13
13
|
const {
|
|
14
14
|
m_01
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.text_legal_02 = exports.text_legal_01 = exports.text_label_02 = exports.text_label_01 = exports.text_helper_text_02 = exports.text_helper_text_01 = exports.text_heading_compact_02 = exports.text_heading_compact_01 = exports.text_heading_07 = exports.text_heading_06 = exports.text_heading_05 = exports.text_heading_04 = exports.text_heading_03 = exports.text_heading_02 = exports.text_heading_01 = exports.text_code_02 = exports.text_code_01 = exports.text_body_compact_02 = exports.text_body_compact_01 = exports.text_body_02 = exports.text_body_01 = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
// Generated
|
|
9
|
-
//
|
|
9
|
+
// Sun, 29 Mar 2026 10:05:23 GMT
|
|
10
10
|
|
|
11
11
|
const {
|
|
12
12
|
text_body_01
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.font_thin_italic = exports.font_thin = exports.font_semibold_italic = exports.font_semibold = exports.font_regular = exports.font_medium_italic = exports.font_medium = exports.font_light_italic = exports.font_light = exports.font_italic = exports.font_extralight_italic = exports.font_extralight = exports.font_bold_italic = exports.font_bold = void 0;
|
|
7
7
|
// Generated
|
|
8
|
-
//
|
|
8
|
+
// Sun, 29 Mar 2026 10:05:23 GMT
|
|
9
9
|
|
|
10
10
|
// To support cross platforms, we are mapping the `fontFamily` value to its PostScript name,
|
|
11
11
|
// instead of the `fontWeight` number with a single font family name like in Web// Giving a `fontWeight` number will not work.
|
|
@@ -7,7 +7,7 @@ exports.mr_09 = exports.mr_08 = exports.mr_07 = exports.mr_06 = exports.mr_05 =
|
|
|
7
7
|
exports.pl_05 = exports.pl_04 = exports.pl_03 = exports.pl_02 = exports.pl_01 = exports.pe_13 = exports.pe_12 = exports.pe_11 = exports.pe_10 = exports.pe_09 = exports.pe_08 = exports.pe_07 = exports.pe_06 = exports.pe_05 = exports.pe_04 = exports.pe_03 = exports.pe_02 = exports.pe_01 = exports.pb_13 = exports.pb_12 = exports.pb_11 = exports.pb_10 = exports.pb_09 = exports.pb_08 = exports.pb_07 = exports.pb_06 = exports.pb_05 = exports.pb_04 = exports.pb_03 = exports.pb_02 = exports.pb_01 = exports.p_13 = exports.p_12 = exports.p_11 = exports.p_10 = exports.p_09 = exports.p_08 = exports.p_07 = exports.p_06 = exports.p_05 = exports.p_04 = exports.p_03 = exports.p_02 = exports.p_01 = exports.my_13 = exports.my_12 = exports.my_11 = exports.my_10 = exports.my_09 = exports.my_08 = exports.my_07 = exports.my_06 = exports.my_05 = exports.my_04 = exports.my_03 = exports.my_02 = exports.my_01 = exports.mx_13 = exports.mx_12 = exports.mx_11 = exports.mx_10 = exports.mx_09 = exports.mx_08 = exports.mx_07 = exports.mx_06 = exports.mx_05 = exports.mx_04 = exports.mx_03 = exports.mx_02 = exports.mx_01 = exports.mt_13 = exports.mt_12 = exports.mt_11 = exports.mt_10 = exports.mt_09 = exports.mt_08 = exports.mt_07 = exports.mt_06 = exports.mt_05 = exports.mt_04 = exports.mt_03 = exports.mt_02 = exports.mt_01 = exports.ms_13 = exports.ms_12 = exports.ms_11 = exports.ms_10 = exports.ms_09 = exports.ms_08 = exports.ms_07 = exports.ms_06 = exports.ms_05 = exports.ms_04 = exports.ms_03 = exports.ms_02 = exports.ms_01 = exports.mr_13 = exports.mr_12 = exports.mr_11 = exports.mr_10 = void 0;
|
|
8
8
|
exports.py_13 = exports.py_12 = exports.py_11 = exports.py_10 = exports.py_09 = exports.py_08 = exports.py_07 = exports.py_06 = exports.py_05 = exports.py_04 = exports.py_03 = exports.py_02 = exports.py_01 = exports.px_13 = exports.px_12 = exports.px_11 = exports.px_10 = exports.px_09 = exports.px_08 = exports.px_07 = exports.px_06 = exports.px_05 = exports.px_04 = exports.px_03 = exports.px_02 = exports.px_01 = exports.pt_13 = exports.pt_12 = exports.pt_11 = exports.pt_10 = exports.pt_09 = exports.pt_08 = exports.pt_07 = exports.pt_06 = exports.pt_05 = exports.pt_04 = exports.pt_03 = exports.pt_02 = exports.pt_01 = exports.ps_13 = exports.ps_12 = exports.ps_11 = exports.ps_10 = exports.ps_09 = exports.ps_08 = exports.ps_07 = exports.ps_06 = exports.ps_05 = exports.ps_04 = exports.ps_03 = exports.ps_02 = exports.ps_01 = exports.pr_13 = exports.pr_12 = exports.pr_11 = exports.pr_10 = exports.pr_09 = exports.pr_08 = exports.pr_07 = exports.pr_06 = exports.pr_05 = exports.pr_04 = exports.pr_03 = exports.pr_02 = exports.pr_01 = exports.pl_13 = exports.pl_12 = exports.pl_11 = exports.pl_10 = exports.pl_09 = exports.pl_08 = exports.pl_07 = exports.pl_06 = void 0;
|
|
9
9
|
// Generated
|
|
10
|
-
//
|
|
10
|
+
// Sun, 29 Mar 2026 10:05:23 GMT
|
|
11
11
|
|
|
12
12
|
const m_01 = exports.m_01 = {
|
|
13
13
|
margin: 2
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.text_legal_02 = exports.text_legal_01 = exports.text_label_02 = exports.text_label_01 = exports.text_helper_text_02 = exports.text_helper_text_01 = exports.text_heading_compact_02 = exports.text_heading_compact_01 = exports.text_heading_07 = exports.text_heading_06 = exports.text_heading_05 = exports.text_heading_04 = exports.text_heading_03 = exports.text_heading_02 = exports.text_heading_01 = exports.text_code_02 = exports.text_code_01 = exports.text_body_compact_02 = exports.text_body_compact_01 = exports.text_body_02 = exports.text_body_01 = void 0;
|
|
7
7
|
// Generated
|
|
8
|
-
//
|
|
8
|
+
// Sun, 29 Mar 2026 10:05:23 GMT
|
|
9
9
|
|
|
10
10
|
const text_body_01 = exports.text_body_01 = {
|
|
11
11
|
fontSize: 14,
|
|
@@ -9,11 +9,14 @@ var _exportNames = {
|
|
|
9
9
|
flatten: true,
|
|
10
10
|
hairlineWidth: true,
|
|
11
11
|
setStyleAttributePreprocessor: true,
|
|
12
|
+
color: true,
|
|
12
13
|
g: true,
|
|
13
14
|
gObject: true
|
|
14
15
|
};
|
|
15
|
-
exports.setStyleAttributePreprocessor = exports.hairlineWidth = exports.gObject = exports.g = exports.flatten = exports.absoluteFillObject = exports.absoluteFill = void 0;
|
|
16
|
+
exports.setStyleAttributePreprocessor = exports.hairlineWidth = exports.gObject = exports.g = exports.flatten = exports.color = exports.absoluteFillObject = exports.absoluteFill = void 0;
|
|
16
17
|
var _reactNative = require("react-native");
|
|
18
|
+
var color = _interopRequireWildcard(require("./color.js"));
|
|
19
|
+
exports.color = color;
|
|
17
20
|
var g = _interopRequireWildcard(require("./g/index.js"));
|
|
18
21
|
exports.g = g;
|
|
19
22
|
var gObject = _interopRequireWildcard(require("./g-object/index.js"));
|
|
@@ -30,18 +33,6 @@ Object.keys(_breakpoint).forEach(function (key) {
|
|
|
30
33
|
}
|
|
31
34
|
});
|
|
32
35
|
});
|
|
33
|
-
var _color = require("./color.js");
|
|
34
|
-
Object.keys(_color).forEach(function (key) {
|
|
35
|
-
if (key === "default" || key === "__esModule") return;
|
|
36
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
37
|
-
if (key in exports && exports[key] === _color[key]) return;
|
|
38
|
-
Object.defineProperty(exports, key, {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function () {
|
|
41
|
-
return _color[key];
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
36
|
var _create = require("./create.js");
|
|
46
37
|
Object.keys(_create).forEach(function (key) {
|
|
47
38
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","color","_interopRequireWildcard","exports","g","gObject","_breakpoint","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","defineProperty","enumerable","get","_create","_use","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","set","getOwnPropertyDescriptor","absoluteFill","RNStyleSheet","absoluteFillObject","flatten","hairlineWidth","setStyleAttributePreprocessor"],"sourceRoot":"../../../src","sources":["carbon-style-sheet/index.ts"],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAIA,IAAAC,KAAA,GAAAC,uBAAA,CAAAF,OAAA;AAAgCG,OAAA,CAAAF,KAAA,GAAAA,KAAA;AAEhC,IAAAG,CAAA,GAAAF,uBAAA,CAAAF,OAAA;AAAwBG,OAAA,CAAAC,CAAA,GAAAA,CAAA;AACxB,IAAAC,OAAA,GAAAH,uBAAA,CAAAF,OAAA;AAAqCG,OAAA,CAAAE,OAAA,GAAAA,OAAA;AAcrC,IAAAC,WAAA,GAAAN,OAAA;AAAAO,MAAA,CAAAC,IAAA,C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