@rogieking/figui3 1.0.6 → 1.0.7

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/fig.css +2 -11
  2. package/package.json +1 -1
package/fig.css CHANGED
@@ -529,17 +529,8 @@ fig-segmented-control {
529
529
  appearance: none;
530
530
  padding: 0 var(--spacer-2);
531
531
 
532
- & [type=radio] {
533
- position: absolute;
534
- inset: 0;
535
- border-radius: 0;
536
- opacity: 0;
537
- z-index: 1;
538
- width: 100%;
539
- height: 100%;
540
- }
541
-
542
- &:has(:checked) {
532
+ &[selected]:not([selected=false]),
533
+ &[selected=true] {
543
534
  background-color: var(--figma-color-bg);
544
535
  border-radius: calc(var(--radius-medium) - 1px);
545
536
  box-shadow: var(--handle-shadow);
package/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.0.6"
3
+ "version": "1.0.7"
4
4
  }