@webquark/core 1.0.0 โ 1.0.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.
- package/package.json +1 -1
- package/readme.md +25 -6
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -9,7 +9,7 @@ A premium, glassmorphic Web Component library compiled with **StencilJS**. Desig
|
|
|
9
9
|
|
|
10
10
|
### 1. Install Library
|
|
11
11
|
```bash
|
|
12
|
-
|
|
12
|
+
bun add @webquark/core
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
### 2. Import Styles & Bootloader
|
|
@@ -56,19 +56,38 @@ webquark/ (Root)
|
|
|
56
56
|
|
|
57
57
|
---
|
|
58
58
|
|
|
59
|
+
## ๐งช WebQuark Component Sandbox
|
|
60
|
+
|
|
61
|
+
WebQuark includes a built-in interactive sandbox playground where you can preview components, inspect their layout behaviors, and test theme design variables in real-time.
|
|
62
|
+
|
|
63
|
+
To launch the sandbox:
|
|
64
|
+
1. Navigate to the WebQuark root directory.
|
|
65
|
+
2. Start the playground server:
|
|
66
|
+
```bash
|
|
67
|
+
bun start
|
|
68
|
+
```
|
|
69
|
+
3. Open your web browser and navigate to: [http://localhost:3333](http://localhost:3333)
|
|
70
|
+
|
|
71
|
+
Inside the sandbox:
|
|
72
|
+
* **Interactive Previews:** Adjust component attributes, slots, and events on the fly.
|
|
73
|
+
* **Theme Designer:** Tweak global CSS design tokens (colors, border-radius, font sizes) and see the visual changes reflect instantly.
|
|
74
|
+
* **Event Log:** Inspect custom event payloads dispatched by components as you interact with them.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
59
78
|
## ๐ ๏ธ Development Commands
|
|
60
79
|
|
|
61
80
|
Before running commands, install package dependencies:
|
|
62
81
|
```bash
|
|
63
|
-
|
|
82
|
+
bun install
|
|
64
83
|
```
|
|
65
84
|
|
|
66
85
|
| Command | Action | Description |
|
|
67
86
|
| :--- | :--- | :--- |
|
|
68
|
-
| **`
|
|
69
|
-
| **`
|
|
70
|
-
| **`
|
|
71
|
-
| **`
|
|
87
|
+
| **`bun start`** | **Run Playground** | Starts a local hot-reloading component sandbox at `http://localhost:3333`. |
|
|
88
|
+
| **`bun run build`** | **Build Library** | Runs Stencil compiler to output production bundles inside `dist/`. |
|
|
89
|
+
| **`bun test`** | **Run Test Suites** | Runs unit test suites using Vitest. |
|
|
90
|
+
| **`bun run test:watch`**| **Watch Tests** | Runs tests in interactive watcher mode. |
|
|
72
91
|
|
|
73
92
|
---
|
|
74
93
|
|