@pandacss/shared 0.0.0-dev-20230106201243 → 0.0.0-dev-20230106202111

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.
@@ -25,7 +25,7 @@ declare function createCss(context: CreateCssContext): (styleObject?: Record<str
25
25
 
26
26
  declare function compact<T extends Record<string, any>>(value: T): T;
27
27
 
28
- declare const isBaseCondition: (c: string) => boolean;
28
+ declare const isBaseCondition: (v: string) => boolean;
29
29
  declare function filterBaseConditions(c: string[]): string[];
30
30
 
31
31
  declare function isImportant(value: string): boolean;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { W as WalkObjectStopFn, M as MappedObject, C as CreateCssContext } from './hash-b98a6846.js';
2
- export { C as CreateCssContext, M as MappedObject, e as WalkObjectOptions, W as WalkObjectStopFn, a as compact, c as createCss, f as filterBaseConditions, i as isBaseCondition, b as isImportant, m as mapObject, t as toHash, g as walkObject, w as withoutImportant, d as withoutSpace } from './hash-b98a6846.js';
1
+ import { W as WalkObjectStopFn, M as MappedObject, C as CreateCssContext } from './hash-95bc50e7.js';
2
+ export { C as CreateCssContext, M as MappedObject, e as WalkObjectOptions, W as WalkObjectStopFn, a as compact, c as createCss, f as filterBaseConditions, i as isBaseCondition, b as isImportant, m as mapObject, t as toHash, g as walkObject, w as withoutImportant, d as withoutSpace } from './hash-95bc50e7.js';
3
3
 
4
4
  declare const isString: (v: any) => v is string;
5
5
  type AnyFunction = (...args: any[]) => any;
package/dist/index.js CHANGED
@@ -88,7 +88,7 @@ var dashCase = (s) => s.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
88
88
  var uncapitalize = (s) => s.charAt(0).toLowerCase() + s.slice(1);
89
89
 
90
90
  // src/condition.ts
91
- var isBaseCondition = (c) => /^(base|_)$/.test(c);
91
+ var isBaseCondition = (v) => v === "base";
92
92
  function filterBaseConditions(c) {
93
93
  return c.slice().filter((v) => !isBaseCondition(v));
94
94
  }
package/dist/index.mjs CHANGED
@@ -30,7 +30,7 @@ var dashCase = (s) => s.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
30
30
  var uncapitalize = (s) => s.charAt(0).toLowerCase() + s.slice(1);
31
31
 
32
32
  // src/condition.ts
33
- var isBaseCondition = (c) => /^(base|_)$/.test(c);
33
+ var isBaseCondition = (v) => v === "base";
34
34
  function filterBaseConditions(c) {
35
35
  return c.slice().filter((v) => !isBaseCondition(v));
36
36
  }
package/dist/shared.d.ts CHANGED
@@ -1 +1 @@
1
- export { C as CreateCssContext, M as MappedObject, e as WalkObjectOptions, W as WalkObjectStopFn, a as compact, c as createCss, f as filterBaseConditions, i as isBaseCondition, m as mapObject, t as toHash, g as walkObject, d as withoutSpace } from './hash-b98a6846.js';
1
+ export { C as CreateCssContext, M as MappedObject, e as WalkObjectOptions, W as WalkObjectStopFn, a as compact, c as createCss, f as filterBaseConditions, i as isBaseCondition, m as mapObject, t as toHash, g as walkObject, d as withoutSpace } from './hash-95bc50e7.js';
package/dist/shared.js CHANGED
@@ -32,7 +32,7 @@ __export(shared_exports, {
32
32
  module.exports = __toCommonJS(shared_exports);
33
33
 
34
34
  // src/condition.ts
35
- var isBaseCondition = (c) => /^(base|_)$/.test(c);
35
+ var isBaseCondition = (v) => v === "base";
36
36
  function filterBaseConditions(c) {
37
37
  return c.slice().filter((v) => !isBaseCondition(v));
38
38
  }
package/dist/shared.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/condition.ts
2
- var isBaseCondition = (c) => /^(base|_)$/.test(c);
2
+ var isBaseCondition = (v) => v === "base";
3
3
  function filterBaseConditions(c) {
4
4
  return c.slice().filter((v) => !isBaseCondition(v));
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/shared",
3
- "version": "0.0.0-dev-20230106201243",
3
+ "version": "0.0.0-dev-20230106202111",
4
4
  "description": "Shared utilities for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",