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 +11 -3
- package/dist/lang.d.ts +1081 -0
- package/dist/lang.js +1096 -0
- package/dist/lib/CodeView.svelte +34 -22
- package/dist/lib/CodeView.svelte.d.ts +4 -0
- package/dist/lib/Dialog.svelte +10 -1
- package/dist/lib/SearchInput.svelte +97 -0
- package/dist/lib/SearchInput.svelte.d.ts +12 -0
- package/dist/lib/Table.svelte +14 -2
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -0
- package/package.json +4 -4
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
|
|
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
|
|
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
|