@papyrus-sdk/ui-react-native 0.2.35-beta.7 → 0.2.35-beta.8

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/dist/index.mjs CHANGED
@@ -29599,14 +29599,20 @@ var Topbar = ({
29599
29599
  const inkSession = useNativeInkSession();
29600
29600
  const t = getStrings(locale);
29601
29601
  const progress = useNativeInkMotion(inkSession.active, inkSession.supported);
29602
- const settingsMotion = useAnimatedStyle(() => ({
29603
- opacity: 1 - progress.value,
29604
- transform: [{ scale: 1 - progress.value * 0.04 }, { translateX: -progress.value * 6 }]
29605
- }));
29606
- const doneMotion = useAnimatedStyle(() => ({
29607
- opacity: progress.value,
29608
- transform: [{ scale: 0.96 + progress.value * 0.04 }, { translateX: (1 - progress.value) * 6 }]
29609
- }));
29602
+ const settingsMotion = useAnimatedStyle(() => {
29603
+ "worklet";
29604
+ return {
29605
+ opacity: 1 - progress.value,
29606
+ transform: [{ scale: 1 - progress.value * 0.04 }, { translateX: -progress.value * 6 }]
29607
+ };
29608
+ });
29609
+ const doneMotion = useAnimatedStyle(() => {
29610
+ "worklet";
29611
+ return {
29612
+ opacity: progress.value,
29613
+ transform: [{ scale: 0.96 + progress.value * 0.04 }, { translateX: (1 - progress.value) * 6 }]
29614
+ };
29615
+ });
29610
29616
  const [jumpModalOpen, setJumpModalOpen] = useState9(false);
29611
29617
  const isDark = uiTheme === "dark";
29612
29618
  const navIconColor = isDark ? "#e5e7eb" : "#111827";
@@ -32255,10 +32261,13 @@ var BottomBar = ({
32255
32261
  const drawing = supportsInkChrome && inkSession.active;
32256
32262
  const dockVisible = mobileChromeVisible && mobileDockVisible && !drawing;
32257
32263
  const dockProgress = useNativeInkMotion(dockVisible, supportsInkChrome);
32258
- const dockMotion = useAnimatedStyle2(() => ({
32259
- opacity: dockProgress.value,
32260
- transform: [{ translateY: (1 - dockProgress.value) * 8 }]
32261
- }));
32264
+ const dockMotion = useAnimatedStyle2(() => {
32265
+ "worklet";
32266
+ return {
32267
+ opacity: dockProgress.value,
32268
+ transform: [{ translateY: (1 - dockProgress.value) * 8 }]
32269
+ };
32270
+ });
32262
32271
  const isDark = uiTheme === "dark";
32263
32272
  const t = getStrings(locale);
32264
32273
  const { width, height } = useWindowDimensions7();