@pandacss/preset-base 2.1.1 → 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/conditions.ts
29
2
  var conditions = {
30
3
  hover: "&:is(:hover, [data-hover])",
@@ -3604,7 +3577,7 @@ var preset = definePreset({
3604
3577
  patterns
3605
3578
  });
3606
3579
  var index_default = preset;
3607
- // Annotate the CommonJS export names for ESM import in node:
3608
- 0 && (module.exports = {
3580
+ export {
3581
+ index_default as default,
3609
3582
  preset
3610
- });
3583
+ };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pandacss/preset-base",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "The base preset for Panda CSS that contains the conditions and utilities",
5
5
  "author": "Segun Adebayo <joseshegs@gmail.com>",
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "dist/index.mjs",
9
- "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "main": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
10
  "sideEffects": false,
11
11
  "homepage": "https://panda-css.com",
12
12
  "repository": {
@@ -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.1"
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
  }