@pagopa/io-app-design-system 1.33.0 → 1.35.0
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/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -0
- package/lib/commonjs/components/buttons/ButtonLink.js +4 -1
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +4 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +8 -5
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +4 -1
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonContained.js +3 -0
- package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonSolid.js +3 -0
- package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +2 -0
- package/lib/commonjs/components/icons/svg/IconCategCulture.js +1 -7
- package/lib/commonjs/components/icons/svg/IconCategCulture.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconCategFinance.js +3 -4
- package/lib/commonjs/components/icons/svg/IconCategFinance.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconCategHome.js +3 -4
- package/lib/commonjs/components/icons/svg/IconCategHome.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconCategJobOffers.js +3 -1
- package/lib/commonjs/components/icons/svg/IconCategJobOffers.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconCategLearning.js +3 -1
- package/lib/commonjs/components/icons/svg/IconCategLearning.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconCategMobility.js +3 -1
- package/lib/commonjs/components/icons/svg/IconCategMobility.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconCategSport.js +1 -1
- package/lib/commonjs/components/icons/svg/IconCategSport.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconCategTelco.js +3 -9
- package/lib/commonjs/components/icons/svg/IconCategTelco.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconCategTravel.js +1 -6
- package/lib/commonjs/components/icons/svg/IconCategTravel.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconCategWellness.js +3 -4
- package/lib/commonjs/components/icons/svg/IconCategWellness.js.map +1 -1
- package/lib/commonjs/components/icons/svg/originals/IconCategCulture.svg +1 -14
- package/lib/commonjs/components/icons/svg/originals/IconCategFinance.svg +1 -10
- package/lib/commonjs/components/icons/svg/originals/IconCategHome.svg +1 -10
- package/lib/commonjs/components/icons/svg/originals/IconCategJobOffers.svg +1 -6
- package/lib/commonjs/components/icons/svg/originals/IconCategLearning.svg +1 -6
- package/lib/commonjs/components/icons/svg/originals/IconCategMobility.svg +1 -6
- package/lib/commonjs/components/icons/svg/originals/IconCategSport.svg +1 -8
- package/lib/commonjs/components/icons/svg/originals/IconCategTelco.svg +1 -13
- package/lib/commonjs/components/icons/svg/originals/IconCategTravel.svg +1 -12
- package/lib/commonjs/components/icons/svg/originals/IconCategWellness.svg +1 -10
- package/lib/commonjs/components/index.js +42 -31
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAction.js +1 -1
- package/lib/commonjs/components/listitems/ListItemCheckbox.js +7 -4
- package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +5 -0
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js +4 -3
- package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +23 -9
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js +5 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/commonjs/components/listitems/PressableListItemsBase.js +7 -6
- package/lib/commonjs/components/listitems/PressableListItemsBase.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +12 -12
- package/lib/commonjs/components/modules/ModuleAttachment.js +6 -3
- package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCheckout.js +37 -36
- package/lib/commonjs/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
- package/lib/commonjs/components/modules/PressableModuleBase.js +5 -3
- package/lib/commonjs/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/commonjs/components/radio/RadioButtonLabel.js +10 -9
- package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/commonjs/components/radio/RadioGroup.js +7 -2
- package/lib/commonjs/components/radio/RadioGroup.js.map +1 -1
- package/lib/commonjs/components/spacer/Spacer.js.map +1 -1
- package/lib/commonjs/components/stack/Stack.js +47 -0
- package/lib/commonjs/components/stack/Stack.js.map +1 -0
- package/lib/commonjs/components/stack/index.js +17 -0
- package/lib/commonjs/components/stack/index.js.map +1 -0
- package/lib/commonjs/components/tabs/TabItem.js +59 -7
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/tabs/TabNavigation.js +2 -7
- package/lib/commonjs/components/tabs/TabNavigation.js.map +1 -1
- package/lib/commonjs/core/IOColors.js +7 -7
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -0
- package/lib/module/components/buttons/ButtonLink.js +4 -1
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +4 -1
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +8 -5
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/IconButton.js +4 -1
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/IconButtonContained.js +3 -0
- package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/module/components/buttons/IconButtonSolid.js +3 -0
- package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +2 -0
- package/lib/module/components/icons/svg/IconCategCulture.js +1 -7
- package/lib/module/components/icons/svg/IconCategCulture.js.map +1 -1
- package/lib/module/components/icons/svg/IconCategFinance.js +3 -4
- package/lib/module/components/icons/svg/IconCategFinance.js.map +1 -1
- package/lib/module/components/icons/svg/IconCategHome.js +3 -4
- package/lib/module/components/icons/svg/IconCategHome.js.map +1 -1
- package/lib/module/components/icons/svg/IconCategJobOffers.js +3 -1
- package/lib/module/components/icons/svg/IconCategJobOffers.js.map +1 -1
- package/lib/module/components/icons/svg/IconCategLearning.js +3 -1
- package/lib/module/components/icons/svg/IconCategLearning.js.map +1 -1
- package/lib/module/components/icons/svg/IconCategMobility.js +3 -1
- package/lib/module/components/icons/svg/IconCategMobility.js.map +1 -1
- package/lib/module/components/icons/svg/IconCategSport.js +1 -1
- package/lib/module/components/icons/svg/IconCategSport.js.map +1 -1
- package/lib/module/components/icons/svg/IconCategTelco.js +3 -9
- package/lib/module/components/icons/svg/IconCategTelco.js.map +1 -1
- package/lib/module/components/icons/svg/IconCategTravel.js +1 -6
- package/lib/module/components/icons/svg/IconCategTravel.js.map +1 -1
- package/lib/module/components/icons/svg/IconCategWellness.js +3 -4
- package/lib/module/components/icons/svg/IconCategWellness.js.map +1 -1
- package/lib/module/components/icons/svg/originals/IconCategCulture.svg +1 -14
- package/lib/module/components/icons/svg/originals/IconCategFinance.svg +1 -10
- package/lib/module/components/icons/svg/originals/IconCategHome.svg +1 -10
- package/lib/module/components/icons/svg/originals/IconCategJobOffers.svg +1 -6
- package/lib/module/components/icons/svg/originals/IconCategLearning.svg +1 -6
- package/lib/module/components/icons/svg/originals/IconCategMobility.svg +1 -6
- package/lib/module/components/icons/svg/originals/IconCategSport.svg +1 -8
- package/lib/module/components/icons/svg/originals/IconCategTelco.svg +1 -13
- package/lib/module/components/icons/svg/originals/IconCategTravel.svg +1 -12
- package/lib/module/components/icons/svg/originals/IconCategWellness.svg +1 -10
- package/lib/module/components/index.js +5 -4
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/listitems/ListItemAction.js +1 -1
- package/lib/module/components/listitems/ListItemCheckbox.js +7 -4
- package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +5 -0
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadio.js +4 -3
- package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +23 -9
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemSwitch.js +5 -1
- package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/module/components/listitems/PressableListItemsBase.js +7 -6
- package/lib/module/components/listitems/PressableListItemsBase.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +12 -12
- package/lib/module/components/modules/ModuleAttachment.js +6 -3
- package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/module/components/modules/ModuleCheckout.js +39 -40
- package/lib/module/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/module/components/modules/ModuleCredential.js.map +1 -1
- package/lib/module/components/modules/PressableModuleBase.js +5 -3
- package/lib/module/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/module/components/radio/RadioButtonLabel.js +10 -9
- package/lib/module/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/module/components/radio/RadioGroup.js +7 -2
- package/lib/module/components/radio/RadioGroup.js.map +1 -1
- package/lib/module/components/spacer/Spacer.js.map +1 -1
- package/lib/module/components/stack/Stack.js +39 -0
- package/lib/module/components/stack/Stack.js.map +1 -0
- package/lib/module/components/stack/index.js +2 -0
- package/lib/module/components/stack/index.js.map +1 -0
- package/lib/module/components/tabs/TabItem.js +60 -7
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/tabs/TabNavigation.js +2 -7
- package/lib/module/components/tabs/TabNavigation.js.map +1 -1
- package/lib/module/core/IOColors.js +7 -7
- package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts +4 -10
- package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts +4 -16
- 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/IconButtonContained.d.ts +1 -1
- package/lib/typescript/components/buttons/IconButtonContained.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconCategCulture.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconCategFinance.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconCategHome.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconCategJobOffers.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconCategLearning.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconCategMobility.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconCategTelco.d.ts +2 -2
- package/lib/typescript/components/icons/svg/IconCategTelco.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconCategTravel.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconCategWellness.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +5 -4
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemCheckbox.d.ts +2 -2
- package/lib/typescript/components/listitems/ListItemCheckbox.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNav.d.ts +4 -5
- package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadio.d.ts +2 -2
- package/lib/typescript/components/listitems/ListItemRadio.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts +4 -2
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
- package/lib/typescript/components/listitems/PressableListItemsBase.d.ts +3 -5
- package/lib/typescript/components/listitems/PressableListItemsBase.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleCheckout.d.ts +19 -11
- package/lib/typescript/components/modules/ModuleCheckout.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleCredential.d.ts +1 -1
- package/lib/typescript/components/modules/ModuleCredential.d.ts.map +1 -1
- package/lib/typescript/components/modules/PressableModuleBase.d.ts +4 -5
- package/lib/typescript/components/modules/PressableModuleBase.d.ts.map +1 -1
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts +2 -2
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -1
- package/lib/typescript/components/radio/RadioGroup.d.ts.map +1 -1
- package/lib/typescript/components/stack/Stack.d.ts +18 -0
- package/lib/typescript/components/stack/Stack.d.ts.map +1 -0
- package/lib/typescript/components/stack/index.d.ts +2 -0
- package/lib/typescript/components/stack/index.d.ts.map +1 -0
- package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
- package/lib/typescript/components/tabs/TabNavigation.d.ts +1 -1
- package/lib/typescript/components/tabs/TabNavigation.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -0
- package/src/components/buttons/ButtonLink.tsx +2 -1
- package/src/components/buttons/ButtonOutline.tsx +18 -15
- package/src/components/buttons/ButtonSolid.tsx +35 -32
- package/src/components/buttons/IconButton.tsx +1 -0
- package/src/components/buttons/IconButtonContained.tsx +2 -1
- package/src/components/buttons/IconButtonSolid.tsx +1 -0
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +2 -0
- package/src/components/icons/svg/IconCategCulture.tsx +1 -9
- package/src/components/icons/svg/IconCategFinance.tsx +3 -5
- package/src/components/icons/svg/IconCategHome.tsx +3 -5
- package/src/components/icons/svg/IconCategJobOffers.tsx +3 -1
- package/src/components/icons/svg/IconCategLearning.tsx +3 -1
- package/src/components/icons/svg/IconCategMobility.tsx +3 -1
- package/src/components/icons/svg/IconCategSport.tsx +1 -1
- package/src/components/icons/svg/IconCategTelco.tsx +3 -8
- package/src/components/icons/svg/IconCategTravel.tsx +1 -7
- package/src/components/icons/svg/IconCategWellness.tsx +3 -5
- package/src/components/icons/svg/originals/IconCategCulture.svg +1 -14
- package/src/components/icons/svg/originals/IconCategFinance.svg +1 -10
- package/src/components/icons/svg/originals/IconCategHome.svg +1 -10
- package/src/components/icons/svg/originals/IconCategJobOffers.svg +1 -6
- package/src/components/icons/svg/originals/IconCategLearning.svg +1 -6
- package/src/components/icons/svg/originals/IconCategMobility.svg +1 -6
- package/src/components/icons/svg/originals/IconCategSport.svg +1 -8
- package/src/components/icons/svg/originals/IconCategTelco.svg +1 -13
- package/src/components/icons/svg/originals/IconCategTravel.svg +1 -12
- package/src/components/icons/svg/originals/IconCategWellness.svg +1 -10
- package/src/components/index.tsx +5 -4
- package/src/components/listitems/ListItemAction.tsx +1 -1
- package/src/components/listitems/ListItemCheckbox.tsx +12 -6
- package/src/components/listitems/ListItemNav.tsx +17 -11
- package/src/components/listitems/ListItemRadio.tsx +7 -5
- package/src/components/listitems/ListItemRadioWithAmount.tsx +28 -13
- package/src/components/listitems/ListItemSwitch.tsx +1 -0
- package/src/components/listitems/PressableListItemsBase.tsx +16 -8
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +12 -12
- package/src/components/modules/ModuleAttachment.tsx +4 -3
- package/src/components/modules/ModuleCheckout.tsx +65 -50
- package/src/components/modules/ModuleCredential.tsx +1 -1
- package/src/components/modules/PressableModuleBase.tsx +16 -10
- package/src/components/radio/RadioButtonLabel.tsx +16 -11
- package/src/components/radio/RadioGroup.tsx +18 -8
- package/src/components/spacer/Spacer.tsx +1 -1
- package/src/components/stack/Stack.tsx +41 -0
- package/src/components/stack/index.tsx +1 -0
- package/src/components/tabs/TabItem.tsx +93 -10
- package/src/components/tabs/TabNavigation.tsx +2 -10
- package/src/core/IOColors.ts +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAkC,MAAM,OAAO,CAAC;AAC9E,OAAO,EACL,qBAAqB,EACrB,SAAS,EAET,IAAI,EACL,MAAM,cAAc,CAAC;AAsBtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAmB,OAAO,EAAQ,MAAM,UAAU,CAAC;AAK1D,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAiCjE,MAAM,MAAM,gBAAgB,GAAG,UAAU,CACvC;IACE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,GAAG,IAAI,CACN,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,UAAU,GAAG,oBAAoB,GAAG,mBAAmB,CACxD,CACF,CAAC;AAqEF,eAAO,MAAM,WAAW;IA5FpB;;OAEG;;WAEI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;;IAGH;;OAEG;;qBAEc,qBAAqB,KAAK,IAAI;sMAqQlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAoBhE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAEL,eAAe,EACf,OAAO,EAER,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAuEH,eAAO,MAAM,UAAU,gGASpB,UAAU,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAoBhE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAEL,eAAe,EACf,OAAO,EAER,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAuEH,eAAO,MAAM,UAAU,gGASpB,UAAU,sBAiGZ,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { GestureResponderEvent } from "react-native";
|
|
3
|
-
import { WithTestID } from "../../utils/types";
|
|
4
3
|
import { IOIcons } from "../../components/icons";
|
|
4
|
+
import { WithTestID } from "../../utils/types";
|
|
5
5
|
export type IconButtonContained = WithTestID<{
|
|
6
6
|
icon: IOIcons;
|
|
7
7
|
color?: "primary" | "neutral" | "contrast";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButtonContained.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButtonContained.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAWhE,OAAO,
|
|
1
|
+
{"version":3,"file":"IconButtonContained.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButtonContained.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAWhE,OAAO,EAEL,OAAO,EAER,MAAM,wBAAwB,CAAC;AAUhC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AA4GH,eAAO,MAAM,mBAAmB,sFAQ7B,mBAAmB,sBA6FrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAkBhE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAgB,OAAO,EAAE,MAAM,UAAU,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAyEH,eAAO,MAAM,eAAe,sFAQzB,eAAe,
|
|
1
|
+
{"version":3,"file":"IconButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAkBhE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAgB,OAAO,EAAE,MAAM,UAAU,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAyEH,eAAO,MAAM,eAAe,sFAQzB,eAAe,sBAqFjB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCategCulture.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategCulture.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,gBAAgB,8BAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"IconCategCulture.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategCulture.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,gBAAgB,8BAA+B,YAAY,sBAOhE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCategFinance.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategFinance.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,gBAAgB,8BAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"IconCategFinance.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategFinance.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,gBAAgB,8BAA+B,YAAY,sBAShE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCategHome.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategHome.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,aAAa,8BAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"IconCategHome.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategHome.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,aAAa,8BAA+B,YAAY,sBAS7D,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCategJobOffers.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategJobOffers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,kBAAkB,8BAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"IconCategJobOffers.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategJobOffers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,kBAAkB,8BAA+B,YAAY,sBASlE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCategLearning.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategLearning.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,iBAAiB,8BAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"IconCategLearning.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategLearning.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,iBAAiB,8BAA+B,YAAY,sBASjE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCategMobility.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategMobility.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,iBAAiB,8BAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"IconCategMobility.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategMobility.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,iBAAiB,8BAA+B,YAAY,sBASjE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SVGIconProps } from "../types";
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const IconCategTelco: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
4
|
+
export default IconCategTelco;
|
|
5
5
|
//# sourceMappingURL=IconCategTelco.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCategTelco.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategTelco.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"IconCategTelco.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategTelco.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,cAAc,8BAA+B,YAAY,sBAS9D,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCategTravel.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategTravel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,eAAe,8BAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"IconCategTravel.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategTravel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,eAAe,8BAA+B,YAAY,sBAO/D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCategWellness.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategWellness.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,iBAAiB,8BAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"IconCategWellness.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconCategWellness.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,QAAA,MAAM,iBAAiB,8BAA+B,YAAY,sBASjE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -5,8 +5,8 @@ export * from "./badge";
|
|
|
5
5
|
export * from "./banner";
|
|
6
6
|
export * from "./buttons";
|
|
7
7
|
export * from "./checkbox";
|
|
8
|
-
export * from "./contentWrapper";
|
|
9
8
|
export * from "./codeInput";
|
|
9
|
+
export * from "./contentWrapper";
|
|
10
10
|
export * from "./divider";
|
|
11
11
|
export * from "./endOfPage";
|
|
12
12
|
export * from "./featureInfo";
|
|
@@ -14,8 +14,8 @@ export * from "./icons";
|
|
|
14
14
|
export * from "./image";
|
|
15
15
|
export * from "./layout";
|
|
16
16
|
export * from "./listitems";
|
|
17
|
-
export * from "./logos";
|
|
18
17
|
export * from "./loadingSpinner";
|
|
18
|
+
export * from "./logos";
|
|
19
19
|
export * from "./modules";
|
|
20
20
|
export * from "./numberpad";
|
|
21
21
|
export * from "./otpInput";
|
|
@@ -23,11 +23,12 @@ export * from "./pictograms";
|
|
|
23
23
|
export * from "./progressLoader";
|
|
24
24
|
export * from "./radio";
|
|
25
25
|
export * from "./spacer";
|
|
26
|
+
export * from "./stack";
|
|
26
27
|
export * from "./stepper";
|
|
27
28
|
export * from "./switch";
|
|
28
|
-
export * from "./tag";
|
|
29
29
|
export * from "./tabs";
|
|
30
|
+
export * from "./tag";
|
|
31
|
+
export * from "./textInput";
|
|
30
32
|
export * from "./toast";
|
|
31
33
|
export * from "./typography";
|
|
32
|
-
export * from "./textInput";
|
|
33
34
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,
|
|
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,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,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,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -8,7 +8,7 @@ type Props = {
|
|
|
8
8
|
selected?: boolean;
|
|
9
9
|
onValueChange?: (newValue: boolean) => void;
|
|
10
10
|
};
|
|
11
|
-
type
|
|
11
|
+
type ListItemCheckboxProps = Props & Pick<React.ComponentProps<typeof Pressable>, "onPress" | "accessibilityLabel" | "accessibilityHint" | "disabled">;
|
|
12
12
|
/**
|
|
13
13
|
* with the automatic state management that uses a {@link AnimatedCheckBox}
|
|
14
14
|
* The toggleValue change when a `onPress` event is received and dispatch the `onValueChange`.
|
|
@@ -16,6 +16,6 @@ type OwnProps = Props & Pick<React.ComponentProps<typeof Pressable>, "onPress" |
|
|
|
16
16
|
* @param props
|
|
17
17
|
* @constructor
|
|
18
18
|
*/
|
|
19
|
-
export declare const ListItemCheckbox: ({ value, description, icon, selected, accessibilityLabel, disabled, onValueChange }:
|
|
19
|
+
export declare const ListItemCheckbox: ({ value, description, icon, selected, accessibilityLabel, accessibilityHint, disabled, onValueChange }: ListItemCheckboxProps) => React.JSX.Element;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=ListItemCheckbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAQ,MAAM,cAAc,CAAC;AAsB/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAIzC,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAQ,MAAM,cAAc,CAAC;AAsB/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAIzC,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;AAIF,KAAK,qBAAqB,GAAG,KAAK,GAChC,IAAI,CACF,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EACtC,SAAS,GAAG,oBAAoB,GAAG,mBAAmB,GAAG,UAAU,CACpE,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,2GAS1B,qBAAqB,sBAuIvB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { GestureResponderEvent } from "react-native";
|
|
1
|
+
import React, { ComponentProps } from "react";
|
|
2
|
+
import { GestureResponderEvent, Pressable } from "react-native";
|
|
3
3
|
import { IOColors } from "../../core";
|
|
4
4
|
import { WithTestID } from "../../utils/types";
|
|
5
5
|
import { Badge } from "../badge";
|
|
@@ -16,10 +16,9 @@ type ListItemNavPartialProps = WithTestID<{
|
|
|
16
16
|
description?: string | React.ReactNode;
|
|
17
17
|
loading?: boolean;
|
|
18
18
|
onPress: (event: GestureResponderEvent) => void;
|
|
19
|
-
accessibilityLabel: string;
|
|
20
19
|
hideChevron?: boolean;
|
|
21
20
|
topElement?: ListItemTopElementProps;
|
|
22
|
-
}
|
|
21
|
+
} & Pick<ComponentProps<typeof Pressable>, "accessibilityLabel" | "accessibilityHint">>;
|
|
23
22
|
export type ListItemNavGraphicProps = {
|
|
24
23
|
icon?: never;
|
|
25
24
|
iconColor?: never;
|
|
@@ -34,6 +33,6 @@ export type ListItemNavGraphicProps = {
|
|
|
34
33
|
paymentLogoUri?: never;
|
|
35
34
|
};
|
|
36
35
|
export type ListItemNav = ListItemNavPartialProps & ListItemNavGraphicProps;
|
|
37
|
-
export declare const ListItemNav: ({ value, description, onPress, icon, iconColor, paymentLogoUri, accessibilityLabel, testID, hideChevron, topElement, loading }: ListItemNav) => React.JSX.Element;
|
|
36
|
+
export declare const ListItemNav: ({ value, description, onPress, icon, iconColor, paymentLogoUri, accessibilityLabel, accessibilityHint, testID, hideChevron, topElement, loading }: ListItemNav) => React.JSX.Element;
|
|
38
37
|
export default ListItemNav;
|
|
39
38
|
//# sourceMappingURL=ListItemNav.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemNav.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemNav.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
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;AAC3D,OAAO,EACL,qBAAqB,EAErB,SAAS,EAGV,MAAM,cAAc,CAAC;AAUtB,OAAO,EACL,QAAQ,EAUT,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,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;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -33,7 +33,7 @@ type Props = WithTestID<{
|
|
|
33
33
|
startImage?: ListItemRadioGraphicProps;
|
|
34
34
|
loadingProps?: ListItemRadioLoadingProps;
|
|
35
35
|
}>;
|
|
36
|
-
type
|
|
36
|
+
type ListItemRadioProps = Props & Pick<React.ComponentProps<typeof Pressable>, "onPress" | "accessibilityLabel" | "accessibilityHint" | "disabled">;
|
|
37
37
|
/**
|
|
38
38
|
* `ListItemRadio` component with the automatic state management that uses a {@link AnimatedCheckBox}
|
|
39
39
|
* The toggleValue change when a `onPress` event is received and dispatch the `onValueChange`.
|
|
@@ -41,6 +41,6 @@ type OwnProps = Props & Pick<React.ComponentProps<typeof Pressable>, "onPress" |
|
|
|
41
41
|
* @param props
|
|
42
42
|
* @constructor
|
|
43
43
|
*/
|
|
44
|
-
export declare const ListItemRadio: ({ value, description, startImage, selected, disabled, onValueChange, loadingProps, testID }:
|
|
44
|
+
export declare const ListItemRadio: ({ value, description, startImage, selected, disabled, onValueChange, accessibilityLabel, accessibilityHint, loadingProps, testID }: ListItemRadioProps) => React.JSX.Element;
|
|
45
45
|
export {};
|
|
46
46
|
//# sourceMappingURL=ListItemRadio.d.ts.map
|
|
@@ -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;AAsBlE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAe,MAAM,UAAU,CAAC;AAK1D,KAAK,yBAAyB,GAC1B;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,WAAW,EAAE,iBAAiB,CAAC;IAAC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ected?: boolean;
|
|
5
5
|
label: string;
|
|
6
6
|
formattedAmountString: string;
|
|
7
|
+
accessibilityLabel?: string;
|
|
7
8
|
} & ({
|
|
8
9
|
isSuggested?: false;
|
|
10
|
+
suggestReason?: never;
|
|
9
11
|
} | {
|
|
10
|
-
isSuggested
|
|
12
|
+
isSuggested?: true;
|
|
11
13
|
suggestReason: string;
|
|
12
14
|
});
|
|
13
|
-
export declare const ListItemRadioWithAmount: (
|
|
15
|
+
export declare const ListItemRadioWithAmount: ({ onValueChange, selected, label, accessibilityLabel, isSuggested, suggestReason, formattedAmountString }: ListItemRadioWithAmountProps) => React.JSX.Element;
|
|
14
16
|
//# sourceMappingURL=ListItemRadioWithAmount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemRadioWithAmount.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemRadioWithAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,MAAM,4BAA4B,GAAG;IACzC,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemRadioWithAmount.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemRadioWithAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,MAAM,4BAA4B,GAAG;IACzC,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,GAAG,CACA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,KAAK,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAQ1C,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAC5C,0BAA0B,GAC1B,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc,wIAYtB,mBAAmB,uBAsIvB,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import { Pressable } from "react-native";
|
|
2
3
|
import { WithTestID } from "../../utils/types";
|
|
3
|
-
export type PressableBaseProps = WithTestID<
|
|
4
|
-
|
|
5
|
-
onPress?: () => void;
|
|
6
|
-
}>;
|
|
7
|
-
export declare const PressableListItemBase: ({ onPress, testID, accessibilityLabel, children }: React.PropsWithChildren<PressableBaseProps>) => React.JSX.Element;
|
|
4
|
+
export type PressableBaseProps = WithTestID<Pick<React.ComponentProps<typeof Pressable>, "onPress" | "accessibilityLabel" | "accessibilityHint" | "accessibilityState" | "accessibilityRole">>;
|
|
5
|
+
export declare const PressableListItemBase: ({ onPress, testID, children, accessibilityRole, ...props }: React.PropsWithChildren<PressableBaseProps>) => React.JSX.Element;
|
|
8
6
|
//# sourceMappingURL=PressableListItemsBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableListItemsBase.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/PressableListItemsBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PressableListItemsBase.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/PressableListItemsBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,MAAM,MAAM,kBAAkB,GAAG,UAAU,CACzC,IAAI,CACF,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EACpC,SAAS,GACT,oBAAoB,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,mBAAmB,CACtB,CACF,CAAC;AAEF,eAAO,MAAM,qBAAqB,+DAM/B,MAAM,iBAAiB,CAAC,kBAAkB,CAAC,sBAyB7C,CAAC"}
|
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import { ImageSourcePropType, ImageURISource } from "react-native";
|
|
2
3
|
import { IOLogoPaymentType } from "../logos";
|
|
3
|
-
type
|
|
4
|
+
type LoadingProps = {
|
|
5
|
+
isLoading: true;
|
|
6
|
+
ctaText?: string;
|
|
7
|
+
};
|
|
8
|
+
type ImageProps = {
|
|
9
|
+
paymentLogo: IOLogoPaymentType;
|
|
10
|
+
image?: never;
|
|
11
|
+
} | {
|
|
12
|
+
paymentLogo?: never;
|
|
13
|
+
image: ImageURISource | ImageSourcePropType;
|
|
14
|
+
} | {
|
|
15
|
+
paymentLogo?: never;
|
|
16
|
+
image?: never;
|
|
17
|
+
};
|
|
18
|
+
type BaseProps = {
|
|
4
19
|
isLoading?: false;
|
|
5
20
|
paymentLogo?: IOLogoPaymentType;
|
|
6
21
|
title: string;
|
|
7
22
|
subtitle?: string;
|
|
8
|
-
onPress: () => void;
|
|
9
|
-
} | {
|
|
10
|
-
isLoading: true;
|
|
11
|
-
paymentLogo?: never;
|
|
12
|
-
title?: never;
|
|
13
|
-
subtitle?: never;
|
|
14
|
-
onPress?: never;
|
|
15
|
-
};
|
|
16
|
-
export type ModuleCheckoutProps = ModuleCheckoutPartialProps & {
|
|
17
23
|
ctaText?: string;
|
|
18
|
-
|
|
24
|
+
onPress: () => void;
|
|
25
|
+
} & ImageProps;
|
|
26
|
+
export type ModuleCheckoutProps = LoadingProps | BaseProps;
|
|
19
27
|
export declare const ModuleCheckout: (props: ModuleCheckoutProps) => React.JSX.Element;
|
|
20
28
|
export {};
|
|
21
29
|
//# sourceMappingURL=ModuleCheckout.d.ts.map
|
|
@@ -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;
|
|
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;AAUtB,OAAO,EAAE,iBAAiB,EAAe,MAAM,UAAU,CAAC;AAK1D,KAAK,YAAY,GAAG;IAClB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,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,UAAW,mBAAmB,sBAsDxD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ImageSourcePropType, ImageURISource } from "react-native";
|
|
3
|
-
import { WithTestID } from "
|
|
3
|
+
import { WithTestID } from "../../utils/types";
|
|
4
4
|
import { Badge } from "../badge";
|
|
5
5
|
import { IOIcons } from "../icons";
|
|
6
6
|
import { PressableModuleBaseProps } from "./PressableModuleBase";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleCredential.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/ModuleCredential.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,mBAAmB,EACnB,cAAc,EAGf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ModuleCredential.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/ModuleCredential.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,mBAAmB,EACnB,cAAc,EAGf,MAAM,cAAc,CAAC;AAStB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAGzC,OAAO,EAEL,wBAAwB,EACzB,MAAM,uBAAuB,CAAC;AAE/B,KAAK,YAAY,GAAG;IAClB,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,KAAK,UAAU,GACX;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GAChC;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,cAAc,GAAG,mBAAmB,CAAA;CAAE,CAAC;AAElE,KAAK,SAAS,GAAG;IACf,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GAAG,UAAU,GACZ,wBAAwB,CAAC;AAE3B,KAAK,qBAAqB,GAAG,YAAY,GAAG,SAAS,CAAC;AAEtD,QAAA,MAAM,gBAAgB,UAAW,WAAW,qBAAqB,CAAC,sBA8CjE,CAAC;AAqBF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { PropsWithChildren } from "react";
|
|
3
|
+
import { Pressable } from "react-native";
|
|
3
4
|
import { WithTestID } from "../../utils/types";
|
|
4
5
|
export type PressableModuleBaseProps = WithTestID<{
|
|
5
|
-
accessibilityLabel?: string;
|
|
6
|
-
onPress?: (event: GestureResponderEvent) => void;
|
|
7
6
|
withLooseSpacing?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const PressableModuleBase: ({ onPress,
|
|
7
|
+
} & Pick<React.ComponentProps<typeof Pressable>, "onPress" | "accessibilityLabel" | "accessibilityHint">>;
|
|
8
|
+
export declare const PressableModuleBase: ({ onPress, withLooseSpacing, accessibilityLabel, accessibilityHint, testID, children }: PropsWithChildren<PressableModuleBaseProps>) => React.JSX.Element;
|
|
10
9
|
//# sourceMappingURL=PressableModuleBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PressableModuleBase.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/PressableModuleBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PressableModuleBase.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/PressableModuleBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C;IACE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,GAAG,IAAI,CACN,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EACtC,SAAS,GAAG,oBAAoB,GAAG,mBAAmB,CACvD,CACF,CAAC;AAEF,eAAO,MAAM,mBAAmB,2FAO7B,kBAAkB,wBAAwB,CAAC,sBA0B7C,CAAC"}
|
|
@@ -5,7 +5,7 @@ type Props = {
|
|
|
5
5
|
label: string;
|
|
6
6
|
onValueChange?: (newValue: boolean) => void;
|
|
7
7
|
};
|
|
8
|
-
type
|
|
8
|
+
type RadioButtonLabelProps = Props & Pick<React.ComponentProps<typeof AnimatedRadio>, "disabled" | "checked"> & Pick<React.ComponentProps<typeof Pressable>, "onPress" | "accessibilityLabel" | "accessibilityHint">;
|
|
9
9
|
/**
|
|
10
10
|
* A radio button with the automatic state management that uses a {@link AnimatedRadio}
|
|
11
11
|
* The toggleValue change when a `onPress` event is received and dispatch the `onValueChange`.
|
|
@@ -13,6 +13,6 @@ type OwnProps = Props & Pick<React.ComponentProps<typeof AnimatedRadio>, "disabl
|
|
|
13
13
|
* @param props
|
|
14
14
|
* @constructor
|
|
15
15
|
*/
|
|
16
|
-
export declare const RadioButtonLabel: ({ label, checked, disabled, onValueChange }:
|
|
16
|
+
export declare const RadioButtonLabel: ({ label, checked, disabled, onValueChange, accessibilityLabel, accessibilityHint }: RadioButtonLabelProps) => React.JSX.Element;
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=RadioButtonLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButtonLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/RadioButtonLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAQ,MAAM,cAAc,CAAC;AAM/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IAEd,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;
|
|
1
|
+
{"version":3,"file":"RadioButtonLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/RadioButtonLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAQ,MAAM,cAAc,CAAC;AAM/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IAEd,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;AAIF,KAAK,qBAAqB,GAAG,KAAK,GAChC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,GACxE,IAAI,CACF,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EACtC,SAAS,GAAG,oBAAoB,GAAG,mBAAmB,CACvD,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,uFAO1B,qBAAqB,sBA8CvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,aAAa,EAA2B,MAAM,cAAc,CAAC;AAEtE,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI;IACzB,E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AAa,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9C,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;AAEnB,KAAK,KAAK,CAAC,CAAC,IAAI,kBAAkB,CAAC,CAAC,CAAC,GAAG,4BAA4B,CAAC,CAAC,CAAC,CAAC;AAyDxE,eAAO,MAAM,UAAU,2CAKtB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { IOSpacer } from "../../core";
|
|
3
|
+
type Stack = {
|
|
4
|
+
space?: IOSpacer;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
Horizontal Stack component
|
|
9
|
+
@param {IOSpacer} space
|
|
10
|
+
*/
|
|
11
|
+
export declare const HStack: ({ space, children }: Stack) => React.JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
Vertical Stack component
|
|
14
|
+
@param {IOSpacer} space
|
|
15
|
+
*/
|
|
16
|
+
export declare const VStack: ({ space, children }: Stack) => React.JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../../src/components/stack/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,MAAM,wBAAyB,KAAK,sBAUhD,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,MAAM,wBAAyB,KAAK,sBAUhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stack/index.tsx"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAyB,MAAM,cAAc,CAAC;AAkB5E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAIzC,KAAK,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAElC,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAiGH,QAAA,MAAM,OAAO,gIAYV,OAAO,sBAiHT,CAAC;AAoBF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -10,6 +10,6 @@ type TabNavigation = {
|
|
|
10
10
|
onItemPress?: (index: number) => void;
|
|
11
11
|
children: TabNavigationChildren;
|
|
12
12
|
};
|
|
13
|
-
declare const TabNavigation: ({ color, selectedIndex
|
|
13
|
+
declare const TabNavigation: ({ color, selectedIndex, tabAlignment, onItemPress, children }: TabNavigation) => React.JSX.Element;
|
|
14
14
|
export { TabNavigation };
|
|
15
15
|
//# sourceMappingURL=TabNavigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,OAAO,EACP,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,oBAAoB,GAAG,mBAAmB,CAC9E,CAAC;AAEF,KAAK,qBAAqB,GACtB,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,GAC3B,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;AAEvC,KAAK,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;AAE3D,KAAK,aAAa,GAAG;IAEnB,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEtC,QAAQ,EAAE,qBAAqB,CAAC;CACjC,CAAC;AASF,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"TabNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,OAAO,EACP,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,oBAAoB,GAAG,mBAAmB,CAC9E,CAAC;AAEF,KAAK,qBAAqB,GACtB,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,GAC3B,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;AAEvC,KAAK,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;AAE3D,KAAK,aAAa,GAAG;IAEnB,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEtC,QAAQ,EAAE,qBAAqB,CAAC;CACjC,CAAC;AASF,QAAA,MAAM,aAAa,kEAMhB,aAAa,sBAkDf,CAAC;AAeF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -119,6 +119,7 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
119
119
|
}
|
|
120
120
|
/>
|
|
121
121
|
<View
|
|
122
|
+
accessibilityLabel="Action text"
|
|
122
123
|
accessibilityRole="button"
|
|
123
124
|
accessibilityState={
|
|
124
125
|
{
|
|
@@ -475,6 +476,7 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
475
476
|
}
|
|
476
477
|
/>
|
|
477
478
|
<View
|
|
479
|
+
accessibilityLabel="Action text"
|
|
478
480
|
accessibilityRole="button"
|
|
479
481
|
accessibilityState={
|
|
480
482
|
{
|
|
@@ -212,9 +212,10 @@ export const ButtonLink = React.forwardRef<View, ButtonLinkProps>(
|
|
|
212
212
|
return (
|
|
213
213
|
<Pressable
|
|
214
214
|
ref={ref}
|
|
215
|
-
accessibilityLabel={accessibilityLabel}
|
|
215
|
+
accessibilityLabel={accessibilityLabel || label}
|
|
216
216
|
accessibilityHint={accessibilityHint}
|
|
217
217
|
accessibilityRole={"button"}
|
|
218
|
+
accessibilityState={{ disabled }}
|
|
218
219
|
testID={testID}
|
|
219
220
|
onPress={onPress}
|
|
220
221
|
onPressIn={onPressIn}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useCallback } from "react";
|
|
1
|
+
import React, { ComponentProps, useCallback } from "react";
|
|
2
2
|
import {
|
|
3
3
|
GestureResponderEvent,
|
|
4
4
|
Pressable,
|
|
@@ -36,19 +36,21 @@ import { HSpacer } from "../spacer/Spacer";
|
|
|
36
36
|
import { buttonTextFontSize } from "../typography";
|
|
37
37
|
|
|
38
38
|
type ColorButtonOutline = "primary" | "contrast" | "danger";
|
|
39
|
-
export type ButtonOutline = WithTestID<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
export type ButtonOutline = WithTestID<
|
|
40
|
+
{
|
|
41
|
+
color?: ColorButtonOutline;
|
|
42
|
+
label: string;
|
|
43
|
+
fullWidth?: boolean;
|
|
44
|
+
// Icons
|
|
45
|
+
icon?: IOIcons;
|
|
46
|
+
iconPosition?: "start" | "end";
|
|
47
|
+
// Events
|
|
48
|
+
onPress: (event: GestureResponderEvent) => void;
|
|
49
|
+
} & Pick<
|
|
50
|
+
ComponentProps<typeof Pressable>,
|
|
51
|
+
"disabled" | "accessibilityLabel" | "accessibilityHint"
|
|
52
|
+
>
|
|
53
|
+
>;
|
|
52
54
|
|
|
53
55
|
type ColorStates = {
|
|
54
56
|
border: {
|
|
@@ -328,9 +330,10 @@ export const ButtonOutline = React.forwardRef<View, ButtonOutline>(
|
|
|
328
330
|
return (
|
|
329
331
|
<Pressable
|
|
330
332
|
ref={ref}
|
|
331
|
-
accessibilityLabel={accessibilityLabel}
|
|
333
|
+
accessibilityLabel={accessibilityLabel || label}
|
|
332
334
|
accessibilityHint={accessibilityHint}
|
|
333
335
|
accessibilityRole={"button"}
|
|
336
|
+
accessibilityState={{ disabled: disabled || false }}
|
|
334
337
|
testID={testID}
|
|
335
338
|
onPress={onPress}
|
|
336
339
|
onPressIn={onPressIn}
|