@trilogy-ds/react 0.0.20-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-7ZANYDV4.mjs → chunk-2BQXWN3R.mjs} +1 -1
- package/lib/{chunk-WV5PBU2C.mjs → chunk-2DMJIJTD.mjs} +17 -5
- package/lib/{chunk-MDZE2AV3.mjs → chunk-2EF72O53.mjs} +15 -8
- package/lib/{chunk-G2QCDZEE.mjs → chunk-33VIHGIE.mjs} +1 -1
- package/lib/{chunk-JB7AXJFO.mjs → chunk-3CUMNA5T.mjs} +16 -4
- package/lib/{chunk-27BK6EVC.mjs → chunk-3QN2JTJH.mjs} +3 -3
- package/lib/{chunk-IT2ZBSQG.mjs → chunk-3TFMB2ZU.mjs} +16 -7
- package/lib/{chunk-POCUFCQC.mjs → chunk-4J6WJU6H.mjs} +1 -1
- package/lib/chunk-4LBDW7MG.mjs +320 -0
- package/lib/{chunk-UPP3GX33.mjs → chunk-5NCBENYK.mjs} +16 -6
- package/lib/{chunk-B6D5UHOQ.mjs → chunk-6WPEEBMC.mjs} +1 -1
- package/lib/{chunk-ZRWNSZC6.mjs → chunk-6YU73H5M.mjs} +1 -1
- package/lib/chunk-7DJ5V2J7.mjs +90 -0
- package/lib/chunk-7HQWD2HW.mjs +635 -0
- package/lib/{chunk-ZSBVX26X.mjs → chunk-7LIZKR65.mjs} +1 -1
- package/lib/{chunk-T4AH7FLU.mjs → chunk-AVYI3IRF.mjs} +1 -1
- package/lib/{chunk-IOXFCPJQ.mjs → chunk-BNFC4BW2.mjs} +1 -1
- package/lib/{chunk-U2STNP4N.mjs → chunk-CKEC5R4P.mjs} +1 -1
- package/lib/{chunk-Q3NP4BBO.mjs → chunk-CU2FQJB3.mjs} +2 -2
- package/lib/{chunk-TCRJL43C.mjs → chunk-DB4LE4EW.mjs} +2 -2
- package/lib/{chunk-5ALKJFH4.mjs → chunk-DJQD6XHB.mjs} +1 -1
- package/lib/{chunk-LQ2EKGFZ.mjs → chunk-DOYDNMGO.mjs} +1 -1
- package/lib/{chunk-UC3N6X6R.mjs → chunk-DTG6ZDOA.mjs} +1 -1
- package/lib/{chunk-XZCE64VV.mjs → chunk-EFI4OPOL.mjs} +1 -1
- package/lib/{chunk-2MP6W4C2.mjs → chunk-EIBKS56D.mjs} +4 -4
- package/lib/{chunk-432FETUO.mjs → chunk-EKMGL7ZZ.mjs} +1 -1
- package/lib/{chunk-3I74MN5M.mjs → chunk-FADGUVGS.mjs} +2 -2
- package/lib/{chunk-M5W5FRMF.mjs → chunk-FKLCZFMR.mjs} +2 -2
- package/lib/{chunk-IHTDJ5DD.mjs → chunk-GQOES35K.mjs} +2 -2
- package/lib/{chunk-ZEEM3OU3.mjs → chunk-HS7PWFF3.mjs} +3 -3
- package/lib/{chunk-X5HHW5EE.mjs → chunk-HZAMMVDY.mjs} +3 -3
- package/lib/{chunk-LJ4LZ3UC.mjs → chunk-ILTCTVY7.mjs} +1 -1
- package/lib/{chunk-HPM5H4HF.mjs → chunk-INMX4E34.mjs} +1 -1
- package/lib/{chunk-ACDIJOLY.mjs → chunk-IZYESQPA.mjs} +12 -5
- package/lib/{chunk-I3LRGLUL.mjs → chunk-J2YGXNIH.mjs} +3 -3
- package/lib/{chunk-67BVHO7H.mjs → chunk-JDIKK2K5.mjs} +2 -2
- package/lib/chunk-JJA6BOVR.mjs +12 -0
- package/lib/{chunk-BIWBGSDJ.mjs → chunk-KPIWEUFQ.mjs} +1 -1
- package/lib/{chunk-NKO25SIM.mjs → chunk-KRZWEBDP.mjs} +2 -2
- package/lib/chunk-LHDHBH5T.mjs +1 -0
- package/lib/{chunk-SFL4T7RS.mjs → chunk-MIEXUCOH.mjs} +1 -1
- package/lib/{chunk-Y4CLZAPU.mjs → chunk-MR7AJAP2.mjs} +2 -2
- package/lib/{chunk-VSYM7BJ4.mjs → chunk-MV3N2D6T.mjs} +1 -1
- package/lib/{chunk-CCIRXOIR.mjs → chunk-NHN7GU32.mjs} +2 -2
- package/lib/{chunk-RVRMMLZJ.mjs → chunk-NPCDCOTL.mjs} +2 -2
- package/lib/{chunk-I4RR2QN7.mjs → chunk-OQ6PNNED.mjs} +2 -2
- package/lib/{chunk-QNDMUIJM.mjs → chunk-PZ2SAVMT.mjs} +2 -2
- package/lib/{chunk-573KW52P.mjs → chunk-PZP5ZUI3.mjs} +1 -1
- package/lib/chunk-RA7237YI.mjs +84 -0
- package/lib/{chunk-YSBY3XJC.mjs → chunk-RAQQH2DI.mjs} +1 -1
- package/lib/{chunk-K5D3QU3U.mjs → chunk-RGEGLOEG.mjs} +2 -2
- package/lib/{chunk-Y6VHQF2J.mjs → chunk-SOW7WGY7.mjs} +1 -1
- package/lib/{chunk-QIEADZWY.mjs → chunk-T27AVHAC.mjs} +1 -1
- package/lib/{chunk-UTXKOHCM.mjs → chunk-T2NWMSDU.mjs} +3 -3
- package/lib/{chunk-KUVBW2U7.mjs → chunk-THX2YDD5.mjs} +1 -1
- package/lib/{chunk-VL2UCFFK.mjs → chunk-TXKGISWW.mjs} +2 -2
- package/lib/{chunk-NE4WGXUM.mjs → chunk-TZFHL54Q.mjs} +1 -1
- package/lib/{chunk-QTEMHSK5.mjs → chunk-UIJLFZYF.mjs} +1 -1
- package/lib/{chunk-5NJMUSWY.mjs → chunk-UMCBNLSL.mjs} +1 -1
- package/lib/{chunk-DWZ232Q2.mjs → chunk-UQSQUPSK.mjs} +2 -2
- package/lib/chunk-UZO5VCH2.mjs +1 -0
- package/lib/{chunk-TPXCSXWT.mjs → chunk-VXYPRBJB.mjs} +3 -3
- package/lib/{chunk-5DY6WPCA.mjs → chunk-WWBPXBJT.mjs} +2 -2
- package/lib/{chunk-7TEPMZRL.mjs → chunk-XRN2HE4L.mjs} +1 -1
- package/lib/{chunk-23RKW2TY.mjs → chunk-Z44CCSOP.mjs} +1 -1
- package/lib/{chunk-JDLZGLZJ.mjs → chunk-Z7AZ74DI.mjs} +2 -2
- package/lib/components/accordion/index.mjs +3 -3
- package/lib/components/accordion/index.native.js +54 -37
- package/lib/components/accordion/index.native.mjs +9 -6
- package/lib/components/accordion/item/AccordionItem.native.js +48 -31
- package/lib/components/accordion/item/AccordionItem.native.mjs +6 -3
- package/lib/components/accordion/item/index.native.js +48 -31
- package/lib/components/accordion/item/index.native.mjs +6 -3
- package/lib/components/alert/Alert.mjs +2 -2
- package/lib/components/alert/Alert.native.js +138 -115
- package/lib/components/alert/Alert.native.mjs +19 -16
- package/lib/components/alert/index.mjs +2 -2
- package/lib/components/alert/index.native.js +138 -115
- package/lib/components/alert/index.native.mjs +19 -16
- package/lib/components/autocomplete/AutoComplete.mjs +15 -15
- package/lib/components/autocomplete/AutoComplete.native.js +158 -142
- package/lib/components/autocomplete/AutoComplete.native.mjs +21 -18
- package/lib/components/autocomplete/index.mjs +17 -17
- package/lib/components/autocomplete/index.native.js +166 -150
- package/lib/components/autocomplete/index.native.mjs +26 -23
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +67 -87
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +7 -5
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +1 -1
- package/lib/components/autocomplete/item/index.mjs +2 -2
- package/lib/components/autocomplete/item/index.native.js +67 -87
- package/lib/components/autocomplete/item/index.native.mjs +7 -5
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +1 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +118 -102
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +18 -15
- package/lib/components/autocomplete/menu/index.mjs +1 -1
- package/lib/components/autocomplete/menu/index.native.js +118 -102
- package/lib/components/autocomplete/menu/index.native.mjs +18 -15
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.mjs +2 -2
- package/lib/components/autolayout/AutoLayout/index.native.mjs +2 -2
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.mjs +3 -3
- package/lib/components/autolayout/index.mjs +3 -3
- package/lib/components/autolayout/index.native.mjs +3 -3
- package/lib/components/badge/Badge.mjs +1 -1
- package/lib/components/badge/Badge.native.js +37 -20
- package/lib/components/badge/Badge.native.mjs +16 -13
- package/lib/components/badge/index.mjs +1 -1
- package/lib/components/badge/index.native.js +37 -20
- package/lib/components/badge/index.native.mjs +16 -13
- package/lib/components/box/Box.native.js +34 -16
- package/lib/components/box/Box.native.mjs +5 -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 +34 -17
- package/lib/components/box/footer/BoxFooter.native.mjs +15 -12
- package/lib/components/box/footer/index.mjs +1 -1
- package/lib/components/box/footer/index.native.js +34 -17
- package/lib/components/box/footer/index.native.mjs +15 -12
- package/lib/components/box/header/BoxHeader.mjs +1 -1
- package/lib/components/box/header/BoxHeader.native.mjs +2 -2
- package/lib/components/box/header/index.mjs +1 -1
- package/lib/components/box/header/index.native.mjs +2 -2
- package/lib/components/box/index.mjs +9 -9
- package/lib/components/box/index.native.js +75 -49
- package/lib/components/box/index.native.mjs +22 -19
- package/lib/components/breadcrumb/Breadcrumb.native.js +34 -17
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +6 -3
- package/lib/components/breadcrumb/index.mjs +1 -1
- package/lib/components/breadcrumb/index.native.js +94 -78
- package/lib/components/breadcrumb/index.native.mjs +9 -6
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +71 -91
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +7 -5
- package/lib/components/breadcrumb/item/index.mjs +1 -1
- package/lib/components/breadcrumb/item/index.native.js +71 -91
- package/lib/components/breadcrumb/item/index.native.mjs +7 -5
- package/lib/components/button/Button.mjs +1 -1
- package/lib/components/button/Button.native.js +50 -33
- package/lib/components/button/Button.native.mjs +16 -13
- package/lib/components/button/index.mjs +1 -1
- package/lib/components/button/index.native.js +53 -36
- package/lib/components/button/index.native.mjs +16 -13
- package/lib/components/button/list/ButtonList.mjs +1 -1
- package/lib/components/button/list/index.mjs +1 -1
- package/lib/components/calendar/Calendar.js +15 -3
- package/lib/components/calendar/Calendar.mjs +15 -15
- package/lib/components/calendar/Calendar.native.d.mts +15 -2
- package/lib/components/calendar/Calendar.native.d.ts +15 -2
- package/lib/components/calendar/Calendar.native.js +945 -3
- package/lib/components/calendar/Calendar.native.mjs +23 -1
- package/lib/components/calendar/index.js +15 -3
- package/lib/components/calendar/index.mjs +15 -15
- package/lib/components/calendar/index.native.js +943 -3
- package/lib/components/calendar/index.native.mjs +23 -1
- package/lib/components/card/Card.native.js +33 -43
- package/lib/components/card/Card.native.mjs +5 -3
- package/lib/components/card/content/CardContent.native.js +39 -49
- package/lib/components/card/content/CardContent.native.mjs +6 -4
- package/lib/components/card/content/index.native.js +39 -49
- package/lib/components/card/content/index.native.mjs +6 -4
- package/lib/components/card/image/CardImage.native.js +44 -54
- package/lib/components/card/image/CardImage.native.mjs +6 -4
- package/lib/components/card/image/index.native.js +44 -54
- package/lib/components/card/image/index.native.mjs +6 -4
- package/lib/components/card/index.mjs +1 -1
- package/lib/components/card/index.native.js +50 -60
- package/lib/components/card/index.native.mjs +7 -5
- package/lib/components/checkbox/Checkbox.native.js +92 -76
- package/lib/components/checkbox/Checkbox.native.mjs +8 -5
- package/lib/components/checkbox/index.mjs +15 -15
- package/lib/components/checkbox/index.native.js +139 -123
- package/lib/components/checkbox/index.native.mjs +25 -22
- package/lib/components/checkbox/list/CheckboxList.mjs +12 -12
- package/lib/components/checkbox/list/CheckboxList.native.js +71 -91
- package/lib/components/checkbox/list/CheckboxList.native.mjs +10 -8
- package/lib/components/checkbox/list/index.mjs +12 -12
- package/lib/components/checkbox/list/index.native.js +71 -91
- package/lib/components/checkbox/list/index.native.mjs +10 -8
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +12 -12
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +107 -91
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +18 -15
- package/lib/components/checkbox/tiles/tile/index.mjs +12 -12
- package/lib/components/checkbox/tiles/tile/index.native.js +107 -91
- package/lib/components/checkbox/tiles/tile/index.native.mjs +18 -15
- package/lib/components/chips/Chips.native.js +125 -109
- package/lib/components/chips/Chips.native.mjs +8 -5
- package/lib/components/chips/index.native.js +125 -109
- package/lib/components/chips/index.native.mjs +8 -5
- package/lib/components/columns/column/Column.native.js +40 -23
- package/lib/components/columns/column/Column.native.mjs +15 -12
- package/lib/components/columns/column/index.native.js +40 -23
- package/lib/components/columns/column/index.native.mjs +15 -12
- package/lib/components/columns/index.native.js +40 -23
- package/lib/components/columns/index.native.mjs +15 -12
- package/lib/components/countdown/Countdown.native.js +74 -94
- package/lib/components/countdown/Countdown.native.mjs +7 -5
- package/lib/components/countdown/index.native.js +74 -94
- package/lib/components/countdown/index.native.mjs +7 -5
- package/lib/components/datepicker/DatePicker.js +15 -3
- package/lib/components/datepicker/DatePicker.mjs +17 -17
- package/lib/components/datepicker/DatePicker.native.d.mts +18 -2
- package/lib/components/datepicker/DatePicker.native.d.ts +18 -2
- package/lib/components/datepicker/DatePicker.native.js +1248 -3
- package/lib/components/datepicker/DatePicker.native.mjs +26 -1
- package/lib/components/datepicker/index.js +15 -3
- package/lib/components/datepicker/index.mjs +17 -17
- package/lib/components/datepicker/index.native.js +1247 -4
- package/lib/components/datepicker/index.native.mjs +26 -1
- package/lib/components/divider/Divider.mjs +1 -1
- package/lib/components/divider/Divider.native.js +98 -82
- package/lib/components/divider/Divider.native.mjs +8 -5
- package/lib/components/divider/index.mjs +1 -1
- package/lib/components/divider/index.native.js +98 -82
- package/lib/components/divider/index.native.mjs +8 -5
- package/lib/components/fab/Fab.mjs +1 -1
- package/lib/components/fab/Fab.native.js +92 -76
- package/lib/components/fab/Fab.native.mjs +17 -14
- package/lib/components/fab/index.mjs +1 -1
- package/lib/components/fab/index.native.js +92 -76
- package/lib/components/fab/index.native.mjs +17 -14
- package/lib/components/flex-box/FlexBox.native.js +53 -36
- package/lib/components/flex-box/FlexBox.native.mjs +15 -12
- package/lib/components/flex-box/index.native.js +59 -42
- package/lib/components/flex-box/index.native.mjs +15 -12
- package/lib/components/hero/Hero.native.js +87 -61
- package/lib/components/hero/Hero.native.mjs +20 -17
- package/lib/components/hero/index.native.js +87 -61
- package/lib/components/hero/index.native.mjs +20 -17
- package/lib/components/icon/Icon.mjs +1 -1
- package/lib/components/icon/Icon.native.js +30 -13
- package/lib/components/icon/Icon.native.mjs +5 -2
- package/lib/components/icon/index.mjs +1 -1
- package/lib/components/icon/index.native.js +30 -13
- package/lib/components/icon/index.native.mjs +5 -2
- package/lib/components/image/Image.mjs +12 -12
- package/lib/components/image/index.mjs +12 -12
- package/lib/components/index.d.mts +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +144 -123
- package/lib/components/index.mjs +85 -79
- package/lib/components/index.native.js +1926 -968
- package/lib/components/index.native.mjs +120 -117
- package/lib/components/input/Input.mjs +12 -12
- package/lib/components/input/Input.native.js +143 -127
- package/lib/components/input/Input.native.mjs +18 -15
- package/lib/components/input/gauge/InputGauge.mjs +12 -12
- package/lib/components/input/gauge/InputGauge.native.js +108 -92
- package/lib/components/input/gauge/InputGauge.native.mjs +17 -14
- package/lib/components/input/gauge/hook/useGauge.mjs +12 -12
- package/lib/components/input/gauge/hook/useGauge.native.js +44 -27
- package/lib/components/input/gauge/hook/useGauge.native.mjs +15 -12
- package/lib/components/input/index.mjs +12 -12
- package/lib/components/input/index.native.js +143 -127
- package/lib/components/input/index.native.mjs +18 -15
- package/lib/components/link/Link.mjs +1 -1
- package/lib/components/link/Link.native.js +37 -20
- package/lib/components/link/Link.native.mjs +6 -3
- package/lib/components/link/index.mjs +1 -1
- package/lib/components/link/index.native.js +37 -20
- package/lib/components/link/index.native.mjs +6 -3
- package/lib/components/list/index.mjs +12 -12
- package/lib/components/list/index.native.js +95 -79
- package/lib/components/list/index.native.mjs +18 -15
- package/lib/components/list/item/ListItem.mjs +12 -12
- package/lib/components/list/item/ListItem.native.js +97 -81
- package/lib/components/list/item/ListItem.native.mjs +17 -14
- package/lib/components/list/item/description/ListItemDescription.mjs +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.js +125 -109
- package/lib/components/list/item/description/ListItemDescription.native.mjs +17 -14
- package/lib/components/list/item/description/index.mjs +1 -1
- package/lib/components/list/item/description/index.native.js +125 -109
- package/lib/components/list/item/description/index.native.mjs +17 -14
- package/lib/components/list/item/index.mjs +12 -12
- package/lib/components/list/item/index.native.js +97 -81
- package/lib/components/list/item/index.native.mjs +18 -15
- package/lib/components/modal/Modal.mjs +2 -2
- package/lib/components/modal/Modal.native.js +81 -57
- package/lib/components/modal/Modal.native.mjs +18 -15
- package/lib/components/modal/body/ModalBody.mjs +1 -1
- package/lib/components/modal/body/ModalBody.native.js +38 -21
- package/lib/components/modal/body/ModalBody.native.mjs +15 -12
- package/lib/components/modal/body/index.native.js +38 -21
- package/lib/components/modal/body/index.native.mjs +15 -12
- package/lib/components/modal/footer/ModalFooter.mjs +1 -1
- package/lib/components/modal/footer/ModalFooter.native.js +82 -58
- package/lib/components/modal/footer/ModalFooter.native.mjs +18 -15
- package/lib/components/modal/footer/index.native.js +82 -58
- package/lib/components/modal/footer/index.native.mjs +18 -15
- package/lib/components/modal/index.mjs +2 -2
- package/lib/components/modal/index.native.js +91 -67
- package/lib/components/modal/index.native.mjs +22 -19
- package/lib/components/otp/Otp.mjs +1 -1
- package/lib/components/otp/Otp.native.js +112 -89
- package/lib/components/otp/Otp.native.mjs +19 -16
- package/lib/components/otp/index.mjs +1 -1
- package/lib/components/otp/index.native.js +112 -89
- package/lib/components/otp/index.native.mjs +19 -16
- package/lib/components/pagination/Pagination.mjs +1 -1
- package/lib/components/pagination/Pagination.native.js +100 -84
- package/lib/components/pagination/Pagination.native.mjs +8 -5
- package/lib/components/pagination/index.mjs +1 -1
- package/lib/components/pagination/index.native.js +100 -84
- package/lib/components/pagination/index.native.mjs +8 -5
- package/lib/components/popover/Popover.native.js +38 -21
- package/lib/components/popover/Popover.native.mjs +15 -12
- package/lib/components/popover/index.native.js +38 -21
- package/lib/components/popover/index.native.mjs +15 -12
- package/lib/components/price/Price.mjs +12 -12
- package/lib/components/price/Price.native.js +39 -22
- package/lib/components/price/Price.native.mjs +16 -13
- package/lib/components/price/index.mjs +12 -12
- package/lib/components/price/index.native.js +39 -22
- package/lib/components/price/index.native.mjs +16 -13
- package/lib/components/product-tour/ProductTour.mjs +1 -1
- package/lib/components/product-tour/index.mjs +1 -1
- package/lib/components/progress/Progress.mjs +12 -12
- package/lib/components/progress/Progress.native.js +128 -112
- package/lib/components/progress/Progress.native.mjs +17 -14
- package/lib/components/progress/index.mjs +17 -17
- package/lib/components/progress/index.native.js +158 -135
- package/lib/components/progress/index.native.mjs +21 -18
- package/lib/components/progress/item/ProgressItem.mjs +12 -12
- package/lib/components/progress/item/index.mjs +12 -12
- package/lib/components/progress/radial/ProgressRadial.mjs +2 -2
- package/lib/components/progress/radial/ProgressRadial.native.js +137 -114
- package/lib/components/progress/radial/ProgressRadial.native.mjs +17 -14
- package/lib/components/progress/radial/index.mjs +2 -2
- package/lib/components/progress/radial/index.native.js +137 -114
- package/lib/components/progress/radial/index.native.mjs +17 -14
- 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 +116 -100
- package/lib/components/radio/Radio.native.mjs +17 -14
- package/lib/components/radio/index.mjs +13 -13
- package/lib/components/radio/index.native.js +131 -115
- package/lib/components/radio/index.native.mjs +23 -20
- package/lib/components/radio/list/RadioList.mjs +12 -12
- package/lib/components/radio/list/RadioList.native.mjs +5 -5
- package/lib/components/radio/list/index.mjs +12 -12
- package/lib/components/radio/list/index.native.mjs +5 -5
- package/lib/components/radio/tiles/RadioTiles.mjs +12 -12
- package/lib/components/radio/tiles/index.mjs +12 -12
- package/lib/components/radio/tiles/tile/RadioTile.mjs +12 -12
- package/lib/components/radio/tiles/tile/RadioTile.native.js +101 -85
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +18 -15
- package/lib/components/radio/tiles/tile/index.mjs +12 -12
- package/lib/components/radio/tiles/tile/index.native.js +101 -85
- package/lib/components/radio/tiles/tile/index.native.mjs +18 -15
- package/lib/components/range/Range.mjs +12 -12
- package/lib/components/range/Range.native.js +95 -79
- package/lib/components/range/Range.native.mjs +17 -14
- package/lib/components/range/index.mjs +12 -12
- package/lib/components/range/index.native.js +95 -79
- package/lib/components/range/index.native.mjs +17 -14
- 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 +12 -12
- package/lib/components/scroll-view/ScrollView.native.js +42 -25
- package/lib/components/scroll-view/ScrollView.native.mjs +15 -12
- package/lib/components/scroll-view/index.mjs +12 -12
- package/lib/components/scroll-view/index.native.js +42 -25
- package/lib/components/scroll-view/index.native.mjs +15 -12
- package/lib/components/section/Section.mjs +12 -12
- package/lib/components/section/Section.native.js +36 -19
- package/lib/components/section/Section.native.mjs +15 -12
- package/lib/components/section/index.mjs +12 -12
- package/lib/components/section/index.native.js +36 -19
- package/lib/components/section/index.native.mjs +15 -12
- package/lib/components/segment-control/SegmentControl.mjs +12 -12
- package/lib/components/segment-control/SegmentControl.native.js +136 -120
- package/lib/components/segment-control/SegmentControl.native.mjs +18 -15
- package/lib/components/segment-control/index.mjs +12 -12
- package/lib/components/segment-control/index.native.js +142 -126
- package/lib/components/segment-control/index.native.mjs +18 -15
- 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 +14 -14
- package/lib/components/select/Select.native.js +228 -205
- package/lib/components/select/Select.native.mjs +26 -23
- package/lib/components/select/index.mjs +14 -14
- package/lib/components/select/index.native.js +228 -205
- package/lib/components/select/index.native.mjs +26 -23
- package/lib/components/select/option/SelectOption.mjs +1 -1
- package/lib/components/select/option/SelectOption.native.js +102 -86
- package/lib/components/select/option/SelectOption.native.mjs +17 -14
- package/lib/components/select/option/index.mjs +1 -1
- package/lib/components/select/option/index.native.js +102 -86
- package/lib/components/select/option/index.native.mjs +18 -15
- package/lib/components/select/web/SelectDynamic.mjs +12 -12
- package/lib/components/select/web/SelectNative.mjs +14 -14
- package/lib/components/select/web/index.mjs +15 -15
- 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/Skeleton.native.d.mts +4 -0
- package/lib/components/skeleton/Skeleton.native.d.ts +4 -0
- package/lib/components/skeleton/Skeleton.native.js +119 -0
- package/lib/components/skeleton/Skeleton.native.mjs +8 -0
- package/lib/components/skeleton/SkeletonProps.d.mts +13 -0
- package/lib/components/skeleton/SkeletonProps.d.ts +13 -0
- package/lib/components/skeleton/SkeletonProps.js +19 -0
- package/lib/components/skeleton/SkeletonProps.mjs +2 -0
- package/lib/components/skeleton/SkeletonPropsDefaults.js +80 -0
- package/lib/components/skeleton/index.d.mts +3 -0
- package/lib/components/skeleton/index.d.ts +3 -0
- package/lib/components/skeleton/index.js +47 -0
- package/lib/components/skeleton/index.mjs +10 -0
- 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 +92 -76
- package/lib/components/stepper/Stepper.native.mjs +17 -14
- package/lib/components/stepper/index.mjs +1 -1
- package/lib/components/stepper/index.native.js +97 -81
- package/lib/components/stepper/index.native.mjs +17 -14
- package/lib/components/stepper/step/Step.mjs +1 -1
- package/lib/components/stepper/step/Step.native.js +36 -19
- package/lib/components/stepper/step/Step.native.mjs +15 -12
- package/lib/components/stepper/step/index.mjs +1 -1
- package/lib/components/stepper/step/index.native.js +36 -19
- package/lib/components/stepper/step/index.native.mjs +15 -12
- package/lib/components/sticker/Sticker.mjs +12 -12
- package/lib/components/sticker/Sticker.native.js +89 -73
- package/lib/components/sticker/Sticker.native.mjs +17 -14
- package/lib/components/sticker/index.mjs +12 -12
- package/lib/components/sticker/index.native.js +89 -73
- package/lib/components/sticker/index.native.mjs +17 -14
- package/lib/components/switch/Switch.mjs +12 -12
- package/lib/components/switch/Switch.native.js +37 -20
- package/lib/components/switch/Switch.native.mjs +15 -12
- package/lib/components/switch/index.mjs +12 -12
- package/lib/components/switch/index.native.js +37 -20
- package/lib/components/switch/index.native.mjs +15 -12
- package/lib/components/table/Table.native.js +34 -17
- package/lib/components/table/Table.native.mjs +15 -12
- package/lib/components/table/index.mjs +8 -8
- package/lib/components/table/index.native.js +116 -100
- package/lib/components/table/index.native.mjs +22 -19
- package/lib/components/table/td/TableTd.native.js +34 -17
- package/lib/components/table/td/TableTd.native.mjs +15 -12
- package/lib/components/table/td/index.native.js +34 -17
- package/lib/components/table/td/index.native.mjs +15 -12
- package/lib/components/table/th/TableTh.native.js +124 -108
- package/lib/components/table/th/TableTh.native.mjs +17 -14
- package/lib/components/table/th/index.native.js +124 -108
- package/lib/components/table/th/index.native.mjs +17 -14
- package/lib/components/table/tr/TableTr.native.js +101 -85
- package/lib/components/table/tr/TableTr.native.mjs +17 -14
- package/lib/components/table/tr/index.native.js +101 -85
- package/lib/components/table/tr/index.native.mjs +17 -14
- package/lib/components/tabs/index.mjs +8 -8
- package/lib/components/tabs/index.native.js +128 -112
- package/lib/components/tabs/index.native.mjs +23 -20
- package/lib/components/tabs/tab-list/TabList.mjs +1 -1
- package/lib/components/tabs/tab-list/TabList.native.js +118 -102
- package/lib/components/tabs/tab-list/TabList.native.mjs +18 -15
- package/lib/components/tabs/tab-list/index.mjs +1 -1
- package/lib/components/tabs/tab-list/index.native.js +118 -102
- package/lib/components/tabs/tab-list/index.native.mjs +18 -15
- package/lib/components/tabs/tab-list/tab/Tab.mjs +1 -1
- package/lib/components/tabs/tab-list/tab/Tab.native.js +96 -80
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +8 -5
- package/lib/components/tabs/tab-list/tab/index.mjs +1 -1
- package/lib/components/tabs/tab-list/tab/index.native.js +96 -80
- package/lib/components/tabs/tab-list/tab/index.native.mjs +8 -5
- package/lib/components/tabs/tab-panels/TabPanels.native.js +37 -20
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +15 -12
- package/lib/components/tabs/tab-panels/index.native.js +37 -20
- package/lib/components/tabs/tab-panels/index.native.mjs +15 -12
- package/lib/components/tag/Tag.mjs +1 -1
- package/lib/components/tag/Tag.native.js +34 -17
- package/lib/components/tag/Tag.native.mjs +6 -3
- package/lib/components/tag/index.mjs +12 -12
- package/lib/components/tag/index.native.js +37 -20
- package/lib/components/tag/index.native.mjs +6 -3
- package/lib/components/tag/list/TagList.mjs +12 -12
- package/lib/components/tag/list/index.mjs +12 -12
- package/lib/components/text/Text.native.js +63 -83
- package/lib/components/text/Text.native.mjs +6 -4
- package/lib/components/text/index.native.js +61 -83
- package/lib/components/text/index.native.mjs +6 -4
- package/lib/components/textarea/Textarea.mjs +12 -12
- package/lib/components/textarea/Textarea.native.js +98 -82
- package/lib/components/textarea/Textarea.native.mjs +17 -14
- package/lib/components/textarea/index.mjs +12 -12
- package/lib/components/textarea/index.native.js +98 -82
- package/lib/components/textarea/index.native.mjs +17 -14
- 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 +108 -92
- package/lib/components/timeline/content/TimelineContent.native.mjs +21 -18
- package/lib/components/timeline/content/index.mjs +1 -1
- package/lib/components/timeline/content/index.native.js +108 -92
- package/lib/components/timeline/content/index.native.mjs +21 -18
- package/lib/components/timeline/index.mjs +6 -6
- package/lib/components/timeline/index.native.js +114 -98
- package/lib/components/timeline/index.native.mjs +23 -20
- 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 +51 -34
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +16 -13
- package/lib/components/timeline/marker/index.mjs +1 -1
- package/lib/components/timeline/marker/index.native.js +51 -34
- package/lib/components/timeline/marker/index.native.mjs +17 -14
- package/lib/components/title/Title.native.js +75 -51
- package/lib/components/title/Title.native.mjs +16 -13
- package/lib/components/title/index.mjs +1 -1
- package/lib/components/title/index.native.js +75 -51
- package/lib/components/title/index.native.mjs +17 -14
- package/lib/components/view/View.mjs +12 -12
- package/lib/components/view/View.native.js +38 -21
- package/lib/components/view/View.native.mjs +15 -12
- package/lib/components/view/index.mjs +12 -12
- package/lib/components/view/index.native.js +38 -21
- package/lib/components/view/index.native.mjs +15 -12
- 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 +150 -129
- package/lib/index.mjs +94 -88
- package/lib/index.native.js +1932 -974
- package/lib/index.native.mjs +129 -126
- package/lib/objects/Typography/index.mjs +3 -3
- package/lib/objects/Typography/index.native.mjs +3 -3
- package/lib/objects/facets/Status/index.mjs +1 -1
- package/lib/objects/facets/Status/index.native.js +30 -13
- package/lib/objects/facets/Status/index.native.mjs +5 -2
- package/lib/objects/facets/index.mjs +13 -13
- package/lib/objects/facets/index.native.js +30 -13
- package/lib/objects/facets/index.native.mjs +17 -14
- package/lib/objects/index.mjs +17 -17
- package/lib/objects/index.native.js +32 -15
- package/lib/objects/index.native.mjs +20 -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 -2
- package/lib/chunk-C4ZXSLQP.mjs +0 -12
- package/lib/chunk-DSY6DDC3.mjs +0 -12
- package/lib/chunk-MVQ252OA.mjs +0 -85
- package/lib/{chunk-LEXUEUIJ.mjs → chunk-3VDWD5KA.mjs} +3 -3
- package/lib/{chunk-R6JMSH4N.mjs → chunk-HHARJB6A.mjs} +3 -3
- package/lib/{chunk-MZHFYHCF.mjs → chunk-JFTUDUYA.mjs} +3 -3
- package/lib/{chunk-PGXASAXX.mjs → chunk-JP5IH4HL.mjs} +0 -0
- package/lib/{chunk-M2TC4BZG.mjs → chunk-MCQZ43VV.mjs} +3 -3
- package/lib/{chunk-GIEAPQ2H.mjs → chunk-WMZ3FFFO.mjs} +3 -3
|
@@ -140,16 +140,24 @@ var StatesContext = (0, import_react3.createContext)({
|
|
|
140
140
|
});
|
|
141
141
|
|
|
142
142
|
// components/icon/Icon.native.tsx
|
|
143
|
-
var
|
|
144
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
143
|
+
var import_react5 = __toESM(require("react"));
|
|
145
144
|
var import_react_native2 = require("react-native");
|
|
145
|
+
|
|
146
|
+
// components/skeleton/Skeleton.tsx
|
|
147
|
+
var import_react4 = __toESM(require("react"));
|
|
148
|
+
var Skeleton = () => {
|
|
149
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", null);
|
|
150
|
+
};
|
|
151
|
+
var Skeleton_default = Skeleton;
|
|
152
|
+
|
|
153
|
+
// components/icon/Icon.native.tsx
|
|
146
154
|
var import_css = require("react-native-svg/css");
|
|
147
|
-
var Icon =
|
|
155
|
+
var Icon = import_react5.default.forwardRef(
|
|
148
156
|
({ size, name, circled, stretched, color, backgroundColor, onClick, align, skeleton, testId, ...others }, ref) => {
|
|
149
157
|
const {
|
|
150
158
|
theme: { icons }
|
|
151
|
-
} = (0,
|
|
152
|
-
const statesContext = (0,
|
|
159
|
+
} = (0, import_react5.useContext)(TrilogyThemeContext);
|
|
160
|
+
const statesContext = (0, import_react5.useContext)(StatesContext);
|
|
153
161
|
const style = {};
|
|
154
162
|
const defaultSize = size === "huge" /* HUGE */ && 66 || size === "large" /* LARGE */ && 44 || size === "medium" /* MEDIUM */ && 30 || size === "small" /* SMALL */ && 20 || size === "smaller" /* SMALLER */ && 16 || 20;
|
|
155
163
|
const iconColor = color && getColorStyle(color) || statesContext.inverted && getColorStyle("WHITE" /* BACKGROUND */) || getColorStyle("MAIN" /* MAIN */);
|
|
@@ -199,14 +207,23 @@ var Icon = import_react4.default.forwardRef(
|
|
|
199
207
|
justifyContent: "center"
|
|
200
208
|
}
|
|
201
209
|
});
|
|
202
|
-
const IconSkeleton = () => /* @__PURE__ */
|
|
210
|
+
const IconSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
211
|
+
Skeleton_default,
|
|
212
|
+
{
|
|
213
|
+
style: styles2.skeleton,
|
|
214
|
+
width: circledWidth,
|
|
215
|
+
height: circledWidth,
|
|
216
|
+
borderRadius: iconSkeletonRadius,
|
|
217
|
+
testID: "skeleton-id"
|
|
218
|
+
}
|
|
219
|
+
);
|
|
203
220
|
if (skeleton) {
|
|
204
|
-
return /* @__PURE__ */
|
|
221
|
+
return /* @__PURE__ */ import_react5.default.createElement(IconSkeleton, null);
|
|
205
222
|
}
|
|
206
|
-
let iconView = /* @__PURE__ */
|
|
223
|
+
let iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, null);
|
|
207
224
|
if (name && icons) {
|
|
208
225
|
if (stretched && !circled) {
|
|
209
|
-
iconView = /* @__PURE__ */
|
|
226
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles2.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
210
227
|
import_css.WithLocalSvg,
|
|
211
228
|
{
|
|
212
229
|
style: [styles2.iconCircled, styles2.icon],
|
|
@@ -217,7 +234,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
217
234
|
}
|
|
218
235
|
));
|
|
219
236
|
} else if (circled) {
|
|
220
|
-
iconView = /* @__PURE__ */
|
|
237
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles2.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
221
238
|
import_css.WithLocalSvg,
|
|
222
239
|
{
|
|
223
240
|
style: [styles2.iconCircled, styles2.icon],
|
|
@@ -228,7 +245,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
228
245
|
}
|
|
229
246
|
));
|
|
230
247
|
} else {
|
|
231
|
-
iconView = /* @__PURE__ */
|
|
248
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles2.iconContainer, ...others }, /* @__PURE__ */ import_react5.default.createElement(
|
|
232
249
|
import_css.WithLocalSvg,
|
|
233
250
|
{
|
|
234
251
|
style: [styles2.icon, style],
|
|
@@ -240,7 +257,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
240
257
|
));
|
|
241
258
|
}
|
|
242
259
|
}
|
|
243
|
-
return onClick ? /* @__PURE__ */
|
|
260
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles2.rootView, testID: testId, ref }, /* @__PURE__ */ import_react5.default.createElement(
|
|
244
261
|
import_react_native2.TouchableOpacity,
|
|
245
262
|
{
|
|
246
263
|
style: { width: "100%" },
|
|
@@ -249,7 +266,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
249
266
|
testID: `${testId}-pressable`
|
|
250
267
|
},
|
|
251
268
|
iconView
|
|
252
|
-
)) : /* @__PURE__ */
|
|
269
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles2.rootView, testID: testId, ref }, iconView);
|
|
253
270
|
}
|
|
254
271
|
);
|
|
255
272
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -270,10 +287,10 @@ var setTypographyAlign = (typo = "left") => {
|
|
|
270
287
|
};
|
|
271
288
|
|
|
272
289
|
// objects/Typography/TypographyBold/index.native.tsx
|
|
273
|
-
var
|
|
290
|
+
var import_react6 = require("react");
|
|
274
291
|
var getTypographyBoldStyle = (typo) => {
|
|
275
292
|
var _a, _b, _c, _d;
|
|
276
|
-
const { theme } = (0,
|
|
293
|
+
const { theme } = (0, import_react6.useContext)(TrilogyThemeContext);
|
|
277
294
|
const currentTypo = Array.isArray(typo) ? typo : [typo];
|
|
278
295
|
switch (true) {
|
|
279
296
|
case (typo && currentTypo.includes("has-text-weight-medium" /* TEXT_WEIGHT_MEDIUM */)):
|
|
@@ -293,7 +310,7 @@ var setTypographyColor = (typo = "", inverted = false, loading = false) => {
|
|
|
293
310
|
};
|
|
294
311
|
|
|
295
312
|
// components/modal/Modal.native.tsx
|
|
296
|
-
var
|
|
313
|
+
var import_react12 = __toESM(require("react"));
|
|
297
314
|
var import_react_native6 = require("react-native");
|
|
298
315
|
var import_react_native_modal = __toESM(require("react-native-modal"));
|
|
299
316
|
|
|
@@ -301,17 +318,17 @@ var import_react_native_modal = __toESM(require("react-native-modal"));
|
|
|
301
318
|
var ColumnsGapValue = [0, 4, 8, 12, 16, 24, 32, 40, 48, 54, 62];
|
|
302
319
|
|
|
303
320
|
// components/columns/context/index.tsx
|
|
304
|
-
var
|
|
321
|
+
var import_react7 = __toESM(require("react"));
|
|
305
322
|
var defaultContextValue2 = {
|
|
306
323
|
scrollable: false,
|
|
307
324
|
width: 0,
|
|
308
325
|
realGap: 16,
|
|
309
326
|
childrensLength: 1
|
|
310
327
|
};
|
|
311
|
-
var ColumnsContext =
|
|
328
|
+
var ColumnsContext = import_react7.default.createContext(defaultContextValue2);
|
|
312
329
|
|
|
313
330
|
// components/columns/Columns.native.tsx
|
|
314
|
-
var
|
|
331
|
+
var import_react8 = __toESM(require("react"));
|
|
315
332
|
var import_react_native3 = require("react-native");
|
|
316
333
|
var staticStyles = import_react_native3.StyleSheet.create({
|
|
317
334
|
centered: {
|
|
@@ -324,11 +341,11 @@ var staticStyles = import_react_native3.StyleSheet.create({
|
|
|
324
341
|
flexDirection: "column"
|
|
325
342
|
}
|
|
326
343
|
});
|
|
327
|
-
var Columns =
|
|
344
|
+
var Columns = import_react8.default.forwardRef(
|
|
328
345
|
({ children, align, gap, verticalAlign, fullBleed, scrollable, multiline, fullheight, ...others }, ref) => {
|
|
329
|
-
const [width, setWidth] = (0,
|
|
330
|
-
const [enlarge, setEnlarge] = (0,
|
|
331
|
-
const onLayoutHandler =
|
|
346
|
+
const [width, setWidth] = (0, import_react8.useState)(0);
|
|
347
|
+
const [enlarge, setEnlarge] = (0, import_react8.useState)(0);
|
|
348
|
+
const onLayoutHandler = import_react8.default.useCallback(
|
|
332
349
|
(event) => {
|
|
333
350
|
if (!width) {
|
|
334
351
|
const { width: width2 } = event.nativeEvent.layout;
|
|
@@ -340,8 +357,8 @@ var Columns = import_react7.default.forwardRef(
|
|
|
340
357
|
},
|
|
341
358
|
[fullBleed, width]
|
|
342
359
|
);
|
|
343
|
-
const realGap =
|
|
344
|
-
const dynamicStyles =
|
|
360
|
+
const realGap = import_react8.default.useMemo(() => typeof gap === "undefined" && 16 || ColumnsGapValue[gap], [gap]);
|
|
361
|
+
const dynamicStyles = import_react8.default.useMemo(
|
|
345
362
|
() => ({
|
|
346
363
|
columns: {
|
|
347
364
|
width: fullBleed && width ? width + enlarge * 2 : "100%",
|
|
@@ -361,16 +378,16 @@ var Columns = import_react7.default.forwardRef(
|
|
|
361
378
|
}),
|
|
362
379
|
[fullBleed, width, enlarge, realGap, fullheight, verticalAlign]
|
|
363
380
|
);
|
|
364
|
-
const contextValue =
|
|
381
|
+
const contextValue = import_react8.default.useMemo(
|
|
365
382
|
() => ({
|
|
366
383
|
width,
|
|
367
384
|
realGap,
|
|
368
385
|
scrollable: scrollable || false,
|
|
369
|
-
childrensLength:
|
|
386
|
+
childrensLength: import_react8.default.Children.count(children)
|
|
370
387
|
}),
|
|
371
388
|
[width, realGap, scrollable, children]
|
|
372
389
|
);
|
|
373
|
-
return /* @__PURE__ */
|
|
390
|
+
return /* @__PURE__ */ import_react8.default.createElement(ColumnsContext.Provider, { value: contextValue }, !scrollable && /* @__PURE__ */ import_react8.default.createElement(
|
|
374
391
|
import_react_native3.View,
|
|
375
392
|
{
|
|
376
393
|
ref,
|
|
@@ -384,7 +401,7 @@ var Columns = import_react7.default.forwardRef(
|
|
|
384
401
|
...others
|
|
385
402
|
},
|
|
386
403
|
children
|
|
387
|
-
), scrollable && /* @__PURE__ */
|
|
404
|
+
), scrollable && /* @__PURE__ */ import_react8.default.createElement(
|
|
388
405
|
import_react_native3.View,
|
|
389
406
|
{
|
|
390
407
|
onLayout: onLayoutHandler,
|
|
@@ -392,7 +409,7 @@ var Columns = import_react7.default.forwardRef(
|
|
|
392
409
|
marginHorizontal: -enlarge
|
|
393
410
|
}
|
|
394
411
|
},
|
|
395
|
-
/* @__PURE__ */
|
|
412
|
+
/* @__PURE__ */ import_react8.default.createElement(
|
|
396
413
|
import_react_native3.ScrollView,
|
|
397
414
|
{
|
|
398
415
|
horizontal: true,
|
|
@@ -408,23 +425,23 @@ Columns.displayName = "Columns" /* Columns */;
|
|
|
408
425
|
var Columns_native_default = Columns;
|
|
409
426
|
|
|
410
427
|
// components/columns/column/Column.native.tsx
|
|
411
|
-
var
|
|
428
|
+
var import_react9 = __toESM(require("react"));
|
|
412
429
|
var import_react_native4 = require("react-native");
|
|
413
|
-
var Column =
|
|
414
|
-
|
|
430
|
+
var Column = import_react9.default.memo(
|
|
431
|
+
import_react9.default.forwardRef(
|
|
415
432
|
({ children, narrow, size, verticalAlign, ...others }, ref) => {
|
|
416
|
-
const { width, realGap, scrollable, childrensLength } =
|
|
417
|
-
const calculatedWidth =
|
|
433
|
+
const { width, realGap, scrollable, childrensLength } = import_react9.default.useContext(ColumnsContext);
|
|
434
|
+
const calculatedWidth = import_react9.default.useMemo(
|
|
418
435
|
() => size ? size / 12 * width - realGap * ((childrensLength - 1) / childrensLength) : null,
|
|
419
436
|
[size, width, realGap, childrensLength]
|
|
420
437
|
);
|
|
421
|
-
const scrollableStyle =
|
|
438
|
+
const scrollableStyle = import_react9.default.useMemo(
|
|
422
439
|
() => ({
|
|
423
440
|
width: calculatedWidth || (narrow ? "auto" : width - 2 * realGap)
|
|
424
441
|
}),
|
|
425
442
|
[calculatedWidth, narrow, width, realGap]
|
|
426
443
|
);
|
|
427
|
-
const noScrollableStyle =
|
|
444
|
+
const noScrollableStyle = import_react9.default.useMemo(
|
|
428
445
|
() => ({
|
|
429
446
|
flex: narrow ? 0 : 1,
|
|
430
447
|
flexGrow: size || narrow ? 0 : 1,
|
|
@@ -433,13 +450,13 @@ var Column = import_react8.default.memo(
|
|
|
433
450
|
}),
|
|
434
451
|
[narrow, size, calculatedWidth]
|
|
435
452
|
);
|
|
436
|
-
const justifyContentStyle =
|
|
453
|
+
const justifyContentStyle = import_react9.default.useMemo(
|
|
437
454
|
() => ({
|
|
438
455
|
justifyContent: getAlignStyle(verticalAlign)
|
|
439
456
|
}),
|
|
440
457
|
[verticalAlign]
|
|
441
458
|
);
|
|
442
|
-
return /* @__PURE__ */
|
|
459
|
+
return /* @__PURE__ */ import_react9.default.createElement(
|
|
443
460
|
import_react_native4.View,
|
|
444
461
|
{
|
|
445
462
|
ref,
|
|
@@ -455,11 +472,10 @@ Column.displayName = "Column" /* Column */;
|
|
|
455
472
|
var Column_native_default = Column;
|
|
456
473
|
|
|
457
474
|
// components/title/Title.native.tsx
|
|
458
|
-
var
|
|
459
|
-
var
|
|
460
|
-
var import_native2 = __toESM(require("react-content-loader/native"));
|
|
475
|
+
var React7 = __toESM(require("react"));
|
|
476
|
+
var import_react10 = require("react");
|
|
461
477
|
var import_react_native5 = require("react-native");
|
|
462
|
-
var Title =
|
|
478
|
+
var Title = React7.forwardRef(({
|
|
463
479
|
children,
|
|
464
480
|
level,
|
|
465
481
|
style,
|
|
@@ -472,7 +488,7 @@ var Title = React6.forwardRef(({
|
|
|
472
488
|
overline,
|
|
473
489
|
...others
|
|
474
490
|
}, ref) => {
|
|
475
|
-
const statesContext = (0,
|
|
491
|
+
const statesContext = (0, import_react10.useContext)(StatesContext);
|
|
476
492
|
const color = setTypographyColor(typo, inverted || statesContext.inverted, skeleton);
|
|
477
493
|
const colorOverline = getColorStyle("MAIN" /* MAIN */);
|
|
478
494
|
const fontFamily = level && [1 /* ONE */, 2 /* TWO */].includes(level) ? "has-text-weight-bold" /* TEXT_WEIGHT_BOLD */ : "has-text-weight-semibold" /* TEXT_WEIGHT_SEMIBOLD */;
|
|
@@ -526,7 +542,7 @@ var Title = React6.forwardRef(({
|
|
|
526
542
|
}
|
|
527
543
|
});
|
|
528
544
|
const titleAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
529
|
-
let titleView = /* @__PURE__ */
|
|
545
|
+
let titleView = /* @__PURE__ */ React7.createElement(
|
|
530
546
|
import_react_native5.Text,
|
|
531
547
|
{
|
|
532
548
|
ref,
|
|
@@ -539,16 +555,24 @@ var Title = React6.forwardRef(({
|
|
|
539
555
|
children
|
|
540
556
|
);
|
|
541
557
|
if (skeleton) {
|
|
542
|
-
titleView = /* @__PURE__ */
|
|
558
|
+
titleView = /* @__PURE__ */ React7.createElement(
|
|
559
|
+
Skeleton_default,
|
|
560
|
+
{
|
|
561
|
+
style: styles2.skeleton,
|
|
562
|
+
height: titlesLevels(),
|
|
563
|
+
borderRadius: 5
|
|
564
|
+
},
|
|
565
|
+
titleView
|
|
566
|
+
);
|
|
543
567
|
}
|
|
544
|
-
return onClick ? /* @__PURE__ */
|
|
568
|
+
return onClick ? /* @__PURE__ */ React7.createElement(import_react_native5.TouchableOpacity, { onPress: onClick, activeOpacity: 0.85 }, titleView) : titleView;
|
|
545
569
|
});
|
|
546
570
|
Title.displayName = "Title" /* Title */;
|
|
547
571
|
var Title_native_default = Title;
|
|
548
572
|
|
|
549
573
|
// components/modal/context/ModalContext.tsx
|
|
550
|
-
var
|
|
551
|
-
var ModalContext =
|
|
574
|
+
var import_react11 = __toESM(require("react"));
|
|
575
|
+
var ModalContext = import_react11.default.createContext({
|
|
552
576
|
scrollViewRef: null,
|
|
553
577
|
handleOnScroll: () => null,
|
|
554
578
|
isFooter: false,
|
|
@@ -556,7 +580,7 @@ var ModalContext = import_react10.default.createContext({
|
|
|
556
580
|
});
|
|
557
581
|
|
|
558
582
|
// components/modal/Modal.native.tsx
|
|
559
|
-
var Modal =
|
|
583
|
+
var Modal = import_react12.default.forwardRef(
|
|
560
584
|
({
|
|
561
585
|
children,
|
|
562
586
|
active = false,
|
|
@@ -568,10 +592,10 @@ var Modal = import_react11.default.forwardRef(
|
|
|
568
592
|
title,
|
|
569
593
|
...others
|
|
570
594
|
}, ref) => {
|
|
571
|
-
const scrollViewRef = (0,
|
|
572
|
-
const [scrollOffset, setScrollOffset] = (0,
|
|
573
|
-
const [visible, setVisible] = (0,
|
|
574
|
-
const [isFooter, setIsFooter] = (0,
|
|
595
|
+
const scrollViewRef = (0, import_react12.useRef)(null);
|
|
596
|
+
const [scrollOffset, setScrollOffset] = (0, import_react12.useState)(0);
|
|
597
|
+
const [visible, setVisible] = (0, import_react12.useState)(active || false);
|
|
598
|
+
const [isFooter, setIsFooter] = (0, import_react12.useState)(active || false);
|
|
575
599
|
const handleOnScroll = (event) => {
|
|
576
600
|
setScrollOffset(event.nativeEvent.contentOffset.y);
|
|
577
601
|
};
|
|
@@ -582,10 +606,10 @@ var Modal = import_react11.default.forwardRef(
|
|
|
582
606
|
if (onClose) onClose(e);
|
|
583
607
|
setVisible(false);
|
|
584
608
|
};
|
|
585
|
-
(0,
|
|
609
|
+
(0, import_react12.useEffect)(() => {
|
|
586
610
|
setVisible(active);
|
|
587
611
|
}, [active]);
|
|
588
|
-
return /* @__PURE__ */
|
|
612
|
+
return /* @__PURE__ */ import_react12.default.createElement(ModalContext.Provider, { value: { scrollViewRef, handleOnScroll, isFooter, setIsFooter } }, trigger, /* @__PURE__ */ import_react12.default.createElement(
|
|
589
613
|
import_react_native_modal.default,
|
|
590
614
|
{
|
|
591
615
|
isVisible: visible,
|
|
@@ -600,7 +624,7 @@ var Modal = import_react11.default.forwardRef(
|
|
|
600
624
|
onModalHide,
|
|
601
625
|
...others
|
|
602
626
|
},
|
|
603
|
-
/* @__PURE__ */
|
|
627
|
+
/* @__PURE__ */ import_react12.default.createElement(import_react_native6.View, { ref, style: [styles.body, { backgroundColor: getColorStyle("WHITE" /* BACKGROUND */) }] }, /* @__PURE__ */ import_react12.default.createElement(import_react_native6.View, { style: { paddingVertical: !title && (hideCloseButton || unClosable) ? 8 : 16 } }, /* @__PURE__ */ import_react12.default.createElement(Columns_native_default, { verticalAlign: "ALIGNED_CENTER" /* ALIGNED_CENTER */ }, /* @__PURE__ */ import_react12.default.createElement(Column_native_default, null, /* @__PURE__ */ import_react12.default.createElement(Title_native_default, { level: 4 }, title)), !hideCloseButton && !unClosable && /* @__PURE__ */ import_react12.default.createElement(Column_native_default, { narrow: true }, /* @__PURE__ */ import_react12.default.createElement(import_react_native6.TouchableOpacity, { onPress: handleClose }, /* @__PURE__ */ import_react12.default.createElement(Icon_native_default, { name: "tri-times" /* TIMES */, size: "medium" /* MEDIUM */, color: "MAIN" /* MAIN */ }))))), children)
|
|
604
628
|
));
|
|
605
629
|
}
|
|
606
630
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal_native_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-WWBPXBJT.mjs";
|
|
5
5
|
import "../../chunk-JLQUIKZX.mjs";
|
|
6
6
|
import "../../chunk-6R3L63DN.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-2EF72O53.mjs";
|
|
8
8
|
import "../../chunk-BPUIBIGG.mjs";
|
|
9
9
|
import "../../chunk-ZNF2AXYR.mjs";
|
|
10
10
|
import "../../chunk-NRTMJLXK.mjs";
|
|
@@ -21,40 +21,43 @@ import "../../chunk-3LXODEBD.mjs";
|
|
|
21
21
|
import "../../chunk-WVL5S3CD.mjs";
|
|
22
22
|
import "../../chunk-7L5452RP.mjs";
|
|
23
23
|
import "../../chunk-2K2TD7FH.mjs";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-E4YRRUI3.mjs";
|
|
24
|
+
import "../../chunk-5NCBENYK.mjs";
|
|
26
25
|
import "../../chunk-CWIO3GEP.mjs";
|
|
26
|
+
import "../../chunk-E4YRRUI3.mjs";
|
|
27
27
|
import "../../chunk-R6PFY5VS.mjs";
|
|
28
28
|
import "../../chunk-KUF5FQNN.mjs";
|
|
29
|
-
import "../../chunk-GVBMUMGT.mjs";
|
|
30
29
|
import "../../chunk-MVJ2C4EA.mjs";
|
|
30
|
+
import "../../chunk-GVBMUMGT.mjs";
|
|
31
|
+
import "../../chunk-UZO5VCH2.mjs";
|
|
32
|
+
import "../../chunk-JJA6BOVR.mjs";
|
|
33
|
+
import "../../chunk-LHDHBH5T.mjs";
|
|
31
34
|
import "../../chunk-RXBVZD3M.mjs";
|
|
32
|
-
import "../../chunk-A2ASOVUR.mjs";
|
|
33
|
-
import "../../chunk-3XMSRU64.mjs";
|
|
34
35
|
import "../../chunk-L5TMSDJR.mjs";
|
|
35
36
|
import "../../chunk-GP5CJGRF.mjs";
|
|
36
|
-
import "../../chunk-UTA75ELV.mjs";
|
|
37
|
-
import "../../chunk-L25MU6JT.mjs";
|
|
38
37
|
import "../../chunk-6TNYDJM7.mjs";
|
|
39
38
|
import "../../chunk-HQXKHRER.mjs";
|
|
40
39
|
import "../../chunk-NVH4ZPGW.mjs";
|
|
41
40
|
import "../../chunk-62DJK35E.mjs";
|
|
42
41
|
import "../../chunk-PAEZ47M2.mjs";
|
|
43
|
-
import "../../chunk-
|
|
44
|
-
import "../../chunk-
|
|
42
|
+
import "../../chunk-A2ASOVUR.mjs";
|
|
43
|
+
import "../../chunk-3XMSRU64.mjs";
|
|
45
44
|
import "../../chunk-RJO5KKUW.mjs";
|
|
46
45
|
import "../../chunk-R7HI6GOP.mjs";
|
|
47
46
|
import "../../chunk-SUNBSFL4.mjs";
|
|
48
|
-
import "../../chunk-
|
|
49
|
-
import "../../chunk-
|
|
50
|
-
import "../../chunk-QOEJLTZN.mjs";
|
|
47
|
+
import "../../chunk-UTA75ELV.mjs";
|
|
48
|
+
import "../../chunk-L25MU6JT.mjs";
|
|
51
49
|
import "../../chunk-B6WC6WS2.mjs";
|
|
52
50
|
import "../../chunk-MAX3RSBG.mjs";
|
|
51
|
+
import "../../chunk-FTTU4DJW.mjs";
|
|
52
|
+
import "../../chunk-L7CNF7H6.mjs";
|
|
53
53
|
import "../../chunk-6BTWLQPI.mjs";
|
|
54
54
|
import "../../chunk-G6BHSMLA.mjs";
|
|
55
55
|
import "../../chunk-THOTRBD4.mjs";
|
|
56
|
-
import "../../chunk-
|
|
56
|
+
import "../../chunk-XIQL4ZTN.mjs";
|
|
57
|
+
import "../../chunk-UUXUTBLZ.mjs";
|
|
58
|
+
import "../../chunk-QOEJLTZN.mjs";
|
|
57
59
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
60
|
+
import "../../chunk-ATW7ITPH.mjs";
|
|
58
61
|
import "../../chunk-L4UDEKQK.mjs";
|
|
59
62
|
import "../../chunk-CD6DMMCL.mjs";
|
|
60
63
|
import "../../chunk-RYABO2EX.mjs";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "../../../chunk-ABTLCSFA.mjs";
|
|
5
5
|
import "../../../chunk-Y7CEUBIZ.mjs";
|
|
6
6
|
import "../../../chunk-HU3FAWMX.mjs";
|
|
7
|
-
import "../../../chunk-OGATDHMZ.mjs";
|
|
8
7
|
import "../../../chunk-ODKCJMCG.mjs";
|
|
8
|
+
import "../../../chunk-OGATDHMZ.mjs";
|
|
9
9
|
import "../../../chunk-UFMRE754.mjs";
|
|
10
10
|
import "../../../chunk-ZB4OWTDD.mjs";
|
|
11
11
|
import "../../../chunk-VDLM4YQP.mjs";
|
|
@@ -140,16 +140,24 @@ var StatesContext = (0, import_react3.createContext)({
|
|
|
140
140
|
});
|
|
141
141
|
|
|
142
142
|
// components/icon/Icon.native.tsx
|
|
143
|
-
var
|
|
144
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
143
|
+
var import_react5 = __toESM(require("react"));
|
|
145
144
|
var import_react_native2 = require("react-native");
|
|
145
|
+
|
|
146
|
+
// components/skeleton/Skeleton.tsx
|
|
147
|
+
var import_react4 = __toESM(require("react"));
|
|
148
|
+
var Skeleton = () => {
|
|
149
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", null);
|
|
150
|
+
};
|
|
151
|
+
var Skeleton_default = Skeleton;
|
|
152
|
+
|
|
153
|
+
// components/icon/Icon.native.tsx
|
|
146
154
|
var import_css = require("react-native-svg/css");
|
|
147
|
-
var Icon =
|
|
155
|
+
var Icon = import_react5.default.forwardRef(
|
|
148
156
|
({ size, name, circled, stretched, color, backgroundColor, onClick, align, skeleton, testId, ...others }, ref) => {
|
|
149
157
|
const {
|
|
150
158
|
theme: { icons }
|
|
151
|
-
} = (0,
|
|
152
|
-
const statesContext = (0,
|
|
159
|
+
} = (0, import_react5.useContext)(TrilogyThemeContext);
|
|
160
|
+
const statesContext = (0, import_react5.useContext)(StatesContext);
|
|
153
161
|
const style = {};
|
|
154
162
|
const defaultSize = size === "huge" /* HUGE */ && 66 || size === "large" /* LARGE */ && 44 || size === "medium" /* MEDIUM */ && 30 || size === "small" /* SMALL */ && 20 || size === "smaller" /* SMALLER */ && 16 || 20;
|
|
155
163
|
const iconColor = color && getColorStyle(color) || statesContext.inverted && getColorStyle("WHITE" /* BACKGROUND */) || getColorStyle("MAIN" /* MAIN */);
|
|
@@ -199,14 +207,23 @@ var Icon = import_react4.default.forwardRef(
|
|
|
199
207
|
justifyContent: "center"
|
|
200
208
|
}
|
|
201
209
|
});
|
|
202
|
-
const IconSkeleton = () => /* @__PURE__ */
|
|
210
|
+
const IconSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
211
|
+
Skeleton_default,
|
|
212
|
+
{
|
|
213
|
+
style: styles.skeleton,
|
|
214
|
+
width: circledWidth,
|
|
215
|
+
height: circledWidth,
|
|
216
|
+
borderRadius: iconSkeletonRadius,
|
|
217
|
+
testID: "skeleton-id"
|
|
218
|
+
}
|
|
219
|
+
);
|
|
203
220
|
if (skeleton) {
|
|
204
|
-
return /* @__PURE__ */
|
|
221
|
+
return /* @__PURE__ */ import_react5.default.createElement(IconSkeleton, null);
|
|
205
222
|
}
|
|
206
|
-
let iconView = /* @__PURE__ */
|
|
223
|
+
let iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, null);
|
|
207
224
|
if (name && icons) {
|
|
208
225
|
if (stretched && !circled) {
|
|
209
|
-
iconView = /* @__PURE__ */
|
|
226
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
210
227
|
import_css.WithLocalSvg,
|
|
211
228
|
{
|
|
212
229
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -217,7 +234,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
217
234
|
}
|
|
218
235
|
));
|
|
219
236
|
} else if (circled) {
|
|
220
|
-
iconView = /* @__PURE__ */
|
|
237
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
221
238
|
import_css.WithLocalSvg,
|
|
222
239
|
{
|
|
223
240
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -228,7 +245,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
228
245
|
}
|
|
229
246
|
));
|
|
230
247
|
} else {
|
|
231
|
-
iconView = /* @__PURE__ */
|
|
248
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react5.default.createElement(
|
|
232
249
|
import_css.WithLocalSvg,
|
|
233
250
|
{
|
|
234
251
|
style: [styles.icon, style],
|
|
@@ -240,7 +257,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
240
257
|
));
|
|
241
258
|
}
|
|
242
259
|
}
|
|
243
|
-
return onClick ? /* @__PURE__ */
|
|
260
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react5.default.createElement(
|
|
244
261
|
import_react_native2.TouchableOpacity,
|
|
245
262
|
{
|
|
246
263
|
style: { width: "100%" },
|
|
@@ -249,7 +266,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
249
266
|
testID: `${testId}-pressable`
|
|
250
267
|
},
|
|
251
268
|
iconView
|
|
252
|
-
)) : /* @__PURE__ */
|
|
269
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
253
270
|
}
|
|
254
271
|
);
|
|
255
272
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -264,15 +281,15 @@ var STATUS_COLORS = {
|
|
|
264
281
|
};
|
|
265
282
|
|
|
266
283
|
// objects/Typography/TypographyBold/index.native.tsx
|
|
267
|
-
var
|
|
284
|
+
var import_react6 = require("react");
|
|
268
285
|
|
|
269
286
|
// components/modal/body/ModalBody.native.tsx
|
|
270
|
-
var
|
|
287
|
+
var React5 = __toESM(require("react"));
|
|
271
288
|
var import_react_native3 = require("react-native");
|
|
272
289
|
|
|
273
290
|
// components/modal/context/ModalContext.tsx
|
|
274
|
-
var
|
|
275
|
-
var ModalContext =
|
|
291
|
+
var import_react7 = __toESM(require("react"));
|
|
292
|
+
var ModalContext = import_react7.default.createContext({
|
|
276
293
|
scrollViewRef: null,
|
|
277
294
|
handleOnScroll: () => null,
|
|
278
295
|
isFooter: false,
|
|
@@ -280,9 +297,9 @@ var ModalContext = import_react6.default.createContext({
|
|
|
280
297
|
});
|
|
281
298
|
|
|
282
299
|
// components/modal/body/ModalBody.native.tsx
|
|
283
|
-
var ModalBody =
|
|
284
|
-
const { handleOnScroll, scrollViewRef, isFooter } =
|
|
285
|
-
return /* @__PURE__ */
|
|
300
|
+
var ModalBody = React5.forwardRef(({ children, ...others }, ref) => {
|
|
301
|
+
const { handleOnScroll, scrollViewRef, isFooter } = React5.useContext(ModalContext);
|
|
302
|
+
return /* @__PURE__ */ React5.createElement(
|
|
286
303
|
import_react_native3.ScrollView,
|
|
287
304
|
{
|
|
288
305
|
ref: scrollViewRef,
|
|
@@ -290,7 +307,7 @@ var ModalBody = React4.forwardRef(({ children, ...others }, ref) => {
|
|
|
290
307
|
onScroll: handleOnScroll,
|
|
291
308
|
showsVerticalScrollIndicator: false
|
|
292
309
|
},
|
|
293
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ React5.createElement(
|
|
294
311
|
import_react_native3.View,
|
|
295
312
|
{
|
|
296
313
|
ref,
|
|
@@ -15,37 +15,40 @@ import "../../../chunk-3LXODEBD.mjs";
|
|
|
15
15
|
import "../../../chunk-WVL5S3CD.mjs";
|
|
16
16
|
import "../../../chunk-7L5452RP.mjs";
|
|
17
17
|
import "../../../chunk-2K2TD7FH.mjs";
|
|
18
|
-
import "../../../chunk-
|
|
19
|
-
import "../../../chunk-E4YRRUI3.mjs";
|
|
18
|
+
import "../../../chunk-5NCBENYK.mjs";
|
|
20
19
|
import "../../../chunk-CWIO3GEP.mjs";
|
|
20
|
+
import "../../../chunk-E4YRRUI3.mjs";
|
|
21
21
|
import "../../../chunk-R6PFY5VS.mjs";
|
|
22
|
+
import "../../../chunk-UZO5VCH2.mjs";
|
|
23
|
+
import "../../../chunk-JJA6BOVR.mjs";
|
|
24
|
+
import "../../../chunk-LHDHBH5T.mjs";
|
|
22
25
|
import "../../../chunk-RXBVZD3M.mjs";
|
|
23
|
-
import "../../../chunk-A2ASOVUR.mjs";
|
|
24
|
-
import "../../../chunk-3XMSRU64.mjs";
|
|
25
26
|
import "../../../chunk-L5TMSDJR.mjs";
|
|
26
27
|
import "../../../chunk-GP5CJGRF.mjs";
|
|
27
|
-
import "../../../chunk-UTA75ELV.mjs";
|
|
28
|
-
import "../../../chunk-L25MU6JT.mjs";
|
|
29
28
|
import "../../../chunk-6TNYDJM7.mjs";
|
|
30
29
|
import "../../../chunk-HQXKHRER.mjs";
|
|
31
30
|
import "../../../chunk-NVH4ZPGW.mjs";
|
|
32
31
|
import "../../../chunk-62DJK35E.mjs";
|
|
33
32
|
import "../../../chunk-PAEZ47M2.mjs";
|
|
34
|
-
import "../../../chunk-
|
|
35
|
-
import "../../../chunk-
|
|
33
|
+
import "../../../chunk-A2ASOVUR.mjs";
|
|
34
|
+
import "../../../chunk-3XMSRU64.mjs";
|
|
36
35
|
import "../../../chunk-RJO5KKUW.mjs";
|
|
37
36
|
import "../../../chunk-R7HI6GOP.mjs";
|
|
38
37
|
import "../../../chunk-SUNBSFL4.mjs";
|
|
39
|
-
import "../../../chunk-
|
|
40
|
-
import "../../../chunk-
|
|
41
|
-
import "../../../chunk-QOEJLTZN.mjs";
|
|
38
|
+
import "../../../chunk-UTA75ELV.mjs";
|
|
39
|
+
import "../../../chunk-L25MU6JT.mjs";
|
|
42
40
|
import "../../../chunk-B6WC6WS2.mjs";
|
|
43
41
|
import "../../../chunk-MAX3RSBG.mjs";
|
|
42
|
+
import "../../../chunk-FTTU4DJW.mjs";
|
|
43
|
+
import "../../../chunk-L7CNF7H6.mjs";
|
|
44
44
|
import "../../../chunk-6BTWLQPI.mjs";
|
|
45
45
|
import "../../../chunk-G6BHSMLA.mjs";
|
|
46
46
|
import "../../../chunk-THOTRBD4.mjs";
|
|
47
|
-
import "../../../chunk-
|
|
47
|
+
import "../../../chunk-XIQL4ZTN.mjs";
|
|
48
|
+
import "../../../chunk-UUXUTBLZ.mjs";
|
|
49
|
+
import "../../../chunk-QOEJLTZN.mjs";
|
|
48
50
|
import "../../../chunk-IGMJNGTZ.mjs";
|
|
51
|
+
import "../../../chunk-ATW7ITPH.mjs";
|
|
49
52
|
import "../../../chunk-L4UDEKQK.mjs";
|
|
50
53
|
import "../../../chunk-CD6DMMCL.mjs";
|
|
51
54
|
import "../../../chunk-RYABO2EX.mjs";
|