@css-hooks/core 3.0.8-next.0 → 3.1.0-next.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
@@ -1,16 +1,16 @@
1
1
  <div align="center">
2
- <a id="logomark" href="https://next.css-hooks.com"><img alt="CSS Hooks" src="https://github.com/css-hooks/css-hooks/raw/v3.0.8-next.0/.github/logomark.svg" height="128" /></a><br/><br/>
2
+ <a id="logomark" href="https://next.css-hooks.com"><img alt="CSS Hooks" src="https://github.com/css-hooks/css-hooks/raw/v3.1.0-next.0/.github/logomark.svg" height="128" /></a><br/><br/>
3
3
  <div id="wordmark">
4
- <a href="https://next.css-hooks.com"><img alt="CSS Hooks" src="https://github.com/css-hooks/css-hooks/raw/v3.0.8-next.0/.github/wordmark-dark.svg" width="256"></a>
4
+ <a href="https://next.css-hooks.com"><img alt="CSS Hooks" src="https://github.com/css-hooks/css-hooks/raw/v3.1.0-next.0/.github/wordmark-dark.svg" width="256"></a>
5
5
  </div>
6
6
  </div>
7
7
 
8
8
  <br/>
9
9
 
10
10
  <div align="center" id="badges">
11
- <a href="https://github.com/css-hooks/css-hooks/tree/v3.0.8-next.0"><img src="https://img.shields.io/badge/tag-v3.0.8--next.0-ffd700" alt="tag v3.0.8-next.0"></a>
12
- <a href="https://www.npmjs.com/package/@css-hooks/core/v/3.0.8-next.0"><img src="https://img.shields.io/badge/npm-v3.0.8--next.0-ffd700" alt="npm version"></a>
13
- <a href="https://github.com/css-hooks/css-hooks/blob/v3.0.8-next.0/LICENSE"><img src="https://img.shields.io/badge/license-MIT-ffd700" alt="license"></a>
11
+ <a href="https://github.com/css-hooks/css-hooks/tree/v3.1.0-next.0"><img src="https://img.shields.io/badge/tag-v3.1.0--next.0-ffd700" alt="tag v3.1.0-next.0"></a>
12
+ <a href="https://www.npmjs.com/package/@css-hooks/core/v/3.1.0-next.0"><img src="https://img.shields.io/badge/npm-v3.1.0--next.0-ffd700" alt="npm version"></a>
13
+ <a href="https://github.com/css-hooks/css-hooks/blob/v3.1.0-next.0/LICENSE"><img src="https://img.shields.io/badge/license-MIT-ffd700" alt="license"></a>
14
14
  </div>
15
15
 
16
16
  ---
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@css-hooks/core",
3
3
  "description": "CSS Hooks core library",
4
- "version": "3.0.8-next.0",
4
+ "version": "3.1.0-next.0",
5
5
  "author": "Nick Saunders",
6
6
  "devDependencies": {
7
7
  "color": "^5.0.3",
package/types/index.d.ts CHANGED
@@ -44,10 +44,11 @@ export type StringifyFn = (value: unknown, propertyName: string) => string | nul
44
44
  * which the condition applies. The `&` character must appear somewhere.
45
45
  * 2. A `@media`, `@container`, or `@supports` at-rule. The value must begin
46
46
  * with one of these keywords, followed by a space.
47
+ * 3. The `@starting-style` at-rule (exactly, with no additional parameters).
47
48
  *
48
49
  * @public
49
50
  */
50
- export type Selector = `${string}&${string}` | `@${"media" | "container" | "supports"} ${string}`;
51
+ export type Selector = `${string}&${string}` | `@${"media" | "container" | "supports"} ${string}` | "@starting-style";
51
52
  /**
52
53
  * Enhances a style object by merging in conditional declarations.
53
54
  *