@rogieking/figui3 8.9.25 → 8.9.27
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 +9 -19
- package/dist/components.css +1 -1
- package/dist/fig-editor.js +3 -3
- package/dist/fig.css +1 -1
- package/fig-editor.js +30 -6
- package/package.json +1 -1
package/components.css
CHANGED
|
@@ -3448,9 +3448,10 @@ fig-header {
|
|
|
3448
3448
|
flex-shrink: 0;
|
|
3449
3449
|
width: 100%;
|
|
3450
3450
|
margin: 0;
|
|
3451
|
-
padding: var(--spacer-1) var(--spacer-
|
|
3451
|
+
padding: var(--spacer-1) var(--spacer-2);
|
|
3452
3452
|
display: flex;
|
|
3453
3453
|
align-items: center;
|
|
3454
|
+
justify-content: space-between;
|
|
3454
3455
|
box-shadow: inset 0 -1px 0 0 var(--figma-color-border);
|
|
3455
3456
|
gap: var(--spacer-2);
|
|
3456
3457
|
user-select: none;
|
|
@@ -3459,28 +3460,18 @@ fig-header {
|
|
|
3459
3460
|
--fig-header-height: var(--spacer-5);
|
|
3460
3461
|
}
|
|
3461
3462
|
|
|
3462
|
-
& > fig-button:last-child[icon]:not([icon="false"])[variant="ghost"],
|
|
3463
|
-
& > fig-tooltip:last-child > fig-button[icon]:not([icon="false"])[variant="ghost"],
|
|
3464
|
-
& > fig-menu:last-child > fig-button[fig-menu-trigger][icon]:not([icon="false"])[variant="ghost"] {
|
|
3465
|
-
margin-right: calc(var(--spacer-2) * -1);
|
|
3466
|
-
}
|
|
3467
|
-
|
|
3468
3463
|
& > fig-input-text:only-child {
|
|
3469
3464
|
width: 100%;
|
|
3470
3465
|
}
|
|
3471
3466
|
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
& h3 {
|
|
3480
|
-
font-weight: var(--body-medium-strong-fontWeight);
|
|
3481
|
-
flex-grow: 1;
|
|
3482
|
-
display: flex;
|
|
3467
|
+
& > h1,
|
|
3468
|
+
& > h2,
|
|
3469
|
+
& > h3{
|
|
3470
|
+
flex: 1 1 auto;
|
|
3471
|
+
min-width: 0;
|
|
3472
|
+
display: flex;
|
|
3483
3473
|
align-items: center;
|
|
3474
|
+
padding-left: var(--spacer-2);
|
|
3484
3475
|
}
|
|
3485
3476
|
|
|
3486
3477
|
span, label{
|
|
@@ -3526,7 +3517,6 @@ fig-group {
|
|
|
3526
3517
|
|
|
3527
3518
|
& > fig-header {
|
|
3528
3519
|
cursor: default;
|
|
3529
|
-
padding-left: var(--spacer-3);
|
|
3530
3520
|
|
|
3531
3521
|
&:focus-visible {
|
|
3532
3522
|
--figma-focus-outline-radius: var(--radius-medium);
|