@pandacss/shared 0.42.0 → 0.44.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
@@ -96,6 +96,8 @@ declare function normalizeStyleObject(styles: Record<string, any>, context: Norm
96
96
 
97
97
  declare const omit: <T, K extends (string & {}) | keyof T>(obj: T, paths: K[]) => Omit<T, K>;
98
98
 
99
+ declare const PANDA_CONFIG_NAME: "__panda.config__";
100
+
99
101
  declare const createRegex: (item: Array<string | RegExp>) => RegExp;
100
102
 
101
103
  declare const stringifyJson: (config: Record<string, any>) => string;
@@ -156,4 +158,4 @@ declare function toPx(value?: string | number): string | undefined;
156
158
  declare function toEm(value?: string, fontSize?: number): string | undefined;
157
159
  declare function toRem(value?: string): string | undefined;
158
160
 
159
- export { CacheMap, CreateCssContext, type CssVar, type CssVarOptions, type MapToRecord, MappedObject, PandaError, type PandaErrorCode, WalkObjectStopFn, assign, calc, camelCaseProperty, capitalize, createRegex, cssVar, dashCase, deepSet, entries, esc, flatten, fromEntries, getArbitraryValue, getDotPath, getNegativePath, getOrCreateSet, getPropertyPriority, getUnit, isCssFunction, isCssUnit, isCssVar, isObjectOrArray, mapEntries, mapToJson, mergeWith, normalizeStyleObject, omit, parseJson, splitBy, splitDotPath, stringifyJson, toEm, toPx, toRem, toResponsiveObject, traverse, uncapitalize, unionType };
161
+ export { CacheMap, CreateCssContext, type CssVar, type CssVarOptions, type MapToRecord, MappedObject, PANDA_CONFIG_NAME, PandaError, type PandaErrorCode, WalkObjectStopFn, assign, calc, camelCaseProperty, capitalize, createRegex, cssVar, dashCase, deepSet, entries, esc, flatten, fromEntries, getArbitraryValue, getDotPath, getNegativePath, getOrCreateSet, getPropertyPriority, getUnit, isCssFunction, isCssUnit, isCssVar, isObjectOrArray, mapEntries, mapToJson, mergeWith, normalizeStyleObject, omit, parseJson, splitBy, splitDotPath, stringifyJson, toEm, toPx, toRem, toResponsiveObject, traverse, uncapitalize, unionType };
package/dist/index.d.ts CHANGED
@@ -96,6 +96,8 @@ declare function normalizeStyleObject(styles: Record<string, any>, context: Norm
96
96
 
97
97
  declare const omit: <T, K extends (string & {}) | keyof T>(obj: T, paths: K[]) => Omit<T, K>;
98
98
 
99
+ declare const PANDA_CONFIG_NAME: "__panda.config__";
100
+
99
101
  declare const createRegex: (item: Array<string | RegExp>) => RegExp;
100
102
 
101
103
  declare const stringifyJson: (config: Record<string, any>) => string;
@@ -156,4 +158,4 @@ declare function toPx(value?: string | number): string | undefined;
156
158
  declare function toEm(value?: string, fontSize?: number): string | undefined;
157
159
  declare function toRem(value?: string): string | undefined;
158
160
 
159
- export { CacheMap, CreateCssContext, type CssVar, type CssVarOptions, type MapToRecord, MappedObject, PandaError, type PandaErrorCode, WalkObjectStopFn, assign, calc, camelCaseProperty, capitalize, createRegex, cssVar, dashCase, deepSet, entries, esc, flatten, fromEntries, getArbitraryValue, getDotPath, getNegativePath, getOrCreateSet, getPropertyPriority, getUnit, isCssFunction, isCssUnit, isCssVar, isObjectOrArray, mapEntries, mapToJson, mergeWith, normalizeStyleObject, omit, parseJson, splitBy, splitDotPath, stringifyJson, toEm, toPx, toRem, toResponsiveObject, traverse, uncapitalize, unionType };
161
+ export { CacheMap, CreateCssContext, type CssVar, type CssVarOptions, type MapToRecord, MappedObject, PANDA_CONFIG_NAME, PandaError, type PandaErrorCode, WalkObjectStopFn, assign, calc, camelCaseProperty, capitalize, createRegex, cssVar, dashCase, deepSet, entries, esc, flatten, fromEntries, getArbitraryValue, getDotPath, getNegativePath, getOrCreateSet, getPropertyPriority, getUnit, isCssFunction, isCssUnit, isCssVar, isObjectOrArray, mapEntries, mapToJson, mergeWith, normalizeStyleObject, omit, parseJson, splitBy, splitDotPath, stringifyJson, toEm, toPx, toRem, toResponsiveObject, traverse, uncapitalize, unionType };
package/dist/index.js CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
23
  CacheMap: () => CacheMap,
24
+ PANDA_CONFIG_NAME: () => PANDA_CONFIG_NAME,
24
25
  PandaError: () => PandaError,
25
26
  assign: () => assign,
26
27
  astish: () => astish,
@@ -703,6 +704,9 @@ var omit = (obj, paths) => {
703
704
  return result;
704
705
  };
705
706
 
707
+ // src/panda-config-name.ts
708
+ var PANDA_CONFIG_NAME = "__panda.config__";
709
+
706
710
  // src/pattern-fns.ts
707
711
  var patternFns = {
708
712
  map: mapObject,
@@ -1024,6 +1028,7 @@ function toRem(value = "") {
1024
1028
  // Annotate the CommonJS export names for ESM import in node:
1025
1029
  0 && (module.exports = {
1026
1030
  CacheMap,
1031
+ PANDA_CONFIG_NAME,
1027
1032
  PandaError,
1028
1033
  assign,
1029
1034
  astish,
package/dist/index.mjs CHANGED
@@ -612,6 +612,9 @@ var omit = (obj, paths) => {
612
612
  return result;
613
613
  };
614
614
 
615
+ // src/panda-config-name.ts
616
+ var PANDA_CONFIG_NAME = "__panda.config__";
617
+
615
618
  // src/pattern-fns.ts
616
619
  var patternFns = {
617
620
  map: mapObject,
@@ -932,6 +935,7 @@ function toRem(value = "") {
932
935
  }
933
936
  export {
934
937
  CacheMap,
938
+ PANDA_CONFIG_NAME,
935
939
  PandaError,
936
940
  assign,
937
941
  astish,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/shared",
3
- "version": "0.42.0",
3
+ "version": "0.44.0",
4
4
  "description": "Shared utilities for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",