@qwik.dev/devtools 0.0.2 → 0.0.4

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.
Files changed (136) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -47
  3. package/dist/component/_virtual/_commonjsHelpers.qwik.cjs +6 -0
  4. package/dist/component/_virtual/_commonjsHelpers.qwik.mjs +6 -0
  5. package/dist/component/devtools.css.qwik.cjs +3 -0
  6. package/dist/component/devtools.css.qwik.mjs +4 -0
  7. package/dist/component/devtools.qwik.cjs +537 -0
  8. package/dist/component/devtools.qwik.mjs +537 -0
  9. package/dist/component/index.qwik.cjs +4 -0
  10. package/dist/component/index.qwik.mjs +4 -0
  11. package/dist/component/lib-types/devtools/src/index.d.ts +1 -0
  12. package/dist/component/lib-types/devtools/src/utils/location.d.ts +1 -0
  13. package/dist/component/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.cjs +60 -0
  14. package/dist/component/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.mjs +60 -0
  15. package/dist/component/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/lu.qwik.qwik.cjs +32 -0
  16. package/dist/component/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/lu.qwik.qwik.mjs +32 -0
  17. package/dist/component/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.qwik.cjs +54 -0
  18. package/dist/component/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.qwik.mjs +54 -0
  19. package/dist/component/node_modules/.pnpm/birpc@0.2.19/node_modules/birpc/dist/index.qwik.cjs +128 -0
  20. package/dist/component/node_modules/.pnpm/birpc@0.2.19/node_modules/birpc/dist/index.qwik.mjs +128 -0
  21. package/dist/component/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.qwik.cjs +149 -0
  22. package/dist/component/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.qwik.mjs +150 -0
  23. package/dist/component/node_modules/.pnpm/copy-anything@3.0.5/node_modules/copy-anything/dist/index.qwik.cjs +36 -0
  24. package/dist/component/node_modules/.pnpm/copy-anything@3.0.5/node_modules/copy-anything/dist/index.qwik.mjs +36 -0
  25. package/dist/component/node_modules/.pnpm/dree@5.1.5/node_modules/dree/bundled/lib/esm/index.esm.qwik.cjs +12 -0
  26. package/dist/component/node_modules/.pnpm/dree@5.1.5/node_modules/dree/bundled/lib/esm/index.esm.qwik.mjs +12 -0
  27. package/dist/component/node_modules/.pnpm/is-what@4.1.16/node_modules/is-what/dist/index.qwik.cjs +17 -0
  28. package/dist/component/node_modules/.pnpm/is-what@4.1.16/node_modules/is-what/dist/index.qwik.mjs +17 -0
  29. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.qwik.cjs +12 -0
  30. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.qwik.mjs +12 -0
  31. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.qwik.cjs +513 -0
  32. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.qwik.mjs +513 -0
  33. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.qwik.cjs +110 -0
  34. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.qwik.mjs +110 -0
  35. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.qwik.cjs +6 -0
  36. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.qwik.mjs +6 -0
  37. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.cjs +738 -0
  38. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.mjs +738 -0
  39. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.qwik.cjs +6 -0
  40. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.qwik.mjs +6 -0
  41. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/accessDeep.qwik.cjs +120 -0
  42. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/accessDeep.qwik.mjs +120 -0
  43. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/class-registry.qwik.cjs +23 -0
  44. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/class-registry.qwik.mjs +23 -0
  45. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/custom-transformer-registry.qwik.cjs +18 -0
  46. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/custom-transformer-registry.qwik.mjs +18 -0
  47. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/double-indexed-kv.qwik.cjs +23 -0
  48. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/double-indexed-kv.qwik.mjs +23 -0
  49. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/index.qwik.cjs +91 -0
  50. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/index.qwik.mjs +91 -0
  51. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/is.qwik.cjs +51 -0
  52. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/is.qwik.mjs +51 -0
  53. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/pathstringifier.qwik.cjs +30 -0
  54. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/pathstringifier.qwik.mjs +30 -0
  55. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.qwik.cjs +148 -0
  56. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.qwik.mjs +148 -0
  57. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/registry.qwik.cjs +28 -0
  58. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/registry.qwik.mjs +28 -0
  59. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/transformer.qwik.cjs +203 -0
  60. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/transformer.qwik.mjs +203 -0
  61. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/util.qwik.cjs +47 -0
  62. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/util.qwik.mjs +47 -0
  63. package/dist/component/node_modules/.pnpm/vite-hot-client@0.2.4_vite@5.4.10_@types_node@20.14.11_/node_modules/vite-hot-client/dist/index.qwik.cjs +35 -0
  64. package/dist/component/node_modules/.pnpm/vite-hot-client@0.2.4_vite@5.4.10_@types_node@20.14.11_/node_modules/vite-hot-client/dist/index.qwik.mjs +35 -0
  65. package/dist/component/packages/kit/src/client.qwik.cjs +18 -0
  66. package/dist/component/packages/kit/src/client.qwik.mjs +18 -0
  67. package/dist/component/packages/kit/src/context.qwik.cjs +20 -0
  68. package/dist/component/packages/kit/src/context.qwik.mjs +20 -0
  69. package/dist/component/packages/kit/src/globals.qwik.cjs +6 -0
  70. package/dist/component/packages/kit/src/globals.qwik.mjs +6 -0
  71. package/dist/plugin/index.cjs +10504 -0
  72. package/dist/plugin/index.mjs +10492 -0
  73. package/package.json +24 -43
  74. package/lib/index.qwik.cjs +0 -4
  75. package/lib/index.qwik.mjs +0 -4
  76. package/lib/kit/context.qwik.cjs +0 -16
  77. package/lib/kit/context.qwik.mjs +0 -16
  78. package/lib/kit/globals.qwik.cjs +0 -6
  79. package/lib/kit/globals.qwik.mjs +0 -6
  80. package/lib/kit/server.qwik.cjs +0 -18
  81. package/lib/kit/server.qwik.mjs +0 -18
  82. package/lib/plugin/assets/index.qwik.cjs +0 -67
  83. package/lib/plugin/assets/index.qwik.mjs +0 -67
  84. package/lib/plugin/index.qwik.cjs +0 -49
  85. package/lib/plugin/index.qwik.mjs +0 -49
  86. package/lib/plugin/npm/index.qwik.cjs +0 -19
  87. package/lib/plugin/npm/index.qwik.mjs +0 -19
  88. package/lib/plugin/routes/index.qwik.cjs +0 -17
  89. package/lib/plugin/routes/index.qwik.mjs +0 -17
  90. package/lib/plugin/rpc/index.qwik.cjs +0 -14
  91. package/lib/plugin/rpc/index.qwik.mjs +0 -14
  92. package/lib-types/index.d.ts +0 -1
  93. package/lib-types/plugin/assets/index.d.ts +0 -5
  94. package/lib-types/plugin/components/index.d.ts +0 -0
  95. package/lib-types/plugin/index.d.ts +0 -2
  96. package/lib-types/plugin/npm/index.d.ts +0 -5
  97. package/lib-types/plugin/routes/index.d.ts +0 -5
  98. package/lib-types/plugin/rpc/index.d.ts +0 -3
  99. package/lib-types/plugin/types/index.d.ts +0 -5
  100. package/src/devtools.css +0 -558
  101. package/src/devtools.tsx +0 -411
  102. package/src/entry.dev.tsx +0 -17
  103. package/src/entry.ssr.tsx +0 -25
  104. package/src/index.ts +0 -1
  105. package/src/kit/client.ts +0 -21
  106. package/src/kit/constants.ts +0 -1
  107. package/src/kit/context.ts +0 -42
  108. package/src/kit/globals.ts +0 -22
  109. package/src/kit/index.ts +0 -4
  110. package/src/kit/server.ts +0 -21
  111. package/src/kit/shared.ts +0 -11
  112. package/src/kit/types.ts +0 -48
  113. package/src/plugin/assets/index.ts +0 -126
  114. package/src/plugin/components/index.ts +0 -0
  115. package/src/plugin/index.ts +0 -50
  116. package/src/plugin/npm/index.ts +0 -24
  117. package/src/plugin/routes/index.ts +0 -16
  118. package/src/plugin/rpc/index.ts +0 -14
  119. package/src/plugin/types/index.ts +0 -6
  120. package/src/root.tsx +0 -15
  121. /package/{lib-types → dist/component/lib-types/devtools/src}/devtools.d.ts +0 -0
  122. /package/{lib-types → dist/component/lib-types/devtools/src}/entry.dev.d.ts +0 -0
  123. /package/{lib-types → dist/component/lib-types/devtools/src}/entry.ssr.d.ts +0 -0
  124. /package/{lib-types → dist/component/lib-types/devtools/src}/root.d.ts +0 -0
  125. /package/{lib-types/kit → dist/component/lib-types/kit/src}/client.d.ts +0 -0
  126. /package/{lib-types/kit → dist/component/lib-types/kit/src}/constants.d.ts +0 -0
  127. /package/{lib-types/kit → dist/component/lib-types/kit/src}/context.d.ts +0 -0
  128. /package/{lib-types/kit → dist/component/lib-types/kit/src}/globals.d.ts +0 -0
  129. /package/{lib-types/kit → dist/component/lib-types/kit/src}/index.d.ts +0 -0
  130. /package/{lib-types/kit → dist/component/lib-types/kit/src}/server.d.ts +0 -0
  131. /package/{lib-types/kit → dist/component/lib-types/kit/src}/shared.d.ts +0 -0
  132. /package/{lib-types/kit → dist/component/lib-types/kit/src}/types.d.ts +0 -0
  133. /package/{lib/kit → dist/component/packages/kit/src}/constants.qwik.cjs +0 -0
  134. /package/{lib/kit → dist/component/packages/kit/src}/constants.qwik.mjs +0 -0
  135. /package/{lib/kit → dist/component/packages/kit/src}/shared.qwik.cjs +0 -0
  136. /package/{lib/kit → dist/component/packages/kit/src}/shared.qwik.mjs +0 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 qwikdev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,47 +1 @@
