@copilotz/admin 0.3.7 → 0.3.9

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/styles.css CHANGED
@@ -7,10 +7,12 @@
7
7
  "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
8
8
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
9
9
  "Courier New", monospace;
10
+ --color-emerald-600: oklch(59.6% 0.145 163.225);
10
11
  --color-black: #000;
11
12
  --color-white: #fff;
12
13
  --spacing: 0.25rem;
13
14
  --container-sm: 24rem;
15
+ --container-lg: 32rem;
14
16
  --text-xs: 0.75rem;
15
17
  --text-xs--line-height: calc(1 / 0.75);
16
18
  --text-sm: 0.875rem;
@@ -21,6 +23,8 @@
21
23
  --text-lg--line-height: calc(1.75 / 1.125);
22
24
  --text-xl: 1.25rem;
23
25
  --text-xl--line-height: calc(1.75 / 1.25);
26
+ --text-2xl: 1.5rem;
27
+ --text-2xl--line-height: calc(2 / 1.5);
24
28
  --text-3xl: 1.875rem;
25
29
  --text-3xl--line-height: calc(2.25 / 1.875);
26
30
  --font-weight-medium: 500;
@@ -324,12 +328,18 @@
324
328
  .mt-3 {
325
329
  margin-top: calc(var(--spacing) * 3);
326
330
  }
331
+ .mt-4 {
332
+ margin-top: calc(var(--spacing) * 4);
333
+ }
327
334
  .mt-auto {
328
335
  margin-top: auto;
329
336
  }
330
337
  .mr-2 {
331
338
  margin-right: calc(var(--spacing) * 2);
332
339
  }
340
+ .mb-1 {
341
+ margin-bottom: calc(var(--spacing) * 1);
342
+ }
333
343
  .mb-4 {
334
344
  margin-bottom: calc(var(--spacing) * 4);
335
345
  }
@@ -339,6 +349,9 @@
339
349
  .ml-2 {
340
350
  margin-left: calc(var(--spacing) * 2);
341
351
  }
352
+ .block {
353
+ display: block;
354
+ }
342
355
  .flex {
343
356
  display: flex;
344
357
  }
@@ -418,6 +431,9 @@
418
431
  .h-svh {
419
432
  height: 100svh;
420
433
  }
434
+ .max-h-40 {
435
+ max-height: calc(var(--spacing) * 40);
436
+ }
421
437
  .max-h-60 {
422
438
  max-height: calc(var(--spacing) * 60);
423
439
  }
@@ -430,6 +446,9 @@
430
446
  .min-h-\[200px\] {
431
447
  min-height: 200px;
432
448
  }
449
+ .min-h-\[400px\] {
450
+ min-height: 400px;
451
+ }
433
452
  .min-h-svh {
434
453
  min-height: 100svh;
435
454
  }
@@ -460,6 +479,9 @@
460
479
  .w-8 {
461
480
  width: calc(var(--spacing) * 8);
462
481
  }
482
+ .w-10 {
483
+ width: calc(var(--spacing) * 10);
484
+ }
463
485
  .w-\[90px\] {
464
486
  width: 90px;
465
487
  }
@@ -478,6 +500,9 @@
478
500
  .max-w-44 {
479
501
  max-width: calc(var(--spacing) * 44);
480
502
  }
503
+ .max-w-lg {
504
+ max-width: var(--container-lg);
505
+ }
481
506
  .max-w-sm {
482
507
  max-width: var(--container-sm);
483
508
  }
@@ -490,6 +515,9 @@
490
515
  .min-w-\[8rem\] {
491
516
  min-width: 8rem;
492
517
  }
518
+ .min-w-\[160px\] {
519
+ min-width: 160px;
520
+ }
493
521
  .min-w-\[var\(--radix-select-trigger-width\)\] {
494
522
  min-width: var(--radix-select-trigger-width);
495
523
  }
@@ -544,6 +572,9 @@
544
572
  .cursor-pointer {
545
573
  cursor: pointer;
546
574
  }
575
+ .resize-y {
576
+ resize: vertical;
577
+ }
547
578
  .auto-rows-min {
548
579
  grid-auto-rows: min-content;
549
580
  }
@@ -713,6 +744,12 @@
713
744
  .border-input {
714
745
  border-color: var(--color-input);
715
746
  }
747
+ .border-primary\/60 {
748
+ border-color: color-mix(in srgb, hsl(var(--primary)) 60%, transparent);
749
+ @supports (color: color-mix(in lab, red, red)) {
750
+ border-color: color-mix(in oklab, var(--color-primary) 60%, transparent);
751
+ }
752
+ }
716
753
  .border-sidebar-border {
717
754
  border-color: var(--color-sidebar-border);
718
755
  }
@@ -881,6 +918,13 @@
881
918
  .text-right {
882
919
  text-align: right;
883
920
  }
