format
This commit is contained in:
parent
c5b6a1e38d
commit
18f1b78ca4
19 changed files with 20 additions and 20 deletions
|
|
@ -58,4 +58,4 @@
|
|||
{@render children()}
|
||||
</button>
|
||||
|
||||
<style></style>
|
||||
<style></style>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
export { default as Button } from './Button.svelte';
|
||||
export { default as Button } from './Button.svelte';
|
||||
|
|
|
|||
|
|
@ -51,4 +51,4 @@
|
|||
|
||||
<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 End" args={{ color: 'secondary', name: 'text', end: icon }} />
|
||||
<Story name="Icon End" args={{ color: 'secondary', name: 'text', end: icon }} />
|
||||
|
|
|
|||
|
|
@ -96,4 +96,4 @@
|
|||
</label>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -45,4 +45,4 @@
|
|||
<Textarea {...props} />
|
||||
{/snippet}
|
||||
|
||||
<Story name="Default" args={{ label: 'Label' }} children={template} />
|
||||
<Story name="Default" args={{ label: 'Label' }} children={template} />
|
||||
|
|
|
|||
|
|
@ -57,4 +57,4 @@
|
|||
class:textarea-error={color === 'error' || error}
|
||||
{...props}
|
||||
></textarea>
|
||||
</label>
|
||||
</label>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
export { default as Textarea } from './Textarea.svelte';
|
||||
export { default as TextInput } from './TextInput.svelte';
|
||||
export { default as TextInput } from './TextInput.svelte';
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
export * from './phone';
|
||||
export * from './phone';
|
||||
|
|
|
|||
|
|
@ -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})$/;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ builder.queryType({});
|
|||
builder.queryField('version', (t) =>
|
||||
t.string({
|
||||
description: 'Application version',
|
||||
resolve: () => version
|
||||
resolve: () => version,
|
||||
})
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
export * from './twilio.client';
|
||||
export * from './twilio.client';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import twilio from 'twilio';
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -28,4 +28,4 @@ const LoadConfig = (): TwilioConfiguration => {
|
|||
};
|
||||
};
|
||||
|
||||
export const TwilioConfig = LoadConfig();
|
||||
export const TwilioConfig = LoadConfig();
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ import type { YogaInitialContext } from 'graphql-yoga';
|
|||
export const Context = (initialContext: YogaInitialContext) => ({
|
||||
...initialContext,
|
||||
config: {},
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts">
|
||||
</script>
|
||||
|
||||
<a href="/app/sms" class="btn btn-ghost">SMS</a>
|
||||
<a href="/app/sms" class="btn btn-ghost">SMS</a>
|
||||
|
|
|
|||
|
|
@ -46,4 +46,4 @@ export const actions = {
|
|||
success: true,
|
||||
};
|
||||
},
|
||||
} satisfies Actions;
|
||||
} satisfies Actions;
|
||||
|
|
|
|||
|
|
@ -64,4 +64,4 @@
|
|||
.page {
|
||||
@apply flex flex-col items-center justify-around gap-24 py-[10%];
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -79,4 +79,4 @@
|
|||
.page {
|
||||
@apply flex flex-col items-center justify-around gap-24 py-[10%];
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const config = {
|
|||
|
||||
kit: {
|
||||
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.
|
||||
// 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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue