@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
|
@@ -2,8 +2,30 @@
|
|
|
2
2
|
import "../../chunk-GVFOBKEF.mjs";
|
|
3
3
|
import {
|
|
4
4
|
Calendar_native_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-GJJJLJXB.mjs";
|
|
6
|
+
import "../../chunk-WEGZE5OY.mjs";
|
|
7
|
+
import "../../chunk-OSWW7RO6.mjs";
|
|
8
|
+
import "../../chunk-D5HHHZDS.mjs";
|
|
9
|
+
import "../../chunk-WVL5S3CD.mjs";
|
|
10
|
+
import "../../chunk-3LXODEBD.mjs";
|
|
11
|
+
import "../../chunk-7L5452RP.mjs";
|
|
12
|
+
import "../../chunk-2K2TD7FH.mjs";
|
|
13
|
+
import "../../chunk-NEM7FT22.mjs";
|
|
14
|
+
import "../../chunk-CWIO3GEP.mjs";
|
|
15
|
+
import "../../chunk-E4YRRUI3.mjs";
|
|
16
|
+
import "../../chunk-R6PFY5VS.mjs";
|
|
6
17
|
import "../../chunk-WLYGSJUB.mjs";
|
|
18
|
+
import "../../chunk-P6NVOAAH.mjs";
|
|
19
|
+
import "../../chunk-UZO5VCH2.mjs";
|
|
20
|
+
import "../../chunk-7DJ5V2J7.mjs";
|
|
21
|
+
import "../../chunk-LHDHBH5T.mjs";
|
|
22
|
+
import "../../chunk-ATW7ITPH.mjs";
|
|
23
|
+
import "../../chunk-IGMJNGTZ.mjs";
|
|
24
|
+
import "../../chunk-CD6DMMCL.mjs";
|
|
25
|
+
import "../../chunk-RYABO2EX.mjs";
|
|
26
|
+
import "../../chunk-4ZJQXF2V.mjs";
|
|
27
|
+
import "../../chunk-4UHBBNZ7.mjs";
|
|
28
|
+
import "../../chunk-VDLM4YQP.mjs";
|
|
7
29
|
import "../../chunk-QIPGVLHJ.mjs";
|
|
8
30
|
export {
|
|
9
31
|
Calendar_native_default as Calendar
|
|
@@ -44,34 +44,6 @@ var StatesContext = (0, import_react.createContext)({
|
|
|
44
44
|
flat: false
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
// helpers/device/index.native.ts
|
|
48
|
-
var import_react_native = require("react-native");
|
|
49
|
-
var Device = /* @__PURE__ */ ((Device2) => {
|
|
50
|
-
Device2["Browser"] = "browser";
|
|
51
|
-
Device2["Server"] = "server";
|
|
52
|
-
Device2["Native"] = "native";
|
|
53
|
-
return Device2;
|
|
54
|
-
})(Device || {});
|
|
55
|
-
var { Browser, Server, Native } = Device;
|
|
56
|
-
var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
57
|
-
var canUseNative = typeof navigator != "undefined" && navigator.product == "ReactNative";
|
|
58
|
-
var device = canUseNative ? Native : canUseDOM ? Browser : Server;
|
|
59
|
-
var SSRObjectDefined = {
|
|
60
|
-
isBrowser: device === Browser,
|
|
61
|
-
isServer: device === Server,
|
|
62
|
-
isNative: device === Native,
|
|
63
|
-
device,
|
|
64
|
-
canUseWorkers: typeof Worker !== "undefined",
|
|
65
|
-
canUseEventListeners: device === Browser && !!window.addEventListener,
|
|
66
|
-
canUseViewport: device === Browser && !!window.screen
|
|
67
|
-
};
|
|
68
|
-
var assign = (...args) => Object.assign({}, ...args);
|
|
69
|
-
var values = (obj) => Object.values(obj);
|
|
70
|
-
var toArrayObject = () => assign((values(SSRObjectDefined), SSRObjectDefined));
|
|
71
|
-
var SSRObject = toArrayObject();
|
|
72
|
-
var isAndroid = import_react_native.Platform.OS === "android";
|
|
73
|
-
var isIOS = import_react_native.Platform.OS === "ios";
|
|
74
|
-
|
|
75
47
|
// context/providerTheme/index.native.tsx
|
|
76
48
|
var import_react2 = __toESM(require("react"));
|
|
77
49
|
var defaultIcons = {};
|
|
@@ -127,17 +99,103 @@ var getColorStyle = (trilogyColor) => {
|
|
|
127
99
|
};
|
|
128
100
|
|
|
129
101
|
// components/card/Card.native.tsx
|
|
130
|
-
var
|
|
131
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
102
|
+
var import_react5 = __toESM(require("react"));
|
|
132
103
|
var import_react_native2 = require("react-native");
|
|
133
|
-
|
|
104
|
+
|
|
105
|
+
// components/skeleton/Skeleton.native.tsx
|
|
106
|
+
var import_react4 = __toESM(require("react"));
|
|
107
|
+
var import_react_native = require("react-native");
|
|
108
|
+
var Skeleton = ({
|
|
109
|
+
style,
|
|
110
|
+
width = "100%",
|
|
111
|
+
height = 20,
|
|
112
|
+
backgroundColor = "#E1E9EE",
|
|
113
|
+
shimmerColor = "#F7F8F8",
|
|
114
|
+
duration = 1200,
|
|
115
|
+
borderRadius = 4,
|
|
116
|
+
children,
|
|
117
|
+
testID
|
|
118
|
+
}) => {
|
|
119
|
+
const shimmerValue = (0, import_react4.useRef)(new import_react_native.Animated.Value(0)).current;
|
|
120
|
+
const [containerWidth, setContainerWidth] = import_react4.default.useState(200);
|
|
121
|
+
(0, import_react4.useEffect)(() => {
|
|
122
|
+
const shimmerAnimation = import_react_native.Animated.loop(
|
|
123
|
+
import_react_native.Animated.timing(shimmerValue, {
|
|
124
|
+
toValue: 1,
|
|
125
|
+
duration,
|
|
126
|
+
useNativeDriver: true
|
|
127
|
+
}),
|
|
128
|
+
{ iterations: -1 }
|
|
129
|
+
);
|
|
130
|
+
shimmerAnimation.start();
|
|
131
|
+
return () => shimmerAnimation.stop();
|
|
132
|
+
}, [shimmerValue, duration]);
|
|
133
|
+
const translateX = shimmerValue.interpolate({
|
|
134
|
+
inputRange: [0, 1],
|
|
135
|
+
outputRange: [-containerWidth, containerWidth]
|
|
136
|
+
});
|
|
137
|
+
const opacity = shimmerValue.interpolate({
|
|
138
|
+
inputRange: [0, 0.5, 1],
|
|
139
|
+
outputRange: [0.3, 0.8, 0.3]
|
|
140
|
+
});
|
|
141
|
+
const containerStyle = {
|
|
142
|
+
width: children ? void 0 : width,
|
|
143
|
+
height: children ? void 0 : height,
|
|
144
|
+
backgroundColor,
|
|
145
|
+
borderRadius,
|
|
146
|
+
overflow: "hidden",
|
|
147
|
+
alignSelf: children ? "flex-start" : void 0,
|
|
148
|
+
...style
|
|
149
|
+
};
|
|
150
|
+
const handleLayout = (event) => {
|
|
151
|
+
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
152
|
+
setContainerWidth(layoutWidth);
|
|
153
|
+
};
|
|
154
|
+
if (children) {
|
|
155
|
+
return /* @__PURE__ */ import_react4.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(import_react_native.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react4.default.createElement(
|
|
156
|
+
import_react_native.Animated.View,
|
|
157
|
+
{
|
|
158
|
+
style: [
|
|
159
|
+
{
|
|
160
|
+
position: "absolute",
|
|
161
|
+
top: 0,
|
|
162
|
+
left: 0,
|
|
163
|
+
width: containerWidth * 0.7,
|
|
164
|
+
height: "100%",
|
|
165
|
+
backgroundColor: shimmerColor,
|
|
166
|
+
opacity,
|
|
167
|
+
transform: [{ translateX }]
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
));
|
|
172
|
+
}
|
|
173
|
+
return /* @__PURE__ */ import_react4.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(
|
|
174
|
+
import_react_native.Animated.View,
|
|
175
|
+
{
|
|
176
|
+
style: [
|
|
177
|
+
{
|
|
178
|
+
width: containerWidth * 0.7,
|
|
179
|
+
height: "100%",
|
|
180
|
+
backgroundColor: shimmerColor,
|
|
181
|
+
opacity,
|
|
182
|
+
transform: [{ translateX }]
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
));
|
|
187
|
+
};
|
|
188
|
+
var Skeleton_native_default = Skeleton;
|
|
189
|
+
|
|
190
|
+
// components/card/Card.native.tsx
|
|
191
|
+
var CardContext = (0, import_react5.createContext)({
|
|
134
192
|
floating: false,
|
|
135
193
|
backgroundColor: "",
|
|
136
194
|
horizontal: false,
|
|
137
195
|
reversed: false,
|
|
138
196
|
active: false
|
|
139
197
|
});
|
|
140
|
-
var Card =
|
|
198
|
+
var Card = import_react5.default.forwardRef(
|
|
141
199
|
({ children, flat, horizontal, floating, onClick, skeleton, reversed, fullheight, active, ...others }, ref) => {
|
|
142
200
|
const borderColor = "#ccc";
|
|
143
201
|
const cardRadius = 6;
|
|
@@ -174,20 +232,30 @@ var Card = import_react4.default.forwardRef(
|
|
|
174
232
|
flexDirection: "column-reverse"
|
|
175
233
|
}
|
|
176
234
|
});
|
|
177
|
-
const CardSkeleton = () => /* @__PURE__ */
|
|
178
|
-
|
|
235
|
+
const CardSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
236
|
+
Skeleton_native_default,
|
|
237
|
+
{
|
|
238
|
+
style: styles.skeleton,
|
|
239
|
+
width: "100%",
|
|
240
|
+
height: 50,
|
|
241
|
+
borderRadius: cardRadius,
|
|
242
|
+
testID: "skeleton-id"
|
|
243
|
+
},
|
|
244
|
+
children
|
|
245
|
+
);
|
|
246
|
+
const ShadowWrapper = ({ children: children2 }) => /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: [!flat && !floating ? styles.shadow : void 0] }, children2);
|
|
179
247
|
let cardView;
|
|
180
248
|
if (skeleton) {
|
|
181
|
-
return /* @__PURE__ */
|
|
249
|
+
return /* @__PURE__ */ import_react5.default.createElement(CardSkeleton, null);
|
|
182
250
|
}
|
|
183
251
|
if (horizontal) {
|
|
184
|
-
cardView = /* @__PURE__ */
|
|
252
|
+
cardView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { ref, style: [styles.horizontal, styles.card], testID: "card-horizontal" }, children);
|
|
185
253
|
} else if (reversed) {
|
|
186
|
-
cardView = /* @__PURE__ */
|
|
254
|
+
cardView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { ref, style: [styles.reversed, styles.card], testID: "card-reversed" }, children);
|
|
187
255
|
} else {
|
|
188
|
-
cardView = /* @__PURE__ */
|
|
256
|
+
cardView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { ref, style: [styles.card], ...others }, children);
|
|
189
257
|
}
|
|
190
|
-
return onClick ? /* @__PURE__ */
|
|
258
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(StatesContext.Provider, { value: { inverted: false, active: !!active, flat: !!flat } }, /* @__PURE__ */ import_react5.default.createElement(
|
|
191
259
|
CardContext.Provider,
|
|
192
260
|
{
|
|
193
261
|
value: {
|
|
@@ -198,8 +266,8 @@ var Card = import_react4.default.forwardRef(
|
|
|
198
266
|
active: active || false
|
|
199
267
|
}
|
|
200
268
|
},
|
|
201
|
-
/* @__PURE__ */
|
|
202
|
-
)) : /* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: { width: "100%" } }, /* @__PURE__ */ import_react5.default.createElement(import_react_native2.TouchableOpacity, { testID: "card-click-test", style: { width: "100%" }, onPress: onClick, activeOpacity: 0.85 }, /* @__PURE__ */ import_react5.default.createElement(ShadowWrapper, null, cardView)))
|
|
270
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(StatesContext.Provider, { value: { inverted: false, active: !!active, flat: !!flat } }, /* @__PURE__ */ import_react5.default.createElement(
|
|
203
271
|
CardContext.Provider,
|
|
204
272
|
{
|
|
205
273
|
value: {
|
|
@@ -210,7 +278,7 @@ var Card = import_react4.default.forwardRef(
|
|
|
210
278
|
active: active || false
|
|
211
279
|
}
|
|
212
280
|
},
|
|
213
|
-
/* @__PURE__ */
|
|
281
|
+
/* @__PURE__ */ import_react5.default.createElement(ShadowWrapper, null, cardView)
|
|
214
282
|
));
|
|
215
283
|
}
|
|
216
284
|
);
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CardContext,
|
|
4
4
|
Card_native_default
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-E4YRRUI3.mjs";
|
|
5
|
+
} from "../../chunk-XJMDYFHO.mjs";
|
|
7
6
|
import "../../chunk-CWIO3GEP.mjs";
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-E4YRRUI3.mjs";
|
|
8
|
+
import "../../chunk-UZO5VCH2.mjs";
|
|
9
|
+
import "../../chunk-7DJ5V2J7.mjs";
|
|
10
|
+
import "../../chunk-LHDHBH5T.mjs";
|
|
9
11
|
import "../../chunk-VDLM4YQP.mjs";
|
|
10
12
|
import "../../chunk-QIPGVLHJ.mjs";
|
|
11
13
|
export {
|
|
@@ -43,34 +43,6 @@ var StatesContext = (0, import_react.createContext)({
|
|
|
43
43
|
flat: false
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
// helpers/device/index.native.ts
|
|
47
|
-
var import_react_native = require("react-native");
|
|
48
|
-
var Device = /* @__PURE__ */ ((Device2) => {
|
|
49
|
-
Device2["Browser"] = "browser";
|
|
50
|
-
Device2["Server"] = "server";
|
|
51
|
-
Device2["Native"] = "native";
|
|
52
|
-
return Device2;
|
|
53
|
-
})(Device || {});
|
|
54
|
-
var { Browser, Server, Native } = Device;
|
|
55
|
-
var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
56
|
-
var canUseNative = typeof navigator != "undefined" && navigator.product == "ReactNative";
|
|
57
|
-
var device = canUseNative ? Native : canUseDOM ? Browser : Server;
|
|
58
|
-
var SSRObjectDefined = {
|
|
59
|
-
isBrowser: device === Browser,
|
|
60
|
-
isServer: device === Server,
|
|
61
|
-
isNative: device === Native,
|
|
62
|
-
device,
|
|
63
|
-
canUseWorkers: typeof Worker !== "undefined",
|
|
64
|
-
canUseEventListeners: device === Browser && !!window.addEventListener,
|
|
65
|
-
canUseViewport: device === Browser && !!window.screen
|
|
66
|
-
};
|
|
67
|
-
var assign = (...args) => Object.assign({}, ...args);
|
|
68
|
-
var values = (obj) => Object.values(obj);
|
|
69
|
-
var toArrayObject = () => assign((values(SSRObjectDefined), SSRObjectDefined));
|
|
70
|
-
var SSRObject = toArrayObject();
|
|
71
|
-
var isAndroid = import_react_native.Platform.OS === "android";
|
|
72
|
-
var isIOS = import_react_native.Platform.OS === "ios";
|
|
73
|
-
|
|
74
46
|
// context/providerTheme/index.native.tsx
|
|
75
47
|
var import_react2 = __toESM(require("react"));
|
|
76
48
|
var defaultIcons = {};
|
|
@@ -126,17 +98,103 @@ var getColorStyle = (trilogyColor) => {
|
|
|
126
98
|
};
|
|
127
99
|
|
|
128
100
|
// components/card/Card.native.tsx
|
|
129
|
-
var
|
|
130
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
101
|
+
var import_react5 = __toESM(require("react"));
|
|
131
102
|
var import_react_native2 = require("react-native");
|
|
132
|
-
|
|
103
|
+
|
|
104
|
+
// components/skeleton/Skeleton.native.tsx
|
|
105
|
+
var import_react4 = __toESM(require("react"));
|
|
106
|
+
var import_react_native = require("react-native");
|
|
107
|
+
var Skeleton = ({
|
|
108
|
+
style,
|
|
109
|
+
width = "100%",
|
|
110
|
+
height = 20,
|
|
111
|
+
backgroundColor = "#E1E9EE",
|
|
112
|
+
shimmerColor = "#F7F8F8",
|
|
113
|
+
duration = 1200,
|
|
114
|
+
borderRadius = 4,
|
|
115
|
+
children,
|
|
116
|
+
testID
|
|
117
|
+
}) => {
|
|
118
|
+
const shimmerValue = (0, import_react4.useRef)(new import_react_native.Animated.Value(0)).current;
|
|
119
|
+
const [containerWidth, setContainerWidth] = import_react4.default.useState(200);
|
|
120
|
+
(0, import_react4.useEffect)(() => {
|
|
121
|
+
const shimmerAnimation = import_react_native.Animated.loop(
|
|
122
|
+
import_react_native.Animated.timing(shimmerValue, {
|
|
123
|
+
toValue: 1,
|
|
124
|
+
duration,
|
|
125
|
+
useNativeDriver: true
|
|
126
|
+
}),
|
|
127
|
+
{ iterations: -1 }
|
|
128
|
+
);
|
|
129
|
+
shimmerAnimation.start();
|
|
130
|
+
return () => shimmerAnimation.stop();
|
|
131
|
+
}, [shimmerValue, duration]);
|
|
132
|
+
const translateX = shimmerValue.interpolate({
|
|
133
|
+
inputRange: [0, 1],
|
|
134
|
+
outputRange: [-containerWidth, containerWidth]
|
|
135
|
+
});
|
|
136
|
+
const opacity = shimmerValue.interpolate({
|
|
137
|
+
inputRange: [0, 0.5, 1],
|
|
138
|
+
outputRange: [0.3, 0.8, 0.3]
|
|
139
|
+
});
|
|
140
|
+
const containerStyle = {
|
|
141
|
+
width: children ? void 0 : width,
|
|
142
|
+
height: children ? void 0 : height,
|
|
143
|
+
backgroundColor,
|
|
144
|
+
borderRadius,
|
|
145
|
+
overflow: "hidden",
|
|
146
|
+
alignSelf: children ? "flex-start" : void 0,
|
|
147
|
+
...style
|
|
148
|
+
};
|
|
149
|
+
const handleLayout = (event) => {
|
|
150
|
+
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
151
|
+
setContainerWidth(layoutWidth);
|
|
152
|
+
};
|
|
153
|
+
if (children) {
|
|
154
|
+
return /* @__PURE__ */ import_react4.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(import_react_native.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react4.default.createElement(
|
|
155
|
+
import_react_native.Animated.View,
|
|
156
|
+
{
|
|
157
|
+
style: [
|
|
158
|
+
{
|
|
159
|
+
position: "absolute",
|
|
160
|
+
top: 0,
|
|
161
|
+
left: 0,
|
|
162
|
+
width: containerWidth * 0.7,
|
|
163
|
+
height: "100%",
|
|
164
|
+
backgroundColor: shimmerColor,
|
|
165
|
+
opacity,
|
|
166
|
+
transform: [{ translateX }]
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
));
|
|
171
|
+
}
|
|
172
|
+
return /* @__PURE__ */ import_react4.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(
|
|
173
|
+
import_react_native.Animated.View,
|
|
174
|
+
{
|
|
175
|
+
style: [
|
|
176
|
+
{
|
|
177
|
+
width: containerWidth * 0.7,
|
|
178
|
+
height: "100%",
|
|
179
|
+
backgroundColor: shimmerColor,
|
|
180
|
+
opacity,
|
|
181
|
+
transform: [{ translateX }]
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
}
|
|
185
|
+
));
|
|
186
|
+
};
|
|
187
|
+
var Skeleton_native_default = Skeleton;
|
|
188
|
+
|
|
189
|
+
// components/card/Card.native.tsx
|
|
190
|
+
var CardContext = (0, import_react5.createContext)({
|
|
133
191
|
floating: false,
|
|
134
192
|
backgroundColor: "",
|
|
135
193
|
horizontal: false,
|
|
136
194
|
reversed: false,
|
|
137
195
|
active: false
|
|
138
196
|
});
|
|
139
|
-
var Card =
|
|
197
|
+
var Card = import_react5.default.forwardRef(
|
|
140
198
|
({ children, flat, horizontal, floating, onClick, skeleton, reversed, fullheight, active, ...others }, ref) => {
|
|
141
199
|
const borderColor = "#ccc";
|
|
142
200
|
const cardRadius = 6;
|
|
@@ -173,20 +231,30 @@ var Card = import_react4.default.forwardRef(
|
|
|
173
231
|
flexDirection: "column-reverse"
|
|
174
232
|
}
|
|
175
233
|
});
|
|
176
|
-
const CardSkeleton = () => /* @__PURE__ */
|
|
177
|
-
|
|
234
|
+
const CardSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
235
|
+
Skeleton_native_default,
|
|
236
|
+
{
|
|
237
|
+
style: styles.skeleton,
|
|
238
|
+
width: "100%",
|
|
239
|
+
height: 50,
|
|
240
|
+
borderRadius: cardRadius,
|
|
241
|
+
testID: "skeleton-id"
|
|
242
|
+
},
|
|
243
|
+
children
|
|
244
|
+
);
|
|
245
|
+
const ShadowWrapper = ({ children: children2 }) => /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: [!flat && !floating ? styles.shadow : void 0] }, children2);
|
|
178
246
|
let cardView;
|
|
179
247
|
if (skeleton) {
|
|
180
|
-
return /* @__PURE__ */
|
|
248
|
+
return /* @__PURE__ */ import_react5.default.createElement(CardSkeleton, null);
|
|
181
249
|
}
|
|
182
250
|
if (horizontal) {
|
|
183
|
-
cardView = /* @__PURE__ */
|
|
251
|
+
cardView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { ref, style: [styles.horizontal, styles.card], testID: "card-horizontal" }, children);
|
|
184
252
|
} else if (reversed) {
|
|
185
|
-
cardView = /* @__PURE__ */
|
|
253
|
+
cardView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { ref, style: [styles.reversed, styles.card], testID: "card-reversed" }, children);
|
|
186
254
|
} else {
|
|
187
|
-
cardView = /* @__PURE__ */
|
|
255
|
+
cardView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { ref, style: [styles.card], ...others }, children);
|
|
188
256
|
}
|
|
189
|
-
return onClick ? /* @__PURE__ */
|
|
257
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(StatesContext.Provider, { value: { inverted: false, active: !!active, flat: !!flat } }, /* @__PURE__ */ import_react5.default.createElement(
|
|
190
258
|
CardContext.Provider,
|
|
191
259
|
{
|
|
192
260
|
value: {
|
|
@@ -197,8 +265,8 @@ var Card = import_react4.default.forwardRef(
|
|
|
197
265
|
active: active || false
|
|
198
266
|
}
|
|
199
267
|
},
|
|
200
|
-
/* @__PURE__ */
|
|
201
|
-
)) : /* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: { width: "100%" } }, /* @__PURE__ */ import_react5.default.createElement(import_react_native2.TouchableOpacity, { testID: "card-click-test", style: { width: "100%" }, onPress: onClick, activeOpacity: 0.85 }, /* @__PURE__ */ import_react5.default.createElement(ShadowWrapper, null, cardView)))
|
|
269
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(StatesContext.Provider, { value: { inverted: false, active: !!active, flat: !!flat } }, /* @__PURE__ */ import_react5.default.createElement(
|
|
202
270
|
CardContext.Provider,
|
|
203
271
|
{
|
|
204
272
|
value: {
|
|
@@ -209,18 +277,18 @@ var Card = import_react4.default.forwardRef(
|
|
|
209
277
|
active: active || false
|
|
210
278
|
}
|
|
211
279
|
},
|
|
212
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ import_react5.default.createElement(ShadowWrapper, null, cardView)
|
|
213
281
|
));
|
|
214
282
|
}
|
|
215
283
|
);
|
|
216
284
|
Card.displayName = "Card" /* Card */;
|
|
217
285
|
|
|
218
286
|
// components/card/content/CardContent.native.tsx
|
|
219
|
-
var
|
|
287
|
+
var import_react6 = __toESM(require("react"));
|
|
220
288
|
var import_react_native3 = require("react-native");
|
|
221
|
-
var CardContent =
|
|
289
|
+
var CardContent = import_react6.default.forwardRef(
|
|
222
290
|
({ children, ...others }, ref) => {
|
|
223
|
-
const cardContextValues = (0,
|
|
291
|
+
const cardContextValues = (0, import_react6.useContext)(CardContext);
|
|
224
292
|
const styles = import_react_native3.StyleSheet.create({
|
|
225
293
|
card: {
|
|
226
294
|
padding: 16,
|
|
@@ -228,7 +296,7 @@ var CardContent = import_react5.default.forwardRef(
|
|
|
228
296
|
flex: cardContextValues.horizontal ? 1 : 0
|
|
229
297
|
}
|
|
230
298
|
});
|
|
231
|
-
return /* @__PURE__ */
|
|
299
|
+
return /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { ref, style: styles.card, ...others }, children);
|
|
232
300
|
}
|
|
233
301
|
);
|
|
234
302
|
CardContent.displayName = "CardContent" /* CardContent */;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
CardContent_native_default
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-E4YRRUI3.mjs";
|
|
4
|
+
} from "../../../chunk-MKSHOXCA.mjs";
|
|
5
|
+
import "../../../chunk-XJMDYFHO.mjs";
|
|
7
6
|
import "../../../chunk-CWIO3GEP.mjs";
|
|
8
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-E4YRRUI3.mjs";
|
|
8
|
+
import "../../../chunk-UZO5VCH2.mjs";
|
|
9
|
+
import "../../../chunk-7DJ5V2J7.mjs";
|
|
10
|
+
import "../../../chunk-LHDHBH5T.mjs";
|
|
9
11
|
import "../../../chunk-VDLM4YQP.mjs";
|
|
10
12
|
import "../../../chunk-QIPGVLHJ.mjs";
|
|
11
13
|
export {
|