@rogieking/figui3 1.8.9 → 1.9.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.
package/components.css CHANGED
@@ -1899,7 +1899,11 @@ fig-slider {
1899
1899
 
1900
1900
  background-color: var(--figma-color-bg-secondary);
1901
1901
  border-radius: var(--radius-medium);
1902
- padding-left: 0.5rem;
1902
+ padding-left: var(--spacer-2);
1903
+
1904
+ &:not([text="true"]) {
1905
+ padding-right: var(--spacer-2);
1906
+ }
1903
1907
 
1904
1908
  .fig-slider-input-container {
1905
1909
  height: var(--slider-height);
package/example.html CHANGED
@@ -39,10 +39,17 @@
39
39
  max="100"
40
40
  value="50"
41
41
  step="1"
42
- text="true"
43
42
  units="%"
44
43
  variant="neue">
45
44
  </fig-slider>
45
+ <fig-slider min="1"
46
+ max="100"
47
+ value="50"
48
+ step="1"
49
+ units="%"
50
+ text="true"
51
+ variant="neue">
52
+ </fig-slider>
46
53
 
47
54
 
48
55
  <fig-popover action="manual"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.8.9",
3
+ "version": "1.9.0",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {