@tenphi/tasty 0.0.0-snapshot.047dfbb → 0.0.0-snapshot.04fb534
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 +452 -370
- package/dist/babel-types-Dc5zghyE.d.ts +18 -0
- package/dist/chunks/async-storage-f9j9JRtq.js +37 -0
- package/dist/chunks/async-storage-f9j9JRtq.js.map +1 -0
- package/dist/chunks/build-config--0qoqt_P.js +60 -0
- package/dist/chunks/build-config--0qoqt_P.js.map +1 -0
- package/dist/{collector-J6LwZR0N.js → chunks/collector-zp5BrLF0.js} +68 -101
- package/dist/chunks/collector-zp5BrLF0.js.map +1 -0
- package/dist/chunks/config-engine-BaLq8HrX.js +272 -0
- package/dist/chunks/config-engine-BaLq8HrX.js.map +1 -0
- package/dist/chunks/config-file-DlZXJMj8.js +25 -0
- package/dist/chunks/config-file-DlZXJMj8.js.map +1 -0
- package/dist/chunks/css-definitions-CfXZ3tU9.js +910 -0
- package/dist/chunks/css-definitions-CfXZ3tU9.js.map +1 -0
- package/dist/chunks/css-resources-P7IBUUZs.js +142 -0
- package/dist/chunks/css-resources-P7IBUUZs.js.map +1 -0
- package/dist/chunks/debug--OC-WA-Q.js +502 -0
- package/dist/chunks/debug--OC-WA-Q.js.map +1 -0
- package/dist/chunks/dsl-CsFl9LGn.js +1458 -0
- package/dist/chunks/dsl-CsFl9LGn.js.map +1 -0
- package/dist/chunks/hydration-TRcz5vnk.js +41 -0
- package/dist/chunks/hydration-TRcz5vnk.js.map +1 -0
- package/dist/chunks/react-runtime-DnZ6M1Iv.js +691 -0
- package/dist/chunks/react-runtime-DnZ6M1Iv.js.map +1 -0
- package/dist/chunks/runtime-engine-J9X_h-Pw.js +2435 -0
- package/dist/chunks/runtime-engine-J9X_h-Pw.js.map +1 -0
- package/dist/chunks/runtime-state-o_v3Bj7b.js +152 -0
- package/dist/chunks/runtime-state-o_v3Bj7b.js.map +1 -0
- package/dist/{merge-styles-CAdKaHxh.js → chunks/shared-utils-y-HjvPN4.js} +60 -55
- package/dist/chunks/shared-utils-y-HjvPN4.js.map +1 -0
- package/dist/chunks/style-engine-D6lC3O3G.js +5626 -0
- package/dist/chunks/style-engine-D6lC3O3G.js.map +1 -0
- package/dist/{css-writer-IC7tdnIf.js → chunks/zero-engine-BnjoV04F.js} +95 -136
- package/dist/chunks/zero-engine-BnjoV04F.js.map +1 -0
- package/dist/{collector-CddJZDOr.d.ts → collector-D2OT6I2G.d.ts} +64 -8
- package/dist/{config-C3SKYuxY.d.ts → config-C4ftFxgI.d.ts} +514 -92
- package/dist/core/index.d.ts +5 -5
- package/dist/core/index.js +9 -6
- package/dist/hydrate-CRyjjAyl.d.ts +22 -0
- package/dist/{index-ByBYTH9l.d.ts → index-DxQNRj50.d.ts} +586 -400
- package/dist/index.d.ts +5 -5
- package/dist/index.js +11 -732
- package/dist/{merge-styles-CvUi7SOD.d.ts → merge-styles-D39qBtox.d.ts} +2 -3
- package/dist/ssr/astro-client.d.ts +1 -1
- package/dist/ssr/astro-client.js +1 -14
- package/dist/ssr/astro-client.js.map +1 -1
- package/dist/ssr/astro-middleware-extract-static.d.ts +10 -0
- package/dist/ssr/astro-middleware-extract-static.js +9 -0
- package/dist/ssr/astro-middleware-extract-static.js.map +1 -0
- package/dist/ssr/astro-middleware-extract.d.ts +10 -0
- package/dist/ssr/astro-middleware-extract.js +9 -0
- package/dist/ssr/astro-middleware-extract.js.map +1 -0
- package/dist/ssr/astro-middleware-static.d.ts +17 -0
- package/dist/ssr/astro-middleware-static.js +7 -0
- package/dist/ssr/astro-middleware-static.js.map +1 -0
- package/dist/ssr/astro-middleware.d.ts +11 -8
- package/dist/ssr/astro-middleware.js +2 -14
- package/dist/ssr/astro-middleware.js.map +1 -1
- package/dist/ssr/astro.d.ts +40 -10
- package/dist/ssr/astro.js +160 -86
- package/dist/ssr/astro.js.map +1 -1
- package/dist/ssr/client.d.ts +2 -0
- package/dist/ssr/client.js +2 -0
- package/dist/ssr/index.d.ts +5 -32
- package/dist/ssr/index.js +6 -6
- package/dist/ssr/index.js.map +1 -1
- package/dist/ssr/next-config.d.ts +64 -0
- package/dist/ssr/next-config.js +123 -0
- package/dist/ssr/next-config.js.map +1 -0
- package/dist/ssr/next.d.ts +9 -8
- package/dist/ssr/next.js +29 -44
- package/dist/ssr/next.js.map +1 -1
- package/dist/static/index.d.ts +8 -9
- package/dist/static/index.js +4 -22
- package/dist/static/index.js.map +1 -1
- package/dist/static/inject.d.ts +1 -2
- package/dist/{index-C5owZ15q.d.ts → types-CYQIhUg1.d.ts} +874 -598
- package/dist/zero/babel.d.ts +12 -19
- package/dist/zero/babel.js +97 -156
- package/dist/zero/babel.js.map +1 -1
- package/dist/zero/index.d.ts +76 -7
- package/dist/zero/index.js +25 -2
- package/dist/zero/index.js.map +1 -0
- package/dist/zero/next.d.ts +4 -5
- package/dist/zero/next.js +3 -38
- package/dist/zero/next.js.map +1 -1
- package/docs/README.md +20 -9
- package/docs/adoption.md +69 -36
- package/docs/ai-agents.md +259 -0
- package/docs/comparison.md +77 -47
- package/docs/configuration.md +617 -98
- package/docs/debug.md +28 -15
- package/docs/design-system.md +166 -33
- package/docs/dsl.md +637 -205
- package/docs/getting-started.md +130 -50
- package/docs/injector.md +160 -69
- package/docs/llms.txt +31 -0
- package/docs/methodology.md +82 -51
- package/docs/migration-v3.md +285 -0
- package/docs/pipeline.md +57 -33
- package/docs/plugins.md +333 -0
- package/docs/react-api.md +215 -50
- package/docs/runtime-benchmarks.md +388 -0
- package/docs/ssr.md +310 -118
- package/docs/styles.md +209 -41
- package/docs/tasty-static.md +289 -136
- package/harness/dev.harnesspm/rules/usage.md +12 -0
- package/harness/dev.harnesspm/scripts/render.mjs +441 -0
- package/harness/dev.harnesspm/scripts/styles.mjs +412 -0
- package/harness/plugin.json +20 -0
- package/package.json +148 -49
- package/tasty.config.ts +5 -0
- package/dist/async-storage-DKK-wTD4.js +0 -44
- package/dist/async-storage-DKK-wTD4.js.map +0 -1
- package/dist/collector-J6LwZR0N.js.map +0 -1
- package/dist/config-C3F4Ogo1.js +0 -10993
- package/dist/config-C3F4Ogo1.js.map +0 -1
- package/dist/context-CA8YKeMn.js +0 -24
- package/dist/context-CA8YKeMn.js.map +0 -1
- package/dist/core-DxHmF6S9.js +0 -1598
- package/dist/core-DxHmF6S9.js.map +0 -1
- package/dist/css-writer-IC7tdnIf.js.map +0 -1
- package/dist/format-global-rules-DklyaXv-.js +0 -22
- package/dist/format-global-rules-DklyaXv-.js.map +0 -1
- package/dist/format-rules-DTLY39Hm.js +0 -143
- package/dist/format-rules-DTLY39Hm.js.map +0 -1
- package/dist/hydrate-8Zglgy_C.js +0 -45
- package/dist/hydrate-8Zglgy_C.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/keyframes-DgGkipNK.js +0 -595
- package/dist/keyframes-DgGkipNK.js.map +0 -1
- package/dist/merge-styles-CAdKaHxh.js.map +0 -1
- package/dist/resolve-recipes-BQNdunBd.js +0 -144
- package/dist/resolve-recipes-BQNdunBd.js.map +0 -1
package/dist/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { S as
|
|
3
|
-
import {
|
|
4
|
-
import { t as mergeStyles } from "../merge-styles-
|
|
5
|
-
export { APPEARANCE_CHUNK_STYLES, type AtRuleContext, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, type BaseStyleProps, type BlockInnerStyleProps, type BlockOuterStyleProps, type BlockStyleProps,
|
|
1
|
+
import { $ as TastyNamedColors, A as resetStyleBatch, B as getGlobalPredefinedStates, C as SheetInfo, Ct as StyleParser, D as QueuedWrite, Dt as StyleDetailsPart, E as StyleUsage, Et as StyleDetails, F as parseStateKey, G as NoType, H as ConditionNode, I as AtRuleContext, J as Selector, K as NotSelector, L as ParsedAdvancedState, M as StyleResult, N as renderStyles, O as flushStyles, Ot as UnitHandler, P as ParseStateKeyOptions, Q as SuffixForSelector, R as StateParserContext, S as RuleInfo, St as stringifyStyles, T as StyleRule, Tt as ProcessedStyle, U as ConfigTokenValue, V as setGlobalPredefinedStates, W as ConfigTokens, X as StylesInterface, Y as Styles, Z as StylesWithoutSelectors, _ as KeyframesSteps, _t as getGlobalParser, a as FontFaceInput, at as ParsedColor, b as RawCSSResult, bt as parseColor, c as GCConfig, ct as StyleHandler, d as InjectOptions, dt as StyleHandlerResult, et as TastyPresetNames, f as InjectResult, ft as StyleMap, g as KeyframesResult, gt as filterMods, h as KeyframesInfo, ht as StyleValueStateMap, i as FontFaceDescriptors, it as DIRECTIONS, j as RenderResult, k as hasPendingStyleWrites, kt as CSSProperties, l as GCOptions, lt as StyleHandlerDefinition, m as KeyframesCacheEntry, mt as StyleValue, n as CounterStyleDescriptors, nt as CSSMap, o as FunctionDefinition, ot as RawStyleHandler, p as InjectionMode, pt as StylePropValue, q as RecipeStyles, r as DisposeFunction, rt as CUSTOM_UNITS, s as FunctionParameter, st as ResolvedStyleValue, t as CacheMetrics, tt as AnyStyleHandler, ut as StyleHandlerProps, v as PropertyDefinition, vt as getGlobalPredefinedTokens, w as StyleInjectorConfig, wt as ParserOptions, x as RootRegistry, xt as parseStyle, y as PropertyOptions, yt as normalizeColorTokenValue, z as createStateParserContext } from "../types-CYQIhUg1.js";
|
|
2
|
+
import { $ as createColorFunc, $t as ModValue, A as keyframes, An as hexToRgb, B as styleHandlers, C as getRawCSSText, Cn as TEXT_STYLES, D as injectRawCSS, Dn as isSelector, E as injectGlobal, En as hasStylesGenerated, F as chunkSheetRegistry, G as ChunkName, Gt as BlockOuterStyleProps, H as categorizeStyleKeys, I as ComputeStylesOptions, J as FONT_CHUNK_STYLES, Jt as ContainerStyleProps, K as DIMENSION_CHUNK_STYLES, Kt as BlockStyleProps, L as ComputeStylesResult, M as property, Mn as strToRgb, N as touch, O as injector, On as getNamedColorHex, P as ChunkSheetRegistry, Q as resolveFunctionColor, Qt as InnerStyleProps, R as computeStyles, S as getCSSTextForNode, Sn as POSITION_STYLES, T as inject, Tn as DEFAULT_ZERO_NAME_PREFIX, U as APPEARANCE_CHUNK_STYLES, Ut as BaseStyleProps, V as ChunkInfo, W as CHUNK_NAMES, Wt as BlockInnerStyleProps, X as POSITION_CHUNK_STYLES, Xt as ExtraBaseStyleProps, Y as LAYOUT_CHUNK_STYLES, Yt as DimensionStyleProps, Z as STYLE_TO_CHUNK, Zt as FlowStyleProps, _ as destroy, _n as CONTAINER_STYLES, a as DebugOptions, an as TastyBaseStylePropNames, b as gc, bn as INNER_STYLES, c as tastyDebug, cn as TastyThemeNames, d as modAttrs, dn as Tokens, en as Mods, et as okhstFunction, f as color, fn as BASE_STYLES, g as createInjector, gn as COLOR_STYLES, h as counterStyle, hn as BLOCK_STYLES, i as DebugChunkInfo, in as TagName, j as ownKeyframes, jn as hslToRgbValues, k as isPropertyDefined, kn as getRgbValuesFromRgbaString, l as processTokens, ln as TextStyleProps, m as cleanup, mn as BLOCK_OUTER_STYLES, n as CacheStatus, nn as PositionStyleProps, nt as okhslFunction, o as InspectResult, on as TastyCustomProps, p as filterBaseProps, pn as BLOCK_INNER_STYLES, q as DISPLAY_CHUNK_STYLES, qt as ColorStyleProps, r as ChunkBreakdown, rn as ShortGridStyles, rt as okhslPlugin, s as Summary, sn as TastyExtensionConfig, t as CSSOptions, tn as OuterStyleProps, tt as okhstPlugin, u as resolveRecipes, un as TokenValue, v as fontFace, vn as DIMENSION_STYLES, w as holdKeyframes, wn as DEFAULT_NAME_PREFIX, x as getCSSText, xn as OUTER_STYLES, y as func, yn as FLOW_STYLES, z as defineHandler } from "../index-DxQNRj50.js";
|
|
3
|
+
import { C as PropHandlerProps, D as getGlobalKeyframes, E as getGlobalFunctions, S as PropHandlerDefinition, T as getGlobalFontFaces, _ as FunctionsConfig, a as getNamePrefix, b as SheetManager, c as isConfigLocked, d as TastyPlugin, f as TastyPluginFactory, g as ColorSpace, h as generateTypographyTokens, i as getGlobalRecipes, l as isTestEnvironment, m as TypographyTokenValue, n as configure, o as hasGlobalKeyframes, p as TypographyPreset, r as getConfig, s as hasGlobalRecipes, t as TastyConfig, u as resetConfig, v as ParseFunction, w as getGlobalCounterStyles, x as PropHandler, y as StyleInjector } from "../config-C4ftFxgI.js";
|
|
4
|
+
import { t as mergeStyles } from "../merge-styles-D39qBtox.js";
|
|
5
|
+
export { APPEARANCE_CHUNK_STYLES, type AnyStyleHandler, type AtRuleContext, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, type BaseStyleProps, type BlockInnerStyleProps, type BlockOuterStyleProps, type BlockStyleProps, CHUNK_NAMES, COLOR_STYLES, CONTAINER_STYLES, type CSSMap, CSSOptions, type CSSProperties, CUSTOM_UNITS, type CacheMetrics, CacheStatus, ChunkBreakdown, type ChunkInfo, type ChunkName, ChunkSheetRegistry, type ColorSpace, type ColorStyleProps, type ComputeStylesOptions, type ComputeStylesResult, type ConditionNode, type ConfigTokenValue, type ConfigTokens, type ContainerStyleProps, type CounterStyleDescriptors, DEFAULT_NAME_PREFIX, DEFAULT_ZERO_NAME_PREFIX, DIMENSION_CHUNK_STYLES, DIMENSION_STYLES, DIRECTIONS, DISPLAY_CHUNK_STYLES, DebugChunkInfo, DebugOptions, type DimensionStyleProps, type DisposeFunction, type ExtraBaseStyleProps, FLOW_STYLES, FONT_CHUNK_STYLES, type FlowStyleProps, type FontFaceDescriptors, type FontFaceInput, type FunctionDefinition, type FunctionParameter, type FunctionsConfig, type GCConfig, type GCOptions, INNER_STYLES, type InjectOptions, type InjectResult, type InjectionMode, type InnerStyleProps, InspectResult, type KeyframesCacheEntry, type KeyframesInfo, type KeyframesResult, type KeyframesSteps, LAYOUT_CHUNK_STYLES, type ModValue, type Mods, type NoType, type NotSelector, OUTER_STYLES, type OuterStyleProps, POSITION_CHUNK_STYLES, POSITION_STYLES, type ParseFunction, type ParseStateKeyOptions, type ParsedAdvancedState, type ParsedColor, type ParserOptions, type PositionStyleProps, type ProcessedStyle, type PropHandler, type PropHandlerDefinition, type PropHandlerProps, type PropertyDefinition, type PropertyOptions, type QueuedWrite, type RawCSSResult, type RawStyleHandler, type RecipeStyles, type RenderResult, type ResolvedStyleValue, type RootRegistry, type RuleInfo, STYLE_TO_CHUNK, type Selector, type SheetInfo, SheetManager, type ShortGridStyles, type StateParserContext, type StyleDetails, type StyleDetailsPart, type StyleHandler, type StyleHandlerDefinition, type StyleHandlerProps, type StyleHandlerResult, StyleInjector, type StyleInjectorConfig, type StyleMap, StyleParser, type StylePropValue, type StyleResult, type StyleRule, type StyleUsage, type StyleValue, type StyleValueStateMap, type Styles, type StylesInterface, type StylesWithoutSelectors, type SuffixForSelector, Summary, TEXT_STYLES, type TagName, type TastyBaseStylePropNames, type TastyConfig, type TastyCustomProps, type TastyExtensionConfig, type TastyNamedColors, type TastyPlugin, type TastyPluginFactory, type TastyPresetNames, type TastyThemeNames, type TextStyleProps, type TokenValue, type Tokens, TypographyPreset, TypographyTokenValue, type UnitHandler, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getGlobalCounterStyles, getGlobalFontFaces, getGlobalFunctions, getGlobalKeyframes, getGlobalParser, getGlobalPredefinedStates, getGlobalPredefinedTokens, getGlobalRecipes, getNamePrefix, getNamedColorHex, getRawCSSText, getRgbValuesFromRgbaString, hasGlobalKeyframes, hasGlobalRecipes, hasPendingStyleWrites, hasStylesGenerated, hexToRgb, holdKeyframes, hslToRgbValues, inject, injectGlobal, injectRawCSS, injector, isConfigLocked, isPropertyDefined, isSelector, isTestEnvironment, keyframes, mergeStyles, modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, ownKeyframes, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tastyDebug, touch };
|
package/dist/core/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
1
|
+
import { A as getRgbValuesFromRgbaString, C as createColorFunc, M as hslToRgbValues, P as strToRgb, S as okhslPlugin, b as okhstPlugin, c as getGlobalParser, d as normalizeColorTokenValue, f as parseColor, i as DIRECTIONS, j as hexToRgb, k as getNamedColorHex, l as getGlobalPredefinedTokens, n as resolveFunctionColor, o as filterMods, p as parseStyle, r as CUSTOM_UNITS, t as color, v as stringifyStyles, w as StyleParser, x as okhslFunction, y as okhstFunction } from "../chunks/dsl-CsFl9LGn.js";
|
|
2
|
+
import { n as isSelector, t as mergeStyles } from "../chunks/shared-utils-y-HjvPN4.js";
|
|
3
|
+
import { E as DEFAULT_ZERO_NAME_PREFIX, T as DEFAULT_NAME_PREFIX } from "../chunks/css-definitions-CfXZ3tU9.js";
|
|
4
|
+
import { A as styleHandlers, B as STYLE_TO_CHUNK, E as defineHandler, F as DIMENSION_CHUNK_STYLES, G as setGlobalPredefinedStates, I as DISPLAY_CHUNK_STYLES, K as hasStylesGenerated, L as FONT_CHUNK_STYLES, N as APPEARANCE_CHUNK_STYLES, P as CHUNK_NAMES, R as LAYOUT_CHUNK_STYLES, S as parseStateKey, U as createStateParserContext, W as getGlobalPredefinedStates, _ as POSITION_STYLES, b as renderStyles, c as BLOCK_INNER_STYLES, d as COLOR_STYLES, f as CONTAINER_STYLES, g as OUTER_STYLES, h as INNER_STYLES, l as BLOCK_OUTER_STYLES, m as FLOW_STYLES, p as DIMENSION_STYLES, r as categorizeStyleKeys, s as BASE_STYLES, u as BLOCK_STYLES, v as TEXT_STYLES, z as POSITION_CHUNK_STYLES } from "../chunks/style-engine-D6lC3O3G.js";
|
|
5
|
+
import { i as generateTypographyTokens } from "../chunks/config-engine-BaLq8HrX.js";
|
|
6
|
+
import { c as getGlobalFontFaces, l as getGlobalFunctions, s as getGlobalCounterStyles, u as getGlobalKeyframes } from "../chunks/runtime-state-o_v3Bj7b.js";
|
|
7
|
+
import { A as injector, C as getCSSText, D as inject, E as holdKeyframes, F as touch, G as isConfigLocked, H as getNamePrefix, I as ChunkSheetRegistry, J as StyleInjector, K as isTestEnvironment, L as chunkSheetRegistry, M as keyframes, N as ownKeyframes, O as injectGlobal, P as property, Q as hasPendingStyleWrites, R as configure, S as gc, T as getRawCSSText, U as hasGlobalKeyframes, V as getGlobalRecipes, W as hasGlobalRecipes, Y as SheetManager, Z as flushStyles, _ as counterStyle, a as filterBaseProps, b as fontFace, et as resetStyleBatch, g as cleanup, i as modAttrs, j as isPropertyDefined, k as injectRawCSS, o as computeStyles, q as resetConfig, r as processTokens, s as resolveRecipes, v as createInjector, w as getCSSTextForNode, x as func, y as destroy, z as getConfig } from "../chunks/runtime-engine-J9X_h-Pw.js";
|
|
8
|
+
import { t as tastyDebug } from "../chunks/debug--OC-WA-Q.js";
|
|
9
|
+
export { APPEARANCE_CHUNK_STYLES, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, CHUNK_NAMES, COLOR_STYLES, CONTAINER_STYLES, CUSTOM_UNITS, ChunkSheetRegistry, DEFAULT_NAME_PREFIX, DEFAULT_ZERO_NAME_PREFIX, DIMENSION_CHUNK_STYLES, DIMENSION_STYLES, DIRECTIONS, DISPLAY_CHUNK_STYLES, FLOW_STYLES, FONT_CHUNK_STYLES, INNER_STYLES, LAYOUT_CHUNK_STYLES, OUTER_STYLES, POSITION_CHUNK_STYLES, POSITION_STYLES, STYLE_TO_CHUNK, SheetManager, StyleInjector, StyleParser, TEXT_STYLES, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getGlobalCounterStyles, getGlobalFontFaces, getGlobalFunctions, getGlobalKeyframes, getGlobalParser, getGlobalPredefinedStates, getGlobalPredefinedTokens, getGlobalRecipes, getNamePrefix, getNamedColorHex, getRawCSSText, getRgbValuesFromRgbaString, hasGlobalKeyframes, hasGlobalRecipes, hasPendingStyleWrites, hasStylesGenerated, hexToRgb, holdKeyframes, hslToRgbValues, inject, injectGlobal, injectRawCSS, injector, isConfigLocked, isPropertyDefined, isSelector, isTestEnvironment, keyframes, mergeStyles, modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, ownKeyframes, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tastyDebug, touch };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/ssr/hydrate.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Client-side cache hydration for SSR/RSC.
|
|
4
|
+
*
|
|
5
|
+
* Registers class names rendered on the server with the client injector. If
|
|
6
|
+
* the runtime is not initialized yet, registration is deferred until its first
|
|
7
|
+
* use. With hash-based naming, only the class name list needs to cross the
|
|
8
|
+
* wire — no cache keys or counters.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Hydrate the client-side style registry from the server's class name list.
|
|
12
|
+
*
|
|
13
|
+
* Call this before ReactDOM.hydrateRoot() or ensure it runs before
|
|
14
|
+
* any tasty() component renders on the client.
|
|
15
|
+
*
|
|
16
|
+
* When called without arguments, reads the class list from `window.__TASTY__`
|
|
17
|
+
* (populated by inline scripts emitted during SSR/RSC streaming).
|
|
18
|
+
*/
|
|
19
|
+
declare function hydrateTastyClasses(classes?: string[]): void;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { hydrateTastyClasses as t };
|
|
22
|
+
//# sourceMappingURL=hydrate-CRyjjAyl.d.ts.map
|