@matbea-ui/matbea-ui 0.2.0-dev.925901 → 0.2.0-dev.937765
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 +176 -23
- package/dist/matbea-ui.cjs.js.map +1 -1
- package/dist/matbea-ui.es.js +177 -23
- package/dist/matbea-ui.es.js.map +1 -1
- package/dist/types/index.d.ts +2 -22
- package/package.json +1 -1
package/dist/matbea-ui.es.js
CHANGED
|
@@ -573,11 +573,14 @@ const StyledTypography = styled$1.span `
|
|
|
573
573
|
|
|
574
574
|
const Typography = ({ as = "span", forwardedAs, variant = "body-m-semibold", color, align, uppercase = false, truncate = false, inline = false, children, ...rest }) => (jsx(StyledTypography, { as: as, forwardedAs: forwardedAs, "$variant": variant, "$color": color, "$align": align, "$uppercase": uppercase, "$truncate": truncate, "$inline": inline, ...rest, children: children }));
|
|
575
575
|
|
|
576
|
+
const IconStyled = styled$1.svg `
|
|
577
|
+
display: inline-flex;
|
|
578
|
+
width: ${({ $width }) => $width}px;
|
|
579
|
+
height: ${({ $height }) => $height}px;
|
|
580
|
+
`;
|
|
581
|
+
|
|
576
582
|
const Icon = ({ size = 24, children, ...rest }) => {
|
|
577
|
-
return (jsx("svg",
|
|
578
|
-
width: size,
|
|
579
|
-
height: size,
|
|
580
|
-
}, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: children }));
|
|
583
|
+
return (jsx(IconStyled, { "$height": size, "$width": size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: children }));
|
|
581
584
|
};
|
|
582
585
|
|
|
583
586
|
const LogoAbankIcon = (props) => (jsxs(Icon, { ...props, children: [jsxs("g", { "clip-path": "url(#clip0_348_2416)", children: [jsx("circle", { cx: "12", cy: "12", r: "12", fill: "#F5F5F5" }), jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.2589 7.98674C7.53128 8.31962 6.81257 6.30884 6.3125 3.00224C10.4015 2.97341 12.2754 3.18291 12.1754 5.99132C12.1172 6.06513 12.0622 6.1397 12.0098 6.2162C11.4594 5.19946 10.2518 4.30843 7.75728 3.83024C9.57266 4.44681 10.9399 5.69495 11.3993 7.37362C11.3396 7.57351 11.2938 7.77724 11.2589 7.98674ZM11.6388 9.04691C11.7904 7.71881 12.2529 6.60021 13.4042 5.75569C13.9803 5.33323 14.7726 5.87101 13.9469 6.35919C12.9495 6.94771 11.9955 8.32385 11.8459 9.03922C11.7783 9.05701 11.7076 9.05963 11.6388 9.04691Z", fill: "#007F2D" }), jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.1018 9.30787C11.3545 9.34554 11.565 9.36169 11.7693 9.35131C11.9775 9.33977 12.1888 9.30057 12.4427 9.2283C13.9274 8.80469 15.8889 9.07146 17.153 9.96942C18.7727 11.1192 19.2064 13.078 18.9161 15.0273C18.5672 17.3706 16.2785 21.9634 13.3339 20.8202C12.9703 20.6795 12.6144 20.5638 12.2178 20.5773C11.803 20.5911 11.6383 20.7249 11.0328 20.8717C7.71099 21.6751 5.31607 17.1969 5.0389 14.5514C4.86058 12.8447 5.28079 11.1964 6.6023 10.1797C7.7513 9.2948 9.69848 8.96729 11.1018 9.30787Z", fill: "#65B32E" })] }), jsx("defs", { children: jsx("clipPath", { id: "clip0_348_2416", children: jsx("rect", { width: "24", height: "24", fill: "white" }) }) })] }));
|
|
@@ -2699,46 +2702,197 @@ const StyledProvider = ({ children }) => {
|
|
|
2699
2702
|
return (jsx(StyleSheetManager, { stylisPlugins: [adaptiveScalePlugin], children: children }));
|
|
2700
2703
|
};
|
|
2701
2704
|
|
|
2702
|
-
const breakpoints = {
|
|
2703
|
-
mobile: { max: 576, scale: 0.7 },
|
|
2704
|
-
tablet: { min: 576, max: 1024, scale: 0.85 },
|
|
2705
|
-
desktop: { min: 1024, max: 1920, scale: 1 },
|
|
2706
|
-
wide: { min: 1920, scale: 1.15 },
|
|
2707
|
-
};
|
|
2708
2705
|
const GlobalStyles = createGlobalStyle `
|
|
2709
2706
|
:root {
|
|
2710
2707
|
--adaptive-scale: 1;
|
|
2711
2708
|
--adaptive-vh: 1vh;
|
|
2712
2709
|
}
|
|
2713
2710
|
|
|
2714
|
-
/*
|
|
2715
|
-
|
|
2711
|
+
/* ============ MOBILE ============ */
|
|
2712
|
+
|
|
2713
|
+
/* Ultra small (iPhone SE 1st gen, старые Android) */
|
|
2714
|
+
@media (max-width: 320px) {
|
|
2715
|
+
:root {
|
|
2716
|
+
--adaptive-scale: 0.75;
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
/* Small mobile */
|
|
2721
|
+
@media (min-width: 321px) and (max-width: 359px) {
|
|
2722
|
+
:root {
|
|
2723
|
+
--adaptive-scale: 0.82;
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
/* Medium mobile */
|
|
2728
|
+
@media (min-width: 360px) and (max-width: 374px) {
|
|
2716
2729
|
:root {
|
|
2717
|
-
--adaptive-scale:
|
|
2730
|
+
--adaptive-scale: 0.9;
|
|
2718
2731
|
}
|
|
2719
2732
|
}
|
|
2720
2733
|
|
|
2721
|
-
/*
|
|
2722
|
-
@media (min-width:
|
|
2734
|
+
/* Mobile base (iPhone X/11/12/13 mini) */
|
|
2735
|
+
@media (min-width: 375px) and (max-width: 389px) {
|
|
2723
2736
|
:root {
|
|
2724
|
-
--adaptive-scale:
|
|
2737
|
+
--adaptive-scale: 1;
|
|
2725
2738
|
}
|
|
2726
2739
|
}
|
|
2727
2740
|
|
|
2728
|
-
/*
|
|
2729
|
-
@media (min-width:
|
|
2741
|
+
/* Large mobile (iPhone 12/13/14/15) */
|
|
2742
|
+
@media (min-width: 390px) and (max-width: 429px) {
|
|
2730
2743
|
:root {
|
|
2731
|
-
--adaptive-scale:
|
|
2744
|
+
--adaptive-scale: 1;
|
|
2732
2745
|
}
|
|
2733
2746
|
}
|
|
2734
2747
|
|
|
2735
|
-
/*
|
|
2736
|
-
@media (min-width:
|
|
2748
|
+
/* Extra large mobile (iPhone 14 Plus/Max) */
|
|
2749
|
+
@media (min-width: 430px) and (max-width: 576px) {
|
|
2737
2750
|
:root {
|
|
2738
|
-
--adaptive-scale:
|
|
2751
|
+
--adaptive-scale: 1;
|
|
2739
2752
|
}
|
|
2740
2753
|
}
|
|
2741
2754
|
|
|
2755
|
+
/* ============ TABLET ============ */
|
|
2756
|
+
|
|
2757
|
+
/* Small tablet / Large phone landscape */
|
|
2758
|
+
@media (min-width: 577px) and (max-width: 639px) {
|
|
2759
|
+
:root {
|
|
2760
|
+
--adaptive-scale: 0.75;
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
/* Medium small tablet */
|
|
2765
|
+
@media (min-width: 640px) and (max-width: 719px) {
|
|
2766
|
+
:root {
|
|
2767
|
+
--adaptive-scale: 0.83;
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
/* Medium tablet */
|
|
2772
|
+
@media (min-width: 720px) and (max-width: 767px) {
|
|
2773
|
+
:root {
|
|
2774
|
+
--adaptive-scale: 0.9;
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
/* Tablet base (iPad Mini/Air portrait) */
|
|
2779
|
+
@media (min-width: 768px) and (max-width: 833px) {
|
|
2780
|
+
:root {
|
|
2781
|
+
--adaptive-scale: 1;
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
/* Large tablet (iPad Pro 11" portrait) */
|
|
2786
|
+
@media (min-width: 834px) and (max-width: 899px) {
|
|
2787
|
+
:root {
|
|
2788
|
+
--adaptive-scale: 1;
|
|
2789
|
+
}
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
/* Extra large tablet */
|
|
2793
|
+
@media (min-width: 900px) and (max-width: 1023px) {
|
|
2794
|
+
:root {
|
|
2795
|
+
--adaptive-scale: 1;
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
/* Tablet landscape (iPad Pro landscape) */
|
|
2800
|
+
@media (min-width: 1024px) and (max-width: 1100px) {
|
|
2801
|
+
:root {
|
|
2802
|
+
--adaptive-scale: 0.71;
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
/* ============ DESKTOP ============ */
|
|
2807
|
+
|
|
2808
|
+
/* Small desktop / Laptop 13" */
|
|
2809
|
+
@media (min-width: 1101px) and (max-width: 1279px) {
|
|
2810
|
+
:root {
|
|
2811
|
+
--adaptive-scale: 0.77;
|
|
2812
|
+
}
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
/* Medium desktop / Laptop 14" */
|
|
2816
|
+
@media (min-width: 1280px) and (max-width: 1365px) {
|
|
2817
|
+
:root {
|
|
2818
|
+
--adaptive-scale: 0.85;
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
/* Large laptop 15" */
|
|
2823
|
+
@media (min-width: 1366px) and (max-width: 1439px) {
|
|
2824
|
+
:root {
|
|
2825
|
+
--adaptive-scale: 0.92;
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
/* Desktop base (MacBook Pro 16", gaming monitors) */
|
|
2830
|
+
@media (min-width: 1440px) and (max-width: 1599px) {
|
|
2831
|
+
:root {
|
|
2832
|
+
--adaptive-scale: 1;
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
/* Large desktop */
|
|
2837
|
+
@media (min-width: 1600px) and (max-width: 1799px) {
|
|
2838
|
+
:root {
|
|
2839
|
+
--adaptive-scale: 1;
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
/* Extra large desktop */
|
|
2844
|
+
@media (min-width: 1800px) and (max-width: 1919px) {
|
|
2845
|
+
:root {
|
|
2846
|
+
--adaptive-scale: 1;
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2850
|
+
/* ============ WIDE (с увеличением) ============ */
|
|
2851
|
+
|
|
2852
|
+
/* Full HD base (1920x1080) */
|
|
2853
|
+
@media (min-width: 1920px) and (max-width: 2047px) {
|
|
2854
|
+
:root {
|
|
2855
|
+
--adaptive-scale: 1;
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
/* 2K */
|
|
2860
|
+
@media (min-width: 2048px) and (max-width: 2559px) {
|
|
2861
|
+
:root {
|
|
2862
|
+
--adaptive-scale: 1.1;
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
/* QHD / 2.5K */
|
|
2867
|
+
@media (min-width: 2560px) and (max-width: 3199px) {
|
|
2868
|
+
:root {
|
|
2869
|
+
--adaptive-scale: 1.25;
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
/* 3K */
|
|
2874
|
+
@media (min-width: 3200px) and (max-width: 3839px) {
|
|
2875
|
+
:root {
|
|
2876
|
+
--adaptive-scale: 1.4;
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2880
|
+
/* 4K (3840x2160) */
|
|
2881
|
+
@media (min-width: 3840px) and (max-width: 5119px) {
|
|
2882
|
+
:root {
|
|
2883
|
+
--adaptive-scale: 1.6;
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
/* 5K и выше */
|
|
2888
|
+
@media (min-width: 5120px) {
|
|
2889
|
+
:root {
|
|
2890
|
+
--adaptive-scale: 2;
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
/* ============ ДОПОЛНИТЕЛЬНО ============ */
|
|
2895
|
+
|
|
2742
2896
|
/* Фикс для мобильных браузеров (100vh с учетом адресной строки) */
|
|
2743
2897
|
@supports (-webkit-touch-callout: none) {
|
|
2744
2898
|
:root {
|
|
@@ -2756,5 +2910,5 @@ const GlobalStyles = createGlobalStyle `
|
|
|
2756
2910
|
}
|
|
2757
2911
|
`;
|
|
2758
2912
|
|
|
2759
|
-
export { AaveIcon, AlgorandIcon, ApplicationData, ApplicationInfo, ApplicationStatus, ArrowIcon, AttachIcon, AvalancheIcon, Avatar, BalanceRow, BatIcon, BitcoinIcon, BnbSmallIcon, BtgIcon, BusdIcon, Button, ButtonSwitcher, CakeIcon, CardanoIcon, ChainlinkIcon, CheckIcon$1 as CheckIcon, Checkbox, CircleSendCryptoIcon, ClockIcon, Close2Icon, CloseIcon, Container, CopyIcon, CopyTooltip, CosmosIcon, Counter, CountryBrIcon, CountryCzechIcon, CountryKzIcon, CountryRusIcon, CurrencyName, CurrencyRate, DashSmallIcon, DashboardIcon, DecentralandIcon, DepositIcon, DepositSimpleIcon, DigibyteIcon, DogeSmallIcon, DropdownIcon, DropdownSmallIcon, DropdownUpIcon, EditIcon, ElrondIcon, EmojiIcon, EnjinIcon, EosIcon, ErrorBigIcon, EtcIcon, EthIcon, EurIcon, ExchangeArrowsIcon, ExchangeIcon, ExchangeSimpleIcon, FantomIcon, FilecoinIcon, FtxIcon, GlobalStyles, HamburgerButton, HamburgerIcon, HeadphonesIcon, HederaIcon, HideUiIcon, HistoryIcon, IcomputerIcon, IconNeoIcon, IcxIcon, IlsIcon, InfoIcon, Informer, IotaIcon, KlaytnIcon, LariIcon, LinkIcon, LiskIcon, LitecoinIcon, Loader, Logo, LogoAbankIcon, LogoAbsolutIcon, LogoAcbaCreditIcon, LogoAlphabankIcon, LogoArmEconomBankIcon, LogoArshidBankIcon, LogoBankcentercreditIcon, LogoBankofGeorgiaIcon, LogoEurobankIcon, LogoForteBankIcon, LogoHalykBankIcon, LogoHomecreditIcon, LogoHumoCardIcon, LogoJysanBankIcon, LogoKaspiBankIcon, LogoMonobankIcon, LogoMtsbankIcon, LogoNetellerIcon, LogoOshadbankIcon, LogoOtkrutieIcon, LogoPochtabankIcon, LogoPrivatebankIcon, LogoPumbIcon, LogoQiwiIcon, LogoRayfuzenbankIcon, LogoRevolutIcon, LogoRnkbIcon, LogoRosbankIcon, LogoRosselhozbankIcon, LogoRusstandartIcon, LogoSberIcon, LogoSbpIcon, LogoSotovuyIcon, LogoTbcBankIcon, LogoTinkoffIcon, LogoUkrsibbankIcon, LogoUzCardIcon, LogoVtbIcon, LogoWiseIcon, LogoYoumoneyIcon, LogoutIcon, LunaIcon, MakerIcon, MaticIcon, MessageSendIcon, NearIcon, NemIcon, OmgnetworkIcon, OmiseIcon, OntologyIcon, P2PIcon, PaxgIcon, PlusIcon, PolkaIcon, QnekworkIcon, QutumIcon, RadioButton, ReciveCryptoIcon, Requisites, RippleIcon, RubIcon, SandboxIcon, ScanQrIcon, SearchIcon, SelectField, SendCryptoIcon, SettingsIcon, ShowUiIcon, SolanaIcon, StellarIcon, StepnIcon, StyledProvider, SuccessfullBigIcon, SuccessfullSmallIcon, SushiIcon, Switcher, SynthetixIcon, TabList, Table, TetherIcon, TextField, TezosIcon, ThegraphIcon, ThetaIcon, Tooltip, TopUpIcon, TransactionStatus, TrxSmallIcon, Typography, UniswapIcon, UpSmallIcon, UsdIcon, UsdcIcon, UserAccount, UserIcon, UsersIcon, VechainIcon, WalletFillIcon, WalletIcon, WarningIcon, WavesIcon, WithdrawIcon, WithdrawSimpleIcon, XmrSmallIcon, ZcashSmallIcon, ZilliqaIcon, ZrxIcon, adaptiveScalePlugin,
|
|
2913
|
+
export { AaveIcon, AlgorandIcon, ApplicationData, ApplicationInfo, ApplicationStatus, ArrowIcon, AttachIcon, AvalancheIcon, Avatar, BalanceRow, BatIcon, BitcoinIcon, BnbSmallIcon, BtgIcon, BusdIcon, Button, ButtonSwitcher, CakeIcon, CardanoIcon, ChainlinkIcon, CheckIcon$1 as CheckIcon, Checkbox, CircleSendCryptoIcon, ClockIcon, Close2Icon, CloseIcon, Container, CopyIcon, CopyTooltip, CosmosIcon, Counter, CountryBrIcon, CountryCzechIcon, CountryKzIcon, CountryRusIcon, CurrencyName, CurrencyRate, DashSmallIcon, DashboardIcon, DecentralandIcon, DepositIcon, DepositSimpleIcon, DigibyteIcon, DogeSmallIcon, DropdownIcon, DropdownSmallIcon, DropdownUpIcon, EditIcon, ElrondIcon, EmojiIcon, EnjinIcon, EosIcon, ErrorBigIcon, EtcIcon, EthIcon, EurIcon, ExchangeArrowsIcon, ExchangeIcon, ExchangeSimpleIcon, FantomIcon, FilecoinIcon, FtxIcon, GlobalStyles, HamburgerButton, HamburgerIcon, HeadphonesIcon, HederaIcon, HideUiIcon, HistoryIcon, IcomputerIcon, IconNeoIcon, IcxIcon, IlsIcon, InfoIcon, Informer, IotaIcon, KlaytnIcon, LariIcon, LinkIcon, LiskIcon, LitecoinIcon, Loader, Logo, LogoAbankIcon, LogoAbsolutIcon, LogoAcbaCreditIcon, LogoAlphabankIcon, LogoArmEconomBankIcon, LogoArshidBankIcon, LogoBankcentercreditIcon, LogoBankofGeorgiaIcon, LogoEurobankIcon, LogoForteBankIcon, LogoHalykBankIcon, LogoHomecreditIcon, LogoHumoCardIcon, LogoJysanBankIcon, LogoKaspiBankIcon, LogoMonobankIcon, LogoMtsbankIcon, LogoNetellerIcon, LogoOshadbankIcon, LogoOtkrutieIcon, LogoPochtabankIcon, LogoPrivatebankIcon, LogoPumbIcon, LogoQiwiIcon, LogoRayfuzenbankIcon, LogoRevolutIcon, LogoRnkbIcon, LogoRosbankIcon, LogoRosselhozbankIcon, LogoRusstandartIcon, LogoSberIcon, LogoSbpIcon, LogoSotovuyIcon, LogoTbcBankIcon, LogoTinkoffIcon, LogoUkrsibbankIcon, LogoUzCardIcon, LogoVtbIcon, LogoWiseIcon, LogoYoumoneyIcon, LogoutIcon, LunaIcon, MakerIcon, MaticIcon, MessageSendIcon, NearIcon, NemIcon, OmgnetworkIcon, OmiseIcon, OntologyIcon, P2PIcon, PaxgIcon, PlusIcon, PolkaIcon, QnekworkIcon, QutumIcon, RadioButton, ReciveCryptoIcon, Requisites, RippleIcon, RubIcon, SandboxIcon, ScanQrIcon, SearchIcon, SelectField, SendCryptoIcon, SettingsIcon, ShowUiIcon, SolanaIcon, StellarIcon, StepnIcon, StyledProvider, SuccessfullBigIcon, SuccessfullSmallIcon, SushiIcon, Switcher, SynthetixIcon, TabList, Table, TetherIcon, TextField, TezosIcon, ThegraphIcon, ThetaIcon, Tooltip, TopUpIcon, TransactionStatus, TrxSmallIcon, Typography, UniswapIcon, UpSmallIcon, UsdIcon, UsdcIcon, UserAccount, UserIcon, UsersIcon, VechainIcon, WalletFillIcon, WalletIcon, WarningIcon, WavesIcon, WithdrawIcon, WithdrawSimpleIcon, XmrSmallIcon, ZcashSmallIcon, ZilliqaIcon, ZrxIcon, adaptiveScalePlugin, copyToClipboard, createAdaptiveScalePlugin, formatCardNumber, maskEmail, theme };
|
|
2760
2914
|
//# sourceMappingURL=matbea-ui.es.js.map
|