@pagopa/io-app-design-system 5.7.1 → 5.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -7
- package/lib/commonjs/components/alert/Alert.js +3 -3
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/badge/Badge.js +0 -12
- package/lib/commonjs/components/badge/Badge.js.map +1 -1
- package/lib/commonjs/components/banner/Banner.js +2 -2
- package/lib/commonjs/components/banner/Banner.js.map +1 -1
- package/lib/commonjs/components/banner/BannerErrorState.js +4 -4
- package/lib/commonjs/components/banner/BannerErrorState.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxLabel.js +2 -2
- package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js +2 -2
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js.map +1 -1
- package/lib/commonjs/components/codeInput/CodeInput.js +2 -2
- package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
- package/lib/commonjs/components/headers/HeaderFirstLevel.js +2 -2
- package/lib/commonjs/components/headers/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/headers/HeaderSecondLevel.js +4 -5
- package/lib/commonjs/components/headers/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/index.js +0 -44
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layout/ContentWrapper.js.map +1 -0
- package/lib/commonjs/components/layout/Divider.js.map +1 -0
- package/lib/commonjs/components/layout/FooterActions.js +4 -4
- package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
- package/lib/commonjs/components/layout/GradientBottomActions.js +2 -2
- package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/commonjs/components/layout/README.md +34 -5
- package/lib/commonjs/components/{spacer → layout}/Spacer.js.map +1 -1
- package/lib/commonjs/components/layout/Stack.js.map +1 -0
- package/lib/commonjs/components/layout/index.js +44 -0
- package/lib/commonjs/components/layout/index.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemCheckbox.js +4 -4
- package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemHeader.js +3 -3
- package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +8 -8
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js +6 -7
- package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +3 -3
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js +5 -5
- package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +5 -5
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleAttachment.js +4 -4
- package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCheckout.js +6 -6
- package/lib/commonjs/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCredential.js +1 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js +6 -6
- package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/commonjs/components/modules/ModulePaymentNotice.js +3 -3
- package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleStatic.js +2 -2
- package/lib/commonjs/components/modules/ModuleStatic.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberPad.js +3 -4
- package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
- package/lib/commonjs/components/otpInput/OTPInput.js +2 -2
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
- package/lib/commonjs/components/radio/RadioGroup.js +3 -3
- package/lib/commonjs/components/radio/RadioGroup.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +3 -3
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/toast/ToastNotification.js +2 -2
- package/lib/commonjs/components/toast/ToastNotification.js.map +1 -1
- package/lib/module/components/alert/Alert.js +1 -1
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/badge/Badge.js +0 -12
- package/lib/module/components/badge/Badge.js.map +1 -1
- package/lib/module/components/banner/Banner.js +1 -1
- package/lib/module/components/banner/Banner.js.map +1 -1
- package/lib/module/components/banner/BannerErrorState.js +3 -3
- package/lib/module/components/banner/BannerErrorState.js.map +1 -1
- package/lib/module/components/checkbox/CheckboxLabel.js +1 -1
- package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/module/components/claimsSelector/ClaimsSelector.js +1 -1
- package/lib/module/components/claimsSelector/ClaimsSelector.js.map +1 -1
- package/lib/module/components/codeInput/CodeInput.js +1 -1
- package/lib/module/components/codeInput/CodeInput.js.map +1 -1
- package/lib/module/components/headers/HeaderFirstLevel.js +1 -1
- package/lib/module/components/headers/HeaderFirstLevel.js.map +1 -1
- package/lib/module/components/headers/HeaderSecondLevel.js +1 -2
- package/lib/module/components/headers/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/index.js +0 -4
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/ContentWrapper.js.map +1 -0
- package/lib/module/components/layout/Divider.js.map +1 -0
- package/lib/module/components/layout/FooterActions.js +1 -1
- package/lib/module/components/layout/FooterActions.js.map +1 -1
- package/lib/module/components/layout/GradientBottomActions.js +1 -1
- package/lib/module/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/module/components/layout/README.md +34 -5
- package/lib/module/components/{spacer → layout}/Spacer.js.map +1 -1
- package/lib/module/components/layout/Stack.js.map +1 -0
- package/lib/module/components/layout/index.js +4 -0
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/components/listitems/ListItemCheckbox.js +2 -2
- package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/module/components/listitems/ListItemHeader.js +2 -2
- package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +2 -2
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadio.js +2 -3
- package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemSwitch.js +2 -2
- package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +2 -2
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/modules/ModuleAttachment.js +1 -1
- package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/module/components/modules/ModuleCheckout.js +2 -2
- package/lib/module/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/module/components/modules/ModuleCredential.js +1 -1
- package/lib/module/components/modules/ModuleCredential.js.map +1 -1
- package/lib/module/components/modules/ModuleNavigation.js +2 -2
- package/lib/module/components/modules/ModuleNavigation.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/ModuleStatic.js +1 -1
- package/lib/module/components/modules/ModuleStatic.js.map +1 -1
- package/lib/module/components/numberpad/NumberPad.js +1 -2
- package/lib/module/components/numberpad/NumberPad.js.map +1 -1
- package/lib/module/components/otpInput/OTPInput.js +1 -1
- package/lib/module/components/radio/RadioGroup.js +1 -1
- package/lib/module/components/radio/RadioGroup.js.map +1 -1
- package/lib/module/components/textInput/TextInputBase.js +1 -1
- package/lib/module/components/toast/ToastNotification.js +1 -1
- package/lib/typescript/components/badge/Badge.d.ts.map +1 -1
- package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
- package/lib/typescript/components/banner/BannerErrorState.d.ts.map +1 -1
- package/lib/typescript/components/headers/HeaderSecondLevel.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +0 -4
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/layout/ContentWrapper.d.ts.map +1 -0
- package/lib/typescript/components/layout/Divider.d.ts.map +1 -0
- package/lib/typescript/components/{spacer → layout}/Spacer.d.ts.map +1 -1
- package/lib/typescript/components/layout/Stack.d.ts.map +1 -0
- package/lib/typescript/components/layout/index.d.ts +4 -0
- package/lib/typescript/components/layout/index.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadio.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleCheckout.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberPad.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/alert/Alert.tsx +2 -2
- package/src/components/badge/Badge.tsx +0 -12
- package/src/components/banner/Banner.tsx +1 -1
- package/src/components/banner/BannerErrorState.tsx +3 -3
- package/src/components/checkbox/CheckboxLabel.tsx +1 -1
- package/src/components/claimsSelector/ClaimsSelector.tsx +1 -1
- package/src/components/codeInput/CodeInput.tsx +1 -1
- package/src/components/headers/HeaderFirstLevel.tsx +1 -1
- package/src/components/headers/HeaderSecondLevel.tsx +1 -2
- package/src/components/index.tsx +0 -4
- package/src/components/layout/FooterActions.tsx +1 -1
- package/src/components/layout/GradientBottomActions.tsx +1 -1
- package/src/components/layout/README.md +34 -5
- package/src/components/layout/index.tsx +4 -0
- package/src/components/listitems/ListItemCheckbox.tsx +2 -2
- package/src/components/listitems/ListItemHeader.tsx +2 -2
- package/src/components/listitems/ListItemNav.tsx +2 -2
- package/src/components/listitems/ListItemRadio.tsx +2 -3
- package/src/components/listitems/ListItemRadioWithAmount.tsx +1 -1
- package/src/components/listitems/ListItemSwitch.tsx +2 -2
- package/src/components/listitems/ListItemTransaction.tsx +2 -2
- package/src/components/modules/ModuleAttachment.tsx +1 -1
- package/src/components/modules/ModuleCheckout.tsx +2 -2
- package/src/components/modules/ModuleCredential.tsx +1 -1
- package/src/components/modules/ModuleNavigation.tsx +2 -2
- package/src/components/modules/ModulePaymentNotice.tsx +1 -1
- package/src/components/modules/ModuleStatic.tsx +1 -1
- package/src/components/numberpad/NumberPad.tsx +1 -2
- package/src/components/otpInput/OTPInput.tsx +1 -1
- package/src/components/radio/RadioGroup.tsx +1 -1
- package/src/components/textInput/TextInputBase.tsx +1 -1
- package/src/components/toast/ToastNotification.tsx +1 -1
- package/lib/commonjs/components/contentWrapper/ContentWrapper.js.map +0 -1
- package/lib/commonjs/components/contentWrapper/index.js +0 -17
- package/lib/commonjs/components/contentWrapper/index.js.map +0 -1
- package/lib/commonjs/components/divider/Divider.js.map +0 -1
- package/lib/commonjs/components/divider/index.js +0 -17
- package/lib/commonjs/components/divider/index.js.map +0 -1
- package/lib/commonjs/components/spacer/index.js +0 -17
- package/lib/commonjs/components/spacer/index.js.map +0 -1
- package/lib/commonjs/components/stack/Stack.js.map +0 -1
- package/lib/commonjs/components/stack/index.js +0 -17
- package/lib/commonjs/components/stack/index.js.map +0 -1
- package/lib/module/components/contentWrapper/ContentWrapper.js.map +0 -1
- package/lib/module/components/contentWrapper/index.js +0 -4
- package/lib/module/components/contentWrapper/index.js.map +0 -1
- package/lib/module/components/divider/Divider.js.map +0 -1
- package/lib/module/components/divider/index.js +0 -4
- package/lib/module/components/divider/index.js.map +0 -1
- package/lib/module/components/spacer/index.js +0 -4
- package/lib/module/components/spacer/index.js.map +0 -1
- package/lib/module/components/stack/Stack.js.map +0 -1
- package/lib/module/components/stack/index.js +0 -4
- package/lib/module/components/stack/index.js.map +0 -1
- package/lib/typescript/components/contentWrapper/ContentWrapper.d.ts.map +0 -1
- package/lib/typescript/components/contentWrapper/index.d.ts +0 -2
- package/lib/typescript/components/contentWrapper/index.d.ts.map +0 -1
- package/lib/typescript/components/divider/Divider.d.ts.map +0 -1
- package/lib/typescript/components/divider/index.d.ts +0 -2
- package/lib/typescript/components/divider/index.d.ts.map +0 -1
- package/lib/typescript/components/spacer/index.d.ts +0 -2
- package/lib/typescript/components/spacer/index.d.ts.map +0 -1
- package/lib/typescript/components/stack/Stack.d.ts.map +0 -1
- package/lib/typescript/components/stack/index.d.ts +0 -2
- package/lib/typescript/components/stack/index.d.ts.map +0 -1
- package/src/components/contentWrapper/index.tsx +0 -1
- package/src/components/divider/index.tsx +0 -1
- package/src/components/spacer/index.tsx +0 -1
- package/src/components/stack/index.tsx +0 -1
- /package/lib/commonjs/components/{contentWrapper → layout}/ContentWrapper.js +0 -0
- /package/lib/commonjs/components/{divider → layout}/Divider.js +0 -0
- /package/lib/commonjs/components/{spacer → layout}/Spacer.js +0 -0
- /package/lib/commonjs/components/{stack → layout}/Stack.js +0 -0
- /package/lib/module/components/{contentWrapper → layout}/ContentWrapper.js +0 -0
- /package/lib/module/components/{divider → layout}/Divider.js +0 -0
- /package/lib/module/components/{spacer → layout}/Spacer.js +0 -0
- /package/lib/module/components/{stack → layout}/Stack.js +0 -0
- /package/lib/typescript/components/{contentWrapper → layout}/ContentWrapper.d.ts +0 -0
- /package/lib/typescript/components/{divider → layout}/Divider.d.ts +0 -0
- /package/lib/typescript/components/{spacer → layout}/Spacer.d.ts +0 -0
- /package/lib/typescript/components/{stack → layout}/Stack.d.ts +0 -0
- /package/src/components/{contentWrapper → layout}/ContentWrapper.tsx +0 -0
- /package/src/components/{divider → layout}/Divider.tsx +0 -0
- /package/src/components/{spacer → layout}/Spacer.tsx +0 -0
- /package/src/components/{stack → layout}/Stack.tsx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Divider","ListItemRadio","ListItemRadioWithAmount","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","RadioListItem","props","children","items","map","item","index","testID","id","value","description","accessibilityLabel","startImage","disabled","loadingProps","onValueChange","onPress","selected","selectedItem","length","RadioListItemWithAmount","isSuggested","label","formattedAmountString","suggestReason","RadioGroup","type"],"sourceRoot":"../../../../src","sources":["components/radio/RadioGroup.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAA0B,OAAO;AAC7C,SAASC,OAAO,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","Divider","ListItemRadio","ListItemRadioWithAmount","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","RadioListItem","props","children","items","map","item","index","testID","id","value","description","accessibilityLabel","startImage","disabled","loadingProps","onValueChange","onPress","selected","selectedItem","length","RadioListItemWithAmount","isSuggested","label","formattedAmountString","suggestReason","RadioGroup","type"],"sourceRoot":"../../../../src","sources":["components/radio/RadioGroup.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAA0B,OAAO;AAC7C,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,aAAa,EAAEC,uBAAuB,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AA0CtE;AACA;AACA;AACA;AACA;;AAEA,MAAMC,aAAa,GAAQC,KAA4B,iBACrDN,IAAA,CAAAI,SAAA;EAAAG,QAAA,EACGD,KAAK,CAACE,KAAK,CAACC,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,kBAC3BT,KAAA,CAACP,KAAK,CAACQ,QAAQ;IAAAI,QAAA,gBACbP,IAAA,CAACH,aAAa;MACZe,MAAM,EAAE,mBAAmBF,IAAI,CAACG,EAAE,EAAG;MACrCC,KAAK,EAAEJ,IAAI,CAACI,KAAM;MAClBC,WAAW,EAAEL,IAAI,CAACK,WAAY;MAC9BC,kBAAkB,EAAEN,IAAI,CAACM,kBAAmB;MAC5CC,UAAU,EAAEP,IAAI,CAAC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,KAAK,CAACiB,YAAY,KAAKb,IAAI,CAACG;IAAG,CAC1C,CACF,EAEAF,KAAK,GAAGL,KAAK,CAACE,KAAK,CAACgB,MAAM,GAAG,CAAC,iBAAIxB,IAAA,CAACJ,OAAO,IAAE,CAAC;EAAA,GAnB3B,cAAcc,IAAI,CAACG,EAAE,EAoB1B,CACjB;AAAC,CACF,CACH;AACD,OAAO,MAAMiB,UAAU,GAAQxB,KAAe,iBAC5CJ,KAAA,CAAAE,SAAA;EAAAG,QAAA,GACGD,KAAK,CAACyB,IAAI,KAAK,eAAe,IAAI1B,aAAa,CAACC,KAAK,CAAC,EACtDA,KAAK,CAACyB,IAAI,KAAK,yBAAyB,IAAIN,uBAAuB,CAACnB,KAAK,CAAC;AAAA,CAC3E,CACH","ignoreList":[]}
|
|
@@ -11,7 +11,7 @@ import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
|
11
11
|
import { IOMaxFontSizeMultiplier, makeFontStyleObject } from "../../utils/fonts";
|
|
12
12
|
import { getInputPropsByType } from "../../utils/textInput";
|
|
13
13
|
import { Icon } from "../icons";
|
|
14
|
-
import { HSpacer } from "../
|
|
14
|
+
import { HSpacer } from "../layout";
|
|
15
15
|
import { BodySmall } from "../typography";
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
17
17
|
const inputMarginTop = 16;
|
|
@@ -5,7 +5,7 @@ import { StyleSheet, View } from "react-native";
|
|
|
5
5
|
import { useIOThemeContext } from "../../context";
|
|
6
6
|
import { IOAlertRadius, IOColors, hexToRgba } from "../../core";
|
|
7
7
|
import { Icon } from "../icons";
|
|
8
|
-
import { HSpacer } from "../
|
|
8
|
+
import { HSpacer } from "../layout";
|
|
9
9
|
import { ButtonText } from "../typography";
|
|
10
10
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
11
|
const toastColorVariants = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/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;IAC3E,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC,CAAC;AA+BH;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,kEAOnB,KAAK,sBAqKP,CAAC"}
|
|
@@ -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;AAMtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,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;AAMtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAm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CAAC,EAAE,KAAK,CAAC;IAChB,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB,CAAC;AAEN,MAAM,MAAM,MAAM,GAAG,eAAe,GAClC,mBAAmB,GACnB,iBAAiB,GACjB,gBAAgB,CAAC;AAMnB,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,CAGnE,CAAC;AAkBF,eAAO,MAAM,MAAM,GAAI,2JAcpB,MAAM,sBAuHR,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerErrorState.d.ts","sourceRoot":"","sources":["../../../../src/components/banner/BannerErrorState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAGrB,IAAI,EAEL,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"BannerErrorState.d.ts","sourceRoot":"","sources":["../../../../src/components/banner/BannerErrorState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAGrB,IAAI,EAEL,MAAM,cAAc,CAAC;AAMtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAQ,OAAO,EAAE,MAAM,UAAU,CAAC;AAiBzC,KAAK,yBAAyB,GAAG,UAAU,CAAC;IAC1C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;IAE1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH,KAAK,2BAA2B,GAC5B;IACE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAChD,iBAAiB,CAAC,EAAE,KAAK,CAAC;CAC3B,GACD;IACE,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,CAAC;AAEN,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GAC3D,2BAA2B,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,8FAS9B,qBAAqB,sBAwFvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSecondLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/headers/HeaderSecondLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,QAAQ,EAAE,EACf,WAAW,EACX,WAAW,EAWZ,MAAM,yBAAyB,CAAC;AAcjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderSecondLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/headers/HeaderSecondLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,QAAQ,EAAE,EACf,WAAW,EACX,WAAW,EAWZ,MAAM,yBAAyB,CAAC;AAcjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAI/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,KAAK,YAAY,GAAG;IAClB,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,uBAAuB,GACxB;IACE,wBAAwB,EAAE,IAAI,CAAC;IAC/B,WAAW,EACP,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,GAChC,WAAW,C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AAC,EAAE,KAAK,CAAC;CACrB;AAED,UAAU,YAAa,SAAQ,WAAW;IACxC,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,YAAY,EAAE,iBAAiB,CAAC;IAChC,WAAW,EAAE,iBAAiB,CAAC;CAChC;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GACvC,uBAAuB,GACvB,CAAC,IAAI,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,CAAC,CAAC;AAoBjD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,yPAkB/B,iBAAiB,sBA6NnB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -7,8 +7,6 @@ export * from "./buttons";
|
|
|
7
7
|
export * from "./checkbox";
|
|
8
8
|
export * from "./claimsSelector";
|
|
9
9
|
export * from "./codeInput";
|
|
10
|
-
export * from "./contentWrapper";
|
|
11
|
-
export * from "./divider";
|
|
12
10
|
export * from "./featureInfo";
|
|
13
11
|
export * from "./icons";
|
|
14
12
|
export * from "./image";
|
|
@@ -25,8 +23,6 @@ export * from "./progressLoader";
|
|
|
25
23
|
export * from "./radio";
|
|
26
24
|
export * from "./searchInput";
|
|
27
25
|
export * from "./skeleton";
|
|
28
|
-
export * from "./spacer";
|
|
29
|
-
export * from "./stack";
|
|
30
26
|
export * from "./stepper";
|
|
31
27
|
export * from "./switch";
|
|
32
28
|
export * from "./tabs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/ContentWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAc9C;;;;GAIG;AACH,eAAO,MAAM,cAAc;aAdd,WAAW;cACV,SAAS;YACX,IAAI,CACV,SAAS,EACT,mBAAmB,GAAG,aAAa,GAAG,cAAc,CACrD;iEAgCJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B;;GAEG;AACH,eAAO,MAAM,OAAO,yBAWnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spacer.d.ts","sourceRoot":"","sources":["../../../../src/components/
|
|
1
|
+
{"version":3,"file":"Spacer.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Spacer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAuB,QAAQ,EAAE,MAAM,YAAY,CAAC;AAS3D,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AA4CF;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,UAAyB,WAAW,sBAE3D,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,UAAyB,WAAW,sBAE3D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,KAAK,iBAAiB,GAAG,OAAO,CAC9B,SAAS,EACT,SAAS,GAAG,eAAe,GAAG,KAAK,CACpC,CAAC;AAEF,KAAK,gBAAgB,GAAG,IAAI,CAC1B,SAAS,EACT,eAAe,GAAG,6BAA6B,GAAG,2BAA2B,CAC9E,CAAC;AAEF,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,KAAK,CAAC,EAAE,QAAQ,GAAG,CAAC,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC,GACA,gBAAgB,CAAC;AAEnB,KAAK,SAAS,GAAG,KAAK,GAAG;IACvB,WAAW,EAAE,UAAU,GAAG,YAAY,CAAC;CACxC,CAAC;AAEF;;;GAGG;AAEH,QAAA,MAAM,KAAK,GAAI,sEAOZ,SAAS,sBAmBX,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,wBAAwB,KAAK,sBAInD,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,MAAM,GAAI,wBAAwB,KAAK,sBAInD,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
export * from "./ContentWrapper";
|
|
2
|
+
export * from "./Divider";
|
|
1
3
|
export * from "./FooterActions";
|
|
2
4
|
export * from "./FooterActionsInline";
|
|
3
5
|
export * from "./GradientBottomActions";
|
|
4
6
|
export * from "./GradientScrollView";
|
|
5
7
|
export * from "./hooks";
|
|
8
|
+
export * from "./Spacer";
|
|
9
|
+
export * from "./Stack";
|
|
6
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemNav.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAS,SAAS,EAAQ,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemNav.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAS,SAAS,EAAQ,MAAM,cAAc,CAAC;AAG7E,OAAO,EACL,QAAQ,EAMT,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAKzC,KAAK,uBAAuB,GACxB;IACE,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,GACD;IACE,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEN,KAAK,uBAAuB,GAAG,UAAU,CACvC;IACE,KAAK,EAAE,MAA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,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemRadio.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemRadio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAS,SAAS,EAAoB,MAAM,cAAc,CAAC;AAWlE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemRadio.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemRadio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAS,SAAS,EAAoB,MAAM,cAAc,CAAC;AAWlE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAe,MAAM,UAAU,CAAC;AAK1D,KAAK,yBAAyB,GAC1B;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,WAAW,EAAE,iBAAiB,CAAC;IAAC,GAAG,CAAC,EAAE,KAAK,CAAA;CAAE,GAC7D;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAClD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAC;IAAC,GAAG,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAExD,KAAK,yBAAyB,GAC1B;IACE,KAAK,EAAE,IAAI,CAAC;IACZ,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC,GACD;IACE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,mBAAmB,CAAC,EAAE,KAAK,CAAC;IAC5B,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,yBAAyB,CAAC,EAAE,KAAK,CAAC;CACnC,CAAC;AAEN,KAAK,KAAK,GAAG,UAAU,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,YAAY,CAAC,EAAE,yBAAyB,CAAC;CAC1C,CAAC,CAAC;AAIH,KAAK,kBAAkB,GAAG,KAAK,GAC7B,IAAI,CACF,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EACtC,SAAS,GAAG,oBAAoB,GAAG,mBAAmB,GAAG,UAAU,CACpE,CAAC;AAUJ;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GAAI,oIAW3B,kBAAkB,sBA2KpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemSwitch.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAW,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAY,MAAM,EAAQ,MAAM,cAAc,CAAC;AAO7E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemSwitch.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KA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AmB,uBA4HvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemTransaction.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemTransaction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,cAAc,EAAQ,MAAM,cAAc,CAAC;AAUpD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemTransaction.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemTransaction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,cAAc,EAAQ,MAAM,cAAc,CAAC;AAUpD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAIvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAC/B,iBAAiB,GACjB,cAAc,GACd,SAAS,CAAC;AAEd,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAC1C,kBAAkB,GAAG;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,CACE;IACE,WAAW,EAAE;QACX,MAAM,EAAE,MAAM,CAAC;QACf,wBAAwB,EAAE,MAAM,CAAC;QACjC,KAAK,CAAC,EAAE,KAAK,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,GACD;IACE,WAAW,EAAE;QACX,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,wBAAwB,CAAC,EAAE,MAAM,CAAC;QAClC,KAAK,EAAE,wBAAwB,CAAC;QAChC,MAAM,CAAC,EAAE,KAAK,CAAC;KAChB,CAAC;CACH,CACJ,CACJ,CAAC;AA2BF,eAAO,MAAM,mBAAmB,GAAI,2NAajC,mBAAmB,sBAiGrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleCheckout.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/ModuleCheckout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,mBAAmB,EACnB,cAAc,EAGf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ModuleCheckout.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/ModuleCheckout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,mBAAmB,EACnB,cAAc,EAGf,MAAM,cAAc,CAAC;AAKtB,OAAO,EAAE,iBAAiB,EAAe,MAAM,UAAU,CAAC;AAM1D,KAAK,YAAY,GAAG;IAClB,SAAS,EAAE,IAAI,CAAC;IAChB,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC,CAAC;AAEF,KAAK,UAAU,GACX;IAAE,WAAW,EAAE,iBAAiB,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GACjD;IAAE,WAAW,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,cAAc,GAAG,mBAAmB,CAAA;CAAE,GACpE;IAAE,WAAW,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAE3C,KAAK,SAAS,GAAG;IACf,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,GAAG,UAAU,CAAC;AAEf,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAAG,SAAS,CAAC;AAE3D,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBAkExD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberPad.d.ts","sourceRoot":"","sources":["../../../../src/components/numberpad/NumberPad.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,GAAG,EAAwB,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAY,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberPad.d.ts","sourceRoot":"","sources":["../../../../src/components/numberpad/NumberPad.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,GAAG,EAAwB,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAY,MAAM,mBAAmB,CAAC;AAIlE,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAElE,KAAK,kBAAkB,GACnB;IACE;;OAEG;IACH,aAAa,EAAE,mBAAmB,CAAC;IACnC;;;OAGG;IACH,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;CACrC,GACD;IACE,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB,2BAA2B,CAAC,EAAE,KAAK,CAAC;CACrC,CAAC;AAEN,KAAK,cAAc,GAAG;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC;IACzD;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;;;OAIG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,GAAG,kBAAkB,CAAC;AAWvB;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,mIAQvB,cAAc,KAAG,GAAG,CAAC,OA8EvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { JSX, forwardRef } from "react";
|
|
2
2
|
import {
|
|
3
3
|
ColorValue,
|
|
4
4
|
GestureResponderEvent,
|
|
@@ -16,7 +16,7 @@ import { useScaleAnimation } from "../../hooks";
|
|
|
16
16
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
17
17
|
import { WithTestID } from "../../utils/types";
|
|
18
18
|
import { IOIconSizeScale, IOIcons, Icon } from "../icons";
|
|
19
|
-
import { HStack, VStack } from "../
|
|
19
|
+
import { HStack, VStack } from "../layout";
|
|
20
20
|
import { Body, ButtonText } from "../typography";
|
|
21
21
|
|
|
22
22
|
const ICON_SIZE: IOIconSizeScale = 24;
|
|
@@ -18,18 +18,6 @@ import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
|
18
18
|
import { WithTestID } from "../../utils/types";
|
|
19
19
|
import { IOText } from "../typography";
|
|
20
20
|
|
|
21
|
-
/*
|
|
22
|
-
NOTE FOR REFACTORING in the `io-app`:
|
|
23
|
-
|
|
24
|
-
- default (legacy) -> removed
|
|
25
|
-
- blue -> Deleted -> replaced with `default`
|
|
26
|
-
- info -> removed -> highlight?
|
|
27
|
-
- purple -> cgn
|
|
28
|
-
- turquoise -> highlight
|
|
29
|
-
- contrast -> removed
|
|
30
|
-
- lightBlue -> default
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
21
|
export type Badge = WithTestID<{
|
|
34
22
|
outline?: boolean;
|
|
35
23
|
text: string;
|
|
@@ -14,12 +14,12 @@ import { hexToRgba, IOColors } from "../../core/IOColors";
|
|
|
14
14
|
import { useScaleAnimation } from "../../hooks";
|
|
15
15
|
import { WithTestID } from "../../utils/types";
|
|
16
16
|
import { IconButton } from "../buttons";
|
|
17
|
+
import { VSpacer } from "../layout";
|
|
17
18
|
import {
|
|
18
19
|
IOPictogramsBleed,
|
|
19
20
|
IOPictogramSizeScale,
|
|
20
21
|
PictogramBleed
|
|
21
22
|
} from "../pictograms";
|
|
22
|
-
import { VSpacer } from "../spacer";
|
|
23
23
|
import { BodySmall, buttonTextFontSize, H6, IOText } from "../typography";
|
|
24
24
|
|
|
25
25
|
/* Styles */
|
|
@@ -11,12 +11,12 @@ import Animated, { FadeIn, FadeOut } from "react-native-reanimated";
|
|
|
11
11
|
import { useIOTheme, useIOThemeContext } from "../../context";
|
|
12
12
|
import { IOBannerBigSpacing, IOBannerRadius } from "../../core";
|
|
13
13
|
import { hexToRgba, IOColors } from "../../core/IOColors";
|
|
14
|
+
import { useScaleAnimation } from "../../hooks";
|
|
14
15
|
import { WithTestID } from "../../utils/types";
|
|
16
|
+
import { ButtonLink } from "../buttons";
|
|
15
17
|
import { Icon, IOIcons } from "../icons";
|
|
16
|
-
import {
|
|
17
|
-
import { VSpacer } from "../spacer";
|
|
18
|
+
import { VSpacer } from "../layout";
|
|
18
19
|
import { Body } from "../typography";
|
|
19
|
-
import { ButtonLink } from "../buttons";
|
|
20
20
|
|
|
21
21
|
const styles = StyleSheet.create({
|
|
22
22
|
container: {
|
|
@@ -4,7 +4,7 @@ import { useIOTheme } from "../../context";
|
|
|
4
4
|
import { IOSelectionTickVisualParams, IOSpacingScale } from "../../core";
|
|
5
5
|
import { triggerHaptic } from "../../functions/haptic-feedback/hapticFeedback";
|
|
6
6
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
7
|
-
import { HStack } from "../
|
|
7
|
+
import { HStack } from "../layout";
|
|
8
8
|
import { H6 } from "../typography/H6";
|
|
9
9
|
import { AnimatedCheckbox } from "./AnimatedCheckbox";
|
|
10
10
|
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
IOSpacingScale
|
|
12
12
|
} from "../../core";
|
|
13
13
|
import { useAccordionAnimation } from "../../hooks/useAccordionAnimation";
|
|
14
|
-
import { Divider } from "../divider";
|
|
15
14
|
import { Icon } from "../icons";
|
|
15
|
+
import { Divider } from "../layout";
|
|
16
16
|
import { ListItemCheckbox, ListItemInfo } from "../listitems";
|
|
17
17
|
import { H6 } from "../typography";
|
|
18
18
|
|
|
@@ -5,7 +5,7 @@ import { useIOThemeContext } from "../../context";
|
|
|
5
5
|
import { hexToRgba, IOColors } from "../../core/IOColors";
|
|
6
6
|
import { triggerHaptic } from "../../functions";
|
|
7
7
|
import { useErrorShakeAnimation } from "../../utils/hooks/useErrorShakeAnimation";
|
|
8
|
-
import { HStack } from "../
|
|
8
|
+
import { HStack } from "../layout";
|
|
9
9
|
|
|
10
10
|
type CodeInputProps = {
|
|
11
11
|
value: string;
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "../../core";
|
|
22
22
|
import { WithTestID } from "../../utils/types";
|
|
23
23
|
import { IconButton } from "../buttons";
|
|
24
|
-
import { HStack } from "../
|
|
24
|
+
import { HStack } from "../layout";
|
|
25
25
|
import { H2 } from "../typography";
|
|
26
26
|
import { HeaderActionProps } from "./common";
|
|
27
27
|
|
|
@@ -37,8 +37,7 @@ import {
|
|
|
37
37
|
import type { IOSpacer, IOSpacingScale } from "../../core/IOSpacing";
|
|
38
38
|
import { WithTestID } from "../../utils/types";
|
|
39
39
|
import IconButton from "../buttons/IconButton";
|
|
40
|
-
import { HSpacer } from "../
|
|
41
|
-
import { HStack } from "../stack";
|
|
40
|
+
import { HSpacer, HStack } from "../layout";
|
|
42
41
|
import { IOText } from "../typography";
|
|
43
42
|
import { HeaderActionProps } from "./common";
|
|
44
43
|
|
package/src/components/index.tsx
CHANGED
|
@@ -7,8 +7,6 @@ export * from "./buttons";
|
|
|
7
7
|
export * from "./checkbox";
|
|
8
8
|
export * from "./claimsSelector";
|
|
9
9
|
export * from "./codeInput";
|
|
10
|
-
export * from "./contentWrapper";
|
|
11
|
-
export * from "./divider";
|
|
12
10
|
export * from "./featureInfo";
|
|
13
11
|
export * from "./icons";
|
|
14
12
|
export * from "./image";
|
|
@@ -25,8 +23,6 @@ export * from "./progressLoader";
|
|
|
25
23
|
export * from "./radio";
|
|
26
24
|
export * from "./searchInput";
|
|
27
25
|
export * from "./skeleton";
|
|
28
|
-
export * from "./spacer";
|
|
29
|
-
export * from "./stack";
|
|
30
26
|
export * from "./stepper";
|
|
31
27
|
export * from "./switch";
|
|
32
28
|
export * from "./tabs";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
IOButtonBlockSpecificProps,
|
|
25
25
|
IOButtonLinkSpecificProps
|
|
26
26
|
} from "../buttons";
|
|
27
|
-
import { VSpacer } from "
|
|
27
|
+
import { VSpacer } from "./Spacer";
|
|
28
28
|
import { useBottomMargins } from "./hooks/useBottomMargins";
|
|
29
29
|
|
|
30
30
|
type IOButtonBlockProps = Omit<
|
|
@@ -6,7 +6,7 @@ import Animated, { AnimatedStyle } from "react-native-reanimated";
|
|
|
6
6
|
import { IOColors, IOSpacer, IOVisualCostants, hexToRgba } from "../../core";
|
|
7
7
|
import { WithTestID } from "../../utils/types";
|
|
8
8
|
import { IOButton, IOButtonProps } from "../buttons";
|
|
9
|
-
import { VSpacer } from "
|
|
9
|
+
import { VSpacer } from "./Spacer";
|
|
10
10
|
|
|
11
11
|
type PrimaryActionProps = Extract<
|
|
12
12
|
IOButtonProps,
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Different layout components are available to help with screen composition:
|
|
4
4
|
* **`ContentWrapper`**: a basic `View` component with horizontal spacing applied to all screens by default. It is used to wrap the main content.
|
|
5
|
+
* **Stack**: `VStack` and `HStack` are used to add **uniform** vertical and horizontal spacing between components, respectively. They take advantage of the `flex` properties combined with the new `gap` property.
|
|
5
6
|
* **Spacer**: `VSpacer` and `HSpacer` are used to add **not-uniform** vertical and horizontal spacing between components, respectively. They are defined as `View` components with a fixed height or width.
|
|
6
7
|
* **`Divider`**: used to add a divider between screen blocks.
|
|
7
8
|
|
|
8
9
|
## Usage
|
|
9
10
|
|
|
10
|
-
### ContentWrapper
|
|
11
|
+
### `ContentWrapper`
|
|
11
12
|
|
|
12
13
|
```jsx
|
|
13
14
|
import { ContentWrapper } from '@pagopa/io-app-design-system';
|
|
@@ -25,7 +26,21 @@ const ComponentWithLargerMargin = () => (
|
|
|
25
26
|
);
|
|
26
27
|
```
|
|
27
28
|
|
|
28
|
-
###
|
|
29
|
+
### `VStack` and `HStack`
|
|
30
|
+
|
|
31
|
+
In the example below, the inner components are arranged with an equal uniform vertical space of 16 between them.
|
|
32
|
+
|
|
33
|
+
```jsx
|
|
34
|
+
import { VStack } from '@pagopa/io-app-design-system';
|
|
35
|
+
|
|
36
|
+
const ComponentWithInnerSpacing = () => (
|
|
37
|
+
<VStack space={16}>
|
|
38
|
+
{/* […] */}
|
|
39
|
+
</VStack>
|
|
40
|
+
);
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### `VSpacer` and `HSpacer`
|
|
29
44
|
|
|
30
45
|
```jsx
|
|
31
46
|
import { VSpacer, HSpacer } from '@pagopa/io-app-design-system';
|
|
@@ -33,7 +48,9 @@ import { VSpacer, HSpacer } from '@pagopa/io-app-design-system';
|
|
|
33
48
|
const Component = () => (
|
|
34
49
|
<View>
|
|
35
50
|
{/* […] */}
|
|
36
|
-
<VSpacer />
|
|
51
|
+
<VSpacer space={8} />
|
|
52
|
+
{/* […] */}
|
|
53
|
+
<VSpacer space={16} />
|
|
37
54
|
{/* […] */}
|
|
38
55
|
</View>
|
|
39
56
|
);
|
|
@@ -49,7 +66,7 @@ const ComponentWithHSpacer = () => (
|
|
|
49
66
|
);
|
|
50
67
|
```
|
|
51
68
|
|
|
52
|
-
### Divider
|
|
69
|
+
### `Divider`
|
|
53
70
|
|
|
54
71
|
```jsx
|
|
55
72
|
import { Divider } from '@pagopa/io-app-design-system';
|
|
@@ -61,4 +78,16 @@ const Component = () => (
|
|
|
61
78
|
{/* [Second block] */}
|
|
62
79
|
</Screen>
|
|
63
80
|
);
|
|
64
|
-
```
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Frequently Asked Questions
|
|
84
|
+
|
|
85
|
+
### I need to add space between the components. Should I use `Stack` or `Spacer` components?
|
|
86
|
+
|
|
87
|
+
The `gap` property, on which the `Stack` components are based, is handled directly by React Native's layout engine. This means that:
|
|
88
|
+
- Native-level spacing calculation
|
|
89
|
+
- Better memory efficiency
|
|
90
|
+
- Faster layout computation
|
|
91
|
+
|
|
92
|
+
Unless you need to create a lot of nested `Stack` containers to reflect the design specs, you should probably use `Stack` instead of `Spacer`.
|
|
93
|
+
`Spacer` components are still available because they can be useful in specific edge cases.
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export * from "./ContentWrapper";
|
|
2
|
+
export * from "./Divider";
|
|
1
3
|
export * from "./FooterActions";
|
|
2
4
|
export * from "./FooterActionsInline";
|
|
3
5
|
export * from "./GradientBottomActions";
|
|
4
6
|
export * from "./GradientScrollView";
|
|
5
7
|
export * from "./hooks";
|
|
8
|
+
export * from "./Spacer";
|
|
9
|
+
export * from "./Stack";
|
|
@@ -3,17 +3,17 @@ import { useState } from "react";
|
|
|
3
3
|
import { Pressable, View } from "react-native";
|
|
4
4
|
import ReactNativeHapticFeedback from "react-native-haptic-feedback";
|
|
5
5
|
import Animated from "react-native-reanimated";
|
|
6
|
+
import { useIOTheme } from "../../context";
|
|
6
7
|
import {
|
|
7
8
|
IOSelectionListItemStyles,
|
|
8
9
|
IOSelectionListItemVisualParams,
|
|
9
10
|
IOSelectionTickVisualParams
|
|
10
11
|
} from "../../core";
|
|
11
|
-
import { useIOTheme } from "../../context";
|
|
12
12
|
import { useListItemAnimation } from "../../hooks";
|
|
13
13
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
14
14
|
import { AnimatedCheckbox } from "../checkbox/AnimatedCheckbox";
|
|
15
15
|
import { IOIcons, Icon } from "../icons";
|
|
16
|
-
import { HSpacer, VSpacer } from "../
|
|
16
|
+
import { HSpacer, VSpacer } from "../layout";
|
|
17
17
|
import { BodySmall, H6 } from "../typography";
|
|
18
18
|
|
|
19
19
|
type Props = {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ComponentProps, useCallback, useMemo } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
3
4
|
import {
|
|
4
5
|
IOListItemStyles,
|
|
5
6
|
IOListItemVisualParams,
|
|
@@ -7,13 +8,12 @@ import {
|
|
|
7
8
|
IOSpacingScale,
|
|
8
9
|
IOVisualCostants
|
|
9
10
|
} from "../../core";
|
|
10
|
-
import { useIOTheme } from "../../context";
|
|
11
11
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
12
12
|
import { WithTestID } from "../../utils/types";
|
|
13
13
|
import { Badge } from "../badge";
|
|
14
14
|
import { ButtonLink, IconButton } from "../buttons";
|
|
15
15
|
import { IOIcons, Icon } from "../icons";
|
|
16
|
-
import { VSpacer } from "../
|
|
16
|
+
import { VSpacer } from "../layout";
|
|
17
17
|
import { BodySmall, H6 } from "../typography";
|
|
18
18
|
|
|
19
19
|
type ButtonLinkActionProps = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ComponentProps } from "react";
|
|
2
2
|
import { GestureResponderEvent, Image, Pressable, View } from "react-native";
|
|
3
3
|
import Animated from "react-native-reanimated";
|
|
4
|
+
import { useIOTheme } from "../../context";
|
|
4
5
|
import {
|
|
5
6
|
IOColors,
|
|
6
7
|
IOListItemStyles,
|
|
@@ -9,15 +10,14 @@ import {
|
|
|
9
10
|
IOSpacer,
|
|
10
11
|
IOVisualCostants
|
|
11
12
|
} from "../../core";
|
|
12
|
-
import { useIOTheme } from "../../context";
|
|
13
13
|
import { useListItemAnimation } from "../../hooks";
|
|
14
14
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
15
15
|
import { WithTestID } from "../../utils/types";
|
|
16
16
|
import { Avatar } from "../avatar";
|
|
17
17
|
import { Badge } from "../badge";
|
|
18
18
|
import { IOIcons, Icon } from "../icons";
|
|
19
|
+
import { HSpacer, VSpacer } from "../layout";
|
|
19
20
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
20
|
-
import { HSpacer, VSpacer } from "../spacer";
|
|
21
21
|
import { BodySmall, Caption, H6 } from "../typography";
|
|
22
22
|
|
|
23
23
|
type ListItemTopElementProps =
|
|
@@ -3,21 +3,20 @@ import { useState } from "react";
|
|
|
3
3
|
import { Image, Pressable, StyleSheet, View } from "react-native";
|
|
4
4
|
import ReactNativeHapticFeedback from "react-native-haptic-feedback";
|
|
5
5
|
import Animated from "react-native-reanimated";
|
|
6
|
+
import { useIOTheme } from "../../context";
|
|
6
7
|
import {
|
|
7
8
|
IOSelectionListItemStyles,
|
|
8
9
|
IOSelectionListItemVisualParams,
|
|
9
10
|
IOSelectionTickVisualParams
|
|
10
11
|
} from "../../core";
|
|
11
|
-
import { useIOTheme } from "../../context";
|
|
12
12
|
import { useListItemAnimation } from "../../hooks";
|
|
13
13
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
14
14
|
import { WithTestID } from "../../utils/types";
|
|
15
15
|
import { IOIcons, Icon } from "../icons";
|
|
16
|
+
import { HSpacer, VSpacer, VStack } from "../layout";
|
|
16
17
|
import { IOLogoPaymentType, LogoPayment } from "../logos";
|
|
17
18
|
import { AnimatedRadio } from "../radio/AnimatedRadio";
|
|
18
19
|
import { IOSkeleton } from "../skeleton";
|
|
19
|
-
import { HSpacer, VSpacer } from "../spacer";
|
|
20
|
-
import { VStack } from "../stack";
|
|
21
20
|
import { BodySmall, H6 } from "../typography";
|
|
22
21
|
|
|
23
22
|
type ListItemRadioGraphicProps =
|
|
@@ -5,8 +5,8 @@ import { useIOTheme } from "../../context";
|
|
|
5
5
|
import { IOColors, IOSelectionTickVisualParams } from "../../core";
|
|
6
6
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
7
7
|
import { Icon } from "../icons";
|
|
8
|
+
import { HStack } from "../layout";
|
|
8
9
|
import { AnimatedRadio } from "../radio/AnimatedRadio";
|
|
9
|
-
import { HStack } from "../stack";
|
|
10
10
|
import { BodySmall, H6 } from "../typography";
|
|
11
11
|
import { PressableListItemBase } from "./PressableListItemBase";
|
|
12
12
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React, { ComponentProps, useMemo } from "react";
|
|
2
2
|
import { GestureResponderEvent, Platform, Switch, View } from "react-native";
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
3
4
|
import {
|
|
4
5
|
IOSelectionListItemStyles,
|
|
5
6
|
IOSelectionListItemVisualParams
|
|
6
7
|
} from "../../core";
|
|
7
|
-
import { useIOTheme } from "../../context";
|
|
8
8
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
9
9
|
import { WithTestID } from "../../utils/types";
|
|
10
10
|
import { Badge } from "../badge";
|
|
11
11
|
import { IOIcons, Icon } from "../icons";
|
|
12
|
+
import { HSpacer, VSpacer } from "../layout";
|
|
12
13
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
13
14
|
import { IOLogoPaymentType, LogoPayment } from "../logos";
|
|
14
|
-
import { HSpacer, VSpacer } from "../spacer";
|
|
15
15
|
import { NativeSwitch } from "../switch/NativeSwitch";
|
|
16
16
|
import { BodySmall, H6, LabelMini } from "../typography";
|
|
17
17
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
2
|
import { ImageURISource, View } from "react-native";
|
|
3
3
|
|
|
4
|
+
import { useIOTheme } from "../../context";
|
|
4
5
|
import {
|
|
5
6
|
IOColors,
|
|
6
7
|
IOListItemLogoMargin,
|
|
@@ -8,16 +9,15 @@ import {
|
|
|
8
9
|
IOListItemVisualParams,
|
|
9
10
|
IOVisualCostants
|
|
10
11
|
} from "../../core";
|
|
11
|
-
import { useIOTheme } from "../../context";
|
|
12
12
|
import { WithTestID } from "../../utils/types";
|
|
13
13
|
import { isImageUri } from "../../utils/url";
|
|
14
14
|
import { Avatar } from "../avatar/Avatar";
|
|
15
15
|
import { Badge } from "../badge/Badge";
|
|
16
16
|
import { LogoPaymentWithFallback } from "../common/LogoPaymentWithFallback";
|
|
17
17
|
import { IOIconSizeScale, Icon } from "../icons";
|
|
18
|
+
import { HStack, VStack } from "../layout";
|
|
18
19
|
import { IOLogoPaymentType } from "../logos";
|
|
19
20
|
import { IOSkeleton } from "../skeleton";
|
|
20
|
-
import { HStack, VStack } from "../stack";
|
|
21
21
|
import { BodySmall, H6 } from "../typography";
|
|
22
22
|
import {
|
|
23
23
|
PressableBaseProps,
|
|
@@ -5,9 +5,9 @@ import { IOListItemVisualParams } from "../../core";
|
|
|
5
5
|
import { WithTestID } from "../../utils/types";
|
|
6
6
|
import { Badge } from "../badge";
|
|
7
7
|
import { Icon } from "../icons";
|
|
8
|
+
import { HStack, VStack } from "../layout";
|
|
8
9
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
9
10
|
import { IOSkeleton } from "../skeleton";
|
|
10
|
-
import { HStack, VStack } from "../stack";
|
|
11
11
|
import { Body } from "../typography";
|
|
12
12
|
import { ModuleStatic } from "./ModuleStatic";
|
|
13
13
|
import { PressableModuleBase } from "./PressableModuleBase";
|