@tenphi/tasty 3.4.0 → 3.6.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 +147 -129
- package/dist/astro-CzY4LCpr.js +437 -0
- package/dist/astro-CzY4LCpr.js.map +1 -0
- package/dist/{babel-BUQGeOXA.d.ts → babel-DWCsafYw.d.ts} +2 -2
- package/dist/{collector-DUaHCcTS.d.ts → collector-BTVXj2hS.d.ts} +21 -3
- package/dist/{collector-DTahQUiV.js → collector-C6TtL8HJ.js} +36 -13
- package/dist/collector-C6TtL8HJ.js.map +1 -0
- package/dist/{config-B5kHzuNz.js → config-B3gPdCqd.js} +305 -153
- package/dist/config-B3gPdCqd.js.map +1 -0
- package/dist/{config-YsxGv4tq.d.ts → config-LfIDmVHx.d.ts} +132 -32
- package/dist/core/index.d.ts +5 -5
- package/dist/core/index.js +6 -6
- package/dist/{core-Dr4u1NVD.js → core-Bq7w2kti.js} +215 -95
- package/dist/core-Bq7w2kti.js.map +1 -0
- package/dist/{css-writer-B-J87ncv.js → css-writer-Bgowobbx.js} +3 -3
- package/dist/{css-writer-B-J87ncv.js.map → css-writer-Bgowobbx.js.map} +1 -1
- package/dist/{format-rules-DKOA-6qu.js → format-rules-rCZ37rqY.js} +2 -2
- package/dist/format-rules-rCZ37rqY.js.map +1 -0
- package/dist/{hydrate-OeMX99We.js → hydrate-CNOmZprz.js} +3 -3
- package/dist/{hydrate-OeMX99We.js.map → hydrate-CNOmZprz.js.map} +1 -1
- package/dist/{index-PqN-DIpn.d.ts → index-Bm9ltvdH.d.ts} +38 -16
- package/dist/{index-Cd45t5NM.d.ts → index-BmogEzTo.d.ts} +69 -15
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/{keyframes-CV8azJf3.js → keyframes-DE-OE76F.js} +45 -3
- package/dist/keyframes-DE-OE76F.js.map +1 -0
- package/dist/{merge-styles-CU7JbEwg.d.ts → merge-styles-BcLl1u_d.d.ts} +2 -2
- package/dist/{merge-styles-oklji0KB.js → merge-styles-DuoZEsm9.js} +2 -2
- package/dist/{merge-styles-oklji0KB.js.map → merge-styles-DuoZEsm9.js.map} +1 -1
- package/dist/{resolve-recipes-DTG81rzl.js → resolve-recipes-H9NqOQuP.js} +3 -3
- package/dist/{resolve-recipes-DTG81rzl.js.map → resolve-recipes-H9NqOQuP.js.map} +1 -1
- package/dist/ssr/astro-client.js +1 -1
- package/dist/ssr/astro-middleware-extract-static.d.ts +11 -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 +11 -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 +3 -1
- package/dist/ssr/astro-middleware-static.js +1 -1
- package/dist/ssr/astro-middleware.d.ts +3 -1
- package/dist/ssr/astro-middleware.js +1 -1
- package/dist/ssr/astro.d.ts +45 -3
- package/dist/ssr/astro.js +1 -156
- package/dist/ssr/index.d.ts +2 -2
- package/dist/ssr/index.js +3 -3
- package/dist/ssr/index.js.map +1 -1
- package/dist/ssr/next.d.ts +1 -1
- package/dist/ssr/next.js +4 -4
- package/dist/static/index.d.ts +2 -2
- package/dist/static/index.js +1 -1
- package/dist/zero/babel.d.ts +1 -1
- package/dist/zero/babel.js +4 -4
- package/dist/zero/babel.js.map +1 -1
- package/dist/zero/index.d.ts +1 -1
- package/dist/zero/index.js +1 -1
- package/dist/zero/next.d.ts +1 -1
- package/docs/README.md +13 -8
- package/docs/adoption.md +56 -31
- package/docs/ai-agents.md +78 -77
- package/docs/comparison.md +69 -40
- package/docs/configuration.md +97 -87
- package/docs/debug.md +4 -2
- package/docs/design-system.md +41 -22
- package/docs/dsl.md +225 -195
- package/docs/getting-started.md +60 -39
- package/docs/injector.md +63 -26
- package/docs/methodology.md +42 -36
- package/docs/migration-v3.md +49 -49
- package/docs/plugins.md +37 -33
- package/docs/react-api.md +65 -44
- package/docs/runtime-benchmarks.md +178 -0
- package/docs/ssr.md +124 -61
- package/docs/styles.md +1 -1
- package/docs/tasty-static.md +137 -104
- package/package.json +26 -8
- package/dist/collector-DTahQUiV.js.map +0 -1
- package/dist/config-B5kHzuNz.js.map +0 -1
- package/dist/core-Dr4u1NVD.js.map +0 -1
- package/dist/format-rules-DKOA-6qu.js.map +0 -1
- package/dist/keyframes-CV8azJf3.js.map +0 -1
- package/dist/ssr/astro.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as TastyPluginFactory, w as StyleInjector } from "./config-
|
|
2
|
-
import { B as StyleValueStateMap,
|
|
3
|
-
import {
|
|
1
|
+
import { _ as TastyPluginFactory, w as StyleInjector } from "./config-LfIDmVHx.js";
|
|
2
|
+
import { B as StyleValueStateMap, D as CSSMap, I as StyleHandlerResult, M as ResolvedStyleValue, R as StylePropValue, St as KeyframesSteps, _t as InjectResult, at as CSSProperties$1, b as Styles, dt as FunctionDefinition, gt as InjectOptions, ht as GlobalInjectResult, j as RawStyleHandler, kt as StyleInjectorConfig, lt as FontFaceDescriptors, mt as GCOptions, n as StyleResult, nt as StyleDetails, ot as CacheMetrics, st as CounterStyleDescriptors, ut as FontFaceInput, wt as PropertyOptions, x as StylesInterface, xt as KeyframesResult, z as StyleValue } from "./index-BmogEzTo.js";
|
|
3
|
+
import { r as ServerStyleCollector } from "./collector-BTVXj2hS.js";
|
|
4
4
|
import { AllHTMLAttributes, CSSProperties, ComponentType, ElementType, ForwardRefExoticComponent, JSX, PropsWithoutRef, ReactNode, RefAttributes } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/utils/name-prefix.d.ts
|
|
@@ -1587,10 +1587,7 @@ declare const chunkSheetRegistry: ChunkSheetRegistry;
|
|
|
1587
1587
|
/**
|
|
1588
1588
|
* Inject styles and return className with dispose function
|
|
1589
1589
|
*/
|
|
1590
|
-
declare function inject(rules: StyleResult[], options?:
|
|
1591
|
-
root?: Document | ShadowRoot;
|
|
1592
|
-
cacheKey?: string;
|
|
1593
|
-
}): InjectResult;
|
|
1590
|
+
declare function inject(rules: StyleResult[], options?: InjectOptions): InjectResult;
|
|
1594
1591
|
/**
|
|
1595
1592
|
* Inject global rules that should not reserve tasty class names
|
|
1596
1593
|
*/
|
|
@@ -1721,21 +1718,40 @@ declare function getCSSTextForNode(node: ParentNode | Element | DocumentFragment
|
|
|
1721
1718
|
root?: Document | ShadowRoot;
|
|
1722
1719
|
}): string;
|
|
1723
1720
|
/**
|
|
1724
|
-
*
|
|
1721
|
+
* Take a reference on local `@keyframes` under the deterministic names the
|
|
1722
|
+
* caller resolved, and report which entry holds each. Pair with
|
|
1723
|
+
* `ownKeyframes()` once the rules exist to inspect.
|
|
1724
|
+
*/
|
|
1725
|
+
declare function holdKeyframes(steps: Record<string, KeyframesSteps>, names: Map<string, string>, options?: {
|
|
1726
|
+
root?: Document | ShadowRoot;
|
|
1727
|
+
}): Map<string, string>;
|
|
1728
|
+
/**
|
|
1729
|
+
* Record that a class animates these keyframes, so the reference is released
|
|
1730
|
+
* when the last such class is collected.
|
|
1731
|
+
*/
|
|
1732
|
+
declare function ownKeyframes(key: string, className: string, options?: {
|
|
1733
|
+
root?: Document | ShadowRoot;
|
|
1734
|
+
}): void;
|
|
1735
|
+
/**
|
|
1736
|
+
* Remove every injected rule that is neither in the DOM nor held by an
|
|
1737
|
+
* outstanding `inject()` handle. Equivalent to `gc({ force: true })`.
|
|
1725
1738
|
*/
|
|
1726
1739
|
declare function cleanup(root?: Document | ShadowRoot): void;
|
|
1727
1740
|
/**
|
|
1728
|
-
*
|
|
1729
|
-
* Used internally by computeStyles and tasty()
|
|
1730
|
-
*
|
|
1741
|
+
* Count a render, so that a collection pass is scheduled every
|
|
1742
|
+
* `gc.touchInterval` of them. Used internally by computeStyles and tasty().
|
|
1743
|
+
*
|
|
1744
|
+
* @deprecated The class name is ignored — collection asks the DOM what is
|
|
1745
|
+
* rendered rather than recording usage per class. The argument is kept so
|
|
1746
|
+
* existing calls still compile.
|
|
1731
1747
|
*/
|
|
1732
1748
|
declare function touch(className: string, options?: {
|
|
1733
1749
|
root?: Document | ShadowRoot;
|
|
1734
1750
|
}): void;
|
|
1735
1751
|
/**
|
|
1736
|
-
* Synchronous garbage collection of unused styles
|
|
1737
|
-
* Evicts the oldest
|
|
1738
|
-
* With `{ force: true }`, removes
|
|
1752
|
+
* Synchronous garbage collection of unused styles — those no element carries
|
|
1753
|
+
* and no `inject()` handle references. Evicts the oldest ones once they exceed
|
|
1754
|
+
* capacity. With `{ force: true }`, removes all of them regardless of capacity.
|
|
1739
1755
|
*
|
|
1740
1756
|
* @returns Number of styles evicted.
|
|
1741
1757
|
*/
|
|
@@ -1870,7 +1886,13 @@ interface ChunkBreakdown {
|
|
|
1870
1886
|
}
|
|
1871
1887
|
interface Summary {
|
|
1872
1888
|
activeClasses: string[];
|
|
1889
|
+
/** Classes `gc({ force: true })` would delete right now. */
|
|
1873
1890
|
unusedClasses: string[];
|
|
1891
|
+
/**
|
|
1892
|
+
* Held but in neither list: nothing renders them, yet collection will not
|
|
1893
|
+
* take them — inside the grace window, or pinned by an `inject()` handle.
|
|
1894
|
+
*/
|
|
1895
|
+
hotClasses: string[];
|
|
1874
1896
|
totalStyledClasses: string[];
|
|
1875
1897
|
activeCSSSize: number;
|
|
1876
1898
|
unusedCSSSize: number;
|
|
@@ -1907,5 +1929,5 @@ declare const tastyDebug: {
|
|
|
1907
1929
|
install(): void;
|
|
1908
1930
|
};
|
|
1909
1931
|
//#endregion
|
|
1910
|
-
export {
|
|
1911
|
-
//# sourceMappingURL=index-
|
|
1932
|
+
export { resolveFunctionColor as $, Mods as $t, isPropertyDefined as A, TastyComponentPropsWithDefaults as At, defineHandler as B, BaseProps as Bt, getCSSTextForNode as C, DEFAULT_NAME_PREFIX as Cn, ModPropsInput as Ct, injectGlobal as D, ResolveTokenProps as Dt, inject as E, ResolveModProps as Et, ChunkSheetRegistry as F, TokenPropsInput as Ft, CHUNK_NAMES as G, BlockStyleProps as Gt, ChunkInfo as H, BaseStyleProps as Ht, chunkSheetRegistry as I, VariantMap as It, DISPLAY_CHUNK_STYLES as J, DimensionStyleProps as Jt, ChunkName as K, ColorStyleProps as Kt, ComputeStylesOptions as L, WithVariant as Lt, ownKeyframes as M, TastyElementProps as Mt, property as N, TastyPolymorphicComponent as Nt, injectRawCSS as O, SubElementDefinition as Ot, touch as P, TastyProps as Pt, STYLE_TO_CHUNK as Q, ModValue as Qt, ComputeStylesResult as R, tasty as Rt, getCSSText as S, TEXT_STYLES as Sn, ModPropDef as St, holdKeyframes as T, ResolveModPropDef as Tt, categorizeStyleKeys as U, BlockInnerStyleProps as Ut, styleHandlers as V, BasePropsWithoutChildren as Vt, APPEARANCE_CHUNK_STYLES as W, BlockOuterStyleProps as Wt, LAYOUT_CHUNK_STYLES as X, FlowStyleProps as Xt, FONT_CHUNK_STYLES as Y, ExtraBaseStyleProps as Yt, POSITION_CHUNK_STYLES as Z, InnerStyleProps as Zt, createInjector as _, DIMENSION_STYLES as _n, UseStylesResult as _t, DebugOptions as a, TastyCustomProps as an, getDisplayName as at, func as b, OUTER_STYLES as bn, Element$1 as bt, tastyDebug as c, TextStyleProps as cn, UseFunctionOptions as ct, dotize as d, BASE_STYLES as dn, useFontFace as dt, OuterStyleProps as en, createColorFunc as et, _modAttrs as f, BLOCK_INNER_STYLES as fn, UsePropertyOptions as ft, counterStyle as g, CONTAINER_STYLES as gn, useGlobalStyles as gt, cleanup as h, COLOR_STYLES as hn, useRawCSS as ht, DebugChunkInfo as i, TastyBaseStylePropNames as in, okhslPlugin as it, keyframes as j, TastyElementOptions as jt, injector as k, SubElementProps as kt, processTokens as l, TokenValue as ln, useFunction as lt, filterBaseProps as m, BLOCK_STYLES as mn, useKeyframes as mt, CacheStatus as n, ShortGridStyles as nn, okhstPlugin as nt, InspectResult as o, TastyExtensionConfig as on, TastyBatchProvider as ot, color$1 as p, BLOCK_OUTER_STYLES as pn, useProperty as pt, DIMENSION_CHUNK_STYLES as q, ContainerStyleProps as qt, ChunkBreakdown as r, TagName as rn, okhslFunction as rt, Summary as s, TastyThemeNames as sn, TastyBatchProviderProps as st, CSSOptions as t, PositionStyleProps as tn, okhstFunction as tt, resolveRecipes as u, Tokens as un, useCounterStyle as ut, destroy as v, FLOW_STYLES as vn, useStyles as vt, getRawCSSText as w, DEFAULT_ZERO_NAME_PREFIX as wn, ResolveAsProps as wt, gc as x, POSITION_STYLES as xn, ElementsDefinition as xt, fontFace as y, INNER_STYLES as yn, AllBasePropsWithMods as yt, computeStyles as z, AllBaseProps as zt };
|
|
1933
|
+
//# sourceMappingURL=index-Bm9ltvdH.d.ts.map
|
|
@@ -153,6 +153,11 @@ interface StyleInjectorConfig {
|
|
|
153
153
|
/**
|
|
154
154
|
* Per-className usage tracking for GC.
|
|
155
155
|
*/
|
|
156
|
+
/**
|
|
157
|
+
* @deprecated Nothing reads this any more. Collection asks the DOM what is
|
|
158
|
+
* rendered rather than tracking usage per class, so there is no usage record
|
|
159
|
+
* to describe. Kept so existing imports keep type-checking.
|
|
160
|
+
*/
|
|
156
161
|
interface StyleUsage {
|
|
157
162
|
lastTouchedAt: number;
|
|
158
163
|
}
|
|
@@ -165,19 +170,47 @@ interface StyleUsage {
|
|
|
165
170
|
*/
|
|
166
171
|
interface GCConfig {
|
|
167
172
|
/**
|
|
168
|
-
*
|
|
173
|
+
* How long a class is left alone after collection first notices nothing is
|
|
174
|
+
* carrying it, in milliseconds (default 10,000).
|
|
175
|
+
*
|
|
176
|
+
* Rendering is not commit-aware: a render can resolve a class and commit it a
|
|
177
|
+
* little later, and in between nothing on the page carries it. Rather than
|
|
178
|
+
* try to tell that apart from a class that is finished — which cannot be done
|
|
179
|
+
* from outside React — collection simply does not touch anything that was in
|
|
180
|
+
* use recently. A render would have to stay pending for the whole window to
|
|
181
|
+
* lose its rules, and it gets them back on its next render.
|
|
182
|
+
*/
|
|
183
|
+
grace?: number;
|
|
184
|
+
/**
|
|
185
|
+
* Number of touch events between automatic GC cycles.
|
|
169
186
|
* @default 1000
|
|
170
187
|
*/
|
|
171
188
|
touchInterval?: number;
|
|
172
189
|
/**
|
|
173
190
|
* Maximum number of unused styles to retain.
|
|
174
191
|
* GC evicts the oldest unused styles when this limit is exceeded.
|
|
175
|
-
*
|
|
192
|
+
* Pinned styles and DOM-live styles
|
|
176
193
|
* do not count against this limit.
|
|
177
194
|
* @default 1000
|
|
178
195
|
*/
|
|
179
196
|
capacity?: number;
|
|
180
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* Per-call options for inject().
|
|
200
|
+
*/
|
|
201
|
+
interface InjectOptions {
|
|
202
|
+
root?: Document | ShadowRoot;
|
|
203
|
+
/** Reuse the class already injected for this key instead of writing again. */
|
|
204
|
+
cacheKey?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Pin the injected class (default `true`). A pinned class is never evicted by
|
|
207
|
+
* `gc()`, and the returned `dispose()` releases the pin. Pass `false` when the
|
|
208
|
+
* caller keeps no handle and the DOM is the only record that the class is in
|
|
209
|
+
* use — the render path does this, because a hook-free render has no unmount
|
|
210
|
+
* signal to dispose on.
|
|
211
|
+
*/
|
|
212
|
+
pin?: boolean;
|
|
213
|
+
}
|
|
181
214
|
/**
|
|
182
215
|
* Per-call options for gc().
|
|
183
216
|
*/
|
|
@@ -236,7 +269,8 @@ interface CacheMetrics {
|
|
|
236
269
|
}
|
|
237
270
|
interface RootRegistry {
|
|
238
271
|
sheets: SheetInfo[];
|
|
239
|
-
|
|
272
|
+
/** className -> outstanding `inject()` references; 0 means nobody holds a handle */
|
|
273
|
+
pinCounts: Map<string, number>;
|
|
240
274
|
rules: Map<string, RuleInfo>;
|
|
241
275
|
/** Cache key to className mapping to avoid dual storage of RuleInfo objects */
|
|
242
276
|
cacheKeyToClassName: Map<string, string>;
|
|
@@ -270,18 +304,38 @@ interface RootRegistry {
|
|
|
270
304
|
globalRules: Map<string, RuleInfo>;
|
|
271
305
|
/** Resolver for auto-inferring @property types from declaration values */
|
|
272
306
|
propertyTypeResolver: PropertyTypeResolver;
|
|
273
|
-
/** Per-className usage tracking for GC */
|
|
274
|
-
usageMap: Map<string, StyleUsage>;
|
|
275
|
-
/** Touch counter for scheduling GC (per-root) */
|
|
276
|
-
touchCount: number;
|
|
277
307
|
/**
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
308
|
+
* className -> when the class was first noticed to be carrying nothing:
|
|
309
|
+
* injection, or the first sweep that looked and did not find it on an
|
|
310
|
+
* element. Cleared the moment a sweep finds it rendered again.
|
|
311
|
+
*
|
|
312
|
+
* Deliberately "when it was noticed", not "when it stopped being rendered".
|
|
313
|
+
* Nothing observes the moment an element leaves, so a class that unmounted
|
|
314
|
+
* just before a sweep and one that unmounted just after the previous sweep
|
|
315
|
+
* would otherwise be treated differently — and the first would lose its
|
|
316
|
+
* grace window entirely. Starting the clock at the sighting gives every
|
|
317
|
+
* class the same full window, whenever it actually went.
|
|
318
|
+
*
|
|
319
|
+
* Written only by the sweep's own DOM scan and at injection, so rendering
|
|
320
|
+
* never pays for it.
|
|
281
321
|
*/
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
|
|
322
|
+
unusedSince: Map<string, number>;
|
|
323
|
+
/**
|
|
324
|
+
* Local `@keyframes` a class animates, by the name they were authored under.
|
|
325
|
+
*
|
|
326
|
+
* One reference is held per distinct set of steps, however many renders ask
|
|
327
|
+
* for it, and the classes that animate it own that reference between them.
|
|
328
|
+
* The last of them to be deleted releases it, so keyframes cannot outlive
|
|
329
|
+
* every rule that referred to them, and repeat renders cannot pile up
|
|
330
|
+
* references nobody gives back.
|
|
331
|
+
*/
|
|
332
|
+
localKeyframes: Map<string, {
|
|
333
|
+
name: string;
|
|
334
|
+
dispose: () => void;
|
|
335
|
+
owners: Set<string>;
|
|
336
|
+
}>;
|
|
337
|
+
/** Renders since the last scheduled sweep (per-root) */
|
|
338
|
+
touchCount: number;
|
|
285
339
|
/** How many entries from `window.__TASTY__` have been synced into this registry */
|
|
286
340
|
serverClassSyncIndex: number;
|
|
287
341
|
/** Whether `<style data-tasty-rsc>` tags have been scanned for class names */
|
|
@@ -1517,5 +1571,5 @@ interface RenderStylesOptions {
|
|
|
1517
1571
|
declare function renderStyles(styles?: Styles, classNameOrSelector?: undefined, options?: undefined, pipelineCacheKey?: string): RenderResult;
|
|
1518
1572
|
declare function renderStyles(styles: Styles | undefined, classNameOrSelector: string, options?: RenderStylesOptions): StyleResult[];
|
|
1519
1573
|
//#endregion
|
|
1520
|
-
export { StyleParser as $, ParsedColor as A,
|
|
1521
|
-
//# sourceMappingURL=index-
|
|
1574
|
+
export { StyleParser as $, ParsedColor as A, StyleRule as At, StyleValueStateMap as B, SuffixForSelector as C, PropertyDefinition as Ct, CSSMap as D, RuleInfo as Dt, AnyStyleHandler as E, RootRegistry as Et, StyleHandlerProps as F, resetStyleBatch as Ft, parseColor as G, getGlobalParser as H, StyleHandlerResult as I, getNamedColorHex as J, parseStyle as K, StyleMap as L, ResolvedStyleValue as M, QueuedWrite as Mt, StyleHandler as N, flushStyles as Nt, CUSTOM_UNITS as O, SheetInfo as Ot, StyleHandlerDefinition as P, hasPendingStyleWrites as Pt, strToRgb as Q, StylePropValue as R, StylesWithoutSelectors as S, KeyframesSteps as St, TastyPresetNames as T, RawCSSResult as Tt, getGlobalPredefinedTokens as U, filterMods as V, normalizeColorTokenValue as W, hexToRgb as X, getRgbValuesFromRgbaString as Y, hslToRgbValues as Z, NotSelector as _, InjectResult as _t, ParseStateKeyOptions as a, CSSProperties as at, Styles as b, KeyframesInfo as bt, ParsedAdvancedState as c, DisposeFunction as ct, getGlobalPredefinedStates as d, FunctionDefinition as dt, ParserOptions as et, setGlobalPredefinedStates as f, FunctionParameter as ft, NoType as g, InjectOptions as gt, ConfigTokens as h, GlobalInjectResult as ht, renderStyles as i, UnitHandler as it, RawStyleHandler as j, StyleUsage as jt, DIRECTIONS as k, StyleInjectorConfig as kt, StateParserContext as l, FontFaceDescriptors as lt, ConfigTokenValue as m, GCOptions as mt, StyleResult as n, StyleDetails as nt, parseStateKey as o, CacheMetrics as ot, ConditionNode as p, GCConfig as pt, stringifyStyles as q, isSelector as r, StyleDetailsPart as rt, AtRuleContext as s, CounterStyleDescriptors as st, RenderResult as t, ProcessedStyle as tt, createStateParserContext as u, FontFaceInput as ut, RecipeStyles as v, InjectionMode as vt, TastyNamedColors as w, PropertyOptions as wt, StylesInterface as x, KeyframesResult as xt, Selector as y, KeyframesCacheEntry as yt, StyleValue as z };
|
|
1575
|
+
//# sourceMappingURL=index-BmogEzTo.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ParseFunction, D as PropHandlerDefinition, E as PropHandler, O as PropHandlerProps, S as FunctionsConfig, T as SheetManager, _ as TastyPluginFactory, a as getGlobalFontFaces, b as generateTypographyTokens, c as getGlobalRecipes, d as hasGlobalRecipes, f as hasStylesGenerated, g as TastyPlugin, h as resetConfig, i as getGlobalCounterStyles, l as getNamePrefix, m as isTestEnvironment, n as configure, o as getGlobalFunctions, p as isConfigLocked, r as getConfig, s as getGlobalKeyframes, t as TastyConfig, u as hasGlobalKeyframes, v as TypographyPreset, w as StyleInjector, x as ColorSpace, y as TypographyTokenValue } from "./config-
|
|
2
|
-
import { $ as StyleParser, A as ParsedColor, At as
|
|
3
|
-
import { $ as
|
|
4
|
-
import { t as mergeStyles } from "./merge-styles-
|
|
5
|
-
export { APPEARANCE_CHUNK_STYLES, type AllBaseProps, type AllBasePropsWithMods, type AnyStyleHandler, type AtRuleContext, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, type BaseProps, type BasePropsWithoutChildren, 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, Element, type ElementsDefinition, 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 InjectResult, type InjectionMode, type InnerStyleProps, InspectResult, type KeyframesCacheEntry, type KeyframesInfo, type KeyframesResult, type KeyframesSteps, LAYOUT_CHUNK_STYLES, type ModPropDef, type ModPropsInput, 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 ResolveAsProps, type ResolveModPropDef, type ResolveModProps, type ResolveTokenProps, 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 SubElementDefinition, type SubElementProps, type SuffixForSelector, Summary, TEXT_STYLES, type TagName, type TastyBaseStylePropNames, TastyBatchProvider, type TastyBatchProviderProps, type TastyComponentPropsWithDefaults, type TastyConfig, type TastyCustomProps, type TastyElementOptions, type TastyElementProps, type TastyExtensionConfig, type TastyNamedColors, type TastyPlugin, type TastyPluginFactory, type TastyPolymorphicComponent, type TastyPresetNames, type TastyProps, type TastyThemeNames, type TextStyleProps, type TokenPropsInput, type TokenValue, type Tokens, TypographyPreset, TypographyTokenValue, type UnitHandler, type UseFunctionOptions, type UsePropertyOptions, type UseStylesResult, type VariantMap, type WithVariant, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, dotize, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getDisplayName, getGlobalCounterStyles, getGlobalFontFaces, getGlobalFunctions, getGlobalKeyframes, getGlobalParser, getGlobalPredefinedStates, getGlobalPredefinedTokens, getGlobalRecipes, getNamePrefix, getNamedColorHex, getRawCSSText, getRgbValuesFromRgbaString, hasGlobalKeyframes, hasGlobalRecipes, hasPendingStyleWrites, hasStylesGenerated, hexToRgb, hslToRgbValues, inject, injectGlobal, injectRawCSS, injector, isConfigLocked, isPropertyDefined, isSelector, isTestEnvironment, keyframes, mergeStyles, _modAttrs as modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tasty, tastyDebug, touch, useCounterStyle, useFontFace, useFunction, useGlobalStyles, useKeyframes, useProperty, useRawCSS, useStyles };
|
|
1
|
+
import { C as ParseFunction, D as PropHandlerDefinition, E as PropHandler, O as PropHandlerProps, S as FunctionsConfig, T as SheetManager, _ as TastyPluginFactory, a as getGlobalFontFaces, b as generateTypographyTokens, c as getGlobalRecipes, d as hasGlobalRecipes, f as hasStylesGenerated, g as TastyPlugin, h as resetConfig, i as getGlobalCounterStyles, l as getNamePrefix, m as isTestEnvironment, n as configure, o as getGlobalFunctions, p as isConfigLocked, r as getConfig, s as getGlobalKeyframes, t as TastyConfig, u as hasGlobalKeyframes, v as TypographyPreset, w as StyleInjector, x as ColorSpace, y as TypographyTokenValue } from "./config-LfIDmVHx.js";
|
|
2
|
+
import { $ as StyleParser, A as ParsedColor, At as StyleRule, B as StyleValueStateMap, C as SuffixForSelector, Ct as PropertyDefinition, D as CSSMap, Dt as RuleInfo, E as AnyStyleHandler, Et as RootRegistry, F as StyleHandlerProps, Ft as resetStyleBatch, G as parseColor, H as getGlobalParser, I as StyleHandlerResult, J as getNamedColorHex, K as parseStyle, L as StyleMap, M as ResolvedStyleValue, Mt as QueuedWrite, N as StyleHandler, Nt as flushStyles, O as CUSTOM_UNITS, Ot as SheetInfo, P as StyleHandlerDefinition, Pt as hasPendingStyleWrites, Q as strToRgb, R as StylePropValue, S as StylesWithoutSelectors, St as KeyframesSteps, T as TastyPresetNames, Tt as RawCSSResult, U as getGlobalPredefinedTokens, V as filterMods, W as normalizeColorTokenValue, X as hexToRgb, Y as getRgbValuesFromRgbaString, Z as hslToRgbValues, _ as NotSelector, _t as InjectResult, a as ParseStateKeyOptions, at as CSSProperties, b as Styles, bt as KeyframesInfo, c as ParsedAdvancedState, ct as DisposeFunction, d as getGlobalPredefinedStates, dt as FunctionDefinition, et as ParserOptions, f as setGlobalPredefinedStates, ft as FunctionParameter, g as NoType, gt as InjectOptions, h as ConfigTokens, i as renderStyles, it as UnitHandler, j as RawStyleHandler, jt as StyleUsage, k as DIRECTIONS, kt as StyleInjectorConfig, l as StateParserContext, lt as FontFaceDescriptors, m as ConfigTokenValue, mt as GCOptions, n as StyleResult, nt as StyleDetails, o as parseStateKey, ot as CacheMetrics, p as ConditionNode, pt as GCConfig, q as stringifyStyles, r as isSelector, rt as StyleDetailsPart, s as AtRuleContext, st as CounterStyleDescriptors, t as RenderResult, tt as ProcessedStyle, u as createStateParserContext, ut as FontFaceInput, v as RecipeStyles, vt as InjectionMode, w as TastyNamedColors, wt as PropertyOptions, x as StylesInterface, xt as KeyframesResult, y as Selector, yt as KeyframesCacheEntry, z as StyleValue } from "./index-BmogEzTo.js";
|
|
3
|
+
import { $ as resolveFunctionColor, $t as Mods, A as isPropertyDefined, At as TastyComponentPropsWithDefaults, B as defineHandler, Bt as BaseProps, C as getCSSTextForNode, Cn as DEFAULT_NAME_PREFIX, Ct as ModPropsInput, D as injectGlobal, Dt as ResolveTokenProps, E as inject, Et as ResolveModProps, F as ChunkSheetRegistry, Ft as TokenPropsInput, G as CHUNK_NAMES, Gt as BlockStyleProps, H as ChunkInfo, Ht as BaseStyleProps, I as chunkSheetRegistry, It as VariantMap, J as DISPLAY_CHUNK_STYLES, Jt as DimensionStyleProps, K as ChunkName, Kt as ColorStyleProps, L as ComputeStylesOptions, Lt as WithVariant, M as ownKeyframes, Mt as TastyElementProps, N as property, Nt as TastyPolymorphicComponent, O as injectRawCSS, Ot as SubElementDefinition, P as touch, Pt as TastyProps, Q as STYLE_TO_CHUNK, Qt as ModValue, R as ComputeStylesResult, Rt as tasty, S as getCSSText, Sn as TEXT_STYLES, St as ModPropDef, T as holdKeyframes, Tt as ResolveModPropDef, U as categorizeStyleKeys, Ut as BlockInnerStyleProps, V as styleHandlers, Vt as BasePropsWithoutChildren, W as APPEARANCE_CHUNK_STYLES, Wt as BlockOuterStyleProps, X as LAYOUT_CHUNK_STYLES, Xt as FlowStyleProps, Y as FONT_CHUNK_STYLES, Yt as ExtraBaseStyleProps, Z as POSITION_CHUNK_STYLES, Zt as InnerStyleProps, _ as createInjector, _n as DIMENSION_STYLES, _t as UseStylesResult, a as DebugOptions, an as TastyCustomProps, at as getDisplayName, b as func, bn as OUTER_STYLES, bt as Element, c as tastyDebug, cn as TextStyleProps, ct as UseFunctionOptions, d as dotize, dn as BASE_STYLES, dt as useFontFace, en as OuterStyleProps, et as createColorFunc, f as _modAttrs, fn as BLOCK_INNER_STYLES, ft as UsePropertyOptions, g as counterStyle, gn as CONTAINER_STYLES, gt as useGlobalStyles, h as cleanup, hn as COLOR_STYLES, ht as useRawCSS, i as DebugChunkInfo, in as TastyBaseStylePropNames, it as okhslPlugin, j as keyframes, jt as TastyElementOptions, k as injector, kt as SubElementProps, l as processTokens, ln as TokenValue, lt as useFunction, m as filterBaseProps, mn as BLOCK_STYLES, mt as useKeyframes, n as CacheStatus, nn as ShortGridStyles, nt as okhstPlugin, o as InspectResult, on as TastyExtensionConfig, ot as TastyBatchProvider, p as color, pn as BLOCK_OUTER_STYLES, pt as useProperty, q as DIMENSION_CHUNK_STYLES, qt as ContainerStyleProps, r as ChunkBreakdown, rn as TagName, rt as okhslFunction, s as Summary, sn as TastyThemeNames, st as TastyBatchProviderProps, t as CSSOptions, tn as PositionStyleProps, tt as okhstFunction, u as resolveRecipes, un as Tokens, ut as useCounterStyle, v as destroy, vn as FLOW_STYLES, vt as useStyles, w as getRawCSSText, wn as DEFAULT_ZERO_NAME_PREFIX, wt as ResolveAsProps, x as gc, xn as POSITION_STYLES, xt as ElementsDefinition, y as fontFace, yn as INNER_STYLES, yt as AllBasePropsWithMods, z as computeStyles, zt as AllBaseProps } from "./index-Bm9ltvdH.js";
|
|
4
|
+
import { t as mergeStyles } from "./merge-styles-BcLl1u_d.js";
|
|
5
|
+
export { APPEARANCE_CHUNK_STYLES, type AllBaseProps, type AllBasePropsWithMods, type AnyStyleHandler, type AtRuleContext, BASE_STYLES, BLOCK_INNER_STYLES, BLOCK_OUTER_STYLES, BLOCK_STYLES, type BaseProps, type BasePropsWithoutChildren, 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, Element, type ElementsDefinition, 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 ModPropDef, type ModPropsInput, 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 ResolveAsProps, type ResolveModPropDef, type ResolveModProps, type ResolveTokenProps, 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 SubElementDefinition, type SubElementProps, type SuffixForSelector, Summary, TEXT_STYLES, type TagName, type TastyBaseStylePropNames, TastyBatchProvider, type TastyBatchProviderProps, type TastyComponentPropsWithDefaults, type TastyConfig, type TastyCustomProps, type TastyElementOptions, type TastyElementProps, type TastyExtensionConfig, type TastyNamedColors, type TastyPlugin, type TastyPluginFactory, type TastyPolymorphicComponent, type TastyPresetNames, type TastyProps, type TastyThemeNames, type TextStyleProps, type TokenPropsInput, type TokenValue, type Tokens, TypographyPreset, TypographyTokenValue, type UnitHandler, type UseFunctionOptions, type UsePropertyOptions, type UseStylesResult, type VariantMap, type WithVariant, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, dotize, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getDisplayName, 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 as modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, ownKeyframes, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tasty, tastyDebug, touch, useCounterStyle, useFontFace, useFunction, useGlobalStyles, useKeyframes, useProperty, useRawCSS, useStyles };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as SheetManager, $t as StyleParser, A as FLOW_STYLES, At as STYLE_TO_CHUNK, B as createStateParserContext, C as BASE_STYLES, Ct as APPEARANCE_CHUNK_STYLES, D as COLOR_STYLES, Dt as FONT_CHUNK_STYLES, E as BLOCK_STYLES, Et as DISPLAY_CHUNK_STYLES, Ft as registerFunctionPolyfill, G as StyleInjector, Gt as parseStyle, Ht as getGlobalPredefinedTokens, I as isSelector, Jt as okhstPlugin, Kt as stringifyStyles, L as renderStyles, Lt as CUSTOM_UNITS, M as OUTER_STYLES, Mt as formatFunctionRule, N as POSITION_STYLES, O as CONTAINER_STYLES, Ot as LAYOUT_CHUNK_STYLES, P as TEXT_STYLES, Pt as parseFunctionName, R as parseStateKey, Rt as DIRECTIONS, S as baseStylePropsRegistry, St as propHandlerRegistry, T as BLOCK_OUTER_STYLES, Tt as DIMENSION_CHUNK_STYLES, U as getGlobalPredefinedStates, Ut as normalizeColorTokenValue, Vt as getGlobalParser, W as setGlobalPredefinedStates, Wt as parseColor, X as fontFaceContentHash, Xt as okhslPlugin, Yt as okhslFunction, Z as formatFontFaceRule, Zt as createColorFunc, _ as isFunctionsPolyfillEnabled, _t as hashString, a as getGlobalCounterStyles, an as hslToRgbValues, at as closeBatchWindow, b as resetConfig, c as getGlobalInjector, ct as openBatchWindow, dt as DEFAULT_ZERO_NAME_PREFIX, f as getNamePrefix, g as isConfigLocked, h as hasStylesGenerated, in as hexToRgb, j as INNER_STYLES, k as DIMENSION_STYLES, kt as POSITION_CHUNK_STYLES, l as getGlobalKeyframes, lt as resetStyleBatch, m as hasGlobalRecipes, mt as makeKeyframeName, n as getConfig, nn as getNamedColorHex, nt as styleHandlers, o as getGlobalFontFaces, on as strToRgb, ot as flushStyles, p as hasGlobalKeyframes, pt as makeCounterStyleName, q as formatCounterStyleRule, qt as okhstFunction, rn as getRgbValuesFromRgbaString, s as getGlobalFunctions, st as hasPendingStyleWrites, t as configure, tt as defineHandler, u as getGlobalRecipes, ut as DEFAULT_NAME_PREFIX, v as isTestEnvironment, w as BLOCK_INNER_STYLES, wt as CHUNK_NAMES, x as generateTypographyTokens, zt as filterMods } from "./config-
|
|
2
|
-
import { A as
|
|
3
|
-
import {
|
|
4
|
-
import { n as formatPropertyCSS } from "./format-rules-
|
|
5
|
-
import { t as mergeStyles } from "./merge-styles-
|
|
6
|
-
import { t as resolveRecipes } from "./resolve-recipes-
|
|
1
|
+
import { $ as SheetManager, $t as StyleParser, A as FLOW_STYLES, At as STYLE_TO_CHUNK, B as createStateParserContext, C as BASE_STYLES, Ct as APPEARANCE_CHUNK_STYLES, D as COLOR_STYLES, Dt as FONT_CHUNK_STYLES, E as BLOCK_STYLES, Et as DISPLAY_CHUNK_STYLES, Ft as registerFunctionPolyfill, G as StyleInjector, Gt as parseStyle, Ht as getGlobalPredefinedTokens, I as isSelector, Jt as okhstPlugin, Kt as stringifyStyles, L as renderStyles, Lt as CUSTOM_UNITS, M as OUTER_STYLES, Mt as formatFunctionRule, N as POSITION_STYLES, O as CONTAINER_STYLES, Ot as LAYOUT_CHUNK_STYLES, P as TEXT_STYLES, Pt as parseFunctionName, R as parseStateKey, Rt as DIRECTIONS, S as baseStylePropsRegistry, St as propHandlerRegistry, T as BLOCK_OUTER_STYLES, Tt as DIMENSION_CHUNK_STYLES, U as getGlobalPredefinedStates, Ut as normalizeColorTokenValue, Vt as getGlobalParser, W as setGlobalPredefinedStates, Wt as parseColor, X as fontFaceContentHash, Xt as okhslPlugin, Yt as okhslFunction, Z as formatFontFaceRule, Zt as createColorFunc, _ as isFunctionsPolyfillEnabled, _t as hashString, a as getGlobalCounterStyles, an as hslToRgbValues, at as closeBatchWindow, b as resetConfig, c as getGlobalInjector, ct as openBatchWindow, dt as DEFAULT_ZERO_NAME_PREFIX, f as getNamePrefix, g as isConfigLocked, h as hasStylesGenerated, in as hexToRgb, j as INNER_STYLES, k as DIMENSION_STYLES, kt as POSITION_CHUNK_STYLES, l as getGlobalKeyframes, lt as resetStyleBatch, m as hasGlobalRecipes, mt as makeKeyframeName, n as getConfig, nn as getNamedColorHex, nt as styleHandlers, o as getGlobalFontFaces, on as strToRgb, ot as flushStyles, p as hasGlobalKeyframes, pt as makeCounterStyleName, q as formatCounterStyleRule, qt as okhstFunction, rn as getRgbValuesFromRgbaString, s as getGlobalFunctions, st as hasPendingStyleWrites, t as configure, tt as defineHandler, u as getGlobalRecipes, ut as DEFAULT_NAME_PREFIX, v as isTestEnvironment, w as BLOCK_INNER_STYLES, wt as CHUNK_NAMES, x as generateTypographyTokens, zt as filterMods } from "./config-B3gPdCqd.js";
|
|
2
|
+
import { A as keyframes, C as getRawCSSText, D as injectRawCSS, E as injectGlobal, F as chunkSheetRegistry, I as resolveFunctionColor, M as property, N as touch, O as injector, P as ChunkSheetRegistry, S as getCSSTextForNode, T as inject, _ as destroy, a as color, b as gc, c as hasKeys, d as collectAutoInferredPropertiesRSC, f as getStyleTarget, g as createInjector, h as counterStyle, i as _modAttrs, j as ownKeyframes, k as isPropertyDefined, l as formatKeyframesCSS, m as cleanup, n as processTokens, o as filterBaseProps, p as pushRSCCSS, r as dotize, s as computeStyles, t as tastyDebug, u as collectAutoInferredProperties, v as fontFace, w as holdKeyframes, x as getCSSText, y as func } from "./core-Bq7w2kti.js";
|
|
3
|
+
import { d as categorizeStyleKeys } from "./keyframes-DE-OE76F.js";
|
|
4
|
+
import { n as formatPropertyCSS } from "./format-rules-rCZ37rqY.js";
|
|
5
|
+
import { t as mergeStyles } from "./merge-styles-DuoZEsm9.js";
|
|
6
|
+
import { t as resolveRecipes } from "./resolve-recipes-H9NqOQuP.js";
|
|
7
7
|
import { t as getTastySSRContext } from "./context-CA8YKeMn.js";
|
|
8
8
|
import { t as formatGlobalRules } from "./format-global-rules-DklyaXv-.js";
|
|
9
9
|
import { Fragment, createElement, forwardRef, useContext, useInsertionEffect } from "react";
|
|
@@ -917,6 +917,6 @@ function TastyBatchProvider({ children }) {
|
|
|
917
917
|
return children;
|
|
918
918
|
}
|
|
919
919
|
//#endregion
|
|
920
|
-
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, Element, 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, TastyBatchProvider, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, dotize, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getDisplayName, getGlobalCounterStyles, getGlobalFontFaces, getGlobalFunctions, getGlobalKeyframes, getGlobalParser, getGlobalPredefinedStates, getGlobalPredefinedTokens, getGlobalRecipes, getNamePrefix, getNamedColorHex, getRawCSSText, getRgbValuesFromRgbaString, hasGlobalKeyframes, hasGlobalRecipes, hasPendingStyleWrites, hasStylesGenerated, hexToRgb, hslToRgbValues, inject, injectGlobal, injectRawCSS, injector, isConfigLocked, isPropertyDefined, isSelector, isTestEnvironment, keyframes, mergeStyles, _modAttrs as modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tasty, tastyDebug, touch, useCounterStyle, useFontFace, useFunction, useGlobalStyles, useKeyframes, useProperty, useRawCSS, useStyles };
|
|
920
|
+
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, Element, 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, TastyBatchProvider, categorizeStyleKeys, chunkSheetRegistry, cleanup, color, computeStyles, configure, counterStyle, createColorFunc, createInjector, createStateParserContext, defineHandler, destroy, dotize, filterBaseProps, filterMods, flushStyles, fontFace, func, gc, generateTypographyTokens, getCSSText, getCSSTextForNode, getConfig, getDisplayName, 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 as modAttrs, normalizeColorTokenValue, okhslFunction, okhslPlugin, okhstFunction, okhstPlugin, ownKeyframes, parseColor, parseStateKey, parseStyle, processTokens, property, renderStyles, resetConfig, resetStyleBatch, resolveFunctionColor, resolveRecipes, setGlobalPredefinedStates, strToRgb, stringifyStyles, styleHandlers, tasty, tastyDebug, touch, useCounterStyle, useFontFace, useFunction, useGlobalStyles, useKeyframes, useProperty, useRawCSS, useStyles };
|
|
921
921
|
|
|
922
922
|
//# sourceMappingURL=index.js.map
|