@rogieking/figui3 1.4.8 → 1.5.0

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 +18 -8
  2. package/package.json +1 -1
package/fig.css CHANGED
@@ -669,16 +669,19 @@ input[type="text"][list] {
669
669
  z-index: -1;
670
670
  background-color: transparent;
671
671
  }
672
- &:hover,
673
- &:active,
674
- &:focus {
675
- background-color: transparent;
676
- outline: 0;
677
- &:before {
678
- background-color: var(--figma-color-bg-menu-hover);
672
+ &:not(:disabled) {
673
+ &:hover,
674
+ &:active,
675
+ &:focus {
676
+ background-color: transparent;
677
+ outline: 0;
678
+ &:before {
679
+ background-color: var(--figma-color-bg-menu-hover);
680
+ }
679
681
  }
680
682
  }
681
683
  }
684
+
682
685
  optgroup {
683
686
  color: var(--figma-color-text-menu-secondary);
684
687
  text-align: left;
@@ -712,6 +715,13 @@ input[type="text"][list] {
712
715
  }
713
716
  }
714
717
  }
718
+ option[hidden="true"]:first-child + optgroup {
719
+ margin-top: 0;
720
+ padding-top: 0;
721
+ &:before {
722
+ display: none;
723
+ }
724
+ }
715
725
  }
716
726
  ::picker-icon {
717
727
  display: none;
@@ -2367,7 +2377,7 @@ fig-segmented-control {
2367
2377
  justify-content: center;
2368
2378
  position: relative;
2369
2379
  appearance: none;
2370
- color: var(--figma-color-text-se);
2380
+ color: var(--figma-color-text-secondary);
2371
2381
  padding: 0 var(--spacer-2);
2372
2382
 
2373
2383
  &[selected]:not([selected="false"]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.4.8",
3
+ "version": "1.5.0",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {