@patimweb/crtstyleguide 1.0.3 → 1.0.5

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/README.md +7 -3
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -5,11 +5,13 @@
5
5
  <img src="https://img.shields.io/badge/lit-3.1.0-33ff33?style=flat-square&labelColor=0a0a0a" alt="Lit">
6
6
  <img src="https://img.shields.io/badge/typescript-5.3-33ff33?style=flat-square&labelColor=0a0a0a" alt="TypeScript">
7
7
  <img src="https://img.shields.io/badge/license-Apache%202.0-33ff33?style=flat-square&labelColor=0a0a0a" alt="License">
8
+ <a href="https://smotherer007.github.io/crtstyleguide/"><img src="https://img.shields.io/badge/demo-live-33ff33?style=flat-square&labelColor=0a0a0a" alt="Live Demo"></a>
8
9
  </p>
9
10
 
10
11
  <p align="center">
11
12
  <b>Eine moderne Web Component Library im Retro-CRT-Look</b><br>
12
- Basierend auf Lit, TypeScript und Vite
13
+ Basierend auf Lit, TypeScript und Vite<br><br>
14
+ <a href="https://smotherer007.github.io/crtstyleguide/">🖥️ Live Demo ansehen</a>
13
15
  </p>
14
16
 
15
17
  ---
@@ -262,7 +264,9 @@ import { Button, Card, Modal } from '@patimweb/crtstyleguide';
262
264
 
263
265
  ```typescript
264
266
  // In deiner Haupt-JS/TS-Datei
265
- import '@patimweb/crtstyleguide/dist/lib/components.css';
267
+ import '@patimweb/crtstyleguide/styles';
268
+ // oder
269
+ import '@patimweb/crtstyleguide/styles.css';
266
270
  ```
267
271
 
268
272
  Oder direkt im HTML:
@@ -291,7 +295,7 @@ Oder direkt im HTML:
291
295
 
292
296
  ```tsx
293
297
  import '@patimweb/crtstyleguide';
294
- import '@patimweb/crtstyleguide/dist/lib/components.css';
298
+ import '@patimweb/crtstyleguide/styles';
295
299
 
296
300
  function App() {
297
301
  return (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patimweb/crtstyleguide",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "CRT Style Guide - Retro Lit component library",
5
5
  "type": "module",
6
6
  "main": "dist/lib/index.js",
@@ -9,7 +9,9 @@
9
9
  ".": {
10
10
  "types": "./dist/lib/index.d.ts",
11
11
  "import": "./dist/lib/index.js"
12
- }
12
+ },
13
+ "./styles": "./dist/lib/components.css",
14
+ "./styles.css": "./dist/lib/components.css"
13
15
  },
14
16
  "files": [
15
17
  "dist/lib"
@@ -48,6 +50,7 @@
48
50
  "type": "git",
49
51
  "url": "https://github.com/Smotherer007/crtstyleguide.git"
50
52
  },
53
+ "homepage": "https://smotherer007.github.io/crtstyleguide/",
51
54
  "publishConfig": {
52
55
  "access": "public"
53
56
  }