@btndprojects/loam-ui-native 0.1.1 → 0.3.1
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/dist/accordion/index.js +7 -3
- package/dist/adaptive/index.js +16 -2
- package/dist/address-block/index.js +23 -0
- package/dist/alert/index.js +8 -2
- package/dist/analyzer/index.js +17 -6
- package/dist/announcement/index.js +18 -5
- package/dist/appearance-picker/index.js +15 -0
- package/dist/audio-player/index.js +29 -3
- package/dist/avatar/index.js +5 -2
- package/dist/avatar-group/index.js +9 -3
- package/dist/badge/index.js +10 -4
- package/dist/banner/index.js +6 -2
- package/dist/board/index.js +18 -6
- package/dist/button/index.js +9 -3
- package/dist/camera-permission/index.js +23 -12
- package/dist/capture-result/index.js +30 -17
- package/dist/card/index.js +10 -3
- package/dist/card-form/index.js +19 -9
- package/dist/carousel/index.js +6 -2
- package/dist/chart/index.js +18 -5
- package/dist/charts/index.js +21 -6
- package/dist/chat/index.js +41 -0
- package/dist/checkbox/index.js +9 -5
- package/dist/checklist/index.js +20 -8
- package/dist/checkout/index.js +30 -12
- package/dist/chip/index.js +11 -5
- package/dist/chunk-2BZD3NAP.js +1110 -0
- package/dist/chunk-2YKVID2V.js +35 -0
- package/dist/{chunk-JUAMLEHX.js → chunk-36DA3IPO.js} +137 -37
- package/dist/chunk-3A56MIAN.js +599 -0
- package/dist/chunk-3SCKCWF5.js +298 -0
- package/dist/chunk-3TZNDHKO.js +187 -0
- package/dist/chunk-43K3BLXV.js +9 -0
- package/dist/chunk-46ZJIQ2Z.js +208 -0
- package/dist/chunk-4CZMQDQL.js +192 -0
- package/dist/chunk-5DTKORLI.js +255 -0
- package/dist/{chunk-LOE5YNN3.js → chunk-5J4WFXFA.js} +68 -24
- package/dist/chunk-5KJ7TEQ6.js +305 -0
- package/dist/chunk-5NU33TXK.js +529 -0
- package/dist/chunk-5Z5ZYMOJ.js +1 -0
- package/dist/chunk-6KSUS7DF.js +690 -0
- package/dist/chunk-6RV6UW2J.js +349 -0
- package/dist/chunk-6RZM7RP2.js +520 -0
- package/dist/{chunk-4BXMXBJO.js → chunk-75BDCC7K.js} +24 -11
- package/dist/{chunk-PZXZJBMP.js → chunk-7CGJBQUA.js} +357 -32
- package/dist/{chunk-CJ5EOYZE.js → chunk-7IVF6JLJ.js} +24 -7
- package/dist/chunk-7IWCGXYA.js +143 -0
- package/dist/chunk-7LM4ASFH.js +172 -0
- package/dist/chunk-7MCEJFWV.js +341 -0
- package/dist/chunk-7NGMUVNU.js +245 -0
- package/dist/chunk-7PBSIXT7.js +355 -0
- package/dist/chunk-7QOYGENL.js +443 -0
- package/dist/{chunk-H6NIOQHK.js → chunk-A7SWYDE5.js} +66 -15
- package/dist/chunk-ADHPJALR.js +3051 -0
- package/dist/chunk-ALJYZLNQ.js +509 -0
- package/dist/chunk-APCWFOZW.js +28 -0
- package/dist/chunk-AQ5FIG74.js +419 -0
- package/dist/chunk-AWKQIE5I.js +139 -0
- package/dist/chunk-B2MMZZQB.js +426 -0
- package/dist/{chunk-ZVFE5QGU.js → chunk-B7JZ3N5G.js} +174 -97
- package/dist/chunk-BL37SW6G.js +1314 -0
- package/dist/chunk-BTRMA7GC.js +21 -0
- package/dist/chunk-C7IUWIUZ.js +643 -0
- package/dist/chunk-CA3DUVYD.js +10 -0
- package/dist/{chunk-S7F6XLTK.js → chunk-CBCJSO2B.js} +213 -54
- package/dist/chunk-CHPX4MFI.js +239 -0
- package/dist/chunk-CLGAMIOT.js +648 -0
- package/dist/chunk-CUE7VML6.js +1141 -0
- package/dist/chunk-CVU6S2E5.js +1587 -0
- package/dist/{chunk-AZRX6SAC.js → chunk-CXPQMA6Z.js} +112 -37
- package/dist/chunk-D2LN4I7I.js +581 -0
- package/dist/{chunk-UWFLYMAR.js → chunk-D34LNBO5.js} +635 -238
- package/dist/chunk-D4BCQICM.js +765 -0
- package/dist/chunk-EABKIIA4.js +1 -0
- package/dist/chunk-EICSYRAG.js +341 -0
- package/dist/chunk-EMWAJMAS.js +83 -0
- package/dist/chunk-EOLZWRV6.js +149 -0
- package/dist/chunk-EOQVTGB6.js +350 -0
- package/dist/{chunk-BEDBFJND.js → chunk-ESGUHNB2.js} +119 -43
- package/dist/{chunk-Q72LJOVE.js → chunk-F2KNBPKY.js} +74 -18
- package/dist/{chunk-O7AE6DAF.js → chunk-G7H3NX3G.js} +57 -24
- package/dist/chunk-GM7YIPB7.js +1052 -0
- package/dist/chunk-GVQQG435.js +581 -0
- package/dist/chunk-HE43OMEL.js +1056 -0
- package/dist/chunk-HHOMFQ7R.js +2535 -0
- package/dist/chunk-HJFFOOJ4.js +1 -0
- package/dist/chunk-HNAKS4Z3.js +207 -0
- package/dist/chunk-HP6ST2OW.js +352 -0
- package/dist/chunk-HW3OWDTU.js +1 -0
- package/dist/{chunk-3ENTMPQY.js → chunk-HZDB44K4.js} +102 -52
- package/dist/chunk-I2KLQ2HA.js +19 -0
- package/dist/chunk-I6CUP2LW.js +1155 -0
- package/dist/chunk-ICV4Y2WY.js +27 -0
- package/dist/chunk-IHSIENOE.js +3950 -0
- package/dist/{chunk-CUMUNPXY.js → chunk-IMMALLRU.js} +68 -32
- package/dist/chunk-J64KGCGX.js +55 -0
- package/dist/{chunk-IVNRBPGC.js → chunk-JA6TK7H2.js} +255 -84
- package/dist/{chunk-OOPPQH27.js → chunk-JAVZ5JPV.js} +83 -29
- package/dist/chunk-JCMTP3E4.js +1251 -0
- package/dist/{chunk-U7TFM2JA.js → chunk-JCXFFK64.js} +75 -18
- package/dist/chunk-JWCVBFDU.js +236 -0
- package/dist/chunk-JXRTD5RI.js +414 -0
- package/dist/chunk-JYIUZUIQ.js +1567 -0
- package/dist/chunk-K3TK3GIV.js +219 -0
- package/dist/chunk-KEVZIHM2.js +1511 -0
- package/dist/chunk-KHZDNQQD.js +171 -0
- package/dist/chunk-KL4GDV4V.js +131 -0
- package/dist/chunk-KNILMM4H.js +225 -0
- package/dist/chunk-KRBUZV45.js +25 -0
- package/dist/{chunk-ITTYJZWX.js → chunk-KXLDK6HB.js} +161 -45
- package/dist/chunk-KZ3X7TSL.js +196 -0
- package/dist/chunk-L2WMOA2V.js +474 -0
- package/dist/chunk-L4D5LHCH.js +109 -0
- package/dist/chunk-LAUJPLDB.js +853 -0
- package/dist/{chunk-SBMNWWBV.js → chunk-LGNTP5XA.js} +89 -17
- package/dist/chunk-LUZFCCSD.js +271 -0
- package/dist/{chunk-HPPW424V.js → chunk-LXJCP4PL.js} +129 -37
- package/dist/chunk-MCOZJWPU.js +731 -0
- package/dist/chunk-MG4SKWLL.js +2587 -0
- package/dist/chunk-MPEPTSER.js +414 -0
- package/dist/chunk-MWPJ4YGP.js +1 -0
- package/dist/{chunk-TKQYWZ5V.js → chunk-N7AX4OA4.js} +108 -41
- package/dist/chunk-NHSLM6SE.js +523 -0
- package/dist/chunk-NNCOFLNE.js +24 -0
- package/dist/{chunk-J7Q7VCVC.js → chunk-NNJLVA7M.js} +54 -15
- package/dist/chunk-NZG75DGA.js +282 -0
- package/dist/chunk-O76QXRBV.js +431 -0
- package/dist/chunk-OANH27AK.js +223 -0
- package/dist/chunk-OCHPK5YV.js +609 -0
- package/dist/chunk-OMHVEVX4.js +436 -0
- package/dist/{chunk-YF4NSSMT.js → chunk-ONKQUJWD.js} +220 -65
- package/dist/chunk-OVTK7A6T.js +615 -0
- package/dist/chunk-PCEFCOLN.js +120 -0
- package/dist/chunk-PFLNFIVB.js +186 -0
- package/dist/chunk-PHSZY37H.js +300 -0
- package/dist/chunk-PJLTKDVY.js +18 -0
- package/dist/{chunk-4YIP3CWS.js → chunk-PK7BN3MI.js} +89 -19
- package/dist/{chunk-KMI5ML5I.js → chunk-PWFRDRGS.js} +155 -29
- package/dist/chunk-PYPMD46W.js +707 -0
- package/dist/chunk-Q6CCHDI7.js +331 -0
- package/dist/chunk-QFA5WS2A.js +750 -0
- package/dist/chunk-QJMMM4RC.js +124 -0
- package/dist/chunk-QNZII37O.js +10 -0
- package/dist/chunk-QYWEVAM6.js +407 -0
- package/dist/chunk-R5T4VZ7Z.js +126 -0
- package/dist/chunk-R77HFLZD.js +1 -0
- package/dist/{chunk-YC6WORFL.js → chunk-RAESDNU5.js} +228 -102
- package/dist/chunk-RBYQUXNL.js +1 -0
- package/dist/chunk-RCM3DT5E.js +1 -0
- package/dist/chunk-RGNY56L7.js +282 -0
- package/dist/chunk-RIK6UX2K.js +344 -0
- package/dist/{chunk-LAECSR4H.js → chunk-RJA3RXO3.js} +75 -60
- package/dist/chunk-RJYRJ3LD.js +1 -0
- package/dist/chunk-RMA3NOY4.js +599 -0
- package/dist/{chunk-DM5QUKKO.js → chunk-RSWKKAHK.js} +160 -66
- package/dist/chunk-RVOIIX3V.js +204 -0
- package/dist/chunk-SA2RRBGT.js +1077 -0
- package/dist/chunk-SG3J4R45.js +1428 -0
- package/dist/chunk-SPUK7JD4.js +238 -0
- package/dist/chunk-SWXV2K5N.js +434 -0
- package/dist/chunk-SYJEPXP6.js +1303 -0
- package/dist/{chunk-N32RGOA5.js → chunk-SZLI34TA.js} +93 -28
- package/dist/{chunk-4GBOGOTV.js → chunk-T77WJA74.js} +143 -18
- package/dist/chunk-TDWWVJA4.js +630 -0
- package/dist/chunk-TFHI5XDR.js +610 -0
- package/dist/chunk-TH4PW2WU.js +17 -0
- package/dist/chunk-TTQ24HQX.js +12 -0
- package/dist/chunk-TUACVJNG.js +12 -0
- package/dist/{chunk-CYRBHQQZ.js → chunk-TUL5RUIA.js} +201 -59
- package/dist/{chunk-4ZAHCY44.js → chunk-TYOSA7JG.js} +74 -38
- package/dist/chunk-TYQTMMEV.js +1 -0
- package/dist/chunk-TZO6YDS7.js +346 -0
- package/dist/chunk-U3ETF22F.js +328 -0
- package/dist/chunk-U6BYHD2N.js +213 -0
- package/dist/{chunk-WSW6ZFAQ.js → chunk-UF6EJXPQ.js} +20 -5
- package/dist/chunk-UNNQIPGK.js +792 -0
- package/dist/chunk-UQEN55EY.js +1 -0
- package/dist/chunk-UQVO6AJV.js +171 -0
- package/dist/chunk-VFDQAAIW.js +351 -0
- package/dist/chunk-VIUE3VQT.js +1 -0
- package/dist/chunk-VJLSSSGC.js +438 -0
- package/dist/chunk-VLMT6KYT.js +350 -0
- package/dist/chunk-VMHGBUGS.js +35 -0
- package/dist/{chunk-7O2FMUPT.js → chunk-VQKPBYW6.js} +400 -139
- package/dist/{chunk-EJBDRVIH.js → chunk-VSSTWLC5.js} +61 -16
- package/dist/chunk-VZYYZRPN.js +1992 -0
- package/dist/chunk-W23G6JLF.js +37 -0
- package/dist/chunk-WAIJCD2V.js +480 -0
- package/dist/chunk-WFMQ3WKM.js +378 -0
- package/dist/chunk-WJ2KDRMY.js +66 -0
- package/dist/chunk-WKFZJO54.js +437 -0
- package/dist/{chunk-SYNOJOQO.js → chunk-WVVD3XOV.js} +189 -93
- package/dist/chunk-XAIWMSLB.js +1 -0
- package/dist/chunk-XBXUBBJZ.js +98 -0
- package/dist/chunk-XCU7MYBJ.js +1 -0
- package/dist/chunk-XHE4PGCI.js +717 -0
- package/dist/chunk-XRSJ32M3.js +331 -0
- package/dist/chunk-XTCVOEAW.js +1 -0
- package/dist/chunk-XWGXVQF6.js +58 -0
- package/dist/{chunk-35OFI3JG.js → chunk-Y3XKKO5K.js} +258 -123
- package/dist/chunk-Y4QNMBLO.js +533 -0
- package/dist/chunk-Y5H4CTKO.js +1 -0
- package/dist/chunk-YBQIN75A.js +403 -0
- package/dist/chunk-YJ5PXOX3.js +158 -0
- package/dist/{chunk-AWJOCGFZ.js → chunk-YLRSRUPS.js} +81 -55
- package/dist/chunk-YM6MPJ4A.js +1 -0
- package/dist/chunk-YV7KZENV.js +200 -0
- package/dist/chunk-Z7I4ZSO6.js +316 -0
- package/dist/chunk-ZIRMWD2B.js +555 -0
- package/dist/chunk-ZPMG3FWU.js +75 -0
- package/dist/{chunk-QWCMU5B2.js → chunk-ZTXMK2G7.js} +289 -115
- package/dist/chunk-ZVJCWXAL.js +541 -0
- package/dist/{chunk-P23EQNRQ.js → chunk-ZYQ23DPT.js} +215 -49
- package/dist/coachmark/index.js +10 -3
- package/dist/code-block/index.js +6 -3
- package/dist/color-field/index.js +15 -5
- package/dist/color-picker/index.js +23 -0
- package/dist/commerce/index.js +31 -17
- package/dist/confirm/index.js +31 -0
- package/dist/connection-card/index.js +34 -0
- package/dist/connectivity/index.js +6 -2
- package/dist/context-menu/index.js +13 -3
- package/dist/copy-button/index.js +5 -2
- package/dist/data-grid/index.js +35 -17
- package/dist/date-range-picker/index.js +22 -9
- package/dist/description-list/index.js +6 -1
- package/dist/device-frame/index.js +30 -0
- package/dist/dialog/index.js +10 -2
- package/dist/divider/index.js +2 -0
- package/dist/empty-state/index.js +15 -2
- package/dist/error-summary/index.js +9 -2
- package/dist/fab/index.js +7 -2
- package/dist/file-manager/index.js +44 -0
- package/dist/file-upload/index.js +16 -7
- package/dist/filter-bar/index.js +14 -7
- package/dist/flow-run/index.js +23 -13
- package/dist/form/index.js +32 -3
- package/dist/gallery/index.js +8 -2
- package/dist/hold-to-confirm/index.js +6 -2
- package/dist/hover-card/index.js +18 -0
- package/dist/icon-tile/index.js +10 -0
- package/dist/image/index.js +9 -0
- package/dist/index.d.ts +30789 -12332
- package/dist/index.js +424 -135
- package/dist/infinite-list/index.js +6 -2
- package/dist/inline-edit/index.js +8 -5
- package/dist/input/index.js +7 -4
- package/dist/interactions/index.js +5 -1
- package/dist/invoice/index.js +22 -9
- package/dist/job-row/index.js +22 -0
- package/dist/json-inspector/index.js +20 -0
- package/dist/kbd/index.js +5 -1
- package/dist/keyboard/index.js +9 -2
- package/dist/level-meter/index.js +9 -0
- package/dist/list-row/index.js +14 -4
- package/dist/log-viewer/index.js +11 -2
- package/dist/map-view/index.js +16 -3
- package/dist/markdown/index.js +12 -6
- package/dist/metric/index.js +10 -4
- package/dist/metric-strip/index.js +12 -0
- package/dist/money/index.js +16 -3
- package/dist/nav-drawer/index.js +8 -2
- package/dist/nav-header/index.js +15 -0
- package/dist/navigation/index.js +32 -2
- package/dist/notification-center/index.js +28 -12
- package/dist/number-roll/index.js +7 -2
- package/dist/onboarding-pager/index.js +22 -0
- package/dist/one-handed/index.js +5 -3
- package/dist/os-surfaces/index.js +9 -3
- package/dist/otp/index.js +9 -5
- package/dist/page-header/index.js +3 -1
- package/dist/pagination/index.js +8 -0
- package/dist/payment-method/index.js +21 -11
- package/dist/payment-status/index.js +26 -15
- package/dist/permission/index.js +21 -2
- package/dist/picker/index.js +22 -6
- package/dist/progress/index.js +11 -3
- package/dist/provenance/index.js +16 -0
- package/dist/pull-to-refresh/index.js +4 -2
- package/dist/qr-code/index.js +16 -0
- package/dist/query-builder/index.js +30 -0
- package/dist/radio-group/index.js +9 -5
- package/dist/rating/index.js +10 -2
- package/dist/receivables/index.js +35 -17
- package/dist/recording-indicator/index.js +21 -0
- package/dist/refund/index.js +28 -15
- package/dist/repeatable-rows/index.js +19 -0
- package/dist/save-status/index.js +7 -3
- package/dist/screen/index.js +3 -0
- package/dist/scroll-area/index.js +3 -1
- package/dist/search-field/index.js +13 -0
- package/dist/secret-field/index.js +19 -0
- package/dist/section-header/index.js +4 -0
- package/dist/segmented-control/index.js +4 -3
- package/dist/sheet/index.js +11 -3
- package/dist/shortcuts-sheet/index.js +2 -0
- package/dist/sign-in-screen/index.js +25 -0
- package/dist/skeleton/index.js +5 -1
- package/dist/slider/index.js +5 -2
- package/dist/sortable/index.js +8 -0
- package/dist/spinner/index.js +4 -1
- package/dist/split-button/index.js +21 -6
- package/dist/spotlight/index.js +9 -1
- package/dist/stack/index.js +2 -0
- package/dist/stage-timeline/index.js +8 -3
- package/dist/status-dot/index.js +8 -2
- package/dist/stepper/index.js +11 -4
- package/dist/streaming-text/index.js +4 -2
- package/dist/survey/index.js +29 -16
- package/dist/switch/index.js +9 -3
- package/dist/system-state/index.js +15 -4
- package/dist/tab-bar/index.js +13 -2
- package/dist/tabs/index.js +12 -2
- package/dist/tags-input/index.js +13 -0
- package/dist/text/index.js +4 -0
- package/dist/textarea/index.js +8 -5
- package/dist/thinking/index.js +6 -1
- package/dist/tile-rail/index.js +10 -0
- package/dist/time-field/index.js +20 -0
- package/dist/time-range-control/index.js +36 -0
- package/dist/timeline/index.js +4 -2
- package/dist/toast/index.js +6 -2
- package/dist/toolbar/index.js +5 -2
- package/dist/tour/index.js +15 -10
- package/dist/transcript/index.js +28 -0
- package/dist/truncation-notice/index.js +5 -2
- package/dist/update-notice/index.js +19 -9
- package/dist/video-player/index.js +29 -2
- package/dist/viewfinder/index.js +15 -5
- package/dist/widget/index.js +14 -4
- package/dist/wizard/index.js +10 -4
- package/package.json +13 -12
- package/dist/chunk-223Q2T2Q.js +0 -229
- package/dist/chunk-2A5NIQAK.js +0 -254
- package/dist/chunk-2GK6PHGE.js +0 -363
- package/dist/chunk-2ZZ7TDJ4.js +0 -324
- package/dist/chunk-3ARE4TES.js +0 -195
- package/dist/chunk-3NMD74ZU.js +0 -4
- package/dist/chunk-3WPW4KUN.js +0 -182
- package/dist/chunk-423B7SPN.js +0 -993
- package/dist/chunk-47FWHGUN.js +0 -394
- package/dist/chunk-4DS5ZWVC.js +0 -83
- package/dist/chunk-4SZYY6AN.js +0 -99
- package/dist/chunk-4YQOR7JM.js +0 -204
- package/dist/chunk-52X2VYTD.js +0 -228
- package/dist/chunk-5YNTNN5A.js +0 -177
- package/dist/chunk-6HT2LP62.js +0 -504
- package/dist/chunk-6N33LFQA.js +0 -35
- package/dist/chunk-6X6PQ443.js +0 -432
- package/dist/chunk-7CFF4HXS.js +0 -126
- package/dist/chunk-AI4DWZCD.js +0 -162
- package/dist/chunk-BTTFCMKG.js +0 -166
- package/dist/chunk-BV3B2HYZ.js +0 -1635
- package/dist/chunk-C2NTXVWM.js +0 -98
- package/dist/chunk-CDRZHT42.js +0 -424
- package/dist/chunk-DHWADYZX.js +0 -144
- package/dist/chunk-F5XNPWS7.js +0 -1024
- package/dist/chunk-FMYDDECK.js +0 -1521
- package/dist/chunk-GDKZTW34.js +0 -395
- package/dist/chunk-GL7B2DOW.js +0 -134
- package/dist/chunk-GNNJ4GCC.js +0 -471
- package/dist/chunk-HET4LLMX.js +0 -129
- package/dist/chunk-HZ6CNMAF.js +0 -870
- package/dist/chunk-IIQTAY3J.js +0 -715
- package/dist/chunk-JNH2TYIN.js +0 -96
- package/dist/chunk-JNY4ZHAR.js +0 -634
- package/dist/chunk-JXJB2X6M.js +0 -131
- package/dist/chunk-LRJNDEIA.js +0 -302
- package/dist/chunk-LSS54GLJ.js +0 -116
- package/dist/chunk-LZLHELAG.js +0 -137
- package/dist/chunk-MOUJOP55.js +0 -425
- package/dist/chunk-NKB7BZYK.js +0 -167
- package/dist/chunk-NQYBUO3K.js +0 -1795
- package/dist/chunk-O4AEHWII.js +0 -464
- package/dist/chunk-OETCUXQP.js +0 -134
- package/dist/chunk-OPXFZ4Y5.js +0 -204
- package/dist/chunk-PJXUJYS6.js +0 -248
- package/dist/chunk-PUPM2YGF.js +0 -376
- package/dist/chunk-QCDXZBC5.js +0 -247
- package/dist/chunk-QDYDBCFP.js +0 -197
- package/dist/chunk-QJJ6MADV.js +0 -274
- package/dist/chunk-QKXCPTFS.js +0 -349
- package/dist/chunk-RIBDXGUG.js +0 -108
- package/dist/chunk-RJQOOHT2.js +0 -214
- package/dist/chunk-RNGLIHFA.js +0 -191
- package/dist/chunk-RQ3HASCC.js +0 -6
- package/dist/chunk-RSOJT5YW.js +0 -124
- package/dist/chunk-RUZHTGKB.js +0 -237
- package/dist/chunk-RW6ZL2FQ.js +0 -284
- package/dist/chunk-TKVFVF5D.js +0 -95
- package/dist/chunk-TOXAGRDQ.js +0 -144
- package/dist/chunk-TUTI5HOZ.js +0 -112
- package/dist/chunk-UC2WGUP3.js +0 -627
- package/dist/chunk-UYG5L34B.js +0 -87
- package/dist/chunk-VBOXAEPI.js +0 -336
- package/dist/chunk-VCDBXW5H.js +0 -188
- package/dist/chunk-VEAYTRPX.js +0 -414
- package/dist/chunk-VQHPQEUH.js +0 -273
- package/dist/chunk-VXDZFJGP.js +0 -874
- package/dist/chunk-XNUVB5OL.js +0 -375
- package/dist/chunk-XOSCY2CW.js +0 -242
- package/dist/chunk-XXXEFXY5.js +0 -99
- package/dist/chunk-YDGVJETP.js +0 -60
- package/dist/chunk-YG3ZJHGU.js +0 -223
- package/dist/chunk-YTFKPRUK.js +0 -845
- package/dist/chunk-Z7H7VSFZ.js +0 -323
- package/dist/header/index.js +0 -5
- package/dist/search-bar/index.js +0 -5
- /package/dist/{chunk-3ECPOSKO.js → chunk-3BKLBYPK.js} +0 -0
- /package/dist/{chunk-JRLTGLN4.js → chunk-3UG6JUCV.js} +0 -0
- /package/dist/{chunk-RTIKSY6A.js → chunk-4QCR3K2J.js} +0 -0
- /package/dist/{chunk-VFCUIDRT.js → chunk-5WWRTEPS.js} +0 -0
package/dist/chunk-YTFKPRUK.js
DELETED
|
@@ -1,845 +0,0 @@
|
|
|
1
|
-
import { RadioGroup, RadioGroupItem } from './chunk-4YIP3CWS.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-5YNTNN5A.js';
|
|
3
|
-
import { Checkbox } from './chunk-JXJB2X6M.js';
|
|
4
|
-
import { Amount, PriceRow } from './chunk-VBOXAEPI.js';
|
|
5
|
-
import { Chip } from './chunk-AI4DWZCD.js';
|
|
6
|
-
import { TextField } from './chunk-ITTYJZWX.js';
|
|
7
|
-
import { Badge } from './chunk-SBMNWWBV.js';
|
|
8
|
-
import { Alert } from './chunk-OETCUXQP.js';
|
|
9
|
-
import { Button } from './chunk-3ARE4TES.js';
|
|
10
|
-
import { Icon } from './chunk-TKVFVF5D.js';
|
|
11
|
-
import * as React from 'react';
|
|
12
|
-
import { View, Text } from 'react-native';
|
|
13
|
-
import { createStyleSheet, useLoamTheme, useStyles } from '@btndprojects/loam-theme-native';
|
|
14
|
-
import { ARRIVAL, refundRemaining, refundLedger, REFUND_REASONS, money, parseAmount, clampRefund, REFUND_FRACTIONS, refundFraction, evidenceTone, evidenceLabel, disputeWorthDefending, DISPUTE_ACCEPT_THRESHOLD_MINOR } from '@btndprojects/loam-pay';
|
|
15
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
16
|
-
|
|
17
|
-
var REFUND_STATE = {
|
|
18
|
-
requested: { label: "Requested", variant: "neutral" },
|
|
19
|
-
processing: { label: "Processing", variant: "info" },
|
|
20
|
-
sent: { label: "Sent", variant: "info" },
|
|
21
|
-
arrived: { label: "Arrived", variant: "good" },
|
|
22
|
-
failed: { label: "Failed", variant: "danger" }
|
|
23
|
-
};
|
|
24
|
-
function RefundStatus({ state, label }) {
|
|
25
|
-
const meta = REFUND_STATE[state];
|
|
26
|
-
return /* @__PURE__ */ jsx(Badge, { variant: meta.variant, size: "sm", dot: true, children: label ?? meta.label });
|
|
27
|
-
}
|
|
28
|
-
function RefundArrivalNote({
|
|
29
|
-
method,
|
|
30
|
-
window: text,
|
|
31
|
-
inline = false,
|
|
32
|
-
style
|
|
33
|
-
}) {
|
|
34
|
-
const theme = useLoamTheme();
|
|
35
|
-
const { styles } = useStyles(sheet);
|
|
36
|
-
const body = text ?? ARRIVAL[method];
|
|
37
|
-
return /* @__PURE__ */ jsxs(View, { style: [inline ? styles.arrivalInline : styles.arrivalBlock, style], children: [
|
|
38
|
-
/* @__PURE__ */ jsx(
|
|
39
|
-
Icon,
|
|
40
|
-
{
|
|
41
|
-
name: "clock",
|
|
42
|
-
size: theme.icon.sm,
|
|
43
|
-
color: inline ? theme.color.text3 : theme.color.infoOnSoft
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
/* @__PURE__ */ jsx(Text, { style: inline ? styles.arrivalInlineBody : styles.arrivalBlockBody, children: body })
|
|
47
|
-
] });
|
|
48
|
-
}
|
|
49
|
-
function RefundRemainingNote({
|
|
50
|
-
charge,
|
|
51
|
-
currency,
|
|
52
|
-
label = "still refundable",
|
|
53
|
-
locale,
|
|
54
|
-
style
|
|
55
|
-
}) {
|
|
56
|
-
const { styles } = useStyles(sheet);
|
|
57
|
-
const code = currency ?? charge.currency ?? "USD";
|
|
58
|
-
return /* @__PURE__ */ jsxs(View, { style: [styles.remaining, style], children: [
|
|
59
|
-
/* @__PURE__ */ jsx(
|
|
60
|
-
Amount,
|
|
61
|
-
{
|
|
62
|
-
minor: refundRemaining(charge),
|
|
63
|
-
currency: code,
|
|
64
|
-
size: "sm",
|
|
65
|
-
weight: "bold",
|
|
66
|
-
locale
|
|
67
|
-
}
|
|
68
|
-
),
|
|
69
|
-
/* @__PURE__ */ jsx(Text, { style: styles.remainingWord, children: "of" }),
|
|
70
|
-
/* @__PURE__ */ jsx(Amount, { minor: charge.amountMinor, currency: code, size: "sm", locale }),
|
|
71
|
-
/* @__PURE__ */ jsx(Text, { style: styles.remainingWord, children: label })
|
|
72
|
-
] });
|
|
73
|
-
}
|
|
74
|
-
function RefundLedger({
|
|
75
|
-
charge,
|
|
76
|
-
next = 0,
|
|
77
|
-
currency,
|
|
78
|
-
caption,
|
|
79
|
-
locale,
|
|
80
|
-
style
|
|
81
|
-
}) {
|
|
82
|
-
const { styles } = useStyles(sheet);
|
|
83
|
-
const code = currency ?? charge.currency ?? "USD";
|
|
84
|
-
const rows = refundLedger(charge, next);
|
|
85
|
-
return /* @__PURE__ */ jsxs(View, { style: [styles.ledger, style], children: [
|
|
86
|
-
/* @__PURE__ */ jsx(Text, { style: styles.overline, children: caption ?? `Refund ledger \xB7 ${code}` }),
|
|
87
|
-
rows.map((row) => /* @__PURE__ */ jsx(
|
|
88
|
-
PriceRow,
|
|
89
|
-
{
|
|
90
|
-
label: row.label,
|
|
91
|
-
minor: row.amountMinor,
|
|
92
|
-
currency: code,
|
|
93
|
-
tone: row.tone === "good" ? "good" : void 0,
|
|
94
|
-
strong: row.strong,
|
|
95
|
-
rule: row.strong,
|
|
96
|
-
noSymbol: true,
|
|
97
|
-
locale
|
|
98
|
-
},
|
|
99
|
-
row.label
|
|
100
|
-
))
|
|
101
|
-
] });
|
|
102
|
-
}
|
|
103
|
-
function RefundReasonList({
|
|
104
|
-
value,
|
|
105
|
-
onChange,
|
|
106
|
-
reasons = REFUND_REASONS,
|
|
107
|
-
label = "Reason",
|
|
108
|
-
showNotes = true
|
|
109
|
-
}) {
|
|
110
|
-
const { styles } = useStyles(sheet);
|
|
111
|
-
return /* @__PURE__ */ jsx(
|
|
112
|
-
RadioGroup,
|
|
113
|
-
{
|
|
114
|
-
label,
|
|
115
|
-
value: value ?? void 0,
|
|
116
|
-
onValueChange: (next) => onChange(next),
|
|
117
|
-
children: reasons.map(([id, text, note]) => /* @__PURE__ */ jsxs(View, { style: styles.reasonRow, children: [
|
|
118
|
-
/* @__PURE__ */ jsx(RadioGroupItem, { value: id, label: text, accessibilityLabel: `${text}. ${note}` }),
|
|
119
|
-
showNotes ? /* @__PURE__ */ jsx(Text, { style: styles.reasonNote, children: note }) : null
|
|
120
|
-
] }, id))
|
|
121
|
-
}
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
function RefundAmountField({
|
|
125
|
-
valueMinor,
|
|
126
|
-
onChangeMinor,
|
|
127
|
-
remaining,
|
|
128
|
-
currency,
|
|
129
|
-
label = "Refund amount",
|
|
130
|
-
hint,
|
|
131
|
-
error,
|
|
132
|
-
fractions = REFUND_FRACTIONS,
|
|
133
|
-
disabled = false,
|
|
134
|
-
locale,
|
|
135
|
-
style
|
|
136
|
-
}) {
|
|
137
|
-
const { styles } = useStyles(sheet);
|
|
138
|
-
const [draft, setDraft] = React.useState(null);
|
|
139
|
-
const display = draft ?? money(valueMinor, currency, { noSymbol: true, locale });
|
|
140
|
-
const maxText = money(remaining, currency, { locale });
|
|
141
|
-
const chips = fractions === false ? [] : fractions;
|
|
142
|
-
return /* @__PURE__ */ jsxs(View, { style: [styles.amountBlock, style], children: [
|
|
143
|
-
/* @__PURE__ */ jsx(
|
|
144
|
-
TextField,
|
|
145
|
-
{
|
|
146
|
-
label,
|
|
147
|
-
hint: hint ?? `Up to ${maxText}.`,
|
|
148
|
-
error,
|
|
149
|
-
value: display,
|
|
150
|
-
editable: !disabled,
|
|
151
|
-
inputMode: "decimal",
|
|
152
|
-
autoComplete: "off",
|
|
153
|
-
autoCorrect: false,
|
|
154
|
-
keyboardType: "decimal-pad",
|
|
155
|
-
onChangeText: (text) => {
|
|
156
|
-
setDraft(text);
|
|
157
|
-
const parsed = parseAmount(text, currency);
|
|
158
|
-
onChangeMinor(clampRefund(parsed ?? 0, remaining));
|
|
159
|
-
},
|
|
160
|
-
onBlur: () => setDraft(null)
|
|
161
|
-
}
|
|
162
|
-
),
|
|
163
|
-
chips.length > 0 ? /* @__PURE__ */ jsx(View, { style: styles.chipRow, children: chips.map((percent) => {
|
|
164
|
-
const target = refundFraction(percent, remaining);
|
|
165
|
-
return /* @__PURE__ */ jsx(
|
|
166
|
-
Chip,
|
|
167
|
-
{
|
|
168
|
-
variant: "filter",
|
|
169
|
-
size: "sm",
|
|
170
|
-
disabled,
|
|
171
|
-
selected: !disabled && valueMinor === target && remaining > 0,
|
|
172
|
-
accessibilityLabel: `Refund ${percent}% \u2014 ${money(target, currency, { locale })}`,
|
|
173
|
-
onSelectedChange: () => {
|
|
174
|
-
setDraft(null);
|
|
175
|
-
onChangeMinor(target);
|
|
176
|
-
},
|
|
177
|
-
children: `${percent}%`
|
|
178
|
-
},
|
|
179
|
-
percent
|
|
180
|
-
);
|
|
181
|
-
}) }) : null
|
|
182
|
-
] });
|
|
183
|
-
}
|
|
184
|
-
var sheet = createStyleSheet((theme) => ({
|
|
185
|
-
arrivalBlock: {
|
|
186
|
-
flexDirection: "row",
|
|
187
|
-
alignItems: "flex-start",
|
|
188
|
-
gap: theme.space.s2,
|
|
189
|
-
padding: theme.space.s3,
|
|
190
|
-
borderRadius: theme.radius.md,
|
|
191
|
-
// The soft tint always carries its tone edge: it collapses to the plain
|
|
192
|
-
// surface under high contrast, where the edge is all that draws it.
|
|
193
|
-
borderWidth: theme.borderWidth.base,
|
|
194
|
-
borderColor: theme.edge.info,
|
|
195
|
-
backgroundColor: theme.color.infoSoft
|
|
196
|
-
},
|
|
197
|
-
arrivalBlockBody: {
|
|
198
|
-
flexShrink: 1,
|
|
199
|
-
fontFamily: theme.font.sans,
|
|
200
|
-
fontSize: theme.type.footnote.fontSize,
|
|
201
|
-
lineHeight: theme.type.footnote.fontSize * theme.lineHeight.normal,
|
|
202
|
-
color: theme.color.infoOnSoft
|
|
203
|
-
},
|
|
204
|
-
arrivalInline: { flexDirection: "row", alignItems: "flex-start", gap: theme.space.s2 },
|
|
205
|
-
arrivalInlineBody: {
|
|
206
|
-
flexShrink: 1,
|
|
207
|
-
fontFamily: theme.font.sans,
|
|
208
|
-
fontSize: theme.type.footnote.fontSize,
|
|
209
|
-
lineHeight: theme.type.footnote.fontSize * theme.lineHeight.normal,
|
|
210
|
-
color: theme.color.text2
|
|
211
|
-
},
|
|
212
|
-
remaining: {
|
|
213
|
-
flexDirection: "row",
|
|
214
|
-
flexWrap: "wrap",
|
|
215
|
-
alignItems: "baseline",
|
|
216
|
-
gap: theme.space.s1
|
|
217
|
-
},
|
|
218
|
-
remainingWord: {
|
|
219
|
-
fontFamily: theme.font.sans,
|
|
220
|
-
fontSize: theme.type.footnote.fontSize,
|
|
221
|
-
lineHeight: theme.type.footnote.lineHeight,
|
|
222
|
-
color: theme.color.text2
|
|
223
|
-
},
|
|
224
|
-
ledger: {
|
|
225
|
-
alignSelf: "stretch",
|
|
226
|
-
gap: theme.space.s2,
|
|
227
|
-
padding: theme.space.s4,
|
|
228
|
-
borderRadius: theme.radius.md,
|
|
229
|
-
borderWidth: theme.borderWidth.base,
|
|
230
|
-
borderColor: theme.color.border,
|
|
231
|
-
backgroundColor: theme.color.surface2
|
|
232
|
-
},
|
|
233
|
-
overline: {
|
|
234
|
-
fontFamily: theme.font.sans,
|
|
235
|
-
fontWeight: theme.fontWeight.bold,
|
|
236
|
-
fontSize: theme.type.caption2.fontSize,
|
|
237
|
-
lineHeight: theme.type.caption2.lineHeight,
|
|
238
|
-
letterSpacing: theme.tracking.caps,
|
|
239
|
-
textTransform: "uppercase",
|
|
240
|
-
color: theme.color.text3
|
|
241
|
-
},
|
|
242
|
-
reasonRow: { gap: theme.space[2] },
|
|
243
|
-
reasonNote: {
|
|
244
|
-
marginStart: theme.space.s7,
|
|
245
|
-
fontFamily: theme.font.sans,
|
|
246
|
-
fontSize: theme.type.caption1.fontSize,
|
|
247
|
-
lineHeight: theme.type.caption1.fontSize * theme.lineHeight.normal,
|
|
248
|
-
color: theme.color.text3
|
|
249
|
-
},
|
|
250
|
-
amountBlock: { alignSelf: "stretch", gap: theme.space.s2 },
|
|
251
|
-
chipRow: {
|
|
252
|
-
flexDirection: "row",
|
|
253
|
-
flexWrap: "wrap",
|
|
254
|
-
alignItems: "center",
|
|
255
|
-
gap: theme.space.s1
|
|
256
|
-
}
|
|
257
|
-
}));
|
|
258
|
-
function RefundConfirmation({
|
|
259
|
-
charge,
|
|
260
|
-
result,
|
|
261
|
-
method,
|
|
262
|
-
currency,
|
|
263
|
-
title = "Refund issued",
|
|
264
|
-
refundAnotherLabel = "Refund another charge",
|
|
265
|
-
onRefundAnother,
|
|
266
|
-
actions,
|
|
267
|
-
locale,
|
|
268
|
-
style
|
|
269
|
-
}) {
|
|
270
|
-
const theme = useLoamTheme();
|
|
271
|
-
const { styles } = useStyles(sheet2);
|
|
272
|
-
const code = currency ?? charge.currency ?? "USD";
|
|
273
|
-
return /* @__PURE__ */ jsxs(
|
|
274
|
-
View,
|
|
275
|
-
{
|
|
276
|
-
role: "status",
|
|
277
|
-
accessibilityLiveRegion: "polite",
|
|
278
|
-
accessibilityLabel: title,
|
|
279
|
-
style: [styles.panel, style],
|
|
280
|
-
...{ "aria-live": "polite" },
|
|
281
|
-
children: [
|
|
282
|
-
/* @__PURE__ */ jsxs(View, { style: styles.confirmHead, children: [
|
|
283
|
-
/* @__PURE__ */ jsx(
|
|
284
|
-
View,
|
|
285
|
-
{
|
|
286
|
-
"aria-hidden": true,
|
|
287
|
-
accessibilityElementsHidden: true,
|
|
288
|
-
importantForAccessibility: "no-hide-descendants",
|
|
289
|
-
style: styles.checkPlate,
|
|
290
|
-
children: /* @__PURE__ */ jsx(
|
|
291
|
-
Icon,
|
|
292
|
-
{
|
|
293
|
-
name: "check",
|
|
294
|
-
size: theme.icon.md,
|
|
295
|
-
color: theme.color.goodOnSoft,
|
|
296
|
-
strokeWidth: theme.icon.strokeBold
|
|
297
|
-
}
|
|
298
|
-
)
|
|
299
|
-
}
|
|
300
|
-
),
|
|
301
|
-
/* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: styles.title, children: title }),
|
|
302
|
-
/* @__PURE__ */ jsx(Amount, { minor: result.amountMinor, currency: code, size: "hero", locale }),
|
|
303
|
-
/* @__PURE__ */ jsxs(View, { style: styles.confirmMeta, children: [
|
|
304
|
-
/* @__PURE__ */ jsx(RefundStatus, { state: result.state }),
|
|
305
|
-
result.issuedLabel ? /* @__PURE__ */ jsx(Text, { style: styles.meta, children: result.issuedLabel }) : null,
|
|
306
|
-
result.refundId ? /* @__PURE__ */ jsx(Text, { style: styles.mono, children: result.refundId }) : null
|
|
307
|
-
] })
|
|
308
|
-
] }),
|
|
309
|
-
/* @__PURE__ */ jsx(RefundArrivalNote, { method }),
|
|
310
|
-
/* @__PURE__ */ jsx(RefundLedger, { charge, next: result.amountMinor, currency: code, locale }),
|
|
311
|
-
/* @__PURE__ */ jsxs(View, { style: styles.actionRow, children: [
|
|
312
|
-
onRefundAnother ? /* @__PURE__ */ jsx(Button, { variant: "outline", onPress: onRefundAnother, children: refundAnotherLabel }) : null,
|
|
313
|
-
actions
|
|
314
|
-
] })
|
|
315
|
-
]
|
|
316
|
-
}
|
|
317
|
-
);
|
|
318
|
-
}
|
|
319
|
-
function RefundPanel({
|
|
320
|
-
charge,
|
|
321
|
-
method,
|
|
322
|
-
mode,
|
|
323
|
-
amountMinor,
|
|
324
|
-
reason,
|
|
325
|
-
notify,
|
|
326
|
-
currency,
|
|
327
|
-
title = "Refund",
|
|
328
|
-
chargeLabel,
|
|
329
|
-
error,
|
|
330
|
-
result,
|
|
331
|
-
busy = false,
|
|
332
|
-
notifyLabel = "Email the customer",
|
|
333
|
-
irreversibleNote = "A refund cannot be undone. Check the amount before you issue it.",
|
|
334
|
-
onModeChange,
|
|
335
|
-
onAmountChange,
|
|
336
|
-
onReasonChange,
|
|
337
|
-
onNotifyChange,
|
|
338
|
-
onSubmit,
|
|
339
|
-
onRefundAnother,
|
|
340
|
-
locale,
|
|
341
|
-
style
|
|
342
|
-
}) {
|
|
343
|
-
const theme = useLoamTheme();
|
|
344
|
-
const { styles } = useStyles(sheet2);
|
|
345
|
-
const code = currency ?? charge.currency ?? "USD";
|
|
346
|
-
const remaining = refundRemaining(charge);
|
|
347
|
-
const effective = mode === "full" ? remaining : amountMinor;
|
|
348
|
-
const reasonRow = reason === null ? void 0 : REFUND_REASONS.find(([id]) => id === reason);
|
|
349
|
-
if (result) {
|
|
350
|
-
return /* @__PURE__ */ jsx(
|
|
351
|
-
RefundConfirmation,
|
|
352
|
-
{
|
|
353
|
-
charge,
|
|
354
|
-
result,
|
|
355
|
-
method,
|
|
356
|
-
currency: code,
|
|
357
|
-
onRefundAnother,
|
|
358
|
-
locale,
|
|
359
|
-
style
|
|
360
|
-
}
|
|
361
|
-
);
|
|
362
|
-
}
|
|
363
|
-
return /* @__PURE__ */ jsxs(View, { role: "region", accessibilityLabel: title, style: [styles.panel, style], children: [
|
|
364
|
-
/* @__PURE__ */ jsxs(View, { style: styles.header, children: [
|
|
365
|
-
/* @__PURE__ */ jsxs(View, { style: styles.headerRow, children: [
|
|
366
|
-
/* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: styles.title, children: title }),
|
|
367
|
-
charge.receiptId ? /* @__PURE__ */ jsx(View, { style: styles.pushEnd, children: /* @__PURE__ */ jsx(Text, { style: styles.mono, children: charge.receiptId }) }) : null
|
|
368
|
-
] }),
|
|
369
|
-
chargeLabel ? /* @__PURE__ */ jsx(Text, { style: styles.chargeLabel, children: chargeLabel }) : null,
|
|
370
|
-
/* @__PURE__ */ jsx(RefundRemainingNote, { charge, currency: code, locale })
|
|
371
|
-
] }),
|
|
372
|
-
onModeChange ? /* @__PURE__ */ jsx(
|
|
373
|
-
SegmentedControl,
|
|
374
|
-
{
|
|
375
|
-
value: mode,
|
|
376
|
-
onValueChange: (next) => onModeChange(next),
|
|
377
|
-
items: [
|
|
378
|
-
{ value: "full", label: "Full" },
|
|
379
|
-
{ value: "partial", label: "Partial" }
|
|
380
|
-
]
|
|
381
|
-
}
|
|
382
|
-
) : /* @__PURE__ */ jsx(
|
|
383
|
-
Stated,
|
|
384
|
-
{
|
|
385
|
-
label: mode === "full" ? "Full refund" : "Partial refund",
|
|
386
|
-
overline: "Amount mode"
|
|
387
|
-
}
|
|
388
|
-
),
|
|
389
|
-
mode === "full" ? /* @__PURE__ */ jsxs(View, { style: styles.fullBox, children: [
|
|
390
|
-
/* @__PURE__ */ jsx(Text, { style: styles.fullLabel, children: "Refunding the full remaining balance" }),
|
|
391
|
-
/* @__PURE__ */ jsx(View, { style: styles.pushEnd, children: /* @__PURE__ */ jsx(Amount, { minor: remaining, currency: code, size: "lg", weight: "bold", locale }) })
|
|
392
|
-
] }) : onAmountChange ? /* @__PURE__ */ jsx(
|
|
393
|
-
RefundAmountField,
|
|
394
|
-
{
|
|
395
|
-
valueMinor: amountMinor,
|
|
396
|
-
onChangeMinor: onAmountChange,
|
|
397
|
-
remaining,
|
|
398
|
-
currency: code,
|
|
399
|
-
locale
|
|
400
|
-
}
|
|
401
|
-
) : /* @__PURE__ */ jsxs(View, { style: styles.fullBox, children: [
|
|
402
|
-
/* @__PURE__ */ jsx(Text, { style: styles.fullLabel, children: "Refunding" }),
|
|
403
|
-
/* @__PURE__ */ jsx(View, { style: styles.pushEnd, children: /* @__PURE__ */ jsx(Amount, { minor: amountMinor, currency: code, size: "lg", weight: "bold", locale }) })
|
|
404
|
-
] }),
|
|
405
|
-
onReasonChange ? /* @__PURE__ */ jsx(RefundReasonList, { value: reason, onChange: onReasonChange }) : /* @__PURE__ */ jsx(
|
|
406
|
-
Stated,
|
|
407
|
-
{
|
|
408
|
-
overline: "Reason",
|
|
409
|
-
label: reasonRow ? reasonRow[1] : "Not stated",
|
|
410
|
-
note: reasonRow ? reasonRow[2] : void 0
|
|
411
|
-
}
|
|
412
|
-
),
|
|
413
|
-
onNotifyChange ? /* @__PURE__ */ jsxs(View, { style: styles.notifyRow, children: [
|
|
414
|
-
/* @__PURE__ */ jsx(
|
|
415
|
-
Checkbox,
|
|
416
|
-
{
|
|
417
|
-
checked: notify,
|
|
418
|
-
onCheckedChange: (next) => onNotifyChange(next),
|
|
419
|
-
accessibilityLabel: notifyLabel
|
|
420
|
-
}
|
|
421
|
-
),
|
|
422
|
-
/* @__PURE__ */ jsx(Text, { style: styles.notifyLabel, children: notifyLabel })
|
|
423
|
-
] }) : /* @__PURE__ */ jsx(
|
|
424
|
-
Stated,
|
|
425
|
-
{
|
|
426
|
-
overline: "Customer email",
|
|
427
|
-
label: notify ? `${notifyLabel} \u2014 yes` : `${notifyLabel} \u2014 no`
|
|
428
|
-
}
|
|
429
|
-
),
|
|
430
|
-
/* @__PURE__ */ jsx(RefundLedger, { charge, next: effective, currency: code, locale }),
|
|
431
|
-
/* @__PURE__ */ jsx(RefundArrivalNote, { method }),
|
|
432
|
-
error ? /* @__PURE__ */ jsx(Alert, { tone: "danger", title: error }) : null,
|
|
433
|
-
/* @__PURE__ */ jsxs(View, { style: styles.commitBlock, children: [
|
|
434
|
-
/* @__PURE__ */ jsxs(View, { style: styles.irreversibleRow, children: [
|
|
435
|
-
/* @__PURE__ */ jsx(Icon, { name: "alert-circle", size: theme.icon.sm, color: theme.color.text3 }),
|
|
436
|
-
/* @__PURE__ */ jsx(Text, { style: styles.irreversible, children: irreversibleNote })
|
|
437
|
-
] }),
|
|
438
|
-
/* @__PURE__ */ jsx(Button, { loading: busy, onPress: onSubmit, children: `Refund ${money(effective, code, { locale })}` })
|
|
439
|
-
] })
|
|
440
|
-
] });
|
|
441
|
-
}
|
|
442
|
-
function Stated({
|
|
443
|
-
overline,
|
|
444
|
-
label,
|
|
445
|
-
note
|
|
446
|
-
}) {
|
|
447
|
-
const { styles } = useStyles(sheet2);
|
|
448
|
-
return /* @__PURE__ */ jsxs(View, { style: styles.stated, children: [
|
|
449
|
-
/* @__PURE__ */ jsx(Text, { style: styles.overline, children: overline }),
|
|
450
|
-
/* @__PURE__ */ jsx(Text, { style: styles.statedValue, children: label }),
|
|
451
|
-
note ? /* @__PURE__ */ jsx(Text, { style: styles.statedNote, children: note }) : null
|
|
452
|
-
] });
|
|
453
|
-
}
|
|
454
|
-
var sheet2 = createStyleSheet((theme) => ({
|
|
455
|
-
panel: {
|
|
456
|
-
alignSelf: "stretch",
|
|
457
|
-
gap: theme.space.s5,
|
|
458
|
-
padding: theme.space.s5,
|
|
459
|
-
borderRadius: theme.radius.lg,
|
|
460
|
-
borderWidth: theme.borderWidth.base,
|
|
461
|
-
borderColor: theme.color.border,
|
|
462
|
-
backgroundColor: theme.color.surface
|
|
463
|
-
},
|
|
464
|
-
header: { gap: theme.space.s1 },
|
|
465
|
-
headerRow: {
|
|
466
|
-
flexDirection: "row",
|
|
467
|
-
flexWrap: "wrap",
|
|
468
|
-
alignItems: "baseline",
|
|
469
|
-
gap: theme.space.s2
|
|
470
|
-
},
|
|
471
|
-
title: {
|
|
472
|
-
fontFamily: theme.font.display,
|
|
473
|
-
fontWeight: theme.font.displayWeight,
|
|
474
|
-
fontSize: theme.type.title3.fontSize,
|
|
475
|
-
lineHeight: theme.type.title3.lineHeight,
|
|
476
|
-
letterSpacing: theme.type.title3.letterSpacing,
|
|
477
|
-
color: theme.color.text
|
|
478
|
-
},
|
|
479
|
-
pushEnd: { marginStart: "auto" },
|
|
480
|
-
mono: {
|
|
481
|
-
fontFamily: theme.font.mono,
|
|
482
|
-
fontVariant: ["tabular-nums"],
|
|
483
|
-
fontSize: theme.type.caption1.fontSize,
|
|
484
|
-
lineHeight: theme.type.caption1.lineHeight,
|
|
485
|
-
color: theme.color.text3
|
|
486
|
-
},
|
|
487
|
-
chargeLabel: {
|
|
488
|
-
fontFamily: theme.font.sans,
|
|
489
|
-
fontSize: theme.type.footnote.fontSize,
|
|
490
|
-
lineHeight: theme.type.footnote.fontSize * theme.lineHeight.normal,
|
|
491
|
-
color: theme.color.text2
|
|
492
|
-
},
|
|
493
|
-
fullBox: {
|
|
494
|
-
flexDirection: "row",
|
|
495
|
-
flexWrap: "wrap",
|
|
496
|
-
alignItems: "baseline",
|
|
497
|
-
gap: theme.space.s2,
|
|
498
|
-
padding: theme.space.s4,
|
|
499
|
-
borderRadius: theme.radius.md,
|
|
500
|
-
borderWidth: theme.borderWidth.base,
|
|
501
|
-
borderColor: theme.color.border,
|
|
502
|
-
backgroundColor: theme.color.surface2
|
|
503
|
-
},
|
|
504
|
-
fullLabel: {
|
|
505
|
-
fontFamily: theme.font.sans,
|
|
506
|
-
fontSize: theme.type.footnote.fontSize,
|
|
507
|
-
lineHeight: theme.type.footnote.lineHeight,
|
|
508
|
-
color: theme.color.text2
|
|
509
|
-
},
|
|
510
|
-
notifyRow: { flexDirection: "row", alignItems: "center", gap: theme.space.s2 },
|
|
511
|
-
notifyLabel: {
|
|
512
|
-
flexShrink: 1,
|
|
513
|
-
fontFamily: theme.font.sans,
|
|
514
|
-
fontSize: theme.type.footnote.fontSize,
|
|
515
|
-
lineHeight: theme.type.footnote.lineHeight,
|
|
516
|
-
color: theme.color.text
|
|
517
|
-
},
|
|
518
|
-
stated: { gap: theme.space[2] },
|
|
519
|
-
overline: {
|
|
520
|
-
fontFamily: theme.font.sans,
|
|
521
|
-
fontWeight: theme.fontWeight.bold,
|
|
522
|
-
fontSize: theme.type.caption2.fontSize,
|
|
523
|
-
lineHeight: theme.type.caption2.lineHeight,
|
|
524
|
-
letterSpacing: theme.tracking.caps,
|
|
525
|
-
textTransform: "uppercase",
|
|
526
|
-
color: theme.color.text3
|
|
527
|
-
},
|
|
528
|
-
statedValue: {
|
|
529
|
-
fontFamily: theme.font.sans,
|
|
530
|
-
fontWeight: theme.fontWeight.semibold,
|
|
531
|
-
fontSize: theme.type.footnote.fontSize,
|
|
532
|
-
lineHeight: theme.type.footnote.lineHeight,
|
|
533
|
-
color: theme.color.text
|
|
534
|
-
},
|
|
535
|
-
statedNote: {
|
|
536
|
-
fontFamily: theme.font.sans,
|
|
537
|
-
fontSize: theme.type.caption1.fontSize,
|
|
538
|
-
lineHeight: theme.type.caption1.fontSize * theme.lineHeight.normal,
|
|
539
|
-
color: theme.color.text3
|
|
540
|
-
},
|
|
541
|
-
commitBlock: { gap: theme.space.s2 },
|
|
542
|
-
irreversibleRow: { flexDirection: "row", alignItems: "flex-start", gap: theme.space.s2 },
|
|
543
|
-
irreversible: {
|
|
544
|
-
flexShrink: 1,
|
|
545
|
-
fontFamily: theme.font.sans,
|
|
546
|
-
fontSize: theme.type.caption1.fontSize,
|
|
547
|
-
lineHeight: theme.type.caption1.fontSize * theme.lineHeight.normal,
|
|
548
|
-
color: theme.color.text3
|
|
549
|
-
},
|
|
550
|
-
confirmHead: { alignItems: "center", gap: theme.space.s3 },
|
|
551
|
-
checkPlate: {
|
|
552
|
-
width: theme.ctl.iconBtn,
|
|
553
|
-
height: theme.ctl.iconBtn,
|
|
554
|
-
alignItems: "center",
|
|
555
|
-
justifyContent: "center",
|
|
556
|
-
borderRadius: theme.radius.full,
|
|
557
|
-
// The soft tint always carries its tone edge.
|
|
558
|
-
borderWidth: theme.borderWidth.base,
|
|
559
|
-
borderColor: theme.edge.good,
|
|
560
|
-
backgroundColor: theme.color.goodSoft
|
|
561
|
-
},
|
|
562
|
-
confirmMeta: {
|
|
563
|
-
flexDirection: "row",
|
|
564
|
-
flexWrap: "wrap",
|
|
565
|
-
alignItems: "center",
|
|
566
|
-
justifyContent: "center",
|
|
567
|
-
gap: theme.space.s2
|
|
568
|
-
},
|
|
569
|
-
meta: {
|
|
570
|
-
fontFamily: theme.font.sans,
|
|
571
|
-
fontSize: theme.type.footnote.fontSize,
|
|
572
|
-
lineHeight: theme.type.footnote.lineHeight,
|
|
573
|
-
color: theme.color.text3
|
|
574
|
-
},
|
|
575
|
-
actionRow: {
|
|
576
|
-
flexDirection: "row",
|
|
577
|
-
flexWrap: "wrap",
|
|
578
|
-
alignItems: "center",
|
|
579
|
-
gap: theme.space.s2
|
|
580
|
-
}
|
|
581
|
-
}));
|
|
582
|
-
var BADGE_VARIANT = {
|
|
583
|
-
info: "info",
|
|
584
|
-
good: "good",
|
|
585
|
-
warn: "warn",
|
|
586
|
-
danger: "danger",
|
|
587
|
-
"text-3": "neutral"
|
|
588
|
-
};
|
|
589
|
-
var EVIDENCE_ICON = {
|
|
590
|
-
have: "check-circle",
|
|
591
|
-
missing: "alert-circle",
|
|
592
|
-
"n/a": "minus"
|
|
593
|
-
};
|
|
594
|
-
function DisputeDeadline({
|
|
595
|
-
dispute,
|
|
596
|
-
urgentAt = 3,
|
|
597
|
-
locale,
|
|
598
|
-
style
|
|
599
|
-
}) {
|
|
600
|
-
const theme = useLoamTheme();
|
|
601
|
-
const { styles } = useStyles(sheet3);
|
|
602
|
-
const urgent = dispute.daysLeft <= urgentAt;
|
|
603
|
-
const ink = urgent ? theme.color.dangerOnSoft : theme.color.warnOnSoft;
|
|
604
|
-
return /* @__PURE__ */ jsxs(
|
|
605
|
-
View,
|
|
606
|
-
{
|
|
607
|
-
style: [
|
|
608
|
-
styles.deadline,
|
|
609
|
-
{
|
|
610
|
-
// A soft tint always carries its tone edge.
|
|
611
|
-
borderColor: urgent ? theme.edge.danger : theme.edge.warn,
|
|
612
|
-
backgroundColor: urgent ? theme.color.dangerSoft : theme.color.warnSoft
|
|
613
|
-
},
|
|
614
|
-
style
|
|
615
|
-
],
|
|
616
|
-
children: [
|
|
617
|
-
/* @__PURE__ */ jsxs(View, { children: [
|
|
618
|
-
/* @__PURE__ */ jsx(Text, { style: [styles.daysLeft, { color: ink }], children: `${dispute.daysLeft} ${dispute.daysLeft === 1 ? "day" : "days"}` }),
|
|
619
|
-
/* @__PURE__ */ jsx(Text, { style: [styles.daysNote, { color: ink }], children: `to respond \xB7 evidence due ${dispute.due}` })
|
|
620
|
-
] }),
|
|
621
|
-
/* @__PURE__ */ jsxs(View, { style: styles.factGrid, children: [
|
|
622
|
-
/* @__PURE__ */ jsxs(View, { style: styles.fact, children: [
|
|
623
|
-
/* @__PURE__ */ jsx(Text, { style: [styles.factTerm, { color: ink }], children: "Disputed" }),
|
|
624
|
-
/* @__PURE__ */ jsx(
|
|
625
|
-
Amount,
|
|
626
|
-
{
|
|
627
|
-
minor: dispute.amountMinor,
|
|
628
|
-
currency: dispute.currency,
|
|
629
|
-
size: "lg",
|
|
630
|
-
weight: "bold",
|
|
631
|
-
locale
|
|
632
|
-
}
|
|
633
|
-
)
|
|
634
|
-
] }),
|
|
635
|
-
/* @__PURE__ */ jsxs(View, { style: styles.fact, children: [
|
|
636
|
-
/* @__PURE__ */ jsx(Text, { style: [styles.factTerm, { color: ink }], children: "Network fee" }),
|
|
637
|
-
/* @__PURE__ */ jsx(Text, { style: styles.factValueNum, children: money(dispute.feeMinor, dispute.currency, { locale }) })
|
|
638
|
-
] }),
|
|
639
|
-
/* @__PURE__ */ jsxs(View, { style: styles.fact, children: [
|
|
640
|
-
/* @__PURE__ */ jsx(Text, { style: [styles.factTerm, { color: ink }], children: "Reason" }),
|
|
641
|
-
/* @__PURE__ */ jsx(Text, { style: styles.factValue, children: `${dispute.reason} \xB7 ${dispute.network}` })
|
|
642
|
-
] }),
|
|
643
|
-
/* @__PURE__ */ jsxs(View, { style: styles.fact, children: [
|
|
644
|
-
/* @__PURE__ */ jsx(Text, { style: [styles.factTerm, { color: ink }], children: "Opened" }),
|
|
645
|
-
/* @__PURE__ */ jsx(Text, { style: styles.factValue, children: dispute.opened })
|
|
646
|
-
] })
|
|
647
|
-
] })
|
|
648
|
-
]
|
|
649
|
-
}
|
|
650
|
-
);
|
|
651
|
-
}
|
|
652
|
-
function DisputeEvidenceRow({
|
|
653
|
-
item,
|
|
654
|
-
attachLabel = "Attach",
|
|
655
|
-
onAttach,
|
|
656
|
-
style
|
|
657
|
-
}) {
|
|
658
|
-
const theme = useLoamTheme();
|
|
659
|
-
const { styles } = useStyles(sheet3);
|
|
660
|
-
const tone = evidenceTone(item.state);
|
|
661
|
-
const glyphColor = tone === "good" ? theme.color.good : tone === "warn" ? theme.color.warn : theme.color.text3;
|
|
662
|
-
return /* @__PURE__ */ jsxs(View, { role: "listitem", style: [styles.evidenceRow, style], children: [
|
|
663
|
-
/* @__PURE__ */ jsx(Icon, { name: EVIDENCE_ICON[item.state], size: theme.icon.sm, color: glyphColor }),
|
|
664
|
-
/* @__PURE__ */ jsxs(View, { style: styles.evidenceBody, children: [
|
|
665
|
-
/* @__PURE__ */ jsx(Text, { style: styles.evidenceLabel, children: item.label }),
|
|
666
|
-
/* @__PURE__ */ jsx(Text, { style: styles.evidenceNote, children: item.note })
|
|
667
|
-
] }),
|
|
668
|
-
/* @__PURE__ */ jsxs(View, { style: styles.evidenceTrail, children: [
|
|
669
|
-
/* @__PURE__ */ jsx(Badge, { style: styles.rowBadge, variant: BADGE_VARIANT[tone], size: "sm", children: evidenceLabel(item.state) }),
|
|
670
|
-
item.state === "missing" && onAttach ? /* @__PURE__ */ jsx(Button, { size: "xs", variant: "outline", leadingIcon: "upload", onPress: () => onAttach(item), children: attachLabel }) : null
|
|
671
|
-
] })
|
|
672
|
-
] });
|
|
673
|
-
}
|
|
674
|
-
function DisputePanel({
|
|
675
|
-
dispute,
|
|
676
|
-
title = "Chargeback",
|
|
677
|
-
description = "The amount and the network fee have already left the account. Submitting evidence asks the network to reverse the first of those; the fee is not refundable either way, and the network decides \u2014 not us.",
|
|
678
|
-
submitLabel = "Submit evidence",
|
|
679
|
-
acceptLabel = "Accept the dispute",
|
|
680
|
-
canSubmit = true,
|
|
681
|
-
busy = false,
|
|
682
|
-
showGuidance = true,
|
|
683
|
-
onSubmitEvidence,
|
|
684
|
-
onAccept,
|
|
685
|
-
onAttach,
|
|
686
|
-
locale,
|
|
687
|
-
style
|
|
688
|
-
}) {
|
|
689
|
-
const theme = useLoamTheme();
|
|
690
|
-
const { styles } = useStyles(sheet3);
|
|
691
|
-
const worth = disputeWorthDefending(dispute.amountMinor);
|
|
692
|
-
const threshold = money(DISPUTE_ACCEPT_THRESHOLD_MINOR, dispute.currency, { locale });
|
|
693
|
-
return /* @__PURE__ */ jsxs(View, { role: "region", accessibilityLabel: title, style: [styles.panel, style], children: [
|
|
694
|
-
/* @__PURE__ */ jsxs(View, { style: styles.header, children: [
|
|
695
|
-
/* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: styles.title, children: title }),
|
|
696
|
-
/* @__PURE__ */ jsx(DisputeDeadline, { dispute, locale }),
|
|
697
|
-
/* @__PURE__ */ jsx(Text, { style: styles.description, children: description })
|
|
698
|
-
] }),
|
|
699
|
-
/* @__PURE__ */ jsxs(View, { style: styles.evidenceBlock, children: [
|
|
700
|
-
/* @__PURE__ */ jsx(Text, { style: styles.overline, children: "Evidence" }),
|
|
701
|
-
/* @__PURE__ */ jsx(View, { role: "list", accessibilityRole: "list", children: dispute.evidence.map((item) => /* @__PURE__ */ jsx(DisputeEvidenceRow, { item, onAttach }, item.label)) })
|
|
702
|
-
] }),
|
|
703
|
-
showGuidance ? /* @__PURE__ */ jsxs(View, { style: styles.guidanceRow, children: [
|
|
704
|
-
/* @__PURE__ */ jsx(Icon, { name: "info", size: theme.icon.sm, color: theme.color.text3 }),
|
|
705
|
-
/* @__PURE__ */ jsx(Text, { style: styles.guidance, children: (worth ? `Above ${threshold} this is usually worth defending \u2014 the amount at stake exceeds the staff time a response costs.` : `Below ${threshold} the staff time spent defending this usually exceeds the amount at stake. Accepting is a legitimate answer, not a loss.`) + (canSubmit ? "" : " Some evidence is still missing; submitting now sends what is attached.") })
|
|
706
|
-
] }) : null,
|
|
707
|
-
/* @__PURE__ */ jsxs(View, { style: styles.actionRow, children: [
|
|
708
|
-
/* @__PURE__ */ jsx(Button, { loading: busy, onPress: onSubmitEvidence, children: submitLabel }),
|
|
709
|
-
/* @__PURE__ */ jsx(Button, { variant: "outline", onPress: onAccept, children: acceptLabel })
|
|
710
|
-
] })
|
|
711
|
-
] });
|
|
712
|
-
}
|
|
713
|
-
var sheet3 = createStyleSheet((theme) => ({
|
|
714
|
-
panel: {
|
|
715
|
-
alignSelf: "stretch",
|
|
716
|
-
gap: theme.space.s5,
|
|
717
|
-
padding: theme.space.s5,
|
|
718
|
-
borderRadius: theme.radius.lg,
|
|
719
|
-
borderWidth: theme.borderWidth.base,
|
|
720
|
-
borderColor: theme.color.border,
|
|
721
|
-
backgroundColor: theme.color.surface
|
|
722
|
-
},
|
|
723
|
-
header: { gap: theme.space.s3 },
|
|
724
|
-
title: {
|
|
725
|
-
fontFamily: theme.font.display,
|
|
726
|
-
fontWeight: theme.font.displayWeight,
|
|
727
|
-
fontSize: theme.type.title3.fontSize,
|
|
728
|
-
lineHeight: theme.type.title3.lineHeight,
|
|
729
|
-
letterSpacing: theme.type.title3.letterSpacing,
|
|
730
|
-
color: theme.color.text
|
|
731
|
-
},
|
|
732
|
-
description: {
|
|
733
|
-
fontFamily: theme.font.sans,
|
|
734
|
-
fontSize: theme.type.footnote.fontSize,
|
|
735
|
-
lineHeight: theme.type.footnote.fontSize * theme.lineHeight.normal,
|
|
736
|
-
color: theme.color.text2
|
|
737
|
-
},
|
|
738
|
-
deadline: {
|
|
739
|
-
gap: theme.space.s4,
|
|
740
|
-
padding: theme.space.s4,
|
|
741
|
-
borderRadius: theme.radius.md,
|
|
742
|
-
borderWidth: theme.borderWidth.base
|
|
743
|
-
},
|
|
744
|
-
daysLeft: {
|
|
745
|
-
fontFamily: theme.font.sans,
|
|
746
|
-
fontWeight: theme.fontWeight.bold,
|
|
747
|
-
fontVariant: ["tabular-nums"],
|
|
748
|
-
fontSize: theme.fontSize[32],
|
|
749
|
-
lineHeight: theme.fontSize[32] * theme.lineHeight.tight
|
|
750
|
-
},
|
|
751
|
-
daysNote: {
|
|
752
|
-
fontFamily: theme.font.sans,
|
|
753
|
-
fontSize: theme.type.footnote.fontSize,
|
|
754
|
-
lineHeight: theme.type.footnote.lineHeight
|
|
755
|
-
},
|
|
756
|
-
factGrid: {
|
|
757
|
-
flexDirection: "row",
|
|
758
|
-
flexWrap: "wrap",
|
|
759
|
-
columnGap: theme.space.s5,
|
|
760
|
-
rowGap: theme.space.s2
|
|
761
|
-
},
|
|
762
|
-
fact: { gap: theme.space[2] },
|
|
763
|
-
// No `color` here: the fact terms are inked by the caller with the *tint's*
|
|
764
|
-
// own measured ink (`dangerOnSoft` / `warnOnSoft`), the same one the days-left
|
|
765
|
-
// figure uses. They used to be `theme.color.text3`, and `--text-3` is measured
|
|
766
|
-
// against the neutral surface ramp only — on this banner's tint it read 4.20:1
|
|
767
|
-
// on `--danger-soft` and 3.78:1 on `--warn-soft` in dark mode, 28 axe
|
|
768
|
-
// `color-contrast` nodes from one style (seven deadlines x four terms).
|
|
769
|
-
factTerm: {
|
|
770
|
-
fontFamily: theme.font.sans,
|
|
771
|
-
fontWeight: theme.fontWeight.bold,
|
|
772
|
-
fontSize: theme.type.caption2.fontSize,
|
|
773
|
-
lineHeight: theme.type.caption2.lineHeight,
|
|
774
|
-
letterSpacing: theme.tracking.caps,
|
|
775
|
-
textTransform: "uppercase"
|
|
776
|
-
},
|
|
777
|
-
factValue: {
|
|
778
|
-
fontFamily: theme.font.sans,
|
|
779
|
-
fontSize: theme.type.footnote.fontSize,
|
|
780
|
-
lineHeight: theme.type.footnote.lineHeight,
|
|
781
|
-
color: theme.color.text
|
|
782
|
-
},
|
|
783
|
-
factValueNum: {
|
|
784
|
-
fontFamily: theme.font.sans,
|
|
785
|
-
fontWeight: theme.fontWeight.bold,
|
|
786
|
-
fontVariant: ["tabular-nums"],
|
|
787
|
-
fontSize: theme.type.footnote.fontSize,
|
|
788
|
-
lineHeight: theme.type.footnote.lineHeight,
|
|
789
|
-
color: theme.color.text
|
|
790
|
-
},
|
|
791
|
-
evidenceBlock: { gap: theme.space.s2 },
|
|
792
|
-
overline: {
|
|
793
|
-
fontFamily: theme.font.sans,
|
|
794
|
-
fontWeight: theme.fontWeight.bold,
|
|
795
|
-
fontSize: theme.type.caption2.fontSize,
|
|
796
|
-
lineHeight: theme.type.caption2.lineHeight,
|
|
797
|
-
letterSpacing: theme.tracking.caps,
|
|
798
|
-
textTransform: "uppercase",
|
|
799
|
-
color: theme.color.text3
|
|
800
|
-
},
|
|
801
|
-
evidenceRow: {
|
|
802
|
-
flexDirection: "row",
|
|
803
|
-
flexWrap: "wrap",
|
|
804
|
-
alignItems: "flex-start",
|
|
805
|
-
gap: theme.space.s3,
|
|
806
|
-
paddingVertical: theme.space.s3,
|
|
807
|
-
borderTopWidth: theme.borderWidth.base,
|
|
808
|
-
borderTopColor: theme.color.border
|
|
809
|
-
},
|
|
810
|
-
// A floor, so the row wraps the badge and Attach under the text rather than
|
|
811
|
-
// squeezing the note to a 126px column beside them.
|
|
812
|
-
evidenceBody: { flexGrow: 1, flexShrink: 1, flexBasis: theme.panel.xs, gap: theme.space[2] },
|
|
813
|
-
evidenceLabel: {
|
|
814
|
-
fontFamily: theme.font.sans,
|
|
815
|
-
fontWeight: theme.fontWeight.semibold,
|
|
816
|
-
fontSize: theme.type.footnote.fontSize,
|
|
817
|
-
lineHeight: theme.type.footnote.lineHeight,
|
|
818
|
-
color: theme.color.text
|
|
819
|
-
},
|
|
820
|
-
evidenceNote: {
|
|
821
|
-
fontFamily: theme.font.sans,
|
|
822
|
-
fontSize: theme.type.caption1.fontSize,
|
|
823
|
-
lineHeight: theme.type.caption1.fontSize * theme.lineHeight.normal,
|
|
824
|
-
color: theme.color.text3
|
|
825
|
-
},
|
|
826
|
-
evidenceTrail: { flexDirection: "row", alignItems: "center", gap: theme.space.s2 },
|
|
827
|
-
guidanceRow: { flexDirection: "row", alignItems: "flex-start", gap: theme.space.s2 },
|
|
828
|
-
guidance: {
|
|
829
|
-
flexShrink: 1,
|
|
830
|
-
fontFamily: theme.font.sans,
|
|
831
|
-
fontSize: theme.type.caption1.fontSize,
|
|
832
|
-
lineHeight: theme.type.caption1.fontSize * theme.lineHeight.normal,
|
|
833
|
-
color: theme.color.text3
|
|
834
|
-
},
|
|
835
|
-
actionRow: {
|
|
836
|
-
flexDirection: "row",
|
|
837
|
-
flexWrap: "wrap",
|
|
838
|
-
alignItems: "center",
|
|
839
|
-
gap: theme.space.s2
|
|
840
|
-
},
|
|
841
|
-
// Badge hugs with `flex-start`, which pins it to the top of this centred row.
|
|
842
|
-
rowBadge: { alignSelf: "center" }
|
|
843
|
-
}));
|
|
844
|
-
|
|
845
|
-
export { DisputeDeadline, DisputeEvidenceRow, DisputePanel, RefundAmountField, RefundArrivalNote, RefundConfirmation, RefundLedger, RefundPanel, RefundReasonList, RefundRemainingNote, RefundStatus };
|