@splenddev/kreativ-ui 0.3.3 → 0.3.4
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.cjs +14 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { BaseProps, ColorProps, BaseColor, VariantProps, BaseVariant, DisabledPr
|
|
|
4
4
|
export * from '@splenddev/kreativ-core/types';
|
|
5
5
|
import * as _splenddev_kreativ_core from '@splenddev/kreativ-core';
|
|
6
6
|
import { MotionGatedProps, KuiComponent, BaseProps as BaseProps$1, SizeProps as SizeProps$1, ValueProps as ValueProps$1, VariantProps as VariantProps$1, DisabledProps as DisabledProps$1, ClearableProps as ClearableProps$1, StateProps as StateProps$1, Styleable, FormFieldStatus as FormFieldStatus$1, ThemeOverride, ColorMode } from '@splenddev/kreativ-core';
|
|
7
|
-
export { PersistMode, PersistModeProps, ThemeContext, defineRecipe, defineSemanticToken, defineSemanticTokens, defineTheme, defineToken, defineTokens, defineTypography, resolveTypography } from '@splenddev/kreativ-core';
|
|
7
|
+
export { PersistMode, PersistModeProps, ThemeContext, defineRecipe, defineSemanticToken, defineSemanticTokens, defineTheme, defineToken, defineTokens, defineTypography, resolveTypography, useTheme, useValidateChildren } from '@splenddev/kreativ-core';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
export * from '@splenddev/kreativ-core/hooks';
|
|
10
10
|
import { ClassValue } from 'clsx';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { BaseProps, ColorProps, BaseColor, VariantProps, BaseVariant, DisabledPr
|
|
|
4
4
|
export * from '@splenddev/kreativ-core/types';
|
|
5
5
|
import * as _splenddev_kreativ_core from '@splenddev/kreativ-core';
|
|
6
6
|
import { MotionGatedProps, KuiComponent, BaseProps as BaseProps$1, SizeProps as SizeProps$1, ValueProps as ValueProps$1, VariantProps as VariantProps$1, DisabledProps as DisabledProps$1, ClearableProps as ClearableProps$1, StateProps as StateProps$1, Styleable, FormFieldStatus as FormFieldStatus$1, ThemeOverride, ColorMode } from '@splenddev/kreativ-core';
|
|
7
|
-
export { PersistMode, PersistModeProps, ThemeContext, defineRecipe, defineSemanticToken, defineSemanticTokens, defineTheme, defineToken, defineTokens, defineTypography, resolveTypography } from '@splenddev/kreativ-core';
|
|
7
|
+
export { PersistMode, PersistModeProps, ThemeContext, defineRecipe, defineSemanticToken, defineSemanticTokens, defineTheme, defineToken, defineTokens, defineTypography, resolveTypography, useTheme, useValidateChildren } from '@splenddev/kreativ-core';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
export * from '@splenddev/kreativ-core/hooks';
|
|
10
10
|
import { ClassValue } from 'clsx';
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { clsx } from 'clsx';
|
|
|
6
6
|
import { twMerge } from 'tailwind-merge';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import { useTheme, createComponent, hasKuiMeta, composeRefs, defineToken, defineSemanticToken, defineTypography, defineSizes, defineRecipe, defineTheme, resolveStyle, warnOnFlatCompoundConflict, useValidateChildren, resolveTypography, defineTokens, defineSemanticTokens, ThemeContext, PersistMode, isMotionGated as isMotionGated$1, deepMerge } from '@splenddev/kreativ-core';
|
|
9
|
-
export { PersistMode, ThemeContext, defineRecipe, defineSemanticToken, defineSemanticTokens, defineTheme, defineToken, defineTokens, defineTypography, resolveTypography } from '@splenddev/kreativ-core';
|
|
9
|
+
export { PersistMode, ThemeContext, defineRecipe, defineSemanticToken, defineSemanticTokens, defineTheme, defineToken, defineTokens, defineTypography, resolveTypography, useTheme, useValidateChildren } from '@splenddev/kreativ-core';
|
|
10
10
|
import * as hooks_star from '@splenddev/kreativ-core/hooks';
|
|
11
11
|
import { useSizeToken, useTypography, useSizeStyle, useResponsiveStyles } from '@splenddev/kreativ-core/hooks';
|
|
12
12
|
import { motion } from 'framer-motion';
|
|
@@ -116,7 +116,9 @@ __export(index_exports, {
|
|
|
116
116
|
useOptionalButtonGroupContext: () => useOptionalButtonGroupContext,
|
|
117
117
|
useOptionalButtonGroupItemContext: () => useOptionalButtonGroupItemContext,
|
|
118
118
|
useScrollProgress: () => useScrollProgress,
|
|
119
|
-
useStatusTransition: () => useStatusTransition
|
|
119
|
+
useStatusTransition: () => useStatusTransition,
|
|
120
|
+
useTheme: () => useTheme,
|
|
121
|
+
useValidateChildren: () => useValidateChildren
|
|
120
122
|
});
|
|
121
123
|
function cn(...inputs) {
|
|
122
124
|
return twMerge(clsx(inputs));
|
|
@@ -1028,7 +1030,9 @@ __export(hooks_exports, {
|
|
|
1028
1030
|
useClearableField: () => useClearableField,
|
|
1029
1031
|
useFloatingSide: () => useFloatingSide,
|
|
1030
1032
|
useKeyboardShortcuts: () => useKeyboardShortcuts,
|
|
1031
|
-
useStatusTransition: () => useStatusTransition
|
|
1033
|
+
useStatusTransition: () => useStatusTransition,
|
|
1034
|
+
useTheme: () => useTheme,
|
|
1035
|
+
useValidateChildren: () => useValidateChildren
|
|
1032
1036
|
});
|
|
1033
1037
|
var VIEWPORT_PADDING = 8;
|
|
1034
1038
|
function useFloatingSide(triggerRef, open) {
|