1
- # Qwik Library ⚡️
2
-
3
- - [Qwik Docs](https://qwik.dev/)
4
- - [Discord](https://qwik.dev/chat)
5
- - [Qwik on GitHub](https://github.com/QwikDev/qwik)
6
- - [@QwikDev](https://twitter.com/QwikDev)
7
- - [Vite](https://vitejs.dev/)
8
- - [Partytown](https://partytown.builder.io/)
9
- - [Mitosis](https://github.com/BuilderIO/mitosis)
10
- - [Builder.io](https://www.builder.io/)
11
-
12
- ---
13
-
14
- ## Project Structure
15
-
16
- Inside your project, you'll see the following directories and files:
17
-
18
- ```
19
- ├── public/
20
- │ └── ...
21
- └── src/
22
- ├── components/
23
- │ └── ...
24
- └── index.ts
25
- ```
26
-
27
- - `src/components`: Recommended directory for components.
28
-
29
- - `index.ts`: The entry point of your component library, make sure all the public components are exported from this file.
30
-
31
- ## Development
32
-
33
- Development mode uses [Vite's development server](https://vitejs.dev/). For Qwik during development, the `dev` command will also server-side render (SSR) the output. The client-side development modules are loaded by the browser.
34
-
35
- ```
36
- pnpm dev
37
- ```
38
-
39
- > Note: during dev mode, Vite will request many JS files, which does not represent a Qwik production build.
40
-
41
- ## Production
42
-
43
- The production build should generate the production build of your component library in (./lib) and the typescript type definitions in (./lib-types).
44
-
45
- ```
46
- pnpm build
47
- ```
1
+ ## Qwik DevTools
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ function getDefaultExportFromCjs(x) {
4
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
5
+ }
6
+ exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
@@ -0,0 +1,6 @@
1
+ function getDefaultExportFromCjs(x) {
2
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
3
+ }
4
+ export {
5
+ getDefaultExportFromCjs
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const styles = ".devtools-container {\n position: fixed;\n bottom: 0;\n right: 0;\n z-index: 9999;\n font-family:\n system-ui,\n -apple-system,\n sans-serif;\n}\n\n.devtools-toggle {\n position: fixed;\n bottom: 16px;\n right: 16px;\n width: 36px;\n height: 36px;\n background: #18181b;\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n box-shadow:\n 0 4px 12px rgba(0, 0, 0, 0.15),\n inset 0 1px 1px rgba(255, 255, 255, 0.1);\n transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n transform-origin: center;\n overflow: hidden;\n backdrop-filter: blur(8px);\n animation: glow 2s ease-in-out infinite;\n}\n\n@keyframes glow {\n 0% {\n box-shadow:\n 0 4px 12px rgba(0, 0, 0, 0.15),\n inset 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n 50% {\n box-shadow:\n 0 4px 12px rgba(0, 220, 130, 0.35),\n inset 0 1px 1px rgba(255, 255, 255, 0.1),\n 0 0 25px rgba(0, 220, 130, 0.25);\n border-color: rgba(0, 220, 130, 0.5);\n }\n 100% {\n box-shadow:\n 0 4px 12px rgba(0, 0, 0, 0.15),\n inset 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n}\n\n.devtools-toggle:hover {\n transform: scale(1.05);\n box-shadow:\n 0 6px 16px rgba(0, 220, 130, 0.4),\n inset 0 1px 1px rgba(255, 255, 255, 0.15),\n 0 0 30px rgba(0, 220, 130, 0.3);\n border-color: rgba(0, 220, 130, 0.6);\n background: #1c1c1f;\n animation: none;\n}\n\n.devtools-toggle:active {\n transform: scale(0.98);\n box-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.15),\n inset 0 1px 1px rgba(255, 255, 255, 0.1);\n animation: none;\n}\n\n.devtools-toggle.is-open {\n transform: rotate(90deg);\n background: #1c1c1f;\n animation: none;\n border-color: rgba(0, 220, 130, 0.5);\n box-shadow:\n 0 4px 12px rgba(0, 220, 130, 0.35),\n inset 0 1px 1px rgba(255, 255, 255, 0.1),\n 0 0 25px rgba(0, 220, 130, 0.25);\n}\n\n.devtools-toggle.is-open:hover {\n transform: rotate(90deg) scale(1.05);\n box-shadow:\n 0 6px 16px rgba(0, 220, 130, 0.4),\n inset 0 1px 1px rgba(255, 255, 255, 0.15),\n 0 0 30px rgba(0, 220, 130, 0.3);\n}\n\n.devtools-panel {\n position: fixed;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 50vh;\n background: #18181b;\n border-top: 1px solid rgba(255, 255, 255, 0.1);\n color: #fff;\n box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);\n display: flex;\n transform: translateY(100%);\n transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n backdrop-filter: blur(16px);\n}\n\n.devtools-open .devtools-panel {\n transform: translateY(0);\n}\n\n@media (min-width: 640px) {\n .devtools-panel {\n width: 60%;\n right: 0;\n }\n}\n\n.devtools-header {\n padding: 12px;\n border-bottom: 1px solid #27272a;\n}\n\n.devtools-tabs {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 12px;\n border-right: 1px solid #27272a;\n background: #1c1c1f;\n}\n\n.devtools-tabs button {\n padding: 4px;\n background: transparent;\n border: none;\n color: #a1a1aa;\n cursor: pointer;\n border-radius: 6px;\n transition: all 0.2s ease;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 36px;\n height: 36px;\n}\n\n.devtools-tabs button:hover {\n background: #27272a;\n color: #fff;\n}\n\n.devtools-tabs button.tab-active {\n background: #3b82f6;\n color: white;\n}\n\n.devtools-content {\n padding: 16px;\n height: 100%;\n overflow-y: auto;\n flex: 1;\n}\n\n.tab-content h3 {\n margin: 0 0 16px 0;\n font-size: 18px;\n font-weight: 600;\n}\n\n.info-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n gap: 16px;\n}\n\n.info-item {\n background: #27272a;\n padding: 12px;\n border-radius: 8px;\n}\n\n.info-label {\n display: block;\n color: #a1a1aa;\n font-size: 12px;\n margin-bottom: 4px;\n}\n\n.info-value {\n font-size: 14px;\n font-weight: 500;\n}\n\n/* Asset specific styles */\n.assets-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));\n gap: 1.25rem;\n margin-top: 1.5rem;\n padding: 0.5rem;\n}\n\n.asset-card {\n background: rgba(255, 255, 255, 0.03);\n border: 1px solid rgba(255, 255, 255, 0.08);\n border-radius: 8px;\n overflow: hidden;\n transition: all 0.2s ease;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.asset-card:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n border-color: rgba(255, 255, 255, 0.15);\n}\n\n.asset-preview {\n height: 120px;\n background: rgba(0, 0, 0, 0.3);\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-bottom: 1px solid rgba(255, 255, 255, 0.08);\n}\n\n.asset-preview img {\n width: 70%;\n height: 70%;\n object-fit: contain;\n padding: 0.5rem;\n}\n\n.file-preview {\n height: 120px;\n background: rgba(0, 0, 0, 0.2);\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid rgba(255, 255, 255, 0.08);\n}\n\n.file-ext {\n font-size: 1.5rem;\n font-weight: 600;\n color: rgba(255, 255, 255, 0.7);\n text-transform: uppercase;\n text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n}\n\n.asset-info {\n padding: 0.75rem;\n background: rgba(0, 0, 0, 0.2);\n}\n\n.asset-path {\n color: #fff;\n font-size: 0.875rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.asset-meta {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 0.5rem;\n}\n\n.asset-size {\n color: #94a3b8;\n font-size: 0.75rem;\n}\n\n.asset-type {\n color: #94a3b8;\n font-size: 0.75rem;\n padding: 0.25rem 0.5rem;\n background: rgba(255, 255, 255, 0.1);\n border-radius: 4px;\n letter-spacing: 0.025em;\n}\n\n.tab-content.overview {\n padding: 1.5rem;\n}\n\n.metrics-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1.25rem;\n margin-bottom: 2rem;\n}\n\n.metric-card {\n background: rgba(255, 255, 255, 0.03);\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 12px;\n padding: 1.25rem;\n display: flex;\n align-items: center;\n gap: 1.25rem;\n transition: all 0.2s ease;\n}\n\n.metric-card:hover {\n background: rgba(255, 255, 255, 0.05);\n transform: translateY(-1px);\n}\n\n.metric-icon {\n background: rgba(255, 255, 255, 0.05);\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 10px;\n padding: 0.875rem;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s ease;\n}\n\n.metric-card:hover .metric-icon {\n background: rgba(255, 255, 255, 0.08);\n}\n\n.icon {\n width: 1.5rem;\n height: 1.5rem;\n color: #10b981;\n}\n\n.metric-content {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n}\n\n.metric-value {\n font-size: 1.75rem;\n font-weight: 600;\n color: #fff;\n line-height: 1.2;\n}\n\n.metric-label {\n color: #94a3b8;\n font-size: 0.875rem;\n font-weight: 500;\n letter-spacing: 0.01em;\n}\n\n.performance-section {\n background: rgba(255, 255, 255, 0.03);\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 12px;\n padding: 1.25rem;\n}\n\n.performance-section h3 {\n margin: 0 0 1.25rem 0;\n font-size: 1rem;\n font-weight: 600;\n color: #fff;\n letter-spacing: 0.01em;\n}\n\n.performance-metrics {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n}\n\n.perf-item {\n display: flex;\n justify-content: space-between;\n color: #94a3b8;\n font-size: 0.875rem;\n padding: 0.5rem 0;\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.perf-item:last-child {\n border-bottom: none;\n}\n\n.perf-value {\n color: #fff;\n font-weight: 500;\n}\n\n.header-section {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 2rem;\n padding-bottom: 1.5rem;\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.title-container {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n}\n\n.qwik-logo {\n width: 2rem;\n height: 2rem;\n}\n\n.title-container h1 {\n font-size: 1.5rem;\n font-weight: 600;\n color: #fff;\n margin: 0;\n}\n\n.version {\n font-size: 0.875rem;\n color: #94a3b8;\n font-weight: 500;\n padding: 0.25rem 0.75rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 9999px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.packages-section {\n background: rgba(255, 255, 255, 0.03);\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 12px;\n padding: 1.25rem;\n margin-bottom: 1.25rem;\n}\n\n.packages-section h3 {\n margin: 0 0 1.25rem 0;\n font-size: 1rem;\n font-weight: 600;\n color: #fff;\n letter-spacing: 0.01em;\n}\n\n.packages-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\n gap: 0.75rem;\n}\n\n.package-item {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.75rem 1rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 8px;\n transition: all 0.2s ease;\n}\n\n.package-item:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n\n.package-name {\n color: #fff;\n font-size: 0.875rem;\n font-weight: 500;\n}\n\n.package-version {\n color: #94a3b8;\n font-size: 0.75rem;\n font-weight: 500;\n padding: 0.25rem 0.5rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 9999px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.tab-content.assets {\n padding: 1.5rem;\n}\n\n.assets-stats {\n display: flex;\n gap: 1rem;\n}\n\n.stat-item {\n color: #94a3b8;\n font-size: 0.875rem;\n padding: 0.25rem 0.75rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 9999px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.routes-table {\n background: #18181b;\n border-radius: 8px;\n overflow: hidden;\n}\n\n.table-header {\n display: grid;\n grid-template-columns: 2fr 1fr 1fr 1fr;\n padding: 12px 16px;\n background: #27272a;\n font-weight: 500;\n border-bottom: 1px solid #3f3f46;\n}\n\n.table-row {\n display: grid;\n grid-template-columns: 2fr 1fr 1fr 1fr;\n padding: 12px 16px;\n border-bottom: 1px solid #27272a;\n align-items: center;\n}\n\n.table-row:hover {\n background: #27272a;\n}\n\n.active-route {\n background: #22c55e20;\n color: #22c55e;\n padding: 4px 8px;\n border-radius: 4px;\n}\n\n.col-route {\n font-family: monospace;\n}\n\n.custom-layout {\n color: #3b82f6;\n}\n\n.toggle-icon {\n width: 20px;\n height: 20px;\n transition: all 0.3s ease;\n filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));\n opacity: 0.9;\n}\n\n.devtools-toggle:hover .toggle-icon {\n transform: scale(1.1);\n filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));\n opacity: 1;\n}\n";
3
+ module.exports = styles;
@@ -0,0 +1,4 @@
1
+ const styles = ".devtools-container {\n position: fixed;\n bottom: 0;\n right: 0;\n z-index: 9999;\n font-family:\n system-ui,\n -apple-system,\n sans-serif;\n}\n\n.devtools-toggle {\n position: fixed;\n bottom: 16px;\n right: 16px;\n width: 36px;\n height: 36px;\n background: #18181b;\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n box-shadow:\n 0 4px 12px rgba(0, 0, 0, 0.15),\n inset 0 1px 1px rgba(255, 255, 255, 0.1);\n transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n transform-origin: center;\n overflow: hidden;\n backdrop-filter: blur(8px);\n animation: glow 2s ease-in-out infinite;\n}\n\n@keyframes glow {\n 0% {\n box-shadow:\n 0 4px 12px rgba(0, 0, 0, 0.15),\n inset 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n 50% {\n box-shadow:\n 0 4px 12px rgba(0, 220, 130, 0.35),\n inset 0 1px 1px rgba(255, 255, 255, 0.1),\n 0 0 25px rgba(0, 220, 130, 0.25);\n border-color: rgba(0, 220, 130, 0.5);\n }\n 100% {\n box-shadow:\n 0 4px 12px rgba(0, 0, 0, 0.15),\n inset 0 1px 1px rgba(255, 255, 255, 0.1);\n }\n}\n\n.devtools-toggle:hover {\n transform: scale(1.05);\n box-shadow:\n 0 6px 16px rgba(0, 220, 130, 0.4),\n inset 0 1px 1px rgba(255, 255, 255, 0.15),\n 0 0 30px rgba(0, 220, 130, 0.3);\n border-color: rgba(0, 220, 130, 0.6);\n background: #1c1c1f;\n animation: none;\n}\n\n.devtools-toggle:active {\n transform: scale(0.98);\n box-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.15),\n inset 0 1px 1px rgba(255, 255, 255, 0.1);\n animation: none;\n}\n\n.devtools-toggle.is-open {\n transform: rotate(90deg);\n background: #1c1c1f;\n animation: none;\n border-color: rgba(0, 220, 130, 0.5);\n box-shadow:\n 0 4px 12px rgba(0, 220, 130, 0.35),\n inset 0 1px 1px rgba(255, 255, 255, 0.1),\n 0 0 25px rgba(0, 220, 130, 0.25);\n}\n\n.devtools-toggle.is-open:hover {\n transform: rotate(90deg) scale(1.05);\n box-shadow:\n 0 6px 16px rgba(0, 220, 130, 0.4),\n inset 0 1px 1px rgba(255, 255, 255, 0.15),\n 0 0 30px rgba(0, 220, 130, 0.3);\n}\n\n.devtools-panel {\n position: fixed;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 50vh;\n background: #18181b;\n border-top: 1px solid rgba(255, 255, 255, 0.1);\n color: #fff;\n box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);\n display: flex;\n transform: translateY(100%);\n transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n backdrop-filter: blur(16px);\n}\n\n.devtools-open .devtools-panel {\n transform: translateY(0);\n}\n\n@media (min-width: 640px) {\n .devtools-panel {\n width: 60%;\n right: 0;\n }\n}\n\n.devtools-header {\n padding: 12px;\n border-bottom: 1px solid #27272a;\n}\n\n.devtools-tabs {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 12px;\n border-right: 1px solid #27272a;\n background: #1c1c1f;\n}\n\n.devtools-tabs button {\n padding: 4px;\n background: transparent;\n border: none;\n color: #a1a1aa;\n cursor: pointer;\n border-radius: 6px;\n transition: all 0.2s ease;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 36px;\n height: 36px;\n}\n\n.devtools-tabs button:hover {\n background: #27272a;\n color: #fff;\n}\n\n.devtools-tabs button.tab-active {\n background: #3b82f6;\n color: white;\n}\n\n.devtools-content {\n padding: 16px;\n height: 100%;\n overflow-y: auto;\n flex: 1;\n}\n\n.tab-content h3 {\n margin: 0 0 16px 0;\n font-size: 18px;\n font-weight: 600;\n}\n\n.info-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));\n gap: 16px;\n}\n\n.info-item {\n background: #27272a;\n padding: 12px;\n border-radius: 8px;\n}\n\n.info-label {\n display: block;\n color: #a1a1aa;\n font-size: 12px;\n margin-bottom: 4px;\n}\n\n.info-value {\n font-size: 14px;\n font-weight: 500;\n}\n\n/* Asset specific styles */\n.assets-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));\n gap: 1.25rem;\n margin-top: 1.5rem;\n padding: 0.5rem;\n}\n\n.asset-card {\n background: rgba(255, 255, 255, 0.03);\n border: 1px solid rgba(255, 255, 255, 0.08);\n border-radius: 8px;\n overflow: hidden;\n transition: all 0.2s ease;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.asset-card:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n border-color: rgba(255, 255, 255, 0.15);\n}\n\n.asset-preview {\n height: 120px;\n background: rgba(0, 0, 0, 0.3);\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-bottom: 1px solid rgba(255, 255, 255, 0.08);\n}\n\n.asset-preview img {\n width: 70%;\n height: 70%;\n object-fit: contain;\n padding: 0.5rem;\n}\n\n.file-preview {\n height: 120px;\n background: rgba(0, 0, 0, 0.2);\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid rgba(255, 255, 255, 0.08);\n}\n\n.file-ext {\n font-size: 1.5rem;\n font-weight: 600;\n color: rgba(255, 255, 255, 0.7);\n text-transform: uppercase;\n text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n}\n\n.asset-info {\n padding: 0.75rem;\n background: rgba(0, 0, 0, 0.2);\n}\n\n.asset-path {\n color: #fff;\n font-size: 0.875rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.asset-meta {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 0.5rem;\n}\n\n.asset-size {\n color: #94a3b8;\n font-size: 0.75rem;\n}\n\n.asset-type {\n color: #94a3b8;\n font-size: 0.75rem;\n padding: 0.25rem 0.5rem;\n background: rgba(255, 255, 255, 0.1);\n border-radius: 4px;\n letter-spacing: 0.025em;\n}\n\n.tab-content.overview {\n padding: 1.5rem;\n}\n\n.metrics-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1.25rem;\n margin-bottom: 2rem;\n}\n\n.metric-card {\n background: rgba(255, 255, 255, 0.03);\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 12px;\n padding: 1.25rem;\n display: flex;\n align-items: center;\n gap: 1.25rem;\n transition: all 0.2s ease;\n}\n\n.metric-card:hover {\n background: rgba(255, 255, 255, 0.05);\n transform: translateY(-1px);\n}\n\n.metric-icon {\n background: rgba(255, 255, 255, 0.05);\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 10px;\n padding: 0.875rem;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s ease;\n}\n\n.metric-card:hover .metric-icon {\n background: rgba(255, 255, 255, 0.08);\n}\n\n.icon {\n width: 1.5rem;\n height: 1.5rem;\n color: #10b981;\n}\n\n.metric-content {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n}\n\n.metric-value {\n font-size: 1.75rem;\n font-weight: 600;\n color: #fff;\n line-height: 1.2;\n}\n\n.metric-label {\n color: #94a3b8;\n font-size: 0.875rem;\n font-weight: 500;\n letter-spacing: 0.01em;\n}\n\n.performance-section {\n background: rgba(255, 255, 255, 0.03);\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 12px;\n padding: 1.25rem;\n}\n\n.performance-section h3 {\n margin: 0 0 1.25rem 0;\n font-size: 1rem;\n font-weight: 600;\n color: #fff;\n letter-spacing: 0.01em;\n}\n\n.performance-metrics {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n}\n\n.perf-item {\n display: flex;\n justify-content: space-between;\n color: #94a3b8;\n font-size: 0.875rem;\n padding: 0.5rem 0;\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.perf-item:last-child {\n border-bottom: none;\n}\n\n.perf-value {\n color: #fff;\n font-weight: 500;\n}\n\n.header-section {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 2rem;\n padding-bottom: 1.5rem;\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.title-container {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n}\n\n.qwik-logo {\n width: 2rem;\n height: 2rem;\n}\n\n.title-container h1 {\n font-size: 1.5rem;\n font-weight: 600;\n color: #fff;\n margin: 0;\n}\n\n.version {\n font-size: 0.875rem;\n color: #94a3b8;\n font-weight: 500;\n padding: 0.25rem 0.75rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 9999px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.packages-section {\n background: rgba(255, 255, 255, 0.03);\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 12px;\n padding: 1.25rem;\n margin-bottom: 1.25rem;\n}\n\n.packages-section h3 {\n margin: 0 0 1.25rem 0;\n font-size: 1rem;\n font-weight: 600;\n color: #fff;\n letter-spacing: 0.01em;\n}\n\n.packages-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\n gap: 0.75rem;\n}\n\n.package-item {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.75rem 1rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 8px;\n transition: all 0.2s ease;\n}\n\n.package-item:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n\n.package-name {\n color: #fff;\n font-size: 0.875rem;\n font-weight: 500;\n}\n\n.package-version {\n color: #94a3b8;\n font-size: 0.75rem;\n font-weight: 500;\n padding: 0.25rem 0.5rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 9999px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.tab-content.assets {\n padding: 1.5rem;\n}\n\n.assets-stats {\n display: flex;\n gap: 1rem;\n}\n\n.stat-item {\n color: #94a3b8;\n font-size: 0.875rem;\n padding: 0.25rem 0.75rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 9999px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.routes-table {\n background: #18181b;\n border-radius: 8px;\n overflow: hidden;\n}\n\n.table-header {\n display: grid;\n grid-template-columns: 2fr 1fr 1fr 1fr;\n padding: 12px 16px;\n background: #27272a;\n font-weight: 500;\n border-bottom: 1px solid #3f3f46;\n}\n\n.table-row {\n display: grid;\n grid-template-columns: 2fr 1fr 1fr 1fr;\n padding: 12px 16px;\n border-bottom: 1px solid #27272a;\n align-items: center;\n}\n\n.table-row:hover {\n background: #27272a;\n}\n\n.active-route {\n background: #22c55e20;\n color: #22c55e;\n padding: 4px 8px;\n border-radius: 4px;\n}\n\n.col-route {\n font-family: monospace;\n}\n\n.custom-layout {\n color: #3b82f6;\n}\n\n.toggle-icon {\n width: 20px;\n height: 20px;\n transition: all 0.3s ease;\n filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));\n opacity: 0.9;\n}\n\n.devtools-toggle:hover .toggle-icon {\n transform: scale(1.1);\n filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));\n opacity: 1;\n}\n";
2
+ export {
3
+ styles as default
4
+ };