vlite3 0.4.10 → 0.5.3

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 (266) hide show
  1. package/README.md +172 -70
  2. package/_virtual/Barcode.js +4 -0
  3. package/_virtual/CODE128.js +4 -0
  4. package/_virtual/CODE128A.js +4 -0
  5. package/_virtual/CODE128B.js +4 -0
  6. package/_virtual/CODE128C.js +4 -0
  7. package/_virtual/CODE128_AUTO.js +4 -0
  8. package/_virtual/CODE93.js +4 -0
  9. package/_virtual/CODE93FullASCII.js +4 -0
  10. package/_virtual/EAN.js +4 -0
  11. package/_virtual/EAN13.js +4 -0
  12. package/_virtual/EAN2.js +4 -0
  13. package/_virtual/EAN5.js +4 -0
  14. package/_virtual/EAN8.js +4 -0
  15. package/_virtual/ErrorHandler.js +4 -0
  16. package/_virtual/FileSaver.min.js +5 -0
  17. package/_virtual/FileSaver.min2.js +4 -0
  18. package/_virtual/ITF.js +4 -0
  19. package/_virtual/ITF14.js +4 -0
  20. package/_virtual/JsBarcode.js +7 -0
  21. package/_virtual/MSI.js +4 -0
  22. package/_virtual/MSI10.js +4 -0
  23. package/_virtual/MSI1010.js +4 -0
  24. package/_virtual/MSI11.js +4 -0
  25. package/_virtual/MSI1110.js +4 -0
  26. package/_virtual/UPC.js +4 -0
  27. package/_virtual/UPCE.js +4 -0
  28. package/_virtual/_commonjsHelpers.js +8 -0
  29. package/_virtual/alignment-pattern.js +4 -0
  30. package/_virtual/auto.js +4 -0
  31. package/_virtual/browser.js +7 -0
  32. package/_virtual/browser2.js +4 -0
  33. package/_virtual/canvas.js +4 -0
  34. package/_virtual/canvas2.js +4 -0
  35. package/_virtual/checksums.js +4 -0
  36. package/_virtual/constants.js +4 -0
  37. package/_virtual/constants2.js +4 -0
  38. package/_virtual/constants3.js +4 -0
  39. package/_virtual/constants4.js +4 -0
  40. package/_virtual/defaults.js +4 -0
  41. package/_virtual/dijkstra.js +4 -0
  42. package/_virtual/encoder.js +4 -0
  43. package/_virtual/error-correction-code.js +4 -0
  44. package/_virtual/error-correction-level.js +4 -0
  45. package/_virtual/exceptions.js +4 -0
  46. package/_virtual/finder-pattern.js +4 -0
  47. package/_virtual/fixOptions.js +4 -0
  48. package/_virtual/format-info.js +4 -0
  49. package/_virtual/galois-field.js +4 -0
  50. package/_virtual/getOptionsFromElement.js +4 -0
  51. package/_virtual/getRenderProperties.js +4 -0
  52. package/_virtual/index.js +4 -0
  53. package/_virtual/index10.js +4 -0
  54. package/_virtual/index11.js +4 -0
  55. package/_virtual/index2.js +4 -0
  56. package/_virtual/index3.js +4 -0
  57. package/_virtual/index4.js +4 -0
  58. package/_virtual/index5.js +4 -0
  59. package/_virtual/index6.js +4 -0
  60. package/_virtual/index7.js +4 -0
  61. package/_virtual/index8.js +4 -0
  62. package/_virtual/index9.js +4 -0
  63. package/_virtual/linearizeEncodings.js +4 -0
  64. package/_virtual/mask-pattern.js +4 -0
  65. package/_virtual/merge.js +4 -0
  66. package/_virtual/mode.js +4 -0
  67. package/_virtual/object.js +4 -0
  68. package/_virtual/optionsFromStrings.js +4 -0
  69. package/_virtual/papaparse.min.js +7 -0
  70. package/_virtual/papaparse.min2.js +4 -0
  71. package/_virtual/polynomial.js +4 -0
  72. package/_virtual/qrcode.js +4 -0
  73. package/_virtual/regex.js +4 -0
  74. package/_virtual/segments.js +4 -0
  75. package/_virtual/shared.js +4 -0
  76. package/_virtual/svg-tag.js +4 -0
  77. package/_virtual/svg.js +4 -0
  78. package/_virtual/utils.js +4 -0
  79. package/_virtual/utils2.js +4 -0
  80. package/_virtual/version-check.js +4 -0
  81. package/_virtual/version.js +4 -0
  82. package/components/Accordion/Accordion.vue.d.ts +7 -7
  83. package/components/Accordion/AccordionItem.vue.d.ts +4 -4
  84. package/components/Accordion/AccordionTrigger.vue.d.ts +2 -2
  85. package/components/Alert.vue.d.ts +1 -1
  86. package/components/Avatar.vue.d.ts +2 -2
  87. package/components/Avatar.vue.js +2 -2
  88. package/components/AvatarUploader/AvatarUploader.vue.d.ts +5 -5
  89. package/components/Badge.vue.d.ts +1 -1
  90. package/components/Barcode/Barcode.vue.d.ts +22 -0
  91. package/components/Barcode/Barcode.vue.js +58 -0
  92. package/components/Barcode/Barcode.vue2.js +4 -0
  93. package/components/Barcode/index.d.ts +2 -0
  94. package/components/Barcode/types.d.ts +5 -0
  95. package/components/Barcode/types.js +15 -0
  96. package/components/Breadcrumb/Breadcrumb.vue.d.ts +23 -0
  97. package/components/Breadcrumb/Breadcrumb.vue.js +7 -0
  98. package/components/Breadcrumb/Breadcrumb.vue2.js +84 -0
  99. package/components/Breadcrumb/BreadcrumbItem.vue.d.ts +27 -0
  100. package/components/Breadcrumb/BreadcrumbItem.vue.js +7 -0
  101. package/components/Breadcrumb/BreadcrumbItem.vue2.js +50 -0
  102. package/components/Breadcrumb/index.d.ts +3 -0
  103. package/components/Breadcrumb/types.d.ts +19 -0
  104. package/components/Button.vue.d.ts +4 -4
  105. package/components/Button.vue.js +32 -29
  106. package/components/ButtonGroup.vue.d.ts +1 -1
  107. package/components/Carousel/Carousel.vue.d.ts +58 -58
  108. package/components/CheckBox.vue.d.ts +2 -2
  109. package/components/Chip/Chip.vue.d.ts +3 -3
  110. package/components/ChoiceBox/ChoiceBox.vue.d.ts +4 -4
  111. package/components/ColorPicker/ColorIro.vue3.js +2 -2
  112. package/components/ColorPicker/ColorPicker.vue.d.ts +3 -3
  113. package/components/ColorPicker/ColorPicker.vue.js +2 -2
  114. package/components/ColorPicker/index.d.ts +1 -0
  115. package/components/CommandPaletteContent.vue.d.ts +15 -0
  116. package/components/CommandPaletteContent.vue.js +7 -0
  117. package/components/CommandPaletteContent.vue2.js +287 -0
  118. package/components/ConfirmationModal.vue.js +12 -10
  119. package/components/DataList/DataList.vue.d.ts +2 -2
  120. package/components/DataTable/DataTable.vue.d.ts +6 -6
  121. package/components/DataTable/DataTableRow.vue.d.ts +3 -3
  122. package/components/DatePicker.vue.d.ts +2 -2
  123. package/components/DatePicker.vue.js +7 -7
  124. package/components/DateRangePicker.vue.d.ts +29 -0
  125. package/components/DateRangePicker.vue.js +231 -0
  126. package/components/DateRangePicker.vue2.js +4 -0
  127. package/components/Dropdown/Dropdown.vue.d.ts +10 -6
  128. package/components/Dropdown/Dropdown.vue.js +146 -109
  129. package/components/Dropdown/DropdownGroupedLayout.vue.d.ts +1 -1
  130. package/components/Dropdown/DropdownItem.vue.js +28 -20
  131. package/components/Dropdown/DropdownMenu.vue.d.ts +5 -3
  132. package/components/Dropdown/DropdownMenu.vue.js +112 -108
  133. package/components/ExportData/ExportData.vue.d.ts +16 -0
  134. package/components/ExportData/ExportData.vue.js +135 -0
  135. package/components/ExportData/ExportData.vue2.js +4 -0
  136. package/components/ExportData/index.d.ts +2 -0
  137. package/components/ExportData/types.d.ts +17 -0
  138. package/components/FilePicker/FilePicker.vue.d.ts +5 -5
  139. package/components/Form/CustomFields.vue.d.ts +6 -6
  140. package/components/Form/CustomFields.vue.js +1 -1
  141. package/components/Form/Form.vue.d.ts +4 -5
  142. package/components/Form/Form.vue.js +2 -2
  143. package/components/Form/Form.vue2.js +221 -178
  144. package/components/Form/FormField.vue.d.ts +4 -3
  145. package/components/Form/FormField.vue.js +70 -62
  146. package/components/Form/FormFields.vue.d.ts +3 -1
  147. package/components/Form/FormFields.vue.js +2 -2
  148. package/components/Form/FormFields.vue2.js +105 -59
  149. package/components/GoogleLogin.vue.d.ts +2 -2
  150. package/components/ImportData/ImportData.vue.d.ts +31 -0
  151. package/components/ImportData/ImportData.vue.js +242 -0
  152. package/components/ImportData/ImportData.vue2.js +4 -0
  153. package/components/ImportData/ImportStep1.vue.d.ts +23 -0
  154. package/components/ImportData/ImportStep1.vue.js +162 -0
  155. package/components/ImportData/ImportStep1.vue2.js +4 -0
  156. package/components/ImportData/ImportStep2.vue.d.ts +20 -0
  157. package/components/ImportData/ImportStep2.vue.js +98 -0
  158. package/components/ImportData/ImportStep2.vue2.js +4 -0
  159. package/components/ImportData/ImportStep3.vue.d.ts +6 -0
  160. package/components/ImportData/ImportStep3.vue.js +98 -0
  161. package/components/ImportData/ImportStep3.vue2.js +4 -0
  162. package/components/ImportData/ImportStep4.vue.d.ts +6 -0
  163. package/components/ImportData/ImportStep4.vue.js +139 -0
  164. package/components/ImportData/ImportStep4.vue2.js +4 -0
  165. package/components/ImportData/index.d.ts +2 -0
  166. package/components/ImportData/types.d.ts +51 -0
  167. package/components/Input.vue.d.ts +9 -9
  168. package/components/Input.vue.js +137 -120
  169. package/components/List/List.vue.d.ts +18 -0
  170. package/components/List/List.vue.js +189 -0
  171. package/components/List/List.vue2.js +4 -0
  172. package/components/List/ListFieldRow.vue.d.ts +35 -0
  173. package/components/List/ListFieldRow.vue.js +119 -0
  174. package/components/List/ListFieldRow.vue2.js +4 -0
  175. package/components/List/index.d.ts +4 -0
  176. package/components/List/types.d.ts +1 -0
  177. package/components/List/utils.d.ts +9 -0
  178. package/components/List/utils.js +64 -0
  179. package/components/Masonry/Masonry.vue.d.ts +2 -2
  180. package/components/Modal.vue.d.ts +6 -2
  181. package/components/Modal.vue.js +5 -122
  182. package/components/Modal.vue2.js +136 -2
  183. package/components/MultiSelect/MultiSelect.vue.d.ts +12 -9
  184. package/components/MultiSelect/MultiSelect.vue.js +101 -64
  185. package/components/Navbar/Navbar.vue.d.ts +14 -6
  186. package/components/Navbar/Navbar.vue.js +425 -356
  187. package/components/Navbar/NavbarItem.vue.d.ts +2 -2
  188. package/components/Navbar/NavbarTabs.vue.d.ts +21 -0
  189. package/components/Navbar/NavbarTabs.vue.js +179 -0
  190. package/components/Navbar/NavbarTabs.vue3.js +5 -0
  191. package/components/Navbar/index.d.ts +3 -0
  192. package/components/NavbarCommandPalette.vue.d.ts +48 -0
  193. package/components/NumberInput.vue.d.ts +8 -8
  194. package/components/OTPInput/OTPInput.vue.d.ts +7 -7
  195. package/components/Pagination/Pagination.vue.d.ts +1 -1
  196. package/components/PermissionMatrix/PermissionEditor.vue.d.ts +36 -0
  197. package/components/PermissionMatrix/PermissionEditor.vue.js +323 -0
  198. package/components/PermissionMatrix/PermissionEditor.vue2.js +4 -0
  199. package/components/PermissionMatrix/PermissionMatrix.vue.d.ts +15 -0
  200. package/components/PermissionMatrix/PermissionMatrix.vue.js +7 -0
  201. package/components/PermissionMatrix/PermissionMatrix.vue2.js +245 -0
  202. package/components/PermissionMatrix/index.d.ts +3 -0
  203. package/components/PermissionMatrix/types.d.ts +59 -0
  204. package/components/PricingPlan/PricingPlan.vue.d.ts +3 -3
  205. package/components/ProgressBar/ProgressBar.vue.d.ts +3 -3
  206. package/components/QRCode/QRCode.vue.d.ts +15 -0
  207. package/components/QRCode/QRCode.vue.js +38 -0
  208. package/components/QRCode/QRCode.vue2.js +4 -0
  209. package/components/QRCode/index.d.ts +1 -0
  210. package/components/Screen/Screen.vue.d.ts +232 -5
  211. package/components/Screen/Screen.vue.js +423 -271
  212. package/components/Screen/ScreenFilter.vue.d.ts +2 -2
  213. package/components/Screen/ScreenFilter.vue.js +10 -10
  214. package/components/Screen/types.d.ts +12 -0
  215. package/components/SidePanel.vue.d.ts +2 -2
  216. package/components/SidebarMenu/SidebarMenu.vue.d.ts +6 -2
  217. package/components/SidebarMenu/SidebarMenu.vue.js +104 -50
  218. package/components/SidebarMenu/SidebarMenuItem.vue.d.ts +2 -0
  219. package/components/SidebarMenu/SidebarMenuItem.vue.js +187 -174
  220. package/components/SidebarMenu/types.d.ts +8 -0
  221. package/components/Slider.vue.d.ts +2 -2
  222. package/components/Spinner/Spinner.vue.d.ts +2 -2
  223. package/components/Stats/Stats.vue.d.ts +14 -0
  224. package/components/Stats/Stats.vue.js +307 -0
  225. package/components/Stats/Stats.vue2.js +4 -0
  226. package/components/Stats/index.d.ts +2 -0
  227. package/components/Stats/types.d.ts +32 -0
  228. package/components/Switch.vue.d.ts +2 -1
  229. package/components/Switch.vue.js +4 -2
  230. package/components/Tabes/Tabes.vue.d.ts +3 -3
  231. package/components/Tabes/Tabes.vue.js +60 -57
  232. package/components/Tabes/types.d.ts +5 -0
  233. package/components/Textarea.vue.d.ts +3 -3
  234. package/components/{Timeline.vue.d.ts → Timeline/Timeline.vue.d.ts} +23 -2
  235. package/components/Timeline/Timeline.vue.js +92 -0
  236. package/components/Timeline/TimelineIndicator.vue.d.ts +9 -0
  237. package/components/Timeline/TimelineIndicator.vue.js +68 -0
  238. package/components/Timeline/TimelineIndicator.vue2.js +4 -0
  239. package/components/Timeline/TimelineItem.vue.d.ts +56 -0
  240. package/components/Timeline/TimelineItem.vue.js +173 -0
  241. package/components/Timeline/TimelineItem.vue2.js +4 -0
  242. package/components/Timeline/index.d.ts +3 -0
  243. package/components/Tooltip.vue.d.ts +2 -2
  244. package/components/Workbook/Sheet.vue.d.ts +2 -2
  245. package/components/Workbook/Workbook.vue.d.ts +3 -3
  246. package/components/index.d.ts +62 -0
  247. package/composables/useBreadcrumb.d.ts +17 -0
  248. package/composables/useBreadcrumb.js +27 -0
  249. package/core/config.d.ts +34 -0
  250. package/core/config.js +10 -7
  251. package/core/index.js +15 -8
  252. package/index.d.ts +55 -44
  253. package/index.js +243 -200
  254. package/package.json +13 -3
  255. package/router.d.ts +2 -0
  256. package/style.css +7 -5
  257. package/types/button.d.ts +1 -1
  258. package/types/config.type.d.ts +35 -0
  259. package/types/form.type.d.ts +3 -1
  260. package/types/index.d.ts +2 -1
  261. package/types/list.type.d.ts +57 -0
  262. package/types/navbar.type.d.ts +38 -1
  263. package/types/timeline.type.d.ts +14 -4
  264. package/components/Timeline.vue.js +0 -160
  265. /package/components/ColorPicker/{ColorIro.vue2.js → ColorIro.vue.js} +0 -0
  266. /package/components/{Timeline.vue2.js → Timeline/Timeline.vue2.js} +0 -0
