@rogieking/figui3 1.6.1 → 1.6.2

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/components.css +7 -1
  2. package/package.json +1 -1
package/components.css CHANGED
@@ -1780,7 +1780,7 @@ fig-slider {
1780
1780
 
1781
1781
  &[variant="minimal"] {
1782
1782
  --slider-height: 0.25rem;
1783
- --slider-thumb-size: 0.5rem;
1783
+ --slider-thumb-size: 0.75rem;
1784
1784
  --slider-tick-size: calc(var(--slider-height) / 2);
1785
1785
  --handle-transition: none;
1786
1786
  --slider-transition: none;
@@ -1809,6 +1809,12 @@ fig-slider {
1809
1809
  height: calc(var(--slider-height) * 2);
1810
1810
  background-color: transparent;
1811
1811
  }
1812
+ &:not(:hover):not(:focus-within) {
1813
+ --slider-handle-shadow: inset 0 0 0 calc(6px + 0.5rem * var(--unchanged))
1814
+ var(--figma-color-icon-onbrand),
1815
+ 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 0 5px rgba(0, 0, 0, 0.1),
1816
+ var(--figma-elevation-200);
1817
+ }
1812
1818
  &:hover,
1813
1819
  &:focus-within {
1814
1820
  --slider-height: 1rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {