@rogieking/figui3 11.6.4 → 11.6.6

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/CHANGELOG.md CHANGED
@@ -2,6 +2,33 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [11.6.6]
6
+
7
+ ### Added
8
+
9
+ - Added playground navigation search with filtered examples and groups.
10
+
11
+ ### Changed
12
+
13
+ - Remapped logical color tokens to selected-state equivalents within selected components.
14
+ - Stretched choices across vertical chooser layouts.
15
+
16
+ ### Fixed
17
+
18
+ - Preserved specialized selected colors for tabs and segmented controls.
19
+
20
+ ## [11.6.5]
21
+
22
+ ### Changed
23
+
24
+ - Replaced selected color-tip outlines with brand backgrounds in both color modes.
25
+ - Updated the playground color-tip example to demonstrate translucent color.
26
+
27
+ ### Fixed
28
+
29
+ - Hid percentage tooltips while dragging persistent gradient color tips.
30
+ - Kept the fill-picker input mode selector aligned to the eyedropper width.
31
+
5
32
  ## [11.6.4]
6
33
 
7
34
  ### Fixed
package/components.css CHANGED
@@ -499,6 +499,30 @@
499
499
  }
500
500
  }
501
501
 
502
+ [selected]:not([selected="false"]):not(fig-tabs):not(fig-tab):not(fig-segmented-control):not(fig-segment) {
503
+ --figma-color-bg: var(--figma-color-bg-selected);
504
+ --figma-color-bg-hover: var(--figma-color-bg-selected-hover);
505
+ --figma-color-bg-active: var(--figma-color-bg-selected-pressed);
506
+ --figma-color-bg-pressed: var(--figma-color-bg-selected-pressed);
507
+ --figma-color-bg-secondary: var(--figma-color-bg-selected-secondary);
508
+ --figma-color-bg-tertiary: var(--figma-color-bg-selected-tertiary);
509
+ --figma-color-border: var(--figma-color-border-onselected);
510
+ --figma-color-border-strong: var(--figma-color-border-onselected-strong);
511
+ --figma-color-icon: var(--figma-color-icon-onselected);
512
+ --figma-color-icon-hover: var(--figma-color-icon-onselected);
513
+ --figma-color-icon-pressed: var(--figma-color-icon-onselected);
514
+ --figma-color-icon-secondary: var(--figma-color-icon-onselected-secondary);
515
+ --figma-color-icon-secondary-hover: var(--figma-color-icon-onselected);
516
+ --figma-color-icon-tertiary: var(--figma-color-icon-onselected-tertiary);
517
+ --figma-color-icon-tertiary-hover: var(--figma-color-icon-onselected);
518
+ --figma-color-text: var(--figma-color-text-onselected);
519
+ --figma-color-text-hover: var(--figma-color-text-onselected);
520
+ --figma-color-text-secondary: var(--figma-color-text-onselected-secondary);
521
+ --figma-color-text-secondary-hover: var(--figma-color-text-onselected);
522
+ --figma-color-text-tertiary: var(--figma-color-text-onselected-tertiary);
523
+ --figma-color-text-tertiary-hover: var(--figma-color-text-onselected);
524
+ }
525
+
502
526
 
503
527
  button,
504
528
  select,
@@ -6772,6 +6796,12 @@ fig-chooser {
6772
6796
  }
6773
6797
  }
6774
6798
  }
6799
+ &:not([layout]),
6800
+ &[layout=""],
6801
+ &[layout="vertical"] {
6802
+ align-items: stretch;
6803
+ }
6804
+
6775
6805
  &:not([layout]),
6776
6806
  &[layout=""],
6777
6807
  &[layout="vertical"],
@@ -7283,8 +7313,9 @@ fig-color-tip {
7283
7313
  }
7284
7314
 
7285
7315
  &[selected]:not([selected="false"]){
7316
+ background-color: var(--figma-color-bg-brand);
7286
7317
  outline: var(--tip-selection-width) solid
7287
- var(--figma-focus-outline-color);
7318
+ transparent;
7288
7319
  outline-offset: 0px;
7289
7320
  &:after {
7290
7321
  top: calc(
@@ -7293,7 +7324,7 @@ fig-color-tip {
7293
7324
  }
7294
7325
  &:before {
7295
7326
  content: "";
7296
- background: var(--figma-focus-outline-color);
7327
+ background: transparent;
7297
7328
  clip-path: var(--tip-pointer);
7298
7329
  width: 1rem;
7299
7330
  height: 6px;