@auto-engineer/generate-react-client 1.28.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -0
- package/dist/src/copy-starter.d.ts.map +1 -1
- package/dist/src/copy-starter.js +0 -1
- package/dist/src/copy-starter.js.map +1 -1
- package/dist/src/copy-starter.specs.d.ts +2 -0
- package/dist/src/copy-starter.specs.d.ts.map +1 -0
- package/dist/src/copy-starter.specs.js +37 -0
- package/dist/src/copy-starter.specs.js.map +1 -0
- package/dist/starter/.storybook/main.ts +15 -2
- package/dist/starter/.storybook/manager-head.html +154 -0
- package/dist/starter/.storybook/manager.ts +165 -0
- package/dist/starter/.storybook/preview-head.html +31 -0
- package/dist/starter/.storybook/preview.tsx +75 -2
- package/dist/starter/package.json +3 -0
- package/dist/starter/pnpm-lock.yaml +87 -29
- package/dist/starter/public/blank.svg +1 -0
- package/dist/starter/src/App.tsx +16 -2
- package/dist/starter/src/components/ui/DesignSystem-Overview.stories.tsx +42 -33
- package/dist/starter/src/hooks/.gitkeep +0 -0
- package/dist/starter/src/index.css +9 -11
- package/dist/starter/tsconfig.app.json +2 -1
- package/dist/starter/vite.config.ts +35 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -32,6 +32,9 @@ importers:
|
|
|
32
32
|
embla-carousel-react:
|
|
33
33
|
specifier: ^8.6.0
|
|
34
34
|
version: 8.6.0(react@19.2.4)
|
|
35
|
+
graphql-request:
|
|
36
|
+
specifier: ^7.4.0
|
|
37
|
+
version: 7.4.0(graphql@16.12.0)
|
|
35
38
|
input-otp:
|
|
36
39
|
specifier: ^1.4.2
|
|
37
40
|
version: 1.4.2(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
|
|
@@ -58,7 +61,7 @@ importers:
|
|
|
58
61
|
version: 7.71.1(react@19.2.4)
|
|
59
62
|
react-resizable-panels:
|
|
60
63
|
specifier: ^4.6.1
|
|
61
|
-
version: 4.6.
|
|
64
|
+
version: 4.6.3(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
|
|
62
65
|
react-router-dom:
|
|
63
66
|
specifier: ^7.13.0
|
|
64
67
|
version: 7.13.0(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
|
|
@@ -99,6 +102,9 @@ importers:
|
|
|
99
102
|
'@vitejs/plugin-react-swc':
|
|
100
103
|
specifier: ^4.2.2
|
|
101
104
|
version: 4.2.3(vite@7.3.1(jiti@2.6.1)(lightningcss@1.30.2))
|
|
105
|
+
'@vueless/storybook-dark-mode':
|
|
106
|
+
specifier: ^10.0.7
|
|
107
|
+
version: 10.0.7(storybook@10.2.8(@testing-library/dom@10.4.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))
|
|
102
108
|
msw:
|
|
103
109
|
specifier: ^2.12.10
|
|
104
110
|
version: 2.12.10(typescript@5.9.3)
|
|
@@ -392,6 +398,11 @@ packages:
|
|
|
392
398
|
'@floating-ui/utils@0.2.10':
|
|
393
399
|
resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
|
|
394
400
|
|
|
401
|
+
'@graphql-typed-document-node/core@3.2.0':
|
|
402
|
+
resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==}
|
|
403
|
+
peerDependencies:
|
|
404
|
+
graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
|
|
405
|
+
|
|
395
406
|
'@hookform/resolvers@5.2.2':
|
|
396
407
|
resolution: {integrity: sha512-A/IxlMLShx3KjV/HeTcTfaMxdwy690+L/ZADoeaTltLx+CVuzkeVIPuybK3jrRfw7YZnmdKsVVHAlEPIAEUNlA==}
|
|
397
408
|
peerDependencies:
|
|
@@ -432,13 +443,9 @@ packages:
|
|
|
432
443
|
'@types/node':
|
|
433
444
|
optional: true
|
|
434
445
|
|
|
435
|
-
'@isaacs/
|
|
436
|
-
resolution: {integrity: sha512-
|
|
437
|
-
engines: {node:
|
|
438
|
-
|
|
439
|
-
'@isaacs/brace-expansion@5.0.1':
|
|
440
|
-
resolution: {integrity: sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==}
|
|
441
|
-
engines: {node: 20 || >=22}
|
|
446
|
+
'@isaacs/cliui@9.0.0':
|
|
447
|
+
resolution: {integrity: sha512-AokJm4tuBHillT+FpMtxQ60n8ObyXBatq7jD2/JA9dxbDDokKQm8KMht5ibGzLVU9IJDIKK4TPKgMHEYMn3lMg==}
|
|
448
|
+
engines: {node: '>=18'}
|
|
442
449
|
|
|
443
450
|
'@joshwooding/vite-plugin-react-docgen-typescript@0.6.4':
|
|
444
451
|
resolution: {integrity: sha512-6PyZBYKnnVNqOSB0YFly+62R7dmov8segT27A+RVTBVd4iAE6kbW9QBJGlyR2yG4D4ohzhZSTIu7BK1UTtmFFA==}
|
|
@@ -471,8 +478,8 @@ packages:
|
|
|
471
478
|
'@types/react': '>=16'
|
|
472
479
|
react: '>=16'
|
|
473
480
|
|
|
474
|
-
'@mswjs/interceptors@0.41.
|
|
475
|
-
resolution: {integrity: sha512-
|
|
481
|
+
'@mswjs/interceptors@0.41.3':
|
|
482
|
+
resolution: {integrity: sha512-cXu86tF4VQVfwz8W1SPbhoRyHJkti6mjH/XJIxp40jhO4j2k1m4KYrEykxqWPkFF3vrK4rgQppBh//AwyGSXPA==}
|
|
476
483
|
engines: {node: '>=18'}
|
|
477
484
|
|
|
478
485
|
'@open-draft/deferred-promise@2.2.0':
|
|
@@ -1712,6 +1719,12 @@ packages:
|
|
|
1712
1719
|
'@vitest/utils@3.2.4':
|
|
1713
1720
|
resolution: {integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==}
|
|
1714
1721
|
|
|
1722
|
+
'@vueless/storybook-dark-mode@10.0.7':
|
|
1723
|
+
resolution: {integrity: sha512-mI+tqHykUMlhdwu7PlZ6/wvq1aZqn4DWoUbO4GMhJxLnrDSJn4zKaeEtGXp4KTO5Myv/T6k2iteIe7MSTAZVDQ==}
|
|
1724
|
+
engines: {node: '>=20'}
|
|
1725
|
+
peerDependencies:
|
|
1726
|
+
storybook: ^10.0.0
|
|
1727
|
+
|
|
1715
1728
|
acorn@8.15.0:
|
|
1716
1729
|
resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}
|
|
1717
1730
|
engines: {node: '>=0.4.0'}
|
|
@@ -1748,10 +1761,18 @@ packages:
|
|
|
1748
1761
|
resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==}
|
|
1749
1762
|
engines: {node: '>=4'}
|
|
1750
1763
|
|
|
1764
|
+
balanced-match@4.0.2:
|
|
1765
|
+
resolution: {integrity: sha512-x0K50QvKQ97fdEz2kPehIerj+YTeptKF9hyYkKf6egnwmMWAkADiO0QCzSp0R5xN8FTZgYaBfSaue46Ej62nMg==}
|
|
1766
|
+
engines: {node: 20 || >=22}
|
|
1767
|
+
|
|
1751
1768
|
baseline-browser-mapping@2.9.19:
|
|
1752
1769
|
resolution: {integrity: sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==}
|
|
1753
1770
|
hasBin: true
|
|
1754
1771
|
|
|
1772
|
+
brace-expansion@5.0.2:
|
|
1773
|
+
resolution: {integrity: sha512-Pdk8c9poy+YhOgVWw1JNN22/HcivgKWwpxKq04M/jTmHyCZn12WPJebZxdjSa5TmBqISrUSgNYU3eRORljfCCw==}
|
|
1774
|
+
engines: {node: 20 || >=22}
|
|
1775
|
+
|
|
1755
1776
|
browserslist@4.28.1:
|
|
1756
1777
|
resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==}
|
|
1757
1778
|
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
|
|
@@ -2002,13 +2023,18 @@ packages:
|
|
|
2002
2023
|
resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}
|
|
2003
2024
|
engines: {node: '>=6'}
|
|
2004
2025
|
|
|
2005
|
-
glob@13.0.
|
|
2006
|
-
resolution: {integrity: sha512
|
|
2026
|
+
glob@13.0.3:
|
|
2027
|
+
resolution: {integrity: sha512-/g3B0mC+4x724v1TgtBlBtt2hPi/EWptsIAmXUx9Z2rvBYleQcsrmaOzd5LyL50jf/Soi83ZDJmw2+XqvH/EeA==}
|
|
2007
2028
|
engines: {node: 20 || >=22}
|
|
2008
2029
|
|
|
2009
2030
|
graceful-fs@4.2.11:
|
|
2010
2031
|
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
|
|
2011
2032
|
|
|
2033
|
+
graphql-request@7.4.0:
|
|
2034
|
+
resolution: {integrity: sha512-xfr+zFb/QYbs4l4ty0dltqiXIp07U6sl+tOKAb0t50/EnQek6CVVBLjETXi+FghElytvgaAWtIOt3EV7zLzIAQ==}
|
|
2035
|
+
peerDependencies:
|
|
2036
|
+
graphql: 14 - 16
|
|
2037
|
+
|
|
2012
2038
|
graphql@16.12.0:
|
|
2013
2039
|
resolution: {integrity: sha512-DKKrynuQRne0PNpEbzuEdHlYOMksHSUI8Zc9Unei5gTsMNA2/vMpoMz/yKba50pejK56qj98qM0SjYxAKi13gQ==}
|
|
2014
2040
|
engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0}
|
|
@@ -2059,6 +2085,10 @@ packages:
|
|
|
2059
2085
|
resolution: {integrity: sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==}
|
|
2060
2086
|
engines: {node: '>=16'}
|
|
2061
2087
|
|
|
2088
|
+
jackspeak@4.2.3:
|
|
2089
|
+
resolution: {integrity: sha512-ykkVRwrYvFm1nb2AJfKKYPr0emF6IiXDYUaFx4Zn9ZuIH7MrzEZ3sD5RlqGXNRpHtvUHJyOnCEFxOlNDtGo7wg==}
|
|
2090
|
+
engines: {node: 20 || >=22}
|
|
2091
|
+
|
|
2062
2092
|
jiti@2.6.1:
|
|
2063
2093
|
resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
|
|
2064
2094
|
hasBin: true
|
|
@@ -2149,6 +2179,9 @@ packages:
|
|
|
2149
2179
|
resolution: {integrity: sha512-utfs7Pr5uJyyvDETitgsaqSyjCb2qNRAtuqUeWIAKztsOYdcACf2KtARYXg2pSvhkt+9NfoaNY7fxjl6nuMjIQ==}
|
|
2150
2180
|
engines: {node: '>= 12.0.0'}
|
|
2151
2181
|
|
|
2182
|
+
lodash-es@4.17.23:
|
|
2183
|
+
resolution: {integrity: sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==}
|
|
2184
|
+
|
|
2152
2185
|
lodash@4.17.23:
|
|
2153
2186
|
resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==}
|
|
2154
2187
|
|
|
@@ -2182,8 +2215,8 @@ packages:
|
|
|
2182
2215
|
resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==}
|
|
2183
2216
|
engines: {node: '>=4'}
|
|
2184
2217
|
|
|
2185
|
-
minimatch@10.
|
|
2186
|
-
resolution: {integrity: sha512-
|
|
2218
|
+
minimatch@10.2.0:
|
|
2219
|
+
resolution: {integrity: sha512-ugkC31VaVg9cF0DFVoADH12k6061zNZkZON+aX8AWsR9GhPcErkcMBceb6znR8wLERM2AkkOxy2nWRLpT9Jq5w==}
|
|
2187
2220
|
engines: {node: 20 || >=22}
|
|
2188
2221
|
|
|
2189
2222
|
minimist@1.2.8:
|
|
@@ -2343,8 +2376,8 @@ packages:
|
|
|
2343
2376
|
'@types/react':
|
|
2344
2377
|
optional: true
|
|
2345
2378
|
|
|
2346
|
-
react-resizable-panels@4.6.
|
|
2347
|
-
resolution: {integrity: sha512-
|
|
2379
|
+
react-resizable-panels@4.6.3:
|
|
2380
|
+
resolution: {integrity: sha512-nO5ksnCTdnV4YrRNw/OrZrX8ffh0sPA+2uM8kJbF19c8PRNuhH7ojJFE+UisAg2HFQFqIPmmW8bANrJNtIdXeA==}
|
|
2348
2381
|
peerDependencies:
|
|
2349
2382
|
react: ^18.0.0 || ^19.0.0
|
|
2350
2383
|
react-dom: ^18.0.0 || ^19.0.0
|
|
@@ -2953,6 +2986,10 @@ snapshots:
|
|
|
2953
2986
|
|
|
2954
2987
|
'@floating-ui/utils@0.2.10': {}
|
|
2955
2988
|
|
|
2989
|
+
'@graphql-typed-document-node/core@3.2.0(graphql@16.12.0)':
|
|
2990
|
+
dependencies:
|
|
2991
|
+
graphql: 16.12.0
|
|
2992
|
+
|
|
2956
2993
|
'@hookform/resolvers@5.2.2(react-hook-form@7.71.1(react@19.2.4))':
|
|
2957
2994
|
dependencies:
|
|
2958
2995
|
'@standard-schema/utils': 0.3.0
|
|
@@ -2980,15 +3017,11 @@ snapshots:
|
|
|
2980
3017
|
|
|
2981
3018
|
'@inquirer/type@3.0.10': {}
|
|
2982
3019
|
|
|
2983
|
-
'@isaacs/
|
|
2984
|
-
|
|
2985
|
-
'@isaacs/brace-expansion@5.0.1':
|
|
2986
|
-
dependencies:
|
|
2987
|
-
'@isaacs/balanced-match': 4.0.1
|
|
3020
|
+
'@isaacs/cliui@9.0.0': {}
|
|
2988
3021
|
|
|
2989
3022
|
'@joshwooding/vite-plugin-react-docgen-typescript@0.6.4(typescript@5.9.3)(vite@7.3.1(jiti@2.6.1)(lightningcss@1.30.2))':
|
|
2990
3023
|
dependencies:
|
|
2991
|
-
glob: 13.0.
|
|
3024
|
+
glob: 13.0.3
|
|
2992
3025
|
react-docgen-typescript: 2.4.0(typescript@5.9.3)
|
|
2993
3026
|
vite: 7.3.1(jiti@2.6.1)(lightningcss@1.30.2)
|
|
2994
3027
|
optionalDependencies:
|
|
@@ -3019,7 +3052,7 @@ snapshots:
|
|
|
3019
3052
|
'@types/react': 19.2.14
|
|
3020
3053
|
react: 19.2.4
|
|
3021
3054
|
|
|
3022
|
-
'@mswjs/interceptors@0.41.
|
|
3055
|
+
'@mswjs/interceptors@0.41.3':
|
|
3023
3056
|
dependencies:
|
|
3024
3057
|
'@open-draft/deferred-promise': 2.2.0
|
|
3025
3058
|
'@open-draft/logger': 0.3.0
|
|
@@ -4271,6 +4304,12 @@ snapshots:
|
|
|
4271
4304
|
loupe: 3.2.1
|
|
4272
4305
|
tinyrainbow: 2.0.0
|
|
4273
4306
|
|
|
4307
|
+
'@vueless/storybook-dark-mode@10.0.7(storybook@10.2.8(@testing-library/dom@10.4.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))':
|
|
4308
|
+
dependencies:
|
|
4309
|
+
'@storybook/global': 5.0.0
|
|
4310
|
+
lodash-es: 4.17.23
|
|
4311
|
+
storybook: 10.2.8(@testing-library/dom@10.4.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
|
|
4312
|
+
|
|
4274
4313
|
acorn@8.15.0: {}
|
|
4275
4314
|
|
|
4276
4315
|
ansi-regex@5.0.1: {}
|
|
@@ -4297,8 +4336,16 @@ snapshots:
|
|
|
4297
4336
|
dependencies:
|
|
4298
4337
|
tslib: 2.8.1
|
|
4299
4338
|
|
|
4339
|
+
balanced-match@4.0.2:
|
|
4340
|
+
dependencies:
|
|
4341
|
+
jackspeak: 4.2.3
|
|
4342
|
+
|
|
4300
4343
|
baseline-browser-mapping@2.9.19: {}
|
|
4301
4344
|
|
|
4345
|
+
brace-expansion@5.0.2:
|
|
4346
|
+
dependencies:
|
|
4347
|
+
balanced-match: 4.0.2
|
|
4348
|
+
|
|
4302
4349
|
browserslist@4.28.1:
|
|
4303
4350
|
dependencies:
|
|
4304
4351
|
baseline-browser-mapping: 2.9.19
|
|
@@ -4522,14 +4569,19 @@ snapshots:
|
|
|
4522
4569
|
|
|
4523
4570
|
get-nonce@1.0.1: {}
|
|
4524
4571
|
|
|
4525
|
-
glob@13.0.
|
|
4572
|
+
glob@13.0.3:
|
|
4526
4573
|
dependencies:
|
|
4527
|
-
minimatch: 10.
|
|
4574
|
+
minimatch: 10.2.0
|
|
4528
4575
|
minipass: 7.1.2
|
|
4529
4576
|
path-scurry: 2.0.1
|
|
4530
4577
|
|
|
4531
4578
|
graceful-fs@4.2.11: {}
|
|
4532
4579
|
|
|
4580
|
+
graphql-request@7.4.0(graphql@16.12.0):
|
|
4581
|
+
dependencies:
|
|
4582
|
+
'@graphql-typed-document-node/core': 3.2.0(graphql@16.12.0)
|
|
4583
|
+
graphql: 16.12.0
|
|
4584
|
+
|
|
4533
4585
|
graphql@16.12.0: {}
|
|
4534
4586
|
|
|
4535
4587
|
hasown@2.0.2:
|
|
@@ -4565,6 +4617,10 @@ snapshots:
|
|
|
4565
4617
|
dependencies:
|
|
4566
4618
|
is-inside-container: 1.0.0
|
|
4567
4619
|
|
|
4620
|
+
jackspeak@4.2.3:
|
|
4621
|
+
dependencies:
|
|
4622
|
+
'@isaacs/cliui': 9.0.0
|
|
4623
|
+
|
|
4568
4624
|
jiti@2.6.1: {}
|
|
4569
4625
|
|
|
4570
4626
|
js-tokens@4.0.0: {}
|
|
@@ -4624,6 +4680,8 @@ snapshots:
|
|
|
4624
4680
|
lightningcss-win32-arm64-msvc: 1.30.2
|
|
4625
4681
|
lightningcss-win32-x64-msvc: 1.30.2
|
|
4626
4682
|
|
|
4683
|
+
lodash-es@4.17.23: {}
|
|
4684
|
+
|
|
4627
4685
|
lodash@4.17.23: {}
|
|
4628
4686
|
|
|
4629
4687
|
loose-envify@1.4.0:
|
|
@@ -4650,9 +4708,9 @@ snapshots:
|
|
|
4650
4708
|
|
|
4651
4709
|
min-indent@1.0.1: {}
|
|
4652
4710
|
|
|
4653
|
-
minimatch@10.
|
|
4711
|
+
minimatch@10.2.0:
|
|
4654
4712
|
dependencies:
|
|
4655
|
-
|
|
4713
|
+
brace-expansion: 5.0.2
|
|
4656
4714
|
|
|
4657
4715
|
minimist@1.2.8: {}
|
|
4658
4716
|
|
|
@@ -4668,7 +4726,7 @@ snapshots:
|
|
|
4668
4726
|
msw@2.12.10(typescript@5.9.3):
|
|
4669
4727
|
dependencies:
|
|
4670
4728
|
'@inquirer/confirm': 5.1.21
|
|
4671
|
-
'@mswjs/interceptors': 0.41.
|
|
4729
|
+
'@mswjs/interceptors': 0.41.3
|
|
4672
4730
|
'@open-draft/deferred-promise': 2.2.0
|
|
4673
4731
|
'@types/statuses': 2.0.6
|
|
4674
4732
|
cookie: 1.1.1
|
|
@@ -4870,7 +4928,7 @@ snapshots:
|
|
|
4870
4928
|
optionalDependencies:
|
|
4871
4929
|
'@types/react': 19.2.14
|
|
4872
4930
|
|
|
4873
|
-
react-resizable-panels@4.6.
|
|
4931
|
+
react-resizable-panels@4.6.3(react-dom@19.2.4(react@19.2.4))(react@19.2.4):
|
|
4874
4932
|
dependencies:
|
|
4875
4933
|
react: 19.2.4
|
|
4876
4934
|
react-dom: 19.2.4(react@19.2.4)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1" height="1"></svg>
|
package/dist/starter/src/App.tsx
CHANGED
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
2
2
|
import { BrowserRouter, Route, Routes } from 'react-router-dom';
|
|
3
|
+
import { Card, CardContent } from '@/components/ui/Card';
|
|
4
|
+
import { Separator } from '@/components/ui/Separator';
|
|
3
5
|
|
|
4
6
|
const queryClient = new QueryClient();
|
|
5
7
|
|
|
8
|
+
const LandingPage = () => (
|
|
9
|
+
<div className="min-h-screen flex items-center justify-center bg-gradient-to-br from-background to-muted/50">
|
|
10
|
+
<Card className="border-0 shadow-none bg-transparent">
|
|
11
|
+
<CardContent className="flex flex-col items-center gap-6">
|
|
12
|
+
<h1 className="text-5xl md:text-7xl font-extralight tracking-tight text-foreground">
|
|
13
|
+
Your ideas await
|
|
14
|
+
</h1>
|
|
15
|
+
<Separator className="w-16 bg-muted-foreground/30" />
|
|
16
|
+
</CardContent>
|
|
17
|
+
</Card>
|
|
18
|
+
</div>
|
|
19
|
+
);
|
|
20
|
+
|
|
6
21
|
export const App = () => (
|
|
7
22
|
<QueryClientProvider client={queryClient}>
|
|
8
23
|
<BrowserRouter>
|
|
9
24
|
<Routes>
|
|
10
|
-
|
|
11
|
-
<Route path="/" element={<div>Hello World</div>} />
|
|
25
|
+
<Route path="/" element={<LandingPage />} />
|
|
12
26
|
</Routes>
|
|
13
27
|
</BrowserRouter>
|
|
14
28
|
</QueryClientProvider>
|
|
@@ -93,17 +93,17 @@ function PaymentMethodDemo() {
|
|
|
93
93
|
<FieldLabel htmlFor="card-name">Name on Card</FieldLabel>
|
|
94
94
|
<Input id="card-name" placeholder="John Doe" />
|
|
95
95
|
</Field>
|
|
96
|
-
<div className="grid grid-cols-
|
|
97
|
-
<Field className="col-span-
|
|
96
|
+
<div className="grid grid-cols-4 gap-4">
|
|
97
|
+
<Field className="col-span-3">
|
|
98
98
|
<FieldLabel htmlFor="card-number">Card Number</FieldLabel>
|
|
99
99
|
<Input id="card-number" placeholder="1234 5678 9012 3456" />
|
|
100
|
-
<FieldDescription>Enter your 16-digit number.</FieldDescription>
|
|
101
100
|
</Field>
|
|
102
101
|
<Field className="col-span-1">
|
|
103
102
|
<FieldLabel htmlFor="cvv">CVV</FieldLabel>
|
|
104
103
|
<Input id="cvv" placeholder="123" />
|
|
105
104
|
</Field>
|
|
106
105
|
</div>
|
|
106
|
+
<FieldDescription className="-mt-2">Enter your 16-digit number.</FieldDescription>
|
|
107
107
|
<div className="grid grid-cols-2 gap-4">
|
|
108
108
|
<Field>
|
|
109
109
|
<FieldLabel htmlFor="exp-month">Month</FieldLabel>
|
|
@@ -181,18 +181,18 @@ function EmptyAvatarGroupDemo() {
|
|
|
181
181
|
<Empty className="flex-none py-4">
|
|
182
182
|
<EmptyHeader>
|
|
183
183
|
<EmptyMedia>
|
|
184
|
-
<AvatarGroup
|
|
184
|
+
<AvatarGroup>
|
|
185
185
|
<Avatar>
|
|
186
|
-
<AvatarImage src="https://
|
|
187
|
-
<AvatarFallback>
|
|
186
|
+
<AvatarImage src="https://randomuser.me/api/portraits/women/44.jpg" alt="Sarah" />
|
|
187
|
+
<AvatarFallback>SA</AvatarFallback>
|
|
188
188
|
</Avatar>
|
|
189
189
|
<Avatar>
|
|
190
|
-
<AvatarImage src="https://
|
|
191
|
-
<AvatarFallback>
|
|
190
|
+
<AvatarImage src="https://randomuser.me/api/portraits/men/32.jpg" alt="James" />
|
|
191
|
+
<AvatarFallback>JA</AvatarFallback>
|
|
192
192
|
</Avatar>
|
|
193
193
|
<Avatar>
|
|
194
|
-
<AvatarImage src="https://
|
|
195
|
-
<AvatarFallback>
|
|
194
|
+
<AvatarImage src="https://randomuser.me/api/portraits/women/68.jpg" alt="Maya" />
|
|
195
|
+
<AvatarFallback>MA</AvatarFallback>
|
|
196
196
|
</Avatar>
|
|
197
197
|
</AvatarGroup>
|
|
198
198
|
</EmptyMedia>
|
|
@@ -510,8 +510,8 @@ function NotionPromptDemo() {
|
|
|
510
510
|
<div className="w-full">
|
|
511
511
|
<InputGroup>
|
|
512
512
|
<InputGroupAddon>
|
|
513
|
-
<Button variant="outline" size="sm" className="h-
|
|
514
|
-
<PlusIcon className="size-
|
|
513
|
+
<Button variant="outline" size="sm" className="h-6 gap-0.5 px-1.5 text-[10px]">
|
|
514
|
+
<PlusIcon className="size-2.5" />
|
|
515
515
|
Add context
|
|
516
516
|
</Button>
|
|
517
517
|
</InputGroupAddon>
|
|
@@ -543,9 +543,13 @@ function UrlBookmarkDemo() {
|
|
|
543
543
|
return (
|
|
544
544
|
<InputGroup>
|
|
545
545
|
<InputGroupAddon>
|
|
546
|
-
<
|
|
546
|
+
<svg className="size-4 text-muted-foreground" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" aria-hidden="true">
|
|
547
|
+
<circle cx="12" cy="12" r="10" />
|
|
548
|
+
<path d="M2 12h20" />
|
|
549
|
+
<path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" />
|
|
550
|
+
</svg>
|
|
547
551
|
</InputGroupAddon>
|
|
548
|
-
<InputGroupInput placeholder="https://"
|
|
552
|
+
<InputGroupInput placeholder="https://" />
|
|
549
553
|
<InputGroupAddon align="inline-end">
|
|
550
554
|
<Button variant="ghost" size="sm" className="size-6 p-0">
|
|
551
555
|
<svg className="size-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" aria-hidden="true">
|
|
@@ -603,10 +607,10 @@ function SurveyOptionsDemo() {
|
|
|
603
607
|
<FieldTitle>How did you hear about us?</FieldTitle>
|
|
604
608
|
<FieldDescription>Select the option that best describes how you...</FieldDescription>
|
|
605
609
|
<div className="mt-3 flex flex-wrap gap-2">
|
|
606
|
-
<
|
|
610
|
+
<div className="inline-flex cursor-pointer items-center gap-1.5 rounded-md border border-input bg-background px-3 py-1.5 text-sm font-medium shadow-xs hover:bg-accent hover:text-accent-foreground">
|
|
607
611
|
<Checkbox className="size-4" defaultChecked />
|
|
608
612
|
Social Media
|
|
609
|
-
</
|
|
613
|
+
</div>
|
|
610
614
|
<Button variant="outline" size="sm">Search Engine</Button>
|
|
611
615
|
<Button variant="outline" size="sm">Referral</Button>
|
|
612
616
|
<Button variant="outline" size="sm">Other</Button>
|
|
@@ -618,12 +622,23 @@ function SurveyOptionsDemo() {
|
|
|
618
622
|
function DesignSystemOverview() {
|
|
619
623
|
return (
|
|
620
624
|
<div className="mx-auto max-w-7xl p-6">
|
|
621
|
-
<
|
|
622
|
-
|
|
623
|
-
<
|
|
625
|
+
<header className="mb-10 text-center">
|
|
626
|
+
<h1 className="text-3xl font-bold tracking-tight">Design System</h1>
|
|
627
|
+
<p className="mt-2 text-muted-foreground">Reusable components that power your UI — explore the sidebar to see each in detail</p>
|
|
628
|
+
<p className="mt-2 text-s italic text-muted-foreground/70">Bring your own design system — coming soon!</p>
|
|
629
|
+
</header>
|
|
630
|
+
<div className="flex flex-col gap-4 sm:flex-row sm:items-start">
|
|
631
|
+
{/* Column 1 - Payment Method needs more space */}
|
|
632
|
+
<div className="flex flex-[1.3] flex-col gap-4">
|
|
624
633
|
<Tile>
|
|
625
634
|
<PaymentMethodDemo />
|
|
626
635
|
</Tile>
|
|
636
|
+
<Tile>
|
|
637
|
+
<SourceSelectorDemo />
|
|
638
|
+
</Tile>
|
|
639
|
+
<Tile>
|
|
640
|
+
<CopilotDropdownDemo />
|
|
641
|
+
</Tile>
|
|
627
642
|
</div>
|
|
628
643
|
|
|
629
644
|
{/* Column 2 */}
|
|
@@ -631,12 +646,6 @@ function DesignSystemOverview() {
|
|
|
631
646
|
<Tile>
|
|
632
647
|
<EmptyAvatarGroupDemo />
|
|
633
648
|
</Tile>
|
|
634
|
-
<Tile>
|
|
635
|
-
<SpinnerBadgeDemo />
|
|
636
|
-
</Tile>
|
|
637
|
-
<Tile>
|
|
638
|
-
<NotionPromptDemo />
|
|
639
|
-
</Tile>
|
|
640
649
|
<Tile>
|
|
641
650
|
<InputGroupDemo />
|
|
642
651
|
</Tile>
|
|
@@ -654,7 +663,7 @@ function DesignSystemOverview() {
|
|
|
654
663
|
<ItemDemo />
|
|
655
664
|
</Tile>
|
|
656
665
|
<Tile>
|
|
657
|
-
<
|
|
666
|
+
<SpinnerBadgeDemo />
|
|
658
667
|
</Tile>
|
|
659
668
|
<Tile>
|
|
660
669
|
<AppearanceSettingsDemo />
|
|
@@ -662,7 +671,7 @@ function DesignSystemOverview() {
|
|
|
662
671
|
</div>
|
|
663
672
|
|
|
664
673
|
{/* Column 4 */}
|
|
665
|
-
<div className="hidden flex-1 flex-col gap-4
|
|
674
|
+
<div className="hidden flex-1 flex-col gap-4 2xl:flex">
|
|
666
675
|
<Tile>
|
|
667
676
|
<ButtonGroupDemo />
|
|
668
677
|
</Tile>
|
|
@@ -670,10 +679,10 @@ function DesignSystemOverview() {
|
|
|
670
679
|
<FieldCheckboxDemo />
|
|
671
680
|
</Tile>
|
|
672
681
|
<Tile>
|
|
673
|
-
<
|
|
682
|
+
<NotionPromptDemo />
|
|
674
683
|
</Tile>
|
|
675
684
|
<Tile>
|
|
676
|
-
<
|
|
685
|
+
<PaginationDemo />
|
|
677
686
|
</Tile>
|
|
678
687
|
<Tile>
|
|
679
688
|
<SurveyOptionsDemo />
|
|
@@ -693,7 +702,7 @@ function DesignSystemOverview() {
|
|
|
693
702
|
<ItemDemo />
|
|
694
703
|
</Tile>
|
|
695
704
|
<Tile>
|
|
696
|
-
<
|
|
705
|
+
<SpinnerBadgeDemo />
|
|
697
706
|
</Tile>
|
|
698
707
|
<Tile>
|
|
699
708
|
<AppearanceSettingsDemo />
|
|
@@ -701,7 +710,7 @@ function DesignSystemOverview() {
|
|
|
701
710
|
</div>
|
|
702
711
|
|
|
703
712
|
{/* Overflow for column 4 on medium/large screens */}
|
|
704
|
-
<div className="mt-4 grid grid-cols-2 gap-4 lg:grid-cols-3
|
|
713
|
+
<div className="mt-4 grid grid-cols-2 gap-4 lg:grid-cols-3 2xl:hidden">
|
|
705
714
|
<Tile>
|
|
706
715
|
<ButtonGroupDemo />
|
|
707
716
|
</Tile>
|
|
@@ -709,10 +718,10 @@ function DesignSystemOverview() {
|
|
|
709
718
|
<FieldCheckboxDemo />
|
|
710
719
|
</Tile>
|
|
711
720
|
<Tile>
|
|
712
|
-
<
|
|
721
|
+
<NotionPromptDemo />
|
|
713
722
|
</Tile>
|
|
714
723
|
<Tile>
|
|
715
|
-
<
|
|
724
|
+
<PaginationDemo />
|
|
716
725
|
</Tile>
|
|
717
726
|
<Tile>
|
|
718
727
|
<SurveyOptionsDemo />
|
|
File without changes
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
--accent: oklch(0.97 0 0);
|
|
60
60
|
--accent-foreground: oklch(0.205 0 0);
|
|
61
61
|
--destructive: oklch(0.577 0.245 27.325);
|
|
62
|
-
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
63
62
|
--border: oklch(0.922 0 0);
|
|
64
63
|
--input: oklch(0.922 0 0);
|
|
65
64
|
--ring: oklch(0.708 0 0);
|
|
@@ -81,11 +80,11 @@
|
|
|
81
80
|
.dark {
|
|
82
81
|
--background: oklch(0.145 0 0);
|
|
83
82
|
--foreground: oklch(0.985 0 0);
|
|
84
|
-
--card: oklch(0.
|
|
83
|
+
--card: oklch(0.205 0 0);
|
|
85
84
|
--card-foreground: oklch(0.985 0 0);
|
|
86
|
-
--popover: oklch(0.
|
|
85
|
+
--popover: oklch(0.205 0 0);
|
|
87
86
|
--popover-foreground: oklch(0.985 0 0);
|
|
88
|
-
--primary: oklch(0.
|
|
87
|
+
--primary: oklch(0.922 0 0);
|
|
89
88
|
--primary-foreground: oklch(0.205 0 0);
|
|
90
89
|
--secondary: oklch(0.269 0 0);
|
|
91
90
|
--secondary-foreground: oklch(0.985 0 0);
|
|
@@ -93,11 +92,10 @@
|
|
|
93
92
|
--muted-foreground: oklch(0.708 0 0);
|
|
94
93
|
--accent: oklch(0.269 0 0);
|
|
95
94
|
--accent-foreground: oklch(0.985 0 0);
|
|
96
|
-
--destructive: oklch(0.
|
|
97
|
-
--
|
|
98
|
-
--
|
|
99
|
-
--
|
|
100
|
-
--ring: oklch(0.439 0 0);
|
|
95
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
96
|
+
--border: oklch(1 0 0 / 10%);
|
|
97
|
+
--input: oklch(1 0 0 / 15%);
|
|
98
|
+
--ring: oklch(0.556 0 0);
|
|
101
99
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
102
100
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
103
101
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
@@ -109,8 +107,8 @@
|
|
|
109
107
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
110
108
|
--sidebar-accent: oklch(0.269 0 0);
|
|
111
109
|
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
112
|
-
--sidebar-border: oklch(0
|
|
113
|
-
--sidebar-ring: oklch(0.
|
|
110
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
111
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
114
112
|
}
|
|
115
113
|
|
|
116
114
|
@layer base {
|
|
@@ -1,10 +1,43 @@
|
|
|
1
1
|
import tailwindcss from '@tailwindcss/vite';
|
|
2
2
|
import react from '@vitejs/plugin-react-swc';
|
|
3
3
|
import { resolve } from 'node:path';
|
|
4
|
-
import { defineConfig } from 'vite';
|
|
4
|
+
import { defineConfig, type Plugin } from 'vite';
|
|
5
|
+
|
|
6
|
+
function iframeNavigationTracking(): Plugin {
|
|
7
|
+
return {
|
|
8
|
+
name: 'iframe-navigation-tracking',
|
|
9
|
+
transformIndexHtml(html) {
|
|
10
|
+
return html.replace(
|
|
11
|
+
'</head>',
|
|
12
|
+
`<script>
|
|
13
|
+
(function() {
|
|
14
|
+
if (window.parent === window) return;
|
|
15
|
+
function notify() {
|
|
16
|
+
window.parent.postMessage({ type: 'iframe-url-change', url: location.href }, '*');
|
|
17
|
+
}
|
|
18
|
+
var pushState = history.pushState;
|
|
19
|
+
var replaceState = history.replaceState;
|
|
20
|
+
history.pushState = function() {
|
|
21
|
+
pushState.apply(this, arguments);
|
|
22
|
+
notify();
|
|
23
|
+
};
|
|
24
|
+
history.replaceState = function() {
|
|
25
|
+
replaceState.apply(this, arguments);
|
|
26
|
+
notify();
|
|
27
|
+
};
|
|
28
|
+
window.addEventListener('popstate', notify);
|
|
29
|
+
window.addEventListener('hashchange', notify);
|
|
30
|
+
notify();
|
|
31
|
+
})();
|
|
32
|
+
</script>
|
|
33
|
+
</head>`,
|
|
34
|
+
);
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
}
|
|
5
38
|
|
|
6
39
|
export default defineConfig({
|
|
7
|
-
plugins: [react(), tailwindcss()],
|
|
40
|
+
plugins: [react(), tailwindcss(), iframeNavigationTracking()],
|
|
8
41
|
resolve: {
|
|
9
42
|
alias: {
|
|
10
43
|
'@': resolve(__dirname, './src'),
|