This commit is contained in:
Benjamin Palko 2024-12-31 11:01:52 -05:00
parent c5b6a1e38d
commit 18f1b78ca4
19 changed files with 20 additions and 20 deletions

View file

@ -58,4 +58,4 @@
{@render children()} {@render children()}
</button> </button>
<style></style> <style></style>

View file

@ -1 +1 @@
export { default as Button } from './Button.svelte'; export { default as Button } from './Button.svelte';

View file

@ -51,4 +51,4 @@
<Story name="Text Label" args={{ color: 'primary', name: 'text', start: 'Text' }} /> <Story name="Text Label" args={{ color: 'primary', name: 'text', start: 'Text' }} />
<Story name="Icon Start" args={{ color: 'secondary', name: 'text', start: icon }} /> <Story name="Icon Start" args={{ color: 'secondary', name: 'text', start: icon }} />
<Story name="Icon End" args={{ color: 'secondary', name: 'text', end: icon }} /> <Story name="Icon End" args={{ color: 'secondary', name: 'text', end: icon }} />

View file

@ -96,4 +96,4 @@
</label> </label>
<style> <style>
</style> </style>

View file

@ -45,4 +45,4 @@
<Textarea {...props} /> <Textarea {...props} />
{/snippet} {/snippet}
<Story name="Default" args={{ label: 'Label' }} children={template} /> <Story name="Default" args={{ label: 'Label' }} children={template} />

View file

@ -57,4 +57,4 @@
class:textarea-error={color === 'error' || error} class:textarea-error={color === 'error' || error}
{...props} {...props}
></textarea> ></textarea>
</label> </label>

View file

@ -1,2 +1,2 @@
export { default as Textarea } from './Textarea.svelte'; export { default as Textarea } from './Textarea.svelte';
export { default as TextInput } from './TextInput.svelte'; export { default as TextInput } from './TextInput.svelte';

View file

@ -1 +1 @@
export * from './phone'; export * from './phone';

View file

@ -1 +1 @@
export const PhoneRegex = /^\+?\d?(\d{3}\d{3}\d{4}|\d{3}-\d{3}-\d{4})$/; export const PhoneRegex = /^\+?\d?(\d{3}\d{3}\d{4}|\d{3}-\d{3}-\d{4})$/;

View file

@ -6,7 +6,7 @@ builder.queryType({});
builder.queryField('version', (t) => builder.queryField('version', (t) =>
t.string({ t.string({
description: 'Application version', description: 'Application version',
resolve: () => version resolve: () => version,
}) })
); );

View file

@ -1 +1 @@
export * from './twilio.client'; export * from './twilio.client';

View file

@ -1,4 +1,4 @@
import twilio from 'twilio'; import twilio from 'twilio';
import { TwilioConfig } from './twilio.config'; import { TwilioConfig } from './twilio.config';
export const twilioClient = twilio(TwilioConfig.twilio_account_sid, TwilioConfig.twilio_auth_token); export const twilioClient = twilio(TwilioConfig.twilio_account_sid, TwilioConfig.twilio_auth_token);

View file

@ -28,4 +28,4 @@ const LoadConfig = (): TwilioConfiguration => {
}; };
}; };
export const TwilioConfig = LoadConfig(); export const TwilioConfig = LoadConfig();

View file

@ -3,4 +3,4 @@ import type { YogaInitialContext } from 'graphql-yoga';
export const Context = (initialContext: YogaInitialContext) => ({ export const Context = (initialContext: YogaInitialContext) => ({
...initialContext, ...initialContext,
config: {}, config: {},
}); });

View file

@ -1,4 +1,4 @@
<script lang="ts"> <script lang="ts">
</script> </script>
<a href="/app/sms" class="btn btn-ghost">SMS</a> <a href="/app/sms" class="btn btn-ghost">SMS</a>

View file

@ -46,4 +46,4 @@ export const actions = {
success: true, success: true,
}; };
}, },
} satisfies Actions; } satisfies Actions;

View file

@ -64,4 +64,4 @@
.page { .page {
@apply flex flex-col items-center justify-around gap-24 py-[10%]; @apply flex flex-col items-center justify-around gap-24 py-[10%];
} }
</style> </style>

View file

@ -79,4 +79,4 @@
.page { .page {
@apply flex flex-col items-center justify-around gap-24 py-[10%]; @apply flex flex-col items-center justify-around gap-24 py-[10%];
} }
</style> </style>

View file

@ -9,7 +9,7 @@ const config = {
kit: { kit: {
version: { version: {
name: '1.0.0-alpha' name: '1.0.0-alpha',
}, },
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list. // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter. // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
@ -18,4 +18,4 @@ const config = {
}, },
}; };
export default config; export default config;