svelte-comp 1.1.5 → 1.2.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
@@ -8,7 +8,7 @@ Zero slots, simple props, themeable with CSS variables.
8
8
  ## 📦 Install
9
9
 
10
10
  ```bash
11
- npm install svelte-comp
11
+ npm i svelte-comp
12
12
  ```
13
13
 
14
14
  ---
@@ -16,7 +16,7 @@ npm install svelte-comp
16
16
  ## 🔧 Setup TailwindCSS
17
17
 
18
18
  ```bash
19
- npm install tailwindcss @tailwindcss/vite
19
+ npm i tailwindcss @tailwindcss/vite
20
20
  ```
21
21
 
22
22
  `vite.config.ts`:
@@ -43,12 +43,20 @@ Add to `src/app.css`:
43
43
 
44
44
  ---
45
45
 
46
+ ## 🔧 Setup Prism
47
+
48
+ ```bash
49
+ npm i prismjs @types/prismjs
50
+ ```
51
+
52
+ ---
53
+
46
54
  ## 📁 Components included
47
55
 
48
56
  Accordion • Button • Card • Carousel • CheckBox • CodeView • ColorPicker •
49
57
  DatePicker • Dialog • Field • FilePicker • Form • Hamburger • Menu •
50
58
  PaginatedCard • Pagination • PrimaryColorSelect • ProgressBar • ProgressCircle •
51
- Radio • Select • Slider • Splitter • Switch • Tabs • Table • ThemeToggle •
59
+ Radio • SearchInput • Select • Slider • Splitter • Switch • Tabs • Table • ThemeToggle •
52
60
  TimePicker • Toast • Tooltip
53
61
 
54
62
  Full component list in repository