@trilogy-ds/react 0.0.21-esm-cjs → 0.0.23-esm-cjs
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/{chunk-NYA63FUK.mjs → chunk-2BQXWN3R.mjs} +1 -1
- package/lib/{chunk-J4ZFH6JK.mjs → chunk-2DMJIJTD.mjs} +3 -3
- package/lib/{chunk-EJ56Z27S.mjs → chunk-2EF72O53.mjs} +6 -6
- package/lib/{chunk-EN6H737C.mjs → chunk-33VIHGIE.mjs} +1 -1
- package/lib/{chunk-ZSAEN5X7.mjs → chunk-3QN2JTJH.mjs} +3 -3
- package/lib/{chunk-XJMDYFHO.mjs → chunk-3TFMB2ZU.mjs} +3 -3
- package/lib/{chunk-ZG3V7XRP.mjs → chunk-4J6WJU6H.mjs} +1 -1
- package/lib/{chunk-JV5B7QPH.mjs → chunk-4LBDW7MG.mjs} +3 -3
- package/lib/{chunk-NEM7FT22.mjs → chunk-5NCBENYK.mjs} +3 -3
- package/lib/{chunk-JWWWYOOC.mjs → chunk-6WPEEBMC.mjs} +1 -1
- package/lib/{chunk-3AUAH6SB.mjs → chunk-6YU73H5M.mjs} +1 -1
- package/lib/{chunk-GJJJLJXB.mjs → chunk-7HQWD2HW.mjs} +2 -2
- package/lib/{chunk-DO5SSRTA.mjs → chunk-7LIZKR65.mjs} +1 -1
- package/lib/{chunk-BT63AA2K.mjs → chunk-AVYI3IRF.mjs} +1 -1
- package/lib/{chunk-PQMMGS3V.mjs → chunk-BNFC4BW2.mjs} +1 -1
- package/lib/{chunk-7GBIPPPJ.mjs → chunk-CU2FQJB3.mjs} +2 -2
- package/lib/{chunk-FE4FFIG4.mjs → chunk-DB4LE4EW.mjs} +2 -2
- package/lib/{chunk-XPBBHWYH.mjs → chunk-DJQD6XHB.mjs} +1 -1
- package/lib/{chunk-HS3TUYYV.mjs → chunk-DOYDNMGO.mjs} +1 -1
- package/lib/{chunk-RDNWD3P4.mjs → chunk-DTG6ZDOA.mjs} +1 -1
- package/lib/{chunk-FJ6D2YGE.mjs → chunk-EFI4OPOL.mjs} +1 -1
- package/lib/{chunk-VLXOCQDY.mjs → chunk-EIBKS56D.mjs} +1 -1
- package/lib/{chunk-YRWFLE4T.mjs → chunk-EKMGL7ZZ.mjs} +1 -1
- package/lib/{chunk-PUBY4YSN.mjs → chunk-FADGUVGS.mjs} +2 -2
- package/lib/{chunk-IOGFZUIN.mjs → chunk-FKLCZFMR.mjs} +2 -2
- package/lib/{chunk-ASDIW46N.mjs → chunk-GQOES35K.mjs} +2 -2
- package/lib/{chunk-BRU34C4E.mjs → chunk-HS7PWFF3.mjs} +3 -3
- package/lib/{chunk-ZWVIIWK3.mjs → chunk-HZAMMVDY.mjs} +3 -3
- package/lib/{chunk-2JM27LG6.mjs → chunk-ILTCTVY7.mjs} +1 -1
- package/lib/{chunk-C6AECCOD.mjs → chunk-INMX4E34.mjs} +1 -1
- package/lib/{chunk-EP73KCU2.mjs → chunk-IZYESQPA.mjs} +4 -4
- package/lib/{chunk-X737YRF5.mjs → chunk-J2YGXNIH.mjs} +2 -2
- package/lib/{chunk-JT4GOHCW.mjs → chunk-JDIKK2K5.mjs} +2 -2
- package/lib/chunk-JJA6BOVR.mjs +12 -0
- package/lib/{chunk-WUCECDGY.mjs → chunk-KPIWEUFQ.mjs} +1 -1
- package/lib/{chunk-FJ7CLVIP.mjs → chunk-KRZWEBDP.mjs} +2 -2
- package/lib/{chunk-4SO7GWOJ.mjs → chunk-MIEXUCOH.mjs} +1 -1
- package/lib/{chunk-ZPYNGMOG.mjs → chunk-MR7AJAP2.mjs} +2 -2
- package/lib/{chunk-ZNFQWQ2T.mjs → chunk-NHN7GU32.mjs} +2 -2
- package/lib/{chunk-CUP62RON.mjs → chunk-NPCDCOTL.mjs} +1 -1
- package/lib/{chunk-6ENX3IQD.mjs → chunk-OQ6PNNED.mjs} +2 -2
- package/lib/{chunk-FUOU7EFL.mjs → chunk-PZ2SAVMT.mjs} +2 -2
- package/lib/{chunk-GQID4AGA.mjs → chunk-PZP5ZUI3.mjs} +1 -1
- package/lib/{chunk-OSWW7RO6.mjs → chunk-RA7237YI.mjs} +6 -6
- package/lib/{chunk-ZK7CNJ4A.mjs → chunk-RAQQH2DI.mjs} +1 -1
- package/lib/{chunk-FT2IRACC.mjs → chunk-RGEGLOEG.mjs} +2 -2
- package/lib/{chunk-LNFOP27Y.mjs → chunk-T27AVHAC.mjs} +1 -1
- package/lib/{chunk-TRCSKNBB.mjs → chunk-T2NWMSDU.mjs} +3 -3
- package/lib/{chunk-DJJVBJ43.mjs → chunk-THX2YDD5.mjs} +1 -1
- package/lib/{chunk-QAXBH7UN.mjs → chunk-TXKGISWW.mjs} +2 -2
- package/lib/{chunk-OPQY47KX.mjs → chunk-TZFHL54Q.mjs} +1 -1
- package/lib/{chunk-IZHMZGGK.mjs → chunk-UIJLFZYF.mjs} +1 -1
- package/lib/{chunk-2LL5O6MQ.mjs → chunk-UMCBNLSL.mjs} +1 -1
- package/lib/{chunk-QJCK6KDK.mjs → chunk-UQSQUPSK.mjs} +2 -2
- package/lib/{chunk-G6ILMW5U.mjs → chunk-VXYPRBJB.mjs} +3 -3
- package/lib/{chunk-CILK7BCY.mjs → chunk-WWBPXBJT.mjs} +2 -2
- package/lib/{chunk-MKSHOXCA.mjs → chunk-XRN2HE4L.mjs} +1 -1
- package/lib/{chunk-P4BQZHBF.mjs → chunk-Z44CCSOP.mjs} +1 -1
- package/lib/{chunk-ML52WYPZ.mjs → chunk-Z7AZ74DI.mjs} +2 -2
- package/lib/components/accordion/index.native.js +36 -114
- package/lib/components/accordion/index.native.mjs +3 -3
- package/lib/components/accordion/item/AccordionItem.native.js +30 -108
- package/lib/components/accordion/item/AccordionItem.native.mjs +3 -3
- package/lib/components/accordion/item/index.native.js +30 -108
- package/lib/components/accordion/item/index.native.mjs +3 -3
- package/lib/components/alert/Alert.mjs +1 -1
- package/lib/components/alert/Alert.native.js +50 -128
- package/lib/components/alert/Alert.native.mjs +13 -13
- package/lib/components/alert/index.mjs +1 -1
- package/lib/components/alert/index.native.js +50 -128
- package/lib/components/alert/index.native.mjs +13 -13
- package/lib/components/autocomplete/AutoComplete.mjs +10 -10
- package/lib/components/autocomplete/AutoComplete.native.js +58 -136
- package/lib/components/autocomplete/AutoComplete.native.mjs +16 -16
- package/lib/components/autocomplete/index.mjs +10 -10
- package/lib/components/autocomplete/index.native.js +58 -136
- package/lib/components/autocomplete/index.native.mjs +18 -18
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +11 -89
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +5 -5
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +1 -1
- package/lib/components/autocomplete/item/index.mjs +1 -1
- package/lib/components/autocomplete/item/index.native.js +11 -89
- package/lib/components/autocomplete/item/index.native.mjs +5 -5
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +1 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +27 -105
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +13 -13
- package/lib/components/autocomplete/menu/index.mjs +2 -2
- package/lib/components/autocomplete/menu/index.native.js +27 -105
- package/lib/components/autocomplete/menu/index.native.mjs +13 -13
- package/lib/components/autolayout/index.mjs +3 -3
- package/lib/components/badge/Badge.mjs +1 -1
- package/lib/components/badge/Badge.native.js +20 -98
- package/lib/components/badge/Badge.native.mjs +11 -11
- package/lib/components/badge/index.mjs +1 -1
- package/lib/components/badge/index.native.js +20 -98
- package/lib/components/badge/index.native.mjs +11 -11
- package/lib/components/box/Box.native.js +15 -93
- package/lib/components/box/Box.native.mjs +2 -2
- package/lib/components/box/content/BoxContent.mjs +1 -1
- package/lib/components/box/content/index.mjs +1 -1
- package/lib/components/box/footer/BoxFooter.mjs +1 -1
- package/lib/components/box/footer/BoxFooter.native.js +17 -95
- package/lib/components/box/footer/BoxFooter.native.mjs +10 -10
- package/lib/components/box/footer/index.mjs +1 -1
- package/lib/components/box/footer/index.native.js +17 -95
- package/lib/components/box/footer/index.native.mjs +10 -10
- package/lib/components/box/header/BoxHeader.mjs +1 -1
- package/lib/components/box/header/index.mjs +1 -1
- package/lib/components/box/index.mjs +5 -5
- package/lib/components/box/index.native.js +44 -122
- package/lib/components/box/index.native.mjs +14 -14
- package/lib/components/breadcrumb/Breadcrumb.native.js +17 -95
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +3 -3
- package/lib/components/breadcrumb/index.mjs +1 -1
- package/lib/components/breadcrumb/index.native.js +25 -103
- package/lib/components/breadcrumb/index.native.mjs +7 -7
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +12 -90
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +5 -5
- package/lib/components/breadcrumb/item/index.mjs +1 -1
- package/lib/components/breadcrumb/item/index.native.js +12 -90
- package/lib/components/breadcrumb/item/index.native.mjs +5 -5
- package/lib/components/button/Button.mjs +1 -1
- package/lib/components/button/Button.native.js +32 -110
- package/lib/components/button/Button.native.mjs +11 -11
- package/lib/components/button/index.mjs +1 -1
- package/lib/components/button/index.native.js +34 -112
- package/lib/components/button/index.native.mjs +11 -11
- package/lib/components/button/list/ButtonList.mjs +1 -1
- package/lib/components/button/list/index.mjs +1 -1
- package/lib/components/calendar/Calendar.mjs +10 -10
- package/lib/components/calendar/Calendar.native.js +55 -133
- package/lib/components/calendar/Calendar.native.mjs +6 -6
- package/lib/components/calendar/index.mjs +10 -10
- package/lib/components/calendar/index.native.js +55 -133
- package/lib/components/calendar/index.native.mjs +6 -6
- package/lib/components/card/Card.native.js +12 -90
- package/lib/components/card/Card.native.mjs +2 -2
- package/lib/components/card/content/CardContent.native.js +15 -93
- package/lib/components/card/content/CardContent.native.mjs +3 -3
- package/lib/components/card/content/index.native.js +15 -93
- package/lib/components/card/content/index.native.mjs +3 -3
- package/lib/components/card/image/CardImage.native.js +17 -95
- package/lib/components/card/image/CardImage.native.mjs +3 -3
- package/lib/components/card/image/index.native.js +17 -95
- package/lib/components/card/image/index.native.mjs +3 -3
- package/lib/components/card/index.mjs +1 -1
- package/lib/components/card/index.native.js +20 -98
- package/lib/components/card/index.native.mjs +6 -6
- package/lib/components/checkbox/Checkbox.native.js +21 -99
- package/lib/components/checkbox/Checkbox.native.mjs +6 -6
- package/lib/components/checkbox/index.mjs +9 -9
- package/lib/components/checkbox/index.native.js +46 -124
- package/lib/components/checkbox/index.native.mjs +15 -15
- package/lib/components/checkbox/list/CheckboxList.mjs +9 -9
- package/lib/components/checkbox/list/CheckboxList.native.js +10 -88
- package/lib/components/checkbox/list/CheckboxList.native.mjs +5 -5
- package/lib/components/checkbox/list/index.mjs +9 -9
- package/lib/components/checkbox/list/index.native.js +10 -88
- package/lib/components/checkbox/list/index.native.mjs +5 -5
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +9 -9
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +35 -113
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +13 -13
- package/lib/components/checkbox/tiles/tile/index.mjs +9 -9
- package/lib/components/checkbox/tiles/tile/index.native.js +35 -113
- package/lib/components/checkbox/tiles/tile/index.native.mjs +13 -13
- package/lib/components/chips/Chips.native.js +28 -106
- package/lib/components/chips/Chips.native.mjs +6 -6
- package/lib/components/chips/index.native.js +28 -106
- package/lib/components/chips/index.native.mjs +6 -6
- package/lib/components/columns/column/Column.native.js +16 -94
- package/lib/components/columns/column/Column.native.mjs +10 -10
- package/lib/components/columns/column/index.native.js +16 -94
- package/lib/components/columns/column/index.native.mjs +10 -10
- package/lib/components/columns/index.native.js +16 -94
- package/lib/components/columns/index.native.mjs +10 -10
- package/lib/components/countdown/Countdown.native.js +11 -89
- package/lib/components/countdown/Countdown.native.mjs +5 -5
- package/lib/components/countdown/index.native.js +11 -89
- package/lib/components/countdown/index.native.mjs +5 -5
- package/lib/components/datepicker/DatePicker.mjs +10 -10
- package/lib/components/datepicker/DatePicker.native.js +62 -140
- package/lib/components/datepicker/DatePicker.native.mjs +7 -7
- package/lib/components/datepicker/index.mjs +10 -10
- package/lib/components/datepicker/index.native.js +62 -140
- package/lib/components/datepicker/index.native.mjs +7 -7
- package/lib/components/divider/Divider.mjs +1 -1
- package/lib/components/divider/Divider.native.js +25 -103
- package/lib/components/divider/Divider.native.mjs +6 -6
- package/lib/components/divider/index.mjs +1 -1
- package/lib/components/divider/index.native.js +25 -103
- package/lib/components/divider/index.native.mjs +6 -6
- package/lib/components/fab/Fab.mjs +1 -1
- package/lib/components/fab/Fab.native.js +21 -99
- package/lib/components/fab/Fab.native.mjs +12 -12
- package/lib/components/fab/index.mjs +1 -1
- package/lib/components/fab/index.native.js +21 -99
- package/lib/components/fab/index.native.mjs +12 -12
- package/lib/components/flex-box/FlexBox.native.js +22 -100
- package/lib/components/flex-box/FlexBox.native.mjs +10 -10
- package/lib/components/flex-box/index.native.js +24 -102
- package/lib/components/flex-box/index.native.mjs +10 -10
- package/lib/components/hero/Hero.native.js +56 -134
- package/lib/components/hero/Hero.native.mjs +13 -13
- package/lib/components/hero/index.native.js +56 -134
- package/lib/components/hero/index.native.mjs +13 -13
- package/lib/components/icon/Icon.mjs +1 -1
- package/lib/components/icon/Icon.native.js +14 -92
- package/lib/components/icon/Icon.native.mjs +2 -2
- package/lib/components/icon/index.mjs +1 -1
- package/lib/components/icon/index.native.js +14 -92
- package/lib/components/icon/index.native.mjs +2 -2
- package/lib/components/image/Image.mjs +9 -9
- package/lib/components/image/index.mjs +9 -9
- package/lib/components/index.js +7 -85
- package/lib/components/index.mjs +55 -55
- package/lib/components/index.native.js +483 -561
- package/lib/components/index.native.mjs +84 -84
- package/lib/components/input/Input.mjs +9 -9
- package/lib/components/input/Input.native.js +46 -124
- package/lib/components/input/Input.native.mjs +13 -13
- package/lib/components/input/gauge/InputGauge.mjs +9 -9
- package/lib/components/input/gauge/InputGauge.native.js +22 -100
- package/lib/components/input/gauge/InputGauge.native.mjs +12 -12
- package/lib/components/input/gauge/hook/useGauge.mjs +9 -9
- package/lib/components/input/gauge/hook/useGauge.native.js +14 -92
- package/lib/components/input/gauge/hook/useGauge.native.mjs +10 -10
- package/lib/components/input/index.mjs +9 -9
- package/lib/components/input/index.native.js +46 -124
- package/lib/components/input/index.native.mjs +13 -13
- package/lib/components/link/Link.mjs +1 -1
- package/lib/components/link/Link.native.js +21 -99
- package/lib/components/link/Link.native.mjs +3 -3
- package/lib/components/link/index.mjs +1 -1
- package/lib/components/link/index.native.js +21 -99
- package/lib/components/link/index.native.mjs +3 -3
- package/lib/components/list/index.mjs +9 -9
- package/lib/components/list/index.native.js +22 -100
- package/lib/components/list/index.native.mjs +13 -13
- package/lib/components/list/item/ListItem.mjs +9 -9
- package/lib/components/list/item/ListItem.native.js +22 -100
- package/lib/components/list/item/ListItem.native.mjs +12 -12
- package/lib/components/list/item/description/ListItemDescription.mjs +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.js +31 -109
- package/lib/components/list/item/description/ListItemDescription.native.mjs +12 -12
- package/lib/components/list/item/description/index.mjs +1 -1
- package/lib/components/list/item/description/index.native.js +31 -109
- package/lib/components/list/item/description/index.native.mjs +12 -12
- package/lib/components/list/item/index.mjs +9 -9
- package/lib/components/list/item/index.native.js +22 -100
- package/lib/components/list/item/index.native.mjs +13 -13
- package/lib/components/modal/Modal.mjs +1 -1
- package/lib/components/modal/Modal.native.js +31 -109
- package/lib/components/modal/Modal.native.mjs +12 -12
- package/lib/components/modal/body/ModalBody.mjs +1 -1
- package/lib/components/modal/body/ModalBody.native.js +17 -95
- package/lib/components/modal/body/ModalBody.native.mjs +10 -10
- package/lib/components/modal/body/index.native.js +17 -95
- package/lib/components/modal/body/index.native.mjs +10 -10
- package/lib/components/modal/footer/ModalFooter.mjs +1 -1
- package/lib/components/modal/footer/ModalFooter.native.js +22 -100
- package/lib/components/modal/footer/ModalFooter.native.mjs +12 -12
- package/lib/components/modal/footer/index.native.js +22 -100
- package/lib/components/modal/footer/index.native.mjs +12 -12
- package/lib/components/modal/index.mjs +1 -1
- package/lib/components/modal/index.native.js +37 -115
- package/lib/components/modal/index.native.mjs +13 -13
- package/lib/components/otp/Otp.mjs +1 -1
- package/lib/components/otp/Otp.native.js +29 -107
- package/lib/components/otp/Otp.native.mjs +13 -13
- package/lib/components/otp/index.mjs +1 -1
- package/lib/components/otp/index.native.js +29 -107
- package/lib/components/otp/index.native.mjs +13 -13
- package/lib/components/pagination/Pagination.mjs +1 -1
- package/lib/components/pagination/Pagination.native.js +26 -104
- package/lib/components/pagination/Pagination.native.mjs +6 -6
- package/lib/components/pagination/index.mjs +1 -1
- package/lib/components/pagination/index.native.js +26 -104
- package/lib/components/pagination/index.native.mjs +6 -6
- package/lib/components/popover/Popover.native.js +21 -99
- package/lib/components/popover/Popover.native.mjs +10 -10
- package/lib/components/popover/index.native.js +21 -99
- package/lib/components/popover/index.native.mjs +10 -10
- package/lib/components/price/Price.mjs +9 -9
- package/lib/components/price/Price.native.js +21 -99
- package/lib/components/price/Price.native.mjs +10 -10
- package/lib/components/price/index.mjs +9 -9
- package/lib/components/price/index.native.js +21 -99
- package/lib/components/price/index.native.mjs +10 -10
- package/lib/components/product-tour/ProductTour.mjs +1 -1
- package/lib/components/product-tour/index.mjs +1 -1
- package/lib/components/progress/Progress.mjs +9 -9
- package/lib/components/progress/Progress.native.js +36 -114
- package/lib/components/progress/Progress.native.mjs +12 -12
- package/lib/components/progress/index.mjs +9 -9
- package/lib/components/progress/index.native.js +56 -134
- package/lib/components/progress/index.native.mjs +13 -13
- package/lib/components/progress/item/ProgressItem.mjs +9 -9
- package/lib/components/progress/item/index.mjs +9 -9
- package/lib/components/progress/radial/ProgressRadial.mjs +1 -1
- package/lib/components/progress/radial/ProgressRadial.native.js +37 -115
- package/lib/components/progress/radial/ProgressRadial.native.mjs +12 -12
- package/lib/components/progress/radial/index.mjs +1 -1
- package/lib/components/progress/radial/index.native.js +37 -115
- package/lib/components/progress/radial/index.native.mjs +12 -12
- package/lib/components/progress/radial/item/ProgressRadialtem.mjs +1 -1
- package/lib/components/progress/radial/item/index.mjs +1 -1
- package/lib/components/radio/Radio.native.js +24 -102
- package/lib/components/radio/Radio.native.mjs +12 -12
- package/lib/components/radio/index.mjs +12 -12
- package/lib/components/radio/index.native.js +35 -113
- package/lib/components/radio/index.native.mjs +17 -17
- package/lib/components/radio/list/RadioList.mjs +9 -9
- package/lib/components/radio/list/RadioList.native.mjs +1 -1
- package/lib/components/radio/list/index.mjs +9 -9
- package/lib/components/radio/list/index.native.mjs +1 -1
- package/lib/components/radio/tiles/RadioTiles.mjs +9 -9
- package/lib/components/radio/tiles/index.mjs +9 -9
- package/lib/components/radio/tiles/tile/RadioTile.mjs +9 -9
- package/lib/components/radio/tiles/tile/RadioTile.native.js +29 -107
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +13 -13
- package/lib/components/radio/tiles/tile/index.mjs +9 -9
- package/lib/components/radio/tiles/tile/index.native.js +29 -107
- package/lib/components/radio/tiles/tile/index.native.mjs +13 -13
- package/lib/components/range/Range.mjs +9 -9
- package/lib/components/range/Range.native.js +24 -102
- package/lib/components/range/Range.native.mjs +12 -12
- package/lib/components/range/index.mjs +9 -9
- package/lib/components/range/index.native.js +24 -102
- package/lib/components/range/index.native.mjs +12 -12
- package/lib/components/rows/Rows.mjs +1 -1
- package/lib/components/rows/index.mjs +1 -1
- package/lib/components/rows/row/Row.mjs +1 -1
- package/lib/components/rows/row/index.mjs +1 -1
- package/lib/components/scroll-view/ScrollView.mjs +9 -9
- package/lib/components/scroll-view/ScrollView.native.js +23 -101
- package/lib/components/scroll-view/ScrollView.native.mjs +10 -10
- package/lib/components/scroll-view/index.mjs +9 -9
- package/lib/components/scroll-view/index.native.js +23 -101
- package/lib/components/scroll-view/index.native.mjs +10 -10
- package/lib/components/section/Section.mjs +9 -9
- package/lib/components/section/Section.native.js +19 -97
- package/lib/components/section/Section.native.mjs +10 -10
- package/lib/components/section/index.mjs +9 -9
- package/lib/components/section/index.native.js +19 -97
- package/lib/components/section/index.native.mjs +10 -10
- package/lib/components/segment-control/SegmentControl.mjs +9 -9
- package/lib/components/segment-control/SegmentControl.native.js +33 -111
- package/lib/components/segment-control/SegmentControl.native.mjs +13 -13
- package/lib/components/segment-control/index.mjs +9 -9
- package/lib/components/segment-control/index.native.js +37 -115
- package/lib/components/segment-control/index.native.mjs +13 -13
- package/lib/components/segment-control/item/SegmentControlItem.mjs +1 -1
- package/lib/components/segment-control/item/index.mjs +1 -1
- package/lib/components/select/Select.mjs +10 -10
- package/lib/components/select/Select.native.js +75 -153
- package/lib/components/select/Select.native.mjs +19 -19
- package/lib/components/select/index.mjs +10 -10
- package/lib/components/select/index.native.js +75 -153
- package/lib/components/select/index.native.mjs +19 -19
- package/lib/components/select/option/SelectOption.mjs +1 -1
- package/lib/components/select/option/SelectOption.native.js +23 -101
- package/lib/components/select/option/SelectOption.native.mjs +12 -12
- package/lib/components/select/option/index.mjs +1 -1
- package/lib/components/select/option/index.native.js +23 -101
- package/lib/components/select/option/index.native.mjs +13 -13
- package/lib/components/select/web/SelectDynamic.mjs +9 -9
- package/lib/components/select/web/SelectNative.mjs +10 -10
- package/lib/components/select/web/index.mjs +10 -10
- package/lib/components/skeleton/Skeleton.d.mts +4 -0
- package/lib/components/skeleton/Skeleton.d.ts +4 -0
- package/lib/components/skeleton/Skeleton.js +41 -0
- package/lib/components/skeleton/Skeleton.mjs +8 -0
- package/lib/components/skeleton/index.d.mts +1 -1
- package/lib/components/skeleton/index.d.ts +1 -1
- package/lib/components/skeleton/index.js +5 -83
- package/lib/components/skeleton/index.mjs +3 -3
- package/lib/components/skeleton/index.native.d.mts +3 -0
- package/lib/components/skeleton/index.native.d.ts +3 -0
- package/lib/components/skeleton/index.native.js +125 -0
- package/lib/components/skeleton/index.native.mjs +9 -0
- package/lib/components/stepper/Stepper.mjs +1 -1
- package/lib/components/stepper/Stepper.native.js +21 -99
- package/lib/components/stepper/Stepper.native.mjs +12 -12
- package/lib/components/stepper/index.mjs +2 -2
- package/lib/components/stepper/index.native.js +27 -105
- package/lib/components/stepper/index.native.mjs +12 -12
- package/lib/components/stepper/step/Step.mjs +1 -1
- package/lib/components/stepper/step/Step.native.js +20 -98
- package/lib/components/stepper/step/Step.native.mjs +10 -10
- package/lib/components/stepper/step/index.mjs +2 -2
- package/lib/components/stepper/step/index.native.js +20 -98
- package/lib/components/stepper/step/index.native.mjs +10 -10
- package/lib/components/sticker/Sticker.mjs +9 -9
- package/lib/components/sticker/Sticker.native.js +21 -99
- package/lib/components/sticker/Sticker.native.mjs +12 -12
- package/lib/components/sticker/index.mjs +9 -9
- package/lib/components/sticker/index.native.js +21 -99
- package/lib/components/sticker/index.native.mjs +12 -12
- package/lib/components/styleComponent/index.mjs +4 -4
- package/lib/components/switch/Switch.mjs +9 -9
- package/lib/components/switch/Switch.native.js +17 -95
- package/lib/components/switch/Switch.native.mjs +10 -10
- package/lib/components/switch/index.mjs +9 -9
- package/lib/components/switch/index.native.js +17 -95
- package/lib/components/switch/index.native.mjs +10 -10
- package/lib/components/table/Table.native.js +17 -95
- package/lib/components/table/Table.native.mjs +10 -10
- package/lib/components/table/index.mjs +4 -4
- package/lib/components/table/index.native.js +45 -123
- package/lib/components/table/index.native.mjs +16 -16
- package/lib/components/table/td/TableTd.native.js +17 -95
- package/lib/components/table/td/TableTd.native.mjs +10 -10
- package/lib/components/table/td/index.native.js +17 -95
- package/lib/components/table/td/index.native.mjs +10 -10
- package/lib/components/table/th/TableTh.native.js +33 -111
- package/lib/components/table/th/TableTh.native.mjs +12 -12
- package/lib/components/table/th/index.native.js +33 -111
- package/lib/components/table/th/index.native.mjs +12 -12
- package/lib/components/table/tr/TableTr.native.js +31 -109
- package/lib/components/table/tr/TableTr.native.mjs +12 -12
- package/lib/components/table/tr/index.native.js +31 -109
- package/lib/components/table/tr/index.native.mjs +12 -12
- package/lib/components/tabs/index.mjs +7 -7
- package/lib/components/tabs/index.native.js +36 -114
- package/lib/components/tabs/index.native.mjs +17 -17
- package/lib/components/tabs/tab-list/TabList.mjs +1 -1
- package/lib/components/tabs/tab-list/TabList.native.js +27 -105
- package/lib/components/tabs/tab-list/TabList.native.mjs +13 -13
- package/lib/components/tabs/tab-list/index.mjs +1 -1
- package/lib/components/tabs/tab-list/index.native.js +27 -105
- package/lib/components/tabs/tab-list/index.native.mjs +13 -13
- package/lib/components/tabs/tab-list/tab/Tab.mjs +1 -1
- package/lib/components/tabs/tab-list/tab/Tab.native.js +22 -100
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +6 -6
- package/lib/components/tabs/tab-list/tab/index.mjs +1 -1
- package/lib/components/tabs/tab-list/tab/index.native.js +22 -100
- package/lib/components/tabs/tab-list/tab/index.native.mjs +6 -6
- package/lib/components/tabs/tab-panels/TabPanels.native.js +17 -95
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +10 -10
- package/lib/components/tabs/tab-panels/index.native.js +17 -95
- package/lib/components/tabs/tab-panels/index.native.mjs +10 -10
- package/lib/components/tag/Tag.mjs +1 -1
- package/lib/components/tag/Tag.native.js +18 -96
- package/lib/components/tag/Tag.native.mjs +3 -3
- package/lib/components/tag/index.mjs +9 -9
- package/lib/components/tag/index.native.js +21 -99
- package/lib/components/tag/index.native.mjs +3 -3
- package/lib/components/tag/list/TagList.mjs +9 -9
- package/lib/components/tag/list/index.mjs +9 -9
- package/lib/components/text/Text.native.js +8 -86
- package/lib/components/text/Text.native.mjs +4 -4
- package/lib/components/text/index.native.js +8 -86
- package/lib/components/text/index.native.mjs +4 -4
- package/lib/components/textarea/Textarea.mjs +9 -9
- package/lib/components/textarea/Textarea.native.js +28 -106
- package/lib/components/textarea/Textarea.native.mjs +12 -12
- package/lib/components/textarea/index.mjs +9 -9
- package/lib/components/textarea/index.native.js +28 -106
- package/lib/components/textarea/index.native.mjs +12 -12
- package/lib/components/timeline/Timeline.mjs +1 -1
- package/lib/components/timeline/content/TimelineContent.mjs +1 -1
- package/lib/components/timeline/content/TimelineContent.native.js +34 -112
- package/lib/components/timeline/content/TimelineContent.native.mjs +13 -13
- package/lib/components/timeline/content/index.mjs +1 -1
- package/lib/components/timeline/content/index.native.js +34 -112
- package/lib/components/timeline/content/index.native.mjs +13 -13
- package/lib/components/timeline/index.mjs +6 -6
- package/lib/components/timeline/index.native.js +38 -116
- package/lib/components/timeline/index.native.mjs +15 -15
- package/lib/components/timeline/item/TimelineItem.mjs +1 -1
- package/lib/components/timeline/item/index.mjs +1 -1
- package/lib/components/timeline/marker/TimelineMarker.mjs +1 -1
- package/lib/components/timeline/marker/TimelineMarker.native.js +27 -105
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +11 -11
- package/lib/components/timeline/marker/index.mjs +1 -1
- package/lib/components/timeline/marker/index.native.js +27 -105
- package/lib/components/timeline/marker/index.native.mjs +12 -12
- package/lib/components/title/Title.native.js +19 -97
- package/lib/components/title/Title.native.mjs +11 -11
- package/lib/components/title/index.native.js +19 -97
- package/lib/components/title/index.native.mjs +11 -11
- package/lib/components/view/View.mjs +9 -9
- package/lib/components/view/View.native.js +24 -102
- package/lib/components/view/View.native.mjs +10 -10
- package/lib/components/view/index.mjs +9 -9
- package/lib/components/view/index.native.js +24 -102
- package/lib/components/view/index.native.mjs +10 -10
- package/lib/context/provider/index.js +1 -1
- package/lib/context/provider/index.mjs +2 -2
- package/lib/context/test/provider.test.js +1 -1
- package/lib/context/test/provider.test.mjs +2 -2
- package/lib/helpers/index.mjs +3 -3
- package/lib/helpers/index.native.mjs +3 -3
- package/lib/index.js +8 -86
- package/lib/index.mjs +63 -63
- package/lib/index.native.js +484 -562
- package/lib/index.native.mjs +95 -95
- package/lib/objects/Typography/index.mjs +3 -3
- package/lib/objects/Typography/index.native.mjs +7 -7
- package/lib/objects/facets/Status/index.mjs +1 -1
- package/lib/objects/facets/Status/index.native.js +14 -92
- package/lib/objects/facets/Status/index.native.mjs +2 -2
- package/lib/objects/facets/index.mjs +9 -9
- package/lib/objects/facets/index.native.js +14 -92
- package/lib/objects/facets/index.native.mjs +10 -10
- package/lib/objects/index.mjs +13 -13
- package/lib/objects/index.native.js +14 -92
- package/lib/objects/index.native.mjs +17 -17
- package/lib/version.d.mts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -167,92 +167,14 @@ var getAlignStyle = (alignType) => {
|
|
|
167
167
|
|
|
168
168
|
// components/icon/Icon.native.tsx
|
|
169
169
|
var import_react5 = __toESM(require("react"));
|
|
170
|
-
var
|
|
170
|
+
var import_react_native2 = require("react-native");
|
|
171
171
|
|
|
172
|
-
// components/skeleton/Skeleton.
|
|
172
|
+
// components/skeleton/Skeleton.tsx
|
|
173
173
|
var import_react4 = __toESM(require("react"));
|
|
174
|
-
var
|
|
175
|
-
|
|
176
|
-
style,
|
|
177
|
-
width = "100%",
|
|
178
|
-
height = 20,
|
|
179
|
-
backgroundColor = "#E1E9EE",
|
|
180
|
-
shimmerColor = "#F7F8F8",
|
|
181
|
-
duration = 1200,
|
|
182
|
-
borderRadius = 4,
|
|
183
|
-
children,
|
|
184
|
-
testID
|
|
185
|
-
}) => {
|
|
186
|
-
const shimmerValue = (0, import_react4.useRef)(new import_react_native2.Animated.Value(0)).current;
|
|
187
|
-
const [containerWidth, setContainerWidth] = import_react4.default.useState(200);
|
|
188
|
-
(0, import_react4.useEffect)(() => {
|
|
189
|
-
const shimmerAnimation = import_react_native2.Animated.loop(
|
|
190
|
-
import_react_native2.Animated.timing(shimmerValue, {
|
|
191
|
-
toValue: 1,
|
|
192
|
-
duration,
|
|
193
|
-
useNativeDriver: true
|
|
194
|
-
}),
|
|
195
|
-
{ iterations: -1 }
|
|
196
|
-
);
|
|
197
|
-
shimmerAnimation.start();
|
|
198
|
-
return () => shimmerAnimation.stop();
|
|
199
|
-
}, [shimmerValue, duration]);
|
|
200
|
-
const translateX = shimmerValue.interpolate({
|
|
201
|
-
inputRange: [0, 1],
|
|
202
|
-
outputRange: [-containerWidth, containerWidth]
|
|
203
|
-
});
|
|
204
|
-
const opacity = shimmerValue.interpolate({
|
|
205
|
-
inputRange: [0, 0.5, 1],
|
|
206
|
-
outputRange: [0.3, 0.8, 0.3]
|
|
207
|
-
});
|
|
208
|
-
const containerStyle = {
|
|
209
|
-
width: children ? void 0 : width,
|
|
210
|
-
height: children ? void 0 : height,
|
|
211
|
-
backgroundColor,
|
|
212
|
-
borderRadius,
|
|
213
|
-
overflow: "hidden",
|
|
214
|
-
alignSelf: children ? "flex-start" : void 0,
|
|
215
|
-
...style
|
|
216
|
-
};
|
|
217
|
-
const handleLayout = (event) => {
|
|
218
|
-
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
219
|
-
setContainerWidth(layoutWidth);
|
|
220
|
-
};
|
|
221
|
-
if (children) {
|
|
222
|
-
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react4.default.createElement(
|
|
223
|
-
import_react_native2.Animated.View,
|
|
224
|
-
{
|
|
225
|
-
style: [
|
|
226
|
-
{
|
|
227
|
-
position: "absolute",
|
|
228
|
-
top: 0,
|
|
229
|
-
left: 0,
|
|
230
|
-
width: containerWidth * 0.7,
|
|
231
|
-
height: "100%",
|
|
232
|
-
backgroundColor: shimmerColor,
|
|
233
|
-
opacity,
|
|
234
|
-
transform: [{ translateX }]
|
|
235
|
-
}
|
|
236
|
-
]
|
|
237
|
-
}
|
|
238
|
-
));
|
|
239
|
-
}
|
|
240
|
-
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(
|
|
241
|
-
import_react_native2.Animated.View,
|
|
242
|
-
{
|
|
243
|
-
style: [
|
|
244
|
-
{
|
|
245
|
-
width: containerWidth * 0.7,
|
|
246
|
-
height: "100%",
|
|
247
|
-
backgroundColor: shimmerColor,
|
|
248
|
-
opacity,
|
|
249
|
-
transform: [{ translateX }]
|
|
250
|
-
}
|
|
251
|
-
]
|
|
252
|
-
}
|
|
253
|
-
));
|
|
174
|
+
var Skeleton = () => {
|
|
175
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", null);
|
|
254
176
|
};
|
|
255
|
-
var
|
|
177
|
+
var Skeleton_default = Skeleton;
|
|
256
178
|
|
|
257
179
|
// components/icon/Icon.native.tsx
|
|
258
180
|
var import_css = require("react-native-svg/css");
|
|
@@ -268,7 +190,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
268
190
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
269
191
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
270
192
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
271
|
-
const styles4 =
|
|
193
|
+
const styles4 = import_react_native2.StyleSheet.create({
|
|
272
194
|
rootView: {
|
|
273
195
|
alignSelf: getAlignStyle(align)
|
|
274
196
|
},
|
|
@@ -312,7 +234,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
312
234
|
}
|
|
313
235
|
});
|
|
314
236
|
const IconSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
315
|
-
|
|
237
|
+
Skeleton_default,
|
|
316
238
|
{
|
|
317
239
|
style: styles4.skeleton,
|
|
318
240
|
width: circledWidth,
|
|
@@ -324,10 +246,10 @@ var Icon = import_react5.default.forwardRef(
|
|
|
324
246
|
if (skeleton) {
|
|
325
247
|
return /* @__PURE__ */ import_react5.default.createElement(IconSkeleton, null);
|
|
326
248
|
}
|
|
327
|
-
let iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
249
|
+
let iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, null);
|
|
328
250
|
if (name && icons) {
|
|
329
251
|
if (stretched && !circled) {
|
|
330
|
-
iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
252
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles4.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
331
253
|
import_css.WithLocalSvg,
|
|
332
254
|
{
|
|
333
255
|
style: [styles4.iconCircled, styles4.icon],
|
|
@@ -338,7 +260,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
338
260
|
}
|
|
339
261
|
));
|
|
340
262
|
} else if (circled) {
|
|
341
|
-
iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
263
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles4.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
342
264
|
import_css.WithLocalSvg,
|
|
343
265
|
{
|
|
344
266
|
style: [styles4.iconCircled, styles4.icon],
|
|
@@ -349,7 +271,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
349
271
|
}
|
|
350
272
|
));
|
|
351
273
|
} else {
|
|
352
|
-
iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
274
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles4.iconContainer, ...others }, /* @__PURE__ */ import_react5.default.createElement(
|
|
353
275
|
import_css.WithLocalSvg,
|
|
354
276
|
{
|
|
355
277
|
style: [styles4.icon, style],
|
|
@@ -361,8 +283,8 @@ var Icon = import_react5.default.forwardRef(
|
|
|
361
283
|
));
|
|
362
284
|
}
|
|
363
285
|
}
|
|
364
|
-
return onClick ? /* @__PURE__ */ import_react5.default.createElement(
|
|
365
|
-
|
|
286
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles4.rootView, testID: testId, ref }, /* @__PURE__ */ import_react5.default.createElement(
|
|
287
|
+
import_react_native2.TouchableOpacity,
|
|
366
288
|
{
|
|
367
289
|
style: { width: "100%" },
|
|
368
290
|
onPress: onClick,
|
|
@@ -370,7 +292,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
370
292
|
testID: `${testId}-pressable`
|
|
371
293
|
},
|
|
372
294
|
iconView
|
|
373
|
-
)) : /* @__PURE__ */ import_react5.default.createElement(
|
|
295
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles4.rootView, testID: testId, ref }, iconView);
|
|
374
296
|
}
|
|
375
297
|
);
|
|
376
298
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -406,14 +328,14 @@ var setTypographyColor = (typo = "", inverted = false, loading = false) => {
|
|
|
406
328
|
|
|
407
329
|
// components/text/Text.native.tsx
|
|
408
330
|
var import_react7 = __toESM(require("react"));
|
|
409
|
-
var
|
|
331
|
+
var import_react_native3 = require("react-native");
|
|
410
332
|
var Text = import_react7.default.forwardRef(
|
|
411
333
|
({ children, level, style, inverted, typo, skeleton, accessibilityLabel, numberOfLines = 0, ...others }, ref) => {
|
|
412
334
|
const statesContext = (0, import_react7.useContext)(StatesContext);
|
|
413
335
|
const textLevels = (level2) => {
|
|
414
336
|
return level2 && level2 == 1 /* ONE */ && 16 || level2 && level2 == 2 /* TWO */ && 14 || level2 && level2 == 3 /* THREE */ && 12 || level2 && level2 == 4 /* FOUR */ && 10 || 14;
|
|
415
337
|
};
|
|
416
|
-
const styles4 =
|
|
338
|
+
const styles4 = import_react_native3.StyleSheet.create({
|
|
417
339
|
text: {
|
|
418
340
|
fontFamily: getTypographyBoldStyle(typo),
|
|
419
341
|
fontSize: textLevels(level),
|
|
@@ -435,7 +357,7 @@ var Text = import_react7.default.forwardRef(
|
|
|
435
357
|
});
|
|
436
358
|
const textAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
437
359
|
let textView = /* @__PURE__ */ import_react7.default.createElement(
|
|
438
|
-
|
|
360
|
+
import_react_native3.Text,
|
|
439
361
|
{
|
|
440
362
|
ref,
|
|
441
363
|
numberOfLines,
|
|
@@ -450,7 +372,7 @@ var Text = import_react7.default.forwardRef(
|
|
|
450
372
|
);
|
|
451
373
|
if (skeleton) {
|
|
452
374
|
textView = /* @__PURE__ */ import_react7.default.createElement(
|
|
453
|
-
|
|
375
|
+
Skeleton_default,
|
|
454
376
|
{
|
|
455
377
|
style: styles4.skeleton,
|
|
456
378
|
height: textLevels(level),
|
|
@@ -476,19 +398,19 @@ var STATUS_COLORS = {
|
|
|
476
398
|
|
|
477
399
|
// components/input/Input.native.tsx
|
|
478
400
|
var import_react10 = __toESM(require("react"));
|
|
479
|
-
var
|
|
401
|
+
var import_react_native6 = require("react-native");
|
|
480
402
|
|
|
481
403
|
// components/spacer/Spacer.native.tsx
|
|
482
404
|
var React5 = __toESM(require("react"));
|
|
483
|
-
var
|
|
405
|
+
var import_react_native4 = require("react-native");
|
|
484
406
|
var Spacer = React5.forwardRef(({ size, horizontal }, ref) => {
|
|
485
|
-
const styles4 =
|
|
407
|
+
const styles4 = import_react_native4.StyleSheet.create({
|
|
486
408
|
spacer: {
|
|
487
409
|
marginLeft: horizontal && parseInt(size.toString()) || 0,
|
|
488
410
|
marginTop: !horizontal && parseInt(size.toString()) || 0
|
|
489
411
|
}
|
|
490
412
|
});
|
|
491
|
-
return /* @__PURE__ */ React5.createElement(
|
|
413
|
+
return /* @__PURE__ */ React5.createElement(import_react_native4.View, { ref, style: styles4.spacer });
|
|
492
414
|
});
|
|
493
415
|
Spacer.displayName = "Spacer" /* Spacer */;
|
|
494
416
|
var Spacer_native_default = Spacer;
|
|
@@ -512,7 +434,7 @@ var SpacerSizeValues = `${SpacerSize}`;
|
|
|
512
434
|
|
|
513
435
|
// components/input/gauge/InputGauge.native.tsx
|
|
514
436
|
var import_react9 = __toESM(require("react"));
|
|
515
|
-
var
|
|
437
|
+
var import_react_native5 = require("react-native");
|
|
516
438
|
|
|
517
439
|
// components/input/gauge/hook/useGauge.native.tsx
|
|
518
440
|
var import_react8 = __toESM(require("react"));
|
|
@@ -616,7 +538,7 @@ var InputGauge = ({ validationRules, inputValue, securityRules }) => {
|
|
|
616
538
|
isUppercaseVerify,
|
|
617
539
|
rules
|
|
618
540
|
} = useGauge({ validationRules, inputValue, securityRules });
|
|
619
|
-
return /* @__PURE__ */ import_react9.default.createElement(
|
|
541
|
+
return /* @__PURE__ */ import_react9.default.createElement(import_react_native5.View, null, /* @__PURE__ */ import_react9.default.createElement(import_react_native5.View, { style: [styles.containerGauge, { backgroundColor: getColorStyle("MAIN_FADE" /* MAIN_FADE */) }] }, /* @__PURE__ */ import_react9.default.createElement(import_react_native5.View, { style: [styles.gauge, { width: widthGauge, backgroundColor: colorGauge() }] })), /* @__PURE__ */ import_react9.default.createElement(import_react_native5.View, { style: styles.verifies }, validationRules && /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, /* @__PURE__ */ import_react9.default.createElement(
|
|
620
542
|
DataVerify,
|
|
621
543
|
{
|
|
622
544
|
display: !!(validationRules == null ? void 0 : validationRules.length),
|
|
@@ -675,10 +597,10 @@ var InputGauge = ({ validationRules, inputValue, securityRules }) => {
|
|
|
675
597
|
};
|
|
676
598
|
var DataVerify = ({ color, iconName, display, type, index }) => {
|
|
677
599
|
if (!display) return null;
|
|
678
|
-
return /* @__PURE__ */ import_react9.default.createElement(
|
|
600
|
+
return /* @__PURE__ */ import_react9.default.createElement(import_react_native5.View, { style: [styles.verify, index % 2 === 0 ? styles.even : void 0] }, /* @__PURE__ */ import_react9.default.createElement(Icon_native_default, { color, name: iconName, size: "smaller" /* SMALLER */ }), /* @__PURE__ */ import_react9.default.createElement(Text_native_default, { style: styles.textVerify }, type));
|
|
679
601
|
};
|
|
680
602
|
var InputGauge_native_default = InputGauge;
|
|
681
|
-
var styles =
|
|
603
|
+
var styles = import_react_native5.StyleSheet.create({
|
|
682
604
|
even: {
|
|
683
605
|
justifyContent: "flex-end"
|
|
684
606
|
},
|
|
@@ -761,8 +683,8 @@ var Input = import_react10.default.forwardRef(
|
|
|
761
683
|
const [iconPassword, setIconPassword] = (0, import_react10.useState)("tri-eye" /* EYE */);
|
|
762
684
|
const [dynamicPlaceholder, setDynamicPlaceholder] = (0, import_react10.useState)(false);
|
|
763
685
|
const [isKeyboardVisible, setKeyboardVisible] = (0, import_react10.useState)(null);
|
|
764
|
-
const animation = (0, import_react10.useRef)(new
|
|
765
|
-
const sizeAnimation = (0, import_react10.useRef)(new
|
|
686
|
+
const animation = (0, import_react10.useRef)(new import_react_native6.Animated.Value(25)).current;
|
|
687
|
+
const sizeAnimation = (0, import_react10.useRef)(new import_react_native6.Animated.Value(placeholderDefaultSize)).current;
|
|
766
688
|
const paddingTopByPlatform = (os, dynamicPlaceholder2) => {
|
|
767
689
|
if (dynamicPlaceholder2 && type !== "search" /* SEARCH */ && os === "ios") {
|
|
768
690
|
return 10;
|
|
@@ -806,23 +728,23 @@ var Input = import_react10.default.forwardRef(
|
|
|
806
728
|
}, [placeholder, value]);
|
|
807
729
|
(0, import_react10.useEffect)(() => {
|
|
808
730
|
if (dynamicPlaceholder && type !== "search" /* SEARCH */) {
|
|
809
|
-
|
|
731
|
+
import_react_native6.Animated.timing(animation, {
|
|
810
732
|
toValue: 3,
|
|
811
733
|
duration: animationDuration,
|
|
812
734
|
useNativeDriver: false
|
|
813
735
|
}).start();
|
|
814
|
-
|
|
736
|
+
import_react_native6.Animated.timing(sizeAnimation, {
|
|
815
737
|
toValue: 12,
|
|
816
738
|
duration: animationDuration,
|
|
817
739
|
useNativeDriver: false
|
|
818
740
|
}).start();
|
|
819
741
|
} else {
|
|
820
|
-
|
|
742
|
+
import_react_native6.Animated.timing(animation, {
|
|
821
743
|
toValue: 25,
|
|
822
744
|
duration: animationDuration,
|
|
823
745
|
useNativeDriver: false
|
|
824
746
|
}).start();
|
|
825
|
-
|
|
747
|
+
import_react_native6.Animated.timing(sizeAnimation, {
|
|
826
748
|
toValue: placeholderDefaultSize,
|
|
827
749
|
duration: animationDuration,
|
|
828
750
|
useNativeDriver: false
|
|
@@ -830,8 +752,8 @@ var Input = import_react10.default.forwardRef(
|
|
|
830
752
|
}
|
|
831
753
|
}, [dynamicPlaceholder, animation, sizeAnimation]);
|
|
832
754
|
(0, import_react10.useEffect)(() => {
|
|
833
|
-
const keyboardDidShowListener =
|
|
834
|
-
const keyboardDidHideListener =
|
|
755
|
+
const keyboardDidShowListener = import_react_native6.Keyboard.addListener("keyboardDidShow", () => setKeyboardVisible(true));
|
|
756
|
+
const keyboardDidHideListener = import_react_native6.Keyboard.addListener("keyboardDidHide", () => setKeyboardVisible(false));
|
|
835
757
|
return () => {
|
|
836
758
|
keyboardDidHideListener.remove();
|
|
837
759
|
keyboardDidShowListener.remove();
|
|
@@ -841,11 +763,11 @@ var Input = import_react10.default.forwardRef(
|
|
|
841
763
|
handleClick();
|
|
842
764
|
}, [isKeyboardVisible]);
|
|
843
765
|
const hasIcon = iconNameLeft || iconNameRight || false;
|
|
844
|
-
const styles4 =
|
|
766
|
+
const styles4 = import_react_native6.StyleSheet.create({
|
|
845
767
|
input: {
|
|
846
768
|
paddingLeft: (iconNameLeft && isFocused || type === "search" /* SEARCH */ && isFocused) && 39 || (iconNameLeft || type === "search" /* SEARCH */) && 40 || !iconNameLeft && type !== "search" /* SEARCH */ && isFocused && 9 || 10,
|
|
847
769
|
paddingRight: (iconNameRight || type === "search" /* SEARCH */) && 32 || 0,
|
|
848
|
-
marginTop: paddingTopByPlatform(
|
|
770
|
+
marginTop: paddingTopByPlatform(import_react_native6.Platform.OS, dynamicPlaceholder),
|
|
849
771
|
width: hasIcon && status ? "85%" : "95%",
|
|
850
772
|
height: 46,
|
|
851
773
|
color: disabled ? getColorStyle("DISABLED" /* DISABLED */) : inputColor
|
|
@@ -921,7 +843,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
921
843
|
}
|
|
922
844
|
});
|
|
923
845
|
return /* @__PURE__ */ import_react10.default.createElement(
|
|
924
|
-
|
|
846
|
+
import_react_native6.View,
|
|
925
847
|
{
|
|
926
848
|
style: { width: "100%" },
|
|
927
849
|
accessible: !!inputAccessibilityLabel,
|
|
@@ -930,8 +852,8 @@ var Input = import_react10.default.forwardRef(
|
|
|
930
852
|
},
|
|
931
853
|
!dynamicPlaceholder && label && /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, /* @__PURE__ */ import_react10.default.createElement(Text_native_default, { typo: "has-text-main" /* TEXT_MAIN */ }, label, " ", label && required && /* @__PURE__ */ import_react10.default.createElement(Text_native_default, { typo: "has-text-error" /* TEXT_ERROR */ }, "*")), /* @__PURE__ */ import_react10.default.createElement(Spacer_native_default, { size: 12 /* THREE */ })),
|
|
932
854
|
!dynamicPlaceholder && label && sample && /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, /* @__PURE__ */ import_react10.default.createElement(Text_native_default, { level: 3 /* THREE */, typo: "has-text-main" /* TEXT_MAIN */ }, sample), /* @__PURE__ */ import_react10.default.createElement(Spacer_native_default, { size: 12 /* THREE */ })),
|
|
933
|
-
/* @__PURE__ */ import_react10.default.createElement(
|
|
934
|
-
|
|
855
|
+
/* @__PURE__ */ import_react10.default.createElement(import_react_native6.View, { testID: "input-wrapper-id", style: styles4.inputWrapper }, dynamicPlaceholder && type !== "search" /* SEARCH */ && /* @__PURE__ */ import_react10.default.createElement(import_react_native6.Animated.Text, { style: [styles4.dynamicPlaceholder, { top: animation, fontSize: sizeAnimation }] }, placeholder), /* @__PURE__ */ import_react10.default.createElement(
|
|
856
|
+
import_react_native6.TextInput,
|
|
935
857
|
{
|
|
936
858
|
ref,
|
|
937
859
|
testID: "input-id",
|
|
@@ -972,7 +894,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
972
894
|
style: styles4.input,
|
|
973
895
|
...others
|
|
974
896
|
}
|
|
975
|
-
), type === "email" && /* @__PURE__ */ import_react10.default.createElement(Text_native_default, { style: styles4.text }, value, /* @__PURE__ */ import_react10.default.createElement(Text_native_default, { style: styles4.domain }, email)), hasIcon && type !== "password" /* PASSWORD */ && type !== "search" /* SEARCH */ && /* @__PURE__ */ import_react10.default.createElement(
|
|
897
|
+
), type === "email" && /* @__PURE__ */ import_react10.default.createElement(Text_native_default, { style: styles4.text }, value, /* @__PURE__ */ import_react10.default.createElement(Text_native_default, { style: styles4.domain }, email)), hasIcon && type !== "password" /* PASSWORD */ && type !== "search" /* SEARCH */ && /* @__PURE__ */ import_react10.default.createElement(import_react_native6.View, { style: styles4.inputIconLeft }, /* @__PURE__ */ import_react10.default.createElement(
|
|
976
898
|
Icon_native_default,
|
|
977
899
|
{
|
|
978
900
|
align: "ALIGNED_START" /* ALIGNED_START */,
|
|
@@ -981,7 +903,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
981
903
|
color: status && status === "success" && "SUCCESS" /* SUCCESS */ || status && status === "warning" && "WARNING" /* WARNING */ || status && status === "error" && "ERROR" /* ERROR */ || disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
982
904
|
}
|
|
983
905
|
)), hasIcon && type !== "search" /* SEARCH */ && status && status !== "default" /* DEFAULT */ && type !== "password" /* PASSWORD */ && /* @__PURE__ */ import_react10.default.createElement(
|
|
984
|
-
|
|
906
|
+
import_react_native6.TouchableOpacity,
|
|
985
907
|
{
|
|
986
908
|
style: styles4.inputContainer,
|
|
987
909
|
activeOpacity: onIconClick ? 0.2 : 1,
|
|
@@ -1004,7 +926,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
1004
926
|
}
|
|
1005
927
|
)
|
|
1006
928
|
), iconNameRight && !iconNameLeft && type !== "search" /* SEARCH */ && type !== "password" /* PASSWORD */ && (!status || status === "default" /* DEFAULT */) && /* @__PURE__ */ import_react10.default.createElement(
|
|
1007
|
-
|
|
929
|
+
import_react_native6.TouchableOpacity,
|
|
1008
930
|
{
|
|
1009
931
|
style: styles4.inputContainerRight,
|
|
1010
932
|
activeOpacity: onIconClick ? 0.2 : 1,
|
|
@@ -1026,8 +948,8 @@ var Input = import_react10.default.forwardRef(
|
|
|
1026
948
|
color: disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
1027
949
|
}
|
|
1028
950
|
)
|
|
1029
|
-
), type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, iconNameLeft && /* @__PURE__ */ import_react10.default.createElement(
|
|
1030
|
-
|
|
951
|
+
), type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, iconNameLeft && /* @__PURE__ */ import_react10.default.createElement(import_react_native6.View, { style: [{ paddingLeft: 10 }, styles4.inputContainerLeft] }, /* @__PURE__ */ import_react10.default.createElement(Icon_native_default, { name: iconNameLeft })), /* @__PURE__ */ import_react10.default.createElement(
|
|
952
|
+
import_react_native6.TouchableOpacity,
|
|
1031
953
|
{
|
|
1032
954
|
style: styles4.inputContainerRight,
|
|
1033
955
|
onPress: () => {
|
|
@@ -1052,7 +974,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
1052
974
|
color: status && status === "success" && "SUCCESS" /* SUCCESS */ || status && status === "warning" && "WARNING" /* WARNING */ || status && status === "error" && "ERROR" /* ERROR */ || status && status === "default" && "MAIN" /* MAIN */ || disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
1053
975
|
}
|
|
1054
976
|
)
|
|
1055
|
-
)), type === "search" /* SEARCH */ && !status && /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, /* @__PURE__ */ import_react10.default.createElement(
|
|
977
|
+
)), type === "search" /* SEARCH */ && !status && /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, /* @__PURE__ */ import_react10.default.createElement(import_react_native6.View, { style: styles4.inputContainerLeft }, /* @__PURE__ */ import_react10.default.createElement(
|
|
1056
978
|
Icon_native_default,
|
|
1057
979
|
{
|
|
1058
980
|
align: "ALIGNED_CENTER" /* ALIGNED_CENTER */,
|
|
@@ -1061,7 +983,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
1061
983
|
color: disabled ? "DISABLED" /* DISABLED */ : "NEUTRAL" /* NEUTRAL */
|
|
1062
984
|
}
|
|
1063
985
|
)), value.length > 0 && /* @__PURE__ */ import_react10.default.createElement(
|
|
1064
|
-
|
|
986
|
+
import_react_native6.TouchableOpacity,
|
|
1065
987
|
{
|
|
1066
988
|
testID: "search-id",
|
|
1067
989
|
style: styles4.inputContainerRight,
|
|
@@ -1098,7 +1020,7 @@ var Input_native_default = Input;
|
|
|
1098
1020
|
|
|
1099
1021
|
// components/modal/Modal.native.tsx
|
|
1100
1022
|
var import_react16 = __toESM(require("react"));
|
|
1101
|
-
var
|
|
1023
|
+
var import_react_native10 = require("react-native");
|
|
1102
1024
|
var import_react_native_modal = __toESM(require("react-native-modal"));
|
|
1103
1025
|
|
|
1104
1026
|
// components/columns/ColumnsTypes.ts
|
|
@@ -1116,8 +1038,8 @@ var ColumnsContext = import_react11.default.createContext(defaultContextValue2);
|
|
|
1116
1038
|
|
|
1117
1039
|
// components/columns/Columns.native.tsx
|
|
1118
1040
|
var import_react12 = __toESM(require("react"));
|
|
1119
|
-
var
|
|
1120
|
-
var staticStyles =
|
|
1041
|
+
var import_react_native7 = require("react-native");
|
|
1042
|
+
var staticStyles = import_react_native7.StyleSheet.create({
|
|
1121
1043
|
centered: {
|
|
1122
1044
|
justifyContent: "center"
|
|
1123
1045
|
},
|
|
@@ -1137,7 +1059,7 @@ var Columns = import_react12.default.forwardRef(
|
|
|
1137
1059
|
if (!width) {
|
|
1138
1060
|
const { width: width2 } = event.nativeEvent.layout;
|
|
1139
1061
|
if (fullBleed) {
|
|
1140
|
-
setEnlarge((
|
|
1062
|
+
setEnlarge((import_react_native7.Dimensions.get("screen").width - width2) / 2);
|
|
1141
1063
|
}
|
|
1142
1064
|
setWidth(width2);
|
|
1143
1065
|
}
|
|
@@ -1175,7 +1097,7 @@ var Columns = import_react12.default.forwardRef(
|
|
|
1175
1097
|
[width, realGap, scrollable, children]
|
|
1176
1098
|
);
|
|
1177
1099
|
return /* @__PURE__ */ import_react12.default.createElement(ColumnsContext.Provider, { value: contextValue }, !scrollable && /* @__PURE__ */ import_react12.default.createElement(
|
|
1178
|
-
|
|
1100
|
+
import_react_native7.View,
|
|
1179
1101
|
{
|
|
1180
1102
|
ref,
|
|
1181
1103
|
onLayout: onLayoutHandler,
|
|
@@ -1189,7 +1111,7 @@ var Columns = import_react12.default.forwardRef(
|
|
|
1189
1111
|
},
|
|
1190
1112
|
children
|
|
1191
1113
|
), scrollable && /* @__PURE__ */ import_react12.default.createElement(
|
|
1192
|
-
|
|
1114
|
+
import_react_native7.View,
|
|
1193
1115
|
{
|
|
1194
1116
|
onLayout: onLayoutHandler,
|
|
1195
1117
|
style: {
|
|
@@ -1197,7 +1119,7 @@ var Columns = import_react12.default.forwardRef(
|
|
|
1197
1119
|
}
|
|
1198
1120
|
},
|
|
1199
1121
|
/* @__PURE__ */ import_react12.default.createElement(
|
|
1200
|
-
|
|
1122
|
+
import_react_native7.ScrollView,
|
|
1201
1123
|
{
|
|
1202
1124
|
horizontal: true,
|
|
1203
1125
|
contentContainerStyle: dynamicStyles.scrollContainer,
|
|
@@ -1213,7 +1135,7 @@ var Columns_native_default = Columns;
|
|
|
1213
1135
|
|
|
1214
1136
|
// components/columns/column/Column.native.tsx
|
|
1215
1137
|
var import_react13 = __toESM(require("react"));
|
|
1216
|
-
var
|
|
1138
|
+
var import_react_native8 = require("react-native");
|
|
1217
1139
|
var Column = import_react13.default.memo(
|
|
1218
1140
|
import_react13.default.forwardRef(
|
|
1219
1141
|
({ children, narrow, size, verticalAlign, ...others }, ref) => {
|
|
@@ -1244,7 +1166,7 @@ var Column = import_react13.default.memo(
|
|
|
1244
1166
|
[verticalAlign]
|
|
1245
1167
|
);
|
|
1246
1168
|
return /* @__PURE__ */ import_react13.default.createElement(
|
|
1247
|
-
|
|
1169
|
+
import_react_native8.View,
|
|
1248
1170
|
{
|
|
1249
1171
|
ref,
|
|
1250
1172
|
style: [scrollable && scrollableStyle, !scrollable && noScrollableStyle, justifyContentStyle],
|
|
@@ -1261,7 +1183,7 @@ var Column_native_default = Column;
|
|
|
1261
1183
|
// components/title/Title.native.tsx
|
|
1262
1184
|
var React12 = __toESM(require("react"));
|
|
1263
1185
|
var import_react14 = require("react");
|
|
1264
|
-
var
|
|
1186
|
+
var import_react_native9 = require("react-native");
|
|
1265
1187
|
var Title = React12.forwardRef(({
|
|
1266
1188
|
children,
|
|
1267
1189
|
level,
|
|
@@ -1309,7 +1231,7 @@ var Title = React12.forwardRef(({
|
|
|
1309
1231
|
return "flex-start";
|
|
1310
1232
|
}
|
|
1311
1233
|
};
|
|
1312
|
-
const styles4 =
|
|
1234
|
+
const styles4 = import_react_native9.StyleSheet.create({
|
|
1313
1235
|
text: {
|
|
1314
1236
|
fontFamily: getTypographyBoldStyle(fontFamily),
|
|
1315
1237
|
fontSize: titlesLevels(),
|
|
@@ -1330,7 +1252,7 @@ var Title = React12.forwardRef(({
|
|
|
1330
1252
|
});
|
|
1331
1253
|
const titleAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
1332
1254
|
let titleView = /* @__PURE__ */ React12.createElement(
|
|
1333
|
-
|
|
1255
|
+
import_react_native9.Text,
|
|
1334
1256
|
{
|
|
1335
1257
|
ref,
|
|
1336
1258
|
maxFontSizeMultiplier: 1.3,
|
|
@@ -1343,7 +1265,7 @@ var Title = React12.forwardRef(({
|
|
|
1343
1265
|
);
|
|
1344
1266
|
if (skeleton) {
|
|
1345
1267
|
titleView = /* @__PURE__ */ React12.createElement(
|
|
1346
|
-
|
|
1268
|
+
Skeleton_default,
|
|
1347
1269
|
{
|
|
1348
1270
|
style: styles4.skeleton,
|
|
1349
1271
|
height: titlesLevels(),
|
|
@@ -1352,7 +1274,7 @@ var Title = React12.forwardRef(({
|
|
|
1352
1274
|
titleView
|
|
1353
1275
|
);
|
|
1354
1276
|
}
|
|
1355
|
-
return onClick ? /* @__PURE__ */ React12.createElement(
|
|
1277
|
+
return onClick ? /* @__PURE__ */ React12.createElement(import_react_native9.TouchableOpacity, { onPress: onClick, activeOpacity: 0.85 }, titleView) : titleView;
|
|
1356
1278
|
});
|
|
1357
1279
|
Title.displayName = "Title" /* Title */;
|
|
1358
1280
|
var Title_native_default = Title;
|
|
@@ -1411,20 +1333,20 @@ var Modal = import_react16.default.forwardRef(
|
|
|
1411
1333
|
onModalHide,
|
|
1412
1334
|
...others
|
|
1413
1335
|
},
|
|
1414
|
-
/* @__PURE__ */ import_react16.default.createElement(
|
|
1336
|
+
/* @__PURE__ */ import_react16.default.createElement(import_react_native10.View, { ref, style: [styles2.body, { backgroundColor: getColorStyle("WHITE" /* BACKGROUND */) }] }, /* @__PURE__ */ import_react16.default.createElement(import_react_native10.View, { style: { paddingVertical: !title && (hideCloseButton || unClosable) ? 8 : 16 } }, /* @__PURE__ */ import_react16.default.createElement(Columns_native_default, { verticalAlign: "ALIGNED_CENTER" /* ALIGNED_CENTER */ }, /* @__PURE__ */ import_react16.default.createElement(Column_native_default, null, /* @__PURE__ */ import_react16.default.createElement(Title_native_default, { level: 4 }, title)), !hideCloseButton && !unClosable && /* @__PURE__ */ import_react16.default.createElement(Column_native_default, { narrow: true }, /* @__PURE__ */ import_react16.default.createElement(import_react_native10.TouchableOpacity, { onPress: handleClose }, /* @__PURE__ */ import_react16.default.createElement(Icon_native_default, { name: "tri-times" /* TIMES */, size: "medium" /* MEDIUM */, color: "MAIN" /* MAIN */ }))))), children)
|
|
1415
1337
|
));
|
|
1416
1338
|
}
|
|
1417
1339
|
);
|
|
1418
1340
|
Modal.displayName = "Modal" /* Modal */;
|
|
1419
1341
|
var Modal_native_default = Modal;
|
|
1420
|
-
var styles2 =
|
|
1342
|
+
var styles2 = import_react_native10.StyleSheet.create({
|
|
1421
1343
|
modal: {
|
|
1422
1344
|
justifyContent: "flex-end",
|
|
1423
1345
|
margin: 0
|
|
1424
1346
|
},
|
|
1425
1347
|
body: {
|
|
1426
1348
|
paddingHorizontal: 16,
|
|
1427
|
-
maxHeight: isAndroid ?
|
|
1349
|
+
maxHeight: isAndroid ? import_react_native10.Dimensions.get("screen").height / 1.15 : import_react_native10.Dimensions.get("screen").height / 1.1,
|
|
1428
1350
|
shadowColor: "#000",
|
|
1429
1351
|
shadowOffset: {
|
|
1430
1352
|
width: 0,
|
|
@@ -1440,11 +1362,11 @@ var styles2 = import_react_native11.StyleSheet.create({
|
|
|
1440
1362
|
|
|
1441
1363
|
// components/modal/body/ModalBody.native.tsx
|
|
1442
1364
|
var React15 = __toESM(require("react"));
|
|
1443
|
-
var
|
|
1365
|
+
var import_react_native11 = require("react-native");
|
|
1444
1366
|
var ModalBody = React15.forwardRef(({ children, ...others }, ref) => {
|
|
1445
1367
|
const { handleOnScroll, scrollViewRef, isFooter } = React15.useContext(ModalContext);
|
|
1446
1368
|
return /* @__PURE__ */ React15.createElement(
|
|
1447
|
-
|
|
1369
|
+
import_react_native11.ScrollView,
|
|
1448
1370
|
{
|
|
1449
1371
|
ref: scrollViewRef,
|
|
1450
1372
|
scrollEventThrottle: 16,
|
|
@@ -1452,7 +1374,7 @@ var ModalBody = React15.forwardRef(({ children, ...others }, ref) => {
|
|
|
1452
1374
|
showsVerticalScrollIndicator: false
|
|
1453
1375
|
},
|
|
1454
1376
|
/* @__PURE__ */ React15.createElement(
|
|
1455
|
-
|
|
1377
|
+
import_react_native11.View,
|
|
1456
1378
|
{
|
|
1457
1379
|
ref,
|
|
1458
1380
|
style: [
|
|
@@ -1473,7 +1395,7 @@ var ModalBody_native_default = ModalBody;
|
|
|
1473
1395
|
|
|
1474
1396
|
// components/modal/footer/ModalFooter.native.tsx
|
|
1475
1397
|
var React16 = __toESM(require("react"));
|
|
1476
|
-
var
|
|
1398
|
+
var import_react_native12 = require("react-native");
|
|
1477
1399
|
var ModalFooter = React16.forwardRef(({ children, ...others }, ref) => {
|
|
1478
1400
|
const { setIsFooter } = React16.useContext(ModalContext);
|
|
1479
1401
|
React16.useEffect(() => {
|
|
@@ -1482,10 +1404,10 @@ var ModalFooter = React16.forwardRef(({ children, ...others }, ref) => {
|
|
|
1482
1404
|
setIsFooter(false);
|
|
1483
1405
|
};
|
|
1484
1406
|
}, []);
|
|
1485
|
-
return /* @__PURE__ */ React16.createElement(
|
|
1407
|
+
return /* @__PURE__ */ React16.createElement(import_react_native12.View, { ref, style: [styles3.container], ...others }, /* @__PURE__ */ React16.createElement(import_react_native12.View, { style: [{ backgroundColor: getColorStyle("WHITE" /* BACKGROUND */) }] }, typeof children === "string" && /* @__PURE__ */ React16.createElement(Title_native_default, { level: 3 /* THREE */, style: styles3.title }, children) || children));
|
|
1486
1408
|
});
|
|
1487
1409
|
ModalFooter.displayName = "ModalFooter" /* ModalFooter */;
|
|
1488
|
-
var styles3 =
|
|
1410
|
+
var styles3 = import_react_native12.StyleSheet.create({
|
|
1489
1411
|
container: {
|
|
1490
1412
|
paddingBottom: isIOS ? 40 : 18,
|
|
1491
1413
|
paddingTop: 16
|
|
@@ -1495,14 +1417,14 @@ var styles3 = import_react_native13.StyleSheet.create({
|
|
|
1495
1417
|
|
|
1496
1418
|
// components/select/Select.native.tsx
|
|
1497
1419
|
var import_react17 = __toESM(require("react"));
|
|
1498
|
-
var
|
|
1420
|
+
var import_react_native14 = require("react-native");
|
|
1499
1421
|
|
|
1500
1422
|
// components/select/option/SelectOption.native.tsx
|
|
1501
1423
|
var React17 = __toESM(require("react"));
|
|
1502
|
-
var
|
|
1424
|
+
var import_react_native13 = require("react-native");
|
|
1503
1425
|
var SelectOption = React17.forwardRef(({ disabled, children, onClick, label, iconName, ...others }, ref) => {
|
|
1504
1426
|
const { checked } = others;
|
|
1505
|
-
const styles4 =
|
|
1427
|
+
const styles4 = import_react_native13.StyleSheet.create({
|
|
1506
1428
|
container: {
|
|
1507
1429
|
backgroundColor: getColorStyle(disabled ? "DISABLED_FADE" /* DISABLED_FADE */ : "transparent"),
|
|
1508
1430
|
width: "100%",
|
|
@@ -1528,7 +1450,7 @@ var SelectOption = React17.forwardRef(({ disabled, children, onClick, label, ico
|
|
|
1528
1450
|
const columnLabelSize = React17.useMemo(() => {
|
|
1529
1451
|
return iconName ? checked && 10 || 11 : checked && 11 || 12;
|
|
1530
1452
|
}, [iconName, checked]);
|
|
1531
|
-
return /* @__PURE__ */ React17.createElement(
|
|
1453
|
+
return /* @__PURE__ */ React17.createElement(import_react_native13.TouchableOpacity, { ref, style: [styles4.container], ...others, onPress: onClick }, /* @__PURE__ */ React17.createElement(Columns_native_default, { verticalAlign: "ALIGNED_CENTER" /* ALIGNED_CENTER */ }, iconName && /* @__PURE__ */ React17.createElement(Column_native_default, { size: 1 }, /* @__PURE__ */ React17.createElement(Icon_native_default, { size: "small" /* SMALL */, name: iconName, color: iconColor })), /* @__PURE__ */ React17.createElement(Column_native_default, { size: columnLabelSize }, /* @__PURE__ */ React17.createElement(
|
|
1532
1454
|
Text_native_default,
|
|
1533
1455
|
{
|
|
1534
1456
|
typo: [checked && "has-text-weight-semibold" /* TEXT_WEIGHT_SEMIBOLD */],
|
|
@@ -1658,7 +1580,7 @@ var Select = import_react17.default.forwardRef(
|
|
|
1658
1580
|
active: display,
|
|
1659
1581
|
onClose: handleOpenCloseModal,
|
|
1660
1582
|
unClosable: true,
|
|
1661
|
-
trigger: /* @__PURE__ */ import_react17.default.createElement(
|
|
1583
|
+
trigger: /* @__PURE__ */ import_react17.default.createElement(import_react_native14.TouchableOpacity, { onPress: handleOpenCloseModal }, /* @__PURE__ */ import_react17.default.createElement(
|
|
1662
1584
|
Input_native_default,
|
|
1663
1585
|
{
|
|
1664
1586
|
status,
|
|
@@ -1676,7 +1598,7 @@ var Select = import_react17.default.forwardRef(
|
|
|
1676
1598
|
}
|
|
1677
1599
|
))
|
|
1678
1600
|
},
|
|
1679
|
-
/* @__PURE__ */ import_react17.default.createElement(ModalBody_native_default, null, /* @__PURE__ */ import_react17.default.createElement(
|
|
1601
|
+
/* @__PURE__ */ import_react17.default.createElement(ModalBody_native_default, null, /* @__PURE__ */ import_react17.default.createElement(import_react_native14.View, { style: { paddingBottom: 20 } }, options))
|
|
1680
1602
|
);
|
|
1681
1603
|
}
|
|
1682
1604
|
);
|