@ton/appkit-react 0.0.2 → 0.0.3

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.
Files changed (81) hide show
  1. package/dist/esm/features/transaction/components/transaction-progress/index.js +10 -0
  2. package/dist/esm/features/transaction/components/transaction-progress/index.js.map +1 -0
  3. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress-icons.js +14 -0
  4. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress-icons.js.map +1 -0
  5. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress-provider.js +42 -0
  6. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress-provider.js.map +1 -0
  7. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress.js +44 -0
  8. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress.js.map +1 -0
  9. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress.module.css +44 -0
  10. package/dist/esm/features/transaction/hooks/use-transaction-status.js +35 -0
  11. package/dist/esm/features/transaction/hooks/use-transaction-status.js.map +1 -0
  12. package/dist/esm/features/transaction/index.js +2 -0
  13. package/dist/esm/features/transaction/index.js.map +1 -1
  14. package/dist/esm/locales/en.js +5 -0
  15. package/dist/esm/locales/en.js.map +1 -1
  16. package/dist/esm/styles/index.css +1 -0
  17. package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
  18. package/dist/types/features/transaction/components/transaction-progress/index.d.ts +10 -0
  19. package/dist/types/features/transaction/components/transaction-progress/index.d.ts.map +1 -0
  20. package/dist/types/features/transaction/components/transaction-progress/transaction-progress-icons.d.ts +15 -0
  21. package/dist/types/features/transaction/components/transaction-progress/transaction-progress-icons.d.ts.map +1 -0
  22. package/dist/types/features/transaction/components/transaction-progress/transaction-progress-provider.d.ts +23 -0
  23. package/dist/types/features/transaction/components/transaction-progress/transaction-progress-provider.d.ts.map +1 -0
  24. package/dist/types/features/transaction/components/transaction-progress/transaction-progress.d.ts +32 -0
  25. package/dist/types/features/transaction/components/transaction-progress/transaction-progress.d.ts.map +1 -0
  26. package/dist/types/features/transaction/hooks/use-transaction-status.d.ts +33 -0
  27. package/dist/types/features/transaction/hooks/use-transaction-status.d.ts.map +1 -0
  28. package/dist/types/features/transaction/index.d.ts +2 -0
  29. package/dist/types/features/transaction/index.d.ts.map +1 -1
  30. package/dist/types/libs/i18n.d.ts +5 -0
  31. package/dist/types/libs/i18n.d.ts.map +1 -1
  32. package/dist/types/locales/en.d.ts +5 -0
  33. package/dist/types/locales/en.d.ts.map +1 -1
  34. package/package.json +14 -7
  35. package/src/features/transaction/components/transaction-progress/index.ts +10 -0
  36. package/src/features/transaction/components/transaction-progress/transaction-progress-icons.tsx +80 -0
  37. package/src/features/transaction/components/transaction-progress/transaction-progress-provider.tsx +60 -0
  38. package/src/features/transaction/components/transaction-progress/transaction-progress.tsx +97 -0
  39. package/src/features/transaction/hooks/use-transaction-status.ts +55 -0
  40. package/src/features/transaction/index.ts +2 -0
  41. package/src/locales/en.ts +5 -0
  42. package/dist/esm/components/block/block.stories.js +0 -27
  43. package/dist/esm/components/block/block.stories.js.map +0 -1
  44. package/dist/esm/components/button/button.stories.js +0 -30
  45. package/dist/esm/components/button/button.stories.js.map +0 -1
  46. package/dist/esm/components/circle-icon/circle-icon.stories.js +0 -56
  47. package/dist/esm/components/circle-icon/circle-icon.stories.js.map +0 -1
  48. package/dist/esm/components/ton-icon/ton-icon.stories.js +0 -56
  49. package/dist/esm/components/ton-icon/ton-icon.stories.js.map +0 -1
  50. package/dist/esm/features/balances/components/balance-badge/balance-badge.stories.js +0 -23
  51. package/dist/esm/features/balances/components/balance-badge/balance-badge.stories.js.map +0 -1
  52. package/dist/esm/features/balances/components/currency-item/currency-item.stories.js +0 -61
  53. package/dist/esm/features/balances/components/currency-item/currency-item.stories.js.map +0 -1
  54. package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.stories.js +0 -41
  55. package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.stories.js.map +0 -1
  56. package/dist/esm/features/balances/components/send-ton-button/send-ton-button.stories.js +0 -36
  57. package/dist/esm/features/balances/components/send-ton-button/send-ton-button.stories.js.map +0 -1
  58. package/dist/esm/features/nft/components/nft-item/nft-item.stories.js +0 -52
  59. package/dist/esm/features/nft/components/nft-item/nft-item.stories.js.map +0 -1
  60. package/dist/esm/features/transaction/components/transaction/transaction.stories.js +0 -47
  61. package/dist/esm/features/transaction/components/transaction/transaction.stories.js.map +0 -1
  62. package/dist/types/components/block/block.stories.d.ts +0 -15
  63. package/dist/types/components/block/block.stories.d.ts.map +0 -1
  64. package/dist/types/components/button/button.stories.d.ts +0 -16
  65. package/dist/types/components/button/button.stories.d.ts.map +0 -1
  66. package/dist/types/components/circle-icon/circle-icon.stories.d.ts +0 -18
  67. package/dist/types/components/circle-icon/circle-icon.stories.d.ts.map +0 -1
  68. package/dist/types/components/ton-icon/ton-icon.stories.d.ts +0 -20
  69. package/dist/types/components/ton-icon/ton-icon.stories.d.ts.map +0 -1
  70. package/dist/types/features/balances/components/balance-badge/balance-badge.stories.d.ts +0 -16
  71. package/dist/types/features/balances/components/balance-badge/balance-badge.stories.d.ts.map +0 -1
  72. package/dist/types/features/balances/components/currency-item/currency-item.stories.d.ts +0 -19
  73. package/dist/types/features/balances/components/currency-item/currency-item.stories.d.ts.map +0 -1
  74. package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.stories.d.ts +0 -22
  75. package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.stories.d.ts.map +0 -1
  76. package/dist/types/features/balances/components/send-ton-button/send-ton-button.stories.d.ts +0 -21
  77. package/dist/types/features/balances/components/send-ton-button/send-ton-button.stories.d.ts.map +0 -1
  78. package/dist/types/features/nft/components/nft-item/nft-item.stories.d.ts +0 -25
  79. package/dist/types/features/nft/components/nft-item/nft-item.stories.d.ts.map +0 -1
  80. package/dist/types/features/transaction/components/transaction/transaction.stories.d.ts +0 -23
  81. package/dist/types/features/transaction/components/transaction/transaction.stories.d.ts.map +0 -1