921
+ .font-mono {
922
+ font-family: var(--font-mono);
923
+ }
924
+ .text-2xl {
925
+ font-size: var(--text-2xl);
926
+ line-height: var(--tw-leading, var(--text-2xl--line-height));
927
+ }
884
928
  .text-3xl {
885
929
  font-size: var(--text-3xl);
886
930
  line-height: var(--tw-leading, var(--text-3xl--line-height));
@@ -949,6 +993,9 @@
949
993
  .text-destructive {
950
994
  color: var(--color-destructive);
951
995
  }
996
+ .text-emerald-600 {
997
+ color: var(--color-emerald-600);
998
+ }
952
999
  .text-foreground {
953
1000
  color: var(--color-foreground);
954
1001
  }
@@ -985,6 +1032,9 @@
985
1032
  .text-white {
986
1033
  color: var(--color-white);
987
1034
  }
1035
+ .capitalize {
1036
+ text-transform: capitalize;
1037
+ }
988
1038
  .uppercase {
989
1039
  text-transform: uppercase;
990
1040
  }
@@ -1025,6 +1075,16 @@
1025
1075
  --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
1026
1076
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1027
1077
  }
1078
+ .ring-1 {
1079
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1080
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1081
+ }
1082
+ .ring-primary\/15 {
1083
+ --tw-ring-color: color-mix(in srgb, hsl(var(--primary)) 15%, transparent);
1084
+ @supports (color: color-mix(in lab, red, red)) {
1085
+ --tw-ring-color: color-mix(in oklab, var(--color-primary) 15%, transparent);
1086
+ }
1087
+ }
1028
1088
  .ring-sidebar-ring {
1029
1089
  --tw-ring-color: var(--color-sidebar-ring);
1030
1090
  }
@@ -1148,6 +1208,11 @@
1148
1208
  margin-top: calc(var(--spacing) * -8);
1149
1209
  }
1150
1210
  }
1211
+ .group-data-\[collapsible\=icon\]\:flex {
1212
+ &:is(:where(.group)[data-collapsible="icon"] *) {
1213
+ display: flex;
1214
+ }
1215
+ }
1151
1216
  .group-data-\[collapsible\=icon\]\:hidden {
1152
1217
  &:is(:where(.group)[data-collapsible="icon"] *) {
1153
1218
  display: none;
@@ -1556,6 +1621,12 @@
1556
1621
  }
1557
1622
  }
1558
1623
  }
1624
+ .focus\:outline-none {
1625
+ &:focus {
1626
+ --tw-outline-style: none;
1627
+ outline-style: none;
1628
+ }
1629
+ }
1559
1630
  .focus-visible\:border-ring {
1560
1631
  &:focus-visible {
1561
1632
  border-color: var(--color-ring);
@@ -1869,6 +1940,31 @@
1869
1940
  max-width: var(--container-sm);
1870
1941
  }
1871
1942
  }
1943
+ .sm\:grid-cols-2 {
1944
+ @media (width >= 40rem) {
1945
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1946
+ }
1947
+ }
1948
+ .sm\:grid-cols-3 {
1949
+ @media (width >= 40rem) {
1950
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1951
+ }
1952
+ }
1953
+ .sm\:flex-row {
1954
+ @media (width >= 40rem) {
1955
+ flex-direction: row;
1956
+ }
1957
+ }
1958
+ .sm\:items-end {
1959
+ @media (width >= 40rem) {
1960
+ align-items: flex-end;
1961
+ }
1962
+ }
1963
+ .sm\:justify-between {
1964
+ @media (width >= 40rem) {
1965
+ justify-content: space-between;
1966
+ }
1967
+ }
1872
1968
  .md\:block {
1873
1969
  @media (width >= 48rem) {
1874
1970
  display: block;
@@ -1884,6 +1980,11 @@
1884
1980
  height: 100vh;
1885
1981
  }
1886
1982
  }
1983
+ .md\:grid-cols-2 {
1984
+ @media (width >= 48rem) {
1985
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1986
+ }
1987
+ }
1887
1988
  .md\:grid-cols-3 {
1888
1989
  @media (width >= 48rem) {
1889
1990
  grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -1956,6 +2057,11 @@
1956
2057
  grid-template-columns: repeat(5, minmax(0, 1fr));
1957
2058
  }
1958
2059
  }
2060
+ .xl\:grid-cols-3 {
2061
+ @media (width >= 80rem) {
2062
+ grid-template-columns: repeat(3, minmax(0, 1fr));
2063
+ }
2064
+ }
1959
2065
  .dark\:border-input {
1960
2066
  &:is(.dark *) {
1961
2067
  border-color: var(--color-input);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotz/admin",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "description": "Copilotz admin dashboard components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",