@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 CHANGED
@@ -524,16 +524,16 @@ function PickerOption({
524
524
  style: {
525
525
  fontSize: 13,
526
526
  lineHeight: "1.4",
527
- borderRadius: 8,
528
- padding: "6px 13px",
529
- border: isSelected ? "1.5px solid var(--primary, #19191c)" : hovered && !inactive ? "1.5px solid rgba(0,0,0,0.28)" : "1.5px solid rgba(0,0,0,0.13)",
530
- backgroundColor: isSelected ? "var(--primary, #19191c)" : hovered && !inactive ? "rgba(0,0,0,0.04)" : "#fff",
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.28 : 1,
534
- transition: "border-color 0.12s ease, background-color 0.12s ease, opacity 0.12s ease",
535
- fontWeight: isSelected ? 600 : 400,
536
- boxShadow: isSelected || inactive ? "none" : "0 1px 2px rgba(0,0,0,0.07)"
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: 8,
502
- padding: "6px 13px",
503
- border: isSelected ? "1.5px solid var(--primary, #19191c)" : hovered && !inactive ? "1.5px solid rgba(0,0,0,0.28)" : "1.5px solid rgba(0,0,0,0.13)",
504
- backgroundColor: isSelected ? "var(--primary, #19191c)" : hovered && !inactive ? "rgba(0,0,0,0.04)" : "#fff",
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.28 : 1,
508
- transition: "border-color 0.12s ease, background-color 0.12s ease, opacity 0.12s ease",
509
- fontWeight: isSelected ? 600 : 400,
510
- boxShadow: isSelected || inactive ? "none" : "0 1px 2px rgba(0,0,0,0.07)"
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
  }
package/package.json CHANGED
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "private": false,
35
35
  "types": "./dist/index.d.ts",
36
- "version": "1.5.1",
36
+ "version": "1.5.3",
37
37
  "scripts": {
38
38
  "build": "tsup",
39
39
  "typecheck": "tsc --noEmit"