kayforms 0.1.1
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/LICENSE +21 -0
- package/README.md +337 -0
- package/examples/react-demo/README.md +337 -0
- package/examples/react-demo/eslint.config.js +22 -0
- package/examples/react-demo/index.html +13 -0
- package/examples/react-demo/package.json +33 -0
- package/examples/react-demo/public/apple-touch-icon.png +0 -0
- package/examples/react-demo/public/favicon-96x96.png +0 -0
- package/examples/react-demo/public/favicon.ico +0 -0
- package/examples/react-demo/public/favicon.svg +17 -0
- package/examples/react-demo/public/icons.svg +24 -0
- package/examples/react-demo/public/site.webmanifest +21 -0
- package/examples/react-demo/public/web-app-manifest-192x192.png +0 -0
- package/examples/react-demo/public/web-app-manifest-512x512.png +0 -0
- package/examples/react-demo/src/App.css +184 -0
- package/examples/react-demo/src/App.tsx +825 -0
- package/examples/react-demo/src/assets/hero.png +0 -0
- package/examples/react-demo/src/assets/react.svg +1 -0
- package/examples/react-demo/src/assets/vite.svg +1 -0
- package/examples/react-demo/src/index.css +627 -0
- package/examples/react-demo/src/main.tsx +10 -0
- package/examples/react-demo/tsconfig.app.json +25 -0
- package/examples/react-demo/tsconfig.json +7 -0
- package/examples/react-demo/tsconfig.node.json +24 -0
- package/examples/react-demo/vite.config.ts +7 -0
- package/kayforms.jpg +0 -0
- package/package.json +26 -0
- package/packages/angular/package.json +43 -0
- package/packages/angular/src/index.ts +198 -0
- package/packages/angular/tsconfig.json +8 -0
- package/packages/angular/tsup.config.ts +17 -0
- package/packages/core/README.md +337 -0
- package/packages/core/package.json +37 -0
- package/packages/core/src/batch.ts +106 -0
- package/packages/core/src/devtools.ts +329 -0
- package/packages/core/src/field.ts +167 -0
- package/packages/core/src/form.ts +448 -0
- package/packages/core/src/index.ts +71 -0
- package/packages/core/src/registry.ts +126 -0
- package/packages/core/src/signal.ts +399 -0
- package/packages/core/src/time-travel.ts +275 -0
- package/packages/core/src/validation.ts +243 -0
- package/packages/core/tsconfig.json +8 -0
- package/packages/core/tsup.config.ts +16 -0
- package/packages/devtools/extension/background.js +35 -0
- package/packages/devtools/extension/content-script.js +10 -0
- package/packages/devtools/extension/devtools.html +9 -0
- package/packages/devtools/extension/devtools.js +8 -0
- package/packages/devtools/extension/manifest.json +19 -0
- package/packages/devtools/extension/panel.css +505 -0
- package/packages/devtools/extension/panel.html +108 -0
- package/packages/devtools/extension/panel.js +354 -0
- package/packages/devtools/package.json +38 -0
- package/packages/devtools/src/index.ts +95 -0
- package/packages/devtools/src/panel.ts +226 -0
- package/packages/devtools/src/styles.ts +422 -0
- package/packages/devtools/src/timeline.ts +283 -0
- package/packages/devtools/tsconfig.json +8 -0
- package/packages/devtools/tsup.config.ts +17 -0
- package/packages/react/package.json +46 -0
- package/packages/react/src/index.ts +279 -0
- package/packages/react/tsconfig.json +8 -0
- package/packages/react/tsup.config.ts +17 -0
- package/packages/solid/package.json +42 -0
- package/packages/solid/src/index.ts +206 -0
- package/packages/solid/tsconfig.json +8 -0
- package/packages/solid/tsup.config.ts +17 -0
- package/packages/svelte/package.json +42 -0
- package/packages/svelte/src/index.ts +199 -0
- package/packages/svelte/tsconfig.json +8 -0
- package/packages/svelte/tsup.config.ts +17 -0
- package/packages/vanilla/package.json +38 -0
- package/packages/vanilla/src/index.ts +254 -0
- package/packages/vanilla/tsconfig.json +8 -0
- package/packages/vanilla/tsup.config.ts +17 -0
- package/packages/vue/package.json +42 -0
- package/packages/vue/src/index.ts +217 -0
- package/packages/vue/tsconfig.json +8 -0
- package/packages/vue/tsup.config.ts +17 -0
- package/pnpm-workspace.yaml +3 -0
- package/tsconfig.base.json +21 -0
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="77" height="47" fill="none" aria-labelledby="vite-logo-title" viewBox="0 0 77 47"><title id="vite-logo-title">Vite</title><style>.parenthesis{fill:#000}@media (prefers-color-scheme:dark){.parenthesis{fill:#fff}}</style><path fill="#9135ff" d="M40.151 45.71c-.663.844-2.02.374-2.02-.699V34.708a2.26 2.26 0 0 0-2.262-2.262H24.493c-.92 0-1.457-1.04-.92-1.788l7.479-10.471c1.07-1.498 0-3.578-1.842-3.578H15.443c-.92 0-1.456-1.04-.92-1.788l9.696-13.576c.213-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.472c-1.07 1.497 0 3.578 1.842 3.578h11.376c.944 0 1.474 1.087.89 1.83L40.153 45.712z"/><mask id="a" width="48" height="47" x="14" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#000" d="M40.047 45.71c-.663.843-2.02.374-2.02-.699V34.708a2.26 2.26 0 0 0-2.262-2.262H24.389c-.92 0-1.457-1.04-.92-1.788l7.479-10.472c1.07-1.497 0-3.578-1.842-3.578H15.34c-.92 0-1.456-1.04-.92-1.788l9.696-13.575c.213-.297.556-.474.92-.474H53.93c.92 0 1.456 1.04.92 1.788L47.37 13.03c-1.07 1.498 0 3.578 1.842 3.578h11.376c.944 0 1.474 1.088.89 1.831L40.049 45.712z"/></mask><g mask="url(#a)"><g filter="url(#b)"><ellipse cx="5.508" cy="14.704" fill="#eee6ff" rx="5.508" ry="14.704" transform="rotate(269.814 20.96 11.29)scale(-1 1)"/></g><g filter="url(#c)"><ellipse cx="10.399" cy="29.851" fill="#eee6ff" rx="10.399" ry="29.851" transform="rotate(89.814 -16.902 -8.275)scale(1 -1)"/></g><g filter="url(#d)"><ellipse cx="5.508" cy="30.487" fill="#8900ff" rx="5.508" ry="30.487" transform="rotate(89.814 -19.197 -7.127)scale(1 -1)"/></g><g filter="url(#e)"><ellipse cx="5.508" cy="30.599" fill="#8900ff" rx="5.508" ry="30.599" transform="rotate(89.814 -25.928 4.177)scale(1 -1)"/></g><g filter="url(#f)"><ellipse cx="5.508" cy="30.599" fill="#8900ff" rx="5.508" ry="30.599" transform="rotate(89.814 -25.738 5.52)scale(1 -1)"/></g><g filter="url(#g)"><ellipse cx="14.072" cy="22.078" fill="#eee6ff" rx="14.072" ry="22.078" transform="rotate(93.35 31.245 55.578)scale(-1 1)"/></g><g filter="url(#h)"><ellipse cx="3.47" cy="21.501" fill="#8900ff" rx="3.47" ry="21.501" transform="rotate(89.009 35.419 55.202)scale(-1 1)"/></g><g filter="url(#i)"><ellipse cx="3.47" cy="21.501" fill="#8900ff" rx="3.47" ry="21.501" transform="rotate(89.009 35.419 55.202)scale(-1 1)"/></g><g filter="url(#j)"><ellipse cx="14.592" cy="9.743" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(39.51 14.592 9.743)"/></g><g filter="url(#k)"><ellipse cx="61.728" cy="-5.321" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 61.728 -5.32)"/></g><g filter="url(#l)"><ellipse cx="55.618" cy="7.104" fill="#00c2ff" rx="5.971" ry="9.665" transform="rotate(37.892 55.618 7.104)"/></g><g filter="url(#m)"><ellipse cx="12.326" cy="39.103" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 12.326 39.103)"/></g><g filter="url(#n)"><ellipse cx="12.326" cy="39.103" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 12.326 39.103)"/></g><g filter="url(#o)"><ellipse cx="49.857" cy="30.678" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 49.857 30.678)"/></g><g filter="url(#p)"><ellipse cx="52.623" cy="33.171" fill="#00c2ff" rx="5.971" ry="15.297" transform="rotate(37.892 52.623 33.17)"/></g></g><path d="M6.919 0c-9.198 13.166-9.252 33.575 0 46.789h6.215c-9.25-13.214-9.196-33.623 0-46.789zm62.424 0h-6.215c9.198 13.166 9.252 33.575 0 46.789h6.215c9.25-13.214 9.196-33.623 0-46.789" class="parenthesis"/><defs><filter id="b" width="60.045" height="41.654" x="-5.564" y="16.92" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="c" width="90.34" height="51.437" x="-40.407" y="-6.762" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="d" width="79.355" height="29.4" x="-35.435" y="2.801" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="e" width="79.579" height="29.4" x="-30.84" y="20.8" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="f" width="79.579" height="29.4" x="-29.307" y="21.949" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="g" width="74.749" height="58.852" x="29.961" y="-17.13" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="h" width="61.377" height="25.362" x="37.754" y="3.055" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="i" width="61.377" height="25.362" x="37.754" y="3.055" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="j" width="56.045" height="63.649" x="-13.43" y="-22.082" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="k" width="54.814" height="64.646" x="34.321" y="-37.644" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="l" width="33.541" height="35.313" x="38.847" y="-10.552" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="m" width="54.814" height="64.646" x="-15.081" y="6.78" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="n" width="54.814" height="64.646" x="-15.081" y="6.78" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="o" width="54.814" height="64.646" x="22.45" y="-1.645" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="p" width="39.409" height="43.623" x="32.919" y="11.36" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter></defs></svg>
|
|
@@ -0,0 +1,627 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--bg-primary: #0a0a0f;
|
|
5
|
+
--bg-secondary: #12121a;
|
|
6
|
+
--bg-tertiary: #191924;
|
|
7
|
+
--text-primary: #f8fafc;
|
|
8
|
+
--text-secondary: #94a3b8;
|
|
9
|
+
--text-muted: #64748b;
|
|
10
|
+
|
|
11
|
+
--accent-primary: #8b5cf6;
|
|
12
|
+
--accent-secondary: #06b6d4;
|
|
13
|
+
--accent-success: #10b981;
|
|
14
|
+
--accent-error: #ef4444;
|
|
15
|
+
--accent-warning: #f59e0b;
|
|
16
|
+
|
|
17
|
+
--gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
|
|
18
|
+
--gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
|
|
19
|
+
--gradient-error: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
|
20
|
+
|
|
21
|
+
--border-color: rgba(255, 255, 255, 0.08);
|
|
22
|
+
--border-focus: rgba(139, 92, 246, 0.4);
|
|
23
|
+
|
|
24
|
+
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
25
|
+
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
26
|
+
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
27
|
+
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
|
28
|
+
|
|
29
|
+
--font-sans: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
30
|
+
--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
* {
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
body {
|
|
40
|
+
background-color: var(--bg-primary);
|
|
41
|
+
color: var(--text-primary);
|
|
42
|
+
font-family: var(--font-sans);
|
|
43
|
+
min-height: 100vh;
|
|
44
|
+
overflow-x: hidden;
|
|
45
|
+
line-height: 1.5;
|
|
46
|
+
-webkit-font-smoothing: antialiased;
|
|
47
|
+
-moz-osx-font-smoothing: grayscale;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* App container */
|
|
51
|
+
.app-container {
|
|
52
|
+
max-width: 1280px;
|
|
53
|
+
margin: 0 auto;
|
|
54
|
+
padding: 40px 20px;
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
gap: 32px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Header */
|
|
61
|
+
.app-header {
|
|
62
|
+
display: flex;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
align-items: center;
|
|
65
|
+
border-bottom: 1px solid var(--border-color);
|
|
66
|
+
padding-bottom: 24px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.logo-section {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
gap: 16px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.logo-box {
|
|
76
|
+
width: 48px;
|
|
77
|
+
height: 48px;
|
|
78
|
+
background: var(--gradient-accent);
|
|
79
|
+
border-radius: 12px;
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
font-size: 24px;
|
|
84
|
+
font-weight: 800;
|
|
85
|
+
color: white;
|
|
86
|
+
box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
|
|
87
|
+
animation: logo-glow 3s infinite alternate;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@keyframes logo-glow {
|
|
91
|
+
0% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); }
|
|
92
|
+
100% { box-shadow: 0 0 30px rgba(6, 182, 212, 0.5); }
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.logo-section h1 {
|
|
96
|
+
font-size: 32px;
|
|
97
|
+
font-weight: 800;
|
|
98
|
+
letter-spacing: -1px;
|
|
99
|
+
background: var(--gradient-accent);
|
|
100
|
+
-webkit-background-clip: text;
|
|
101
|
+
-webkit-text-fill-color: transparent;
|
|
102
|
+
background-clip: text;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.logo-section p {
|
|
106
|
+
color: var(--text-secondary);
|
|
107
|
+
font-size: 14px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.badge-container {
|
|
111
|
+
display: flex;
|
|
112
|
+
gap: 10px;
|
|
113
|
+
align-items: center;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.badge {
|
|
117
|
+
padding: 6px 12px;
|
|
118
|
+
border-radius: 9999px;
|
|
119
|
+
font-size: 12px;
|
|
120
|
+
font-weight: 600;
|
|
121
|
+
letter-spacing: 0.5px;
|
|
122
|
+
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.badge.size {
|
|
126
|
+
background: rgba(139, 92, 246, 0.1);
|
|
127
|
+
color: #c084fc;
|
|
128
|
+
border-color: rgba(139, 92, 246, 0.2);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.badge.speed {
|
|
132
|
+
background: rgba(6, 182, 212, 0.1);
|
|
133
|
+
color: #22d3ee;
|
|
134
|
+
border-color: rgba(6, 182, 212, 0.2);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.btn-devtools-toggle {
|
|
138
|
+
background: var(--gradient-accent);
|
|
139
|
+
color: white;
|
|
140
|
+
border: none;
|
|
141
|
+
padding: 10px 20px;
|
|
142
|
+
border-radius: 8px;
|
|
143
|
+
font-family: var(--font-sans);
|
|
144
|
+
font-weight: 600;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
transition: all 0.2s ease;
|
|
147
|
+
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.btn-devtools-toggle:hover {
|
|
151
|
+
transform: translateY(-2px);
|
|
152
|
+
box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Dashboard Layout */
|
|
156
|
+
.dashboard-grid {
|
|
157
|
+
display: grid;
|
|
158
|
+
grid-template-columns: 1.2fr 0.8fr;
|
|
159
|
+
gap: 32px;
|
|
160
|
+
align-items: start;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@media (max-width: 1024px) {
|
|
164
|
+
.dashboard-grid {
|
|
165
|
+
grid-template-columns: 1fr;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Card base */
|
|
170
|
+
.glass-card {
|
|
171
|
+
background: var(--bg-secondary);
|
|
172
|
+
border: 1px solid var(--border-color);
|
|
173
|
+
border-radius: 16px;
|
|
174
|
+
padding: 24px;
|
|
175
|
+
box-shadow: var(--shadow-xl);
|
|
176
|
+
backdrop-filter: blur(10px);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* Form Wizard */
|
|
180
|
+
.wizard-header {
|
|
181
|
+
display: flex;
|
|
182
|
+
justify-content: space-between;
|
|
183
|
+
margin-bottom: 24px;
|
|
184
|
+
position: relative;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.wizard-steps {
|
|
188
|
+
display: flex;
|
|
189
|
+
width: 100%;
|
|
190
|
+
justify-content: space-between;
|
|
191
|
+
z-index: 1;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.step-indicator {
|
|
195
|
+
display: flex;
|
|
196
|
+
flex-direction: column;
|
|
197
|
+
align-items: center;
|
|
198
|
+
gap: 8px;
|
|
199
|
+
flex: 1;
|
|
200
|
+
position: relative;
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.step-indicator::after {
|
|
205
|
+
content: '';
|
|
206
|
+
position: absolute;
|
|
207
|
+
top: 16px;
|
|
208
|
+
left: 50%;
|
|
209
|
+
width: 100%;
|
|
210
|
+
height: 2px;
|
|
211
|
+
background: var(--bg-tertiary);
|
|
212
|
+
z-index: -1;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.step-indicator:last-child::after {
|
|
216
|
+
display: none;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.step-circle {
|
|
220
|
+
width: 32px;
|
|
221
|
+
height: 32px;
|
|
222
|
+
border-radius: 50%;
|
|
223
|
+
background: var(--bg-tertiary);
|
|
224
|
+
border: 2px solid var(--border-color);
|
|
225
|
+
display: flex;
|
|
226
|
+
align-items: center;
|
|
227
|
+
justify-content: center;
|
|
228
|
+
font-weight: 700;
|
|
229
|
+
font-size: 14px;
|
|
230
|
+
color: var(--text-secondary);
|
|
231
|
+
transition: all 0.3s ease;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.step-indicator.active .step-circle {
|
|
235
|
+
background: var(--bg-primary);
|
|
236
|
+
border-color: var(--accent-primary);
|
|
237
|
+
color: var(--accent-primary);
|
|
238
|
+
box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.step-indicator.completed .step-circle {
|
|
242
|
+
background: var(--accent-success);
|
|
243
|
+
border-color: var(--accent-success);
|
|
244
|
+
color: white;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.step-indicator.completed::after {
|
|
248
|
+
background: var(--accent-success);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.step-label {
|
|
252
|
+
font-size: 12px;
|
|
253
|
+
font-weight: 600;
|
|
254
|
+
color: var(--text-muted);
|
|
255
|
+
transition: color 0.3s ease;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.step-indicator.active .step-label {
|
|
259
|
+
color: var(--text-primary);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/* Fields & Inputs */
|
|
263
|
+
.form-section {
|
|
264
|
+
display: flex;
|
|
265
|
+
flex-direction: column;
|
|
266
|
+
gap: 20px;
|
|
267
|
+
animation: fade-in 0.4s ease;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@keyframes fade-in {
|
|
271
|
+
from { opacity: 0; transform: translateY(10px); }
|
|
272
|
+
to { opacity: 1; transform: translateY(0); }
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.form-group {
|
|
276
|
+
display: flex;
|
|
277
|
+
flex-direction: column;
|
|
278
|
+
gap: 8px;
|
|
279
|
+
position: relative;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.form-group label {
|
|
283
|
+
font-size: 14px;
|
|
284
|
+
font-weight: 500;
|
|
285
|
+
color: var(--text-secondary);
|
|
286
|
+
display: flex;
|
|
287
|
+
justify-content: space-between;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.required-star {
|
|
291
|
+
color: var(--accent-error);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.input-wrapper {
|
|
295
|
+
position: relative;
|
|
296
|
+
display: flex;
|
|
297
|
+
align-items: center;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.input-wrapper input,
|
|
301
|
+
.input-wrapper select {
|
|
302
|
+
width: 100%;
|
|
303
|
+
padding: 12px 16px;
|
|
304
|
+
background-color: var(--bg-tertiary);
|
|
305
|
+
border: 1px solid var(--border-color);
|
|
306
|
+
border-radius: 8px;
|
|
307
|
+
color: var(--text-primary);
|
|
308
|
+
font-family: var(--font-sans);
|
|
309
|
+
font-size: 16px;
|
|
310
|
+
transition: all 0.2s ease;
|
|
311
|
+
outline: none;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.input-wrapper input:focus,
|
|
315
|
+
.input-wrapper select:focus {
|
|
316
|
+
border-color: var(--accent-primary);
|
|
317
|
+
box-shadow: 0 0 0 3px var(--border-focus);
|
|
318
|
+
background-color: var(--bg-secondary);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.input-wrapper.error input,
|
|
322
|
+
.input-wrapper.error select {
|
|
323
|
+
border-color: var(--accent-error);
|
|
324
|
+
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.input-wrapper.valid input,
|
|
328
|
+
.input-wrapper.valid select {
|
|
329
|
+
border-color: rgba(16, 185, 129, 0.4);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.validation-error {
|
|
333
|
+
color: var(--accent-error);
|
|
334
|
+
font-size: 12px;
|
|
335
|
+
font-weight: 500;
|
|
336
|
+
display: flex;
|
|
337
|
+
align-items: center;
|
|
338
|
+
gap: 4px;
|
|
339
|
+
margin-top: 4px;
|
|
340
|
+
animation: shake 0.4s ease;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
@keyframes shake {
|
|
344
|
+
0%, 100% { transform: translateX(0); }
|
|
345
|
+
25% { transform: translateX(-4px); }
|
|
346
|
+
75% { transform: translateX(4px); }
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/* Actions buttons */
|
|
350
|
+
.button-row {
|
|
351
|
+
display: flex;
|
|
352
|
+
justify-content: space-between;
|
|
353
|
+
margin-top: 32px;
|
|
354
|
+
gap: 16px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.btn-btn {
|
|
358
|
+
padding: 12px 24px;
|
|
359
|
+
border-radius: 8px;
|
|
360
|
+
font-family: var(--font-sans);
|
|
361
|
+
font-weight: 600;
|
|
362
|
+
font-size: 15px;
|
|
363
|
+
cursor: pointer;
|
|
364
|
+
transition: all 0.2s ease;
|
|
365
|
+
border: none;
|
|
366
|
+
outline: none;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.btn-secondary {
|
|
370
|
+
background-color: var(--bg-tertiary);
|
|
371
|
+
color: var(--text-primary);
|
|
372
|
+
border: 1px solid var(--border-color);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.btn-secondary:hover:not(:disabled) {
|
|
376
|
+
background-color: var(--bg-secondary);
|
|
377
|
+
border-color: var(--text-muted);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.btn-primary {
|
|
381
|
+
background: var(--gradient-accent);
|
|
382
|
+
color: white;
|
|
383
|
+
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.btn-primary:hover:not(:disabled) {
|
|
387
|
+
transform: translateY(-2px);
|
|
388
|
+
box-shadow: 0 6px 16px rgba(6, 182, 212, 0.3);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.btn-btn:disabled {
|
|
392
|
+
opacity: 0.5;
|
|
393
|
+
cursor: not-allowed;
|
|
394
|
+
transform: none !important;
|
|
395
|
+
box-shadow: none !important;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/* Custom Select & Checkboxes */
|
|
399
|
+
.checkbox-group {
|
|
400
|
+
display: flex;
|
|
401
|
+
align-items: center;
|
|
402
|
+
gap: 12px;
|
|
403
|
+
cursor: pointer;
|
|
404
|
+
user-select: none;
|
|
405
|
+
padding: 8px 0;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.checkbox-group input {
|
|
409
|
+
display: none;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.checkbox-box {
|
|
413
|
+
width: 20px;
|
|
414
|
+
height: 20px;
|
|
415
|
+
border-radius: 4px;
|
|
416
|
+
border: 1px solid var(--border-color);
|
|
417
|
+
background-color: var(--bg-tertiary);
|
|
418
|
+
display: flex;
|
|
419
|
+
align-items: center;
|
|
420
|
+
justify-content: center;
|
|
421
|
+
transition: all 0.2s ease;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.checkbox-group:hover .checkbox-box {
|
|
425
|
+
border-color: var(--accent-primary);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.checkbox-group input:checked + .checkbox-box {
|
|
429
|
+
background: var(--gradient-accent);
|
|
430
|
+
border-color: transparent;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.checkbox-box::after {
|
|
434
|
+
content: '✓';
|
|
435
|
+
color: white;
|
|
436
|
+
font-size: 12px;
|
|
437
|
+
font-weight: 800;
|
|
438
|
+
display: none;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.checkbox-group input:checked + .checkbox-box::after {
|
|
442
|
+
display: block;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* State Visualizer */
|
|
446
|
+
.visualizer-title {
|
|
447
|
+
font-size: 18px;
|
|
448
|
+
font-weight: 700;
|
|
449
|
+
margin-bottom: 16px;
|
|
450
|
+
color: var(--text-primary);
|
|
451
|
+
display: flex;
|
|
452
|
+
align-items: center;
|
|
453
|
+
justify-content: space-between;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.state-grid {
|
|
457
|
+
display: flex;
|
|
458
|
+
flex-direction: column;
|
|
459
|
+
gap: 16px;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.state-form-block {
|
|
463
|
+
background-color: var(--bg-tertiary);
|
|
464
|
+
border-radius: 8px;
|
|
465
|
+
padding: 16px;
|
|
466
|
+
border-left: 3px solid var(--text-muted);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.state-form-block.valid {
|
|
470
|
+
border-left-color: var(--accent-success);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.state-form-block.invalid {
|
|
474
|
+
border-left-color: var(--accent-error);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.state-form-block-header {
|
|
478
|
+
display: flex;
|
|
479
|
+
justify-content: space-between;
|
|
480
|
+
align-items: center;
|
|
481
|
+
margin-bottom: 10px;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.form-id-title {
|
|
485
|
+
font-weight: 600;
|
|
486
|
+
font-size: 14px;
|
|
487
|
+
font-family: var(--font-mono);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.state-tag {
|
|
491
|
+
font-size: 10px;
|
|
492
|
+
padding: 2px 6px;
|
|
493
|
+
border-radius: 4px;
|
|
494
|
+
font-weight: 700;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.state-tag.valid {
|
|
498
|
+
background-color: rgba(16, 185, 129, 0.1);
|
|
499
|
+
color: var(--accent-success);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.state-tag.invalid {
|
|
503
|
+
background-color: rgba(239, 68, 68, 0.1);
|
|
504
|
+
color: var(--accent-error);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.json-block {
|
|
508
|
+
font-family: var(--font-mono);
|
|
509
|
+
font-size: 12px;
|
|
510
|
+
color: #a78bfa;
|
|
511
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
512
|
+
padding: 10px;
|
|
513
|
+
border-radius: 6px;
|
|
514
|
+
overflow-x: auto;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/* Benchmark Panel */
|
|
518
|
+
.benchmark-card {
|
|
519
|
+
margin-top: 24px;
|
|
520
|
+
border: 1px solid rgba(6, 182, 212, 0.2);
|
|
521
|
+
background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(6, 182, 212, 0.02) 100%);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.benchmark-header {
|
|
525
|
+
display: flex;
|
|
526
|
+
justify-content: space-between;
|
|
527
|
+
align-items: center;
|
|
528
|
+
margin-bottom: 16px;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.benchmark-stats {
|
|
532
|
+
display: flex;
|
|
533
|
+
gap: 16px;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.benchmark-stat-box {
|
|
537
|
+
background: var(--bg-tertiary);
|
|
538
|
+
padding: 8px 16px;
|
|
539
|
+
border-radius: 8px;
|
|
540
|
+
border: 1px solid var(--border-color);
|
|
541
|
+
text-align: center;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.stat-value {
|
|
545
|
+
font-size: 20px;
|
|
546
|
+
font-weight: 800;
|
|
547
|
+
font-family: var(--font-mono);
|
|
548
|
+
color: var(--accent-secondary);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.stat-label {
|
|
552
|
+
font-size: 10px;
|
|
553
|
+
color: var(--text-muted);
|
|
554
|
+
text-transform: uppercase;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.benchmark-grid-visualizer {
|
|
558
|
+
display: grid;
|
|
559
|
+
grid-template-columns: repeat(40, 1fr);
|
|
560
|
+
gap: 1.5px;
|
|
561
|
+
background-color: var(--bg-tertiary);
|
|
562
|
+
padding: 10px;
|
|
563
|
+
border-radius: 8px;
|
|
564
|
+
margin-bottom: 16px;
|
|
565
|
+
border: 1px solid var(--border-color);
|
|
566
|
+
height: 200px;
|
|
567
|
+
overflow: hidden;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.cell {
|
|
571
|
+
aspect-ratio: 1;
|
|
572
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
573
|
+
border-radius: 1px;
|
|
574
|
+
transition: background-color 0.1s ease;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.cell.active-0 { background-color: #8b5cf6; box-shadow: 0 0 4px #8b5cf6; }
|
|
578
|
+
.cell.active-1 { background-color: #06b6d4; box-shadow: 0 0 4px #06b6d4; }
|
|
579
|
+
.cell.active-2 { background-color: #10b981; box-shadow: 0 0 4px #10b981; }
|
|
580
|
+
.cell.active-3 { background-color: #f59e0b; box-shadow: 0 0 4px #f59e0b; }
|
|
581
|
+
|
|
582
|
+
.cell.err {
|
|
583
|
+
background-color: var(--accent-error);
|
|
584
|
+
box-shadow: 0 0 4px var(--accent-error);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/* Success Overlay */
|
|
588
|
+
.success-overlay {
|
|
589
|
+
display: flex;
|
|
590
|
+
flex-direction: column;
|
|
591
|
+
align-items: center;
|
|
592
|
+
justify-content: center;
|
|
593
|
+
padding: 48px 0;
|
|
594
|
+
text-align: center;
|
|
595
|
+
animation: zoom-in 0.3s ease;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
@keyframes zoom-in {
|
|
599
|
+
from { transform: scale(0.95); opacity: 0; }
|
|
600
|
+
to { transform: scale(1); opacity: 1; }
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.success-icon {
|
|
604
|
+
width: 80px;
|
|
605
|
+
height: 80px;
|
|
606
|
+
border-radius: 50%;
|
|
607
|
+
background: rgba(16, 185, 129, 0.1);
|
|
608
|
+
border: 2px solid var(--accent-success);
|
|
609
|
+
display: flex;
|
|
610
|
+
align-items: center;
|
|
611
|
+
justify-content: center;
|
|
612
|
+
font-size: 40px;
|
|
613
|
+
color: var(--accent-success);
|
|
614
|
+
margin-bottom: 24px;
|
|
615
|
+
box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.success-overlay h2 {
|
|
619
|
+
font-size: 28px;
|
|
620
|
+
margin-bottom: 12px;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.success-overlay p {
|
|
624
|
+
color: var(--text-secondary);
|
|
625
|
+
max-width: 400px;
|
|
626
|
+
margin-bottom: 24px;
|
|
627
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
+
"target": "es2023",
|
|
5
|
+
"lib": ["ES2023", "DOM"],
|
|
6
|
+
"module": "esnext",
|
|
7
|
+
"types": ["vite/client"],
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"verbatimModuleSyntax": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
"jsx": "react-jsx",
|
|
17
|
+
|
|
18
|
+
/* Linting */
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true,
|
|
21
|
+
"erasableSyntaxOnly": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": true
|
|
23
|
+
},
|
|
24
|
+
"include": ["src"]
|
|
25
|
+
}
|