@trilogy-ds/react 0.0.19-esm-cjs → 0.0.21-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-NDT4BW3R.mjs → chunk-2JM27LG6.mjs} +1 -1
- package/lib/{chunk-5NJMUSWY.mjs → chunk-2LL5O6MQ.mjs} +1 -1
- package/lib/{chunk-ZRWNSZC6.mjs → chunk-3AUAH6SB.mjs} +1 -1
- package/lib/{chunk-JB7AXJFO.mjs → chunk-3CUMNA5T.mjs} +16 -4
- package/lib/{chunk-SFL4T7RS.mjs → chunk-4SO7GWOJ.mjs} +1 -1
- package/lib/{chunk-I4RR2QN7.mjs → chunk-6ENX3IQD.mjs} +2 -2
- package/lib/chunk-7DJ5V2J7.mjs +90 -0
- package/lib/{chunk-Q3NP4BBO.mjs → chunk-7GBIPPPJ.mjs} +2 -2
- package/lib/{chunk-IHTDJ5DD.mjs → chunk-ASDIW46N.mjs} +2 -2
- package/lib/{chunk-ZEEM3OU3.mjs → chunk-BRU34C4E.mjs} +3 -3
- package/lib/{chunk-T4AH7FLU.mjs → chunk-BT63AA2K.mjs} +1 -1
- package/lib/{chunk-HPM5H4HF.mjs → chunk-C6AECCOD.mjs} +1 -1
- package/lib/{chunk-5DY6WPCA.mjs → chunk-CILK7BCY.mjs} +2 -2
- package/lib/{chunk-U2STNP4N.mjs → chunk-CKEC5R4P.mjs} +1 -1
- package/lib/{chunk-RVRMMLZJ.mjs → chunk-CUP62RON.mjs} +2 -2
- package/lib/{chunk-KUVBW2U7.mjs → chunk-DJJVBJ43.mjs} +1 -1
- package/lib/{chunk-ZSBVX26X.mjs → chunk-DO5SSRTA.mjs} +1 -1
- package/lib/{chunk-MDZE2AV3.mjs → chunk-EJ56Z27S.mjs} +17 -10
- package/lib/{chunk-G2QCDZEE.mjs → chunk-EN6H737C.mjs} +1 -1
- package/lib/{chunk-ACDIJOLY.mjs → chunk-EP73KCU2.mjs} +12 -5
- package/lib/{chunk-TCRJL43C.mjs → chunk-FE4FFIG4.mjs} +2 -2
- package/lib/{chunk-XZCE64VV.mjs → chunk-FJ6D2YGE.mjs} +1 -1
- package/lib/{chunk-NKO25SIM.mjs → chunk-FJ7CLVIP.mjs} +2 -2
- package/lib/{chunk-K5D3QU3U.mjs → chunk-FT2IRACC.mjs} +2 -2
- package/lib/{chunk-QNDMUIJM.mjs → chunk-FUOU7EFL.mjs} +2 -2
- package/lib/{chunk-TPXCSXWT.mjs → chunk-G6ILMW5U.mjs} +3 -3
- package/lib/chunk-GJJJLJXB.mjs +635 -0
- package/lib/{chunk-573KW52P.mjs → chunk-GQID4AGA.mjs} +1 -1
- package/lib/{chunk-LQ2EKGFZ.mjs → chunk-HS3TUYYV.mjs} +1 -1
- package/lib/{chunk-M5W5FRMF.mjs → chunk-IOGFZUIN.mjs} +2 -2
- package/lib/{chunk-QTEMHSK5.mjs → chunk-IZHMZGGK.mjs} +1 -1
- package/lib/{chunk-WV5PBU2C.mjs → chunk-J4ZFH6JK.mjs} +17 -5
- package/lib/{chunk-67BVHO7H.mjs → chunk-JT4GOHCW.mjs} +2 -2
- package/lib/chunk-JV5B7QPH.mjs +320 -0
- package/lib/{chunk-B6D5UHOQ.mjs → chunk-JWWWYOOC.mjs} +1 -1
- package/lib/chunk-LHDHBH5T.mjs +1 -0
- package/lib/{chunk-QIEADZWY.mjs → chunk-LNFOP27Y.mjs} +1 -1
- package/lib/{chunk-7TEPMZRL.mjs → chunk-MKSHOXCA.mjs} +1 -1
- package/lib/{chunk-JDLZGLZJ.mjs → chunk-ML52WYPZ.mjs} +2 -2
- package/lib/{chunk-VSYM7BJ4.mjs → chunk-MV3N2D6T.mjs} +1 -1
- package/lib/{chunk-UPP3GX33.mjs → chunk-NEM7FT22.mjs} +16 -6
- package/lib/{chunk-NHPZIDNU.mjs → chunk-NYA63FUK.mjs} +1 -1
- package/lib/{chunk-NE4WGXUM.mjs → chunk-OPQY47KX.mjs} +1 -1
- package/lib/chunk-OSWW7RO6.mjs +84 -0
- package/lib/{chunk-23RKW2TY.mjs → chunk-P4BQZHBF.mjs} +1 -1
- package/lib/{chunk-IOXFCPJQ.mjs → chunk-PQMMGS3V.mjs} +1 -1
- package/lib/{chunk-3I74MN5M.mjs → chunk-PUBY4YSN.mjs} +2 -2
- package/lib/{chunk-VL2UCFFK.mjs → chunk-QAXBH7UN.mjs} +2 -2
- package/lib/{chunk-DWZ232Q2.mjs → chunk-QJCK6KDK.mjs} +2 -2
- package/lib/{chunk-UC3N6X6R.mjs → chunk-RDNWD3P4.mjs} +1 -1
- package/lib/{chunk-Y6VHQF2J.mjs → chunk-SOW7WGY7.mjs} +1 -1
- package/lib/{chunk-UTXKOHCM.mjs → chunk-TRCSKNBB.mjs} +3 -3
- package/lib/chunk-UZO5VCH2.mjs +1 -0
- package/lib/{chunk-2MP6W4C2.mjs → chunk-VLXOCQDY.mjs} +4 -4
- package/lib/{chunk-BIWBGSDJ.mjs → chunk-WUCECDGY.mjs} +1 -1
- package/lib/{chunk-I3LRGLUL.mjs → chunk-X737YRF5.mjs} +3 -3
- package/lib/{chunk-IT2ZBSQG.mjs → chunk-XJMDYFHO.mjs} +16 -7
- package/lib/{chunk-5ALKJFH4.mjs → chunk-XPBBHWYH.mjs} +1 -1
- package/lib/{chunk-432FETUO.mjs → chunk-YRWFLE4T.mjs} +1 -1
- package/lib/{chunk-POCUFCQC.mjs → chunk-ZG3V7XRP.mjs} +1 -1
- package/lib/{chunk-YSBY3XJC.mjs → chunk-ZK7CNJ4A.mjs} +1 -1
- package/lib/{chunk-CCIRXOIR.mjs → chunk-ZNFQWQ2T.mjs} +2 -2
- package/lib/{chunk-Y4CLZAPU.mjs → chunk-ZPYNGMOG.mjs} +2 -2
- package/lib/{chunk-27BK6EVC.mjs → chunk-ZSAEN5X7.mjs} +3 -3
- package/lib/{chunk-X5HHW5EE.mjs → chunk-ZWVIIWK3.mjs} +3 -3
- package/lib/components/accordion/index.mjs +3 -3
- package/lib/components/accordion/index.native.js +147 -52
- package/lib/components/accordion/index.native.mjs +9 -6
- package/lib/components/accordion/item/AccordionItem.native.js +137 -42
- package/lib/components/accordion/item/AccordionItem.native.mjs +6 -3
- package/lib/components/accordion/item/index.native.js +137 -42
- package/lib/components/accordion/item/index.native.mjs +6 -3
- package/lib/components/alert/Alert.mjs +1 -1
- package/lib/components/alert/Alert.native.js +239 -138
- package/lib/components/alert/Alert.native.mjs +19 -16
- package/lib/components/alert/index.mjs +1 -1
- package/lib/components/alert/index.native.js +239 -138
- package/lib/components/alert/index.native.mjs +19 -16
- package/lib/components/autocomplete/AutoComplete.mjs +13 -13
- package/lib/components/autocomplete/AutoComplete.native.js +267 -173
- package/lib/components/autocomplete/AutoComplete.native.mjs +21 -18
- package/lib/components/autocomplete/index.mjs +15 -15
- package/lib/components/autocomplete/index.native.js +275 -181
- package/lib/components/autocomplete/index.native.mjs +26 -23
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +141 -83
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +7 -5
- package/lib/components/autocomplete/item/index.mjs +1 -1
- package/lib/components/autocomplete/item/index.native.js +141 -83
- package/lib/components/autocomplete/item/index.native.mjs +7 -5
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +198 -104
- 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 +198 -104
- 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.native.mjs +3 -3
- package/lib/components/badge/Badge.native.js +119 -24
- package/lib/components/badge/Badge.native.mjs +16 -13
- package/lib/components/badge/index.native.js +119 -24
- package/lib/components/badge/index.native.mjs +16 -13
- package/lib/components/box/Box.native.js +116 -20
- package/lib/components/box/Box.native.mjs +5 -2
- package/lib/components/box/footer/BoxFooter.native.js +115 -20
- package/lib/components/box/footer/BoxFooter.native.mjs +15 -12
- package/lib/components/box/footer/index.native.js +115 -20
- package/lib/components/box/footer/index.native.mjs +15 -12
- package/lib/components/box/header/BoxHeader.native.mjs +2 -2
- package/lib/components/box/header/index.native.mjs +2 -2
- package/lib/components/box/index.mjs +7 -7
- package/lib/components/box/index.native.js +173 -69
- package/lib/components/box/index.native.mjs +22 -19
- package/lib/components/breadcrumb/Breadcrumb.native.js +115 -20
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +6 -3
- package/lib/components/breadcrumb/index.native.js +180 -86
- package/lib/components/breadcrumb/index.native.mjs +9 -6
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +143 -85
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +7 -5
- package/lib/components/breadcrumb/item/index.native.js +143 -85
- package/lib/components/breadcrumb/item/index.native.mjs +7 -5
- package/lib/components/button/Button.native.js +140 -45
- package/lib/components/button/Button.native.mjs +16 -13
- package/lib/components/button/index.native.js +144 -49
- package/lib/components/button/index.native.mjs +16 -13
- package/lib/components/calendar/Calendar.js +15 -3
- package/lib/components/calendar/Calendar.mjs +12 -12
- 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 +1023 -3
- package/lib/components/calendar/Calendar.native.mjs +23 -1
- package/lib/components/calendar/index.js +15 -3
- package/lib/components/calendar/index.mjs +12 -12
- package/lib/components/calendar/index.native.js +1021 -3
- package/lib/components/calendar/index.native.mjs +23 -1
- package/lib/components/card/Card.native.js +110 -42
- package/lib/components/card/Card.native.mjs +5 -3
- package/lib/components/card/content/CardContent.native.js +114 -46
- package/lib/components/card/content/CardContent.native.mjs +6 -4
- package/lib/components/card/content/index.native.js +114 -46
- package/lib/components/card/content/index.native.mjs +6 -4
- package/lib/components/card/image/CardImage.native.js +117 -49
- package/lib/components/card/image/CardImage.native.mjs +6 -4
- package/lib/components/card/image/index.native.js +117 -49
- 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 +121 -53
- package/lib/components/card/index.native.mjs +9 -7
- package/lib/components/checkbox/Checkbox.native.js +174 -80
- package/lib/components/checkbox/Checkbox.native.mjs +8 -5
- package/lib/components/checkbox/index.mjs +12 -12
- package/lib/components/checkbox/index.native.js +236 -142
- package/lib/components/checkbox/index.native.mjs +25 -22
- package/lib/components/checkbox/list/CheckboxList.mjs +9 -9
- package/lib/components/checkbox/list/CheckboxList.native.js +145 -87
- package/lib/components/checkbox/list/CheckboxList.native.mjs +10 -8
- package/lib/components/checkbox/list/index.mjs +9 -9
- package/lib/components/checkbox/list/index.native.js +145 -87
- package/lib/components/checkbox/list/index.native.mjs +10 -8
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +9 -9
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +196 -102
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +18 -15
- package/lib/components/checkbox/tiles/tile/index.mjs +9 -9
- package/lib/components/checkbox/tiles/tile/index.native.js +196 -102
- package/lib/components/checkbox/tiles/tile/index.native.mjs +18 -15
- package/lib/components/chips/Chips.native.js +210 -116
- package/lib/components/chips/Chips.native.mjs +8 -5
- package/lib/components/chips/index.native.js +210 -116
- package/lib/components/chips/index.native.mjs +8 -5
- package/lib/components/columns/column/Column.native.js +121 -26
- package/lib/components/columns/column/Column.native.mjs +15 -12
- package/lib/components/columns/column/index.native.js +121 -26
- package/lib/components/columns/column/index.native.mjs +15 -12
- package/lib/components/columns/index.native.js +121 -26
- package/lib/components/columns/index.native.mjs +15 -12
- package/lib/components/countdown/Countdown.native.js +148 -90
- package/lib/components/countdown/Countdown.native.mjs +7 -5
- package/lib/components/countdown/index.native.js +148 -90
- package/lib/components/countdown/index.native.mjs +7 -5
- package/lib/components/datepicker/DatePicker.js +15 -3
- package/lib/components/datepicker/DatePicker.mjs +14 -14
- 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 +1326 -3
- package/lib/components/datepicker/DatePicker.native.mjs +26 -1
- package/lib/components/datepicker/index.js +15 -3
- package/lib/components/datepicker/index.mjs +14 -14
- package/lib/components/datepicker/index.native.js +1325 -4
- package/lib/components/datepicker/index.native.mjs +26 -1
- package/lib/components/divider/Divider.native.js +182 -88
- package/lib/components/divider/Divider.native.mjs +8 -5
- package/lib/components/divider/index.native.js +182 -88
- package/lib/components/divider/index.native.mjs +8 -5
- package/lib/components/fab/Fab.native.js +175 -81
- package/lib/components/fab/Fab.native.mjs +17 -14
- package/lib/components/fab/index.native.js +175 -81
- package/lib/components/fab/index.native.mjs +17 -14
- package/lib/components/flex-box/FlexBox.native.js +139 -44
- package/lib/components/flex-box/FlexBox.native.mjs +15 -12
- package/lib/components/flex-box/index.native.js +147 -52
- package/lib/components/flex-box/index.native.mjs +15 -12
- package/lib/components/hero/Hero.native.js +191 -87
- package/lib/components/hero/Hero.native.mjs +20 -17
- package/lib/components/hero/index.native.js +191 -87
- package/lib/components/hero/index.native.mjs +20 -17
- package/lib/components/icon/Icon.native.js +109 -14
- package/lib/components/icon/Icon.native.mjs +5 -2
- package/lib/components/icon/index.native.js +109 -14
- package/lib/components/icon/index.native.mjs +5 -2
- package/lib/components/image/Image.mjs +9 -9
- package/lib/components/image/index.mjs +9 -9
- package/lib/components/index.d.mts +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +223 -124
- package/lib/components/index.mjs +88 -82
- package/lib/components/index.native.js +2118 -1082
- package/lib/components/index.native.mjs +125 -122
- package/lib/components/input/Input.mjs +9 -9
- package/lib/components/input/Input.native.js +242 -148
- package/lib/components/input/Input.native.mjs +18 -15
- package/lib/components/input/gauge/InputGauge.mjs +9 -9
- package/lib/components/input/gauge/InputGauge.native.js +190 -96
- package/lib/components/input/gauge/InputGauge.native.mjs +17 -14
- package/lib/components/input/gauge/hook/useGauge.mjs +9 -9
- package/lib/components/input/gauge/hook/useGauge.native.js +123 -28
- package/lib/components/input/gauge/hook/useGauge.native.mjs +15 -12
- package/lib/components/input/index.mjs +9 -9
- package/lib/components/input/index.native.d.mts +2 -1
- package/lib/components/input/index.native.d.ts +2 -1
- package/lib/components/input/index.native.js +242 -148
- package/lib/components/input/index.native.mjs +18 -15
- package/lib/components/link/Link.native.js +122 -27
- package/lib/components/link/Link.native.mjs +6 -3
- package/lib/components/link/index.native.js +122 -27
- package/lib/components/link/index.native.mjs +6 -3
- package/lib/components/list/index.mjs +9 -9
- package/lib/components/list/index.native.js +177 -83
- package/lib/components/list/index.native.mjs +18 -15
- package/lib/components/list/item/ListItem.mjs +9 -9
- package/lib/components/list/item/ListItem.native.js +179 -85
- package/lib/components/list/item/ListItem.native.mjs +17 -14
- package/lib/components/list/item/description/ListItemDescription.native.js +208 -114
- package/lib/components/list/item/description/ListItemDescription.native.mjs +17 -14
- package/lib/components/list/item/description/index.native.js +208 -114
- package/lib/components/list/item/description/index.native.mjs +17 -14
- package/lib/components/list/item/index.mjs +9 -9
- package/lib/components/list/item/index.native.js +179 -85
- package/lib/components/list/item/index.native.mjs +18 -15
- package/lib/components/modal/Modal.mjs +1 -1
- package/lib/components/modal/Modal.native.js +174 -72
- package/lib/components/modal/Modal.native.mjs +18 -15
- package/lib/components/modal/body/ModalBody.native.js +120 -25
- package/lib/components/modal/body/ModalBody.native.mjs +15 -12
- package/lib/components/modal/body/index.native.js +120 -25
- package/lib/components/modal/body/index.native.mjs +15 -12
- package/lib/components/modal/footer/ModalFooter.native.js +166 -64
- package/lib/components/modal/footer/ModalFooter.native.mjs +18 -15
- package/lib/components/modal/footer/index.native.js +166 -64
- package/lib/components/modal/footer/index.native.mjs +18 -15
- package/lib/components/modal/index.mjs +1 -1
- package/lib/components/modal/index.native.js +189 -87
- package/lib/components/modal/index.native.mjs +22 -19
- package/lib/components/otp/Otp.native.js +198 -97
- package/lib/components/otp/Otp.native.mjs +19 -16
- package/lib/components/otp/index.native.js +198 -97
- package/lib/components/otp/index.native.mjs +19 -16
- package/lib/components/pagination/Pagination.native.js +185 -91
- package/lib/components/pagination/Pagination.native.mjs +8 -5
- package/lib/components/pagination/index.native.js +185 -91
- package/lib/components/pagination/index.native.mjs +8 -5
- package/lib/components/popover/Popover.native.js +120 -25
- package/lib/components/popover/Popover.native.mjs +15 -12
- package/lib/components/popover/index.native.js +120 -25
- package/lib/components/popover/index.native.mjs +15 -12
- package/lib/components/price/Price.mjs +9 -9
- package/lib/components/price/Price.native.js +122 -27
- package/lib/components/price/Price.native.mjs +16 -13
- package/lib/components/price/index.mjs +9 -9
- package/lib/components/price/index.native.js +122 -27
- package/lib/components/price/index.native.mjs +16 -13
- package/lib/components/progress/Progress.mjs +9 -9
- package/lib/components/progress/Progress.native.js +214 -120
- package/lib/components/progress/Progress.native.mjs +17 -14
- package/lib/components/progress/index.mjs +14 -14
- package/lib/components/progress/index.native.js +256 -155
- package/lib/components/progress/index.native.mjs +21 -18
- 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 +226 -125
- package/lib/components/progress/radial/ProgressRadial.native.mjs +17 -14
- package/lib/components/progress/radial/index.mjs +1 -1
- package/lib/components/progress/radial/index.native.js +226 -125
- package/lib/components/progress/radial/index.native.mjs +17 -14
- package/lib/components/radio/Radio.native.js +197 -103
- package/lib/components/radio/Radio.native.mjs +17 -14
- package/lib/components/radio/index.mjs +12 -12
- package/lib/components/radio/index.native.js +219 -125
- package/lib/components/radio/index.native.mjs +25 -22
- package/lib/components/radio/list/RadioList.mjs +9 -9
- package/lib/components/radio/list/RadioList.native.mjs +4 -4
- package/lib/components/radio/list/index.mjs +9 -9
- package/lib/components/radio/list/index.native.mjs +4 -4
- 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 +188 -94
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +18 -15
- package/lib/components/radio/tiles/tile/index.mjs +9 -9
- package/lib/components/radio/tiles/tile/index.native.js +188 -94
- package/lib/components/radio/tiles/tile/index.native.mjs +18 -15
- package/lib/components/range/Range.mjs +9 -9
- package/lib/components/range/Range.native.js +178 -84
- package/lib/components/range/Range.native.mjs +17 -14
- package/lib/components/range/index.mjs +9 -9
- package/lib/components/range/index.native.js +178 -84
- package/lib/components/range/index.native.mjs +17 -14
- package/lib/components/scroll-view/ScrollView.mjs +9 -9
- package/lib/components/scroll-view/ScrollView.native.js +128 -33
- package/lib/components/scroll-view/ScrollView.native.mjs +15 -12
- package/lib/components/scroll-view/index.mjs +9 -9
- package/lib/components/scroll-view/index.native.js +128 -33
- package/lib/components/scroll-view/index.native.mjs +15 -12
- package/lib/components/section/Section.mjs +9 -9
- package/lib/components/section/Section.native.js +118 -23
- package/lib/components/section/Section.native.mjs +15 -12
- package/lib/components/section/index.mjs +9 -9
- package/lib/components/section/index.native.js +118 -23
- package/lib/components/section/index.native.mjs +15 -12
- package/lib/components/segment-control/SegmentControl.mjs +9 -9
- package/lib/components/segment-control/SegmentControl.native.js +221 -127
- package/lib/components/segment-control/SegmentControl.native.mjs +17 -14
- package/lib/components/segment-control/index.mjs +9 -9
- package/lib/components/segment-control/index.native.js +230 -136
- package/lib/components/segment-control/index.native.mjs +17 -14
- package/lib/components/select/Select.mjs +11 -11
- package/lib/components/select/Select.native.js +349 -248
- package/lib/components/select/Select.native.mjs +26 -23
- package/lib/components/select/index.mjs +11 -11
- package/lib/components/select/index.native.js +349 -248
- package/lib/components/select/index.native.mjs +26 -23
- package/lib/components/select/option/SelectOption.native.js +186 -92
- package/lib/components/select/option/SelectOption.native.mjs +17 -14
- package/lib/components/select/option/index.native.js +186 -92
- package/lib/components/select/option/index.native.mjs +18 -15
- package/lib/components/select/web/SelectDynamic.mjs +9 -9
- package/lib/components/select/web/SelectNative.mjs +11 -11
- package/lib/components/select/web/index.mjs +11 -11
- 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 +125 -0
- package/lib/components/skeleton/index.mjs +10 -0
- package/lib/components/stepper/Stepper.native.js +174 -80
- package/lib/components/stepper/Stepper.native.mjs +17 -14
- package/lib/components/stepper/index.mjs +1 -1
- package/lib/components/stepper/index.native.js +183 -89
- package/lib/components/stepper/index.native.mjs +17 -14
- package/lib/components/stepper/step/Step.native.js +119 -24
- 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 +119 -24
- package/lib/components/stepper/step/index.native.mjs +15 -12
- package/lib/components/sticker/Sticker.mjs +9 -9
- package/lib/components/sticker/Sticker.native.js +171 -77
- package/lib/components/sticker/Sticker.native.mjs +17 -14
- package/lib/components/sticker/index.mjs +9 -9
- package/lib/components/sticker/index.native.js +171 -77
- package/lib/components/sticker/index.native.mjs +17 -14
- package/lib/components/styleComponent/index.mjs +4 -4
- package/lib/components/switch/Switch.mjs +9 -9
- package/lib/components/switch/Switch.native.js +119 -24
- package/lib/components/switch/Switch.native.mjs +15 -12
- package/lib/components/switch/index.mjs +9 -9
- package/lib/components/switch/index.native.js +119 -24
- package/lib/components/switch/index.native.mjs +15 -12
- package/lib/components/table/Table.native.js +116 -21
- package/lib/components/table/Table.native.mjs +15 -12
- package/lib/components/table/index.mjs +8 -8
- package/lib/components/table/index.native.js +214 -120
- package/lib/components/table/index.native.mjs +22 -19
- package/lib/components/table/td/TableTd.native.js +115 -20
- package/lib/components/table/td/TableTd.native.mjs +15 -12
- package/lib/components/table/td/index.native.js +115 -20
- package/lib/components/table/td/index.native.mjs +15 -12
- package/lib/components/table/th/TableTh.native.js +209 -115
- package/lib/components/table/th/TableTh.native.mjs +17 -14
- package/lib/components/table/th/index.native.js +209 -115
- package/lib/components/table/th/index.native.mjs +17 -14
- package/lib/components/table/tr/TableTr.native.js +188 -94
- package/lib/components/table/tr/TableTr.native.mjs +17 -14
- package/lib/components/table/tr/index.native.js +188 -94
- package/lib/components/table/tr/index.native.mjs +17 -14
- package/lib/components/tabs/index.mjs +1 -1
- package/lib/components/tabs/index.native.js +220 -126
- package/lib/components/tabs/index.native.mjs +19 -16
- package/lib/components/tabs/tab-list/TabList.native.js +204 -110
- package/lib/components/tabs/tab-list/TabList.native.mjs +18 -15
- package/lib/components/tabs/tab-list/index.native.js +204 -110
- package/lib/components/tabs/tab-list/index.native.mjs +18 -15
- package/lib/components/tabs/tab-list/tab/Tab.native.js +179 -85
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +8 -5
- package/lib/components/tabs/tab-list/tab/index.native.js +179 -85
- package/lib/components/tabs/tab-list/tab/index.native.mjs +8 -5
- package/lib/components/tabs/tab-panels/TabPanels.native.js +118 -23
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +15 -12
- package/lib/components/tabs/tab-panels/index.native.js +118 -23
- package/lib/components/tabs/tab-panels/index.native.mjs +15 -12
- package/lib/components/tag/Tag.native.js +115 -20
- package/lib/components/tag/Tag.native.mjs +6 -3
- package/lib/components/tag/index.mjs +9 -9
- package/lib/components/tag/index.native.js +120 -25
- package/lib/components/tag/index.native.mjs +6 -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 +139 -81
- package/lib/components/text/Text.native.mjs +6 -4
- package/lib/components/text/index.native.js +139 -83
- package/lib/components/text/index.native.mjs +6 -4
- package/lib/components/textarea/Textarea.mjs +9 -9
- package/lib/components/textarea/Textarea.native.js +184 -90
- package/lib/components/textarea/Textarea.native.mjs +17 -14
- package/lib/components/textarea/index.mjs +9 -9
- package/lib/components/textarea/index.native.js +184 -90
- package/lib/components/textarea/index.native.mjs +17 -14
- package/lib/components/timeline/content/TimelineContent.native.js +201 -107
- package/lib/components/timeline/content/TimelineContent.native.mjs +21 -18
- package/lib/components/timeline/content/index.native.js +201 -107
- package/lib/components/timeline/content/index.native.mjs +21 -18
- package/lib/components/timeline/index.mjs +4 -4
- package/lib/components/timeline/index.native.js +209 -115
- package/lib/components/timeline/index.native.mjs +23 -20
- package/lib/components/timeline/marker/TimelineMarker.native.js +139 -44
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +16 -13
- package/lib/components/timeline/marker/index.native.js +139 -44
- package/lib/components/timeline/marker/index.native.mjs +17 -14
- package/lib/components/title/Title.native.js +157 -55
- package/lib/components/title/Title.native.mjs +16 -13
- package/lib/components/title/index.mjs +1 -1
- package/lib/components/title/index.native.js +157 -55
- package/lib/components/title/index.native.mjs +17 -14
- package/lib/components/view/View.mjs +9 -9
- package/lib/components/view/View.native.js +125 -30
- package/lib/components/view/View.native.mjs +15 -12
- package/lib/components/view/index.mjs +9 -9
- package/lib/components/view/index.native.js +125 -30
- 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/index.js +229 -130
- package/lib/index.mjs +93 -87
- package/lib/index.native.js +2124 -1088
- package/lib/index.native.mjs +133 -130
- package/lib/objects/Typography/index.native.mjs +4 -4
- package/lib/objects/facets/Status/index.native.js +109 -14
- package/lib/objects/facets/Status/index.native.mjs +5 -2
- package/lib/objects/facets/index.mjs +12 -12
- package/lib/objects/facets/index.native.js +109 -14
- package/lib/objects/facets/index.native.mjs +17 -14
- package/lib/objects/index.mjs +12 -12
- package/lib/objects/index.native.js +111 -16
- package/lib/objects/index.native.mjs +21 -18
- 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
|
@@ -156,23 +156,109 @@ var isAndroid = import_react_native.Platform.OS === "android";
|
|
|
156
156
|
var isIOS = import_react_native.Platform.OS === "ios";
|
|
157
157
|
|
|
158
158
|
// components/icon/Icon.native.tsx
|
|
159
|
+
var import_react5 = __toESM(require("react"));
|
|
160
|
+
var import_react_native3 = require("react-native");
|
|
161
|
+
|
|
162
|
+
// components/skeleton/Skeleton.native.tsx
|
|
159
163
|
var import_react4 = __toESM(require("react"));
|
|
160
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
161
164
|
var import_react_native2 = require("react-native");
|
|
165
|
+
var Skeleton = ({
|
|
166
|
+
style,
|
|
167
|
+
width = "100%",
|
|
168
|
+
height = 20,
|
|
169
|
+
backgroundColor = "#E1E9EE",
|
|
170
|
+
shimmerColor = "#F7F8F8",
|
|
171
|
+
duration = 1200,
|
|
172
|
+
borderRadius = 4,
|
|
173
|
+
children,
|
|
174
|
+
testID
|
|
175
|
+
}) => {
|
|
176
|
+
const shimmerValue = (0, import_react4.useRef)(new import_react_native2.Animated.Value(0)).current;
|
|
177
|
+
const [containerWidth, setContainerWidth] = import_react4.default.useState(200);
|
|
178
|
+
(0, import_react4.useEffect)(() => {
|
|
179
|
+
const shimmerAnimation = import_react_native2.Animated.loop(
|
|
180
|
+
import_react_native2.Animated.timing(shimmerValue, {
|
|
181
|
+
toValue: 1,
|
|
182
|
+
duration,
|
|
183
|
+
useNativeDriver: true
|
|
184
|
+
}),
|
|
185
|
+
{ iterations: -1 }
|
|
186
|
+
);
|
|
187
|
+
shimmerAnimation.start();
|
|
188
|
+
return () => shimmerAnimation.stop();
|
|
189
|
+
}, [shimmerValue, duration]);
|
|
190
|
+
const translateX = shimmerValue.interpolate({
|
|
191
|
+
inputRange: [0, 1],
|
|
192
|
+
outputRange: [-containerWidth, containerWidth]
|
|
193
|
+
});
|
|
194
|
+
const opacity = shimmerValue.interpolate({
|
|
195
|
+
inputRange: [0, 0.5, 1],
|
|
196
|
+
outputRange: [0.3, 0.8, 0.3]
|
|
197
|
+
});
|
|
198
|
+
const containerStyle = {
|
|
199
|
+
width: children ? void 0 : width,
|
|
200
|
+
height: children ? void 0 : height,
|
|
201
|
+
backgroundColor,
|
|
202
|
+
borderRadius,
|
|
203
|
+
overflow: "hidden",
|
|
204
|
+
alignSelf: children ? "flex-start" : void 0,
|
|
205
|
+
...style
|
|
206
|
+
};
|
|
207
|
+
const handleLayout = (event) => {
|
|
208
|
+
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
209
|
+
setContainerWidth(layoutWidth);
|
|
210
|
+
};
|
|
211
|
+
if (children) {
|
|
212
|
+
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(
|
|
213
|
+
import_react_native2.Animated.View,
|
|
214
|
+
{
|
|
215
|
+
style: [
|
|
216
|
+
{
|
|
217
|
+
position: "absolute",
|
|
218
|
+
top: 0,
|
|
219
|
+
left: 0,
|
|
220
|
+
width: containerWidth * 0.7,
|
|
221
|
+
height: "100%",
|
|
222
|
+
backgroundColor: shimmerColor,
|
|
223
|
+
opacity,
|
|
224
|
+
transform: [{ translateX }]
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
));
|
|
229
|
+
}
|
|
230
|
+
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(
|
|
231
|
+
import_react_native2.Animated.View,
|
|
232
|
+
{
|
|
233
|
+
style: [
|
|
234
|
+
{
|
|
235
|
+
width: containerWidth * 0.7,
|
|
236
|
+
height: "100%",
|
|
237
|
+
backgroundColor: shimmerColor,
|
|
238
|
+
opacity,
|
|
239
|
+
transform: [{ translateX }]
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
));
|
|
244
|
+
};
|
|
245
|
+
var Skeleton_native_default = Skeleton;
|
|
246
|
+
|
|
247
|
+
// components/icon/Icon.native.tsx
|
|
162
248
|
var import_css = require("react-native-svg/css");
|
|
163
|
-
var Icon =
|
|
249
|
+
var Icon = import_react5.default.forwardRef(
|
|
164
250
|
({ size, name, circled, stretched, color, backgroundColor, onClick, align, skeleton, testId, ...others }, ref) => {
|
|
165
251
|
const {
|
|
166
252
|
theme: { icons }
|
|
167
|
-
} = (0,
|
|
168
|
-
const statesContext = (0,
|
|
253
|
+
} = (0, import_react5.useContext)(TrilogyThemeContext);
|
|
254
|
+
const statesContext = (0, import_react5.useContext)(StatesContext);
|
|
169
255
|
const style = {};
|
|
170
256
|
const defaultSize = size === "huge" /* HUGE */ && 66 || size === "large" /* LARGE */ && 44 || size === "medium" /* MEDIUM */ && 30 || size === "small" /* SMALL */ && 20 || size === "smaller" /* SMALLER */ && 16 || 20;
|
|
171
257
|
const iconColor = color && getColorStyle(color) || statesContext.inverted && getColorStyle("WHITE" /* BACKGROUND */) || getColorStyle("MAIN" /* MAIN */);
|
|
172
258
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
173
259
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
174
260
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
175
|
-
const styles =
|
|
261
|
+
const styles = import_react_native3.StyleSheet.create({
|
|
176
262
|
rootView: {
|
|
177
263
|
alignSelf: getAlignStyle(align)
|
|
178
264
|
},
|
|
@@ -215,14 +301,23 @@ var Icon = import_react4.default.forwardRef(
|
|
|
215
301
|
justifyContent: "center"
|
|
216
302
|
}
|
|
217
303
|
});
|
|
218
|
-
const IconSkeleton = () => /* @__PURE__ */
|
|
304
|
+
const IconSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
305
|
+
Skeleton_native_default,
|
|
306
|
+
{
|
|
307
|
+
style: styles.skeleton,
|
|
308
|
+
width: circledWidth,
|
|
309
|
+
height: circledWidth,
|
|
310
|
+
borderRadius: iconSkeletonRadius,
|
|
311
|
+
testID: "skeleton-id"
|
|
312
|
+
}
|
|
313
|
+
);
|
|
219
314
|
if (skeleton) {
|
|
220
|
-
return /* @__PURE__ */
|
|
315
|
+
return /* @__PURE__ */ import_react5.default.createElement(IconSkeleton, null);
|
|
221
316
|
}
|
|
222
|
-
let iconView = /* @__PURE__ */
|
|
317
|
+
let iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, null);
|
|
223
318
|
if (name && icons) {
|
|
224
319
|
if (stretched && !circled) {
|
|
225
|
-
iconView = /* @__PURE__ */
|
|
320
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
226
321
|
import_css.WithLocalSvg,
|
|
227
322
|
{
|
|
228
323
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -233,7 +328,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
233
328
|
}
|
|
234
329
|
));
|
|
235
330
|
} else if (circled) {
|
|
236
|
-
iconView = /* @__PURE__ */
|
|
331
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
237
332
|
import_css.WithLocalSvg,
|
|
238
333
|
{
|
|
239
334
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -244,7 +339,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
244
339
|
}
|
|
245
340
|
));
|
|
246
341
|
} else {
|
|
247
|
-
iconView = /* @__PURE__ */
|
|
342
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react5.default.createElement(
|
|
248
343
|
import_css.WithLocalSvg,
|
|
249
344
|
{
|
|
250
345
|
style: [styles.icon, style],
|
|
@@ -256,8 +351,8 @@ var Icon = import_react4.default.forwardRef(
|
|
|
256
351
|
));
|
|
257
352
|
}
|
|
258
353
|
}
|
|
259
|
-
return onClick ? /* @__PURE__ */
|
|
260
|
-
|
|
354
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react5.default.createElement(
|
|
355
|
+
import_react_native3.TouchableOpacity,
|
|
261
356
|
{
|
|
262
357
|
style: { width: "100%" },
|
|
263
358
|
onPress: onClick,
|
|
@@ -265,7 +360,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
265
360
|
testID: `${testId}-pressable`
|
|
266
361
|
},
|
|
267
362
|
iconView
|
|
268
|
-
)) : /* @__PURE__ */
|
|
363
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
269
364
|
}
|
|
270
365
|
);
|
|
271
366
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -280,12 +375,12 @@ var STATUS_COLORS = {
|
|
|
280
375
|
};
|
|
281
376
|
|
|
282
377
|
// objects/Typography/TypographyBold/index.native.tsx
|
|
283
|
-
var
|
|
378
|
+
var import_react6 = require("react");
|
|
284
379
|
|
|
285
380
|
// components/view/View.native.tsx
|
|
286
|
-
var
|
|
287
|
-
var
|
|
288
|
-
var
|
|
381
|
+
var React4 = __toESM(require("react"));
|
|
382
|
+
var import_react_native4 = require("react-native");
|
|
383
|
+
var View3 = React4.forwardRef(({
|
|
289
384
|
children,
|
|
290
385
|
style,
|
|
291
386
|
onClick,
|
|
@@ -300,7 +395,7 @@ var View2 = React3.forwardRef(({
|
|
|
300
395
|
...others
|
|
301
396
|
}, ref) => {
|
|
302
397
|
const viewColor = backgroundColor && getColorStyle(backgroundColor) || "transparent";
|
|
303
|
-
const styles =
|
|
398
|
+
const styles = import_react_native4.StyleSheet.create({
|
|
304
399
|
view: {
|
|
305
400
|
flex: flexable ? 1 : 0,
|
|
306
401
|
backgroundColor: viewColor,
|
|
@@ -319,8 +414,8 @@ var View2 = React3.forwardRef(({
|
|
|
319
414
|
height: "auto"
|
|
320
415
|
}
|
|
321
416
|
});
|
|
322
|
-
let returnView = /* @__PURE__ */
|
|
323
|
-
|
|
417
|
+
let returnView = /* @__PURE__ */ React4.createElement(
|
|
418
|
+
import_react_native4.View,
|
|
324
419
|
{
|
|
325
420
|
ref,
|
|
326
421
|
testID: id,
|
|
@@ -331,8 +426,8 @@ var View2 = React3.forwardRef(({
|
|
|
331
426
|
children
|
|
332
427
|
);
|
|
333
428
|
if (!children) {
|
|
334
|
-
returnView = /* @__PURE__ */
|
|
335
|
-
|
|
429
|
+
returnView = /* @__PURE__ */ React4.createElement(
|
|
430
|
+
import_react_native4.View,
|
|
336
431
|
{
|
|
337
432
|
ref,
|
|
338
433
|
testID: id,
|
|
@@ -343,8 +438,8 @@ var View2 = React3.forwardRef(({
|
|
|
343
438
|
);
|
|
344
439
|
}
|
|
345
440
|
if (onClick) {
|
|
346
|
-
returnView = /* @__PURE__ */
|
|
347
|
-
|
|
441
|
+
returnView = /* @__PURE__ */ React4.createElement(
|
|
442
|
+
import_react_native4.View,
|
|
348
443
|
{
|
|
349
444
|
ref,
|
|
350
445
|
testID: id,
|
|
@@ -352,11 +447,11 @@ var View2 = React3.forwardRef(({
|
|
|
352
447
|
style: [styles.view, bottom && styles.bottom, style],
|
|
353
448
|
...others
|
|
354
449
|
},
|
|
355
|
-
/* @__PURE__ */
|
|
450
|
+
/* @__PURE__ */ React4.createElement(import_react_native4.TouchableOpacity, { activeOpacity: 1, onPress: onClick }, children)
|
|
356
451
|
);
|
|
357
452
|
}
|
|
358
|
-
return backgroundSrc ? /* @__PURE__ */
|
|
359
|
-
|
|
453
|
+
return backgroundSrc ? /* @__PURE__ */ React4.createElement(
|
|
454
|
+
import_react_native4.ImageBackground,
|
|
360
455
|
{
|
|
361
456
|
style: styles.sectionImage,
|
|
362
457
|
source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }
|
|
@@ -364,5 +459,5 @@ var View2 = React3.forwardRef(({
|
|
|
364
459
|
returnView
|
|
365
460
|
) : returnView;
|
|
366
461
|
});
|
|
367
|
-
|
|
368
|
-
var View_native_default =
|
|
462
|
+
View3.displayName = "View" /* View */;
|
|
463
|
+
var View_native_default = View3;
|
|
@@ -10,39 +10,42 @@ import "../../chunk-YKUYXBXK.mjs";
|
|
|
10
10
|
import "../../chunk-ZEJDFWMP.mjs";
|
|
11
11
|
import "../../chunk-MB55ARZ7.mjs";
|
|
12
12
|
import "../../chunk-D5HHHZDS.mjs";
|
|
13
|
-
import "../../chunk-3LXODEBD.mjs";
|
|
14
13
|
import "../../chunk-WVL5S3CD.mjs";
|
|
14
|
+
import "../../chunk-3LXODEBD.mjs";
|
|
15
15
|
import "../../chunk-7L5452RP.mjs";
|
|
16
16
|
import "../../chunk-2K2TD7FH.mjs";
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-E4YRRUI3.mjs";
|
|
17
|
+
import "../../chunk-NEM7FT22.mjs";
|
|
19
18
|
import "../../chunk-CWIO3GEP.mjs";
|
|
19
|
+
import "../../chunk-E4YRRUI3.mjs";
|
|
20
20
|
import "../../chunk-R6PFY5VS.mjs";
|
|
21
|
+
import "../../chunk-UZO5VCH2.mjs";
|
|
22
|
+
import "../../chunk-7DJ5V2J7.mjs";
|
|
23
|
+
import "../../chunk-LHDHBH5T.mjs";
|
|
21
24
|
import "../../chunk-RXBVZD3M.mjs";
|
|
25
|
+
import "../../chunk-GP5CJGRF.mjs";
|
|
26
|
+
import "../../chunk-NVH4ZPGW.mjs";
|
|
27
|
+
import "../../chunk-62DJK35E.mjs";
|
|
28
|
+
import "../../chunk-PAEZ47M2.mjs";
|
|
22
29
|
import "../../chunk-A2ASOVUR.mjs";
|
|
23
30
|
import "../../chunk-3XMSRU64.mjs";
|
|
24
31
|
import "../../chunk-L5TMSDJR.mjs";
|
|
25
|
-
import "../../chunk-
|
|
32
|
+
import "../../chunk-SUNBSFL4.mjs";
|
|
26
33
|
import "../../chunk-UTA75ELV.mjs";
|
|
27
34
|
import "../../chunk-L25MU6JT.mjs";
|
|
28
35
|
import "../../chunk-6TNYDJM7.mjs";
|
|
29
36
|
import "../../chunk-HQXKHRER.mjs";
|
|
30
|
-
import "../../chunk-
|
|
31
|
-
import "../../chunk-
|
|
32
|
-
import "../../chunk-PAEZ47M2.mjs";
|
|
37
|
+
import "../../chunk-B6WC6WS2.mjs";
|
|
38
|
+
import "../../chunk-MAX3RSBG.mjs";
|
|
33
39
|
import "../../chunk-FTTU4DJW.mjs";
|
|
34
40
|
import "../../chunk-L7CNF7H6.mjs";
|
|
35
41
|
import "../../chunk-RJO5KKUW.mjs";
|
|
36
42
|
import "../../chunk-R7HI6GOP.mjs";
|
|
37
|
-
import "../../chunk-
|
|
43
|
+
import "../../chunk-G6BHSMLA.mjs";
|
|
44
|
+
import "../../chunk-THOTRBD4.mjs";
|
|
38
45
|
import "../../chunk-XIQL4ZTN.mjs";
|
|
39
46
|
import "../../chunk-UUXUTBLZ.mjs";
|
|
40
47
|
import "../../chunk-QOEJLTZN.mjs";
|
|
41
|
-
import "../../chunk-B6WC6WS2.mjs";
|
|
42
|
-
import "../../chunk-MAX3RSBG.mjs";
|
|
43
48
|
import "../../chunk-6BTWLQPI.mjs";
|
|
44
|
-
import "../../chunk-G6BHSMLA.mjs";
|
|
45
|
-
import "../../chunk-THOTRBD4.mjs";
|
|
46
49
|
import "../../chunk-ATW7ITPH.mjs";
|
|
47
50
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
48
51
|
import "../../chunk-L4UDEKQK.mjs";
|
|
@@ -34,30 +34,30 @@ import "../../chunk-ODKCJMCG.mjs";
|
|
|
34
34
|
import "../../chunk-UFMRE754.mjs";
|
|
35
35
|
import "../../chunk-ZB4OWTDD.mjs";
|
|
36
36
|
import "../../chunk-RXBVZD3M.mjs";
|
|
37
|
+
import "../../chunk-GP5CJGRF.mjs";
|
|
38
|
+
import "../../chunk-NVH4ZPGW.mjs";
|
|
39
|
+
import "../../chunk-62DJK35E.mjs";
|
|
40
|
+
import "../../chunk-PAEZ47M2.mjs";
|
|
37
41
|
import "../../chunk-A2ASOVUR.mjs";
|
|
38
42
|
import "../../chunk-3XMSRU64.mjs";
|
|
39
43
|
import "../../chunk-L5TMSDJR.mjs";
|
|
40
|
-
import "../../chunk-
|
|
44
|
+
import "../../chunk-SUNBSFL4.mjs";
|
|
41
45
|
import "../../chunk-UTA75ELV.mjs";
|
|
42
46
|
import "../../chunk-L25MU6JT.mjs";
|
|
43
47
|
import "../../chunk-6TNYDJM7.mjs";
|
|
44
48
|
import "../../chunk-HQXKHRER.mjs";
|
|
45
|
-
import "../../chunk-
|
|
46
|
-
import "../../chunk-
|
|
47
|
-
import "../../chunk-PAEZ47M2.mjs";
|
|
49
|
+
import "../../chunk-B6WC6WS2.mjs";
|
|
50
|
+
import "../../chunk-MAX3RSBG.mjs";
|
|
48
51
|
import "../../chunk-FTTU4DJW.mjs";
|
|
49
52
|
import "../../chunk-L7CNF7H6.mjs";
|
|
50
53
|
import "../../chunk-RJO5KKUW.mjs";
|
|
51
54
|
import "../../chunk-R7HI6GOP.mjs";
|
|
52
|
-
import "../../chunk-
|
|
55
|
+
import "../../chunk-G6BHSMLA.mjs";
|
|
56
|
+
import "../../chunk-THOTRBD4.mjs";
|
|
53
57
|
import "../../chunk-XIQL4ZTN.mjs";
|
|
54
58
|
import "../../chunk-UUXUTBLZ.mjs";
|
|
55
59
|
import "../../chunk-QOEJLTZN.mjs";
|
|
56
|
-
import "../../chunk-B6WC6WS2.mjs";
|
|
57
|
-
import "../../chunk-MAX3RSBG.mjs";
|
|
58
60
|
import "../../chunk-6BTWLQPI.mjs";
|
|
59
|
-
import "../../chunk-G6BHSMLA.mjs";
|
|
60
|
-
import "../../chunk-THOTRBD4.mjs";
|
|
61
61
|
import "../../chunk-ATW7ITPH.mjs";
|
|
62
62
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
63
63
|
import "../../chunk-L4UDEKQK.mjs";
|
|
@@ -159,23 +159,109 @@ var isAndroid = import_react_native.Platform.OS === "android";
|
|
|
159
159
|
var isIOS = import_react_native.Platform.OS === "ios";
|
|
160
160
|
|
|
161
161
|
// components/icon/Icon.native.tsx
|
|
162
|
+
var import_react5 = __toESM(require("react"));
|
|
163
|
+
var import_react_native3 = require("react-native");
|
|
164
|
+
|
|
165
|
+
// components/skeleton/Skeleton.native.tsx
|
|
162
166
|
var import_react4 = __toESM(require("react"));
|
|
163
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
164
167
|
var import_react_native2 = require("react-native");
|
|
168
|
+
var Skeleton = ({
|
|
169
|
+
style,
|
|
170
|
+
width = "100%",
|
|
171
|
+
height = 20,
|
|
172
|
+
backgroundColor = "#E1E9EE",
|
|
173
|
+
shimmerColor = "#F7F8F8",
|
|
174
|
+
duration = 1200,
|
|
175
|
+
borderRadius = 4,
|
|
176
|
+
children,
|
|
177
|
+
testID
|
|
178
|
+
}) => {
|
|
179
|
+
const shimmerValue = (0, import_react4.useRef)(new import_react_native2.Animated.Value(0)).current;
|
|
180
|
+
const [containerWidth, setContainerWidth] = import_react4.default.useState(200);
|
|
181
|
+
(0, import_react4.useEffect)(() => {
|
|
182
|
+
const shimmerAnimation = import_react_native2.Animated.loop(
|
|
183
|
+
import_react_native2.Animated.timing(shimmerValue, {
|
|
184
|
+
toValue: 1,
|
|
185
|
+
duration,
|
|
186
|
+
useNativeDriver: true
|
|
187
|
+
}),
|
|
188
|
+
{ iterations: -1 }
|
|
189
|
+
);
|
|
190
|
+
shimmerAnimation.start();
|
|
191
|
+
return () => shimmerAnimation.stop();
|
|
192
|
+
}, [shimmerValue, duration]);
|
|
193
|
+
const translateX = shimmerValue.interpolate({
|
|
194
|
+
inputRange: [0, 1],
|
|
195
|
+
outputRange: [-containerWidth, containerWidth]
|
|
196
|
+
});
|
|
197
|
+
const opacity = shimmerValue.interpolate({
|
|
198
|
+
inputRange: [0, 0.5, 1],
|
|
199
|
+
outputRange: [0.3, 0.8, 0.3]
|
|
200
|
+
});
|
|
201
|
+
const containerStyle = {
|
|
202
|
+
width: children ? void 0 : width,
|
|
203
|
+
height: children ? void 0 : height,
|
|
204
|
+
backgroundColor,
|
|
205
|
+
borderRadius,
|
|
206
|
+
overflow: "hidden",
|
|
207
|
+
alignSelf: children ? "flex-start" : void 0,
|
|
208
|
+
...style
|
|
209
|
+
};
|
|
210
|
+
const handleLayout = (event) => {
|
|
211
|
+
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
212
|
+
setContainerWidth(layoutWidth);
|
|
213
|
+
};
|
|
214
|
+
if (children) {
|
|
215
|
+
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(
|
|
216
|
+
import_react_native2.Animated.View,
|
|
217
|
+
{
|
|
218
|
+
style: [
|
|
219
|
+
{
|
|
220
|
+
position: "absolute",
|
|
221
|
+
top: 0,
|
|
222
|
+
left: 0,
|
|
223
|
+
width: containerWidth * 0.7,
|
|
224
|
+
height: "100%",
|
|
225
|
+
backgroundColor: shimmerColor,
|
|
226
|
+
opacity,
|
|
227
|
+
transform: [{ translateX }]
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
}
|
|
231
|
+
));
|
|
232
|
+
}
|
|
233
|
+
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(
|
|
234
|
+
import_react_native2.Animated.View,
|
|
235
|
+
{
|
|
236
|
+
style: [
|
|
237
|
+
{
|
|
238
|
+
width: containerWidth * 0.7,
|
|
239
|
+
height: "100%",
|
|
240
|
+
backgroundColor: shimmerColor,
|
|
241
|
+
opacity,
|
|
242
|
+
transform: [{ translateX }]
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
));
|
|
247
|
+
};
|
|
248
|
+
var Skeleton_native_default = Skeleton;
|
|
249
|
+
|
|
250
|
+
// components/icon/Icon.native.tsx
|
|
165
251
|
var import_css = require("react-native-svg/css");
|
|
166
|
-
var Icon =
|
|
252
|
+
var Icon = import_react5.default.forwardRef(
|
|
167
253
|
({ size, name, circled, stretched, color, backgroundColor, onClick, align, skeleton, testId, ...others }, ref) => {
|
|
168
254
|
const {
|
|
169
255
|
theme: { icons }
|
|
170
|
-
} = (0,
|
|
171
|
-
const statesContext = (0,
|
|
256
|
+
} = (0, import_react5.useContext)(TrilogyThemeContext);
|
|
257
|
+
const statesContext = (0, import_react5.useContext)(StatesContext);
|
|
172
258
|
const style = {};
|
|
173
259
|
const defaultSize = size === "huge" /* HUGE */ && 66 || size === "large" /* LARGE */ && 44 || size === "medium" /* MEDIUM */ && 30 || size === "small" /* SMALL */ && 20 || size === "smaller" /* SMALLER */ && 16 || 20;
|
|
174
260
|
const iconColor = color && getColorStyle(color) || statesContext.inverted && getColorStyle("WHITE" /* BACKGROUND */) || getColorStyle("MAIN" /* MAIN */);
|
|
175
261
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
176
262
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
177
263
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
178
|
-
const styles =
|
|
264
|
+
const styles = import_react_native3.StyleSheet.create({
|
|
179
265
|
rootView: {
|
|
180
266
|
alignSelf: getAlignStyle(align)
|
|
181
267
|
},
|
|
@@ -218,14 +304,23 @@ var Icon = import_react4.default.forwardRef(
|
|
|
218
304
|
justifyContent: "center"
|
|
219
305
|
}
|
|
220
306
|
});
|
|
221
|
-
const IconSkeleton = () => /* @__PURE__ */
|
|
307
|
+
const IconSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
308
|
+
Skeleton_native_default,
|
|
309
|
+
{
|
|
310
|
+
style: styles.skeleton,
|
|
311
|
+
width: circledWidth,
|
|
312
|
+
height: circledWidth,
|
|
313
|
+
borderRadius: iconSkeletonRadius,
|
|
314
|
+
testID: "skeleton-id"
|
|
315
|
+
}
|
|
316
|
+
);
|
|
222
317
|
if (skeleton) {
|
|
223
|
-
return /* @__PURE__ */
|
|
318
|
+
return /* @__PURE__ */ import_react5.default.createElement(IconSkeleton, null);
|
|
224
319
|
}
|
|
225
|
-
let iconView = /* @__PURE__ */
|
|
320
|
+
let iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, null);
|
|
226
321
|
if (name && icons) {
|
|
227
322
|
if (stretched && !circled) {
|
|
228
|
-
iconView = /* @__PURE__ */
|
|
323
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
229
324
|
import_css.WithLocalSvg,
|
|
230
325
|
{
|
|
231
326
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -236,7 +331,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
236
331
|
}
|
|
237
332
|
));
|
|
238
333
|
} else if (circled) {
|
|
239
|
-
iconView = /* @__PURE__ */
|
|
334
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
240
335
|
import_css.WithLocalSvg,
|
|
241
336
|
{
|
|
242
337
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -247,7 +342,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
247
342
|
}
|
|
248
343
|
));
|
|
249
344
|
} else {
|
|
250
|
-
iconView = /* @__PURE__ */
|
|
345
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react5.default.createElement(
|
|
251
346
|
import_css.WithLocalSvg,
|
|
252
347
|
{
|
|
253
348
|
style: [styles.icon, style],
|
|
@@ -259,8 +354,8 @@ var Icon = import_react4.default.forwardRef(
|
|
|
259
354
|
));
|
|
260
355
|
}
|
|
261
356
|
}
|
|
262
|
-
return onClick ? /* @__PURE__ */
|
|
263
|
-
|
|
357
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react5.default.createElement(
|
|
358
|
+
import_react_native3.TouchableOpacity,
|
|
264
359
|
{
|
|
265
360
|
style: { width: "100%" },
|
|
266
361
|
onPress: onClick,
|
|
@@ -268,7 +363,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
268
363
|
testID: `${testId}-pressable`
|
|
269
364
|
},
|
|
270
365
|
iconView
|
|
271
|
-
)) : /* @__PURE__ */
|
|
366
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
272
367
|
}
|
|
273
368
|
);
|
|
274
369
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -283,12 +378,12 @@ var STATUS_COLORS = {
|
|
|
283
378
|
};
|
|
284
379
|
|
|
285
380
|
// objects/Typography/TypographyBold/index.native.tsx
|
|
286
|
-
var
|
|
381
|
+
var import_react6 = require("react");
|
|
287
382
|
|
|
288
383
|
// components/view/View.native.tsx
|
|
289
|
-
var
|
|
290
|
-
var
|
|
291
|
-
var
|
|
384
|
+
var React4 = __toESM(require("react"));
|
|
385
|
+
var import_react_native4 = require("react-native");
|
|
386
|
+
var View3 = React4.forwardRef(({
|
|
292
387
|
children,
|
|
293
388
|
style,
|
|
294
389
|
onClick,
|
|
@@ -303,7 +398,7 @@ var View2 = React3.forwardRef(({
|
|
|
303
398
|
...others
|
|
304
399
|
}, ref) => {
|
|
305
400
|
const viewColor = backgroundColor && getColorStyle(backgroundColor) || "transparent";
|
|
306
|
-
const styles =
|
|
401
|
+
const styles = import_react_native4.StyleSheet.create({
|
|
307
402
|
view: {
|
|
308
403
|
flex: flexable ? 1 : 0,
|
|
309
404
|
backgroundColor: viewColor,
|
|
@@ -322,8 +417,8 @@ var View2 = React3.forwardRef(({
|
|
|
322
417
|
height: "auto"
|
|
323
418
|
}
|
|
324
419
|
});
|
|
325
|
-
let returnView = /* @__PURE__ */
|
|
326
|
-
|
|
420
|
+
let returnView = /* @__PURE__ */ React4.createElement(
|
|
421
|
+
import_react_native4.View,
|
|
327
422
|
{
|
|
328
423
|
ref,
|
|
329
424
|
testID: id,
|
|
@@ -334,8 +429,8 @@ var View2 = React3.forwardRef(({
|
|
|
334
429
|
children
|
|
335
430
|
);
|
|
336
431
|
if (!children) {
|
|
337
|
-
returnView = /* @__PURE__ */
|
|
338
|
-
|
|
432
|
+
returnView = /* @__PURE__ */ React4.createElement(
|
|
433
|
+
import_react_native4.View,
|
|
339
434
|
{
|
|
340
435
|
ref,
|
|
341
436
|
testID: id,
|
|
@@ -346,8 +441,8 @@ var View2 = React3.forwardRef(({
|
|
|
346
441
|
);
|
|
347
442
|
}
|
|
348
443
|
if (onClick) {
|
|
349
|
-
returnView = /* @__PURE__ */
|
|
350
|
-
|
|
444
|
+
returnView = /* @__PURE__ */ React4.createElement(
|
|
445
|
+
import_react_native4.View,
|
|
351
446
|
{
|
|
352
447
|
ref,
|
|
353
448
|
testID: id,
|
|
@@ -355,11 +450,11 @@ var View2 = React3.forwardRef(({
|
|
|
355
450
|
style: [styles.view, bottom && styles.bottom, style],
|
|
356
451
|
...others
|
|
357
452
|
},
|
|
358
|
-
/* @__PURE__ */
|
|
453
|
+
/* @__PURE__ */ React4.createElement(import_react_native4.TouchableOpacity, { activeOpacity: 1, onPress: onClick }, children)
|
|
359
454
|
);
|
|
360
455
|
}
|
|
361
|
-
return backgroundSrc ? /* @__PURE__ */
|
|
362
|
-
|
|
456
|
+
return backgroundSrc ? /* @__PURE__ */ React4.createElement(
|
|
457
|
+
import_react_native4.ImageBackground,
|
|
363
458
|
{
|
|
364
459
|
style: styles.sectionImage,
|
|
365
460
|
source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }
|
|
@@ -367,8 +462,8 @@ var View2 = React3.forwardRef(({
|
|
|
367
462
|
returnView
|
|
368
463
|
) : returnView;
|
|
369
464
|
});
|
|
370
|
-
|
|
371
|
-
var View_native_default =
|
|
465
|
+
View3.displayName = "View" /* View */;
|
|
466
|
+
var View_native_default = View3;
|
|
372
467
|
|
|
373
468
|
// components/view/ViewEnum.ts
|
|
374
469
|
var ViewColor = /* @__PURE__ */ ((ViewColor2) => {
|