@turtleclub/earn-widget 0.4.0 → 0.4.1-beta.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 (2) hide show
  1. package/dist/styles.css +121 -1
  2. package/package.json +3 -3
package/dist/styles.css CHANGED
@@ -153,6 +153,7 @@
153
153
  --animate-pulse: pulse 2s cubic-bezier(.4,0,.6,1)infinite;
154
154
  --blur-sm: 8px;
155
155
  --blur-lg: 16px;
156
+ --aspect-video: 16/9;
156
157
  --default-transition-duration: .15s;
157
158
  --default-transition-timing-function: cubic-bezier(.4,0,.2,1);
158
159
  --default-font-family: "DM Sans",sans-serif;
@@ -844,6 +845,9 @@
844
845
  .turtle-widget-root .-my-px {
845
846
  margin-block: -1px;
846
847
  }
848
+ .turtle-widget-root .my-0\.5 {
849
+ margin-block: calc(var(--spacing)*.5);
850
+ }
847
851
  .turtle-widget-root .my-1 {
848
852
  margin-block: calc(var(--spacing)*1);
849
853
  }
@@ -940,6 +944,9 @@
940
944
  .turtle-widget-root .aspect-square {
941
945
  aspect-ratio: 1;
942
946
  }
947
+ .turtle-widget-root .aspect-video {
948
+ aspect-ratio: var(--aspect-video);
949
+ }
943
950
  .turtle-widget-root .size-2 {
944
951
  width: calc(var(--spacing)*2);
945
952
  height: calc(var(--spacing)*2);
@@ -1124,6 +1131,12 @@
1124
1131
  .turtle-widget-root .w-\(--sidebar-width\) {
1125
1132
  width: var(--sidebar-width);
1126
1133
  }
1134
+ .turtle-widget-root .w-0 {
1135
+ width: calc(var(--spacing)*0);
1136
+ }
1137
+ .turtle-widget-root .w-1 {
1138
+ width: calc(var(--spacing)*1);
1139
+ }
1127
1140
  .turtle-widget-root .w-2 {
1128
1141
  width: calc(var(--spacing)*2);
1129
1142
  }
@@ -1506,6 +1519,9 @@
1506
1519
  .turtle-widget-root .rounded {
1507
1520
  border-radius: .25rem;
1508
1521
  }
1522
+ .turtle-widget-root .rounded-\[2px\] {
1523
+ border-radius: 2px;
1524
+ }
1509
1525
  .turtle-widget-root .rounded-\[calc\(var\(--radius\)-5px\)\] {
1510
1526
  border-radius: calc(var(--radius) - 5px);
1511
1527
  }
@@ -1556,6 +1572,10 @@
1556
1572
  border-style: var(--tw-border-style);
1557
1573
  border-width: 2px;
1558
1574
  }
1575
+ .turtle-widget-root .border-\[1\.5px\] {
1576
+ border-style: var(--tw-border-style);
1577
+ border-width: 1.5px;
1578
+ }
1559
1579
  .turtle-widget-root .border-t {
1560
1580
  border-top-style: var(--tw-border-style);
1561
1581
  border-top-width: 1px;
@@ -1572,16 +1592,31 @@
1572
1592
  border-left-style: var(--tw-border-style);
1573
1593
  border-left-width: 1px;
1574
1594
  }
1595
+ .turtle-widget-root .border-dashed {
1596
+ --tw-border-style: dashed;
1597
+ border-style: dashed;
1598
+ }
1575
1599
  .turtle-widget-root .border-none {
1576
1600
  --tw-border-style: none;
1577
1601
  border-style: none;
1578
1602
  }
1603
+ .turtle-widget-root .border-\(--color-border\) {
1604
+ border-color: var(--color-border);
1605
+ }
1579
1606
  .turtle-widget-root .border-background {
1580
1607
  border-color: var(--color-background);
1581
1608
  }
1582
- .turtle-widget-root .border-border {
1609
+ .turtle-widget-root .border-border, .turtle-widget-root .border-border\/50 {
1583
1610
  border-color: var(--color-border);
1584
1611
  }
1612
+ @supports (color:color-mix(in lab,red,red)) {
1613
+ .turtle-widget-root .border-border\/50 {
1614
+ border-color: var(--color-border);
1615
+ @supports (color: color-mix(in lab, red, red)) {
1616
+ border-color: color-mix(in oklab,var(--color-border)50%,transparent);
1617
+ }
1618
+ }
1619
+ }
1585
1620
  .turtle-widget-root .border-inherit {
1586
1621
  border-color: inherit;
1587
1622
  }
@@ -1631,6 +1666,9 @@
1631
1666
  .turtle-widget-root .\!bg-neutral-alpha-2 {
1632
1667
  background-color: var(--color-neutral-alpha-2) !important;
1633
1668
  }
1669
+ .turtle-widget-root .bg-\(--color-bg\) {
1670
+ background-color: var(--color-bg);
1671
+ }
1634
1672
  .turtle-widget-root .bg-background {
1635
1673
  background-color: var(--color-background);
1636
1674
  }
@@ -2230,6 +2268,10 @@
2230
2268
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);
2231
2269
  box-shadow: var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);
2232
2270
  }
2271
+ .turtle-widget-root .shadow-xl {
2272
+ --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);
2273
+ box-shadow: var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);
2274
+ }
2233
2275
  .turtle-widget-root .shadow-xs {
2234
2276
  --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color,#0000000d);
2235
2277
  box-shadow: var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);
