## 1.5.3

### Fixed
- Browser runtime: a page with a `keyframes-…` element threw "Cannot read properties of undefined (reading 'has')" and stopped styling every element after it (1.5.2 regression).
- Decimals with a leading dot: `o-.5`, `m-.5rem`, `scale-.98`, `--x-o:.5` compile to `0.5`. Before, they compiled to a negative value or an empty rule. `0.5` stays the recommended form.
- `w-var(--x-w)` and other `-var(…)` values compile (`width: var(--x-w)`), fallbacks included.

### Added
- `display-webkit-box` / `d-webkit-box`.
## 1.5.2

### Fixed
- grid-column / grid-row: a negative number after "/" is kept (`gc-1/-1` → `grid-column: 1 / -1`; it compiled to `1 / 1`).
- grid-template-columns / grid-auto-columns: decimal values compile correctly.
- Keyframes (browser runtime): each @keyframes rule is written once, instead of again on every re-print.
- Keyframes: names keep working when HTML lower-cases the attribute; the CLI lower-cases names to match.
- Keyframes: a single stop accepts an optional dash and %, and empty rules are skipped.

### Added
- `w-var(--x-width)` and other `-var(…)` values are accepted (same as `w--x-width`).
- `display-webkit-box`.
- `cursor-grab` (and other cursor keywords that didn't compile).

### Unchanged by design
- Multi-stop keyframes use `@[0,25,50][…]` only; the colon form is not supported.
- `--s-` and `--sb-` stay selector aliases, so variables must start with `--x-`.

## AliasCSS 1.5.1

A reliability release: fewer surprises in the browser, quieter consoles and correct negative values everywhere.

### Fixes

- **Negative values after `:`**
  `--gap:-8px` and fallbacks like `m--gap:-8px` lost their minus sign and compiled to `8px`. They now compile to `-8px`, the same as `m--8px`. `:--8px` still works too.
  ```html
  <div class="--x-offset:-8px m--x-offset:-4px"></div>
  <!-- --x-offset: -8px;  margin: var(--x-offset, -4px) -->
  ```

- **Script no longer needs `defer`**
  Loading `aliascss.js` in `<head>` without `defer` threw `Failed to execute 'observe' on 'MutationObserver'` and stopped styling new content. The script now waits for the page, with or without `defer`.

- **`hidden` always hides**
  `<div hidden class="x-stack">` stayed visible, because any class that sets `display` beats the browser's built-in `[hidden]` style. AliasCSS now adds one rule to the `reset` layer, so `hidden` wins over every display class. `hidden="until-found"` keeps its normal behaviour. This applies to the browser script and to the CLI output.

- **Wrong CSS for values that can't be compiled**
  A typo such as `bgc-slateTheme13` produced `.bgc-slateTheme13{slateTheme13}`, with the property missing. It now produces `background-color: slateTheme13` and one clear warning.

- **`x-button-icon` with `x-button-sm`**
  Icon buttons combined with a size modifier could shrink to a few pixels wide. They now stay square, and icons inside any `x-button` no longer shrink.

### Improvements

- **Quieter console**
  Plain class names that aren't AliasCSS (`card-title`, `active`, export names) are no longer reported. Previously each one logged two messages. Classes that look like AliasCSS but fail still get exactly one warning:
1.5.0
New
- _.(class-name) for class names with "-" after combinators
- Attribute selectors inside groups: [d-block,[aria-current=true]-c-red]
- x-row / x-col (flex + gap, no negative margins), x-arrow, x-absolute-*, dividers
- Pseudo aliases for range/progress parts, :user-valid, :open, :modal, ::picker(select)
- # is optional in colors (c-#fff and c-fff)
- Warnings: the failing item in a group, calc() without spaces, ::before:hover
- CLI: --help, the real --version, exit code 1 on errors, works on Windows

Fixed
- --not(...) with a property function after it
- Long pseudo names (--placeholder-shown, --scrollbar-thumb, --target-text)
- --nth-last-of-type-N, the --nthot alias
- Keywords no longer change class names (_.childbox)
- Watch mode: no corrupted output, new and deleted files handled, chokidar 4
- Class extraction when no ignore list is set

Changed
- theme() is now Theme()
- postcss removed from the browser build (smaller file)
- Only classes that look like AliasCSS are reported in the console