@coyalabs/bts-style 1.0.8 → 1.1.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.
Files changed (60) hide show
  1. package/dist/Base/BaseContainer.svelte +85 -0
  2. package/dist/{BaseContainer.svelte.d.ts → Base/BaseContainer.svelte.d.ts} +12 -2
  3. package/dist/Base/BaseIcon.svelte +42 -0
  4. package/dist/Base/BaseIcon.svelte.d.ts +30 -0
  5. package/dist/Base/BasePage.svelte +73 -0
  6. package/dist/Base/BasePage.svelte.d.ts +37 -0
  7. package/dist/{Text.svelte → Base/BaseText.svelte} +9 -11
  8. package/dist/{Text.svelte.d.ts → Base/BaseText.svelte.d.ts} +5 -3
  9. package/dist/Components/Button.svelte +151 -0
  10. package/dist/Components/Button.svelte.d.ts +65 -0
  11. package/dist/Components/Dropdown.svelte +191 -0
  12. package/dist/Components/Dropdown.svelte.d.ts +54 -0
  13. package/dist/Components/IconButton.svelte +44 -0
  14. package/dist/Components/IconButton.svelte.d.ts +34 -0
  15. package/dist/Components/InputBox.svelte +103 -0
  16. package/dist/Components/InputBox.svelte.d.ts +56 -0
  17. package/dist/Components/Popup/AlertPopup.svelte +27 -0
  18. package/dist/Components/Popup/AlertPopup.svelte.d.ts +28 -0
  19. package/dist/Components/Popup/ConfirmPopup.svelte +39 -0
  20. package/dist/Components/Popup/ConfirmPopup.svelte.d.ts +32 -0
  21. package/dist/Components/Popup/Popup.svelte +67 -0
  22. package/dist/{BasePage.svelte.d.ts → Components/Popup/Popup.svelte.d.ts} +15 -9
  23. package/dist/Components/Popup/PromptPopup.svelte +61 -0
  24. package/dist/Components/Popup/PromptPopup.svelte.d.ts +36 -0
  25. package/dist/Components/Separator.svelte +63 -0
  26. package/dist/Components/Separator.svelte.d.ts +30 -0
  27. package/dist/Components/Special/SpecialAction.svelte +46 -0
  28. package/dist/Components/Special/SpecialAction.svelte.d.ts +32 -0
  29. package/dist/Components/Special/SpecialParagraph.svelte +159 -0
  30. package/dist/Components/Special/SpecialParagraph.svelte.d.ts +52 -0
  31. package/dist/Components/TabBar.svelte +128 -0
  32. package/dist/Components/TabBar.svelte.d.ts +40 -0
  33. package/dist/Components/Toggle.svelte +59 -0
  34. package/dist/{Testing.svelte.d.ts → Components/Toggle.svelte.d.ts} +5 -9
  35. package/dist/Components/Tooltip.svelte +132 -0
  36. package/dist/Components/Tooltip.svelte.d.ts +28 -0
  37. package/dist/Components/TreeDirectory.svelte +148 -0
  38. package/dist/Components/TreeDirectory.svelte.d.ts +58 -0
  39. package/dist/Components/popupStore.d.ts +31 -0
  40. package/dist/Components/popupStore.js +99 -0
  41. package/dist/Structure/BG/AssetGear.d.ts +2 -0
  42. package/dist/Structure/BG/AssetGear.js +2 -0
  43. package/dist/Structure/BG/BGChain.svelte +188 -0
  44. package/dist/Structure/BG/BGChain.svelte.d.ts +36 -0
  45. package/dist/Structure/BG/BGDetails.svelte +130 -0
  46. package/dist/Structure/BG/BGDetails.svelte.d.ts +36 -0
  47. package/dist/Structure/BG/BGGears.svelte +188 -0
  48. package/dist/Structure/BG/BGGears.svelte.d.ts +38 -0
  49. package/dist/Structure/TextHeader.svelte +32 -0
  50. package/dist/Structure/TextHeader.svelte.d.ts +28 -0
  51. package/dist/icons.d.ts +11 -0
  52. package/dist/icons.js +11 -0
  53. package/dist/index.d.ts +25 -3
  54. package/dist/index.js +30 -3
  55. package/package.json +2 -1
  56. package/public/favicon.png +0 -0
  57. package/README.md +0 -35
  58. package/dist/BaseContainer.svelte +0 -43
  59. package/dist/BasePage.svelte +0 -30
  60. package/dist/Testing.svelte +0 -26
