@ton/appkit-react 0.0.2 → 0.0.4

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 (100) hide show
  1. package/dist/esm/features/network/hooks/use-default-network.js +28 -0
  2. package/dist/esm/features/network/hooks/use-default-network.js.map +1 -0
  3. package/dist/esm/features/network/hooks/use-networks.js +10 -3
  4. package/dist/esm/features/network/hooks/use-networks.js.map +1 -1
  5. package/dist/esm/features/network/index.js +1 -0
  6. package/dist/esm/features/network/index.js.map +1 -1
  7. package/dist/esm/features/nft/hooks/use-nfts-by-address.js +1 -1
  8. package/dist/esm/features/nft/hooks/use-nfts.js +2 -2
  9. package/dist/esm/features/transaction/components/transaction-progress/index.js +10 -0
  10. package/dist/esm/features/transaction/components/transaction-progress/index.js.map +1 -0
  11. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress-icons.js +14 -0
  12. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress-icons.js.map +1 -0
  13. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress-provider.js +42 -0
  14. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress-provider.js.map +1 -0
  15. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress.js +44 -0
  16. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress.js.map +1 -0
  17. package/dist/esm/features/transaction/components/transaction-progress/transaction-progress.module.css +44 -0
  18. package/dist/esm/features/transaction/hooks/use-transaction-status.js +35 -0
  19. package/dist/esm/features/transaction/hooks/use-transaction-status.js.map +1 -0
  20. package/dist/esm/features/transaction/index.js +2 -0
  21. package/dist/esm/features/transaction/index.js.map +1 -1
  22. package/dist/esm/locales/en.js +5 -0
  23. package/dist/esm/locales/en.js.map +1 -1
  24. package/dist/esm/styles/index.css +1 -0
  25. package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
  26. package/dist/types/features/network/hooks/use-default-network.d.ts +17 -0
  27. package/dist/types/features/network/hooks/use-default-network.d.ts.map +1 -0
  28. package/dist/types/features/network/hooks/use-networks.d.ts.map +1 -1
  29. package/dist/types/features/network/index.d.ts +1 -0
  30. package/dist/types/features/network/index.d.ts.map +1 -1
  31. package/dist/types/features/nft/hooks/use-nfts-by-address.d.ts +1 -1
  32. package/dist/types/features/transaction/components/transaction-progress/index.d.ts +10 -0
  33. package/dist/types/features/transaction/components/transaction-progress/index.d.ts.map +1 -0
  34. package/dist/types/features/transaction/components/transaction-progress/transaction-progress-icons.d.ts +15 -0
  35. package/dist/types/features/transaction/components/transaction-progress/transaction-progress-icons.d.ts.map +1 -0
  36. package/dist/types/features/transaction/components/transaction-progress/transaction-progress-provider.d.ts +23 -0
  37. package/dist/types/features/transaction/components/transaction-progress/transaction-progress-provider.d.ts.map +1 -0
  38. package/dist/types/features/transaction/components/transaction-progress/transaction-progress.d.ts +32 -0
  39. package/dist/types/features/transaction/components/transaction-progress/transaction-progress.d.ts.map +1 -0
  40. package/dist/types/features/transaction/hooks/use-transaction-status.d.ts +33 -0
  41. package/dist/types/features/transaction/hooks/use-transaction-status.d.ts.map +1 -0
  42. package/dist/types/features/transaction/index.d.ts +2 -0
  43. package/dist/types/features/transaction/index.d.ts.map +1 -1
  44. package/dist/types/libs/i18n.d.ts +5 -0
  45. package/dist/types/libs/i18n.d.ts.map +1 -1
  46. package/dist/types/locales/en.d.ts +5 -0
  47. package/dist/types/locales/en.d.ts.map +1 -1
  48. package/package.json +14 -7
  49. package/src/features/network/hooks/use-default-network.ts +47 -0
  50. package/src/features/network/hooks/use-networks.ts +14 -3
  51. package/src/features/network/index.ts +1 -0
  52. package/src/features/nft/hooks/use-nfts-by-address.ts +1 -1
  53. package/src/features/nft/hooks/use-nfts.ts +2 -2
  54. package/src/features/transaction/components/transaction-progress/index.ts +10 -0
  55. package/src/features/transaction/components/transaction-progress/transaction-progress-icons.tsx +80 -0
  56. package/src/features/transaction/components/transaction-progress/transaction-progress-provider.tsx +60 -0
  57. package/src/features/transaction/components/transaction-progress/transaction-progress.tsx +97 -0
  58. package/src/features/transaction/hooks/use-transaction-status.ts +55 -0
  59. package/src/features/transaction/index.ts +2 -0
  60. package/src/locales/en.ts +5 -0
  61. package/dist/esm/components/block/block.stories.js +0 -27
  62. package/dist/esm/components/block/block.stories.js.map +0 -1
  63. package/dist/esm/components/button/button.stories.js +0 -30
  64. package/dist/esm/components/button/button.stories.js.map +0 -1
  65. package/dist/esm/components/circle-icon/circle-icon.stories.js +0 -56
  66. package/dist/esm/components/circle-icon/circle-icon.stories.js.map +0 -1
  67. package/dist/esm/components/ton-icon/ton-icon.stories.js +0 -56
  68. package/dist/esm/components/ton-icon/ton-icon.stories.js.map +0 -1
  69. package/dist/esm/features/balances/components/balance-badge/balance-badge.stories.js +0 -23
  70. package/dist/esm/features/balances/components/balance-badge/balance-badge.stories.js.map +0 -1
  71. package/dist/esm/features/balances/components/currency-item/currency-item.stories.js +0 -61
  72. package/dist/esm/features/balances/components/currency-item/currency-item.stories.js.map +0 -1
  73. package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.stories.js +0 -41
  74. package/dist/esm/features/balances/components/send-jetton-button/send-jetton-button.stories.js.map +0 -1
  75. package/dist/esm/features/balances/components/send-ton-button/send-ton-button.stories.js +0 -36
  76. package/dist/esm/features/balances/components/send-ton-button/send-ton-button.stories.js.map +0 -1
  77. package/dist/esm/features/nft/components/nft-item/nft-item.stories.js +0 -52
  78. package/dist/esm/features/nft/components/nft-item/nft-item.stories.js.map +0 -1
  79. package/dist/esm/features/transaction/components/transaction/transaction.stories.js +0 -47
  80. package/dist/esm/features/transaction/components/transaction/transaction.stories.js.map +0 -1
  81. package/dist/types/components/block/block.stories.d.ts +0 -15
  82. package/dist/types/components/block/block.stories.d.ts.map +0 -1
  83. package/dist/types/components/button/button.stories.d.ts +0 -16
  84. package/dist/types/components/button/button.stories.d.ts.map +0 -1
  85. package/dist/types/components/circle-icon/circle-icon.stories.d.ts +0 -18
  86. package/dist/types/components/circle-icon/circle-icon.stories.d.ts.map +0 -1
  87. package/dist/types/components/ton-icon/ton-icon.stories.d.ts +0 -20
  88. package/dist/types/components/ton-icon/ton-icon.stories.d.ts.map +0 -1
  89. package/dist/types/features/balances/components/balance-badge/balance-badge.stories.d.ts +0 -16
  90. package/dist/types/features/balances/components/balance-badge/balance-badge.stories.d.ts.map +0 -1
  91. package/dist/types/features/balances/components/currency-item/currency-item.stories.d.ts +0 -19
  92. package/dist/types/features/balances/components/currency-item/currency-item.stories.d.ts.map +0 -1
  93. package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.stories.d.ts +0 -22
  94. package/dist/types/features/balances/components/send-jetton-button/send-jetton-button.stories.d.ts.map +0 -1
  95. package/dist/types/features/balances/components/send-ton-button/send-ton-button.stories.d.ts +0 -21
  96. package/dist/types/features/balances/components/send-ton-button/send-ton-button.stories.d.ts.map +0 -1
  97. package/dist/types/features/nft/components/nft-item/nft-item.stories.d.ts +0 -25
  98. package/dist/types/features/nft/components/nft-item/nft-item.stories.d.ts.map +0 -1
  99. package/dist/types/features/transaction/components/transaction/transaction.stories.d.ts +0 -23
  100. package/dist/types/features/transaction/components/transaction/transaction.stories.d.ts.map +0 -1
@@ -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
@@ -1 +0,0 @@
1
- {"version":3,"file":"nft-item.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/nft/components/nft-item/nft-item.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAiBvD,QAAA,MAAM,cAAc,GAAI,gEAOrB;IACC,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,4CAaA,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAUrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAOpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAC"}
@@ -1,23 +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 TransactionButtonPreview: ({ 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 TransactionButtonPreview>;
15
- export default meta;
16
- type Story = StoryObj<typeof TransactionButtonPreview>;
17
- export declare const Default: Story;
18
- export declare const CustomText: Story;
19
- export declare const Loading: Story;
20
- export declare const Disabled: Story;
21
- export declare const SendTonButton: Story;
22
- export declare const SendJettonButton: Story;
23
- //# sourceMappingURL=transaction.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transaction.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/features/transaction/components/transaction/transaction.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,QAAA,MAAM,wBAAwB,GAAI,gCAI/B;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,wBAAwB,CAO/C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEvD,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAI9B,CAAC"}