@turtleclub/earn-widget 0.3.1 → 0.3.2-beta.1

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
@@ -882,6 +882,9 @@
882
882
  .turtle-widget-root .mb-5 {
883
883
  margin-bottom: calc(var(--spacing)*5);
884
884
  }
885
+ .turtle-widget-root .mb-8 {
886
+ margin-bottom: calc(var(--spacing)*8);
887
+ }
885
888
  .turtle-widget-root .ml-1 {
886
889
  margin-left: calc(var(--spacing)*1);
887
890
  }
@@ -1030,6 +1033,9 @@
1030
1033
  .turtle-widget-root .h-20 {
1031
1034
  height: calc(var(--spacing)*20);
1032
1035
  }
1036
+ .turtle-widget-root .h-40 {
1037
+ height: calc(var(--spacing)*40);
1038
+ }
1033
1039
  .turtle-widget-root .h-48 {
1034
1040
  height: calc(var(--spacing)*48);
1035
1041
  }
@@ -1589,6 +1595,17 @@
1589
1595
  }
1590
1596
  }
1591
1597
  }
1598
+ .turtle-widget-root .border-muted-foreground\/60 {
1599
+ border-color: var(--color-muted-foreground);
1600
+ }
1601
+ @supports (color:color-mix(in lab,red,red)) {
1602
+ .turtle-widget-root .border-muted-foreground\/60 {
1603
+ border-color: var(--color-muted-foreground);
1604
+ @supports (color: color-mix(in lab, red, red)) {
1605
+ border-color: color-mix(in oklab,var(--color-muted-foreground)60%,transparent);
1606
+ }
1607
+ }
1608
+ }
1592
1609
  .turtle-widget-root .border-primary {
1593
1610
  border-color: var(--color-primary);
1594
1611
  }
@@ -1872,6 +1889,9 @@
1872
1889
  .turtle-widget-root .pb-3 {
1873
1890
  padding-bottom: calc(var(--spacing)*3);
1874
1891
  }
1892
+ .turtle-widget-root .pb-4 {
1893
+ padding-bottom: calc(var(--spacing)*4);
1894
+ }
1875
1895
  .turtle-widget-root .pb-8 {
1876
1896
  padding-bottom: calc(var(--spacing)*8);
1877
1897
  }
@@ -2067,9 +2087,17 @@
2067
2087
  }
2068
2088
  }
2069
2089
  }
2070
- .turtle-widget-root .text-foreground {
2090
+ .turtle-widget-root .text-foreground, .turtle-widget-root .text-foreground\/90 {
2071
2091
  color: var(--color-foreground);
2072
2092
  }
2093
+ @supports (color:color-mix(in lab,red,red)) {
2094
+ .turtle-widget-root .text-foreground\/90 {
2095
+ color: var(--color-foreground);
2096
+ @supports (color: color-mix(in lab, red, red)) {
2097
+ color: color-mix(in oklab,var(--color-foreground)90%,transparent);
2098
+ }
2099
+ }
2100
+ }
2073
2101
  .turtle-widget-root .text-green-600 {
2074
2102
  color: var(--color-green-600);
2075
2103
  }
@@ -2721,13 +2749,35 @@
2721
2749
  }
2722
2750
  }
2723
2751
  }
