@rogieking/figui3 9.2.2 → 9.3.0

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/README.md CHANGED
@@ -76,7 +76,7 @@ Agent skills ship in `.cursor/skills/` (included in the npm package):
76
76
 
77
77
  - `figui3` — core `fig.js` components
78
78
  - `fig-editor` — `fig-select` and `fig-fill-picker`
79
- - `propkit` — `/propskit` property-row composition
79
+ - `propkit` — property-row composition; examples are included in `/figui3`
80
80
 
81
81
  Minimal example:
82
82
 
@@ -1780,7 +1780,7 @@ git clone https://github.com/rogie/figui3.git
1780
1780
  cd figui3
1781
1781
  bun install
1782
1782
  bun dev # Component docs at http://localhost:3000
1783
- npm run dev:playground # Playground at http://localhost:5173 (/figui3, /propkit, /sandbox)
1783
+ npm run dev:playground # Playground at http://localhost:6600 (/figui3, /lab, /sandbox)
1784
1784
  npm run build # Build minified dist/ (JS + CSS)
1785
1785
  npm run build:css # Build minified CSS only
1786
1786
  ```
@@ -1809,8 +1809,8 @@ import "@rogieking/figui3/src/fig.css"; // unminified source
1809
1809
 
1810
1810
  The playground is the fastest way to explore and validate component markup:
1811
1811
 
1812
- - **`/figui3`** — component examples with attribute controls
1813
- - **`/propkit`** — property panel patterns
1812
+ - **`/figui3`** — component examples and property panel patterns with attribute controls
1813
+ - **`/lab`** — experimental component examples
1814
1814
  - **`/sandbox`** — styled React sample app
1815
1815
 
1816
1816
  ---
package/components.css CHANGED
@@ -1120,7 +1120,7 @@ fig-property-button {
1120
1120
  stroke: currentColor;
1121
1121
  }
1122
1122
  }
1123
- &:has(svg:first-child):not([icon]) {
1123
+ &:not(fig-property-button):has(svg:first-child):not([icon]) {
1124
1124
  padding-left: var(--spacer-1);
1125
1125
  }
1126
1126
 
@@ -1200,25 +1200,29 @@ fig-input-combo {
1200
1200
  }
1201
1201
 
1202
1202
  :is(.fig-button-combo, fig-button-combo, .fig-input-combo, fig-input-combo):not(
1203
- :has(> :not([variant="secondary"]))
1204
- ) {
1203
+ :has(> :not([variant="secondary"]):not(fig-tooltip))
1204
+ ):not(:has(> fig-tooltip > :not([variant="secondary"]))) {
1205
1205
  gap: 0;
1206
1206
  border-radius: var(--radius-medium);
1207
1207
  box-shadow: inset 0 0 0 1px var(--figma-color-bordertranslucent);
1208
1208
 
1209
- > [variant="secondary"] {
1209
+ > [variant="secondary"],
1210
+ > fig-tooltip > [variant="secondary"] {
1210
1211
  box-shadow: none;
1211
1212
  }
1212
1213
 
1213
- > [variant="secondary"] + [variant="secondary"] {
1214
- box-shadow: none;
1215
- background-image: linear-gradient(
1216
- var(--figma-color-bordertranslucent),
1217
- var(--figma-color-bordertranslucent)
1218
- );
1219
- background-position: left 1px;
1220
- background-repeat: no-repeat;
1221
- background-size: 1px calc(100% - 2px);
1214
+ > :is([variant="secondary"], fig-tooltip:has(> [variant="secondary"])) {
1215
+ + [variant="secondary"],
1216
+ + fig-tooltip > [variant="secondary"] {
1217
+ box-shadow: none;
1218
+ background-image: linear-gradient(
1219
+ var(--figma-color-bordertranslucent),
1220
+ var(--figma-color-bordertranslucent)
1221
+ );
1222
+ background-position: left 1px;
1223
+ background-repeat: no-repeat;
1224
+ background-size: 1px calc(100% - 2px);
1225
+ }
1222
1226
  }
1223
1227
  }
1224
1228