glass-studio-ui-pro 0.1.26 → 0.1.28

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 +40 -38
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # 💎 Glass Studio UI Pro
1
+ # 💎 Glass Studio UI
2
2
 
3
- **Premium Liquid Glass UI Library for Vue 3**
3
+ **Liquid Glass UI Library for Vue 3**
4
4
 
5
- ![Glass Studio Preview](https://i.ibb.co/yc8QmHwZ/Screenshot-2026-03-27-154613.png)
5
+ <a href="https://ibb.co/Kp9rcTMf"><img src="https://i.ibb.co/yc8QmHwZ/Screenshot-2026-03-27-154613.png" alt="Screenshot-2026-03-27-154613" border="0"></a>
6
6
 
7
- `glass-studio-ui-pro` is a high-fidelity glassmorphism UI library designed for modern Vue 3 applications. It features advanced backdrop blur, realistic liquid distortion filters, and a sophisticated shadow engine to create stunning, premium-grade interfaces.
7
+ `glass-studio-ui` is a high-fidelity glassmorphism UI library designed for modern Vue 3 applications. It features advanced backdrop blur, realistic liquid distortion filters, and a sophisticated shadow engine to create stunning, premium-grade interfaces.
8
8
 
9
9
  ---
10
10
 
@@ -13,53 +13,50 @@
13
13
  - **Liquid Glass Distortion**: Real-time high-fidelity glass distortion effects (Mist, Grain, Frosted).
14
14
  - **Pro Presets**: 10+ professionally tuned glass styles (Glass-frost, Light-frost, Heavy-frost, etc.).
15
15
  - **Advanced Shadow Engine**: Multi-layered reflection and mist shadows for physical depth.
16
- - **License Guard**: Secure component locking with real-time error messaging from API.
17
16
  - **Vue 3 First**: Built using `<script setup>` and TypeScript for a modern DX.
17
+ - **Lightweight**: Optimized CSS and ES modules for minimal performance impact.
18
18
 
19
19
  ---
20
20
 
21
21
  ## 🚀 Getting Started
22
22
 
23
- ### 1. Installation
23
+ ### Installation
24
24
 
25
25
  Install the library using npm or yarn:
26
26
 
27
27
  ```bash
28
28
  npm install glass-studio-ui-pro
29
+ # OR
30
+ yarn add glass-studio-ui-pro
29
31
  ```
30
32
 
31
- ### 2. Global Setup (Recommended)
33
+ ### Global Setup
32
34
 
33
- In your `main.ts` or `main.js`, register the plugin and provide your **License Key**:
35
+ Import the styles and filters component in your main application file (e.g., `main.js` or `App.vue`):
34
36
 
35
- ```typescript
37
+ ```javascript
36
38
  import { createApp } from "vue";
37
- import { GlassUI } from "glass-studio-ui-pro";
38
- import "glass-studio-ui-pro/style.css";
39
+ import App from "./App.vue";
40
+ import "glass-studio-ui/styles"; // Import Global Styles
39
41
 
40
42
  const app = createApp(App);
41
-
42
- // Initialize GlassUI with your Pro License Key
43
- app.use(GlassUI, {
44
- licenseKey: 'YOUR-PRO-LICENSE-KEY-HERE'
45
- });
46
-
47
43
  app.mount("#app");
48
44
  ```
49
45
 
50
- ### 3. SVG Filters Setup
46
+ ### SVG Filters Setup
51
47
 
52
48
  To enable liquid glass textures, you **must** include the `CmFilters` component once in your root `App.vue`:
53
49
 
54
50
  ```vue
55
51
  <script setup>
56
- import { CmFilters } from "glass-studio-ui-pro";
52
+ import { CmFilters } from "glass-studio-ui";
57
53
  </script>
58
54
 
59
55
  <template>
60
56
  <div id="app">
61
57
  <router-view />
62
- <CmFilters /> <!-- Required for distortions -->
58
+ <CmFilters />
59
+ <!-- Central Filter Engine -->
63
60
  </div>
64
61
  </template>
65
62
  ```
@@ -72,45 +69,50 @@ import { CmFilters } from "glass-studio-ui-pro";
72
69
 
73
70
  ```vue
74
71
  <script setup>
75
- import { CmCard, CmButton } from "glass-studio-ui-pro";
72
+ import { CmCard } from "glass-studio-ui";
76
73
  </script>
77
74
 
78
75
  <template>
79
76
  <CmCard type="heavy-frost" shadow="mist">
80
77
  <h3>Liquid Glass Title</h3>
81
78
  <p>This card features deep blur and high-fidelity frost texture.</p>
82
-
83
- <CmButton variant="primary" glow>
84
- Action Button
85
- </CmButton>
86
79
  </CmCard>
87
80
  </template>
88
81
  ```
89
82
 
90
- ---
83
+ ### Advanced Presets
91
84
 
92
- ## 🔐 License & Security
85
+ | Preset | Description |
86
+ | :------------ | :----------------------------------------------- |
87
+ | `glass-frost` | Crystal clear glass with subtle distortion. |
88
+ | `light-frost` | Clean, subtle frozen texture. |
89
+ | `heavy-frost` | Deep 24px blur with intense frosted deformation. |
90
+ | `grain-frost` | High-frequency sand-blasted grain texture. |
91
+ | `fine-frost` | Elegant light refraction and mist. |
92
+ | `soft-mist` | Luminous glowing fog with deep mist shadows. |
93
93
 
94
- This is a **Pro** version of the library. If a valid license is not detected, components will enter a "Secure Lock" state:
95
- - Visuals will revert to a simplified dark aesthetic.
96
- - A descriptive error message (e.g., **"LICENSE HAS EXPIRED"**) will be displayed.
94
+ ---
97
95
 
98
- ```typescript
99
- import { getLicenseStatus } from "glass-studio-ui-pro";
96
+ ## 📖 API Reference
100
97
 
101
- const status = getLicenseStatus();
102
- console.log(status.isValid); // boolean
103
- console.log(status.message); // Info from API
104
- ```
98
+ ### CmCard Props
99
+
100
+ | Prop | Type | Default | Description |
101
+ | :----------- | :----------------------------------- | :------- | :-------------------------------------- |
102
+ | `type` | `string` | `'none'` | Preset glass style (see table above). |
103
+ | `blur` | `number` | `12` | Backdrop blur radius in pixels. |
104
+ | `opacity` | `number` | `0.12` | Background transparency (0-1). |
105
+ | `distortion` | `'none'\|'mist'\|'grain'\|'frosted'` | `'none'` | Custom surface distortion texture. |
106
+ | `shadow` | `'mist'\|'reflex'\|boolean` | `false` | Apply specialized glass shadow effects. |
105
107
 
106
108
  ---
107
109
 
108
110
  ## 🌍 Localization (Việt Nam)
109
111
 
110
- Hệ thống được tối ưu mang lại trải nghiệm thị giác cao cấp với hiệu ứng bề mặt kính mờ, kính nhám và chế bảo mật bản quyền chuyên nghiệp.
112
+ Sản phẩm được tối ưu giao diện kính lỏng (Liquid Glass) mang lại trải nghiệm thị giác cao cấp. Hệ thống hỗ trợ đầy đủ các hiệu ứng bề mặt kính mờ, kính nhám và phản xạ ánh sáng đa tầng.
111
113
 
112
114
  ---
113
115
 
114
116
  ## 📄 License
115
117
 
116
- (C) 2026 Glass Studio & CM Team. All Rights Reserved.
118
+ MIT © 2026 Glass Studio & CM Team
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "glass-studio-ui-pro",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
+ "description": "Premium Liquid Glass UI Library for Vue 3",
4
5
  "type": "module",
5
6
  "files": [
6
7
  "dist",