2724
- .turtle-widget-root .hover\:bg-accent:hover {
2752
+ .turtle-widget-root .hover\:bg-accent:hover, .turtle-widget-root .hover\:bg-accent\/70:hover {
2725
2753
  background-color: var(--color-accent);
2726
2754
  }
2755
+ @supports (color:color-mix(in lab,red,red)) {
2756
+ .turtle-widget-root .hover\:bg-accent\/70:hover {
2757
+ background-color: var(--color-accent);
2758
+ @supports (color: color-mix(in lab, red, red)) {
2759
+ background-color: color-mix(in oklab,var(--color-accent)70%,transparent);
2760
+ }
2761
+ }
2762
+ }
2727
2763
  .turtle-widget-root .hover\:bg-background:hover {
2728
2764
  background-color: var(--color-background);
2729
2765
  }
2730
- .turtle-widget-root .hover\:bg-muted:hover, .turtle-widget-root .hover\:bg-muted\/80:hover {
2766
+ .turtle-widget-root .hover\:bg-muted:hover {
2767
+ background-color: var(--color-muted);
2768
+ }
2769
+ .turtle-widget-root .hover\:bg-muted-foreground\/60:hover {
2770
+ background-color: var(--color-muted-foreground);
2771
+ }
2772
+ @supports (color:color-mix(in lab,red,red)) {
2773
+ .turtle-widget-root .hover\:bg-muted-foreground\/60:hover {
2774
+ background-color: var(--color-muted-foreground);
2775
+ @supports (color: color-mix(in lab, red, red)) {
2776
+ background-color: color-mix(in oklab,var(--color-muted-foreground)60%,transparent);
2777
+ }
2778
+ }
2779
+ }
2780
+ .turtle-widget-root .hover\:bg-muted\/80:hover {
2731
2781
  background-color: var(--color-muted);
2732
2782
  }
2733
2783
  @supports (color:color-mix(in lab,red,red)) {
@@ -4997,18 +5047,12 @@
4997
5047
  .turtle-widget-root .-mt-8 {
4998
5048
  margin-top: calc(var(--spacing) * -8);
4999
5049
  }
5000
- .turtle-widget-root .mt-1 {
5001
- margin-top: calc(var(--spacing) * 1);
5002
- }
5003
5050
  .turtle-widget-root .mt-2 {
5004
5051
  margin-top: calc(var(--spacing) * 2);
5005
5052
  }
5006
5053
  .turtle-widget-root .mr-2 {
5007
5054
  margin-right: calc(var(--spacing) * 2);
5008
5055
  }
5009
- .turtle-widget-root .mb-2 {
5010
- margin-bottom: calc(var(--spacing) * 2);
5011
- }
5012
5056
  .turtle-widget-root .-ml-1 {
5013
5057
  margin-left: calc(var(--spacing) * -1);
5014
5058
  }
@@ -5141,9 +5185,6 @@
5141
5185
  .turtle-widget-root .justify-center {
5142
5186
  justify-content: center;
5143
5187
  }
5144
- .turtle-widget-root .justify-end {
5145
- justify-content: flex-end;
5146
- }
5147
5188
  .turtle-widget-root .justify-start {
5148
5189
  justify-content: flex-start;
5149
5190
  }
@@ -5220,9 +5261,21 @@
5220
5261
  border-color: color-mix(in oklab, var(--color-destructive) 50%, transparent);
5221
5262
  }
5222
5263
  }
5264
+ .turtle-widget-root .border-foreground\/60 {
5265
+ border-color: var(--color-foreground);
5266
+ @supports (color: color-mix(in lab, red, red)) {
5267
+ border-color: color-mix(in oklab, var(--color-foreground) 60%, transparent);
5268
+ }
5269
+ }
5223
5270
  .turtle-widget-root .border-muted {
5224
5271
  border-color: var(--color-muted);
5225
5272
  }
5273
+ .turtle-widget-root .border-muted-foreground\/60 {
5274
+ border-color: var(--color-muted-foreground);
5275
+ @supports (color: color-mix(in lab, red, red)) {
5276
+ border-color: color-mix(in oklab, var(--color-muted-foreground) 60%, transparent);
5277
+ }
5278
+ }
5226
5279
  .turtle-widget-root .\!bg-background {
5227
5280
  background-color: var(--color-background) !important;
5228
5281
  }
@@ -5334,6 +5387,12 @@
5334
5387
  .turtle-widget-root .text-foreground {
5335
5388
  color: var(--color-foreground);
5336
5389
  }
5390
+ .turtle-widget-root .text-foreground\/60 {
5391
+ color: var(--color-foreground);
5392
+ @supports (color: color-mix(in lab, red, red)) {
5393
+ color: color-mix(in oklab, var(--color-foreground) 60%, transparent);
5394
+ }
5395
+ }
5337
5396
  .turtle-widget-root .text-muted-foreground {
5338
5397
  color: var(--color-muted-foreground);
5339
5398
  }
@@ -5354,6 +5413,10 @@
5354
5413
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
5355
5414
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5356
5415
  }
5416
+ .turtle-widget-root .invert {
5417
+ --tw-invert: invert(100%);
5418
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
5419
+ }
5357
5420
  .turtle-widget-root .filter {
5358
5421
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
5359
5422
  }
@@ -5391,6 +5454,23 @@
5391
5454
  }
5392
5455
  }
5393
5456
  }
5457
+ .turtle-widget-root .hover\:bg-accent\/70 {
5458
+ &:hover {
5459
+ @media (hover: hover) {
5460
+ background-color: var(--color-accent);
5461
+ @supports (color: color-mix(in lab, red, red)) {
5462
+ background-color: color-mix(in oklab, var(--color-accent) 70%, transparent);
5463
+ }
5464
+ }
5465
+ }
5466
+ }
5467
+ .turtle-widget-root .hover\:text-foreground {
5468
+ &:hover {
5469
+ @media (hover: hover) {
5470
+ color: var(--color-foreground);
5471
+ }
5472
+ }
5473
+ }
5394
5474
  .turtle-widget-root .hover\:text-primary {
5395
5475
  &:hover {
5396
5476
  @media (hover: hover) {
@@ -5413,11 +5493,6 @@
5413
5493
  min-height: 690px;
5414
5494
  }
5415
5495
  }
5416
- .turtle-widget-root .lg\:justify-start {
5417
- @media (width >= 64rem) {
5418
- justify-content: flex-start;
5419
- }
5420
- }
5421
5496
  .turtle-widget-root .\[\&_button\]\:w-32 {
5422
5497
  & button {
5423
5498
  width: calc(var(--spacing) * 32);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turtleclub/earn-widget",
3
- "version": "0.3.1",
3
+ "version": "0.3.2-beta.1",
4
4
  "description": "Configurable and self-contained Turtle Earn widget for third-party integration",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,7 +43,7 @@
43
43
  "@turtleclub/api": "0.3.0",
44
44
  "@turtleclub/chains": "0.2.0",
45
45
  "@turtleclub/hooks": "0.3.1",
46
- "@turtleclub/ui": "0.4.0",
46
+ "@turtleclub/ui": "0.5.0-beta.1",
47
47
  "@turtleclub/utils": "0.2.0",
48
48
  "class-variance-authority": "^0.7.1",
49
49
  "clsx": "^2.1.1",
@@ -84,5 +84,5 @@
84
84
  "publishConfig": {
85
85
  "access": "public"
86
86
  },
87
- "gitHead": "c110a83b0d8f91defa77148127294b5a52674774"
87
+ "gitHead": "742790ecea7542ee7a868b559f9908ad600ddcb9"
88
88
  }