@coyalabs/bts-style 1.0.7 → 1.0.8

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.
@@ -0,0 +1,46 @@
1
+ <script>
2
+ /**
3
+ * @type {'title' | 'content' | 'button'}
4
+ */
5
+ export let variant = 'content';
6
+ </script>
7
+
8
+ <span class="text" data-variant={variant}>
9
+ <slot />
10
+ </span>
11
+
12
+ <style>
13
+ @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@900&display=swap');
14
+
15
+ .text {
16
+ display: inline-block;
17
+ font-family: 'Satoshi', sans-serif;
18
+ }
19
+
20
+ /* Title variant */
21
+
22
+ .text[data-variant='title'] {
23
+ font-family: 'Noto Serif KR', serif;
24
+ font-weight: 900;
25
+ font-size: 30px;
26
+ color: #E3D8D8;
27
+ }
28
+
29
+ /* Content variant */
30
+
31
+ .text[data-variant='content'] {
32
+ font-family: 'Satoshi', sans-serif;
33
+ font-weight: 700;
34
+ font-size: 18px;
35
+ color: #777073;
36
+ }
37
+
38
+ /* Button variant */
39
+
40
+ .text[data-variant='button'] {
41
+ font-family: 'Noto Serif KR', serif;
42
+ font-weight: 900;
43
+ font-size: 17px;
44
+ color: #E3D8D8;
45
+ }
46
+ </style>
@@ -0,0 +1,39 @@
1
+ export default Text;
2
+ type Text = SvelteComponent<$$__sveltets_2_PropsWithChildren<{
3
+ variant?: "button" | "title" | "content" | undefined;
4
+ }, {
5
+ default: {};
6
+ }>, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> & {
11
+ $$bindings?: string | undefined;
12
+ };
13
+ declare const Text: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
14
+ variant?: "button" | "title" | "content" | undefined;
15
+ }, {
16
+ default: {};
17
+ }>, {
18
+ [evt: string]: CustomEvent<any>;
19
+ }, {
20
+ default: {};
21
+ }, {}, string>;
22
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
23
+ default: any;
24
+ } ? Props extends Record<string, never> ? any : {
25
+ children?: any;
26
+ } : {});
27
+ 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> {
28
+ new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
29
+ $$bindings?: Bindings;
30
+ } & Exports;
31
+ (internal: unknown, props: Props & {
32
+ $$events?: Events;
33
+ $$slots?: Slots;
34
+ }): Exports & {
35
+ $set?: any;
36
+ $on?: any;
37
+ };
38
+ z_$$bindings?: Bindings;
39
+ }
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { default as BaseContainer } from "./BaseContainer.svelte";
2
2
  export { default as BasePage } from "./BasePage.svelte";
3
+ export { default as Text } from "./Text.svelte";
package/dist/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  export { default as BaseContainer } from "./BaseContainer.svelte";
2
2
  export { default as BasePage } from "./BasePage.svelte";
3
+ export { default as Text } from "./Text.svelte";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coyalabs/bts-style",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "BTS Theme Svelte component templates",
5
5
  "type": "module",
6
6
  "exports": {