diff --git a/.changeset/hot-pillows-jam.md b/.changeset/hot-pillows-jam.md new file mode 100644 index 00000000..33461463 --- /dev/null +++ b/.changeset/hot-pillows-jam.md @@ -0,0 +1,10 @@ +--- +'@example/ui-playground': patch +'@genseki/react': patch +'@example/erp': patch +--- + +- move `shadcn` components to `v2` folder and export the directory +- flatten `primary` button variant +- fix: `aria-menu` background +- rename back the deprecated react-aria components by removing the leading `Aria[component-name]` keyword diff --git a/examples/erp/genseki/auth/setup/setup.client.tsx b/examples/erp/genseki/auth/setup/setup.client.tsx index fb5b78aa..6b6b9a23 100644 --- a/examples/erp/genseki/auth/setup/setup.client.tsx +++ b/examples/erp/genseki/auth/setup/setup.client.tsx @@ -7,13 +7,13 @@ import { useRouter } from 'next/navigation' import z from 'zod' import { - AriaTextField, Form, FormControl, FormField, FormItem, FormMessage, SubmitButton, + TextField, toast, } from '@genseki/react' @@ -74,7 +74,7 @@ export function SetupClientForm() { render={({ field }) => ( - ( - ( - ( -
- setTheme(theme === 'dark' ? 'light' : 'dark')} > {theme === 'dark' ? 'Light' : 'Dark'} - +
@@ -466,10 +465,10 @@ export default function UIPlayground() { Spell Check - + @@ -675,86 +674,84 @@ export default function UIPlayground() { - - + + Confirm - - + - - Delete file - + + Delete file + This will permanently delete the selected file. Continue? - - - - + + + + Cancel - - + + Delete - - - - + + + + - - + + Turn on 2FA - - - - Nice! Let's beef up your account. - + + + + Nice! Let's beef up your account. + 2FA beefs up your account's defense. Pop in your password to keep going. - - + +
- - + - - - + + + Cancel - - + + + -
-
+ +
- - + + + + + Login + Enter your credentials to sign in. +
{}} className="w-[400px]"> - +
- -
Remember me - + Forgot password? - +
-
- - + + + Cancel - - + + + - -
+ +
- - + + + + + Email + We'll send you an email to log in. + + + - - + + + + + Popover Title + Lorem ipsum dolor sit amet + + Popover Body | Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos, temporibus. - - - + + + Close - - + + Confirm - - - - + + + +
@@ -1085,7 +1080,7 @@ export default function UIPlayground() {
{}} /> - - } size="xs" /> - - - } /> - } /> - - + } /> - - +
@@ -1169,14 +1164,14 @@ export default function UIPlayground() {
- -
- } trailingIcon={} size="md" > Primary - - +
- } @@ -1260,8 +1255,8 @@ export default function UIPlayground() { size="md" > Primary - - +
- } trailingIcon={} variant="primary" size="sm" > Primary - - +
- } trailingIcon={} variant="primary" size="xs" > Primary - - +
@@ -1443,77 +1438,77 @@ export default function UIPlayground() {
- + + + + + + +
- + + + + + + +
- + + + + + + +
@@ -1557,12 +1552,12 @@ export default function UIPlayground() {
- - 1d - 1w - 1m - 1y - + + 1d + 1w + 1m + 1y +
@@ -1839,15 +1834,15 @@ export default function UIPlayground() {
e.preventDefault()}> - - +