vlite3 0.3.4 → 0.3.7

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/index.js CHANGED
@@ -6,11 +6,11 @@ import { default as u } from "./components/Accordion/AccordionContent.vue.js";
6
6
  import { default as i } from "./components/Alert.vue.js";
7
7
  import { default as c } from "./components/Avatar.vue.js";
8
8
  import { default as g } from "./components/AvatarUploader/AvatarUploader.vue.js";
9
- import { default as S } from "./components/Badge.vue.js";
9
+ import { default as b } from "./components/Badge.vue.js";
10
10
  import { default as P } from "./components/Button.vue.js";
11
- import { default as v } from "./components/ButtonGroup.vue.js";
12
- import { default as C } from "./components/Carousel/Carousel.vue.js";
13
- import { default as F } from "./components/CheckBox.vue.js";
11
+ import { default as h } from "./components/ButtonGroup.vue.js";
12
+ import { default as A } from "./components/Carousel/Carousel.vue.js";
13
+ import { default as D } from "./components/CheckBox.vue.js";
14
14
  import { default as y } from "./components/Chip/Chip.vue.js";
15
15
  import { default as k } from "./components/ChoiceBox/ChoiceBox.vue.js";
16
16
  import { default as M } from "./components/ColorPicker/ColorPicker.vue.js";
@@ -33,11 +33,11 @@ import { default as ue } from "./components/Form/Form.vue.js";
33
33
  import { default as ie } from "./components/Form/FormField.vue.js";
34
34
  import { default as ce } from "./components/Form/FormFields.vue.js";
35
35
  import { default as ge } from "./components/Form/CustomFields.vue.js";
36
- import { useForm as Se } from "./components/Form/composables/useForm.js";
36
+ import { useForm as be } from "./components/Form/composables/useForm.js";
37
37
  import { useFileUpload as Pe } from "./components/Form/composables/useFileUpload.js";
38
- import { default as ve } from "./components/Heatmap/Heatmap.vue.js";
39
- import { default as Ce } from "./components/Icon.vue.js";
40
- import { default as Fe } from "./components/IconPicker.vue.js";
38
+ import { default as he } from "./components/Heatmap/Heatmap.vue.js";
39
+ import { default as Ae } from "./components/Icon.vue.js";
40
+ import { default as De } from "./components/IconPicker.vue.js";
41
41
  import { default as ye } from "./components/Input.vue.js";
42
42
  import { default as ke } from "./components/Kanban/Kanban.vue.js";
43
43
  import { default as Me } from "./components/Kanban/KanbanBoard.vue.js";
@@ -60,11 +60,11 @@ import { default as xo } from "./components/SidePanel.vue.js";
60
60
  import { default as no } from "./components/SidebarMenu/SidebarMenu.vue.js";
61
61
  import { default as To } from "./components/SidebarMenu/SidebarMenuItem.vue.js";
62
62
  /* empty css */
63
- import { default as bo } from "./components/Slider.vue.js";
63
+ import { default as So } from "./components/Slider.vue.js";
64
64
  import { default as Io } from "./components/Spinner/Spinner.vue.js";
65
- import { default as ho } from "./components/Switch.vue.js";
66
- import { default as Ao } from "./components/Tabes/Tabes.vue.js";
67
- import { default as Do } from "./components/Textarea.vue.js";
65
+ import { default as Fo } from "./components/Switch.vue.js";
66
+ import { default as vo } from "./components/Tabes/Tabes.vue.js";
67
+ import { default as Co } from "./components/Textarea.vue.js";
68
68
  import { default as wo } from "./components/ThemeToggle.vue.js";
69
69
  import { default as No } from "./components/Timeline.vue.js";
70
70
  import { default as Bo } from "./components/ToastNotification.vue.js";
@@ -79,11 +79,13 @@ import { useAdvancedKeyStroke as er, useKeyStroke as or } from "./composables/us
79
79
  import { vScrollReveal as tr } from "./directives/vScrollReveal.js";
80
80
  import { createVLite as fr } from "./core/index.js";
81
81
  import { deepMerge as mr } from "./utils/object.js";
82
- import { camelCase as dr, capitalize as sr, copyToClipboard as ur, debounce as xr, delay as ir, downloadFile as nr, flattenArray as cr, formatCurrency as Tr, getUniqueId as gr, isAppleDevice as br, isEmpty as Sr, randomNumber as Ir, removeExtraProperties as Pr, slugify as hr, throttle as vr, truncate as Ar } from "./utils/functions.js";
83
- import { lazySearch as Dr, resetSearchIndex as Fr, search as wr } from "./utils/search.util.js";
82
+ import { camelCase as dr, capitalize as sr, copyToClipboard as ur, debounce as xr, delay as ir, downloadFile as nr, flattenArray as cr, formatCurrency as Tr, getUniqueId as gr, isAppleDevice as Sr, isEmpty as br, randomNumber as Ir, removeExtraProperties as Pr, slugify as Fr, throttle as hr, truncate as vr } from "./utils/functions.js";
83
+ import { lazySearch as Cr, resetSearchIndex as Dr, search as wr } from "./utils/search.util.js";
84
84
  import { env as Nr } from "./utils/env.js";
85
85
  import { default as Br } from "./components/DataList/DataList.vue.js";