@@ -3946,6 +3988,68 @@
3946
3988
  align-items: flex-start;
3947
3989
  }
3948
3990
  }
3991
+ .turtle-widget-root .\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text {
3992
+ fill: var(--color-muted-foreground);
3993
+ }
3994
+ .turtle-widget-root .\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"] {
3995
+ stroke: var(--color-border);
3996
+ }
3997
+ @supports (color:color-mix(in lab,red,red)) {
3998
+ .turtle-widget-root .\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"] {
3999
+ stroke: var(--color-border);
4000
+ @supports (color: color-mix(in lab, red, red)) {
4001
+ stroke: color-mix(in oklab,var(--color-border)50%,transparent);
4002
+ }
4003
+ }
4004
+ }
4005
+ .turtle-widget-root .\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor {
4006
+ stroke: var(--color-border);
4007
+ }
4008
+ .turtle-widget-root .\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"] {
4009
+ stroke: #0000;
4010
+ }
4011
+ .turtle-widget-root .\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer {
4012
+ --tw-outline-style: none;
4013
+ outline-style: none;
4014
+ }
4015
+ @media (forced-colors:active) {
4016
+ .turtle-widget-root .\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer {
4017
+ outline-offset: 2px;
4018
+ outline: 2px solid #0000;
4019
+ }
4020
+ }
4021
+ .turtle-widget-root .\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"] {
4022
+ stroke: var(--color-border);
4023
+ }
4024
+ .turtle-widget-root .\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector, .turtle-widget-root .\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor {
4025
+ fill: var(--color-muted);
4026
+ }
4027
+ .turtle-widget-root .\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"] {
4028
+ stroke: var(--color-border);
4029
+ }
4030
+ .turtle-widget-root .\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector {
4031
+ --tw-outline-style: none;
4032
+ outline-style: none;
4033
+ }
4034
+ @media (forced-colors:active) {
4035
+ .turtle-widget-root .\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector {
4036
+ outline-offset: 2px;
4037
+ outline: 2px solid #0000;
4038
+ }
4039
+ }
4040
+ .turtle-widget-root .\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"] {
4041
+ stroke: #0000;
4042
+ }
4043
+ .turtle-widget-root .\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface {
4044
+ --tw-outline-style: none;
4045
+ outline-style: none;
4046
+ }
4047
+ @media (forced-colors:active) {
4048
+ .turtle-widget-root .\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface {
4049
+ outline-offset: 2px;
4050
+ outline: 2px solid #0000;
4051
+ }
4052
+ }
3949
4053
  .turtle-widget-root .\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading] {
3950
4054
  padding-inline: calc(var(--spacing)*2);
3951
4055
  }
@@ -4144,9 +4248,24 @@
4144
4248
  width: calc(var(--spacing)*4);
4145
4249
  height: calc(var(--spacing)*4);
4146
4250
  }
4251
+ .turtle-widget-root .\[\&\>svg\]\:h-2\.5>svg {
4252
+ height: calc(var(--spacing)*2.5);
4253
+ }
4254
+ .turtle-widget-root .\[\&\>svg\]\:h-3>svg {
4255
+ height: calc(var(--spacing)*3);
4256
+ }
4257
+ .turtle-widget-root .\[\&\>svg\]\:w-2\.5>svg {
4258
+ width: calc(var(--spacing)*2.5);
4259
+ }
4260
+ .turtle-widget-root .\[\&\>svg\]\:w-3>svg {
4261
+ width: calc(var(--spacing)*3);
4262
+ }
4147
4263
  .turtle-widget-root .\[\&\>svg\]\:shrink-0>svg {
4148
4264
  flex-shrink: 0;
4149
4265
  }
4266
+ .turtle-widget-root .\[\&\>svg\]\:text-muted-foreground>svg {
4267
+ color: var(--color-muted-foreground);
4268
+ }
4150
4269
  .turtle-widget-root .\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5>svg:not([class*=size-]) {
4151
4270
  width: calc(var(--spacing)*3.5);
4152
4271
  height: calc(var(--spacing)*3.5);
@@ -4872,6 +4991,7 @@
4872
4991
  --blur-sm: 8px;
4873
4992
  --blur-lg: 16px;
4874
4993
  --blur-xl: 24px;
4994
+ --aspect-video: 16 / 9;
4875
4995
  --default-transition-duration: 150ms;
4876
4996
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
4877
4997
  --default-font-family: "DM Sans", sans-serif;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turtleclub/earn-widget",
3
- "version": "0.4.0",
3
+ "version": "0.4.1-beta.0",
4
4
  "description": "Configurable and self-contained Turtle Earn widget for third-party integration",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,7 +42,7 @@
42
42
  "@tailwindcss/postcss": "^4.1.11",
43
43
  "@turtleclub/chains": "0.3.0",
44
44
  "@turtleclub/hooks": "0.4.0",
45
- "@turtleclub/ui": "0.6.0",
45
+ "@turtleclub/ui": "0.7.0-beta.0",
46
46
  "@turtleclub/utils": "0.3.0",
47
47
  "class-variance-authority": "^0.7.1",
48
48
  "clsx": "^2.1.1",
@@ -84,5 +84,5 @@
84
84
  "publishConfig": {
85
85
  "access": "public"
86
86
  },
87
- "gitHead": "bff2eb652056dba47b8bea59635da37d8ae5534d"
87
+ "gitHead": "1f42f5ed80727a064305af27a996d4a375bfeb73"
88
88
  }