@rogieking/figui3 1.0.32 → 1.0.33

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 (3) hide show
  1. package/fig.css +1 -1
  2. package/fig.js +1 -1
  3. package/package.json +1 -1
package/fig.css CHANGED
@@ -1883,7 +1883,6 @@ fig-segmented-control {
1883
1883
  background-color: var(--figma-color-bg-secondary);
1884
1884
  border: 0;
1885
1885
  border-radius: var(--radius-medium);
1886
- min-width: 6rem;
1887
1886
  height: 1.5rem;
1888
1887
  padding: 1px;
1889
1888
  gap: 0;
@@ -1898,6 +1897,7 @@ fig-segmented-control {
1898
1897
  justify-content: center;
1899
1898
  position: relative;
1900
1899
  appearance: none;
1900
+ min-width: 1.5rem;
1901
1901
  padding: 0 var(--spacer-2);
1902
1902
 
1903
1903
  &[selected]:not([selected="false"]),
package/fig.js CHANGED
@@ -658,7 +658,7 @@ class FigSlider extends HTMLElement {
658
658
  default:
659
659
  this[name] = this.input[name] = newValue;
660
660
  if (this.textInput) {
661
- this.textInput[name] = newValue;
661
+ this.textInput.setAttribute(name, newValue);
662
662
  }
663
663
  this.handleInput();
664
664
  break;
package/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.0.32"
3
+ "version": "1.0.33"
4
4
  }