package/README.md CHANGED
@@ -6,10 +6,12 @@ A lightweight Vue 3 UI component library built with Tailwind CSS, created for pe
6
6
 
7
7
  ```bash
8
8
  npm install vlite3
9
+
9
10
  ```
10
11
 
11
12
  ```bash
12
13
  yarn add vlite3
14
+
13
15
  ```
14
16
 
15
17
  ## 2. Tailwind CSS Setup (Tailwind v4)
@@ -53,11 +55,11 @@ import { Button, Input } from 'vlite3'
53
55
 
54
56
  ## Global Configuration (Registry System)
55
57
 
56
- vlite3 features a plugin-based architecture that allows you to register global services. This is particularly useful for dependency injection, such as defining how file uploads should be handled across all `Form` components in your app.
58
+ vlite3 features a plugin-based architecture that allows you to register global services and set global component configurations. This ensures consistency and prevents repetition across your application.
57
59
 
58
60
  ### Setting up the Plugin
59
61
 
60
- In your `main.ts` or `main.js`, import `createVLite` and `vScrollReveal` and register your services:
62
+ In your `main.ts` or `main.js`, import `createVLite` and `vScrollReveal` and register your services and component configurations:
61
63
 
62
64
  ```typescript
63
65
  import { createApp } from 'vue'
@@ -75,6 +77,7 @@ app.use(GoogleSignInPlugin, {
75
77
 
76
78
  // Initialize VLite with custom configuration
77
79
  const vlite = createVLite({
80
+ // Global Service Registry
78
81
  services: {
79
82
  /**
80
83
  * Global File Upload Handler
@@ -111,6 +114,16 @@ const vlite = createVLite({
111
114
  return data.url // MUST return the file URL string
112
115
  },
113
116
  },
117
+
118
+ // Global UI Components Configuration
119
+ components: {
120
+ form: {
121
+ variant: 'outline', // Applies 'outline' globally to all Form inputs ('solid' | 'outline' | 'floating' | etc.)
122
+ size: 'md', // Global size for form inputs ('sm' | 'md' | 'lg')
123
+ rounded: 'md', // Global border radius for forms
124
+ showRequiredAsterisk: true, // Globally toggle the visibility of the required asterisk
125
+ },
126
+ },
114
127
  })
115
128
 
116
129
  app.use(vlite)
@@ -119,21 +132,30 @@ app.mount('#app')
119
132
 
120
133
  ### How it works
121
134
 
135
+ #### Global Services (e.g., Uploads)
136
+
122
137
  Once registered, you don't need to pass upload handlers to individual components.
123
138
 
124
139
  1. **Automatic Injection**: The `Form` component detects input types like `file`, `avatarUpload`, or `fileUploader`.
125
140
  2. **Parallel Processing**: When the form is submitted, it automatically uploads all files in **parallel** using your registered `upload` service.
126
141
  3. **URL Replacement**: The File objects in your form data are replaced with the returned URLs before the final `onSubmit` event is triggered.
127
142
 
128
- ## 4. Usage
143
+ #### Global Component Configuration (e.g., Forms)
129
144
 
130
- Import components directly in your Vue files:
145
+ By setting `components.form` in the global configuration, you establish app-wide defaults.
146
+
147
+ 1. **Consistency**: Every `<Form />` rendered in your application will automatically inherit the global `variant`, `size`, `rounded`, and `showRequiredAsterisk` configurations.
148
+ 2. **Local Overrides**: If you need a specific form to behave differently, simply pass the prop locally on the component (e.g., `<Form variant="floating" ... />`). Local props will always override the global configuration fallback.
149
+
150
+ ## 4. Advanced Usage
151
+
152
+ Import components directly in your Vue files and leverage the global configuration:
131
153
 
132
154
  ```vue
