@pandacss/preset-panda 2.1.0 → 2.1.2

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.js CHANGED
@@ -1,30 +1,3 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- default: () => index_default,
24
- preset: () => preset
25
- });
26
- module.exports = __toCommonJS(index_exports);
27
-
28
1
  // src/breakpoints.ts
29
2
  var breakpoints = {
30
3
  sm: "40rem",
@@ -749,7 +722,7 @@ var preset = definePreset({
749
722
  }
750
723
  });
751
724
  var index_default = preset;
752
- // Annotate the CommonJS export names for ESM import in node:
753
- 0 && (module.exports = {
725
+ export {
726
+ index_default as default,
754
727
  preset
755
- });
728
+ };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@pandacss/preset-panda",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "The preset for PandaCSS that contains the default theme",
5
- "main": "dist/index.js",
6
- "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
8
  "author": "Segun Adebayo <joseshegs@gmail.com>",
9
9
  "license": "MIT",
10
10
  "sideEffects": false,
@@ -21,11 +21,7 @@
21
21
  ".": {
22
22
  "source": "./src/index.ts",
23
23
  "types": "./dist/index.d.ts",
24
- "require": "./dist/index.js",
25
- "import": {
26
- "types": "./dist/index.d.mts",
27
- "default": "./dist/index.mjs"
28
- }
24
+ "default": "./dist/index.js"
29
25
  },
30
26
  "./package.json": "./package.json"
31
27
  },
@@ -33,14 +29,14 @@
33
29
  "dist"
34
30
  ],
35
31
  "dependencies": {
36
- "@pandacss/types": "2.1.0"
32
+ "@pandacss/types": "2.1.2"
37
33
  },
38
34
  "engines": {
39
35
  "node": ">=22"
40
36
  },
41
37
  "scripts": {
42
- "build": "tsup src/index.ts --format=esm,cjs --dts",
43
- "build:fast": "tsup src/index.ts --format=esm,cjs --no-dts",
38
+ "build": "tsup src/index.ts --format=esm --dts",
39
+ "build:fast": "tsup src/index.ts --format=esm --no-dts",
44
40
  "dev": "pnpm build:fast --watch"
45
41
  }
46
42
  }