@tenphi/tasty 2.1.0 → 2.1.2
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 +6 -4
- package/dist/{collector-DrgDE7QB.js → collector-C4sagPeG.js} +3 -3
- package/dist/{collector-DrgDE7QB.js.map → collector-C4sagPeG.js.map} +1 -1
- package/dist/{config-_aQ_PZ-P.js → config-BovFXQil.js} +122 -19
- package/dist/config-BovFXQil.js.map +1 -0
- package/dist/core/index.js +5 -5
- package/dist/{core-BqO8pplb.js → core-CpKZ2RrZ.js} +5 -5
- package/dist/{core-BqO8pplb.js.map → core-CpKZ2RrZ.js.map} +1 -1
- package/dist/{css-writer-D--REwtp.js → css-writer-BYgviy4G.js} +3 -3
- package/dist/{css-writer-D--REwtp.js.map → css-writer-BYgviy4G.js.map} +1 -1
- package/dist/{format-rules-xwteB7a1.js → format-rules-BBK7s2il.js} +2 -2
- package/dist/{format-rules-xwteB7a1.js.map → format-rules-BBK7s2il.js.map} +1 -1
- package/dist/{hydrate-BvPT4ndL.js → hydrate-DN98QICD.js} +2 -2
- package/dist/{hydrate-BvPT4ndL.js.map → hydrate-DN98QICD.js.map} +1 -1
- package/dist/index.js +6 -6
- package/dist/{keyframes-ClPFWy33.js → keyframes-Bzl_6mN0.js} +2 -2
- package/dist/{keyframes-ClPFWy33.js.map → keyframes-Bzl_6mN0.js.map} +1 -1
- package/dist/{merge-styles-BUQsEpbv.js → merge-styles-BjdI0NVL.js} +2 -2
- package/dist/{merge-styles-BUQsEpbv.js.map → merge-styles-BjdI0NVL.js.map} +1 -1
- package/dist/{resolve-recipes-C0-AMzCz.js → resolve-recipes-9zJQojHT.js} +3 -3
- package/dist/{resolve-recipes-C0-AMzCz.js.map → resolve-recipes-9zJQojHT.js.map} +1 -1
- package/dist/ssr/astro-client.js +1 -1
- package/dist/ssr/astro.js +3 -3
- package/dist/ssr/index.js +3 -3
- package/dist/ssr/next.js +4 -4
- package/dist/static/index.js +1 -1
- package/dist/zero/babel.js +4 -4
- package/dist/zero/index.js +1 -1
- package/docs/dsl.md +1 -0
- package/package.json +1 -1
- package/dist/config-_aQ_PZ-P.js.map +0 -1
package/dist/ssr/astro.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as getConfig } from "../config-
|
|
2
|
-
import { a as registerSSRCollectorGetterGlobal } from "../format-rules-
|
|
3
|
-
import { t as ServerStyleCollector } from "../collector-
|
|
1
|
+
import { n as getConfig } from "../config-BovFXQil.js";
|
|
2
|
+
import { a as registerSSRCollectorGetterGlobal } from "../format-rules-BBK7s2il.js";
|
|
3
|
+
import { t as ServerStyleCollector } from "../collector-C4sagPeG.js";
|
|
4
4
|
import { n as runWithCollector, t as getSSRCollector } from "../async-storage-B7_o6FKt.js";
|
|
5
5
|
//#region src/ssr/astro.ts
|
|
6
6
|
/**
|
package/dist/ssr/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as registerSSRCollectorGetterGlobal } from "../format-rules-
|
|
2
|
-
import { t as ServerStyleCollector } from "../collector-
|
|
1
|
+
import { a as registerSSRCollectorGetterGlobal } from "../format-rules-BBK7s2il.js";
|
|
2
|
+
import { t as ServerStyleCollector } from "../collector-C4sagPeG.js";
|
|
3
3
|
import { n as runWithCollector, t as getSSRCollector } from "../async-storage-B7_o6FKt.js";
|
|
4
|
-
import { n as hydrateTastyClasses, t as hydrateTastyCache } from "../hydrate-
|
|
4
|
+
import { n as hydrateTastyClasses, t as hydrateTastyCache } from "../hydrate-DN98QICD.js";
|
|
5
5
|
//#region src/ssr/index.ts
|
|
6
6
|
registerSSRCollectorGetterGlobal(getSSRCollector);
|
|
7
7
|
//#endregion
|
package/dist/ssr/next.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as getConfig } from "../config-
|
|
3
|
-
import { i as registerSSRCollectorGetter } from "../format-rules-
|
|
2
|
+
import { n as getConfig } from "../config-BovFXQil.js";
|
|
3
|
+
import { i as registerSSRCollectorGetter } from "../format-rules-BBK7s2il.js";
|
|
4
4
|
import { t as getTastySSRContext } from "../context-CkSg-kDT.js";
|
|
5
|
-
import { t as ServerStyleCollector } from "../collector-
|
|
6
|
-
import { n as hydrateTastyClasses } from "../hydrate-
|
|
5
|
+
import { t as ServerStyleCollector } from "../collector-C4sagPeG.js";
|
|
6
|
+
import { n as hydrateTastyClasses } from "../hydrate-DN98QICD.js";
|
|
7
7
|
import { Fragment, createElement, useState } from "react";
|
|
8
8
|
import { useServerInsertedHTML } from "next/navigation";
|
|
9
9
|
//#region src/ssr/next.ts
|
package/dist/static/index.js
CHANGED
package/dist/zero/babel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as resetConfig, i as getGlobalConfigTokens, t as configure, u as getGlobalStyles } from "../config-
|
|
2
|
-
import { t as mergeStyles } from "../merge-styles-
|
|
3
|
-
import { t as resolveRecipes } from "../resolve-recipes-
|
|
4
|
-
import { a as extractPropertiesFromStyles, i as extractKeyframesFromStyles, n as extractCounterStyleFromStyles, o as extractStylesForSelector, r as extractFontFaceFromStyles, s as extractStylesWithChunks, t as CSSWriter } from "../css-writer-
|
|
1
|
+
import { _ as resetConfig, i as getGlobalConfigTokens, t as configure, u as getGlobalStyles } from "../config-BovFXQil.js";
|
|
2
|
+
import { t as mergeStyles } from "../merge-styles-BjdI0NVL.js";
|
|
3
|
+
import { t as resolveRecipes } from "../resolve-recipes-9zJQojHT.js";
|
|
4
|
+
import { a as extractPropertiesFromStyles, i as extractKeyframesFromStyles, n as extractCounterStyleFromStyles, o as extractStylesForSelector, r as extractFontFaceFromStyles, s as extractStylesWithChunks, t as CSSWriter } from "../css-writer-BYgviy4G.js";
|
|
5
5
|
import * as fs from "fs";
|
|
6
6
|
import * as path from "path";
|
|
7
7
|
import { declare } from "@babel/helper-plugin-utils";
|
package/dist/zero/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as extractStylesForSelector, s as extractStylesWithChunks, t as CSSWriter } from "../css-writer-
|
|
1
|
+
import { o as extractStylesForSelector, s as extractStylesWithChunks, t as CSSWriter } from "../css-writer-BYgviy4G.js";
|
|
2
2
|
export { CSSWriter, extractStylesForSelector, extractStylesWithChunks };
|
package/docs/dsl.md
CHANGED
|
@@ -59,6 +59,7 @@ Control how a sub-element selector attaches to the root selector using the `$` p
|
|
|
59
59
|
| *(none)* | ` [el]` | Descendant (default) |
|
|
60
60
|
| `>` | `> [el]` | Direct child |
|
|
61
61
|
| `>Body>Row>` | `> [Body] > [Row] > [el]` | Chained elements |
|
|
62
|
+
| `> SubElementName` | `> [SubElementName]` | Self-name shorthand — when the trailing element name matches the sub-element's own key, it acts as the placeholder (same as `@`); no duplication |
|
|
62
63
|
| `h1` | ` h1` | Tag selector (no key injection) |
|
|
63
64
|
| `h1 >` | ` h1 > [el]` | Key is direct child of tag |
|
|
64
65
|
| `h1 *` | ` h1 *` | Any descendant of tag |
|