@vueuse/metadata 9.0.2 → 9.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 CHANGED
@@ -940,7 +940,7 @@ var functions$1 = [
940
940
  {
941
941
  name: "useCycleList",
942
942
  "package": "core",
943
- lastUpdated: 1658083596000,
943
+ lastUpdated: 1659556886000,
944
944
  docs: "https://vueuse.org/core/useCycleList/",
945
945
  category: "Utilities",
946
946
  description: "cycle through a list of items"
@@ -1171,7 +1171,7 @@ var functions$1 = [
1171
1171
  {
1172
1172
  name: "useFavicon",
1173
1173
  "package": "core",
1174
- lastUpdated: 1657634950000,
1174
+ lastUpdated: 1659585871000,
1175
1175
  docs: "https://vueuse.org/core/useFavicon/",
1176
1176
  category: "Browser",
1177
1177
  description: "reactive favicon"
@@ -1599,7 +1599,7 @@ var functions$1 = [
1599
1599
  {
1600
1600
  name: "useOffsetPagination",
1601
1601
  "package": "core",
1602
- lastUpdated: 1658163976000,
1602
+ lastUpdated: 1659592690000,
1603
1603
  component: true,
1604
1604
  docs: "https://vueuse.org/core/useOffsetPagination/",
1605
1605
  category: "Utilities",
@@ -1659,6 +1659,14 @@ var functions$1 = [
1659
1659
  category: "Sensors",
1660
1660
  description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
1661
1661
  },
1662
+ {
1663
+ name: "usePrecision",
1664
+ "package": "math",
1665
+ lastUpdated: 1659586173000,
1666
+ docs: "https://vueuse.org/math/usePrecision/",
1667
+ category: "@Math",
1668
+ description: "reactively set the precision of a number"
1669
+ },
1662
1670
  {
1663
1671
  name: "usePreferredColorScheme",
1664
1672
  "package": "core",
@@ -1690,6 +1698,15 @@ var functions$1 = [
1690
1698
  category: "Browser",
1691
1699
  description: "reactive [Navigator Languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)"
1692
1700
  },
1701
+ {
1702
+ name: "usePreferredReducedMotion",
1703
+ "package": "core",
1704
+ lastUpdated: 1659593252000,
1705
+ component: true,
1706
+ docs: "https://vueuse.org/core/usePreferredReducedMotion/",
1707
+ category: "Browser",
1708
+ description: "reactive [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) media query"
1709
+ },
1693
1710
  {
1694
1711
  name: "useProjection",
1695
1712
  "package": "math",
@@ -1808,7 +1825,7 @@ var functions$1 = [
1808
1825
  {
1809
1826
  name: "useScriptTag",
1810
1827
  "package": "core",
1811
- lastUpdated: 1657259100000,
1828
+ lastUpdated: 1659556839000,
1812
1829
  docs: "https://vueuse.org/core/useScriptTag/",
1813
1830
  category: "Browser",
1814
1831
  description: "script tag injecting"
@@ -2072,10 +2089,11 @@ var functions$1 = [
2072
2089
  {
2073
2090
  name: "useToFixed",
2074
2091
  "package": "math",
2075
- lastUpdated: 1659101366000,
2092
+ lastUpdated: 1659586610000,
2076
2093
  docs: "https://vueuse.org/math/useToFixed/",
2077
2094
  category: "@Math",
2078
- description: "reactive `toFixed`"
2095
+ description: "reactive `toFixed`",
2096
+ deprecated: true
2079
2097
  },
2080
2098
  {
2081
2099
  name: "useToggle",
@@ -2085,10 +2103,26 @@ var functions$1 = [
2085
2103
  category: "Utilities",
2086
2104
  description: "a boolean switcher with utility functions"
2087
2105
  },
2106
+ {
2107
+ name: "useToNumber",
2108
+ "package": "shared",
2109
+ lastUpdated: 1659592336000,
2110
+ docs: "https://vueuse.org/shared/useToNumber/",
2111
+ category: "Utilities",
2112
+ description: "reactively convert a string ref to number"
2113
+ },
2114
+ {
2115
+ name: "useToString",
2116
+ "package": "shared",
2117
+ lastUpdated: 1659592531000,
2118
+ docs: "https://vueuse.org/shared/useToString/",
2119
+ category: "Utilities",
2120
+ description: "reactively convert a ref to string"
2121
+ },
2088
2122
  {
2089
2123
  name: "useTransition",
2090
2124
  "package": "core",
2091
- lastUpdated: 1657730647000,
2125
+ lastUpdated: 1659591270000,
2092
2126
  docs: "https://vueuse.org/core/useTransition/",
2093
2127
  category: "Animation",
2094
2128
  description: "transition between values"
package/index.json CHANGED
@@ -937,7 +937,7 @@
937
937
  {
938
938
  "name": "useCycleList",
939
939
  "package": "core",
940
- "lastUpdated": 1658083596000,
940
+ "lastUpdated": 1659556886000,
941
941
  "docs": "https://vueuse.org/core/useCycleList/",
942
942
  "category": "Utilities",
943
943
  "description": "cycle through a list of items"
@@ -1168,7 +1168,7 @@
1168
1168
  {
1169
1169
  "name": "useFavicon",
1170
1170
  "package": "core",
1171
- "lastUpdated": 1657634950000,
1171
+ "lastUpdated": 1659585871000,
1172
1172
  "docs": "https://vueuse.org/core/useFavicon/",
1173
1173
  "category": "Browser",
1174
1174
  "description": "reactive favicon"
@@ -1596,7 +1596,7 @@
1596
1596
  {
1597
1597
  "name": "useOffsetPagination",
1598
1598
  "package": "core",
1599
- "lastUpdated": 1658163976000,
1599
+ "lastUpdated": 1659592690000,
1600
1600
  "component": true,
1601
1601
  "docs": "https://vueuse.org/core/useOffsetPagination/",
1602
1602
  "category": "Utilities",
@@ -1656,6 +1656,14 @@
1656
1656
  "category": "Sensors",
1657
1657
  "description": "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
1658
1658
  },
1659
+ {
1660
+ "name": "usePrecision",
1661
+ "package": "math",
1662
+ "lastUpdated": 1659586173000,
1663
+ "docs": "https://vueuse.org/math/usePrecision/",
1664
+ "category": "@Math",
1665
+ "description": "reactively set the precision of a number"
1666
+ },
1659
1667
  {
1660
1668
  "name": "usePreferredColorScheme",
1661
1669
  "package": "core",
@@ -1687,6 +1695,15 @@
1687
1695
  "category": "Browser",
1688
1696
  "description": "reactive [Navigator Languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)"
1689
1697
  },
1698
+ {
1699
+ "name": "usePreferredReducedMotion",
1700
+ "package": "core",
1701
+ "lastUpdated": 1659593252000,
1702
+ "component": true,
1703
+ "docs": "https://vueuse.org/core/usePreferredReducedMotion/",
1704
+ "category": "Browser",
1705
+ "description": "reactive [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) media query"
1706
+ },
1690
1707
  {
1691
1708
  "name": "useProjection",
1692
1709
  "package": "math",
@@ -1805,7 +1822,7 @@
1805
1822
  {
1806
1823
  "name": "useScriptTag",
1807
1824
  "package": "core",
1808
- "lastUpdated": 1657259100000,
1825
+ "lastUpdated": 1659556839000,
1809
1826
  "docs": "https://vueuse.org/core/useScriptTag/",
1810
1827
  "category": "Browser",
1811
1828
  "description": "script tag injecting"
@@ -2069,10 +2086,11 @@
2069
2086
  {
2070
2087
  "name": "useToFixed",
2071
2088
  "package": "math",
2072
- "lastUpdated": 1659101366000,
2089
+ "lastUpdated": 1659586610000,
2073
2090
  "docs": "https://vueuse.org/math/useToFixed/",
2074
2091
  "category": "@Math",
2075
- "description": "reactive `toFixed`"
2092
+ "description": "reactive `toFixed`",
2093
+ "deprecated": true
2076
2094
  },
2077
2095
  {
2078
2096
  "name": "useToggle",
@@ -2082,10 +2100,26 @@
2082
2100
  "category": "Utilities",
2083
2101
  "description": "a boolean switcher with utility functions"
2084
2102
  },
2103
+ {
2104
+ "name": "useToNumber",
2105
+ "package": "shared",
2106
+ "lastUpdated": 1659592336000,
2107
+ "docs": "https://vueuse.org/shared/useToNumber/",
2108
+ "category": "Utilities",
2109
+ "description": "reactively convert a string ref to number"
2110
+ },
2111
+ {
2112
+ "name": "useToString",
2113
+ "package": "shared",
2114
+ "lastUpdated": 1659592531000,
2115
+ "docs": "https://vueuse.org/shared/useToString/",
2116
+ "category": "Utilities",
2117
+ "description": "reactively convert a ref to string"
2118
+ },
2085
2119
  {
2086
2120
  "name": "useTransition",
2087
2121
  "package": "core",
2088
- "lastUpdated": 1657730647000,
2122
+ "lastUpdated": 1659591270000,
2089
2123
  "docs": "https://vueuse.org/core/useTransition/",
2090
2124
  "category": "Animation",
2091
2125
  "description": "transition between values"
package/index.mjs CHANGED
@@ -936,7 +936,7 @@ var functions$1 = [
936
936
  {
937
937
  name: "useCycleList",
938
938
  "package": "core",
939
- lastUpdated: 1658083596000,
939
+ lastUpdated: 1659556886000,
940
940
  docs: "https://vueuse.org/core/useCycleList/",
941
941
  category: "Utilities",
942
942
  description: "cycle through a list of items"
@@ -1167,7 +1167,7 @@ var functions$1 = [
1167
1167
  {
1168
1168
  name: "useFavicon",
1169
1169
  "package": "core",
1170
- lastUpdated: 1657634950000,
1170
+ lastUpdated: 1659585871000,
1171
1171
  docs: "https://vueuse.org/core/useFavicon/",
1172
1172
  category: "Browser",
1173
1173
  description: "reactive favicon"
@@ -1595,7 +1595,7 @@ var functions$1 = [
1595
1595
  {
1596
1596
  name: "useOffsetPagination",
1597
1597
  "package": "core",
1598
- lastUpdated: 1658163976000,
1598
+ lastUpdated: 1659592690000,
1599
1599
  component: true,
1600
1600
  docs: "https://vueuse.org/core/useOffsetPagination/",
1601
1601
  category: "Utilities",
@@ -1655,6 +1655,14 @@ var functions$1 = [
1655
1655
  category: "Sensors",
1656
1656
  description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
1657
1657
  },
1658
+ {
1659
+ name: "usePrecision",
1660
+ "package": "math",
1661
+ lastUpdated: 1659586173000,
1662
+ docs: "https://vueuse.org/math/usePrecision/",
1663
+ category: "@Math",
1664
+ description: "reactively set the precision of a number"
1665
+ },
1658
1666
  {
1659
1667
  name: "usePreferredColorScheme",
1660
1668
  "package": "core",
@@ -1686,6 +1694,15 @@ var functions$1 = [
1686
1694
  category: "Browser",
1687
1695
  description: "reactive [Navigator Languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)"
1688
1696
  },
1697
+ {
1698
+ name: "usePreferredReducedMotion",
1699
+ "package": "core",
1700
+ lastUpdated: 1659593252000,
1701
+ component: true,
1702
+ docs: "https://vueuse.org/core/usePreferredReducedMotion/",
1703
+ category: "Browser",
1704
+ description: "reactive [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) media query"
1705
+ },
1689
1706
  {
1690
1707
  name: "useProjection",
1691
1708
  "package": "math",
@@ -1804,7 +1821,7 @@ var functions$1 = [
1804
1821
  {
1805
1822
  name: "useScriptTag",
1806
1823
  "package": "core",
1807
- lastUpdated: 1657259100000,
1824
+ lastUpdated: 1659556839000,
1808
1825
  docs: "https://vueuse.org/core/useScriptTag/",
1809
1826
  category: "Browser",
1810
1827
  description: "script tag injecting"
@@ -2068,10 +2085,11 @@ var functions$1 = [
2068
2085
  {
2069
2086
  name: "useToFixed",
2070
2087
  "package": "math",
2071
- lastUpdated: 1659101366000,
2088
+ lastUpdated: 1659586610000,
2072
2089
  docs: "https://vueuse.org/math/useToFixed/",
2073
2090
  category: "@Math",
2074
- description: "reactive `toFixed`"
2091
+ description: "reactive `toFixed`",
2092
+ deprecated: true
2075
2093
  },
2076
2094
  {
2077
2095
  name: "useToggle",
@@ -2081,10 +2099,26 @@ var functions$1 = [
2081
2099
  category: "Utilities",
2082
2100
  description: "a boolean switcher with utility functions"
2083
2101
  },
2102
+ {
2103
+ name: "useToNumber",
2104
+ "package": "shared",
2105
+ lastUpdated: 1659592336000,
2106
+ docs: "https://vueuse.org/shared/useToNumber/",
2107
+ category: "Utilities",
2108
+ description: "reactively convert a string ref to number"
2109
+ },
2110
+ {
2111
+ name: "useToString",
2112
+ "package": "shared",
2113
+ lastUpdated: 1659592531000,
2114
+ docs: "https://vueuse.org/shared/useToString/",
2115
+ category: "Utilities",
2116
+ description: "reactively convert a ref to string"
2117
+ },
2084
2118
  {
2085
2119
  name: "useTransition",
2086
2120
  "package": "core",
2087
- lastUpdated: 1657730647000,
2121
+ lastUpdated: 1659591270000,
2088
2122
  docs: "https://vueuse.org/core/useTransition/",
2089
2123
  category: "Animation",
2090
2124
  description: "transition between values"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/metadata",
3
- "version": "9.0.2",
3
+ "version": "9.1.0",
4
4
  "description": "Metadata for VueUse functions",
5
5
  "author": "Anthony Fu <https://github.com/antfu>",
6
6
  "license": "MIT",