@matbea-ui/matbea-ui 0.1.7 → 0.2.0
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/matbea-ui.cjs.js +2289 -1
- package/dist/matbea-ui.cjs.js.map +1 -0
- package/dist/matbea-ui.es.js +2257 -57
- package/dist/matbea-ui.es.js.map +1 -0
- package/dist/types/index.d.ts +330 -4
- package/package.json +23 -13
- package/dist/fonts/ProximaNova-Bold.woff2 +0 -0
- package/dist/fonts/ProximaNova-RegularIt.woff2 +0 -0
- package/dist/fonts/ProximaNova-Semibold.woff2 +0 -0
- package/dist/matbea-ui.cjs10.js +0 -1
- package/dist/matbea-ui.cjs11.js +0 -1
- package/dist/matbea-ui.cjs12.js +0 -1
- package/dist/matbea-ui.cjs13.js +0 -1
- package/dist/matbea-ui.cjs14.js +0 -1
- package/dist/matbea-ui.cjs15.js +0 -1
- package/dist/matbea-ui.cjs16.js +0 -1
- package/dist/matbea-ui.cjs17.js +0 -1
- package/dist/matbea-ui.cjs18.js +0 -1
- package/dist/matbea-ui.cjs19.js +0 -1
- package/dist/matbea-ui.cjs2.js +0 -1
- package/dist/matbea-ui.cjs20.js +0 -1
- package/dist/matbea-ui.cjs21.js +0 -1
- package/dist/matbea-ui.cjs22.js +0 -1
- package/dist/matbea-ui.cjs23.js +0 -1
- package/dist/matbea-ui.cjs24.js +0 -1
- package/dist/matbea-ui.cjs25.js +0 -1
- package/dist/matbea-ui.cjs26.js +0 -1
- package/dist/matbea-ui.cjs27.js +0 -1
- package/dist/matbea-ui.cjs28.js +0 -1
- package/dist/matbea-ui.cjs29.js +0 -1
- package/dist/matbea-ui.cjs3.js +0 -1
- package/dist/matbea-ui.cjs30.js +0 -1
- package/dist/matbea-ui.cjs31.js +0 -63
- package/dist/matbea-ui.cjs32.js +0 -34
- package/dist/matbea-ui.cjs33.js +0 -44
- package/dist/matbea-ui.cjs34.js +0 -1
- package/dist/matbea-ui.cjs35.js +0 -11
- package/dist/matbea-ui.cjs36.js +0 -71
- package/dist/matbea-ui.cjs37.js +0 -14
- package/dist/matbea-ui.cjs38.js +0 -11
- package/dist/matbea-ui.cjs39.js +0 -1
- package/dist/matbea-ui.cjs4.js +0 -1
- package/dist/matbea-ui.cjs40.js +0 -1
- package/dist/matbea-ui.cjs41.js +0 -37
- package/dist/matbea-ui.cjs42.js +0 -62
- package/dist/matbea-ui.cjs43.js +0 -102
- package/dist/matbea-ui.cjs44.js +0 -103
- package/dist/matbea-ui.cjs45.js +0 -7
- package/dist/matbea-ui.cjs46.js +0 -1
- package/dist/matbea-ui.cjs47.js +0 -1
- package/dist/matbea-ui.cjs48.js +0 -55
- package/dist/matbea-ui.cjs49.js +0 -23
- package/dist/matbea-ui.cjs5.js +0 -1
- package/dist/matbea-ui.cjs50.js +0 -38
- package/dist/matbea-ui.cjs51.js +0 -51
- package/dist/matbea-ui.cjs52.js +0 -1
- package/dist/matbea-ui.cjs53.js +0 -27
- package/dist/matbea-ui.cjs54.js +0 -48
- package/dist/matbea-ui.cjs55.js +0 -1
- package/dist/matbea-ui.cjs56.js +0 -1
- package/dist/matbea-ui.cjs57.js +0 -1
- package/dist/matbea-ui.cjs58.js +0 -34
- package/dist/matbea-ui.cjs59.js +0 -11
- package/dist/matbea-ui.cjs6.js +0 -1
- package/dist/matbea-ui.cjs60.js +0 -24
- package/dist/matbea-ui.cjs61.js +0 -27
- package/dist/matbea-ui.cjs62.js +0 -29
- package/dist/matbea-ui.cjs63.js +0 -1
- package/dist/matbea-ui.cjs64.js +0 -20
- package/dist/matbea-ui.cjs65.js +0 -1
- package/dist/matbea-ui.cjs66.js +0 -1
- package/dist/matbea-ui.cjs67.js +0 -1
- package/dist/matbea-ui.cjs68.js +0 -6
- package/dist/matbea-ui.cjs69.js +0 -6
- package/dist/matbea-ui.cjs7.js +0 -1
- package/dist/matbea-ui.cjs70.js +0 -1
- package/dist/matbea-ui.cjs71.js +0 -1
- package/dist/matbea-ui.cjs72.js +0 -1
- package/dist/matbea-ui.cjs73.js +0 -1
- package/dist/matbea-ui.cjs74.js +0 -1
- package/dist/matbea-ui.cjs8.js +0 -1
- package/dist/matbea-ui.cjs9.js +0 -1
- package/dist/matbea-ui.es10.js +0 -10
- package/dist/matbea-ui.es11.js +0 -47
- package/dist/matbea-ui.es12.js +0 -178
- package/dist/matbea-ui.es13.js +0 -188
- package/dist/matbea-ui.es14.js +0 -12
- package/dist/matbea-ui.es15.js +0 -31
- package/dist/matbea-ui.es16.js +0 -25
- package/dist/matbea-ui.es17.js +0 -40
- package/dist/matbea-ui.es18.js +0 -43
- package/dist/matbea-ui.es19.js +0 -25
- package/dist/matbea-ui.es2.js +0 -38
- package/dist/matbea-ui.es20.js +0 -13
- package/dist/matbea-ui.es21.js +0 -33
- package/dist/matbea-ui.es22.js +0 -16
- package/dist/matbea-ui.es23.js +0 -25
- package/dist/matbea-ui.es24.js +0 -36
- package/dist/matbea-ui.es25.js +0 -29
- package/dist/matbea-ui.es26.js +0 -30
- package/dist/matbea-ui.es27.js +0 -20
- package/dist/matbea-ui.es28.js +0 -13
- package/dist/matbea-ui.es29.js +0 -41
- package/dist/matbea-ui.es3.js +0 -24
- package/dist/matbea-ui.es30.js +0 -5
- package/dist/matbea-ui.es31.js +0 -163
- package/dist/matbea-ui.es32.js +0 -40
- package/dist/matbea-ui.es33.js +0 -330
- package/dist/matbea-ui.es34.js +0 -15
- package/dist/matbea-ui.es35.js +0 -26
- package/dist/matbea-ui.es36.js +0 -85
- package/dist/matbea-ui.es37.js +0 -18
- package/dist/matbea-ui.es38.js +0 -18
- package/dist/matbea-ui.es39.js +0 -24
- package/dist/matbea-ui.es4.js +0 -31
- package/dist/matbea-ui.es40.js +0 -10
- package/dist/matbea-ui.es41.js +0 -42
- package/dist/matbea-ui.es42.js +0 -70
- package/dist/matbea-ui.es43.js +0 -119
- package/dist/matbea-ui.es44.js +0 -131
- package/dist/matbea-ui.es45.js +0 -13
- package/dist/matbea-ui.es46.js +0 -25
- package/dist/matbea-ui.es47.js +0 -34
- package/dist/matbea-ui.es48.js +0 -64
- package/dist/matbea-ui.es49.js +0 -39
- package/dist/matbea-ui.es5.js +0 -19
- package/dist/matbea-ui.es50.js +0 -44
- package/dist/matbea-ui.es51.js +0 -58
- package/dist/matbea-ui.es52.js +0 -26
- package/dist/matbea-ui.es53.js +0 -58
- package/dist/matbea-ui.es54.js +0 -62
- package/dist/matbea-ui.es55.js +0 -12
- package/dist/matbea-ui.es56.js +0 -12
- package/dist/matbea-ui.es57.js +0 -15
- package/dist/matbea-ui.es58.js +0 -74
- package/dist/matbea-ui.es59.js +0 -17
- package/dist/matbea-ui.es6.js +0 -62
- package/dist/matbea-ui.es60.js +0 -55
- package/dist/matbea-ui.es61.js +0 -57
- package/dist/matbea-ui.es62.js +0 -59
- package/dist/matbea-ui.es63.js +0 -21
- package/dist/matbea-ui.es64.js +0 -34
- package/dist/matbea-ui.es65.js +0 -10
- package/dist/matbea-ui.es66.js +0 -4
- package/dist/matbea-ui.es67.js +0 -26
- package/dist/matbea-ui.es68.js +0 -236
- package/dist/matbea-ui.es69.js +0 -10
- package/dist/matbea-ui.es7.js +0 -5
- package/dist/matbea-ui.es70.js +0 -9
- package/dist/matbea-ui.es71.js +0 -12
- package/dist/matbea-ui.es72.js +0 -4
- package/dist/matbea-ui.es73.js +0 -4
- package/dist/matbea-ui.es74.js +0 -17
- package/dist/matbea-ui.es8.js +0 -6
- package/dist/matbea-ui.es9.js +0 -27
- package/dist/types/components/Button/index.d.ts +0 -14
- package/dist/types/components/Button/index.stories.d.ts +0 -14
- package/dist/types/components/Button/styled.d.ts +0 -16
- package/dist/types/components/Checkbox/index.d.ts +0 -12
- package/dist/types/components/Checkbox/index.stories.d.ts +0 -8
- package/dist/types/components/Checkbox/styled.d.ts +0 -9
- package/dist/types/components/Container/index.d.ts +0 -1
- package/dist/types/components/Container/index.stories.d.ts +0 -6
- package/dist/types/components/Container/styled.d.ts +0 -1
- package/dist/types/components/CopyButton/index.d.ts +0 -6
- package/dist/types/components/CopyButton/styled.d.ts +0 -1
- package/dist/types/components/CopyTooltip/index.d.ts +0 -8
- package/dist/types/components/CopyTooltip/styled.d.ts +0 -3
- package/dist/types/components/Counter/index.d.ts +0 -3
- package/dist/types/components/Counter/index.stories.d.ts +0 -6
- package/dist/types/components/Counter/styled.d.ts +0 -52
- package/dist/types/components/Hamburger/index.d.ts +0 -6
- package/dist/types/components/Hamburger/index.stories.d.ts +0 -6
- package/dist/types/components/Icon/index.d.ts +0 -6
- package/dist/types/components/Informer/index.d.ts +0 -8
- package/dist/types/components/Informer/index.stories.d.ts +0 -11
- package/dist/types/components/Informer/styled.d.ts +0 -5
- package/dist/types/components/Input/index.d.ts +0 -18
- package/dist/types/components/Input/index.stories.d.ts +0 -9
- package/dist/types/components/Input/styled.d.ts +0 -61
- package/dist/types/components/Loader/index.d.ts +0 -1
- package/dist/types/components/Loader/index.stories.d.ts +0 -6
- package/dist/types/components/Loader/styled.d.ts +0 -2
- package/dist/types/components/RadioButton/index.d.ts +0 -12
- package/dist/types/components/RadioButton/index.stories.d.ts +0 -8
- package/dist/types/components/RadioButton/styled.d.ts +0 -43
- package/dist/types/components/Select/index.d.ts +0 -22
- package/dist/types/components/Select/index.stories.d.ts +0 -8
- package/dist/types/components/Select/styled.d.ts +0 -70
- package/dist/types/components/Switcher/index.d.ts +0 -10
- package/dist/types/components/Switcher/index.stories.d.ts +0 -7
- package/dist/types/components/Switcher/styled.d.ts +0 -8
- package/dist/types/components/Table/index.d.ts +0 -17
- package/dist/types/components/Table/index.stories.d.ts +0 -6
- package/dist/types/components/Table/styled.d.ts +0 -108
- package/dist/types/components/Tabs/index.d.ts +0 -11
- package/dist/types/components/Tabs/index.stories.d.ts +0 -7
- package/dist/types/components/Tabs/item.d.ts +0 -11
- package/dist/types/components/Tabs/styled.d.ts +0 -6
- package/dist/types/components/Tooltip/index.d.ts +0 -18
- package/dist/types/components/Tooltip/index.stories.d.ts +0 -10
- package/dist/types/components/Tooltip/styled.d.ts +0 -66
- package/dist/types/components/Tooltip/types.d.ts +0 -1
- package/dist/types/components/Typography/index.d.ts +0 -17
- package/dist/types/components/Typography/index.stories.d.ts +0 -9
- package/dist/types/components/Typography/styled.d.ts +0 -10
- package/dist/types/components/UserAccount/index.d.ts +0 -3
- package/dist/types/components/UserAccount/index.stories.d.ts +0 -6
- package/dist/types/components/UserAccount/styled.d.ts +0 -36
- package/dist/types/components/index.d.ts +0 -17
- package/dist/types/icons/banks/index.d.ts +0 -40
- package/dist/types/icons/banks/logo-ACBACredit.d.ts +0 -2
- package/dist/types/icons/banks/logo-ArmEconomBank.d.ts +0 -2
- package/dist/types/icons/banks/logo-ArshidBank.d.ts +0 -2
- package/dist/types/icons/banks/logo-BankofGeorgia.d.ts +0 -2
- package/dist/types/icons/banks/logo-ForteBank.d.ts +0 -2
- package/dist/types/icons/banks/logo-HalykBank.d.ts +0 -2
- package/dist/types/icons/banks/logo-HumoCard.d.ts +0 -2
- package/dist/types/icons/banks/logo-JysanBank.d.ts +0 -2
- package/dist/types/icons/banks/logo-KaspiBank.d.ts +0 -2
- package/dist/types/icons/banks/logo-Monobank.d.ts +0 -2
- package/dist/types/icons/banks/logo-Neteller.d.ts +0 -2
- package/dist/types/icons/banks/logo-Revolut.d.ts +0 -2
- package/dist/types/icons/banks/logo-TBCBank.d.ts +0 -2
- package/dist/types/icons/banks/logo-UZCard.d.ts +0 -2
- package/dist/types/icons/banks/logo-Wise.d.ts +0 -2
- package/dist/types/icons/banks/logo-abank.d.ts +0 -2
- package/dist/types/icons/banks/logo-absolut.d.ts +0 -2
- package/dist/types/icons/banks/logo-alphabank.d.ts +0 -2
- package/dist/types/icons/banks/logo-bankcentercredit.d.ts +0 -2
- package/dist/types/icons/banks/logo-eurobank.d.ts +0 -2
- package/dist/types/icons/banks/logo-homecredit.d.ts +0 -2
- package/dist/types/icons/banks/logo-mtsbank.d.ts +0 -2
- package/dist/types/icons/banks/logo-oshadbank.d.ts +0 -2
- package/dist/types/icons/banks/logo-otkrutie.d.ts +0 -2
- package/dist/types/icons/banks/logo-pochtabank.d.ts +0 -2
- package/dist/types/icons/banks/logo-privatebank.d.ts +0 -2
- package/dist/types/icons/banks/logo-pumb.d.ts +0 -2
- package/dist/types/icons/banks/logo-qiwi.d.ts +0 -2
- package/dist/types/icons/banks/logo-rayfuzenbank.d.ts +0 -2
- package/dist/types/icons/banks/logo-rnkb.d.ts +0 -2
- package/dist/types/icons/banks/logo-rosbank.d.ts +0 -2
- package/dist/types/icons/banks/logo-rosselhozbank.d.ts +0 -2
- package/dist/types/icons/banks/logo-russtandart.d.ts +0 -2
- package/dist/types/icons/banks/logo-sber.d.ts +0 -2
- package/dist/types/icons/banks/logo-sbp.d.ts +0 -2
- package/dist/types/icons/banks/logo-sotovuy.d.ts +0 -2
- package/dist/types/icons/banks/logo-tinkoff.d.ts +0 -2
- package/dist/types/icons/banks/logo-ukrsibbank.d.ts +0 -2
- package/dist/types/icons/banks/logo-vtb.d.ts +0 -2
- package/dist/types/icons/banks/logo-youmoney.d.ts +0 -2
- package/dist/types/icons/base/Dropdown-small.d.ts +0 -2
- package/dist/types/icons/base/Dropdown-up.d.ts +0 -2
- package/dist/types/icons/base/Dropdown.d.ts +0 -2
- package/dist/types/icons/base/Info.d.ts +0 -2
- package/dist/types/icons/base/arrow.d.ts +0 -2
- package/dist/types/icons/base/attach.d.ts +0 -2
- package/dist/types/icons/base/check.d.ts +0 -2
- package/dist/types/icons/base/circle-send-crypto.d.ts +0 -2
- package/dist/types/icons/base/clock.d.ts +0 -2
- package/dist/types/icons/base/close.d.ts +0 -2
- package/dist/types/icons/base/close2.d.ts +0 -2
- package/dist/types/icons/base/copy.d.ts +0 -2
- package/dist/types/icons/base/dashboard.d.ts +0 -2
- package/dist/types/icons/base/deposit-simple.d.ts +0 -2
- package/dist/types/icons/base/deposit.d.ts +0 -2
- package/dist/types/icons/base/edit.d.ts +0 -2
- package/dist/types/icons/base/emoji.d.ts +0 -2
- package/dist/types/icons/base/error-big.d.ts +0 -2
- package/dist/types/icons/base/exchange-arrows.d.ts +0 -2
- package/dist/types/icons/base/exchange-simple.d.ts +0 -2
- package/dist/types/icons/base/exchange.d.ts +0 -2
- package/dist/types/icons/base/hamburger.d.ts +0 -2
- package/dist/types/icons/base/headphones.d.ts +0 -2
- package/dist/types/icons/base/hide-ui.d.ts +0 -2
- package/dist/types/icons/base/history.d.ts +0 -2
- package/dist/types/icons/base/index.d.ts +0 -47
- package/dist/types/icons/base/link.d.ts +0 -2
- package/dist/types/icons/base/logout.d.ts +0 -2
- package/dist/types/icons/base/message-send.d.ts +0 -2
- package/dist/types/icons/base/p2p.d.ts +0 -2
- package/dist/types/icons/base/plus.d.ts +0 -2
- package/dist/types/icons/base/recive-crypto.d.ts +0 -2
- package/dist/types/icons/base/scan-qr.d.ts +0 -2
- package/dist/types/icons/base/search.d.ts +0 -2
- package/dist/types/icons/base/send-crypto.d.ts +0 -2
- package/dist/types/icons/base/settings.d.ts +0 -2
- package/dist/types/icons/base/show-ui.d.ts +0 -2
- package/dist/types/icons/base/successfull-big.d.ts +0 -2
- package/dist/types/icons/base/successfull-small.d.ts +0 -2
- package/dist/types/icons/base/top-up.d.ts +0 -2
- package/dist/types/icons/base/up-small.d.ts +0 -2
- package/dist/types/icons/base/user.d.ts +0 -2
- package/dist/types/icons/base/users.d.ts +0 -2
- package/dist/types/icons/base/wallet-fill.d.ts +0 -2
- package/dist/types/icons/base/wallet.d.ts +0 -2
- package/dist/types/icons/base/warning.d.ts +0 -2
- package/dist/types/icons/base/withdraw-simple.d.ts +0 -2
- package/dist/types/icons/base/withdraw.d.ts +0 -2
- package/dist/types/icons/country/country-br.d.ts +0 -2
- package/dist/types/icons/country/country-czech.d.ts +0 -2
- package/dist/types/icons/country/country-kz.d.ts +0 -2
- package/dist/types/icons/country/country-rus.d.ts +0 -2
- package/dist/types/icons/country/index.d.ts +0 -4
- package/dist/types/icons/currency/Bitcoin.d.ts +0 -2
- package/dist/types/icons/currency/CAKE.d.ts +0 -2
- package/dist/types/icons/currency/EUR.d.ts +0 -2
- package/dist/types/icons/currency/FTX.d.ts +0 -2
- package/dist/types/icons/currency/NEM.d.ts +0 -2
- package/dist/types/icons/currency/RUB.d.ts +0 -2
- package/dist/types/icons/currency/USD.d.ts +0 -2
- package/dist/types/icons/currency/Zilliqa.d.ts +0 -2
- package/dist/types/icons/currency/aave.d.ts +0 -2
- package/dist/types/icons/currency/algorand.d.ts +0 -2
- package/dist/types/icons/currency/avalanche.d.ts +0 -2
- package/dist/types/icons/currency/bat.d.ts +0 -2
- package/dist/types/icons/currency/bnb-small.d.ts +0 -2
- package/dist/types/icons/currency/btg.d.ts +0 -2
- package/dist/types/icons/currency/busd.d.ts +0 -2
- package/dist/types/icons/currency/cardano.d.ts +0 -2
- package/dist/types/icons/currency/chainlink.d.ts +0 -2
- package/dist/types/icons/currency/cosmos.d.ts +0 -2
- package/dist/types/icons/currency/dash-small.d.ts +0 -2
- package/dist/types/icons/currency/decentraland.d.ts +0 -2
- package/dist/types/icons/currency/digibyte.d.ts +0 -2
- package/dist/types/icons/currency/doge-small.d.ts +0 -2
- package/dist/types/icons/currency/elrond.d.ts +0 -2
- package/dist/types/icons/currency/enjin.d.ts +0 -2
- package/dist/types/icons/currency/eos.d.ts +0 -2
- package/dist/types/icons/currency/etc.d.ts +0 -2
- package/dist/types/icons/currency/eth.d.ts +0 -2
- package/dist/types/icons/currency/fantom.d.ts +0 -2
- package/dist/types/icons/currency/filecoin.d.ts +0 -2
- package/dist/types/icons/currency/hedera.d.ts +0 -2
- package/dist/types/icons/currency/icomputer.d.ts +0 -2
- package/dist/types/icons/currency/icon-neo.d.ts +0 -2
- package/dist/types/icons/currency/icx.d.ts +0 -2
- package/dist/types/icons/currency/ils.d.ts +0 -2
- package/dist/types/icons/currency/index.d.ts +0 -69
- package/dist/types/icons/currency/iota.d.ts +0 -2
- package/dist/types/icons/currency/klaytn.d.ts +0 -2
- package/dist/types/icons/currency/lari.d.ts +0 -2
- package/dist/types/icons/currency/lisk.d.ts +0 -2
- package/dist/types/icons/currency/litecoin.d.ts +0 -2
- package/dist/types/icons/currency/luna.d.ts +0 -2
- package/dist/types/icons/currency/maker.d.ts +0 -2
- package/dist/types/icons/currency/matic.d.ts +0 -2
- package/dist/types/icons/currency/near.d.ts +0 -2
- package/dist/types/icons/currency/omgnetwork.d.ts +0 -2
- package/dist/types/icons/currency/omise.d.ts +0 -2
- package/dist/types/icons/currency/ontology.d.ts +0 -2
- package/dist/types/icons/currency/paxg.d.ts +0 -2
- package/dist/types/icons/currency/polka.d.ts +0 -2
- package/dist/types/icons/currency/qnekwork.d.ts +0 -2
- package/dist/types/icons/currency/qutum.d.ts +0 -2
- package/dist/types/icons/currency/ripple.d.ts +0 -2
- package/dist/types/icons/currency/sandbox.d.ts +0 -2
- package/dist/types/icons/currency/solana.d.ts +0 -2
- package/dist/types/icons/currency/stellar.d.ts +0 -2
- package/dist/types/icons/currency/stepn.d.ts +0 -2
- package/dist/types/icons/currency/sushi.d.ts +0 -2
- package/dist/types/icons/currency/synthetix.d.ts +0 -2
- package/dist/types/icons/currency/tether.d.ts +0 -2
- package/dist/types/icons/currency/tezos.d.ts +0 -2
- package/dist/types/icons/currency/thegraph.d.ts +0 -2
- package/dist/types/icons/currency/theta.d.ts +0 -2
- package/dist/types/icons/currency/trx-small.d.ts +0 -2
- package/dist/types/icons/currency/uniswap.d.ts +0 -2
- package/dist/types/icons/currency/usdc.d.ts +0 -2
- package/dist/types/icons/currency/vechain.d.ts +0 -2
- package/dist/types/icons/currency/waves.d.ts +0 -2
- package/dist/types/icons/currency/xmr-small.d.ts +0 -2
- package/dist/types/icons/currency/zcash-small.d.ts +0 -2
- package/dist/types/icons/currency/zrx.d.ts +0 -2
- package/dist/types/icons/index.d.ts +0 -4
- package/dist/types/icons/stories/banks.d.ts +0 -1
- package/dist/types/icons/stories/base.d.ts +0 -1
- package/dist/types/icons/stories/country.d.ts +0 -1
- package/dist/types/icons/stories/currency.d.ts +0 -1
- package/dist/types/icons/stories/index.d.ts +0 -1
- package/dist/types/icons/stories/index.stories.d.ts +0 -6
- package/dist/types/icons/stories/styled.d.ts +0 -2
- package/dist/types/theme/colors.d.ts +0 -38
- package/dist/types/theme/index.d.ts +0 -47
- package/dist/types/utils/index.d.ts +0 -3
- package/dist/types/widgets/ApplicationData/index.d.ts +0 -10
- package/dist/types/widgets/ApplicationData/index.stories.d.ts +0 -9
- package/dist/types/widgets/ApplicationData/styled.d.ts +0 -106
- package/dist/types/widgets/ApplicationInfo/index.d.ts +0 -7
- package/dist/types/widgets/ApplicationInfo/index.stories.d.ts +0 -8
- package/dist/types/widgets/ApplicationInfo/styled.d.ts +0 -6
- package/dist/types/widgets/ApplicationInfo/types.d.ts +0 -1
- package/dist/types/widgets/ApplicationStatus/index.d.ts +0 -6
- package/dist/types/widgets/ApplicationStatus/index.stories.d.ts +0 -8
- package/dist/types/widgets/ApplicationStatus/styled.d.ts +0 -108
- package/dist/types/widgets/BalanceTable/index.d.ts +0 -8
- package/dist/types/widgets/BalanceTable/index.stories.d.ts +0 -6
- package/dist/types/widgets/BalanceTable/styled.d.ts +0 -3
- package/dist/types/widgets/BalanceTable/table.d.ts +0 -10
- package/dist/types/widgets/CurrencyName/index.d.ts +0 -7
- package/dist/types/widgets/CurrencyName/index.stories.d.ts +0 -8
- package/dist/types/widgets/CurrencyName/styled.d.ts +0 -162
- package/dist/types/widgets/CurrencyRate/index.d.ts +0 -9
- package/dist/types/widgets/CurrencyRate/index.stories.d.ts +0 -6
- package/dist/types/widgets/CurrencyRate/styled.d.ts +0 -107
- package/dist/types/widgets/Requisites/index.d.ts +0 -11
- package/dist/types/widgets/Requisites/index.stories.d.ts +0 -6
- package/dist/types/widgets/Requisites/styled.d.ts +0 -105
- package/dist/types/widgets/TransactionStatus/index.d.ts +0 -6
- package/dist/types/widgets/TransactionStatus/index.stories.d.ts +0 -7
- package/dist/types/widgets/TransactionStatus/styled.d.ts +0 -106
- package/dist/types/widgets/index.d.ts +0 -8
- package/dist/vite.svg +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,330 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import react__default, { ReactNode, ButtonHTMLAttributes, ChangeEvent, FocusEventHandler } from 'react';
|
|
4
|
+
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
5
|
+
import * as styled_components from 'styled-components';
|
|
6
|
+
|
|
7
|
+
type ButtonVariant = "primary" | "secondary" | "tertiary";
|
|
8
|
+
type ButtonSize = "default" | "medium" | "small";
|
|
9
|
+
type ButtonForm = "default" | "brick-right";
|
|
10
|
+
|
|
11
|
+
type IconPosition = "left" | "right" | "only";
|
|
12
|
+
type ButtonProps = {
|
|
13
|
+
variant?: ButtonVariant;
|
|
14
|
+
size?: ButtonSize;
|
|
15
|
+
form?: ButtonForm;
|
|
16
|
+
fullWidth?: boolean;
|
|
17
|
+
icon?: ReactNode;
|
|
18
|
+
iconPosition?: IconPosition;
|
|
19
|
+
children?: ReactNode;
|
|
20
|
+
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
21
|
+
declare const Button: ({ variant, size, form, fullWidth, icon, iconPosition, children, disabled, ...rest }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
type CopyTooltipProps = {
|
|
24
|
+
label: string;
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
copiedText?: string;
|
|
27
|
+
copyDuration?: number;
|
|
28
|
+
};
|
|
29
|
+
declare const CopyTooltip: React.FC<CopyTooltipProps>;
|
|
30
|
+
|
|
31
|
+
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "body-xl-semibold" | "body-xl" | "body-l-semibold" | "body-l" | "body-m-bold" | "body-m-semibold" | "body-m" | "body-s-semibold" | "body-s" | "button" | "form-input" | "avatar-basic" | "avatar-m" | "avatar-s";
|
|
32
|
+
|
|
33
|
+
type ElementTypeProp = React.ElementType;
|
|
34
|
+
type TypographyOwnProps = {
|
|
35
|
+
variant?: TypographyVariant;
|
|
36
|
+
color?: string;
|
|
37
|
+
align?: "left" | "center" | "right" | "justify";
|
|
38
|
+
uppercase?: boolean;
|
|
39
|
+
truncate?: boolean;
|
|
40
|
+
inline?: boolean;
|
|
41
|
+
};
|
|
42
|
+
type PolymorphicProps<C extends ElementTypeProp> = TypographyOwnProps & Omit<React.ComponentPropsWithoutRef<C>, keyof TypographyOwnProps> & {
|
|
43
|
+
as?: C;
|
|
44
|
+
forwardedAs?: C;
|
|
45
|
+
};
|
|
46
|
+
type TypographyComponent = <C extends ElementTypeProp = "span">(props: PolymorphicProps<C>) => React.ReactElement | null;
|
|
47
|
+
declare const Typography: TypographyComponent;
|
|
48
|
+
|
|
49
|
+
type InformerType = "success" | "error" | "info" | "warning";
|
|
50
|
+
type InformerProps = {
|
|
51
|
+
label: string;
|
|
52
|
+
description: string;
|
|
53
|
+
type: InformerType;
|
|
54
|
+
icon?: boolean;
|
|
55
|
+
};
|
|
56
|
+
declare const Informer: React.FC<InformerProps>;
|
|
57
|
+
|
|
58
|
+
type TextFieldProps = {
|
|
59
|
+
value?: string;
|
|
60
|
+
defaultValue?: string;
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
label?: string;
|
|
63
|
+
error?: string;
|
|
64
|
+
disabled?: boolean;
|
|
65
|
+
icon?: React.ReactNode;
|
|
66
|
+
action?: React.ReactNode;
|
|
67
|
+
name?: string;
|
|
68
|
+
type?: React.HTMLInputTypeAttribute;
|
|
69
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
70
|
+
onFocus?: React.FocusEventHandler<HTMLInputElement>;
|
|
71
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
72
|
+
className?: string;
|
|
73
|
+
};
|
|
74
|
+
declare const TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
75
|
+
|
|
76
|
+
declare const Container: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
77
|
+
|
|
78
|
+
declare const Counter: ({ count }: {
|
|
79
|
+
count?: number;
|
|
80
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
81
|
+
|
|
82
|
+
type HamburgerButtonProps = {
|
|
83
|
+
open?: boolean;
|
|
84
|
+
onToggle?: (next: boolean) => void;
|
|
85
|
+
};
|
|
86
|
+
declare const HamburgerButton: React.FC<HamburgerButtonProps>;
|
|
87
|
+
|
|
88
|
+
declare const Loader: () => react_jsx_runtime.JSX.Element;
|
|
89
|
+
|
|
90
|
+
type RadioButtonProps = {
|
|
91
|
+
checked?: boolean;
|
|
92
|
+
defaultChecked?: boolean;
|
|
93
|
+
disabled?: boolean;
|
|
94
|
+
name?: string;
|
|
95
|
+
value?: string;
|
|
96
|
+
label?: string;
|
|
97
|
+
onChange?: (value: boolean) => void;
|
|
98
|
+
className?: string;
|
|
99
|
+
};
|
|
100
|
+
declare const RadioButton: React.FC<RadioButtonProps>;
|
|
101
|
+
|
|
102
|
+
type SelectOption = {
|
|
103
|
+
label: string;
|
|
104
|
+
value: string;
|
|
105
|
+
icon?: React.ReactNode;
|
|
106
|
+
};
|
|
107
|
+
type SelectFieldProps = {
|
|
108
|
+
options: SelectOption[];
|
|
109
|
+
value?: string;
|
|
110
|
+
defaultValue?: string;
|
|
111
|
+
placeholder?: string;
|
|
112
|
+
label?: string;
|
|
113
|
+
error?: string;
|
|
114
|
+
disabled?: boolean;
|
|
115
|
+
icon?: React.ReactNode;
|
|
116
|
+
name?: string;
|
|
117
|
+
onChange?: (value: string) => void;
|
|
118
|
+
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
119
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
120
|
+
className?: string;
|
|
121
|
+
};
|
|
122
|
+
declare const SelectField: react.ForwardRefExoticComponent<SelectFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
123
|
+
|
|
124
|
+
type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
125
|
+
|
|
126
|
+
type TooltipProps = {
|
|
127
|
+
content: react__default.ReactNode;
|
|
128
|
+
children: react__default.ReactNode;
|
|
129
|
+
position?: TooltipPosition;
|
|
130
|
+
open?: boolean;
|
|
131
|
+
defaultOpen?: boolean;
|
|
132
|
+
onOpenChange?: (open: boolean) => void;
|
|
133
|
+
showDelay?: number;
|
|
134
|
+
hideDelay?: number;
|
|
135
|
+
interactive?: boolean;
|
|
136
|
+
disabled?: boolean;
|
|
137
|
+
hideOnClick?: boolean;
|
|
138
|
+
maxWidth?: number | string;
|
|
139
|
+
};
|
|
140
|
+
declare const Tooltip: react__default.FC<TooltipProps>;
|
|
141
|
+
|
|
142
|
+
declare const UserAccount: ({ email }: {
|
|
143
|
+
email: string;
|
|
144
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
145
|
+
|
|
146
|
+
type TabSize = "m" | "l" | "xl";
|
|
147
|
+
type TabProps = {
|
|
148
|
+
id: string;
|
|
149
|
+
label: string;
|
|
150
|
+
active?: boolean;
|
|
151
|
+
disabled?: boolean;
|
|
152
|
+
size?: TabSize;
|
|
153
|
+
onSelect?: (id: string) => void;
|
|
154
|
+
className?: string;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
type TabItem = Omit<TabProps, "onSelect" | "size" | "active">;
|
|
158
|
+
type TabListProps = {
|
|
159
|
+
size?: TabSize;
|
|
160
|
+
activeId: string;
|
|
161
|
+
items: TabItem[];
|
|
162
|
+
onChange: (id: string) => void;
|
|
163
|
+
className?: string;
|
|
164
|
+
};
|
|
165
|
+
declare const TabList: React.FC<TabListProps>;
|
|
166
|
+
|
|
167
|
+
type Column = {
|
|
168
|
+
name: string;
|
|
169
|
+
id: string;
|
|
170
|
+
align?: "left" | "center" | "right";
|
|
171
|
+
width?: HTMLElement["style"]["width"];
|
|
172
|
+
render?: (row: Row) => React.ReactNode;
|
|
173
|
+
};
|
|
174
|
+
interface Row {
|
|
175
|
+
id: string;
|
|
176
|
+
[key: Column["id"]]: string | number | React.ReactNode;
|
|
177
|
+
}
|
|
178
|
+
interface TableProps {
|
|
179
|
+
columns: Column[];
|
|
180
|
+
data: Row[];
|
|
181
|
+
}
|
|
182
|
+
declare const Table: React.FC<TableProps>;
|
|
183
|
+
|
|
184
|
+
type SwitcherProps = {
|
|
185
|
+
checked?: boolean;
|
|
186
|
+
defaultChecked?: boolean;
|
|
187
|
+
disabled?: boolean;
|
|
188
|
+
onChange?: (value: boolean) => void;
|
|
189
|
+
id?: string;
|
|
190
|
+
className?: string;
|
|
191
|
+
};
|
|
192
|
+
declare const Switcher: React.FC<SwitcherProps>;
|
|
193
|
+
|
|
194
|
+
type CheckboxProps = {
|
|
195
|
+
checked?: boolean;
|
|
196
|
+
defaultChecked?: boolean;
|
|
197
|
+
disabled?: boolean;
|
|
198
|
+
label?: string;
|
|
199
|
+
name?: string;
|
|
200
|
+
value?: string;
|
|
201
|
+
onChange?: (next: boolean) => void;
|
|
202
|
+
className?: string;
|
|
203
|
+
};
|
|
204
|
+
declare const Checkbox: React.FC<CheckboxProps>;
|
|
205
|
+
|
|
206
|
+
declare const Logo: () => react_jsx_runtime.JSX.Element;
|
|
207
|
+
|
|
208
|
+
type ApplicationDataVariant = "primary" | "secondary";
|
|
209
|
+
interface ApplicationDataProps {
|
|
210
|
+
label: string;
|
|
211
|
+
statusValue: string | React.ReactNode | number;
|
|
212
|
+
info?: string;
|
|
213
|
+
withdraw?: boolean;
|
|
214
|
+
variant?: ApplicationDataVariant;
|
|
215
|
+
}
|
|
216
|
+
declare const ApplicationData: React.FC<ApplicationDataProps>;
|
|
217
|
+
|
|
218
|
+
type ApplicationInfoVariant = "primary" | "secondary";
|
|
219
|
+
|
|
220
|
+
interface ApplicationInfoProps {
|
|
221
|
+
children: React.ReactNode;
|
|
222
|
+
actions: React.ReactNode;
|
|
223
|
+
variant?: ApplicationInfoVariant;
|
|
224
|
+
}
|
|
225
|
+
declare const ApplicationInfo: React.FC<ApplicationInfoProps>;
|
|
226
|
+
|
|
227
|
+
interface ApplicationStatusProps {
|
|
228
|
+
label: string;
|
|
229
|
+
statusValue: string;
|
|
230
|
+
type: "pending" | "success" | "warning";
|
|
231
|
+
}
|
|
232
|
+
declare const ApplicationStatus: React.FC<ApplicationStatusProps>;
|
|
233
|
+
|
|
234
|
+
interface BalanceProps {
|
|
235
|
+
valueLabel: string | React.ReactNode;
|
|
236
|
+
count: string;
|
|
237
|
+
amount: string;
|
|
238
|
+
actions?: React.ReactNode;
|
|
239
|
+
}
|
|
240
|
+
declare const BalanceRow: React.FC<BalanceProps>;
|
|
241
|
+
|
|
242
|
+
interface CurrencyNameProps {
|
|
243
|
+
icon?: React.ReactNode;
|
|
244
|
+
longName?: string;
|
|
245
|
+
shortName?: string;
|
|
246
|
+
network?: string;
|
|
247
|
+
}
|
|
248
|
+
declare const CurrencyName: React.FC<CurrencyNameProps>;
|
|
249
|
+
|
|
250
|
+
interface CurrencyRateProps extends CurrencyNameProps {
|
|
251
|
+
buyLabel?: string;
|
|
252
|
+
sellLabel?: string;
|
|
253
|
+
buyValue?: string;
|
|
254
|
+
sellValue?: string;
|
|
255
|
+
}
|
|
256
|
+
declare const CurrencyRate: React.FC<CurrencyRateProps>;
|
|
257
|
+
|
|
258
|
+
interface RequisitesProps {
|
|
259
|
+
cardHolderLabel?: string;
|
|
260
|
+
cardHolderName?: string;
|
|
261
|
+
cardNumberLabel?: string;
|
|
262
|
+
cardNumber?: number;
|
|
263
|
+
merchantLabel?: string;
|
|
264
|
+
merchantName?: string;
|
|
265
|
+
descriptionLabel?: string;
|
|
266
|
+
description?: string;
|
|
267
|
+
}
|
|
268
|
+
declare const Requisites: React.FC<RequisitesProps>;
|
|
269
|
+
|
|
270
|
+
interface TransactionStatusProps {
|
|
271
|
+
label: string;
|
|
272
|
+
statusValue: string;
|
|
273
|
+
type: "pending" | "success";
|
|
274
|
+
}
|
|
275
|
+
declare const TransactionStatus: React.FC<TransactionStatusProps>;
|
|
276
|
+
|
|
277
|
+
declare const maskEmail: (email: string, keep?: number, stars?: number) => string;
|
|
278
|
+
declare const formatCardNumber: (cardNum: number) => string;
|
|
279
|
+
declare const copyToClipboard: (text: string) => Promise<void>;
|
|
280
|
+
|
|
281
|
+
declare const theme: {
|
|
282
|
+
readonly colors: {
|
|
283
|
+
primary: {
|
|
284
|
+
primaryBlue: string;
|
|
285
|
+
hoverBlue: string;
|
|
286
|
+
activeBlue: string;
|
|
287
|
+
lightBlue2: string;
|
|
288
|
+
darkBlue: string;
|
|
289
|
+
darkBlue2: string;
|
|
290
|
+
darkBlue3: string;
|
|
291
|
+
white: string;
|
|
292
|
+
};
|
|
293
|
+
gray: {
|
|
294
|
+
lightGray2: string;
|
|
295
|
+
lightGray3: string;
|
|
296
|
+
darkGray: string;
|
|
297
|
+
lightGray: string;
|
|
298
|
+
darkGray2: string;
|
|
299
|
+
lightBlueGray: string;
|
|
300
|
+
lightBlueGray2: string;
|
|
301
|
+
};
|
|
302
|
+
accent: {
|
|
303
|
+
red: string;
|
|
304
|
+
green: string;
|
|
305
|
+
greenLight: string;
|
|
306
|
+
green2: string;
|
|
307
|
+
green2Light: string;
|
|
308
|
+
green2Dark: string;
|
|
309
|
+
orange: string;
|
|
310
|
+
purple: string;
|
|
311
|
+
};
|
|
312
|
+
icon: {
|
|
313
|
+
iconPrimary: string;
|
|
314
|
+
iconSecondary: string;
|
|
315
|
+
iconThirty: string;
|
|
316
|
+
iconFourth: string;
|
|
317
|
+
iconFive: string;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
readonly media: {
|
|
321
|
+
readonly maxWidth: {
|
|
322
|
+
readonly mobile: "@media (max-width: 375px)";
|
|
323
|
+
readonly tablet: "@media (max-width: 834px)";
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
type AppTheme = typeof theme;
|
|
328
|
+
|
|
329
|
+
export { ApplicationData, ApplicationInfo, ApplicationStatus, BalanceRow, Button, Checkbox, Container, CopyTooltip, Counter, CurrencyName, CurrencyRate, HamburgerButton, Informer, Loader, Logo, RadioButton, Requisites, SelectField, Switcher, TabList, Table, TextField, Tooltip, TransactionStatus, Typography, UserAccount, copyToClipboard, formatCardNumber, maskEmail, theme };
|
|
330
|
+
export type { AppTheme, ApplicationDataProps, ApplicationInfoProps, ApplicationStatusProps, CurrencyNameProps, InformerProps, InformerType, RequisitesProps, SelectFieldProps, SelectOption, TextFieldProps, TransactionStatusProps, TypographyVariant };
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matbea-ui/matbea-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "dist/matbea-ui.cjs.js",
|
|
6
7
|
"module": "dist/matbea-ui.es.js",
|
|
7
8
|
"types": "dist/types/index.d.ts",
|
|
9
|
+
"sideEffects": false,
|
|
8
10
|
"exports": {
|
|
9
11
|
".": {
|
|
10
12
|
"types": "./dist/types/index.d.ts",
|
|
@@ -17,15 +19,18 @@
|
|
|
17
19
|
"dist"
|
|
18
20
|
],
|
|
19
21
|
"scripts": {
|
|
20
|
-
"
|
|
21
|
-
"build": "tsc -p tsconfig.buildtypes.json && vite build",
|
|
22
|
-
"build:types": "tsc -p tsconfig.buildtypes.json && vite build",
|
|
23
|
-
"lint": "eslint .",
|
|
24
|
-
"generate:icons": "node scripts/generate-icons.cjs",
|
|
25
|
-
"preview": "vite preview",
|
|
26
|
-
"sb": "storybook dev -p 6006",
|
|
22
|
+
"storybook": "storybook dev -p 6006",
|
|
27
23
|
"build-storybook": "storybook build",
|
|
28
|
-
"
|
|
24
|
+
"test": "vitest",
|
|
25
|
+
"test:ui": "vitest --ui",
|
|
26
|
+
"test:coverage": "vitest --coverage",
|
|
27
|
+
"build": "rollup -c",
|
|
28
|
+
"build:watch": "rollup -c --watch",
|
|
29
|
+
"lint": "eslint .",
|
|
30
|
+
"lint:fix": "eslint . --fix",
|
|
31
|
+
"prepublishOnly": "npm run lint && npm run build",
|
|
32
|
+
"clean": "rm -rf dist",
|
|
33
|
+
"generate:icons": "node scripts/generate-icons.cjs"
|
|
29
34
|
},
|
|
30
35
|
"peerDependencies": {
|
|
31
36
|
"react": "^19",
|
|
@@ -34,14 +39,14 @@
|
|
|
34
39
|
},
|
|
35
40
|
"dependencies": {
|
|
36
41
|
"lodash": "^4.17.21",
|
|
37
|
-
"react": "^
|
|
38
|
-
"react-dom": "^19.2.0",
|
|
39
|
-
"react-tooltip": "^5.30.0",
|
|
40
|
-
"styled-components": "^6.1.19"
|
|
42
|
+
"react-tooltip": "^5.30.0"
|
|
41
43
|
},
|
|
42
44
|
"devDependencies": {
|
|
43
45
|
"@chromatic-com/storybook": "^4.1.3",
|
|
44
46
|
"@eslint/js": "^9.39.1",
|
|
47
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
48
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
49
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
45
50
|
"@storybook/addon-a11y": "^10.1.4",
|
|
46
51
|
"@storybook/addon-docs": "^10.1.4",
|
|
47
52
|
"@storybook/addon-vitest": "^10.1.4",
|
|
@@ -58,8 +63,13 @@
|
|
|
58
63
|
"eslint-plugin-storybook": "^10.1.4",
|
|
59
64
|
"globals": "^16.5.0",
|
|
60
65
|
"playwright": "^1.57.0",
|
|
66
|
+
"rollup": "^4.53.3",
|
|
67
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
68
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
69
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
61
70
|
"storybook": "^10.1.4",
|
|
62
71
|
"ts-node": "^10.9.2",
|
|
72
|
+
"tsup": "^8.5.1",
|
|
63
73
|
"typescript": "~5.9.3",
|
|
64
74
|
"typescript-eslint": "^8.46.4",
|
|
65
75
|
"vite": "^7.2.4",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/matbea-ui.cjs10.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./matbea-ui.cjs30.js"),t=require("./matbea-ui.cjs41.js"),o=()=>e.jsxRuntimeExports.jsxs(t.LoaderDots,{children:[e.jsxRuntimeExports.jsx(t.LoaderDot,{}),e.jsxRuntimeExports.jsx(t.LoaderDot,{}),e.jsxRuntimeExports.jsx(t.LoaderDot,{})]});exports.Loader=o;
|
package/dist/matbea-ui.cjs11.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./matbea-ui.cjs30.js"),r=require("react"),n=require("./matbea-ui.cjs42.js"),p=({checked:o,defaultChecked:x=!1,disabled:e=!1,name:l,value:h,label:i,onChange:c,className:j})=>{const u=r.useId(),[R,k]=r.useState(x),s=o!==void 0,d=s?o:R,m=r.useCallback(a=>{e||(s||k(a.target.checked),c?.(a.target.checked))},[e,s,c]);return t.jsxRuntimeExports.jsxs(n.RadioLabel,{className:j,htmlFor:u,disabled:e,children:[t.jsxRuntimeExports.jsx(n.HiddenInput,{id:u,type:"radio",checked:d,onChange:m,disabled:e,name:l,value:h}),t.jsxRuntimeExports.jsx(n.VisualRadio,{$checked:d,$disabled:e}),i&&t.jsxRuntimeExports.jsx(n.LabelText,{variant:"button",children:i})]})};exports.RadioButton=p;
|
package/dist/matbea-ui.cjs12.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./matbea-ui.cjs30.js"),t=require("react"),l=require("./matbea-ui.cjs43.js"),J=require("./matbea-ui.cjs4.js"),Q=8,O=t.forwardRef(({options:o,value:S,defaultValue:F,placeholder:C="Text",label:D,error:p,disabled:a=!1,icon:y,name:M,onChange:T,onFocus:$,onBlur:q,className:B},P)=>{const h=t.useRef(null),w=t.useRef(null),v=t.useRef(null),[s,I]=t.useState(!1),[V,g]=t.useState(!1),[A,H]=t.useState(F??""),[f,c]=t.useState(null),[m,z]=t.useState({top:0,left:0,width:0}),i=S??A,k=t.useMemo(()=>o.find(e=>e.value===i),[o,i]),E=!!p,K=!k,N=k?.label??C,j=t.useCallback(()=>{if(!w.current)return;const e=w.current.getBoundingClientRect();z({top:e.bottom+Q,left:e.left,width:e.width})},[]);t.useLayoutEffect(()=>{if(!s)return;j();const e=()=>j();return window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}},[s,j]);const d=t.useCallback(()=>{I(!1),c(null)},[]),x=t.useCallback(()=>{a||(I(!0),c(e=>{if(e!==null)return e;const n=o.findIndex(u=>u.value===i);return n>=0?n:0}))},[a,o,i]),W=t.useCallback(()=>{s?d():x()},[s,d,x]),L=e=>{a||(H(e.value),T?.(e.value),d())},U=e=>{if(!a)switch(e.key){case"ArrowDown":e.preventDefault(),x(),c(n=>n===null?0:Math.min(n+1,o.length-1));break;case"ArrowUp":e.preventDefault(),x(),c(n=>n===null?o.length-1:Math.max(n-1,0));break;case"Enter":case" ":e.preventDefault(),s?f!==null&&o[f]&&L(o[f]):x();break;case"Escape":case"Tab":d();break}};t.useEffect(()=>{if(!s)return;const e=n=>{const u=n.target,R=h.current&&h.current.contains(u),b=v.current&&v.current.contains(u);!R&&!b&&d()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[s,d]);const _=e=>{g(!0),$?.(e)},G=e=>{g(!1),q?.(e)};return r.jsxRuntimeExports.jsxs(l.Wrapper,{className:B,ref:h,onKeyDown:U,onFocus:_,onBlur:G,children:[D&&r.jsxRuntimeExports.jsx(l.Label,{children:D}),r.jsxRuntimeExports.jsxs(l.FieldContainer,{ref:w,role:"button",tabIndex:a?-1:0,"aria-haspopup":"listbox","aria-expanded":s,"aria-invalid":E,"aria-disabled":a,$hasError:E,$disabled:a,"data-state":E?"error":s||V?"active":void 0,onClick:W,children:[y&&r.jsxRuntimeExports.jsx(l.LeadingIcon,{children:y}),r.jsxRuntimeExports.jsx(l.Value,{$placeholder:K,children:N}),r.jsxRuntimeExports.jsx(l.HiddenInput,{ref:P,readOnly:!0,name:M,value:i,tabIndex:-1,"aria-hidden":!0})]}),p&&r.jsxRuntimeExports.jsx(l.ErrorText,{children:p}),s&&r.jsxRuntimeExports.jsx(l.List,{ref:v,role:"listbox",$top:m.top,$left:m.left,$width:m.width,children:o.map((e,n)=>{const u=e.value===i,R=n===f;return r.jsxRuntimeExports.jsxs(l.Option,{role:"option","aria-selected":u,"data-active":u||void 0,"data-hovered":R||void 0,onMouseEnter:()=>c(n),onMouseLeave:()=>c(null),onMouseDown:b=>b.preventDefault(),onClick:()=>L(e),children:[e.icon&&r.jsxRuntimeExports.jsx(l.OptionIcon,{children:e.icon}),r.jsxRuntimeExports.jsx(J.Typography,{variant:"form-input",children:e.label})]},e.value)})})]})});O.displayName="SelectField";exports.SelectField=O;
|
package/dist/matbea-ui.cjs13.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./matbea-ui.cjs30.js"),n=require("react"),x=require("./matbea-ui.cjs44.js"),i=8,u=12,U=12,he={top:["top","bottom","right","left"],bottom:["bottom","top","right","left"],left:["left","right","top","bottom"],right:["right","left","top","bottom"]},M=(p,I,a)=>Math.min(Math.max(p,I),a),me=({content:p,children:I,position:a="top",open:Y,defaultOpen:K=!1,onOpenChange:q,showDelay:B=150,hideDelay:X=150,interactive:S=!1,disabled:c=!1,hideOnClick:V=!1,maxWidth:R})=>{const[Z,J]=n.useState(K),A=typeof Y=="boolean",s=A?!!Y:Z,_=n.useRef(null),T=n.useRef(null),w=n.useRef(null),L=n.useRef(null),y=n.useRef(null),f=n.useRef(null),H=n.useId(),C=n.useMemo(()=>({top:-9999,left:-9999,arrowX:0,arrowY:0,placement:a}),[a]),[d,N]=n.useState(C),k=()=>{L.current&&(clearTimeout(L.current),L.current=null),y.current&&(clearTimeout(y.current),y.current=null)},l=n.useCallback(t=>{A||J(t),t||N(C),q?.(t)},[C,A,q]),W=n.useCallback(()=>{c||(k(),L.current=setTimeout(()=>l(!0),B))},[c,l,B]),$=n.useCallback(()=>{c||(k(),y.current=setTimeout(()=>l(!1),X))},[c,l,X]),Q=()=>{c||W()},ee=()=>{c||$()},te=()=>{c||W()},ne=()=>{c||$()},re=()=>{V&&l(!1)},oe=()=>{S&&k()},ie=()=>{S&&$()},D=n.useCallback(()=>{if(typeof window>"u"||!T.current||!w.current)return;const t=T.current.getBoundingClientRect(),e=w.current.getBoundingClientRect(),o=window.innerWidth,h=window.innerHeight,m=t.left+t.width/2,P=t.top+t.height/2,ce=r=>{switch(r){case"top":return t.top>=e.height+u+i;case"bottom":return h-t.bottom>=e.height+u+i;case"left":return t.left>=e.width+u+i;case"right":return o-t.right>=e.width+u+i;default:return!0}},b=he[a].find(r=>ce(r))??a;let g=0,v=0;switch(b){case"top":g=t.top-e.height-u,v=m-e.width/2;break;case"bottom":g=t.bottom+u,v=m-e.width/2;break;case"left":g=P-e.height/2,v=t.left-e.width-u;break;case"right":default:g=P-e.height/2,v=t.right+u;break}const se=Math.max(o-i*2,0),le=Math.max(h-i*2,0),ue=i,ae=o-e.width-i,fe=i,de=h-e.height-i,z=e.width>=se?i:M(v,ue,ae),F=e.height>=le?i:M(g,fe,de);let O=0,j=0;if(b==="top"||b==="bottom"){const r=Math.max(e.width/2-U,0);O=M(m-(z+e.width/2),-r,r),j=0}else{const r=Math.max(e.height/2-U,0);j=M(P-(F+e.height/2),-r,r),O=0}N(r=>r.top===F&&r.left===z&&r.arrowX===O&&r.arrowY===j&&r.placement===b?r:{top:F,left:z,arrowX:O,arrowY:j,placement:b})},[a]);n.useLayoutEffect(()=>{if(!s)return;const t=w.current,e=T.current;if(!t||!e)return;const o=()=>{f.current!==null&&cancelAnimationFrame(f.current),f.current=window.requestAnimationFrame(()=>{f.current=null,D()})};o();const m=typeof window<"u"&&"ResizeObserver"in window?new ResizeObserver(o):null;return m?.observe(t),m?.observe(e),window.addEventListener("resize",o),window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("resize",o),window.removeEventListener("scroll",o,!0),m?.disconnect(),f.current!==null&&(cancelAnimationFrame(f.current),f.current=null)}},[s,D]),n.useEffect(()=>k,[]),n.useEffect(()=>{if(!s)return;const t=o=>{o.key==="Escape"&&l(!1)},e=o=>{const h=o.target;_.current?.contains(h)||w.current?.contains(h)||l(!1)};return document.addEventListener("keydown",t),document.addEventListener("pointerdown",e),()=>{document.removeEventListener("keydown",t),document.removeEventListener("pointerdown",e)}},[s,l]);const G={top:d.top,left:d.left,"--tooltip-arrow-x":`${d.arrowX}px`,"--tooltip-arrow-y":`${d.arrowY}px`};return R!==void 0&&(G.maxWidth=typeof R=="number"?`${R}px`:R),E.jsxRuntimeExports.jsxs(x.TooltipWrapper,{ref:_,"data-disabled":c,children:[E.jsxRuntimeExports.jsx(x.TooltipTrigger,{ref:T,tabIndex:c?-1:0,"aria-describedby":s?H:void 0,onMouseEnter:Q,onMouseLeave:ee,onFocus:te,onBlur:ne,onClick:re,"data-open":s,children:I}),E.jsxRuntimeExports.jsxs(x.TooltipBubble,{ref:w,id:H,role:"tooltip","aria-hidden":!s,$visible:s,$interactive:S,$placement:d.placement,style:G,"data-placement":d.placement,onMouseEnter:oe,onMouseLeave:ie,children:[["string","number"].includes(typeof p)?E.jsxRuntimeExports.jsx(x.TooltipContentText,{variant:"body-m",children:p}):p,E.jsxRuntimeExports.jsx(x.TooltipArrow,{$placement:d.placement})]})]})};exports.Tooltip=me;
|
package/dist/matbea-ui.cjs14.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./matbea-ui.cjs30.js"),t=require("./matbea-ui.cjs27.js"),s=require("./matbea-ui.cjs45.js");require("react");const n=require("./matbea-ui.cjs46.js"),o=({email:r})=>e.jsxRuntimeExports.jsxs(s.UserAccountStyled,{children:[e.jsxRuntimeExports.jsx(n.UserIcon,{}),e.jsxRuntimeExports.jsx(s.UserAccountText,{variant:"body-m-semibold",children:t.maskEmail(r)})]});exports.UserAccount=o;
|
package/dist/matbea-ui.cjs15.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./matbea-ui.cjs30.js"),u=require("react"),l=require("./matbea-ui.cjs47.js"),a=require("./matbea-ui.cjs48.js"),d=({size:s="m",activeId:i,items:o,onChange:t,className:c})=>{const n=u.useCallback(e=>{t(e)},[t]);return r.jsxRuntimeExports.jsx(a.TabRow,{role:"tablist",className:c,children:o.map(e=>r.jsxRuntimeExports.jsx(l.Tab,{...e,size:s,active:e.id===i,onSelect:n},e.id))})};exports.TabList=d;
|
package/dist/matbea-ui.cjs16.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./matbea-ui.cjs30.js"),i=require("./matbea-ui.cjs49.js"),x=({columns:r,data:d})=>t.jsxRuntimeExports.jsxs(i.TableStyled,{children:[t.jsxRuntimeExports.jsx(i.TableHead,{children:t.jsxRuntimeExports.jsx(i.TableRow,{children:r.map(e=>t.jsxRuntimeExports.jsx(i.TableHeader,{width:e.width,align:e.align||"left",children:e.name},e.id))})}),t.jsxRuntimeExports.jsx(i.TableBody,{children:d.map(e=>t.jsxRuntimeExports.jsx(i.TableRow,{children:r.map(s=>t.jsxRuntimeExports.jsx(i.TableCell,{width:s.width,align:s.align||"left",children:s.render?s.render(e):e[s.id]},s.id))},e.id))})]});exports.Table=x;
|
package/dist/matbea-ui.cjs17.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./matbea-ui.cjs30.js"),n=require("react"),i=require("./matbea-ui.cjs50.js"),m=({checked:u,defaultChecked:a=!1,disabled:e=!1,onChange:l,id:x,className:d})=>{const h=n.useId(),j=x??h,o=u!==void 0,[k,f]=n.useState(a),r=o?u:k,s=n.useCallback(()=>{if(e)return;const t=!r;o||f(t),l?.(t)},[r,o,e,l]),y=n.useCallback(t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),s())},[s]);return c.jsxRuntimeExports.jsx(i.SwitcherRoot,{className:d,children:c.jsxRuntimeExports.jsx(i.Track,{id:j,role:"switch","aria-checked":r,"aria-disabled":e,tabIndex:e?-1:0,onClick:s,onKeyDown:y,disabled:e,$checked:r,children:c.jsxRuntimeExports.jsx(i.Thumb,{$checked:r,$disabled:e})})})};exports.Switcher=m;
|
package/dist/matbea-ui.cjs18.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./matbea-ui.cjs30.js"),c=require("react"),s=require("./matbea-ui.cjs51.js"),f=({checked:o,defaultChecked:h=!1,disabled:e=!1,name:d,value:l,onChange:i,className:j})=>{const x=c.useId(),n=o!==void 0,[a,k]=c.useState(h),r=n?o:a,L=c.useCallback(u=>{e||(n||k(u.target.checked),i?.(u.target.checked))},[e,n,i]);return t.jsxRuntimeExports.jsxs(s.Label,{htmlFor:x,disabled:e,className:j,children:[t.jsxRuntimeExports.jsx(s.HiddenInput,{id:x,type:"checkbox",checked:r,disabled:e,onChange:L,name:d,value:l}),t.jsxRuntimeExports.jsx(s.Box,{$checked:r,$disabled:e,children:r&&t.jsxRuntimeExports.jsx(s.CheckIcon,{viewBox:"0 0 15 11",children:t.jsxRuntimeExports.jsx("path",{d:"M5.00034 11L0 6.18738L1.42838 4.81262L5.00185 8.24806L5.00034 8.24951L13.5716 0L15 1.37476L6.42872 9.62524L5.00135 10.999L5.00034 11Z",fill:"#fff"})})})]})};exports.Checkbox=f;
|
package/dist/matbea-ui.cjs19.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./matbea-ui.cjs30.js");require("react");const o=require("./matbea-ui.cjs34.js"),c=require("./matbea-ui.cjs52.js"),e=require("./matbea-ui.cjs53.js"),p=require("./matbea-ui.cjs13.js"),x=({label:r,statusValue:i,withdraw:s,info:n})=>t.jsxRuntimeExports.jsxs(e.ApplicationDataStyled,{children:[t.jsxRuntimeExports.jsxs(e.ApplicationDataContent,{children:[t.jsxRuntimeExports.jsx(e.ApplicationDataLabel,{children:r}),n&&t.jsxRuntimeExports.jsx(p.Tooltip,{content:n,children:t.jsxRuntimeExports.jsx(o.InfoIcon,{size:18})})]}),t.jsxRuntimeExports.jsxs(e.ApplicationDataContent,{children:[["number","string"].includes(typeof i)&&t.jsxRuntimeExports.jsx(e.ApplicationDataValue,{children:i}),!["number","string"].includes(typeof i)&&i,s&&t.jsxRuntimeExports.jsx(c.WithdrawIcon,{size:18})]})]});exports.ApplicationData=x;
|
package/dist/matbea-ui.cjs2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./matbea-ui.cjs30.js"),n=require("./matbea-ui.cjs31.js"),i=({variant:u="primary",size:x="default",form:a="default",fullWidth:c=!1,icon:t,iconPosition:l="left",children:o,disabled:y,...f})=>{const r=!!o,e=!!t&&(!r||l==="only"),d=!!t&&!e&&l==="left",h=!!t&&!e&&l==="right";return s.jsxRuntimeExports.jsxs(n.StyledButton,{type:"button",$variant:u,$size:x,$form:a,$fullWidth:c,$hasIcon:!!t&&r,$iconOnly:e,disabled:y,...f,children:[d&&s.jsxRuntimeExports.jsx(n.IconSlot,{$iconOnly:!1,children:t}),(!e||!t)&&o,e&&t&&s.jsxRuntimeExports.jsx(n.IconSlot,{$iconOnly:!0,children:t}),h&&s.jsxRuntimeExports.jsx(n.IconSlot,{$iconOnly:!1,children:t})]})};exports.Button=i;
|
package/dist/matbea-ui.cjs20.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./matbea-ui.cjs30.js"),i=require("./matbea-ui.cjs54.js"),r=({children:e,actions:n,variant:o="primary"})=>t.jsxRuntimeExports.jsxs(i.ApplicationInfoStyled,{$variant:o,children:[t.jsxRuntimeExports.jsx(i.ApplicationInfoDataContainer,{children:e}),n&&t.jsxRuntimeExports.jsx(i.ApplicationDataActions,{children:n})]});exports.ApplicationInfo=r;
|
package/dist/matbea-ui.cjs21.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./matbea-ui.cjs30.js"),c=require("react"),u=require("./matbea-ui.cjs55.js"),o=require("./matbea-ui.cjs56.js"),l=require("./matbea-ui.cjs57.js"),s=require("./matbea-ui.cjs58.js"),a=({label:n,statusValue:i,type:e})=>{const r=c.useMemo(()=>{switch(e){case"success":return t.jsxRuntimeExports.jsx(o.SuccessfullSmallIcon,{size:18});case"warning":return t.jsxRuntimeExports.jsx(l.WarningIcon,{size:18});case"pending":default:return t.jsxRuntimeExports.jsx(u.ClockIcon,{size:18})}},[e]);return t.jsxRuntimeExports.jsxs(s.ApplicationStatusStyled,{children:[t.jsxRuntimeExports.jsx(s.ApplicationStatusContent,{children:t.jsxRuntimeExports.jsx(s.ApplicationStatusLabel,{children:n})}),t.jsxRuntimeExports.jsxs(s.ApplicationStatusContent,{children:[r,t.jsxRuntimeExports.jsx(s.ApplicationStatusValue,{$type:e,children:i})]})]})};exports.ApplicationStatus=a;
|
package/dist/matbea-ui.cjs22.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./matbea-ui.cjs30.js"),l=require("./matbea-ui.cjs59.js"),c=({valueLabel:n,count:s,amount:t,actions:r})=>e.jsxRuntimeExports.jsxs(l.BalanceRowStyled,{children:[e.jsxRuntimeExports.jsx(l.BalanceCell,{children:n}),e.jsxRuntimeExports.jsx(l.BalanceCell,{children:s}),e.jsxRuntimeExports.jsx(l.BalanceCell,{children:t}),e.jsxRuntimeExports.jsx(l.BalanceCellActions,{children:r})]});exports.BalanceRow=c;
|
package/dist/matbea-ui.cjs23.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./matbea-ui.cjs30.js"),r=require("./matbea-ui.cjs60.js"),c=({icon:s,network:n,longName:u,shortName:t})=>e.jsxRuntimeExports.jsxs(r.CurrencyNameStyled,{$icon:!!s,$longname:!!u,$shortname:!!t,$network:!!n,children:[s,e.jsxRuntimeExports.jsx(r.CurrencyNameLongname,{children:u}),t&&e.jsxRuntimeExports.jsx(r.CurrencyNameShortname,{children:t}),n&&e.jsxRuntimeExports.jsx(r.CurrencyNameNetwork,{children:n})]});exports.CurrencyName=c;
|
package/dist/matbea-ui.cjs24.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./matbea-ui.cjs30.js"),r=require("./matbea-ui.cjs61.js"),j=require("./matbea-ui.cjs23.js"),R=({longName:s,shortName:x,network:c,icon:i,buyLabel:u,sellLabel:o,buyValue:t,sellValue:n})=>e.jsxRuntimeExports.jsxs(r.CurrencyRateCard,{children:[e.jsxRuntimeExports.jsx(j.CurrencyName,{longName:s,shortName:x,network:c,icon:i}),(t||n)&&e.jsxRuntimeExports.jsxs(r.CurrencyRateBody,{children:[t&&e.jsxRuntimeExports.jsxs(r.CurrencyRateBox,{children:[e.jsxRuntimeExports.jsx(r.CurrencyRatePriceLabel,{children:u}),e.jsxRuntimeExports.jsx(r.CurrencyRateAmount,{children:t})]}),n&&e.jsxRuntimeExports.jsxs(r.CurrencyRateBox,{children:[e.jsxRuntimeExports.jsx(r.CurrencyRatePriceLabel,{children:o}),e.jsxRuntimeExports.jsx(r.CurrencyRateAmount,{children:n})]})]})]});exports.CurrencyRate=R;
|
package/dist/matbea-ui.cjs25.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./matbea-ui.cjs30.js"),l=require("./matbea-ui.cjs27.js"),s=require("./matbea-ui.cjs62.js"),R=require("./matbea-ui.cjs63.js"),m=({cardHolderLabel:i,cardHolderName:x,cardNumberLabel:u,cardNumber:t,merchantLabel:n,merchantName:r,descriptionLabel:o,description:j})=>e.jsxRuntimeExports.jsxs(s.RequisitesStyled,{children:[e.jsxRuntimeExports.jsx(s.RequisitesItemLabel,{children:i}),e.jsxRuntimeExports.jsx(s.RequisitesItemValue,{children:x}),e.jsxRuntimeExports.jsx(s.RequisitesItemLabel,{children:u}),e.jsxRuntimeExports.jsxs(s.RequisitesItemValue,{children:[t&&l.formatCardNumber(t),t&&e.jsxRuntimeExports.jsx(R.CopyButton,{text:t.toString()})]}),e.jsxRuntimeExports.jsx(s.RequisitesItemLabel,{children:n}),e.jsxRuntimeExports.jsx(s.RequisitesItemValue,{children:r}),e.jsxRuntimeExports.jsx(s.RequisitesItemLabel,{children:o}),e.jsxRuntimeExports.jsx(s.RequisitesItemValue,{children:j})]});exports.Requisites=m;
|
package/dist/matbea-ui.cjs26.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./matbea-ui.cjs30.js"),u=require("react"),i=require("./matbea-ui.cjs55.js"),o=require("./matbea-ui.cjs56.js"),t=require("./matbea-ui.cjs64.js"),a=({label:n,statusValue:r,type:e})=>{const c=u.useMemo(()=>{switch(e){case"success":return s.jsxRuntimeExports.jsx(o.SuccessfullSmallIcon,{size:18});case"pending":default:return s.jsxRuntimeExports.jsx(i.ClockIcon,{size:18})}},[e]);return s.jsxRuntimeExports.jsxs(t.TransactionStatusStyled,{children:[s.jsxRuntimeExports.jsx(t.TransactionStatusLabel,{children:n}),s.jsxRuntimeExports.jsxs(t.TransactionStatusContent,{children:[c,s.jsxRuntimeExports.jsx(t.TransactionStatusValue,{children:r})]})]})};exports.TransactionStatus=a;
|
package/dist/matbea-ui.cjs27.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=(r,e=4,a=7)=>{const t=r.trim();if(!t)return t;const o=t.lastIndexOf(".");if(o<=0||o===t.length-1)return t;const c=t.slice(o+1),s=t.slice(0,o).replace(/[@.]/g,"").slice(0,e),i="*".repeat(a);return`${s}${i}${c}`},l=r=>r.toString().padStart(16,"0").replace(/(\d{4})(?=\d)/g,"$1 "),d=async r=>{try{await navigator.clipboard.writeText(r),console.log("Скопировано в буфер обмена")}catch(e){console.error("Ошибка копирования:",e)}};exports.copyToClipboard=d;exports.formatCardNumber=l;exports.maskEmail=n;
|
package/dist/matbea-ui.cjs28.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./matbea-ui.cjs29.js"),t={colors:e.colors,media:{maxWidth:{mobile:"@media (max-width: 375px)",tablet:"@media (max-width: 834px)"}}};exports.theme=t;
|
package/dist/matbea-ui.cjs29.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r={primary:{primaryBlue:"#2D58B6",hoverBlue:"#3163F0",activeBlue:"#244AB7",lightBlue2:"#6D93FF",darkBlue:"#202D52",darkBlue2:"#1F2635",darkBlue3:"#131A2A",white:"#FFFFFF"},gray:{lightGray2:"#D9D9D9",lightGray3:"#D0D1D8",darkGray:"#9296A5",lightGray:"#F3F3F5",darkGray2:"#5E6F8D",lightBlueGray:"#EFF2FB",lightBlueGray2:"#F1F4F9"},accent:{red:"#F84545",green:"#1CD850",greenLight:"#A7FFC0",green2:"#00BC9E",green2Light:"#00D6B3",green2Dark:"#009E85",orange:"#FFA63E",purple:"#843CF0"},icon:{iconPrimary:"#202D52",iconSecondary:"#202D52",iconThirty:"#5E6F8D",iconFourth:"#FFA63E",iconFive:"#2D5B86"}};exports.colors=r;
|
package/dist/matbea-ui.cjs3.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./matbea-ui.cjs30.js"),a=require("react"),r=require("./matbea-ui.cjs32.js"),l=({label:e,children:s,copiedText:i="Скопировано!",copyDuration:n=1500})=>{const[c,o]=a.useState(!1),u=async()=>{try{await navigator.clipboard.writeText(e),o(!0),setTimeout(()=>o(!1),n)}catch(p){console.error("Copy failed",p)}};return t.jsxRuntimeExports.jsxs(r.Wrapper,{onClick:u,children:[s??t.jsxRuntimeExports.jsx(r.Trigger,{type:"button",children:e}),t.jsxRuntimeExports.jsx(r.Bubble,{children:c?i:e})]})};exports.CopyTooltip=l;
|
package/dist/matbea-ui.cjs30.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./matbea-ui.cjs65.js");var t=e.__require();exports.jsxRuntimeExports=t;
|
package/dist/matbea-ui.cjs31.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),i={default:{padding:"15px 22px",minHeight:"48px",fontSize:"15px",lineHeight:"18px",gap:"10px",iconGap:"6px"},medium:{padding:"12px 16px",minHeight:"42px",fontSize:"15px",lineHeight:"18px",gap:"10px",iconGap:"6px"},small:{padding:"10px",minHeight:"36px",fontSize:"14px",lineHeight:"17px",gap:"4px",iconGap:"4px"}},l=e=>({theme:t})=>{const r=t.colors,o={primary:{default:{bg:r.primary.primaryBlue,color:r.primary.white,border:r.primary.primaryBlue},hover:{bg:r.primary.hoverBlue,color:r.primary.white,border:r.primary.hoverBlue},active:{bg:r.primary.activeBlue,color:r.primary.white,border:r.primary.activeBlue},disabled:{bg:r.gray.lightGray2,color:r.gray.darkGray,border:r.gray.lightGray2}},secondary:{default:{bg:"transparent",color:r.primary.primaryBlue,border:r.primary.primaryBlue},hover:{bg:r.primary.primaryBlue,color:r.primary.white,border:r.primary.primaryBlue},active:{bg:r.primary.activeBlue,color:r.primary.white,border:r.primary.activeBlue},disabled:{bg:"transparent",color:r.gray.darkGray,border:r.gray.lightGray2}},tertiary:{default:{bg:"transparent",color:r.primary.primaryBlue,border:"transparent"},hover:{bg:r.gray.lightBlueGray,color:r.primary.primaryBlue,border:"transparent"},active:{bg:r.gray.lightBlueGray2,color:r.primary.primaryBlue,border:"transparent"},disabled:{bg:"transparent",color:r.gray.darkGray,border:"transparent"}}}[e];return a.css`
|
|
2
|
-
background-color: ${o.default.bg};
|
|
3
|
-
color: ${o.default.color};
|
|
4
|
-
border-color: ${o.default.border};
|
|
5
|
-
|
|
6
|
-
&:hover:not(:disabled) {
|
|
7
|
-
background-color: ${o.hover.bg};
|
|
8
|
-
color: ${o.hover.color};
|
|
9
|
-
border-color: ${o.hover.border};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&:active:not(:disabled) {
|
|
13
|
-
background-color: ${o.active.bg};
|
|
14
|
-
color: ${o.active.color};
|
|
15
|
-
border-color: ${o.active.border};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:disabled {
|
|
19
|
-
background-color: ${o.disabled.bg};
|
|
20
|
-
color: ${o.disabled.color};
|
|
21
|
-
border-color: ${o.disabled.border};
|
|
22
|
-
}
|
|
23
|
-
`},n=a.button`
|
|
24
|
-
display: inline-flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
border: 1px solid transparent;
|
|
28
|
-
border-radius: ${({$form:e})=>e==="brick-right"?"0 5px 5px 0":"5px"};
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
transition: background-color 0.15s ease, border-color 0.15s ease,
|
|
31
|
-
color 0.15s ease, opacity 0.15s ease;
|
|
32
|
-
font-weight: 600;
|
|
33
|
-
|
|
34
|
-
${({$size:e})=>a.css`
|
|
35
|
-
padding: ${i[e].padding};
|
|
36
|
-
min-height: ${i[e].minHeight};
|
|
37
|
-
font-size: ${i[e].fontSize};
|
|
38
|
-
line-height: ${i[e].lineHeight};
|
|
39
|
-
`}
|
|
40
|
-
|
|
41
|
-
${({$hasIcon:e,$iconOnly:t,$size:r})=>a.css`
|
|
42
|
-
gap: ${t?"0":e?i[r].iconGap:i[r].gap};
|
|
43
|
-
`}
|
|
44
|
-
|
|
45
|
-
${({$fullWidth:e})=>e&&a.css`
|
|
46
|
-
width: 100%;
|
|
47
|
-
`}
|
|
48
|
-
|
|
49
|
-
${({$variant:e})=>l(e)}
|
|
50
|
-
|
|
51
|
-
&:disabled {
|
|
52
|
-
cursor: not-allowed;
|
|
53
|
-
}
|
|
54
|
-
`,p=a.span`
|
|
55
|
-
display: inline-flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
line-height: 0;
|
|
59
|
-
${({$iconOnly:e})=>e&&a.css`
|
|
60
|
-
width: 18px;
|
|
61
|
-
height: 18px;
|
|
62
|
-
`}
|
|
63
|
-
`;exports.IconSlot=p;exports.StyledButton=n;
|
package/dist/matbea-ui.cjs32.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("styled-components"),e=t.styled.div`
|
|
2
|
-
position: relative;
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
`,r=t.styled.button`
|
|
7
|
-
border: none;
|
|
8
|
-
background: transparent;
|
|
9
|
-
padding: 4px 8px;
|
|
10
|
-
font: inherit;
|
|
11
|
-
color: inherit;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
`,o=t.styled.span`
|
|
14
|
-
position: absolute;
|
|
15
|
-
bottom: 100%;
|
|
16
|
-
left: 50%;
|
|
17
|
-
transform: translate(-50%, -6px);
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
background: rgba(0, 0, 0, 0.85);
|
|
20
|
-
color: #fff;
|
|
21
|
-
font-size: 12px;
|
|
22
|
-
padding: 4px 8px;
|
|
23
|
-
border-radius: 4px;
|
|
24
|
-
opacity: 0;
|
|
25
|
-
pointer-events: none;
|
|
26
|
-
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
27
|
-
|
|
28
|
-
${e}:hover &,
|
|
29
|
-
${e}:focus-within &,
|
|
30
|
-
${e}:active & {
|
|
31
|
-
opacity: 1;
|
|
32
|
-
transform: translate(-50%, -10px);
|
|
33
|
-
}
|
|
34
|
-
`;exports.Bubble=o;exports.Trigger=r;exports.Wrapper=e;
|