86
- import { useVLiteConfig as Kr } from "./core/config.js";
86
+ import { default as Kr } from "./components/Screen/Screen.vue.js";
87
+ import { default as Gr } from "./components/Screen/ScreenFilter.vue.js";
88
+ import { useVLiteConfig as Er } from "./core/config.js";
87
89
  export {
88
90
  f as Accordion,
89
91
  u as AccordionContent,
@@ -92,11 +94,11 @@ export {
92
94
  i as Alert,
93
95
  c as Avatar,
94
96
  g as AvatarUploader,
95
- S as Badge,
97
+ b as Badge,
96
98
  P as Button,
97
- v as ButtonGroup,
98
- C as Carousel,
99
- F as CheckBox,
99
+ h as ButtonGroup,
100
+ A as Carousel,
101
+ D as CheckBox,
100
102
  y as Chip,
101
103
  k as ChoiceBox,
102
104
  M as ColorPicker,
@@ -119,9 +121,9 @@ export {
119
121
  ce as FormFields,
120
122
  Uo as GoogleLogin,
121
123
  t as GoogleSignInPlugin,
122
- ve as Heatmap,
123
- Ce as Icon,
124
- Fe as IconPicker,
124
+ he as Heatmap,
125
+ Ae as Icon,
126
+ De as IconPicker,
125
127
  ye as Input,
126
128
  ke as Kanban,
127
129
  Me as KanbanBoard,
@@ -140,15 +142,17 @@ export {
140
142
  mo as PricingPlan,
141
143
  so as PricingPlanItem,
142
144
  Ho as ProgressBar,
145
+ Kr as Screen,
146
+ Gr as ScreenFilter,
143
147
  Eo as Sheet,
144
148
  xo as SidePanel,
145
149
  no as SidebarMenu,
146
150
  To as SidebarMenuItem,
147
- bo as Slider,
151
+ So as Slider,
148
152
  Io as Spinner,
149
- ho as Switch,
150
- Ao as Tabes,
151
- Do as Textarea,
153
+ Fo as Switch,
154
+ vo as Tabes,
155
+ Co as Textarea,
152
156
  wo as ThemeToggle,
153
157
  No as Timeline,
154
158
  Bo as ToastNotification,
@@ -167,31 +171,31 @@ export {
167
171
  cr as flattenArray,
168
172
  Tr as formatCurrency,
169
173
  gr as getUniqueId,
170
- br as isAppleDevice,
171
- Sr as isEmpty,
172
- Dr as lazySearch,
174
+ Sr as isAppleDevice,
175
+ br as isEmpty,
176
+ Cr as lazySearch,
173
177
  Wo as pauseTimers,
174
178
  Ir as randomNumber,
175
179
  Pr as removeExtraProperties,
176
180
  Yo as removeToast,
177
- Fr as resetSearchIndex,
181
+ Dr as resetSearchIndex,
178
182
  _o as resumeTimers,
179
183
  wr as search,
180
184
  jo as showToast,
181
- hr as slugify,
182
- vr as throttle,
185
+ Fr as slugify,
186
+ hr as throttle,
183
187
  Jo as toast,
184
- Ar as truncate,
188
+ vr as truncate,
185
189
  er as useAdvancedKeyStroke,
186
190
  oe as useDropdownIds,
187
191
  $ as useDropdownSelection,
188
192
  Pe as useFileUpload,
189
- Se as useForm,
193
+ be as useForm,
190
194
  Le as useKanbanBoard,
191
195
  or as useKeyStroke,
192
196
  Qo as useNotifications,
193
197
  Zo as useTheme,
194
198
  de as useTreeSelection,
195
- Kr as useVLiteConfig,
199
+ Er as useVLiteConfig,
196
200
  tr as vScrollReveal
197
201
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "description": "A Vue 3 UI component library built with Tailwind CSS.",
5
5
  "license": "MIT",
6
- "version": "0.3.4",
6
+ "version": "0.3.7",
7
7
  "type": "module",
8
8
  "main": "index.js",
9
9
  "module": "index.js",
package/style.css CHANGED
@@ -253,7 +253,10 @@
253
253
  background-color: var(--color-white);
254
254
  }
255
255
 
256
- .dark {
256
+ @custom-variant dark (&:where(.dark, .dark *));
257
+
258
+
259
+ @utility dark {
257
260
  --color-white: #0b0b0b !important;
258
261
  --color-mixture-1: #0c0c0c !important;
259
262
  --color-mixture-2: #ffffff !important;
package/types/button.d.ts CHANGED
@@ -12,4 +12,8 @@ export interface ButtonProps {
12
12
  type?: 'button' | 'submit' | 'reset';
13
13
  text?: string;
14
14
  rounded?: ButtonRounded;
15
+ textClass?: string;
16
+ iconLeftClass?: string;
17
+ iconRightClass?: string;
18
+ asIcon?: boolean;
15
19
  }
@@ -0,0 +1,8 @@
1
+ import { UseStorageOptions } from '@vueuse/core';
2
+ /**
3
+ * Reusable function to manage persistent state in local storage.
4
+ * @param key Local storage key. Will be automatically prefixed with 'builto-'.
5
+ * @param initialValue The default value if no value exists in storage.
6
+ * @param options Additional options for useLocalStorage.
7
+ */
8
+ export declare function usePersistentState<T>(key: string, initialValue: T, options?: UseStorageOptions<T>): import('@vueuse/shared').RemovableRef<T>;
@@ -0,0 +1,7 @@
1
+ import { useLocalStorage as r } from "@vueuse/core";
2
+ function i(t, e, o) {
3
+ return r(`builto-${t}`, e, o);
4
+ }
5
+ export {
6
+ i as usePersistentState
7
+ };