@c15t/dev-tools 0.0.1-rc.3

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 (89) hide show
  1. package/.turbo/turbo-build.log +56 -0
  2. package/.turbo/turbo-fmt.log +6 -0
  3. package/.turbo/turbo-lint.log +73 -0
  4. package/CHANGELOG.md +23 -0
  5. package/LICENSE.md +595 -0
  6. package/README.md +47 -0
  7. package/dist/components/error-state.cjs +126 -0
  8. package/dist/components/error-state.d.ts +6 -0
  9. package/dist/components/error-state.d.ts.map +1 -0
  10. package/dist/components/error-state.js +110 -0
  11. package/dist/components/header.cjs +88 -0
  12. package/dist/components/header.d.ts +8 -0
  13. package/dist/components/header.d.ts.map +1 -0
  14. package/dist/components/header.js +56 -0
  15. package/dist/components/ui/accordion.cjs +119 -0
  16. package/dist/components/ui/accordion.d.ts +34 -0
  17. package/dist/components/ui/accordion.d.ts.map +1 -0
  18. package/dist/components/ui/accordion.js +84 -0
  19. package/dist/components/ui/alert.cjs +104 -0
  20. package/dist/components/ui/alert.d.ts +25 -0
  21. package/dist/components/ui/alert.d.ts.map +1 -0
  22. package/dist/components/ui/alert.js +67 -0
  23. package/dist/components/ui/button.cjs +95 -0
  24. package/dist/components/ui/button.d.ts +28 -0
  25. package/dist/components/ui/button.d.ts.map +1 -0
  26. package/dist/components/ui/button.js +55 -0
  27. package/dist/components/ui/card.cjs +120 -0
  28. package/dist/components/ui/card.d.ts +30 -0
  29. package/dist/components/ui/card.d.ts.map +1 -0
  30. package/dist/components/ui/card.js +99 -0
  31. package/dist/components/ui/expandable-tabs.cjs +201 -0
  32. package/dist/components/ui/expandable-tabs.d.ts +29 -0
  33. package/dist/components/ui/expandable-tabs.d.ts.map +1 -0
  34. package/dist/components/ui/expandable-tabs.js +170 -0
  35. package/dist/components/ui/overlay.cjs +69 -0
  36. package/dist/components/ui/overlay.d.ts +7 -0
  37. package/dist/components/ui/overlay.d.ts.map +1 -0
  38. package/dist/components/ui/overlay.js +28 -0
  39. package/dist/components/ui/scroll-area.cjs +105 -0
  40. package/dist/components/ui/scroll-area.d.ts +19 -0
  41. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  42. package/dist/components/ui/scroll-area.js +74 -0
  43. package/dist/components/ui/switch.cjs +71 -0
  44. package/dist/components/ui/switch.d.ts +11 -0
  45. package/dist/components/ui/switch.d.ts.map +1 -0
  46. package/dist/components/ui/switch.js +33 -0
  47. package/dist/components/ui/tooltip.cjs +75 -0
  48. package/dist/components/ui/tooltip.d.ts +16 -0
  49. package/dist/components/ui/tooltip.d.ts.map +1 -0
  50. package/dist/components/ui/tooltip.js +38 -0
  51. package/dist/components/wrapper.cjs +197 -0
  52. package/dist/components/wrapper.d.ts +24 -0
  53. package/dist/components/wrapper.d.ts.map +1 -0
  54. package/dist/components/wrapper.js +165 -0
  55. package/dist/dev-tool.cjs +164 -0
  56. package/dist/dev-tool.d.ts +14 -0
  57. package/dist/dev-tool.d.ts.map +1 -0
  58. package/dist/dev-tool.js +110 -0
  59. package/dist/index.cjs +46 -0
  60. package/dist/index.d.ts +3 -0
  61. package/dist/index.d.ts.map +1 -0
  62. package/dist/index.js +4 -0
  63. package/dist/libs/utils.cjs +69 -0
  64. package/dist/libs/utils.d.ts +3 -0
  65. package/dist/libs/utils.d.ts.map +1 -0
  66. package/dist/libs/utils.js +8 -0
  67. package/dist/router/router.cjs +278 -0
  68. package/dist/router/router.d.ts +8 -0
  69. package/dist/router/router.d.ts.map +1 -0
  70. package/dist/router/router.js +261 -0
  71. package/package.json +48 -0
  72. package/rslib.config.ts +28 -0
  73. package/src/components/error-state.tsx +44 -0
  74. package/src/components/header.tsx +28 -0
  75. package/src/components/ui/accordion.tsx +64 -0
  76. package/src/components/ui/alert.tsx +59 -0
  77. package/src/components/ui/button.tsx +56 -0
  78. package/src/components/ui/card.tsx +81 -0
  79. package/src/components/ui/expandable-tabs.tsx +174 -0
  80. package/src/components/ui/overlay.tsx +21 -0
  81. package/src/components/ui/scroll-area.tsx +52 -0
  82. package/src/components/ui/switch.tsx +28 -0
  83. package/src/components/ui/tooltip.tsx +32 -0
  84. package/src/components/wrapper.tsx +103 -0
  85. package/src/dev-tool.tsx +117 -0
  86. package/src/index.ts +3 -0
  87. package/src/libs/utils.ts +6 -0
  88. package/src/router/router.tsx +164 -0
  89. package/tsconfig.json +12 -0