133
155
  <script setup>
134
156
  import { Button, Input, Form } from 'vlite3'
135
157
 
136
- // The form will automatically use the global upload service defined in main.ts
158
+ // The form will automatically use the global upload service AND the global style configurations
137
159
  const schema = [
138
160
  {
139
161
  name: 'avatar',
@@ -158,6 +180,8 @@ const handleSubmit = (payload) => {
158
180
  <template>
159
181
  <div class="">
160
182
  <Form :schema="schema" @onSubmit="handleSubmit" />
183
+
184
+ <Form :schema="schema" variant="solid" size="lg" @onSubmit="handleSubmit" />
161
185
  </div>
162
186
  </template>
163
187
  ```
@@ -198,23 +222,81 @@ Override these variables in `:root` or within a `.dark` class (when using class-
198
222
 
199
223
  For more complex components, vlite3 provides extended variants for main semantic colors (`primary`, `danger`, `warning`, `info`, `success`). These are useful for building nuanced UIs with subtle backgrounds, hover states, and accessible text.
200
224
 
201
- | Base Color | Variant Variables | Usage Description |
202
- | :---------- | :------------------------------------------------------------------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
203
- | **Primary** | `--color-primary-light`<br>`--color-primary-dark`<br>`--color-primary-fg`<br>`--color-primary-fg-light` | **Light**: Subtle background (e.g., 10% opacity).<br>**Dark**: Hover state for the main color.<br>**Fg**: Text color on top of the _main_ color.<br>**Fg-Light**: Text color on top of the _light_ variant. |
204
- | **Danger** | `--color-danger-light`<br>`--color-danger-dark`<br>`--color-danger-fg`<br>`--color-danger-fg-light` | **Light**: Error backgrounds (alerts).<br>**Dark**: Hover state for destructive buttons.<br>**Fg**: Text on destructive buttons.<br>**Fg-Light**: Text on error alerts. |
205
- | **Warning** | `--color-warning-light`<br>`--color-warning-dark`<br>`--color-warning-fg`<br>`--color-warning-fg-light` | **Light**: Warning backgrounds.<br>**Dark**: Active/Determined warning states.<br>**Fg**: Text on warning badges.<br>**Fg-Light**: Text on warning backgrounds. |
206
- | **Success** | `--color-success-light`<br>`--color-success-dark`<br>`--color-success-fg`<br>`--color-success-fg-light` | **Light**: Success backgrounds (toasts).<br>**Dark**: Hover/Active success actions.<br>**Fg**: Text on success buttons.<br>**Fg-Light**: Text on success backgrounds. |
207
- | **Info** | `--color-info-light`<br>`--color-info-dark`<br>`--color-info-fg`<br>`--color-info-fg-light` | **Light**: Info backgrounds.<br>**Dark**: Hover/Active info actions.<br>**Fg**: Text on info buttons.<br>**Fg-Light**: Text on info backgrounds. |
225
+ | Base Color | Variant Variables | Usage Description |
226
+ | ----------- | --------------------------- | ----------------- |
227
+ | **Primary** | `--color-primary-light`<br> |
228
+
229
+ <br>`--color-primary-dark`<br>
230
+
231
+ <br>`--color-primary-fg`<br>
232
+
233
+ <br>`--color-primary-fg-light` | **Light**: Subtle background (e.g., 10% opacity).<br>
234
+
235
+ <br>**Dark**: Hover state for the main color.<br>
236
+
237
+ <br>**Fg**: Text color on top of the _main_ color.<br>
238
+
239
+ <br>**Fg-Light**: Text color on top of the _light_ variant. |
240
+ | **Danger** | `--color-danger-light`<br>
241
+
242
+ <br>`--color-danger-dark`<br>
243
+
244
+ <br>`--color-danger-fg`<br>
245
+
246
+ <br>`--color-danger-fg-light` | **Light**: Error backgrounds (alerts).<br>
247
+
248
+ <br>**Dark**: Hover state for destructive buttons.<br>
249
+
250
+ <br>**Fg**: Text on destructive buttons.<br>
251
+
252
+ <br>**Fg-Light**: Text on error alerts. |
253
+ | **Warning** | `--color-warning-light`<br>
254
+
255
+ <br>`--color-warning-dark`<br>
256
+
257
+ <br>`--color-warning-fg`<br>
258
+
259
+ <br>`--color-warning-fg-light` | **Light**: Warning backgrounds.<br>
260
+
261
+ <br>**Dark**: Active/Determined warning states.<br>
262
+
263
+ <br>**Fg**: Text on warning badges.<br>
264
+
265
+ <br>**Fg-Light**: Text on warning backgrounds. |
266
+ | **Success** | `--color-success-light`<br>
267
+
268
+ <br>`--color-success-dark`<br>
269
+
270
+ <br>`--color-success-fg`<br>
271
+
272
+ <br>`--color-success-fg-light` | **Light**: Success backgrounds (toasts).<br>
273
+
274
+ <br>**Dark**: Hover/Active success actions.<br>
275
+
276
+ <br>**Fg**: Text on success buttons.<br>
277
+
278
+ <br>**Fg-Light**: Text on success backgrounds. |
279
+ | **Info** | `--color-info-light`<br>
280
+
281
+ <br>`--color-info-dark`<br>
282
+
283
+ <br>`--color-info-fg`<br>
284
+
285
+ <br>`--color-info-fg-light` | **Light**: Info backgrounds.<br>
286
+
287
+ <br>**Dark**: Hover/Active info actions.<br>
288
+
289
+ <br>**Fg**: Text on info buttons.<br>
290
+
291
+ <br>**Fg-Light**: Text on info backgrounds. |
208
292
 
209
293
  **Example Usage:**
210
294
 
211
295
  ```html
212
- <!-- A success badge with subtle background and matching text -->
213
296
  <div class="bg-success-light text-success-fg-light border border-success/20">
214
297
  Operation Completed
215
298
  </div>
216
299
 
217
- <!-- A danger button with hover effect -->
218
300
  <button class="bg-danger text-danger-fg hover:bg-danger-dark">Delete</button>
219
301
  ```
220
302
 
@@ -223,7 +305,7 @@ For more complex components, vlite3 provides extended variants for main semantic
223
305
  vlite3 also provides additional utility colors for specific feedback states:
224
306
 
225
307
  | Variable | Class Name | Description |
226
- | :---------------- | :--------------------------- | :-------------------------------------- |
308
+ | ----------------- | ---------------------------- | --------------------------------------- |
227
309
  | `--color-success` | `text-success`, `bg-success` | For success messages/badges. |
228
310
  | `--color-warning` | `text-warning`, `bg-warning` | For warning messages/badges. |
229
311
  | `--color-info` | `text-info`, `bg-info` | For informational messages/badges. |
@@ -306,75 +388,95 @@ Follow these rules strictly to ensure visual consistency and predictable styling
306
388
  - Use `rounded` instead of `rounded-rounded`.
307
389
  - Use `bg-muted` instead of `bg-secondary/20`.
308
390
  - Use `gap-x-*` instead of applying `ml-*` or `mr-*` directly on sibling items.
309
- - Use `gap-y-*` instead of applying `mt
391
+ - Use `gap-y-*` instead of applying `mt-*` or `mb-*` directly on sibling items.
310
392
 
311
393
  ---
312
394
 
313
395
  ## ✅ Components
314
396
 
315
- - **Button**
316
- - **ButtonGroup**
317
- - **Icon**
318
- - **Label**
319
- - **Badge**
320
- - **Chip**
321
- - **Logo**
322
- - **Navbar**
323
- - **SidebarMenu**
324
- - **SidePanel**
325
- - **Masonry Grid**
326
- - **ThemeToggle**
397
+ - [x] **Button**
398
+ - [x] **ButtonGroup**
399
+ - [x] **Icon**
400
+ - [x] **Label**
401
+ - [x] **Badge**
402
+ - [x] **Chip**
403
+ - [x] **Logo**
404
+ - [x] **Navbar**
405
+ - [x] **SidebarMenu**
406
+ - [x] **SidePanel**
407
+ - [x] **Breadcrumb**
408
+ - [x] **List**
409
+ - [x] **Masonry Grid**
410
+ - [x] **Stats**
411
+ - [x] **ThemeToggle**
412
+ - [x] **Screen**
327
413
 
328
414
  ### Inputs & Forms
329
415
 
330
- - **Input**
331
- - **Textarea**
332
- - **CheckBox**
333
- - **Switch**
334
- - **ChoiceBox**
335
- - **Slider**
336
- - **OTPInput**
337
- - **DatePicker**
338
- - **ColorPicker**
339
- - **FilePicker**
340
- - **AvatarUploader**
341
- - **IconPicker**
342
- - **MultiSelect**
343
- - **Form**
344
- - **CustomFields**
345
- - **NumberInput**
346
- - **Google Login**
416
+ - [x] **Input**
417
+ - [x] **Textarea**
418
+ - [x] **CheckBox**
419
+ - [x] **Switch**
420
+ - [x] **ChoiceBox**
421
+ - [x] **Slider**
422
+ - [x] **OTPInput**
423
+ - [x] **NumberInput**
424
+ - [x] **DatePicker**
425
+ - [x] **DateRangePicker**
426
+ - [x] **ColorPicker**
427
+ - [x] **FilePicker**
428
+ - [x] **AvatarUploader**
429
+ - [x] **IconPicker**
430
+ - [x] **MultiSelect**
431
+ - [x] **Forms**
432
+ - [x] **CustomFields**
433
+ - [x] **GoogleLogin**
434
+ - [x] **PermissionEditor**
347
435
 
348
436
  ### Data Display
349
437
 
350
- - **Avatar**
351
- - **Accordion**
352
- - **Carousel**
353
- - **DataTable**
354
- - **Pagination**
355
- - **Timeline**
356
- - **Heatmap**
357
- - **PricingPlan**
358
- - **FileTree**
359
- - **Workbook**
360
- - **Tabes**
438
+ - [x] **Avatar**
439
+ - [x] **Accordion**
440
+ - [x] **Carousel**
441
+ - [x] **DataTable**
442
+ - [x] **DataList**
443
+ - [x] **Pagination**
444
+ - [x] **Timeline**
445
+ - [x] **Heatmap**
446
+ - [x] **PricingPlan**
447
+ - [x] **FileTree**
448
+ - [x] **Workbook**
449
+ - [x] **Kanban**
450
+ - [x] **Tabes**
451
+ - [x] **Masonry**
452
+ - [x] **Stats**
361
453
 
362
454
  ### Feedback & Overlays
363
455
 
364
- - **Alert**
365
- - **Modal**
366
- - **ConfirmationModal**
367
- - **ToastNotification**
368
- - **Tooltip**
369
- - **Dropdown**
370
- - **ProgressBar**
371
- - **Spinner**
456
+ - [x] **Alert**
457
+ - [x] **Modal**
458
+ - [x] **ConfirmationModal**
459
+ - [x] **ToastNotification**
460
+ - [x] **Tooltip**
461
+ - [x] **Dropdown**
462
+ - [x] **ProgressBar**
463
+ - [x] **Spinner**
464
+ - [x] **CommandPalette**
465
+ - [x] **SidePanel**
466
+
467
+ ### Utilities & Tools
468
+
469
+ - [x] **Barcode**
470
+ - [x] **QRCode**
471
+ - [x] **ImportData**
472
+ - [x] **ExportData**
372
473
 
373
474
  ## Complete reference for AI agents and developers:
374
475
 
375
- - [1-setup.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/1-setup.md)
376
- - [2-theming.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/2-theming.md)
377
- - [3-all-components.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/3-all-components.md)
378
- - [4-forms.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/4-forms.md)
379
- - [5-utility.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/5-utility.md)
380
- - [6-advance-components.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/6-advance-components.md)
476
+ - [0-setup.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/0-vlite3-setup.md)
477
+ - [1-theming.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/1-theming.md)
478
+ - [2-components.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/2-all-components.md)
479
+ - [3-forms.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/components/Forms.md)
480
+ - [3-utility.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/3-utility.md)
481
+ - [4-i18n.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/4-i18n.md)
482
+ - [5-search-util.md](https://github.com/safdar-azeem/vlite3/blob/main/docs/5-search-util.md)
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,5 @@
1
+ import { __require as r } from "../node_modules/file-saver/dist/FileSaver.min.js";
2
+ var i = r();
3
+ export {
4
+ i as F
5
+ };
@@ -0,0 +1,4 @@
1
+ var e = { exports: {} };
2
+ export {
3
+ e as __module
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as o } from "../node_modules/jsbarcode/bin/JsBarcode.js";
3
+ var e = o();
4
+ const s = /* @__PURE__ */ r(e);
5
+ export {
6
+ s as default
7
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,8 @@
1
+ var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function l(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ export {
6
+ o as commonjsGlobal,
7
+ l as getDefaultExportFromCjs
8
+ };
@@ -0,0 +1,4 @@
1
+ var t = {};
2
+ export {
3
+ t as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as o } from "../node_modules/qrcode/lib/browser.js";
3
+ var e = o();
4
+ const a = /* @__PURE__ */ r(e);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var s = {};
2
+ export {
3
+ s as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var s = {};
2
+ export {
3
+ s as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var s = {};
2
+ export {
3
+ s as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var s = {};
2
+ export {
3
+ s as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var s = {};
2
+ export {
3
+ s as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = { exports: {} };
2
+ export {
3
+ r as __module
4
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var o = {};
2
+ export {
3
+ o as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var o = {};
2
+ export {
3
+ o as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };