@pagopa/io-app-design-system 5.0.0-2 → 5.0.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/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +0 -4
- package/lib/commonjs/components/buttons/ButtonOutline.js +8 -8
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +1 -1
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonContained.js +3 -3
- package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/commonjs/components/icons/Icon.js +2 -2
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/README.md +1 -1
- package/lib/commonjs/components/layout/HeaderFirstLevel.js +35 -15
- package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemHeader.js +9 -20
- package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js +47 -13
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/PressableListItemBase.js.map +1 -1
- package/lib/commonjs/components/modules/PressableModuleBase.js +10 -2
- package/lib/commonjs/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberButton.js +12 -2
- package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
- package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +40 -20
- package/lib/commonjs/components/otpInput/OTPInput.js +2 -1
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
- package/lib/commonjs/components/pictograms/Pictogram.js +3 -24
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/{PictogramUmbrellaNew.js → PictogramUmbrella.js} +3 -3
- package/lib/commonjs/components/pictograms/svg/PictogramUmbrella.js.map +1 -0
- package/lib/commonjs/components/searchInput/SearchInput.js +15 -4
- package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
- package/lib/commonjs/components/spacer/Spacer.js +1 -1
- package/lib/commonjs/components/spacer/Spacer.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +18 -15
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputValidation.js +8 -6
- package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +7 -7
- package/lib/commonjs/components/typography/__test__/typography.test.js +13 -13
- package/lib/commonjs/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/commonjs/core/IOColors.js +21 -105
- package/lib/commonjs/core/IOColors.js.map +1 -1
- package/lib/commonjs/core/IOThemeContextProvider.js +14 -9
- package/lib/commonjs/core/IOThemeContextProvider.js.map +1 -1
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +0 -4
- package/lib/module/components/buttons/ButtonOutline.js +8 -8
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/IconButton.js +1 -1
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/IconButtonContained.js +3 -3
- package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/module/components/icons/Icon.js +2 -2
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/README.md +1 -1
- package/lib/module/components/layout/HeaderFirstLevel.js +37 -17
- package/lib/module/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/module/components/listitems/ListItemHeader.js +9 -20
- package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfo.js +48 -15
- package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/module/components/listitems/PressableListItemBase.js.map +1 -1
- package/lib/module/components/modules/PressableModuleBase.js +10 -2
- package/lib/module/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/module/components/numberpad/NumberButton.js +14 -4
- package/lib/module/components/numberpad/NumberButton.js.map +1 -1
- package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +40 -20
- package/lib/module/components/otpInput/OTPInput.js +2 -1
- package/lib/module/components/otpInput/OTPInput.js.map +1 -1
- package/lib/module/components/pictograms/Pictogram.js +2 -22
- package/lib/module/components/pictograms/Pictogram.js.map +1 -1
- package/lib/module/components/pictograms/svg/{PictogramUmbrellaNew.js → PictogramUmbrella.js} +3 -3
- package/lib/module/components/pictograms/svg/PictogramUmbrella.js.map +1 -0
- package/lib/module/components/searchInput/SearchInput.js +15 -4
- package/lib/module/components/searchInput/SearchInput.js.map +1 -1
- package/lib/module/components/spacer/Spacer.js +1 -1
- package/lib/module/components/spacer/Spacer.js.map +1 -1
- package/lib/module/components/textInput/TextInputBase.js +19 -16
- package/lib/module/components/textInput/TextInputBase.js.map +1 -1
- package/lib/module/components/textInput/TextInputValidation.js +8 -6
- package/lib/module/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +7 -7
- package/lib/module/components/typography/__test__/typography.test.js +13 -13
- package/lib/module/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/module/core/IOColors.js +20 -103
- package/lib/module/core/IOColors.js.map +1 -1
- package/lib/module/core/IOThemeContextProvider.js +12 -8
- package/lib/module/core/IOThemeContextProvider.js.map +1 -1
- package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts +8 -28
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemHeader.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemInfo.d.ts +13 -11
- package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
- package/lib/typescript/components/listitems/PressableListItemBase.d.ts +2 -2
- package/lib/typescript/components/listitems/PressableListItemBase.d.ts.map +1 -1
- package/lib/typescript/components/modules/PressableModuleBase.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberButton.d.ts.map +1 -1
- package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/Pictogram.d.ts +3 -12
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/svg/PictogramUmbrella.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramUmbrella.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/types.d.ts +0 -1
- package/lib/typescript/components/pictograms/types.d.ts.map +1 -1
- package/lib/typescript/components/searchInput/SearchInput.d.ts.map +1 -1
- package/lib/typescript/components/textInput/TextInputBase.d.ts +2 -2
- package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
- package/lib/typescript/components/textInput/TextInputValidation.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/styles.d.ts +2 -2
- 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 -40
- package/lib/typescript/core/IOColors.d.ts.map +1 -1
- package/lib/typescript/core/IOStyles.d.ts +2 -2
- package/lib/typescript/core/IOThemeContextProvider.d.ts +6 -6
- package/lib/typescript/core/IOThemeContextProvider.d.ts.map +1 -1
- package/lib/typescript/utils/fonts.d.ts +1 -1
- package/package.json +3 -3
- package/src/components/alert/Alert.tsx +3 -2
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +0 -4
- package/src/components/buttons/ButtonOutline.tsx +8 -8
- package/src/components/buttons/IconButton.tsx +1 -1
- package/src/components/buttons/IconButtonContained.tsx +3 -3
- package/src/components/icons/Icon.tsx +2 -2
- package/src/components/icons/README.md +1 -1
- package/src/components/layout/HeaderFirstLevel.tsx +50 -68
- package/src/components/listitems/ListItemHeader.tsx +9 -34
- package/src/components/listitems/ListItemInfo.tsx +107 -53
- package/src/components/listitems/PressableListItemBase.tsx +3 -2
- package/src/components/modules/PressableModuleBase.tsx +15 -4
- package/src/components/numberpad/NumberButton.tsx +19 -3
- package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +40 -20
- package/src/components/otpInput/OTPInput.tsx +1 -0
- package/src/components/pictograms/Pictogram.tsx +2 -24
- package/src/components/pictograms/svg/{PictogramUmbrellaNew.tsx → PictogramUmbrella.tsx} +2 -2
- package/src/components/pictograms/types.ts +0 -1
- package/src/components/searchInput/SearchInput.tsx +25 -3
- package/src/components/spacer/Spacer.tsx +1 -1
- package/src/components/textInput/TextInputBase.tsx +28 -15
- package/src/components/textInput/TextInputValidation.tsx +18 -10
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +7 -7
- package/src/components/typography/__test__/typography.test.tsx +18 -16
- package/src/core/IOColors.ts +24 -104
- package/src/core/IOThemeContextProvider.tsx +25 -15
- package/lib/commonjs/components/Advice/Advice.js +0 -42
- package/lib/commonjs/components/Advice/Advice.js.map +0 -1
- package/lib/commonjs/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +0 -213
- package/lib/commonjs/components/Advice/__test__/advice.test.js +0 -26
- package/lib/commonjs/components/Advice/__test__/advice.test.js.map +0 -1
- package/lib/commonjs/components/Advice/index.js +0 -17
- package/lib/commonjs/components/Advice/index.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/PictogramCompleted.js +0 -33
- package/lib/commonjs/components/pictograms/svg/PictogramCompleted.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/PictogramProcessing.js +0 -33
- package/lib/commonjs/components/pictograms/svg/PictogramProcessing.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/PictogramUmbrellaNew.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/originals/PictogramCompleted.svg +0 -14
- package/lib/module/components/Advice/Advice.js +0 -34
- package/lib/module/components/Advice/Advice.js.map +0 -1
- package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +0 -213
- package/lib/module/components/Advice/__test__/advice.test.js +0 -21
- package/lib/module/components/Advice/__test__/advice.test.js.map +0 -1
- package/lib/module/components/Advice/index.js +0 -2
- package/lib/module/components/Advice/index.js.map +0 -1
- package/lib/module/components/pictograms/svg/PictogramCompleted.js +0 -25
- package/lib/module/components/pictograms/svg/PictogramCompleted.js.map +0 -1
- package/lib/module/components/pictograms/svg/PictogramProcessing.js +0 -25
- package/lib/module/components/pictograms/svg/PictogramProcessing.js.map +0 -1
- package/lib/module/components/pictograms/svg/PictogramUmbrellaNew.js.map +0 -1
- package/lib/module/components/pictograms/svg/originals/PictogramCompleted.svg +0 -14
- package/lib/typescript/components/Advice/Advice.d.ts +0 -16
- package/lib/typescript/components/Advice/Advice.d.ts.map +0 -1
- package/lib/typescript/components/Advice/__test__/advice.test.d.ts +0 -2
- package/lib/typescript/components/Advice/__test__/advice.test.d.ts.map +0 -1
- package/lib/typescript/components/Advice/index.d.ts +0 -2
- package/lib/typescript/components/Advice/index.d.ts.map +0 -1
- package/lib/typescript/components/pictograms/svg/PictogramCompleted.d.ts +0 -5
- package/lib/typescript/components/pictograms/svg/PictogramCompleted.d.ts.map +0 -1
- package/lib/typescript/components/pictograms/svg/PictogramProcessing.d.ts +0 -5
- package/lib/typescript/components/pictograms/svg/PictogramProcessing.d.ts.map +0 -1
- package/lib/typescript/components/pictograms/svg/PictogramUmbrellaNew.d.ts +0 -5
- package/lib/typescript/components/pictograms/svg/PictogramUmbrellaNew.d.ts.map +0 -1
- package/src/components/Advice/Advice.tsx +0 -42
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +0 -213
- package/src/components/Advice/__test__/advice.test.tsx +0 -22
- package/src/components/Advice/index.tsx +0 -1
- package/src/components/pictograms/svg/PictogramCompleted.tsx +0 -22
- package/src/components/pictograms/svg/PictogramProcessing.tsx +0 -22
- package/src/components/pictograms/svg/originals/PictogramCompleted.svg +0 -14
- /package/lib/commonjs/components/pictograms/svg/originals/{PictogramUmbrellaNew.svg → PictogramUmbrella.svg} +0 -0
- /package/lib/module/components/pictograms/svg/originals/{PictogramUmbrellaNew.svg → PictogramUmbrella.svg} +0 -0
- /package/src/components/pictograms/svg/originals/{PictogramUmbrellaNew.svg → PictogramUmbrella.svg} +0 -0
|
@@ -73,26 +73,7 @@ export const IOColors = asIOColors({
|
|
|
73
73
|
"blueItalia-600": "#0052A3",
|
|
74
74
|
"blueItalia-500": "#0066CC" /* pagoPA service */,
|
|
75
75
|
"blueItalia-100": "#C4DCF5",
|
|
76
|
-
"blueItalia-50": "#DDEBFA"
|
|
77
|
-
/* Temporary scale based on legacy Blue */
|
|
78
|
-
"blue-600": "#0353A3",
|
|
79
|
-
"blue-50": "#EFF7FF",
|
|
80
|
-
/* Legacy */
|
|
81
|
-
greyUltraLight: "#F5F6F7",
|
|
82
|
-
greyLight: "#E6E9F2",
|
|
83
|
-
bluegreyLight: "#CCD4DC",
|
|
84
|
-
grey: "#909DA8",
|
|
85
|
-
bluegrey: "#475A6D",
|
|
86
|
-
bluegreyDark: "#17324D",
|
|
87
|
-
blue: "#0073E6",
|
|
88
|
-
blueUltraLight: "#99CCFF" /* Almost deprecated, avoid if possible */,
|
|
89
|
-
aqua: "#00C5CA",
|
|
90
|
-
aquaUltraLight: "#C1F4F2",
|
|
91
|
-
antiqueFuchsia: "#9B5897" /* used in the CgnDiscountValueBox only */,
|
|
92
|
-
orange: "#EA7614",
|
|
93
|
-
red: "#C02927",
|
|
94
|
-
green: "#005C3C",
|
|
95
|
-
greenLight: "#5CA85A"
|
|
76
|
+
"blueItalia-50": "#DDEBFA"
|
|
96
77
|
});
|
|
97
78
|
export const IOColorGradients = asIOColorGradients({
|
|
98
79
|
appLaunch: ["#0C00D3", "#0073E6"],
|
|
@@ -120,44 +101,6 @@ export const getGradientColorValues = gradientId => {
|
|
|
120
101
|
░░░ COLORS SETS ░░░
|
|
121
102
|
*/
|
|
122
103
|
|
|
123
|
-
const {
|
|
124
|
-
white,
|
|
125
|
-
greyUltraLight,
|
|
126
|
-
greyLight,
|
|
127
|
-
bluegreyLight,
|
|
128
|
-
grey,
|
|
129
|
-
bluegrey,
|
|
130
|
-
bluegreyDark,
|
|
131
|
-
black,
|
|
132
|
-
blue,
|
|
133
|
-
blueUltraLight,
|
|
134
|
-
aqua,
|
|
135
|
-
aquaUltraLight,
|
|
136
|
-
antiqueFuchsia,
|
|
137
|
-
orange,
|
|
138
|
-
red,
|
|
139
|
-
green,
|
|
140
|
-
greenLight
|
|
141
|
-
} = IOColors;
|
|
142
|
-
export const IOColorsLegacy = {
|
|
143
|
-
white,
|
|
144
|
-
greyUltraLight,
|
|
145
|
-
greyLight,
|
|
146
|
-
bluegreyLight,
|
|
147
|
-
grey,
|
|
148
|
-
bluegrey,
|
|
149
|
-
bluegreyDark,
|
|
150
|
-
black,
|
|
151
|
-
blue,
|
|
152
|
-
blueUltraLight,
|
|
153
|
-
aqua,
|
|
154
|
-
aquaUltraLight,
|
|
155
|
-
antiqueFuchsia,
|
|
156
|
-
orange,
|
|
157
|
-
red,
|
|
158
|
-
green,
|
|
159
|
-
greenLight
|
|
160
|
-
};
|
|
161
104
|
export const IOColorsNeutral = asIOColors({
|
|
162
105
|
black: IOColors.black,
|
|
163
106
|
"grey-850": IOColors["grey-850"],
|
|
@@ -213,9 +156,7 @@ export const IOColorsExtra = {
|
|
|
213
156
|
"blueItalia-600": IOColors["blueItalia-600"],
|
|
214
157
|
"blueItalia-500": IOColors["blueItalia-500"],
|
|
215
158
|
"blueItalia-100": IOColors["blueItalia-100"],
|
|
216
|
-
"blueItalia-50": IOColors["blueItalia-50"]
|
|
217
|
-
"blue-600": IOColors["blue-600"],
|
|
218
|
-
"blue-50": IOColors["blue-50"]
|
|
159
|
+
"blueItalia-50": IOColors["blueItalia-50"]
|
|
219
160
|
};
|
|
220
161
|
/*
|
|
221
162
|
░░░ THEME COLORS ░░░
|
|
@@ -227,9 +168,11 @@ const themeKeys = [
|
|
|
227
168
|
// Typography
|
|
228
169
|
"textHeading-default", "textHeading-secondary", "textHeading-tertiary", "textBody-default", "textBody-secondary", "textBody-tertiary",
|
|
229
170
|
// Design System related
|
|
230
|
-
"cardBorder-default", "icon-default", "icon-decorative",
|
|
171
|
+
"cardBorder-default", "textInputBorder-default", "icon-default", "icon-decorative",
|
|
172
|
+
// Inputs
|
|
173
|
+
"textInputBorder-default", "textInputLabel-default", "textInputValue-default", "textInputValue-disabled",
|
|
231
174
|
// Layout
|
|
232
|
-
"divider-header", "divider-default", "divider-bottomBar",
|
|
175
|
+
"divider-header", "divider-default", "divider-bottomBar", "pdfViewer-background",
|
|
233
176
|
// Status
|
|
234
177
|
"errorIcon", "errorText", "successIcon", "successText", "warningIcon", "infoIcon",
|
|
235
178
|
// Pictograms
|
|
@@ -254,10 +197,16 @@ export const IOThemeLight = {
|
|
|
254
197
|
"cardBorder-default": "grey-100",
|
|
255
198
|
"icon-default": "grey-650",
|
|
256
199
|
"icon-decorative": "grey-300",
|
|
200
|
+
// Inputs
|
|
201
|
+
"textInputBorder-default": "grey-200",
|
|
202
|
+
"textInputLabel-default": "grey-700",
|
|
203
|
+
"textInputValue-default": "black",
|
|
204
|
+
"textInputValue-disabled": "grey-850",
|
|
257
205
|
// Layout
|
|
258
206
|
"divider-header": "grey-100",
|
|
259
207
|
"divider-default": "grey-200",
|
|
260
208
|
"divider-bottomBar": "grey-200",
|
|
209
|
+
"pdfViewer-background": "grey-700",
|
|
261
210
|
// Status
|
|
262
211
|
errorIcon: "error-600",
|
|
263
212
|
errorText: "error-600",
|
|
@@ -291,6 +240,11 @@ export const IOThemeDark = {
|
|
|
291
240
|
"cardBorder-default": "grey-850",
|
|
292
241
|
"icon-default": "grey-450",
|
|
293
242
|
"icon-decorative": "grey-650",
|
|
243
|
+
// Inputs
|
|
244
|
+
"textInputBorder-default": "grey-850",
|
|
245
|
+
"textInputLabel-default": "grey-450",
|
|
246
|
+
"textInputValue-default": "white",
|
|
247
|
+
"textInputValue-disabled": "grey-100",
|
|
294
248
|
// Layout
|
|
295
249
|
"divider-header": "grey-850",
|
|
296
250
|
"divider-default": "grey-850",
|
|
@@ -366,46 +320,9 @@ REFACTORING REFERENCES
|
|
|
366
320
|
Alias tokens:
|
|
367
321
|
*/
|
|
368
322
|
/*
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
colorSkeleton → bluegreyLight
|
|
372
|
-
itemSeparator → bluegreyLight
|
|
373
|
-
btnLightBorderColor → grey
|
|
374
|
-
disabledService → grey, not referenced though
|
|
375
|
-
headerIconDark → milderGray
|
|
376
|
-
textColor → bluegrey
|
|
377
|
-
topTabBarTextColor → bluegrey
|
|
378
|
-
unselectedColor → bluegrey
|
|
379
|
-
textColorDark → bluegreyDark
|
|
380
|
-
cardTextColor → bluegreyDark
|
|
323
|
+
itemSeparator → grey-200
|
|
324
|
+
textColor → grey-700
|
|
381
325
|
footerShadowColor → black
|
|
382
|
-
|
|
383
|
-
selectedColor → blue
|
|
384
|
-
contentPrimaryBackground → blue
|
|
385
|
-
textLinkColor → blue
|
|
386
|
-
colorHighlight → aqua
|
|
387
|
-
toastColor → aquaUltraLight
|
|
388
|
-
brandDanger → red
|
|
389
|
-
calendarExpirableColor → red
|
|
390
|
-
brandSuccess → green
|
|
391
|
-
*/
|
|
392
|
-
|
|
393
|
-
/* NEW PALETTE → OLD PALETTE
|
|
394
|
-
That is, which color replaces the other? */
|
|
395
|
-
/*
|
|
396
|
-
`blackNew` replaces `black`
|
|
397
|
-
`grey50` → `greyUltraLight`
|
|
398
|
-
`grey100` → `greyLight`
|
|
399
|
-
`grey200` → `blueGreyLight`
|
|
400
|
-
`grey450` → `grey`
|
|
401
|
-
`grey650` → `milderGrey`
|
|
402
|
-
`grey700` → `bluegrey`
|
|
403
|
-
`grey850` → `bluegreyDark`
|
|
404
|
-
`blueNew` → `blue`
|
|
405
|
-
`turquoise` → `aqua`
|
|
406
|
-
`turquoiseLight` → `aquaUltraLight`
|
|
407
|
-
`warning` → `yellow`
|
|
408
|
-
`error` → `red`
|
|
409
|
-
`success` → `green`
|
|
326
|
+
contentPrimaryBackground → blue-500
|
|
410
327
|
*/
|
|
411
328
|
//# sourceMappingURL=IOColors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["asIOColors","arg","asIOThemeColors","asIOColorGradients","IOColors","white","black","
|
|
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","IOColorsNeutral","IOColorsTints","IOColorsStatus","IOColorsExtra","themeKeys","IOThemeLight","errorIcon","errorText","successIcon","successText","warningIcon","infoIcon","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":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AACA;AACA;AACA,OAAO,MAAME,SAAS,GAAGA,CAACC,OAAmB,EAAEC,OAAe,GAAG,CAAC,KAAK;EACrE,MAAMC,GAAG,GAAGF,OAAO,CAACG,QAAQ,CAAC,CAAC,CAACC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC;EAE/C,MAAMC,CAAC,GAAGC,QAAQ,CAACJ,GAAG,CAACK,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;EAC3C,MAAMC,CAAC,GAAGF,QAAQ,CAACJ,GAAG,CAACK,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;EAC3C,MAAME,CAAC,GAAGH,QAAQ,CAACJ,GAAG,CAACK,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;EAE3C,OAAQ,QAAOF,CAAE,IAAGG,CAAE,IAAGC,CAAE,IAAGR,OAAQ,GAAE;AAC1C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { createContext, useCallback, useContext, useState } from "react";
|
|
2
2
|
import { Appearance } from "react-native";
|
|
3
3
|
import { IOThemeDark, IOThemeLight } from "./IOColors";
|
|
4
4
|
export const IOThemes = {
|
|
5
5
|
light: IOThemeLight,
|
|
6
6
|
dark: IOThemeDark
|
|
7
7
|
};
|
|
8
|
-
export const IOThemeContext = /*#__PURE__*/
|
|
9
|
-
themeType: Appearance.getColorScheme()
|
|
8
|
+
export const IOThemeContext = /*#__PURE__*/createContext({
|
|
9
|
+
themeType: Appearance.getColorScheme(),
|
|
10
10
|
theme: Appearance.getColorScheme() === "dark" ? IOThemes.dark : IOThemes.light,
|
|
11
|
-
setTheme:
|
|
11
|
+
setTheme: theme => Appearance.setColorScheme(theme)
|
|
12
12
|
});
|
|
13
|
-
export const useIOThemeContext = () =>
|
|
13
|
+
export const useIOThemeContext = () => useContext(IOThemeContext);
|
|
14
14
|
export const useIOTheme = () => useIOThemeContext().theme;
|
|
15
15
|
export const IOThemeContextProvider = ({
|
|
16
16
|
children,
|
|
17
17
|
theme
|
|
18
18
|
}) => {
|
|
19
|
-
const [currentTheme, setCurrentTheme] =
|
|
19
|
+
const [currentTheme, setCurrentTheme] = useState(theme ?? Appearance.getColorScheme());
|
|
20
|
+
const handleThemeChange = useCallback(newTheme => {
|
|
21
|
+
setCurrentTheme(newTheme);
|
|
22
|
+
Appearance.setColorScheme(newTheme);
|
|
23
|
+
}, []);
|
|
20
24
|
return /*#__PURE__*/React.createElement(IOThemeContext.Provider, {
|
|
21
25
|
value: {
|
|
22
26
|
themeType: currentTheme,
|
|
23
|
-
theme: IOThemes[currentTheme],
|
|
24
|
-
setTheme:
|
|
27
|
+
theme: IOThemes[currentTheme ?? "light"],
|
|
28
|
+
setTheme: handleThemeChange
|
|
25
29
|
}
|
|
26
30
|
}, children);
|
|
27
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Appearance","IOThemeDark","IOThemeLight","IOThemes","light","dark","IOThemeContext","
|
|
1
|
+
{"version":3,"names":["React","createContext","useCallback","useContext","useState","Appearance","IOThemeDark","IOThemeLight","IOThemes","light","dark","IOThemeContext","themeType","getColorScheme","theme","setTheme","setColorScheme","useIOThemeContext","useIOTheme","IOThemeContextProvider","children","currentTheme","setCurrentTheme","handleThemeChange","newTheme","createElement","Provider","value"],"sourceRoot":"../../../src","sources":["core/IOThemeContextProvider.tsx"],"mappings":"AAAA,OAAOA,KAAK,IACVC,aAAa,EAEbC,WAAW,EACXC,UAAU,EACVC,QAAQ,QACH,OAAO;AACd,SAASC,UAAU,QAAyB,cAAc;AAC1D,SAAkBC,WAAW,EAAEC,YAAY,QAAQ,YAAY;AAE/D,OAAO,MAAMC,QAAQ,GAAG;EAAEC,KAAK,EAAEF,YAAY;EAAEG,IAAI,EAAEJ;AAAY,CAAC;AAQlE,OAAO,M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|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AACjE,OAAO,EAEL,qBAAqB,EAIrB,IAAI,EAEL,MAAM,cAAc,CAAC;AAQtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAS/C,KAAK,UAAU,GAAG,UAAU,CAAC;IAC3B,OAAO,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH,KAAK,gBAAgB,GACjB;IACE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,GACD;IACE,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEN,KAAK,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAAC;AAgE/C,eAAO,MAAM,KAAK,wEAmIjB,CAAC"}
|
|
@@ -1,36 +1,16 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import Animated, { AnimatedRef } from "react-native-reanimated";
|
|
2
3
|
import { WithTestID } from "../../utils/types";
|
|
3
4
|
import { HeaderActionProps } from "./common";
|
|
4
|
-
type
|
|
5
|
+
export type HeaderFirstLevel = WithTestID<{
|
|
5
6
|
title: string;
|
|
6
|
-
backgroundColor?: "light" | "dark";
|
|
7
|
-
ignoreSafeAreaMargin?: boolean;
|
|
8
|
-
}>;
|
|
9
|
-
interface Base extends CommonProps {
|
|
10
|
-
type: "base";
|
|
11
|
-
firstAction?: never;
|
|
12
|
-
secondAction?: never;
|
|
13
|
-
thirdAction?: never;
|
|
14
|
-
}
|
|
15
|
-
interface OneAction extends CommonProps {
|
|
16
|
-
type: "singleAction";
|
|
17
|
-
firstAction: HeaderActionProps;
|
|
18
|
-
secondAction?: never;
|
|
19
|
-
thirdAction?: never;
|
|
20
|
-
}
|
|
21
|
-
interface TwoActions extends CommonProps {
|
|
22
|
-
type: "twoActions";
|
|
23
7
|
firstAction: HeaderActionProps;
|
|
24
8
|
secondAction: HeaderActionProps;
|
|
25
|
-
thirdAction?:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
thirdAction: HeaderActionProps;
|
|
32
|
-
}
|
|
33
|
-
export type HeaderFirstLevel = Base | OneAction | TwoActions | ThreeActions;
|
|
34
|
-
export declare const HeaderFirstLevel: ({ title, type, testID, backgroundColor, ignoreSafeAreaMargin, firstAction, secondAction, thirdAction }: HeaderFirstLevel) => React.JSX.Element;
|
|
9
|
+
thirdAction?: HeaderActionProps;
|
|
10
|
+
animatedRef?: AnimatedRef<Animated.ScrollView>;
|
|
11
|
+
animatedFlatListRef?: AnimatedRef<Animated.FlatList<any>>;
|
|
12
|
+
ignoreSafeAreaMargin?: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const HeaderFirstLevel: ({ title, testID, firstAction, secondAction, thirdAction, ignoreSafeAreaMargin, animatedRef, animatedFlatListRef }: HeaderFirstLevel) => React.JSX.Element;
|
|
35
15
|
export default HeaderFirstLevel;
|
|
36
16
|
//# sourceMappingURL=HeaderFirstLevel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderFirstLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderFirstLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderFirstLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderFirstLevel.tsx"],"names":[],"mapp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,cAAc,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;CACnD,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,cAAc,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;CACnD,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,EAAE,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;CAC9C,CAAC;AAEF,KAAK,SAAS,GACV;IACE,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;CAClD,GACD;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC;IAAC,SAAS,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAE5C,KAAK,eAAe,GAChB,qBAAqB,GACrB,qBAAqB,GACrB,UAAU,CAAC;AAEf,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,eAAe,CAAC;IAE7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC,GACA,SAAS,CAAC;AAIZ,eAAO,MAAM,cAAc,2EAOxB,cAAc,sBAyEhB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { ComponentProps } from "react";
|
|
2
|
-
import { AccessibilityRole } from "react-native";
|
|
1
|
+
import React, { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import { AccessibilityRole, Pressable } from "react-native";
|
|
3
3
|
import { WithTestID } from "../../utils/types";
|
|
4
4
|
import { Badge } from "../badge";
|
|
5
5
|
import { ButtonLink, IconButton } from "../buttons";
|
|
@@ -18,20 +18,22 @@ type BadgeProps = {
|
|
|
18
18
|
componentProps: ComponentProps<typeof Badge>;
|
|
19
19
|
};
|
|
20
20
|
type EndElementProps = ButtonLinkActionProps | IconButtonActionProps | BadgeProps;
|
|
21
|
+
type GraphicProps = {
|
|
22
|
+
paymentLogoIcon?: IOLogoPaymentType;
|
|
23
|
+
icon?: never;
|
|
24
|
+
} | {
|
|
25
|
+
paymentLogoIcon?: never;
|
|
26
|
+
icon?: IOIcons;
|
|
27
|
+
};
|
|
28
|
+
type InteractiveProps = Pick<ComponentProps<typeof Pressable>, "onLongPress" | "accessibilityActions" | "onAccessibilityAction">;
|
|
21
29
|
export type ListItemInfo = WithTestID<{
|
|
22
30
|
label: string;
|
|
23
|
-
value: string |
|
|
31
|
+
value: string | ReactNode;
|
|
24
32
|
numberOfLines?: number;
|
|
25
33
|
endElement?: EndElementProps;
|
|
26
34
|
accessibilityLabel?: string;
|
|
27
35
|
accessibilityRole?: AccessibilityRole;
|
|
28
|
-
}> &
|
|
29
|
-
|
|
30
|
-
icon?: never;
|
|
31
|
-
} | {
|
|
32
|
-
icon?: IOIcons;
|
|
33
|
-
paymentLogoIcon?: never;
|
|
34
|
-
});
|
|
35
|
-
export declare const ListItemInfo: ({ label, value, numberOfLines, icon, paymentLogoIcon, endElement, accessibilityLabel, accessibilityRole, testID }: ListItemInfo) => React.JSX.Element;
|
|
36
|
+
}> & GraphicProps & InteractiveProps;
|
|
37
|
+
export declare const ListItemInfo: ({ label, value, numberOfLines, icon, paymentLogoIcon, endElement, accessibilityLabel, accessibilityRole, accessibilityActions, onAccessibilityAction, onLongPress, testID }: ListItemInfo) => React.JSX.Element;
|
|
36
38
|
export default ListItemInfo;
|
|
37
39
|
//# sourceMappingURL=ListItemInfo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAwB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"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;AAEF,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,eAAe,CAAC;IAE7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,CAAC,GACA,YAAY,GACZ,gBAAgB,CAAC;AAInB,eAAO,MAAM,YAAY,gLAatB,YAAY,sBAqJd,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { PropsWithChildren } from "react";
|
|
2
|
+
import { ComponentProps, PropsWithChildren } from "react";
|
|
3
3
|
import { Pressable } from "react-native";
|
|
4
4
|
import { WithTestID } from "../../utils/types";
|
|
5
|
-
export type PressableBaseProps = WithTestID<Pick<
|
|
5
|
+
export type PressableBaseProps = WithTestID<Pick<ComponentProps<typeof Pressable>, "onPress" | "accessibilityLabel" | "accessibilityHint" | "accessibilityState" | "accessibilityRole">>;
|
|
6
6
|
export declare const PressableListItemBase: ({ onPress, testID, children, accessibilityRole, ...props }: PropsWithChildren<PressableBaseProps>) => React.JSX.Element;
|
|
7
7
|
//# sourceMappingURL=PressableListItemBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableListItemBase.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/PressableListItemBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PressableListItemBase.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/PressableListItemBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,MAAM,MAAM,kBAAkB,GAAG,UAAU,CACzC,IAAI,CACF,cAAc,CAAC,OAAO,SAAS,CAAC,EAC9B,SAAS,GACT,oBAAoB,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,mBAAmB,CACtB,CACF,CAAC;AAEF,eAAO,MAAM,qBAAqB,+DAM/B,kBAAkB,kBAAkB,CAAC,sBA8BvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableModuleBase.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/PressableModuleBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"PressableModuleBase.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/PressableModuleBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAe,MAAM,OAAO,CAAC;AACvD,OAAO,EAAyB,SAAS,EAAE,MAAM,cAAc,CAAC;AAUhE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C;IACE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,GAAG,IAAI,CACN,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EACtC,SAAS,GAAG,oBAAoB,GAAG,mBAAmB,CACvD,CACF,CAAC;AAEF,eAAO,MAAM,mBAAmB,2FAO7B,kBAAkB,wBAAwB,CAAC,sBA8C7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberButton.d.ts","sourceRoot":"","sources":["../../../../src/components/numberpad/NumberButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberButton.d.ts","sourceRoot":"","sources":["../../../../src/components/numberpad/NumberButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAejD,KAAK,uBAAuB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEhD,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAC;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAqBF;;;;GAIG;AACH,eAAO,MAAM,YAAY,2DACQ,iBAAiB,uBAoDjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OTPInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/OTPInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAML,IAAI,EACL,MAAM,cAAc,CAAC;AAStB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"OTPInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/OTPInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAML,IAAI,EACL,MAAM,cAAc,CAAC;AAStB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,oEAwIpB,CAAC"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { IOColors } from "../../core";
|
|
3
2
|
import { SVGPictogramProps } from "./types";
|
|
4
3
|
export declare const IOPictograms: {
|
|
5
|
-
processing: ({ size, color, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
6
|
-
completed: ({ size, color, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
7
4
|
empty: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
8
5
|
feature: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
9
6
|
charity: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
10
7
|
attention: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
11
8
|
message: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
12
9
|
emptyArchive: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
13
|
-
|
|
10
|
+
umbrella: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
14
11
|
feedback: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
15
12
|
idea: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
16
13
|
cameraRequest: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
@@ -75,17 +72,16 @@ export type IOPictograms = keyof typeof IOPictograms;
|
|
|
75
72
|
export type IOPictogramSizeScale = 48 | 64 | 72 | 80 | 120 | 180;
|
|
76
73
|
type IOPictogramsProps = {
|
|
77
74
|
name: IOPictograms;
|
|
78
|
-
color?: IOColors;
|
|
79
75
|
pictogramStyle?: "default" | "light-content" | "dark-content";
|
|
80
76
|
size?: IOPictogramSizeScale | "100%";
|
|
81
77
|
allowFontScaling?: boolean;
|
|
82
78
|
};
|
|
83
|
-
export declare const Pictogram: ({ name,
|
|
79
|
+
export declare const Pictogram: ({ name, pictogramStyle, size, allowFontScaling, ...props }: IOPictogramsProps) => React.JSX.Element;
|
|
84
80
|
export type IOPictogramsBleed = Extract<"empty" | "charity" | "attention" | "message" | "help" | "feedback" | "idea" | "itWallet" | "security" | "feature" | "cie" | "identity" | "identityAdd" | "identityCheck" | "identityRefresh" | "cameraRequest" | "cameraDenied" | "cardAdd" | "cardFavourite" | "cardQuestion" | "cardIssue" | "accessDenied" | "settings" | "stopSecurity" | "time" | "pending" | "ended" | "timing" | "searchLens" | "passcode" | "success" | "fatalError" | "notification" | "star" | "doc" | "notification" | "star" | "qrCode" | "lostConnection" | "payments" | "activate" | "reactivate" | "workInProgress", IOPictograms>;
|
|
85
81
|
export declare const IOPictogramsBleed: {
|
|
86
82
|
[key in IOPictogramsBleed]: ({ size }: SVGPictogramProps) => JSX.Element;
|
|
87
83
|
};
|
|
88
|
-
export declare const PictogramBleed: ({ name,
|
|
84
|
+
export declare const PictogramBleed: ({ name, size, pictogramStyle, allowFontScaling, ...props }: IOPictogramsProps) => React.JSX.Element;
|
|
89
85
|
export declare const IOPictogramsObject: {
|
|
90
86
|
readonly ibanCard: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
91
87
|
readonly followMessage: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
@@ -96,10 +92,5 @@ export declare const IOPictogramsObject: {
|
|
|
96
92
|
readonly flyingMessage: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
97
93
|
};
|
|
98
94
|
export type IOPictogramsObject = keyof typeof IOPictogramsObject;
|
|
99
|
-
export declare const IOPictogramsLegacy: {
|
|
100
|
-
readonly processing: ({ size, color, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
101
|
-
readonly completed: ({ size, color, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
102
|
-
};
|
|
103
|
-
export type IOPictogramsLegacy = keyof typeof IOPictogramsLegacy;
|
|
104
95
|
export {};
|
|
105
96
|
//# sourceMappingURL=Pictogram.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pictogram.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/Pictogram.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Pictogram.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/Pictogram.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAkHvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,C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A2CzE,CAAC;AAEF,eAAO,MAAM,cAAc,+DAMxB,iBAAiB,sBAuCnB,CAAC;AAOF,eAAO,MAAM,kBAAkB;;;;;;;;CAQrB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PictogramUmbrella.d.ts","sourceRoot":"","sources":["../../../../../src/components/pictograms/svg/PictogramUmbrella.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,QAAA,MAAM,iBAAiB,oCAIpB,iBAAiB,sBA2CnB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CACzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../src/components/searchInput/SearchInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAGL,qBAAqB,EAOrB,cAAc,EAEf,MAAM,cAAc,CAAC;AAUtB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AAO,MAAM,WAAW,yFAgOvB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
2
|
import { IOColors } from "../../core";
|
|
3
3
|
import { RNTextInputProps } from "../../utils/textInput";
|
|
4
4
|
import { InputType, WithTestID } from "../../utils/types";
|
|
@@ -14,7 +14,7 @@ type InputTextProps = WithTestID<{
|
|
|
14
14
|
inputType?: InputType;
|
|
15
15
|
status?: InputStatus;
|
|
16
16
|
icon?: IOIcons;
|
|
17
|
-
rightElement?:
|
|
17
|
+
rightElement?: ReactNode;
|
|
18
18
|
counterLimit?: number;
|
|
19
19
|
bottomMessage?: string;
|
|
20
20
|
bottomMessageColor?: IOColors;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputBase.d.ts","sourceRoot":"","sources":["../../../../src/components/textInput/TextInputBase.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"TextInputBase.d.ts","sourceRoot":"","sources":["../../../../src/components/textInput/TextInputBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,SAAS,EAMV,MAAM,OAAO,CAAC;AAoBf,OAAO,EACL,QAAQ,EAKT,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,gBAAgB,EAAuB,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAmB,OAAO,EAAQ,MAAM,UAAU,CAAC;AAI1D,KAAK,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;AAEhE,KAAK,cAAc,GAAG,UAAU,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,QAAQ,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AA4HH,eAAO,MAAM,aAAa,kPAoBvB,cAAc,sBA6ShB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputValidation.d.ts","sourceRoot":"","sources":["../../../../src/components/textInput/TextInputValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextInputValidation.d.ts","sourceRoot":"","sources":["../../../../src/components/textInput/TextInputValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,qBAAqB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/E,KAAK,wBAAwB,GAAG,IAAI,CAClC,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,EAC1C,cAAc,GAAG,QAAQ,GAAG,oBAAoB,GAAG,YAAY,CAChE,GAAG;IACF;;;;OAIG;IACH,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,GAAG,qBAAqB,CAAC;IAC/D;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAcF,eAAO,MAAM,mBAAmB,kFAQ7B,wBAAwB,sBA6F1B,CAAC;AAEF,eAAe,mBAAmB,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-450" | "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" |
|
|
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-450" | "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" | 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-450" | "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" |
|
|
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-450" | "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" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=ButtonText.d.ts.map
|