@tamagui/sheet 2.0.0-1769421011389 → 2.0.0-1769435599888

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.
@@ -94,7 +94,7 @@ const relativeDimensionTo = import_constants.isWeb ? "window" : "screen",
94
94
  {
95
95
  animationDriver
96
96
  } = (0, import_core.useConfiguration)();
97
- if (!animationDriver) throw new Error("Sheet reqiures an animation driver to be set");
97
+ if (!animationDriver) throw new Error("Sheet requires an animation driver to be set");
98
98
  const transitionConfig = (() => {
99
99
  if (transitionConfigProp) return transitionConfigProp;
100
100
  const [animationProp, animationPropConfig] = transition ? Array.isArray(transition) ? transition : [transition] : [];
@@ -55,7 +55,7 @@ const relativeDimensionTo = import_constants.isWeb ? "window" : "screen", SheetI
55
55
  maxSnapPoint
56
56
  } = providerProps, { open, controller, isHidden } = state, sheetRef = import_react.default.useRef(void 0), ref = (0, import_compose_refs.useComposedRefs)(forwardedRef, sheetRef, providerProps.contentRef), { animationDriver } = (0, import_core.useConfiguration)();
57
57
  if (!animationDriver)
58
- throw new Error("Sheet reqiures an animation driver to be set");
58
+ throw new Error("Sheet requires an animation driver to be set");
59
59
  const transitionConfig = (() => {
60
60
  if (transitionConfigProp)
61
61
  return transitionConfigProp;
@@ -96,7 +96,7 @@ var import_jsx_runtime = require("react/jsx-runtime"),
96
96
  {
97
97
  animationDriver
98
98
  } = (0, import_core.useConfiguration)();
99
- if (!animationDriver) throw new Error("Sheet reqiures an animation driver to be set");
99
+ if (!animationDriver) throw new Error("Sheet requires an animation driver to be set");
100
100
  var transitionConfig = function () {
101
101
  var _animationDriver_animations;
102
102
  if (transitionConfigProp) return transitionConfigProp;
@@ -57,7 +57,7 @@ const relativeDimensionTo = isWeb ? "window" : "screen", SheetImplementationCust
57
57
  maxSnapPoint
58
58
  } = providerProps, { open, controller, isHidden } = state, sheetRef = React.useRef(void 0), ref = useComposedRefs(forwardedRef, sheetRef, providerProps.contentRef), { animationDriver } = useConfiguration();
59
59
  if (!animationDriver)
60
- throw new Error("Sheet reqiures an animation driver to be set");
60
+ throw new Error("Sheet requires an animation driver to be set");
61
61
  const transitionConfig = (() => {
62
62
  if (transitionConfigProp)
63
63
  return transitionConfigProp;
@@ -57,7 +57,7 @@ const relativeDimensionTo = isWeb ? "window" : "screen",
57
57
  {
58
58
  animationDriver
59
59
  } = useConfiguration();
60
- if (!animationDriver) throw new Error("Sheet reqiures an animation driver to be set");
60
+ if (!animationDriver) throw new Error("Sheet requires an animation driver to be set");
61
61
  const transitionConfig = (() => {
62
62
  if (transitionConfigProp) return transitionConfigProp;
63
63
  const [animationProp, animationPropConfig] = transition ? Array.isArray(transition) ? transition : [transition] : [];
@@ -58,7 +58,7 @@ var hiddenSize = 10000.1,
58
58
  {
59
59
  animationDriver
60
60
  } = useConfiguration();
61
- if (!animationDriver) throw new Error("Sheet reqiures an animation driver to be set");
61
+ if (!animationDriver) throw new Error("Sheet requires an animation driver to be set");
62
62
  var transitionConfig = function () {
63
63
  var _animationDriver_animations;
64
64
  if (transitionConfigProp) return transitionConfigProp;
@@ -57,7 +57,7 @@ const relativeDimensionTo = isWeb ? "window" : "screen", SheetImplementationCust
57
57
  maxSnapPoint
58
58
  } = providerProps, { open, controller, isHidden } = state, sheetRef = React.useRef(void 0), ref = useComposedRefs(forwardedRef, sheetRef, providerProps.contentRef), { animationDriver } = useConfiguration();
59
59
  if (!animationDriver)
60
- throw new Error("Sheet reqiures an animation driver to be set");
60
+ throw new Error("Sheet requires an animation driver to be set");
61
61
  const transitionConfig = (() => {
62
62
  if (transitionConfigProp)
63
63
  return transitionConfigProp;
@@ -57,7 +57,7 @@ const relativeDimensionTo = isWeb ? "window" : "screen",
57
57
  {
58
58
  animationDriver
59
59
  } = useConfiguration();
60
- if (!animationDriver) throw new Error("Sheet reqiures an animation driver to be set");
60
+ if (!animationDriver) throw new Error("Sheet requires an animation driver to be set");
61
61
  const transitionConfig = (() => {
62
62
  if (transitionConfigProp) return transitionConfigProp;
63
63
  const [animationProp, animationPropConfig] = transition ? Array.isArray(transition) ? transition : [transition] : [];
@@ -96,7 +96,7 @@ var import_jsx_runtime = require("react/jsx-runtime"),
96
96
  {
97
97
  animationDriver
98
98
  } = (0, import_core.useConfiguration)();
99
- if (!animationDriver) throw new Error("Sheet reqiures an animation driver to be set");
99
+ if (!animationDriver) throw new Error("Sheet requires an animation driver to be set");
100
100
  var transitionConfig = function () {
101
101
  var _animationDriver_animations;
102
102
  if (transitionConfigProp) return transitionConfigProp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/sheet",
3
- "version": "2.0.0-1769421011389",
3
+ "version": "2.0.0-1769435599888",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -72,24 +72,24 @@
72
72
  }
73
73
  },
74
74
  "dependencies": {
75
- "@tamagui/adapt": "2.0.0-1769421011389",
76
- "@tamagui/animate-presence": "2.0.0-1769421011389",
77
- "@tamagui/animations-react-native": "2.0.0-1769421011389",
78
- "@tamagui/compose-refs": "2.0.0-1769421011389",
79
- "@tamagui/constants": "2.0.0-1769421011389",
80
- "@tamagui/core": "2.0.0-1769421011389",
81
- "@tamagui/create-context": "2.0.0-1769421011389",
82
- "@tamagui/helpers": "2.0.0-1769421011389",
83
- "@tamagui/native": "2.0.0-1769421011389",
84
- "@tamagui/portal": "2.0.0-1769421011389",
85
- "@tamagui/remove-scroll": "2.0.0-1769421011389",
86
- "@tamagui/scroll-view": "2.0.0-1769421011389",
87
- "@tamagui/stacks": "2.0.0-1769421011389",
88
- "@tamagui/use-constant": "2.0.0-1769421011389",
89
- "@tamagui/use-controllable-state": "2.0.0-1769421011389",
90
- "@tamagui/use-did-finish-ssr": "2.0.0-1769421011389",
91
- "@tamagui/use-keyboard-visible": "2.0.0-1769421011389",
92
- "@tamagui/z-index-stack": "2.0.0-1769421011389"
75
+ "@tamagui/adapt": "2.0.0-1769435599888",
76
+ "@tamagui/animate-presence": "2.0.0-1769435599888",
77
+ "@tamagui/animations-react-native": "2.0.0-1769435599888",
78
+ "@tamagui/compose-refs": "2.0.0-1769435599888",
79
+ "@tamagui/constants": "2.0.0-1769435599888",
80
+ "@tamagui/core": "2.0.0-1769435599888",
81
+ "@tamagui/create-context": "2.0.0-1769435599888",
82
+ "@tamagui/helpers": "2.0.0-1769435599888",
83
+ "@tamagui/native": "2.0.0-1769435599888",
84
+ "@tamagui/portal": "2.0.0-1769435599888",
85
+ "@tamagui/remove-scroll": "2.0.0-1769435599888",
86
+ "@tamagui/scroll-view": "2.0.0-1769435599888",
87
+ "@tamagui/stacks": "2.0.0-1769435599888",
88
+ "@tamagui/use-constant": "2.0.0-1769435599888",
89
+ "@tamagui/use-controllable-state": "2.0.0-1769435599888",
90
+ "@tamagui/use-did-finish-ssr": "2.0.0-1769435599888",
91
+ "@tamagui/use-keyboard-visible": "2.0.0-1769435599888",
92
+ "@tamagui/z-index-stack": "2.0.0-1769435599888"
93
93
  },
94
94
  "peerDependencies": {
95
95
  "react": "*",
@@ -102,7 +102,7 @@
102
102
  }
103
103
  },
104
104
  "devDependencies": {
105
- "@tamagui/build": "2.0.0-1769421011389",
105
+ "@tamagui/build": "2.0.0-1769435599888",
106
106
  "react": "*",
107
107
  "react-native": "0.81.5",
108
108
  "react-native-gesture-handler": "~2.28.0"
@@ -85,7 +85,7 @@ export const SheetImplementationCustom = React.forwardRef<View, SheetProps>(
85
85
  const { animationDriver } = useConfiguration()
86
86
 
87
87
  if (!animationDriver) {
88
- throw new Error(`Sheet reqiures an animation driver to be set`)
88
+ throw new Error(`Sheet requires an animation driver to be set`)
89
89
  }
90
90
 
91
91
  const transitionConfig = (() => {