@pagopa/io-app-design-system 4.5.0 → 4.5.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/lib/commonjs/components/Advice/Advice.js +1 -1
- package/lib/commonjs/components/accordion/AccordionItem.js +1 -1
- package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
- package/lib/commonjs/components/accordion/RawAccordion.js +1 -1
- package/lib/commonjs/components/accordion/RawAccordion.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +0 -4
- package/lib/commonjs/components/buttons/ButtonLink.js +26 -26
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +45 -101
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +71 -64
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +31 -30
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonContained.js +11 -11
- package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonSolid.js +30 -30
- package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +5 -7
- package/lib/commonjs/components/icons/Icon.js +2 -2
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/README.md +1 -1
- package/lib/commonjs/components/icons/svg/IconProductIOAppBlueBg.js +8 -20
- package/lib/commonjs/components/icons/svg/IconProductIOAppBlueBg.js.map +1 -1
- package/lib/commonjs/components/icons/svg/originals/IconProductIOAppBlueBg.svg +12 -9
- package/lib/commonjs/components/layout/HeaderFirstLevel.js +2 -2
- package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +4 -3
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -2
- package/lib/commonjs/components/numberpad/NumberButton.js +1 -1
- package/lib/commonjs/components/pictograms/Pictogram.js +1 -22
- package/lib/commonjs/components/pictograms/Pictogram.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/stepper/Stepper.js +1 -1
- package/lib/commonjs/components/switch/NativeSwitch.js +2 -2
- package/lib/commonjs/components/switch/NativeSwitch.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +3 -3
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +4 -4
- 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 +31 -99
- package/lib/commonjs/core/IOColors.js.map +1 -1
- package/lib/commonjs/core/IOStyles.js +2 -2
- package/lib/module/components/Advice/Advice.js +1 -1
- package/lib/module/components/accordion/AccordionItem.js +1 -1
- package/lib/module/components/accordion/AccordionItem.js.map +1 -1
- package/lib/module/components/accordion/RawAccordion.js +1 -1
- package/lib/module/components/accordion/RawAccordion.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +0 -4
- package/lib/module/components/buttons/ButtonLink.js +27 -27
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +46 -102
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +74 -67
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/IconButton.js +32 -31
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/IconButtonContained.js +11 -11
- package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/module/components/buttons/IconButtonSolid.js +31 -31
- package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +5 -7
- package/lib/module/components/icons/Icon.js +2 -2
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/README.md +1 -1
- package/lib/module/components/icons/svg/IconProductIOAppBlueBg.js +9 -21
- package/lib/module/components/icons/svg/IconProductIOAppBlueBg.js.map +1 -1
- package/lib/module/components/icons/svg/originals/IconProductIOAppBlueBg.svg +12 -9
- package/lib/module/components/layout/HeaderFirstLevel.js +2 -2
- package/lib/module/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfo.js +1 -1
- package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js +1 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +4 -3
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemNavAlert.js +1 -1
- package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -2
- package/lib/module/components/numberpad/NumberButton.js +1 -1
- package/lib/module/components/pictograms/Pictogram.js +0 -20
- package/lib/module/components/pictograms/Pictogram.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/stepper/Stepper.js +1 -1
- package/lib/module/components/switch/NativeSwitch.js +2 -2
- package/lib/module/components/switch/NativeSwitch.js.map +1 -1
- package/lib/module/components/tabs/TabItem.js +3 -3
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +4 -4
- 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 +31 -99
- package/lib/module/core/IOColors.js.map +1 -1
- package/lib/module/core/IOStyles.js +2 -2
- package/lib/typescript/components/buttons/ButtonLink.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts +2 -2
- package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButton.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconProductIOAppBlueBg.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts +2 -2
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/Pictogram.d.ts +2 -11
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- 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/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 +5 -35
- package/lib/typescript/core/IOColors.d.ts.map +1 -1
- package/lib/typescript/core/IOStyles.d.ts +2 -2
- package/lib/typescript/utils/fonts.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/Advice/Advice.tsx +1 -1
- package/src/components/accordion/AccordionItem.tsx +1 -1
- package/src/components/accordion/RawAccordion.tsx +1 -1
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +0 -4
- package/src/components/buttons/ButtonLink.tsx +38 -31
- package/src/components/buttons/ButtonOutline.tsx +55 -112
- package/src/components/buttons/ButtonSolid.tsx +95 -79
- package/src/components/buttons/IconButton.tsx +39 -32
- package/src/components/buttons/IconButtonContained.tsx +11 -11
- package/src/components/buttons/IconButtonSolid.tsx +38 -34
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +5 -7
- package/src/components/icons/Icon.tsx +2 -2
- package/src/components/icons/README.md +1 -1
- package/src/components/icons/svg/IconProductIOAppBlueBg.tsx +12 -13
- package/src/components/icons/svg/originals/IconProductIOAppBlueBg.svg +12 -9
- package/src/components/layout/HeaderFirstLevel.tsx +4 -4
- package/src/components/listitems/ListItemInfo.tsx +1 -1
- package/src/components/listitems/ListItemInfoCopy.tsx +1 -1
- package/src/components/listitems/ListItemNav.tsx +5 -4
- package/src/components/listitems/ListItemNavAlert.tsx +3 -1
- package/src/components/listitems/ListItemTransaction.tsx +1 -1
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -2
- package/src/components/numberpad/NumberButton.tsx +1 -1
- package/src/components/pictograms/Pictogram.tsx +0 -22
- package/src/components/pictograms/types.ts +0 -1
- package/src/components/spacer/Spacer.tsx +1 -1
- package/src/components/stepper/Stepper.tsx +1 -1
- package/src/components/switch/NativeSwitch.tsx +2 -2
- package/src/components/tabs/TabItem.tsx +3 -3
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +4 -4
- package/src/components/typography/__test__/typography.test.tsx +18 -16
- package/src/core/IOColors.ts +39 -98
- package/src/core/IOStyles.ts +2 -2
- package/lib/commonjs/components/layout/BlockButtons.js +0 -85
- package/lib/commonjs/components/layout/BlockButtons.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/PictogramCompleted.js +0 -33
- package/lib/commonjs/components/pictograms/svg/PictogramCompleted.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/PictogramProcessing.js +0 -33
- package/lib/commonjs/components/pictograms/svg/PictogramProcessing.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/originals/PictogramCompleted.svg +0 -14
- package/lib/module/components/layout/BlockButtons.js +0 -76
- package/lib/module/components/layout/BlockButtons.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/originals/PictogramCompleted.svg +0 -14
- package/lib/typescript/components/layout/BlockButtons.d.ts +0 -54
- package/lib/typescript/components/layout/BlockButtons.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/src/components/layout/BlockButtons.tsx +0 -143
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pictogram.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/Pictogram.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Pictogram.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/Pictogram.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAkHvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqExB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,YAAY,CAAC;AAErD,MAAM,MAAM,oBAAoB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,CAAC;AAEjE,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,YAAY,CAAC;IAInB,cAAc,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,cAAc,CAAC;IAC9D,IAAI,CAAC,EAAE,oBAAoB,GAAG,MAAM,CAAC;IACrC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AASF,eAAO,MAAM,SAAS,+DAMnB,iBAAiB,sBAuCnB,CAAC;AAUF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,OAAO,GACP,SAAS,GACT,WAAW,GACX,SAAS,GACT,MAAM,GACN,UAAU,GACV,MAAM,GACN,UAAU,GACV,UAAU,GACV,SAAS,GACT,KAAK,GACL,UAAU,GACV,aAAa,GACb,eAAe,GACf,iBAAiB,GACjB,eAAe,GACf,cAAc,GACd,SAAS,GACT,eAAe,GACf,cAAc,GACd,WAAW,GACX,cAAc,GACd,UAAU,GACV,cAAc,GACd,MAAM,GACN,SAAS,GACT,OAAO,GACP,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,SAAS,GACT,YAAY,GACZ,cAAc,GACd,MAAM,GACN,KAAK,GACL,cAAc,GACd,MAAM,GACN,QAAQ,GACR,gBAAgB,GAChB,UAAU,GACV,UAAU,GACV,YAAY,GACZ,gBAAgB,EAClB,YAAY,CACb,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE;KAC7B,GAAG,IAAI,iBAAiB,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,iBAAiB,KAAK,GAAG,CAAC,OAAO;CA2CzE,CAAC;AAEF,eAAO,MAAM,cAAc,+DAMxB,iBAAiB,sBAuCnB,CAAC;AAOF,eAAO,MAAM,kBAAkB;;;;;;;;CAQrB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CACzC,CAAC"}
|
|
@@ -8,6 +8,6 @@ export declare const BodyMonospace: React.ForwardRefExoticComponent<Omit<IOTextP
|
|
|
8
8
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
9
9
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
10
10
|
} & {
|
|
11
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
11
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
12
12
|
} & React.RefAttributes<View>>;
|
|
13
13
|
//# sourceMappingURL=BodyMonospace.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const ButtonText: React.ForwardRefExoticComponent<Omit<IOTextProp
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=ButtonText.d.ts.map
|
|
@@ -10,6 +10,6 @@ export declare const Caption: React.ForwardRefExoticComponent<Omit<IOTextProps,
|
|
|
10
10
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
11
11
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
} & {
|
|
13
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
13
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
14
14
|
} & React.RefAttributes<View>>;
|
|
15
15
|
//# sourceMappingURL=Caption.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const H1: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=H1.d.ts.map
|
|
@@ -14,6 +14,6 @@ export declare const H2: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
14
14
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
15
15
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
16
16
|
} & {
|
|
17
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
17
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
18
18
|
} & React.RefAttributes<View>>;
|
|
19
19
|
//# sourceMappingURL=H2.d.ts.map
|
|
@@ -11,7 +11,7 @@ export declare const H3: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & {
|
|
16
16
|
weight?: "Semibold" | "Bold" | undefined;
|
|
17
17
|
} & React.RefAttributes<View>>;
|
|
@@ -11,6 +11,6 @@ export declare const H4: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=H4.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const H5: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=H5.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const H6: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=H6.d.ts.map
|
|
@@ -11,6 +11,6 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<IOTextProps, "st
|
|
|
11
11
|
textStyle?: import("./IOText").IOTextStyle | undefined;
|
|
12
12
|
style?: import("./IOText").IOTextStyle | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
14
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
15
15
|
} & React.RefAttributes<View>>;
|
|
16
16
|
//# sourceMappingURL=Hero.d.ts.map
|
|
@@ -8,6 +8,6 @@ export declare const MdH1: React.ForwardRefExoticComponent<Omit<IOTextProps, "st
|
|
|
8
8
|
textStyle?: import("../IOText").IOTextStyle | undefined;
|
|
9
9
|
style?: import("../IOText").IOTextStyle | undefined;
|
|
10
10
|
} & {
|
|
11
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
11
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
12
12
|
} & React.RefAttributes<View>>;
|
|
13
13
|
//# sourceMappingURL=MdH1.d.ts.map
|
|
@@ -8,6 +8,6 @@ export declare const MdH2: React.ForwardRefExoticComponent<Omit<IOTextProps, "st
|
|
|
8
8
|
textStyle?: import("../IOText").IOTextStyle | undefined;
|
|
9
9
|
style?: import("../IOText").IOTextStyle | undefined;
|
|
10
10
|
} & {
|
|
11
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
11
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
12
12
|
} & React.RefAttributes<View>>;
|
|
13
13
|
//# sourceMappingURL=MdH2.d.ts.map
|
|
@@ -8,6 +8,6 @@ export declare const MdH3: React.ForwardRefExoticComponent<Omit<IOTextProps, "st
|
|
|
8
8
|
textStyle?: import("../IOText").IOTextStyle | undefined;
|
|
9
9
|
style?: import("../IOText").IOTextStyle | undefined;
|
|
10
10
|
} & {
|
|
11
|
-
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-
|
|
11
|
+
color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
|
|
12
12
|
} & React.RefAttributes<View>>;
|
|
13
13
|
//# sourceMappingURL=MdH3.d.ts.map
|
|
@@ -59,22 +59,8 @@ export declare const IOColors: {
|
|
|
59
59
|
"blueItalia-100": string;
|
|
60
60
|
"blueItalia-50": string;
|
|
61
61
|
"blue-600": string;
|
|
62
|
+
"blue-500": string;
|
|
62
63
|
"blue-50": string;
|
|
63
|
-
greyUltraLight: string;
|
|
64
|
-
greyLight: string;
|
|
65
|
-
bluegreyLight: string;
|
|
66
|
-
grey: string;
|
|
67
|
-
bluegrey: string;
|
|
68
|
-
bluegreyDark: string;
|
|
69
|
-
blue: string;
|
|
70
|
-
blueUltraLight: string;
|
|
71
|
-
aqua: string;
|
|
72
|
-
aquaUltraLight: string;
|
|
73
|
-
antiqueFuchsia: string;
|
|
74
|
-
orange: string;
|
|
75
|
-
red: string;
|
|
76
|
-
green: string;
|
|
77
|
-
greenLight: string;
|
|
78
64
|
};
|
|
79
65
|
export type IOColors = keyof typeof IOColors;
|
|
80
66
|
export declare const IOColorGradients: {
|
|
@@ -97,23 +83,9 @@ export declare const IOColorGradients: {
|
|
|
97
83
|
export type IOColorGradients = keyof typeof IOColorGradients;
|
|
98
84
|
export declare const getGradientColorValues: (gradientId: IOColorGradients) => ComponentProps<typeof LinearGradient>["colors"];
|
|
99
85
|
export declare const IOColorsLegacy: {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
bluegreyLight: string;
|
|
104
|
-
grey: string;
|
|
105
|
-
bluegrey: string;
|
|
106
|
-
bluegreyDark: string;
|
|
107
|
-
black: string;
|
|
108
|
-
blue: string;
|
|
109
|
-
blueUltraLight: string;
|
|
110
|
-
aqua: string;
|
|
111
|
-
aquaUltraLight: string;
|
|
112
|
-
antiqueFuchsia: string;
|
|
113
|
-
orange: string;
|
|
114
|
-
red: string;
|
|
115
|
-
green: string;
|
|
116
|
-
greenLight: string;
|
|
86
|
+
blue600: string;
|
|
87
|
+
blue500: string;
|
|
88
|
+
blue50: string;
|
|
117
89
|
};
|
|
118
90
|
export type IOColorLegacy = keyof typeof IOColorsLegacy;
|
|
119
91
|
export declare const IOColorsNeutral: {
|
|
@@ -177,11 +149,9 @@ export declare const IOColorsExtra: {
|
|
|
177
149
|
"blueItalia-500": string;
|
|
178
150
|
"blueItalia-100": string;
|
|
179
151
|
"blueItalia-50": string;
|
|
180
|
-
"blue-600": string;
|
|
181
|
-
"blue-50": string;
|
|
182
152
|
};
|
|
183
153
|
export type IOColorsExtra = keyof typeof IOColorsExtra;
|
|
184
|
-
declare const themeKeys: readonly ["appBackground-primary", "appBackground-secondary", "appBackground-tertiary", "appBackground-accent", "interactiveElem-default", "interactiveElem-pressed", "listItem-pressed", "textHeading-default", "textHeading-secondary", "textHeading-tertiary", "textBody-default", "textBody-secondary", "textBody-tertiary", "cardBorder-default", "textInputBorder-default", "icon-default", "icon-decorative", "textInputBorder-default", "textInputLabel-default", "textInputValue-default", "textInputValue-disabled", "divider-header", "divider-default", "divider-bottomBar", "pdfViewer-background", "errorIcon", "errorText", "successIcon", "successText", "warningIcon", "infoIcon", "pictogram-hands", "pictogram-tint-main", "pictogram-tint-secondary", "pictogram-tint-tertiary"];
|
|
154
|
+
declare const themeKeys: readonly ["appBackground-primary", "appBackground-secondary", "appBackground-tertiary", "appBackground-accent", "interactiveElem-default", "interactiveElem-pressed", "interactiveElem-disabled", "interactiveOutline-disabled", "neutralButton-default", "neutralButton-pressed", "neutralButton-disabled", "buttonText-default", "buttonText-disabled", "listItem-pressed", "textHeading-default", "textHeading-secondary", "textHeading-tertiary", "textBody-default", "textBody-secondary", "textBody-tertiary", "cardBorder-default", "textInputBorder-default", "icon-default", "icon-decorative", "textInputBorder-default", "textInputLabel-default", "textInputValue-default", "textInputValue-disabled", "divider-header", "divider-default", "divider-bottomBar", "pdfViewer-background", "errorIcon", "errorText", "successIcon", "successText", "warningIcon", "infoIcon", "pictogram-hands", "pictogram-tint-main", "pictogram-tint-secondary", "pictogram-tint-tertiary"];
|
|
185
155
|
export type IOTheme = {
|
|
186
156
|
[K in (typeof themeKeys)[number]]: IOColors;
|
|
187
157
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IOColors.d.ts","sourceRoot":"","sources":["../../../src/core/IOColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,cAAc,MAAM,8BAA8B,CAAC;AAyB/D,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"IOColors.d.ts","sourceRoot":"","sources":["../../../src/core/IOColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,cAAc,MAAM,8BAA8B,CAAC;AAyB/D,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;CAgB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAE7D,eAAO,MAAM,sBAAsB,eACrB,gBAAgB,KAC3B,eAAe,qBAAqB,CAAC,CAAC,QAAQ,CAGhD,CAAC;AAYF,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,cAAc,CAAC;AAExD,eAAO,MAAM,eAAe;;;;;;;;;;;CAW1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,eAAe,CAAC;AAE3D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;CAexB,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,aAAa,CAAC;AAEvD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;CAqBzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,cAAc,CAAC;AAEzD,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,cAAc,EACd,WAAW,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,CACzD,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,cAAc,EACd,WAAW,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,CACzD,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;CAMzB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,aAAa,CAAC;AAMvD,QAAA,MAAM,SAAS,07BAkDL,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG;KACnB,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,GAAG,QAAQ;CAC5C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OAiD1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,OAKhC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OA+CzB,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;CAiBrC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GACpC,MAAM,OAAO,0BAA0B,CAAC;AAE1C,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAC5C,WAAW,CAAC,0BAA0B,CAAC,EACvC,cAAc,CAkBf,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,yBAAyB,CAAC;AAM/E;;;;GAIG;AAEH,eAAO,MAAM,SAAS,YAAa,UAAU,YAAW,MAAM,WAQ7D,CAAC"}
|
|
@@ -183,7 +183,7 @@ interface IOListItemVisualParams {
|
|
|
183
183
|
export declare const IOListItemVisualParams: IOListItemVisualParams;
|
|
184
184
|
export declare const IOListItemStyles: {
|
|
185
185
|
listItem: {
|
|
186
|
-
paddingVertical: 16 | 4 | 6 | 12 | 20 | 28 | 32 | 8 | 24 |
|
|
186
|
+
paddingVertical: 16 | 4 | 6 | 12 | 20 | 28 | 32 | 8 | 24 | 40 | 48 | 56 | 64 | 72 | 80 | 96;
|
|
187
187
|
paddingHorizontal: 16 | 32 | 8 | 24 | 48;
|
|
188
188
|
marginHorizontal: number;
|
|
189
189
|
};
|
|
@@ -243,7 +243,7 @@ interface IOSelectionListItemVisualParams {
|
|
|
243
243
|
export declare const IOSelectionListItemVisualParams: IOSelectionListItemVisualParams;
|
|
244
244
|
export declare const IOSelectionListItemStyles: {
|
|
245
245
|
listItem: {
|
|
246
|
-
paddingVertical: 16 | 4 | 6 | 12 | 20 | 28 | 32 | 8 | 24 |
|
|
246
|
+
paddingVertical: 16 | 4 | 6 | 12 | 20 | 28 | 32 | 8 | 24 | 40 | 48 | 56 | 64 | 72 | 80 | 96;
|
|
247
247
|
paddingHorizontal: 16 | 32 | 8 | 24 | 48;
|
|
248
248
|
marginHorizontal: number;
|
|
249
249
|
};
|
|
@@ -13,7 +13,7 @@ declare const fonts: {
|
|
|
13
13
|
readonly DMMono: string;
|
|
14
14
|
};
|
|
15
15
|
export type IOFontFamily = keyof typeof fonts;
|
|
16
|
-
declare const allFontSizes: (
|
|
16
|
+
declare const allFontSizes: (16 | 12 | 14 | 20 | 22 | 26 | 28 | 32 | 17 | 31 | 35)[];
|
|
17
17
|
export type IOFontSize = (typeof allFontSizes)[number];
|
|
18
18
|
declare const weights: readonly ["Thin", "Light", "Regular", "Medium", "Semibold", "Bold", "Black"];
|
|
19
19
|
export type IOFontWeight = (typeof weights)[number];
|
package/package.json
CHANGED
|
@@ -86,7 +86,7 @@ export const AccordionItem = ({
|
|
|
86
86
|
// Visual attributes
|
|
87
87
|
const accordionBackground: IOColors = theme["appBackground-primary"];
|
|
88
88
|
const accordionBorder: IOColors = theme["cardBorder-default"];
|
|
89
|
-
const accordionIconColor: IOColors = theme["icon-
|
|
89
|
+
const accordionIconColor: IOColors = theme["icon-decorative"];
|
|
90
90
|
|
|
91
91
|
const onItemPress = () => {
|
|
92
92
|
setExpanded(!expanded);
|
|
@@ -106,7 +106,7 @@ export const RawAccordion: React.FC<Props> = props => {
|
|
|
106
106
|
transform: [{ rotateZ: arrowAngle }]
|
|
107
107
|
}}
|
|
108
108
|
>
|
|
109
|
-
<Icon name="chevronTop" color="blue" size={24} />
|
|
109
|
+
<Icon name="chevronTop" color="blue-500" size={24} />
|
|
110
110
|
</Animated.View>
|
|
111
111
|
</View>
|
|
112
112
|
</TouchableWithoutFeedback>
|
|
@@ -156,7 +156,6 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
156
156
|
align="xMidYMid"
|
|
157
157
|
bbHeight={80}
|
|
158
158
|
bbWidth={80}
|
|
159
|
-
color="#00C5CA"
|
|
160
159
|
focusable={false}
|
|
161
160
|
height={80}
|
|
162
161
|
meetOrSlice={0}
|
|
@@ -175,7 +174,6 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
175
174
|
},
|
|
176
175
|
]
|
|
177
176
|
}
|
|
178
|
-
tintColor="#00C5CA"
|
|
179
177
|
vbHeight={240}
|
|
180
178
|
vbWidth={240}
|
|
181
179
|
width={80}
|
|
@@ -435,7 +433,6 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
435
433
|
align="xMidYMid"
|
|
436
434
|
bbHeight={80}
|
|
437
435
|
bbWidth={80}
|
|
438
|
-
color="#00C5CA"
|
|
439
436
|
focusable={false}
|
|
440
437
|
height={80}
|
|
441
438
|
meetOrSlice={0}
|
|
@@ -454,7 +451,6 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
454
451
|
},
|
|
455
452
|
]
|
|
456
453
|
}
|
|
457
|
-
tintColor="#00C5CA"
|
|
458
454
|
vbHeight={240}
|
|
459
455
|
vbWidth={240}
|
|
460
456
|
width={80}
|
|
@@ -15,7 +15,8 @@ import {
|
|
|
15
15
|
IOColors,
|
|
16
16
|
IOSpacingScale,
|
|
17
17
|
hexToRgba,
|
|
18
|
-
useIOExperimentalDesign
|
|
18
|
+
useIOExperimentalDesign,
|
|
19
|
+
useIOTheme
|
|
19
20
|
} from "../../core";
|
|
20
21
|
import { useScaleAnimation } from "../../hooks";
|
|
21
22
|
import { WithTestID } from "../../utils/types";
|
|
@@ -50,34 +51,13 @@ export type ButtonLinkProps = WithTestID<{
|
|
|
50
51
|
}>;
|
|
51
52
|
|
|
52
53
|
type ColorStates = {
|
|
53
|
-
|
|
54
|
+
foreground: {
|
|
54
55
|
default: string;
|
|
55
56
|
pressed: string;
|
|
56
57
|
disabled: string;
|
|
57
58
|
};
|
|
58
59
|
};
|
|
59
60
|
|
|
60
|
-
const mapColorStates: Record<
|
|
61
|
-
NonNullable<ButtonLinkProps["color"]>,
|
|
62
|
-
ColorStates
|
|
63
|
-
> = {
|
|
64
|
-
// Primary button
|
|
65
|
-
primary: {
|
|
66
|
-
label: {
|
|
67
|
-
default: IOColors["blueIO-500"],
|
|
68
|
-
pressed: IOColors["blueIO-600"],
|
|
69
|
-
disabled: IOColors["grey-700"]
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
contrast: {
|
|
73
|
-
label: {
|
|
74
|
-
default: IOColors.white,
|
|
75
|
-
pressed: hexToRgba(IOColors.white, 0.85),
|
|
76
|
-
disabled: hexToRgba(IOColors.white, 0.5)
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
|
|
81
61
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
82
62
|
const mapLegacyColorStates: Record<
|
|
83
63
|
NonNullable<ButtonLinkProps["color"]>,
|
|
@@ -85,14 +65,14 @@ const mapLegacyColorStates: Record<
|
|
|
85
65
|
> = {
|
|
86
66
|
// Primary button
|
|
87
67
|
primary: {
|
|
88
|
-
|
|
89
|
-
default: IOColors
|
|
68
|
+
foreground: {
|
|
69
|
+
default: IOColors["blue-500"],
|
|
90
70
|
pressed: IOColors["blue-600"],
|
|
91
71
|
disabled: IOColors["grey-700"]
|
|
92
72
|
}
|
|
93
73
|
},
|
|
94
74
|
contrast: {
|
|
95
|
-
|
|
75
|
+
foreground: {
|
|
96
76
|
default: IOColors.white,
|
|
97
77
|
pressed: hexToRgba(IOColors.white, 0.85),
|
|
98
78
|
disabled: hexToRgba(IOColors.white, 0.5)
|
|
@@ -120,14 +100,41 @@ export const ButtonLink = forwardRef<View, ButtonLinkProps>(
|
|
|
120
100
|
},
|
|
121
101
|
ref
|
|
122
102
|
) => {
|
|
103
|
+
const theme = useIOTheme();
|
|
123
104
|
const { isExperimental } = useIOExperimentalDesign();
|
|
124
105
|
const { progress, onPressIn, onPressOut, scaleAnimatedStyle } =
|
|
125
106
|
useScaleAnimation();
|
|
126
107
|
const reducedMotion = useReducedMotion();
|
|
127
108
|
|
|
109
|
+
const mapColorStates = useMemo<
|
|
110
|
+
Record<NonNullable<ButtonLinkProps["color"]>, ColorStates>
|
|
111
|
+
>(
|
|
112
|
+
() => ({
|
|
113
|
+
// Primary button
|
|
114
|
+
primary: {
|
|
115
|
+
foreground: {
|
|
116
|
+
default: IOColors[theme["interactiveElem-default"]],
|
|
117
|
+
pressed: IOColors[theme["interactiveElem-pressed"]],
|
|
118
|
+
disabled: hexToRgba(
|
|
119
|
+
IOColors[theme["interactiveElem-default"]],
|
|
120
|
+
0.75
|
|
121
|
+
)
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
contrast: {
|
|
125
|
+
foreground: {
|
|
126
|
+
default: IOColors.white,
|
|
127
|
+
pressed: hexToRgba(IOColors.white, 0.85),
|
|
128
|
+
disabled: hexToRgba(IOColors.white, 0.5)
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}),
|
|
132
|
+
[theme]
|
|
133
|
+
);
|
|
134
|
+
|
|
128
135
|
const colorMap = useMemo(
|
|
129
136
|
() => (isExperimental ? mapColorStates : mapLegacyColorStates),
|
|
130
|
-
[isExperimental]
|
|
137
|
+
[isExperimental, mapColorStates]
|
|
131
138
|
);
|
|
132
139
|
|
|
133
140
|
const AnimatedIOText = Animated.createAnimatedComponent(IOText);
|
|
@@ -136,7 +143,7 @@ export const ButtonLink = forwardRef<View, ButtonLinkProps>(
|
|
|
136
143
|
color: interpolateColor(
|
|
137
144
|
progress.value,
|
|
138
145
|
[0, 1],
|
|
139
|
-
[colorMap[color].
|
|
146
|
+
[colorMap[color].foreground.default, colorMap[color].foreground.pressed]
|
|
140
147
|
)
|
|
141
148
|
}));
|
|
142
149
|
|
|
@@ -182,14 +189,14 @@ export const ButtonLink = forwardRef<View, ButtonLinkProps>(
|
|
|
182
189
|
allowFontScaling
|
|
183
190
|
name={icon}
|
|
184
191
|
animatedProps={pressedColorAnimationStyle}
|
|
185
|
-
color={colorMap[color]?.
|
|
192
|
+
color={colorMap[color]?.foreground?.default}
|
|
186
193
|
size={iconSize}
|
|
187
194
|
/>
|
|
188
195
|
) : (
|
|
189
196
|
<AnimatedIcon
|
|
190
197
|
allowFontScaling
|
|
191
198
|
name={icon}
|
|
192
|
-
color={colorMap[color]?.
|
|
199
|
+
color={colorMap[color]?.foreground?.disabled}
|
|
193
200
|
size={iconSize}
|
|
194
201
|
/>
|
|
195
202
|
))}
|
|
@@ -203,7 +210,7 @@ export const ButtonLink = forwardRef<View, ButtonLinkProps>(
|
|
|
203
210
|
lineHeight={buttonTextLineHeight}
|
|
204
211
|
style={[
|
|
205
212
|
disabled
|
|
206
|
-
? { color: colorMap[color]?.
|
|
213
|
+
? { color: colorMap[color]?.foreground?.disabled }
|
|
207
214
|
: { ...pressedColorAnimationStyle },
|
|
208
215
|
{ textAlign }
|
|
209
216
|
]}
|