@pandacss/shared 0.24.1 → 0.25.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/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { W as WalkObjectStopFn, M as MappedObject, C as CreateCssContext } from './shared-ep4aFxdJ.mjs';
2
- export { r as WalkObjectOptions, f as compact, d as createCss, e as createMergeCss, h as filterBaseConditions, q as getSlotCompoundVariant, p as getSlotRecipes, l as hypenateProperty, g as isBaseCondition, a as isBoolean, b as isFunction, j as isImportant, c as isObject, i as isString, x as mapObject, m as markImportant, n as memo, o as mergeProps, s as splitProps, t as toHash, u as uniq, v as walkObject, w as withoutImportant, k as withoutSpace } from './shared-ep4aFxdJ.mjs';
1
+ import { W as WalkObjectStopFn, M as MappedObject, C as CreateCssContext } from './shared-MIujjRlg.mjs';
2
+ export { r as WalkObjectOptions, f as compact, d as createCss, e as createMergeCss, h as filterBaseConditions, q as getSlotCompoundVariant, p as getSlotRecipes, l as hypenateProperty, g as isBaseCondition, a as isBoolean, b as isFunction, j as isImportant, c as isObject, i as isString, x as mapObject, m as markImportant, n as memo, o as mergeProps, s as splitProps, t as toHash, u as uniq, v as walkObject, w as withoutImportant, k as withoutSpace } from './shared-MIujjRlg.mjs';
3
3
  export { astish } from './astish.mjs';
4
4
 
5
5
  declare const getArbitraryValue: (value: string) => string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { W as WalkObjectStopFn, M as MappedObject, C as CreateCssContext } from './shared-ep4aFxdJ.js';
2
- export { r as WalkObjectOptions, f as compact, d as createCss, e as createMergeCss, h as filterBaseConditions, q as getSlotCompoundVariant, p as getSlotRecipes, l as hypenateProperty, g as isBaseCondition, a as isBoolean, b as isFunction, j as isImportant, c as isObject, i as isString, x as mapObject, m as markImportant, n as memo, o as mergeProps, s as splitProps, t as toHash, u as uniq, v as walkObject, w as withoutImportant, k as withoutSpace } from './shared-ep4aFxdJ.js';
1
+ import { W as WalkObjectStopFn, M as MappedObject, C as CreateCssContext } from './shared-MIujjRlg.js';
2
+ export { r as WalkObjectOptions, f as compact, d as createCss, e as createMergeCss, h as filterBaseConditions, q as getSlotCompoundVariant, p as getSlotRecipes, l as hypenateProperty, g as isBaseCondition, a as isBoolean, b as isFunction, j as isImportant, c as isObject, i as isString, x as mapObject, m as markImportant, n as memo, o as mergeProps, s as splitProps, t as toHash, u as uniq, v as walkObject, w as withoutImportant, k as withoutSpace } from './shared-MIujjRlg.js';
3
3
  export { astish } from './astish.js';
4
4
 
5
5
  declare const getArbitraryValue: (value: string) => string;
@@ -42,9 +42,9 @@ declare function compact<T extends Record<string, any>>(value: T): T;
42
42
  declare const isBaseCondition: (v: string) => boolean;
43
43
  declare function filterBaseConditions(c: string[]): string[];
44
44
 
45
- declare function isImportant(value: string): boolean;
46
- declare function withoutImportant(value: string): string;
47
- declare function withoutSpace(str: string): string;
45
+ declare function isImportant<T extends string | number | boolean>(value: T): boolean;
46
+ declare function withoutImportant<T extends string | number | boolean>(value: T): string | T;
47
+ declare function withoutSpace<T extends string | number | boolean>(str: T): string | T;
48
48
  type Dict$1 = Record<string, unknown>;
49
49
  declare function markImportant(obj: Dict$1): {};
50
50
 
@@ -42,9 +42,9 @@ declare function compact<T extends Record<string, any>>(value: T): T;
42
42
  declare const isBaseCondition: (v: string) => boolean;
43
43
  declare function filterBaseConditions(c: string[]): string[];
44
44
 
45
- declare function isImportant(value: string): boolean;
46
- declare function withoutImportant(value: string): string;
47
- declare function withoutSpace(str: string): string;
45
+ declare function isImportant<T extends string | number | boolean>(value: T): boolean;
46
+ declare function withoutImportant<T extends string | number | boolean>(value: T): string | T;
47
+ declare function withoutSpace<T extends string | number | boolean>(str: T): string | T;
48
48
  type Dict$1 = Record<string, unknown>;
49
49
  declare function markImportant(obj: Dict$1): {};
50
50
 
package/dist/shared.d.mts CHANGED
@@ -1 +1 @@
1
- export { f as compact, d as createCss, e as createMergeCss, h as filterBaseConditions, q as getSlotCompoundVariant, p as getSlotRecipes, l as hypenateProperty, g as isBaseCondition, c as isObject, x as mapObject, n as memo, o as mergeProps, s as splitProps, t as toHash, u as uniq, v as walkObject, k as withoutSpace } from './shared-ep4aFxdJ.mjs';
1
+ export { f as compact, d as createCss, e as createMergeCss, h as filterBaseConditions, q as getSlotCompoundVariant, p as getSlotRecipes, l as hypenateProperty, g as isBaseCondition, c as isObject, x as mapObject, n as memo, o as mergeProps, s as splitProps, t as toHash, u as uniq, v as walkObject, k as withoutSpace } from './shared-MIujjRlg.mjs';
package/dist/shared.d.ts CHANGED
@@ -1 +1 @@
1
- export { f as compact, d as createCss, e as createMergeCss, h as filterBaseConditions, q as getSlotCompoundVariant, p as getSlotRecipes, l as hypenateProperty, g as isBaseCondition, c as isObject, x as mapObject, n as memo, o as mergeProps, s as splitProps, t as toHash, u as uniq, v as walkObject, k as withoutSpace } from './shared-ep4aFxdJ.js';
1
+ export { f as compact, d as createCss, e as createMergeCss, h as filterBaseConditions, q as getSlotCompoundVariant, p as getSlotRecipes, l as hypenateProperty, g as isBaseCondition, c as isObject, x as mapObject, n as memo, o as mergeProps, s as splitProps, t as toHash, u as uniq, v as walkObject, k as withoutSpace } from './shared-MIujjRlg.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/shared",
3
- "version": "0.24.1",
3
+ "version": "0.25.0",
4
4
  "description": "Shared utilities for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",