@vueuse/metadata 12.0.0 → 12.1.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/index.cjs +33 -25
- package/index.json +34 -26
- package/index.mjs +33 -25
- package/package.json +2 -2
package/index.cjs
CHANGED
|
@@ -210,7 +210,7 @@ var functions$1 = [
|
|
|
210
210
|
{
|
|
211
211
|
name: "createEventHook",
|
|
212
212
|
"package": "shared",
|
|
213
|
-
lastUpdated:
|
|
213
|
+
lastUpdated: 1734838281000,
|
|
214
214
|
docs: "https://vueuse.org/shared/createEventHook/",
|
|
215
215
|
category: "Utilities",
|
|
216
216
|
description: "utility for creating event hooks"
|
|
@@ -337,7 +337,7 @@ var functions$1 = [
|
|
|
337
337
|
{
|
|
338
338
|
name: "injectLocal",
|
|
339
339
|
"package": "shared",
|
|
340
|
-
lastUpdated:
|
|
340
|
+
lastUpdated: 1734845260000,
|
|
341
341
|
docs: "https://vueuse.org/shared/injectLocal/",
|
|
342
342
|
category: "State",
|
|
343
343
|
description: "extended `inject` with ability to call `provideLocal` to provide the value in the same component"
|
|
@@ -508,7 +508,7 @@ var functions$1 = [
|
|
|
508
508
|
{
|
|
509
509
|
name: "refDebounced",
|
|
510
510
|
"package": "shared",
|
|
511
|
-
lastUpdated:
|
|
511
|
+
lastUpdated: 1734667787000,
|
|
512
512
|
docs: "https://vueuse.org/shared/refDebounced/",
|
|
513
513
|
category: "Reactivity",
|
|
514
514
|
description: "debounce execution of a ref value",
|
|
@@ -531,7 +531,7 @@ var functions$1 = [
|
|
|
531
531
|
{
|
|
532
532
|
name: "refThrottled",
|
|
533
533
|
"package": "shared",
|
|
534
|
-
lastUpdated:
|
|
534
|
+
lastUpdated: 1734667787000,
|
|
535
535
|
docs: "https://vueuse.org/shared/refThrottled/",
|
|
536
536
|
category: "Reactivity",
|
|
537
537
|
description: "throttle changing of a ref value",
|
|
@@ -771,7 +771,7 @@ var functions$1 = [
|
|
|
771
771
|
{
|
|
772
772
|
name: "useArrayFindLast",
|
|
773
773
|
"package": "shared",
|
|
774
|
-
lastUpdated:
|
|
774
|
+
lastUpdated: 1734667787000,
|
|
775
775
|
docs: "https://vueuse.org/shared/useArrayFindLast/",
|
|
776
776
|
category: "Array",
|
|
777
777
|
description: "reactive `Array.findLast`"
|
|
@@ -835,7 +835,7 @@ var functions$1 = [
|
|
|
835
835
|
{
|
|
836
836
|
name: "useAsyncState",
|
|
837
837
|
"package": "core",
|
|
838
|
-
lastUpdated:
|
|
838
|
+
lastUpdated: 1734843615000,
|
|
839
839
|
docs: "https://vueuse.org/core/useAsyncState/",
|
|
840
840
|
category: "State",
|
|
841
841
|
description: "reactive async state"
|
|
@@ -879,7 +879,7 @@ var functions$1 = [
|
|
|
879
879
|
{
|
|
880
880
|
name: "useBase64",
|
|
881
881
|
"package": "core",
|
|
882
|
-
lastUpdated:
|
|
882
|
+
lastUpdated: 1734596685000,
|
|
883
883
|
docs: "https://vueuse.org/core/useBase64/",
|
|
884
884
|
category: "Utilities",
|
|
885
885
|
description: "reactive base64 transforming"
|
|
@@ -904,7 +904,7 @@ var functions$1 = [
|
|
|
904
904
|
{
|
|
905
905
|
name: "useBreakpoints",
|
|
906
906
|
"package": "core",
|
|
907
|
-
lastUpdated:
|
|
907
|
+
lastUpdated: 1734844682000,
|
|
908
908
|
docs: "https://vueuse.org/core/useBreakpoints/",
|
|
909
909
|
category: "Browser",
|
|
910
910
|
description: "reactive viewport breakpoints"
|
|
@@ -1101,7 +1101,7 @@ var functions$1 = [
|
|
|
1101
1101
|
{
|
|
1102
1102
|
name: "useDeviceMotion",
|
|
1103
1103
|
"package": "core",
|
|
1104
|
-
lastUpdated:
|
|
1104
|
+
lastUpdated: 1734842783000,
|
|
1105
1105
|
component: true,
|
|
1106
1106
|
docs: "https://vueuse.org/core/useDeviceMotion/",
|
|
1107
1107
|
category: "Sensors",
|
|
@@ -1178,7 +1178,7 @@ var functions$1 = [
|
|
|
1178
1178
|
{
|
|
1179
1179
|
name: "useDropZone",
|
|
1180
1180
|
"package": "core",
|
|
1181
|
-
lastUpdated:
|
|
1181
|
+
lastUpdated: 1734844669000,
|
|
1182
1182
|
docs: "https://vueuse.org/core/useDropZone/",
|
|
1183
1183
|
category: "Elements",
|
|
1184
1184
|
description: "create a zone where files can be dropped"
|
|
@@ -1236,7 +1236,7 @@ var functions$1 = [
|
|
|
1236
1236
|
{
|
|
1237
1237
|
name: "useElementVisibility",
|
|
1238
1238
|
"package": "core",
|
|
1239
|
-
lastUpdated:
|
|
1239
|
+
lastUpdated: 1734843636000,
|
|
1240
1240
|
component: true,
|
|
1241
1241
|
directive: true,
|
|
1242
1242
|
docs: "https://vueuse.org/core/useElementVisibility/",
|
|
@@ -1295,7 +1295,7 @@ var functions$1 = [
|
|
|
1295
1295
|
{
|
|
1296
1296
|
name: "useFetch",
|
|
1297
1297
|
"package": "core",
|
|
1298
|
-
lastUpdated:
|
|
1298
|
+
lastUpdated: 1734845953000,
|
|
1299
1299
|
docs: "https://vueuse.org/core/useFetch/",
|
|
1300
1300
|
category: "Network",
|
|
1301
1301
|
description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
|
|
@@ -1448,7 +1448,7 @@ var functions$1 = [
|
|
|
1448
1448
|
{
|
|
1449
1449
|
name: "useIntersectionObserver",
|
|
1450
1450
|
"package": "core",
|
|
1451
|
-
lastUpdated:
|
|
1451
|
+
lastUpdated: 1734667787000,
|
|
1452
1452
|
directive: true,
|
|
1453
1453
|
docs: "https://vueuse.org/core/useIntersectionObserver/",
|
|
1454
1454
|
category: "Elements",
|
|
@@ -1568,7 +1568,7 @@ var functions$1 = [
|
|
|
1568
1568
|
{
|
|
1569
1569
|
name: "useMediaControls",
|
|
1570
1570
|
"package": "core",
|
|
1571
|
-
lastUpdated:
|
|
1571
|
+
lastUpdated: 1734845276000,
|
|
1572
1572
|
docs: "https://vueuse.org/core/useMediaControls/",
|
|
1573
1573
|
category: "Browser",
|
|
1574
1574
|
description: "reactive media controls for both `audio` and `video` elements"
|
|
@@ -1576,7 +1576,7 @@ var functions$1 = [
|
|
|
1576
1576
|
{
|
|
1577
1577
|
name: "useMediaQuery",
|
|
1578
1578
|
"package": "core",
|
|
1579
|
-
lastUpdated:
|
|
1579
|
+
lastUpdated: 1734844682000,
|
|
1580
1580
|
docs: "https://vueuse.org/core/useMediaQuery/",
|
|
1581
1581
|
category: "Browser",
|
|
1582
1582
|
description: "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
|
|
@@ -1898,7 +1898,7 @@ var functions$1 = [
|
|
|
1898
1898
|
{
|
|
1899
1899
|
name: "useRafFn",
|
|
1900
1900
|
"package": "core",
|
|
1901
|
-
lastUpdated:
|
|
1901
|
+
lastUpdated: 1734863699000,
|
|
1902
1902
|
docs: "https://vueuse.org/core/useRafFn/",
|
|
1903
1903
|
category: "Animation",
|
|
1904
1904
|
description: "call function on every `requestAnimationFrame`"
|
|
@@ -1944,7 +1944,7 @@ var functions$1 = [
|
|
|
1944
1944
|
{
|
|
1945
1945
|
name: "useRouteParams",
|
|
1946
1946
|
"package": "router",
|
|
1947
|
-
lastUpdated:
|
|
1947
|
+
lastUpdated: 1734843570000,
|
|
1948
1948
|
docs: "https://vueuse.org/router/useRouteParams/",
|
|
1949
1949
|
category: "@Router",
|
|
1950
1950
|
description: "shorthand for a reactive `route.params`"
|
|
@@ -1952,7 +1952,7 @@ var functions$1 = [
|
|
|
1952
1952
|
{
|
|
1953
1953
|
name: "useRouteQuery",
|
|
1954
1954
|
"package": "router",
|
|
1955
|
-
lastUpdated:
|
|
1955
|
+
lastUpdated: 1734843570000,
|
|
1956
1956
|
docs: "https://vueuse.org/router/useRouteQuery/",
|
|
1957
1957
|
category: "@Router",
|
|
1958
1958
|
description: "shorthand for a reactive `route.query`"
|
|
@@ -2001,7 +2001,7 @@ var functions$1 = [
|
|
|
2001
2001
|
{
|
|
2002
2002
|
name: "useScroll",
|
|
2003
2003
|
"package": "core",
|
|
2004
|
-
lastUpdated:
|
|
2004
|
+
lastUpdated: 1734843549000,
|
|
2005
2005
|
directive: true,
|
|
2006
2006
|
docs: "https://vueuse.org/core/useScroll/",
|
|
2007
2007
|
category: "Sensors",
|
|
@@ -2083,6 +2083,14 @@ var functions$1 = [
|
|
|
2083
2083
|
description: "spring animations.",
|
|
2084
2084
|
external: "https://motion.vueuse.org/api/use-spring"
|
|
2085
2085
|
},
|
|
2086
|
+
{
|
|
2087
|
+
name: "useSSRWidth",
|
|
2088
|
+
"package": "core",
|
|
2089
|
+
lastUpdated: 1734844682000,
|
|
2090
|
+
docs: "https://vueuse.org/core/useSSRWidth/",
|
|
2091
|
+
category: "Browser",
|
|
2092
|
+
description: "used to set a global viewport width which will be used when rendering SSR components that rely on the viewport width like [`useMediaQuery`](../useMediaQuery/index.md) or [`useBreakpoints`](../useBreakpoints/index.md)"
|
|
2093
|
+
},
|
|
2086
2094
|
{
|
|
2087
2095
|
name: "useStepper",
|
|
2088
2096
|
"package": "core",
|
|
@@ -2176,7 +2184,7 @@ var functions$1 = [
|
|
|
2176
2184
|
{
|
|
2177
2185
|
name: "useTextareaAutosize",
|
|
2178
2186
|
"package": "core",
|
|
2179
|
-
lastUpdated:
|
|
2187
|
+
lastUpdated: 1734843597000,
|
|
2180
2188
|
docs: "https://vueuse.org/core/useTextareaAutosize/",
|
|
2181
2189
|
category: "Browser",
|
|
2182
2190
|
description: "automatically update the height of a textarea depending on the content"
|
|
@@ -2315,7 +2323,7 @@ var functions$1 = [
|
|
|
2315
2323
|
{
|
|
2316
2324
|
name: "useUrlSearchParams",
|
|
2317
2325
|
"package": "core",
|
|
2318
|
-
lastUpdated:
|
|
2326
|
+
lastUpdated: 1734844647000,
|
|
2319
2327
|
docs: "https://vueuse.org/core/useUrlSearchParams/",
|
|
2320
2328
|
category: "Browser",
|
|
2321
2329
|
description: "reactive [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)"
|
|
@@ -2383,7 +2391,7 @@ var functions$1 = [
|
|
|
2383
2391
|
{
|
|
2384
2392
|
name: "useWebNotification",
|
|
2385
2393
|
"package": "core",
|
|
2386
|
-
lastUpdated:
|
|
2394
|
+
lastUpdated: 1734838225000,
|
|
2387
2395
|
docs: "https://vueuse.org/core/useWebNotification/",
|
|
2388
2396
|
category: "Browser",
|
|
2389
2397
|
description: "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
|
|
@@ -2391,7 +2399,7 @@ var functions$1 = [
|
|
|
2391
2399
|
{
|
|
2392
2400
|
name: "useWebSocket",
|
|
2393
2401
|
"package": "core",
|
|
2394
|
-
lastUpdated:
|
|
2402
|
+
lastUpdated: 1734845480000,
|
|
2395
2403
|
docs: "https://vueuse.org/core/useWebSocket/",
|
|
2396
2404
|
category: "Network",
|
|
2397
2405
|
description: "reactive [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket) client"
|
|
@@ -2438,7 +2446,7 @@ var functions$1 = [
|
|
|
2438
2446
|
{
|
|
2439
2447
|
name: "useWindowSize",
|
|
2440
2448
|
"package": "core",
|
|
2441
|
-
lastUpdated:
|
|
2449
|
+
lastUpdated: 1734843844000,
|
|
2442
2450
|
component: true,
|
|
2443
2451
|
docs: "https://vueuse.org/core/useWindowSize/",
|
|
2444
2452
|
category: "Elements",
|
|
@@ -2463,7 +2471,7 @@ var functions$1 = [
|
|
|
2463
2471
|
{
|
|
2464
2472
|
name: "utils",
|
|
2465
2473
|
"package": "shared",
|
|
2466
|
-
lastUpdated:
|
|
2474
|
+
lastUpdated: 1734844682000,
|
|
2467
2475
|
internal: true
|
|
2468
2476
|
},
|
|
2469
2477
|
{
|
package/index.json
CHANGED
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
{
|
|
210
210
|
"name": "createEventHook",
|
|
211
211
|
"package": "shared",
|
|
212
|
-
"lastUpdated":
|
|
212
|
+
"lastUpdated": 1734838281000,
|
|
213
213
|
"docs": "https://vueuse.org/shared/createEventHook/",
|
|
214
214
|
"category": "Utilities",
|
|
215
215
|
"description": "utility for creating event hooks"
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
{
|
|
337
337
|
"name": "injectLocal",
|
|
338
338
|
"package": "shared",
|
|
339
|
-
"lastUpdated":
|
|
339
|
+
"lastUpdated": 1734845260000,
|
|
340
340
|
"docs": "https://vueuse.org/shared/injectLocal/",
|
|
341
341
|
"category": "State",
|
|
342
342
|
"description": "extended `inject` with ability to call `provideLocal` to provide the value in the same component"
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
{
|
|
508
508
|
"name": "refDebounced",
|
|
509
509
|
"package": "shared",
|
|
510
|
-
"lastUpdated":
|
|
510
|
+
"lastUpdated": 1734667787000,
|
|
511
511
|
"docs": "https://vueuse.org/shared/refDebounced/",
|
|
512
512
|
"category": "Reactivity",
|
|
513
513
|
"description": "debounce execution of a ref value",
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
{
|
|
531
531
|
"name": "refThrottled",
|
|
532
532
|
"package": "shared",
|
|
533
|
-
"lastUpdated":
|
|
533
|
+
"lastUpdated": 1734667787000,
|
|
534
534
|
"docs": "https://vueuse.org/shared/refThrottled/",
|
|
535
535
|
"category": "Reactivity",
|
|
536
536
|
"description": "throttle changing of a ref value",
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
{
|
|
771
771
|
"name": "useArrayFindLast",
|
|
772
772
|
"package": "shared",
|
|
773
|
-
"lastUpdated":
|
|
773
|
+
"lastUpdated": 1734667787000,
|
|
774
774
|
"docs": "https://vueuse.org/shared/useArrayFindLast/",
|
|
775
775
|
"category": "Array",
|
|
776
776
|
"description": "reactive `Array.findLast`"
|
|
@@ -834,7 +834,7 @@
|
|
|
834
834
|
{
|
|
835
835
|
"name": "useAsyncState",
|
|
836
836
|
"package": "core",
|
|
837
|
-
"lastUpdated":
|
|
837
|
+
"lastUpdated": 1734843615000,
|
|
838
838
|
"docs": "https://vueuse.org/core/useAsyncState/",
|
|
839
839
|
"category": "State",
|
|
840
840
|
"description": "reactive async state"
|
|
@@ -878,7 +878,7 @@
|
|
|
878
878
|
{
|
|
879
879
|
"name": "useBase64",
|
|
880
880
|
"package": "core",
|
|
881
|
-
"lastUpdated":
|
|
881
|
+
"lastUpdated": 1734596685000,
|
|
882
882
|
"docs": "https://vueuse.org/core/useBase64/",
|
|
883
883
|
"category": "Utilities",
|
|
884
884
|
"description": "reactive base64 transforming"
|
|
@@ -903,7 +903,7 @@
|
|
|
903
903
|
{
|
|
904
904
|
"name": "useBreakpoints",
|
|
905
905
|
"package": "core",
|
|
906
|
-
"lastUpdated":
|
|
906
|
+
"lastUpdated": 1734844682000,
|
|
907
907
|
"docs": "https://vueuse.org/core/useBreakpoints/",
|
|
908
908
|
"category": "Browser",
|
|
909
909
|
"description": "reactive viewport breakpoints"
|
|
@@ -1100,7 +1100,7 @@
|
|
|
1100
1100
|
{
|
|
1101
1101
|
"name": "useDeviceMotion",
|
|
1102
1102
|
"package": "core",
|
|
1103
|
-
"lastUpdated":
|
|
1103
|
+
"lastUpdated": 1734842783000,
|
|
1104
1104
|
"component": true,
|
|
1105
1105
|
"docs": "https://vueuse.org/core/useDeviceMotion/",
|
|
1106
1106
|
"category": "Sensors",
|
|
@@ -1177,7 +1177,7 @@
|
|
|
1177
1177
|
{
|
|
1178
1178
|
"name": "useDropZone",
|
|
1179
1179
|
"package": "core",
|
|
1180
|
-
"lastUpdated":
|
|
1180
|
+
"lastUpdated": 1734844669000,
|
|
1181
1181
|
"docs": "https://vueuse.org/core/useDropZone/",
|
|
1182
1182
|
"category": "Elements",
|
|
1183
1183
|
"description": "create a zone where files can be dropped"
|
|
@@ -1235,7 +1235,7 @@
|
|
|
1235
1235
|
{
|
|
1236
1236
|
"name": "useElementVisibility",
|
|
1237
1237
|
"package": "core",
|
|
1238
|
-
"lastUpdated":
|
|
1238
|
+
"lastUpdated": 1734843636000,
|
|
1239
1239
|
"component": true,
|
|
1240
1240
|
"directive": true,
|
|
1241
1241
|
"docs": "https://vueuse.org/core/useElementVisibility/",
|
|
@@ -1294,7 +1294,7 @@
|
|
|
1294
1294
|
{
|
|
1295
1295
|
"name": "useFetch",
|
|
1296
1296
|
"package": "core",
|
|
1297
|
-
"lastUpdated":
|
|
1297
|
+
"lastUpdated": 1734845953000,
|
|
1298
1298
|
"docs": "https://vueuse.org/core/useFetch/",
|
|
1299
1299
|
"category": "Network",
|
|
1300
1300
|
"description": "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
|
|
@@ -1447,7 +1447,7 @@
|
|
|
1447
1447
|
{
|
|
1448
1448
|
"name": "useIntersectionObserver",
|
|
1449
1449
|
"package": "core",
|
|
1450
|
-
"lastUpdated":
|
|
1450
|
+
"lastUpdated": 1734667787000,
|
|
1451
1451
|
"directive": true,
|
|
1452
1452
|
"docs": "https://vueuse.org/core/useIntersectionObserver/",
|
|
1453
1453
|
"category": "Elements",
|
|
@@ -1567,7 +1567,7 @@
|
|
|
1567
1567
|
{
|
|
1568
1568
|
"name": "useMediaControls",
|
|
1569
1569
|
"package": "core",
|
|
1570
|
-
"lastUpdated":
|
|
1570
|
+
"lastUpdated": 1734845276000,
|
|
1571
1571
|
"docs": "https://vueuse.org/core/useMediaControls/",
|
|
1572
1572
|
"category": "Browser",
|
|
1573
1573
|
"description": "reactive media controls for both `audio` and `video` elements"
|
|
@@ -1575,7 +1575,7 @@
|
|
|
1575
1575
|
{
|
|
1576
1576
|
"name": "useMediaQuery",
|
|
1577
1577
|
"package": "core",
|
|
1578
|
-
"lastUpdated":
|
|
1578
|
+
"lastUpdated": 1734844682000,
|
|
1579
1579
|
"docs": "https://vueuse.org/core/useMediaQuery/",
|
|
1580
1580
|
"category": "Browser",
|
|
1581
1581
|
"description": "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
|
|
@@ -1897,7 +1897,7 @@
|
|
|
1897
1897
|
{
|
|
1898
1898
|
"name": "useRafFn",
|
|
1899
1899
|
"package": "core",
|
|
1900
|
-
"lastUpdated":
|
|
1900
|
+
"lastUpdated": 1734863699000,
|
|
1901
1901
|
"docs": "https://vueuse.org/core/useRafFn/",
|
|
1902
1902
|
"category": "Animation",
|
|
1903
1903
|
"description": "call function on every `requestAnimationFrame`"
|
|
@@ -1943,7 +1943,7 @@
|
|
|
1943
1943
|
{
|
|
1944
1944
|
"name": "useRouteParams",
|
|
1945
1945
|
"package": "router",
|
|
1946
|
-
"lastUpdated":
|
|
1946
|
+
"lastUpdated": 1734843570000,
|
|
1947
1947
|
"docs": "https://vueuse.org/router/useRouteParams/",
|
|
1948
1948
|
"category": "@Router",
|
|
1949
1949
|
"description": "shorthand for a reactive `route.params`"
|
|
@@ -1951,7 +1951,7 @@
|
|
|
1951
1951
|
{
|
|
1952
1952
|
"name": "useRouteQuery",
|
|
1953
1953
|
"package": "router",
|
|
1954
|
-
"lastUpdated":
|
|
1954
|
+
"lastUpdated": 1734843570000,
|
|
1955
1955
|
"docs": "https://vueuse.org/router/useRouteQuery/",
|
|
1956
1956
|
"category": "@Router",
|
|
1957
1957
|
"description": "shorthand for a reactive `route.query`"
|
|
@@ -2000,7 +2000,7 @@
|
|
|
2000
2000
|
{
|
|
2001
2001
|
"name": "useScroll",
|
|
2002
2002
|
"package": "core",
|
|
2003
|
-
"lastUpdated":
|
|
2003
|
+
"lastUpdated": 1734843549000,
|
|
2004
2004
|
"directive": true,
|
|
2005
2005
|
"docs": "https://vueuse.org/core/useScroll/",
|
|
2006
2006
|
"category": "Sensors",
|
|
@@ -2082,6 +2082,14 @@
|
|
|
2082
2082
|
"description": "spring animations.",
|
|
2083
2083
|
"external": "https://motion.vueuse.org/api/use-spring"
|
|
2084
2084
|
},
|
|
2085
|
+
{
|
|
2086
|
+
"name": "useSSRWidth",
|
|
2087
|
+
"package": "core",
|
|
2088
|
+
"lastUpdated": 1734844682000,
|
|
2089
|
+
"docs": "https://vueuse.org/core/useSSRWidth/",
|
|
2090
|
+
"category": "Browser",
|
|
2091
|
+
"description": "used to set a global viewport width which will be used when rendering SSR components that rely on the viewport width like [`useMediaQuery`](../useMediaQuery/index.md) or [`useBreakpoints`](../useBreakpoints/index.md)"
|
|
2092
|
+
},
|
|
2085
2093
|
{
|
|
2086
2094
|
"name": "useStepper",
|
|
2087
2095
|
"package": "core",
|
|
@@ -2175,7 +2183,7 @@
|
|
|
2175
2183
|
{
|
|
2176
2184
|
"name": "useTextareaAutosize",
|
|
2177
2185
|
"package": "core",
|
|
2178
|
-
"lastUpdated":
|
|
2186
|
+
"lastUpdated": 1734843597000,
|
|
2179
2187
|
"docs": "https://vueuse.org/core/useTextareaAutosize/",
|
|
2180
2188
|
"category": "Browser",
|
|
2181
2189
|
"description": "automatically update the height of a textarea depending on the content"
|
|
@@ -2314,7 +2322,7 @@
|
|
|
2314
2322
|
{
|
|
2315
2323
|
"name": "useUrlSearchParams",
|
|
2316
2324
|
"package": "core",
|
|
2317
|
-
"lastUpdated":
|
|
2325
|
+
"lastUpdated": 1734844647000,
|
|
2318
2326
|
"docs": "https://vueuse.org/core/useUrlSearchParams/",
|
|
2319
2327
|
"category": "Browser",
|
|
2320
2328
|
"description": "reactive [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)"
|
|
@@ -2382,7 +2390,7 @@
|
|
|
2382
2390
|
{
|
|
2383
2391
|
"name": "useWebNotification",
|
|
2384
2392
|
"package": "core",
|
|
2385
|
-
"lastUpdated":
|
|
2393
|
+
"lastUpdated": 1734838225000,
|
|
2386
2394
|
"docs": "https://vueuse.org/core/useWebNotification/",
|
|
2387
2395
|
"category": "Browser",
|
|
2388
2396
|
"description": "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
|
|
@@ -2390,7 +2398,7 @@
|
|
|
2390
2398
|
{
|
|
2391
2399
|
"name": "useWebSocket",
|
|
2392
2400
|
"package": "core",
|
|
2393
|
-
"lastUpdated":
|
|
2401
|
+
"lastUpdated": 1734845480000,
|
|
2394
2402
|
"docs": "https://vueuse.org/core/useWebSocket/",
|
|
2395
2403
|
"category": "Network",
|
|
2396
2404
|
"description": "reactive [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket) client"
|
|
@@ -2437,7 +2445,7 @@
|
|
|
2437
2445
|
{
|
|
2438
2446
|
"name": "useWindowSize",
|
|
2439
2447
|
"package": "core",
|
|
2440
|
-
"lastUpdated":
|
|
2448
|
+
"lastUpdated": 1734843844000,
|
|
2441
2449
|
"component": true,
|
|
2442
2450
|
"docs": "https://vueuse.org/core/useWindowSize/",
|
|
2443
2451
|
"category": "Elements",
|
|
@@ -2462,7 +2470,7 @@
|
|
|
2462
2470
|
{
|
|
2463
2471
|
"name": "utils",
|
|
2464
2472
|
"package": "shared",
|
|
2465
|
-
"lastUpdated":
|
|
2473
|
+
"lastUpdated": 1734844682000,
|
|
2466
2474
|
"internal": true
|
|
2467
2475
|
},
|
|
2468
2476
|
{
|
|
@@ -2582,4 +2590,4 @@
|
|
|
2582
2590
|
"description": "shorthand for watching value to be truthy"
|
|
2583
2591
|
}
|
|
2584
2592
|
]
|
|
2585
|
-
}
|
|
2593
|
+
}
|
package/index.mjs
CHANGED
|
@@ -208,7 +208,7 @@ var functions$1 = [
|
|
|
208
208
|
{
|
|
209
209
|
name: "createEventHook",
|
|
210
210
|
"package": "shared",
|
|
211
|
-
lastUpdated:
|
|
211
|
+
lastUpdated: 1734838281000,
|
|
212
212
|
docs: "https://vueuse.org/shared/createEventHook/",
|
|
213
213
|
category: "Utilities",
|
|
214
214
|
description: "utility for creating event hooks"
|
|
@@ -335,7 +335,7 @@ var functions$1 = [
|
|
|
335
335
|
{
|
|
336
336
|
name: "injectLocal",
|
|
337
337
|
"package": "shared",
|
|
338
|
-
lastUpdated:
|
|
338
|
+
lastUpdated: 1734845260000,
|
|
339
339
|
docs: "https://vueuse.org/shared/injectLocal/",
|
|
340
340
|
category: "State",
|
|
341
341
|
description: "extended `inject` with ability to call `provideLocal` to provide the value in the same component"
|
|
@@ -506,7 +506,7 @@ var functions$1 = [
|
|
|
506
506
|
{
|
|
507
507
|
name: "refDebounced",
|
|
508
508
|
"package": "shared",
|
|
509
|
-
lastUpdated:
|
|
509
|
+
lastUpdated: 1734667787000,
|
|
510
510
|
docs: "https://vueuse.org/shared/refDebounced/",
|
|
511
511
|
category: "Reactivity",
|
|
512
512
|
description: "debounce execution of a ref value",
|
|
@@ -529,7 +529,7 @@ var functions$1 = [
|
|
|
529
529
|
{
|
|
530
530
|
name: "refThrottled",
|
|
531
531
|
"package": "shared",
|
|
532
|
-
lastUpdated:
|
|
532
|
+
lastUpdated: 1734667787000,
|
|
533
533
|
docs: "https://vueuse.org/shared/refThrottled/",
|
|
534
534
|
category: "Reactivity",
|
|
535
535
|
description: "throttle changing of a ref value",
|
|
@@ -769,7 +769,7 @@ var functions$1 = [
|
|
|
769
769
|
{
|
|
770
770
|
name: "useArrayFindLast",
|
|
771
771
|
"package": "shared",
|
|
772
|
-
lastUpdated:
|
|
772
|
+
lastUpdated: 1734667787000,
|
|
773
773
|
docs: "https://vueuse.org/shared/useArrayFindLast/",
|
|
774
774
|
category: "Array",
|
|
775
775
|
description: "reactive `Array.findLast`"
|
|
@@ -833,7 +833,7 @@ var functions$1 = [
|
|
|
833
833
|
{
|
|
834
834
|
name: "useAsyncState",
|
|
835
835
|
"package": "core",
|
|
836
|
-
lastUpdated:
|
|
836
|
+
lastUpdated: 1734843615000,
|
|
837
837
|
docs: "https://vueuse.org/core/useAsyncState/",
|
|
838
838
|
category: "State",
|
|
839
839
|
description: "reactive async state"
|
|
@@ -877,7 +877,7 @@ var functions$1 = [
|
|
|
877
877
|
{
|
|
878
878
|
name: "useBase64",
|
|
879
879
|
"package": "core",
|
|
880
|
-
lastUpdated:
|
|
880
|
+
lastUpdated: 1734596685000,
|
|
881
881
|
docs: "https://vueuse.org/core/useBase64/",
|
|
882
882
|
category: "Utilities",
|
|
883
883
|
description: "reactive base64 transforming"
|
|
@@ -902,7 +902,7 @@ var functions$1 = [
|
|
|
902
902
|
{
|
|
903
903
|
name: "useBreakpoints",
|
|
904
904
|
"package": "core",
|
|
905
|
-
lastUpdated:
|
|
905
|
+
lastUpdated: 1734844682000,
|
|
906
906
|
docs: "https://vueuse.org/core/useBreakpoints/",
|
|
907
907
|
category: "Browser",
|
|
908
908
|
description: "reactive viewport breakpoints"
|
|
@@ -1099,7 +1099,7 @@ var functions$1 = [
|
|
|
1099
1099
|
{
|
|
1100
1100
|
name: "useDeviceMotion",
|
|
1101
1101
|
"package": "core",
|
|
1102
|
-
lastUpdated:
|
|
1102
|
+
lastUpdated: 1734842783000,
|
|
1103
1103
|
component: true,
|
|
1104
1104
|
docs: "https://vueuse.org/core/useDeviceMotion/",
|
|
1105
1105
|
category: "Sensors",
|
|
@@ -1176,7 +1176,7 @@ var functions$1 = [
|
|
|
1176
1176
|
{
|
|
1177
1177
|
name: "useDropZone",
|
|
1178
1178
|
"package": "core",
|
|
1179
|
-
lastUpdated:
|
|
1179
|
+
lastUpdated: 1734844669000,
|
|
1180
1180
|
docs: "https://vueuse.org/core/useDropZone/",
|
|
1181
1181
|
category: "Elements",
|
|
1182
1182
|
description: "create a zone where files can be dropped"
|
|
@@ -1234,7 +1234,7 @@ var functions$1 = [
|
|
|
1234
1234
|
{
|
|
1235
1235
|
name: "useElementVisibility",
|
|
1236
1236
|
"package": "core",
|
|
1237
|
-
lastUpdated:
|
|
1237
|
+
lastUpdated: 1734843636000,
|
|
1238
1238
|
component: true,
|
|
1239
1239
|
directive: true,
|
|
1240
1240
|
docs: "https://vueuse.org/core/useElementVisibility/",
|
|
@@ -1293,7 +1293,7 @@ var functions$1 = [
|
|
|
1293
1293
|
{
|
|
1294
1294
|
name: "useFetch",
|
|
1295
1295
|
"package": "core",
|
|
1296
|
-
lastUpdated:
|
|
1296
|
+
lastUpdated: 1734845953000,
|
|
1297
1297
|
docs: "https://vueuse.org/core/useFetch/",
|
|
1298
1298
|
category: "Network",
|
|
1299
1299
|
description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
|
|
@@ -1446,7 +1446,7 @@ var functions$1 = [
|
|
|
1446
1446
|
{
|
|
1447
1447
|
name: "useIntersectionObserver",
|
|
1448
1448
|
"package": "core",
|
|
1449
|
-
lastUpdated:
|
|
1449
|
+
lastUpdated: 1734667787000,
|
|
1450
1450
|
directive: true,
|
|
1451
1451
|
docs: "https://vueuse.org/core/useIntersectionObserver/",
|
|
1452
1452
|
category: "Elements",
|
|
@@ -1566,7 +1566,7 @@ var functions$1 = [
|
|
|
1566
1566
|
{
|
|
1567
1567
|
name: "useMediaControls",
|
|
1568
1568
|
"package": "core",
|
|
1569
|
-
lastUpdated:
|
|
1569
|
+
lastUpdated: 1734845276000,
|
|
1570
1570
|
docs: "https://vueuse.org/core/useMediaControls/",
|
|
1571
1571
|
category: "Browser",
|
|
1572
1572
|
description: "reactive media controls for both `audio` and `video` elements"
|
|
@@ -1574,7 +1574,7 @@ var functions$1 = [
|
|
|
1574
1574
|
{
|
|
1575
1575
|
name: "useMediaQuery",
|
|
1576
1576
|
"package": "core",
|
|
1577
|
-
lastUpdated:
|
|
1577
|
+
lastUpdated: 1734844682000,
|
|
1578
1578
|
docs: "https://vueuse.org/core/useMediaQuery/",
|
|
1579
1579
|
category: "Browser",
|
|
1580
1580
|
description: "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
|
|
@@ -1896,7 +1896,7 @@ var functions$1 = [
|
|
|
1896
1896
|
{
|
|
1897
1897
|
name: "useRafFn",
|
|
1898
1898
|
"package": "core",
|
|
1899
|
-
lastUpdated:
|
|
1899
|
+
lastUpdated: 1734863699000,
|
|
1900
1900
|
docs: "https://vueuse.org/core/useRafFn/",
|
|
1901
1901
|
category: "Animation",
|
|
1902
1902
|
description: "call function on every `requestAnimationFrame`"
|
|
@@ -1942,7 +1942,7 @@ var functions$1 = [
|
|
|
1942
1942
|
{
|
|
1943
1943
|
name: "useRouteParams",
|
|
1944
1944
|
"package": "router",
|
|
1945
|
-
lastUpdated:
|
|
1945
|
+
lastUpdated: 1734843570000,
|
|
1946
1946
|
docs: "https://vueuse.org/router/useRouteParams/",
|
|
1947
1947
|
category: "@Router",
|
|
1948
1948
|
description: "shorthand for a reactive `route.params`"
|
|
@@ -1950,7 +1950,7 @@ var functions$1 = [
|
|
|
1950
1950
|
{
|
|
1951
1951
|
name: "useRouteQuery",
|
|
1952
1952
|
"package": "router",
|
|
1953
|
-
lastUpdated:
|
|
1953
|
+
lastUpdated: 1734843570000,
|
|
1954
1954
|
docs: "https://vueuse.org/router/useRouteQuery/",
|
|
1955
1955
|
category: "@Router",
|
|
1956
1956
|
description: "shorthand for a reactive `route.query`"
|
|
@@ -1999,7 +1999,7 @@ var functions$1 = [
|
|
|
1999
1999
|
{
|
|
2000
2000
|
name: "useScroll",
|
|
2001
2001
|
"package": "core",
|
|
2002
|
-
lastUpdated:
|
|
2002
|
+
lastUpdated: 1734843549000,
|
|
2003
2003
|
directive: true,
|
|
2004
2004
|
docs: "https://vueuse.org/core/useScroll/",
|
|
2005
2005
|
category: "Sensors",
|
|
@@ -2081,6 +2081,14 @@ var functions$1 = [
|
|
|
2081
2081
|
description: "spring animations.",
|
|
2082
2082
|
external: "https://motion.vueuse.org/api/use-spring"
|
|
2083
2083
|
},
|
|
2084
|
+
{
|
|
2085
|
+
name: "useSSRWidth",
|
|
2086
|
+
"package": "core",
|
|
2087
|
+
lastUpdated: 1734844682000,
|
|
2088
|
+
docs: "https://vueuse.org/core/useSSRWidth/",
|
|
2089
|
+
category: "Browser",
|
|
2090
|
+
description: "used to set a global viewport width which will be used when rendering SSR components that rely on the viewport width like [`useMediaQuery`](../useMediaQuery/index.md) or [`useBreakpoints`](../useBreakpoints/index.md)"
|
|
2091
|
+
},
|
|
2084
2092
|
{
|
|
2085
2093
|
name: "useStepper",
|
|
2086
2094
|
"package": "core",
|
|
@@ -2174,7 +2182,7 @@ var functions$1 = [
|
|
|
2174
2182
|
{
|
|
2175
2183
|
name: "useTextareaAutosize",
|
|
2176
2184
|
"package": "core",
|
|
2177
|
-
lastUpdated:
|
|
2185
|
+
lastUpdated: 1734843597000,
|
|
2178
2186
|
docs: "https://vueuse.org/core/useTextareaAutosize/",
|
|
2179
2187
|
category: "Browser",
|
|
2180
2188
|
description: "automatically update the height of a textarea depending on the content"
|
|
@@ -2313,7 +2321,7 @@ var functions$1 = [
|
|
|
2313
2321
|
{
|
|
2314
2322
|
name: "useUrlSearchParams",
|
|
2315
2323
|
"package": "core",
|
|
2316
|
-
lastUpdated:
|
|
2324
|
+
lastUpdated: 1734844647000,
|
|
2317
2325
|
docs: "https://vueuse.org/core/useUrlSearchParams/",
|
|
2318
2326
|
category: "Browser",
|
|
2319
2327
|
description: "reactive [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)"
|
|
@@ -2381,7 +2389,7 @@ var functions$1 = [
|
|
|
2381
2389
|
{
|
|
2382
2390
|
name: "useWebNotification",
|
|
2383
2391
|
"package": "core",
|
|
2384
|
-
lastUpdated:
|
|
2392
|
+
lastUpdated: 1734838225000,
|
|
2385
2393
|
docs: "https://vueuse.org/core/useWebNotification/",
|
|
2386
2394
|
category: "Browser",
|
|
2387
2395
|
description: "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
|
|
@@ -2389,7 +2397,7 @@ var functions$1 = [
|
|
|
2389
2397
|
{
|
|
2390
2398
|
name: "useWebSocket",
|
|
2391
2399
|
"package": "core",
|
|
2392
|
-
lastUpdated:
|
|
2400
|
+
lastUpdated: 1734845480000,
|
|
2393
2401
|
docs: "https://vueuse.org/core/useWebSocket/",
|
|
2394
2402
|
category: "Network",
|
|
2395
2403
|
description: "reactive [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket) client"
|
|
@@ -2436,7 +2444,7 @@ var functions$1 = [
|
|
|
2436
2444
|
{
|
|
2437
2445
|
name: "useWindowSize",
|
|
2438
2446
|
"package": "core",
|
|
2439
|
-
lastUpdated:
|
|
2447
|
+
lastUpdated: 1734843844000,
|
|
2440
2448
|
component: true,
|
|
2441
2449
|
docs: "https://vueuse.org/core/useWindowSize/",
|
|
2442
2450
|
category: "Elements",
|
|
@@ -2461,7 +2469,7 @@ var functions$1 = [
|
|
|
2461
2469
|
{
|
|
2462
2470
|
name: "utils",
|
|
2463
2471
|
"package": "shared",
|
|
2464
|
-
lastUpdated:
|
|
2472
|
+
lastUpdated: 1734844682000,
|
|
2465
2473
|
internal: true
|
|
2466
2474
|
},
|
|
2467
2475
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vueuse/metadata",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "12.
|
|
4
|
+
"version": "12.1.0",
|
|
5
5
|
"description": "Metadata for VueUse functions",
|
|
6
6
|
"author": "Anthony Fu <https://github.com/antfu>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -36,4 +36,4 @@
|
|
|
36
36
|
"scripts": {
|
|
37
37
|
"update": "esno scripts/update.ts"
|
|
38
38
|
}
|
|
39
|
-
}
|
|
39
|
+
}
|