@rogieking/figui3 3.9.0 → 3.9.2
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 +12 -3
- package/package.json +1 -1
package/components.css
CHANGED
|
@@ -1243,7 +1243,6 @@ fig-chit {
|
|
|
1243
1243
|
|
|
1244
1244
|
&[disabled] {
|
|
1245
1245
|
pointer-events: none;
|
|
1246
|
-
opacity: 0.5;
|
|
1247
1246
|
}
|
|
1248
1247
|
|
|
1249
1248
|
&::before {
|
|
@@ -4498,21 +4497,31 @@ fig-chooser {
|
|
|
4498
4497
|
}
|
|
4499
4498
|
|
|
4500
4499
|
fig-choice {
|
|
4500
|
+
--fig-choice-selection-ring-width: 1px;
|
|
4501
|
+
--fig-choice-padding: var(--spacer-2);
|
|
4501
4502
|
display: flex;
|
|
4502
4503
|
align-items: center;
|
|
4503
4504
|
flex-direction: column;
|
|
4504
4505
|
border-radius: var(--radius-large);
|
|
4505
|
-
padding: var(--spacer-2);
|
|
4506
4506
|
gap: var(--spacer-2);
|
|
4507
4507
|
outline: none;
|
|
4508
4508
|
border: 1px solid transparent;
|
|
4509
|
+
cursor: default;
|
|
4510
|
+
|
|
4511
|
+
padding: var(--fig-choice-padding);
|
|
4509
4512
|
|
|
4510
4513
|
&:hover:not([selected]):not([disabled]):not([aria-disabled="true"]) {
|
|
4511
4514
|
background-color: var(--figma-color-bg-secondary);
|
|
4512
4515
|
}
|
|
4513
4516
|
|
|
4514
4517
|
&[selected] {
|
|
4515
|
-
background-color: var(--figma-color-bg-
|
|
4518
|
+
background-color: var(--figma-color-bg-secondary);
|
|
4519
|
+
& > fig-image {
|
|
4520
|
+
border-radius: var(--radius-medium);
|
|
4521
|
+
outline: var(--fig-choice-selection-ring-width) solid
|
|
4522
|
+
var(--figma-color-border-selected);
|
|
4523
|
+
outline-offset: 0;
|
|
4524
|
+
}
|
|
4516
4525
|
}
|
|
4517
4526
|
|
|
4518
4527
|
&[disabled]:not([disabled="false"]),
|
package/package.json
CHANGED