@@ -0,0 +1,85 @@
1
+ <script>
2
+ /**
3
+ * @type {'full' | 'primary' | 'secondary' | 'filled' | 'special-filled'}
4
+ */
5
+ export let theme = 'full';
6
+
7
+ /**
8
+ * @type {string}
9
+ */
10
+ export let borderRadiusTopLeft = '25px';
11
+
12
+ /**
13
+ * @type {string}
14
+ */
15
+ export let borderRadiusTopRight = '25px';
16
+
17
+ /**
18
+ * @type {string}
19
+ */
20
+ export let borderRadiusBottomLeft = '25px';
21
+
22
+ /**
23
+ * @type {string}
24
+ */
25
+ export let borderRadiusBottomRight = '25px';
26
+
27
+ /**
28
+ * @type {string}
29
+ */
30
+ export let padding = '1rem';
31
+ </script>
32
+
33
+ <div class="glow-base-container" data-theme={theme} style="border-radius: {borderRadiusTopLeft} {borderRadiusTopRight} {borderRadiusBottomRight} {borderRadiusBottomLeft}; --padding: {padding};">
34
+ <slot />
35
+ </div>
36
+
37
+ <style>
38
+ .glow-base-container {
39
+ width: 100%;
40
+ border: 2px solid rgba(255, 255, 255, 0.13);
41
+ padding: var(--padding);
42
+ box-sizing: border-box;
43
+ }
44
+
45
+ /* Theme A - Full */
46
+ .glow-base-container[data-theme='full'] {
47
+ background: rgba(150, 132, 140, 0.25);
48
+ box-shadow:
49
+ 0px 0px 13px 0px rgba(255, 255, 255, 0.07),
50
+ inset 0px 0px 9px 2px rgba(193, 182, 212, 0.5);
51
+ }
52
+
53
+ /* Theme B - Primary */
54
+ .glow-base-container[data-theme='primary'] {
55
+ background: rgba(180, 158, 168, 0.25);
56
+ box-shadow:
57
+ 0px 0px 13px 0px rgba(255, 255, 255, 0.07),
58
+ inset 0px 0px 9px 2px rgba(117, 102, 143, 0.56);
59
+ }
60
+
61
+ /* Theme C - Secondary */
62
+ .glow-base-container[data-theme='secondary'] {
63
+ background: #74636a40;
64
+ box-shadow:
65
+ 0px 0px 13px 0px rgba(255, 255, 255, 0.07),
66
+ inset 0px 0px 9px 2px rgba(102, 88, 128, 0.5);
67
+ }
68
+
69
+ /* Theme D - Filled */
70
+ .glow-base-container[data-theme='filled'] {
71
+ background: #161319;
72
+ box-shadow:
73
+ 0px 0px 13px 0px #ffffff1a,
74
+ inset 0px 0px 9px 2px #ffffff0a;
75
+ }
76
+
77
+ /* Theme D - Filled */
78
+ .glow-base-container[data-theme='special-filled'] {
79
+ background: linear-gradient(-78deg, #382D40 0%, #3A2B45 100%);
80
+ box-shadow:
81
+ 0px 0px 13px 16px #A461CA08,
82
+ inset 0px 0px 9px 2px #AA91D845,
83
+ inset 2px 3px 9px 0px #BE81E225;
84
+ }
85
+ </style>
@@ -1,6 +1,11 @@
1
1
  export default BaseContainer;
2
2
  type BaseContainer = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
3
- theme?: "full" | "primary" | "secondary" | undefined;
3
+ theme?: "full" | "primary" | "secondary" | "filled" | "special-filled" | undefined;
4
+ borderRadiusTopLeft?: string | undefined;
5
+ borderRadiusTopRight?: string | undefined;
6
+ borderRadiusBottomLeft?: string | undefined;
7
+ borderRadiusBottomRight?: string | undefined;
8
+ padding?: string | undefined;
4
9
  }, {
5
10
  default: {};
6
11
  }>, {
@@ -11,7 +16,12 @@ type BaseContainer = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
11
16
  $$bindings?: string | undefined;
12
17
  };