@@ -1,56 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import { CircleIcon } from './circle-icon';
9
- const meta = {
10
- title: 'Private/Components/CircleIcon',
11
- component: CircleIcon,
12
- tags: ['autodocs'],
13
- argTypes: {
14
- size: {
15
- control: { type: 'range', min: 20, max: 100, step: 5 },
16
- },
17
- },
18
- };
19
- export default meta;
20
- export const WithImage = {
21
- args: {
22
- size: 48,
23
- src: 'https://ton.org/download/ton_symbol.png',
24
- alt: 'TON',
25
- },
26
- };
27
- export const WithFallback = {
28
- args: {
29
- size: 48,
30
- fallback: 'T',
31
- alt: 'TON',
32
- },
33
- };
34
- export const WithInvalidImage = {
35
- args: {
36
- size: 48,
37
- src: 'https://invalid-url.com/image.png',
38
- alt: 'Fallback',
39
- fallback: 'F',
40
- },
41
- };
42
- export const SmallSize = {
43
- args: {
44
- size: 24,
45
- src: 'https://ton.org/download/ton_symbol.png',
46
- alt: 'TON',
47
- },
48
- };
49
- export const LargeSize = {
50
- args: {
51
- size: 80,
52
- src: 'https://ton.org/download/ton_symbol.png',
53
- alt: 'TON',
54
- },
55
- };
56
- //# sourceMappingURL=circle-icon.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"circle-icon.stories.js","sourceRoot":"","sources":["../../../../src/components/circle-icon/circle-icon.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,IAAI,GAA4B;IAClC,KAAK,EAAE,+BAA+B;IACtC,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACN,IAAI,EAAE;YACF,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE;SACzD;KACJ;CACJ,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,SAAS,GAAU;IAC5B,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,yCAAyC;QAC9C,GAAG,EAAE,KAAK;KACb;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IAC/B,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;QACR,QAAQ,EAAE,GAAG;QACb,GAAG,EAAE,KAAK;KACb;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAU;IACnC,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,mCAAmC;QACxC,GAAG,EAAE,UAAU;QACf,QAAQ,EAAE,GAAG;KAChB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC5B,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,yCAAyC;QAC9C,GAAG,EAAE,KAAK;KACb;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC5B,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,yCAAyC;QAC9C,GAAG,EAAE,KAAK;KACb;CACJ,CAAC"}
@@ -1,56 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { TonIcon, TonIconCircle } from './ton-icon';
3
- const meta = {
4
- title: 'Private/Components/TonIcon',
5
- component: TonIcon,
6
- tags: ['autodocs'],
7
- argTypes: {
8
- size: {
9
- control: { type: 'range', min: 12, max: 64, step: 4 },
10
- },
11
- },
12
- decorators: [
13
- (Story) => (_jsx("div", { style: { color: 'white' }, children: _jsx(Story, {}) })),
14
- ],
15
- };
16
- export default meta;
17
- export const Default = {
18
- args: {
19
- size: 24,
20
- },
21
- };
22
- export const Small = {
23
- args: {
24
- size: 16,
25
- },
26
- };
27
- export const Large = {
28
- args: {
29
- size: 48,
30
- },
31
- };
32
- export const CustomColor = {
33
- args: {
34
- size: 32,
35
- style: { color: '#0098EB' },
36
- },
37
- };
38
- export const Circle = {
39
- render: (args) => _jsx(TonIconCircle, { ...args }),
40
- args: {
41
- size: 48,
42
- },
43
- };
44
- export const CircleSmall = {
45
- render: (args) => _jsx(TonIconCircle, { ...args }),
46
- args: {
47
- size: 24,
48
- },
49
- };
50
- export const CircleLarge = {
51
- render: (args) => _jsx(TonIconCircle, { ...args }),
52
- args: {
53
- size: 72,
54
- },
55
- };
56
- //# sourceMappingURL=ton-icon.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ton-icon.stories.js","sourceRoot":"","sources":["../../../../src/components/ton-icon/ton-icon.stories.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEpD,MAAM,IAAI,GAAyB;IAC/B,KAAK,EAAE,4BAA4B;IACnC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACN,IAAI,EAAE;YACF,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;SACxD;KACJ;IACD,UAAU,EAAE;QACR,CAAC,KAAK,EAAE,EAAE,CAAC,CACP,cAAK,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,YAC1B,KAAC,KAAK,KAAG,GACP,CACT;KACJ;CACJ,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC1B,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;KACX;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IACxB,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;KACX;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IACxB,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;KACX;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAU;IAC9B,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;KAC9B;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAmC;IAClD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,aAAa,OAAK,IAAI,GAAI;IAC7C,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;KACX;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAmC;IACvD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,aAAa,OAAK,IAAI,GAAI;IAC7C,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;KACX;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAmC;IACvD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,aAAa,OAAK,IAAI,GAAI;IAC7C,IAAI,EAAE;QACF,IAAI,EAAE,EAAE;KACX;CACJ,CAAC"}
@@ -1,23 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { BalanceBadge } from './balance-badge';
3
- const meta = {
4
- title: 'Public/Features/Balances/BalanceBadge',
5
- tags: ['autodocs'],
6
- parameters: {
7
- layout: 'centered',
8
- },
9
- };
10
- export default meta;
11
- export const TonBalance = {
12
- render: () => (_jsxs(BalanceBadge.Container, { children: [_jsx(BalanceBadge.Icon, { src: "https://ton.org/download/ton_symbol.png", alt: "TON", size: 40 }), _jsxs(BalanceBadge.BalanceBlock, { children: [_jsx(BalanceBadge.Balance, { balance: "1500000000", decimals: 9 }), _jsx(BalanceBadge.Symbol, { symbol: "TON" })] })] })),
13
- };
14
- export const JettonBalance = {
15
- render: () => (_jsxs(BalanceBadge.Container, { children: [_jsx(BalanceBadge.Icon, { fallback: "U", alt: "USDT", size: 40 }), _jsxs(BalanceBadge.BalanceBlock, { children: [_jsx(BalanceBadge.Balance, { balance: "100000000", decimals: 6 }), _jsx(BalanceBadge.Symbol, { symbol: "USDT" })] })] })),
16
- };
17
- export const ZeroBalance = {
18
- render: () => (_jsxs(BalanceBadge.Container, { children: [_jsx(BalanceBadge.Icon, { src: "https://ton.org/download/ton_symbol.png", alt: "TON", size: 40 }), _jsxs(BalanceBadge.BalanceBlock, { children: [_jsx(BalanceBadge.Balance, { balance: "", decimals: 9 }), _jsx(BalanceBadge.Symbol, { symbol: "TON" })] })] })),
19
- };
20
- export const LargeBalance = {
21
- render: () => (_jsxs(BalanceBadge.Container, { children: [_jsx(BalanceBadge.Icon, { src: "https://ton.org/download/ton_symbol.png", alt: "TON", size: 40 }), _jsxs(BalanceBadge.BalanceBlock, { children: [_jsx(BalanceBadge.Balance, { balance: "999999999999999999", decimals: 9 }), _jsx(BalanceBadge.Symbol, { symbol: "TON" })] })] })),
22
- };
23
- //# sourceMappingURL=balance-badge.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"balance-badge.stories.js","sourceRoot":"","sources":["../../../../../../src/features/balances/components/balance-badge/balance-badge.stories.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,IAAI,GAAS;IACf,KAAK,EAAE,uCAAuC;IAC9C,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACR,MAAM,EAAE,UAAU;KACrB;CACJ,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,UAAU,GAAU;IAC7B,MAAM,EAAE,GAAG,EAAE,CAAC,CACV,MAAC,YAAY,CAAC,SAAS,eACnB,KAAC,YAAY,CAAC,IAAI,IAAC,GAAG,EAAC,yCAAyC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAE,EAAE,GAAI,EACvF,MAAC,YAAY,CAAC,YAAY,eACtB,KAAC,Y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C,YAAY,eACtB,KAAC,YAAY,CAAC,OAAO,IAAC,OAAO,EAAC,oBAAoB,EAAC,QAAQ,EAAE,CAAC,GAAI,EAClE,KAAC,YAAY,CAAC,MAAM,IAAC,MAAM,EAAC,KAAK,GAAG,IACZ,IACP,CAC5B;CACJ,CAAC"}
@@ -1,61 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { fn } from '@storybook/test';
3
- import { CurrencyItem } from './currency-item';
4
- const meta = {
5
- title: 'Public/Features/Balances/CurrencyItem',
6
- component: CurrencyItem,
7
- tags: ['autodocs'],
8
- parameters: {
9
- layout: 'centered',
10
- },
11
- args: {
12
- onClick: fn(),
13
- },
14
- };
15
- export default meta;
16
- export const TON = {
17
- args: {
18
- ticker: 'TON',
19
- name: 'Toncoin',
20
- balance: '55',
21
- icon: 'https://ton.org/download/ton_symbol.png',
22
- isVerified: true,
23
- },
24
- };
25
- export const USDT = {
26
- args: {
27
- ticker: 'USDT',
28
- name: 'Tether USD',
29
- balance: '10',
30
- isVerified: true,
31
- },
32
- };
33
- export const Unverified = {
34
- args: {
35
- ticker: 'MEME',
36
- name: 'Meme Token',
37
- balance: '10000',
38
- isVerified: false,
39
- },
40
- };
41
- export const ZeroBalance = {
42
- args: {
43
- ticker: 'TON',
44
- name: 'Toncoin',
45
- balance: '0',
46
- icon: 'https://ton.org/download/ton_symbol.png',
47
- isVerified: true,
48
- },
49
- };
50
- export const NoBalance = {
51
- args: {
52
- ticker: 'TON',
53
- name: 'Toncoin',
54
- icon: 'https://ton.org/download/ton_symbol.png',
55
- isVerified: true,
56
- },
57
- };
58
- export const CurrencyList = {
59
- render: () => (_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '4px', width: '320px' }, children: [_jsx(CurrencyItem, { ticker: "TON", name: "Toncoin", balance: "55", icon: "https://ton.org/download/ton_symbol.png", isVerified: true, onClick: fn() }), _jsx(CurrencyItem, { ticker: "USDT", name: "Tether USD", balance: "10", isVerified: true, onClick: fn() }), _jsx(CurrencyItem, { ticker: "NOT", name: "Notcoin", balance: "500", isVerified: true, onClick: fn() })] })),
60
- };
61
- //# sourceMappingURL=currency-item.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"currency-item.stories.js","sourceRoot":"","sources":["../../../../../../src/features/balances/components/currency-item/currency-item.stories.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,IAAI,GAA8B;IACpC,KAAK,EAAE,uCAAuC;IAC9C,SAAS,EAAE,YAAY;IACvB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACR,MAAM,EAAE,UAAU;KACrB;IACD,IAAI,EAAE;QACF,OAAO,EAAE,EAAE,EAAE;KAChB;CACJ,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,GAAG,GAAU;IACtB,IAAI,EAAE;QACF,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,yCAAyC;QAC/C,UAAU,EAAE,IAAI;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAU;IACvB,IAAI,EAAE;QACF,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,IAAI;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC7B,IAAI,EAAE;QACF,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,OAAO;QAChB,UAAU,EAAE,KAAK;KACpB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAU;IAC9B,IAAI,EAAE;QACF,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,GAAG;QACZ,IAAI,EAAE,yCAAyC;QAC/C,UAAU,EAAE,IAAI;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAU;IAC5B,IAAI,EAAE;QACF,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,yCAAyC;QAC/C,UAAU,EAAE,IAAI;KACnB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IAC/B,MAAM,EAAE,GAAG,EAAE,CAAC,CACV,eAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,aAChF,KAAC,YAAY,IACT,MAAM,EAAC,KAAK,EACZ,IAAI,EAAC,SAAS,EACd,OAAO,EAAC,IAAI,EACZ,IAAI,EAAC,yCAAyC,EAC9C,UAAU,EAAE,IAAI,EAChB,OAAO,EAAE,EAAE,EAAE,GACf,EACF,KAAC,YAAY,IAAC,MAAM,EAAC,MAAM,EAAC,IAAI,EAAC,YAAY,EAAC,OAAO,EAAC,IAAI,EAAC,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,GAAI,EAC9F,KAAC,YAAY,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAC,KAAK,EAAC,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,GAAI,IACzF,CACT;CACJ,CAAC"}
@@ -1,41 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Button } from '../../../../components/button';
3
- const SendJettonButtonPreview = ({ text = 'Send USDT', isLoading = false, disabled = false, }) => {
4
- return _jsx(Button, { disabled: disabled || isLoading, children: isLoading ? 'Processing...' : text });
5
- };
6
- const meta = {
7
- title: 'Public/Features/Balances/SendJettonButton',
8
- component: SendJettonButtonPreview,
9
- tags: ['autodocs'],
10
- parameters: {
11
- layout: 'centered',
12
- },
13
- };
14
- export default meta;
15
- export const USDT = {
16
- args: {
17
- text: 'Send 100 USDT',
18
- },
19
- };
20
- export const NOT = {
21
- args: {
22
- text: 'Send 500 NOT',
23
- },
24
- };
25
- export const WithoutAmount = {
26
- args: {
27
- text: 'Send USDT',
28
- },
29
- };
30
- export const Loading = {
31
- args: {
32
- isLoading: true,
33
- },
34
- };
35
- export const Disabled = {
36
- args: {
37
- text: 'Send 100 USDT',
38
- disabled: true,
39
- },
40
- };
41
- //# sourceMappingURL=send-jetton-button.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"send-jetton-button.stories.js","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-jetton-button/send-jetton-button.stories.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,MAAM,uBAAuB,GAAG,CAAC,EAC7B,IAAI,GAAG,WAAW,EAClB,SAAS,GAAG,KAAK,EACjB,QAAQ,GAAG,KAAK,GAKnB,EAAE,EAAE;IACD,OAAO,KAAC,MAAM,IAAC,QAAQ,EAAE,QAAQ,IAAI,SAAS,YAAG,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,GAAU,CAAC;AAClG,CAAC,CAAC;AAEF,MAAM,IAAI,GAAyC;IAC/C,KAAK,EAAE,2CAA2C;IAClD,SAAS,EAAE,uBAAuB;IAClC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACR,MAAM,EAAE,UAAU;KACrB;CACJ,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,IAAI,GAAU;IACvB,IAAI,EAAE;QACF,IAAI,EAAE,eAAe;KACxB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAAU;IACtB,IAAI,EAAE;QACF,IAAI,EAAE,cAAc;KACvB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAChC,IAAI,EAAE;QACF,IAAI,EAAE,WAAW;KACpB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC1B,IAAI,EAAE;QACF,SAAS,EAAE,IAAI;KAClB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC3B,IAAI,EAAE;QACF,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE,IAAI;KACjB;CACJ,CAAC"}
@@ -1,36 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Button } from '../../../../components/button';
3
- const SendTonButtonPreview = ({ text = 'Send TON', isLoading = false, disabled = false, }) => {
4
- return _jsx(Button, { disabled: disabled || isLoading, children: isLoading ? 'Processing...' : text });
5
- };
6
- const meta = {
7
- title: 'Public/Features/Balances/SendTonButton',
8
- component: SendTonButtonPreview,
9
- tags: ['autodocs'],
10
- parameters: {
11
- layout: 'centered',
12
- },
13
- };
14
- export default meta;
15
- export const Default = {
16
- args: {
17
- text: 'Send 1.5 TON',
18
- },
19
- };
20
- export const LargeAmount = {
21
- args: {
22
- text: 'Send 999.99 TON',
23
- },
24
- };
25
- export const Loading = {
26
- args: {
27
- isLoading: true,
28
- },
29
- };
30
- export const Disabled = {
31
- args: {
32
- text: 'Send 1.5 TON',
33
- disabled: true,
34
- },
35
- };
36
- //# sourceMappingURL=send-ton-button.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"send-ton-button.stories.js","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-ton-button/send-ton-button.stories.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,MAAM,oBAAoB,GAAG,CAAC,EAC1B,IAAI,GAAG,UAAU,EACjB,SAAS,GAAG,KAAK,EACjB,QAAQ,GAAG,KAAK,GAKnB,EAAE,EAAE;IACD,OAAO,KAAC,MAAM,IAAC,QAAQ,EAAE,QAAQ,IAAI,SAAS,YAAG,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,GAAU,CAAC;AAClG,CAAC,CAAC;AAEF,MAAM,IAAI,GAAsC;IAC5C,KAAK,EAAE,wCAAwC;IAC/C,SAAS,EAAE,oBAAoB;IAC/B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACR,MAAM,EAAE,UAAU;KACrB;CACJ,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC1B,IAAI,EAAE;QACF,IAAI,EAAE,cAAc;KACvB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAU;IAC9B,IAAI,EAAE;QACF,IAAI,EAAE,iBAAiB;KAC1B;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC1B,IAAI,EAAE;QACF,SAAS,EAAE,IAAI;KAClB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC3B,IAAI,EAAE;QACF,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,IAAI;KACjB;CACJ,CAAC"}
@@ -1,52 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { fn } from '@storybook/test';
3
- import clsx from 'clsx';
4
- import styles from './nft-item.module.css';
5
- const PlaceholderIcon = () => (_jsx("svg", { className: styles.placeholderIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" }) }));
6
- const NftItemPreview = ({ name, collectionName, image, isOnSale = false, onClick, className, }) => {
7
- return (_jsxs("button", { onClick: onClick, className: clsx(styles.nftItem, className), children: [_jsxs("div", { className: styles.imageWrapper, children: [image ? _jsx("img", { src: image, alt: name, className: styles.image }) : _jsx(PlaceholderIcon, {}), isOnSale && _jsx("span", { className: styles.saleBadge, children: "On Sale" })] }), _jsxs("div", { className: styles.info, children: [_jsx("h4", { className: styles.name, children: name }), _jsx("p", { className: styles.collectionName, children: collectionName })] })] }));
8
- };
9
- const meta = {
10
- title: 'Public/Features/NFT/NftItem',
11
- component: NftItemPreview,
12
- tags: ['autodocs'],
13
- parameters: {
14
- layout: 'centered',
15
- },
16
- args: {
17
- onClick: fn(),
18
- },
19
- };
20
- export default meta;
21
- export const WithImage = {
22
- args: {
23
- name: 'TON Diamond #1234',
24
- collectionName: 'TON Diamonds',
25
- image: 'https://picsum.photos/200',
26
- },
27
- };
28
- export const WithoutImage = {
29
- args: {
30
- name: 'Mystery NFT',
31
- collectionName: 'Unknown Collection',
32
- },
33
- };
34
- export const OnSale = {
35
- args: {
36
- name: 'Rare NFT #001',
37
- collectionName: 'Rare Collection',
38
- image: 'https://picsum.photos/201',
39
- isOnSale: true,
40
- },
41
- };
42
- export const LongName = {
43
- args: {
44
- name: 'Very Long NFT Name That Might Overflow The Container',
45
- collectionName: 'Long Collection Name Here',
46
- image: 'https://picsum.photos/202',
47
- },
48
- };
49
- export const NftGrid = {
50
- render: () => (_jsxs("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: '16px' }, children: [_jsx(NftItemPreview, { name: "TON Diamond #1", collectionName: "TON Diamonds", image: "https://picsum.photos/200", onClick: fn() }), _jsx(NftItemPreview, { name: "TON Diamond #2", collectionName: "TON Diamonds", image: "https://picsum.photos/201", isOnSale: true, onClick: fn() }), _jsx(NftItemPreview, { name: "Mystery NFT", collectionName: "Unknown", onClick: fn() }), _jsx(NftItemPreview, { name: "Rare Item #123", collectionName: "Rare Items", image: "https://picsum.photos/203", onClick: fn() })] })),
51
- };
52
- //# sourceMappingURL=nft-item.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nft-item.stories.js","sourceRoot":"","s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,EAAE,GACf,EACF,KAAC,cAAc,IAAC,IAAI,EAAC,aAAa,EAAC,cAAc,EAAC,SAAS,EAAC,OAAO,EAAE,EAAE,EAAE,GAAI,EAC7E,KAAC,cAAc,IACX,IAAI,EAAC,gBAAgB,EACrB,cAAc,EAAC,YAAY,EAC3B,KAAK,EAAC,2BAA2B,EACjC,OAAO,EAAE,EAAE,EAAE,GACf,IACA,CACT;CACJ,CAAC"}
@@ -1,47 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Button } from '../../../../components/button';
3
- // Create a preview component that doesn't depend on context
4
- const TransactionButtonPreview = ({ text = 'Send Transaction', isLoading = false, disabled = false, }) => {
5
- return _jsx(Button, { disabled: disabled || isLoading, children: isLoading ? 'Processing...' : text });
6
- };
7
- const meta = {
8
- title: 'Public/Features/Transaction/Transaction',
9
- component: TransactionButtonPreview,
10
- tags: ['autodocs'],
11
- parameters: {
12
- layout: 'centered',
13
- },
14
- };
15
- export default meta;
16
- export const Default = {
17
- args: {
18
- text: 'Send Transaction',
19
- },
20
- };
21
- export const CustomText = {
22
- args: {
23
- text: 'Send 1.5 TON',
24
- },
25
- };
26
- export const Loading = {
27
- args: {
28
- isLoading: true,
29
- },
30
- };
31
- export const Disabled = {
32
- args: {
33
- text: 'Send Transaction',
34
- disabled: true,
35
- },
36
- };
37
- export const SendTonButton = {
38
- args: {
39
- text: 'Send 10 TON',
40
- },
41
- };
42
- export const SendJettonButton = {
43
- args: {
44
- text: 'Send 100 USDT',
45
- },
46
- };
47
- //# sourceMappingURL=transaction.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transaction.stories.js","sourceRoot":"","sources":["../../../../../../src/features/transaction/components/transaction/transaction.stories.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,4DAA4D;AAC5D,MAAM,wBAAwB,GAAG,CAAC,EAC9B,IAAI,GAAG,kBAAkB,EACzB,SAAS,GAAG,KAAK,EACjB,QAAQ,GAAG,KAAK,GAKnB,EAAE,EAAE;IACD,OAAO,KAAC,MAAM,IAAC,QAAQ,EAAE,QAAQ,IAAI,SAAS,YAAG,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,GAAU,CAAC;AAClG,CAAC,CAAC;AAEF,MAAM,IAAI,GAA0C;IAChD,KAAK,EAAE,yCAAyC;IAChD,SAAS,EAAE,wBAAwB;IACnC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACR,MAAM,EAAE,UAAU;KACrB;CACJ,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC1B,IAAI,EAAE;QACF,IAAI,EAAE,kBAAkB;KAC3B;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC7B,IAAI,EAAE;QACF,IAAI,EAAE,cAAc;KACvB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC1B,IAAI,EAAE;QACF,SAAS,EAAE,IAAI;KAClB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC3B,IAAI,EAAE;QACF,IAAI,EAAE,kBAAkB;QACxB,QAAQ,EAAE,IAAI;KACjB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAChC,IAAI,EAAE;QACF,IAAI,EAAE,aAAa;KACtB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAU;IACnC,IAAI,EAAE;QACF,IAAI,EAAE,eAAe;KACxB;CACJ,CAAC"}
@@ -1,15 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { Meta, StoryObj } from '@storybook/react';
9
- import { Block } from './block';
10
- declare const meta: Meta<typeof Block>;
11
- export default meta;
12
- type Story = StoryObj<typeof Block>;
13
- export declare const Column: Story;
14
- export declare const Row: Story;
15
- //# sourceMappingURL=block.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"block.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/block/block.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAU5B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,MAAM,EAAE,KAWpB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAWjB,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { Meta, StoryObj } from '@storybook/react';
9
- import { Button } from './button';
10
- declare const meta: Meta<typeof Button>;
11
- export default meta;
12
- type Story = StoryObj<typeof Button>;
13
- export declare const Default: Story;
14
- export declare const Disabled: Story;
15
- export declare const WithIcon: Story;
16
- //# sourceMappingURL=button.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/button/button.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAS7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAiBtB,CAAC"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { Meta, StoryObj } from '@storybook/react';
9
- import { CircleIcon } from './circle-icon';
10
- declare const meta: Meta<typeof CircleIcon>;
11
- export default meta;
12
- type Story = StoryObj<typeof CircleIcon>;
13
- export declare const WithImage: Story;
14
- export declare const WithFallback: Story;
15
- export declare const WithInvalidImage: Story;
16
- export declare const SmallSize: Story;
17
- export declare const LargeSize: Story;
18
- //# sourceMappingURL=circle-icon.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"circle-icon.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/circle-icon/circle-icon.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CASjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAO9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC"}
@@ -1,20 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { Meta, StoryObj } from '@storybook/react';
9
- import { TonIcon, TonIconCircle } from './ton-icon';
10
- declare const meta: Meta<typeof TonIcon>;
11
- export default meta;
12
- type Story = StoryObj<typeof TonIcon>;
13
- export declare const Default: Story;
14
- export declare const Small: Story;
15
- export declare const Large: Story;
16
- export declare const CustomColor: Story;
17
- export declare const Circle: StoryObj<typeof TonIconCircle>;
18
- export declare const CircleSmall: StoryObj<typeof TonIconCircle>;
19
- export declare const CircleLarge: StoryObj<typeof TonIconCircle>;
20
- //# sourceMappingURL=ton-icon.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ton-icon.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ton-icon/ton-icon.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAgB9B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,aAAa,CAKjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,OAAO,aAAa,CAKtD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,OAAO,aAAa,CAKtD,CAAC"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { Meta, StoryObj } from '@storybook/react';
9
- declare const meta: Meta;
10
- export default meta;
11
- type Story = StoryObj;
12
- export declare const TonBalance: Story;
13
- export declare const JettonBalance: Story;
14
- export declare const ZeroBalance: Story;
15
- export declare const LargeBalance: Story;
16
- //# sourceMappingURL=balance-badge.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"balance-badge.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/balance-badge/balance-badge.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,IAAI,EAAE,IAMX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAU3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { Meta, StoryObj } from '@storybook/react';
9
- import { CurrencyItem } from './currency-item';
10
- declare const meta: Meta<typeof CurrencyItem>;
11
- export default meta;
12
- type Story = StoryObj<typeof CurrencyItem>;
13
- export declare const TON: Story;
14
- export declare const USDT: Story;
15
- export declare const Unverified: Story;
16
- export declare const ZeroBalance: Story;
17
- export declare const NoBalance: Story;
18
- export declare const CurrencyList: Story;
19
- //# sourceMappingURL=currency-item.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"currency-item.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/currency-item/currency-item.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAUnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,GAAG,EAAE,KAQjB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAe1B,CAAC"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { Meta, StoryObj } from '@storybook/react';
9
- declare const SendJettonButtonPreview: ({ text, isLoading, disabled, }: {
10
- text?: string;
11
- isLoading?: boolean;
12
- disabled?: boolean;
13
- }) => import("react/jsx-runtime").JSX.Element;
14
- declare const meta: Meta<typeof SendJettonButtonPreview>;
15
- export default meta;
16
- type Story = StoryObj<typeof SendJettonButtonPreview>;
17
- export declare const USDT: Story;
18
- export declare const NOT: Story;
19
- export declare const WithoutAmount: Story;
20
- export declare const Loading: Story;
21
- export declare const Disabled: Story;
22
- //# sourceMappingURL=send-jetton-button.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"send-jetton-button.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-jetton-button/send-jetton-button.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,uBAAuB,GAAI,gCAI9B;IACC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,4CAEA,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,uBAAuB,CAO9C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEtD,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KAIjB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC"}
@@ -1,21 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { Meta, StoryObj } from '@storybook/react';
9
- declare const SendTonButtonPreview: ({ text, isLoading, disabled, }: {
10
- text?: string;
11
- isLoading?: boolean;
12
- disabled?: boolean;
13
- }) => import("react/jsx-runtime").JSX.Element;
14
- declare const meta: Meta<typeof SendTonButtonPreview>;
15
- export default meta;
16
- type Story = StoryObj<typeof SendTonButtonPreview>;
17
- export declare const Default: Story;
18
- export declare const LargeAmount: Story;
19
- export declare const Loading: Story;
20
- export declare const Disabled: Story;
21
- //# sourceMappingURL=send-ton-button.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"send-ton-button.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/balances/components/send-ton-button/send-ton-button.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,QAAA,MAAM,oBAAoB,GAAI,gCAI3B;IACC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,4CAEA,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAO3C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnD,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC"}
@@ -1,25 +0,0 @@
1
- /**
2
- * Copyright (c) TonTech.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
- import type { Meta, StoryObj } from '@storybook/react';
9
- declare const NftItemPreview: ({ name, collectionName, image, isOnSale, onClick, className, }: {
10
- name: string;
11
- collectionName: string;
12
- image?: string;
13
- isOnSale?: boolean;
14
- onClick?: () => void;
15
- className?: string;
16
- }) => import("react/jsx-runtime").JSX.Element;
17
- declare const meta: Meta<typeof NftItemPreview>;
18
- export default meta;
19
- type Story = StoryObj<typeof NftItemPreview>;
20
- export declare const WithImage: Story;
21
- export declare const WithoutImage: Story;
22
- export declare const OnSale: Story;
23
- export declare const LongName: Story;
24
- export declare const NftGrid: Story;
25
- //# sourceMappingURL=nft-item.stories.d.ts.map