@iit/precision-ui 0.7.2 → 0.8.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.
Files changed (90) hide show
  1. package/dist/components/cards/License.d.ts.map +1 -1
  2. package/dist/components/ui/carousel.d.ts +3 -1
  3. package/dist/components/ui/carousel.d.ts.map +1 -1
  4. package/dist/components/ui/combobox.d.ts +19 -0
  5. package/dist/components/ui/combobox.d.ts.map +1 -0
  6. package/dist/components/ui/command.d.ts +81 -0
  7. package/dist/components/ui/command.d.ts.map +1 -0
  8. package/dist/decorators/CarouselWrapper.d.ts +2 -1
  9. package/dist/decorators/CarouselWrapper.d.ts.map +1 -1
  10. package/dist/index.d.ts +4 -2
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.es.js +66 -62
  13. package/dist/index.es.js.map +1 -1
  14. package/dist/index.es10.js +1 -1
  15. package/dist/index.es11.js +1 -1
  16. package/dist/index.es14.js +1 -1
  17. package/dist/index.es15.js +1 -1
  18. package/dist/index.es17.js +1 -1
  19. package/dist/index.es18.js +2 -2
  20. package/dist/index.es2.js +1 -1
  21. package/dist/index.es20.js +1 -1
  22. package/dist/index.es21.js +1 -1
  23. package/dist/index.es22.js +1 -1
  24. package/dist/index.es23.js +2 -2
  25. package/dist/index.es24.js +3 -3
  26. package/dist/index.es25.js +3 -3
  27. package/dist/index.es26.js +3 -3
  28. package/dist/index.es27.js +1 -1
  29. package/dist/index.es28.js +1 -1
  30. package/dist/index.es29.js +3 -3
  31. package/dist/index.es3.js +2 -2
  32. package/dist/index.es30.js +10 -9
  33. package/dist/index.es30.js.map +1 -1
  34. package/dist/index.es31.js +3 -3
  35. package/dist/index.es32.js +3 -3
  36. package/dist/index.es33.js +3 -3
  37. package/dist/index.es34.js +3 -3
  38. package/dist/index.es35.js +1 -1
  39. package/dist/index.es36.js +1 -1
  40. package/dist/index.es37.js +1 -1
  41. package/dist/index.es38.js +2 -2
  42. package/dist/index.es39.js +2 -2
  43. package/dist/index.es4.js +1 -1
  44. package/dist/index.es40.js +4 -4
  45. package/dist/index.es41.js +2 -2
  46. package/dist/index.es42.js +3 -3
  47. package/dist/index.es44.js +47 -18
  48. package/dist/index.es44.js.map +1 -1
  49. package/dist/index.es45.js +59 -17
  50. package/dist/index.es45.js.map +1 -1
  51. package/dist/index.es46.js +20 -91
  52. package/dist/index.es46.js.map +1 -1
  53. package/dist/index.es47.js +17 -88
  54. package/dist/index.es47.js.map +1 -1
  55. package/dist/index.es48.js +90 -32
  56. package/dist/index.es48.js.map +1 -1
  57. package/dist/index.es49.js +81 -68
  58. package/dist/index.es49.js.map +1 -1
  59. package/dist/index.es5.js +1 -1
  60. package/dist/index.es50.js +28 -38
  61. package/dist/index.es50.js.map +1 -1
  62. package/dist/index.es51.js +75 -9
  63. package/dist/index.es51.js.map +1 -1
  64. package/dist/index.es52.js +43 -6
  65. package/dist/index.es52.js.map +1 -1
  66. package/dist/index.es53.js +11 -22
  67. package/dist/index.es53.js.map +1 -1
  68. package/dist/index.es54.js +6 -20
  69. package/dist/index.es54.js.map +1 -1
  70. package/dist/index.es55.js +21 -19
  71. package/dist/index.es55.js.map +1 -1
  72. package/dist/index.es56.js +20 -47
  73. package/dist/index.es56.js.map +1 -1
  74. package/dist/index.es57.js +19 -26
  75. package/dist/index.es57.js.map +1 -1
  76. package/dist/index.es58.js +4 -16
  77. package/dist/index.es58.js.map +1 -1
  78. package/dist/index.es59.js +80 -72
  79. package/dist/index.es59.js.map +1 -1
  80. package/dist/index.es6.js +1 -1
  81. package/dist/index.es60.js +86 -4
  82. package/dist/index.es60.js.map +1 -1
  83. package/dist/index.es61.js +30 -0
  84. package/dist/index.es61.js.map +1 -0
  85. package/dist/index.es62.js +19 -0
  86. package/dist/index.es62.js.map +1 -0
  87. package/dist/index.es7.js +1 -1
  88. package/dist/index.es8.js +1 -1
  89. package/dist/styles.css +128 -0
  90. package/package.json +3 -2