13
18
  declare const BaseContainer: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
14
- theme?: "full" | "primary" | "secondary" | undefined;
19
+ theme?: "full" | "primary" | "secondary" | "filled" | "special-filled" | undefined;
20
+ borderRadiusTopLeft?: string | undefined;
21
+ borderRadiusTopRight?: string | undefined;
22
+ borderRadiusBottomLeft?: string | undefined;
23
+ borderRadiusBottomRight?: string | undefined;
24
+ padding?: string | undefined;
15
25
  }, {
16
26
  default: {};
17
27
  }>, {
@@ -0,0 +1,42 @@
1
+ <script>
2
+ /**
3
+ * @type {string}
4
+ */
5
+ export let svg;
6
+
7
+ /**
8
+ * @type {'default' | 'toned'}
9
+ */
10
+ export let variant = 'toned';
11
+
12
+ /**
13
+ * @type {string}
14
+ */
15
+ export let size = '18px';
16
+
17
+ const colors = {
18
+ default: '#E3D8D8',
19
+ toned: '#A18F8F'
20
+ };
21
+ </script>
22
+
23
+ <span class="base-icon" style="--icon-color: {colors[variant]}; --icon-size: {size};">
24
+ {@html svg}
25
+ </span>
26
+
27
+ <style>
28
+ .base-icon {
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ color: var(--icon-color);
33
+ }
34
+
35
+ .base-icon :global(svg) {
36
+ width: var(--icon-size);
37
+ height: var(--icon-size);
38
+ fill: none;
39
+ stroke: currentColor;
40
+ stroke-width: 2;
41
+ }
42
+ </style>
@@ -0,0 +1,30 @@
1
+ export default BaseIcon;
2
+ type BaseIcon = SvelteComponent<{
3
+ svg: string;
4
+ variant?: "default" | "toned" | undefined;
5
+ size?: string | undefined;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {}> & {
9
+ $$bindings?: string | undefined;
10
+ };
11
+ declare const BaseIcon: $$__sveltets_2_IsomorphicComponent<{
12
+ svg: string;
13
+ variant?: "default" | "toned" | undefined;
14
+ size?: string | undefined;
15
+ }, {
16
+ [evt: string]: CustomEvent<any>;
17
+ }, {}, {}, string>;
18
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
19
+ new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
20
+ $$bindings?: Bindings;
21
+ } & Exports;
22
+ (internal: unknown, props: Props & {
23
+ $$events?: Events;
24
+ $$slots?: Slots;
25
+ }): Exports & {
26
+ $set?: any;
27
+ $on?: any;
28
+ };
29
+ z_$$bindings?: Bindings;
30
+ }
@@ -0,0 +1,73 @@
1
+ <script lang="ts">
2
+ import { onMount } from 'svelte';
3
+ import BGDetails from '../Structure/BG/BGDetails.svelte';
4
+
5
+ /**
6
+ * @type {string | null}
7
+ */
8
+ export let favicon = null;
9
+
10
+ /**
11
+ * @type {boolean}
12
+ */
13
+ export let showBGDetails = true;
14
+
15
+ /**
16
+ * @type {string}
17
+ */
18
+ export let chainColor = "#130F15";
19
+
20
+ onMount(() => {
21
+ // Set favicon if not already set
22
+ let link = document.querySelector("link[rel*='icon']") as HTMLLinkElement | null;
23
+
24
+ if (!link) {
25
+ link = document.createElement('link');
26
+ link.rel = 'icon';
27
+ document.head.appendChild(link);
28
+ }
29
+
30
+ // Use custom favicon if provided, otherwise use default BTS theme favicon
31
+ const faviconUrl = favicon || 'data:image/svg+xml,%3Csvg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="32" height="32" rx="6" fill="%230B070D"/%3E%3Cpath d="M16 8C11.5817 8 8 11.5817 8 16C8 20.4183 11.5817 24 16 24C20.4183 24 24 20.4183 24 16C24 11.5817 20.4183 8 16 8Z" fill="%23E3D8D8"/%3E%3Ccircle cx="16" cy="16" r="4" fill="%23A18F8F"/%3E%3Crect x="14" y="10" width="4" height="2" rx="1" fill="%230B070D"/%3E%3Crect x="14" y="20" width="4" height="2" rx="1" fill="%230B070D"/%3E%3C/svg%3E';
32
+
33
+ link.href = faviconUrl;
34
+ });
35
+ </script>
36
+
37
+ <div class="base-page">
38
+ {#if showBGDetails}
39
+ <BGDetails {chainColor} />
40
+ {/if}
41
+ <div class="page-content">
42
+ <slot />
43
+ </div>
44
+ </div>
45
+
46
+ <style>
47
+ .base-page {
48
+ position: relative;
49
+ min-height: 100vh;
50
+ background-color: #0B070D;
51
+ margin: 0;
52
+ padding: 0;
53
+ }
54
+
55
+ :global(body) {
56
+ margin: 0;
57
+ padding: 0;
58
+ }
59
+
60
+ :global(html) {
61
+ margin: 0;
62
+ padding: 0;
63
+ }
64
+
65
+ .base-page > :global(*) {
66
+ margin-top: 0;
67
+ }
68
+
69
+ .page-content {
70
+ position: relative;
71
+ z-index: 1;
72
+ }
73
+ </style>
@@ -0,0 +1,37 @@
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: Props & {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
11
+ };
12
+ z_$$bindings?: Bindings;
13
+ }
14
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
15
+ default: any;
16
+ } ? Props extends Record<string, never> ? any : {
17
+ children?: any;
18
+ } : {});
19
+ declare const BasePage: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
20
+ /**
21
+ * @type {string | null}
22
+ */ favicon?: any;
23
+ /**
24
+ * @type {boolean}
25
+ */ showBGDetails?: boolean;
26
+ /**
27
+ * @type {string}
28
+ */ chainColor?: string;
29
+ }, {
30
+ default: {};
31
+ }>, {
32
+ [evt: string]: CustomEvent<any>;
33
+ }, {
34
+ default: {};
35
+ }, {}, string>;
36
+ type BasePage = InstanceType<typeof BasePage>;
37
+ export default BasePage;
@@ -3,44 +3,42 @@
3
3
  * @type {'title' | 'content' | 'button'}
