@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
|
@@ -268,23 +268,109 @@ var isAndroid = import_react_native2.Platform.OS === "android";
|
|
|
268
268
|
var isIOS = import_react_native2.Platform.OS === "ios";
|
|
269
269
|
|
|
270
270
|
// components/icon/Icon.native.tsx
|
|
271
|
+
var import_react7 = __toESM(require("react"));
|
|
272
|
+
var import_react_native4 = require("react-native");
|
|
273
|
+
|
|
274
|
+
// components/skeleton/Skeleton.native.tsx
|
|
271
275
|
var import_react6 = __toESM(require("react"));
|
|
272
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
273
276
|
var import_react_native3 = require("react-native");
|
|
277
|
+
var Skeleton = ({
|
|
278
|
+
style,
|
|
279
|
+
width = "100%",
|
|
280
|
+
height = 20,
|
|
281
|
+
backgroundColor = "#E1E9EE",
|
|
282
|
+
shimmerColor = "#F7F8F8",
|
|
283
|
+
duration = 1200,
|
|
284
|
+
borderRadius = 4,
|
|
285
|
+
children,
|
|
286
|
+
testID
|
|
287
|
+
}) => {
|
|
288
|
+
const shimmerValue = (0, import_react6.useRef)(new import_react_native3.Animated.Value(0)).current;
|
|
289
|
+
const [containerWidth, setContainerWidth] = import_react6.default.useState(200);
|
|
290
|
+
(0, import_react6.useEffect)(() => {
|
|
291
|
+
const shimmerAnimation = import_react_native3.Animated.loop(
|
|
292
|
+
import_react_native3.Animated.timing(shimmerValue, {
|
|
293
|
+
toValue: 1,
|
|
294
|
+
duration,
|
|
295
|
+
useNativeDriver: true
|
|
296
|
+
}),
|
|
297
|
+
{ iterations: -1 }
|
|
298
|
+
);
|
|
299
|
+
shimmerAnimation.start();
|
|
300
|
+
return () => shimmerAnimation.stop();
|
|
301
|
+
}, [shimmerValue, duration]);
|
|
302
|
+
const translateX = shimmerValue.interpolate({
|
|
303
|
+
inputRange: [0, 1],
|
|
304
|
+
outputRange: [-containerWidth, containerWidth]
|
|
305
|
+
});
|
|
306
|
+
const opacity = shimmerValue.interpolate({
|
|
307
|
+
inputRange: [0, 0.5, 1],
|
|
308
|
+
outputRange: [0.3, 0.8, 0.3]
|
|
309
|
+
});
|
|
310
|
+
const containerStyle = {
|
|
311
|
+
width: children ? void 0 : width,
|
|
312
|
+
height: children ? void 0 : height,
|
|
313
|
+
backgroundColor,
|
|
314
|
+
borderRadius,
|
|
315
|
+
overflow: "hidden",
|
|
316
|
+
alignSelf: children ? "flex-start" : void 0,
|
|
317
|
+
...style
|
|
318
|
+
};
|
|
319
|
+
const handleLayout = (event) => {
|
|
320
|
+
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
321
|
+
setContainerWidth(layoutWidth);
|
|
322
|
+
};
|
|
323
|
+
if (children) {
|
|
324
|
+
return /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react6.default.createElement(
|
|
325
|
+
import_react_native3.Animated.View,
|
|
326
|
+
{
|
|
327
|
+
style: [
|
|
328
|
+
{
|
|
329
|
+
position: "absolute",
|
|
330
|
+
top: 0,
|
|
331
|
+
left: 0,
|
|
332
|
+
width: containerWidth * 0.7,
|
|
333
|
+
height: "100%",
|
|
334
|
+
backgroundColor: shimmerColor,
|
|
335
|
+
opacity,
|
|
336
|
+
transform: [{ translateX }]
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
}
|
|
340
|
+
));
|
|
341
|
+
}
|
|
342
|
+
return /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react6.default.createElement(
|
|
343
|
+
import_react_native3.Animated.View,
|
|
344
|
+
{
|
|
345
|
+
style: [
|
|
346
|
+
{
|
|
347
|
+
width: containerWidth * 0.7,
|
|
348
|
+
height: "100%",
|
|
349
|
+
backgroundColor: shimmerColor,
|
|
350
|
+
opacity,
|
|
351
|
+
transform: [{ translateX }]
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
}
|
|
355
|
+
));
|
|
356
|
+
};
|
|
357
|
+
var Skeleton_native_default = Skeleton;
|
|
358
|
+
|
|
359
|
+
// components/icon/Icon.native.tsx
|
|
274
360
|
var import_css = require("react-native-svg/css");
|
|
275
|
-
var Icon =
|
|
361
|
+
var Icon = import_react7.default.forwardRef(
|
|
276
362
|
({ size, name, circled, stretched, color, backgroundColor, onClick, align, skeleton, testId, ...others }, ref) => {
|
|
277
363
|
const {
|
|
278
364
|
theme: { icons }
|
|
279
|
-
} = (0,
|
|
280
|
-
const statesContext = (0,
|
|
365
|
+
} = (0, import_react7.useContext)(TrilogyThemeContext);
|
|
366
|
+
const statesContext = (0, import_react7.useContext)(StatesContext);
|
|
281
367
|
const style = {};
|
|
282
368
|
const defaultSize = size === "huge" /* HUGE */ && 66 || size === "large" /* LARGE */ && 44 || size === "medium" /* MEDIUM */ && 30 || size === "small" /* SMALL */ && 20 || size === "smaller" /* SMALLER */ && 16 || 20;
|
|
283
369
|
const iconColor = color && getColorStyle(color) || statesContext.inverted && getColorStyle("WHITE" /* BACKGROUND */) || getColorStyle("MAIN" /* MAIN */);
|
|
284
370
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
285
371
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
286
372
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
287
|
-
const styles =
|
|
373
|
+
const styles = import_react_native4.StyleSheet.create({
|
|
288
374
|
rootView: {
|
|
289
375
|
alignSelf: getAlignStyle(align)
|
|
290
376
|
},
|
|
@@ -327,14 +413,23 @@ var Icon = import_react6.default.forwardRef(
|
|
|
327
413
|
justifyContent: "center"
|
|
328
414
|
}
|
|
329
415
|
});
|
|
330
|
-
const IconSkeleton = () => /* @__PURE__ */
|
|
416
|
+
const IconSkeleton = () => /* @__PURE__ */ import_react7.default.createElement(
|
|
417
|
+
Skeleton_native_default,
|
|
418
|
+
{
|
|
419
|
+
style: styles.skeleton,
|
|
420
|
+
width: circledWidth,
|
|
421
|
+
height: circledWidth,
|
|
422
|
+
borderRadius: iconSkeletonRadius,
|
|
423
|
+
testID: "skeleton-id"
|
|
424
|
+
}
|
|
425
|
+
);
|
|
331
426
|
if (skeleton) {
|
|
332
|
-
return /* @__PURE__ */
|
|
427
|
+
return /* @__PURE__ */ import_react7.default.createElement(IconSkeleton, null);
|
|
333
428
|
}
|
|
334
|
-
let iconView = /* @__PURE__ */
|
|
429
|
+
let iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, null);
|
|
335
430
|
if (name && icons) {
|
|
336
431
|
if (stretched && !circled) {
|
|
337
|
-
iconView = /* @__PURE__ */
|
|
432
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react7.default.createElement(
|
|
338
433
|
import_css.WithLocalSvg,
|
|
339
434
|
{
|
|
340
435
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -345,7 +440,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
345
440
|
}
|
|
346
441
|
));
|
|
347
442
|
} else if (circled) {
|
|
348
|
-
iconView = /* @__PURE__ */
|
|
443
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react7.default.createElement(
|
|
349
444
|
import_css.WithLocalSvg,
|
|
350
445
|
{
|
|
351
446
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -356,7 +451,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
356
451
|
}
|
|
357
452
|
));
|
|
358
453
|
} else {
|
|
359
|
-
iconView = /* @__PURE__ */
|
|
454
|
+
iconView = /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react7.default.createElement(
|
|
360
455
|
import_css.WithLocalSvg,
|
|
361
456
|
{
|
|
362
457
|
style: [styles.icon, style],
|
|
@@ -368,8 +463,8 @@ var Icon = import_react6.default.forwardRef(
|
|
|
368
463
|
));
|
|
369
464
|
}
|
|
370
465
|
}
|
|
371
|
-
return onClick ? /* @__PURE__ */
|
|
372
|
-
|
|
466
|
+
return onClick ? /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react7.default.createElement(
|
|
467
|
+
import_react_native4.TouchableOpacity,
|
|
373
468
|
{
|
|
374
469
|
style: { width: "100%" },
|
|
375
470
|
onPress: onClick,
|
|
@@ -377,7 +472,7 @@ var Icon = import_react6.default.forwardRef(
|
|
|
377
472
|
testID: `${testId}-pressable`
|
|
378
473
|
},
|
|
379
474
|
iconView
|
|
380
|
-
)) : /* @__PURE__ */
|
|
475
|
+
)) : /* @__PURE__ */ import_react7.default.createElement(import_react_native4.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
381
476
|
}
|
|
382
477
|
);
|
|
383
478
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -419,10 +514,10 @@ var setTypographyAlign = (typo = "left") => {
|
|
|
419
514
|
};
|
|
420
515
|
|
|
421
516
|
// objects/Typography/TypographyBold/index.native.tsx
|
|
422
|
-
var
|
|
517
|
+
var import_react8 = require("react");
|
|
423
518
|
var getTypographyBoldStyle = (typo) => {
|
|
424
519
|
var _a, _b, _c, _d;
|
|
425
|
-
const { theme } = (0,
|
|
520
|
+
const { theme } = (0, import_react8.useContext)(TrilogyThemeContext);
|
|
426
521
|
const currentTypo = Array.isArray(typo) ? typo : [typo];
|
|
427
522
|
switch (true) {
|
|
428
523
|
case (typo && currentTypo.includes("has-text-weight-medium" /* TEXT_WEIGHT_MEDIUM */)):
|
|
@@ -442,23 +537,23 @@ var setTypographyColor = (typo = "", inverted = false, loading = false) => {
|
|
|
442
537
|
};
|
|
443
538
|
|
|
444
539
|
// components/columns/column/Column.native.tsx
|
|
445
|
-
var
|
|
446
|
-
var
|
|
447
|
-
var Column =
|
|
448
|
-
|
|
540
|
+
var import_react9 = __toESM(require("react"));
|
|
541
|
+
var import_react_native5 = require("react-native");
|
|
542
|
+
var Column = import_react9.default.memo(
|
|
543
|
+
import_react9.default.forwardRef(
|
|
449
544
|
({ children, narrow, size, verticalAlign, ...others }, ref) => {
|
|
450
|
-
const { width, realGap, scrollable, childrensLength } =
|
|
451
|
-
const calculatedWidth =
|
|
545
|
+
const { width, realGap, scrollable, childrensLength } = import_react9.default.useContext(ColumnsContext);
|
|
546
|
+
const calculatedWidth = import_react9.default.useMemo(
|
|
452
547
|
() => size ? size / 12 * width - realGap * ((childrensLength - 1) / childrensLength) : null,
|
|
453
548
|
[size, width, realGap, childrensLength]
|
|
454
549
|
);
|
|
455
|
-
const scrollableStyle =
|
|
550
|
+
const scrollableStyle = import_react9.default.useMemo(
|
|
456
551
|
() => ({
|
|
457
552
|
width: calculatedWidth || (narrow ? "auto" : width - 2 * realGap)
|
|
458
553
|
}),
|
|
459
554
|
[calculatedWidth, narrow, width, realGap]
|
|
460
555
|
);
|
|
461
|
-
const noScrollableStyle =
|
|
556
|
+
const noScrollableStyle = import_react9.default.useMemo(
|
|
462
557
|
() => ({
|
|
463
558
|
flex: narrow ? 0 : 1,
|
|
464
559
|
flexGrow: size || narrow ? 0 : 1,
|
|
@@ -467,14 +562,14 @@ var Column = import_react8.default.memo(
|
|
|
467
562
|
}),
|
|
468
563
|
[narrow, size, calculatedWidth]
|
|
469
564
|
);
|
|
470
|
-
const justifyContentStyle =
|
|
565
|
+
const justifyContentStyle = import_react9.default.useMemo(
|
|
471
566
|
() => ({
|
|
472
567
|
justifyContent: getAlignStyle(verticalAlign)
|
|
473
568
|
}),
|
|
474
569
|
[verticalAlign]
|
|
475
570
|
);
|
|
476
|
-
return /* @__PURE__ */
|
|
477
|
-
|
|
571
|
+
return /* @__PURE__ */ import_react9.default.createElement(
|
|
572
|
+
import_react_native5.View,
|
|
478
573
|
{
|
|
479
574
|
ref,
|
|
480
575
|
style: [scrollable && scrollableStyle, !scrollable && noScrollableStyle, justifyContentStyle],
|
|
@@ -489,16 +584,16 @@ Column.displayName = "Column" /* Column */;
|
|
|
489
584
|
var Column_native_default = Column;
|
|
490
585
|
|
|
491
586
|
// components/spacer/Spacer.native.tsx
|
|
492
|
-
var
|
|
493
|
-
var
|
|
494
|
-
var Spacer =
|
|
495
|
-
const styles =
|
|
587
|
+
var React7 = __toESM(require("react"));
|
|
588
|
+
var import_react_native6 = require("react-native");
|
|
589
|
+
var Spacer = React7.forwardRef(({ size, horizontal }, ref) => {
|
|
590
|
+
const styles = import_react_native6.StyleSheet.create({
|
|
496
591
|
spacer: {
|
|
497
592
|
marginLeft: horizontal && parseInt(size.toString()) || 0,
|
|
498
593
|
marginTop: !horizontal && parseInt(size.toString()) || 0
|
|
499
594
|
}
|
|
500
595
|
});
|
|
501
|
-
return /* @__PURE__ */
|
|
596
|
+
return /* @__PURE__ */ React7.createElement(import_react_native6.View, { ref, style: styles.spacer });
|
|
502
597
|
});
|
|
503
598
|
Spacer.displayName = "Spacer" /* Spacer */;
|
|
504
599
|
var Spacer_native_default = Spacer;
|
|
@@ -521,73 +616,71 @@ var SpacerSize = /* @__PURE__ */ ((SpacerSize2) => {
|
|
|
521
616
|
var SpacerSizeValues = `${SpacerSize}`;
|
|
522
617
|
|
|
523
618
|
// components/text/Text.native.tsx
|
|
524
|
-
var
|
|
525
|
-
var
|
|
526
|
-
var
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
619
|
+
var import_react10 = __toESM(require("react"));
|
|
620
|
+
var import_react_native7 = require("react-native");
|
|
621
|
+
var Text = import_react10.default.forwardRef(
|
|
622
|
+
({ children, level, style, inverted, typo, skeleton, accessibilityLabel, numberOfLines = 0, ...others }, ref) => {
|
|
623
|
+
const statesContext = (0, import_react10.useContext)(StatesContext);
|
|
624
|
+
const textLevels = (level2) => {
|
|
625
|
+
return level2 && level2 == 1 /* ONE */ && 16 || level2 && level2 == 2 /* TWO */ && 14 || level2 && level2 == 3 /* THREE */ && 12 || level2 && level2 == 4 /* FOUR */ && 10 || 14;
|
|
626
|
+
};
|
|
627
|
+
const styles = import_react_native7.StyleSheet.create({
|
|
628
|
+
text: {
|
|
629
|
+
fontFamily: getTypographyBoldStyle(typo),
|
|
630
|
+
fontSize: textLevels(level),
|
|
631
|
+
color: setTypographyColor(typo, inverted || statesContext.inverted, skeleton),
|
|
632
|
+
textAlign: setTypographyAlign(typo),
|
|
633
|
+
lineHeight: textLevels(level) * 1.2,
|
|
634
|
+
textDecorationLine: "none",
|
|
635
|
+
alignSelf: setTypographyAlign(typo) === "left" && "flex-start" || setTypographyAlign(typo) === "center" && "center" || setTypographyAlign(typo) === "right" && "flex-end" || "flex-start"
|
|
636
|
+
},
|
|
637
|
+
skeleton: {
|
|
638
|
+
minWidth: 10,
|
|
639
|
+
alignSelf: setTypographyAlign(typo) === "left" && "flex-start" || setTypographyAlign(typo) === "center" && "center" || setTypographyAlign(typo) === "right" && "flex-end" || "flex-start",
|
|
640
|
+
borderRadius: level && level == 1 /* ONE */ && 7 || level && level == 2 /* TWO */ && 7 || level && level == 3 /* THREE */ && 5 || 3,
|
|
641
|
+
borderWidth: 0.1,
|
|
642
|
+
borderColor: getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */),
|
|
643
|
+
overflow: "hidden",
|
|
644
|
+
height: textLevels(level)
|
|
645
|
+
}
|
|
646
|
+
});
|
|
647
|
+
const textAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
648
|
+
let textView = /* @__PURE__ */ import_react10.default.createElement(
|
|
649
|
+
import_react_native7.Text,
|
|
650
|
+
{
|
|
651
|
+
ref,
|
|
652
|
+
numberOfLines,
|
|
653
|
+
ellipsizeMode: "tail",
|
|
654
|
+
maxFontSizeMultiplier: 1.3,
|
|
655
|
+
accessible: !!textAccessibilityLabel,
|
|
656
|
+
accessibilityLabel: textAccessibilityLabel,
|
|
657
|
+
style: [styles.text, style],
|
|
658
|
+
...others
|
|
659
|
+
},
|
|
660
|
+
children
|
|
661
|
+
);
|
|
662
|
+
if (skeleton) {
|
|
663
|
+
textView = /* @__PURE__ */ import_react10.default.createElement(
|
|
664
|
+
Skeleton_native_default,
|
|
665
|
+
{
|
|
666
|
+
style: styles.skeleton,
|
|
667
|
+
height: textLevels(level),
|
|
668
|
+
borderRadius: level && level == 1 /* ONE */ && 7 || level && level == 2 /* TWO */ && 7 || level && level == 3 /* THREE */ && 5 || 3
|
|
669
|
+
},
|
|
670
|
+
textView
|
|
671
|
+
);
|
|
560
672
|
}
|
|
561
|
-
|
|
562
|
-
const textAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
563
|
-
let textView = /* @__PURE__ */ import_react9.default.createElement(
|
|
564
|
-
import_react_native6.Text,
|
|
565
|
-
{
|
|
566
|
-
ref,
|
|
567
|
-
numberOfLines,
|
|
568
|
-
ellipsizeMode: "tail",
|
|
569
|
-
maxFontSizeMultiplier: 1.3,
|
|
570
|
-
accessible: !!textAccessibilityLabel,
|
|
571
|
-
accessibilityLabel: textAccessibilityLabel,
|
|
572
|
-
style: [styles.text, style],
|
|
573
|
-
...others
|
|
574
|
-
},
|
|
575
|
-
children
|
|
576
|
-
);
|
|
577
|
-
if (skeleton) {
|
|
578
|
-
textView = /* @__PURE__ */ import_react9.default.createElement(import_native2.default, { style: styles.skeleton }, textView, isAndroid && /* @__PURE__ */ import_react9.default.createElement(import_react_native6.View, null, /* @__PURE__ */ import_react9.default.createElement(import_native2.Rect, { rx: "7", ry: "7", width: "100%", height: "100%" })));
|
|
673
|
+
return textView;
|
|
579
674
|
}
|
|
580
|
-
|
|
581
|
-
});
|
|
675
|
+
);
|
|
582
676
|
Text.displayName = "Text" /* Text */;
|
|
583
677
|
var Text_native_default = Text;
|
|
584
678
|
|
|
585
679
|
// components/title/Title.native.tsx
|
|
586
|
-
var
|
|
587
|
-
var
|
|
588
|
-
var
|
|
589
|
-
var
|
|
590
|
-
var Title = React8.forwardRef(({
|
|
680
|
+
var React9 = __toESM(require("react"));
|
|
681
|
+
var import_react11 = require("react");
|
|
682
|
+
var import_react_native8 = require("react-native");
|
|
683
|
+
var Title = React9.forwardRef(({
|
|
591
684
|
children,
|
|
592
685
|
level,
|
|
593
686
|
style,
|
|
@@ -600,7 +693,7 @@ var Title = React8.forwardRef(({
|
|
|
600
693
|
overline,
|
|
601
694
|
...others
|
|
602
695
|
}, ref) => {
|
|
603
|
-
const statesContext = (0,
|
|
696
|
+
const statesContext = (0, import_react11.useContext)(StatesContext);
|
|
604
697
|
const color = setTypographyColor(typo, inverted || statesContext.inverted, skeleton);
|
|
605
698
|
const colorOverline = getColorStyle("MAIN" /* MAIN */);
|
|
606
699
|
const fontFamily = level && [1 /* ONE */, 2 /* TWO */].includes(level) ? "has-text-weight-bold" /* TEXT_WEIGHT_BOLD */ : "has-text-weight-semibold" /* TEXT_WEIGHT_SEMIBOLD */;
|
|
@@ -634,7 +727,7 @@ var Title = React8.forwardRef(({
|
|
|
634
727
|
return "flex-start";
|
|
635
728
|
}
|
|
636
729
|
};
|
|
637
|
-
const styles =
|
|
730
|
+
const styles = import_react_native8.StyleSheet.create({
|
|
638
731
|
text: {
|
|
639
732
|
fontFamily: getTypographyBoldStyle(fontFamily),
|
|
640
733
|
fontSize: titlesLevels(),
|
|
@@ -654,8 +747,8 @@ var Title = React8.forwardRef(({
|
|
|
654
747
|
}
|
|
655
748
|
});
|
|
656
749
|
const titleAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
657
|
-
let titleView = /* @__PURE__ */
|
|
658
|
-
|
|
750
|
+
let titleView = /* @__PURE__ */ React9.createElement(
|
|
751
|
+
import_react_native8.Text,
|
|
659
752
|
{
|
|
660
753
|
ref,
|
|
661
754
|
maxFontSizeMultiplier: 1.3,
|
|
@@ -667,17 +760,25 @@ var Title = React8.forwardRef(({
|
|
|
667
760
|
children
|
|
668
761
|
);
|
|
669
762
|
if (skeleton) {
|
|
670
|
-
titleView = /* @__PURE__ */
|
|
763
|
+
titleView = /* @__PURE__ */ React9.createElement(
|
|
764
|
+
Skeleton_native_default,
|
|
765
|
+
{
|
|
766
|
+
style: styles.skeleton,
|
|
767
|
+
height: titlesLevels(),
|
|
768
|
+
borderRadius: 5
|
|
769
|
+
},
|
|
770
|
+
titleView
|
|
771
|
+
);
|
|
671
772
|
}
|
|
672
|
-
return onClick ? /* @__PURE__ */
|
|
773
|
+
return onClick ? /* @__PURE__ */ React9.createElement(import_react_native8.TouchableOpacity, { onPress: onClick, activeOpacity: 0.85 }, titleView) : titleView;
|
|
673
774
|
});
|
|
674
775
|
Title.displayName = "Title" /* Title */;
|
|
675
776
|
var Title_native_default = Title;
|
|
676
777
|
|
|
677
778
|
// components/view/View.native.tsx
|
|
678
|
-
var
|
|
679
|
-
var
|
|
680
|
-
var
|
|
779
|
+
var React10 = __toESM(require("react"));
|
|
780
|
+
var import_react_native9 = require("react-native");
|
|
781
|
+
var View6 = React10.forwardRef(({
|
|
681
782
|
children,
|
|
682
783
|
style,
|
|
683
784
|
onClick,
|
|
@@ -692,7 +793,7 @@ var View7 = React9.forwardRef(({
|
|
|
692
793
|
...others
|
|
693
794
|
}, ref) => {
|
|
694
795
|
const viewColor = backgroundColor && getColorStyle(backgroundColor) || "transparent";
|
|
695
|
-
const styles =
|
|
796
|
+
const styles = import_react_native9.StyleSheet.create({
|
|
696
797
|
view: {
|
|
697
798
|
flex: flexable ? 1 : 0,
|
|
698
799
|
backgroundColor: viewColor,
|
|
@@ -711,8 +812,8 @@ var View7 = React9.forwardRef(({
|
|
|
711
812
|
height: "auto"
|
|
712
813
|
}
|
|
713
814
|
});
|
|
714
|
-
let returnView = /* @__PURE__ */
|
|
715
|
-
|
|
815
|
+
let returnView = /* @__PURE__ */ React10.createElement(
|
|
816
|
+
import_react_native9.View,
|
|
716
817
|
{
|
|
717
818
|
ref,
|
|
718
819
|
testID: id,
|
|
@@ -723,8 +824,8 @@ var View7 = React9.forwardRef(({
|
|
|
723
824
|
children
|
|
724
825
|
);
|
|
725
826
|
if (!children) {
|
|
726
|
-
returnView = /* @__PURE__ */
|
|
727
|
-
|
|
827
|
+
returnView = /* @__PURE__ */ React10.createElement(
|
|
828
|
+
import_react_native9.View,
|
|
728
829
|
{
|
|
729
830
|
ref,
|
|
730
831
|
testID: id,
|
|
@@ -735,8 +836,8 @@ var View7 = React9.forwardRef(({
|
|
|
735
836
|
);
|
|
736
837
|
}
|
|
737
838
|
if (onClick) {
|
|
738
|
-
returnView = /* @__PURE__ */
|
|
739
|
-
|
|
839
|
+
returnView = /* @__PURE__ */ React10.createElement(
|
|
840
|
+
import_react_native9.View,
|
|
740
841
|
{
|
|
741
842
|
ref,
|
|
742
843
|
testID: id,
|
|
@@ -744,11 +845,11 @@ var View7 = React9.forwardRef(({
|
|
|
744
845
|
style: [styles.view, bottom && styles.bottom, style],
|
|
745
846
|
...others
|
|
746
847
|
},
|
|
747
|
-
/* @__PURE__ */
|
|
848
|
+
/* @__PURE__ */ React10.createElement(import_react_native9.TouchableOpacity, { activeOpacity: 1, onPress: onClick }, children)
|
|
748
849
|
);
|
|
749
850
|
}
|
|
750
|
-
return backgroundSrc ? /* @__PURE__ */
|
|
751
|
-
|
|
851
|
+
return backgroundSrc ? /* @__PURE__ */ React10.createElement(
|
|
852
|
+
import_react_native9.ImageBackground,
|
|
752
853
|
{
|
|
753
854
|
style: styles.sectionImage,
|
|
754
855
|
source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }
|
|
@@ -756,20 +857,20 @@ var View7 = React9.forwardRef(({
|
|
|
756
857
|
returnView
|
|
757
858
|
) : returnView;
|
|
758
859
|
});
|
|
759
|
-
|
|
760
|
-
var View_native_default =
|
|
860
|
+
View6.displayName = "View" /* View */;
|
|
861
|
+
var View_native_default = View6;
|
|
761
862
|
|
|
762
863
|
// components/alert/Alert.native.tsx
|
|
763
|
-
var
|
|
764
|
-
var
|
|
864
|
+
var React14 = __toESM(require("react"));
|
|
865
|
+
var import_react_native12 = require("react-native");
|
|
765
866
|
var import_react_native_toast_message = __toESM(require("react-native-toast-message"));
|
|
766
867
|
|
|
767
868
|
// components/rows/Rows.native.tsx
|
|
768
|
-
var
|
|
769
|
-
var
|
|
770
|
-
var Rows =
|
|
869
|
+
var React11 = __toESM(require("react"));
|
|
870
|
+
var import_react_native10 = require("react-native");
|
|
871
|
+
var Rows = React11.forwardRef(({ children, gap, ...others }, ref) => {
|
|
771
872
|
const realGap = typeof gap === "undefined" && 16 || ColumnsGapValue[gap];
|
|
772
|
-
const styles =
|
|
873
|
+
const styles = import_react_native10.StyleSheet.create({
|
|
773
874
|
rows: {
|
|
774
875
|
display: "flex",
|
|
775
876
|
flexDirection: "column",
|
|
@@ -777,22 +878,22 @@ var Rows = React10.forwardRef(({ children, gap, ...others }, ref) => {
|
|
|
777
878
|
gap: realGap
|
|
778
879
|
}
|
|
779
880
|
});
|
|
780
|
-
return /* @__PURE__ */
|
|
881
|
+
return /* @__PURE__ */ React11.createElement(import_react_native10.View, { ref, style: styles.rows, ...others }, children);
|
|
781
882
|
});
|
|
782
883
|
Rows.displayName = "Rows" /* Rows */;
|
|
783
884
|
var Rows_native_default = Rows;
|
|
784
885
|
|
|
785
886
|
// components/rows/row/Row.native.tsx
|
|
786
|
-
var
|
|
787
|
-
var
|
|
788
|
-
var Row =
|
|
789
|
-
const styles =
|
|
887
|
+
var React12 = __toESM(require("react"));
|
|
888
|
+
var import_react_native11 = require("react-native");
|
|
889
|
+
var Row = React12.forwardRef(({ children, narrow, ...others }, ref) => {
|
|
890
|
+
const styles = import_react_native11.StyleSheet.create({
|
|
790
891
|
row: {
|
|
791
892
|
flexGrow: narrow && 0 || 1,
|
|
792
893
|
flexShrink: 1
|
|
793
894
|
}
|
|
794
895
|
});
|
|
795
|
-
return /* @__PURE__ */
|
|
896
|
+
return /* @__PURE__ */ React12.createElement(import_react_native11.View, { ref, style: styles.row, ...others }, children);
|
|
796
897
|
});
|
|
797
898
|
Row.displayName = "Row" /* Row */;
|
|
798
899
|
var Row_native_default = Row;
|
|
@@ -801,9 +902,9 @@ var Row_native_default = Row;
|
|
|
801
902
|
var index_native_default = Row_native_default;
|
|
802
903
|
|
|
803
904
|
// components/alert/context/ToasterContext.tsx
|
|
804
|
-
var
|
|
905
|
+
var import_react12 = __toESM(require("react"));
|
|
805
906
|
var emptyFn = () => 0;
|
|
806
|
-
var ToasterContext =
|
|
907
|
+
var ToasterContext = import_react12.default.createContext({ show: emptyFn, hide: emptyFn });
|
|
807
908
|
var ToasterContext_default = ToasterContext;
|
|
808
909
|
|
|
809
910
|
// components/alert/context/index.ts
|
|
@@ -822,11 +923,11 @@ var showToast = (params) => {
|
|
|
822
923
|
props: { title, description, closable, iconName, alert, onClick, status }
|
|
823
924
|
});
|
|
824
925
|
};
|
|
825
|
-
var Alert =
|
|
926
|
+
var Alert = React14.forwardRef(
|
|
826
927
|
({ banner, status, iconName, title, description, onClick, display = true, ...others }, ref) => {
|
|
827
928
|
const { color, backgroundColor } = getStatusStyle(status);
|
|
828
929
|
let alertView;
|
|
829
|
-
const styles =
|
|
930
|
+
const styles = import_react_native12.StyleSheet.create({
|
|
830
931
|
container: {
|
|
831
932
|
width: "100%",
|
|
832
933
|
paddingTop: 12,
|
|
@@ -851,17 +952,17 @@ var Alert = React13.forwardRef(
|
|
|
851
952
|
}
|
|
852
953
|
});
|
|
853
954
|
alertView = // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
854
|
-
/* @__PURE__ */
|
|
955
|
+
/* @__PURE__ */ React14.createElement(View_native_default, { style: [styles.container, others.style], ref }, /* @__PURE__ */ React14.createElement(Columns_native_default, { gap: 2, verticalAlign: "ALIGNED_START" /* ALIGNED_START */ }, /* @__PURE__ */ React14.createElement(Column_native_default, { narrow: true }, /* @__PURE__ */ React14.createElement(View_native_default, { style: { marginTop: -2 } }, /* @__PURE__ */ React14.createElement(Icon_native_default, { name: iconName ? iconName : getStatusIconName(status), color: status || "MAIN" /* MAIN */ }))), /* @__PURE__ */ React14.createElement(Column_native_default, null, /* @__PURE__ */ React14.createElement(Rows_native_default, { ...{ style: { flexGrow: 1 } }, gap: description ? 2 : 0 }, /* @__PURE__ */ React14.createElement(index_native_default, null, /* @__PURE__ */ React14.createElement(Text_native_default, { style: [styles.containerTitle], level: 1 /* ONE */, typo: "has-text-weight-semibold" /* TEXT_WEIGHT_SEMIBOLD */ }, title)), description && /* @__PURE__ */ React14.createElement(Spacer_native_default, { size: 4 /* ONE */ }), /* @__PURE__ */ React14.createElement(index_native_default, null, description && typeof description.valueOf() === "string" ? /* @__PURE__ */ React14.createElement(Text_native_default, { level: 2 /* TWO */, style: styles.description }, description) : /* @__PURE__ */ React14.createElement(View_native_default, { style: styles.description }, description))))));
|
|
855
956
|
if (onClick && display)
|
|
856
|
-
return /* @__PURE__ */
|
|
957
|
+
return /* @__PURE__ */ React14.createElement(View_native_default, null, /* @__PURE__ */ React14.createElement(import_react_native12.TouchableOpacity, { onPress: onClick, activeOpacity: 0.85 }, alertView));
|
|
857
958
|
if (!onClick && display) return alertView;
|
|
858
|
-
return /* @__PURE__ */
|
|
959
|
+
return /* @__PURE__ */ React14.createElement(View_native_default, null);
|
|
859
960
|
}
|
|
860
961
|
);
|
|
861
962
|
var ToasterAlert = ({ props }) => {
|
|
862
963
|
const { title, description, iconName, status, closable, onClick } = props;
|
|
863
964
|
const { color, backgroundColor } = getStatusStyle(status);
|
|
864
|
-
const styles =
|
|
965
|
+
const styles = import_react_native12.StyleSheet.create({
|
|
865
966
|
toaster: {
|
|
866
967
|
padding: 24
|
|
867
968
|
},
|
|
@@ -873,22 +974,22 @@ var ToasterAlert = ({ props }) => {
|
|
|
873
974
|
borderRadius: 6
|
|
874
975
|
}
|
|
875
976
|
});
|
|
876
|
-
return /* @__PURE__ */
|
|
877
|
-
|
|
977
|
+
return /* @__PURE__ */ React14.createElement(View_native_default, { style: styles.toaster }, /* @__PURE__ */ React14.createElement(import_react_native12.TouchableOpacity, { style: styles.toasterContainer, onPress: onClick }, /* @__PURE__ */ React14.createElement(Columns_native_default, null, /* @__PURE__ */ React14.createElement(Column_native_default, { size: 1 }, iconName && /* @__PURE__ */ React14.createElement(Icon_native_default, { name: iconName, color: status || "MAIN" /* MAIN */ })), /* @__PURE__ */ React14.createElement(Column_native_default, null, title && /* @__PURE__ */ React14.createElement(Title_native_default, { level: 6 /* SIX */ }, title), description && /* @__PURE__ */ React14.createElement(React14.Fragment, null, /* @__PURE__ */ React14.createElement(Spacer_native_default, { size: 8 /* TWO */ }), /* @__PURE__ */ React14.createElement(Text_native_default, { level: 3 /* THREE */ }, description))), closable && /* @__PURE__ */ React14.createElement(Column_native_default, { size: 1 }, /* @__PURE__ */ React14.createElement(
|
|
978
|
+
import_react_native12.TouchableOpacity,
|
|
878
979
|
{
|
|
879
980
|
onPress: (e) => {
|
|
880
981
|
import_react_native_toast_message.default.hide();
|
|
881
982
|
closable(e);
|
|
882
983
|
}
|
|
883
984
|
},
|
|
884
|
-
/* @__PURE__ */
|
|
985
|
+
/* @__PURE__ */ React14.createElement(Icon_native_default, { name: "tri-times" /* TIMES */, size: "small" /* SMALL */ })
|
|
885
986
|
)))));
|
|
886
987
|
};
|
|
887
988
|
var ToasterAlertProvider = ({ children }) => {
|
|
888
989
|
const toastConfig = {
|
|
889
990
|
tomatoToast: ToasterAlert
|
|
890
991
|
};
|
|
891
|
-
return /* @__PURE__ */
|
|
992
|
+
return /* @__PURE__ */ React14.createElement(context_default.Provider, { value: { show: showToast, hide: import_react_native_toast_message.default.hide } }, children, /* @__PURE__ */ React14.createElement(import_react_native_toast_message.default, { config: toastConfig }));
|
|
892
993
|
};
|
|
893
994
|
Alert.displayName = "Alert" /* Alert */;
|
|
894
995
|
var Alert_native_default = Alert;
|