@burdenoff/microfe-mybodyshield 2026.1028.1 → 2026.1101.2
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/_virtual/_rolldown/runtime.js +11 -5
- package/dist/dev/main.d.ts +0 -1
- package/dist/mybodyshield/MyBodyShieldRoot.d.ts +0 -1
- package/dist/mybodyshield/MyBodyShieldRoot.js +22 -21
- package/dist/mybodyshield/MyBodyShieldRoot.js.map +1 -1
- package/dist/mybodyshield/MyBodyShieldRoutes.d.ts +0 -1
- package/dist/mybodyshield/MyBodyShieldRoutes.js +5 -6
- package/dist/mybodyshield/MyBodyShieldRoutes.js.map +1 -1
- package/dist/mybodyshield/components/DataTable.d.ts +1 -2
- package/dist/mybodyshield/components/DataTable.js +1 -2
- package/dist/mybodyshield/components/DataTable.js.map +1 -1
- package/dist/mybodyshield/components/EmptyState.d.ts +0 -1
- package/dist/mybodyshield/components/EmptyState.js +1 -2
- package/dist/mybodyshield/components/EmptyState.js.map +1 -1
- package/dist/mybodyshield/components/EvidenceUpload.d.ts +1 -2
- package/dist/mybodyshield/components/EvidenceUpload.js +1 -2
- package/dist/mybodyshield/components/EvidenceUpload.js.map +1 -1
- package/dist/mybodyshield/components/FeatureFlagGuard.d.ts +0 -1
- package/dist/mybodyshield/components/FeatureFlagGuard.js +1 -2
- package/dist/mybodyshield/components/FeatureFlagGuard.js.map +1 -1
- package/dist/mybodyshield/components/FileLink.d.ts +1 -1
- package/dist/mybodyshield/components/FileLink.js +1 -2
- package/dist/mybodyshield/components/FileLink.js.map +1 -1
- package/dist/mybodyshield/components/FilterTabs.d.ts +1 -1
- package/dist/mybodyshield/components/FilterTabs.js +1 -2
- package/dist/mybodyshield/components/FilterTabs.js.map +1 -1
- package/dist/mybodyshield/components/MetricsCard.d.ts +0 -1
- package/dist/mybodyshield/components/MetricsCard.js +1 -2
- package/dist/mybodyshield/components/MetricsCard.js.map +1 -1
- package/dist/mybodyshield/components/MiniBar.d.ts +1 -1
- package/dist/mybodyshield/components/MiniBar.js +1 -2
- package/dist/mybodyshield/components/MiniBar.js.map +1 -1
- package/dist/mybodyshield/components/MybDiscussion.d.ts +1 -1
- package/dist/mybodyshield/components/MybDiscussion.js +15 -16
- package/dist/mybodyshield/components/MybDiscussion.js.map +1 -1
- package/dist/mybodyshield/components/MybTags.d.ts +1 -1
- package/dist/mybodyshield/components/MybTags.js +1 -2
- package/dist/mybodyshield/components/MybTags.js.map +1 -1
- package/dist/mybodyshield/components/PageDisabled.d.ts +0 -1
- package/dist/mybodyshield/components/PageDisabled.js +1 -2
- package/dist/mybodyshield/components/PageDisabled.js.map +1 -1
- package/dist/mybodyshield/components/PageLayout.d.ts +0 -1
- package/dist/mybodyshield/components/PageLayout.js +1 -2
- package/dist/mybodyshield/components/PageLayout.js.map +1 -1
- package/dist/mybodyshield/components/Pagination.d.ts +1 -1
- package/dist/mybodyshield/components/Pagination.js +1 -2
- package/dist/mybodyshield/components/Pagination.js.map +1 -1
- package/dist/mybodyshield/components/StateViews.d.ts +0 -1
- package/dist/mybodyshield/components/StateViews.js +1 -2
- package/dist/mybodyshield/components/StateViews.js.map +1 -1
- package/dist/mybodyshield/components/StatusBadge.d.ts +0 -1
- package/dist/mybodyshield/components/StatusBadge.js +2 -3
- package/dist/mybodyshield/components/StatusBadge.js.map +1 -1
- package/dist/mybodyshield/components/Tabs.d.ts +1 -2
- package/dist/mybodyshield/components/Tabs.js +1 -2
- package/dist/mybodyshield/components/Tabs.js.map +1 -1
- package/dist/mybodyshield/components/UserSearchSelect.d.ts +1 -1
- package/dist/mybodyshield/components/UserSearchSelect.js +1 -2
- package/dist/mybodyshield/components/UserSearchSelect.js.map +1 -1
- package/dist/mybodyshield/components/index.js +18 -17
- package/dist/mybodyshield/context/MyBodyShieldContext.d.ts +0 -1
- package/dist/mybodyshield/context/MyBodyShieldContext.js +1 -2
- package/dist/mybodyshield/context/MyBodyShieldContext.js.map +1 -1
- package/dist/mybodyshield/context/index.js +1 -1
- package/dist/mybodyshield/data/programTemplates.d.ts +0 -1
- package/dist/mybodyshield/data/programTemplates.js +1 -2
- package/dist/mybodyshield/data/programTemplates.js.map +1 -1
- package/dist/mybodyshield/hooks/index.js +9 -8
- package/dist/mybodyshield/hooks/useMyBodyShieldAnalytics.js +1 -2
- package/dist/mybodyshield/hooks/useMyBodyShieldAnalytics.js.map +1 -1
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.d.ts +0 -1
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.js +1 -2
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.js.map +1 -1
- package/dist/mybodyshield/hooks/useMybComments.js +1 -2
- package/dist/mybodyshield/hooks/useMybComments.js.map +1 -1
- package/dist/mybodyshield/hooks/useMybFiles.js +1 -2
- package/dist/mybodyshield/hooks/useMybFiles.js.map +1 -1
- package/dist/mybodyshield/hooks/useMybTags.js +6 -7
- package/dist/mybodyshield/hooks/useMybTags.js.map +1 -1
- package/dist/mybodyshield/hooks/useMybUsers.js +1 -2
- package/dist/mybodyshield/hooks/useMybUsers.js.map +1 -1
- package/dist/mybodyshield/hooks/usePager.js +1 -2
- package/dist/mybodyshield/hooks/usePager.js.map +1 -1
- package/dist/mybodyshield/hooks/useTr.d.ts +0 -1
- package/dist/mybodyshield/hooks/useTr.js +1 -2
- package/dist/mybodyshield/hooks/useTr.js.map +1 -1
- package/dist/mybodyshield/index.js +6 -5
- package/dist/mybodyshield/lib/offlineSessionQueue.js +34 -35
- package/dist/mybodyshield/lib/offlineSessionQueue.js.map +1 -1
- package/dist/mybodyshield/lib/useOfflineSessionSync.d.ts +0 -1
- package/dist/mybodyshield/lib/useOfflineSessionSync.js +1 -2
- package/dist/mybodyshield/lib/useOfflineSessionSync.js.map +1 -1
- package/dist/mybodyshield/pages/DashboardPage.d.ts +1 -1
- package/dist/mybodyshield/pages/DashboardPage.js +132 -133
- package/dist/mybodyshield/pages/DashboardPage.js.map +1 -1
- package/dist/mybodyshield/pages/SettingsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/SettingsPage.js +2 -3
- package/dist/mybodyshield/pages/SettingsPage.js.map +1 -1
- package/dist/mybodyshield/pages/_shared/visuals.d.ts +0 -1
- package/dist/mybodyshield/pages/_shared/visuals.js +1 -2
- package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -1
- package/dist/mybodyshield/pages/ai/AiControlsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/ai/AiControlsPage.js +90 -91
- package/dist/mybodyshield/pages/ai/AiControlsPage.js.map +1 -1
- package/dist/mybodyshield/pages/coaching/CoachClientPage.d.ts +1 -1
- package/dist/mybodyshield/pages/coaching/CoachClientPage.js +35 -37
- package/dist/mybodyshield/pages/coaching/CoachClientPage.js.map +1 -1
- package/dist/mybodyshield/pages/coaching/CoachingPage.d.ts +1 -1
- package/dist/mybodyshield/pages/coaching/CoachingPage.js +169 -170
- package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -1
- package/dist/mybodyshield/pages/coaching/coachAnalytics.d.ts +0 -1
- package/dist/mybodyshield/pages/coaching/coachAnalytics.js +1 -2
- package/dist/mybodyshield/pages/coaching/coachAnalytics.js.map +1 -1
- package/dist/mybodyshield/pages/goals/GoalsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/goals/GoalsPage.js +219 -221
- package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -1
- package/dist/mybodyshield/pages/insights/InsightsCharts.d.ts +5 -6
- package/dist/mybodyshield/pages/insights/InsightsCharts.js +117 -118
- package/dist/mybodyshield/pages/insights/InsightsCharts.js.map +1 -1
- package/dist/mybodyshield/pages/insights/InsightsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/insights/InsightsPage.js +67 -68
- package/dist/mybodyshield/pages/insights/InsightsPage.js.map +1 -1
- package/dist/mybodyshield/pages/nutrition/NutritionPage.d.ts +1 -1
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js +519 -518
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -1
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.d.ts +1 -1
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +420 -421
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -1
- package/dist/mybodyshield/pages/programs/ProgramsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/programs/ProgramsPage.js +258 -259
- package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -1
- package/dist/mybodyshield/pages/progress/ProgressPage.d.ts +1 -1
- package/dist/mybodyshield/pages/progress/ProgressPage.js +139 -140
- package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -1
- package/dist/mybodyshield/pages/recovery/MindfulnessPage.d.ts +1 -1
- package/dist/mybodyshield/pages/recovery/MindfulnessPage.js +3 -4
- package/dist/mybodyshield/pages/recovery/MindfulnessPage.js.map +1 -1
- package/dist/mybodyshield/pages/recovery/RecoveryPage.d.ts +1 -1
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js +205 -206
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -1
- package/dist/mybodyshield/pages/train/SessionDetailPage.d.ts +1 -1
- package/dist/mybodyshield/pages/train/SessionDetailPage.js +118 -125
- package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -1
- package/dist/mybodyshield/pages/train/SessionsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/train/SessionsPage.js +156 -157
- package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -1
- package/dist/mybodyshield/services/createSandboxAssistantTransport.js +1 -2
- package/dist/mybodyshield/services/createSandboxAssistantTransport.js.map +1 -1
- package/dist/mybodyshield/types/index.d.ts +0 -1
- package/dist/mybodyshield/utils/cn.d.ts +0 -1
- package/dist/mybodyshield/utils/cn.js +2 -3
- package/dist/mybodyshield/utils/cn.js.map +1 -1
- package/dist/mybodyshield/utils/formatters.js +1 -2
- package/dist/mybodyshield/utils/formatters.js.map +1 -1
- package/dist/mybodyshield/utils/i18n.d.ts +0 -1
- package/dist/mybodyshield/utils/i18n.js +1 -2
- package/dist/mybodyshield/utils/i18n.js.map +1 -1
- package/dist/mybodyshield/utils/navigation.js +1 -2
- package/dist/mybodyshield/utils/navigation.js.map +1 -1
- package/dist/mybodyshield/utils/pageContext.js +2 -3
- package/dist/mybodyshield/utils/pageContext.js.map +1 -1
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +4 -5
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -1
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +2 -3
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -1
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
- package/dist/node_modules/d3-array/src/ascending.js +1 -2
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -1
- package/dist/node_modules/d3-array/src/bisect.js +2 -3
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -1
- package/dist/node_modules/d3-array/src/bisector.js +1 -2
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -1
- package/dist/node_modules/d3-array/src/descending.js +1 -2
- package/dist/node_modules/d3-array/src/descending.js.map +1 -1
- package/dist/node_modules/d3-array/src/max.js +1 -2
- package/dist/node_modules/d3-array/src/max.js.map +1 -1
- package/dist/node_modules/d3-array/src/min.js +1 -2
- package/dist/node_modules/d3-array/src/min.js.map +1 -1
- package/dist/node_modules/d3-array/src/number.js +1 -2
- package/dist/node_modules/d3-array/src/number.js.map +1 -1
- package/dist/node_modules/d3-array/src/quantile.js +17 -18
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -1
- package/dist/node_modules/d3-array/src/quickselect.js +1 -2
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -1
- package/dist/node_modules/d3-array/src/range.js +1 -2
- package/dist/node_modules/d3-array/src/range.js.map +1 -1
- package/dist/node_modules/d3-array/src/sort.js +1 -2
- package/dist/node_modules/d3-array/src/sort.js.map +1 -1
- package/dist/node_modules/d3-array/src/ticks.js +5 -5
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -1
- package/dist/node_modules/d3-color/src/color.js +2 -3
- package/dist/node_modules/d3-color/src/color.js.map +1 -1
- package/dist/node_modules/d3-color/src/define.js +1 -2
- package/dist/node_modules/d3-color/src/define.js.map +1 -1
- package/dist/node_modules/d3-format/src/defaultLocale.js +2 -3
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -1
- package/dist/node_modules/d3-format/src/exponent.js +1 -2
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatDecimal.js +1 -2
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatGroup.js +1 -2
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatNumerals.js +1 -2
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +1 -2
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatRounded.js +1 -2
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatSpecifier.js +2 -3
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatTrim.js +1 -3
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatTypes.js +1 -2
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -1
- package/dist/node_modules/d3-format/src/identity.js +1 -2
- package/dist/node_modules/d3-format/src/identity.js.map +1 -1
- package/dist/node_modules/d3-format/src/locale.js +10 -13
- package/dist/node_modules/d3-format/src/locale.js.map +1 -1
- package/dist/node_modules/d3-format/src/precisionFixed.js +1 -2
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -1
- package/dist/node_modules/d3-format/src/precisionPrefix.js +1 -2
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -1
- package/dist/node_modules/d3-format/src/precisionRound.js +1 -2
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/array.js +2 -4
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/basis.js +1 -2
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +1 -2
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/color.js +1 -2
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/constant.js +1 -2
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/date.js +1 -2
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/number.js +1 -2
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/numberArray.js +1 -2
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/object.js +2 -3
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/piecewise.js +1 -2
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/rgb.js +1 -2
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/round.js +1 -2
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/string.js +1 -2
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/value.js +10 -11
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -1
- package/dist/node_modules/d3-path/src/path.js +8 -7
- package/dist/node_modules/d3-path/src/path.js.map +1 -1
- package/dist/node_modules/d3-scale/src/band.js +1 -2
- package/dist/node_modules/d3-scale/src/band.js.map +1 -1
- package/dist/node_modules/d3-scale/src/constant.js +1 -2
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -1
- package/dist/node_modules/d3-scale/src/continuous.js +7 -8
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -1
- package/dist/node_modules/d3-scale/src/diverging.js +35 -36
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -1
- package/dist/node_modules/d3-scale/src/identity.js +6 -7
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -1
- package/dist/node_modules/d3-scale/src/init.js +3 -8
- package/dist/node_modules/d3-scale/src/init.js.map +1 -1
- package/dist/node_modules/d3-scale/src/linear.js +6 -7
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -1
- package/dist/node_modules/d3-scale/src/log.js +32 -33
- package/dist/node_modules/d3-scale/src/log.js.map +1 -1
- package/dist/node_modules/d3-scale/src/nice.js +1 -2
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -1
- package/dist/node_modules/d3-scale/src/number.js +1 -2
- package/dist/node_modules/d3-scale/src/number.js.map +1 -1
- package/dist/node_modules/d3-scale/src/ordinal.js +1 -2
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -1
- package/dist/node_modules/d3-scale/src/pow.js +13 -14
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -1
- package/dist/node_modules/d3-scale/src/quantile.js +2 -3
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -1
- package/dist/node_modules/d3-scale/src/quantize.js +5 -6
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -1
- package/dist/node_modules/d3-scale/src/radial.js +8 -9
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -1
- package/dist/node_modules/d3-scale/src/sequential.js +27 -28
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -1
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +6 -7
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -1
- package/dist/node_modules/d3-scale/src/symlog.js +12 -13
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -1
- package/dist/node_modules/d3-scale/src/threshold.js +2 -3
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -1
- package/dist/node_modules/d3-scale/src/tickFormat.js +7 -10
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -1
- package/dist/node_modules/d3-scale/src/time.js +27 -28
- package/dist/node_modules/d3-scale/src/time.js.map +1 -1
- package/dist/node_modules/d3-scale/src/utcTime.js +13 -14
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -1
- package/dist/node_modules/d3-shape/src/area.js +34 -33
- package/dist/node_modules/d3-shape/src/area.js.map +1 -1
- package/dist/node_modules/d3-shape/src/array.js +0 -1
- package/dist/node_modules/d3-shape/src/array.js.map +1 -1
- package/dist/node_modules/d3-shape/src/constant.js +1 -2
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/basis.js +4 -9
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +3 -8
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +2 -5
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/bump.js +2 -5
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/linear.js +2 -5
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +1 -2
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/monotone.js +4 -9
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/natural.js +5 -4
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/step.js +6 -9
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -1
- package/dist/node_modules/d3-shape/src/line.js +16 -17
- package/dist/node_modules/d3-shape/src/line.js.map +1 -1
- package/dist/node_modules/d3-shape/src/math.js +1 -2
- package/dist/node_modules/d3-shape/src/math.js.map +1 -1
- package/dist/node_modules/d3-shape/src/noop.js +1 -2
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -1
- package/dist/node_modules/d3-shape/src/offset/expand.js +1 -2
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -1
- package/dist/node_modules/d3-shape/src/offset/none.js +1 -2
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -1
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +1 -2
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -1
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +2 -3
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -1
- package/dist/node_modules/d3-shape/src/order/none.js +1 -2
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -1
- package/dist/node_modules/d3-shape/src/path.js +1 -2
- package/dist/node_modules/d3-shape/src/path.js.map +1 -1
- package/dist/node_modules/d3-shape/src/point.js +1 -2
- package/dist/node_modules/d3-shape/src/point.js.map +1 -1
- package/dist/node_modules/d3-shape/src/stack.js +13 -14
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/circle.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/cross.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/square.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/star.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/wye.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -1
- package/dist/node_modules/d3-time/src/day.js +1 -2
- package/dist/node_modules/d3-time/src/day.js.map +1 -1
- package/dist/node_modules/d3-time/src/duration.js +1 -2
- package/dist/node_modules/d3-time/src/duration.js.map +1 -1
- package/dist/node_modules/d3-time/src/hour.js +1 -2
- package/dist/node_modules/d3-time/src/hour.js.map +1 -1
- package/dist/node_modules/d3-time/src/interval.js +5 -4
- package/dist/node_modules/d3-time/src/interval.js.map +1 -1
- package/dist/node_modules/d3-time/src/millisecond.js +1 -2
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -1
- package/dist/node_modules/d3-time/src/minute.js +1 -2
- package/dist/node_modules/d3-time/src/minute.js.map +1 -1
- package/dist/node_modules/d3-time/src/month.js +1 -2
- package/dist/node_modules/d3-time/src/month.js.map +1 -1
- package/dist/node_modules/d3-time/src/second.js +1 -2
- package/dist/node_modules/d3-time/src/second.js.map +1 -1
- package/dist/node_modules/d3-time/src/ticks.js +27 -28
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -1
- package/dist/node_modules/d3-time/src/week.js +2 -3
- package/dist/node_modules/d3-time/src/week.js.map +1 -1
- package/dist/node_modules/d3-time/src/year.js +1 -2
- package/dist/node_modules/d3-time/src/year.js.map +1 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -7
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -1
- package/dist/node_modules/d3-time-format/src/locale.js +1 -2
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -1
- package/dist/node_modules/decimal.js-light/decimal.js +33 -30
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
- package/dist/node_modules/eventemitter3/index.js +2 -3
- package/dist/node_modules/eventemitter3/index.js.map +1 -1
- package/dist/node_modules/fast-equals/dist/es/index.js +3 -4
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +3 -4
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +7 -8
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +7 -8
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +92 -101
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +11 -12
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +37 -38
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +5 -6
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +9 -10
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +12 -13
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +2 -3
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +9 -10
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +15 -16
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +4 -5
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +34 -35
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +7 -7
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +17 -18
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +22 -23
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +2 -3
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +4 -5
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +4 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +5 -6
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +2 -3
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +5 -6
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +5 -6
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +2 -3
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +7 -8
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -1
- package/dist/node_modules/internmap/src/index.js +1 -2
- package/dist/node_modules/internmap/src/index.js.map +1 -1
- package/dist/node_modules/lodash/_DataView.js +4 -5
- package/dist/node_modules/lodash/_DataView.js.map +1 -1
- package/dist/node_modules/lodash/_Hash.js +1 -2
- package/dist/node_modules/lodash/_Hash.js.map +1 -1
- package/dist/node_modules/lodash/_ListCache.js +1 -2
- package/dist/node_modules/lodash/_ListCache.js.map +1 -1
- package/dist/node_modules/lodash/_Map.js +4 -5
- package/dist/node_modules/lodash/_Map.js.map +1 -1
- package/dist/node_modules/lodash/_MapCache.js +1 -2
- package/dist/node_modules/lodash/_MapCache.js.map +1 -1
- package/dist/node_modules/lodash/_Promise.js +4 -5
- package/dist/node_modules/lodash/_Promise.js.map +1 -1
- package/dist/node_modules/lodash/_Set.js +4 -5
- package/dist/node_modules/lodash/_Set.js.map +1 -1
- package/dist/node_modules/lodash/_SetCache.js +1 -2
- package/dist/node_modules/lodash/_SetCache.js.map +1 -1
- package/dist/node_modules/lodash/_Stack.js +3 -3
- package/dist/node_modules/lodash/_Stack.js.map +1 -1
- package/dist/node_modules/lodash/_Symbol.js +1 -2
- package/dist/node_modules/lodash/_Symbol.js.map +1 -1
- package/dist/node_modules/lodash/_Uint8Array.js +1 -2
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
- package/dist/node_modules/lodash/_WeakMap.js +4 -5
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
- package/dist/node_modules/lodash/_apply.js +1 -2
- package/dist/node_modules/lodash/_apply.js.map +1 -1
- package/dist/node_modules/lodash/_arrayEvery.js +1 -2
- package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
- package/dist/node_modules/lodash/_arrayFilter.js +1 -2
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
- package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
- package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
- package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
- package/dist/node_modules/lodash/_arrayMap.js +1 -2
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
- package/dist/node_modules/lodash/_arrayPush.js +1 -2
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
- package/dist/node_modules/lodash/_arraySome.js +1 -2
- package/dist/node_modules/lodash/_arraySome.js.map +1 -1
- package/dist/node_modules/lodash/_asciiToArray.js +1 -2
- package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
- package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
- package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
- package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
- package/dist/node_modules/lodash/_baseEach.js +1 -2
- package/dist/node_modules/lodash/_baseEach.js.map +1 -1
- package/dist/node_modules/lodash/_baseEvery.js +1 -2
- package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
- package/dist/node_modules/lodash/_baseExtremum.js +1 -2
- package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
- package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
- package/dist/node_modules/lodash/_baseFlatten.js +1 -2
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
- package/dist/node_modules/lodash/_baseFor.js +1 -2
- package/dist/node_modules/lodash/_baseFor.js.map +1 -1
- package/dist/node_modules/lodash/_baseForOwn.js +4 -5
- package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
- package/dist/node_modules/lodash/_baseGet.js +1 -2
- package/dist/node_modules/lodash/_baseGet.js.map +1 -1
- package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
- package/dist/node_modules/lodash/_baseGetTag.js +1 -2
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
- package/dist/node_modules/lodash/_baseGt.js +1 -2
- package/dist/node_modules/lodash/_baseGt.js.map +1 -1
- package/dist/node_modules/lodash/_baseHasIn.js +1 -2
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
- package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsNative.js +5 -6
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
- package/dist/node_modules/lodash/_baseIteratee.js +6 -7
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
- package/dist/node_modules/lodash/_baseKeys.js +1 -2
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
- package/dist/node_modules/lodash/_baseLt.js +1 -2
- package/dist/node_modules/lodash/_baseLt.js.map +1 -1
- package/dist/node_modules/lodash/_baseMap.js +4 -5
- package/dist/node_modules/lodash/_baseMap.js.map +1 -1
- package/dist/node_modules/lodash/_baseMatches.js +1 -2
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
- package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
- package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
- package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
- package/dist/node_modules/lodash/_baseProperty.js +1 -2
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
- package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
- package/dist/node_modules/lodash/_baseRange.js +1 -2
- package/dist/node_modules/lodash/_baseRange.js.map +1 -1
- package/dist/node_modules/lodash/_baseRest.js +1 -2
- package/dist/node_modules/lodash/_baseRest.js.map +1 -1
- package/dist/node_modules/lodash/_baseSetToString.js +5 -6
- package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
- package/dist/node_modules/lodash/_baseSlice.js +1 -2
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
- package/dist/node_modules/lodash/_baseSome.js +1 -2
- package/dist/node_modules/lodash/_baseSome.js.map +1 -1
- package/dist/node_modules/lodash/_baseSortBy.js +1 -2
- package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
- package/dist/node_modules/lodash/_baseTimes.js +1 -2
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
- package/dist/node_modules/lodash/_baseToString.js +6 -7
- package/dist/node_modules/lodash/_baseToString.js.map +1 -1
- package/dist/node_modules/lodash/_baseTrim.js +1 -2
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
- package/dist/node_modules/lodash/_baseUnary.js +1 -2
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
- package/dist/node_modules/lodash/_baseUniq.js +7 -8
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
- package/dist/node_modules/lodash/_cacheHas.js +1 -2
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_castPath.js +1 -2
- package/dist/node_modules/lodash/_castPath.js.map +1 -1
- package/dist/node_modules/lodash/_castSlice.js +1 -2
- package/dist/node_modules/lodash/_castSlice.js.map +1 -1
- package/dist/node_modules/lodash/_compareAscending.js +1 -2
- package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
- package/dist/node_modules/lodash/_compareMultiple.js +1 -2
- package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
- package/dist/node_modules/lodash/_coreJsData.js +1 -2
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
- package/dist/node_modules/lodash/_createBaseEach.js +1 -2
- package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
- package/dist/node_modules/lodash/_createBaseFor.js +1 -2
- package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
- package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
- package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
- package/dist/node_modules/lodash/_createFind.js +5 -6
- package/dist/node_modules/lodash/_createFind.js.map +1 -1
- package/dist/node_modules/lodash/_createRange.js +4 -5
- package/dist/node_modules/lodash/_createRange.js.map +1 -1
- package/dist/node_modules/lodash/_createSet.js +6 -7
- package/dist/node_modules/lodash/_createSet.js.map +1 -1
- package/dist/node_modules/lodash/_defineProperty.js +1 -2
- package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
- package/dist/node_modules/lodash/_equalArrays.js +1 -2
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
- package/dist/node_modules/lodash/_equalByTag.js +5 -6
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
- package/dist/node_modules/lodash/_equalObjects.js +1 -2
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
- package/dist/node_modules/lodash/_freeGlobal.js +1 -2
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
- package/dist/node_modules/lodash/_getAllKeys.js +1 -2
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
- package/dist/node_modules/lodash/_getMapData.js +1 -2
- package/dist/node_modules/lodash/_getMapData.js.map +1 -1
- package/dist/node_modules/lodash/_getMatchData.js +4 -5
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
- package/dist/node_modules/lodash/_getNative.js +1 -2
- package/dist/node_modules/lodash/_getNative.js.map +1 -1
- package/dist/node_modules/lodash/_getPrototype.js +1 -2
- package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
- package/dist/node_modules/lodash/_getRawTag.js +1 -2
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
- package/dist/node_modules/lodash/_getSymbols.js +1 -2
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
- package/dist/node_modules/lodash/_getTag.js +9 -10
- package/dist/node_modules/lodash/_getTag.js.map +1 -1
- package/dist/node_modules/lodash/_getValue.js +1 -2
- package/dist/node_modules/lodash/_getValue.js.map +1 -1
- package/dist/node_modules/lodash/_hasPath.js +8 -9
- package/dist/node_modules/lodash/_hasPath.js.map +1 -1
- package/dist/node_modules/lodash/_hasUnicode.js +1 -2
- package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
- package/dist/node_modules/lodash/_hashClear.js +1 -2
- package/dist/node_modules/lodash/_hashClear.js.map +1 -1
- package/dist/node_modules/lodash/_hashDelete.js +1 -2
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
- package/dist/node_modules/lodash/_hashGet.js +1 -2
- package/dist/node_modules/lodash/_hashGet.js.map +1 -1
- package/dist/node_modules/lodash/_hashHas.js +1 -2
- package/dist/node_modules/lodash/_hashHas.js.map +1 -1
- package/dist/node_modules/lodash/_hashSet.js +1 -2
- package/dist/node_modules/lodash/_hashSet.js.map +1 -1
- package/dist/node_modules/lodash/_isFlattenable.js +5 -6
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
- package/dist/node_modules/lodash/_isIndex.js +6 -7
- package/dist/node_modules/lodash/_isIndex.js.map +1 -1
- package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
- package/dist/node_modules/lodash/_isKey.js +1 -2
- package/dist/node_modules/lodash/_isKey.js.map +1 -1
- package/dist/node_modules/lodash/_isKeyable.js +1 -2
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
- package/dist/node_modules/lodash/_isMasked.js +1 -2
- package/dist/node_modules/lodash/_isMasked.js.map +1 -1
- package/dist/node_modules/lodash/_isPrototype.js +1 -2
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
- package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheClear.js +1 -2
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheGet.js +1 -2
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheHas.js +1 -2
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheSet.js +1 -2
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
- package/dist/node_modules/lodash/_mapToArray.js +1 -2
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
- package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
- package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
- package/dist/node_modules/lodash/_nativeCreate.js +1 -2
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
- package/dist/node_modules/lodash/_nativeKeys.js +1 -2
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
- package/dist/node_modules/lodash/_nodeUtil.js +1 -2
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
- package/dist/node_modules/lodash/_objectToString.js +1 -2
- package/dist/node_modules/lodash/_objectToString.js.map +1 -1
- package/dist/node_modules/lodash/_overArg.js +1 -2
- package/dist/node_modules/lodash/_overArg.js.map +1 -1
- package/dist/node_modules/lodash/_overRest.js +1 -2
- package/dist/node_modules/lodash/_overRest.js.map +1 -1
- package/dist/node_modules/lodash/_root.js +1 -2
- package/dist/node_modules/lodash/_root.js.map +1 -1
- package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
- package/dist/node_modules/lodash/_setCacheHas.js +1 -2
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_setToArray.js +1 -2
- package/dist/node_modules/lodash/_setToArray.js.map +1 -1
- package/dist/node_modules/lodash/_setToString.js +1 -2
- package/dist/node_modules/lodash/_setToString.js.map +1 -1
- package/dist/node_modules/lodash/_shortOut.js +8 -9
- package/dist/node_modules/lodash/_shortOut.js.map +1 -1
- package/dist/node_modules/lodash/_stackClear.js +1 -2
- package/dist/node_modules/lodash/_stackClear.js.map +1 -1
- package/dist/node_modules/lodash/_stackDelete.js +1 -2
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
- package/dist/node_modules/lodash/_stackGet.js +1 -2
- package/dist/node_modules/lodash/_stackGet.js.map +1 -1
- package/dist/node_modules/lodash/_stackHas.js +1 -2
- package/dist/node_modules/lodash/_stackHas.js.map +1 -1
- package/dist/node_modules/lodash/_stackSet.js +1 -2
- package/dist/node_modules/lodash/_stackSet.js.map +1 -1
- package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
- package/dist/node_modules/lodash/_stringToArray.js +4 -5
- package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
- package/dist/node_modules/lodash/_stringToPath.js +1 -2
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
- package/dist/node_modules/lodash/_toKey.js +2 -3
- package/dist/node_modules/lodash/_toKey.js.map +1 -1
- package/dist/node_modules/lodash/_toSource.js +1 -2
- package/dist/node_modules/lodash/_toSource.js.map +1 -1
- package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
- package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
- package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
- package/dist/node_modules/lodash/constant.js +1 -2
- package/dist/node_modules/lodash/constant.js.map +1 -1
- package/dist/node_modules/lodash/debounce.js +1 -2
- package/dist/node_modules/lodash/debounce.js.map +1 -1
- package/dist/node_modules/lodash/eq.js +1 -2
- package/dist/node_modules/lodash/eq.js.map +1 -1
- package/dist/node_modules/lodash/every.js +7 -8
- package/dist/node_modules/lodash/every.js.map +1 -1
- package/dist/node_modules/lodash/find.js +1 -2
- package/dist/node_modules/lodash/find.js.map +1 -1
- package/dist/node_modules/lodash/findIndex.js +4 -5
- package/dist/node_modules/lodash/findIndex.js.map +1 -1
- package/dist/node_modules/lodash/flatMap.js +1 -2
- package/dist/node_modules/lodash/flatMap.js.map +1 -1
- package/dist/node_modules/lodash/get.js +1 -2
- package/dist/node_modules/lodash/get.js.map +1 -1
- package/dist/node_modules/lodash/hasIn.js +1 -2
- package/dist/node_modules/lodash/hasIn.js.map +1 -1
- package/dist/node_modules/lodash/identity.js +1 -2
- package/dist/node_modules/lodash/identity.js.map +1 -1
- package/dist/node_modules/lodash/isArguments.js +4 -5
- package/dist/node_modules/lodash/isArguments.js.map +1 -1
- package/dist/node_modules/lodash/isArray.js +1 -2
- package/dist/node_modules/lodash/isArray.js.map +1 -1
- package/dist/node_modules/lodash/isArrayLike.js +1 -2
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
- package/dist/node_modules/lodash/isBoolean.js +1 -2
- package/dist/node_modules/lodash/isBoolean.js.map +1 -1
- package/dist/node_modules/lodash/isBuffer.js +1 -2
- package/dist/node_modules/lodash/isBuffer.js.map +1 -1
- package/dist/node_modules/lodash/isEqual.js +1 -2
- package/dist/node_modules/lodash/isEqual.js.map +1 -1
- package/dist/node_modules/lodash/isFunction.js +1 -2
- package/dist/node_modules/lodash/isFunction.js.map +1 -1
- package/dist/node_modules/lodash/isLength.js +4 -6
- package/dist/node_modules/lodash/isLength.js.map +1 -1
- package/dist/node_modules/lodash/isNaN.js +1 -2
- package/dist/node_modules/lodash/isNaN.js.map +1 -1
- package/dist/node_modules/lodash/isNil.js +1 -2
- package/dist/node_modules/lodash/isNil.js.map +1 -1
- package/dist/node_modules/lodash/isNumber.js +1 -2
- package/dist/node_modules/lodash/isNumber.js.map +1 -1
- package/dist/node_modules/lodash/isObject.js +1 -2
- package/dist/node_modules/lodash/isObject.js.map +1 -1
- package/dist/node_modules/lodash/isObjectLike.js +1 -2
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
- package/dist/node_modules/lodash/isPlainObject.js +4 -5
- package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
- package/dist/node_modules/lodash/isString.js +4 -5
- package/dist/node_modules/lodash/isString.js.map +1 -1
- package/dist/node_modules/lodash/isSymbol.js +1 -2
- package/dist/node_modules/lodash/isSymbol.js.map +1 -1
- package/dist/node_modules/lodash/isTypedArray.js +1 -2
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
- package/dist/node_modules/lodash/keys.js +1 -2
- package/dist/node_modules/lodash/keys.js.map +1 -1
- package/dist/node_modules/lodash/last.js +1 -2
- package/dist/node_modules/lodash/last.js.map +1 -1
- package/dist/node_modules/lodash/map.js +6 -7
- package/dist/node_modules/lodash/map.js.map +1 -1
- package/dist/node_modules/lodash/mapValues.js +4 -5
- package/dist/node_modules/lodash/mapValues.js.map +1 -1
- package/dist/node_modules/lodash/max.js +5 -6
- package/dist/node_modules/lodash/max.js.map +1 -1
- package/dist/node_modules/lodash/memoize.js +1 -2
- package/dist/node_modules/lodash/memoize.js.map +1 -1
- package/dist/node_modules/lodash/min.js +5 -6
- package/dist/node_modules/lodash/min.js.map +1 -1
- package/dist/node_modules/lodash/noop.js +1 -2
- package/dist/node_modules/lodash/noop.js.map +1 -1
- package/dist/node_modules/lodash/now.js +1 -2
- package/dist/node_modules/lodash/now.js.map +1 -1
- package/dist/node_modules/lodash/property.js +6 -7
- package/dist/node_modules/lodash/property.js.map +1 -1
- package/dist/node_modules/lodash/range.js +1 -2
- package/dist/node_modules/lodash/range.js.map +1 -1
- package/dist/node_modules/lodash/some.js +7 -8
- package/dist/node_modules/lodash/some.js.map +1 -1
- package/dist/node_modules/lodash/sortBy.js +1 -2
- package/dist/node_modules/lodash/sortBy.js.map +1 -1
- package/dist/node_modules/lodash/stubArray.js +1 -2
- package/dist/node_modules/lodash/stubArray.js.map +1 -1
- package/dist/node_modules/lodash/stubFalse.js +1 -2
- package/dist/node_modules/lodash/stubFalse.js.map +1 -1
- package/dist/node_modules/lodash/throttle.js +4 -5
- package/dist/node_modules/lodash/throttle.js.map +1 -1
- package/dist/node_modules/lodash/toFinite.js +2 -3
- package/dist/node_modules/lodash/toFinite.js.map +1 -1
- package/dist/node_modules/lodash/toInteger.js +1 -2
- package/dist/node_modules/lodash/toInteger.js.map +1 -1
- package/dist/node_modules/lodash/toNumber.js +4 -5
- package/dist/node_modules/lodash/toNumber.js.map +1 -1
- package/dist/node_modules/lodash/toString.js +1 -2
- package/dist/node_modules/lodash/toString.js.map +1 -1
- package/dist/node_modules/lodash/uniqBy.js +1 -2
- package/dist/node_modules/lodash/uniqBy.js.map +1 -1
- package/dist/node_modules/lodash/upperFirst.js +1 -2
- package/dist/node_modules/lodash/upperFirst.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +22 -23
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +29 -30
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +17 -18
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +10 -11
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +5 -6
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +6 -7
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +4 -5
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +50 -49
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +17 -18
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +23 -24
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +12 -12
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +35 -37
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +18 -19
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +9 -10
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +3 -3
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +3 -4
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +9 -10
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +4 -5
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +5 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +3 -4
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +2 -9
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +16 -17
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +3 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +15 -16
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +16 -17
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +6 -7
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +175 -180
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +6 -5
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +58 -59
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +9 -10
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +10 -15
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +10 -11
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/store.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +11 -12
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +6 -7
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +57 -58
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +9 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +8 -7
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +10 -7
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +17 -18
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +13 -14
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +4 -5
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/index.js +20 -21
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +5 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +4 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +10 -11
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +13 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +8 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +58 -59
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +5 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/array.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/clamp.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +2 -3
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +2 -3
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +2 -3
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +12 -13
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/errors.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/global-config.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/is-object.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/memo.js +2 -3
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/noop.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/pipe.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/progress.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +7 -6
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -1
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/object-assign/index.js.map +1 -1
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/prop-types/index.js.map +1 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
- package/dist/node_modules/prop-types/lib/has.js +1 -2
- package/dist/node_modules/prop-types/lib/has.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
- package/dist/node_modules/react-is/cjs/react-is.development.js +31 -32
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
- package/dist/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-is/index.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/Animate.js +33 -41
- package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/easing.js +1 -2
- package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/index.js +1 -2
- package/dist/node_modules/react-smooth/es6/index.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/util.js +17 -16
- package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Area.js +99 -100
- package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +103 -104
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +35 -36
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +60 -67
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +45 -46
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +20 -21
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Line.js +79 -80
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +29 -30
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +23 -24
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +31 -32
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Scatter.js +81 -82
- package/dist/node_modules/recharts/es6/cartesian/Scatter.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ZAxis.js +2 -3
- package/dist/node_modules/recharts/es6/cartesian/ZAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +2 -5
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js +18 -19
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Cursor.js +17 -18
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +35 -36
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +16 -17
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Label.js +85 -86
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/LabelList.js +20 -21
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Legend.js +26 -23
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +16 -17
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Text.js +18 -21
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +3 -4
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
- package/dist/node_modules/recharts/es6/container/Layer.js +5 -6
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
- package/dist/node_modules/recharts/es6/container/Surface.js +5 -6
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +21 -21
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Cross.js +4 -5
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Curve.js +51 -52
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Dot.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Symbols.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +24 -25
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +33 -34
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +237 -236
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/Events.js +0 -1
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +4 -5
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +11 -12
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +5 -6
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ScatterUtils.js +5 -6
- package/dist/node_modules/recharts/es6/util/ScatterUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/types.js +2 -3
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
- package/dist/node_modules/recharts-scale/es6/index.js +1 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
- package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
- package/dist/node_modules/victory-vendor/es/d3-scale.js +2 -3
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -1
- package/dist/stories/EmptyState.stories.d.ts +0 -1
- package/dist/stories/InsightsCharts.stories.d.ts +0 -1
- package/dist/stories/MetricsCard.stories.d.ts +0 -1
- package/dist/stories/StatusBadge.stories.d.ts +0 -1
- package/package.json +21 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePager.js","names":[],"sources":["../../../src/mybodyshield/hooks/usePager.ts"],"sourcesContent":["/**\n * useOffsetPager — offset/limit pagination for Myb* list connections.\n * @module mybodyshield/hooks\n *\n * The workspaces public gateway's composed `PaginationInput` does NOT reliably\n * carry `cursor` (the federated intersection drops it) — sending\n * `pagination.cursor` fails (GRAPHQL_VALIDATION_FAILED, or INTERNAL_SERVER_ERROR\n * on a null end-cursor). So MFE lists paginate by **offset**: pass\n * `pagination: { limit, offset: page * limit }` and drive \"Next\" from\n * `pageInfo.hasMore`. This hook keeps a 0-indexed `page` and derives `offset`.\n */\n\nimport { useCallback, useMemo, useState } from 'react';\n\nexport interface OffsetPager {\n /** 0-indexed page number for display. */\n page: number;\n /** Number of rows to skip — pass as `pagination.offset`. */\n offset: number;\n /** Rows per page. */\n pageSize: number;\n /** Advance to the next page. */\n next: () => void;\n /** Go back one page (no-op on the first page). */\n prev: () => void;\n /** Reset to the first page (call when filters change). */\n reset: () => void;\n /** Adapter for `<Pagination onPageChange>` — jumps to an absolute 0-indexed page. */\n onPageChange: (targetPage: number) => void;\n}\n\nexport function useOffsetPager(pageSize = 25): OffsetPager {\n const [page, setPage] = useState(0);\n\n const next = useCallback(() => setPage((p) => p + 1), []);\n const prev = useCallback(() => setPage((p) => (p > 0 ? p - 1 : 0)), []);\n const reset = useCallback(() => setPage(0), []);\n const onPageChange = useCallback((targetPage: number) => {\n setPage(targetPage < 0 ? 0 : targetPage);\n }, []);\n\n return useMemo(\n () => ({ page, offset: page * pageSize, pageSize, next, prev, reset, onPageChange }),\n [page, pageSize, next, prev, reset, onPageChange]\n );\n}\n"],"mappings":";;AA+BA,
|
|
1
|
+
{"version":3,"file":"usePager.js","names":["useOffsetPager","page","setPage","useState","next","useCallback","p","prev","reset","onPageChange","targetPage","useMemo","pageSize"],"sources":["../../../src/mybodyshield/hooks/usePager.ts"],"sourcesContent":["/**\n * useOffsetPager — offset/limit pagination for Myb* list connections.\n * @module mybodyshield/hooks\n *\n * The workspaces public gateway's composed `PaginationInput` does NOT reliably\n * carry `cursor` (the federated intersection drops it) — sending\n * `pagination.cursor` fails (GRAPHQL_VALIDATION_FAILED, or INTERNAL_SERVER_ERROR\n * on a null end-cursor). So MFE lists paginate by **offset**: pass\n * `pagination: { limit, offset: page * limit }` and drive \"Next\" from\n * `pageInfo.hasMore`. This hook keeps a 0-indexed `page` and derives `offset`.\n */\n\nimport { useCallback, useMemo, useState } from 'react';\n\nexport interface OffsetPager {\n /** 0-indexed page number for display. */\n page: number;\n /** Number of rows to skip — pass as `pagination.offset`. */\n offset: number;\n /** Rows per page. */\n pageSize: number;\n /** Advance to the next page. */\n next: () => void;\n /** Go back one page (no-op on the first page). */\n prev: () => void;\n /** Reset to the first page (call when filters change). */\n reset: () => void;\n /** Adapter for `<Pagination onPageChange>` — jumps to an absolute 0-indexed page. */\n onPageChange: (targetPage: number) => void;\n}\n\nexport function useOffsetPager(pageSize = 25): OffsetPager {\n const [page, setPage] = useState(0);\n\n const next = useCallback(() => setPage((p) => p + 1), []);\n const prev = useCallback(() => setPage((p) => (p > 0 ? p - 1 : 0)), []);\n const reset = useCallback(() => setPage(0), []);\n const onPageChange = useCallback((targetPage: number) => {\n setPage(targetPage < 0 ? 0 : targetPage);\n }, []);\n\n return useMemo(\n () => ({ page, offset: page * pageSize, pageSize, next, prev, reset, onPageChange }),\n [page, pageSize, next, prev, reset, onPageChange]\n );\n}\n"],"mappings":";;AA+BA,SAAgBA,EAAe,IAAW,IAAiB;CACzD,IAAM,CAACC,GAAMC,KAAWC,EAAS,CAAC,GAE5BC,IAAOC,QAAkBH,GAAS,MAAMI,IAAI,CAAC,GAAG,CAAC,CAAC,GAClDC,IAAOF,QAAkBH,GAAS,MAAOI,IAAI,IAAIA,IAAI,IAAI,CAAE,GAAG,CAAC,CAAC,GAChEE,IAAQH,QAAkBH,EAAQ,CAAC,GAAG,CAAC,CAAC,GACxCO,IAAeJ,GAAa,MAAuB;EACvD,EAAQK,IAAa,IAAI,IAAIA,CAAU;CACzC,GAAG,CAAC,CAAC;CAEL,OAAOC,SACE;EAAE;EAAM,QAAQV,IAAOW;EAAU;EAAU;EAAM;EAAM;EAAO;CAAa,IAClF;EAACX;EAAMW;EAAUR;EAAMG;EAAMC;EAAOC;CAAY,CAClD;AACF"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { tWithFallback as e } from "../utils/i18n.js";
|
|
2
2
|
import { useCallback as t } from "react";
|
|
3
3
|
import { useI18n as n } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
4
|
-
|
|
4
|
+
// src/mybodyshield/hooks/useTr.ts
|
|
5
5
|
function r() {
|
|
6
6
|
let { t: r } = n();
|
|
7
7
|
return t((t, n, i) => e(r, t, n, i), [r]);
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
9
|
export { r as useTr };
|
|
11
10
|
|
|
12
11
|
//# sourceMappingURL=useTr.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTr.js","names":[],"sources":["../../../src/mybodyshield/hooks/useTr.ts"],"sourcesContent":["/**\n * MyBodyShield i18n hook\n * @module mybodyshield/hooks\n *\n * Thin wrapper around the shell I18nProvider that returns a `t` helper with\n * fallback-string and interpolation support. Keeps MFE components free of\n * `useI18n` boilerplate and guarantees a stable API even if the shell provider\n * changes shape.\n */\n\nimport { useCallback } from 'react';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport { tWithFallback } from '../utils/i18n';\nimport type { TranslationParams } from '../utils/i18n';\n\nexport type Tr = (key: string, fallback: string, params?: TranslationParams) => string;\n\nexport function useTr(): Tr {\n const { t: translate } = useI18n();\n\n return useCallback(\n (key: string, fallback: string, params?: TranslationParams): string =>\n tWithFallback(translate, key, fallback, params),\n [translate]\n );\n}\n"],"mappings":";;;;AAiBA,
|
|
1
|
+
{"version":3,"file":"useTr.js","names":["useTr","translate","useI18n","useCallback","tWithFallback","key","fallback","params"],"sources":["../../../src/mybodyshield/hooks/useTr.ts"],"sourcesContent":["/**\n * MyBodyShield i18n hook\n * @module mybodyshield/hooks\n *\n * Thin wrapper around the shell I18nProvider that returns a `t` helper with\n * fallback-string and interpolation support. Keeps MFE components free of\n * `useI18n` boilerplate and guarantees a stable API even if the shell provider\n * changes shape.\n */\n\nimport { useCallback } from 'react';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport { tWithFallback } from '../utils/i18n';\nimport type { TranslationParams } from '../utils/i18n';\n\nexport type Tr = (key: string, fallback: string, params?: TranslationParams) => string;\n\nexport function useTr(): Tr {\n const { t: translate } = useI18n();\n\n return useCallback(\n (key: string, fallback: string, params?: TranslationParams): string =>\n tWithFallback(translate, key, fallback, params),\n [translate]\n );\n}\n"],"mappings":";;;;AAiBA,SAAgBA,IAAY;CAC1B,IAAM,EAAE,GAAGC,MAAcC,EAAQ;CAEjC,OAAOC,GACJ,GAAa,GAAkB,MAC9BC,EAAcH,GAAWI,GAAKC,GAAUC,CAAM,GAChD,CAACN,CAAS,CACZ;AACF"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import "./utils/navigation.js";
|
|
2
|
-
import "./context/MyBodyShieldContext.js";
|
|
3
|
-
import "./utils/cn.js";
|
|
4
|
-
import "./utils/formatters.js";
|
|
1
|
+
import { joinPath as e } from "./utils/navigation.js";
|
|
2
|
+
import { MyBodyShieldProvider as t, useMyBodyShield as n } from "./context/MyBodyShieldContext.js";
|
|
3
|
+
import { cn as r } from "./utils/cn.js";
|
|
4
|
+
import { formatDate as i, formatDateTime as a, formatDuration as o, formatEnumLabel as s, formatGrams as c, formatKcal as l, formatMinutes as u, formatNumber as d, formatPercent as f, formatQuantity as p, formatRelativeTime as m, formatWeight as h } from "./utils/formatters.js";
|
|
5
|
+
import { MyBodyShieldRoot as g } from "./MyBodyShieldRoot.js";
|
|
5
6
|
import "./context/index.js";
|
|
6
|
-
|
|
7
|
+
export { t as MyBodyShieldProvider, g as MyBodyShieldRoot, r as cn, i as formatDate, a as formatDateTime, o as formatDuration, s as formatEnumLabel, c as formatGrams, l as formatKcal, u as formatMinutes, d as formatNumber, f as formatPercent, p as formatQuantity, m as formatRelativeTime, h as formatWeight, e as joinPath, n as useMyBodyShield };
|
|
@@ -1,77 +1,76 @@
|
|
|
1
|
-
|
|
2
|
-
var e = "
|
|
3
|
-
function
|
|
4
|
-
return new Promise((
|
|
1
|
+
// src/mybodyshield/lib/offlineSessionQueue.ts
|
|
2
|
+
var e = "pending-actions";
|
|
3
|
+
function t() {
|
|
4
|
+
return new Promise((t, n) => {
|
|
5
5
|
if (typeof indexedDB > "u") {
|
|
6
|
-
|
|
6
|
+
n(/* @__PURE__ */ Error("IndexedDB is not available in this environment."));
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
let
|
|
12
|
-
|
|
13
|
-
},
|
|
9
|
+
let r = indexedDB.open("myb-session-offline-queue", 1);
|
|
10
|
+
r.onupgradeneeded = () => {
|
|
11
|
+
let t = r.result;
|
|
12
|
+
t.objectStoreNames.contains(e) || t.createObjectStore(e, { keyPath: "clientActionId" });
|
|
13
|
+
}, r.onsuccess = () => t(r.result), r.onerror = () => n(r.error ?? /* @__PURE__ */ Error("Failed to open the offline session queue."));
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
async function
|
|
17
|
-
let i = await
|
|
16
|
+
async function n(n, r) {
|
|
17
|
+
let i = await t();
|
|
18
18
|
try {
|
|
19
|
-
return await new Promise((
|
|
20
|
-
let o =
|
|
21
|
-
o.onsuccess = () =>
|
|
19
|
+
return await new Promise((t, a) => {
|
|
20
|
+
let o = r(i.transaction(e, n).objectStore(e));
|
|
21
|
+
o.onsuccess = () => t(o.result), o.onerror = () => a(o.error ?? /* @__PURE__ */ Error("Offline session queue operation failed."));
|
|
22
22
|
});
|
|
23
23
|
} finally {
|
|
24
24
|
i.close();
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
async function
|
|
27
|
+
async function r(e) {
|
|
28
28
|
let t = {
|
|
29
29
|
...e,
|
|
30
30
|
queuedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
31
31
|
attempts: 0,
|
|
32
32
|
lastError: null
|
|
33
33
|
};
|
|
34
|
-
return await
|
|
34
|
+
return await n("readwrite", (e) => e.put(t)), t;
|
|
35
35
|
}
|
|
36
|
-
async function
|
|
37
|
-
return [...await
|
|
36
|
+
async function i() {
|
|
37
|
+
return [...await n("readonly", (e) => e.getAll())].sort((e, t) => e.queuedAt.localeCompare(t.queuedAt));
|
|
38
38
|
}
|
|
39
|
-
async function
|
|
40
|
-
return (await
|
|
39
|
+
async function a(e) {
|
|
40
|
+
return (await i()).filter((t) => t.sessionId === e);
|
|
41
41
|
}
|
|
42
|
-
async function
|
|
43
|
-
await
|
|
42
|
+
async function o(e) {
|
|
43
|
+
await n("readwrite", (t) => t.delete(e));
|
|
44
44
|
}
|
|
45
|
-
async function
|
|
46
|
-
let i = await
|
|
45
|
+
async function s(n, r) {
|
|
46
|
+
let i = await t();
|
|
47
47
|
try {
|
|
48
|
-
await new Promise((
|
|
49
|
-
let o = i.transaction(
|
|
48
|
+
await new Promise((t, a) => {
|
|
49
|
+
let o = i.transaction(e, "readwrite").objectStore(e), s = o.get(n);
|
|
50
50
|
s.onsuccess = () => {
|
|
51
51
|
let e = s.result;
|
|
52
52
|
if (!e) {
|
|
53
|
-
|
|
53
|
+
t();
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
56
|
let n = o.put({
|
|
57
57
|
...e,
|
|
58
58
|
attempts: e.attempts + 1,
|
|
59
|
-
lastError:
|
|
59
|
+
lastError: r
|
|
60
60
|
});
|
|
61
|
-
n.onsuccess = () =>
|
|
61
|
+
n.onsuccess = () => t(), n.onerror = () => a(n.error ?? /* @__PURE__ */ Error("Failed to record sync failure."));
|
|
62
62
|
}, s.onerror = () => a(s.error ?? /* @__PURE__ */ Error("Failed to load pending action."));
|
|
63
63
|
});
|
|
64
64
|
} finally {
|
|
65
65
|
i.close();
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
async function
|
|
69
|
-
return
|
|
68
|
+
async function c() {
|
|
69
|
+
return n("readonly", (e) => e.count());
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function l() {
|
|
72
72
|
return typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : `local-${Date.now()}-${Math.random().toString(36).slice(2)}`;
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
export { u as countPendingActions, a as enqueuePendingAction, o as listPendingActions, s as listPendingActionsForSession, l as markPendingActionFailed, d as newClientActionId, c as removePendingAction };
|
|
74
|
+
export { c as countPendingActions, r as enqueuePendingAction, i as listPendingActions, a as listPendingActionsForSession, s as markPendingActionFailed, l as newClientActionId, o as removePendingAction };
|
|
76
75
|
|
|
77
76
|
//# sourceMappingURL=offlineSessionQueue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offlineSessionQueue.js","names":[],"sources":["../../../src/mybodyshield/lib/offlineSessionQueue.ts"],"sourcesContent":["/**\n * offlineSessionQueue — an offline-first mutation queue for in-session\n * workout logging (BOFF-4219).\n * @module mybodyshield/lib\n *\n * Scope: a member starts a workout session while online (so a real\n * `sessionId` already exists), then loses connectivity mid-session — a\n * common real-world gap (gym basements, poor venue Wi-Fi) — and needs to\n * keep logging sets and eventually complete the session without losing\n * data or blocking on a network round-trip. Every \"log set\" / \"complete\n * session\" action is persisted to IndexedDB the instant it's captured —\n * online or offline — keyed by a client-generated `clientActionId` that is\n * minted once and never regenerated for that action. The queue is drained\n * automatically once the browser's `online` event fires (and periodically\n * retried while online, in case the network is flaky rather than fully\n * down) by `useOfflineSessionSync`.\n *\n * Modeled directly on the EventfullyManaged kiosk check-in offline queue\n * (`microfe-eventfullymanaged/src/eventfullymanaged/lib/offlineCheckInQueue.ts`,\n * BOFF-4330) — same IndexedDB-backed queue-and-replay shape, adapted for\n * two action types instead of one.\n *\n * KNOWN LIMITATION (documented, not silently assumed away): unlike the\n * EventfullyManaged check-in mutation, `mybLogSet`/`mybCompleteSession`\n * carry no server-side idempotency key. If a sync attempt's response is\n * lost after the server has actually applied it (app killed / tab closed\n * mid-request), a retry could double-submit that one action. This is the\n * same residual risk any offline-first client has without a backend\n * idempotency contract; adding one is backend follow-up scope, tracked\n * against BOFF-4219 rather than silently glossed over here. Starting a\n * session fully offline (no `sessionId` yet) is explicitly OUT of this\n * queue's scope for the same reason plus the larger local-only-session-view\n * UX work it would require — see the BOFF-4219 Linear ticket.\n */\n\nconst DB_NAME = 'myb-session-offline-queue';\nconst DB_VERSION = 1;\nconst STORE_NAME = 'pending-actions';\n\nexport type PendingSessionActionType = 'LOG_SET' | 'COMPLETE_SESSION';\n\nexport interface PendingLogSetInput {\n exerciseName: string;\n setNumber?: number | null;\n reps?: number | null;\n weight?: number | null;\n distanceM?: number | null;\n durationSec?: number | null;\n isPersonalRecord?: boolean | null;\n}\n\nexport interface PendingCompleteSessionInput {\n caloriesBurned?: number | null;\n perceivedExertion?: number | null;\n notes?: string | null;\n}\n\nexport interface PendingSessionAction {\n /** Client-generated key — stable across retries, used as the IndexedDB key. */\n clientActionId: string;\n sessionId: string;\n type: PendingSessionActionType;\n input: PendingLogSetInput | PendingCompleteSessionInput;\n /** When the action actually happened on-device, independent of when it syncs. */\n capturedAt: string;\n queuedAt: string;\n attempts: number;\n lastError: string | null;\n}\n\nfunction openDb(): Promise<IDBDatabase> {\n return new Promise((resolve, reject) => {\n if (typeof indexedDB === 'undefined') {\n reject(new Error('IndexedDB is not available in this environment.'));\n return;\n }\n const request = indexedDB.open(DB_NAME, DB_VERSION);\n request.onupgradeneeded = () => {\n const db = request.result;\n if (!db.objectStoreNames.contains(STORE_NAME)) {\n db.createObjectStore(STORE_NAME, { keyPath: 'clientActionId' });\n }\n };\n request.onsuccess = () => resolve(request.result);\n request.onerror = () =>\n reject(request.error ?? new Error('Failed to open the offline session queue.'));\n });\n}\n\nasync function withStore<T>(\n mode: IDBTransactionMode,\n fn: (store: IDBObjectStore) => IDBRequest<T>\n): Promise<T> {\n const db = await openDb();\n try {\n return await new Promise<T>((resolve, reject) => {\n const tx = db.transaction(STORE_NAME, mode);\n const store = tx.objectStore(STORE_NAME);\n const request = fn(store);\n request.onsuccess = () => resolve(request.result);\n request.onerror = () =>\n reject(request.error ?? new Error('Offline session queue operation failed.'));\n });\n } finally {\n db.close();\n }\n}\n\n/** Persist a new pending action to the offline queue. Returns the stored record. */\nexport async function enqueuePendingAction(\n action: Omit<PendingSessionAction, 'queuedAt' | 'attempts' | 'lastError'>\n): Promise<PendingSessionAction> {\n const record: PendingSessionAction = {\n ...action,\n queuedAt: new Date().toISOString(),\n attempts: 0,\n lastError: null,\n };\n await withStore('readwrite', (store) => store.put(record));\n return record;\n}\n\n/** List every pending action, oldest first (so sync replays in capture order — sets before a completion). */\nexport async function listPendingActions(): Promise<PendingSessionAction[]> {\n const all = await withStore<PendingSessionAction[]>('readonly', (store) => store.getAll());\n return [...all].sort((a, b) => a.queuedAt.localeCompare(b.queuedAt));\n}\n\n/** List pending actions for a single session, oldest first — powers the \"N queued\" badge on that session's page. */\nexport async function listPendingActionsForSession(\n sessionId: string\n): Promise<PendingSessionAction[]> {\n const all = await listPendingActions();\n return all.filter((a) => a.sessionId === sessionId);\n}\n\n/** Remove an action once it has synced successfully. */\nexport async function removePendingAction(clientActionId: string): Promise<void> {\n await withStore('readwrite', (store) => store.delete(clientActionId));\n}\n\n/** Record a failed sync attempt so the UI can show why it's still pending. */\nexport async function markPendingActionFailed(\n clientActionId: string,\n error: string\n): Promise<void> {\n const db = await openDb();\n try {\n await new Promise<void>((resolve, reject) => {\n const tx = db.transaction(STORE_NAME, 'readwrite');\n const store = tx.objectStore(STORE_NAME);\n const getReq = store.get(clientActionId);\n getReq.onsuccess = () => {\n const existing = getReq.result as PendingSessionAction | undefined;\n if (!existing) {\n resolve();\n return;\n }\n const putReq = store.put({\n ...existing,\n attempts: existing.attempts + 1,\n lastError: error,\n });\n putReq.onsuccess = () => resolve();\n putReq.onerror = () => reject(putReq.error ?? new Error('Failed to record sync failure.'));\n };\n getReq.onerror = () => reject(getReq.error ?? new Error('Failed to load pending action.'));\n });\n } finally {\n db.close();\n }\n}\n\n/** How many actions are currently queued — powers the global \"pending sync\" indicator. */\nexport async function countPendingActions(): Promise<number> {\n return withStore<number>('readonly', (store) => store.count());\n}\n\n/** Mint a stable client-side id for a new pending action. */\nexport function newClientActionId(): string {\n if (typeof crypto !== 'undefined' && 'randomUUID' in crypto) return crypto.randomUUID();\n return `local-${Date.now()}-${Math.random().toString(36).slice(2)}`;\n}\n"],"mappings":";AAmCA,
|
|
1
|
+
{"version":3,"file":"offlineSessionQueue.js","names":["STORE_NAME","openDb","request","db","resolve","reject","withStore","fn","mode","enqueuePendingAction","record","action","store","listPendingActions","a","b","listPendingActionsForSession","sessionId","removePendingAction","clientActionId","markPendingActionFailed","getReq","existing","putReq","error","countPendingActions","newClientActionId"],"sources":["../../../src/mybodyshield/lib/offlineSessionQueue.ts"],"sourcesContent":["/**\n * offlineSessionQueue — an offline-first mutation queue for in-session\n * workout logging (BOFF-4219).\n * @module mybodyshield/lib\n *\n * Scope: a member starts a workout session while online (so a real\n * `sessionId` already exists), then loses connectivity mid-session — a\n * common real-world gap (gym basements, poor venue Wi-Fi) — and needs to\n * keep logging sets and eventually complete the session without losing\n * data or blocking on a network round-trip. Every \"log set\" / \"complete\n * session\" action is persisted to IndexedDB the instant it's captured —\n * online or offline — keyed by a client-generated `clientActionId` that is\n * minted once and never regenerated for that action. The queue is drained\n * automatically once the browser's `online` event fires (and periodically\n * retried while online, in case the network is flaky rather than fully\n * down) by `useOfflineSessionSync`.\n *\n * Modeled directly on the EventfullyManaged kiosk check-in offline queue\n * (`microfe-eventfullymanaged/src/eventfullymanaged/lib/offlineCheckInQueue.ts`,\n * BOFF-4330) — same IndexedDB-backed queue-and-replay shape, adapted for\n * two action types instead of one.\n *\n * KNOWN LIMITATION (documented, not silently assumed away): unlike the\n * EventfullyManaged check-in mutation, `mybLogSet`/`mybCompleteSession`\n * carry no server-side idempotency key. If a sync attempt's response is\n * lost after the server has actually applied it (app killed / tab closed\n * mid-request), a retry could double-submit that one action. This is the\n * same residual risk any offline-first client has without a backend\n * idempotency contract; adding one is backend follow-up scope, tracked\n * against BOFF-4219 rather than silently glossed over here. Starting a\n * session fully offline (no `sessionId` yet) is explicitly OUT of this\n * queue's scope for the same reason plus the larger local-only-session-view\n * UX work it would require — see the BOFF-4219 Linear ticket.\n */\n\nconst DB_NAME = 'myb-session-offline-queue';\nconst DB_VERSION = 1;\nconst STORE_NAME = 'pending-actions';\n\nexport type PendingSessionActionType = 'LOG_SET' | 'COMPLETE_SESSION';\n\nexport interface PendingLogSetInput {\n exerciseName: string;\n setNumber?: number | null;\n reps?: number | null;\n weight?: number | null;\n distanceM?: number | null;\n durationSec?: number | null;\n isPersonalRecord?: boolean | null;\n}\n\nexport interface PendingCompleteSessionInput {\n caloriesBurned?: number | null;\n perceivedExertion?: number | null;\n notes?: string | null;\n}\n\nexport interface PendingSessionAction {\n /** Client-generated key — stable across retries, used as the IndexedDB key. */\n clientActionId: string;\n sessionId: string;\n type: PendingSessionActionType;\n input: PendingLogSetInput | PendingCompleteSessionInput;\n /** When the action actually happened on-device, independent of when it syncs. */\n capturedAt: string;\n queuedAt: string;\n attempts: number;\n lastError: string | null;\n}\n\nfunction openDb(): Promise<IDBDatabase> {\n return new Promise((resolve, reject) => {\n if (typeof indexedDB === 'undefined') {\n reject(new Error('IndexedDB is not available in this environment.'));\n return;\n }\n const request = indexedDB.open(DB_NAME, DB_VERSION);\n request.onupgradeneeded = () => {\n const db = request.result;\n if (!db.objectStoreNames.contains(STORE_NAME)) {\n db.createObjectStore(STORE_NAME, { keyPath: 'clientActionId' });\n }\n };\n request.onsuccess = () => resolve(request.result);\n request.onerror = () =>\n reject(request.error ?? new Error('Failed to open the offline session queue.'));\n });\n}\n\nasync function withStore<T>(\n mode: IDBTransactionMode,\n fn: (store: IDBObjectStore) => IDBRequest<T>\n): Promise<T> {\n const db = await openDb();\n try {\n return await new Promise<T>((resolve, reject) => {\n const tx = db.transaction(STORE_NAME, mode);\n const store = tx.objectStore(STORE_NAME);\n const request = fn(store);\n request.onsuccess = () => resolve(request.result);\n request.onerror = () =>\n reject(request.error ?? new Error('Offline session queue operation failed.'));\n });\n } finally {\n db.close();\n }\n}\n\n/** Persist a new pending action to the offline queue. Returns the stored record. */\nexport async function enqueuePendingAction(\n action: Omit<PendingSessionAction, 'queuedAt' | 'attempts' | 'lastError'>\n): Promise<PendingSessionAction> {\n const record: PendingSessionAction = {\n ...action,\n queuedAt: new Date().toISOString(),\n attempts: 0,\n lastError: null,\n };\n await withStore('readwrite', (store) => store.put(record));\n return record;\n}\n\n/** List every pending action, oldest first (so sync replays in capture order — sets before a completion). */\nexport async function listPendingActions(): Promise<PendingSessionAction[]> {\n const all = await withStore<PendingSessionAction[]>('readonly', (store) => store.getAll());\n return [...all].sort((a, b) => a.queuedAt.localeCompare(b.queuedAt));\n}\n\n/** List pending actions for a single session, oldest first — powers the \"N queued\" badge on that session's page. */\nexport async function listPendingActionsForSession(\n sessionId: string\n): Promise<PendingSessionAction[]> {\n const all = await listPendingActions();\n return all.filter((a) => a.sessionId === sessionId);\n}\n\n/** Remove an action once it has synced successfully. */\nexport async function removePendingAction(clientActionId: string): Promise<void> {\n await withStore('readwrite', (store) => store.delete(clientActionId));\n}\n\n/** Record a failed sync attempt so the UI can show why it's still pending. */\nexport async function markPendingActionFailed(\n clientActionId: string,\n error: string\n): Promise<void> {\n const db = await openDb();\n try {\n await new Promise<void>((resolve, reject) => {\n const tx = db.transaction(STORE_NAME, 'readwrite');\n const store = tx.objectStore(STORE_NAME);\n const getReq = store.get(clientActionId);\n getReq.onsuccess = () => {\n const existing = getReq.result as PendingSessionAction | undefined;\n if (!existing) {\n resolve();\n return;\n }\n const putReq = store.put({\n ...existing,\n attempts: existing.attempts + 1,\n lastError: error,\n });\n putReq.onsuccess = () => resolve();\n putReq.onerror = () => reject(putReq.error ?? new Error('Failed to record sync failure.'));\n };\n getReq.onerror = () => reject(getReq.error ?? new Error('Failed to load pending action.'));\n });\n } finally {\n db.close();\n }\n}\n\n/** How many actions are currently queued — powers the global \"pending sync\" indicator. */\nexport async function countPendingActions(): Promise<number> {\n return withStore<number>('readonly', (store) => store.count());\n}\n\n/** Mint a stable client-side id for a new pending action. */\nexport function newClientActionId(): string {\n if (typeof crypto !== 'undefined' && 'randomUUID' in crypto) return crypto.randomUUID();\n return `local-${Date.now()}-${Math.random().toString(36).slice(2)}`;\n}\n"],"mappings":";AAmCA,IAEMA,IAAa;AAiCnB,SAASC,IAA+B;CACtC,OAAO,IAAI,SAAS,GAAS,MAAW;EACtC,IAAI,OAAO,YAAc,KAAa;GACpC,EAAO,gBAAI,MAAM,iDAAiD,CAAC;GACnE;EACF;EACA,IAAMC,IAAU,UAAU,KAAK,6BAAS,CAAU;EAQlD,AAPA,EAAQ,wBAAwB;GAC9B,IAAMC,IAAKD,EAAQ;GACnB,AAAKC,EAAG,iBAAiB,SAASH,CAAU,KAC1CG,EAAG,kBAAkBH,GAAY,EAAE,SAAS,iBAAiB,CAAC;EAElE,GACA,EAAQ,kBAAkBI,EAAQF,EAAQ,MAAM,GAChD,EAAQ,gBACNG,EAAOH,EAAQ,SAAS,gBAAI,MAAM,2CAA2C,CAAC;CAClF,CAAC;AACH;AAEA,eAAeI,EACb,GACA,GACY;CACZ,IAAMH,IAAK,MAAMF,EAAO;CACxB,IAAI;EACF,OAAO,MAAM,IAAI,SAAY,GAAS,MAAW;GAG/C,IAAMC,IAAUK,EAFLJ,EAAG,YAAYH,GAAYQ,CACxB,CAAA,CAAG,YAAYR,CACV,CAAK;GAExB,AADA,EAAQ,kBAAkBI,EAAQF,EAAQ,MAAM,GAChD,EAAQ,gBACNG,EAAOH,EAAQ,SAAS,gBAAI,MAAM,yCAAyC,CAAC;EAChF,CAAC;CACH,UAAU;EACR,EAAG,MAAM;CACX;AACF;AAGA,eAAsBO,EACpB,GAC+B;CAC/B,IAAMC,IAA+B;EACnC,GAAGC;EACH,2BAAU,IAAI,KAAK,EAAA,CAAE,YAAY;EACjC,UAAU;EACV,WAAW;CACb;CAEA,OADA,MAAML,EAAU,cAAc,MAAUM,EAAM,IAAIF,CAAM,CAAC,GAClDA;AACT;AAGA,eAAsBG,IAAsD;CAE1E,OAAO,CAAC,GAAG,MADOP,EAAkC,aAAa,MAAUM,EAAM,OAAO,CAAC,CAC3E,CAAC,CAAC,MAAM,GAAG,MAAME,EAAE,SAAS,cAAcC,EAAE,QAAQ,CAAC;AACrE;AAGA,eAAsBC,EACpB,GACiC;CAEjC,QAAO,MADWH,EAAmB,EAAA,CAC1B,QAAQ,MAAMC,EAAE,cAAcG,CAAS;AACpD;AAGA,eAAsBC,EAAoB,GAAuC;CAC/E,MAAMZ,EAAU,cAAc,MAAUM,EAAM,OAAOO,CAAc,CAAC;AACtE;AAGA,eAAsBC,EACpB,GACA,GACe;CACf,IAAMjB,IAAK,MAAMF,EAAO;CACxB,IAAI;EACF,MAAM,IAAI,SAAe,GAAS,MAAW;GAE3C,IAAMW,IADKT,EAAG,YAAYH,GAAY,WACxB,CAAA,CAAG,YAAYA,CAAU,GACjCqB,IAAST,EAAM,IAAIO,CAAc;GAevC,AAdA,EAAO,kBAAkB;IACvB,IAAMG,IAAWD,EAAO;IACxB,IAAI,CAACC,GAAU;KACb,EAAQ;KACR;IACF;IACA,IAAMC,IAASX,EAAM,IAAI;KACvB,GAAGU;KACH,UAAUA,EAAS,WAAW;KAC9B,WAAWE;IACb,CAAC;IAED,AADA,EAAO,kBAAkBpB,EAAQ,GACjC,EAAO,gBAAgBC,EAAOkB,EAAO,SAAS,gBAAI,MAAM,gCAAgC,CAAC;GAC3F,GACA,EAAO,gBAAgBlB,EAAOgB,EAAO,SAAS,gBAAI,MAAM,gCAAgC,CAAC;EAC3F,CAAC;CACH,UAAU;EACR,EAAG,MAAM;CACX;AACF;AAGA,eAAsBI,IAAuC;CAC3D,OAAOnB,EAAkB,aAAa,MAAUM,EAAM,MAAM,CAAC;AAC/D;AAGA,SAAgBc,IAA4B;CAE1C,OADI,OAAO,SAAW,OAAe,gBAAgB,SAAe,OAAO,WAAW,IAC/E,SAAS,KAAK,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC;AAClE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { countPendingActions as e, enqueuePendingAction as t, listPendingActions as n, markPendingActionFailed as r, newClientActionId as i, removePendingAction as a } from "./offlineSessionQueue.js";
|
|
2
2
|
import { useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
|
|
3
|
-
|
|
3
|
+
// src/mybodyshield/lib/useOfflineSessionSync.ts
|
|
4
4
|
var u = 2e4;
|
|
5
5
|
function d(d, f, p) {
|
|
6
6
|
let [m, h] = l(() => typeof navigator > "u" || navigator.onLine), [g, _] = l(0), v = c(!1), y = o(() => {
|
|
@@ -74,7 +74,6 @@ function d(d, f, p) {
|
|
|
74
74
|
refreshPendingCount: y
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
//#endregion
|
|
78
77
|
export { d as useOfflineSessionSync };
|
|
79
78
|
|
|
80
79
|
//# sourceMappingURL=useOfflineSessionSync.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOfflineSessionSync.js","names":[],"sources":["../../../src/mybodyshield/lib/useOfflineSessionSync.ts"],"sourcesContent":["/**\n * useOfflineSessionSync — drains the offline in-session mutation queue\n * (BOFF-4219).\n * @module mybodyshield/lib\n *\n * Wires the IndexedDB queue (`offlineSessionQueue.ts`) to the real\n * `mybLogSet` / `mybCompleteSession` mutations: replays every queued action\n * in capture order, on three triggers — mirrors\n * `useOfflineCheckInSync` (BOFF-4330) exactly:\n * 1. once on mount (covers \"the app was reloaded with a full queue\"),\n * 2. immediately when the browser fires `online`,\n * 3. periodically while online, in case the network is flaky rather than\n * fully down.\n *\n * An action whose sync attempt throws (network failure) stops the drain for\n * this pass so a dead connection doesn't get hammered; an action that gets\n * back a real GraphQL error (e.g. the session was deleted server-side) is\n * marked failed and skipped so one bad entry can't block the rest of a\n * healthy queue.\n *\n * Also exposes `enqueueLogSet` / `enqueueCompleteSession` — the write path a\n * page calls when it detects it's offline (or a mutation throws a\n * network-level error), so the two concerns (detecting \"should this be\n * queued instead\" and \"how the queue drains\") stay decoupled.\n */\nimport { useCallback, useEffect, useRef, useState } from 'react';\n\nimport {\n countPendingActions,\n enqueuePendingAction,\n listPendingActions,\n markPendingActionFailed,\n newClientActionId,\n removePendingAction,\n type PendingCompleteSessionInput,\n type PendingLogSetInput,\n type PendingSessionAction,\n} from './offlineSessionQueue';\n\nconst RETRY_INTERVAL_MS = 20_000;\n\nexport interface LogSetMutateResult {\n id: string;\n setNumber: number;\n}\n\ntype LogSetMutate = (\n input: PendingLogSetInput & { sessionId: string }\n) => Promise<LogSetMutateResult>;\ntype CompleteSessionMutate = (vars: {\n id: string;\n input: PendingCompleteSessionInput;\n}) => Promise<unknown>;\n\nexport interface OfflineSessionSyncState {\n /** Live `navigator.onLine` state (assumes online in non-browser environments). */\n isOnline: boolean;\n /** How many actions are currently queued across all sessions. */\n pendingCount: number;\n /** Queue a set to be logged once connectivity returns. */\n enqueueLogSet: (sessionId: string, input: PendingLogSetInput) => Promise<PendingSessionAction>;\n /** Queue a session completion to be applied once connectivity returns. */\n enqueueCompleteSession: (\n sessionId: string,\n input: PendingCompleteSessionInput\n ) => Promise<PendingSessionAction>;\n /** Manually kick a sync pass (e.g. a \"Retry now\" button). */\n syncNow: () => void;\n /** Refresh `pendingCount` from IndexedDB without triggering a sync. */\n refreshPendingCount: () => void;\n}\n\nexport function useOfflineSessionSync(\n logSet: LogSetMutate,\n completeSession: CompleteSessionMutate,\n onActionSynced?: (action: PendingSessionAction) => void\n): OfflineSessionSyncState {\n const [isOnline, setIsOnline] = useState(\n () => typeof navigator === 'undefined' || navigator.onLine\n );\n const [pendingCount, setPendingCount] = useState(0);\n const syncingRef = useRef(false);\n\n const refreshPendingCount = useCallback(() => {\n void countPendingActions().then(setPendingCount);\n }, []);\n\n const drainQueue = useCallback(async () => {\n if (syncingRef.current) return;\n syncingRef.current = true;\n try {\n const pending = await listPendingActions();\n for (const action of pending) {\n try {\n if (action.type === 'LOG_SET') {\n await logSet({ sessionId: action.sessionId, ...(action.input as PendingLogSetInput) });\n } else {\n await completeSession({\n id: action.sessionId,\n input: action.input as PendingCompleteSessionInput,\n });\n }\n await removePendingAction(action.clientActionId);\n onActionSynced?.(action);\n } catch (err) {\n const message = err instanceof Error ? err.message : 'Sync failed';\n await markPendingActionFailed(action.clientActionId, message);\n // Stop this pass on the first failure — whether it's a transient\n // network error (still offline) or a real backend rejection, the\n // remaining queue is retried in original order on the next\n // online/interval trigger rather than reordered around it.\n break;\n }\n }\n } finally {\n syncingRef.current = false;\n refreshPendingCount();\n }\n }, [logSet, completeSession, onActionSynced, refreshPendingCount]);\n\n const syncNow = useCallback(() => {\n void drainQueue();\n }, [drainQueue]);\n\n const enqueueLogSet = useCallback(\n async (sessionId: string, input: PendingLogSetInput) => {\n const action = await enqueuePendingAction({\n clientActionId: newClientActionId(),\n sessionId,\n type: 'LOG_SET',\n input,\n capturedAt: new Date().toISOString(),\n });\n refreshPendingCount();\n return action;\n },\n [refreshPendingCount]\n );\n\n const enqueueCompleteSession = useCallback(\n async (sessionId: string, input: PendingCompleteSessionInput) => {\n const action = await enqueuePendingAction({\n clientActionId: newClientActionId(),\n sessionId,\n type: 'COMPLETE_SESSION',\n input,\n capturedAt: new Date().toISOString(),\n });\n refreshPendingCount();\n return action;\n },\n [refreshPendingCount]\n );\n\n useEffect(() => {\n refreshPendingCount();\n // Covers the app being reloaded with actions still queued from a prior\n // offline stretch — don't wait for an `online` event that may never\n // fire again if the device was already online when it reloaded.\n void drainQueue();\n\n if (typeof window === 'undefined') return;\n const handleOnline = () => {\n setIsOnline(true);\n void drainQueue();\n };\n const handleOffline = () => setIsOnline(false);\n window.addEventListener('online', handleOnline);\n window.addEventListener('offline', handleOffline);\n\n const interval = setInterval(() => {\n if (typeof navigator === 'undefined' || navigator.onLine) {\n void drainQueue();\n }\n }, RETRY_INTERVAL_MS);\n\n return () => {\n window.removeEventListener('online', handleOnline);\n window.removeEventListener('offline', handleOffline);\n clearInterval(interval);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps -- drainQueue is stable enough (only logSet/completeSession identity churns across renders); re-subscribing on every mutate identity change would tear down/rebuild the interval constantly.\n }, []);\n\n return {\n isOnline,\n pendingCount,\n enqueueLogSet,\n enqueueCompleteSession,\n syncNow,\n refreshPendingCount,\n };\n}\n"],"mappings":";;;AAuCA,
|
|
1
|
+
{"version":3,"file":"useOfflineSessionSync.js","names":["RETRY_INTERVAL_MS","useOfflineSessionSync","isOnline","setIsOnline","useState","pendingCount","setPendingCount","syncingRef","useRef","refreshPendingCount","useCallback","drainQueue","pending","listPendingActions","action","logSet","completeSession","removePendingAction","onActionSynced","err","message","markPendingActionFailed","syncNow","enqueueLogSet","enqueuePendingAction","newClientActionId","enqueueCompleteSession","useEffect","handleOnline","handleOffline","interval"],"sources":["../../../src/mybodyshield/lib/useOfflineSessionSync.ts"],"sourcesContent":["/**\n * useOfflineSessionSync — drains the offline in-session mutation queue\n * (BOFF-4219).\n * @module mybodyshield/lib\n *\n * Wires the IndexedDB queue (`offlineSessionQueue.ts`) to the real\n * `mybLogSet` / `mybCompleteSession` mutations: replays every queued action\n * in capture order, on three triggers — mirrors\n * `useOfflineCheckInSync` (BOFF-4330) exactly:\n * 1. once on mount (covers \"the app was reloaded with a full queue\"),\n * 2. immediately when the browser fires `online`,\n * 3. periodically while online, in case the network is flaky rather than\n * fully down.\n *\n * An action whose sync attempt throws (network failure) stops the drain for\n * this pass so a dead connection doesn't get hammered; an action that gets\n * back a real GraphQL error (e.g. the session was deleted server-side) is\n * marked failed and skipped so one bad entry can't block the rest of a\n * healthy queue.\n *\n * Also exposes `enqueueLogSet` / `enqueueCompleteSession` — the write path a\n * page calls when it detects it's offline (or a mutation throws a\n * network-level error), so the two concerns (detecting \"should this be\n * queued instead\" and \"how the queue drains\") stay decoupled.\n */\nimport { useCallback, useEffect, useRef, useState } from 'react';\n\nimport {\n countPendingActions,\n enqueuePendingAction,\n listPendingActions,\n markPendingActionFailed,\n newClientActionId,\n removePendingAction,\n type PendingCompleteSessionInput,\n type PendingLogSetInput,\n type PendingSessionAction,\n} from './offlineSessionQueue';\n\nconst RETRY_INTERVAL_MS = 20_000;\n\nexport interface LogSetMutateResult {\n id: string;\n setNumber: number;\n}\n\ntype LogSetMutate = (\n input: PendingLogSetInput & { sessionId: string }\n) => Promise<LogSetMutateResult>;\ntype CompleteSessionMutate = (vars: {\n id: string;\n input: PendingCompleteSessionInput;\n}) => Promise<unknown>;\n\nexport interface OfflineSessionSyncState {\n /** Live `navigator.onLine` state (assumes online in non-browser environments). */\n isOnline: boolean;\n /** How many actions are currently queued across all sessions. */\n pendingCount: number;\n /** Queue a set to be logged once connectivity returns. */\n enqueueLogSet: (sessionId: string, input: PendingLogSetInput) => Promise<PendingSessionAction>;\n /** Queue a session completion to be applied once connectivity returns. */\n enqueueCompleteSession: (\n sessionId: string,\n input: PendingCompleteSessionInput\n ) => Promise<PendingSessionAction>;\n /** Manually kick a sync pass (e.g. a \"Retry now\" button). */\n syncNow: () => void;\n /** Refresh `pendingCount` from IndexedDB without triggering a sync. */\n refreshPendingCount: () => void;\n}\n\nexport function useOfflineSessionSync(\n logSet: LogSetMutate,\n completeSession: CompleteSessionMutate,\n onActionSynced?: (action: PendingSessionAction) => void\n): OfflineSessionSyncState {\n const [isOnline, setIsOnline] = useState(\n () => typeof navigator === 'undefined' || navigator.onLine\n );\n const [pendingCount, setPendingCount] = useState(0);\n const syncingRef = useRef(false);\n\n const refreshPendingCount = useCallback(() => {\n void countPendingActions().then(setPendingCount);\n }, []);\n\n const drainQueue = useCallback(async () => {\n if (syncingRef.current) return;\n syncingRef.current = true;\n try {\n const pending = await listPendingActions();\n for (const action of pending) {\n try {\n if (action.type === 'LOG_SET') {\n await logSet({ sessionId: action.sessionId, ...(action.input as PendingLogSetInput) });\n } else {\n await completeSession({\n id: action.sessionId,\n input: action.input as PendingCompleteSessionInput,\n });\n }\n await removePendingAction(action.clientActionId);\n onActionSynced?.(action);\n } catch (err) {\n const message = err instanceof Error ? err.message : 'Sync failed';\n await markPendingActionFailed(action.clientActionId, message);\n // Stop this pass on the first failure — whether it's a transient\n // network error (still offline) or a real backend rejection, the\n // remaining queue is retried in original order on the next\n // online/interval trigger rather than reordered around it.\n break;\n }\n }\n } finally {\n syncingRef.current = false;\n refreshPendingCount();\n }\n }, [logSet, completeSession, onActionSynced, refreshPendingCount]);\n\n const syncNow = useCallback(() => {\n void drainQueue();\n }, [drainQueue]);\n\n const enqueueLogSet = useCallback(\n async (sessionId: string, input: PendingLogSetInput) => {\n const action = await enqueuePendingAction({\n clientActionId: newClientActionId(),\n sessionId,\n type: 'LOG_SET',\n input,\n capturedAt: new Date().toISOString(),\n });\n refreshPendingCount();\n return action;\n },\n [refreshPendingCount]\n );\n\n const enqueueCompleteSession = useCallback(\n async (sessionId: string, input: PendingCompleteSessionInput) => {\n const action = await enqueuePendingAction({\n clientActionId: newClientActionId(),\n sessionId,\n type: 'COMPLETE_SESSION',\n input,\n capturedAt: new Date().toISOString(),\n });\n refreshPendingCount();\n return action;\n },\n [refreshPendingCount]\n );\n\n useEffect(() => {\n refreshPendingCount();\n // Covers the app being reloaded with actions still queued from a prior\n // offline stretch — don't wait for an `online` event that may never\n // fire again if the device was already online when it reloaded.\n void drainQueue();\n\n if (typeof window === 'undefined') return;\n const handleOnline = () => {\n setIsOnline(true);\n void drainQueue();\n };\n const handleOffline = () => setIsOnline(false);\n window.addEventListener('online', handleOnline);\n window.addEventListener('offline', handleOffline);\n\n const interval = setInterval(() => {\n if (typeof navigator === 'undefined' || navigator.onLine) {\n void drainQueue();\n }\n }, RETRY_INTERVAL_MS);\n\n return () => {\n window.removeEventListener('online', handleOnline);\n window.removeEventListener('offline', handleOffline);\n clearInterval(interval);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps -- drainQueue is stable enough (only logSet/completeSession identity churns across renders); re-subscribing on every mutate identity change would tear down/rebuild the interval constantly.\n }, []);\n\n return {\n isOnline,\n pendingCount,\n enqueueLogSet,\n enqueueCompleteSession,\n syncNow,\n refreshPendingCount,\n };\n}\n"],"mappings":";;;AAuCA,IAAMA,IAAoB;AAiC1B,SAAgBC,EACd,GACA,GACA,GACyB;CACzB,IAAM,CAACC,GAAUC,KAAeC,QACxB,OAAO,YAAc,OAAe,UAAU,MACtD,GACM,CAACC,GAAcC,KAAmBF,EAAS,CAAC,GAC5CG,IAAaC,EAAO,EAAK,GAEzBC,IAAsBC,QAAkB;EAC5C,EAAyB,CAAC,CAAC,KAAKJ,CAAe;CACjD,GAAG,CAAC,CAAC,GAECK,IAAaD,EAAY,YAAY;EACzC,IAAI,GAAW,SACf;KAAW,UAAU;GACrB,IAAI;IACF,IAAME,IAAU,MAAMC,EAAmB;IACzC,KAAK,IAAMC,KAAUF,GACnB,IAAI;KAUF,AATIE,EAAO,SAAS,YAClB,MAAMC,EAAO;MAAE,WAAWD,EAAO;MAAW,GAAIA,EAAO;KAA6B,CAAC,IAErF,MAAME,EAAgB;MACpB,IAAIF,EAAO;MACX,OAAOA,EAAO;KAChB,CAAC,GAEH,MAAMG,EAAoBH,EAAO,cAAc,GAC/CI,IAAiBJ,CAAM;IACzB,SAASK,GAAK;KACZ,IAAMC,IAAUD,aAAe,QAAQA,EAAI,UAAU;KACrD,MAAME,EAAwBP,EAAO,gBAAgBM,CAAO;KAK5D;IACF;GAEJ,UAAU;IAER,AADA,EAAW,UAAU,IACrBX,EAAoB;GACtB;EA5BqB;CA6BvB,GAAG;EAACM;EAAQC;EAAiBE;EAAgBT;CAAmB,CAAC,GAE3Da,IAAUZ,QAAkB;EAChC,EAAgB;CAClB,GAAG,CAACC,CAAU,CAAC,GAETY,IAAgBb,EACpB,OAAO,GAAmB,MAA8B;EACtD,IAAMI,IAAS,MAAMU,EAAqB;GACxC,gBAAgBC,EAAkB;GAClC;GACA,MAAM;GACN;GACA,6BAAY,IAAI,KAAK,EAAA,CAAE,YAAY;EACrC,CAAC;EAED,OADAhB,EAAoB,GACbK;CACT,GACA,CAACL,CAAmB,CACtB,GAEMiB,IAAyBhB,EAC7B,OAAO,GAAmB,MAAuC;EAC/D,IAAMI,IAAS,MAAMU,EAAqB;GACxC,gBAAgBC,EAAkB;GAClC;GACA,MAAM;GACN;GACA,6BAAY,IAAI,KAAK,EAAA,CAAE,YAAY;EACrC,CAAC;EAED,OADAhB,EAAoB,GACbK;CACT,GACA,CAACL,CAAmB,CACtB;CAgCA,OA9BAkB,QAAgB;EAOd,IANAlB,EAAoB,GAIpBE,EAAgB,GAEZ,OAAO,SAAW,KAAa;EACnC,IAAMiB,UAAqB;GAEzB,AADAzB,EAAY,EAAI,GAChBQ,EAAgB;EAClB,GACMkB,UAAsB1B,EAAY,EAAK;EAE7C,AADA,OAAO,iBAAiB,UAAUyB,CAAY,GAC9C,OAAO,iBAAiB,WAAWC,CAAa;EAEhD,IAAMC,IAAW,kBAAkB;GACjC,CAAI,OAAO,YAAc,OAAe,UAAU,WAChDnB,EAAgB;EAEpB,GAAGX,CAAiB;EAEpB,aAAa;GAGX,AAFA,OAAO,oBAAoB,UAAU4B,CAAY,GACjD,OAAO,oBAAoB,WAAWC,CAAa,GACnD,cAAcC,CAAQ;EACxB;CAEF,GAAG,CAAC,CAAC,GAEE;EACL;EACA;EACA;EACA;EACA;EACA;CACF;AACF"}
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
* active programs, this-week's sessions, goal progress, today's macros vs
|
|
7
7
|
* target, latest body weight and recovery readiness. No mock data.
|
|
8
8
|
*/
|
|
9
|
-
export declare function DashboardPage(): import(
|
|
9
|
+
export declare function DashboardPage(): import('react').JSX.Element;
|
|
10
10
|
//# sourceMappingURL=DashboardPage.d.ts.map
|