@pagopa/io-app-design-system 5.0.0-1 → 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 +3 -8
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/badge/Badge.js +26 -71
- package/lib/commonjs/components/badge/Badge.js.map +1 -1
- package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +4 -4
- package/lib/commonjs/components/banner/Banner.js +6 -11
- package/lib/commonjs/components/banner/Banner.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -8
- package/lib/commonjs/components/banner/__test__/banner.test.js +0 -2
- package/lib/commonjs/components/banner/__test__/banner.test.js.map +1 -1
- 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 +7 -3
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/README.md +1 -1
- package/lib/commonjs/components/{pictograms/svg/PictogramCompleted.js → icons/svg/IconTheme.js} +8 -13
- package/lib/commonjs/components/icons/svg/IconTheme.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconTypeface.js +29 -0
- package/lib/commonjs/components/icons/svg/IconTypeface.js.map +1 -0
- package/lib/commonjs/components/icons/svg/originals/IconTheme.svg +1 -0
- package/lib/commonjs/components/icons/svg/originals/IconTypeface.svg +1 -0
- 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/ModulePaymentNotice.js +1 -1
- package/lib/commonjs/components/modules/ModulePaymentNotice.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/IOSpacing.js +2 -6
- package/lib/commonjs/core/IOSpacing.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 +3 -8
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/badge/Badge.js +28 -72
- package/lib/module/components/badge/Badge.js.map +1 -1
- package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +4 -4
- package/lib/module/components/banner/Banner.js +7 -12
- package/lib/module/components/banner/Banner.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -8
- package/lib/module/components/banner/__test__/banner.test.js +0 -2
- package/lib/module/components/banner/__test__/banner.test.js.map +1 -1
- 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 +7 -3
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/README.md +1 -1
- package/lib/module/components/icons/svg/IconTheme.js +20 -0
- package/lib/module/components/icons/svg/IconTheme.js.map +1 -0
- package/lib/module/components/icons/svg/IconTypeface.js +21 -0
- package/lib/module/components/icons/svg/IconTypeface.js.map +1 -0
- package/lib/module/components/icons/svg/originals/IconTheme.svg +1 -0
- package/lib/module/components/icons/svg/originals/IconTypeface.svg +1 -0
- 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/ModulePaymentNotice.js +1 -1
- package/lib/module/components/modules/ModulePaymentNotice.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/IOSpacing.js +0 -2
- package/lib/module/core/IOSpacing.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 +0 -1
- package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/components/badge/Badge.d.ts +1 -1
- package/lib/typescript/components/badge/Badge.d.ts.map +1 -1
- package/lib/typescript/components/banner/Banner.d.ts +1 -2
- package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts +1 -1
- package/lib/typescript/components/icons/Icon.d.ts +2 -0
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconTheme.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconTheme.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconTypeface.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconTypeface.d.ts.map +1 -0
- 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/IOSpacing.d.ts +0 -2
- package/lib/typescript/core/IOSpacing.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 +7 -10
- package/src/components/badge/Badge.tsx +27 -83
- package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +4 -4
- package/src/components/banner/Banner.tsx +6 -17
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -8
- package/src/components/banner/__test__/banner.test.tsx +0 -2
- 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 +7 -3
- package/src/components/icons/README.md +1 -1
- package/src/components/icons/svg/IconTheme.tsx +16 -0
- package/src/components/icons/svg/IconTypeface.tsx +18 -0
- package/src/components/icons/svg/originals/IconTheme.svg +1 -0
- package/src/components/icons/svg/originals/IconTypeface.svg +1 -0
- 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/ModulePaymentNotice.tsx +1 -1
- 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/IOSpacing.ts +0 -2
- 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.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":["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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AAMC,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"}
|
|
@@ -15,8 +15,6 @@ export const IOAlertSpacing = [16, 24];
|
|
|
15
15
|
// Values used in the `<Banner>` component
|
|
16
16
|
|
|
17
17
|
export const IOBannerBigSpacing = 16;
|
|
18
|
-
export const IOBannerSmallHSpacing = 16;
|
|
19
|
-
export const IOBannerSmallVSpacing = 12;
|
|
20
18
|
|
|
21
19
|
// Values used in the `<Tag>` component
|
|
22
20
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IOSpacingScale","IOSpacer","IOAppMargin","IOAlertSpacing","IOBannerBigSpacing","
|
|
1
|
+
{"version":3,"names":["IOSpacingScale","IOSpacer","IOAppMargin","IOAlertSpacing","IOBannerBigSpacing","IOTagHSpacing","IOTagVSpacing","IOBadgeHSpacing","IOBadgeVSpacing","IOModuleIDPHSpacing","IOModuleIDPVSpacing","IOModuleIDPSavedVSpacing","IOListItemLogoMargin","spacingConstantKeys","IOSpacing","screenEndMargin"],"sourceRoot":"../../../src","sources":["core/IOSpacing.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMA,cAAc,GAAG,CAC5B,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CACnD;AAGV;AACA,OAAO,MAAMC,QAAQ,GAAG,CACtB,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CACoB;AAGlD;AACA,OAAO,MAAMC,WAAW,GAAG,CACzB,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAC+B;AAGlD;AACA,OAAO,MAAMC,cAAc,GAAG,CAC5B,EAAE,EAAE,EAAE,CAC0C;;AAGlD;;AAEA,OAAO,MAAMC,kBAAmC,GAAG,EAAE;;AAErD;;AAEA,OAAO,MAAMC,aAA2B,GAAG,CAAC;AAC5C,OAAO,MAAMC,aAA2B,GAAG,CAAC;;AAE5C;;AAEA,OAAO,MAAMC,eAA+B,GAAG,CAAC;AAChD,OAAO,MAAMC,eAA+B,GAAG,CAAC;;AAEhD;;AAEA,OAAO,MAAMC,mBAAuC,GAAG,EAAE;AACzD,OAAO,MAAMC,mBAAuC,GAAG,EAAE;AACzD,OAAO,MAAMC,wBAA4C,GAAG,EAAE;AAC9D,OAAO,MAAMC,oBAAwC,GAAG,CAAC;;AAEzD;AACA;AACA;;AAEA,MAAMC,mBAAmB,GAAG,CAAC,iBAAiB,CAAU;AAMxD,OAAO,MAAMC,SAAS,GAAG;EACvBC,eAAe,EAAE;AACnB,CAAuC"}
|
|
@@ -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":"../../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N,QAAQ,CAACa,YAAY,IAAI,OAAO,CAAC;MACxCN,QAAQ,EAAEQ;IACZ;EAAE,GAEDH,QACsB,CAAC;AAE9B,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { GestureResponderEvent, View } from "react-native";
|
|
|
3
3
|
import { WithTestID } from "../../utils/types";
|
|
4
4
|
type AlertProps = WithTestID<{
|
|
5
5
|
variant: "error" | "warning" | "info" | "success";
|
|
6
|
-
title?: string;
|
|
7
6
|
content: string;
|
|
8
7
|
fullWidth?: boolean;
|
|
9
8
|
accessibilityLabel?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"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,
|
|
1
|
+
{"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"}
|
|
@@ -4,7 +4,7 @@ export type Badge = WithTestID<{
|
|
|
4
4
|
outline?: boolean;
|
|
5
5
|
text: string;
|
|
6
6
|
allowFontScaling?: boolean;
|
|
7
|
-
variant: "default" | "
|
|
7
|
+
variant: "default" | "warning" | "error" | "success" | "cgn" | "highlight";
|
|
8
8
|
}>;
|
|
9
9
|
/**
|
|
10
10
|
* Official badge component
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAe/C,MAAM,MAAM,KAAK,GAAG,UAAU,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,KAAK,GAAG,WAAW,CAAC;CAC5E,CAAC,CAAC;AA+BH;;GAEG;AACH,eAAO,MAAM,KAAK,yDAMf,KAAK,sBAqKP,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { AccessibilityRole, GestureResponderEvent, View } from "react-native";
|
|
|
3
3
|
import { WithTestID } from "../../utils/types";
|
|
4
4
|
import { IOPictogramsBleed } from "../pictograms";
|
|
5
5
|
type BaseBannerProps = WithTestID<{
|
|
6
|
-
size: "big" | "small";
|
|
7
6
|
color: "neutral" | "turquoise";
|
|
8
7
|
pictogramName: IOPictogramsBleed;
|
|
9
8
|
viewRef?: React.RefObject<View>;
|
|
@@ -41,6 +40,6 @@ type BannerCloseProps = {
|
|
|
41
40
|
};
|
|
42
41
|
export type Banner = BaseBannerProps & RequiredBannerProps & BannerActionProps & BannerCloseProps;
|
|
43
42
|
export declare const bannerBackgroundColours: Array<BaseBannerProps["color"]>;
|
|
44
|
-
export declare const Banner: ({ viewRef,
|
|
43
|
+
export declare const Banner: ({ viewRef, color, pictogramName, title, content, action, labelClose, onPress, onClose, accessibilityHint, accessibilityLabel, testID }: Banner) => React.JSX.Element;
|
|
45
44
|
export {};
|
|
46
45
|
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAGrB,IAAI,EAEL,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAGrB,IAAI,EAEL,MAAM,cAAc,CAAC;AAYtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,iBAAiB,EAGlB,MAAM,eAAe,CAAC;AAgCvB,KAAK,eAAe,GAAG,UAAU,CAAC;IAChC,KAAK,EAAE,SAAS,GAAG,WAAW,CAAC;IAC/B,aAAa,EAAE,iBAAiB,CAAC;IACjC,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAEhC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;C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: ColorButtonLink | undefined;
|
|
20
20
|
label: string;
|
|
21
21
|
disabled?: boolean | undefined;
|
|
22
|
-
icon?: "code" | "option" | "change" | "search" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "backiOS" | "backAndroid" | "checkTick" | "checkTickBig" | "read" | "light" | "lightFilled" | "navMessages" | "navMessagesFocused" | "navWallet" | "navWalletFocused" | "navQrWallet" | "navScan" | "navServices" | "navServicesFocused" | "navProfile" | "navProfileFocused" | "navPsp" | "legRadioOn" | "legRadioOff" | "legCheckOn" | "legCheckOff" | "biomFingerprint" | "biomFaceID" | "categCulture" | "categWellness" | "categLearning" | "categSport" | "categHome" | "categTelco" | "categFinance" | "categTravel" | "categMobility" | "categJobOffers" | "categShopping" | "categSustainability" | "productIOApp" | "productPagoPA" | "productIOAppBlueBg" | "systemSettingsAndroid" | "systemSettingsiOS" | "systemToggleInstructions" | "systemAppsAndroid" | "systemNotificationsInstructions" | "systemPermissionsAndroid" | "systemLocationiOS" | "systemPhotosiOS" | "systemPrivacyiOS" | "systemBiometricRecognitionOS" | "systemNFC" | "systemPasswordAndroid" | "systemPasswordiOS" | undefined;
|
|
22
|
+
icon?: "code" | "option" | "change" | "search" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "backiOS" | "backAndroid" | "checkTick" | "checkTickBig" | "read" | "light" | "lightFilled" | "theme" | "typeface" | "navMessages" | "navMessagesFocused" | "navWallet" | "navWalletFocused" | "navQrWallet" | "navScan" | "navServices" | "navServicesFocused" | "navProfile" | "navProfileFocused" | "navPsp" | "legRadioOn" | "legRadioOff" | "legCheckOn" | "legCheckOff" | "biomFingerprint" | "biomFaceID" | "categCulture" | "categWellness" | "categLearning" | "categSport" | "categHome" | "categTelco" | "categFinance" | "categTravel" | "categMobility" | "categJobOffers" | "categShopping" | "categSustainability" | "productIOApp" | "productPagoPA" | "productIOAppBlueBg" | "systemSettingsAndroid" | "systemSettingsiOS" | "systemToggleInstructions" | "systemAppsAndroid" | "systemNotificationsInstructions" | "systemPermissionsAndroid" | "systemLocationiOS" | "systemPhotosiOS" | "systemPrivacyiOS" | "systemBiometricRecognitionOS" | "systemNFC" | "systemPasswordAndroid" | "systemPasswordiOS" | undefined;
|
|
23
23
|
iconPosition?: "end" | "start" | undefined;
|
|
24
24
|
accessibilityLabel?: string | undefined;
|
|
25
25
|
accessibilityHint?: string | undefined;
|
|
@@ -15,7 +15,7 @@ export declare const ButtonOutline: React.ForwardRefExoticComponent<{
|
|
|
15
15
|
color?: ColorButtonOutline | undefined;
|
|
16
16
|
label: string;
|
|
17
17
|
fullWidth?: boolean | undefined;
|
|
18
|
-
icon?: "code" | "option" | "change" | "search" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "backiOS" | "backAndroid" | "checkTick" | "checkTickBig" | "read" | "light" | "lightFilled" | "navMessages" | "navMessagesFocused" | "navWallet" | "navWalletFocused" | "navQrWallet" | "navScan" | "navServices" | "navServicesFocused" | "navProfile" | "navProfileFocused" | "navPsp" | "legRadioOn" | "legRadioOff" | "legCheckOn" | "legCheckOff" | "biomFingerprint" | "biomFaceID" | "categCulture" | "categWellness" | "categLearning" | "categSport" | "categHome" | "categTelco" | "categFinance" | "categTravel" | "categMobility" | "categJobOffers" | "categShopping" | "categSustainability" | "productIOApp" | "productPagoPA" | "productIOAppBlueBg" | "systemSettingsAndroid" | "systemSettingsiOS" | "systemToggleInstructions" | "systemAppsAndroid" | "systemNotificationsInstructions" | "systemPermissionsAndroid" | "systemLocationiOS" | "systemPhotosiOS" | "systemPrivacyiOS" | "systemBiometricRecognitionOS" | "systemNFC" | "systemPasswordAndroid" | "systemPasswordiOS" | undefined;
|
|
18
|
+
icon?: "code" | "option" | "change" | "search" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "backiOS" | "backAndroid" | "checkTick" | "checkTickBig" | "read" | "light" | "lightFilled" | "theme" | "typeface" | "navMessages" | "navMessagesFocused" | "navWallet" | "navWalletFocused" | "navQrWallet" | "navScan" | "navServices" | "navServicesFocused" | "navProfile" | "navProfileFocused" | "navPsp" | "legRadioOn" | "legRadioOff" | "legCheckOn" | "legCheckOff" | "biomFingerprint" | "biomFaceID" | "categCulture" | "categWellness" | "categLearning" | "categSport" | "categHome" | "categTelco" | "categFinance" | "categTravel" | "categMobility" | "categJobOffers" | "categShopping" | "categSustainability" | "productIOApp" | "productPagoPA" | "productIOAppBlueBg" | "systemSettingsAndroid" | "systemSettingsiOS" | "systemToggleInstructions" | "systemAppsAndroid" | "systemNotificationsInstructions" | "systemPermissionsAndroid" | "systemLocationiOS" | "systemPhotosiOS" | "systemPrivacyiOS" | "systemBiometricRecognitionOS" | "systemNFC" | "systemPasswordAndroid" | "systemPasswordiOS" | undefined;
|
|
19
19
|
iconPosition?: "end" | "start" | undefined;
|
|
20
20
|
onPress: (event: GestureResponderEvent) => void;
|
|
21
21
|
} & Pick<import("react-native").PressableProps & React.RefAttributes<View>, "accessibilityLabel" | "disabled" | "accessibilityHint"> & import("../../utils/types").TestID & React.RefAttributes<View>>;
|
|
@@ -38,7 +38,7 @@ export declare const ButtonSolid: React.ForwardRefExoticComponent<{
|
|
|
38
38
|
* @default false
|
|
39
39
|
*/
|
|
40
40
|
loading?: boolean | undefined;
|
|
41
|
-
icon?: "code" | "option" | "change" | "search" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "backiOS" | "backAndroid" | "checkTick" | "checkTickBig" | "read" | "light" | "lightFilled" | "navMessages" | "navMessagesFocused" | "navWallet" | "navWalletFocused" | "navQrWallet" | "navScan" | "navServices" | "navServicesFocused" | "navProfile" | "navProfileFocused" | "navPsp" | "legRadioOn" | "legRadioOff" | "legCheckOn" | "legCheckOff" | "biomFingerprint" | "biomFaceID" | "categCulture" | "categWellness" | "categLearning" | "categSport" | "categHome" | "categTelco" | "categFinance" | "categTravel" | "categMobility" | "categJobOffers" | "categShopping" | "categSustainability" | "productIOApp" | "productPagoPA" | "productIOAppBlueBg" | "systemSettingsAndroid" | "systemSettingsiOS" | "systemToggleInstructions" | "systemAppsAndroid" | "systemNotificationsInstructions" | "systemPermissionsAndroid" | "systemLocationiOS" | "systemPhotosiOS" | "systemPrivacyiOS" | "systemBiometricRecognitionOS" | "systemNFC" | "systemPasswordAndroid" | "systemPasswordiOS" | undefined;
|
|
41
|
+
icon?: "code" | "option" | "change" | "search" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "backiOS" | "backAndroid" | "checkTick" | "checkTickBig" | "read" | "light" | "lightFilled" | "theme" | "typeface" | "navMessages" | "navMessagesFocused" | "navWallet" | "navWalletFocused" | "navQrWallet" | "navScan" | "navServices" | "navServicesFocused" | "navProfile" | "navProfileFocused" | "navPsp" | "legRadioOn" | "legRadioOff" | "legCheckOn" | "legCheckOff" | "biomFingerprint" | "biomFaceID" | "categCulture" | "categWellness" | "categLearning" | "categSport" | "categHome" | "categTelco" | "categFinance" | "categTravel" | "categMobility" | "categJobOffers" | "categShopping" | "categSustainability" | "productIOApp" | "productPagoPA" | "productIOAppBlueBg" | "systemSettingsAndroid" | "systemSettingsiOS" | "systemToggleInstructions" | "systemAppsAndroid" | "systemNotificationsInstructions" | "systemPermissionsAndroid" | "systemLocationiOS" | "systemPhotosiOS" | "systemPrivacyiOS" | "systemBiometricRecognitionOS" | "systemNFC" | "systemPasswordAndroid" | "systemPasswordiOS" | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* @default start
|
|
44
44
|
*/
|
|
@@ -156,6 +156,8 @@ export declare const IOIcons: {
|
|
|
156
156
|
readonly light: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
157
157
|
readonly lightFilled: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
158
158
|
readonly code: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
159
|
+
readonly theme: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
160
|
+
readonly typeface: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
159
161
|
readonly navMessages: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
160
162
|
readonly navMessagesFocused: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
161
163
|
readonly navWallet: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,K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YAAY,kEAOtB,oBAAoB,sBAoBtB,CAAC;AAKF,qBAAa,kBAAmB,SAAQ,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC;gBAC/D,KAAK,EAAE,oBAAoB;IAGvC,MAAM;CAGP;AASD,eAAO,MAAM,UAAU;;;;;CAKtB,CAAC;AAiBF,eAAO,MAAM,UAAU;;;;;;;;;;;;CAYb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,UAAU,CAAC;AAKjD,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAkB7D,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAalB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,eAAe,CAAC;AAK3D,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,cAAc,CAAC;AAmBzD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;CAchB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconTheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,SAAS,8BAA+B,YAAY,sBASzD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconTypeface.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconTypeface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,YAAY,8BAA+B,YAAY,sBAW5D,CAAC;AAEF,eAAe,YAAY,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":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,QAAQ,EAAE,EACf,WAAW,EAKZ,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAI/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,iBAAiB,CAAC;IAC/B,YAAY,EAAE,iBAAiB,CAAC;IAChC,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,WAAW,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC/C,mBAAmB,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1D,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC,CAAC;AAqBH,eAAO,MAAM,gBAAgB,sHAS1B,gBAAgB,sBA4ElB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemHeader.d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B,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
|
+
{"version":3,"file":"ListItemInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAwB,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAY,SAAS,EAAQ,MAAM,cAAc,CAAC;AAU5E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEpD,OAAO,EAAmB,OAAO,EAAQ,MAAM,UAAU,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,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,G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