@@ -0,0 +1,56 @@
1
+
2
+ 
3
+ > @c15t/dev-tools@0.0.1-rc.2 build /Users/christopherburns/glados/k/c15t/packages/dev-tools
4
+ > rslib build
5
+
6
+   Rslib v0.4.1
7
+ 
8
+ ready  Built in 0.16 s (esm)
9
+ ready  Built in 0.16 s (cjs)
10
+ start  Generating DTS... (esm)
11
+ start  Generating DTS... (cjs)
12
+ ready  DTS generated in 1.71 s (esm)
13
+ ready  DTS generated in 1.71 s (cjs)
14
+
15
+  File (cjs) Size Gzip 
16
+ dist/index.cjs 1.4 kB
17
+ dist/libs/utils.cjs 1.9 kB
18
+ dist/components/ui/overlay.cjs 2.1 kB
19
+ dist/components/ui/switch.cjs 2.6 kB
20
+ dist/components/ui/tooltip.cjs 2.8 kB
21
+ dist/components/header.cjs 2.9 kB
22
+ dist/components/ui/alert.cjs 3.3 kB
23
+ dist/components/ui/button.cjs 3.3 kB
24
+ dist/components/ui/scroll-area.cjs 3.3 kB
25
+ dist/components/ui/card.cjs 3.7 kB
26
+ dist/components/ui/accordion.cjs 3.8 kB
27
+ dist/components/error-state.cjs 4.3 kB
28
+ dist/dev-tool.cjs 5.1 kB
29
+ dist/components/ui/expandable-tabs.cjs 5.8 kB
30
+ dist/components/wrapper.cjs 5.9 kB
31
+ dist/router/router.cjs 9.8 kB
32
+
33
+ Total: 62.1 kB (gzip: 0.00 kB)
34
+
35
+  -----
36
+
37
+  File (esm) Size Gzip 
38
+ dist/index.js 0.22 kB 0.17 kB
39
+ dist/libs/utils.js 0.32 kB 0.19 kB
40
+ dist/components/ui/overlay.js 1.0 kB 0.42 kB
41
+ dist/components/ui/switch.js 1.7 kB 0.62 kB
42
+ dist/components/ui/tooltip.js 1.8 kB 0.60 kB
43
+ dist/components/header.js 2.0 kB 0.51 kB
44
+ dist/components/ui/alert.js 2.2 kB 0.69 kB
45
+ dist/components/ui/button.js 2.2 kB 0.82 kB
46
+ dist/components/ui/scroll-area.js 2.6 kB 0.67 kB
47
+ dist/components/ui/card.js 2.8 kB 0.55 kB
48
+ dist/components/ui/accordion.js 3.1 kB 0.75 kB
49
+ dist/components/error-state.js 3.6 kB 0.79 kB
50
+ dist/dev-tool.js 3.8 kB 1.0 kB
51
+ dist/components/ui/expandable-tabs.js 5.1 kB 1.4 kB
52
+ dist/components/wrapper.js 5.4 kB 1.1 kB
53
+ dist/router/router.js 9.6 kB 1.8 kB
54
+
55
+ Total: 47.7 kB (gzip: 12.0 kB)
56
+
@@ -0,0 +1,6 @@
1
+
2
+ 
3
+ > @c15t/dev-tools@0.0.1-rc.3 fmt /Users/christopherburns/glados/k/c15t/packages/dev-tools
4
+ > pnpm biome format --write .
5
+
6
+ Formatted 67 files in 45ms. Fixed 48 files.
@@ -0,0 +1,73 @@
1
+
2
+ 
3
+ > @c15t/dev-tools@0.0.1-rc.3 lint /Users/christopherburns/glados/k/c15t/packages/dev-tools
4
+ > pnpm biome lint ./src
5
+
6
+ ./src/components/ui/expandable-tabs.tsx:157:8 suppressions/unused ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
7
+
8
+  ⚠ Suppression comment has no effect. Remove the suppression or make sure you are suppressing the correct rule.
9
+  
10
+   155 │      <Separator
11
+   156 │       key={`separator-${
12
+  > 157 │        // biome-ignore lint/suspicious/noArrayIndexKey: <explanation>
13
+      │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
+   158 │        index
15
+   159 │       }`}
16
+  
17
+ 
18
+ ./src/router/router.tsx:68:6 ]8;;https://biomejs.dev/linter/rules/no-nested-ternary\lint/nursery/noNestedTernary]8;;\ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
19
+
20
+  ⚠ Do not nest ternary expressions.
21
+  
22
+   66 │      status: value ? 'Enabled' : 'Disabled',
23
+   67 │     }))
24
+  > 68 │    : activeSection === 'Compliance'
25
+     │      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26
+  > 69 │     ? Object.entries(privacyConsent.complianceSettings).map(
27
+     ...
28
+  > 80 │       }))
29
+  > 81 │      : [];
30
+     │      ^^^^
31
+   82 │ 
32
+   83 │  const handleResetConsent = useCallback(() => {
33
+  
34
+  ℹ Nesting ternary expressions can make code more difficult to understand.
35
+  
36
+  ℹ Convert nested ternary expression into if-else statements or separate the conditions to make the logic easier to understand.
37
+  
38
+ 
39
+ ./src/router/router.tsx:75:7 ]8;;https://biomejs.dev/linter/rules/no-nested-ternary\lint/nursery/noNestedTernary]8;;\ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
40
+
41
+  ⚠ Do not nest ternary expressions.
42
+  
43
+   73 │       })
44
+   74 │      )
45
+  > 75 │     : activeSection === 'Conditional'
46
+     │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47
+  > 76 │      ? renderingState.map((item) => ({
48
+     ...
49
+  > 80 │       }))
50
+  > 81 │      : [];
51
+     │      ^^^^
52
+   82 │ 
53
+   83 │  const handleResetConsent = useCallback(() => {
54
+  
55
+  ℹ Nesting ternary expressions can make code more difficult to understand.
56
+  
57
+  ℹ Convert nested ternary expression into if-else statements or separate the conditions to make the logic easier to understand.
58
+  
59
+ 
60
+ ./src/index.ts:1:10 ]8;;https://biomejs.dev/linter/rules/no-exported-imports\lint/nursery/noExportedImports]8;;\ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
61
+
62
+  ⚠ An import should not be exported. Use export from instead.
63
+  
64
+  > 1 │ import { ConsentManagerDevTool } from './dev-tool';
65
+    │          ^^^^^^^^^^^^^^^^^^^^^
66
+   2 │ 
67
+   3 │ export default ConsentManagerDevTool;
68
+  
69
+  ℹ export from makes it clearer that the intention is to re-export a variable.
70
+  
71
+ 
72
+ Checked 16 files in 18ms. No fixes applied.
73
+ Found 4 warnings.
package/CHANGELOG.md ADDED
@@ -0,0 +1,23 @@
1
+ # @c15t/dev-tools
2
+
3
+ ## 1.0.0-rc.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Refactored package.json imports
8
+
9
+ ## 0.0.1-beta.10
10
+
11
+ ### Patch Changes
12
+
13
+ - all build tools now use rslib + new formatting from biomejs
14
+ - Updated dependencies
15
+ - c15t@0.0.1
16
+
17
+ ## 0.0.1-beta.9
18
+
19
+ ### Patch Changes
20
+
21
+ - 1912aa9: Refactored codebase to use Ultracite Biome Config for stricter linting
22
+ - Updated dependencies [1912aa9]
23
+ - c15t@0.0.1-beta.9