@editorcn/editor 0.1.2 → 0.2.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/dist/style.css CHANGED
@@ -5,8 +5,8 @@
5
5
  border: 1px solid var(--border);
6
6
  background-color: var(--background);
7
7
  transition:
8
- border-color 0.2s ease,
9
- box-shadow 0.2s ease;
8
+ border-color 150ms ease-out,
9
+ box-shadow 150ms ease-out;
10
10
  }
11
11
 
12
12
  .rte-editor-icon {
@@ -23,13 +23,13 @@ button.rte-control-button {
23
23
  width: 2rem;
24
24
  padding: 0;
25
25
  transition:
26
- background-color 0.15s ease,
27
- color 0.15s ease,
28
- transform 0.1s ease;
26
+ background-color 150ms ease-out,
27
+ color 150ms ease-out,
28
+ transform 100ms ease-out;
29
29
  }
30
30
 
31
31
  button.rte-control-button:active {
32
- transform: scale(0.95);
32
+ transform: scale(0.96);
33
33
  }
34
34
 
35
35
  /* ── Editor Content ── */
@@ -50,7 +50,7 @@ button.rte-control-button:active {
50
50
  float: left;
51
51
  height: 0;
52
52
  color: var(--muted-foreground);
53
- transition: opacity 0.2s ease;
53
+ transition: opacity 150ms ease-out;
54
54
  }
55
55
 
56
56
  .rte-content .ProseMirror p {
@@ -165,14 +165,11 @@ button.rte-control-button:active {
165
165
  font-style: italic;
166
166
  }
167
167
 
168
- .rte-content .ProseMirror code {
169
- background-color: var(--muted);
170
- color: var(--foreground);
171
- border-radius: calc(var(--radius) - 2px);
172
- padding: 0.125rem 0.375rem;
173
- font-family: var(--font-mono);
174
- font-size: 0.875em;
175
- border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
168
+ .rte-content .ProseMirror pre code {
169
+ color: inherit;
170
+ background: none;
171
+ padding: 0;
172
+ font-weight: 400;
176
173
  }
177
174
 
178
175
  .rte-content .ProseMirror pre {
@@ -209,8 +206,8 @@ button.rte-control-button:active {
209
206
  text-underline-offset: 4px;
210
207
  cursor: pointer;
211
208
  transition:
212
- color 0.2s ease,
213
- text-decoration-color 0.2s ease;
209
+ color 150ms ease-out,
210
+ text-decoration-color 150ms ease-out;
214
211
  text-decoration-color: color-mix(in srgb, var(--primary) 40%, transparent);
215
212
  }
216
213
 
@@ -226,7 +223,7 @@ button.rte-control-button:active {
226
223
  /* Syntax Highlighting */
227
224
  .rte-content .ProseMirror pre .hljs-comment,
228
225
  .rte-content .ProseMirror pre .hljs-quote {
229
- color: var(--muted-foreground);
226
+ color: #6c7086;
230
227
  }
231
228
 
232
229
  .rte-content .ProseMirror pre .hljs-variable,
@@ -238,7 +235,7 @@ button.rte-control-button:active {
238
235
  .rte-content .ProseMirror pre .hljs-name,
239
236
  .rte-content .ProseMirror pre .hljs-selector-id,
240
237
  .rte-content .ProseMirror pre .hljs-selector-class {
241
- color: var(--primary);
238
+ color: #89b4fa;
242
239
  }
243
240
 
244
241
  .rte-content .ProseMirror pre .hljs-number,
@@ -248,23 +245,57 @@ button.rte-control-button:active {
248
245
  .rte-content .ProseMirror pre .hljs-literal,
249
246
  .rte-content .ProseMirror pre .hljs-type,
250
247
  .rte-content .ProseMirror pre .hljs-params {
251
- color: var(--destructive);
248
+ color: #fab387;
252
249
  }
253
250
 
254
251
  .rte-content .ProseMirror pre .hljs-string,
255
252
  .rte-content .ProseMirror pre .hljs-symbol,
256
253
  .rte-content .ProseMirror pre .hljs-bullet {
257
- color: var(--primary);
254
+ color: #a6e3a1;
258
255
  }
259
256
 
260
257
  .rte-content .ProseMirror pre .hljs-title,
261
258
  .rte-content .ProseMirror pre .hljs-section {
262
- color: var(--accent-foreground);
259
+ color: #f9e2af;
263
260
  }
264
261
 
265
262
  .rte-content .ProseMirror pre .hljs-keyword,
266
263
  .rte-content .ProseMirror pre .hljs-selector-tag {
267
- color: var(--accent-foreground);
264
+ color: #cba6f7;
265
+ }
266
+
267
+ /* Object/JSON keys & HTML/XML attribute names (previously missing) */
268
+ .rte-content .ProseMirror pre .hljs-attr {
269
+ color: #89b4fa;
270
+ }
271
+
272
+ /* JSDoc-style tags, e.g. @param, @returns */
273
+ .rte-content .ProseMirror pre .hljs-doctag {
274
+ color: #f38ba8;
275
+ font-weight: 600;
276
+ }
277
+
278
+ /* Operators & punctuation (finer-grained grammars) */
279
+ .rte-content .ProseMirror pre .hljs-operator,
280
+ .rte-content .ProseMirror pre .hljs-punctuation {
281
+ color: #9399b2;
282
+ }
283
+
284
+ /* CSS selector attributes/pseudo-classes, e.g. [type="text"], :hover */
285
+ .rte-content .ProseMirror pre .hljs-selector-attr,
286
+ .rte-content .ProseMirror pre .hljs-selector-pseudo {
287
+ color: #94e2d5;
288
+ }
289
+
290
+ /* Language-level variables, e.g. this, super */
291
+ .rte-content .ProseMirror pre .hljs-variable.language_ {
292
+ color: #cba6f7;
293
+ font-style: italic;
294
+ }
295
+
296
+ /* Template literal substitutions, e.g. ${...} */
297
+ .rte-content .ProseMirror pre .hljs-subst {
298
+ color: #cdd6f4;
268
299
  }
269
300
 
270
301
  .rte-content .ProseMirror pre .hljs-emphasis {
@@ -274,6 +305,25 @@ button.rte-control-button:active {
274
305
  font-weight: 700;
275
306
  }
276
307
 
308
+ .rte-content .ProseMirror pre .hljs-addition {
309
+ color: #a6e3a1;
310
+ background-color: color-mix(in srgb, #a6e3a1 10%, transparent);
311
+ }
312
+
313
+ .rte-content .ProseMirror pre .hljs-deletion {
314
+ color: #f38ba8;
315
+ background-color: color-mix(in srgb, #f38ba8 10%, transparent);
316
+ }
317
+
318
+ .rte-content .ProseMirror code {
319
+ font-size: 0.875em;
320
+ font-weight: 500;
321
+ background: color-mix(in srgb, var(--muted) 70%, transparent);
322
+ padding: 0.125rem 0.375rem;
323
+ border-radius: calc(var(--radius) - 4px);
324
+ transition: background-color 150ms ease-out;
325
+ }
326
+
277
327
  /* ── Toolbars and Footer ── */
278
328
  .rte-toolbar {
279
329
  display: flex;
@@ -289,15 +339,25 @@ button.rte-control-button:active {
289
339
  border-bottom: 1px solid var(--border);
290
340
  padding: 0.5rem 0.75rem;
291
341
  transition:
292
- box-shadow 0.2s ease,
293
- background-color 0.2s ease;
342
+ box-shadow 150ms ease-out,
343
+ background-color 150ms ease-out;
294
344
  }
295
345
 
296
346
  .rte-toolbar[data-sticky] {
297
347
  position: sticky;
298
348
  background-color: color-mix(in srgb, var(--background) 85%, transparent);
299
349
  backdrop-filter: blur(8px);
300
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
350
+ box-shadow:
351
+ 0px 0px 0px 1px oklch(0 0 0 / 0.04),
352
+ 0px 4px 12px 0px oklch(0 0 0 / 0.05);
353
+ }
354
+
355
+ @media (prefers-color-scheme: dark) {
356
+ .rte-toolbar[data-sticky] {
357
+ box-shadow:
358
+ 0px 0px 0px 1px oklch(1 0 0 / 0.06),
359
+ 0px 4px 12px 0px oklch(0 0 0 / 0.3);
360
+ }
301
361
  }
302
362
 
303
363
  .rte-footer {
@@ -321,7 +381,17 @@ button.rte-control-button:active {
321
381
  bottom: 0;
322
382
  background-color: color-mix(in srgb, var(--background) 85%, transparent);
323
383
  backdrop-filter: blur(8px);
324
- box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
384
+ box-shadow:
385
+ 0px 0px 0px 1px oklch(0 0 0 / 0.04),
386
+ 0px -4px 12px 0px oklch(0 0 0 / 0.05);
387
+ }
388
+
389
+ @media (prefers-color-scheme: dark) {
390
+ .rte-footer[data-sticky] {
391
+ box-shadow:
392
+ 0px 0px 0px 1px oklch(1 0 0 / 0.06),
393
+ 0px -4px 12px 0px oklch(0 0 0 / 0.3);
394
+ }
325
395
  }
326
396
 
327
397
  .rte-footer-word-count {
@@ -361,7 +431,7 @@ button.rte-control-button:active {
361
431
  min-width: 1.625rem;
362
432
  height: 1.625rem;
363
433
  background-color: var(--background);
364
- transition: all 0.15s ease;
434
+ transition: background-color 150ms ease-out, color 150ms ease-out, box-shadow 150ms ease-out;
365
435
  }
366
436
  .rte-root[data-variant="default"]
367
437
  .rte-controls-group
@@ -396,11 +466,6 @@ button.rte-control-button:active {
396
466
  0 1px 3px rgba(0, 0, 0, 0.06),
397
467
  0 1px 2px rgba(0, 0, 0, 0.04);
398
468
  }
399
- .rte-root[data-variant="subtle"]:focus-within {
400
- box-shadow:
401
- 0 4px 12px rgba(0, 0, 0, 0.08),
402
- 0 0 0 1px var(--primary);
403
- }
404
469
  .rte-toolbar--subtle {
405
470
  border-bottom: 1px solid var(--border);
406
471
  padding: 0.25rem 0.375rem;
@@ -420,7 +485,7 @@ button.rte-control-button:active {
420
485
  min-width: 2rem;
421
486
  height: 2rem;
422
487
  background-color: transparent;
423
- transition: all 0.15s ease;
488
+ transition: background-color 150ms ease-out, color 150ms ease-out;
424
489
  }
425
490
  .rte-root[data-variant="subtle"] .rte-controls-group > button:hover {
426
491
  background-color: var(--accent);
@@ -458,7 +523,7 @@ button.rte-control-button:active {
458
523
  min-width: 1.5rem;
459
524
  height: 1.5rem;
460
525
  background-color: transparent;
461
- transition: all 0.15s ease;
526
+ transition: background-color 150ms ease-out, color 150ms ease-out;
462
527
  }
463
528
  .rte-root[data-variant="compact"] .rte-controls-group > button:hover {
464
529
  background-color: var(--accent);
@@ -511,7 +576,7 @@ button.rte-control-button:active {
511
576
  display: flex;
512
577
  align-items: flex-start;
513
578
  gap: 0.5rem;
514
- transition: opacity 0.2s ease;
579
+ transition: opacity 150ms ease-out;
515
580
  }
516
581
 
517
582
  .rte-task-list li[data-checked] {
@@ -550,13 +615,13 @@ button.rte-control-button:active {
550
615
  position: relative;
551
616
  flex-shrink: 0;
552
617
  transition:
553
- background-color 0.2s ease,
554
- border-color 0.2s ease,
555
- transform 0.1s ease;
618
+ background-color 150ms ease-out,
619
+ border-color 150ms ease-out,
620
+ transform 100ms ease-out;
556
621
  }
557
622
 
558
623
  .rte-task-list input[type="checkbox"]:active {
559
- transform: scale(0.9);
624
+ transform: scale(0.96);
560
625
  }
561
626
 
562
627
  .rte-task-list input[type="checkbox"]:checked {
@@ -564,7 +629,6 @@ button.rte-control-button:active {
564
629
  border-color: var(--primary);
565
630
  }
566
631
 
567
- /* Pop animation for the checkmark */
568
632
  @keyframes checkmark-in {
569
633
  0% {
570
634
  transform: scale(0.5) rotate(-15deg);
@@ -591,8 +655,8 @@ button.rte-control-button:active {
591
655
  .rte-embed-wrapper {
592
656
  margin: 1rem 0;
593
657
  transition:
594
- opacity 0.25s ease,
595
- transform 0.25s ease;
658
+ opacity 150ms ease-out,
659
+ transform 150ms ease-out;
596
660
  }
597
661
 
598
662
  .rte-embed-wrapper[data-align="left"] {
@@ -619,8 +683,8 @@ button.rte-control-button:active {
619
683
  background: var(--muted);
620
684
  display: inline-block;
621
685
  transition:
622
- outline-color 0.2s ease,
623
- box-shadow 0.2s ease;
686
+ outline-color 150ms ease-out,
687
+ box-shadow 150ms ease-out;
624
688
  }
625
689
 
626
690
  .rte-embed-iframe {
@@ -654,8 +718,8 @@ button.rte-control-button:active {
654
718
  z-index: 10;
655
719
  opacity: 0;
656
720
  transition:
657
- opacity 0.2s ease,
658
- background-color 0.2s ease;
721
+ opacity 150ms ease-out,
722
+ background-color 150ms ease-out;
659
723
  }
660
724
 
661
725
  .rte-embed-wrapper[data-selected] .rte-resize-handle {
@@ -679,8 +743,8 @@ button.rte-control-button:active {
679
743
  background: var(--primary);
680
744
  border-radius: 1px;
681
745
  transition:
682
- width 0.2s ease,
683
- inset 0.2s ease;
746
+ width 150ms ease-out,
747
+ inset 150ms ease-out;
684
748
  }
685
749
 
686
750
  .rte-resize-handle--right:hover::after {
@@ -707,8 +771,8 @@ button.rte-control-button:active {
707
771
  border-radius: 1px;
708
772
  bottom: 1px;
709
773
  transition:
710
- height 0.2s ease,
711
- bottom 0.2s ease;
774
+ height 150ms ease-out,
775
+ bottom 150ms ease-out;
712
776
  }
713
777
 
714
778
  .rte-resize-handle--bottom:hover::after {
@@ -725,9 +789,173 @@ button.rte-control-button:active {
725
789
  background: var(--primary);
726
790
  border: 2px solid var(--background);
727
791
  border-radius: 2px;
728
- transition: transform 0.15s ease;
792
+ transition: transform 150ms ease-out;
729
793
  }
730
794
 
731
795
  .rte-resize-handle--corner:hover {
732
796
  transform: scale(1.15);
733
797
  }
798
+
799
+ /* ── Bubble Menu ── */
800
+ @keyframes rte-bubble-pop-in {
801
+ 0% { opacity: 0; transform: scale(0.96) translateY(4px); }
802
+ 100% { opacity: 1; transform: scale(1) translateY(0); }
803
+ }
804
+
805
+ .rte-bubble-menu {
806
+ display: flex;
807
+ align-items: center;
808
+ height: 2.25rem;
809
+ background: var(--popover);
810
+ border: 1px solid var(--border);
811
+ border-radius: var(--radius);
812
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
813
+ padding: 0 0.25rem;
814
+ animation: rte-bubble-pop-in 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
815
+ }
816
+
817
+ .rte-bubble-group {
818
+ display: flex;
819
+ align-items: center;
820
+ gap: 1px;
821
+ }
822
+
823
+ .rte-bubble-separator {
824
+ width: 1px;
825
+ height: 1.25rem;
826
+ background: var(--border);
827
+ margin: 0 0.125rem;
828
+ flex-shrink: 0;
829
+ }
830
+
831
+ .rte-bubble-btn {
832
+ display: flex;
833
+ align-items: center;
834
+ gap: 0.25rem;
835
+ height: 1.75rem;
836
+ padding: 0 0.375rem;
837
+ border: none;
838
+ border-radius: calc(var(--radius) - 4px);
839
+ background: transparent;
840
+ color: var(--popover-foreground);
841
+ cursor: pointer;
842
+ font-size: 0.8125rem;
843
+ white-space: nowrap;
844
+ transition: background-color 150ms ease-out, color 150ms ease-out, transform 100ms ease-out;
845
+ }
846
+
847
+ .rte-bubble-btn:hover {
848
+ background: var(--accent);
849
+ color: var(--accent-foreground);
850
+ }
851
+
852
+ .rte-bubble-btn:active {
853
+ transform: scale(0.96);
854
+ }
855
+
856
+ .rte-bubble-btn--active {
857
+ color: var(--primary);
858
+ background: var(--accent);
859
+ }
860
+
861
+ .rte-bubble-btn-icon {
862
+ display: flex;
863
+ align-items: center;
864
+ justify-content: center;
865
+ flex-shrink: 0;
866
+ width: 1rem;
867
+ height: 1rem;
868
+ }
869
+
870
+ .rte-bubble-btn-icon svg {
871
+ width: 100%;
872
+ height: 100%;
873
+ }
874
+
875
+ .rte-bubble-btn-text {
876
+ max-width: 5rem;
877
+ overflow: hidden;
878
+ text-overflow: ellipsis;
879
+ }
880
+
881
+ .rte-bubble-overlay {
882
+ position: fixed;
883
+ inset: 0;
884
+ z-index: 999;
885
+ }
886
+
887
+ .rte-bubble-dropdown {
888
+ position: absolute;
889
+ top: 100%;
890
+ left: 0;
891
+ z-index: 1000;
892
+ min-width: 150px;
893
+ background: var(--popover);
894
+ border: 1px solid var(--border);
895
+ border-radius: var(--radius);
896
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
897
+ padding: 0.25rem;
898
+ margin-top: 4px;
899
+ transform-origin: top left;
900
+ animation: rte-bubble-pop-in 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
901
+ }
902
+
903
+ .rte-bubble-dropdown--language {
904
+ min-width: 160px;
905
+ max-height: 320px;
906
+ overflow-y: auto;
907
+ scrollbar-width: thin;
908
+ }
909
+
910
+ .rte-bubble-dropdown-item {
911
+ display: flex;
912
+ align-items: center;
913
+ justify-content:flex-start;
914
+ gap: 0.5rem;
915
+ width: 100%;
916
+ padding: 0.375rem 0.5rem;
917
+ font-size: 0.8125rem;
918
+ color: var(--popover-foreground);
919
+ background: transparent;
920
+ border: none;
921
+ border-radius: calc(var(--radius) - 4px);
922
+ cursor: pointer;
923
+ text-align: left;
924
+ transition: background-color 100ms ease-out, color 100ms ease-out;
925
+ }
926
+
927
+ .rte-bubble-dropdown-item:hover {
928
+ background: var(--accent);
929
+ color: var(--accent-foreground);
930
+ }
931
+
932
+ .rte-bubble-dropdown-item--active {
933
+ color: var(--primary);
934
+ background-color: color-mix(in srgb, var(--primary) 10%, transparent);
935
+ }
936
+
937
+ .rte-bubble-dropdown-icon {
938
+ display: flex;
939
+ align-items: center;
940
+ justify-content: center;
941
+ flex-shrink: 0;
942
+ color: var(--muted-foreground);
943
+ width: 1rem;
944
+ height: 1rem;
945
+ }
946
+
947
+ .rte-bubble-dropdown-icon svg {
948
+ width: 100%;
949
+ height: 100%;
950
+ }
951
+
952
+ .rte-bubble-dropdown-item--active .rte-bubble-dropdown-icon {
953
+ color: var(--primary);
954
+ }
955
+
956
+ /* ── Suppress transitions on theme switch ── */
957
+ .rte-theme-transitioning *,
958
+ .rte-theme-transitioning *::before,
959
+ .rte-theme-transitioning *::after {
960
+ transition: none !important;
961
+ }
package/package.json CHANGED
@@ -1,58 +1,63 @@
1
- {
2
- "name": "@editorcn/editor",
3
- "version": "0.1.2",
4
- "type": "module",
5
- "main": "./dist/index.cjs",
6
- "module": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js",
12
- "require": "./dist/index.cjs"
13
- },
14
- "./style.css": "./dist/style.css"
15
- },
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "files": ["dist"],
20
- "scripts": {
21
- "build": "tsup && node -e \"require('fs').copyFileSync('src/style.css','dist/style.css')\"",
22
- "dev": "tsup --watch",
23
- "check-types": "tsc --noEmit",
24
- "prepublishOnly": "pnpm build"
25
- },
26
- "peerDependencies": {
27
- "@base-ui/react": "^1.0.0",
28
- "@tiptap/core": ">=2.11.5 <4",
29
- "@tiptap/extension-code-block-lowlight": ">=2.11.5 <4",
30
- "@tiptap/extension-link": ">=2.11.5 <4",
31
- "@tiptap/extension-placeholder": ">=2.11.5 <4",
32
- "@tiptap/extension-underline": ">=2.11.5 <4",
33
- "@tiptap/pm": ">=2.11.5 <4",
34
- "@tiptap/react": ">=2.11.5 <4",
35
- "@tiptap/starter-kit": ">=2.11.5 <4",
36
- "class-variance-authority": "^0.7.1",
37
- "lowlight": "^3.3.0",
38
- "react": "^18 || ^19",
39
- "react-dom": "^18 || ^19"
40
- },
41
- "peerDependenciesMeta": {
42
- "@tiptap/extension-code-block-lowlight": {
43
- "optional": true
44
- },
45
- "@tiptap/extension-placeholder": {
46
- "optional": true
47
- }
48
- },
49
- "dependencies": {
50
- "clsx": "^2.1.1",
51
- "tailwind-merge": "^3.0.0"
52
- },
53
- "devDependencies": {
54
- "@types/react": "^19",
55
- "tsup": "^8.4.0",
56
- "typescript": "^5"
57
- }
58
- }
1
+ {
2
+ "name": "@editorcn/editor",
3
+ "version": "0.2.0",
4
+ "type": "module",
5
+ "main": "./dist/index.cjs",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.cjs"
13
+ },
14
+ "./style.css": "./dist/style.css"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsup && node -e \"require('fs').copyFileSync('src/style.css','dist/style.css')\"",
24
+ "dev": "tsup --watch",
25
+ "check-types": "tsc --noEmit",
26
+ "prepublishOnly": "pnpm build"
27
+ },
28
+ "peerDependencies": {
29
+ "@base-ui/react": "^1.0.0",
30
+ "@tiptap/core": ">=2.11.5 <4",
31
+ "@tiptap/extension-link": ">=2.11.5 <4",
32
+ "@tiptap/extension-placeholder": ">=2.11.5 <4",
33
+ "@tiptap/extension-underline": ">=2.11.5 <4",
34
+ "@tiptap/pm": ">=2.11.5 <4",
35
+ "@tiptap/react": ">=2.11.5 <4",
36
+ "@tiptap/starter-kit": ">=2.11.5 <4",
37
+ "class-variance-authority": "^0.7.1",
38
+ "react": "^18 || ^19",
39
+ "react-dom": "^18 || ^19",
40
+ "@tiptap/extension-code-block-lowlight": ">=2.11.5 <4",
41
+ "lowlight": ">=3.0.0 <4"
42
+ },
43
+ "peerDependenciesMeta": {
44
+ "@tiptap/extension-code-block-lowlight": {
45
+ "optional": true
46
+ },
47
+ "lowlight": {
48
+ "optional": true
49
+ },
50
+ "@tiptap/extension-placeholder": {
51
+ "optional": true
52
+ }
53
+ },
54
+ "dependencies": {
55
+ "clsx": "^2.1.1",
56
+ "tailwind-merge": "^3.0.0"
57
+ },
58
+ "devDependencies": {
59
+ "@types/react": "^19",
60
+ "tsup": "^8.4.0",
61
+ "typescript": "^5"
62
+ }
63
+ }