@gluhar/core 3.0.0 → 4.0.0

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,357 +3,376 @@
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
- # [3.0.0](https://github.com/gluharry/gluhar/compare/@gluhar/core@2.0.0...@gluhar/core@3.0.0) (2025-05-13)
7
-
8
- **📝 Note:** Version bump only for package @gluhar/core
9
-
10
-
11
-
12
-
13
-
14
- # 2.0.0 (2025-01-21)
15
-
16
-
17
- ### 🩹 Fixes
18
-
19
- - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
20
- - Copy readme and changelog to dist on build ([5b27677](https://github.com/harryyaprakov/hui/commit/5b27677f8a18a21d1ccbea85bb0d8a611c43938e))
21
- - Core build ([a2228e7](https://github.com/harryyaprakov/hui/commit/a2228e70f3fb18ddc7bd79961e9c8e161d3dfbe2))
22
- - **core:** Making a test change to core ([00b9629](https://github.com/harryyaprakov/hui/commit/00b9629ab3dd209931dc2cf1cc222beb5a89cfa4))
23
- - GetRandomBetween returning something wildly incorrect ([76dfb02](https://github.com/harryyaprakov/hui/commit/76dfb02b7b1f6063496ef47b7f0300749245be65))
24
- - Hui-core module name ([51c45dc](https://github.com/harryyaprakov/hui/commit/51c45dc55bd675fc0899aca4efb2a456d942c9c6))
25
- - Package json fixes ([a5823da](https://github.com/harryyaprakov/hui/commit/a5823daef779c4d9be0e0794cee20ee120ed6c6b))
26
- - Pimp changelog ([c813e4a](https://github.com/harryyaprakov/hui/commit/c813e4a4a7ce19d09ee46a20ae6d351086472f1c))
27
- - Type imports, core types export ([866186a](https://github.com/harryyaprakov/hui/commit/866186aca1ad1bab03b5b6b0d0621a29f67518f6))
28
-
29
-
30
- ### 🚀 Enhancements
31
-
32
- - Hui-core is in v1 ([30acbca](https://github.com/harryyaprakov/hui/commit/30acbcaa732a8ec92b472c1144da83342b2c3775))
33
- - Initiate hui-core as a package for basic shared composables, utils and types. ([0570751](https://github.com/harryyaprakov/hui/commit/0570751b8e8810c135557b42ed8d4d03ab389b30))
34
- - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
35
- - Proper build and dist process for core and sanity ([3699c59](https://github.com/harryyaprakov/hui/commit/3699c59cd24dc9a9a34779c89924101c938a59de))
36
- - Some test feature added ([012c975](https://github.com/harryyaprakov/hui/commit/012c97562d237a5c762ad9d2f82c7d2e76d5a605))
37
- - UseBaseUrl ([cb32c71](https://github.com/harryyaprakov/hui/commit/cb32c714fde766e7394fac792b7d86acf84d17e8))
38
- - Version bump ([32cd173](https://github.com/harryyaprakov/hui/commit/32cd173ed800a4d4ede5286e65b9c5728ce39950))
39
-
40
-
41
-
42
- ## 0.0.5 (2024-02-25)
43
-
44
-
45
- ### 🚀 Enhancements
46
-
47
- - Init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc45457acec888806c58bdcb7f5f0fba9472))
48
- - **repo:** Added lerna ([dadeca9](https://github.com/harryyaprakov/hui/commit/dadeca9b503dbe2b0f3c25eaaf7a85e7f2dd21c4))
49
-
50
-
51
-
52
-
53
-
54
- # [1.3.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.2.0...@pezak/hui-core@1.3.0) (2024-09-12)
55
-
56
-
57
- ### 🚀 Enhancements
58
-
59
- - UseBaseUrl ([cb32c71](https://github.com/harryyaprakov/hui/commit/cb32c714fde766e7394fac792b7d86acf84d17e8))
60
-
61
-
62
-
63
-
64
-
65
- # [1.2.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.5...@pezak/hui-core@1.2.0) (2024-09-12)
66
-
67
-
68
- ### 🚀 Enhancements
69
-
70
- - Version bump ([32cd173](https://github.com/harryyaprakov/hui/commit/32cd173ed800a4d4ede5286e65b9c5728ce39950))
71
-
72
-
73
-
74
-
75
-
76
- ## [1.1.5](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.4...@pezak/hui-core@1.1.5) (2024-09-12)
77
-
78
- **📝 Note:** Version bump only for package @pezak/hui-core
79
-
80
-
81
-
82
-
83
-
84
- ## [1.1.4](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.3...@pezak/hui-core@1.1.4) (2024-05-10)
85
-
86
-
87
- ### 🩹 Fixes
88
-
89
- - GetRandomBetween returning something wildly incorrect ([76dfb02](https://github.com/harryyaprakov/hui/commit/76dfb02b7b1f6063496ef47b7f0300749245be65))
90
-
91
-
92
-
93
-
94
-
95
- ## [1.1.3](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.2...@pezak/hui-core@1.1.3) (2024-04-10)
96
-
97
-
98
- ### 🩹 Fixes
99
-
100
- - Type imports, core types export ([866186a](https://github.com/harryyaprakov/hui/commit/866186aca1ad1bab03b5b6b0d0621a29f67518f6))
101
-
102
-
103
-
104
-
105
-
106
- ## [1.1.2](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.1...@pezak/hui-core@1.1.2) (2024-03-31)
107
-
108
- **📝 Note:** Version bump only for package @pezak/hui-core
109
-
110
-
111
-
112
-
113
-
114
- ## [1.1.1](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.1.0...@pezak/hui-core@1.1.1) (2024-03-27)
115
-
116
- **📝 Note:** Version bump only for package @pezak/hui-core
117
-
118
-
119
-
120
-
121
-
122
- # [1.1.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.4...@pezak/hui-core@1.1.0) (2024-03-27)
123
-
124
-
125
- ### 🚀 Enhancements
126
-
127
- - Proper build and dist process for core and sanity ([3699c59](https://github.com/harryyaprakov/hui/commit/3699c59cd24dc9a9a34779c89924101c938a59de))
128
-
129
-
130
-
131
-
132
-
133
- ## [1.0.4](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.3...@pezak/hui-core@1.0.4) (2024-03-26)
134
-
135
-
136
- ### 🩹 Fixes
137
-
138
- - Package json fixes ([a5823da](https://github.com/harryyaprakov/hui/commit/a5823daef779c4d9be0e0794cee20ee120ed6c6b))
139
-
140
-
141
-
142
-
143
-
144
- ## [1.0.3](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.2...@pezak/hui-core@1.0.3) (2024-03-26)
145
-
146
-
147
- ### 🩹 Fixes
148
-
149
- - Copy readme and changelog to dist on build ([5b27677](https://github.com/harryyaprakov/hui/commit/5b27677f8a18a21d1ccbea85bb0d8a611c43938e))
150
-
151
-
152
-
153
-
154
-
155
- ## [1.0.2](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.0...@pezak/hui-core@1.0.2) (2024-03-26)
156
-
157
-
158
- ### 🩹 Fixes
159
-
160
- - Hui-core module name ([51c45dc](https://github.com/harryyaprakov/hui/commit/51c45dc55bd675fc0899aca4efb2a456d942c9c6))
161
-
162
-
163
-
164
-
165
-
166
- ## [1.0.1](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@1.0.0...@pezak/hui-core@1.0.1) (2024-03-26)
167
-
168
-
169
- ### 🩹 Fixes
170
-
171
- - Hui-core module name ([51c45dc](https://github.com/harryyaprakov/hui/commit/51c45dc55bd675fc0899aca4efb2a456d942c9c6))
172
-
173
-
174
-
175
-
176
-
177
- # [1.0.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.5.0...@pezak/hui-core@1.0.0) (2024-03-26)
178
-
179
-
180
- ### 🚀 Enhancements
181
-
182
- - Hui-core is in v1 ([30acbca](https://github.com/harryyaprakov/hui/commit/30acbcaa732a8ec92b472c1144da83342b2c3775))
183
- - Initiate hui-core as a package for basic shared composables, utils and types. ([0570751](https://github.com/harryyaprakov/hui/commit/0570751b8e8810c135557b42ed8d4d03ab389b30))
184
-
185
-
186
-
187
-
188
-
189
- # [0.5.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.2.0...@pezak/hui-core@0.5.0) (2024-03-26)
190
-
191
-
192
- ### 🩹 Fixes
193
-
194
- - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
195
- - Pimp changelog ([c813e4a](https://github.com/harryyaprakov/hui/commit/c813e4a4a7ce19d09ee46a20ae6d351086472f1c))
196
-
197
-
198
- ### 🚀 Enhancements
199
-
200
- - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
201
-
202
-
203
-
204
-
205
-
206
- # [0.4.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.2.0...@pezak/hui-core@0.4.0) (2024-03-26)
207
-
208
-
209
- ### 🩹 Fixes
210
-
211
- - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
212
- - Pimp changelog ([c813e4a](https://github.com/harryyaprakov/hui/commit/c813e4a4a7ce19d09ee46a20ae6d351086472f1c))
213
-
214
-
215
- ### 🚀 Enhancements
216
-
217
- - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
218
-
219
-
220
-
221
-
222
-
223
- # [0.3.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.2.0...@pezak/hui-core@0.3.0) (2024-03-26)
224
-
225
-
226
- ### 🩹 Fixes
227
-
228
- - A small change again ([e664a0f](https://github.com/harryyaprakov/hui/commit/e664a0f22f5f6a9977064181b7d66f4e91ac7988))
229
-
230
-
231
- ### 🚀 Enhancements
232
-
233
- - Pimp changelogs to be like Nuxt / unjs/changelogen ([afeb9cc](https://github.com/harryyaprakov/hui/commit/afeb9cce1b507e51beb1b8aa8e919c841b28ba02))
234
-
235
-
236
-
237
-
238
-
239
- # [0.2.0](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.5...@pezak/hui-core@0.2.0) (2024-03-25)
240
-
241
-
242
- ### 🚀 Enhancements
243
-
244
- - Some test feature added ([012c975](https://github.com/harryyaprakov/hui/commit/012c97562d237a5c762ad9d2f82c7d2e76d5a605))
245
-
246
-
247
-
248
-
249
-
250
- ## [0.1.5](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.4...@pezak/hui-core@0.1.5) (2024-03-25)
251
-
252
- **📝 Note:** Version bump only for package @pezak/hui-core
253
-
254
-
255
-
256
-
257
-
258
- ## [0.1.4](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.3...@pezak/hui-core@0.1.4) (2024-03-25)
259
-
260
- **📝 Note:** Version bump only for package @pezak/hui-core
261
-
262
-
263
-
264
-
265
-
266
- ## [0.1.3](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.2...@pezak/hui-core@0.1.3) (2024-03-25)
267
-
268
-
269
- ### 🩹 Fixes
270
-
271
- - Core build ([a2228e7](https://github.com/harryyaprakov/hui/commit/a2228e70f3fb18ddc7bd79961e9c8e161d3dfbe2))
272
-
273
-
274
-
275
-
276
-
277
- ## [0.1.2](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.0...@pezak/hui-core@0.1.2) (2024-03-25)
278
-
279
- **📝 Note:** Version bump only for package @pezak/hui-core
280
-
281
-
282
-
283
-
284
-
285
- ## [0.1.1](https://github.com/harryyaprakov/hui/compare/@pezak/hui-core@0.1.0...@pezak/hui-core@0.1.1) (2024-03-25)
286
-
287
- **📝 Note:** Version bump only for package @pezak/hui-core
288
-
289
-
290
-
291
-
292
-
293
- # 0.1.0 (2024-02-25)
294
-
295
- ### 🩹 Fixes
296
-
297
- - **core:** making a test change to core ([00b9629](https://github.com/harryyaprakov/hui/commit/00b9629ab3dd209931dc2cf1cc222beb5a89cfa4))
298
-
299
- ## 0.0.5 (2024-02-25)
300
-
301
- ### 🚀 Enhancements
302
-
303
- - init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc45457acec888806c58bdcb7f5f0fba9472))
304
- - **repo:** added lerna ([dadeca9](https://github.com/harryyaprakov/hui/commit/dadeca9b503dbe2b0f3c25eaaf7a85e7f2dd21c4))
305
-
306
- # @pezak/hui-core
307
-
308
- ## v0.0.5
309
-
310
- [compare changes](https://github.com/harryyaprakov/hui/compare/v0.0.3...v0.0.5)
311
-
312
- ### 🚀 Enhancements
313
-
314
- - Init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc4))
315
- - **repo:** Added lerna ([dadeca9](https://github.com/harryyaprakov/hui/commit/dadeca9))
316
-
317
- ### 🩹 Fixes
318
-
319
- - Publish without release label ([c233f3d](https://github.com/harryyaprakov/hui/commit/c233f3d))
320
-
321
- ### 🏡 Chore
322
-
323
- - Testing out changeset ([c8ab5f3](https://github.com/harryyaprakov/hui/commit/c8ab5f3))
324
- - Add auto for versioning and publishing ([ec5caf9](https://github.com/harryyaprakov/hui/commit/ec5caf9))
325
- - Remove turbo and add lerna ([1ae9159](https://github.com/harryyaprakov/hui/commit/1ae9159))
326
- - Add workspaces scripts ([4020d94](https://github.com/harryyaprakov/hui/commit/4020d94))
327
- - **release:** V0.0.3 ([e0bcb93](https://github.com/harryyaprakov/hui/commit/e0bcb93))
328
- - **release:** V0.0.3 ([b32aa79](https://github.com/harryyaprakov/hui/commit/b32aa79))
329
-
330
- ### ❤️ Contributors
331
-
332
- - Harry Yaprakov <h@yaprakov.com>
333
-
334
- ## v0.0.3
335
-
336
- ### 🚀 Enhancements
337
-
338
- - Init dev with two example packages ([416ecc4](https://github.com/harryyaprakov/hui/commit/416ecc4))
339
-
340
- ### 🩹 Fixes
341
-
342
- - Publish without release label ([c233f3d](https://github.com/harryyaprakov/hui/commit/c233f3d))
343
-
344
- ### 🏡 Chore
345
-
346
- - Testing out changeset ([c8ab5f3](https://github.com/harryyaprakov/hui/commit/c8ab5f3))
347
- - Add auto for versioning and publishing ([ec5caf9](https://github.com/harryyaprakov/hui/commit/ec5caf9))
348
- - Remove turbo and add lerna ([1ae9159](https://github.com/harryyaprakov/hui/commit/1ae9159))
349
- - Add workspaces scripts ([4020d94](https://github.com/harryyaprakov/hui/commit/4020d94))
350
-
351
- ### ❤️ Contributors
352
-
353
- - Harry Yaprakov <h@yaprakov.com>
354
-
355
- ## 0.0.2
356
-
357
- ### Patch Changes
358
-
6
+ # [4.0.0](https://github.com/gluharco/gluhar/compare/@gluhar/core@3.0.0...@gluhar/core@4.0.0) (2026-03-13)
7
+
8
+
9
+ * feat(core)!: replace useResponsive with full breakpoint implementation ([887729a](https://github.com/gluharco/gluhar/commit/887729af8659b6b6529ac8463a382e8d1825d885))
10
+
11
+
12
+ ### BREAKING CHANGES
13
+
14
+ * useResponsive now returns { mobile, tablet, tabletExact, desktop, desktopExact, wide, touch }
15
+ instead of { isMobile, breakpoints }.
16
+
17
+ Supersedes the project-level useMobile composable used across all projects.
18
+ Breakpoints: tablet 768, desktop 1200, wide 2000 (hardcoded for now — will derive from Tailwind config in future).
19
+
20
+
21
+
22
+
23
+
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
+
359
378
  - 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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/core",
3
3
  "configKey": "gluharCore",
4
- "version": "3.0.0",
4
+ "version": "4.0.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
@@ -1,17 +1,9 @@
1
1
  export declare const useResponsive: () => {
2
- isMobile: import("vue").Ref<boolean, boolean>;
3
- breakpoints: Record<"sm" | "md" | "lg" | "xl" | "2xl", import("vue").Ref<boolean, boolean>> & {
4
- greaterOrEqual: (k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">) => import("vue").Ref<boolean>;
5
- smallerOrEqual: (k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">) => import("vue").Ref<boolean>;
6
- greater(k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): import("vue").Ref<boolean>;
7
- smaller(k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): import("vue").Ref<boolean>;
8
- between(a: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">, b: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): import("vue").Ref<boolean>;
9
- isGreater(k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
10
- isGreaterOrEqual(k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
11
- isSmaller(k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
12
- isSmallerOrEqual(k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
13
- isInBetween(a: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">, b: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl" | "2xl">): boolean;
14
- current: () => import("vue").ComputedRef<string[]>;
15
- active(): import("vue").ComputedRef<string | undefined>;
16
- };
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>;
17
9
  };
@@ -1,8 +1,26 @@
1
+ import { computed } from "#imports";
1
2
  import { useBreakpoints, breakpointsTailwind } from "@vueuse/core";
2
3
  import { useDevice } from "#imports";
3
4
  export const useResponsive = () => {
4
- const breakpoints = useBreakpoints(breakpointsTailwind);
5
+ const breakpoints = useBreakpoints({
6
+ ...breakpointsTailwind,
7
+ tablet: 768,
8
+ desktop: 1200,
9
+ wide: 2e3
10
+ });
5
11
  const { isMobile } = useDevice();
6
- const mobile = breakpoints.smaller("sm") || isMobile;
7
- return { isMobile: mobile, breakpoints };
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 };
8
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gluhar/core",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
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": "2634d1a4a3ab95f49bb828208b33ccf6284f9b3d"
56
+ "gitHead": "37c79c38049ee2d91e649523539808c2fdbffd88"
57
57
  }