manolis-ui 0.2.11 → 0.3.2

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 (2) hide show
  1. package/dist/style.css +214 -0
  2. package/package.json +1 -1
package/dist/style.css CHANGED
@@ -939,6 +939,60 @@
939
939
  translate: var(--inidicator-x, 50%) var(--indicator-y, -50%);
940
940
  }
941
941
  }
942
+ .table {
943
+ font-size: 0.875rem;
944
+ position: relative;
945
+ width: 100%;
946
+ border-radius: var(--radius-box);
947
+ text-align: left;
948
+ &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
949
+ text-align: right;
950
+ }
951
+ tr.row-hover {
952
+ &, &:nth-child(even) {
953
+ &:hover {
954
+ @media (hover: hover) {
955
+ background-color: var(--color-base-200);
956
+ }
957
+ }
958
+ }
959
+ }
960
+ :where(th, td) {
961
+ padding-inline: calc(0.25rem * 4);
962
+ padding-block: calc(0.25rem * 3);
963
+ vertical-align: middle;
964
+ }
965
+ :where(thead, tfoot) {
966
+ white-space: nowrap;
967
+ color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
968
+ font-size: 0.875rem;
969
+ font-weight: 600;
970
+ }
971
+ :where(tfoot) {
972
+ border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
973
+ }
974
+ :where(.table-pin-rows thead tr) {
975
+ position: sticky;
976
+ top: calc(0.25rem * 0);
977
+ z-index: 1;
978
+ background-color: var(--color-base-100);
979
+ }
980
+ :where(.table-pin-rows tfoot tr) {
981
+ position: sticky;
982
+ bottom: calc(0.25rem * 0);
983
+ z-index: 1;
984
+ background-color: var(--color-base-100);
985
+ }
986
+ :where(.table-pin-cols tr th) {
987
+ position: sticky;
988
+ right: calc(0.25rem * 0);
989
+ left: calc(0.25rem * 0);
990
+ background-color: var(--color-base-100);
991
+ }
992
+ :where(thead tr, tbody tr:not(:last-child)) {
993
+ border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
994
+ }
995
+ }
942
996
  .avatar-offline {
943
997
  &:before {
944
998
  content: "";
@@ -1546,6 +1600,47 @@
1546
1600
  height: calc(0.25rem * 8);
1547
1601
  }
1548
1602
  }
1603
+ .progress {
1604
+ position: relative;
1605
+ height: calc(0.25rem * 2);
1606
+ width: 100%;
1607
+ appearance: none;
1608
+ overflow: hidden;
1609
+ border-radius: var(--radius-box);
1610
+ background-color: color-mix(in oklab, currentColor 20%, transparent);
1611
+ color: var(--color-base-content);
1612
+ &:indeterminate {
1613
+ background-image: repeating-linear-gradient( 90deg, currentColor -1%, currentColor 10%, #0000 10%, #0000 90% );
1614
+ background-size: 200%;
1615
+ background-position-x: 15%;
1616
+ animation: progress 5s ease-in-out infinite;
1617
+ @supports (-moz-appearance: none) {
1618
+ &::-moz-progress-bar {
1619
+ background-color: transparent;
1620
+ background-image: repeating-linear-gradient( 90deg, currentColor -1%, currentColor 10%, #0000 10%, #0000 90% );
1621
+ background-size: 200%;
1622
+ background-position-x: 15%;
1623
+ animation: progress 5s ease-in-out infinite;
1624
+ }
1625
+ }
1626
+ }
1627
+ @supports (-moz-appearance: none) {
1628
+ &::-moz-progress-bar {
1629
+ border-radius: var(--radius-box);
1630
+ background-color: currentColor;
1631
+ }
1632
+ }
1633
+ @supports (-webkit-appearance: none) {
1634
+ &::-webkit-progress-bar {
1635
+ border-radius: var(--radius-box);
1636
+ background-color: transparent;
1637
+ }
1638
+ &::-webkit-progress-value {
1639
+ border-radius: var(--radius-box);
1640
+ background-color: currentColor;
1641
+ }
1642
+ }
1643
+ }
1549
1644
  .absolute {
1550
1645
  position: absolute;
1551
1646
  }
@@ -1613,12 +1708,24 @@
1613
1708
  transform-origin: bottom;
1614
1709
  }
1615
1710
  }
1711
+ .top-1\/2 {
1712
+ top: calc(1/2 * 100%);
1713
+ }
1616
1714
  .top-4 {
1617
1715
  top: calc(var(--spacing) * 4);
1618
1716
  }
1619
1717
  .right-0 {
1620
1718
  right: calc(var(--spacing) * 0);
1621
1719
  }
