@pagopa/io-app-design-system 4.5.3 → 4.5.5
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/components/layout/HeaderSecondLevel.js +3 -2
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +66 -74
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputValidation.js +2 -2
- package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/commonjs/core/IOColors.js +13 -3
- package/lib/commonjs/core/IOColors.js.map +1 -1
- package/lib/module/components/layout/HeaderSecondLevel.js +3 -2
- package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/tabs/TabItem.js +69 -78
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/textInput/TextInputValidation.js +2 -2
- package/lib/module/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/module/core/IOColors.js +13 -3
- package/lib/module/core/IOColors.js.map +1 -1
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts +3 -2
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +1 -1
- package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
- package/lib/typescript/components/typography/BodyMonospace.d.ts +1 -1
- package/lib/typescript/components/typography/ButtonText.d.ts +1 -1
- package/lib/typescript/components/typography/Caption.d.ts +1 -1
- package/lib/typescript/components/typography/H1.d.ts +1 -1
- package/lib/typescript/components/typography/H2.d.ts +1 -1
- package/lib/typescript/components/typography/H3.d.ts +1 -1
- package/lib/typescript/components/typography/H4.d.ts +1 -1
- package/lib/typescript/components/typography/H5.d.ts +1 -1
- package/lib/typescript/components/typography/H6.d.ts +1 -1
- package/lib/typescript/components/typography/Hero.d.ts +1 -1
- package/lib/typescript/components/typography/markdown/MdH1.d.ts +1 -1
- package/lib/typescript/components/typography/markdown/MdH2.d.ts +1 -1
- package/lib/typescript/components/typography/markdown/MdH3.d.ts +1 -1
- package/lib/typescript/core/IOColors.d.ts +1 -3
- package/lib/typescript/core/IOColors.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/layout/HeaderSecondLevel.tsx +11 -3
- package/src/components/tabs/TabItem.tsx +115 -114
- package/src/components/textInput/TextInputValidation.tsx +2 -2
- package/src/core/IOColors.ts +17 -3
|
@@ -1,57 +1,21 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useCallback, useMemo } from "react";
|
|
2
2
|
import { Pressable, StyleSheet } from "react-native";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import ReactNativeHapticFeedback from "react-native-haptic-feedback";
|
|
4
|
+
import Animated, { interpolateColor, useAnimatedStyle, useDerivedValue, useReducedMotion, withSpring } from "react-native-reanimated";
|
|
5
|
+
import { IOColors, IOSpringValues, hexToRgba, useIOExperimentalDesign, useIOTheme } from "../../core";
|
|
5
6
|
import { useScaleAnimation } from "../../hooks";
|
|
6
7
|
import { Icon } from "../icons";
|
|
7
|
-
import {
|
|
8
|
-
const
|
|
9
|
-
light: {
|
|
10
|
-
border: {
|
|
11
|
-
default: IOColors["grey-300"],
|
|
12
|
-
selected: IOColors["blueIO-500"],
|
|
13
|
-
disabled: IOColors["grey-300"]
|
|
14
|
-
},
|
|
15
|
-
background: {
|
|
16
|
-
default: IOColors.white,
|
|
17
|
-
selected: IOColors["blueIO-50"],
|
|
18
|
-
pressed: IOColors.white
|
|
19
|
-
},
|
|
20
|
-
foreground: {
|
|
21
|
-
default: "black",
|
|
22
|
-
selected: "blueIO-500",
|
|
23
|
-
disabled: "grey-700"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
dark: {
|
|
27
|
-
border: {
|
|
28
|
-
default: hexToRgba(IOColors.white, 0),
|
|
29
|
-
selected: IOColors.white,
|
|
30
|
-
disabled: hexToRgba(IOColors.white, 0.5)
|
|
31
|
-
},
|
|
32
|
-
background: {
|
|
33
|
-
default: hexToRgba(IOColors.white, 0),
|
|
34
|
-
selected: IOColors.white,
|
|
35
|
-
pressed: IOColors.white
|
|
36
|
-
},
|
|
37
|
-
foreground: {
|
|
38
|
-
default: "white",
|
|
39
|
-
selected: "black",
|
|
40
|
-
disabled: "white"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
};
|
|
8
|
+
import { IOText } from "../typography";
|
|
9
|
+
const DISABLED_OPACITY = 0.5;
|
|
44
10
|
const mapLegacyColorStates = {
|
|
45
11
|
light: {
|
|
46
12
|
border: {
|
|
47
|
-
default: IOColors["grey-
|
|
48
|
-
selected: IOColors["blue-500"]
|
|
49
|
-
disabled: hexToRgba(IOColors.white)
|
|
13
|
+
default: IOColors["grey-450"],
|
|
14
|
+
selected: IOColors["blue-500"]
|
|
50
15
|
},
|
|
51
16
|
background: {
|
|
52
17
|
default: IOColors.white,
|
|
53
|
-
selected: hexToRgba(IOColors["blue-500"], 0.1)
|
|
54
|
-
pressed: IOColors.white
|
|
18
|
+
selected: hexToRgba(IOColors["blue-500"], 0.1)
|
|
55
19
|
},
|
|
56
20
|
foreground: {
|
|
57
21
|
default: "black",
|
|
@@ -62,13 +26,11 @@ const mapLegacyColorStates = {
|
|
|
62
26
|
dark: {
|
|
63
27
|
border: {
|
|
64
28
|
default: hexToRgba(IOColors.white, 0),
|
|
65
|
-
selected: IOColors.white
|
|
66
|
-
disabled: hexToRgba(IOColors.white, 0.5)
|
|
29
|
+
selected: IOColors.white
|
|
67
30
|
},
|
|
68
31
|
background: {
|
|
69
|
-
default:
|
|
70
|
-
selected: IOColors.white
|
|
71
|
-
pressed: IOColors.white
|
|
32
|
+
default: hexToRgba(IOColors.white, 0.1),
|
|
33
|
+
selected: IOColors.white
|
|
72
34
|
},
|
|
73
35
|
foreground: {
|
|
74
36
|
default: "white",
|
|
@@ -91,38 +53,66 @@ const TabItem = ({
|
|
|
91
53
|
iconSelected
|
|
92
54
|
}) => {
|
|
93
55
|
const {
|
|
94
|
-
progress,
|
|
95
56
|
onPressIn,
|
|
96
57
|
onPressOut,
|
|
97
58
|
scaleAnimatedStyle
|
|
98
|
-
} = useScaleAnimation();
|
|
59
|
+
} = useScaleAnimation("medium");
|
|
60
|
+
const theme = useIOTheme();
|
|
99
61
|
const reducedMotion = useReducedMotion();
|
|
100
62
|
const {
|
|
101
63
|
isExperimental
|
|
102
64
|
} = useIOExperimentalDesign();
|
|
103
|
-
const
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
65
|
+
const mapColorStates = useMemo(() => ({
|
|
66
|
+
light: {
|
|
67
|
+
border: {
|
|
68
|
+
default: IOColors[theme["tab-item-border-default"]],
|
|
69
|
+
selected: hexToRgba(IOColors[theme["tab-item-foreground-selected"]], 0.5)
|
|
70
|
+
},
|
|
71
|
+
background: {
|
|
72
|
+
default: hexToRgba(IOColors[theme["tab-item-background-selected"]], 0),
|
|
73
|
+
selected: hexToRgba(IOColors[theme["tab-item-background-selected"]], 0.25),
|
|
74
|
+
pressed: IOColors[theme["appBackground-primary"]]
|
|
75
|
+
},
|
|
76
|
+
foreground: {
|
|
77
|
+
default: theme["tab-item-foreground-default"],
|
|
78
|
+
selected: theme["tab-item-foreground-selected"],
|
|
79
|
+
disabled: "grey-700"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
dark: {
|
|
83
|
+
border: {
|
|
84
|
+
default: hexToRgba(IOColors.white, 0),
|
|
85
|
+
selected: IOColors.white
|
|
86
|
+
},
|
|
87
|
+
background: {
|
|
88
|
+
default: hexToRgba(IOColors.white, 0.1),
|
|
89
|
+
selected: IOColors.white,
|
|
90
|
+
pressed: IOColors.white
|
|
91
|
+
},
|
|
92
|
+
foreground: {
|
|
93
|
+
default: "white",
|
|
94
|
+
selected: "black",
|
|
95
|
+
disabled: "white"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}), [theme]);
|
|
99
|
+
const colors = useMemo(() => isExperimental ? mapColorStates[color] : mapLegacyColorStates[color], [isExperimental, mapColorStates, color]);
|
|
100
|
+
const itemState = selected ? "selected" : disabled ? "disabled" : "default";
|
|
101
|
+
const foregroundColor = useMemo(() => colors.foreground[itemState], [colors.foreground, itemState]);
|
|
102
|
+
const selectedStateTransition = useDerivedValue(() => withSpring(selected ? 1 : 0, IOSpringValues.selection));
|
|
113
103
|
|
|
114
104
|
// Interpolate animation values from `pressed` values
|
|
115
|
-
const animatedStyle = useAnimatedStyle(() => {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
const selectedBorderColor = interpolateColor(progressSelected.value, [0, 1], [colors.border.default, colors.border.selected]);
|
|
120
|
-
return {
|
|
121
|
-
backgroundColor: selected ? selectedBackgroundColor : pressedBackgroundColor,
|
|
122
|
-
borderColor: selected ? selectedBorderColor : borderColor
|
|
123
|
-
};
|
|
124
|
-
}, [progress, progressSelected, selected]);
|
|
105
|
+
const animatedStyle = useAnimatedStyle(() => ({
|
|
106
|
+
backgroundColor: interpolateColor(selectedStateTransition.value, [0, 1], [colors.background.default, colors.background.selected]),
|
|
107
|
+
borderColor: interpolateColor(selectedStateTransition.value, [0, 1], [colors.border.default, colors.border.selected])
|
|
108
|
+
}), [selectedStateTransition]);
|
|
125
109
|
const activeIcon = selected ? iconSelected ?? icon : icon;
|
|
110
|
+
const handleOnPress = useCallback(event => {
|
|
111
|
+
if (onPress) {
|
|
112
|
+
ReactNativeHapticFeedback.trigger("impactLight");
|
|
113
|
+
onPress(event);
|
|
114
|
+
}
|
|
115
|
+
}, [onPress]);
|
|
126
116
|
return /*#__PURE__*/React.createElement(Pressable, {
|
|
127
117
|
accessibilityLabel: accessibilityLabel,
|
|
128
118
|
accessibilityHint: accessibilityHint,
|
|
@@ -131,7 +121,7 @@ const TabItem = ({
|
|
|
131
121
|
selected
|
|
132
122
|
},
|
|
133
123
|
testID: testID,
|
|
134
|
-
onPress:
|
|
124
|
+
onPress: handleOnPress,
|
|
135
125
|
onPressIn: onPressIn,
|
|
136
126
|
onPressOut: onPressOut,
|
|
137
127
|
accessible: true,
|
|
@@ -139,12 +129,16 @@ const TabItem = ({
|
|
|
139
129
|
}, /*#__PURE__*/React.createElement(Animated.View, {
|
|
140
130
|
style: [styles.container, {
|
|
141
131
|
columnGap: 4
|
|
142
|
-
}, !reducedMotion && scaleAnimatedStyle, animatedStyle, fullWidth && styles.fullWidth, disabled &&
|
|
132
|
+
}, !disabled && !reducedMotion && scaleAnimatedStyle, animatedStyle, fullWidth && styles.fullWidth, disabled && {
|
|
133
|
+
opacity: DISABLED_OPACITY
|
|
134
|
+
}]
|
|
143
135
|
}, activeIcon && /*#__PURE__*/React.createElement(Icon, {
|
|
144
136
|
name: activeIcon,
|
|
145
137
|
color: foregroundColor,
|
|
146
138
|
size: 16
|
|
147
|
-
}), /*#__PURE__*/React.createElement(
|
|
139
|
+
}), /*#__PURE__*/React.createElement(IOText, {
|
|
140
|
+
size: 14,
|
|
141
|
+
font: isExperimental ? "Titillio" : "TitilliumSansPro",
|
|
148
142
|
weight: "Semibold",
|
|
149
143
|
color: foregroundColor
|
|
150
144
|
}, label)));
|
|
@@ -163,9 +157,6 @@ const styles = StyleSheet.create({
|
|
|
163
157
|
},
|
|
164
158
|
fullWidth: {
|
|
165
159
|
alignSelf: "auto"
|
|
166
|
-
},
|
|
167
|
-
disabled: {
|
|
168
|
-
opacity: 0.5
|
|
169
160
|
}
|
|
170
161
|
});
|
|
171
162
|
export { TabItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","Pressable","StyleSheet","ReactNativeHapticFeedback","Animated","interpolateColor","useAnimatedStyle","useDerivedValue","useReducedMotion","withSpring","IOColors","IOSpringValues","hexToRgba","useIOExperimentalDesign","useIOTheme","useScaleAnimation","Icon","IOText","DISABLED_OPACITY","mapLegacyColorStates","light","border","default","selected","background","white","foreground","disabled","dark","TabItem","label","color","fullWidth","accessibilityLabel","accessibilityHint","testID","onPress","icon","iconSelected","onPressIn","onPressOut","scaleAnimatedStyle","theme","reducedMotion","isExperimental","mapColorStates","pressed","colors","itemState","foregroundColor","selectedStateTransition","selection","animatedStyle","backgroundColor","value","borderColor","activeIcon","handleOnPress","event","trigger","createElement","accessibilityRole","accessibilityState","accessible","View","style","styles","container","columnGap","opacity","name","size","font","weight","create","flexDirection","alignItems","paddingHorizontal","paddingVertical","borderWidth","borderRadius","borderCurve","justifyContent","alignSelf"],"sourceRoot":"../../../../src","sources":["components/tabs/TabItem.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACnD,SAAgCC,SAAS,EAAEC,UAAU,QAAQ,cAAc;AAC3E,OAAOC,yBAAyB,MAAM,8BAA8B;AACpE,OAAOC,QAAQ,IACbC,gBAAgB,EAChBC,gBAAgB,EAChBC,eAAe,EACfC,gBAAgB,EAChBC,UAAU,QACL,yBAAyB;AAChC,SACEC,QAAQ,EACRC,cAAc,EACdC,SAAS,EACTC,uBAAuB,EACvBC,UAAU,QACL,YAAY;AACnB,SAASC,iBAAiB,QAAQ,aAAa;AAE/C,SAAkBC,IAAI,QAAQ,UAAU;AACxC,SAASC,MAAM,QAAQ,eAAe;AAsCtC,MAAMC,gBAAgB,GAAG,GAAG;AAE5B,MAAMC,oBAGL,GAAG;EACFC,KAAK,EAAE;IACLC,MAAM,EAAE;MACNC,OAAO,EAAEZ,QAAQ,CAAC,UAAU,CAAC;MAC7Ba,QAAQ,EAAEb,QAAQ,CAAC,UAAU;IAC/B,CAAC;IACDc,UAAU,EAAE;MACVF,OAAO,EAAEZ,QAAQ,CAACe,KAAK;MACvBF,QAAQ,EAAEX,SAAS,CAACF,QAAQ,CAAC,UAAU,CAAC,EAAE,GAAG;IAC/C,CAAC;IACDgB,UAAU,EAAE;MACVJ,OAAO,EAAE,OAAO;MAChBC,QAA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null || onFocus === void 0 || onFocus();
|
|
51
51
|
}, [onFocus]);
|
|
52
|
-
const labelError = useMemo(() =>
|
|
53
|
-
const labelErrorColor = useMemo(() =>
|
|
52
|
+
const labelError = useMemo(() => isValid === false && errMessage ? errMessage : bottomMessage, [isValid, errMessage, bottomMessage]);
|
|
53
|
+
const labelErrorColor = useMemo(() => isValid === false && errMessage ? theme.errorText : undefined, [isValid, errMessage, theme.errorText]);
|
|
54
54
|
const feedbackIconAttrMap = useMemo(() => ({
|
|
55
55
|
valid: {
|
|
56
56
|
name: "success",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useCallback","useMemo","useState","AccessibilityInfo","View","Animated","useIOTheme","enterTransitionInputIcon","exitTransitionInputIcon","triggerHaptic","Icon","TextInputBase","isValidationWithOptions","validation","feedbackIconSize","TextInputValidation","onValidate","errorMessage","value","bottomMessage","onBlur","onFocus","props","theme","isValid","setIsValid","undefined","errMessage","setErrMessage","getErrorFeedback","message","announceForAccessibilityWithOptions","queue","onBlurHandler","onFocusHandler","labelError","labelErrorColor","errorText","feedbackIconAttrMap","valid","name","color","successIcon","notValid","errorIcon","feedbackIcon","validationStatus","createElement","entering","exiting","size","style","width","height","_extends","status","bottomMessageColor","rightElement"],"sourceRoot":"../../../../src","sources":["components/textInput/TextInputValidation.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACtD,SAASC,iBAAiB,EAAEC,IAAI,QAAQ,cAAc;AACtD,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,UAAU,QAAQ,YAAY;AAEvC,SACEC,wBAAwB,EACxBC,uBAAuB,QAClB,0BAA0B;AACjC,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAAmCC,IAAI,QAAQ,UAAU;AACzD,SAASC,aAAa,QAAQ,iBAAiB;AAoB/C,SAASC,uBAAuBA,CAC9BC,UAA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,KAAK,EAAED,YAAY,EAAEG,MAAM,EAAEJ,UAAU,EAAEa,gBAAgB,CAAC,CAAC;EAE/D,MAAMK,cAAc,GAAGlC,WAAW,CAAC,MAAM;IACvCyB,UAAU,CAACC,SAAS,CAAC;IACrBL,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAG,CAAC;EACb,CAAC,EAAE,CAACA,OAAO,CAAC,CAAC;EAEb,MAAMc,UAAU,GAAGlC,OAAO,CACxB,
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","useState","AccessibilityInfo","View","Animated","useIOTheme","enterTransitionInputIcon","exitTransitionInputIcon","triggerHaptic","Icon","TextInputBase","isValidationWithOptions","validation","feedbackIconSize","TextInputValidation","onValidate","errorMessage","value","bottomMessage","onBlur","onFocus","props","theme","isValid","setIsValid","undefined","errMessage","setErrMessage","getErrorFeedback","message","announceForAccessibilityWithOptions","queue","onBlurHandler","onFocusHandler","labelError","labelErrorColor","errorText","feedbackIconAttrMap","valid","name","color","successIcon","notValid","errorIcon","feedbackIcon","validationStatus","createElement","entering","exiting","size","style","width","height","_extends","status","bottomMessageColor","rightElement"],"sourceRoot":"../../../../src","sources":["components/textInput/TextInputValidation.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACtD,SAASC,iBAAiB,EAAEC,IAAI,QAAQ,cAAc;AACtD,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,UAAU,QAAQ,YAAY;AAEvC,SACEC,wBAAwB,EACxBC,uBAAuB,QAClB,0BAA0B;AACjC,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAAmCC,IAAI,QAAQ,UAAU;AACzD,SAASC,aAAa,QAAQ,iBAAiB;AAoB/C,SAASC,uBAAuBA,CAC9BC,UAA2C,EACN;EACrC,OACE,OAAOA,UAAU,KAAK,QAAQ,IAC9B,SAAS,IAAIA,UAAU,IACvB,c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AiB,CACxB,CACY,CAAC,gBAEhBf,KAAA,CAAAgD,aAAA,CAAC3C,IAAI;MAAC+C,KAAK,EAAE;QAAEC,KAAK,EAAEtC,gBAAgB;QAAEuC,MAAM,EAAEvC;MAAiB;IAAE,CAAE,CACtE;EACH,CAAC,EAAE,CAACwB,mBAAmB,EAAEd,OAAO,CAAC,CAAC;EAElC,oBACEzB,KAAA,CAAAgD,aAAA,CAACpC,aAAa,EAAA2C,QAAA,KACRhC,KAAK;IACTJ,KAAK,EAAEA,KAAM;IACbqC,MAAM,EAAE/B,OAAO,KAAK,KAAK,GAAG,OAAO,GAAGE,SAAU;IAChDP,aAAa,EAAEgB,UAAW;IAC1BqB,kBAAkB,EAAEpB,eAAgB;IACpCqB,YAAY,EAAEZ,YAAa;IAC3BzB,MAAM,EAAEa,aAAc;IACtBZ,OAAO,EAAEa;EAAe,EACzB,CAAC;AAEN,CAAC;AAED,eAAenB,mBAAmB"}
|
|
@@ -32,7 +32,6 @@ export const IOColors = asIOColors({
|
|
|
32
32
|
"blueIO-600": "#0932B6",
|
|
33
33
|
"blueIO-500": "#0B3EE3",
|
|
34
34
|
"blueIO-400": "#3C65E9",
|
|
35
|
-
"blueIO-450": "#2351E6" /* Dark mode */,
|
|
36
35
|
"blueIO-200": "#9DB2F4",
|
|
37
36
|
"blueIO-150": "#B6C5F7",
|
|
38
37
|
"blueIO-100": "#CED8F9",
|
|
@@ -131,7 +130,6 @@ export const IOColorsTints = asIOColors({
|
|
|
131
130
|
"blueIO-850": IOColors["blueIO-850"],
|
|
132
131
|
"blueIO-600": IOColors["blueIO-600"],
|
|
133
132
|
"blueIO-500": IOColors["blueIO-500"],
|
|
134
|
-
"blueIO-450": IOColors["blueIO-450"],
|
|
135
133
|
"blueIO-200": IOColors["blueIO-200"],
|
|
136
134
|
"blueIO-150": IOColors["blueIO-150"],
|
|
137
135
|
"blueIO-100": IOColors["blueIO-100"],
|
|
@@ -187,6 +185,8 @@ const themeKeys = [
|
|
|
187
185
|
"textInputBorder-default", "textInputLabel-default", "textInputValue-default", "textInputValue-disabled",
|
|
188
186
|
// Layout
|
|
189
187
|
"divider-header", "divider-default", "divider-bottomBar", "pdfViewer-background",
|
|
188
|
+
// Tab Item
|
|
189
|
+
"tab-item-border-default", "tab-item-foreground-default", "tab-item-foreground-selected", "tab-item-background-selected",
|
|
190
190
|
// Status
|
|
191
191
|
"errorIcon", "errorText", "successIcon", "successText", "warningIcon", "infoIcon",
|
|
192
192
|
// Pictograms
|
|
@@ -228,6 +228,11 @@ export const IOThemeLight = {
|
|
|
228
228
|
"divider-default": "grey-200",
|
|
229
229
|
"divider-bottomBar": "grey-200",
|
|
230
230
|
"pdfViewer-background": "grey-700",
|
|
231
|
+
// Tab Item
|
|
232
|
+
"tab-item-border-default": "grey-300",
|
|
233
|
+
"tab-item-foreground-default": "black",
|
|
234
|
+
"tab-item-foreground-selected": "blueIO-500",
|
|
235
|
+
"tab-item-background-selected": "blueIO-200",
|
|
231
236
|
// Status
|
|
232
237
|
errorIcon: "error-600",
|
|
233
238
|
errorText: "error-600",
|
|
@@ -253,7 +258,7 @@ export const IOThemeDark = {
|
|
|
253
258
|
"appBackground-primary": "black",
|
|
254
259
|
"appBackground-secondary": "grey-850",
|
|
255
260
|
"appBackground-tertiary": "grey-700",
|
|
256
|
-
"interactiveElem-default": "blueIO-
|
|
261
|
+
"interactiveElem-default": "blueIO-400",
|
|
257
262
|
"interactiveElem-pressed": "blueIO-500",
|
|
258
263
|
"interactiveElem-disabled": "grey-700",
|
|
259
264
|
"interactiveOutline-disabled": "grey-450",
|
|
@@ -279,6 +284,11 @@ export const IOThemeDark = {
|
|
|
279
284
|
"textInputLabel-default": "grey-450",
|
|
280
285
|
"textInputValue-default": "white",
|
|
281
286
|
"textInputValue-disabled": "grey-100",
|
|
287
|
+
// Tab Item
|
|
288
|
+
"tab-item-border-default": "grey-700",
|
|
289
|
+
"tab-item-foreground-default": "grey-200",
|
|
290
|
+
"tab-item-foreground-selected": "blueIO-200",
|
|
291
|
+
"tab-item-background-selected": "blueIO-400",
|
|
282
292
|
// Layout
|
|
283
293
|
"divider-header": "grey-850",
|
|
284
294
|
"divider-default": "grey-850",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["asIOColors","arg","asIOThemeColors","asIOColorGradients","IOColors","white","black","IOColorGradients","appLaunch","appIcon","grey","cgnAll","cgn","cgnFinance","cgnCulture","cgnLearning","cgnHealth","cgnHome","cgnJobOffers","cgnSport","cgnMobility","cgnTelco","cgnTravel","getGradientColorValues","gradientId","first","second","blue600","blue500","blue50","IOColorsLegacy","IOColorsNeutral","IOColorsTints","IOColorsStatus","IOColorsExtra","themeKeys","IOThemeLight","errorIcon","errorText","successIcon","successText","warningIcon","infoIcon","IOThemeLightLegacy","IOThemeDark","themeStatusColorsLightMode","errorMain","errorBackground","errorGraphics","errorTypography","warningMain","warningBackground","warningGraphics","warningTypography","successMain","successBackground","successGraphics","successTypography","infoMain","infoBackground","infoGraphics","infoTypography","themeStatusColorsDarkMode","hexToRgba","hexCode","opacity","hex","toString","replace","r","parseInt","substring","g","b"],"sourceRoot":"../../../src","sources":["core/IOColors.ts"],"mappings":"AAEgE;;AAEhE;AACA;AACA,EAFA,CAIA;AACA,SAASA,UAAUA,CAA0CC,GAAM,EAAK;EACtE,OAAOA,GAAG;AACZ;AAEA,SAASC,eAAeA,CAAwCD,GAAM,EAAK;EACzE,OAAOA,GAAG;AACZ;AAEA,SAASE,kBAAkBA,CACzBF,GAAM,EACH;EACH,OAAOA,GAAG;AACZ;;AAEA;AACA;AACA;;AAEA,OAAO,MAAMG,QAAQ,GAAGJ,UAAU,CAAC;EACjCK,KAAK,EAAE,SAAS;EAChB,SAAS,EAAE,SAAS;EACpB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrBC,KAAK,EAAE,SAAS;EAChB,YAAY,EAAE,SAAS;EACvB,YAAY,EAAE,SAAS;EACvB,YAAY,EAAE,SAAS;EACvB,YAAY,EAAE,SAAS;EACvB,YAAY,EAAE,SAAS
|
|
1
|
+
{"version":3,"names":["asIOColors","arg","asIOThemeColors","asIOColorGradients","IOColors","white","black","IOColorGradients","appLaunch","appIcon","grey","cgnAll","cgn","cgnFinance","cgnCulture","cgnLearning","cgnHealth","cgnHome","cgnJobOffers","cgnSport","cgnMobility","cgnTelco","cgnTravel","getGradientColorValues","gradientId","first","second","blue600","blue500","blue50","IOColorsLegacy","IOColorsNeutral","IOColorsTints","IOColorsStatus","IOColorsExtra","themeKeys","IOThemeLight","errorIcon","errorText","successIcon","successText","warningIcon","infoIcon","IOThemeLightLegacy","IOThemeDark","themeStatusColorsLightMode","errorMain","errorBackground","errorGraphics","errorTypography","warningMain","warningBackground","warningGraphics","warningTypography","successMain","successBackground","successGraphics","successTypography","infoMain","infoBackground","infoGraphics","infoTypography","themeStatusColorsDarkMode","hexToRgba","hexCode","opacity","hex","toString","replace","r","parseInt","substring","g","b"],"sourceRoot":"../../../src","sources":["core/IOColors.ts"],"mappings":"AAEgE;;AAEhE;AACA;AACA,EAFA,CAIA;AACA,SAASA,UAAUA,CAA0CC,GAAM,EAAK;EACtE,OAAOA,GAAG;AACZ;AAEA,SAASC,eAAeA,CAAwCD,GAAM,EAAK;EACzE,OAAOA,GAAG;AACZ;AAEA,SAASE,kBAAkBA,CACzBF,GAAM,EACH;EACH,OAAOA,GAAG;AACZ;;AAEA;AACA;AACA;;AAEA,OAAO,MAAMG,QAAQ,GAAGJ,UAAU,CAAC;EACjCK,KAAK,EAAE,SAAS;EAChB,SAAS,EAAE,SAAS;EACpB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;EACrB,UAAU,EAAE,SAAS;E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|
@@ -8,7 +8,7 @@ type ScrollValues = {
|
|
|
8
8
|
};
|
|
9
9
|
type DiscreteTransitionProps = {
|
|
10
10
|
enableDiscreteTransition: true;
|
|
11
|
-
animatedRef: AnimatedRef<Animated.ScrollView | Animated.FlatList<any>>;
|
|
11
|
+
animatedRef: AnimatedRef<Animated.ScrollView> | AnimatedRef<Animated.FlatList<any>>;
|
|
12
12
|
} | {
|
|
13
13
|
enableDiscreteTransition?: false;
|
|
14
14
|
animatedRef?: never;
|
|
@@ -29,6 +29,7 @@ type CommonProps = WithTestID<{
|
|
|
29
29
|
variant?: "neutral" | "contrast";
|
|
30
30
|
backgroundColor?: string;
|
|
31
31
|
ignoreSafeAreaMargin?: boolean;
|
|
32
|
+
ignoreAccessibilityCheck?: boolean;
|
|
32
33
|
}>;
|
|
33
34
|
interface Base extends CommonProps {
|
|
34
35
|
type: "base";
|
|
@@ -60,6 +61,6 @@ export type HeaderSecondLevel = BackProps & DiscreteTransitionProps & (Base | On
|
|
|
60
61
|
* @param {HeaderSecondLevel} props - The props of the component
|
|
61
62
|
* @returns React Element
|
|
62
63
|
*/
|
|
63
|
-
export declare const HeaderSecondLevel: ({ scrollValues, goBack, backAccessibilityLabel, backTestID, title, type, variant, backgroundColor, transparent, ignoreSafeAreaMargin, enableDiscreteTransition, animatedRef, testID, firstAction, secondAction, thirdAction }: HeaderSecondLevel) => React.JSX.Element;
|
|
64
|
+
export declare const HeaderSecondLevel: ({ scrollValues, goBack, backAccessibilityLabel, backTestID, title, type, variant, backgroundColor, transparent, ignoreSafeAreaMargin, enableDiscreteTransition, animatedRef, testID, firstAction, secondAction, thirdAction, ignoreAccessibilityCheck }: HeaderSecondLevel) => React.JSX.Element;
|
|
64
65
|
export default HeaderSecondLevel;
|
|
65
66
|
//# sourceMappingURL=HeaderSecondLevel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSecondLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderSecondLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,QAAQ,EAAE,EACf,WAAW,EACX,WAAW,EASZ,MAAM,yBAAyB,CAAC;AAejC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,KAAK,YAAY,GAAG;IAClB,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,uBAAuB,GACxB;IACE,wBAAwB,EAAE,IAAI,CAAC;IAC/B,WAAW,
|
|
1
|
+
{"version":3,"file":"HeaderSecondLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderSecondLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,QAAQ,EAAE,EACf,WAAW,EACX,WAAW,EASZ,MAAM,yBAAyB,CAAC;AAejC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,KAAK,YAAY,GAAG;IAClB,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,uBAAuB,GACxB;IACE,wBAAwB,EAAE,IAAI,CAAC;IAC/B,WAAW,EACP,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,GAChC,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;CACzC,GACD;IACE,wBAAwB,CAAC,EAAE,KAAK,CAAC;IACjC,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,CAAC;AAEN,KAAK,SAAS,GACV;IACE,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,sBAAsB,EAAE,MAA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ACvB,CAAC,IAAI,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,CAAC,CAAC;AAoBjD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,4PAkB3B,iBAAiB,sBAsMnB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAyB,MAAM,cAAc,CAAC;AAiB5E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAGzC,KAAK,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAIlC,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAwDH,QAAA,MAAM,OAAO,gIAYV,OAAO,sBAiJT,CAAC;AAmBF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -8,6 +8,6 @@ export declare const BodyMonospace: React.ForwardRefExoticComponent<Omit<IOTextP
|
|
|
8
8
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
9
9
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
10
10
|
} & {
|
|
11
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
11
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
12
12
|
} & React.RefAttributes<View>>;
|
|
13
13
|
//# sourceMappingURL=BodyMonospace.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const ButtonText: React.ForwardRefExoticComponent<Omit<IOTextProp
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=ButtonText.d.ts.map
|
|
@@ -10,6 +10,6 @@ export declare const Caption: React.ForwardRefExoticComponent<Omit<IOTextProps,
|
|
|
10
10
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
11
11
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
} & {
|
|
13
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
13
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
14
14
|
} & React.RefAttributes<View>>;
|
|
15
15
|
//# sourceMappingURL=Caption.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const H1: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=H1.d.ts.map
|
|
@@ -14,6 +14,6 @@ export declare const H2: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
14
14
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
15
15
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
16
16
|
} & {
|
|
17
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
17
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
18
18
|
} & React.RefAttributes<View>>;
|
|
19
19
|
//# sourceMappingURL=H2.d.ts.map
|
|
@@ -11,7 +11,7 @@ export declare const H3: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & {
|
|
16
16
|
weight?: "Semibold" | "Bold" | undefined;
|
|
17
17
|
} & React.RefAttributes<View>>;
|
|
@@ -11,6 +11,6 @@ export declare const H4: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=H4.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const H5: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=H5.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const H6: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=H6.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<IOTextProps, "st
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=Hero.d.ts.map
|