@turtleclub/earn-widget 0.3.0-beta.10 → 0.3.0-beta.12
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +53 -1
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -206,6 +206,9 @@
|
|
|
206
206
|
.turtle-widget-root .pointer-events-none {
|
|
207
207
|
pointer-events: none;
|
|
208
208
|
}
|
|
209
|
+
.turtle-widget-root .visible {
|
|
210
|
+
visibility: visible;
|
|
211
|
+
}
|
|
209
212
|
.turtle-widget-root .absolute {
|
|
210
213
|
position: absolute;
|
|
211
214
|
}
|
|
@@ -218,6 +221,9 @@
|
|
|
218
221
|
.turtle-widget-root .sticky {
|
|
219
222
|
position: sticky;
|
|
220
223
|
}
|
|
224
|
+
.turtle-widget-root .inset-0 {
|
|
225
|
+
inset: calc(var(--spacing) * 0);
|
|
226
|
+
}
|
|
221
227
|
.turtle-widget-root .top-1\/2 {
|
|
222
228
|
top: calc(1/2 * 100%);
|
|
223
229
|
}
|
|
@@ -281,6 +287,9 @@
|
|
|
281
287
|
.turtle-widget-root .flex {
|
|
282
288
|
display: flex;
|
|
283
289
|
}
|
|
290
|
+
.turtle-widget-root .grid {
|
|
291
|
+
display: grid;
|
|
292
|
+
}
|
|
284
293
|
.turtle-widget-root .hidden {
|
|
285
294
|
display: none;
|
|
286
295
|
}
|
|
@@ -363,6 +372,9 @@
|
|
|
363
372
|
.turtle-widget-root .max-w-\[120px\] {
|
|
364
373
|
max-width: 120px;
|
|
365
374
|
}
|
|
375
|
+
.turtle-widget-root .min-w-\[140px\] {
|
|
376
|
+
min-width: 140px;
|
|
377
|
+
}
|
|
366
378
|
.turtle-widget-root .flex-1 {
|
|
367
379
|
flex: 1;
|
|
368
380
|
}
|
|
@@ -389,6 +401,9 @@
|
|
|
389
401
|
.turtle-widget-root .cursor-pointer {
|
|
390
402
|
cursor: pointer;
|
|
391
403
|
}
|
|
404
|
+
.turtle-widget-root .grid-cols-1 {
|
|
405
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
406
|
+
}
|
|
392
407
|
.turtle-widget-root .flex-col {
|
|
393
408
|
flex-direction: column;
|
|
394
409
|
}
|
|
@@ -605,6 +620,9 @@
|
|
|
605
620
|
-webkit-font-smoothing: antialiased;
|
|
606
621
|
-moz-osx-font-smoothing: grayscale;
|
|
607
622
|
}
|
|
623
|
+
.turtle-widget-root .opacity-0 {
|
|
624
|
+
opacity: 0%;
|
|
625
|
+
}
|
|
608
626
|
.turtle-widget-root .opacity-30 {
|
|
609
627
|
opacity: 30%;
|
|
610
628
|
}
|
|
@@ -625,6 +643,11 @@
|
|
|
625
643
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
626
644
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
627
645
|
}
|
|
646
|
+
.turtle-widget-root .transition-opacity {
|
|
647
|
+
transition-property: opacity;
|
|
648
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
649
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
650
|
+
}
|
|
628
651
|
.turtle-widget-root .duration-700 {
|
|
629
652
|
--tw-duration: 700ms;
|
|
630
653
|
transition-duration: 700ms;
|
|
@@ -633,6 +656,20 @@
|
|
|
633
656
|
--tw-ease: linear;
|
|
634
657
|
transition-timing-function: linear;
|
|
635
658
|
}
|
|
659
|
+
.turtle-widget-root .group-hover\:invisible {
|
|
660
|
+
&:is(:where(.group):hover *) {
|
|
661
|
+
@media (hover: hover) {
|
|
662
|
+
visibility: hidden;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
.turtle-widget-root .group-hover\:opacity-100 {
|
|
667
|
+
&:is(:where(.group):hover *) {
|
|
668
|
+
@media (hover: hover) {
|
|
669
|
+
opacity: 100%;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
}
|
|
636
673
|
.turtle-widget-root .focus\:border-transparent {
|
|
637
674
|
&:focus {
|
|
638
675
|
border-color: transparent;
|
|
@@ -1542,6 +1579,9 @@
|
|
|
1542
1579
|
.turtle-widget-root .bg-border {
|
|
1543
1580
|
background-color: var(--border);
|
|
1544
1581
|
}
|
|
1582
|
+
.turtle-widget-root .bg-card {
|
|
1583
|
+
background-color: var(--card);
|
|
1584
|
+
}
|
|
1545
1585
|
.turtle-widget-root .bg-muted {
|
|
1546
1586
|
background-color: var(--muted);
|
|
1547
1587
|
}
|
|
@@ -1660,6 +1700,9 @@
|
|
|
1660
1700
|
.turtle-widget-root .px-6 {
|
|
1661
1701
|
padding-inline: calc(var(--spacing)*6);
|
|
1662
1702
|
}
|
|
1703
|
+
.turtle-widget-root .py-0 {
|
|
1704
|
+
padding-block: calc(var(--spacing)*0);
|
|
1705
|
+
}
|
|
1663
1706
|
.turtle-widget-root .py-0\.5 {
|
|
1664
1707
|
padding-block: calc(var(--spacing)*.5);
|
|
1665
1708
|
}
|
|
@@ -1687,12 +1730,18 @@
|
|
|
1687
1730
|
.turtle-widget-root .pt-2 {
|
|
1688
1731
|
padding-top: calc(var(--spacing)*2);
|
|
1689
1732
|
}
|
|
1733
|
+
.turtle-widget-root .pr-3 {
|
|
1734
|
+
padding-right: calc(var(--spacing)*3);
|
|
1735
|
+
}
|
|
1690
1736
|
.turtle-widget-root .pr-8 {
|
|
1691
1737
|
padding-right: calc(var(--spacing)*8);
|
|
1692
1738
|
}
|
|
1693
1739
|
.turtle-widget-root .pb-3 {
|
|
1694
1740
|
padding-bottom: calc(var(--spacing)*3);
|
|
1695
1741
|
}
|
|
1742
|
+
.turtle-widget-root .pl-0 {
|
|
1743
|
+
padding-left: calc(var(--spacing)*0);
|
|
1744
|
+
}
|
|
1696
1745
|
.turtle-widget-root .pl-2 {
|
|
1697
1746
|
padding-left: calc(var(--spacing)*2);
|
|
1698
1747
|
}
|
|
@@ -2125,7 +2174,7 @@
|
|
|
2125
2174
|
}
|
|
2126
2175
|
}
|
|
2127
2176
|
}
|
|
2128
|
-
.turtle-widget-root .hover\:bg-secondary\/80:hover {
|
|
2177
|
+
.turtle-widget-root .hover\:bg-secondary:hover, .turtle-widget-root .hover\:bg-secondary\/80:hover {
|
|
2129
2178
|
background-color: var(--secondary);
|
|
2130
2179
|
}
|
|
2131
2180
|
@supports (color:color-mix(in lab,red,red)) {
|
|
@@ -2482,6 +2531,9 @@
|
|
|
2482
2531
|
.turtle-widget-root :is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child {
|
|
2483
2532
|
gap: calc(var(--spacing)*2);
|
|
2484
2533
|
}
|
|
2534
|
+
.turtle-widget-root .\[\&\>div\]\:\!block>div {
|
|
2535
|
+
display: block !important;
|
|
2536
|
+
}
|
|
2485
2537
|
}
|
|
2486
2538
|
@property --tw-animation-delay {
|
|
2487
2539
|
syntax: "*";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turtleclub/earn-widget",
|
|
3
|
-
"version": "0.3.0-beta.
|
|
3
|
+
"version": "0.3.0-beta.12",
|
|
4
4
|
"description": "Configurable and self-contained Turtle Earn widget for third-party integration",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@tailwindcss/postcss": "^4.1.11",
|
|
43
43
|
"@turtleclub/hooks": "0.2.1-beta.1",
|
|
44
|
-
"@turtleclub/ui": "0.3.0-beta.
|
|
44
|
+
"@turtleclub/ui": "0.3.0-beta.7",
|
|
45
45
|
"class-variance-authority": "^0.7.1",
|
|
46
46
|
"clsx": "^2.1.1",
|
|
47
47
|
"jotai": "^2.10.5",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "b59bfd4343e7855ed645579414b98940172aa14c"
|
|
83
83
|
}
|