@plexui/styles 0.1.9 → 0.1.10

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.
@@ -122,15 +122,11 @@ background-color: var(--gray-800);
122
122
  transform 150ms ease;
123
123
  }
124
124
 
125
- /* Radix mounts the indicator on every check, so the entry animation would
126
- also play for every checked box on first render or when a tab with
127
- checkboxes opens. It plays only for the checkbox in use: hovered, or
128
- focused from the keyboard. */
129
- @starting-style {
130
- .Container:is(:hover, :focus-within) .CheckMark {
131
- opacity: 0
125
+ /* The indicator stays mounted, so a long list of boxes cleared at once costs
126
+ no style pass per box and first render plays no animation. */
127
+ [data-state="unchecked"] > .CheckMark {
128
+ opacity: 0;
132
129
  }
133
- }
134
130
 
135
131
  [data-state="indeterminate"] .CheckMark {
136
132
  transform: translate(30%, 80%);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",