@wallavi/widget 1.5.1 → 1.5.3
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.js +8 -8
- package/dist/index.mjs +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -524,16 +524,16 @@ function PickerOption({
|
|
|
524
524
|
style: {
|
|
525
525
|
fontSize: 13,
|
|
526
526
|
lineHeight: "1.4",
|
|
527
|
-
borderRadius:
|
|
528
|
-
padding: "6px
|
|
529
|
-
border:
|
|
530
|
-
backgroundColor: isSelected ? "var(--primary, #19191c)" : hovered && !inactive ? "rgba(0,0,0,0.
|
|
527
|
+
borderRadius: 100,
|
|
528
|
+
padding: "6px 14px",
|
|
529
|
+
border: "none",
|
|
530
|
+
backgroundColor: isSelected ? "var(--primary, #19191c)" : hovered && !inactive ? "rgba(0,0,0,0.14)" : "rgba(0,0,0,0.08)",
|
|
531
531
|
color: isSelected ? "var(--primary-foreground, #fff)" : "var(--foreground, #09090b)",
|
|
532
532
|
cursor: inactive ? "default" : "pointer",
|
|
533
|
-
opacity: isConsumed ? 0.
|
|
534
|
-
transition: "
|
|
535
|
-
fontWeight: isSelected ? 600 :
|
|
536
|
-
boxShadow:
|
|
533
|
+
opacity: isConsumed ? 0.3 : 1,
|
|
534
|
+
transition: "background-color 0.12s ease, opacity 0.12s ease",
|
|
535
|
+
fontWeight: isSelected ? 600 : 500,
|
|
536
|
+
boxShadow: "none"
|
|
537
537
|
},
|
|
538
538
|
children: opt.label
|
|
539
539
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -498,16 +498,16 @@ function PickerOption({
|
|
|
498
498
|
style: {
|
|
499
499
|
fontSize: 13,
|
|
500
500
|
lineHeight: "1.4",
|
|
501
|
-
borderRadius:
|
|
502
|
-
padding: "6px
|
|
503
|
-
border:
|
|
504
|
-
backgroundColor: isSelected ? "var(--primary, #19191c)" : hovered && !inactive ? "rgba(0,0,0,0.
|
|
501
|
+
borderRadius: 100,
|
|
502
|
+
padding: "6px 14px",
|
|
503
|
+
border: "none",
|
|
504
|
+
backgroundColor: isSelected ? "var(--primary, #19191c)" : hovered && !inactive ? "rgba(0,0,0,0.14)" : "rgba(0,0,0,0.08)",
|
|
505
505
|
color: isSelected ? "var(--primary-foreground, #fff)" : "var(--foreground, #09090b)",
|
|
506
506
|
cursor: inactive ? "default" : "pointer",
|
|
507
|
-
opacity: isConsumed ? 0.
|
|
508
|
-
transition: "
|
|
509
|
-
fontWeight: isSelected ? 600 :
|
|
510
|
-
boxShadow:
|
|
507
|
+
opacity: isConsumed ? 0.3 : 1,
|
|
508
|
+
transition: "background-color 0.12s ease, opacity 0.12s ease",
|
|
509
|
+
fontWeight: isSelected ? 600 : 500,
|
|
510
|
+
boxShadow: "none"
|
|
511
511
|
},
|
|
512
512
|
children: opt.label
|
|
513
513
|
}
|