Commit Graph

130 Commits

Author SHA1 Message Date
Zai Shi
9ca2789e42 fixed provider color bug 2024-03-21 18:31:09 +08:00
Zai Shi
63a90fed35 bumped version 2024-03-21 17:58:29 +08:00
Zai Shi
9e9907f2b3
New UI system (#5)
* added stack-ui package

* added ui elements

* fixed react package type bug, added deleted components back

* updated button and typography interface

* added element provider

* moved all elements to element context

* added ui-joy

* moved UIPage component and update Button component

* added StackUIProvider

* added UI framework switch

* changed theme to colormode

* changed StackUIProvider interface

* updated file names

* updated package config

* fixed types and dependencies

* fixed color theme

* added custom button

* converted signin page to stack-ui

* moved oauth button stack-ui

* fixed styling bugs

* changed color/variant interface for button and text

* moved credential sign up to stack-ui

* moved card header and divider to stack-ui

* moved card-frame to stack-ui, fixed bugs

* fixed bugs, added global bg color to dev app

* moved forgot password to stack-ui

* updated styling

* moved form warning text to stack-ui

* added redirect message card to stack-ui

* moved everything to stack-ui, removed daisy and tailwind

* added joy input

* simplified code

* fixed joy button

* restructured UI provider interface

* made joy color mode work

* fixed small ui bugs

* updated demo, changed constant structures in stack-ui

* added select ui to demo

* added joy ui text

* added mui divider

* Used dynamic elements to replace useElements hook

* changed full page behaviour (100vh => 100%)

* added auto detect parent to cardframe

* updated documentation

* updated customization overview

* updated custom color doc

* fixed system color mode bug

* fixed select visual on safari

* changed UI provider interface

* renamed files to lower case

* fixed import bug

* finished custom colors doc

* added docs for custom components

* removed wrong cased files

* updated custom pages docs

* updated custom component docs

* elements -> components

* fixed missing rename

* fixed broken links in docs

* removed tailwind css import in stack

* fixed typos and small problems

* cleaned up package.json files

* updated dependencies

* fixed stack-server bug (webpack xxx not a function and u type error)

* updated setup doc

* added changeset

* fixed the 'use client' bug in stack-ui

* merged stack-ui and stack-ui-joy into stack

* renamed StackUIProvider to StackTheme

* unified imports

* added hook details to custom color doc
2024-03-21 10:51:53 +01:00
Stan Wohlwend
1774908984
Initiate backend rework (#6) 2024-03-18 01:40:40 -07:00
Stan Wohlwend
11c24b2d50 server: Remove PasswordTooWeak from backend design doc 2024-03-14 00:33:44 +01:00
Stan Wohlwend
26095f70e7 Backend design doc 2024-03-14 00:33:44 +01:00
Zai Shi
ed6b50d429 published new npm version 2024-03-13 11:13:16 +08:00
Zai Shi
a93b71fcb5 added migration file 2024-03-13 10:41:33 +08:00
Zai Shi
4135356423 fixed server urls bug 2024-03-13 10:28:01 +08:00
Zai Shi
9d50641a45 added redirect to default to sign-in/up/out 2024-03-13 10:17:48 +08:00
Zai Shi
c0151a8e5d removed redirectUrl in functions, added newUser attribute to signInWithOAuth, added after sign-in/up/out urls 2024-03-12 17:31:28 +08:00
Stan Wohlwend
ab48b4f5a3 stack: Revert package.json change 2024-03-08 06:28:02 +01:00
Stan Wohlwend
df2130d36a Head tags 2024-03-08 06:23:02 +01:00
Stan Wohlwend
e1b188fede Minor clarity updates 2024-03-08 05:38:27 +01:00
Zai Shi
f649a4157c changed next.js to the first place in the onboarding dialog 2024-03-08 03:47:43 +08:00
Zai Shi
3e181bcb86 fixed email url bug 2024-03-07 23:03:21 +08:00
Zai Shi
27805d8dfb fixed project creation 2024-03-07 22:34:11 +08:00
Stan Wohlwend
f5108bc53d Fix SSR error if Suspense is missing 2024-03-07 14:32:52 +01:00
Zai Shi
89b688fd89 changed initial project creation params, added suspense to doc 2024-03-07 16:54:18 +08:00
Zai Shi
02c8503f29 fixed url on redirect message card 2024-03-07 16:25:04 +08:00
Zai Shi
1045c9e9b8 Add primary and secondary buttons to RedirectMessageCard 2024-03-07 16:23:50 +08:00
Zai Shi
e76a2cd5fa versuib bump 2024-03-06 23:46:39 +08:00
Zai Shi
9eab06c2ad fixed cross package imports 2024-03-06 23:44:56 +08:00
Zai Shi
491c245bf7 removed wrong cased files 2024-03-06 23:29:17 +08:00
Stan Wohlwend
be831c8b64 Prisma migration 2024-03-06 16:27:11 +01:00
Zai Shi
0520250438 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-06 23:21:47 +08:00
Zai Shi
2dad09377c fixed case 2024-03-06 23:21:42 +08:00
Stan Wohlwend
d233332300 psql npm command 2024-03-06 16:13:09 +01:00
Zai Shi
e2091fd872 fixed provider config case bug 2024-03-06 23:12:56 +08:00
Zai Shi
7ce58d3efb Bumped version 2024-03-06 22:44:43 +08:00
Zai Shi
e44054921e removed redundant readonly json 2024-03-06 21:40:02 +08:00
Zai Shi
96d61ab216 improved type system 2024-03-06 21:38:49 +08:00
Zai Shi
397a4046ba Oauth -> OAuth 2024-03-06 21:17:14 +08:00
Stan Wohlwend
5671a1d7aa No longer export validateEmail 2024-03-06 12:59:21 +01:00
Zai Shi
8bbf4d2688 added more production check messages 2024-03-06 17:06:39 +08:00
Zai Shi
0b558186e1 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-06 14:15:19 +08:00
Zai Shi
32c16f0704 fixed domain and handler 2024-03-06 14:15:13 +08:00
Stan Wohlwend
0d3b7bf649 Fix null error 2024-03-06 06:23:28 +01:00
Stan Wohlwend
5840bcfa10 Fix users table UX 2024-03-06 06:01:50 +01:00
Stan Wohlwend
db5a2c859e Remove most occurences of useStrictMemo 2024-03-06 05:39:11 +01:00
Zai Shi
3737f68e07 added allow localhost 2024-03-06 10:52:50 +08:00
Zai Shi
9bdd34e1e7 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-06 10:09:11 +08:00
Zai Shi
9ef268dba9 added disable warning dialog 2024-03-06 10:09:06 +08:00
Stan Wohlwend
939f50f75d AsyncCache cache strategies 2024-03-06 02:55:47 +01:00
Zai Shi
e4fa0bea6d fixed bugs, provider frontend works now 2024-03-06 09:37:19 +08:00
Zai Shi
278a18a1ed added enabled to oauth config 2024-03-06 09:02:05 +08:00
Zai Shi
378a4b3e62 fixed typo 2024-03-06 01:29:56 +08:00
Zai Shi
a66e32fef7 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-06 01:27:49 +08:00
Zai Shi
0eced1936b updated provider frontend 2024-03-06 01:27:45 +08:00
Stan Wohlwend
81760b87cd stack: Redirect to home on "Invalid API key" hack 2024-03-05 17:36:57 +01:00