@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
|
@@ -109,92 +109,14 @@ var getColorStyle = (trilogyColor) => {
|
|
|
109
109
|
|
|
110
110
|
// components/box/Box.native.tsx
|
|
111
111
|
var import_react6 = __toESM(require("react"));
|
|
112
|
-
var
|
|
112
|
+
var import_react_native = require("react-native");
|
|
113
113
|
|
|
114
|
-
// components/skeleton/Skeleton.
|
|
114
|
+
// components/skeleton/Skeleton.tsx
|
|
115
115
|
var import_react5 = __toESM(require("react"));
|
|
116
|
-
var
|
|
117
|
-
|
|
118
|
-
style,
|
|
119
|
-
width = "100%",
|
|
120
|
-
height = 20,
|
|
121
|
-
backgroundColor = "#E1E9EE",
|
|
122
|
-
shimmerColor = "#F7F8F8",
|
|
123
|
-
duration = 1200,
|
|
124
|
-
borderRadius = 4,
|
|
125
|
-
children,
|
|
126
|
-
testID
|
|
127
|
-
}) => {
|
|
128
|
-
const shimmerValue = (0, import_react5.useRef)(new import_react_native.Animated.Value(0)).current;
|
|
129
|
-
const [containerWidth, setContainerWidth] = import_react5.default.useState(200);
|
|
130
|
-
(0, import_react5.useEffect)(() => {
|
|
131
|
-
const shimmerAnimation = import_react_native.Animated.loop(
|
|
132
|
-
import_react_native.Animated.timing(shimmerValue, {
|
|
133
|
-
toValue: 1,
|
|
134
|
-
duration,
|
|
135
|
-
useNativeDriver: true
|
|
136
|
-
}),
|
|
137
|
-
{ iterations: -1 }
|
|
138
|
-
);
|
|
139
|
-
shimmerAnimation.start();
|
|
140
|
-
return () => shimmerAnimation.stop();
|
|
141
|
-
}, [shimmerValue, duration]);
|
|
142
|
-
const translateX = shimmerValue.interpolate({
|
|
143
|
-
inputRange: [0, 1],
|
|
144
|
-
outputRange: [-containerWidth, containerWidth]
|
|
145
|
-
});
|
|
146
|
-
const opacity = shimmerValue.interpolate({
|
|
147
|
-
inputRange: [0, 0.5, 1],
|
|
148
|
-
outputRange: [0.3, 0.8, 0.3]
|
|
149
|
-
});
|
|
150
|
-
const containerStyle = {
|
|
151
|
-
width: children ? void 0 : width,
|
|
152
|
-
height: children ? void 0 : height,
|
|
153
|
-
backgroundColor,
|
|
154
|
-
borderRadius,
|
|
155
|
-
overflow: "hidden",
|
|
156
|
-
alignSelf: children ? "flex-start" : void 0,
|
|
157
|
-
...style
|
|
158
|
-
};
|
|
159
|
-
const handleLayout = (event) => {
|
|
160
|
-
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
161
|
-
setContainerWidth(layoutWidth);
|
|
162
|
-
};
|
|
163
|
-
if (children) {
|
|
164
|
-
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(
|
|
165
|
-
import_react_native.Animated.View,
|
|
166
|
-
{
|
|
167
|
-
style: [
|
|
168
|
-
{
|
|
169
|
-
position: "absolute",
|
|
170
|
-
top: 0,
|
|
171
|
-
left: 0,
|
|
172
|
-
width: containerWidth * 0.7,
|
|
173
|
-
height: "100%",
|
|
174
|
-
backgroundColor: shimmerColor,
|
|
175
|
-
opacity,
|
|
176
|
-
transform: [{ translateX }]
|
|
177
|
-
}
|
|
178
|
-
]
|
|
179
|
-
}
|
|
180
|
-
));
|
|
181
|
-
}
|
|
182
|
-
return /* @__PURE__ */ import_react5.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react5.default.createElement(
|
|
183
|
-
import_react_native.Animated.View,
|
|
184
|
-
{
|
|
185
|
-
style: [
|
|
186
|
-
{
|
|
187
|
-
width: containerWidth * 0.7,
|
|
188
|
-
height: "100%",
|
|
189
|
-
backgroundColor: shimmerColor,
|
|
190
|
-
opacity,
|
|
191
|
-
transform: [{ translateX }]
|
|
192
|
-
}
|
|
193
|
-
]
|
|
194
|
-
}
|
|
195
|
-
));
|
|
116
|
+
var Skeleton = () => {
|
|
117
|
+
return /* @__PURE__ */ import_react5.default.createElement("div", null);
|
|
196
118
|
};
|
|
197
|
-
var
|
|
119
|
+
var Skeleton_default = Skeleton;
|
|
198
120
|
|
|
199
121
|
// components/box/Box.native.tsx
|
|
200
122
|
var Box = import_react6.default.forwardRef(
|
|
@@ -216,7 +138,7 @@ var Box = import_react6.default.forwardRef(
|
|
|
216
138
|
const colorBgc = getColorStyle("WHITE" /* BACKGROUND */);
|
|
217
139
|
const [boxHeight, setBoxHeight] = (0, import_react6.useState)(0);
|
|
218
140
|
const boxRadius = 6;
|
|
219
|
-
const styles =
|
|
141
|
+
const styles = import_react_native.StyleSheet.create({
|
|
220
142
|
box: {
|
|
221
143
|
width: "100%",
|
|
222
144
|
backgroundColor: backgroundColor ? getColorStyle(backgroundColor) : colorBgc,
|
|
@@ -266,7 +188,7 @@ var Box = import_react6.default.forwardRef(
|
|
|
266
188
|
});
|
|
267
189
|
const boxTestId = "NotSpecified";
|
|
268
190
|
const BoxSkeleton = () => /* @__PURE__ */ import_react6.default.createElement(
|
|
269
|
-
|
|
191
|
+
Skeleton_default,
|
|
270
192
|
{
|
|
271
193
|
style: styles.skeleton,
|
|
272
194
|
width: "100%",
|
|
@@ -281,7 +203,7 @@ var Box = import_react6.default.forwardRef(
|
|
|
281
203
|
}
|
|
282
204
|
if (onClick) {
|
|
283
205
|
return /* @__PURE__ */ import_react6.default.createElement(BoxContext.Provider, { value: { fullHeight: fullheight || false } }, /* @__PURE__ */ import_react6.default.createElement(
|
|
284
|
-
|
|
206
|
+
import_react_native.TouchableOpacity,
|
|
285
207
|
{
|
|
286
208
|
ref,
|
|
287
209
|
onPress: (e) => onClick == null ? void 0 : onClick(e),
|
|
@@ -293,19 +215,19 @@ var Box = import_react6.default.forwardRef(
|
|
|
293
215
|
testID: boxTestId
|
|
294
216
|
},
|
|
295
217
|
backgroundSrc ? /* @__PURE__ */ import_react6.default.createElement(
|
|
296
|
-
|
|
218
|
+
import_react_native.ImageBackground,
|
|
297
219
|
{
|
|
298
220
|
imageStyle: { borderRadius: boxRadius },
|
|
299
221
|
style: styles.boxImage,
|
|
300
222
|
source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }
|
|
301
223
|
},
|
|
302
|
-
Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(
|
|
224
|
+
Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(import_react_native.View, { style: styles.highlighted }),
|
|
303
225
|
/* @__PURE__ */ import_react6.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } }, children)
|
|
304
|
-
) : /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(
|
|
226
|
+
) : /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(import_react_native.View, { style: styles.highlighted }), /* @__PURE__ */ import_react6.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } }, children))
|
|
305
227
|
));
|
|
306
228
|
}
|
|
307
229
|
return /* @__PURE__ */ import_react6.default.createElement(BoxContext.Provider, { value: { fullHeight: fullheight || false } }, /* @__PURE__ */ import_react6.default.createElement(
|
|
308
|
-
|
|
230
|
+
import_react_native.View,
|
|
309
231
|
{
|
|
310
232
|
ref,
|
|
311
233
|
onLayout: (event) => {
|
|
@@ -316,15 +238,15 @@ var Box = import_react6.default.forwardRef(
|
|
|
316
238
|
testID: boxTestId
|
|
317
239
|
},
|
|
318
240
|
backgroundSrc ? /* @__PURE__ */ import_react6.default.createElement(
|
|
319
|
-
|
|
241
|
+
import_react_native.ImageBackground,
|
|
320
242
|
{
|
|
321
243
|
imageStyle: { borderRadius: boxRadius },
|
|
322
244
|
style: styles.boxImage,
|
|
323
245
|
source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }
|
|
324
246
|
},
|
|
325
|
-
Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(
|
|
247
|
+
Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(import_react_native.View, { style: styles.highlighted }),
|
|
326
248
|
/* @__PURE__ */ import_react6.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } }, children)
|
|
327
|
-
) : /* @__PURE__ */ import_react6.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } }, Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(
|
|
249
|
+
) : /* @__PURE__ */ import_react6.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } }, Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(import_react_native.View, { style: styles.highlighted }), children)
|
|
328
250
|
));
|
|
329
251
|
}
|
|
330
252
|
);
|
|
@@ -333,11 +255,11 @@ var Box_native_default = Box;
|
|
|
333
255
|
|
|
334
256
|
// components/box/content/BoxContent.native.tsx
|
|
335
257
|
var React5 = __toESM(require("react"));
|
|
336
|
-
var
|
|
258
|
+
var import_react_native2 = require("react-native");
|
|
337
259
|
var BoxContent = React5.forwardRef(
|
|
338
260
|
({ children, backgroundColor, backgroundSrc, ...others }, ref) => {
|
|
339
261
|
const { fullHeight } = React5.useContext(BoxContext);
|
|
340
|
-
const styles =
|
|
262
|
+
const styles = import_react_native2.StyleSheet.create({
|
|
341
263
|
boxContent: {
|
|
342
264
|
padding: 16,
|
|
343
265
|
backgroundColor: backgroundColor && getColorStyle(backgroundColor) || "transparent",
|
|
@@ -345,9 +267,9 @@ var BoxContent = React5.forwardRef(
|
|
|
345
267
|
flex: fullHeight ? 1 : void 0
|
|
346
268
|
}
|
|
347
269
|
});
|
|
348
|
-
const content = /* @__PURE__ */ React5.createElement(
|
|
270
|
+
const content = /* @__PURE__ */ React5.createElement(import_react_native2.View, { ref, style: [styles.boxContent], ...others }, children && typeof children.valueOf() === "string" ? /* @__PURE__ */ React5.createElement(import_react_native2.Text, null, children) : children);
|
|
349
271
|
if (backgroundSrc) {
|
|
350
|
-
return /* @__PURE__ */ React5.createElement(
|
|
272
|
+
return /* @__PURE__ */ React5.createElement(import_react_native2.ImageBackground, { source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }, style: { flex: 1 }, imageStyle: { borderRadius: 6 } }, content);
|
|
351
273
|
} else {
|
|
352
274
|
return content;
|
|
353
275
|
}
|
|
@@ -371,7 +293,7 @@ var getAlignStyle = (alignType) => {
|
|
|
371
293
|
};
|
|
372
294
|
|
|
373
295
|
// helpers/device/index.native.ts
|
|
374
|
-
var
|
|
296
|
+
var import_react_native3 = require("react-native");
|
|
375
297
|
var Device = /* @__PURE__ */ ((Device2) => {
|
|
376
298
|
Device2["Browser"] = "browser";
|
|
377
299
|
Device2["Server"] = "server";
|
|
@@ -395,12 +317,12 @@ var assign = (...args) => Object.assign({}, ...args);
|
|
|
395
317
|
var values = (obj) => Object.values(obj);
|
|
396
318
|
var toArrayObject = () => assign((values(SSRObjectDefined), SSRObjectDefined));
|
|
397
319
|
var SSRObject = toArrayObject();
|
|
398
|
-
var isAndroid =
|
|
399
|
-
var isIOS =
|
|
320
|
+
var isAndroid = import_react_native3.Platform.OS === "android";
|
|
321
|
+
var isIOS = import_react_native3.Platform.OS === "ios";
|
|
400
322
|
|
|
401
323
|
// components/icon/Icon.native.tsx
|
|
402
324
|
var import_react7 = __toESM(require("react"));
|
|
403
|
-
var
|
|
325
|
+
var import_react_native4 = require("react-native");
|
|
404
326
|
var import_css = require("react-native-svg/css");
|
|
405
327
|
var Icon = import_react7.default.forwardRef(
|
|
406
328
|
({ size: size2, name, circled, stretched, color, backgroundColor, onClick, align, skeleton, testId, ...others }, ref) => {
|
|
@@ -414,7 +336,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
414
336
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
415
337
|
const iconSkeletonRadius = size2 === "huge" /* HUGE */ && 50 || size2 === "large" /* LARGE */ && 35 || size2 === "medium" /* MEDIUM */ && 25 || size2 === "small" /* SMALL */ && 15 || size2 === "smaller" /* SMALLER */ && 10 || 15;
|
|
416
338
|
const circledWidth = size2 === "huge" /* HUGE */ && 99 || size2 === "large" /* LARGE */ && 66 || size2 === "medium" /* MEDIUM */ && 48 || size2 === "small" /* SMALL */ && 32 || size2 === "smaller" /* SMALLER */ && 38 || 32;
|
|
417
|
-
const styles =
|
|
339
|
+
const styles = import_react_native4.StyleSheet.create({
|
|
418
340
|
rootView: {
|
|
419
341
|
alignSelf: getAlignStyle(align)
|
|
420
342
|
},
|
|
@@ -458,7 +380,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
458
380
|
}
|
|
459
381
|
});
|
|
460
382
|
const IconSkeleton = () => /* @__PURE__ */ import_react7.default.createElement(
|
|
461
|
-
|
|
383
|
+
Skeleton_default,
|
|
462
384
|
{
|
|
463
385
|
style: styles.skeleton,
|
|
464
386
|
width: circledWidth,
|
|
@@ -470,10 +392,10 @@ var Icon = import_react7.default.forwardRef(
|
|
|
470
392
|
if (skeleton) {
|
|
471
393
|
return /* @__PURE__ */ import_react7.default.createElement(IconSkeleton, null);
|
|
472
394
|
}
|
|
473
|
-
let iconView = /* @__PURE__ */ import_react7.default.createElement(
|
|
395
|
+
let iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, null);
|
|
474
396
|
if (name && icons) {
|
|
475
397
|
if (stretched && !circled) {
|
|
476
|
-
iconView = /* @__PURE__ */ import_react7.default.createElement(
|
|
398
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react7.default.createElement(
|
|
477
399
|
import_css.WithLocalSvg,
|
|
478
400
|
{
|
|
479
401
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -484,7 +406,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
484
406
|
}
|
|
485
407
|
));
|
|
486
408
|
} else if (circled) {
|
|
487
|
-
iconView = /* @__PURE__ */ import_react7.default.createElement(
|
|
409
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react7.default.createElement(
|
|
488
410
|
import_css.WithLocalSvg,
|
|
489
411
|
{
|
|
490
412
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -495,7 +417,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
495
417
|
}
|
|
496
418
|
));
|
|
497
419
|
} else {
|
|
498
|
-
iconView = /* @__PURE__ */ import_react7.default.createElement(
|
|
420
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react7.default.createElement(
|
|
499
421
|
import_css.WithLocalSvg,
|
|
500
422
|
{
|
|
501
423
|
style: [styles.icon, style],
|
|
@@ -507,8 +429,8 @@ var Icon = import_react7.default.forwardRef(
|
|
|
507
429
|
));
|
|
508
430
|
}
|
|
509
431
|
}
|
|
510
|
-
return onClick ? /* @__PURE__ */ import_react7.default.createElement(
|
|
511
|
-
|
|
432
|
+
return onClick ? /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react7.default.createElement(
|
|
433
|
+
import_react_native4.TouchableOpacity,
|
|
512
434
|
{
|
|
513
435
|
style: { width: "100%" },
|
|
514
436
|
onPress: onClick,
|
|
@@ -516,7 +438,7 @@ var Icon = import_react7.default.forwardRef(
|
|
|
516
438
|
testID: `${testId}-pressable`
|
|
517
439
|
},
|
|
518
440
|
iconView
|
|
519
|
-
)) : /* @__PURE__ */ import_react7.default.createElement(
|
|
441
|
+
)) : /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
520
442
|
}
|
|
521
443
|
);
|
|
522
444
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -535,11 +457,11 @@ var import_react8 = require("react");
|
|
|
535
457
|
|
|
536
458
|
// components/box/footer/BoxFooter.native.tsx
|
|
537
459
|
var React7 = __toESM(require("react"));
|
|
538
|
-
var
|
|
460
|
+
var import_react_native5 = require("react-native");
|
|
539
461
|
var BoxFooter = React7.forwardRef(
|
|
540
462
|
({ children, backgroundColor, ...others }, ref) => {
|
|
541
463
|
const boxRadius = 6;
|
|
542
|
-
const styles =
|
|
464
|
+
const styles = import_react_native5.StyleSheet.create({
|
|
543
465
|
boxFooter: {
|
|
544
466
|
padding: 12,
|
|
545
467
|
justifyContent: "center",
|
|
@@ -548,7 +470,7 @@ var BoxFooter = React7.forwardRef(
|
|
|
548
470
|
borderBottomRightRadius: boxRadius
|
|
549
471
|
}
|
|
550
472
|
});
|
|
551
|
-
return /* @__PURE__ */ React7.createElement(
|
|
473
|
+
return /* @__PURE__ */ React7.createElement(import_react_native5.View, { ref, style: [styles.boxFooter], ...others }, children && typeof children.valueOf() === "string" ? /* @__PURE__ */ React7.createElement(import_react_native5.Text, null, String(children)) : children);
|
|
552
474
|
}
|
|
553
475
|
);
|
|
554
476
|
BoxFooter.displayName = "BoxFooter" /* BoxFooter */;
|
|
@@ -557,7 +479,7 @@ var BoxFooter_native_default = BoxFooter;
|
|
|
557
479
|
// components/box/header/BoxHeader.native.tsx
|
|
558
480
|
var React8 = __toESM(require("react"));
|
|
559
481
|
var import_react9 = require("react");
|
|
560
|
-
var
|
|
482
|
+
var import_react_native6 = require("react-native");
|
|
561
483
|
var BoxHeader = React8.forwardRef(
|
|
562
484
|
({ children, variant, ...others }, ref) => {
|
|
563
485
|
const statesContext = (0, import_react9.useContext)(StatesContext);
|
|
@@ -567,7 +489,7 @@ var BoxHeader = React8.forwardRef(
|
|
|
567
489
|
const help = "";
|
|
568
490
|
const headerBgc = variant ? getColorStyle(variant) : getColorStyle("MAIN" /* MAIN */);
|
|
569
491
|
const textColor = getColorStyle("WHITE" /* BACKGROUND */);
|
|
570
|
-
const styles =
|
|
492
|
+
const styles = import_react_native6.StyleSheet.create({
|
|
571
493
|
boxHeader: {
|
|
572
494
|
width: "100%",
|
|
573
495
|
backgroundColor: headerBgc,
|
|
@@ -595,7 +517,7 @@ var BoxHeader = React8.forwardRef(
|
|
|
595
517
|
lineHeight: 15
|
|
596
518
|
}
|
|
597
519
|
});
|
|
598
|
-
return /* @__PURE__ */ React8.createElement(
|
|
520
|
+
return /* @__PURE__ */ React8.createElement(import_react_native6.View, { style: [styles.boxHeader], ref, ...others }, children && typeof children.valueOf() === "string" ? /* @__PURE__ */ React8.createElement(import_react_native6.Text, { style: styles.text }, String(children)) : children, help && /* @__PURE__ */ React8.createElement(import_react_native6.View, { style: styles.helpContainer }, /* @__PURE__ */ React8.createElement(import_react_native6.Text, { style: styles.help }, help)));
|
|
599
521
|
}
|
|
600
522
|
);
|
|
601
523
|
BoxHeader.displayName = "BoxHeader" /* BoxHeader */;
|
|
@@ -603,10 +525,10 @@ var BoxHeader_native_default = BoxHeader;
|
|
|
603
525
|
|
|
604
526
|
// components/box/item/BoxItem.native.tsx
|
|
605
527
|
var React9 = __toESM(require("react"));
|
|
606
|
-
var
|
|
528
|
+
var import_react_native7 = require("react-native");
|
|
607
529
|
var BoxItem = React9.forwardRef(({ children, size: size2, ...others }, ref) => {
|
|
608
530
|
const height = Number(size2) || 48;
|
|
609
|
-
const styles =
|
|
531
|
+
const styles = import_react_native7.StyleSheet.create({
|
|
610
532
|
boxItem: {
|
|
611
533
|
height,
|
|
612
534
|
alignItems: "center",
|
|
@@ -615,7 +537,7 @@ var BoxItem = React9.forwardRef(({ children, size: size2, ...others }, ref) => {
|
|
|
615
537
|
flex: 1
|
|
616
538
|
}
|
|
617
539
|
});
|
|
618
|
-
return /* @__PURE__ */ React9.createElement(
|
|
540
|
+
return /* @__PURE__ */ React9.createElement(import_react_native7.View, { ref, style: [styles.boxItem], ...others }, children);
|
|
619
541
|
});
|
|
620
542
|
BoxItem.displayName = "BoxItem" /* BoxItem */;
|
|
621
543
|
var BoxItem_native_default = BoxItem;
|
|
@@ -633,13 +555,13 @@ var BoxItemSize = ((BoxItemSize2) => {
|
|
|
633
555
|
|
|
634
556
|
// components/box/table-container/BoxTableContainer.native.tsx
|
|
635
557
|
var React10 = __toESM(require("react"));
|
|
636
|
-
var
|
|
558
|
+
var import_react_native8 = require("react-native");
|
|
637
559
|
var boxTableContainer = React10.forwardRef(
|
|
638
560
|
({ children, ...others }, ref) => {
|
|
639
|
-
const styles =
|
|
561
|
+
const styles = import_react_native8.StyleSheet.create({
|
|
640
562
|
boxTableContainer: {}
|
|
641
563
|
});
|
|
642
|
-
return /* @__PURE__ */ React10.createElement(
|
|
564
|
+
return /* @__PURE__ */ React10.createElement(import_react_native8.View, { ref, style: [styles.boxTableContainer], ...others }, children);
|
|
643
565
|
}
|
|
644
566
|
);
|
|
645
567
|
boxTableContainer.displayName = "BoxTableContainer" /* BoxTableContainer */;
|
|
@@ -3,21 +3,21 @@ import "../../chunk-SPRPRRPP.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
BoxTableContainer_native_default
|
|
5
5
|
} from "../../chunk-4EH7JSDJ.mjs";
|
|
6
|
+
import {
|
|
7
|
+
BoxHeader_native_default
|
|
8
|
+
} from "../../chunk-JFTUDUYA.mjs";
|
|
6
9
|
import {
|
|
7
10
|
BoxItem_native_default
|
|
8
11
|
} from "../../chunk-77O4HKAP.mjs";
|
|
9
12
|
import {
|
|
10
13
|
BoxFooter_native_default
|
|
11
14
|
} from "../../chunk-7WYOWHKR.mjs";
|
|
12
|
-
import {
|
|
13
|
-
BoxHeader_native_default
|
|
14
|
-
} from "../../chunk-JFTUDUYA.mjs";
|
|
15
15
|
import {
|
|
16
16
|
BoxContent_native_default
|
|
17
17
|
} from "../../chunk-CJTAJA4V.mjs";
|
|
18
18
|
import {
|
|
19
19
|
Box_native_default
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-2DMJIJTD.mjs";
|
|
21
21
|
import "../../chunk-652YVC7W.mjs";
|
|
22
22
|
import "../../chunk-7M6BHGK7.mjs";
|
|
23
23
|
import "../../chunk-VNWHCGCD.mjs";
|
|
@@ -27,11 +27,11 @@ import "../../chunk-YKUYXBXK.mjs";
|
|
|
27
27
|
import "../../chunk-ZEJDFWMP.mjs";
|
|
28
28
|
import "../../chunk-MB55ARZ7.mjs";
|
|
29
29
|
import "../../chunk-D5HHHZDS.mjs";
|
|
30
|
-
import "../../chunk-WVL5S3CD.mjs";
|
|
31
30
|
import "../../chunk-3LXODEBD.mjs";
|
|
31
|
+
import "../../chunk-WVL5S3CD.mjs";
|
|
32
32
|
import "../../chunk-7L5452RP.mjs";
|
|
33
33
|
import "../../chunk-2K2TD7FH.mjs";
|
|
34
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-5NCBENYK.mjs";
|
|
35
35
|
import "../../chunk-CWIO3GEP.mjs";
|
|
36
36
|
import "../../chunk-E4YRRUI3.mjs";
|
|
37
37
|
import "../../chunk-R6PFY5VS.mjs";
|
|
@@ -40,35 +40,35 @@ import {
|
|
|
40
40
|
} from "../../chunk-BW2X3JP2.mjs";
|
|
41
41
|
import "../../chunk-RKSNGOHM.mjs";
|
|
42
42
|
import "../../chunk-UZO5VCH2.mjs";
|
|
43
|
-
import "../../chunk-
|
|
43
|
+
import "../../chunk-JJA6BOVR.mjs";
|
|
44
44
|
import "../../chunk-LHDHBH5T.mjs";
|
|
45
45
|
import "../../chunk-RXBVZD3M.mjs";
|
|
46
|
+
import "../../chunk-L5TMSDJR.mjs";
|
|
46
47
|
import "../../chunk-GP5CJGRF.mjs";
|
|
48
|
+
import "../../chunk-6TNYDJM7.mjs";
|
|
49
|
+
import "../../chunk-HQXKHRER.mjs";
|
|
47
50
|
import "../../chunk-NVH4ZPGW.mjs";
|
|
48
51
|
import "../../chunk-62DJK35E.mjs";
|
|
49
52
|
import "../../chunk-PAEZ47M2.mjs";
|
|
50
53
|
import "../../chunk-A2ASOVUR.mjs";
|
|
51
54
|
import "../../chunk-3XMSRU64.mjs";
|
|
52
|
-
import "../../chunk-
|
|
55
|
+
import "../../chunk-RJO5KKUW.mjs";
|
|
56
|
+
import "../../chunk-R7HI6GOP.mjs";
|
|
53
57
|
import "../../chunk-SUNBSFL4.mjs";
|
|
54
58
|
import "../../chunk-UTA75ELV.mjs";
|
|
55
59
|
import "../../chunk-L25MU6JT.mjs";
|
|
56
|
-
import "../../chunk-6TNYDJM7.mjs";
|
|
57
|
-
import "../../chunk-HQXKHRER.mjs";
|
|
58
60
|
import "../../chunk-B6WC6WS2.mjs";
|
|
59
61
|
import "../../chunk-MAX3RSBG.mjs";
|
|
60
62
|
import "../../chunk-FTTU4DJW.mjs";
|
|
61
63
|
import "../../chunk-L7CNF7H6.mjs";
|
|
62
|
-
import "../../chunk-
|
|
63
|
-
import "../../chunk-R7HI6GOP.mjs";
|
|
64
|
+
import "../../chunk-6BTWLQPI.mjs";
|
|
64
65
|
import "../../chunk-G6BHSMLA.mjs";
|
|
65
66
|
import "../../chunk-THOTRBD4.mjs";
|
|
66
67
|
import "../../chunk-XIQL4ZTN.mjs";
|
|
67
68
|
import "../../chunk-UUXUTBLZ.mjs";
|
|
68
69
|
import "../../chunk-QOEJLTZN.mjs";
|
|
69
|
-
import "../../chunk-6BTWLQPI.mjs";
|
|
70
|
-
import "../../chunk-ATW7ITPH.mjs";
|
|
71
70
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
71
|
+
import "../../chunk-ATW7ITPH.mjs";
|
|
72
72
|
import "../../chunk-L4UDEKQK.mjs";
|
|
73
73
|
import "../../chunk-CD6DMMCL.mjs";
|
|
74
74
|
import "../../chunk-RYABO2EX.mjs";
|
|
@@ -141,92 +141,14 @@ var getAlignStyle = (alignType) => {
|
|
|
141
141
|
|
|
142
142
|
// components/icon/Icon.native.tsx
|
|
143
143
|
var import_react5 = __toESM(require("react"));
|
|
144
|
-
var
|
|
144
|
+
var import_react_native2 = require("react-native");
|
|
145
145
|
|
|
146
|
-
// components/skeleton/Skeleton.
|
|
146
|
+
// components/skeleton/Skeleton.tsx
|
|
147
147
|
var import_react4 = __toESM(require("react"));
|
|
148
|
-
var
|
|
149
|
-
|
|
150
|
-
style,
|
|
151
|
-
width = "100%",
|
|
152
|
-
height = 20,
|
|
153
|
-
backgroundColor = "#E1E9EE",
|
|
154
|
-
shimmerColor = "#F7F8F8",
|
|
155
|
-
duration = 1200,
|
|
156
|
-
borderRadius = 4,
|
|
157
|
-
children,
|
|
158
|
-
testID
|
|
159
|
-
}) => {
|
|
160
|
-
const shimmerValue = (0, import_react4.useRef)(new import_react_native2.Animated.Value(0)).current;
|
|
161
|
-
const [containerWidth, setContainerWidth] = import_react4.default.useState(200);
|
|
162
|
-
(0, import_react4.useEffect)(() => {
|
|
163
|
-
const shimmerAnimation = import_react_native2.Animated.loop(
|
|
164
|
-
import_react_native2.Animated.timing(shimmerValue, {
|
|
165
|
-
toValue: 1,
|
|
166
|
-
duration,
|
|
167
|
-
useNativeDriver: true
|
|
168
|
-
}),
|
|
169
|
-
{ iterations: -1 }
|
|
170
|
-
);
|
|
171
|
-
shimmerAnimation.start();
|
|
172
|
-
return () => shimmerAnimation.stop();
|
|
173
|
-
}, [shimmerValue, duration]);
|
|
174
|
-
const translateX = shimmerValue.interpolate({
|
|
175
|
-
inputRange: [0, 1],
|
|
176
|
-
outputRange: [-containerWidth, containerWidth]
|
|
177
|
-
});
|
|
178
|
-
const opacity = shimmerValue.interpolate({
|
|
179
|
-
inputRange: [0, 0.5, 1],
|
|
180
|
-
outputRange: [0.3, 0.8, 0.3]
|
|
181
|
-
});
|
|
182
|
-
const containerStyle = {
|
|
183
|
-
width: children ? void 0 : width,
|
|
184
|
-
height: children ? void 0 : height,
|
|
185
|
-
backgroundColor,
|
|
186
|
-
borderRadius,
|
|
187
|
-
overflow: "hidden",
|
|
188
|
-
alignSelf: children ? "flex-start" : void 0,
|
|
189
|
-
...style
|
|
190
|
-
};
|
|
191
|
-
const handleLayout = (event) => {
|
|
192
|
-
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
193
|
-
setContainerWidth(layoutWidth);
|
|
194
|
-
};
|
|
195
|
-
if (children) {
|
|
196
|
-
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(
|
|
197
|
-
import_react_native2.Animated.View,
|
|
198
|
-
{
|
|
199
|
-
style: [
|
|
200
|
-
{
|
|
201
|
-
position: "absolute",
|
|
202
|
-
top: 0,
|
|
203
|
-
left: 0,
|
|
204
|
-
width: containerWidth * 0.7,
|
|
205
|
-
height: "100%",
|
|
206
|
-
backgroundColor: shimmerColor,
|
|
207
|
-
opacity,
|
|
208
|
-
transform: [{ translateX }]
|
|
209
|
-
}
|
|
210
|
-
]
|
|
211
|
-
}
|
|
212
|
-
));
|
|
213
|
-
}
|
|
214
|
-
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(
|
|
215
|
-
import_react_native2.Animated.View,
|
|
216
|
-
{
|
|
217
|
-
style: [
|
|
218
|
-
{
|
|
219
|
-
width: containerWidth * 0.7,
|
|
220
|
-
height: "100%",
|
|
221
|
-
backgroundColor: shimmerColor,
|
|
222
|
-
opacity,
|
|
223
|
-
transform: [{ translateX }]
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
}
|
|
227
|
-
));
|
|
148
|
+
var Skeleton = () => {
|
|
149
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", null);
|
|
228
150
|
};
|
|
229
|
-
var
|
|
151
|
+
var Skeleton_default = Skeleton;
|
|
230
152
|
|
|
231
153
|
// components/icon/Icon.native.tsx
|
|
232
154
|
var import_css = require("react-native-svg/css");
|
|
@@ -242,7 +164,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
242
164
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
243
165
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
244
166
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
245
|
-
const styles =
|
|
167
|
+
const styles = import_react_native2.StyleSheet.create({
|
|
246
168
|
rootView: {
|
|
247
169
|
alignSelf: getAlignStyle(align)
|
|
248
170
|
},
|
|
@@ -286,7 +208,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
286
208
|
}
|
|
287
209
|
});
|
|
288
210
|
const IconSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
289
|
-
|
|
211
|
+
Skeleton_default,
|
|
290
212
|
{
|
|
291
213
|
style: styles.skeleton,
|
|
292
214
|
width: circledWidth,
|
|
@@ -298,10 +220,10 @@ var Icon = import_react5.default.forwardRef(
|
|
|
298
220
|
if (skeleton) {
|
|
299
221
|
return /* @__PURE__ */ import_react5.default.createElement(IconSkeleton, null);
|
|
300
222
|
}
|
|
301
|
-
let iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
223
|
+
let iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, null);
|
|
302
224
|
if (name && icons) {
|
|
303
225
|
if (stretched && !circled) {
|
|
304
|
-
iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
226
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
305
227
|
import_css.WithLocalSvg,
|
|
306
228
|
{
|
|
307
229
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -312,7 +234,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
312
234
|
}
|
|
313
235
|
));
|
|
314
236
|
} else if (circled) {
|
|
315
|
-
iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
237
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
316
238
|
import_css.WithLocalSvg,
|
|
317
239
|
{
|
|
318
240
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -323,7 +245,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
323
245
|
}
|
|
324
246
|
));
|
|
325
247
|
} else {
|
|
326
|
-
iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
248
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react5.default.createElement(
|
|
327
249
|
import_css.WithLocalSvg,
|
|
328
250
|
{
|
|
329
251
|
style: [styles.icon, style],
|
|
@@ -335,8 +257,8 @@ var Icon = import_react5.default.forwardRef(
|
|
|
335
257
|
));
|
|
336
258
|
}
|
|
337
259
|
}
|
|
338
|
-
return onClick ? /* @__PURE__ */ import_react5.default.createElement(
|
|
339
|
-
|
|
260
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react5.default.createElement(
|
|
261
|
+
import_react_native2.TouchableOpacity,
|
|
340
262
|
{
|
|
341
263
|
style: { width: "100%" },
|
|
342
264
|
onPress: onClick,
|
|
@@ -344,7 +266,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
344
266
|
testID: `${testId}-pressable`
|
|
345
267
|
},
|
|
346
268
|
iconView
|
|
347
|
-
)) : /* @__PURE__ */ import_react5.default.createElement(
|
|
269
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
348
270
|
}
|
|
349
271
|
);
|
|
350
272
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -352,11 +274,11 @@ var Icon_native_default = Icon;
|
|
|
352
274
|
|
|
353
275
|
// components/breadcrumb/Breadcrumb.native.tsx
|
|
354
276
|
var React4 = __toESM(require("react"));
|
|
355
|
-
var
|
|
277
|
+
var import_react_native3 = require("react-native");
|
|
356
278
|
var Breadcrumb = React4.forwardRef(
|
|
357
279
|
({ children, testId, ...others }, ref) => {
|
|
358
280
|
const { containerStyle } = React4.useMemo(
|
|
359
|
-
() =>
|
|
281
|
+
() => import_react_native3.StyleSheet.create({
|
|
360
282
|
containerStyle: {
|
|
361
283
|
flexDirection: "row",
|
|
362
284
|
flexWrap: "wrap"
|
|
@@ -364,7 +286,7 @@ var Breadcrumb = React4.forwardRef(
|
|
|
364
286
|
}),
|
|
365
287
|
[]
|
|
366
288
|
);
|
|
367
|
-
return /* @__PURE__ */ React4.createElement(
|
|
289
|
+
return /* @__PURE__ */ React4.createElement(import_react_native3.View, { testID: testId, style: [containerStyle], ref, ...others }, Array.isArray(children) ? React4.Children.map(children, (child, index) => /* @__PURE__ */ React4.createElement(React4.Fragment, null, React4.cloneElement(child), index != children.length - 1 && /* @__PURE__ */ React4.createElement(Icon_native_default, { size: "smaller", name: "tri-arrow-right", align: "ALIGNED_CENTER" }))) : children);
|
|
368
290
|
}
|
|
369
291
|
);
|
|
370
292
|
Breadcrumb.displayName = "Breadcrumb" /* Breadcrumb */;
|