4
4
  */
5
5
  export let variant = 'content';
6
+ /**
7
+ * @type {string}
8
+ */
9
+ export let textModifier = '0px';
6
10
  </script>
7
11
 
8
- <span class="text" data-variant={variant}>
12
+ <span class="text" data-variant={variant} style="--text-modifier: {textModifier};">
9
13
  <slot />
10
14
  </span>
11
15
 
12
16
  <style>
13
17
  @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@900&display=swap');
14
-
18
+ @import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');
15
19
  .text {
16
20
  display: inline-block;
17
21
  font-family: 'Satoshi', sans-serif;
18
22
  }
19
-
20
23
  /* Title variant */
21
-
22
24
  .text[data-variant='title'] {
23
25
  font-family: 'Noto Serif KR', serif;
24
26
  font-weight: 900;
25
- font-size: 30px;
27
+ font-size: calc(30px + var(--text-modifier));
26
28
  color: #E3D8D8;
27
29
  }
28
-
29
30
  /* Content variant */
30
-
31
31
  .text[data-variant='content'] {
32
32
  font-family: 'Satoshi', sans-serif;
33
33
  font-weight: 700;
34
- font-size: 18px;
34
+ font-size: calc(18px + var(--text-modifier));
35
35
  color: #777073;
36
36
  }
37
-
38
37
  /* Button variant */
39
-
40
38
  .text[data-variant='button'] {
41
39
  font-family: 'Noto Serif KR', serif;
42
40
  font-weight: 900;
43
- font-size: 17px;
41
+ font-size: calc(17px + var(--text-modifier));
44
42
  color: #E3D8D8;
45
43
  }
46
44
  </style>
@@ -1,6 +1,7 @@
1
- export default Text;
2
- type Text = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
1
+ export default BaseText;
2
+ type BaseText = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
3
3
  variant?: "button" | "title" | "content" | undefined;
