Commit graph

5 commits

Author SHA1 Message Date
Baobeld
9f889983dd
Chore extend svelte element on components and use clsx on class names (#63)
* update components

* update storybook, it was broken

* update components

use clsx on classnames and extend HTML element where it makes sense

* unused
2025-02-05 15:42:43 -05:00
Baobeld
1fa98c204c
Bug: use clsx on svelte element classNames (#60)
use clsx on svelte element classNames
2025-01-16 22:11:38 -05:00
Baobeld
6f6df743d3
Chore: update TextInput to extend input element (#52)
update TextInput to extend input element
2025-01-16 13:46:31 -05:00
Baobeld
54d4eaa058
Build out components (#45)
* move loader to Feedback

* fill out button props to match what is available on daisy

* links

* Alert component and InfoIcon

* Loading component

* Progress component

* lol wtf

* Tooltip component

* Skeleton component

* Divider component

* fix errors

* made this component early so i just fixed up some of the props
2025-01-04 22:14:19 -05:00
Baobeld
1c5b37b24b
12 implement twilio sms (#37)
* add twilio sdk

* add twilio config

use app version in config

* remove default config

* phone regex

* bun update

* create client

* fix env var

* create Textarea component

* move TextInput

* allow snippets on labels

* update with label and error

* move button

* make button children snippet

* add form props

* allow region code

* add twilio FROM number

* rename to twilioClient

* implement simple messaging

* add twilio phone number as empty var

* format

* move twilio client to local on requests

* fix story

* on second thought, dont use locals since we are only using twilio in one place

Don't want to init a twilio client on every request when its only used
in on a single page

* use i18n for page text

* validate env with a script

* remove Zod validation when loading env vars
2025-01-02 20:11:27 -05:00