@kikiloaw/simple-table 1.1.10 → 1.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kikiloaw/simple-table",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "A lightweight, dependency-light DataTable component for Vue 3 with Tailwind CSS",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -341,8 +341,10 @@ const paginationMeta = computed(() => {
341
341
  })
342
342
 
343
343
  // -- Computed: Page Numbers for Pagination --
344
+ const { width } = useWindowSize()
345
+
344
346
  const pageNumbers = computed(() => {
345
- const { width } = useWindowSize()
347
+ // const { width } = useWindowSize() // MOVED OUTSIDE
346
348
  const isMobile = width.value < 640
347
349
  const isExtraSmall = width.value < 550
348
350