tailwind-styled-v4 5.1.24 → 5.1.25
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/dist/index.browser.mjs +3 -0
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.d.mts +1 -25
- package/dist/index.d.ts +1 -25
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs.map +1 -1
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -19,7 +19,6 @@ interface AnimateOptions {
|
|
|
19
19
|
name?: string;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
type TokenMap = Record<string, string>;
|
|
23
22
|
type HtmlTagName = keyof HTMLElementTagNameMap;
|
|
24
23
|
|
|
25
24
|
/**
|
|
@@ -813,27 +812,4 @@ interface ThemeConfig {
|
|
|
813
812
|
raw: Record<string, string>;
|
|
814
813
|
}
|
|
815
814
|
|
|
816
|
-
type
|
|
817
|
-
interface LiveTokenSet {
|
|
818
|
-
vars: Record<string, string>;
|
|
819
|
-
get(name: string): string | undefined;
|
|
820
|
-
set(name: string, value: string): void;
|
|
821
|
-
setAll(tokens: TokenMap): void;
|
|
822
|
-
snapshot(): TokenMap;
|
|
823
|
-
}
|
|
824
|
-
interface LiveTokenEngineBridge {
|
|
825
|
-
getToken(name: string): string | undefined;
|
|
826
|
-
getTokens(): TokenMap;
|
|
827
|
-
setToken(name: string, value: string): void;
|
|
828
|
-
setTokens(tokens: TokenMap): void;
|
|
829
|
-
applyTokenSet(tokens: TokenMap): void;
|
|
830
|
-
subscribeTokens(fn: TokenSubscriber): () => void;
|
|
831
|
-
subscribe?(fn: TokenSubscriber): () => void;
|
|
832
|
-
}
|
|
833
|
-
declare global {
|
|
834
|
-
interface Window {
|
|
835
|
-
__TW_TOKEN_ENGINE__?: LiveTokenEngineBridge;
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export { type ComponentConfig, type ContainerConfig, type ContainerEntry, type CvFn, type HtmlTagName, type InferVariantProps, type LiveTokenSet, type MergeOptions, type ParsedClass, type ParsedClassModifier, type ResolvedThemeTokens, type StateComponentEntry, type StateConfig, type StyledComponentProps, type StyledOptions, type StyledProps, type StyledSystemConfig, type StyledSystemInstance, type SubComponentEntry, type SubComponentMap, type SubComponentProps, type SystemComponentConfig, type SystemComponentFactory, type SystemTokenMap, type ThemeConfig, type ThemeTokenMap, type TokenMap, type TokenSubscriber, type TwComponentFactory, type TwObject, type TwStyledComponent, type TwSubComponent, type TwTagFactory, type TwTagFactoryAny, type VariantLiterals, cn, createComponent, createStyledSystem, createTheme, createTwMerge, cssVar, cv, cx, cxm, generateContainerCss, generateStateCss, getAllSubComponents, getContainerRegistry, getStateRegistry, getSubComponent, mergeWithRules, processContainer, processState, registerSubComponent, registerVariantTable, resolveStyledClassName, server, styled, t, tw, twMerge, twVar, v4Tokens, withSubComponents };
|
|
815
|
+
export { type ComponentConfig, type ContainerConfig, type ContainerEntry, type CvFn, type HtmlTagName, type InferVariantProps, type MergeOptions, type ParsedClass, type ParsedClassModifier, type ResolvedThemeTokens, type StateComponentEntry, type StateConfig, type StyledComponentProps, type StyledOptions, type StyledProps, type StyledSystemConfig, type StyledSystemInstance, type SubComponentEntry, type SubComponentMap, type SubComponentProps, type SystemComponentConfig, type SystemComponentFactory, type SystemTokenMap, type ThemeConfig, type ThemeTokenMap, type TwComponentFactory, type TwObject, type TwStyledComponent, type TwSubComponent, type TwTagFactory, type TwTagFactoryAny, type VariantLiterals, cn, createComponent, createStyledSystem, createTheme, createTwMerge, cssVar, cv, cx, cxm, generateContainerCss, generateStateCss, getAllSubComponents, getContainerRegistry, getStateRegistry, getSubComponent, mergeWithRules, processContainer, processState, registerSubComponent, registerVariantTable, resolveStyledClassName, server, styled, t, tw, twMerge, twVar, v4Tokens, withSubComponents };
|
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ interface AnimateOptions {
|
|
|
19
19
|
name?: string;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
type TokenMap = Record<string, string>;
|
|
23
22
|
type HtmlTagName = keyof HTMLElementTagNameMap;
|
|
24
23
|
|
|
25
24
|
/**
|
|
@@ -813,27 +812,4 @@ interface ThemeConfig {
|
|
|
813
812
|
raw: Record<string, string>;
|
|
814
813
|
}
|
|
815
814
|
|
|
816
|
-
type
|
|
817
|
-
interface LiveTokenSet {
|
|
818
|
-
vars: Record<string, string>;
|
|
819
|
-
get(name: string): string | undefined;
|
|
820
|
-
set(name: string, value: string): void;
|
|
821
|
-
setAll(tokens: TokenMap): void;
|
|
822
|
-
snapshot(): TokenMap;
|
|
823
|
-
}
|
|
824
|
-
interface LiveTokenEngineBridge {
|
|
825
|
-
getToken(name: string): string | undefined;
|
|
826
|
-
getTokens(): TokenMap;
|
|
827
|
-
setToken(name: string, value: string): void;
|
|
828
|
-
setTokens(tokens: TokenMap): void;
|
|
829
|
-
applyTokenSet(tokens: TokenMap): void;
|
|
830
|
-
subscribeTokens(fn: TokenSubscriber): () => void;
|
|
831
|
-
subscribe?(fn: TokenSubscriber): () => void;
|
|
832
|
-
}
|
|
833
|
-
declare global {
|
|
834
|
-
interface Window {
|
|
835
|
-
__TW_TOKEN_ENGINE__?: LiveTokenEngineBridge;
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export { type ComponentConfig, type ContainerConfig, type ContainerEntry, type CvFn, type HtmlTagName, type InferVariantProps, type LiveTokenSet, type MergeOptions, type ParsedClass, type ParsedClassModifier, type ResolvedThemeTokens, type StateComponentEntry, type StateConfig, type StyledComponentProps, type StyledOptions, type StyledProps, type StyledSystemConfig, type StyledSystemInstance, type SubComponentEntry, type SubComponentMap, type SubComponentProps, type SystemComponentConfig, type SystemComponentFactory, type SystemTokenMap, type ThemeConfig, type ThemeTokenMap, type TokenMap, type TokenSubscriber, type TwComponentFactory, type TwObject, type TwStyledComponent, type TwSubComponent, type TwTagFactory, type TwTagFactoryAny, type VariantLiterals, cn, createComponent, createStyledSystem, createTheme, createTwMerge, cssVar, cv, cx, cxm, generateContainerCss, generateStateCss, getAllSubComponents, getContainerRegistry, getStateRegistry, getSubComponent, mergeWithRules, processContainer, processState, registerSubComponent, registerVariantTable, resolveStyledClassName, server, styled, t, tw, twMerge, twVar, v4Tokens, withSubComponents };
|
|
815
|
+
export { type ComponentConfig, type ContainerConfig, type ContainerEntry, type CvFn, type HtmlTagName, type InferVariantProps, type MergeOptions, type ParsedClass, type ParsedClassModifier, type ResolvedThemeTokens, type StateComponentEntry, type StateConfig, type StyledComponentProps, type StyledOptions, type StyledProps, type StyledSystemConfig, type StyledSystemInstance, type SubComponentEntry, type SubComponentMap, type SubComponentProps, type SystemComponentConfig, type SystemComponentFactory, type SystemTokenMap, type ThemeConfig, type ThemeTokenMap, type TwComponentFactory, type TwObject, type TwStyledComponent, type TwSubComponent, type TwTagFactory, type TwTagFactoryAny, type VariantLiterals, cn, createComponent, createStyledSystem, createTheme, createTwMerge, cssVar, cv, cx, cxm, generateContainerCss, generateStateCss, getAllSubComponents, getContainerRegistry, getStateRegistry, getSubComponent, mergeWithRules, processContainer, processState, registerSubComponent, registerVariantTable, resolveStyledClassName, server, styled, t, tw, twMerge, twVar, v4Tokens, withSubComponents };
|