1720
+ .right-5 {
1721
+ right: calc(var(--spacing) * 5);
1722
+ }
1723
+ .bottom-5 {
1724
+ bottom: calc(var(--spacing) * 5);
1725
+ }
1726
+ .left-5 {
1727
+ left: calc(var(--spacing) * 5);
1728
+ }
1622
1729
  .modal-backdrop {
1623
1730
  grid-column-start: 1;
1624
1731
  grid-row-start: 1;
@@ -1634,6 +1741,9 @@
1634
1741
  .z-1 {
1635
1742
  z-index: 1;
1636
1743
  }
1744
+ .z-10 {
1745
+ z-index: 10;
1746
+ }
1637
1747
  .z-50 {
1638
1748
  z-index: 50;
1639
1749
  }
@@ -2055,6 +2165,9 @@
2055
2165
  .inline-flex {
2056
2166
  display: inline-flex;
2057
2167
  }
2168
+ .table {
2169
+ display: table;
2170
+ }
2058
2171
  .modal-bottom {
2059
2172
  place-items: end;
2060
2173
  :where(.modal-box) {
@@ -2122,12 +2235,21 @@
2122
2235
  .h-4 {
2123
2236
  height: calc(var(--spacing) * 4);
2124
2237
  }
2238
+ .h-5 {
2239
+ height: calc(var(--spacing) * 5);
2240
+ }
2125
2241
  .h-32 {
2126
2242
  height: calc(var(--spacing) * 32);
2127
2243
  }
2128
2244
  .h-44 {
2129
2245
  height: calc(var(--spacing) * 44);
2130
2246
  }
2247
+ .h-48 {
2248
+ height: calc(var(--spacing) * 48);
2249
+ }
2250
+ .h-64 {
2251
+ height: calc(var(--spacing) * 64);
2252
+ }
2131
2253
  .h-fit {
2132
2254
  height: fit-content;
2133
2255
  }
@@ -2179,6 +2301,9 @@
2179
2301
  .w-4 {
2180
2302
  width: calc(var(--spacing) * 4);
2181
2303
  }
2304
+ .w-5 {
2305
+ width: calc(var(--spacing) * 5);
2306
+ }
2182
2307
  .w-16 {
2183
2308
  width: calc(var(--spacing) * 16);
2184
2309
  }
@@ -2215,6 +2340,16 @@
2215
2340
  .min-w-max {
2216
2341
  min-width: max-content;
2217
2342
  }
2343
+ .flex-shrink {
2344
+ flex-shrink: 1;
2345
+ }
2346
+ .shrink {
2347
+ flex-shrink: 1;
2348
+ }
2349
+ .-translate-y-1\/2 {
2350
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
2351
+ translate: var(--tw-translate-x) var(--tw-translate-y);
2352
+ }
2218
2353
  .swap-rotate {
2219
2354
  .swap-on, .swap-indeterminate, input:indeterminate ~ .swap-on {
2220
2355
  rotate: 45deg;
@@ -2263,6 +2398,14 @@
2263
2398
  .cursor-pointer {
2264
2399
  cursor: pointer;
2265
2400
  }
2401
+ .carousel-horizontal {
2402
+ flex-direction: row;
2403
+ overflow-x: scroll;
2404
+ scroll-snap-type: x mandatory;
2405
+ }
2406
+ .snap-none {
2407
+ scroll-snap-type: none;
2408
+ }
2266
2409
  .grid-cols-7 {
2267
2410
  grid-template-columns: repeat(7, minmax(0, 1fr));
2268
2411
  }
@@ -2319,9 +2462,21 @@
2319
2462
  .overflow-x-hidden {
2320
2463
  overflow-x: hidden;
2321
2464
  }
2465
+ .overflow-x-scroll {
2466
+ overflow-x: scroll;
2467
+ }
2468
+ .scroll-smooth {
2469
+ scroll-behavior: smooth;
2470
+ }
2322
2471
  .rounded {
2323
2472
  border-radius: 0.25rem;
2324
2473
  }
2474
+ .rounded-box {
2475
+ border-radius: var(--radius-box);
2476
+ }
2477
+ .rounded-box {
2478
+ border-radius: var(--radius-box);
2479
+ }
2325
2480
  .rounded-full {
2326
2481
  border-radius: calc(infinity * 1px);
2327
2482
  }
@@ -2400,6 +2555,9 @@
2400
2555
  .border-primary {
2401
2556
  border-color: var(--color-primary);
2402
2557
  }
2558
+ .bg-accent {
2559
+ background-color: var(--color-accent);
2560
+ }
2403
2561
  .bg-base-100 {
2404
2562
  background-color: var(--color-base-100);
2405
2563
  }
@@ -2409,6 +2567,12 @@
2409
2567
  .bg-blue-100 {
2410
2568
  background-color: var(--color-blue-100);
2411
2569
  }
2570
+ .bg-error {
2571
+ background-color: var(--color-error);
2572
+ }
2573
+ .bg-info {
2574
+ background-color: var(--color-info);
2575
+ }
2412
2576
  .bg-neutral {
2413
2577
  background-color: var(--color-neutral);
2414
2578
  }
@@ -2418,6 +2582,15 @@
2418
2582
  .bg-primary\/20 {
2419
2583
  background-color: color-mix(in oklab, var(--color-primary) 20%, transparent);
2420
2584
  }
2585
+ .bg-secondary {
2586
+ background-color: var(--color-secondary);
2587
+ }
2588
+ .bg-success {
2589
+ background-color: var(--color-success);
2590
+ }
2591
+ .bg-warning {
2592
+ background-color: var(--color-warning);
2593
+ }
2421
2594
  .bg-yellow-400 {
2422
2595
  background-color: var(--color-yellow-400);
2423
2596
  }
@@ -2486,6 +2659,9 @@
2486
2659
  .py-1 {
2487
2660
  padding-block: calc(var(--spacing) * 1);
2488
2661
  }
2662
+ .py-2 {
2663
+ padding-block: calc(var(--spacing) * 2);
2664
+ }
2489
2665
  .py-5 {
2490
2666
  padding-block: calc(var(--spacing) * 5);
2491
2667
  }
@@ -2544,6 +2720,11 @@
2544
2720
  --btn-p: 0.75rem;
2545
2721
  --size: calc(var(--size-field, 0.25rem) * 8);
2546
2722
  }
2723
+ .btn-xs {
2724
+ font-size: 0.6875rem;
2725
+ --btn-p: 0.5rem;
2726
+ --size: calc(var(--size-field, 0.25rem) * 6);
2727
+ }
2547
2728
  .font-bold {
2548
2729
  --tw-font-weight: var(--font-weight-bold);
2549
2730
  font-weight: var(--font-weight-bold);
@@ -2591,6 +2772,9 @@
2591
2772
  .text-accent {
2592
2773
  color: var(--color-accent);
2593
2774
  }
2775
+ .text-accent-content {
2776
+ color: var(--color-accent-content);
2777
+ }
2594
2778
  .text-base-100 {
2595
2779
  color: var(--color-base-100);
2596
2780
  }
@@ -2606,12 +2790,18 @@
2606
2790
  .text-error {
2607
2791
  color: var(--color-error);
2608
2792
  }
2793
+ .text-error-content {
2794
+ color: var(--color-error-content);
2795
+ }
2609
2796
  .text-green-500 {
2610
2797
  color: var(--color-green-500);
2611
2798
  }
2612
2799
  .text-info {
2613
2800
  color: var(--color-info);
2614
2801
  }
2802
+ .text-info-content {
2803
+ color: var(--color-info-content);
2804
+ }
2615
2805
  .text-neutral {
2616
2806
  color: var(--color-neutral);
2617
2807
  }
@@ -2630,12 +2820,21 @@
2630
2820
  .text-secondary {
2631
2821
  color: var(--color-secondary);
2632
2822
  }
2823
+ .text-secondary-content {
2824
+ color: var(--color-secondary-content);
2825
+ }
2633
2826
  .text-success {
2634
2827
  color: var(--color-success);
2635
2828
  }
2829
+ .text-success-content {
2830
+ color: var(--color-success-content);
2831
+ }
2636
2832
  .text-warning {
2637
2833
  color: var(--color-warning);
2638
2834
  }
2835
+ .text-warning-content {
2836
+ color: var(--color-warning-content);
2837
+ }
2639
2838
  .btn-link {
2640
2839
  text-decoration-line: underline;
2641
2840
  outline-color: currentColor;
@@ -3239,6 +3438,21 @@
3239
3438
  --noise: 1;
3240
3439
  }
3241
3440
  }
3441
+ @property --tw-translate-x {
3442
+ syntax: "*";
3443
+ inherits: false;
3444
+ initial-value: 0;
3445
+ }
3446
+ @property --tw-translate-y {
3447
+ syntax: "*";
3448
+ inherits: false;
3449
+ initial-value: 0;
3450
+ }
3451
+ @property --tw-translate-z {
3452
+ syntax: "*";
3453
+ inherits: false;
3454
+ initial-value: 0;
3455
+ }
3242
3456
  @property --tw-rotate-x {
3243
3457
  syntax: "*";
3244
3458
  inherits: false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "manolis-ui",
3
3
  "private": false,
4
- "version": "0.2.11",
4
+ "version": "0.3.2",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist/*"