@turtleclub/earn-widget 0.3.0-beta.1 → 0.3.0-beta.11
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 +64 -2
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -186,6 +186,9 @@
|
|
|
186
186
|
.turtle-widget-root ::-webkit-datetime-edit, .turtle-widget-root ::-webkit-datetime-edit-year-field, .turtle-widget-root ::-webkit-datetime-edit-month-field, .turtle-widget-root ::-webkit-datetime-edit-day-field, .turtle-widget-root ::-webkit-datetime-edit-hour-field, .turtle-widget-root ::-webkit-datetime-edit-minute-field, .turtle-widget-root ::-webkit-datetime-edit-second-field, .turtle-widget-root ::-webkit-datetime-edit-millisecond-field, .turtle-widget-root ::-webkit-datetime-edit-meridiem-field {
|
|
187
187
|
padding-block: 0;
|
|
188
188
|
}
|
|
189
|
+
.turtle-widget-root ::-webkit-calendar-picker-indicator {
|
|
190
|
+
line-height: 1;
|
|
191
|
+
}
|
|
189
192
|
.turtle-widget-root :-moz-ui-invalid {
|
|
190
193
|
box-shadow: none;
|
|
191
194
|
}
|
|
@@ -203,6 +206,9 @@
|
|
|
203
206
|
.turtle-widget-root .pointer-events-none {
|
|
204
207
|
pointer-events: none;
|
|
205
208
|
}
|
|
209
|
+
.turtle-widget-root .visible {
|
|
210
|
+
visibility: visible;
|
|
211
|
+
}
|
|
206
212
|
.turtle-widget-root .absolute {
|
|
207
213
|
position: absolute;
|
|
208
214
|
}
|
|
@@ -215,6 +221,9 @@
|
|
|
215
221
|
.turtle-widget-root .sticky {
|
|
216
222
|
position: sticky;
|
|
217
223
|
}
|
|
224
|
+
.turtle-widget-root .inset-0 {
|
|
225
|
+
inset: calc(var(--spacing) * 0);
|
|
226
|
+
}
|
|
218
227
|
.turtle-widget-root .top-1\/2 {
|
|
219
228
|
top: calc(1/2 * 100%);
|
|
220
229
|
}
|
|
@@ -278,6 +287,9 @@
|
|
|
278
287
|
.turtle-widget-root .flex {
|
|
279
288
|
display: flex;
|
|
280
289
|
}
|
|
290
|
+
.turtle-widget-root .grid {
|
|
291
|
+
display: grid;
|
|
292
|
+
}
|
|
281
293
|
.turtle-widget-root .hidden {
|
|
282
294
|
display: none;
|
|
283
295
|
}
|
|
@@ -360,6 +372,9 @@
|
|
|
360
372
|
.turtle-widget-root .max-w-\[120px\] {
|
|
361
373
|
max-width: 120px;
|
|
362
374
|
}
|
|
375
|
+
.turtle-widget-root .min-w-\[140px\] {
|
|
376
|
+
min-width: 140px;
|
|
377
|
+
}
|
|
363
378
|
.turtle-widget-root .flex-1 {
|
|
364
379
|
flex: 1;
|
|
365
380
|
}
|
|
@@ -386,6 +401,9 @@
|
|
|
386
401
|
.turtle-widget-root .cursor-pointer {
|
|
387
402
|
cursor: pointer;
|
|
388
403
|
}
|
|
404
|
+
.turtle-widget-root .grid-cols-1 {
|
|
405
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
406
|
+
}
|
|
389
407
|
.turtle-widget-root .flex-col {
|
|
390
408
|
flex-direction: column;
|
|
391
409
|
}
|
|
@@ -602,6 +620,9 @@
|
|
|
602
620
|
-webkit-font-smoothing: antialiased;
|
|
603
621
|
-moz-osx-font-smoothing: grayscale;
|
|
604
622
|
}
|
|
623
|
+
.turtle-widget-root .opacity-0 {
|
|
624
|
+
opacity: 0%;
|
|
625
|
+
}
|
|
605
626
|
.turtle-widget-root .opacity-30 {
|
|
606
627
|
opacity: 30%;
|
|
607
628
|
}
|
|
@@ -622,6 +643,11 @@
|
|
|
622
643
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
623
644
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
624
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
|
+
}
|
|
625
651
|
.turtle-widget-root .duration-700 {
|
|
626
652
|
--tw-duration: 700ms;
|
|
627
653
|
transition-duration: 700ms;
|
|
@@ -630,6 +656,20 @@
|
|
|
630
656
|
--tw-ease: linear;
|
|
631
657
|
transition-timing-function: linear;
|
|
632
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
|
+
}
|
|
633
673
|
.turtle-widget-root .focus\:border-transparent {
|
|
634
674
|
&:focus {
|
|
635
675
|
border-color: transparent;
|
|
@@ -668,7 +708,7 @@
|
|
|
668
708
|
}
|
|
669
709
|
}
|
|
670
710
|
}
|
|
671
|
-
/*! tailwindcss v4.1.
|
|
711
|
+
/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */
|
|
672
712
|
@layer properties {
|
|
673
713
|
@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))) {
|
|
674
714
|
.turtle-widget-root *, .turtle-widget-root :before, .turtle-widget-root :after, .turtle-widget-root ::backdrop {
|
|
@@ -711,11 +751,13 @@
|
|
|
711
751
|
--tw-animation-duration: initial;
|
|
712
752
|
--tw-animation-fill-mode: none;
|
|
713
753
|
--tw-animation-iteration-count: 1;
|
|
754
|
+
--tw-enter-blur: 0;
|
|
714
755
|
--tw-enter-opacity: 1;
|
|
715
756
|
--tw-enter-rotate: 0;
|
|
716
757
|
--tw-enter-scale: 1;
|
|
717
758
|
--tw-enter-translate-x: 0;
|
|
718
759
|
--tw-enter-translate-y: 0;
|
|
760
|
+
--tw-exit-blur: 0;
|
|
719
761
|
--tw-exit-opacity: 1;
|
|
720
762
|
--tw-exit-rotate: 0;
|
|
721
763
|
--tw-exit-scale: 1;
|
|
@@ -952,6 +994,9 @@
|
|
|
952
994
|
.turtle-widget-root ::-webkit-datetime-edit-meridiem-field {
|
|
953
995
|
padding-block: 0;
|
|
954
996
|
}
|
|
997
|
+
.turtle-widget-root ::-webkit-calendar-picker-indicator {
|
|
998
|
+
line-height: 1;
|
|
999
|
+
}
|
|
955
1000
|
.turtle-widget-root :-moz-ui-invalid {
|
|
956
1001
|
box-shadow: none;
|
|
957
1002
|
}
|
|
@@ -1462,7 +1507,7 @@
|
|
|
1462
1507
|
.turtle-widget-root .rounded-xl {
|
|
1463
1508
|
border-radius: calc(var(--radius) + 4px);
|
|
1464
1509
|
}
|
|
1465
|
-
.turtle-widget-root .border
|
|
1510
|
+
.turtle-widget-root .border {
|
|
1466
1511
|
border-style: var(--tw-border-style);
|
|
1467
1512
|
border-width: 1px;
|
|
1468
1513
|
}
|
|
@@ -2474,6 +2519,9 @@
|
|
|
2474
2519
|
.turtle-widget-root :is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child {
|
|
2475
2520
|
gap: calc(var(--spacing)*2);
|
|
2476
2521
|
}
|
|
2522
|
+
.turtle-widget-root .\[\&\>div\]\:\!block>div {
|
|
2523
|
+
display: block !important;
|
|
2524
|
+
}
|
|
2477
2525
|
}
|
|
2478
2526
|
@property --tw-animation-delay {
|
|
2479
2527
|
syntax: "*";
|
|
@@ -2499,6 +2547,11 @@
|
|
|
2499
2547
|
inherits: false;
|
|
2500
2548
|
initial-value: 1;
|
|
2501
2549
|
}
|
|
2550
|
+
@property --tw-enter-blur {
|
|
2551
|
+
syntax: "*";
|
|
2552
|
+
inherits: false;
|
|
2553
|
+
initial-value: 0;
|
|
2554
|
+
}
|
|
2502
2555
|
@property --tw-enter-opacity {
|
|
2503
2556
|
syntax: "*";
|
|
2504
2557
|
inherits: false;
|
|
@@ -2524,6 +2577,11 @@
|
|
|
2524
2577
|
inherits: false;
|
|
2525
2578
|
initial-value: 0;
|
|
2526
2579
|
}
|
|
2580
|
+
@property --tw-exit-blur {
|
|
2581
|
+
syntax: "*";
|
|
2582
|
+
inherits: false;
|
|
2583
|
+
initial-value: 0;
|
|
2584
|
+
}
|
|
2527
2585
|
@property --tw-exit-opacity {
|
|
2528
2586
|
syntax: "*";
|
|
2529
2587
|
inherits: false;
|
|
@@ -2810,12 +2868,14 @@
|
|
|
2810
2868
|
0% {
|
|
2811
2869
|
opacity: var(--tw-enter-opacity,1);
|
|
2812
2870
|
transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));
|
|
2871
|
+
filter: blur(var(--tw-enter-blur,0));
|
|
2813
2872
|
}
|
|
2814
2873
|
}
|
|
2815
2874
|
@keyframes exit {
|
|
2816
2875
|
to {
|
|
2817
2876
|
opacity: var(--tw-exit-opacity,1);
|
|
2818
2877
|
transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));
|
|
2878
|
+
filter: blur(var(--tw-exit-blur,0));
|
|
2819
2879
|
}
|
|
2820
2880
|
}
|
|
2821
2881
|
.turtle-widget-root {
|
|
@@ -3086,11 +3146,13 @@
|
|
|
3086
3146
|
--tw-animation-duration: initial;
|
|
3087
3147
|
--tw-animation-fill-mode: none;
|
|
3088
3148
|
--tw-animation-iteration-count: 1;
|
|
3149
|
+
--tw-enter-blur: 0;
|
|
3089
3150
|
--tw-enter-opacity: 1;
|
|
3090
3151
|
--tw-enter-rotate: 0;
|
|
3091
3152
|
--tw-enter-scale: 1;
|
|
3092
3153
|
--tw-enter-translate-x: 0;
|
|
3093
3154
|
--tw-enter-translate-y: 0;
|
|
3155
|
+
--tw-exit-blur: 0;
|
|
3094
3156
|
--tw-exit-opacity: 1;
|
|
3095
3157
|
--tw-exit-rotate: 0;
|
|
3096
3158
|
--tw-exit-scale: 1;
|
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.11",
|
|
4
4
|
"description": "Configurable and self-contained Turtle Earn widget for third-party integration",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@tailwindcss/postcss": "^4.1.11",
|
|
43
|
-
"@turtleclub/hooks": "0.2.1-beta.
|
|
44
|
-
"@turtleclub/ui": "0.3.0-beta.
|
|
43
|
+
"@turtleclub/hooks": "0.2.1-beta.1",
|
|
44
|
+
"@turtleclub/ui": "0.3.0-beta.6",
|
|
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": "344d95e7a0f961c1d23dec6c02f4821ffa0d01a9"
|
|
83
83
|
}
|