@rogieking/figui3 1.8.5 → 1.8.7

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 +8 -7
  2. package/package.json +1 -1
package/components.css CHANGED
@@ -418,9 +418,7 @@
418
418
  --body-medium-strong-fontWeight: 550;
419
419
  --body-large-strong-fontWeight: 500;
420
420
  --body-medium-fontWeight: 450;
421
- --handle-shadow: 0px 0 0 0.75px rgba(0, 0, 0, 0.05),
422
- 0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 3px 8px 0px rgba(0, 0, 0, 0.05),
423
- 0px 0px 0.5px 0px rgba(0, 0, 0, 0.1), var(--figma-elevation-200);
421
+ --handle-shadow: 0px 0 0 0.5px rgba(0, 0, 0, 0.1), var(--figma-elevation-200);
424
422
  --handle-color: #fff;
425
423
 
426
424
  --popover-min-width: 15rem;
@@ -1586,11 +1584,9 @@ fig-slider {
1586
1584
  --slider-tick-size: calc(var(--slider-height) / 4);
1587
1585
  --slider-handle-shadow: inset 0 0 0 calc(4px + 0.5rem * var(--unchanged))
1588
1586
  var(--handle-color),
1589
- inset 0 0 0 5px rgba(0, 0, 0, 0.1), var(--figma-elevation-200);
1587
+ var(--handle-shadow);
1590
1588
  --slider-handle-shadow-focus: inset 0 0 0 4px var(--handle-color),
1591
- inset 0 0 0 5px rgba(0, 0, 0, 0.1), 0px 0 0 0.75px rgba(0, 0, 0, 0.1),
1592
- 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 3px 8px 0px rgba(0, 0, 0, 0.1),
1593
- 0px 0px 0.5px 0px rgba(0, 0, 0, 0.18),
1589
+ inset 0 0 0 5px rgba(0, 0, 0, 0.1), var(--handle-shadow),
1594
1590
  0 0 0 1px var(--figma-color-border-selected);
1595
1591
  --slider-transition: all 0.1s ease-in-out;
1596
1592
  --handle-transition: var(--slider-transition);
@@ -1916,6 +1912,7 @@ fig-slider {
1916
1912
  fig-input-text {
1917
1913
  border-top-left-radius: 0;
1918
1914
  border-bottom-left-radius: 0;
1915
+ border-left: 1px solid var(--figma-color-bg);
1919
1916
  }
1920
1917
 
1921
1918
  &:hover,
@@ -2240,6 +2237,7 @@ fig-input-text {
2240
2237
  justify-content: center;
2241
2238
  user-select: all;
2242
2239
  gap: 0;
2240
+ color: var(--figma-color-text);
2243
2241
 
2244
2242
  &[multiline] {
2245
2243
  display: block;
@@ -2299,6 +2297,9 @@ fig-input-text {
2299
2297
  box-shadow: inset 0 0 0 1px var(--figma-color-border-selected);
2300
2298
  outline: 0;
2301
2299
  }
2300
+ &:hover {
2301
+ box-shadow: inset 0 0 0 1px var(--figma-color-border);
2302
+ }
2302
2303
  /* Disabled */
2303
2304
  &[disabled]:not([disabled="false"]) {
2304
2305
  background-color: var(--figma-color-bg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.8.5",
3
+ "version": "1.8.7",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {