@rogieking/figui3 8.9.3 → 8.9.4
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 +18 -11
- package/dist/components.css +1 -1
- package/dist/fig.css +1 -1
- package/dist/fig.js +2 -2
- package/fig.js +7 -5
- package/package.json +1 -1
package/components.css
CHANGED
|
@@ -1829,7 +1829,7 @@ fig-easing-curve {
|
|
|
1829
1829
|
.fig-easing-curve-svg-container {
|
|
1830
1830
|
border-radius: var(--radius-medium);
|
|
1831
1831
|
background: var(--figma-color-bg-secondary);
|
|
1832
|
-
padding:
|
|
1832
|
+
padding: 45px;
|
|
1833
1833
|
overflow: hidden;
|
|
1834
1834
|
&:is(:hover, :active, :focus, :focus-visible, :focus-within) {
|
|
1835
1835
|
overflow: visible;
|
|
@@ -1867,14 +1867,10 @@ fig-easing-curve {
|
|
|
1867
1867
|
fill: transparent;
|
|
1868
1868
|
}
|
|
1869
1869
|
.fig-easing-curve-arm {
|
|
1870
|
-
stroke: var(--figma-color-
|
|
1870
|
+
stroke: var(--figma-color-border-brand-strong);
|
|
1871
1871
|
stroke-width: var(--stroke-width);
|
|
1872
1872
|
stroke-linejoin: round;
|
|
1873
1873
|
stroke-linecap: round;
|
|
1874
|
-
|
|
1875
|
-
&.is-active {
|
|
1876
|
-
stroke: var(--figma-color-bg-brand);
|
|
1877
|
-
}
|
|
1878
1874
|
}
|
|
1879
1875
|
.fig-easing-curve-path {
|
|
1880
1876
|
fill: none;
|
|
@@ -5304,7 +5300,7 @@ fig-handle {
|
|
|
5304
5300
|
--fig-handle-hit-area-opacity: 0;
|
|
5305
5301
|
--fig-handle-hit-area-size: 0;
|
|
5306
5302
|
--fig-handle-inner-bg: var(--figma-color-bg-brand);
|
|
5307
|
-
--fig-handle-inner-outline: 1px solid var(--figma-color-
|
|
5303
|
+
--fig-handle-inner-outline: 1px solid var(--figma-color-border-selected);
|
|
5308
5304
|
--fig-handle-inner-shadow: none;
|
|
5309
5305
|
--fig-handle-inner-radius: 50%;
|
|
5310
5306
|
--fig-handle-outline: 1.5px solid var(--fig-handle-outline-color);
|
|
@@ -5312,7 +5308,7 @@ fig-handle {
|
|
|
5312
5308
|
--fig-handle-outline-color: transparent;
|
|
5313
5309
|
--fig-handle-outline-offset: 0px;
|
|
5314
5310
|
--fig-handle-padding: 0.25rem;
|
|
5315
|
-
--fig-handle-shadow:
|
|
5311
|
+
--fig-handle-shadow: var(--figma-elevation-100-canvas);
|
|
5316
5312
|
--fig-handle-width: var(--width);
|
|
5317
5313
|
|
|
5318
5314
|
margin: 0;
|
|
@@ -5330,7 +5326,6 @@ fig-handle {
|
|
|
5330
5326
|
/* Used for active state/color handles */
|
|
5331
5327
|
&::after {
|
|
5332
5328
|
content: "";
|
|
5333
|
-
color-scheme: light only;
|
|
5334
5329
|
width: 100%;
|
|
5335
5330
|
height: 100%;
|
|
5336
5331
|
background: var(--fig-handle-inner-bg);
|
|
@@ -5409,8 +5404,8 @@ fig-handle {
|
|
|
5409
5404
|
&[tip="add"],
|
|
5410
5405
|
&[tip="remove"] {
|
|
5411
5406
|
--fig-handle-inner-bg: linear-gradient(var(--fill), var(--fill)), var(--fig-handle-checkerboard);
|
|
5412
|
-
--fig-handle-padding: 0.25rem;
|
|
5413
|
-
--fig-handle-inner-outline:
|
|
5407
|
+
--fig-handle-padding: calc(0.25rem - 1px);
|
|
5408
|
+
--fig-handle-inner-outline: transparent;
|
|
5414
5409
|
position: relative;
|
|
5415
5410
|
overflow: visible;
|
|
5416
5411
|
|
|
@@ -5422,6 +5417,18 @@ fig-handle {
|
|
|
5422
5417
|
z-index: 10;
|
|
5423
5418
|
}
|
|
5424
5419
|
}
|
|
5420
|
+
&[type="minimal"]{
|
|
5421
|
+
--fig-handle-shadow: none;
|
|
5422
|
+
--fig-handle-bg: var(--figma-color-border-brand-strong);
|
|
5423
|
+
--fig-handle-outline: none;
|
|
5424
|
+
--fig-handle-inner-bg: var(--figma-color-bg);
|
|
5425
|
+
--fig-handle-padding: 2px;
|
|
5426
|
+
--fig-handle-inner-outline: transparent;
|
|
5427
|
+
--width: 10px;
|
|
5428
|
+
--height: 10px;
|
|
5429
|
+
}
|
|
5430
|
+
|
|
5431
|
+
|
|
5425
5432
|
&[disabled]:not([disabled="false"]),
|
|
5426
5433
|
&[aria-disabled="true"] {
|
|
5427
5434
|
--fig-handle-outline-color: transparent;
|