@trilogy-ds/react 0.0.19-esm-cjs → 0.0.21-esm-cjs
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{chunk-NDT4BW3R.mjs → chunk-2JM27LG6.mjs} +1 -1
- package/lib/{chunk-5NJMUSWY.mjs → chunk-2LL5O6MQ.mjs} +1 -1
- package/lib/{chunk-ZRWNSZC6.mjs → chunk-3AUAH6SB.mjs} +1 -1
- package/lib/{chunk-JB7AXJFO.mjs → chunk-3CUMNA5T.mjs} +16 -4
- package/lib/{chunk-SFL4T7RS.mjs → chunk-4SO7GWOJ.mjs} +1 -1
- package/lib/{chunk-I4RR2QN7.mjs → chunk-6ENX3IQD.mjs} +2 -2
- package/lib/chunk-7DJ5V2J7.mjs +90 -0
- package/lib/{chunk-Q3NP4BBO.mjs → chunk-7GBIPPPJ.mjs} +2 -2
- package/lib/{chunk-IHTDJ5DD.mjs → chunk-ASDIW46N.mjs} +2 -2
- package/lib/{chunk-ZEEM3OU3.mjs → chunk-BRU34C4E.mjs} +3 -3
- package/lib/{chunk-T4AH7FLU.mjs → chunk-BT63AA2K.mjs} +1 -1
- package/lib/{chunk-HPM5H4HF.mjs → chunk-C6AECCOD.mjs} +1 -1
- package/lib/{chunk-5DY6WPCA.mjs → chunk-CILK7BCY.mjs} +2 -2
- package/lib/{chunk-U2STNP4N.mjs → chunk-CKEC5R4P.mjs} +1 -1
- package/lib/{chunk-RVRMMLZJ.mjs → chunk-CUP62RON.mjs} +2 -2
- package/lib/{chunk-KUVBW2U7.mjs → chunk-DJJVBJ43.mjs} +1 -1
- package/lib/{chunk-ZSBVX26X.mjs → chunk-DO5SSRTA.mjs} +1 -1
- package/lib/{chunk-MDZE2AV3.mjs → chunk-EJ56Z27S.mjs} +17 -10
- package/lib/{chunk-G2QCDZEE.mjs → chunk-EN6H737C.mjs} +1 -1
- package/lib/{chunk-ACDIJOLY.mjs → chunk-EP73KCU2.mjs} +12 -5
- package/lib/{chunk-TCRJL43C.mjs → chunk-FE4FFIG4.mjs} +2 -2
- package/lib/{chunk-XZCE64VV.mjs → chunk-FJ6D2YGE.mjs} +1 -1
- package/lib/{chunk-NKO25SIM.mjs → chunk-FJ7CLVIP.mjs} +2 -2
- package/lib/{chunk-K5D3QU3U.mjs → chunk-FT2IRACC.mjs} +2 -2
- package/lib/{chunk-QNDMUIJM.mjs → chunk-FUOU7EFL.mjs} +2 -2
- package/lib/{chunk-TPXCSXWT.mjs → chunk-G6ILMW5U.mjs} +3 -3
- package/lib/chunk-GJJJLJXB.mjs +635 -0
- package/lib/{chunk-573KW52P.mjs → chunk-GQID4AGA.mjs} +1 -1
- package/lib/{chunk-LQ2EKGFZ.mjs → chunk-HS3TUYYV.mjs} +1 -1
- package/lib/{chunk-M5W5FRMF.mjs → chunk-IOGFZUIN.mjs} +2 -2
- package/lib/{chunk-QTEMHSK5.mjs → chunk-IZHMZGGK.mjs} +1 -1
- package/lib/{chunk-WV5PBU2C.mjs → chunk-J4ZFH6JK.mjs} +17 -5
- package/lib/{chunk-67BVHO7H.mjs → chunk-JT4GOHCW.mjs} +2 -2
- package/lib/chunk-JV5B7QPH.mjs +320 -0
- package/lib/{chunk-B6D5UHOQ.mjs → chunk-JWWWYOOC.mjs} +1 -1
- package/lib/chunk-LHDHBH5T.mjs +1 -0
- package/lib/{chunk-QIEADZWY.mjs → chunk-LNFOP27Y.mjs} +1 -1
- package/lib/{chunk-7TEPMZRL.mjs → chunk-MKSHOXCA.mjs} +1 -1
- package/lib/{chunk-JDLZGLZJ.mjs → chunk-ML52WYPZ.mjs} +2 -2
- package/lib/{chunk-VSYM7BJ4.mjs → chunk-MV3N2D6T.mjs} +1 -1
- package/lib/{chunk-UPP3GX33.mjs → chunk-NEM7FT22.mjs} +16 -6
- package/lib/{chunk-NHPZIDNU.mjs → chunk-NYA63FUK.mjs} +1 -1
- package/lib/{chunk-NE4WGXUM.mjs → chunk-OPQY47KX.mjs} +1 -1
- package/lib/chunk-OSWW7RO6.mjs +84 -0
- package/lib/{chunk-23RKW2TY.mjs → chunk-P4BQZHBF.mjs} +1 -1
- package/lib/{chunk-IOXFCPJQ.mjs → chunk-PQMMGS3V.mjs} +1 -1
- package/lib/{chunk-3I74MN5M.mjs → chunk-PUBY4YSN.mjs} +2 -2
- package/lib/{chunk-VL2UCFFK.mjs → chunk-QAXBH7UN.mjs} +2 -2
- package/lib/{chunk-DWZ232Q2.mjs → chunk-QJCK6KDK.mjs} +2 -2
- package/lib/{chunk-UC3N6X6R.mjs → chunk-RDNWD3P4.mjs} +1 -1
- package/lib/{chunk-Y6VHQF2J.mjs → chunk-SOW7WGY7.mjs} +1 -1
- package/lib/{chunk-UTXKOHCM.mjs → chunk-TRCSKNBB.mjs} +3 -3
- package/lib/chunk-UZO5VCH2.mjs +1 -0
- package/lib/{chunk-2MP6W4C2.mjs → chunk-VLXOCQDY.mjs} +4 -4
- package/lib/{chunk-BIWBGSDJ.mjs → chunk-WUCECDGY.mjs} +1 -1
- package/lib/{chunk-I3LRGLUL.mjs → chunk-X737YRF5.mjs} +3 -3
- package/lib/{chunk-IT2ZBSQG.mjs → chunk-XJMDYFHO.mjs} +16 -7
- package/lib/{chunk-5ALKJFH4.mjs → chunk-XPBBHWYH.mjs} +1 -1
- package/lib/{chunk-432FETUO.mjs → chunk-YRWFLE4T.mjs} +1 -1
- package/lib/{chunk-POCUFCQC.mjs → chunk-ZG3V7XRP.mjs} +1 -1
- package/lib/{chunk-YSBY3XJC.mjs → chunk-ZK7CNJ4A.mjs} +1 -1
- package/lib/{chunk-CCIRXOIR.mjs → chunk-ZNFQWQ2T.mjs} +2 -2
- package/lib/{chunk-Y4CLZAPU.mjs → chunk-ZPYNGMOG.mjs} +2 -2
- package/lib/{chunk-27BK6EVC.mjs → chunk-ZSAEN5X7.mjs} +3 -3
- package/lib/{chunk-X5HHW5EE.mjs → chunk-ZWVIIWK3.mjs} +3 -3
- package/lib/components/accordion/index.mjs +3 -3
- package/lib/components/accordion/index.native.js +147 -52
- package/lib/components/accordion/index.native.mjs +9 -6
- package/lib/components/accordion/item/AccordionItem.native.js +137 -42
- package/lib/components/accordion/item/AccordionItem.native.mjs +6 -3
- package/lib/components/accordion/item/index.native.js +137 -42
- package/lib/components/accordion/item/index.native.mjs +6 -3
- package/lib/components/alert/Alert.mjs +1 -1
- package/lib/components/alert/Alert.native.js +239 -138
- package/lib/components/alert/Alert.native.mjs +19 -16
- package/lib/components/alert/index.mjs +1 -1
- package/lib/components/alert/index.native.js +239 -138
- package/lib/components/alert/index.native.mjs +19 -16
- package/lib/components/autocomplete/AutoComplete.mjs +13 -13
- package/lib/components/autocomplete/AutoComplete.native.js +267 -173
- package/lib/components/autocomplete/AutoComplete.native.mjs +21 -18
- package/lib/components/autocomplete/index.mjs +15 -15
- package/lib/components/autocomplete/index.native.js +275 -181
- package/lib/components/autocomplete/index.native.mjs +26 -23
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +141 -83
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +7 -5
- package/lib/components/autocomplete/item/index.mjs +1 -1
- package/lib/components/autocomplete/item/index.native.js +141 -83
- package/lib/components/autocomplete/item/index.native.mjs +7 -5
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +198 -104
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +18 -15
- package/lib/components/autocomplete/menu/index.mjs +1 -1
- package/lib/components/autocomplete/menu/index.native.js +198 -104
- package/lib/components/autocomplete/menu/index.native.mjs +18 -15
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.mjs +2 -2
- package/lib/components/autolayout/AutoLayout/index.native.mjs +2 -2
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.mjs +3 -3
- package/lib/components/autolayout/index.native.mjs +3 -3
- package/lib/components/badge/Badge.native.js +119 -24
- package/lib/components/badge/Badge.native.mjs +16 -13
- package/lib/components/badge/index.native.js +119 -24
- package/lib/components/badge/index.native.mjs +16 -13
- package/lib/components/box/Box.native.js +116 -20
- package/lib/components/box/Box.native.mjs +5 -2
- package/lib/components/box/footer/BoxFooter.native.js +115 -20
- package/lib/components/box/footer/BoxFooter.native.mjs +15 -12
- package/lib/components/box/footer/index.native.js +115 -20
- package/lib/components/box/footer/index.native.mjs +15 -12
- package/lib/components/box/header/BoxHeader.native.mjs +2 -2
- package/lib/components/box/header/index.native.mjs +2 -2
- package/lib/components/box/index.mjs +7 -7
- package/lib/components/box/index.native.js +173 -69
- package/lib/components/box/index.native.mjs +22 -19
- package/lib/components/breadcrumb/Breadcrumb.native.js +115 -20
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +6 -3
- package/lib/components/breadcrumb/index.native.js +180 -86
- package/lib/components/breadcrumb/index.native.mjs +9 -6
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +143 -85
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +7 -5
- package/lib/components/breadcrumb/item/index.native.js +143 -85
- package/lib/components/breadcrumb/item/index.native.mjs +7 -5
- package/lib/components/button/Button.native.js +140 -45
- package/lib/components/button/Button.native.mjs +16 -13
- package/lib/components/button/index.native.js +144 -49
- package/lib/components/button/index.native.mjs +16 -13
- package/lib/components/calendar/Calendar.js +15 -3
- package/lib/components/calendar/Calendar.mjs +12 -12
- package/lib/components/calendar/Calendar.native.d.mts +15 -2
- package/lib/components/calendar/Calendar.native.d.ts +15 -2
- package/lib/components/calendar/Calendar.native.js +1023 -3
- package/lib/components/calendar/Calendar.native.mjs +23 -1
- package/lib/components/calendar/index.js +15 -3
- package/lib/components/calendar/index.mjs +12 -12
- package/lib/components/calendar/index.native.js +1021 -3
- package/lib/components/calendar/index.native.mjs +23 -1
- package/lib/components/card/Card.native.js +110 -42
- package/lib/components/card/Card.native.mjs +5 -3
- package/lib/components/card/content/CardContent.native.js +114 -46
- package/lib/components/card/content/CardContent.native.mjs +6 -4
- package/lib/components/card/content/index.native.js +114 -46
- package/lib/components/card/content/index.native.mjs +6 -4
- package/lib/components/card/image/CardImage.native.js +117 -49
- package/lib/components/card/image/CardImage.native.mjs +6 -4
- package/lib/components/card/image/index.native.js +117 -49
- package/lib/components/card/image/index.native.mjs +6 -4
- package/lib/components/card/index.mjs +1 -1
- package/lib/components/card/index.native.js +121 -53
- package/lib/components/card/index.native.mjs +9 -7
- package/lib/components/checkbox/Checkbox.native.js +174 -80
- package/lib/components/checkbox/Checkbox.native.mjs +8 -5
- package/lib/components/checkbox/index.mjs +12 -12
- package/lib/components/checkbox/index.native.js +236 -142
- package/lib/components/checkbox/index.native.mjs +25 -22
- package/lib/components/checkbox/list/CheckboxList.mjs +9 -9
- package/lib/components/checkbox/list/CheckboxList.native.js +145 -87
- package/lib/components/checkbox/list/CheckboxList.native.mjs +10 -8
- package/lib/components/checkbox/list/index.mjs +9 -9
- package/lib/components/checkbox/list/index.native.js +145 -87
- package/lib/components/checkbox/list/index.native.mjs +10 -8
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +9 -9
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +196 -102
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +18 -15
- package/lib/components/checkbox/tiles/tile/index.mjs +9 -9
- package/lib/components/checkbox/tiles/tile/index.native.js +196 -102
- package/lib/components/checkbox/tiles/tile/index.native.mjs +18 -15
- package/lib/components/chips/Chips.native.js +210 -116
- package/lib/components/chips/Chips.native.mjs +8 -5
- package/lib/components/chips/index.native.js +210 -116
- package/lib/components/chips/index.native.mjs +8 -5
- package/lib/components/columns/column/Column.native.js +121 -26
- package/lib/components/columns/column/Column.native.mjs +15 -12
- package/lib/components/columns/column/index.native.js +121 -26
- package/lib/components/columns/column/index.native.mjs +15 -12
- package/lib/components/columns/index.native.js +121 -26
- package/lib/components/columns/index.native.mjs +15 -12
- package/lib/components/countdown/Countdown.native.js +148 -90
- package/lib/components/countdown/Countdown.native.mjs +7 -5
- package/lib/components/countdown/index.native.js +148 -90
- package/lib/components/countdown/index.native.mjs +7 -5
- package/lib/components/datepicker/DatePicker.js +15 -3
- package/lib/components/datepicker/DatePicker.mjs +14 -14
- package/lib/components/datepicker/DatePicker.native.d.mts +18 -2
- package/lib/components/datepicker/DatePicker.native.d.ts +18 -2
- package/lib/components/datepicker/DatePicker.native.js +1326 -3
- package/lib/components/datepicker/DatePicker.native.mjs +26 -1
- package/lib/components/datepicker/index.js +15 -3
- package/lib/components/datepicker/index.mjs +14 -14
- package/lib/components/datepicker/index.native.js +1325 -4
- package/lib/components/datepicker/index.native.mjs +26 -1
- package/lib/components/divider/Divider.native.js +182 -88
- package/lib/components/divider/Divider.native.mjs +8 -5
- package/lib/components/divider/index.native.js +182 -88
- package/lib/components/divider/index.native.mjs +8 -5
- package/lib/components/fab/Fab.native.js +175 -81
- package/lib/components/fab/Fab.native.mjs +17 -14
- package/lib/components/fab/index.native.js +175 -81
- package/lib/components/fab/index.native.mjs +17 -14
- package/lib/components/flex-box/FlexBox.native.js +139 -44
- package/lib/components/flex-box/FlexBox.native.mjs +15 -12
- package/lib/components/flex-box/index.native.js +147 -52
- package/lib/components/flex-box/index.native.mjs +15 -12
- package/lib/components/hero/Hero.native.js +191 -87
- package/lib/components/hero/Hero.native.mjs +20 -17
- package/lib/components/hero/index.native.js +191 -87
- package/lib/components/hero/index.native.mjs +20 -17
- package/lib/components/icon/Icon.native.js +109 -14
- package/lib/components/icon/Icon.native.mjs +5 -2
- package/lib/components/icon/index.native.js +109 -14
- package/lib/components/icon/index.native.mjs +5 -2
- package/lib/components/image/Image.mjs +9 -9
- package/lib/components/image/index.mjs +9 -9
- package/lib/components/index.d.mts +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +223 -124
- package/lib/components/index.mjs +88 -82
- package/lib/components/index.native.js +2118 -1082
- package/lib/components/index.native.mjs +125 -122
- package/lib/components/input/Input.mjs +9 -9
- package/lib/components/input/Input.native.js +242 -148
- package/lib/components/input/Input.native.mjs +18 -15
- package/lib/components/input/gauge/InputGauge.mjs +9 -9
- package/lib/components/input/gauge/InputGauge.native.js +190 -96
- package/lib/components/input/gauge/InputGauge.native.mjs +17 -14
- package/lib/components/input/gauge/hook/useGauge.mjs +9 -9
- package/lib/components/input/gauge/hook/useGauge.native.js +123 -28
- package/lib/components/input/gauge/hook/useGauge.native.mjs +15 -12
- package/lib/components/input/index.mjs +9 -9
- package/lib/components/input/index.native.d.mts +2 -1
- package/lib/components/input/index.native.d.ts +2 -1
- package/lib/components/input/index.native.js +242 -148
- package/lib/components/input/index.native.mjs +18 -15
- package/lib/components/link/Link.native.js +122 -27
- package/lib/components/link/Link.native.mjs +6 -3
- package/lib/components/link/index.native.js +122 -27
- package/lib/components/link/index.native.mjs +6 -3
- package/lib/components/list/index.mjs +9 -9
- package/lib/components/list/index.native.js +177 -83
- package/lib/components/list/index.native.mjs +18 -15
- package/lib/components/list/item/ListItem.mjs +9 -9
- package/lib/components/list/item/ListItem.native.js +179 -85
- package/lib/components/list/item/ListItem.native.mjs +17 -14
- package/lib/components/list/item/description/ListItemDescription.native.js +208 -114
- package/lib/components/list/item/description/ListItemDescription.native.mjs +17 -14
- package/lib/components/list/item/description/index.native.js +208 -114
- package/lib/components/list/item/description/index.native.mjs +17 -14
- package/lib/components/list/item/index.mjs +9 -9
- package/lib/components/list/item/index.native.js +179 -85
- package/lib/components/list/item/index.native.mjs +18 -15
- package/lib/components/modal/Modal.mjs +1 -1
- package/lib/components/modal/Modal.native.js +174 -72
- package/lib/components/modal/Modal.native.mjs +18 -15
- package/lib/components/modal/body/ModalBody.native.js +120 -25
- package/lib/components/modal/body/ModalBody.native.mjs +15 -12
- package/lib/components/modal/body/index.native.js +120 -25
- package/lib/components/modal/body/index.native.mjs +15 -12
- package/lib/components/modal/footer/ModalFooter.native.js +166 -64
- package/lib/components/modal/footer/ModalFooter.native.mjs +18 -15
- package/lib/components/modal/footer/index.native.js +166 -64
- package/lib/components/modal/footer/index.native.mjs +18 -15
- package/lib/components/modal/index.mjs +1 -1
- package/lib/components/modal/index.native.js +189 -87
- package/lib/components/modal/index.native.mjs +22 -19
- package/lib/components/otp/Otp.native.js +198 -97
- package/lib/components/otp/Otp.native.mjs +19 -16
- package/lib/components/otp/index.native.js +198 -97
- package/lib/components/otp/index.native.mjs +19 -16
- package/lib/components/pagination/Pagination.native.js +185 -91
- package/lib/components/pagination/Pagination.native.mjs +8 -5
- package/lib/components/pagination/index.native.js +185 -91
- package/lib/components/pagination/index.native.mjs +8 -5
- package/lib/components/popover/Popover.native.js +120 -25
- package/lib/components/popover/Popover.native.mjs +15 -12
- package/lib/components/popover/index.native.js +120 -25
- package/lib/components/popover/index.native.mjs +15 -12
- package/lib/components/price/Price.mjs +9 -9
- package/lib/components/price/Price.native.js +122 -27
- package/lib/components/price/Price.native.mjs +16 -13
- package/lib/components/price/index.mjs +9 -9
- package/lib/components/price/index.native.js +122 -27
- package/lib/components/price/index.native.mjs +16 -13
- package/lib/components/progress/Progress.mjs +9 -9
- package/lib/components/progress/Progress.native.js +214 -120
- package/lib/components/progress/Progress.native.mjs +17 -14
- package/lib/components/progress/index.mjs +14 -14
- package/lib/components/progress/index.native.js +256 -155
- package/lib/components/progress/index.native.mjs +21 -18
- package/lib/components/progress/item/ProgressItem.mjs +9 -9
- package/lib/components/progress/item/index.mjs +9 -9
- package/lib/components/progress/radial/ProgressRadial.mjs +1 -1
- package/lib/components/progress/radial/ProgressRadial.native.js +226 -125
- package/lib/components/progress/radial/ProgressRadial.native.mjs +17 -14
- package/lib/components/progress/radial/index.mjs +1 -1
- package/lib/components/progress/radial/index.native.js +226 -125
- package/lib/components/progress/radial/index.native.mjs +17 -14
- package/lib/components/radio/Radio.native.js +197 -103
- package/lib/components/radio/Radio.native.mjs +17 -14
- package/lib/components/radio/index.mjs +12 -12
- package/lib/components/radio/index.native.js +219 -125
- package/lib/components/radio/index.native.mjs +25 -22
- package/lib/components/radio/list/RadioList.mjs +9 -9
- package/lib/components/radio/list/RadioList.native.mjs +4 -4
- package/lib/components/radio/list/index.mjs +9 -9
- package/lib/components/radio/list/index.native.mjs +4 -4
- package/lib/components/radio/tiles/RadioTiles.mjs +9 -9
- package/lib/components/radio/tiles/index.mjs +9 -9
- package/lib/components/radio/tiles/tile/RadioTile.mjs +9 -9
- package/lib/components/radio/tiles/tile/RadioTile.native.js +188 -94
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +18 -15
- package/lib/components/radio/tiles/tile/index.mjs +9 -9
- package/lib/components/radio/tiles/tile/index.native.js +188 -94
- package/lib/components/radio/tiles/tile/index.native.mjs +18 -15
- package/lib/components/range/Range.mjs +9 -9
- package/lib/components/range/Range.native.js +178 -84
- package/lib/components/range/Range.native.mjs +17 -14
- package/lib/components/range/index.mjs +9 -9
- package/lib/components/range/index.native.js +178 -84
- package/lib/components/range/index.native.mjs +17 -14
- package/lib/components/scroll-view/ScrollView.mjs +9 -9
- package/lib/components/scroll-view/ScrollView.native.js +128 -33
- package/lib/components/scroll-view/ScrollView.native.mjs +15 -12
- package/lib/components/scroll-view/index.mjs +9 -9
- package/lib/components/scroll-view/index.native.js +128 -33
- package/lib/components/scroll-view/index.native.mjs +15 -12
- package/lib/components/section/Section.mjs +9 -9
- package/lib/components/section/Section.native.js +118 -23
- package/lib/components/section/Section.native.mjs +15 -12
- package/lib/components/section/index.mjs +9 -9
- package/lib/components/section/index.native.js +118 -23
- package/lib/components/section/index.native.mjs +15 -12
- package/lib/components/segment-control/SegmentControl.mjs +9 -9
- package/lib/components/segment-control/SegmentControl.native.js +221 -127
- package/lib/components/segment-control/SegmentControl.native.mjs +17 -14
- package/lib/components/segment-control/index.mjs +9 -9
- package/lib/components/segment-control/index.native.js +230 -136
- package/lib/components/segment-control/index.native.mjs +17 -14
- package/lib/components/select/Select.mjs +11 -11
- package/lib/components/select/Select.native.js +349 -248
- package/lib/components/select/Select.native.mjs +26 -23
- package/lib/components/select/index.mjs +11 -11
- package/lib/components/select/index.native.js +349 -248
- package/lib/components/select/index.native.mjs +26 -23
- package/lib/components/select/option/SelectOption.native.js +186 -92
- package/lib/components/select/option/SelectOption.native.mjs +17 -14
- package/lib/components/select/option/index.native.js +186 -92
- package/lib/components/select/option/index.native.mjs +18 -15
- package/lib/components/select/web/SelectDynamic.mjs +9 -9
- package/lib/components/select/web/SelectNative.mjs +11 -11
- package/lib/components/select/web/index.mjs +11 -11
- package/lib/components/skeleton/Skeleton.native.d.mts +4 -0
- package/lib/components/skeleton/Skeleton.native.d.ts +4 -0
- package/lib/components/skeleton/Skeleton.native.js +119 -0
- package/lib/components/skeleton/Skeleton.native.mjs +8 -0
- package/lib/components/skeleton/SkeletonProps.d.mts +13 -0
- package/lib/components/skeleton/SkeletonProps.d.ts +13 -0
- package/lib/components/skeleton/SkeletonProps.js +19 -0
- package/lib/components/skeleton/SkeletonProps.mjs +2 -0
- package/lib/components/skeleton/SkeletonPropsDefaults.js +80 -0
- package/lib/components/skeleton/index.d.mts +3 -0
- package/lib/components/skeleton/index.d.ts +3 -0
- package/lib/components/skeleton/index.js +125 -0
- package/lib/components/skeleton/index.mjs +10 -0
- package/lib/components/stepper/Stepper.native.js +174 -80
- package/lib/components/stepper/Stepper.native.mjs +17 -14
- package/lib/components/stepper/index.mjs +1 -1
- package/lib/components/stepper/index.native.js +183 -89
- package/lib/components/stepper/index.native.mjs +17 -14
- package/lib/components/stepper/step/Step.native.js +119 -24
- package/lib/components/stepper/step/Step.native.mjs +15 -12
- package/lib/components/stepper/step/index.mjs +1 -1
- package/lib/components/stepper/step/index.native.js +119 -24
- package/lib/components/stepper/step/index.native.mjs +15 -12
- package/lib/components/sticker/Sticker.mjs +9 -9
- package/lib/components/sticker/Sticker.native.js +171 -77
- package/lib/components/sticker/Sticker.native.mjs +17 -14
- package/lib/components/sticker/index.mjs +9 -9
- package/lib/components/sticker/index.native.js +171 -77
- package/lib/components/sticker/index.native.mjs +17 -14
- package/lib/components/styleComponent/index.mjs +4 -4
- package/lib/components/switch/Switch.mjs +9 -9
- package/lib/components/switch/Switch.native.js +119 -24
- package/lib/components/switch/Switch.native.mjs +15 -12
- package/lib/components/switch/index.mjs +9 -9
- package/lib/components/switch/index.native.js +119 -24
- package/lib/components/switch/index.native.mjs +15 -12
- package/lib/components/table/Table.native.js +116 -21
- package/lib/components/table/Table.native.mjs +15 -12
- package/lib/components/table/index.mjs +8 -8
- package/lib/components/table/index.native.js +214 -120
- package/lib/components/table/index.native.mjs +22 -19
- package/lib/components/table/td/TableTd.native.js +115 -20
- package/lib/components/table/td/TableTd.native.mjs +15 -12
- package/lib/components/table/td/index.native.js +115 -20
- package/lib/components/table/td/index.native.mjs +15 -12
- package/lib/components/table/th/TableTh.native.js +209 -115
- package/lib/components/table/th/TableTh.native.mjs +17 -14
- package/lib/components/table/th/index.native.js +209 -115
- package/lib/components/table/th/index.native.mjs +17 -14
- package/lib/components/table/tr/TableTr.native.js +188 -94
- package/lib/components/table/tr/TableTr.native.mjs +17 -14
- package/lib/components/table/tr/index.native.js +188 -94
- package/lib/components/table/tr/index.native.mjs +17 -14
- package/lib/components/tabs/index.mjs +1 -1
- package/lib/components/tabs/index.native.js +220 -126
- package/lib/components/tabs/index.native.mjs +19 -16
- package/lib/components/tabs/tab-list/TabList.native.js +204 -110
- package/lib/components/tabs/tab-list/TabList.native.mjs +18 -15
- package/lib/components/tabs/tab-list/index.native.js +204 -110
- package/lib/components/tabs/tab-list/index.native.mjs +18 -15
- package/lib/components/tabs/tab-list/tab/Tab.native.js +179 -85
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +8 -5
- package/lib/components/tabs/tab-list/tab/index.native.js +179 -85
- package/lib/components/tabs/tab-list/tab/index.native.mjs +8 -5
- package/lib/components/tabs/tab-panels/TabPanels.native.js +118 -23
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +15 -12
- package/lib/components/tabs/tab-panels/index.native.js +118 -23
- package/lib/components/tabs/tab-panels/index.native.mjs +15 -12
- package/lib/components/tag/Tag.native.js +115 -20
- package/lib/components/tag/Tag.native.mjs +6 -3
- package/lib/components/tag/index.mjs +9 -9
- package/lib/components/tag/index.native.js +120 -25
- package/lib/components/tag/index.native.mjs +6 -3
- package/lib/components/tag/list/TagList.mjs +9 -9
- package/lib/components/tag/list/index.mjs +9 -9
- package/lib/components/text/Text.native.js +139 -81
- package/lib/components/text/Text.native.mjs +6 -4
- package/lib/components/text/index.native.js +139 -83
- package/lib/components/text/index.native.mjs +6 -4
- package/lib/components/textarea/Textarea.mjs +9 -9
- package/lib/components/textarea/Textarea.native.js +184 -90
- package/lib/components/textarea/Textarea.native.mjs +17 -14
- package/lib/components/textarea/index.mjs +9 -9
- package/lib/components/textarea/index.native.js +184 -90
- package/lib/components/textarea/index.native.mjs +17 -14
- package/lib/components/timeline/content/TimelineContent.native.js +201 -107
- package/lib/components/timeline/content/TimelineContent.native.mjs +21 -18
- package/lib/components/timeline/content/index.native.js +201 -107
- package/lib/components/timeline/content/index.native.mjs +21 -18
- package/lib/components/timeline/index.mjs +4 -4
- package/lib/components/timeline/index.native.js +209 -115
- package/lib/components/timeline/index.native.mjs +23 -20
- package/lib/components/timeline/marker/TimelineMarker.native.js +139 -44
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +16 -13
- package/lib/components/timeline/marker/index.native.js +139 -44
- package/lib/components/timeline/marker/index.native.mjs +17 -14
- package/lib/components/title/Title.native.js +157 -55
- package/lib/components/title/Title.native.mjs +16 -13
- package/lib/components/title/index.mjs +1 -1
- package/lib/components/title/index.native.js +157 -55
- package/lib/components/title/index.native.mjs +17 -14
- package/lib/components/view/View.mjs +9 -9
- package/lib/components/view/View.native.js +125 -30
- package/lib/components/view/View.native.mjs +15 -12
- package/lib/components/view/index.mjs +9 -9
- package/lib/components/view/index.native.js +125 -30
- package/lib/components/view/index.native.mjs +15 -12
- package/lib/context/provider/index.js +1 -1
- package/lib/context/provider/index.mjs +2 -2
- package/lib/context/test/provider.test.js +1 -1
- package/lib/context/test/provider.test.mjs +2 -2
- package/lib/index.js +229 -130
- package/lib/index.mjs +93 -87
- package/lib/index.native.js +2124 -1088
- package/lib/index.native.mjs +133 -130
- package/lib/objects/Typography/index.native.mjs +4 -4
- package/lib/objects/facets/Status/index.native.js +109 -14
- package/lib/objects/facets/Status/index.native.mjs +5 -2
- package/lib/objects/facets/index.mjs +12 -12
- package/lib/objects/facets/index.native.js +109 -14
- package/lib/objects/facets/index.native.mjs +17 -14
- package/lib/objects/index.mjs +12 -12
- package/lib/objects/index.native.js +111 -16
- package/lib/objects/index.native.mjs +21 -18
- package/lib/version.d.mts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.mjs +1 -1
- package/package.json +1 -2
- package/lib/chunk-C4ZXSLQP.mjs +0 -12
- package/lib/chunk-DSY6DDC3.mjs +0 -12
- package/lib/chunk-MVQ252OA.mjs +0 -85
- package/lib/{chunk-LEXUEUIJ.mjs → chunk-3VDWD5KA.mjs} +3 -3
- package/lib/{chunk-R6JMSH4N.mjs → chunk-HHARJB6A.mjs} +3 -3
- package/lib/{chunk-MZHFYHCF.mjs → chunk-JFTUDUYA.mjs} +3 -3
- package/lib/{chunk-PGXASAXX.mjs → chunk-JP5IH4HL.mjs} +0 -0
- package/lib/{chunk-M2TC4BZG.mjs → chunk-MCQZ43VV.mjs} +3 -3
- package/lib/{chunk-GIEAPQ2H.mjs → chunk-WMZ3FFFO.mjs} +3 -3
|
@@ -311,23 +311,109 @@ var getAlignStyle = (alignType) => {
|
|
|
311
311
|
};
|
|
312
312
|
|
|
313
313
|
// components/icon/Icon.native.tsx
|
|
314
|
+
var import_react5 = __toESM(require("react"));
|
|
315
|
+
var import_react_native3 = require("react-native");
|
|
316
|
+
|
|
317
|
+
// components/skeleton/Skeleton.native.tsx
|
|
314
318
|
var import_react4 = __toESM(require("react"));
|
|
315
|
-
var import_native = __toESM(require("react-content-loader/native"));
|
|
316
319
|
var import_react_native2 = require("react-native");
|
|
320
|
+
var Skeleton = ({
|
|
321
|
+
style,
|
|
322
|
+
width = "100%",
|
|
323
|
+
height = 20,
|
|
324
|
+
backgroundColor = "#E1E9EE",
|
|
325
|
+
shimmerColor = "#F7F8F8",
|
|
326
|
+
duration = 1200,
|
|
327
|
+
borderRadius = 4,
|
|
328
|
+
children,
|
|
329
|
+
testID
|
|
330
|
+
}) => {
|
|
331
|
+
const shimmerValue = (0, import_react4.useRef)(new import_react_native2.Animated.Value(0)).current;
|
|
332
|
+
const [containerWidth, setContainerWidth] = import_react4.default.useState(200);
|
|
333
|
+
(0, import_react4.useEffect)(() => {
|
|
334
|
+
const shimmerAnimation = import_react_native2.Animated.loop(
|
|
335
|
+
import_react_native2.Animated.timing(shimmerValue, {
|
|
336
|
+
toValue: 1,
|
|
337
|
+
duration,
|
|
338
|
+
useNativeDriver: true
|
|
339
|
+
}),
|
|
340
|
+
{ iterations: -1 }
|
|
341
|
+
);
|
|
342
|
+
shimmerAnimation.start();
|
|
343
|
+
return () => shimmerAnimation.stop();
|
|
344
|
+
}, [shimmerValue, duration]);
|
|
345
|
+
const translateX = shimmerValue.interpolate({
|
|
346
|
+
inputRange: [0, 1],
|
|
347
|
+
outputRange: [-containerWidth, containerWidth]
|
|
348
|
+
});
|
|
349
|
+
const opacity = shimmerValue.interpolate({
|
|
350
|
+
inputRange: [0, 0.5, 1],
|
|
351
|
+
outputRange: [0.3, 0.8, 0.3]
|
|
352
|
+
});
|
|
353
|
+
const containerStyle = {
|
|
354
|
+
width: children ? void 0 : width,
|
|
355
|
+
height: children ? void 0 : height,
|
|
356
|
+
backgroundColor,
|
|
357
|
+
borderRadius,
|
|
358
|
+
overflow: "hidden",
|
|
359
|
+
alignSelf: children ? "flex-start" : void 0,
|
|
360
|
+
...style
|
|
361
|
+
};
|
|
362
|
+
const handleLayout = (event) => {
|
|
363
|
+
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
364
|
+
setContainerWidth(layoutWidth);
|
|
365
|
+
};
|
|
366
|
+
if (children) {
|
|
367
|
+
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react4.default.createElement(
|
|
368
|
+
import_react_native2.Animated.View,
|
|
369
|
+
{
|
|
370
|
+
style: [
|
|
371
|
+
{
|
|
372
|
+
position: "absolute",
|
|
373
|
+
top: 0,
|
|
374
|
+
left: 0,
|
|
375
|
+
width: containerWidth * 0.7,
|
|
376
|
+
height: "100%",
|
|
377
|
+
backgroundColor: shimmerColor,
|
|
378
|
+
opacity,
|
|
379
|
+
transform: [{ translateX }]
|
|
380
|
+
}
|
|
381
|
+
]
|
|
382
|
+
}
|
|
383
|
+
));
|
|
384
|
+
}
|
|
385
|
+
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(
|
|
386
|
+
import_react_native2.Animated.View,
|
|
387
|
+
{
|
|
388
|
+
style: [
|
|
389
|
+
{
|
|
390
|
+
width: containerWidth * 0.7,
|
|
391
|
+
height: "100%",
|
|
392
|
+
backgroundColor: shimmerColor,
|
|
393
|
+
opacity,
|
|
394
|
+
transform: [{ translateX }]
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
}
|
|
398
|
+
));
|
|
399
|
+
};
|
|
400
|
+
var Skeleton_native_default = Skeleton;
|
|
401
|
+
|
|
402
|
+
// components/icon/Icon.native.tsx
|
|
317
403
|
var import_css = require("react-native-svg/css");
|
|
318
|
-
var Icon =
|
|
404
|
+
var Icon = import_react5.default.forwardRef(
|
|
319
405
|
({ size, name, circled, stretched, color, backgroundColor, onClick, align, skeleton, testId, ...others }, ref) => {
|
|
320
406
|
const {
|
|
321
407
|
theme: { icons }
|
|
322
|
-
} = (0,
|
|
323
|
-
const statesContext = (0,
|
|
408
|
+
} = (0, import_react5.useContext)(TrilogyThemeContext);
|
|
409
|
+
const statesContext = (0, import_react5.useContext)(StatesContext);
|
|
324
410
|
const style = {};
|
|
325
411
|
const defaultSize = size === "huge" /* HUGE */ && 66 || size === "large" /* LARGE */ && 44 || size === "medium" /* MEDIUM */ && 30 || size === "small" /* SMALL */ && 20 || size === "smaller" /* SMALLER */ && 16 || 20;
|
|
326
412
|
const iconColor = color && getColorStyle(color) || statesContext.inverted && getColorStyle("WHITE" /* BACKGROUND */) || getColorStyle("MAIN" /* MAIN */);
|
|
327
413
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
328
414
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
329
415
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
330
|
-
const styles =
|
|
416
|
+
const styles = import_react_native3.StyleSheet.create({
|
|
331
417
|
rootView: {
|
|
332
418
|
alignSelf: getAlignStyle(align)
|
|
333
419
|
},
|
|
@@ -370,14 +456,23 @@ var Icon = import_react4.default.forwardRef(
|
|
|
370
456
|
justifyContent: "center"
|
|
371
457
|
}
|
|
372
458
|
});
|
|
373
|
-
const IconSkeleton = () => /* @__PURE__ */
|
|
459
|
+
const IconSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
460
|
+
Skeleton_native_default,
|
|
461
|
+
{
|
|
462
|
+
style: styles.skeleton,
|
|
463
|
+
width: circledWidth,
|
|
464
|
+
height: circledWidth,
|
|
465
|
+
borderRadius: iconSkeletonRadius,
|
|
466
|
+
testID: "skeleton-id"
|
|
467
|
+
}
|
|
468
|
+
);
|
|
374
469
|
if (skeleton) {
|
|
375
|
-
return /* @__PURE__ */
|
|
470
|
+
return /* @__PURE__ */ import_react5.default.createElement(IconSkeleton, null);
|
|
376
471
|
}
|
|
377
|
-
let iconView = /* @__PURE__ */
|
|
472
|
+
let iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, null);
|
|
378
473
|
if (name && icons) {
|
|
379
474
|
if (stretched && !circled) {
|
|
380
|
-
iconView = /* @__PURE__ */
|
|
475
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
381
476
|
import_css.WithLocalSvg,
|
|
382
477
|
{
|
|
383
478
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -388,7 +483,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
388
483
|
}
|
|
389
484
|
));
|
|
390
485
|
} else if (circled) {
|
|
391
|
-
iconView = /* @__PURE__ */
|
|
486
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
392
487
|
import_css.WithLocalSvg,
|
|
393
488
|
{
|
|
394
489
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -399,7 +494,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
399
494
|
}
|
|
400
495
|
));
|
|
401
496
|
} else {
|
|
402
|
-
iconView = /* @__PURE__ */
|
|
497
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react5.default.createElement(
|
|
403
498
|
import_css.WithLocalSvg,
|
|
404
499
|
{
|
|
405
500
|
style: [styles.icon, style],
|
|
@@ -411,8 +506,8 @@ var Icon = import_react4.default.forwardRef(
|
|
|
411
506
|
));
|
|
412
507
|
}
|
|
413
508
|
}
|
|
414
|
-
return onClick ? /* @__PURE__ */
|
|
415
|
-
|
|
509
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react5.default.createElement(
|
|
510
|
+
import_react_native3.TouchableOpacity,
|
|
416
511
|
{
|
|
417
512
|
style: { width: "100%" },
|
|
418
513
|
onPress: onClick,
|
|
@@ -420,7 +515,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
420
515
|
testID: `${testId}-pressable`
|
|
421
516
|
},
|
|
422
517
|
iconView
|
|
423
|
-
)) : /* @__PURE__ */
|
|
518
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(import_react_native3.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
424
519
|
}
|
|
425
520
|
);
|
|
426
521
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -432,10 +527,10 @@ var setTypographyAlign = (typo = "left") => {
|
|
|
432
527
|
};
|
|
433
528
|
|
|
434
529
|
// objects/Typography/TypographyBold/index.native.tsx
|
|
435
|
-
var
|
|
530
|
+
var import_react6 = require("react");
|
|
436
531
|
var getTypographyBoldStyle = (typo) => {
|
|
437
532
|
var _a, _b, _c, _d;
|
|
438
|
-
const { theme } = (0,
|
|
533
|
+
const { theme } = (0, import_react6.useContext)(TrilogyThemeContext);
|
|
439
534
|
const currentTypo = Array.isArray(typo) ? typo : [typo];
|
|
440
535
|
switch (true) {
|
|
441
536
|
case (typo && currentTypo.includes("has-text-weight-medium" /* TEXT_WEIGHT_MEDIUM */)):
|
|
@@ -455,77 +550,76 @@ var setTypographyColor = (typo = "", inverted = false, loading = false) => {
|
|
|
455
550
|
};
|
|
456
551
|
|
|
457
552
|
// components/text/Text.native.tsx
|
|
458
|
-
var
|
|
459
|
-
var
|
|
460
|
-
var
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
553
|
+
var import_react7 = __toESM(require("react"));
|
|
554
|
+
var import_react_native4 = require("react-native");
|
|
555
|
+
var Text = import_react7.default.forwardRef(
|
|
556
|
+
({ children, level, style, inverted, typo, skeleton, accessibilityLabel, numberOfLines = 0, ...others }, ref) => {
|
|
557
|
+
const statesContext = (0, import_react7.useContext)(StatesContext);
|
|
558
|
+
const textLevels = (level2) => {
|
|
559
|
+
return level2 && level2 == 1 /* ONE */ && 16 || level2 && level2 == 2 /* TWO */ && 14 || level2 && level2 == 3 /* THREE */ && 12 || level2 && level2 == 4 /* FOUR */ && 10 || 14;
|
|
560
|
+
};
|
|
561
|
+
const styles = import_react_native4.StyleSheet.create({
|
|
562
|
+
text: {
|
|
563
|
+
fontFamily: getTypographyBoldStyle(typo),
|
|
564
|
+
fontSize: textLevels(level),
|
|
565
|
+
color: setTypographyColor(typo, inverted || statesContext.inverted, skeleton),
|
|
566
|
+
textAlign: setTypographyAlign(typo),
|
|
567
|
+
lineHeight: textLevels(level) * 1.2,
|
|
568
|
+
textDecorationLine: "none",
|
|
569
|
+
alignSelf: setTypographyAlign(typo) === "left" && "flex-start" || setTypographyAlign(typo) === "center" && "center" || setTypographyAlign(typo) === "right" && "flex-end" || "flex-start"
|
|
570
|
+
},
|
|
571
|
+
skeleton: {
|
|
572
|
+
minWidth: 10,
|
|
573
|
+
alignSelf: setTypographyAlign(typo) === "left" && "flex-start" || setTypographyAlign(typo) === "center" && "center" || setTypographyAlign(typo) === "right" && "flex-end" || "flex-start",
|
|
574
|
+
borderRadius: level && level == 1 /* ONE */ && 7 || level && level == 2 /* TWO */ && 7 || level && level == 3 /* THREE */ && 5 || 3,
|
|
575
|
+
borderWidth: 0.1,
|
|
576
|
+
borderColor: getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */),
|
|
577
|
+
overflow: "hidden",
|
|
578
|
+
height: textLevels(level)
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
const textAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
582
|
+
let textView = /* @__PURE__ */ import_react7.default.createElement(
|
|
583
|
+
import_react_native4.Text,
|
|
584
|
+
{
|
|
585
|
+
ref,
|
|
586
|
+
numberOfLines,
|
|
587
|
+
ellipsizeMode: "tail",
|
|
588
|
+
maxFontSizeMultiplier: 1.3,
|
|
589
|
+
accessible: !!textAccessibilityLabel,
|
|
590
|
+
accessibilityLabel: textAccessibilityLabel,
|
|
591
|
+
style: [styles.text, style],
|
|
592
|
+
...others
|
|
593
|
+
},
|
|
594
|
+
children
|
|
595
|
+
);
|
|
596
|
+
if (skeleton) {
|
|
597
|
+
textView = /* @__PURE__ */ import_react7.default.createElement(
|
|
598
|
+
Skeleton_native_default,
|
|
599
|
+
{
|
|
600
|
+
style: styles.skeleton,
|
|
601
|
+
height: textLevels(level),
|
|
602
|
+
borderRadius: level && level == 1 /* ONE */ && 7 || level && level == 2 /* TWO */ && 7 || level && level == 3 /* THREE */ && 5 || 3
|
|
603
|
+
},
|
|
604
|
+
textView
|
|
605
|
+
);
|
|
494
606
|
}
|
|
495
|
-
|
|
496
|
-
const textAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
497
|
-
let textView = /* @__PURE__ */ import_react6.default.createElement(
|
|
498
|
-
import_react_native3.Text,
|
|
499
|
-
{
|
|
500
|
-
ref,
|
|
501
|
-
numberOfLines,
|
|
502
|
-
ellipsizeMode: "tail",
|
|
503
|
-
maxFontSizeMultiplier: 1.3,
|
|
504
|
-
accessible: !!textAccessibilityLabel,
|
|
505
|
-
accessibilityLabel: textAccessibilityLabel,
|
|
506
|
-
style: [styles.text, style],
|
|
507
|
-
...others
|
|
508
|
-
},
|
|
509
|
-
children
|
|
510
|
-
);
|
|
511
|
-
if (skeleton) {
|
|
512
|
-
textView = /* @__PURE__ */ import_react6.default.createElement(import_native2.default, { style: styles.skeleton }, textView, isAndroid && /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, null, /* @__PURE__ */ import_react6.default.createElement(import_native2.Rect, { rx: "7", ry: "7", width: "100%", height: "100%" })));
|
|
607
|
+
return textView;
|
|
513
608
|
}
|
|
514
|
-
|
|
515
|
-
});
|
|
609
|
+
);
|
|
516
610
|
Text.displayName = "Text" /* Text */;
|
|
517
611
|
var Text_native_default = Text;
|
|
518
612
|
|
|
519
613
|
// components/checkbox/Checkbox.native.tsx
|
|
520
|
-
var
|
|
521
|
-
var
|
|
522
|
-
var Checkbox =
|
|
523
|
-
({ id =
|
|
524
|
-
const [_checked, setChecked] = (0,
|
|
525
|
-
(0,
|
|
614
|
+
var import_react8 = __toESM(require("react"));
|
|
615
|
+
var import_react_native5 = require("react-native");
|
|
616
|
+
var Checkbox = import_react8.default.forwardRef(
|
|
617
|
+
({ id = import_react8.default.useId(), checked, name, onChange, disabled, readonly, label }, ref) => {
|
|
618
|
+
const [_checked, setChecked] = (0, import_react8.useState)(checked || false);
|
|
619
|
+
(0, import_react8.useEffect)(() => {
|
|
526
620
|
setChecked(checked || false);
|
|
527
621
|
}, [checked]);
|
|
528
|
-
const styles =
|
|
622
|
+
const styles = import_react_native5.StyleSheet.create({
|
|
529
623
|
container: {
|
|
530
624
|
flexDirection: "row",
|
|
531
625
|
justifyContent: "flex-start"
|
|
@@ -562,14 +656,14 @@ var Checkbox = import_react7.default.forwardRef(
|
|
|
562
656
|
}
|
|
563
657
|
}
|
|
564
658
|
};
|
|
565
|
-
return /* @__PURE__ */
|
|
659
|
+
return /* @__PURE__ */ import_react8.default.createElement(import_react_native5.TouchableOpacity, { ref, disabled, style: styles.container, onPress: () => handleClick() }, /* @__PURE__ */ import_react8.default.createElement(import_react_native5.TouchableOpacity, { style: styles.checkBox, disabled, testID: id, onPressIn: () => handleClick() }, _checked && /* @__PURE__ */ import_react8.default.createElement(Icon_native_default, { size: "smaller" /* SMALLER */, color: "WHITE" /* BACKGROUND */, name: "tri-check" /* CHECK */ })), label && typeof label.valueOf() === "string" ? /* @__PURE__ */ import_react8.default.createElement(Text_native_default, { style: styles.label }, String(label)) : label);
|
|
566
660
|
}
|
|
567
661
|
);
|
|
568
662
|
Checkbox.displayName = "Checkbox" /* Checkbox */;
|
|
569
663
|
var Checkbox_native_default = Checkbox;
|
|
570
664
|
|
|
571
665
|
// components/autolayout/AutoLayout/AutoLayout.native.tsx
|
|
572
|
-
var
|
|
666
|
+
var React8 = __toESM(require("react"));
|
|
573
667
|
|
|
574
668
|
// components/autolayout/SpacingMatrix/index.native.ts
|
|
575
669
|
var SpacingMatrixMode = /* @__PURE__ */ ((SpacingMatrixMode2) => {
|
|
@@ -633,25 +727,25 @@ var DEFAULT_SPACING_MATRIX = [
|
|
|
633
727
|
];
|
|
634
728
|
|
|
635
729
|
// components/autolayout/helpers/AutoLayout.helpers.native.tsx
|
|
636
|
-
var
|
|
730
|
+
var import_react9 = __toESM(require("react"));
|
|
637
731
|
|
|
638
732
|
// components/spacer/Spacer.native.tsx
|
|
639
|
-
var
|
|
640
|
-
var
|
|
641
|
-
var Spacer =
|
|
642
|
-
const styles =
|
|
733
|
+
var React6 = __toESM(require("react"));
|
|
734
|
+
var import_react_native6 = require("react-native");
|
|
735
|
+
var Spacer = React6.forwardRef(({ size, horizontal }, ref) => {
|
|
736
|
+
const styles = import_react_native6.StyleSheet.create({
|
|
643
737
|
spacer: {
|
|
644
738
|
marginLeft: horizontal && parseInt(size.toString()) || 0,
|
|
645
739
|
marginTop: !horizontal && parseInt(size.toString()) || 0
|
|
646
740
|
}
|
|
647
741
|
});
|
|
648
|
-
return /* @__PURE__ */
|
|
742
|
+
return /* @__PURE__ */ React6.createElement(import_react_native6.View, { ref, style: styles.spacer });
|
|
649
743
|
});
|
|
650
744
|
Spacer.displayName = "Spacer" /* Spacer */;
|
|
651
745
|
var Spacer_native_default = Spacer;
|
|
652
746
|
|
|
653
747
|
// components/autolayout/helpers/AutoLayout.helpers.native.tsx
|
|
654
|
-
var isFragment = (element) => (element == null ? void 0 : element.type) ===
|
|
748
|
+
var isFragment = (element) => (element == null ? void 0 : element.type) === import_react9.default.Fragment;
|
|
655
749
|
var getTrilogyComponentName = (child) => {
|
|
656
750
|
const componentsKeys = Object.keys(ComponentName).filter((key) => key);
|
|
657
751
|
return componentsKeys.find((key) => {
|
|
@@ -671,7 +765,7 @@ var parseChildren = ({ children, handleBetweenChildren }) => {
|
|
|
671
765
|
const previousChild = accumulator[accumulator.length - 1];
|
|
672
766
|
const getChildCandidateToComparison = (child, accumulator2) => {
|
|
673
767
|
if (isElementType(child, "AutoLayout")) {
|
|
674
|
-
return getChildCandidateToComparison(
|
|
768
|
+
return getChildCandidateToComparison(import_react9.default.Children.toArray(child.props.children)[0]);
|
|
675
769
|
}
|
|
676
770
|
if (child === null && accumulator2 && accumulator2.length >= 2) {
|
|
677
771
|
return getChildCandidateToComparison(accumulator2[accumulator2.length - 2], accumulator2.slice(0, -1));
|
|
@@ -690,7 +784,7 @@ var parseChildren = ({ children, handleBetweenChildren }) => {
|
|
|
690
784
|
});
|
|
691
785
|
return [
|
|
692
786
|
...accumulator,
|
|
693
|
-
nextChild &&
|
|
787
|
+
nextChild && import_react9.default.cloneElement(nextChild, {
|
|
694
788
|
key: nextChild.key || `child${childIndex}`
|
|
695
789
|
})
|
|
696
790
|
];
|
|
@@ -712,7 +806,7 @@ var autoLayoutChildrenHandler = (matrix, { accumulator, previousChildType, nextC
|
|
|
712
806
|
if (isRuleApplicable) {
|
|
713
807
|
alreadySpaced = true;
|
|
714
808
|
if (mode === 0 /* INSERT_SPACE_BETWEEN */) {
|
|
715
|
-
accumulator.push(/* @__PURE__ */
|
|
809
|
+
accumulator.push(/* @__PURE__ */ import_react9.default.createElement(Spacer_native_default, { key: `spacer${childIndex}`, size: value }));
|
|
716
810
|
} else if (mode === 1 /* INSERT_ELEMENT_BETWEEN */) {
|
|
717
811
|
accumulator.push(value);
|
|
718
812
|
}
|
|
@@ -720,10 +814,10 @@ var autoLayoutChildrenHandler = (matrix, { accumulator, previousChildType, nextC
|
|
|
720
814
|
});
|
|
721
815
|
};
|
|
722
816
|
var createChildrenArray = (array, children) => {
|
|
723
|
-
|
|
817
|
+
import_react9.default.Children.forEach(children, (child) => {
|
|
724
818
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
725
819
|
if (isFragment(child)) {
|
|
726
|
-
|
|
820
|
+
import_react9.default.Children.forEach(child == null ? void 0 : child.props.children, (item) => {
|
|
727
821
|
createChildrenArray(array, item);
|
|
728
822
|
});
|
|
729
823
|
} else if ((child == null ? void 0 : child.type) && ((_a = child == null ? void 0 : child.type) == null ? void 0 : _a.displayName) !== getTrilogyComponentName(child) && ((_b = child == null ? void 0 : child.type) == null ? void 0 : _b.$$typeof) === void 0) {
|
|
@@ -759,36 +853,36 @@ var AutoLayout = ({
|
|
|
759
853
|
}) => {
|
|
760
854
|
const hasBottomEdge = edges == null ? void 0 : edges.includes("bottom");
|
|
761
855
|
const hasTopEdge = edges == null ? void 0 : edges.includes("top");
|
|
762
|
-
return /* @__PURE__ */
|
|
856
|
+
return /* @__PURE__ */ React8.createElement(React8.Fragment, null, hasTopEdge && /* @__PURE__ */ React8.createElement(Spacer_native_default, { size: edgeSize }), noSpace ? children : parseChildren({
|
|
763
857
|
children,
|
|
764
858
|
handleBetweenChildren: (props) => autoLayoutChildrenHandler(matrix, props)
|
|
765
|
-
}), hasBottomEdge && /* @__PURE__ */
|
|
859
|
+
}), hasBottomEdge && /* @__PURE__ */ React8.createElement(Spacer_native_default, { size: edgeSize }));
|
|
766
860
|
};
|
|
767
861
|
AutoLayout.displayName = "AutoLayout" /* AutoLayout */;
|
|
768
862
|
var AutoLayout_native_default = AutoLayout;
|
|
769
863
|
|
|
770
864
|
// components/autolayout/AutoLayoutWrapper/index.native.tsx
|
|
771
|
-
var
|
|
865
|
+
var React9 = __toESM(require("react"));
|
|
772
866
|
var AutoLayoutWrapper = ({ autolayout = true, children }) => {
|
|
773
867
|
if (autolayout === true) {
|
|
774
|
-
return /* @__PURE__ */
|
|
868
|
+
return /* @__PURE__ */ React9.createElement(AutoLayout_native_default, null, children);
|
|
775
869
|
} else if (autolayout) {
|
|
776
|
-
return /* @__PURE__ */
|
|
870
|
+
return /* @__PURE__ */ React9.createElement(AutoLayout_native_default, { matrix: autolayout }, children);
|
|
777
871
|
} else {
|
|
778
|
-
return /* @__PURE__ */
|
|
872
|
+
return /* @__PURE__ */ React9.createElement(React9.Fragment, null, children);
|
|
779
873
|
}
|
|
780
874
|
};
|
|
781
875
|
var index_native_default = AutoLayoutWrapper;
|
|
782
876
|
|
|
783
877
|
// helpers/require/index.ts
|
|
784
|
-
var
|
|
785
|
-
var isRequiredChild = (children) =>
|
|
786
|
-
(child) =>
|
|
878
|
+
var import_react10 = __toESM(require("react"));
|
|
879
|
+
var isRequiredChild = (children) => import_react10.default.Children.toArray(children).some(
|
|
880
|
+
(child) => import_react10.default.isValidElement(child) && child.props.required
|
|
787
881
|
);
|
|
788
882
|
|
|
789
883
|
// components/checkbox/list/CheckboxList.native.tsx
|
|
790
|
-
var
|
|
791
|
-
var
|
|
884
|
+
var React11 = __toESM(require("react"));
|
|
885
|
+
var import_react_native7 = require("react-native");
|
|
792
886
|
var { THREE: THREE2, TWO: TWO2 } = SpacerSize;
|
|
793
887
|
var { INSERT_SPACE_BETWEEN: INSERT_SPACE_BETWEEN2 } = SpacingMatrixMode;
|
|
794
888
|
var SPACING_MATRIX = [
|
|
@@ -796,25 +890,25 @@ var SPACING_MATRIX = [
|
|
|
796
890
|
[INSERT_SPACE_BETWEEN2, "Divider", "Checkbox", TWO2],
|
|
797
891
|
[INSERT_SPACE_BETWEEN2, "Checkbox", "Checkbox", THREE2]
|
|
798
892
|
];
|
|
799
|
-
var CheckboxList =
|
|
893
|
+
var CheckboxList = React11.forwardRef(
|
|
800
894
|
({ children, label }, ref) => {
|
|
801
|
-
const styles =
|
|
895
|
+
const styles = import_react_native7.StyleSheet.create({
|
|
802
896
|
label: {
|
|
803
897
|
marginBottom: 8
|
|
804
898
|
}
|
|
805
899
|
});
|
|
806
|
-
return /* @__PURE__ */
|
|
900
|
+
return /* @__PURE__ */ React11.createElement(index_native_default, { ...{ autolayout: SPACING_MATRIX } }, label && /* @__PURE__ */ React11.createElement(Text_native_default, { style: styles.label }, label, " ", isRequiredChild(children) && /* @__PURE__ */ React11.createElement(Text_native_default, { typo: "has-text-error" /* TEXT_ERROR */ }, "*")), children);
|
|
807
901
|
}
|
|
808
902
|
);
|
|
809
903
|
CheckboxList.displayName = "CheckboxList" /* CheckboxList */;
|
|
810
904
|
var CheckboxList_native_default = CheckboxList;
|
|
811
905
|
|
|
812
906
|
// components/checkbox/tiles/CheckboxTiles.native.tsx
|
|
813
|
-
var
|
|
814
|
-
var
|
|
815
|
-
var CheckboxTiles =
|
|
907
|
+
var import_react11 = __toESM(require("react"));
|
|
908
|
+
var import_react_native8 = require("react-native");
|
|
909
|
+
var CheckboxTiles = import_react11.default.forwardRef(
|
|
816
910
|
({ children, align, verticalAlign, ...others }, ref) => {
|
|
817
|
-
const styles =
|
|
911
|
+
const styles = import_react_native8.StyleSheet.create({
|
|
818
912
|
container: {
|
|
819
913
|
justifyContent: getAlignStyle(align),
|
|
820
914
|
alignItems: verticalAlign && getAlignStyle(verticalAlign) || align && getAlignStyle(align),
|
|
@@ -823,7 +917,7 @@ var CheckboxTiles = import_react10.default.forwardRef(
|
|
|
823
917
|
gap: 8 /* TWO */
|
|
824
918
|
}
|
|
825
919
|
});
|
|
826
|
-
return /* @__PURE__ */
|
|
920
|
+
return /* @__PURE__ */ import_react11.default.createElement(import_react_native8.View, { ref, style: styles.container, ...others }, children);
|
|
827
921
|
}
|
|
828
922
|
);
|
|
829
923
|
CheckboxTiles.displayName = "CheckboxTiles" /* CheckboxTiles */;
|
|
@@ -873,12 +967,12 @@ var getVariantStyle = (variantType) => {
|
|
|
873
967
|
};
|
|
874
968
|
|
|
875
969
|
// components/sticker/Sticker.native.tsx
|
|
876
|
-
var
|
|
877
|
-
var
|
|
878
|
-
var Sticker =
|
|
970
|
+
var React13 = __toESM(require("react"));
|
|
971
|
+
var import_react_native9 = require("react-native");
|
|
972
|
+
var Sticker = React13.forwardRef(
|
|
879
973
|
({ variant, small, outlined, label, iconName, accessibilityLabel, ...others }, ref) => {
|
|
880
974
|
const defaultColor = getColorStyle("MAIN" /* MAIN */);
|
|
881
|
-
const styles =
|
|
975
|
+
const styles = import_react_native9.StyleSheet.create({
|
|
882
976
|
sticker: {
|
|
883
977
|
flexDirection: "row",
|
|
884
978
|
justifyContent: "center",
|
|
@@ -912,16 +1006,16 @@ var Sticker = React12.forwardRef(
|
|
|
912
1006
|
marginTop: 1
|
|
913
1007
|
}
|
|
914
1008
|
});
|
|
915
|
-
return /* @__PURE__ */
|
|
1009
|
+
return /* @__PURE__ */ React13.createElement(import_react_native9.View, { ref, style: styles.sticker, accessibilityLabel, ...others }, iconName && /* @__PURE__ */ React13.createElement(Icon_native_default, { color: "WHITE" /* BACKGROUND */, size: small ? "smaller" /* SMALLER */ : "small" /* SMALL */, name: iconName }), label && /* @__PURE__ */ React13.createElement(Text_native_default, { style: styles.text, typo: ["has-text-weight-semibold" /* TEXT_WEIGHT_SEMIBOLD */] }, label));
|
|
916
1010
|
}
|
|
917
1011
|
);
|
|
918
1012
|
Sticker.displayName = "Sticker" /* Sticker */;
|
|
919
1013
|
var Sticker_native_default = Sticker;
|
|
920
1014
|
|
|
921
1015
|
// components/view/View.native.tsx
|
|
922
|
-
var
|
|
923
|
-
var
|
|
924
|
-
var View6 =
|
|
1016
|
+
var React14 = __toESM(require("react"));
|
|
1017
|
+
var import_react_native10 = require("react-native");
|
|
1018
|
+
var View6 = React14.forwardRef(({
|
|
925
1019
|
children,
|
|
926
1020
|
style,
|
|
927
1021
|
onClick,
|
|
@@ -936,7 +1030,7 @@ var View6 = React13.forwardRef(({
|
|
|
936
1030
|
...others
|
|
937
1031
|
}, ref) => {
|
|
938
1032
|
const viewColor = backgroundColor && getColorStyle(backgroundColor) || "transparent";
|
|
939
|
-
const styles =
|
|
1033
|
+
const styles = import_react_native10.StyleSheet.create({
|
|
940
1034
|
view: {
|
|
941
1035
|
flex: flexable ? 1 : 0,
|
|
942
1036
|
backgroundColor: viewColor,
|
|
@@ -955,8 +1049,8 @@ var View6 = React13.forwardRef(({
|
|
|
955
1049
|
height: "auto"
|
|
956
1050
|
}
|
|
957
1051
|
});
|
|
958
|
-
let returnView = /* @__PURE__ */
|
|
959
|
-
|
|
1052
|
+
let returnView = /* @__PURE__ */ React14.createElement(
|
|
1053
|
+
import_react_native10.View,
|
|
960
1054
|
{
|
|
961
1055
|
ref,
|
|
962
1056
|
testID: id,
|
|
@@ -967,8 +1061,8 @@ var View6 = React13.forwardRef(({
|
|
|
967
1061
|
children
|
|
968
1062
|
);
|
|
969
1063
|
if (!children) {
|
|
970
|
-
returnView = /* @__PURE__ */
|
|
971
|
-
|
|
1064
|
+
returnView = /* @__PURE__ */ React14.createElement(
|
|
1065
|
+
import_react_native10.View,
|
|
972
1066
|
{
|
|
973
1067
|
ref,
|
|
974
1068
|
testID: id,
|
|
@@ -979,8 +1073,8 @@ var View6 = React13.forwardRef(({
|
|
|
979
1073
|
);
|
|
980
1074
|
}
|
|
981
1075
|
if (onClick) {
|
|
982
|
-
returnView = /* @__PURE__ */
|
|
983
|
-
|
|
1076
|
+
returnView = /* @__PURE__ */ React14.createElement(
|
|
1077
|
+
import_react_native10.View,
|
|
984
1078
|
{
|
|
985
1079
|
ref,
|
|
986
1080
|
testID: id,
|
|
@@ -988,11 +1082,11 @@ var View6 = React13.forwardRef(({
|
|
|
988
1082
|
style: [styles.view, bottom && styles.bottom, style],
|
|
989
1083
|
...others
|
|
990
1084
|
},
|
|
991
|
-
/* @__PURE__ */
|
|
1085
|
+
/* @__PURE__ */ React14.createElement(import_react_native10.TouchableOpacity, { activeOpacity: 1, onPress: onClick }, children)
|
|
992
1086
|
);
|
|
993
1087
|
}
|
|
994
|
-
return backgroundSrc ? /* @__PURE__ */
|
|
995
|
-
|
|
1088
|
+
return backgroundSrc ? /* @__PURE__ */ React14.createElement(
|
|
1089
|
+
import_react_native10.ImageBackground,
|
|
996
1090
|
{
|
|
997
1091
|
style: styles.sectionImage,
|
|
998
1092
|
source: typeof backgroundSrc === "number" ? backgroundSrc : { uri: backgroundSrc }
|
|
@@ -1004,14 +1098,14 @@ View6.displayName = "View" /* View */;
|
|
|
1004
1098
|
var View_native_default = View6;
|
|
1005
1099
|
|
|
1006
1100
|
// components/checkbox/tiles/tile/CheckboxTile.native.tsx
|
|
1007
|
-
var
|
|
1008
|
-
var
|
|
1009
|
-
var CheckboxTile =
|
|
1101
|
+
var import_react12 = __toESM(require("react"));
|
|
1102
|
+
var import_react_native11 = require("react-native");
|
|
1103
|
+
var CheckboxTile = import_react12.default.forwardRef(
|
|
1010
1104
|
({
|
|
1011
1105
|
disabled,
|
|
1012
1106
|
checked,
|
|
1013
1107
|
readonly,
|
|
1014
|
-
id =
|
|
1108
|
+
id = import_react12.default.useId(),
|
|
1015
1109
|
label,
|
|
1016
1110
|
onChange,
|
|
1017
1111
|
name,
|
|
@@ -1022,9 +1116,9 @@ var CheckboxTile = import_react11.default.forwardRef(
|
|
|
1022
1116
|
stickerVariant = "ACCENT" /* ACCENT */,
|
|
1023
1117
|
...others
|
|
1024
1118
|
}, ref) => {
|
|
1025
|
-
const [_checked, setChecked] = (0,
|
|
1026
|
-
const [stickerHeight, setStickerHeight] = (0,
|
|
1027
|
-
const styles =
|
|
1119
|
+
const [_checked, setChecked] = (0, import_react12.useState)(checked || false);
|
|
1120
|
+
const [stickerHeight, setStickerHeight] = (0, import_react12.useState)(0);
|
|
1121
|
+
const styles = import_react_native11.StyleSheet.create({
|
|
1028
1122
|
container: {
|
|
1029
1123
|
flexDirection: "row",
|
|
1030
1124
|
paddingBottom: 5,
|
|
@@ -1080,15 +1174,15 @@ var CheckboxTile = import_react11.default.forwardRef(
|
|
|
1080
1174
|
}
|
|
1081
1175
|
}
|
|
1082
1176
|
};
|
|
1083
|
-
return /* @__PURE__ */
|
|
1084
|
-
|
|
1177
|
+
return /* @__PURE__ */ import_react12.default.createElement(import_react_native11.TouchableOpacity, { ref, disabled, style: styles.tile, onPress: handleClick, ...others }, sticker && /* @__PURE__ */ import_react12.default.createElement(import_react_native11.View, { style: styles.sticker, onLayout: (e) => setStickerHeight(e.nativeEvent.layout.height) }, /* @__PURE__ */ import_react12.default.createElement(Sticker_native_default, { label: sticker, variant: stickerVariant, className: "radio-sticker", small: true })), /* @__PURE__ */ import_react12.default.createElement(View_native_default, { style: { gap: 8 /* TWO */ } }, /* @__PURE__ */ import_react12.default.createElement(
|
|
1178
|
+
import_react_native11.TouchableOpacity,
|
|
1085
1179
|
{
|
|
1086
1180
|
style: [styles.checkBox],
|
|
1087
1181
|
disabled,
|
|
1088
1182
|
testID: id,
|
|
1089
1183
|
onPressIn: handleClick
|
|
1090
1184
|
}
|
|
1091
|
-
), icon && /* @__PURE__ */
|
|
1185
|
+
), icon && /* @__PURE__ */ import_react12.default.createElement(
|
|
1092
1186
|
View_native_default,
|
|
1093
1187
|
{
|
|
1094
1188
|
style: {
|
|
@@ -1097,7 +1191,7 @@ var CheckboxTile = import_react11.default.forwardRef(
|
|
|
1097
1191
|
justifyContent: "center"
|
|
1098
1192
|
}
|
|
1099
1193
|
}
|
|
1100
|
-
), label && typeof label.valueOf() === "string" && /* @__PURE__ */
|
|
1194
|
+
), label && typeof label.valueOf() === "string" && /* @__PURE__ */ import_react12.default.createElement(
|
|
1101
1195
|
Text_native_default,
|
|
1102
1196
|
{
|
|
1103
1197
|
level: 1 /* ONE */,
|
|
@@ -1105,7 +1199,7 @@ var CheckboxTile = import_react11.default.forwardRef(
|
|
|
1105
1199
|
style: [styles.label]
|
|
1106
1200
|
},
|
|
1107
1201
|
String(label)
|
|
1108
|
-
), description && typeof description.valueOf() === "string" && /* @__PURE__ */
|
|
1202
|
+
), description && typeof description.valueOf() === "string" && /* @__PURE__ */ import_react12.default.createElement(Text_native_default, { level: 2 /* TWO */, typo: ["has-text-centered" /* TEXT_CENTERED */] }, String(description))));
|
|
1109
1203
|
}
|
|
1110
1204
|
);
|
|
1111
1205
|
CheckboxTile.displayName = "CheckboxTiles" /* CheckboxTiles */;
|