@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
|
@@ -151,92 +151,14 @@ var isIOS = import_react_native.Platform.OS === "ios";
|
|
|
151
151
|
|
|
152
152
|
// components/icon/Icon.native.tsx
|
|
153
153
|
var import_react6 = __toESM(require("react"));
|
|
154
|
-
var
|
|
154
|
+
var import_react_native2 = require("react-native");
|
|
155
155
|
|
|
156
|
-
// components/skeleton/Skeleton.
|
|
156
|
+
// components/skeleton/Skeleton.tsx
|
|
157
157
|
var import_react5 = __toESM(require("react"));
|
|
158
|
-
var
|
|
159
|
-
|
|
160
|
-
style,
|
|
161
|
-
width = "100%",
|
|
162
|
-
height = 20,
|
|
163
|
-
backgroundColor = "#E1E9EE",
|
|
164
|
-
shimmerColor = "#F7F8F8",
|
|
165
|
-
duration = 1200,
|
|
166
|
-
borderRadius = 4,
|
|
167
|
-
children,
|
|
168
|
-
testID
|
|
169
|
-
}) => {
|
|
170
|
-
const shimmerValue = (0, import_react5.useRef)(new import_react_native2.Animated.Value(0)).current;
|
|
171
|
-
const [containerWidth, setContainerWidth] = import_react5.default.useState(200);
|
|
172
|
-
(0, import_react5.useEffect)(() => {
|
|
173
|
-
const shimmerAnimation = import_react_native2.Animated.loop(
|
|
174
|
-
import_react_native2.Animated.timing(shimmerValue, {
|
|
175
|
-
toValue: 1,
|
|
176
|
-
duration,
|
|
177
|
-
useNativeDriver: true
|
|
178
|
-
}),
|
|
179
|
-
{ iterations: -1 }
|
|
180
|
-
);
|
|
181
|
-
shimmerAnimation.start();
|
|
182
|
-
return () => shimmerAnimation.stop();
|
|
183
|
-
}, [shimmerValue, duration]);
|
|
184
|
-
const translateX = shimmerValue.interpolate({
|
|
185
|
-
inputRange: [0, 1],
|
|
186
|
-
outputRange: [-containerWidth, containerWidth]
|
|
187
|
-
});
|
|
188
|
-
const opacity = shimmerValue.interpolate({
|
|
189
|
-
inputRange: [0, 0.5, 1],
|
|
190
|
-
outputRange: [0.3, 0.8, 0.3]
|
|
191
|
-
});
|
|
192
|
-
const containerStyle = {
|
|
193
|
-
width: children ? void 0 : width,
|
|
194
|
-
height: children ? void 0 : height,
|
|
195
|
-
backgroundColor,
|
|
196
|
-
borderRadius,
|
|
197
|
-
overflow: "hidden",
|
|
198
|
-
alignSelf: children ? "flex-start" : void 0,
|
|
199
|
-
...style
|
|
200
|
-
};
|
|
201
|
-
const handleLayout = (event) => {
|
|
202
|
-
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
203
|
-
setContainerWidth(layoutWidth);
|
|
204
|
-
};
|
|
205
|
-
if (children) {
|
|
206
|
-
return /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react5.default.createElement(
|
|
207
|
-
import_react_native2.Animated.View,
|
|
208
|
-
{
|
|
209
|
-
style: [
|
|
210
|
-
{
|
|
211
|
-
position: "absolute",
|
|
212
|
-
top: 0,
|
|
213
|
-
left: 0,
|
|
214
|
-
width: containerWidth * 0.7,
|
|
215
|
-
height: "100%",
|
|
216
|
-
backgroundColor: shimmerColor,
|
|
217
|
-
opacity,
|
|
218
|
-
transform: [{ translateX }]
|
|
219
|
-
}
|
|
220
|
-
]
|
|
221
|
-
}
|
|
222
|
-
));
|
|
223
|
-
}
|
|
224
|
-
return /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react5.default.createElement(
|
|
225
|
-
import_react_native2.Animated.View,
|
|
226
|
-
{
|
|
227
|
-
style: [
|
|
228
|
-
{
|
|
229
|
-
width: containerWidth * 0.7,
|
|
230
|
-
height: "100%",
|
|
231
|
-
backgroundColor: shimmerColor,
|
|
232
|
-
opacity,
|
|
233
|
-
transform: [{ translateX }]
|
|
234
|
-
}
|
|
235
|
-
]
|
|
236
|
-
}
|
|
237
|
-
));
|
|
158
|
+
var Skeleton = () => {
|
|
159
|
+
return /* @__PURE__ */ import_react5.default.createElement("div", null);
|
|
238
160
|
};
|
|
239
|
-
var
|
|
161
|
+
var Skeleton_default = Skeleton;
|
|
240
162
|
|
|
241
163
|
// components/icon/Icon.native.tsx
|
|
242
164
|
var import_css = require("react-native-svg/css");
|
|
@@ -252,7 +174,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
252
174
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
253
175
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
254
176
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
255
|
-
const styles =
|
|
177
|
+
const styles = import_react_native2.StyleSheet.create({
|
|
256
178
|
rootView: {
|
|
257
179
|
alignSelf: getAlignStyle(align)
|
|
258
180
|
},
|
|
@@ -296,7 +218,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
296
218
|
}
|
|
297
219
|
});
|
|
298
220
|
const IconSkeleton = () => /* @__PURE__ */ import_react6.default.createElement(
|
|
299
|
-
|
|
221
|
+
Skeleton_default,
|
|
300
222
|
{
|
|
301
223
|
style: styles.skeleton,
|
|
302
224
|
width: circledWidth,
|
|
@@ -308,10 +230,10 @@ var Icon = import_react6.default.forwardRef(
|
|
|
308
230
|
if (skeleton) {
|
|
309
231
|
return /* @__PURE__ */ import_react6.default.createElement(IconSkeleton, null);
|
|
310
232
|
}
|
|
311
|
-
let iconView = /* @__PURE__ */ import_react6.default.createElement(
|
|
233
|
+
let iconView = /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, null);
|
|
312
234
|
if (name && icons) {
|
|
313
235
|
if (stretched && !circled) {
|
|
314
|
-
iconView = /* @__PURE__ */ import_react6.default.createElement(
|
|
236
|
+
iconView = /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react6.default.createElement(
|
|
315
237
|
import_css.WithLocalSvg,
|
|
316
238
|
{
|
|
317
239
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -322,7 +244,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
322
244
|
}
|
|
323
245
|
));
|
|
324
246
|
} else if (circled) {
|
|
325
|
-
iconView = /* @__PURE__ */ import_react6.default.createElement(
|
|
247
|
+
iconView = /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react6.default.createElement(
|
|
326
248
|
import_css.WithLocalSvg,
|
|
327
249
|
{
|
|
328
250
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -333,7 +255,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
333
255
|
}
|
|
334
256
|
));
|
|
335
257
|
} else {
|
|
336
|
-
iconView = /* @__PURE__ */ import_react6.default.createElement(
|
|
258
|
+
iconView = /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react6.default.createElement(
|
|
337
259
|
import_css.WithLocalSvg,
|
|
338
260
|
{
|
|
339
261
|
style: [styles.icon, style],
|
|
@@ -345,8 +267,8 @@ var Icon = import_react6.default.forwardRef(
|
|
|
345
267
|
));
|
|
346
268
|
}
|
|
347
269
|
}
|
|
348
|
-
return onClick ? /* @__PURE__ */ import_react6.default.createElement(
|
|
349
|
-
|
|
270
|
+
return onClick ? /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react6.default.createElement(
|
|
271
|
+
import_react_native2.TouchableOpacity,
|
|
350
272
|
{
|
|
351
273
|
style: { width: "100%" },
|
|
352
274
|
onPress: onClick,
|
|
@@ -354,7 +276,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
354
276
|
testID: `${testId}-pressable`
|
|
355
277
|
},
|
|
356
278
|
iconView
|
|
357
|
-
)) : /* @__PURE__ */ import_react6.default.createElement(
|
|
279
|
+
)) : /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
358
280
|
}
|
|
359
281
|
);
|
|
360
282
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -373,7 +295,7 @@ var import_react7 = require("react");
|
|
|
373
295
|
|
|
374
296
|
// components/columns/column/Column.native.tsx
|
|
375
297
|
var import_react8 = __toESM(require("react"));
|
|
376
|
-
var
|
|
298
|
+
var import_react_native3 = require("react-native");
|
|
377
299
|
var Column = import_react8.default.memo(
|
|
378
300
|
import_react8.default.forwardRef(
|
|
379
301
|
({ children, narrow, size, verticalAlign, ...others }, ref) => {
|
|
@@ -404,7 +326,7 @@ var Column = import_react8.default.memo(
|
|
|
404
326
|
[verticalAlign]
|
|
405
327
|
);
|
|
406
328
|
return /* @__PURE__ */ import_react8.default.createElement(
|
|
407
|
-
|
|
329
|
+
import_react_native3.View,
|
|
408
330
|
{
|
|
409
331
|
ref,
|
|
410
332
|
style: [scrollable && scrollableStyle, !scrollable && noScrollableStyle, justifyContentStyle],
|
|
@@ -11,44 +11,44 @@ import "../../../chunk-YKUYXBXK.mjs";
|
|
|
11
11
|
import "../../../chunk-ZEJDFWMP.mjs";
|
|
12
12
|
import "../../../chunk-MB55ARZ7.mjs";
|
|
13
13
|
import "../../../chunk-D5HHHZDS.mjs";
|
|
14
|
-
import "../../../chunk-WVL5S3CD.mjs";
|
|
15
14
|
import "../../../chunk-3LXODEBD.mjs";
|
|
15
|
+
import "../../../chunk-WVL5S3CD.mjs";
|
|
16
16
|
import "../../../chunk-7L5452RP.mjs";
|
|
17
17
|
import "../../../chunk-2K2TD7FH.mjs";
|
|
18
|
-
import "../../../chunk-
|
|
18
|
+
import "../../../chunk-5NCBENYK.mjs";
|
|
19
19
|
import "../../../chunk-CWIO3GEP.mjs";
|
|
20
20
|
import "../../../chunk-E4YRRUI3.mjs";
|
|
21
21
|
import "../../../chunk-R6PFY5VS.mjs";
|
|
22
22
|
import "../../../chunk-UZO5VCH2.mjs";
|
|
23
|
-
import "../../../chunk-
|
|
23
|
+
import "../../../chunk-JJA6BOVR.mjs";
|
|
24
24
|
import "../../../chunk-LHDHBH5T.mjs";
|
|
25
25
|
import "../../../chunk-RXBVZD3M.mjs";
|
|
26
|
+
import "../../../chunk-L5TMSDJR.mjs";
|
|
26
27
|
import "../../../chunk-GP5CJGRF.mjs";
|
|
28
|
+
import "../../../chunk-6TNYDJM7.mjs";
|
|
29
|
+
import "../../../chunk-HQXKHRER.mjs";
|
|
27
30
|
import "../../../chunk-NVH4ZPGW.mjs";
|
|
28
31
|
import "../../../chunk-62DJK35E.mjs";
|
|
29
32
|
import "../../../chunk-PAEZ47M2.mjs";
|
|
30
33
|
import "../../../chunk-A2ASOVUR.mjs";
|
|
31
34
|
import "../../../chunk-3XMSRU64.mjs";
|
|
32
|
-
import "../../../chunk-
|
|
35
|
+
import "../../../chunk-RJO5KKUW.mjs";
|
|
36
|
+
import "../../../chunk-R7HI6GOP.mjs";
|
|
33
37
|
import "../../../chunk-SUNBSFL4.mjs";
|
|
34
38
|
import "../../../chunk-UTA75ELV.mjs";
|
|
35
39
|
import "../../../chunk-L25MU6JT.mjs";
|
|
36
|
-
import "../../../chunk-6TNYDJM7.mjs";
|
|
37
|
-
import "../../../chunk-HQXKHRER.mjs";
|
|
38
40
|
import "../../../chunk-B6WC6WS2.mjs";
|
|
39
41
|
import "../../../chunk-MAX3RSBG.mjs";
|
|
40
42
|
import "../../../chunk-FTTU4DJW.mjs";
|
|
41
43
|
import "../../../chunk-L7CNF7H6.mjs";
|
|
42
|
-
import "../../../chunk-
|
|
43
|
-
import "../../../chunk-R7HI6GOP.mjs";
|
|
44
|
+
import "../../../chunk-6BTWLQPI.mjs";
|
|
44
45
|
import "../../../chunk-G6BHSMLA.mjs";
|
|
45
46
|
import "../../../chunk-THOTRBD4.mjs";
|
|
46
47
|
import "../../../chunk-XIQL4ZTN.mjs";
|
|
47
48
|
import "../../../chunk-UUXUTBLZ.mjs";
|
|
48
49
|
import "../../../chunk-QOEJLTZN.mjs";
|
|
49
|
-
import "../../../chunk-6BTWLQPI.mjs";
|
|
50
|
-
import "../../../chunk-ATW7ITPH.mjs";
|
|
51
50
|
import "../../../chunk-IGMJNGTZ.mjs";
|
|
51
|
+
import "../../../chunk-ATW7ITPH.mjs";
|
|
52
52
|
import "../../../chunk-L4UDEKQK.mjs";
|
|
53
53
|
import "../../../chunk-CD6DMMCL.mjs";
|
|
54
54
|
import "../../../chunk-RYABO2EX.mjs";
|
|
@@ -268,92 +268,14 @@ var isIOS = import_react_native2.Platform.OS === "ios";
|
|
|
268
268
|
|
|
269
269
|
// components/icon/Icon.native.tsx
|
|
270
270
|
var import_react7 = __toESM(require("react"));
|
|
271
|
-
var
|
|
271
|
+
var import_react_native3 = require("react-native");
|
|
272
272
|
|
|
273
|
-
// components/skeleton/Skeleton.
|
|
273
|
+
// components/skeleton/Skeleton.tsx
|
|
274
274
|
var import_react6 = __toESM(require("react"));
|
|
275
|
-
var
|
|
276
|
-
|
|
277
|
-
style,
|
|
278
|
-
width = "100%",
|
|
279
|
-
height = 20,
|
|
280
|
-
backgroundColor = "#E1E9EE",
|
|
281
|
-
shimmerColor = "#F7F8F8",
|
|
282
|
-
duration = 1200,
|
|
283
|
-
borderRadius = 4,
|
|
284
|
-
children,
|
|
285
|
-
testID
|
|
286
|
-
}) => {
|
|
287
|
-
const shimmerValue = (0, import_react6.useRef)(new import_react_native3.Animated.Value(0)).current;
|
|
288
|
-
const [containerWidth, setContainerWidth] = import_react6.default.useState(200);
|
|
289
|
-
(0, import_react6.useEffect)(() => {
|
|
290
|
-
const shimmerAnimation = import_react_native3.Animated.loop(
|
|
291
|
-
import_react_native3.Animated.timing(shimmerValue, {
|
|
292
|
-
toValue: 1,
|
|
293
|
-
duration,
|
|
294
|
-
useNativeDriver: true
|
|
295
|
-
}),
|
|
296
|
-
{ iterations: -1 }
|
|
297
|
-
);
|
|
298
|
-
shimmerAnimation.start();
|
|
299
|
-
return () => shimmerAnimation.stop();
|
|
300
|
-
}, [shimmerValue, duration]);
|
|
301
|
-
const translateX = shimmerValue.interpolate({
|
|
302
|
-
inputRange: [0, 1],
|
|
303
|
-
outputRange: [-containerWidth, containerWidth]
|
|
304
|
-
});
|
|
305
|
-
const opacity = shimmerValue.interpolate({
|
|
306
|
-
inputRange: [0, 0.5, 1],
|
|
307
|
-
outputRange: [0.3, 0.8, 0.3]
|
|
308
|
-
});
|
|
309
|
-
const containerStyle = {
|
|
310
|
-
width: children ? void 0 : width,
|
|
311
|
-
height: children ? void 0 : height,
|
|
312
|
-
backgroundColor,
|
|
313
|
-
borderRadius,
|
|
314
|
-
overflow: "hidden",
|
|
315
|
-
alignSelf: children ? "flex-start" : void 0,
|
|
316
|
-
...style
|
|
317
|
-
};
|
|
318
|
-
const handleLayout = (event) => {
|
|
319
|
-
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
320
|
-
setContainerWidth(layoutWidth);
|
|
321
|
-
};
|
|
322
|
-
if (children) {
|
|
323
|
-
return /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react6.default.createElement(
|
|
324
|
-
import_react_native3.Animated.View,
|
|
325
|
-
{
|
|
326
|
-
style: [
|
|
327
|
-
{
|
|
328
|
-
position: "absolute",
|
|
329
|
-
top: 0,
|
|
330
|
-
left: 0,
|
|
331
|
-
width: containerWidth * 0.7,
|
|
332
|
-
height: "100%",
|
|
333
|
-
backgroundColor: shimmerColor,
|
|
334
|
-
opacity,
|
|
335
|
-
transform: [{ translateX }]
|
|
336
|
-
}
|
|
337
|
-
]
|
|
338
|
-
}
|
|
339
|
-
));
|
|
340
|
-
}
|
|
341
|
-
return /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react6.default.createElement(
|
|
342
|
-
import_react_native3.Animated.View,
|
|
343
|
-
{
|
|
344
|
-
style: [
|
|
345
|
-
{
|
|
346
|
-
width: containerWidth * 0.7,
|
|
347
|
-
height: "100%",
|
|
348
|
-
backgroundColor: shimmerColor,
|
|
349
|
-
opacity,
|
|
350
|
-
transform: [{ translateX }]
|
|
351
|
-
}
|
|
352
|
-
]
|
|
353
|
-
}
|
|
354
|
-
));
|
|
275
|
+
var Skeleton = () => {
|
|
276
|
+
return /* @__PURE__ */ import_react6.default.createElement("div", null);
|
|
355
277
|
};
|
|
356
|
-
var
|
|
278
|
+
var Skeleton_default = Skeleton;
|
|
357
279
|
|
|
358
280
|
// components/icon/Icon.native.tsx
|
|
359
281
|
var import_css = require("react-native-svg/css");
|
|
@@ -369,7 +291,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
369
291
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
370
292
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
371
293
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
372
|
-
const styles =
|
|
294
|
+
const styles = import_react_native3.StyleSheet.create({
|
|
373
295
|
rootView: {
|
|
374
296
|
alignSelf: getAlignStyle(align)
|
|
375
297
|
},
|
|
@@ -413,7 +335,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
413
335
|
}
|
|
414
336
|
});
|
|
415
337
|
const IconSkeleton = () => /* @__PURE__ */ import_react7.default.createElement(
|
|
416
|
-
|
|
338
|
+
Skeleton_default,
|
|
417
339
|
{
|
|
418
340
|
style: styles.skeleton,
|
|
419
341
|
width: circledWidth,
|
|
@@ -425,10 +347,10 @@ var Icon = import_react7.default.forwardRef(
|
|
|
425
347
|
if (skeleton) {
|
|
426
348
|
return /* @__PURE__ */ import_react7.default.createElement(IconSkeleton, null);
|
|
427
349
|
}
|
|
428
|
-
let iconView = /* @__PURE__ */ import_react7.default.createElement(
|
|
350
|
+
let iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native3.View, null);
|
|
429
351
|
if (name && icons) {
|
|
430
352
|
if (stretched && !circled) {
|
|
431
|
-
iconView = /* @__PURE__ */ import_react7.default.createElement(
|
|
353
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native3.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react7.default.createElement(
|
|
432
354
|
import_css.WithLocalSvg,
|
|
433
355
|
{
|
|
434
356
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -439,7 +361,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
439
361
|
}
|
|
440
362
|
));
|
|
441
363
|
} else if (circled) {
|
|
442
|
-
iconView = /* @__PURE__ */ import_react7.default.createElement(
|
|
364
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native3.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react7.default.createElement(
|
|
443
365
|
import_css.WithLocalSvg,
|
|
444
366
|
{
|
|
445
367
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -450,7 +372,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
450
372
|
}
|
|
451
373
|
));
|
|
452
374
|
} else {
|
|
453
|
-
iconView = /* @__PURE__ */ import_react7.default.createElement(
|
|
375
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native3.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react7.default.createElement(
|
|
454
376
|
import_css.WithLocalSvg,
|
|
455
377
|
{
|
|
456
378
|
style: [styles.icon, style],
|
|
@@ -462,8 +384,8 @@ var Icon = import_react7.default.forwardRef(
|
|
|
462
384
|
));
|
|
463
385
|
}
|
|
464
386
|
}
|
|
465
|
-
return onClick ? /* @__PURE__ */ import_react7.default.createElement(
|
|
466
|
-
|
|
387
|
+
return onClick ? /* @__PURE__ */ import_react7.default.createElement(import_react_native3.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react7.default.createElement(
|
|
388
|
+
import_react_native3.TouchableOpacity,
|
|
467
389
|
{
|
|
468
390
|
style: { width: "100%" },
|
|
469
391
|
onPress: onClick,
|
|
@@ -471,7 +393,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
471
393
|
testID: `${testId}-pressable`
|
|
472
394
|
},
|
|
473
395
|
iconView
|
|
474
|
-
)) : /* @__PURE__ */ import_react7.default.createElement(
|
|
396
|
+
)) : /* @__PURE__ */ import_react7.default.createElement(import_react_native3.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
475
397
|
}
|
|
476
398
|
);
|
|
477
399
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -490,7 +412,7 @@ var import_react8 = require("react");
|
|
|
490
412
|
|
|
491
413
|
// components/columns/column/Column.native.tsx
|
|
492
414
|
var import_react9 = __toESM(require("react"));
|
|
493
|
-
var
|
|
415
|
+
var import_react_native4 = require("react-native");
|
|
494
416
|
var Column = import_react9.default.memo(
|
|
495
417
|
import_react9.default.forwardRef(
|
|
496
418
|
({ children, narrow, size, verticalAlign, ...others }, ref) => {
|
|
@@ -521,7 +443,7 @@ var Column = import_react9.default.memo(
|
|
|
521
443
|
[verticalAlign]
|
|
522
444
|
);
|
|
523
445
|
return /* @__PURE__ */ import_react9.default.createElement(
|
|
524
|
-
|
|
446
|
+
import_react_native4.View,
|
|
525
447
|
{
|
|
526
448
|
ref,
|
|
527
449
|
style: [scrollable && scrollableStyle, !scrollable && noScrollableStyle, justifyContentStyle],
|
|
@@ -15,11 +15,11 @@ import "../../chunk-YKUYXBXK.mjs";
|
|
|
15
15
|
import "../../chunk-ZEJDFWMP.mjs";
|
|
16
16
|
import "../../chunk-MB55ARZ7.mjs";
|
|
17
17
|
import "../../chunk-D5HHHZDS.mjs";
|
|
18
|
-
import "../../chunk-WVL5S3CD.mjs";
|
|
19
18
|
import "../../chunk-3LXODEBD.mjs";
|
|
19
|
+
import "../../chunk-WVL5S3CD.mjs";
|
|
20
20
|
import "../../chunk-7L5452RP.mjs";
|
|
21
21
|
import "../../chunk-2K2TD7FH.mjs";
|
|
22
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-5NCBENYK.mjs";
|
|
23
23
|
import "../../chunk-CWIO3GEP.mjs";
|
|
24
24
|
import "../../chunk-E4YRRUI3.mjs";
|
|
25
25
|
import "../../chunk-R6PFY5VS.mjs";
|
|
@@ -28,35 +28,35 @@ import {
|
|
|
28
28
|
GapSize
|
|
29
29
|
} from "../../chunk-KUF5FQNN.mjs";
|
|
30
30
|
import "../../chunk-UZO5VCH2.mjs";
|
|
31
|
-
import "../../chunk-
|
|
31
|
+
import "../../chunk-JJA6BOVR.mjs";
|
|
32
32
|
import "../../chunk-LHDHBH5T.mjs";
|
|
33
33
|
import "../../chunk-RXBVZD3M.mjs";
|
|
34
|
+
import "../../chunk-L5TMSDJR.mjs";
|
|
34
35
|
import "../../chunk-GP5CJGRF.mjs";
|
|
36
|
+
import "../../chunk-6TNYDJM7.mjs";
|
|
37
|
+
import "../../chunk-HQXKHRER.mjs";
|
|
35
38
|
import "../../chunk-NVH4ZPGW.mjs";
|
|
36
39
|
import "../../chunk-62DJK35E.mjs";
|
|
37
40
|
import "../../chunk-PAEZ47M2.mjs";
|
|
38
41
|
import "../../chunk-A2ASOVUR.mjs";
|
|
39
42
|
import "../../chunk-3XMSRU64.mjs";
|
|
40
|
-
import "../../chunk-
|
|
43
|
+
import "../../chunk-RJO5KKUW.mjs";
|
|
44
|
+
import "../../chunk-R7HI6GOP.mjs";
|
|
41
45
|
import "../../chunk-SUNBSFL4.mjs";
|
|
42
46
|
import "../../chunk-UTA75ELV.mjs";
|
|
43
47
|
import "../../chunk-L25MU6JT.mjs";
|
|
44
|
-
import "../../chunk-6TNYDJM7.mjs";
|
|
45
|
-
import "../../chunk-HQXKHRER.mjs";
|
|
46
48
|
import "../../chunk-B6WC6WS2.mjs";
|
|
47
49
|
import "../../chunk-MAX3RSBG.mjs";
|
|
48
50
|
import "../../chunk-FTTU4DJW.mjs";
|
|
49
51
|
import "../../chunk-L7CNF7H6.mjs";
|
|
50
|
-
import "../../chunk-
|
|
51
|
-
import "../../chunk-R7HI6GOP.mjs";
|
|
52
|
+
import "../../chunk-6BTWLQPI.mjs";
|
|
52
53
|
import "../../chunk-G6BHSMLA.mjs";
|
|
53
54
|
import "../../chunk-THOTRBD4.mjs";
|
|
54
55
|
import "../../chunk-XIQL4ZTN.mjs";
|
|
55
56
|
import "../../chunk-UUXUTBLZ.mjs";
|
|
56
57
|
import "../../chunk-QOEJLTZN.mjs";
|
|
57
|
-
import "../../chunk-6BTWLQPI.mjs";
|
|
58
|
-
import "../../chunk-ATW7ITPH.mjs";
|
|
59
58
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
59
|
+
import "../../chunk-ATW7ITPH.mjs";
|
|
60
60
|
import "../../chunk-L4UDEKQK.mjs";
|
|
61
61
|
import "../../chunk-CD6DMMCL.mjs";
|
|
62
62
|
import "../../chunk-RYABO2EX.mjs";
|
|
@@ -127,92 +127,14 @@ var setTypographyColor = (typo = "", inverted = false, loading = false) => {
|
|
|
127
127
|
|
|
128
128
|
// components/text/Text.native.tsx
|
|
129
129
|
var import_react6 = __toESM(require("react"));
|
|
130
|
-
var
|
|
130
|
+
var import_react_native = require("react-native");
|
|
131
131
|
|
|
132
|
-
// components/skeleton/Skeleton.
|
|
132
|
+
// components/skeleton/Skeleton.tsx
|
|
133
133
|
var import_react5 = __toESM(require("react"));
|
|
134
|
-
var
|
|
135
|
-
|
|
136
|
-
style,
|
|
137
|
-
width = "100%",
|
|
138
|
-
height = 20,
|
|
139
|
-
backgroundColor = "#E1E9EE",
|
|
140
|
-
shimmerColor = "#F7F8F8",
|
|
141
|
-
duration = 1200,
|
|
142
|
-
borderRadius = 4,
|
|
143
|
-
children,
|
|
144
|
-
testID
|
|
145
|
-
}) => {
|
|
146
|
-
const shimmerValue = (0, import_react5.useRef)(new import_react_native.Animated.Value(0)).current;
|
|
147
|
-
const [containerWidth, setContainerWidth] = import_react5.default.useState(200);
|
|
148
|
-
(0, import_react5.useEffect)(() => {
|
|
149
|
-
const shimmerAnimation = import_react_native.Animated.loop(
|
|
150
|
-
import_react_native.Animated.timing(shimmerValue, {
|
|
151
|
-
toValue: 1,
|
|
152
|
-
duration,
|
|
153
|
-
useNativeDriver: true
|
|
154
|
-
}),
|
|
155
|
-
{ iterations: -1 }
|
|
156
|
-
);
|
|
157
|
-
shimmerAnimation.start();
|
|
158
|
-
return () => shimmerAnimation.stop();
|
|
159
|
-
}, [shimmerValue, duration]);
|
|
160
|
-
const translateX = shimmerValue.interpolate({
|
|
161
|
-
inputRange: [0, 1],
|
|
162
|
-
outputRange: [-containerWidth, containerWidth]
|
|
163
|
-
});
|
|
164
|
-
const opacity = shimmerValue.interpolate({
|
|
165
|
-
inputRange: [0, 0.5, 1],
|
|
166
|
-
outputRange: [0.3, 0.8, 0.3]
|
|
167
|
-
});
|
|
168
|
-
const containerStyle = {
|
|
169
|
-
width: children ? void 0 : width,
|
|
170
|
-
height: children ? void 0 : height,
|
|
171
|
-
backgroundColor,
|
|
172
|
-
borderRadius,
|
|
173
|
-
overflow: "hidden",
|
|
174
|
-
alignSelf: children ? "flex-start" : void 0,
|
|
175
|
-
...style
|
|
176
|
-
};
|
|
177
|
-
const handleLayout = (event) => {
|
|
178
|
-
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
179
|
-
setContainerWidth(layoutWidth);
|
|
180
|
-
};
|
|
181
|
-
if (children) {
|
|
182
|
-
return /* @__PURE__ */ import_react5.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react5.default.createElement(import_react_native.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react5.default.createElement(
|
|
183
|
-
import_react_native.Animated.View,
|
|
184
|
-
{
|
|
185
|
-
style: [
|
|
186
|
-
{
|
|
187
|
-
position: "absolute",
|
|
188
|
-
top: 0,
|
|
189
|
-
left: 0,
|
|
190
|
-
width: containerWidth * 0.7,
|
|
191
|
-
height: "100%",
|
|
192
|
-
backgroundColor: shimmerColor,
|
|
193
|
-
opacity,
|
|
194
|
-
transform: [{ translateX }]
|
|
195
|
-
}
|
|
196
|
-
]
|
|
197
|
-
}
|
|
198
|
-
));
|
|
199
|
-
}
|
|
200
|
-
return /* @__PURE__ */ import_react5.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react5.default.createElement(
|
|
201
|
-
import_react_native.Animated.View,
|
|
202
|
-
{
|
|
203
|
-
style: [
|
|
204
|
-
{
|
|
205
|
-
width: containerWidth * 0.7,
|
|
206
|
-
height: "100%",
|
|
207
|
-
backgroundColor: shimmerColor,
|
|
208
|
-
opacity,
|
|
209
|
-
transform: [{ translateX }]
|
|
210
|
-
}
|
|
211
|
-
]
|
|
212
|
-
}
|
|
213
|
-
));
|
|
134
|
+
var Skeleton = () => {
|
|
135
|
+
return /* @__PURE__ */ import_react5.default.createElement("div", null);
|
|
214
136
|
};
|
|
215
|
-
var
|
|
137
|
+
var Skeleton_default = Skeleton;
|
|
216
138
|
|
|
217
139
|
// components/text/Text.native.tsx
|
|
218
140
|
var Text = import_react6.default.forwardRef(
|
|
@@ -221,7 +143,7 @@ var Text = import_react6.default.forwardRef(
|
|
|
221
143
|
const textLevels = (level2) => {
|
|
222
144
|
return level2 && level2 == 1 /* ONE */ && 16 || level2 && level2 == 2 /* TWO */ && 14 || level2 && level2 == 3 /* THREE */ && 12 || level2 && level2 == 4 /* FOUR */ && 10 || 14;
|
|
223
145
|
};
|
|
224
|
-
const styles =
|
|
146
|
+
const styles = import_react_native.StyleSheet.create({
|
|
225
147
|
text: {
|
|
226
148
|
fontFamily: getTypographyBoldStyle(typo),
|
|
227
149
|
fontSize: textLevels(level),
|
|
@@ -243,7 +165,7 @@ var Text = import_react6.default.forwardRef(
|
|
|
243
165
|
});
|
|
244
166
|
const textAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
245
167
|
let textView = /* @__PURE__ */ import_react6.default.createElement(
|
|
246
|
-
|
|
168
|
+
import_react_native.Text,
|
|
247
169
|
{
|
|
248
170
|
ref,
|
|
249
171
|
numberOfLines,
|
|
@@ -258,7 +180,7 @@ var Text = import_react6.default.forwardRef(
|
|
|
258
180
|
);
|
|
259
181
|
if (skeleton) {
|
|
260
182
|
textView = /* @__PURE__ */ import_react6.default.createElement(
|
|
261
|
-
|
|
183
|
+
Skeleton_default,
|
|
262
184
|
{
|
|
263
185
|
style: styles.skeleton,
|
|
264
186
|
height: textLevels(level),
|
|
@@ -275,7 +197,7 @@ var Text_native_default = Text;
|
|
|
275
197
|
|
|
276
198
|
// components/countdown/Countdown.native.tsx
|
|
277
199
|
var import_react7 = __toESM(require("react"));
|
|
278
|
-
var
|
|
200
|
+
var import_react_native2 = require("react-native");
|
|
279
201
|
var calculateTimer = (timeDifference) => {
|
|
280
202
|
const seconds = Math.floor(timeDifference / 1e3 % 60);
|
|
281
203
|
const minutes = Math.floor(timeDifference / 1e3 / 60 % 60);
|
|
@@ -374,7 +296,7 @@ var Countdown = import_react7.default.forwardRef(
|
|
|
374
296
|
}
|
|
375
297
|
}, [timer, event, init]);
|
|
376
298
|
const countdownColor = inverted ? getColorStyle("WHITE" /* BACKGROUND */) : getColorStyle("MAIN" /* MAIN */);
|
|
377
|
-
const styles =
|
|
299
|
+
const styles = import_react_native2.StyleSheet.create({
|
|
378
300
|
countdown: {
|
|
379
301
|
alignSelf: centered ? "center" : "flex-start",
|
|
380
302
|
borderColor: countdownColor,
|
|
@@ -402,7 +324,7 @@ var Countdown = import_react7.default.forwardRef(
|
|
|
402
324
|
margin: 8
|
|
403
325
|
}
|
|
404
326
|
});
|
|
405
|
-
return /* @__PURE__ */ import_react7.default.createElement(
|
|
327
|
+
return /* @__PURE__ */ import_react7.default.createElement(import_react_native2.View, { ref, style: styles.countdown, ...others }, (show[0 /* DAY */] || timer.days != 0) && /* @__PURE__ */ import_react7.default.createElement(Text_native_default, { style: styles.text, testId: "day-id" }, timer.days ? timer.days : 0, /* @__PURE__ */ import_react7.default.createElement(Text_native_default, { style: styles.date }, "j")), show[0 /* DAY */] && show[1 /* HOUR */] && /* @__PURE__ */ import_react7.default.createElement(import_react_native2.View, { style: styles.separator, testID: "hour-day-id" }), (show[1 /* HOUR */] || timer.hours != 0) && /* @__PURE__ */ import_react7.default.createElement(Text_native_default, { style: styles.text }, timer.hours ? timer.hours : 0, /* @__PURE__ */ import_react7.default.createElement(Text_native_default, { style: styles.date }, "h")), show[1 /* HOUR */] && show[2 /* MIN */] && /* @__PURE__ */ import_react7.default.createElement(import_react_native2.View, { style: styles.separator, testID: "hour-min-id" }), (show[2 /* MIN */] || timer.minutes != 0) && /* @__PURE__ */ import_react7.default.createElement(Text_native_default, { style: styles.text }, timer.minutes ? timer.minutes : 0, /* @__PURE__ */ import_react7.default.createElement(Text_native_default, { style: styles.date }, "m")), show[3 /* SEC */] && show[2 /* MIN */] && /* @__PURE__ */ import_react7.default.createElement(import_react_native2.View, { style: styles.separator, testID: "sec-min-id" }), (show[3 /* SEC */] || timer.seconds != 0) && /* @__PURE__ */ import_react7.default.createElement(Text_native_default, { style: styles.text, level: 1 /* ONE */ }, timer.seconds ? timer.seconds : 0, /* @__PURE__ */ import_react7.default.createElement(Text_native_default, { style: styles.date }, "s")));
|
|
406
328
|
}
|
|
407
329
|
);
|
|
408
330
|
Countdown.displayName = "Countdown" /* Countdown */;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Countdown_native_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-BNFC4BW2.mjs";
|
|
5
5
|
import "../../chunk-WEGZE5OY.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-RA7237YI.mjs";
|
|
7
7
|
import "../../chunk-D5HHHZDS.mjs";
|
|
8
|
-
import "../../chunk-WVL5S3CD.mjs";
|
|
9
8
|
import "../../chunk-3LXODEBD.mjs";
|
|
9
|
+
import "../../chunk-WVL5S3CD.mjs";
|
|
10
10
|
import "../../chunk-CWIO3GEP.mjs";
|
|
11
11
|
import "../../chunk-E4YRRUI3.mjs";
|
|
12
12
|
import "../../chunk-JPEUL3TI.mjs";
|
|
13
13
|
import "../../chunk-P6NVOAAH.mjs";
|
|
14
14
|
import "../../chunk-UZO5VCH2.mjs";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-JJA6BOVR.mjs";
|
|
16
16
|
import "../../chunk-LHDHBH5T.mjs";
|
|
17
|
-
import "../../chunk-ATW7ITPH.mjs";
|
|
18
17
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
18
|
+
import "../../chunk-ATW7ITPH.mjs";
|
|
19
19
|
import "../../chunk-4ZJQXF2V.mjs";
|
|
20
20
|
import "../../chunk-VDLM4YQP.mjs";
|
|
21
21
|
import "../../chunk-QIPGVLHJ.mjs";
|