package/dist/styles.css CHANGED
@@ -558,6 +558,10 @@ body{
558
558
  .row-end-3{
559
559
  grid-row-end: 3;
560
560
  }
561
+ .-mx-1{
562
+ margin-left: -0.25rem;
563
+ margin-right: -0.25rem;
564
+ }
561
565
  .mx-auto{
562
566
  margin-left: auto;
563
567
  margin-right: auto;
@@ -593,6 +597,12 @@ body{
593
597
  .mb-6{
594
598
  margin-bottom: 1.5rem;
595
599
  }
600
+ .ml-auto{
601
+ margin-left: auto;
602
+ }
603
+ .mr-2{
604
+ margin-right: 0.5rem;
605
+ }
596
606
  .mt-12{
597
607
  margin-top: 3rem;
598
608
  }
@@ -680,6 +690,9 @@ body{
680
690
  .h-9{
681
691
  height: 2.25rem;
682
692
  }
693
+ .h-96{
694
+ height: 24rem;
695
+ }
683
696
  .h-\[10px\]{
684
697
  height: 10px;
685
698
  }
@@ -702,6 +715,12 @@ body{
702
715
  .h-full{
703
716
  height: 100%;
704
717
  }
718
+ .h-px{
719
+ height: 1px;
720
+ }
721
+ .max-h-\[300px\]{
722
+ max-height: 300px;
723
+ }
705
724
  .max-h-\[calc\(100dvh-0\.75rem\)\]{
706
725
  max-height: calc(100dvh - 0.75rem);
707
726
  }
@@ -756,6 +775,9 @@ body{
756
775
  .w-\[18px\]{
757
776
  width: 18px;
758
777
  }
778
+ .w-\[200px\]{
779
+ width: 200px;
780
+ }
759
781
  .w-\[456px\]{
760
782
  width: 456px;
761
783
  }
@@ -843,6 +865,9 @@ body{
843
865
  .transform{
844
866
  transform: translate(var(--precision-ui-tw-translate-x), var(--precision-ui-tw-translate-y)) rotate(var(--precision-ui-tw-rotate)) skewX(var(--precision-ui-tw-skew-x)) skewY(var(--precision-ui-tw-skew-y)) scaleX(var(--precision-ui-tw-scale-x)) scaleY(var(--precision-ui-tw-scale-y));
845
867
  }
868
+ .cursor-default{
869
+ cursor: default;
870
+ }
846
871
  .cursor-not-allowed{
847
872
  cursor: not-allowed;
848
873
  }
@@ -962,6 +987,12 @@ body{
962
987
  .overflow-hidden{
963
988
  overflow: hidden;
964
989
  }
990
+ .overflow-y-auto{
991
+ overflow-y: auto;
992
+ }
993
+ .overflow-x-hidden{
994
+ overflow-x: hidden;
995
+ }
965
996
  .whitespace-nowrap{
966
997
  white-space: nowrap;
967
998
  }
@@ -1080,6 +1111,9 @@ body{
1080
1111
  .border-t-transparent{
1081
1112
  border-top-color: transparent;
1082
1113
  }
1114
+ .bg-accent{
1115
+ background-color: hsl(var(--precision-ui-tw-accent));
1116
+ }
1083
1117
  .bg-background{
1084
1118
  background-color: hsl(var(--precision-ui-tw-background));
1085
1119
  }
@@ -1214,6 +1248,10 @@ body{
1214
1248
  .p-\[8px\]{
1215
1249
  padding: 8px;
1216
1250
  }
1251
+ .px-2{
1252
+ padding-left: 0.5rem;
1253
+ padding-right: 0.5rem;
1254
+ }
1217
1255
  .px-3{
1218
1256
  padding-left: 0.75rem;
1219
1257
  padding-right: 0.75rem;
@@ -1258,6 +1296,10 @@ body{
1258
1296
  padding-top: 0.5rem;
1259
1297
  padding-bottom: 0.5rem;
1260
1298
  }
1299
+ .py-3{
1300
+ padding-top: 0.75rem;
1301
+ padding-bottom: 0.75rem;
1302
+ }
1261
1303
  .py-4{
1262
1304
  padding-top: 1rem;
1263
1305
  padding-bottom: 1rem;
@@ -1371,6 +1413,10 @@ body{
1371
1413
  font-size: 0.875rem;
1372
1414
  line-height: 1.25rem;
1373
1415
  }
1416
+ .text-xs{
1417
+ font-size: 0.75rem;
1418
+ line-height: 1rem;
1419
+ }
1374
1420
  .font-medium{
1375
1421
  font-weight: 500;
1376
1422
  }
@@ -1383,6 +1429,9 @@ body{
1383
1429
  .tracking-tight{
1384
1430
  letter-spacing: -0.025em;
1385
1431
  }
1432
+ .tracking-widest{
1433
+ letter-spacing: 0.1em;
1434
+ }
1386
1435
  .text-black{
1387
1436
  --precision-ui-tw-text-opacity: 1;
1388
1437
  color: rgb(0 0 0 / var(--precision-ui-tw-text-opacity));
@@ -1457,6 +1506,12 @@ body{
1457
1506
  .underline-offset-4{
1458
1507
  text-underline-offset: 4px;
1459
1508
  }
1509
+ .opacity-0{
1510
+ opacity: 0;
1511
+ }
1512
+ .opacity-100{
1513
+ opacity: 1;
1514
+ }
1460
1515
  .opacity-40{
1461
1516
  opacity: 0.4;
1462
1517
  }
@@ -2464,6 +2519,9 @@ html {
2464
2519
  .peer:disabled ~ .peer-disabled\:opacity-70{
2465
2520
  opacity: 0.7;
2466
2521
  }
2522
+ .data-\[disabled\=true\]\:pointer-events-none[data-disabled=true]{
2523
+ pointer-events: none;
2524
+ }
2467
2525
  @keyframes accordion-up{
2468
2526
  from{
2469
2527
  height: var(--radix-accordion-content-height);
@@ -2486,6 +2544,9 @@ html {
2486
2544
  .data-\[state\=open\]\:animate-accordion-down[data-state=open]{
2487
2545
  animation: accordion-down 0.2s ease-out;
2488
2546
  }
2547
+ .data-\[selected\=\'true\'\]\:bg-accent[data-selected='true']{
2548
+ background-color: hsl(var(--precision-ui-tw-accent));
2549
+ }
2489
2550
  .data-\[state\=active\]\:bg-background[data-state=active]{
2490
2551
  background-color: hsl(var(--precision-ui-tw-background));
2491
2552
  }
@@ -2498,6 +2559,9 @@ html {
2498
2559
  .data-\[state\=open\]\:bg-accent[data-state=open]{
2499
2560
  background-color: hsl(var(--precision-ui-tw-accent));
2500
2561
  }
2562
+ .data-\[selected\=true\]\:text-accent-foreground[data-selected=true]{
2563
+ color: hsl(var(--precision-ui-tw-accent-foreground));
2564
+ }
2501
2565
  .data-\[state\=active\]\:text-navy[data-state=active]{
2502
2566
  color: hsl(var(--precision-ui-tw-navy));
2503
2567
  }
@@ -2510,6 +2574,9 @@ html {
2510
2574
  .data-\[state\=open\]\:text-muted-foreground[data-state=open]{
2511
2575
  color: hsl(var(--precision-ui-tw-muted-foreground));
2512
2576
  }
2577
+ .data-\[disabled\=true\]\:opacity-50[data-disabled=true]{
2578
+ opacity: 0.5;
2579
+ }
2513
2580
  .data-\[state\=active\]\:shadow-sm[data-state=active]{
2514
2581
  --precision-ui-tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
2515
2582
  --precision-ui-tw-shadow-colored: 0 1px 2px 0 var(--precision-ui-tw-shadow-color);
@@ -2673,6 +2740,9 @@ html {
2673
2740
  .md\:max-w-2xl{
2674
2741
  max-width: 42rem;
2675
2742
  }
2743
+ .md\:max-w-xl{
2744
+ max-width: 36rem;
2745
+ }
2676
2746
  .md\:basis-1\/2{
2677
2747
  flex-basis: 50%;
2678
2748
  }
@@ -2796,6 +2866,64 @@ html {
2796
2866
  .\[\&\[data-state\=open\]\]\:bg-transparent[data-state=open]{
2797
2867
  background-color: transparent;
2798
2868
  }
2869
+ .\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{
2870
+ padding-left: 0.5rem;
2871
+ padding-right: 0.5rem;
2872
+ }
2873
+ .\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{
2874
+ padding-top: 0.375rem;
2875
+ padding-bottom: 0.375rem;
2876
+ }
2877
+ .\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{
2878
+ font-size: 0.75rem;
2879
+ line-height: 1rem;
2880
+ }
2881
+ .\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{
2882
+ font-weight: 500;
2883
+ }
2884
+ .\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{
2885
+ color: hsl(var(--precision-ui-tw-muted-foreground));
2886
+ }
2887
+ .\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden]) ~[cmdk-group]{
2888
+ padding-top: 0px;
2889
+ }
2890
+ .\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{
2891
+ padding-left: 0.5rem;
2892
+ padding-right: 0.5rem;
2893
+ }
2894
+ .\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{
2895
+ height: 1.25rem;
2896
+ }
2897
+ .\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{
2898
+ width: 1.25rem;
2899
+ }
2900
+ .\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{
2901
+ height: 3rem;
2902
+ }
2903
+ .\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{
2904
+ padding-left: 0.5rem;
2905
+ padding-right: 0.5rem;
2906
+ }
2907
+ .\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{
2908
+ padding-top: 0.75rem;
2909
+ padding-bottom: 0.75rem;
2910
+ }
2911
+ .\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{
2912
+ height: 1.25rem;
2913
+ }
2914
+ .\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{
2915
+ width: 1.25rem;
2916
+ }
2799
2917
  .\[\&_p\]\:leading-relaxed p{
2800
2918
  line-height: 1.625;
2801
2919
  }
2920
+ .\[\&_svg\]\:pointer-events-none svg{
2921
+ pointer-events: none;
2922
+ }
2923
+ .\[\&_svg\]\:size-4 svg{
2924
+ width: 1rem;
2925
+ height: 1rem;
2926
+ }
2927
+ .\[\&_svg\]\:shrink-0 svg{
2928
+ flex-shrink: 0;
2929
+ }
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "type": "git",
14
14
  "url": "git+https://github.com/wowxoxo/precision-ui.git"
15
15
  },
16
- "version": "0.7.2",
16
+ "version": "0.8.0",
17
17
  "type": "module",
18
18
  "module": "./dist/index.es.js",
19
19
  "types": "./dist/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  "@iit/precision-ui-icons": "^0.4.0",
50
50
  "@radix-ui/react-accordion": "^1.2.3",
51
51
  "@radix-ui/react-checkbox": "^1.1.3",
52
- "@radix-ui/react-dialog": "^1.1.5",
52
+ "@radix-ui/react-dialog": "^1.1.6",
53
53
  "@radix-ui/react-label": "^2.1.1",
54
54
  "@radix-ui/react-popover": "^1.1.4",
55
55
  "@radix-ui/react-scroll-area": "^1.2.2",
@@ -58,6 +58,7 @@
58
58
  "@radix-ui/react-tooltip": "^1.1.6",
59
59
  "class-variance-authority": "^0.7.0",
60
60
  "clsx": "^2.1.1",
61
+ "cmdk": "^1.0.0",
61
62
  "embla-carousel-react": "^8.5.2",
62
63
  "lucide-react": "^0.394.0",
63
64
  "react": "^18.2.0",