@rogieking/figui3 9.4.11 → 9.4.12

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [9.4.12]
6
+
7
+ ### Added
8
+
9
+ - Added a stronger translucent border token and a standalone menu-item checkbox example.
10
+
11
+ ### Changed
12
+
13
+ - Unchecked checkboxes now use the stronger translucent border and transparent background tokens.
14
+
15
+ ### Fixed
16
+
17
+ - Standalone `fig-menu-item` hover backgrounds now render within the correct stacking context.
18
+
5
19
  ## [9.4.11]
6
20
 
7
21
  ### Added
package/components.css CHANGED
@@ -277,6 +277,10 @@
277
277
  rgba(0, 0, 0, 0.1),
278
278
  rgba(255, 255, 255, 0.1)
279
279
  );
280
+ --figma-color-bordertranslucentstrong: light-dark(
281
+ rgba(0, 0, 0, 0.2),
282
+ rgba(255, 255, 255, 0.2)
283
+ );
280
284
  --figma-color-bg-transparent: light-dark(
281
285
  rgba(0, 0, 0, 0.05),
282
286
  rgba(255, 255, 255, 0.05)
@@ -2799,8 +2803,8 @@ input[type="checkbox"]:not(.switch) {
2799
2803
  width: var(--size);
2800
2804
  height: var(--size);
2801
2805
  aspect-ratio: 1/1;
2802
- box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
2803
- background-color: var(--figma-color-bg-secondary);
2806
+ box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucentstrong);
2807
+ background-color: var(--figma-color-bg-transparent);
2804
2808
  vertical-align: middle;
2805
2809
 
2806
2810
  &::after {
@@ -6761,6 +6765,7 @@ fig-menu-item {
6761
6765
  color: inherit;
6762
6766
  font-weight: var(--body-medium-fontWeight);
6763
6767
  position: relative;
6768
+ isolation: isolate;
6764
6769
 
6765
6770
  h3{
6766
6771
  margin: 0 0 var(--spacer-1) 0;