4
+ textModifier?: string | undefined;
4
5
  }, {
5
6
  default: {};
6
7
  }>, {
@@ -10,8 +11,9 @@ type Text = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
10
11
  }> & {
11
12
  $$bindings?: string | undefined;
12
13
  };
13
- declare const Text: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
14
+ declare const BaseText: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
14
15
  variant?: "button" | "title" | "content" | undefined;
16
+ textModifier?: string | undefined;
15
17
  }, {
16
18
  default: {};
17
19
  }>, {
@@ -0,0 +1,151 @@
1
+ <script>
2
+ import BaseContainer from '../Base/BaseContainer.svelte';
3
+ import BaseText from '../Base/BaseText.svelte';
4
+ import BaseIcon from '../Base/BaseIcon.svelte';
5
+ import { icons } from '../icons';
6
+
7
+ /**
8
+ * @type {'full' | 'primary' | 'secondary' | 'special-filled' }
9
+ */
10
+ export let theme = 'full';
11
+
12
+ /**
13
+ * @type {string | null}
14
+ */
15
+ export let icon = null;
16
+
17
+ /**
18
+ * @type {string | null}
19
+ */
20
+ export let actionIcon = icons.arrow;
21
+
22
+ /**
23
+ * @type {number}
24
+ */
25
+ export let iconRotation = 0;
26
+
27
+ /**
28
+ * @type {number}
29
+ */
30
+ export let actionIconRotation = 0;
31
+
32
+ /**
33
+ * @type {string}
34
+ */
35
+ export let iconSize = '18px';
36
+
37
+ /**
38
+ * @type {boolean}
39
+ */
40
+ export let iconToned = true;
41
+
42
+ /**
43
+ * @type {string}
44
+ */
45
+ export let actionIconSize = '18px';
46
+
47
+ /**
48
+ * @type {string}
49
+ */
50
+ export let borderRadiusTopLeft = '25px';
51
+
52
+ /**
53
+ * @type {string}
54
+ */
55
+ export let borderRadiusTopRight = '25px';
56
+
57
+ /**
58
+ * @type {string}
59
+ */
60
+ export let borderRadiusBottomLeft = '25px';
61
+
62
+ /**
63
+ * @type {string}
64
+ */
65
+ export let borderRadiusBottomRight = '25px';
66
+ </script>
67
+
68
+ <button class="button-wrapper" on:click>
69
+ <BaseContainer {theme} {borderRadiusTopLeft} {borderRadiusTopRight} {borderRadiusBottomLeft} {borderRadiusBottomRight}>
70
+ <div class="button-content">
71
+ <div class="icon-text">
72
+ {#if icon}
73
+ <div class="icon-wrapper" style="transform: rotate({iconRotation}deg)">
74
+ <BaseIcon variant={iconToned ? "toned" : "default"} svg={icon} size={iconSize} />
75
+ </div>
76
+ {/if}
77
+ <BaseText variant="button">
78
+ <slot />
79
+ </BaseText>
80
+ </div>
81
+ {#if actionIcon}
82
+ <div class="icon-wrapper" style="transform: rotate({actionIconRotation}deg)">
83
+ <BaseIcon svg={actionIcon} size={actionIconSize} />
84
+ </div>
85
+ {/if}
86
+ </div>
87
+ </BaseContainer>
88
+ </button>
89
+
90
+ <style>
91
+ .button-wrapper {
92
+ all: unset;
93
+ cursor: pointer;
94
+ display: block;
95
+ width: 100%;
96
+ user-select: none;
97
+ }
98
+
99
+ .button-content {
100
+ display: flex;
101
+ align-items: center;
102
+ justify-content: space-between;
103
+ gap: 12px;
104
+ }
105
+
106
+ .icon-text {
107
+ display: flex;
108
+ align-items: center;
109
+ gap: 8px;
110
+ }
111
+
112
+ .icon-wrapper {
113
+ transition: transform 0.2s ease;
114
+ }
115
+
116
+ .button-wrapper > :global(.glow-base-container) {
117
+ transition: all 0.2s ease;
118
+ }
119
+
120
+ /* Hover state - default for most themes */
121
+ .button-wrapper:hover > :global(.glow-base-container:not([data-theme='special-filled'])) {
122
+ background: rgba(150, 132, 141, 0.37) !important;
123
+ box-shadow:
124
+ 0px 0px 13px 0px rgba(255, 255, 255, 0.07),
125
+ inset 0px 0px 6px 4px rgba(150, 132, 141, 0.37) !important;
126
+ }
127
+
128
+ /* Pressed/Active state - default for most themes */
129
+ .button-wrapper:active > :global(.glow-base-container:not([data-theme='special-filled'])) {
130
+ background: rgba(150, 132, 140, 0.25) !important;
131
+ box-shadow: 0px 0px 13px 0px rgba(255, 255, 255, 0.07) !important;
132
+ }
133
+
134
+ /* Special-filled theme hover */
135
+ .button-wrapper:hover > :global(.glow-base-container[data-theme='special-filled']) {
136
+ background: linear-gradient(78deg, #4A3B55 0%, #4C385A 100%) !important;
137
+ box-shadow:
138
+ 0px 0px 16px 18px #A461CA15,
139
+ inset 0px 0px 12px 3px #AA91D860,
140
+ inset -2px -3px 12px 0px #BE81E240 !important;
141
+ }
142
+
143
+ /* Special-filled theme pressed */
144
+ .button-wrapper:active > :global(.glow-base-container[data-theme='special-filled']) {
145
+ background: linear-gradient(-78deg, #2E2438 0%, #301F3D 100%) !important;
146
+ box-shadow:
147
+ 0px 0px 13px 16px #A461CA05,
148
+ inset 0px 0px 6px 2px #AA91D830,
149
+ inset 2px 3px 6px 0px #BE81E215 !important;
150
+ }
151
+ </style>
@@ -0,0 +1,65 @@
1
+ export default Button;
2
+ type Button = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
3
+ theme?: "full" | "primary" | "secondary" | "special-filled" | undefined;
4
+ borderRadiusTopLeft?: string | undefined;
5
+ borderRadiusTopRight?: string | undefined;
6
+ borderRadiusBottomLeft?: string | undefined;
7
+ borderRadiusBottomRight?: string | undefined;
8
+ icon?: string | null | undefined;
9
+ actionIcon?: string | null | undefined;
10
+ iconRotation?: number | undefined;
11
+ actionIconRotation?: number | undefined;
12
+ iconSize?: string | undefined;
13
+ iconToned?: boolean | undefined;
14
+ actionIconSize?: string | undefined;
15
+ }, {
16
+ default: {};
17
+ }>, {
18
+ click: PointerEvent;
19
+ } & {
20
+ [evt: string]: CustomEvent<any>;
21
+ }, {
22
+ default: {};
23
+ }> & {
24
+ $$bindings?: string | undefined;
25
+ };
26
+ declare const Button: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
27
+ theme?: "full" | "primary" | "secondary" | "special-filled" | undefined;
28
+ borderRadiusTopLeft?: string | undefined;
29
+ borderRadiusTopRight?: string | undefined;
30
+ borderRadiusBottomLeft?: string | undefined;
31
+ borderRadiusBottomRight?: string | undefined;
32
+ icon?: string | null | undefined;
33
+ actionIcon?: string | null | undefined;
34
+ iconRotation?: number | undefined;
35
+ actionIconRotation?: number | undefined;
36
+ iconSize?: string | undefined;
37
+ iconToned?: boolean | undefined;
38
+ actionIconSize?: string | undefined;
39
+ }, {
40
+ default: {};
41
+ }>, {
42
+ click: PointerEvent;
43
+ } & {
44
+ [evt: string]: CustomEvent<any>;
45
+ }, {
46
+ default: {};
47
+ }, {}, string>;
48
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
49
+ default: any;
50
+ } ? Props extends Record<string, never> ? any : {
51
+ children?: any;
52
+ } : {});
53
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
54
+ new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
55
+ $$bindings?: Bindings;
56
+ } & Exports;
57
+ (internal: unknown, props: Props & {
58
+ $$events?: Events;
59
+ $$slots?: Slots;
60
+ }): Exports & {
61
+ $set?: any;
62
+ $on?: any;
63
+ };
64
+ z_$$bindings?: Bindings;
65
+ }