@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
|
@@ -103,10 +103,96 @@ var getColorStyle = (trilogyColor) => {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
// components/box/Box.native.tsx
|
|
106
|
+
var import_react6 = __toESM(require("react"));
|
|
107
|
+
var import_react_native2 = require("react-native");
|
|
108
|
+
|
|
109
|
+
// components/skeleton/Skeleton.native.tsx
|
|
106
110
|
var import_react5 = __toESM(require("react"));
|
|
107
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
108
111
|
var import_react_native = require("react-native");
|
|
109
|
-
var
|
|
112
|
+
var Skeleton = ({
|
|
113
|
+
style,
|
|
114
|
+
width = "100%",
|
|
115
|
+
height = 20,
|
|
116
|
+
backgroundColor = "#E1E9EE",
|
|
117
|
+
shimmerColor = "#F7F8F8",
|
|
118
|
+
duration = 1200,
|
|
119
|
+
borderRadius = 4,
|
|
120
|
+
children,
|
|
121
|
+
testID
|
|
122
|
+
}) => {
|
|
123
|
+
const shimmerValue = (0, import_react5.useRef)(new import_react_native.Animated.Value(0)).current;
|
|
124
|
+
const [containerWidth, setContainerWidth] = import_react5.default.useState(200);
|
|
125
|
+
(0, import_react5.useEffect)(() => {
|
|
126
|
+
const shimmerAnimation = import_react_native.Animated.loop(
|
|
127
|
+
import_react_native.Animated.timing(shimmerValue, {
|
|
128
|
+
toValue: 1,
|
|
129
|
+
duration,
|
|
130
|
+
useNativeDriver: true
|
|
131
|
+
}),
|
|
132
|
+
{ iterations: -1 }
|
|
133
|
+
);
|
|
134
|
+
shimmerAnimation.start();
|
|
135
|
+
return () => shimmerAnimation.stop();
|
|
136
|
+
}, [shimmerValue, duration]);
|
|
137
|
+
const translateX = shimmerValue.interpolate({
|
|
138
|
+
inputRange: [0, 1],
|
|
139
|
+
outputRange: [-containerWidth, containerWidth]
|
|
140
|
+
});
|
|
141
|
+
const opacity = shimmerValue.interpolate({
|
|
142
|
+
inputRange: [0, 0.5, 1],
|
|
143
|
+
outputRange: [0.3, 0.8, 0.3]
|
|
144
|
+
});
|
|
145
|
+
const containerStyle = {
|
|
146
|
+
width: children ? void 0 : width,
|
|
147
|
+
height: children ? void 0 : height,
|
|
148
|
+
backgroundColor,
|
|
149
|
+
borderRadius,
|
|
150
|
+
overflow: "hidden",
|
|
151
|
+
alignSelf: children ? "flex-start" : void 0,
|
|
152
|
+
...style
|
|
153
|
+
};
|
|
154
|
+
const handleLayout = (event) => {
|
|
155
|
+
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
156
|
+
setContainerWidth(layoutWidth);
|
|
157
|
+
};
|
|
158
|
+
if (children) {
|
|
159
|
+
return /* @__PURE__ */ import_react5.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react5.default.createElement(import_react_native.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react5.default.createElement(
|
|
160
|
+
import_react_native.Animated.View,
|
|
161
|
+
{
|
|
162
|
+
style: [
|
|
163
|
+
{
|
|
164
|
+
position: "absolute",
|
|
165
|
+
top: 0,
|
|
166
|
+
left: 0,
|
|
167
|
+
width: containerWidth * 0.7,
|
|
168
|
+
height: "100%",
|
|
169
|
+
backgroundColor: shimmerColor,
|
|
170
|
+
opacity,
|
|
171
|
+
transform: [{ translateX }]
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
));
|
|
176
|
+
}
|
|
177
|
+
return /* @__PURE__ */ import_react5.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react5.default.createElement(
|
|
178
|
+
import_react_native.Animated.View,
|
|
179
|
+
{
|
|
180
|
+
style: [
|
|
181
|
+
{
|
|
182
|
+
width: containerWidth * 0.7,
|
|
183
|
+
height: "100%",
|
|
184
|
+
backgroundColor: shimmerColor,
|
|
185
|
+
opacity,
|
|
186
|
+
transform: [{ translateX }]
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
));
|
|
191
|
+
};
|
|
192
|
+
var Skeleton_native_default = Skeleton;
|
|
193
|
+
|
|
194
|
+
// components/box/Box.native.tsx
|
|
195
|
+
var Box = import_react6.default.forwardRef(
|
|
110
196
|
({
|
|
111
197
|
children,
|
|
112
198
|
onClick,
|
|
@@ -123,9 +209,9 @@ var Box = import_react5.default.forwardRef(
|
|
|
123
209
|
...others
|
|
124
210
|
}, ref) => {
|
|
125
211
|
const colorBgc = getColorStyle("WHITE" /* BACKGROUND */);
|
|
126
|
-
const [boxHeight, setBoxHeight] = (0,
|
|
212
|
+
const [boxHeight, setBoxHeight] = (0, import_react6.useState)(0);
|
|
127
213
|
const boxRadius = 6;
|
|
128
|
-
const styles =
|
|
214
|
+
const styles = import_react_native2.StyleSheet.create({
|
|
129
215
|
box: {
|
|
130
216
|
width: "100%",
|
|
131
217
|
backgroundColor: backgroundColor ? getColorStyle(backgroundColor) : colorBgc,
|
|
@@ -174,13 +260,23 @@ var Box = import_react5.default.forwardRef(
|
|
|
174
260
|
}
|
|
175
261
|
});
|
|
176
262
|
const boxTestId = "NotSpecified";
|
|
177
|
-
const BoxSkeleton = () => /* @__PURE__ */
|
|
263
|
+
const BoxSkeleton = () => /* @__PURE__ */ import_react6.default.createElement(
|
|
264
|
+
Skeleton_native_default,
|
|
265
|
+
{
|
|
266
|
+
style: styles.skeleton,
|
|
267
|
+
width: "100%",
|
|
268
|
+
height: 50,
|
|
269
|
+
borderRadius: boxRadius,
|
|
270
|
+
testID: "skeleton"
|
|
271
|
+
},
|
|
272
|
+
children
|
|
273
|
+
);
|
|
178
274
|
if (skeleton) {
|
|
179
|
-
return /* @__PURE__ */
|
|
275
|
+
return /* @__PURE__ */ import_react6.default.createElement(BoxSkeleton, null);
|
|
180
276
|
}
|
|
181
277
|
if (onClick) {
|
|
182
|
-
return /* @__PURE__ */
|
|
183
|
-
|
|
278
|
+
return /* @__PURE__ */ import_react6.default.createElement(BoxContext.Provider, { value: { fullHeight: fullheight || false } }, /* @__PURE__ */ import_react6.default.createElement(
|
|
279
|
+
import_react_native2.TouchableOpacity,
|
|
184
280
|
{
|
|
185
281
|
ref,
|
|
186
282
|
onPress: (e) => onClick == null ? void 0 : onClick(e),
|
|
@@ -191,20 +287,20 @@ var Box = import_react5.default.forwardRef(
|
|
|
191
287
|
},
|
|
192
288
|
testID: boxTestId
|
|
193
289
|
},
|
|
194
|
-
backgroundSrc ? /* @__PURE__ */
|
|
195
|
-
|
|
290
|
+
backgroundSrc ? /* @__PURE__ */ import_react6.default.createElement(
|
|
291
|
+
import_react_native2.ImageBackground,
|
|
196
292
|
{
|
|
197
293
|
imageStyle: { borderRadius: boxRadius },
|
|
198
294
|
style: styles.boxImage,
|
|
199
295
|
source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }
|
|
200
296
|
},
|
|
201
|
-
Boolean(highlighted) && /* @__PURE__ */
|
|
202
|
-
/* @__PURE__ */
|
|
203
|
-
) : /* @__PURE__ */
|
|
297
|
+
Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, { style: styles.highlighted }),
|
|
298
|
+
/* @__PURE__ */ import_react6.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } }, children)
|
|
299
|
+
) : /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, { style: styles.highlighted }), /* @__PURE__ */ import_react6.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } }, children))
|
|
204
300
|
));
|
|
205
301
|
}
|
|
206
|
-
return /* @__PURE__ */
|
|
207
|
-
|
|
302
|
+
return /* @__PURE__ */ import_react6.default.createElement(BoxContext.Provider, { value: { fullHeight: fullheight || false } }, /* @__PURE__ */ import_react6.default.createElement(
|
|
303
|
+
import_react_native2.View,
|
|
208
304
|
{
|
|
209
305
|
ref,
|
|
210
306
|
onLayout: (event) => {
|
|
@@ -214,16 +310,16 @@ var Box = import_react5.default.forwardRef(
|
|
|
214
310
|
style: [styles.box, !flat && styles.shadow, others == null ? void 0 : others.style],
|
|
215
311
|
testID: boxTestId
|
|
216
312
|
},
|
|
217
|
-
backgroundSrc ? /* @__PURE__ */
|
|
218
|
-
|
|
313
|
+
backgroundSrc ? /* @__PURE__ */ import_react6.default.createElement(
|
|
314
|
+
import_react_native2.ImageBackground,
|
|
219
315
|
{
|
|
220
316
|
imageStyle: { borderRadius: boxRadius },
|
|
221
317
|
style: styles.boxImage,
|
|
222
318
|
source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }
|
|
223
319
|
},
|
|
224
|
-
Boolean(highlighted) && /* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */
|
|
226
|
-
) : /* @__PURE__ */
|
|
320
|
+
Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, { style: styles.highlighted }),
|
|
321
|
+
/* @__PURE__ */ import_react6.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } }, children)
|
|
322
|
+
) : /* @__PURE__ */ import_react6.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: !!active, flat: !!flat } }, Boolean(highlighted) && /* @__PURE__ */ import_react6.default.createElement(import_react_native2.View, { style: styles.highlighted }), children)
|
|
227
323
|
));
|
|
228
324
|
}
|
|
229
325
|
);
|
|
@@ -231,12 +327,12 @@ Box.displayName = "Box" /* Box */;
|
|
|
231
327
|
var Box_native_default = Box;
|
|
232
328
|
|
|
233
329
|
// components/box/content/BoxContent.native.tsx
|
|
234
|
-
var
|
|
235
|
-
var
|
|
236
|
-
var BoxContent =
|
|
330
|
+
var React5 = __toESM(require("react"));
|
|
331
|
+
var import_react_native3 = require("react-native");
|
|
332
|
+
var BoxContent = React5.forwardRef(
|
|
237
333
|
({ children, backgroundColor, backgroundSrc, ...others }, ref) => {
|
|
238
|
-
const { fullHeight } =
|
|
239
|
-
const styles =
|
|
334
|
+
const { fullHeight } = React5.useContext(BoxContext);
|
|
335
|
+
const styles = import_react_native3.StyleSheet.create({
|
|
240
336
|
boxContent: {
|
|
241
337
|
padding: 16,
|
|
242
338
|
backgroundColor: backgroundColor && getColorStyle(backgroundColor) || "transparent",
|
|
@@ -244,9 +340,9 @@ var BoxContent = React4.forwardRef(
|
|
|
244
340
|
flex: fullHeight ? 1 : void 0
|
|
245
341
|
}
|
|
246
342
|
});
|
|
247
|
-
const content = /* @__PURE__ */
|
|
343
|
+
const content = /* @__PURE__ */ React5.createElement(import_react_native3.View, { ref, style: [styles.boxContent], ...others }, children && typeof children.valueOf() === "string" ? /* @__PURE__ */ React5.createElement(import_react_native3.Text, null, children) : children);
|
|
248
344
|
if (backgroundSrc) {
|
|
249
|
-
return /* @__PURE__ */
|
|
345
|
+
return /* @__PURE__ */ React5.createElement(import_react_native3.ImageBackground, { source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }, style: { flex: 1 }, imageStyle: { borderRadius: 6 } }, content);
|
|
250
346
|
} else {
|
|
251
347
|
return content;
|
|
252
348
|
}
|
|
@@ -269,7 +365,7 @@ var getAlignStyle = (alignType) => {
|
|
|
269
365
|
};
|
|
270
366
|
|
|
271
367
|
// helpers/device/index.native.ts
|
|
272
|
-
var
|
|
368
|
+
var import_react_native4 = require("react-native");
|
|
273
369
|
var Device = /* @__PURE__ */ ((Device2) => {
|
|
274
370
|
Device2["Browser"] = "browser";
|
|
275
371
|
Device2["Server"] = "server";
|
|
@@ -293,27 +389,26 @@ var assign = (...args) => Object.assign({}, ...args);
|
|
|
293
389
|
var values = (obj) => Object.values(obj);
|
|
294
390
|
var toArrayObject = () => assign((values(SSRObjectDefined), SSRObjectDefined));
|
|
295
391
|
var SSRObject = toArrayObject();
|
|
296
|
-
var isAndroid =
|
|
297
|
-
var isIOS =
|
|
392
|
+
var isAndroid = import_react_native4.Platform.OS === "android";
|
|
393
|
+
var isIOS = import_react_native4.Platform.OS === "ios";
|
|
298
394
|
|
|
299
395
|
// components/icon/Icon.native.tsx
|
|
300
|
-
var
|
|
301
|
-
var
|
|
302
|
-
var import_react_native4 = require("react-native");
|
|
396
|
+
var import_react7 = __toESM(require("react"));
|
|
397
|
+
var import_react_native5 = require("react-native");
|
|
303
398
|
var import_css = require("react-native-svg/css");
|
|
304
|
-
var Icon =
|
|
399
|
+
var Icon = import_react7.default.forwardRef(
|
|
305
400
|
({ size: size2, name, circled, stretched, color, backgroundColor, onClick, align, skeleton, testId, ...others }, ref) => {
|
|
306
401
|
const {
|
|
307
402
|
theme: { icons }
|
|
308
|
-
} = (0,
|
|
309
|
-
const statesContext = (0,
|
|
403
|
+
} = (0, import_react7.useContext)(TrilogyThemeContext);
|
|
404
|
+
const statesContext = (0, import_react7.useContext)(StatesContext);
|
|
310
405
|
const style = {};
|
|
311
406
|
const defaultSize = size2 === "huge" /* HUGE */ && 66 || size2 === "large" /* LARGE */ && 44 || size2 === "medium" /* MEDIUM */ && 30 || size2 === "small" /* SMALL */ && 20 || size2 === "smaller" /* SMALLER */ && 16 || 20;
|
|
312
407
|
const iconColor = color && getColorStyle(color) || statesContext.inverted && getColorStyle("WHITE" /* BACKGROUND */) || getColorStyle("MAIN" /* MAIN */);
|
|
313
408
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
314
409
|
const iconSkeletonRadius = size2 === "huge" /* HUGE */ && 50 || size2 === "large" /* LARGE */ && 35 || size2 === "medium" /* MEDIUM */ && 25 || size2 === "small" /* SMALL */ && 15 || size2 === "smaller" /* SMALLER */ && 10 || 15;
|
|
315
410
|
const circledWidth = size2 === "huge" /* HUGE */ && 99 || size2 === "large" /* LARGE */ && 66 || size2 === "medium" /* MEDIUM */ && 48 || size2 === "small" /* SMALL */ && 32 || size2 === "smaller" /* SMALLER */ && 38 || 32;
|
|
316
|
-
const styles =
|
|
411
|
+
const styles = import_react_native5.StyleSheet.create({
|
|
317
412
|
rootView: {
|
|
318
413
|
alignSelf: getAlignStyle(align)
|
|
319
414
|
},
|
|
@@ -356,14 +451,23 @@ var Icon = import_react6.default.forwardRef(
|
|
|
356
451
|
justifyContent: "center"
|
|
357
452
|
}
|
|
358
453
|
});
|
|
359
|
-
const IconSkeleton = () => /* @__PURE__ */
|
|
454
|
+
const IconSkeleton = () => /* @__PURE__ */ import_react7.default.createElement(
|
|
455
|
+
Skeleton_native_default,
|
|
456
|
+
{
|
|
457
|
+
style: styles.skeleton,
|
|
458
|
+
width: circledWidth,
|
|
459
|
+
height: circledWidth,
|
|
460
|
+
borderRadius: iconSkeletonRadius,
|
|
461
|
+
testID: "skeleton-id"
|
|
462
|
+
}
|
|
463
|
+
);
|
|
360
464
|
if (skeleton) {
|
|
361
|
-
return /* @__PURE__ */
|
|
465
|
+
return /* @__PURE__ */ import_react7.default.createElement(IconSkeleton, null);
|
|
362
466
|
}
|
|
363
|
-
let iconView = /* @__PURE__ */
|
|
467
|
+
let iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native5.View, null);
|
|
364
468
|
if (name && icons) {
|
|
365
469
|
if (stretched && !circled) {
|
|
366
|
-
iconView = /* @__PURE__ */
|
|
470
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native5.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react7.default.createElement(
|
|
367
471
|
import_css.WithLocalSvg,
|
|
368
472
|
{
|
|
369
473
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -374,7 +478,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
374
478
|
}
|
|
375
479
|
));
|
|
376
480
|
} else if (circled) {
|
|
377
|
-
iconView = /* @__PURE__ */
|
|
481
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native5.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react7.default.createElement(
|
|
378
482
|
import_css.WithLocalSvg,
|
|
379
483
|
{
|
|
380
484
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -385,7 +489,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
385
489
|
}
|
|
386
490
|
));
|
|
387
491
|
} else {
|
|
388
|
-
iconView = /* @__PURE__ */
|
|
492
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native5.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react7.default.createElement(
|
|
389
493
|
import_css.WithLocalSvg,
|
|
390
494
|
{
|
|
391
495
|
style: [styles.icon, style],
|
|
@@ -397,8 +501,8 @@ var Icon = import_react6.default.forwardRef(
|
|
|
397
501
|
));
|
|
398
502
|
}
|
|
399
503
|
}
|
|
400
|
-
return onClick ? /* @__PURE__ */
|
|
401
|
-
|
|
504
|
+
return onClick ? /* @__PURE__ */ import_react7.default.createElement(import_react_native5.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react7.default.createElement(
|
|
505
|
+
import_react_native5.TouchableOpacity,
|
|
402
506
|
{
|
|
403
507
|
style: { width: "100%" },
|
|
404
508
|
onPress: onClick,
|
|
@@ -406,7 +510,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
406
510
|
testID: `${testId}-pressable`
|
|
407
511
|
},
|
|
408
512
|
iconView
|
|
409
|
-
)) : /* @__PURE__ */
|
|
513
|
+
)) : /* @__PURE__ */ import_react7.default.createElement(import_react_native5.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
410
514
|
}
|
|
411
515
|
);
|
|
412
516
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -421,15 +525,15 @@ var STATUS_COLORS = {
|
|
|
421
525
|
};
|
|
422
526
|
|
|
423
527
|
// objects/Typography/TypographyBold/index.native.tsx
|
|
424
|
-
var
|
|
528
|
+
var import_react8 = require("react");
|
|
425
529
|
|
|
426
530
|
// components/box/footer/BoxFooter.native.tsx
|
|
427
|
-
var
|
|
428
|
-
var
|
|
429
|
-
var BoxFooter =
|
|
531
|
+
var React7 = __toESM(require("react"));
|
|
532
|
+
var import_react_native6 = require("react-native");
|
|
533
|
+
var BoxFooter = React7.forwardRef(
|
|
430
534
|
({ children, backgroundColor, ...others }, ref) => {
|
|
431
535
|
const boxRadius = 6;
|
|
432
|
-
const styles =
|
|
536
|
+
const styles = import_react_native6.StyleSheet.create({
|
|
433
537
|
boxFooter: {
|
|
434
538
|
padding: 12,
|
|
435
539
|
justifyContent: "center",
|
|
@@ -438,25 +542,25 @@ var BoxFooter = React6.forwardRef(
|
|
|
438
542
|
borderBottomRightRadius: boxRadius
|
|
439
543
|
}
|
|
440
544
|
});
|
|
441
|
-
return /* @__PURE__ */
|
|
545
|
+
return /* @__PURE__ */ React7.createElement(import_react_native6.View, { ref, style: [styles.boxFooter], ...others }, children && typeof children.valueOf() === "string" ? /* @__PURE__ */ React7.createElement(import_react_native6.Text, null, String(children)) : children);
|
|
442
546
|
}
|
|
443
547
|
);
|
|
444
548
|
BoxFooter.displayName = "BoxFooter" /* BoxFooter */;
|
|
445
549
|
|
|
446
550
|
// components/box/header/BoxHeader.native.tsx
|
|
447
|
-
var
|
|
448
|
-
var
|
|
449
|
-
var
|
|
450
|
-
var BoxHeader =
|
|
551
|
+
var React8 = __toESM(require("react"));
|
|
552
|
+
var import_react9 = require("react");
|
|
553
|
+
var import_react_native7 = require("react-native");
|
|
554
|
+
var BoxHeader = React8.forwardRef(
|
|
451
555
|
({ children, variant, ...others }, ref) => {
|
|
452
|
-
const statesContext = (0,
|
|
556
|
+
const statesContext = (0, import_react9.useContext)(StatesContext);
|
|
453
557
|
const centered = false;
|
|
454
558
|
const pulledLeft = false;
|
|
455
559
|
const pulledRight = false;
|
|
456
560
|
const help = "";
|
|
457
561
|
const headerBgc = variant ? getColorStyle(variant) : getColorStyle("MAIN" /* MAIN */);
|
|
458
562
|
const textColor = getColorStyle("WHITE" /* BACKGROUND */);
|
|
459
|
-
const styles =
|
|
563
|
+
const styles = import_react_native7.StyleSheet.create({
|
|
460
564
|
boxHeader: {
|
|
461
565
|
width: "100%",
|
|
462
566
|
backgroundColor: headerBgc,
|
|
@@ -484,17 +588,17 @@ var BoxHeader = React7.forwardRef(
|
|
|
484
588
|
lineHeight: 15
|
|
485
589
|
}
|
|
486
590
|
});
|
|
487
|
-
return /* @__PURE__ */
|
|
591
|
+
return /* @__PURE__ */ React8.createElement(import_react_native7.View, { style: [styles.boxHeader], ref, ...others }, children && typeof children.valueOf() === "string" ? /* @__PURE__ */ React8.createElement(import_react_native7.Text, { style: styles.text }, String(children)) : children, help && /* @__PURE__ */ React8.createElement(import_react_native7.View, { style: styles.helpContainer }, /* @__PURE__ */ React8.createElement(import_react_native7.Text, { style: styles.help }, help)));
|
|
488
592
|
}
|
|
489
593
|
);
|
|
490
594
|
BoxHeader.displayName = "BoxHeader" /* BoxHeader */;
|
|
491
595
|
|
|
492
596
|
// components/box/item/BoxItem.native.tsx
|
|
493
|
-
var
|
|
494
|
-
var
|
|
495
|
-
var BoxItem =
|
|
597
|
+
var React9 = __toESM(require("react"));
|
|
598
|
+
var import_react_native8 = require("react-native");
|
|
599
|
+
var BoxItem = React9.forwardRef(({ children, size: size2, ...others }, ref) => {
|
|
496
600
|
const height = Number(size2) || 48;
|
|
497
|
-
const styles =
|
|
601
|
+
const styles = import_react_native8.StyleSheet.create({
|
|
498
602
|
boxItem: {
|
|
499
603
|
height,
|
|
500
604
|
alignItems: "center",
|
|
@@ -503,7 +607,7 @@ var BoxItem = React8.forwardRef(({ children, size: size2, ...others }, ref) => {
|
|
|
503
607
|
flex: 1
|
|
504
608
|
}
|
|
505
609
|
});
|
|
506
|
-
return /* @__PURE__ */
|
|
610
|
+
return /* @__PURE__ */ React9.createElement(import_react_native8.View, { ref, style: [styles.boxItem], ...others }, children);
|
|
507
611
|
});
|
|
508
612
|
BoxItem.displayName = "BoxItem" /* BoxItem */;
|
|
509
613
|
|
|
@@ -519,30 +623,30 @@ var BoxItemSize = ((BoxItemSize2) => {
|
|
|
519
623
|
})(BoxItemSize || {});
|
|
520
624
|
|
|
521
625
|
// components/box/table-container/BoxTableContainer.native.tsx
|
|
522
|
-
var
|
|
523
|
-
var
|
|
524
|
-
var boxTableContainer =
|
|
626
|
+
var React10 = __toESM(require("react"));
|
|
627
|
+
var import_react_native9 = require("react-native");
|
|
628
|
+
var boxTableContainer = React10.forwardRef(
|
|
525
629
|
({ children, ...others }, ref) => {
|
|
526
|
-
const styles =
|
|
630
|
+
const styles = import_react_native9.StyleSheet.create({
|
|
527
631
|
boxTableContainer: {}
|
|
528
632
|
});
|
|
529
|
-
return /* @__PURE__ */
|
|
633
|
+
return /* @__PURE__ */ React10.createElement(import_react_native9.View, { ref, style: [styles.boxTableContainer], ...others }, children);
|
|
530
634
|
}
|
|
531
635
|
);
|
|
532
636
|
boxTableContainer.displayName = "BoxTableContainer" /* BoxTableContainer */;
|
|
533
637
|
|
|
534
638
|
// components/hero/Hero.native.tsx
|
|
535
|
-
var
|
|
536
|
-
var
|
|
537
|
-
var Hero =
|
|
639
|
+
var import_react10 = __toESM(require("react"));
|
|
640
|
+
var import_react_native10 = require("react-native");
|
|
641
|
+
var Hero = import_react10.default.forwardRef(
|
|
538
642
|
({ children, backgroundSrc, onClick, overlap, inverted, backgroundColor, backgroundHeight, ...others }, ref) => {
|
|
539
|
-
const [overlapHeight, setOverlapHeight] = (0,
|
|
540
|
-
const [secondOverlapHeight, setSecondOverlapHeight] = (0,
|
|
643
|
+
const [overlapHeight, setOverlapHeight] = (0, import_react10.useState)(0);
|
|
644
|
+
const [secondOverlapHeight, setSecondOverlapHeight] = (0, import_react10.useState)(0);
|
|
541
645
|
const isSecondOverlap = overlap && Array.isArray(overlap) ? (overlap == null ? void 0 : overlap.length) > 1 : false;
|
|
542
646
|
const isSecondOverlapNotEmpty = isSecondOverlap && secondOverlapHeight > 0;
|
|
543
647
|
const overlapMargin = backgroundHeight ? overlapHeight - backgroundHeight / 2 : overlapHeight - 60;
|
|
544
648
|
const marginBottomOverlap = isSecondOverlapNotEmpty ? 70 : 60;
|
|
545
|
-
const styles =
|
|
649
|
+
const styles = import_react_native10.StyleSheet.create({
|
|
546
650
|
hero: {
|
|
547
651
|
width: "100%",
|
|
548
652
|
minHeight: 150,
|
|
@@ -573,22 +677,22 @@ var Hero = import_react9.default.forwardRef(
|
|
|
573
677
|
});
|
|
574
678
|
let heroView;
|
|
575
679
|
if (backgroundColor) {
|
|
576
|
-
heroView = /* @__PURE__ */
|
|
680
|
+
heroView = /* @__PURE__ */ import_react10.default.createElement(StatesContext.Provider, { value: { inverted: !!inverted, active: false, flat: false } }, /* @__PURE__ */ import_react10.default.createElement(import_react_native10.View, { style: [styles.background, styles.hero], testID: "background-id" }, /* @__PURE__ */ import_react10.default.createElement(import_react_native10.View, { style: styles.content }, children)));
|
|
577
681
|
} else {
|
|
578
|
-
heroView = /* @__PURE__ */
|
|
579
|
-
|
|
682
|
+
heroView = /* @__PURE__ */ import_react10.default.createElement(
|
|
683
|
+
import_react_native10.ImageBackground,
|
|
580
684
|
{
|
|
581
685
|
source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc },
|
|
582
686
|
style: styles.hero,
|
|
583
687
|
...others
|
|
584
688
|
},
|
|
585
|
-
/* @__PURE__ */
|
|
689
|
+
/* @__PURE__ */ import_react10.default.createElement(import_react_native10.View, { style: styles.content, testID: "no-background-id" }, children)
|
|
586
690
|
);
|
|
587
691
|
}
|
|
588
692
|
let overlapView;
|
|
589
693
|
if (isSecondOverlap) {
|
|
590
|
-
overlapView = /* @__PURE__ */
|
|
591
|
-
|
|
694
|
+
overlapView = /* @__PURE__ */ import_react10.default.createElement(import_react_native10.View, { style: styles.subOverlap }, /* @__PURE__ */ import_react10.default.createElement(
|
|
695
|
+
import_react_native10.View,
|
|
592
696
|
{
|
|
593
697
|
style: styles.overlap,
|
|
594
698
|
onLayout: (event) => {
|
|
@@ -596,9 +700,9 @@ var Hero = import_react9.default.forwardRef(
|
|
|
596
700
|
setOverlapHeight(height);
|
|
597
701
|
}
|
|
598
702
|
},
|
|
599
|
-
/* @__PURE__ */
|
|
600
|
-
), /* @__PURE__ */
|
|
601
|
-
|
|
703
|
+
/* @__PURE__ */ import_react10.default.createElement(Box_native_default, { backgroundColor: "NEUTRAL_FADE" /* NEUTRAL_FADE */ }, /* @__PURE__ */ import_react10.default.createElement(import_react_native10.View, { style: { marginBottom: secondOverlapHeight / 2 } }), overlap && typeof overlap !== "boolean" ? overlap[0] : null)
|
|
704
|
+
), /* @__PURE__ */ import_react10.default.createElement(
|
|
705
|
+
import_react_native10.View,
|
|
602
706
|
{
|
|
603
707
|
style: styles.secondOverlap,
|
|
604
708
|
onLayout: (event) => {
|
|
@@ -609,8 +713,8 @@ var Hero = import_react9.default.forwardRef(
|
|
|
609
713
|
overlap && typeof overlap !== "boolean" ? overlap[1] : null
|
|
610
714
|
));
|
|
611
715
|
} else {
|
|
612
|
-
overlapView = /* @__PURE__ */
|
|
613
|
-
|
|
716
|
+
overlapView = /* @__PURE__ */ import_react10.default.createElement(import_react_native10.View, { style: styles.subOverlap }, /* @__PURE__ */ import_react10.default.createElement(
|
|
717
|
+
import_react_native10.View,
|
|
614
718
|
{
|
|
615
719
|
style: styles.overlap,
|
|
616
720
|
onLayout: (event) => {
|
|
@@ -621,7 +725,7 @@ var Hero = import_react9.default.forwardRef(
|
|
|
621
725
|
overlap && typeof overlap !== "boolean" ? overlap[0] : null
|
|
622
726
|
));
|
|
623
727
|
}
|
|
624
|
-
return onClick ? /* @__PURE__ */
|
|
728
|
+
return onClick ? /* @__PURE__ */ import_react10.default.createElement(import_react_native10.View, { ref }, /* @__PURE__ */ import_react10.default.createElement(import_react_native10.TouchableOpacity, { onPress: onClick, activeOpacity: 0.85 }, heroView)) : /* @__PURE__ */ import_react10.default.createElement(import_react_native10.View, { ref, style: { width: "100%" } }, heroView, overlapView);
|
|
625
729
|
}
|
|
626
730
|
);
|
|
627
731
|
Hero.displayName = "Hero" /* Hero */;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import "../../chunk-HYKQVEFE.mjs";
|
|
3
3
|
import {
|
|
4
4
|
Hero_native_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-VLXOCQDY.mjs";
|
|
6
6
|
import "../../chunk-SPRPRRPP.mjs";
|
|
7
|
-
import "../../chunk-77O4HKAP.mjs";
|
|
8
7
|
import "../../chunk-4EH7JSDJ.mjs";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-CJTAJA4V.mjs";
|
|
8
|
+
import "../../chunk-77O4HKAP.mjs";
|
|
11
9
|
import "../../chunk-7WYOWHKR.mjs";
|
|
12
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-JFTUDUYA.mjs";
|
|
11
|
+
import "../../chunk-CJTAJA4V.mjs";
|
|
12
|
+
import "../../chunk-J4ZFH6JK.mjs";
|
|
13
13
|
import "../../chunk-652YVC7W.mjs";
|
|
14
14
|
import "../../chunk-7M6BHGK7.mjs";
|
|
15
15
|
import "../../chunk-VNWHCGCD.mjs";
|
|
@@ -19,13 +19,13 @@ import "../../chunk-YKUYXBXK.mjs";
|
|
|
19
19
|
import "../../chunk-ZEJDFWMP.mjs";
|
|
20
20
|
import "../../chunk-MB55ARZ7.mjs";
|
|
21
21
|
import "../../chunk-D5HHHZDS.mjs";
|
|
22
|
-
import "../../chunk-3LXODEBD.mjs";
|
|
23
22
|
import "../../chunk-WVL5S3CD.mjs";
|
|
23
|
+
import "../../chunk-3LXODEBD.mjs";
|
|
24
24
|
import "../../chunk-7L5452RP.mjs";
|
|
25
25
|
import "../../chunk-2K2TD7FH.mjs";
|
|
26
|
-
import "../../chunk-
|
|
27
|
-
import "../../chunk-E4YRRUI3.mjs";
|
|
26
|
+
import "../../chunk-NEM7FT22.mjs";
|
|
28
27
|
import "../../chunk-CWIO3GEP.mjs";
|
|
28
|
+
import "../../chunk-E4YRRUI3.mjs";
|
|
29
29
|
import "../../chunk-R6PFY5VS.mjs";
|
|
30
30
|
import "../../chunk-BKC75OTH.mjs";
|
|
31
31
|
import {
|
|
@@ -33,31 +33,34 @@ import {
|
|
|
33
33
|
} from "../../chunk-V52ASNML.mjs";
|
|
34
34
|
import "../../chunk-BW2X3JP2.mjs";
|
|
35
35
|
import "../../chunk-RKSNGOHM.mjs";
|
|
36
|
+
import "../../chunk-UZO5VCH2.mjs";
|
|
37
|
+
import "../../chunk-7DJ5V2J7.mjs";
|
|
38
|
+
import "../../chunk-LHDHBH5T.mjs";
|
|
36
39
|
import "../../chunk-RXBVZD3M.mjs";
|
|
40
|
+
import "../../chunk-GP5CJGRF.mjs";
|
|
41
|
+
import "../../chunk-NVH4ZPGW.mjs";
|
|
42
|
+
import "../../chunk-62DJK35E.mjs";
|
|
43
|
+
import "../../chunk-PAEZ47M2.mjs";
|
|
37
44
|
import "../../chunk-A2ASOVUR.mjs";
|
|
38
45
|
import "../../chunk-3XMSRU64.mjs";
|
|
39
46
|
import "../../chunk-L5TMSDJR.mjs";
|
|
40
|
-
import "../../chunk-
|
|
47
|
+
import "../../chunk-SUNBSFL4.mjs";
|
|
41
48
|
import "../../chunk-UTA75ELV.mjs";
|
|
42
49
|
import "../../chunk-L25MU6JT.mjs";
|
|
43
50
|
import "../../chunk-6TNYDJM7.mjs";
|
|
44
51
|
import "../../chunk-HQXKHRER.mjs";
|
|
45
|
-
import "../../chunk-
|
|
46
|
-
import "../../chunk-
|
|
47
|
-
import "../../chunk-PAEZ47M2.mjs";
|
|
52
|
+
import "../../chunk-B6WC6WS2.mjs";
|
|
53
|
+
import "../../chunk-MAX3RSBG.mjs";
|
|
48
54
|
import "../../chunk-FTTU4DJW.mjs";
|
|
49
55
|
import "../../chunk-L7CNF7H6.mjs";
|
|
50
56
|
import "../../chunk-RJO5KKUW.mjs";
|
|
51
57
|
import "../../chunk-R7HI6GOP.mjs";
|
|
52
|
-
import "../../chunk-
|
|
58
|
+
import "../../chunk-G6BHSMLA.mjs";
|
|
59
|
+
import "../../chunk-THOTRBD4.mjs";
|
|
53
60
|
import "../../chunk-XIQL4ZTN.mjs";
|
|
54
61
|
import "../../chunk-UUXUTBLZ.mjs";
|
|
55
62
|
import "../../chunk-QOEJLTZN.mjs";
|
|
56
|
-
import "../../chunk-B6WC6WS2.mjs";
|
|
57
|
-
import "../../chunk-MAX3RSBG.mjs";
|
|
58
63
|
import "../../chunk-6BTWLQPI.mjs";
|
|
59
|
-
import "../../chunk-G6BHSMLA.mjs";
|
|
60
|
-
import "../../chunk-THOTRBD4.mjs";
|
|
61
64
|
import "../../chunk-ATW7ITPH.mjs";
|
|
62
65
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
63
66
|
import "../../chunk-L4UDEKQK.mjs";
|