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