@gluhar/core 4.0.0 → 4.1.5

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/CHANGELOG.md CHANGED
@@ -3,15 +3,90 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.1.5](https://github.com/gluharco/gluhar/compare/@gluhar/core@4.1.4...@gluhar/core@4.1.5) (2026-03-23)
7
+
8
+ **📝 Note:** Version bump only for package @gluhar/core
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.1.4](https://github.com/gluharco/gluhar/compare/@gluhar/core@4.1.3...@gluhar/core@4.1.4) (2026-03-23)
15
+
16
+ **📝 Note:** Version bump only for package @gluhar/core
17
+
18
+
19
+
20
+
21
+
22
+ ## [4.1.3](https://github.com/gluharco/gluhar/compare/@gluhar/core@4.1.2...@gluhar/core@4.1.3) (2026-03-23)
23
+
24
+ **📝 Note:** Version bump only for package @gluhar/core
25
+
26
+
27
+
28
+
29
+
30
+ ## [4.1.2](https://github.com/gluharco/gluhar/compare/@gluhar/core@4.1.1...@gluhar/core@4.1.2) (2026-03-23)
31
+
32
+ **📝 Note:** Version bump only for package @gluhar/core
33
+
34
+
35
+
36
+
37
+
38
+ ## [4.1.1](https://github.com/gluharco/gluhar/compare/@gluhar/core@4.1.0...@gluhar/core@4.1.1) (2026-03-23)
39
+
40
+ **📝 Note:** Version bump only for package @gluhar/core
41
+
42
+
43
+
44
+
45
+
46
+ # [4.1.0](https://github.com/gluharco/gluhar/compare/@gluhar/core@4.0.3...@gluhar/core@4.1.0) (2026-03-23)
47
+
48
+
49
+ ### 🚀 Enhancements
50
+
51
+ - Fix ai mess ([6fc7d6b](https://github.com/gluharco/gluhar/commit/6fc7d6bfcffda89fb061389f1eea930deb509e9a))
52
+
53
+
54
+
55
+
56
+
57
+ ## [4.0.3](https://github.com/gluharco/gluhar/compare/@gluhar/core@4.0.2...@gluhar/core@4.0.3) (2026-03-23)
58
+
59
+ **📝 Note:** Version bump only for package @gluhar/core
60
+
61
+
62
+
63
+
64
+
65
+ ## [4.0.2](https://github.com/gluharco/gluhar/compare/@gluhar/core@4.0.1...@gluhar/core@4.0.2) (2026-03-23)
66
+
67
+ **📝 Note:** Version bump only for package @gluhar/core
68
+
69
+
70
+
71
+
72
+
73
+ ## [4.0.1](https://github.com/gluharco/gluhar/compare/@gluhar/core@4.0.0...@gluhar/core@4.0.1) (2026-03-23)
74
+
75
+ **📝 Note:** Version bump only for package @gluhar/core
76
+
77
+
78
+
79
+
80
+
6
81
  # [4.0.0](https://github.com/gluharco/gluhar/compare/@gluhar/core@3.0.0...@gluhar/core@4.0.0) (2026-03-13)
7
82
 
8
83
 
9
- * feat(core)!: replace useResponsive with full breakpoint implementation ([887729a](https://github.com/gluharco/gluhar/commit/887729af8659b6b6529ac8463a382e8d1825d885))
84
+ - Feat(core)!: replace useResponsive with full breakpoint implementation ([887729a](https://github.com/gluharco/gluhar/commit/887729af8659b6b6529ac8463a382e8d1825d885))
10
85
 
11
86
 
12
87
  ### BREAKING CHANGES
13
88
 
14
- * useResponsive now returns { mobile, tablet, tabletExact, desktop, desktopExact, wide, touch }
89
+ - UseResponsive now returns { mobile, tablet, tabletExact, desktop, desktopExact, wide, touch }
15
90
  instead of { isMobile, breakpoints }.
16
91
 
17
92
  Supersedes the project-level useMobile composable used across all projects.
@@ -21,358 +96,358 @@ Breakpoints: tablet 768, desktop 1200, wide 2000 (hardcoded for now — will der
21
96
 
22
97
 
23
98
 
24
-
25
- # [3.0.0](https://github.com/gluharry/gluhar/compare/@gluhar/core@2.0.0...@gluhar/core@3.0.0) (2025-05-13)
26
-
27
- **📝 Note:** Version bump only for package @gluhar/core
28
-
29
-
30
-
31
-
32
-
33
- # 2.0.0 (2025-01-21)
34
-
35
-
36
- ### 🩹 Fixes
37
-
38
- - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
39
- - Copy readme and changelog to dist on build ([5b27677](https://github.com/harryyaprakov/hui/commit/5b27677f8a18a21d1ccbea85bb0d8a611c43938e))
40
- - Core build ([a2228e7](https://github.com/harryyaprakov/hui/commit/a2228e70f3fb18ddc7bd79961e9c8e161d3dfbe2))
41
- - **core:** Making a test change to core ([00b9629](https://github.com/harryyaprakov/hui/commit/00b9629ab3dd209931dc2cf1cc222beb5a89cfa4))
42
- - GetRandomBetween returning something wildly incorrect ([76dfb02](https://github.com/harryyaprakov/hui/commit/76dfb02b7b1f6063496ef47b7f0300749245be65))
43
- - Hui-core module name ([51c45dc](https://github.com/harryyaprakov/hui/commit/51c45dc55bd675fc0899aca4efb2a456d942c9c6))
44
- - Package json fixes ([a5823da](https://github.com/harryyaprakov/hui/commit/a5823daef779c4d9be0e0794cee20ee120ed6c6b))
45
- - Pimp changelog ([c813e4a](https://github.com/harryyaprakov/hui/commit/c813e4a4a7ce19d09ee46a20ae6d351086472f1c))
46
- - Type imports, core types export ([866186a](https://github.com/harryyaprakov/hui/commit/866186aca1ad1bab03b5b6b0d0621a29f67518f6))
47
-
48
-
49
- ### 🚀 Enhancements
50
-
51
- - Hui-core is in v1 ([30acbca](https://github.com/harryyaprakov/hui/commit/30acbcaa732a8ec92b472c1144da83342b2c3775))
52
- - Initiate hui-core as a package for basic shared composables, utils and types. ([0570751](https://github.com/harryyaprakov/hui/commit/0570751b8e8810c135557b42ed8d4d03ab389b30))
53
- - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
54
- - Proper build and dist process for core and sanity ([3699c59](https://github.com/harryyaprakov/hui/commit/3699c59cd24dc9a9a34779c89924101c938a59de))
55
- - Some test feature added ([012c975](https://github.com/harryyaprakov/hui/commit/012c97562d237a5c762ad9d2f82c7d2e76d5a605))
56
- - UseBaseUrl ([cb32c71](https://github.com/harryyaprakov/hui/commit/cb32c714fde766e7394fac792b7d86acf84d17e8))
57
- - Version bump ([32cd173](https://github.com/harryyaprakov/hui/commit/32cd173ed800a4d4ede5286e65b9c5728ce39950))
58
-
59
-
60
-
61
- ## 0.0.5 (2024-02-25)
62
-
63
-
64
- ### 🚀 Enhancements
65
-
66
- - Init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc45457acec888806c58bdcb7f5f0fba9472))
67
- - **repo:** Added lerna ([dadeca9](https://github.com/harryyaprakov/hui/commit/dadeca9b503dbe2b0f3c25eaaf7a85e7f2dd21c4))
68
-
69
-
70
-
71
-
72
-
73
- # [1.3.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.2.0...@pezak/hui-core@1.3.0) (2024-09-12)
74
-
75
-
76
- ### 🚀 Enhancements
77
-
78
- - UseBaseUrl ([cb32c71](https://github.com/harryyaprakov/hui/commit/cb32c714fde766e7394fac792b7d86acf84d17e8))
79
-
80
-
81
-
82
-
83
-
84
- # [1.2.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.5...@pezak/hui-core@1.2.0) (2024-09-12)
85
-
86
-
87
- ### 🚀 Enhancements
88
-
89
- - Version bump ([32cd173](https://github.com/harryyaprakov/hui/commit/32cd173ed800a4d4ede5286e65b9c5728ce39950))
90
-
91
-
92
-
93
-
94
-
95
- ## [1.1.5](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.4...@pezak/hui-core@1.1.5) (2024-09-12)
96
-
97
- **📝 Note:** Version bump only for package @pezak/hui-core
98
-
99
-
100
-
101
-
102
-
103
- ## [1.1.4](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.3...@pezak/hui-core@1.1.4) (2024-05-10)
104
-
105
-
106
- ### 🩹 Fixes
107
-
108
- - GetRandomBetween returning something wildly incorrect ([76dfb02](https://github.com/harryyaprakov/hui/commit/76dfb02b7b1f6063496ef47b7f0300749245be65))
109
-
110
-
111
-
112
-
113
-
114
- ## [1.1.3](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.2...@pezak/hui-core@1.1.3) (2024-04-10)
115
-
116
-
117
- ### 🩹 Fixes
118
-
119
- - Type imports, core types export ([866186a](https://github.com/harryyaprakov/hui/commit/866186aca1ad1bab03b5b6b0d0621a29f67518f6))
120
-
121
-
122
-
123
-
124
-
125
- ## [1.1.2](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.1...@pezak/hui-core@1.1.2) (2024-03-31)
126
-
127
- **📝 Note:** Version bump only for package @pezak/hui-core
128
-
129
-
130
-
131
-
132
-
133
- ## [1.1.1](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.0...@pezak/hui-core@1.1.1) (2024-03-27)
134
-
135
- **📝 Note:** Version bump only for package @pezak/hui-core
136
-
137
-
138
-
139
-
140
-
141
- # [1.1.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.4...@pezak/hui-core@1.1.0) (2024-03-27)
142
-
143
-
144
- ### 🚀 Enhancements
145
-
146
- - Proper build and dist process for core and sanity ([3699c59](https://github.com/harryyaprakov/hui/commit/3699c59cd24dc9a9a34779c89924101c938a59de))
147
-
148
-
149
-
150
-
151
-
152
- ## [1.0.4](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.3...@pezak/hui-core@1.0.4) (2024-03-26)
153
-
154
-
155
- ### 🩹 Fixes
156
-
157
- - Package json fixes ([a5823da](https://github.com/harryyaprakov/hui/commit/a5823daef779c4d9be0e0794cee20ee120ed6c6b))
158
-
159
-
160
-
161
-
162
-
163
- ## [1.0.3](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.2...@pezak/hui-core@1.0.3) (2024-03-26)
164
-
165
-
166
- ### 🩹 Fixes
167
-
168
- - Copy readme and changelog to dist on build ([5b27677](https://github.com/harryyaprakov/hui/commit/5b27677f8a18a21d1ccbea85bb0d8a611c43938e))
169
-
170
-
171
-
172
-
173
-
174
- ## [1.0.2](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.0...@pezak/hui-core@1.0.2) (2024-03-26)
175
-
176
-
177
- ### 🩹 Fixes
178
-
179
- - Hui-core module name ([51c45dc](https://github.com/harryyaprakov/hui/commit/51c45dc55bd675fc0899aca4efb2a456d942c9c6))
180
-
181
-
182
-
183
-
184
-
185
- ## [1.0.1](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.0...@pezak/hui-core@1.0.1) (2024-03-26)
186
-
187
-
188
- ### 🩹 Fixes
189
-
190
- - Hui-core module name ([51c45dc](https://github.com/harryyaprakov/hui/commit/51c45dc55bd675fc0899aca4efb2a456d942c9c6))
191
-
192
-
193
-
194
-
195
-
196
- # [1.0.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.5.0...@pezak/hui-core@1.0.0) (2024-03-26)
197
-
198
-
199
- ### 🚀 Enhancements
200
-
201
- - Hui-core is in v1 ([30acbca](https://github.com/harryyaprakov/hui/commit/30acbcaa732a8ec92b472c1144da83342b2c3775))
202
- - Initiate hui-core as a package for basic shared composables, utils and types. ([0570751](https://github.com/harryyaprakov/hui/commit/0570751b8e8810c135557b42ed8d4d03ab389b30))
203
-
204
-
205
-
206
-
207
-
208
- # [0.5.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.2.0...@pezak/hui-core@0.5.0) (2024-03-26)
209
-
210
-
211
- ### 🩹 Fixes
212
-
213
- - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
214
- - Pimp changelog ([c813e4a](https://github.com/harryyaprakov/hui/commit/c813e4a4a7ce19d09ee46a20ae6d351086472f1c))
215
-
216
-
217
- ### 🚀 Enhancements
218
-
219
- - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
220
-
221
-
222
-
223
-
224
-
225
- # [0.4.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.2.0...@pezak/hui-core@0.4.0) (2024-03-26)
226
-
227
-
228
- ### 🩹 Fixes
229
-
230
- - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
231
- - Pimp changelog ([c813e4a](https://github.com/harryyaprakov/hui/commit/c813e4a4a7ce19d09ee46a20ae6d351086472f1c))
232
-
233
-
234
- ### 🚀 Enhancements
235
-
236
- - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
237
-
238
-
239
-
240
-
241
-
242
- # [0.3.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.2.0...@pezak/hui-core@0.3.0) (2024-03-26)
243
-
244
-
245
- ### 🩹 Fixes
246
-
247
- - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
248
-
249
-
250
- ### 🚀 Enhancements
251
-
252
- - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
253
-
254
-
255
-
256
-
257
-
258
- # [0.2.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.5...@pezak/hui-core@0.2.0) (2024-03-25)
259
-
260
-
261
- ### 🚀 Enhancements
262
-
263
- - Some test feature added ([012c975](https://github.com/harryyaprakov/hui/commit/012c97562d237a5c762ad9d2f82c7d2e76d5a605))
264
-
265
-
266
-
267
-
268
-
269
- ## [0.1.5](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.4...@pezak/hui-core@0.1.5) (2024-03-25)
270
-
271
- **📝 Note:** Version bump only for package @pezak/hui-core
272
-
273
-
274
-
275
-
276
-
277
- ## [0.1.4](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.3...@pezak/hui-core@0.1.4) (2024-03-25)
278
-
279
- **📝 Note:** Version bump only for package @pezak/hui-core
280
-
281
-
282
-
283
-
284
-
285
- ## [0.1.3](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.2...@pezak/hui-core@0.1.3) (2024-03-25)
286
-
287
-
288
- ### 🩹 Fixes
289
-
290
- - Core build ([a2228e7](https://github.com/harryyaprakov/hui/commit/a2228e70f3fb18ddc7bd79961e9c8e161d3dfbe2))
291
-
292
-
293
-
294
-
295
-
296
- ## [0.1.2](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.0...@pezak/hui-core@0.1.2) (2024-03-25)
297
-
298
- **📝 Note:** Version bump only for package @pezak/hui-core
299
-
300
-
301
-
302
-
303
-
304
- ## [0.1.1](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.0...@pezak/hui-core@0.1.1) (2024-03-25)
305
-
306
- **📝 Note:** Version bump only for package @pezak/hui-core
307
-
308
-
309
-
310
-
311
-
312
- # 0.1.0 (2024-02-25)
313
-
314
- ### 🩹 Fixes
315
-
316
- - **core:** making a test change to core ([00b9629](https://github.com/harryyaprakov/hui/commit/00b9629ab3dd209931dc2cf1cc222beb5a89cfa4))
317
-
318
- ## 0.0.5 (2024-02-25)
319
-
320
- ### 🚀 Enhancements
321
-
322
- - init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc45457acec888806c58bdcb7f5f0fba9472))
323
- - **repo:** added lerna ([dadeca9](https://github.com/harryyaprakov/hui/commit/dadeca9b503dbe2b0f3c25eaaf7a85e7f2dd21c4))
324
-
325
- # @pezak/hui-core
326
-
327
- ## v0.0.5
328
-
329
- [compare changes](https://github.com/harryyaprakov/hui/compare/v0.0.3...v0.0.5)
330
-
331
- ### 🚀 Enhancements
332
-
333
- - Init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc4))
334
- - **repo:** Added lerna ([dadeca9](https://github.com/harryyaprakov/hui/commit/dadeca9))
335
-
336
- ### 🩹 Fixes
337
-
338
- - Publish without release label ([c233f3d](https://github.com/harryyaprakov/hui/commit/c233f3d))
339
-
340
- ### 🏡 Chore
341
-
342
- - Testing out changeset ([c8ab5f3](https://github.com/harryyaprakov/hui/commit/c8ab5f3))
343
- - Add auto for versioning and publishing ([ec5caf9](https://github.com/harryyaprakov/hui/commit/ec5caf9))
344
- - Remove turbo and add lerna ([1ae9159](https://github.com/harryyaprakov/hui/commit/1ae9159))
345
- - Add workspaces scripts ([4020d94](https://github.com/harryyaprakov/hui/commit/4020d94))
346
- - **release:** V0.0.3 ([e0bcb93](https://github.com/harryyaprakov/hui/commit/e0bcb93))
347
- - **release:** V0.0.3 ([b32aa79](https://github.com/harryyaprakov/hui/commit/b32aa79))
348
-
349
- ### ❤️ Contributors
350
-
351
- - Harry Yaprakov <h@yaprakov.com>
352
-
353
- ## v0.0.3
354
-
355
- ### 🚀 Enhancements
356
-
357
- - Init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc4))
358
-
359
- ### 🩹 Fixes
360
-
361
- - Publish without release label ([c233f3d](https://github.com/harryyaprakov/hui/commit/c233f3d))
362
-
363
- ### 🏡 Chore
364
-
365
- - Testing out changeset ([c8ab5f3](https://github.com/harryyaprakov/hui/commit/c8ab5f3))
366
- - Add auto for versioning and publishing ([ec5caf9](https://github.com/harryyaprakov/hui/commit/ec5caf9))
367
- - Remove turbo and add lerna ([1ae9159](https://github.com/harryyaprakov/hui/commit/1ae9159))
368
- - Add workspaces scripts ([4020d94](https://github.com/harryyaprakov/hui/commit/4020d94))
369
-
370
- ### ❤️ Contributors
371
-
372
- - Harry Yaprakov <h@yaprakov.com>
373
-
374
- ## 0.0.2
375
-
376
- ### Patch Changes
377
-
99
+
100
+ # [3.0.0](https://github.com/gluharry/gluhar/compare/@gluhar/core@2.0.0...@gluhar/core@3.0.0) (2025-05-13)
101
+
102
+ **📝 Note:** Version bump only for package @gluhar/core
103
+
104
+
105
+
106
+
107
+
108
+ # 2.0.0 (2025-01-21)
109
+
110
+
111
+ ### 🩹 Fixes
112
+
113
+ - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
114
+ - Copy readme and changelog to dist on build ([5b27677](https://github.com/harryyaprakov/hui/commit/5b27677f8a18a21d1ccbea85bb0d8a611c43938e))
115
+ - Core build ([a2228e7](https://github.com/harryyaprakov/hui/commit/a2228e70f3fb18ddc7bd79961e9c8e161d3dfbe2))
116
+ - **core:** Making a test change to core ([00b9629](https://github.com/harryyaprakov/hui/commit/00b9629ab3dd209931dc2cf1cc222beb5a89cfa4))
117
+ - GetRandomBetween returning something wildly incorrect ([76dfb02](https://github.com/harryyaprakov/hui/commit/76dfb02b7b1f6063496ef47b7f0300749245be65))
118
+ - Hui-core module name ([51c45dc](https://github.com/harryyaprakov/hui/commit/51c45dc55bd675fc0899aca4efb2a456d942c9c6))
119
+ - Package json fixes ([a5823da](https://github.com/harryyaprakov/hui/commit/a5823daef779c4d9be0e0794cee20ee120ed6c6b))
120
+ - Pimp changelog ([c813e4a](https://github.com/harryyaprakov/hui/commit/c813e4a4a7ce19d09ee46a20ae6d351086472f1c))
121
+ - Type imports, core types export ([866186a](https://github.com/harryyaprakov/hui/commit/866186aca1ad1bab03b5b6b0d0621a29f67518f6))
122
+
123
+
124
+ ### 🚀 Enhancements
125
+
126
+ - Hui-core is in v1 ([30acbca](https://github.com/harryyaprakov/hui/commit/30acbcaa732a8ec92b472c1144da83342b2c3775))
127
+ - Initiate hui-core as a package for basic shared composables, utils and types. ([0570751](https://github.com/harryyaprakov/hui/commit/0570751b8e8810c135557b42ed8d4d03ab389b30))
128
+ - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
129
+ - Proper build and dist process for core and sanity ([3699c59](https://github.com/harryyaprakov/hui/commit/3699c59cd24dc9a9a34779c89924101c938a59de))
130
+ - Some test feature added ([012c975](https://github.com/harryyaprakov/hui/commit/012c97562d237a5c762ad9d2f82c7d2e76d5a605))
131
+ - UseBaseUrl ([cb32c71](https://github.com/harryyaprakov/hui/commit/cb32c714fde766e7394fac792b7d86acf84d17e8))
132
+ - Version bump ([32cd173](https://github.com/harryyaprakov/hui/commit/32cd173ed800a4d4ede5286e65b9c5728ce39950))
133
+
134
+
135
+
136
+ ## 0.0.5 (2024-02-25)
137
+
138
+
139
+ ### 🚀 Enhancements
140
+
141
+ - Init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc45457acec888806c58bdcb7f5f0fba9472))
142
+ - **repo:** Added lerna ([dadeca9](https://github.com/harryyaprakov/hui/commit/dadeca9b503dbe2b0f3c25eaaf7a85e7f2dd21c4))
143
+
144
+
145
+
146
+
147
+
148
+ # [1.3.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.2.0...@pezak/hui-core@1.3.0) (2024-09-12)
149
+
150
+
151
+ ### 🚀 Enhancements
152
+
153
+ - UseBaseUrl ([cb32c71](https://github.com/harryyaprakov/hui/commit/cb32c714fde766e7394fac792b7d86acf84d17e8))
154
+
155
+
156
+
157
+
158
+
159
+ # [1.2.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.5...@pezak/hui-core@1.2.0) (2024-09-12)
160
+
161
+
162
+ ### 🚀 Enhancements
163
+
164
+ - Version bump ([32cd173](https://github.com/harryyaprakov/hui/commit/32cd173ed800a4d4ede5286e65b9c5728ce39950))
165
+
166
+
167
+
168
+
169
+
170
+ ## [1.1.5](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.4...@pezak/hui-core@1.1.5) (2024-09-12)
171
+
172
+ **📝 Note:** Version bump only for package @pezak/hui-core
173
+
174
+
175
+
176
+
177
+
178
+ ## [1.1.4](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.3...@pezak/hui-core@1.1.4) (2024-05-10)
179
+
180
+
181
+ ### 🩹 Fixes
182
+
183
+ - GetRandomBetween returning something wildly incorrect ([76dfb02](https://github.com/harryyaprakov/hui/commit/76dfb02b7b1f6063496ef47b7f0300749245be65))
184
+
185
+
186
+
187
+
188
+
189
+ ## [1.1.3](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.2...@pezak/hui-core@1.1.3) (2024-04-10)
190
+
191
+
192
+ ### 🩹 Fixes
193
+
194
+ - Type imports, core types export ([866186a](https://github.com/harryyaprakov/hui/commit/866186aca1ad1bab03b5b6b0d0621a29f67518f6))
195
+
196
+
197
+
198
+
199
+
200
+ ## [1.1.2](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.1...@pezak/hui-core@1.1.2) (2024-03-31)
201
+
202
+ **📝 Note:** Version bump only for package @pezak/hui-core
203
+
204
+
205
+
206
+
207
+
208
+ ## [1.1.1](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.0...@pezak/hui-core@1.1.1) (2024-03-27)
209
+
210
+ **📝 Note:** Version bump only for package @pezak/hui-core
211
+
212
+
213
+
214
+
215
+
216
+ # [1.1.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.4...@pezak/hui-core@1.1.0) (2024-03-27)
217
+
218
+
219
+ ### 🚀 Enhancements
220
+
221
+ - Proper build and dist process for core and sanity ([3699c59](https://github.com/harryyaprakov/hui/commit/3699c59cd24dc9a9a34779c89924101c938a59de))
222
+
223
+
224
+
225
+
226
+
227
+ ## [1.0.4](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.3...@pezak/hui-core@1.0.4) (2024-03-26)
228
+
229
+
230
+ ### 🩹 Fixes
231
+
232
+ - Package json fixes ([a5823da](https://github.com/harryyaprakov/hui/commit/a5823daef779c4d9be0e0794cee20ee120ed6c6b))
233
+
234
+
235
+
236
+
237
+
238
+ ## [1.0.3](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.2...@pezak/hui-core@1.0.3) (2024-03-26)
239
+
240
+
241
+ ### 🩹 Fixes
242
+
243
+ - Copy readme and changelog to dist on build ([5b27677](https://github.com/harryyaprakov/hui/commit/5b27677f8a18a21d1ccbea85bb0d8a611c43938e))
244
+
245
+
246
+
247
+
248
+
249
+ ## [1.0.2](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.0...@pezak/hui-core@1.0.2) (2024-03-26)
250
+
251
+
252
+ ### 🩹 Fixes
253
+
254
+ - Hui-core module name ([51c45dc](https://github.com/harryyaprakov/hui/commit/51c45dc55bd675fc0899aca4efb2a456d942c9c6))
255
+
256
+
257
+
258
+
259
+
260
+ ## [1.0.1](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.0...@pezak/hui-core@1.0.1) (2024-03-26)
261
+
262
+
263
+ ### 🩹 Fixes
264
+
265
+ - Hui-core module name ([51c45dc](https://github.com/harryyaprakov/hui/commit/51c45dc55bd675fc0899aca4efb2a456d942c9c6))
266
+
267
+
268
+
269
+
270
+
271
+ # [1.0.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.5.0...@pezak/hui-core@1.0.0) (2024-03-26)
272
+
273
+
274
+ ### 🚀 Enhancements
275
+
276
+ - Hui-core is in v1 ([30acbca](https://github.com/harryyaprakov/hui/commit/30acbcaa732a8ec92b472c1144da83342b2c3775))
277
+ - Initiate hui-core as a package for basic shared composables, utils and types. ([0570751](https://github.com/harryyaprakov/hui/commit/0570751b8e8810c135557b42ed8d4d03ab389b30))
278
+
279
+
280
+
281
+
282
+
283
+ # [0.5.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.2.0...@pezak/hui-core@0.5.0) (2024-03-26)
284
+
285
+
286
+ ### 🩹 Fixes
287
+
288
+ - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
289
+ - Pimp changelog ([c813e4a](https://github.com/harryyaprakov/hui/commit/c813e4a4a7ce19d09ee46a20ae6d351086472f1c))
290
+
291
+
292
+ ### 🚀 Enhancements
293
+
294
+ - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
295
+
296
+
297
+
298
+
299
+
300
+ # [0.4.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.2.0...@pezak/hui-core@0.4.0) (2024-03-26)
301
+
302
+
303
+ ### 🩹 Fixes
304
+
305
+ - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
306
+ - Pimp changelog ([c813e4a](https://github.com/harryyaprakov/hui/commit/c813e4a4a7ce19d09ee46a20ae6d351086472f1c))
307
+
308
+
309
+ ### 🚀 Enhancements
310
+
311
+ - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
312
+
313
+
314
+
315
+
316
+
317
+ # [0.3.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.2.0...@pezak/hui-core@0.3.0) (2024-03-26)
318
+
319
+
320
+ ### 🩹 Fixes
321
+
322
+ - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
323
+
324
+
325
+ ### 🚀 Enhancements
326
+
327
+ - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
328
+
329
+
330
+
331
+
332
+
333
+ # [0.2.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.5...@pezak/hui-core@0.2.0) (2024-03-25)
334
+
335
+
336
+ ### 🚀 Enhancements
337
+
338
+ - Some test feature added ([012c975](https://github.com/harryyaprakov/hui/commit/012c97562d237a5c762ad9d2f82c7d2e76d5a605))
339
+
340
+
341
+
342
+
343
+
344
+ ## [0.1.5](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.4...@pezak/hui-core@0.1.5) (2024-03-25)
345
+
346
+ **📝 Note:** Version bump only for package @pezak/hui-core
347
+
348
+
349
+
350
+
351
+
352
+ ## [0.1.4](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.3...@pezak/hui-core@0.1.4) (2024-03-25)
353
+
354
+ **📝 Note:** Version bump only for package @pezak/hui-core
355
+
356
+
357
+
358
+
359
+
360
+ ## [0.1.3](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.2...@pezak/hui-core@0.1.3) (2024-03-25)
361
+
362
+
363
+ ### 🩹 Fixes
364
+
365
+ - Core build ([a2228e7](https://github.com/harryyaprakov/hui/commit/a2228e70f3fb18ddc7bd79961e9c8e161d3dfbe2))
366
+
367
+
368
+
369
+
370
+
371
+ ## [0.1.2](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.0...@pezak/hui-core@0.1.2) (2024-03-25)
372
+
373
+ **📝 Note:** Version bump only for package @pezak/hui-core
374
+
375
+
376
+
377
+
378
+
379
+ ## [0.1.1](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.0...@pezak/hui-core@0.1.1) (2024-03-25)
380
+
381
+ **📝 Note:** Version bump only for package @pezak/hui-core
382
+
383
+
384
+
385
+
386
+
387
+ # 0.1.0 (2024-02-25)
388
+
389
+ ### 🩹 Fixes
390
+
391
+ - **core:** making a test change to core ([00b9629](https://github.com/harryyaprakov/hui/commit/00b9629ab3dd209931dc2cf1cc222beb5a89cfa4))
392
+
393
+ ## 0.0.5 (2024-02-25)
394
+
395
+ ### 🚀 Enhancements
396
+
397
+ - init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc45457acec888806c58bdcb7f5f0fba9472))
398
+ - **repo:** added lerna ([dadeca9](https://github.com/harryyaprakov/hui/commit/dadeca9b503dbe2b0f3c25eaaf7a85e7f2dd21c4))
399
+
400
+ # @pezak/hui-core
401
+
402
+ ## v0.0.5
403
+
404
+ [compare changes](https://github.com/harryyaprakov/hui/compare/v0.0.3...v0.0.5)
405
+
406
+ ### 🚀 Enhancements
407
+
408
+ - Init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc4))
409
+ - **repo:** Added lerna ([dadeca9](https://github.com/harryyaprakov/hui/commit/dadeca9))
410
+
411
+ ### 🩹 Fixes
412
+
413
+ - Publish without release label ([c233f3d](https://github.com/harryyaprakov/hui/commit/c233f3d))
414
+
415
+ ### 🏡 Chore
416
+
417
+ - Testing out changeset ([c8ab5f3](https://github.com/harryyaprakov/hui/commit/c8ab5f3))
418
+ - Add auto for versioning and publishing ([ec5caf9](https://github.com/harryyaprakov/hui/commit/ec5caf9))
419
+ - Remove turbo and add lerna ([1ae9159](https://github.com/harryyaprakov/hui/commit/1ae9159))
420
+ - Add workspaces scripts ([4020d94](https://github.com/harryyaprakov/hui/commit/4020d94))
421
+ - **release:** V0.0.3 ([e0bcb93](https://github.com/harryyaprakov/hui/commit/e0bcb93))
422
+ - **release:** V0.0.3 ([b32aa79](https://github.com/harryyaprakov/hui/commit/b32aa79))
423
+
424
+ ### ❤️ Contributors
425
+
426
+ - Harry Yaprakov <h@yaprakov.com>
427
+
428
+ ## v0.0.3
429
+
430
+ ### 🚀 Enhancements
431
+
432
+ - Init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc4))
433
+
434
+ ### 🩹 Fixes
435
+
436
+ - Publish without release label ([c233f3d](https://github.com/harryyaprakov/hui/commit/c233f3d))
437
+
438
+ ### 🏡 Chore
439
+
440
+ - Testing out changeset ([c8ab5f3](https://github.com/harryyaprakov/hui/commit/c8ab5f3))
441
+ - Add auto for versioning and publishing ([ec5caf9](https://github.com/harryyaprakov/hui/commit/ec5caf9))
442
+ - Remove turbo and add lerna ([1ae9159](https://github.com/harryyaprakov/hui/commit/1ae9159))
443
+ - Add workspaces scripts ([4020d94](https://github.com/harryyaprakov/hui/commit/4020d94))
444
+
445
+ ### ❤️ Contributors
446
+
447
+ - Harry Yaprakov <h@yaprakov.com>
448
+
449
+ ## 0.0.2
450
+
451
+ ### Patch Changes
452
+
378
453
  - chore: Initializing hui-core and hui-sanity packages.
package/README.md CHANGED
@@ -1,94 +1,94 @@
1
- <!--
2
- Get your module up and running quickly.
3
-
4
- Find and replace all on all files (CMD+SHIFT+F):
5
- - Name: My Module
6
- - Package name: my-module
7
- - Description: My new Nuxt module
8
- -->
9
-
10
- # My Module
11
-
12
- [![npm version][npm-version-src]][npm-version-href]
13
- [![npm downloads][npm-downloads-src]][npm-downloads-href]
14
- [![License][license-src]][license-href]
15
- [![Nuxt][nuxt-src]][nuxt-href]
16
-
17
- My new Nuxt module for doing amazing things.
18
-
19
- - [✨ &nbsp;Release Notes](/CHANGELOG.md)
20
- <!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
21
- <!-- - [📖 &nbsp;Documentation](https://example.com) -->
22
-
23
- ## Features
24
-
25
- <!-- Highlight some of the features your module provide here -->
26
- - ⛰ &nbsp;Foo
27
- - 🚠 &nbsp;Bar
28
- - 🌲 &nbsp;Baz
29
-
30
- ## Quick Setup
31
-
32
- 1. Add `my-module` dependency to your project
33
-
34
- ```bash
35
- # Using pnpm
36
- pnpm add -D my-module
37
-
38
- # Using yarn
39
- yarn add --dev my-module
40
-
41
- # Using npm
42
- npm install --save-dev my-module
43
- ```
44
-
45
- 2. Add `my-module` to the `modules` section of `nuxt.config.ts`
46
-
47
- ```js
48
- export default defineNuxtConfig({
49
- modules: [
50
- 'my-module'
51
- ]
52
- })
53
- ```
54
-
55
- That's it! You can now use My Module in your Nuxt app ✨
56
-
57
- ## Development
58
-
59
- ```bash
60
- # Install dependencies
61
- npm install
62
-
63
- # Generate type stubs
64
- npm run dev:prepare
65
-
66
- # Develop with the playground
67
- npm run dev
68
-
69
- # Build the playground
70
- npm run dev:build
71
-
72
- # Run ESLint
73
- npm run lint
74
-
75
- # Run Vitest
76
- npm run test
77
- npm run test:watch
78
-
79
- # Release new version
80
- npm run release
81
- ```
82
-
83
- <!-- Badges -->
84
- [npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
85
- [npm-version-href]: https://npmjs.com/package/my-module
86
-
87
- [npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
88
- [npm-downloads-href]: https://npmjs.com/package/my-module
89
-
90
- [license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
91
- [license-href]: https://npmjs.com/package/my-module
92
-
93
- [nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
94
- [nuxt-href]: https://nuxt.com
1
+ <!--
2
+ Get your module up and running quickly.
3
+
4
+ Find and replace all on all files (CMD+SHIFT+F):
5
+ - Name: My Module
6
+ - Package name: my-module
7
+ - Description: My new Nuxt module
8
+ -->
9
+
10
+ # My Module
11
+
12
+ [![npm version][npm-version-src]][npm-version-href]
13
+ [![npm downloads][npm-downloads-src]][npm-downloads-href]
14
+ [![License][license-src]][license-href]
15
+ [![Nuxt][nuxt-src]][nuxt-href]
16
+
17
+ My new Nuxt module for doing amazing things.
18
+
19
+ - [✨ &nbsp;Release Notes](/CHANGELOG.md)
20
+ <!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
21
+ <!-- - [📖 &nbsp;Documentation](https://example.com) -->
22
+
23
+ ## Features
24
+
25
+ <!-- Highlight some of the features your module provide here -->
26
+ - ⛰ &nbsp;Foo
27
+ - 🚠 &nbsp;Bar
28
+ - 🌲 &nbsp;Baz
29
+
30
+ ## Quick Setup
31
+
32
+ 1. Add `my-module` dependency to your project
33
+
34
+ ```bash
35
+ # Using pnpm
36
+ pnpm add -D my-module
37
+
38
+ # Using yarn
39
+ yarn add --dev my-module
40
+
41
+ # Using npm
42
+ npm install --save-dev my-module
43
+ ```
44
+
45
+ 2. Add `my-module` to the `modules` section of `nuxt.config.ts`
46
+
47
+ ```js
48
+ export default defineNuxtConfig({
49
+ modules: [
50
+ 'my-module'
51
+ ]
52
+ })
53
+ ```
54
+
55
+ That's it! You can now use My Module in your Nuxt app ✨
56
+
57
+ ## Development
58
+
59
+ ```bash
60
+ # Install dependencies
61
+ npm install
62
+
63
+ # Generate type stubs
64
+ npm run dev:prepare
65
+
66
+ # Develop with the playground
67
+ npm run dev
68
+
69
+ # Build the playground
70
+ npm run dev:build
71
+
72
+ # Run ESLint
73
+ npm run lint
74
+
75
+ # Run Vitest
76
+ npm run test
77
+ npm run test:watch
78
+
79
+ # Release new version
80
+ npm run release
81
+ ```
82
+
83
+ <!-- Badges -->
84
+ [npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
85
+ [npm-version-href]: https://npmjs.com/package/my-module
86
+
87
+ [npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
88
+ [npm-downloads-href]: https://npmjs.com/package/my-module
89
+
90
+ [license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
91
+ [license-href]: https://npmjs.com/package/my-module
92
+
93
+ [nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
94
+ [nuxt-href]: https://nuxt.com
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gluhar/core",
3
- "version": "4.0.0",
3
+ "version": "4.1.5",
4
4
  "description": "Gluhar Core packages.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -53,5 +53,5 @@
53
53
  "nuxt": "^3.13.1",
54
54
  "vitest": "^2.0.5"
55
55
  },
56
- "gitHead": "37c79c38049ee2d91e649523539808c2fdbffd88"
56
+ "gitHead": "a60bf29f338bc3af3212a3a8ed647f75c69a2c4a"
57
57
  }
package/dist/module.cjs DELETED
@@ -1,5 +0,0 @@
1
- module.exports = function(...args) {
2
- return import('./module.mjs').then(m => m.default.call(this, ...args))
3
- }
4
- const _meta = module.exports.meta = require('./module.json')
5
- module.exports.getMeta = () => Promise.resolve(_meta)
package/dist/module.d.mts DELETED
@@ -1,7 +0,0 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
2
-
3
- interface GluharCoreOptions {
4
- }
5
- declare const _default: _nuxt_schema.NuxtModule<GluharCoreOptions, GluharCoreOptions, false>;
6
-
7
- export { type GluharCoreOptions, _default as default };
package/dist/module.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
2
-
3
- interface GluharCoreOptions {
4
- }
5
- declare const _default: _nuxt_schema.NuxtModule<GluharCoreOptions, GluharCoreOptions, false>;
6
-
7
- export { type GluharCoreOptions, _default as default };
package/dist/module.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@gluhar/core",
3
- "configKey": "gluharCore",
4
- "version": "4.0.0",
5
- "builder": {
6
- "@nuxt/module-builder": "0.8.3",
7
- "unbuild": "2.0.0"
8
- }
9
- }
package/dist/module.mjs DELETED
@@ -1,18 +0,0 @@
1
- import { defineNuxtModule, createResolver, installModule, addImportsDir } from '@nuxt/kit';
2
-
3
- const module = defineNuxtModule({
4
- meta: {
5
- name: "@gluhar/core",
6
- configKey: "gluharCore"
7
- },
8
- // Default configuration options of the Nuxt module
9
- defaults: {},
10
- setup(options, nuxt) {
11
- const { resolve } = createResolver(import.meta.url);
12
- installModule("@nuxtjs/device");
13
- addImportsDir(resolve("runtime/composables"));
14
- addImportsDir(resolve("runtime/utils"));
15
- }
16
- });
17
-
18
- export { module as default };
@@ -1,3 +0,0 @@
1
- export declare const useClientOnly: () => {
2
- isClient: import("vue").Ref<boolean, boolean>;
3
- };
@@ -1,8 +0,0 @@
1
- import { onMounted, ref } from "vue";
2
- export const useClientOnly = () => {
3
- const mounted = ref(false);
4
- onMounted(() => {
5
- mounted.value = true;
6
- });
7
- return { isClient: mounted };
8
- };
@@ -1,9 +0,0 @@
1
- export declare const useResponsive: () => {
2
- mobile: import("vue").ComputedRef<boolean>;
3
- tablet: import("vue").Ref<boolean, boolean>;
4
- tabletExact: import("vue").ComputedRef<boolean>;
5
- desktop: import("vue").Ref<boolean, boolean>;
6
- desktopExact: import("vue").ComputedRef<boolean>;
7
- wide: import("vue").Ref<boolean, boolean>;
8
- touch: import("vue").ComputedRef<boolean>;
9
- };
@@ -1,26 +0,0 @@
1
- import { computed } from "#imports";
2
- import { useBreakpoints, breakpointsTailwind } from "@vueuse/core";
3
- import { useDevice } from "#imports";
4
- export const useResponsive = () => {
5
- const breakpoints = useBreakpoints({
6
- ...breakpointsTailwind,
7
- tablet: 768,
8
- desktop: 1200,
9
- wide: 2e3
10
- });
11
- const { isMobile } = useDevice();
12
- const mobile = computed(
13
- () => breakpoints.smaller("tablet").value || isMobile
14
- );
15
- const tablet = breakpoints.greater("tablet");
16
- const tabletExact = computed(
17
- () => breakpoints.isInBetween("tablet", "desktop")
18
- );
19
- const desktop = breakpoints.greater("desktop");
20
- const desktopExact = computed(
21
- () => breakpoints.isInBetween("desktop", "wide")
22
- );
23
- const touch = computed(() => !desktop.value);
24
- const wide = breakpoints.greater("wide");
25
- return { mobile, tablet, tabletExact, desktop, desktopExact, wide, touch };
26
- };
@@ -1,3 +0,0 @@
1
- import { breakpointsTailwind } from "@vueuse/core";
2
- export type NonNegativeInteger<T extends number> = number extends T ? never : `${T}` extends `-${string}` | `${string}.${string}` ? never : T;
3
- export type Breakpoint = keyof typeof breakpointsTailwind;
File without changes
@@ -1,10 +0,0 @@
1
- export declare const capitalize: (s: string) => string;
2
- export declare const envMode: () => "dev" | "prod";
3
- /**
4
- * Returns the base URL based on the environment mode.
5
- *
6
- * @param {string} baseUrl - The base URL to be used.
7
- * @returns {string | undefined} - The base URL if the environment mode is "prod", otherwise undefined.
8
- */
9
- export declare const useBaseUrl: (baseUrl: string) => string | undefined;
10
- export declare const asyncTimeout: (ms: number) => Promise<unknown>;
@@ -1,6 +0,0 @@
1
- export const capitalize = (s) => s && s[0].toUpperCase() + s.slice(1);
2
- export const envMode = () => process.env.NODE_ENV === "development" ? "dev" : "prod";
3
- export const useBaseUrl = (baseUrl) => {
4
- return envMode() === "prod" ? baseUrl : void 0;
5
- };
6
- export const asyncTimeout = (ms) => new Promise((res) => setTimeout(res, ms));
@@ -1,4 +0,0 @@
1
- export declare const readModule: <T extends Record<string, any>>(path: string | undefined, options?: {
2
- cwd?: boolean;
3
- default?: boolean;
4
- }) => Promise<T>;
@@ -1,13 +0,0 @@
1
- import { readFileSync } from "fs";
2
- import { join } from "path";
3
- import { evalModule } from "mlly";
4
- export const readModule = async (path, options = { cwd: true }) => {
5
- if (!path) throw new Error("[@gluhar/core] readModule | No path provided.");
6
- const p = options?.cwd ? join(process.cwd(), path) : path;
7
- const file = readFileSync(p)?.toString();
8
- if (!file)
9
- throw new Error("[@gluhar/core] readModule | File not found on path: " + p);
10
- const sanitizedFile = file.replaceAll(" as const", "");
11
- const module = await evalModule(sanitizedFile);
12
- return options?.default ? module.default : module;
13
- };
@@ -1,6 +0,0 @@
1
- import type { NonNegativeInteger } from "../types.js";
2
- export declare const getRandomInt: (max?: number) => number;
3
- export declare const getRandomBetween: (min: number, max: number) => number;
4
- export declare const getRandomDigits: <N extends number>(count: NonNegativeInteger<N>) => number;
5
- export declare const getRandomHex: <N extends number>(count?: NonNegativeInteger<N>) => string;
6
- export declare const getUuid: () => string;
@@ -1,5 +0,0 @@
1
- export const getRandomInt = (max = 100) => Math.floor(Math.random() * max);
2
- export const getRandomBetween = (min, max) => getRandomInt(max - min + 1) + min;
3
- export const getRandomDigits = (count) => getRandomBetween(9 * 10 ** (count - 1), 10 ** (count - 1));
4
- export const getRandomHex = (count) => [...Array(count || 6)].map(() => getRandomBetween(0, 15).toString(16)).join("");
5
- export const getUuid = () => `huuid-${getRandomHex()}-${getRandomHex()}-${getRandomHex()}`;
@@ -1,2 +0,0 @@
1
- export * from "./common.js";
2
- export * from "./generators.js";
@@ -1,2 +0,0 @@
1
- export * from "./common.js";
2
- export * from "./generators.js";
package/dist/types.d.mts DELETED
@@ -1,7 +0,0 @@
1
- import type { NuxtModule } from '@nuxt/schema'
2
-
3
- import type { default as Module } from './module.js'
4
-
5
- export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
-
7
- export { type GluharCoreOptions, default } from './module.js'
package/dist/types.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { NuxtModule } from '@nuxt/schema'
2
-
3
- import type { default as Module } from './module'
4
-
5
- export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
-
7
- export { type GluharCoreOptions, default } from './module'