@als-tp/als-react-ts-ui 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/dist/styles.d.ts +5 -0
  2. package/package.json +6 -3
@@ -0,0 +1,5 @@
1
+ // Type declaration for styles export
2
+ declare module '@als-tp/als-react-ts-ui/styles' {
3
+ const content: void;
4
+ export default content;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@als-tp/als-react-ts-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A comprehensive React TypeScript UI component library built with Base UI",
5
5
  "keywords": [
6
6
  "react",
@@ -29,7 +29,10 @@
29
29
  "import": "./dist/als-react-ts-ui.js",
30
30
  "require": "./dist/als-react-ts-ui.cjs"
31
31
  },
32
- "./styles": "./dist/als-react-ts-ui.css"
32
+ "./styles": {
33
+ "types": "./dist/styles.d.ts",
34
+ "default": "./dist/als-react-ts-ui.css"
35
+ }
33
36
  },
34
37
  "files": [
35
38
  "dist",
@@ -40,7 +43,7 @@
40
43
  "scripts": {
41
44
  "dev": "vite",
42
45
  "build": "tsc -b && vite build",
43
- "build:lib": "vite build && tsc -p tsconfig.build.json --emitDeclarationOnly",
46
+ "build:lib": "vite build && tsc -p tsconfig.build.json --emitDeclarationOnly && cp src/styles.d.ts dist/styles.d.ts",
44
47
  "lint": "eslint .",
45
48
  "preview": "vite preview",
46
49
  "storybook": "storybook dev -p 6006 --no-open",