@trilogy-ds/react 0.0.20-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-LJ4LZ3UC.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-7ZANYDV4.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.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
|
@@ -145,23 +145,109 @@ var StatesContext = (0, import_react3.createContext)({
|
|
|
145
145
|
});
|
|
146
146
|
|
|
147
147
|
// components/icon/Icon.native.tsx
|
|
148
|
+
var import_react5 = __toESM(require("react"));
|
|
149
|
+
var import_react_native3 = require("react-native");
|
|
150
|
+
|
|
151
|
+
// components/skeleton/Skeleton.native.tsx
|
|
148
152
|
var import_react4 = __toESM(require("react"));
|
|
149
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
150
153
|
var import_react_native2 = require("react-native");
|
|
154
|
+
var Skeleton = ({
|
|
155
|
+
style,
|
|
156
|
+
width = "100%",
|
|
157
|
+
height = 20,
|
|
158
|
+
backgroundColor = "#E1E9EE",
|
|
159
|
+
shimmerColor = "#F7F8F8",
|
|
160
|
+
duration = 1200,
|
|
161
|
+
borderRadius = 4,
|
|
162
|
+
children,
|
|
163
|
+
testID
|
|
164
|
+
}) => {
|
|
165
|
+
const shimmerValue = (0, import_react4.useRef)(new import_react_native2.Animated.Value(0)).current;
|
|
166
|
+
const [containerWidth, setContainerWidth] = import_react4.default.useState(200);
|
|
167
|
+
(0, import_react4.useEffect)(() => {
|
|
168
|
+
const shimmerAnimation = import_react_native2.Animated.loop(
|
|
169
|
+
import_react_native2.Animated.timing(shimmerValue, {
|
|
170
|
+
toValue: 1,
|
|
171
|
+
duration,
|
|
172
|
+
useNativeDriver: true
|
|
173
|
+
}),
|
|
174
|
+
{ iterations: -1 }
|
|
175
|
+
);
|
|
176
|
+
shimmerAnimation.start();
|
|
177
|
+
return () => shimmerAnimation.stop();
|
|
178
|
+
}, [shimmerValue, duration]);
|
|
179
|
+
const translateX = shimmerValue.interpolate({
|
|
180
|
+
inputRange: [0, 1],
|
|
181
|
+
outputRange: [-containerWidth, containerWidth]
|
|
182
|
+
});
|
|
183
|
+
const opacity = shimmerValue.interpolate({
|
|
184
|
+
inputRange: [0, 0.5, 1],
|
|
185
|
+
outputRange: [0.3, 0.8, 0.3]
|
|
186
|
+
});
|
|
187
|
+
const containerStyle = {
|
|
188
|
+
width: children ? void 0 : width,
|
|
189
|
+
height: children ? void 0 : height,
|
|
190
|
+
backgroundColor,
|
|
191
|
+
borderRadius,
|
|
192
|
+
overflow: "hidden",
|
|
193
|
+
alignSelf: children ? "flex-start" : void 0,
|
|
194
|
+
...style
|
|
195
|
+
};
|
|
196
|
+
const handleLayout = (event) => {
|
|
197
|
+
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
198
|
+
setContainerWidth(layoutWidth);
|
|
199
|
+
};
|
|
200
|
+
if (children) {
|
|
201
|
+
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(
|
|
202
|
+
import_react_native2.Animated.View,
|
|
203
|
+
{
|
|
204
|
+
style: [
|
|
205
|
+
{
|
|
206
|
+
position: "absolute",
|
|
207
|
+
top: 0,
|
|
208
|
+
left: 0,
|
|
209
|
+
width: containerWidth * 0.7,
|
|
210
|
+
height: "100%",
|
|
211
|
+
backgroundColor: shimmerColor,
|
|
212
|
+
opacity,
|
|
213
|
+
transform: [{ translateX }]
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
));
|
|
218
|
+
}
|
|
219
|
+
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(
|
|
220
|
+
import_react_native2.Animated.View,
|
|
221
|
+
{
|
|
222
|
+
style: [
|
|
223
|
+
{
|
|
224
|
+
width: containerWidth * 0.7,
|
|
225
|
+
height: "100%",
|
|
226
|
+
backgroundColor: shimmerColor,
|
|
227
|
+
opacity,
|
|
228
|
+
transform: [{ translateX }]
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
));
|
|
233
|
+
};
|
|
234
|
+
var Skeleton_native_default = Skeleton;
|
|
235
|
+
|
|
236
|
+
// components/icon/Icon.native.tsx
|
|
151
237
|
var import_css = require("react-native-svg/css");
|
|
152
|
-
var Icon =
|
|
238
|
+
var Icon = import_react5.default.forwardRef(
|
|
153
239
|
({ size, name, circled, stretched, color, backgroundColor, onClick, align, skeleton, testId, ...others }, ref) => {
|
|
154
240
|
const {
|
|
155
241
|
theme: { icons }
|
|
156
|
-
} = (0,
|
|
157
|
-
const statesContext = (0,
|
|
242
|
+
} = (0, import_react5.useContext)(TrilogyThemeContext);
|
|
243
|
+
const statesContext = (0, import_react5.useContext)(StatesContext);
|
|
158
244
|
const style = {};
|
|
159
245
|
const defaultSize = size === "huge" /* HUGE */ && 66 || size === "large" /* LARGE */ && 44 || size === "medium" /* MEDIUM */ && 30 || size === "small" /* SMALL */ && 20 || size === "smaller" /* SMALLER */ && 16 || 20;
|
|
160
246
|
const iconColor = color && getColorStyle(color) || statesContext.inverted && getColorStyle("WHITE" /* BACKGROUND */) || getColorStyle("MAIN" /* MAIN */);
|
|
161
247
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
162
248
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
163
249
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
164
|
-
const styles3 =
|
|
250
|
+
const styles3 = import_react_native3.StyleSheet.create({
|
|
165
251
|
rootView: {
|
|
166
252
|
alignSelf: getAlignStyle(align)
|
|
167
253
|
},
|
|
@@ -204,14 +290,23 @@ var Icon = import_react4.default.forwardRef(
|
|
|
204
290
|
justifyContent: "center"
|
|
205
291
|
}
|
|
206
292
|
});
|
|
207
|
-
const IconSkeleton = () => /* @__PURE__ */
|
|
293
|
+
const IconSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
294
|
+
Skeleton_native_default,
|
|
295
|
+
{
|
|
296
|
+
style: styles3.skeleton,
|
|
297
|
+
width: circledWidth,
|
|
298
|
+
height: circledWidth,
|
|
299
|
+
borderRadius: iconSkeletonRadius,
|
|
300
|
+
testID: "skeleton-id"
|
|
301
|
+
}
|
|
302
|
+
);
|
|
208
303
|
if (skeleton) {
|
|
209
|
-
return /* @__PURE__ */
|
|
304
|
+
return /* @__PURE__ */ import_react5.default.createElement(IconSkeleton, null);
|
|
210
305
|
}
|
|
211
|
-
let iconView = /* @__PURE__ */
|
|
306
|
+
let iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, null);
|
|
212
307
|
if (name && icons) {
|
|
213
308
|
if (stretched && !circled) {
|
|
214
|
-
iconView = /* @__PURE__ */
|
|
309
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles3.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
215
310
|
import_css.WithLocalSvg,
|
|
216
311
|
{
|
|
217
312
|
style: [styles3.iconCircled, styles3.icon],
|
|
@@ -222,7 +317,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
222
317
|
}
|
|
223
318
|
));
|
|
224
319
|
} else if (circled) {
|
|
225
|
-
iconView = /* @__PURE__ */
|
|
320
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles3.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
226
321
|
import_css.WithLocalSvg,
|
|
227
322
|
{
|
|
228
323
|
style: [styles3.iconCircled, styles3.icon],
|
|
@@ -233,7 +328,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
233
328
|
}
|
|
234
329
|
));
|
|
235
330
|
} else {
|
|
236
|
-
iconView = /* @__PURE__ */
|
|
331
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles3.iconContainer, ...others }, /* @__PURE__ */ import_react5.default.createElement(
|
|
237
332
|
import_css.WithLocalSvg,
|
|
238
333
|
{
|
|
239
334
|
style: [styles3.icon, style],
|
|
@@ -245,8 +340,8 @@ var Icon = import_react4.default.forwardRef(
|
|
|
245
340
|
));
|
|
246
341
|
}
|
|
247
342
|
}
|
|
248
|
-
return onClick ? /* @__PURE__ */
|
|
249
|
-
|
|
343
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles3.rootView, testID: testId, ref }, /* @__PURE__ */ import_react5.default.createElement(
|
|
344
|
+
import_react_native3.TouchableOpacity,
|
|
250
345
|
{
|
|
251
346
|
style: { width: "100%" },
|
|
252
347
|
onPress: onClick,
|
|
@@ -254,7 +349,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
254
349
|
testID: `${testId}-pressable`
|
|
255
350
|
},
|
|
256
351
|
iconView
|
|
257
|
-
)) : /* @__PURE__ */
|
|
352
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles3.rootView, testID: testId, ref }, iconView);
|
|
258
353
|
}
|
|
259
354
|
);
|
|
260
355
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -275,10 +370,10 @@ var setTypographyAlign = (typo = "left") => {
|
|
|
275
370
|
};
|
|
276
371
|
|
|
277
372
|
// objects/Typography/TypographyBold/index.native.tsx
|
|
278
|
-
var
|
|
373
|
+
var import_react6 = require("react");
|
|
279
374
|
var getTypographyBoldStyle = (typo) => {
|
|
280
375
|
var _a, _b, _c, _d;
|
|
281
|
-
const { theme } = (0,
|
|
376
|
+
const { theme } = (0, import_react6.useContext)(TrilogyThemeContext);
|
|
282
377
|
const currentTypo = Array.isArray(typo) ? typo : [typo];
|
|
283
378
|
switch (true) {
|
|
284
379
|
case (typo && currentTypo.includes("has-text-weight-medium" /* TEXT_WEIGHT_MEDIUM */)):
|
|
@@ -298,27 +393,27 @@ var setTypographyColor = (typo = "", inverted = false, loading = false) => {
|
|
|
298
393
|
};
|
|
299
394
|
|
|
300
395
|
// components/modal/Modal.native.tsx
|
|
301
|
-
var
|
|
302
|
-
var
|
|
396
|
+
var import_react12 = __toESM(require("react"));
|
|
397
|
+
var import_react_native7 = require("react-native");
|
|
303
398
|
var import_react_native_modal = __toESM(require("react-native-modal"));
|
|
304
399
|
|
|
305
400
|
// components/columns/ColumnsTypes.ts
|
|
306
401
|
var ColumnsGapValue = [0, 4, 8, 12, 16, 24, 32, 40, 48, 54, 62];
|
|
307
402
|
|
|
308
403
|
// components/columns/context/index.tsx
|
|
309
|
-
var
|
|
404
|
+
var import_react7 = __toESM(require("react"));
|
|
310
405
|
var defaultContextValue2 = {
|
|
311
406
|
scrollable: false,
|
|
312
407
|
width: 0,
|
|
313
408
|
realGap: 16,
|
|
314
409
|
childrensLength: 1
|
|
315
410
|
};
|
|
316
|
-
var ColumnsContext =
|
|
411
|
+
var ColumnsContext = import_react7.default.createContext(defaultContextValue2);
|
|
317
412
|
|
|
318
413
|
// components/columns/Columns.native.tsx
|
|
319
|
-
var
|
|
320
|
-
var
|
|
321
|
-
var staticStyles =
|
|
414
|
+
var import_react8 = __toESM(require("react"));
|
|
415
|
+
var import_react_native4 = require("react-native");
|
|
416
|
+
var staticStyles = import_react_native4.StyleSheet.create({
|
|
322
417
|
centered: {
|
|
323
418
|
justifyContent: "center"
|
|
324
419
|
},
|
|
@@ -329,24 +424,24 @@ var staticStyles = import_react_native3.StyleSheet.create({
|
|
|
329
424
|
flexDirection: "column"
|
|
330
425
|
}
|
|
331
426
|
});
|
|
332
|
-
var Columns =
|
|
427
|
+
var Columns = import_react8.default.forwardRef(
|
|
333
428
|
({ children, align, gap, verticalAlign, fullBleed, scrollable, multiline, fullheight, ...others }, ref) => {
|
|
334
|
-
const [width, setWidth] = (0,
|
|
335
|
-
const [enlarge, setEnlarge] = (0,
|
|
336
|
-
const onLayoutHandler =
|
|
429
|
+
const [width, setWidth] = (0, import_react8.useState)(0);
|
|
430
|
+
const [enlarge, setEnlarge] = (0, import_react8.useState)(0);
|
|
431
|
+
const onLayoutHandler = import_react8.default.useCallback(
|
|
337
432
|
(event) => {
|
|
338
433
|
if (!width) {
|
|
339
434
|
const { width: width2 } = event.nativeEvent.layout;
|
|
340
435
|
if (fullBleed) {
|
|
341
|
-
setEnlarge((
|
|
436
|
+
setEnlarge((import_react_native4.Dimensions.get("screen").width - width2) / 2);
|
|
342
437
|
}
|
|
343
438
|
setWidth(width2);
|
|
344
439
|
}
|
|
345
440
|
},
|
|
346
441
|
[fullBleed, width]
|
|
347
442
|
);
|
|
348
|
-
const realGap =
|
|
349
|
-
const dynamicStyles =
|
|
443
|
+
const realGap = import_react8.default.useMemo(() => typeof gap === "undefined" && 16 || ColumnsGapValue[gap], [gap]);
|
|
444
|
+
const dynamicStyles = import_react8.default.useMemo(
|
|
350
445
|
() => ({
|
|
351
446
|
columns: {
|
|
352
447
|
width: fullBleed && width ? width + enlarge * 2 : "100%",
|
|
@@ -366,17 +461,17 @@ var Columns = import_react7.default.forwardRef(
|
|
|
366
461
|
}),
|
|
367
462
|
[fullBleed, width, enlarge, realGap, fullheight, verticalAlign]
|
|
368
463
|
);
|
|
369
|
-
const contextValue =
|
|
464
|
+
const contextValue = import_react8.default.useMemo(
|
|
370
465
|
() => ({
|
|
371
466
|
width,
|
|
372
467
|
realGap,
|
|
373
468
|
scrollable: scrollable || false,
|
|
374
|
-
childrensLength:
|
|
469
|
+
childrensLength: import_react8.default.Children.count(children)
|
|
375
470
|
}),
|
|
376
471
|
[width, realGap, scrollable, children]
|
|
377
472
|
);
|
|
378
|
-
return /* @__PURE__ */
|
|
379
|
-
|
|
473
|
+
return /* @__PURE__ */ import_react8.default.createElement(ColumnsContext.Provider, { value: contextValue }, !scrollable && /* @__PURE__ */ import_react8.default.createElement(
|
|
474
|
+
import_react_native4.View,
|
|
380
475
|
{
|
|
381
476
|
ref,
|
|
382
477
|
onLayout: onLayoutHandler,
|
|
@@ -389,16 +484,16 @@ var Columns = import_react7.default.forwardRef(
|
|
|
389
484
|
...others
|
|
390
485
|
},
|
|
391
486
|
children
|
|
392
|
-
), scrollable && /* @__PURE__ */
|
|
393
|
-
|
|
487
|
+
), scrollable && /* @__PURE__ */ import_react8.default.createElement(
|
|
488
|
+
import_react_native4.View,
|
|
394
489
|
{
|
|
395
490
|
onLayout: onLayoutHandler,
|
|
396
491
|
style: {
|
|
397
492
|
marginHorizontal: -enlarge
|
|
398
493
|
}
|
|
399
494
|
},
|
|
400
|
-
/* @__PURE__ */
|
|
401
|
-
|
|
495
|
+
/* @__PURE__ */ import_react8.default.createElement(
|
|
496
|
+
import_react_native4.ScrollView,
|
|
402
497
|
{
|
|
403
498
|
horizontal: true,
|
|
404
499
|
contentContainerStyle: dynamicStyles.scrollContainer,
|
|
@@ -413,23 +508,23 @@ Columns.displayName = "Columns" /* Columns */;
|
|
|
413
508
|
var Columns_native_default = Columns;
|
|
414
509
|
|
|
415
510
|
// components/columns/column/Column.native.tsx
|
|
416
|
-
var
|
|
417
|
-
var
|
|
418
|
-
var Column =
|
|
419
|
-
|
|
511
|
+
var import_react9 = __toESM(require("react"));
|
|
512
|
+
var import_react_native5 = require("react-native");
|
|
513
|
+
var Column = import_react9.default.memo(
|
|
514
|
+
import_react9.default.forwardRef(
|
|
420
515
|
({ children, narrow, size, verticalAlign, ...others }, ref) => {
|
|
421
|
-
const { width, realGap, scrollable, childrensLength } =
|
|
422
|
-
const calculatedWidth =
|
|
516
|
+
const { width, realGap, scrollable, childrensLength } = import_react9.default.useContext(ColumnsContext);
|
|
517
|
+
const calculatedWidth = import_react9.default.useMemo(
|
|
423
518
|
() => size ? size / 12 * width - realGap * ((childrensLength - 1) / childrensLength) : null,
|
|
424
519
|
[size, width, realGap, childrensLength]
|
|
425
520
|
);
|
|
426
|
-
const scrollableStyle =
|
|
521
|
+
const scrollableStyle = import_react9.default.useMemo(
|
|
427
522
|
() => ({
|
|
428
523
|
width: calculatedWidth || (narrow ? "auto" : width - 2 * realGap)
|
|
429
524
|
}),
|
|
430
525
|
[calculatedWidth, narrow, width, realGap]
|
|
431
526
|
);
|
|
432
|
-
const noScrollableStyle =
|
|
527
|
+
const noScrollableStyle = import_react9.default.useMemo(
|
|
433
528
|
() => ({
|
|
434
529
|
flex: narrow ? 0 : 1,
|
|
435
530
|
flexGrow: size || narrow ? 0 : 1,
|
|
@@ -438,14 +533,14 @@ var Column = import_react8.default.memo(
|
|
|
438
533
|
}),
|
|
439
534
|
[narrow, size, calculatedWidth]
|
|
440
535
|
);
|
|
441
|
-
const justifyContentStyle =
|
|
536
|
+
const justifyContentStyle = import_react9.default.useMemo(
|
|
442
537
|
() => ({
|
|
443
538
|
justifyContent: getAlignStyle(verticalAlign)
|
|
444
539
|
}),
|
|
445
540
|
[verticalAlign]
|
|
446
541
|
);
|
|
447
|
-
return /* @__PURE__ */
|
|
448
|
-
|
|
542
|
+
return /* @__PURE__ */ import_react9.default.createElement(
|
|
543
|
+
import_react_native5.View,
|
|
449
544
|
{
|
|
450
545
|
ref,
|
|
451
546
|
style: [scrollable && scrollableStyle, !scrollable && noScrollableStyle, justifyContentStyle],
|
|
@@ -460,11 +555,10 @@ Column.displayName = "Column" /* Column */;
|
|
|
460
555
|
var Column_native_default = Column;
|
|
461
556
|
|
|
462
557
|
// components/title/Title.native.tsx
|
|
463
|
-
var
|
|
464
|
-
var
|
|
465
|
-
var
|
|
466
|
-
var
|
|
467
|
-
var Title = React6.forwardRef(({
|
|
558
|
+
var React7 = __toESM(require("react"));
|
|
559
|
+
var import_react10 = require("react");
|
|
560
|
+
var import_react_native6 = require("react-native");
|
|
561
|
+
var Title = React7.forwardRef(({
|
|
468
562
|
children,
|
|
469
563
|
level,
|
|
470
564
|
style,
|
|
@@ -477,7 +571,7 @@ var Title = React6.forwardRef(({
|
|
|
477
571
|
overline,
|
|
478
572
|
...others
|
|
479
573
|
}, ref) => {
|
|
480
|
-
const statesContext = (0,
|
|
574
|
+
const statesContext = (0, import_react10.useContext)(StatesContext);
|
|
481
575
|
const color = setTypographyColor(typo, inverted || statesContext.inverted, skeleton);
|
|
482
576
|
const colorOverline = getColorStyle("MAIN" /* MAIN */);
|
|
483
577
|
const fontFamily = level && [1 /* ONE */, 2 /* TWO */].includes(level) ? "has-text-weight-bold" /* TEXT_WEIGHT_BOLD */ : "has-text-weight-semibold" /* TEXT_WEIGHT_SEMIBOLD */;
|
|
@@ -511,7 +605,7 @@ var Title = React6.forwardRef(({
|
|
|
511
605
|
return "flex-start";
|
|
512
606
|
}
|
|
513
607
|
};
|
|
514
|
-
const styles3 =
|
|
608
|
+
const styles3 = import_react_native6.StyleSheet.create({
|
|
515
609
|
text: {
|
|
516
610
|
fontFamily: getTypographyBoldStyle(fontFamily),
|
|
517
611
|
fontSize: titlesLevels(),
|
|
@@ -531,8 +625,8 @@ var Title = React6.forwardRef(({
|
|
|
531
625
|
}
|
|
532
626
|
});
|
|
533
627
|
const titleAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
534
|
-
let titleView = /* @__PURE__ */
|
|
535
|
-
|
|
628
|
+
let titleView = /* @__PURE__ */ React7.createElement(
|
|
629
|
+
import_react_native6.Text,
|
|
536
630
|
{
|
|
537
631
|
ref,
|
|
538
632
|
maxFontSizeMultiplier: 1.3,
|
|
@@ -544,16 +638,24 @@ var Title = React6.forwardRef(({
|
|
|
544
638
|
children
|
|
545
639
|
);
|
|
546
640
|
if (skeleton) {
|
|
547
|
-
titleView = /* @__PURE__ */
|
|
641
|
+
titleView = /* @__PURE__ */ React7.createElement(
|
|
642
|
+
Skeleton_native_default,
|
|
643
|
+
{
|
|
644
|
+
style: styles3.skeleton,
|
|
645
|
+
height: titlesLevels(),
|
|
646
|
+
borderRadius: 5
|
|
647
|
+
},
|
|
648
|
+
titleView
|
|
649
|
+
);
|
|
548
650
|
}
|
|
549
|
-
return onClick ? /* @__PURE__ */
|
|
651
|
+
return onClick ? /* @__PURE__ */ React7.createElement(import_react_native6.TouchableOpacity, { onPress: onClick, activeOpacity: 0.85 }, titleView) : titleView;
|
|
550
652
|
});
|
|
551
653
|
Title.displayName = "Title" /* Title */;
|
|
552
654
|
var Title_native_default = Title;
|
|
553
655
|
|
|
554
656
|
// components/modal/context/ModalContext.tsx
|
|
555
|
-
var
|
|
556
|
-
var ModalContext =
|
|
657
|
+
var import_react11 = __toESM(require("react"));
|
|
658
|
+
var ModalContext = import_react11.default.createContext({
|
|
557
659
|
scrollViewRef: null,
|
|
558
660
|
handleOnScroll: () => null,
|
|
559
661
|
isFooter: false,
|
|
@@ -561,7 +663,7 @@ var ModalContext = import_react10.default.createContext({
|
|
|
561
663
|
});
|
|
562
664
|
|
|
563
665
|
// components/modal/Modal.native.tsx
|
|
564
|
-
var Modal =
|
|
666
|
+
var Modal = import_react12.default.forwardRef(
|
|
565
667
|
({
|
|
566
668
|
children,
|
|
567
669
|
active = false,
|
|
@@ -573,10 +675,10 @@ var Modal = import_react11.default.forwardRef(
|
|
|
573
675
|
title,
|
|
574
676
|
...others
|
|
575
677
|
}, ref) => {
|
|
576
|
-
const scrollViewRef = (0,
|
|
577
|
-
const [scrollOffset, setScrollOffset] = (0,
|
|
578
|
-
const [visible, setVisible] = (0,
|
|
579
|
-
const [isFooter, setIsFooter] = (0,
|
|
678
|
+
const scrollViewRef = (0, import_react12.useRef)(null);
|
|
679
|
+
const [scrollOffset, setScrollOffset] = (0, import_react12.useState)(0);
|
|
680
|
+
const [visible, setVisible] = (0, import_react12.useState)(active || false);
|
|
681
|
+
const [isFooter, setIsFooter] = (0, import_react12.useState)(active || false);
|
|
580
682
|
const handleOnScroll = (event) => {
|
|
581
683
|
setScrollOffset(event.nativeEvent.contentOffset.y);
|
|
582
684
|
};
|
|
@@ -587,10 +689,10 @@ var Modal = import_react11.default.forwardRef(
|
|
|
587
689
|
if (onClose) onClose(e);
|
|
588
690
|
setVisible(false);
|
|
589
691
|
};
|
|
590
|
-
(0,
|
|
692
|
+
(0, import_react12.useEffect)(() => {
|
|
591
693
|
setVisible(active);
|
|
592
694
|
}, [active]);
|
|
593
|
-
return /* @__PURE__ */
|
|
695
|
+
return /* @__PURE__ */ import_react12.default.createElement(ModalContext.Provider, { value: { scrollViewRef, handleOnScroll, isFooter, setIsFooter } }, trigger, /* @__PURE__ */ import_react12.default.createElement(
|
|
594
696
|
import_react_native_modal.default,
|
|
595
697
|
{
|
|
596
698
|
isVisible: visible,
|
|
@@ -605,20 +707,20 @@ var Modal = import_react11.default.forwardRef(
|
|
|
605
707
|
onModalHide,
|
|
606
708
|
...others
|
|
607
709
|
},
|
|
608
|
-
/* @__PURE__ */
|
|
710
|
+
/* @__PURE__ */ import_react12.default.createElement(import_react_native7.View, { ref, style: [styles.body, { backgroundColor: getColorStyle("WHITE" /* BACKGROUND */) }] }, /* @__PURE__ */ import_react12.default.createElement(import_react_native7.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_native7.TouchableOpacity, { onPress: handleClose }, /* @__PURE__ */ import_react12.default.createElement(Icon_native_default, { name: "tri-times" /* TIMES */, size: "medium" /* MEDIUM */, color: "MAIN" /* MAIN */ }))))), children)
|
|
609
711
|
));
|
|
610
712
|
}
|
|
611
713
|
);
|
|
612
714
|
Modal.displayName = "Modal" /* Modal */;
|
|
613
715
|
var Modal_native_default = Modal;
|
|
614
|
-
var styles =
|
|
716
|
+
var styles = import_react_native7.StyleSheet.create({
|
|
615
717
|
modal: {
|
|
616
718
|
justifyContent: "flex-end",
|
|
617
719
|
margin: 0
|
|
618
720
|
},
|
|
619
721
|
body: {
|
|
620
722
|
paddingHorizontal: 16,
|
|
621
|
-
maxHeight: isAndroid ?
|
|
723
|
+
maxHeight: isAndroid ? import_react_native7.Dimensions.get("screen").height / 1.15 : import_react_native7.Dimensions.get("screen").height / 1.1,
|
|
622
724
|
shadowColor: "#000",
|
|
623
725
|
shadowOffset: {
|
|
624
726
|
width: 0,
|
|
@@ -633,20 +735,20 @@ var styles = import_react_native6.StyleSheet.create({
|
|
|
633
735
|
});
|
|
634
736
|
|
|
635
737
|
// components/modal/body/ModalBody.native.tsx
|
|
636
|
-
var
|
|
637
|
-
var
|
|
638
|
-
var ModalBody =
|
|
639
|
-
const { handleOnScroll, scrollViewRef, isFooter } =
|
|
640
|
-
return /* @__PURE__ */
|
|
641
|
-
|
|
738
|
+
var React10 = __toESM(require("react"));
|
|
739
|
+
var import_react_native8 = require("react-native");
|
|
740
|
+
var ModalBody = React10.forwardRef(({ children, ...others }, ref) => {
|
|
741
|
+
const { handleOnScroll, scrollViewRef, isFooter } = React10.useContext(ModalContext);
|
|
742
|
+
return /* @__PURE__ */ React10.createElement(
|
|
743
|
+
import_react_native8.ScrollView,
|
|
642
744
|
{
|
|
643
745
|
ref: scrollViewRef,
|
|
644
746
|
scrollEventThrottle: 16,
|
|
645
747
|
onScroll: handleOnScroll,
|
|
646
748
|
showsVerticalScrollIndicator: false
|
|
647
749
|
},
|
|
648
|
-
/* @__PURE__ */
|
|
649
|
-
|
|
750
|
+
/* @__PURE__ */ React10.createElement(
|
|
751
|
+
import_react_native8.View,
|
|
650
752
|
{
|
|
651
753
|
ref,
|
|
652
754
|
style: [
|
|
@@ -666,21 +768,21 @@ ModalBody.displayName = "ModalBody" /* ModalBody */;
|
|
|
666
768
|
var ModalBody_native_default = ModalBody;
|
|
667
769
|
|
|
668
770
|
// components/modal/footer/ModalFooter.native.tsx
|
|
669
|
-
var
|
|
670
|
-
var
|
|
671
|
-
var ModalFooter =
|
|
672
|
-
const { setIsFooter } =
|
|
673
|
-
|
|
771
|
+
var React11 = __toESM(require("react"));
|
|
772
|
+
var import_react_native9 = require("react-native");
|
|
773
|
+
var ModalFooter = React11.forwardRef(({ children, ...others }, ref) => {
|
|
774
|
+
const { setIsFooter } = React11.useContext(ModalContext);
|
|
775
|
+
React11.useEffect(() => {
|
|
674
776
|
setIsFooter(true);
|
|
675
777
|
return () => {
|
|
676
778
|
setIsFooter(false);
|
|
677
779
|
};
|
|
678
780
|
}, []);
|
|
679
|
-
return /* @__PURE__ */
|
|
781
|
+
return /* @__PURE__ */ React11.createElement(import_react_native9.View, { ref, style: [styles2.container], ...others }, /* @__PURE__ */ React11.createElement(import_react_native9.View, { style: [{ backgroundColor: getColorStyle("WHITE" /* BACKGROUND */) }] }, typeof children === "string" && /* @__PURE__ */ React11.createElement(Title_native_default, { level: 3 /* THREE */, style: styles2.title }, children) || children));
|
|
680
782
|
});
|
|
681
783
|
ModalFooter.displayName = "ModalFooter" /* ModalFooter */;
|
|
682
784
|
var ModalFooter_native_default = ModalFooter;
|
|
683
|
-
var styles2 =
|
|
785
|
+
var styles2 = import_react_native9.StyleSheet.create({
|
|
684
786
|
container: {
|
|
685
787
|
paddingBottom: isIOS ? 40 : 18,
|
|
686
788
|
paddingTop: 16
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-ND7E2T3G.mjs";
|
|
3
|
-
import {
|
|
4
|
-
ModalBody_native_default
|
|
5
|
-
} from "../../chunk-K6DW4JHP.mjs";
|
|
6
3
|
import {
|
|
7
4
|
ModalFooter_native_default
|
|
8
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-2LL5O6MQ.mjs";
|
|
9
6
|
import "../../chunk-D3SJKPSF.mjs";
|
|
10
7
|
import "../../chunk-QCCQ2C3J.mjs";
|
|
8
|
+
import {
|
|
9
|
+
ModalBody_native_default
|
|
10
|
+
} from "../../chunk-K6DW4JHP.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Modal_native_default
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-CILK7BCY.mjs";
|
|
14
14
|
import "../../chunk-JLQUIKZX.mjs";
|
|
15
15
|
import "../../chunk-6R3L63DN.mjs";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-EJ56Z27S.mjs";
|
|
17
17
|
import "../../chunk-BPUIBIGG.mjs";
|
|
18
18
|
import "../../chunk-ZNF2AXYR.mjs";
|
|
19
19
|
import "../../chunk-NRTMJLXK.mjs";
|
|
@@ -26,13 +26,13 @@ import "../../chunk-YKUYXBXK.mjs";
|
|
|
26
26
|
import "../../chunk-ZEJDFWMP.mjs";
|
|
27
27
|
import "../../chunk-MB55ARZ7.mjs";
|
|
28
28
|
import "../../chunk-D5HHHZDS.mjs";
|
|
29
|
-
import "../../chunk-3LXODEBD.mjs";
|
|
30
29
|
import "../../chunk-WVL5S3CD.mjs";
|
|
30
|
+
import "../../chunk-3LXODEBD.mjs";
|
|
31
31
|
import "../../chunk-7L5452RP.mjs";
|
|
32
32
|
import "../../chunk-2K2TD7FH.mjs";
|
|
33
|
-
import "../../chunk-
|
|
34
|
-
import "../../chunk-E4YRRUI3.mjs";
|
|
33
|
+
import "../../chunk-NEM7FT22.mjs";
|
|
35
34
|
import "../../chunk-CWIO3GEP.mjs";
|
|
35
|
+
import "../../chunk-E4YRRUI3.mjs";
|
|
36
36
|
import "../../chunk-R6PFY5VS.mjs";
|
|
37
37
|
import {
|
|
38
38
|
ModalCtaMarkup,
|
|
@@ -40,33 +40,36 @@ import {
|
|
|
40
40
|
ModalSize
|
|
41
41
|
} from "../../chunk-G2DVFNXH.mjs";
|
|
42
42
|
import "../../chunk-KUF5FQNN.mjs";
|
|
43
|
-
import "../../chunk-GVBMUMGT.mjs";
|
|
44
43
|
import "../../chunk-MVJ2C4EA.mjs";
|
|
44
|
+
import "../../chunk-GVBMUMGT.mjs";
|
|
45
|
+
import "../../chunk-UZO5VCH2.mjs";
|
|
46
|
+
import "../../chunk-7DJ5V2J7.mjs";
|
|
47
|
+
import "../../chunk-LHDHBH5T.mjs";
|
|
45
48
|
import "../../chunk-RXBVZD3M.mjs";
|
|
49
|
+
import "../../chunk-GP5CJGRF.mjs";
|
|
50
|
+
import "../../chunk-NVH4ZPGW.mjs";
|
|
51
|
+
import "../../chunk-62DJK35E.mjs";
|
|
52
|
+
import "../../chunk-PAEZ47M2.mjs";
|
|
46
53
|
import "../../chunk-A2ASOVUR.mjs";
|
|
47
54
|
import "../../chunk-3XMSRU64.mjs";
|
|
48
55
|
import "../../chunk-L5TMSDJR.mjs";
|
|
49
|
-
import "../../chunk-
|
|
56
|
+
import "../../chunk-SUNBSFL4.mjs";
|
|
50
57
|
import "../../chunk-UTA75ELV.mjs";
|
|
51
58
|
import "../../chunk-L25MU6JT.mjs";
|
|
52
59
|
import "../../chunk-6TNYDJM7.mjs";
|
|
53
60
|
import "../../chunk-HQXKHRER.mjs";
|
|
54
|
-
import "../../chunk-
|
|
55
|
-
import "../../chunk-
|
|
56
|
-
import "../../chunk-PAEZ47M2.mjs";
|
|
61
|
+
import "../../chunk-B6WC6WS2.mjs";
|
|
62
|
+
import "../../chunk-MAX3RSBG.mjs";
|
|
57
63
|
import "../../chunk-FTTU4DJW.mjs";
|
|
58
64
|
import "../../chunk-L7CNF7H6.mjs";
|
|
59
65
|
import "../../chunk-RJO5KKUW.mjs";
|
|
60
66
|
import "../../chunk-R7HI6GOP.mjs";
|
|
61
|
-
import "../../chunk-
|
|
67
|
+
import "../../chunk-G6BHSMLA.mjs";
|
|
68
|
+
import "../../chunk-THOTRBD4.mjs";
|
|
62
69
|
import "../../chunk-XIQL4ZTN.mjs";
|
|
63
70
|
import "../../chunk-UUXUTBLZ.mjs";
|
|
64
71
|
import "../../chunk-QOEJLTZN.mjs";
|
|
65
|
-
import "../../chunk-B6WC6WS2.mjs";
|
|
66
|
-
import "../../chunk-MAX3RSBG.mjs";
|
|
67
72
|
import "../../chunk-6BTWLQPI.mjs";
|
|
68
|
-
import "../../chunk-G6BHSMLA.mjs";
|
|
69
|
-
import "../../chunk-THOTRBD4.mjs";
|
|
70
73
|
import "../../chunk-ATW7ITPH.mjs";
|
|
71
74
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
72
75
|
import "../../chunk-L4UDEKQK.mjs";
|