@pie-players/pie-tool-tts-inline 0.3.60 → 0.3.62
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 +13 -4
- package/dist/tool-tts-inline.js +1370 -1333
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -217,10 +217,19 @@ component-scoped variables instead of overriding broad semantic tokens such as
|
|
|
217
217
|
--pie-tool-trigger-active-border-color: Active/open trigger border
|
|
218
218
|
```
|
|
219
219
|
|
|
220
|
-
If unset, the trigger
|
|
221
|
-
|
|
222
|
-
`--pie-button-color` / `--pie-
|
|
223
|
-
|
|
220
|
+
If unset, the trigger looks the same open as closed: each hook falls back to the
|
|
221
|
+
value the control already resolves to — background through
|
|
222
|
+
`--pie-button-background-color` / `--pie-button-bg` / `--pie-background`, border
|
|
223
|
+
through `--pie-button-border-color` / `--pie-button-border` / `--pie-border`, and
|
|
224
|
+
foreground through `--pie-button-color` / `--pie-text`. Setting a hook is how a
|
|
225
|
+
host opts into a distinct active/open appearance.
|
|
226
|
+
|
|
227
|
+
This differs deliberately from `@pie-players/pie-tool-calculator-inline-desmos`,
|
|
228
|
+
whose equivalent hooks fall back to a filled `--pie-primary` look. This trigger
|
|
229
|
+
has never had a filled active state — the panel opening is itself the state
|
|
230
|
+
indication — so these defaults do not introduce one. Hosts remain responsible for
|
|
231
|
+
maintaining WCAG AA foreground/background contrast when overriding active trigger
|
|
232
|
+
colors.
|
|
224
233
|
|
|
225
234
|
Ordinary trigger and control button styling also preserves these legacy aliases:
|
|
226
235
|
`--pie-button-background-color`, `--pie-button-border-color`, and
|