@rogieking/figui3 1.8.9 → 1.9.1

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
@@ -357,7 +357,7 @@
357
357
 
358
358
  :root {
359
359
  --font-size: 16px;
360
- --figma-color-bordertranslucent: rgba(0, 0, 0, 0.1);
360
+ --figma-color-bordertranslucent: rgba(0, 0, 0, 0.05);
361
361
  --checkerboard: repeating-conic-gradient(
362
362
  rgba(0, 0, 0, 0.1) 0% 25%,
363
363
  rgba(255, 255, 255, 0.1) 0% 50%
@@ -456,7 +456,7 @@
456
456
  --handle-shadow: 0px 0 0 0.75px 0px 0 0 0.75px rgba(0, 0, 0, 0.1),
457
457
  0px 0px 0.5px 0px rgba(255, 255, 255, 0.1);
458
458
  --figma-color-bg-ghost-hover: rgba(255, 255, 255, 0.05);
459
- --figma-color-bordertranslucent: rgba(255, 255, 255, 0.1);
459
+ --figma-color-bordertranslucent: rgba(255, 255, 255, 0.05);
460
460
  --figma-elevation-400-menu-panel: 0px 0.5px 0px 0px rgba(255, 255, 255, 0.08)
461
461
  inset,
462
462
  0px 10px 16px 0px rgba(0, 0, 0, 0.35),
@@ -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.1",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {