@mintlify/components 0.4.0 → 0.4.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # @mintlify-components/react
1
+ # @mintlify/components
2
2
 
3
- Headless UI components for Mintlify with optional styling. Built with React, TypeScript, and Tailwind CSS.
3
+ Mintlify Headless UI components. Built with React, TypeScript, and Tailwind CSS.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -11,7 +11,7 @@ Headless UI components for Mintlify with optional styling. Built with React, Typ
11
11
  ## Installation
12
12
 
13
13
  ```bash
14
- pnpm add @mintlify-components/react
14
+ pnpm add @mintlify/components
15
15
  ```
16
16
 
17
17
  ## Development
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- /* empty css */
2
- import { colors as s, designTokens as f, focus as m, shadows as p } from "./styles/design-tokens.js";
3
- import { Badge as c } from "./components/badge/badge.js";
4
- import { Icon as n } from "./components/icon/icon.js";
1
+ /* empty css */
2
+ import { Badge as s } from "./components/badge/badge.js";
3
+ import { Icon as m } from "./components/icon/icon.js";
4
+ import { colors as t, designTokens as c, focus as d, shadows as n } from "./styles/design-tokens.js";
5
5
  export {
6
- c as Badge,
7
- n as Icon,
8
- s as colors,
9
- f as designTokens,
10
- m as focus,
11
- p as shadows
6
+ s as Badge,
7
+ m as Icon,
8
+ t as colors,
9
+ c as designTokens,
10
+ d as focus,
11
+ n as shadows
12
12
  };
package/package.json CHANGED
@@ -1,12 +1,23 @@
1
1
  {
2
2
  "name": "@mintlify/components",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Mintlify Headless UI components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
- "sideEffects": false,
9
+ "sideEffects": [
10
+ "*.css"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js",
16
+ "default": "./dist/index.js"
17
+ },
18
+ "./styles.css": "./dist/styles.css",
19
+ "./*.css": "./dist/components/*/*.css"
20
+ },
10
21
  "files": [
11
22
  "dist",
12
23
  "README.md",
File without changes