@epic-web/workshop-app 5.0.3 → 5.1.1
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/build/client/assets/app.epic_ws_.js_-l0sNRNKZ.js +2 -0
- package/build/client/assets/app.epic_ws_.js_-l0sNRNKZ.js.map +1 -0
- package/build/client/assets/manifest-b22910a7.js +1 -0
- package/build/server/index.js +265 -2484
- package/build/server/index.js.map +1 -1
- package/package.json +3 -25
- package/build/client/assets/manifest-d7c89645.js +0 -1
- package/node_modules/@babel/runtime/LICENSE +0 -22
- package/node_modules/@babel/runtime/README.md +0 -19
- package/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
- package/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
- package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
- package/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
- package/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
- package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
- package/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
- package/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
- package/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
- package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
- package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
- package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
- package/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
- package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
- package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
- package/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
- package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
- package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
- package/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
- package/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
- package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
- package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
- package/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
- package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
- package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
- package/node_modules/@babel/runtime/helpers/construct.js +0 -10
- package/node_modules/@babel/runtime/helpers/createClass.js +0 -13
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
- package/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
- package/node_modules/@babel/runtime/helpers/decorate.js +0 -250
- package/node_modules/@babel/runtime/helpers/defaults.js +0 -9
- package/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
- package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
- package/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
- package/node_modules/@babel/runtime/helpers/dispose.js +0 -28
- package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
- package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
- package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
- package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
- package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
- package/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
- package/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
- package/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
- package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
- package/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
- package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
- package/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
- package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -27
- package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
- package/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
- package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
- package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
- package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -304
- package/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
- package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
- package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
- package/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
- package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
- package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -47
- package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
- package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
- package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -51
- package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
- package/node_modules/@babel/runtime/helpers/extends.js +0 -10
- package/node_modules/@babel/runtime/helpers/get.js +0 -11
- package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
- package/node_modules/@babel/runtime/helpers/identity.js +0 -4
- package/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
- package/node_modules/@babel/runtime/helpers/inherits.js +0 -14
- package/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
- package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
- package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
- package/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
- package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
- package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -27
- package/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
- package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
- package/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
- package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
- package/node_modules/@babel/runtime/helpers/jsx.js +0 -22
- package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
- package/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
- package/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
- package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
- package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
- package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
- package/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
- package/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
- package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
- package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
- package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
- package/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
- package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -304
- package/node_modules/@babel/runtime/helpers/set.js +0 -22
- package/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
- package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
- package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
- package/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
- package/node_modules/@babel/runtime/helpers/tdz.js +0 -4
- package/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
- package/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
- package/node_modules/@babel/runtime/helpers/toArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
- package/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
- package/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
- package/node_modules/@babel/runtime/helpers/typeof.js +0 -10
- package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
- package/node_modules/@babel/runtime/helpers/using.js +0 -12
- package/node_modules/@babel/runtime/helpers/usingCtx.js +0 -47
- package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
- package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
- package/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -51
- package/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
- package/node_modules/@babel/runtime/package.json +0 -1038
- package/node_modules/@babel/runtime/regenerator/index.js +0 -15
- package/node_modules/@conform-to/dom/LICENSE +0 -21
- package/node_modules/@conform-to/dom/README +0 -37
- package/node_modules/@conform-to/dom/_virtual/_rollupPluginBabelHelpers.js +0 -58
- package/node_modules/@conform-to/dom/_virtual/_rollupPluginBabelHelpers.mjs +0 -51
- package/node_modules/@conform-to/dom/dom.d.ts +0 -55
- package/node_modules/@conform-to/dom/dom.js +0 -104
- package/node_modules/@conform-to/dom/dom.mjs +0 -95
- package/node_modules/@conform-to/dom/form.d.ts +0 -246
- package/node_modules/@conform-to/dom/form.js +0 -582
- package/node_modules/@conform-to/dom/form.mjs +0 -578
- package/node_modules/@conform-to/dom/formdata.d.ts +0 -61
- package/node_modules/@conform-to/dom/formdata.js +0 -214
- package/node_modules/@conform-to/dom/formdata.mjs +0 -200
- package/node_modules/@conform-to/dom/index.d.ts +0 -26
- package/node_modules/@conform-to/dom/index.js +0 -20
- package/node_modules/@conform-to/dom/index.mjs +0 -4
- package/node_modules/@conform-to/dom/intent.d.ts +0 -114
- package/node_modules/@conform-to/dom/intent.js +0 -136
- package/node_modules/@conform-to/dom/intent.mjs +0 -126
- package/node_modules/@conform-to/dom/package.json +0 -59
- package/node_modules/@conform-to/dom/parse.d.ts +0 -50
- package/node_modules/@conform-to/dom/parse.js +0 -43
- package/node_modules/@conform-to/dom/parse.mjs +0 -37
- package/node_modules/@conform-to/dom/submission.d.ts +0 -135
- package/node_modules/@conform-to/dom/submission.js +0 -305
- package/node_modules/@conform-to/dom/submission.mjs +0 -288
- package/node_modules/@conform-to/dom/types.d.ts +0 -23
- package/node_modules/@conform-to/dom/util.d.ts +0 -6
- package/node_modules/@conform-to/dom/util.js +0 -19
- package/node_modules/@conform-to/dom/util.mjs +0 -13
- package/node_modules/@conform-to/react/LICENSE +0 -21
- package/node_modules/@conform-to/react/README +0 -37
- package/node_modules/@conform-to/react/_virtual/_rollupPluginBabelHelpers.js +0 -87
- package/node_modules/@conform-to/react/_virtual/_rollupPluginBabelHelpers.mjs +0 -78
- package/node_modules/@conform-to/react/context.d.ts +0 -200
- package/node_modules/@conform-to/react/context.js +0 -256
- package/node_modules/@conform-to/react/context.mjs +0 -241
- package/node_modules/@conform-to/react/experimental.d.ts +0 -0
- package/node_modules/@conform-to/react/helpers.d.ts +0 -208
- package/node_modules/@conform-to/react/helpers.js +0 -222
- package/node_modules/@conform-to/react/helpers.mjs +0 -211
- package/node_modules/@conform-to/react/hooks.d.ts +0 -63
- package/node_modules/@conform-to/react/hooks.js +0 -88
- package/node_modules/@conform-to/react/hooks.mjs +0 -79
- package/node_modules/@conform-to/react/index.d.ts +0 -29
- package/node_modules/@conform-to/react/index.js +0 -30
- package/node_modules/@conform-to/react/index.mjs +0 -5
- package/node_modules/@conform-to/react/integrations.d.ts +0 -45
- package/node_modules/@conform-to/react/integrations.js +0 -298
- package/node_modules/@conform-to/react/integrations.mjs +0 -284
- package/node_modules/@conform-to/react/package.json +0 -69
- package/node_modules/@conform-to/zod/LICENSE +0 -21
- package/node_modules/@conform-to/zod/README +0 -37
- package/node_modules/@conform-to/zod/_virtual/_rollupPluginBabelHelpers.js +0 -58
- package/node_modules/@conform-to/zod/_virtual/_rollupPluginBabelHelpers.mjs +0 -51
- package/node_modules/@conform-to/zod/coercion.d.ts +0 -37
- package/node_modules/@conform-to/zod/coercion.js +0 -171
- package/node_modules/@conform-to/zod/coercion.mjs +0 -164
- package/node_modules/@conform-to/zod/constraint.d.ts +0 -5
- package/node_modules/@conform-to/zod/constraint.js +0 -103
- package/node_modules/@conform-to/zod/constraint.mjs +0 -99
- package/node_modules/@conform-to/zod/index.d.ts +0 -2
- package/node_modules/@conform-to/zod/index.js +0 -12
- package/node_modules/@conform-to/zod/index.mjs +0 -2
- package/node_modules/@conform-to/zod/package.json +0 -61
- package/node_modules/@conform-to/zod/parse.d.ts +0 -46
- package/node_modules/@conform-to/zod/parse.js +0 -64
- package/node_modules/@conform-to/zod/parse.mjs +0 -59
- package/node_modules/@epic-web/client-hints/README.md +0 -221
- package/node_modules/@epic-web/client-hints/dist/color-scheme.d.ts +0 -12
- package/node_modules/@epic-web/client-hints/dist/color-scheme.js +0 -25
- package/node_modules/@epic-web/client-hints/dist/index.d.ts +0 -6
- package/node_modules/@epic-web/client-hints/dist/index.js +0 -79
- package/node_modules/@epic-web/client-hints/dist/reduced-motion.d.ts +0 -12
- package/node_modules/@epic-web/client-hints/dist/reduced-motion.js +0 -25
- package/node_modules/@epic-web/client-hints/dist/time-zone.d.ts +0 -5
- package/node_modules/@epic-web/client-hints/dist/time-zone.js +0 -5
- package/node_modules/@epic-web/client-hints/dist/utils.d.ts +0 -9
- package/node_modules/@epic-web/client-hints/dist/utils.js +0 -1
- package/node_modules/@epic-web/client-hints/package.json +0 -71
- package/node_modules/@epic-web/restore-scroll/README.md +0 -108
- package/node_modules/@epic-web/restore-scroll/dist/index.d.ts +0 -7
- package/node_modules/@epic-web/restore-scroll/dist/index.js +0 -85
- package/node_modules/@epic-web/restore-scroll/package.json +0 -64
- package/node_modules/@floating-ui/core/LICENSE +0 -20
- package/node_modules/@floating-ui/core/README.md +0 -4
- package/node_modules/@floating-ui/core/dist/floating-ui.core.browser.min.mjs +0 -1
- package/node_modules/@floating-ui/core/dist/floating-ui.core.browser.mjs +0 -1164
- package/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +0 -521
- package/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +0 -521
- package/node_modules/@floating-ui/core/dist/floating-ui.core.esm.js +0 -1036
- package/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +0 -1036
- package/node_modules/@floating-ui/core/dist/floating-ui.core.umd.js +0 -1183
- package/node_modules/@floating-ui/core/dist/floating-ui.core.umd.min.js +0 -1
- package/node_modules/@floating-ui/core/package.json +0 -63
- package/node_modules/@floating-ui/dom/LICENSE +0 -20
- package/node_modules/@floating-ui/dom/README.md +0 -4
- package/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs +0 -1
- package/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.mjs +0 -853
- package/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.mts +0 -356
- package/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts +0 -356
- package/node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.js +0 -704
- package/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +0 -704
- package/node_modules/@floating-ui/dom/dist/floating-ui.dom.umd.js +0 -872
- package/node_modules/@floating-ui/dom/dist/floating-ui.dom.umd.min.js +0 -1
- package/node_modules/@floating-ui/dom/package.json +0 -71
- package/node_modules/@floating-ui/react-dom/LICENSE +0 -20
- package/node_modules/@floating-ui/react-dom/README.md +0 -3
- package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.d.mts +0 -307
- package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.d.ts +0 -307
- package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.esm.js +0 -363
- package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +0 -363
- package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.umd.js +0 -414
- package/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.umd.min.js +0 -1
- package/node_modules/@floating-ui/react-dom/package.json +0 -77
- package/node_modules/@floating-ui/utils/LICENSE +0 -20
- package/node_modules/@floating-ui/utils/README.md +0 -4
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +0 -103
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +0 -103
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +0 -45
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +0 -45
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.esm.js +0 -139
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +0 -139
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.umd.js +0 -165
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.umd.min.js +0 -1
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.esm.js +0 -138
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +0 -138
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.umd.js +0 -169
- package/node_modules/@floating-ui/utils/dist/floating-ui.utils.umd.min.js +0 -1
- package/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +0 -45
- package/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.esm.js +0 -139
- package/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.umd.js +0 -165
- package/node_modules/@floating-ui/utils/dom/package.json +0 -6
- package/node_modules/@floating-ui/utils/package.json +0 -70
- package/node_modules/@radix-ui/number/README.md +0 -13
- package/node_modules/@radix-ui/number/dist/index.d.mts +0 -3
- package/node_modules/@radix-ui/number/dist/index.d.ts +0 -3
- package/node_modules/@radix-ui/number/dist/index.js +0 -31
- package/node_modules/@radix-ui/number/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/number/dist/index.mjs +0 -8
- package/node_modules/@radix-ui/number/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/number/package.json +0 -38
- package/node_modules/@radix-ui/primitive/README.md +0 -13
- package/node_modules/@radix-ui/primitive/dist/index.d.mts +0 -5
- package/node_modules/@radix-ui/primitive/dist/index.d.ts +0 -5
- package/node_modules/@radix-ui/primitive/dist/index.js +0 -36
- package/node_modules/@radix-ui/primitive/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/primitive/dist/index.mjs +0 -13
- package/node_modules/@radix-ui/primitive/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/primitive/package.json +0 -38
- package/node_modules/@radix-ui/react-accordion/README.md +0 -13
- package/node_modules/@radix-ui/react-accordion/dist/index.d.mts +0 -125
- package/node_modules/@radix-ui/react-accordion/dist/index.d.ts +0 -125
- package/node_modules/@radix-ui/react-accordion/dist/index.js +0 -350
- package/node_modules/@radix-ui/react-accordion/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-accordion/dist/index.mjs +0 -318
- package/node_modules/@radix-ui/react-accordion/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-accordion/package.json +0 -63
- package/node_modules/@radix-ui/react-arrow/README.md +0 -13
- package/node_modules/@radix-ui/react-arrow/dist/index.d.mts +0 -10
- package/node_modules/@radix-ui/react-arrow/dist/index.d.ts +0 -10
- package/node_modules/@radix-ui/react-arrow/dist/index.js +0 -60
- package/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-arrow/dist/index.mjs +0 -27
- package/node_modules/@radix-ui/react-arrow/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-arrow/package.json +0 -55
- package/node_modules/@radix-ui/react-collapsible/README.md +0 -13
- package/node_modules/@radix-ui/react-collapsible/dist/index.d.mts +0 -43
- package/node_modules/@radix-ui/react-collapsible/dist/index.d.ts +0 -43
- package/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -186
- package/node_modules/@radix-ui/react-collapsible/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-collapsible/dist/index.mjs +0 -154
- package/node_modules/@radix-ui/react-collapsible/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-collapsible/package.json +0 -62
- package/node_modules/@radix-ui/react-collection/README.md +0 -13
- package/node_modules/@radix-ui/react-collection/dist/index.d.mts +0 -34
- package/node_modules/@radix-ui/react-collection/dist/index.d.ts +0 -34
- package/node_modules/@radix-ui/react-collection/dist/index.js +0 -104
- package/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-collection/dist/index.mjs +0 -72
- package/node_modules/@radix-ui/react-collection/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-collection/package.json +0 -58
- package/node_modules/@radix-ui/react-compose-refs/README.md +0 -13
- package/node_modules/@radix-ui/react-compose-refs/dist/index.d.mts +0 -15
- package/node_modules/@radix-ui/react-compose-refs/dist/index.d.ts +0 -15
- package/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -53
- package/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +0 -20
- package/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-compose-refs/package.json +0 -47
- package/node_modules/@radix-ui/react-context/README.md +0 -13
- package/node_modules/@radix-ui/react-context/dist/index.d.mts +0 -28
- package/node_modules/@radix-ui/react-context/dist/index.d.ts +0 -28
- package/node_modules/@radix-ui/react-context/dist/index.js +0 -114
- package/node_modules/@radix-ui/react-context/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-context/dist/index.mjs +0 -81
- package/node_modules/@radix-ui/react-context/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-context/package.json +0 -47
- package/node_modules/@radix-ui/react-direction/README.md +0 -13
- package/node_modules/@radix-ui/react-direction/dist/index.d.mts +0 -12
- package/node_modules/@radix-ui/react-direction/dist/index.d.ts +0 -12
- package/node_modules/@radix-ui/react-direction/dist/index.js +0 -52
- package/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-direction/dist/index.mjs +0 -19
- package/node_modules/@radix-ui/react-direction/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-direction/package.json +0 -47
- package/node_modules/@radix-ui/react-dismissable-layer/README.md +0 -13
- package/node_modules/@radix-ui/react-dismissable-layer/dist/index.d.mts +0 -51
- package/node_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts +0 -51
- package/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -253
- package/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +0 -221
- package/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-dismissable-layer/package.json +0 -62
- package/node_modules/@radix-ui/react-focus-guards/README.md +0 -13
- package/node_modules/@radix-ui/react-focus-guards/dist/index.d.mts +0 -9
- package/node_modules/@radix-ui/react-focus-guards/dist/index.d.ts +0 -9
- package/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -69
- package/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +0 -37
- package/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-focus-guards/package.json +0 -47
- package/node_modules/@radix-ui/react-focus-scope/README.md +0 -13
- package/node_modules/@radix-ui/react-focus-scope/dist/index.d.mts +0 -32
- package/node_modules/@radix-ui/react-focus-scope/dist/index.d.ts +0 -32
- package/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -246
- package/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +0 -214
- package/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-focus-scope/package.json +0 -57
- package/node_modules/@radix-ui/react-id/README.md +0 -13
- package/node_modules/@radix-ui/react-id/dist/index.d.mts +0 -3
- package/node_modules/@radix-ui/react-id/dist/index.d.ts +0 -3
- package/node_modules/@radix-ui/react-id/dist/index.js +0 -49
- package/node_modules/@radix-ui/react-id/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-id/dist/index.mjs +0 -16
- package/node_modules/@radix-ui/react-id/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-id/package.json +0 -50
- package/node_modules/@radix-ui/react-popover/README.md +0 -13
- package/node_modules/@radix-ui/react-popover/dist/index.d.mts +0 -95
- package/node_modules/@radix-ui/react-popover/dist/index.d.ts +0 -95
- package/node_modules/@radix-ui/react-popover/dist/index.js +0 -350
- package/node_modules/@radix-ui/react-popover/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-popover/dist/index.mjs +0 -318
- package/node_modules/@radix-ui/react-popover/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-popover/package.json +0 -69
- package/node_modules/@radix-ui/react-popper/README.md +0 -13
- package/node_modules/@radix-ui/react-popper/dist/index.d.mts +0 -56
- package/node_modules/@radix-ui/react-popper/dist/index.d.ts +0 -56
- package/node_modules/@radix-ui/react-popper/dist/index.js +0 -325
- package/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-popper/dist/index.mjs +0 -303
- package/node_modules/@radix-ui/react-popper/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-popper/package.json +0 -64
- package/node_modules/@radix-ui/react-portal/README.md +0 -13
- package/node_modules/@radix-ui/react-portal/dist/index.d.mts +0 -14
- package/node_modules/@radix-ui/react-portal/dist/index.d.ts +0 -14
- package/node_modules/@radix-ui/react-portal/dist/index.js +0 -55
- package/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-portal/dist/index.mjs +0 -23
- package/node_modules/@radix-ui/react-portal/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-portal/package.json +0 -56
- package/node_modules/@radix-ui/react-presence/README.md +0 -13
- package/node_modules/@radix-ui/react-presence/dist/index.d.mts +0 -11
- package/node_modules/@radix-ui/react-presence/dist/index.d.ts +0 -11
- package/node_modules/@radix-ui/react-presence/dist/index.js +0 -158
- package/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-presence/dist/index.mjs +0 -126
- package/node_modules/@radix-ui/react-presence/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-presence/package.json +0 -56
- package/node_modules/@radix-ui/react-primitive/README.md +0 -13
- package/node_modules/@radix-ui/react-primitive/dist/index.d.mts +0 -52
- package/node_modules/@radix-ui/react-primitive/dist/index.d.ts +0 -52
- package/node_modules/@radix-ui/react-primitive/dist/index.js +0 -78
- package/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-primitive/dist/index.mjs +0 -45
- package/node_modules/@radix-ui/react-primitive/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-primitive/package.json +0 -58
- package/node_modules/@radix-ui/react-roving-focus/README.md +0 -13
- package/node_modules/@radix-ui/react-roving-focus/dist/index.d.mts +0 -55
- package/node_modules/@radix-ui/react-roving-focus/dist/index.d.ts +0 -55
- package/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -260
- package/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-roving-focus/dist/index.mjs +0 -228
- package/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-roving-focus/package.json +0 -63
- package/node_modules/@radix-ui/react-select/README.md +0 -13
- package/node_modules/@radix-ui/react-select/dist/index.d.mts +0 -144
- package/node_modules/@radix-ui/react-select/dist/index.d.ts +0 -144
- package/node_modules/@radix-ui/react-select/dist/index.js +0 -1182
- package/node_modules/@radix-ui/react-select/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-select/dist/index.mjs +0 -1150
- package/node_modules/@radix-ui/react-select/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-select/package.json +0 -75
- package/node_modules/@radix-ui/react-slot/README.md +0 -13
- package/node_modules/@radix-ui/react-slot/dist/index.d.mts +0 -13
- package/node_modules/@radix-ui/react-slot/dist/index.d.ts +0 -13
- package/node_modules/@radix-ui/react-slot/dist/index.js +0 -118
- package/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-slot/dist/index.mjs +0 -85
- package/node_modules/@radix-ui/react-slot/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-slot/package.json +0 -50
- package/node_modules/@radix-ui/react-tabs/README.md +0 -13
- package/node_modules/@radix-ui/react-tabs/dist/index.d.mts +0 -66
- package/node_modules/@radix-ui/react-tabs/dist/index.d.ts +0 -66
- package/node_modules/@radix-ui/react-tabs/dist/index.js +0 -231
- package/node_modules/@radix-ui/react-tabs/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-tabs/dist/index.mjs +0 -199
- package/node_modules/@radix-ui/react-tabs/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-tabs/package.json +0 -62
- package/node_modules/@radix-ui/react-toast/README.md +0 -13
- package/node_modules/@radix-ui/react-toast/dist/index.d.mts +0 -130
- package/node_modules/@radix-ui/react-toast/dist/index.d.ts +0 -130
- package/node_modules/@radix-ui/react-toast/dist/index.js +0 -681
- package/node_modules/@radix-ui/react-toast/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-toast/dist/index.mjs +0 -649
- package/node_modules/@radix-ui/react-toast/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-toast/package.json +0 -66
- package/node_modules/@radix-ui/react-use-callback-ref/README.md +0 -13
- package/node_modules/@radix-ui/react-use-callback-ref/dist/index.d.mts +0 -7
- package/node_modules/@radix-ui/react-use-callback-ref/dist/index.d.ts +0 -7
- package/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -46
- package/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +0 -13
- package/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-use-callback-ref/package.json +0 -47
- package/node_modules/@radix-ui/react-use-controllable-state/README.md +0 -13
- package/node_modules/@radix-ui/react-use-controllable-state/dist/index.d.mts +0 -10
- package/node_modules/@radix-ui/react-use-controllable-state/dist/index.d.ts +0 -10
- package/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -80
- package/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +0 -47
- package/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-use-controllable-state/package.json +0 -50
- package/node_modules/@radix-ui/react-use-escape-keydown/README.md +0 -13
- package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.d.mts +0 -6
- package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.d.ts +0 -6
- package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -52
- package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +0 -19
- package/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-use-escape-keydown/package.json +0 -50
- package/node_modules/@radix-ui/react-use-layout-effect/README.md +0 -13
- package/node_modules/@radix-ui/react-use-layout-effect/dist/index.d.mts +0 -12
- package/node_modules/@radix-ui/react-use-layout-effect/dist/index.d.ts +0 -12
- package/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -41
- package/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +0 -8
- package/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-use-layout-effect/package.json +0 -47
- package/node_modules/@radix-ui/react-use-previous/README.md +0 -13
- package/node_modules/@radix-ui/react-use-previous/dist/index.d.mts +0 -3
- package/node_modules/@radix-ui/react-use-previous/dist/index.d.ts +0 -3
- package/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -49
- package/node_modules/@radix-ui/react-use-previous/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-use-previous/dist/index.mjs +0 -16
- package/node_modules/@radix-ui/react-use-previous/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-use-previous/package.json +0 -47
- package/node_modules/@radix-ui/react-use-rect/README.md +0 -13
- package/node_modules/@radix-ui/react-use-rect/dist/index.d.mts +0 -9
- package/node_modules/@radix-ui/react-use-rect/dist/index.d.ts +0 -9
- package/node_modules/@radix-ui/react-use-rect/dist/index.js +0 -54
- package/node_modules/@radix-ui/react-use-rect/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-use-rect/dist/index.mjs +0 -21
- package/node_modules/@radix-ui/react-use-rect/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-use-rect/package.json +0 -50
- package/node_modules/@radix-ui/react-use-size/README.md +0 -13
- package/node_modules/@radix-ui/react-use-size/dist/index.d.mts +0 -6
- package/node_modules/@radix-ui/react-use-size/dist/index.d.ts +0 -6
- package/node_modules/@radix-ui/react-use-size/dist/index.js +0 -74
- package/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-use-size/dist/index.mjs +0 -41
- package/node_modules/@radix-ui/react-use-size/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-use-size/package.json +0 -53
- package/node_modules/@radix-ui/react-visually-hidden/README.md +0 -13
- package/node_modules/@radix-ui/react-visually-hidden/dist/index.d.mts +0 -10
- package/node_modules/@radix-ui/react-visually-hidden/dist/index.d.ts +0 -10
- package/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -70
- package/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs +0 -37
- package/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/react-visually-hidden/package.json +0 -55
- package/node_modules/@radix-ui/rect/README.md +0 -13
- package/node_modules/@radix-ui/rect/dist/index.d.mts +0 -16
- package/node_modules/@radix-ui/rect/dist/index.d.ts +0 -16
- package/node_modules/@radix-ui/rect/dist/index.js +0 -73
- package/node_modules/@radix-ui/rect/dist/index.js.map +0 -7
- package/node_modules/@radix-ui/rect/dist/index.mjs +0 -50
- package/node_modules/@radix-ui/rect/dist/index.mjs.map +0 -7
- package/node_modules/@radix-ui/rect/package.json +0 -38
- package/node_modules/@remix-run/react/CHANGELOG.md +0 -964
- package/node_modules/@remix-run/react/LICENSE.md +0 -22
- package/node_modules/@remix-run/react/README.md +0 -13
- package/node_modules/@remix-run/react/dist/_virtual/_rollupPluginBabelHelpers.js +0 -30
- package/node_modules/@remix-run/react/dist/browser.d.ts +0 -37
- package/node_modules/@remix-run/react/dist/browser.js +0 -268
- package/node_modules/@remix-run/react/dist/components.d.ts +0 -137
- package/node_modules/@remix-run/react/dist/components.js +0 -911
- package/node_modules/@remix-run/react/dist/data.d.ts +0 -15
- package/node_modules/@remix-run/react/dist/data.js +0 -280
- package/node_modules/@remix-run/react/dist/entry.d.ts +0 -51
- package/node_modules/@remix-run/react/dist/errorBoundaries.d.ts +0 -36
- package/node_modules/@remix-run/react/dist/errorBoundaries.js +0 -186
- package/node_modules/@remix-run/react/dist/errors.d.ts +0 -2
- package/node_modules/@remix-run/react/dist/errors.js +0 -53
- package/node_modules/@remix-run/react/dist/esm/_virtual/_rollupPluginBabelHelpers.js +0 -26
- package/node_modules/@remix-run/react/dist/esm/browser.js +0 -308
- package/node_modules/@remix-run/react/dist/esm/components.js +0 -878
- package/node_modules/@remix-run/react/dist/esm/data.js +0 -267
- package/node_modules/@remix-run/react/dist/esm/errorBoundaries.js +0 -160
- package/node_modules/@remix-run/react/dist/esm/errors.js +0 -49
- package/node_modules/@remix-run/react/dist/esm/fallback.js +0 -35
- package/node_modules/@remix-run/react/dist/esm/fog-of-war.js +0 -226
- package/node_modules/@remix-run/react/dist/esm/index.js +0 -17
- package/node_modules/@remix-run/react/dist/esm/invariant.js +0 -17
- package/node_modules/@remix-run/react/dist/esm/links.js +0 -258
- package/node_modules/@remix-run/react/dist/esm/markup.js +0 -34
- package/node_modules/@remix-run/react/dist/esm/routeModules.js +0 -89
- package/node_modules/@remix-run/react/dist/esm/routes.js +0 -411
- package/node_modules/@remix-run/react/dist/esm/scroll-restoration.js +0 -84
- package/node_modules/@remix-run/react/dist/esm/server.js +0 -93
- package/node_modules/@remix-run/react/dist/esm/single-fetch.js +0 -309
- package/node_modules/@remix-run/react/dist/fallback.d.ts +0 -2
- package/node_modules/@remix-run/react/dist/fallback.js +0 -59
- package/node_modules/@remix-run/react/dist/fog-of-war.d.ts +0 -37
- package/node_modules/@remix-run/react/dist/fog-of-war.js +0 -254
- package/node_modules/@remix-run/react/dist/index.d.ts +0 -16
- package/node_modules/@remix-run/react/dist/index.js +0 -227
- package/node_modules/@remix-run/react/dist/invariant.d.ts +0 -2
- package/node_modules/@remix-run/react/dist/invariant.js +0 -19
- package/node_modules/@remix-run/react/dist/links.d.ts +0 -128
- package/node_modules/@remix-run/react/dist/links.js +0 -268
- package/node_modules/@remix-run/react/dist/markup.d.ts +0 -5
- package/node_modules/@remix-run/react/dist/markup.js +0 -39
- package/node_modules/@remix-run/react/dist/routeModules.d.ts +0 -132
- package/node_modules/@remix-run/react/dist/routeModules.js +0 -111
- package/node_modules/@remix-run/react/dist/routes.d.ts +0 -32
- package/node_modules/@remix-run/react/dist/routes.js +0 -438
- package/node_modules/@remix-run/react/dist/scroll-restoration.d.ts +0 -12
- package/node_modules/@remix-run/react/dist/scroll-restoration.js +0 -108
- package/node_modules/@remix-run/react/dist/server.d.ts +0 -14
- package/node_modules/@remix-run/react/dist/server.js +0 -117
- package/node_modules/@remix-run/react/dist/single-fetch.d.ts +0 -34
- package/node_modules/@remix-run/react/dist/single-fetch.js +0 -339
- package/node_modules/@remix-run/react/dist/warnings.d.ts +0 -1
- package/node_modules/@remix-run/react/future/single-fetch.d.ts +0 -73
- package/node_modules/@remix-run/react/package.json +0 -59
- package/node_modules/@remix-run/router/CHANGELOG.md +0 -747
- package/node_modules/@remix-run/router/LICENSE.md +0 -23
- package/node_modules/@remix-run/router/README.md +0 -135
- package/node_modules/@remix-run/router/dist/history.d.ts +0 -250
- package/node_modules/@remix-run/router/dist/index.d.ts +0 -9
- package/node_modules/@remix-run/router/dist/router.cjs.js +0 -5407
- package/node_modules/@remix-run/router/dist/router.cjs.js.map +0 -1
- package/node_modules/@remix-run/router/dist/router.d.ts +0 -523
- package/node_modules/@remix-run/router/dist/router.js +0 -4856
- package/node_modules/@remix-run/router/dist/router.js.map +0 -1
- package/node_modules/@remix-run/router/dist/router.umd.js +0 -5413
- package/node_modules/@remix-run/router/dist/router.umd.js.map +0 -1
- package/node_modules/@remix-run/router/dist/router.umd.min.js +0 -12
- package/node_modules/@remix-run/router/dist/router.umd.min.js.map +0 -1
- package/node_modules/@remix-run/router/dist/utils.d.ts +0 -528
- package/node_modules/@remix-run/router/history.ts +0 -746
- package/node_modules/@remix-run/router/index.ts +0 -101
- package/node_modules/@remix-run/router/package.json +0 -33
- package/node_modules/@remix-run/router/router.ts +0 -5760
- package/node_modules/@remix-run/router/utils.ts +0 -1673
- package/node_modules/@remix-run/server-runtime/CHANGELOG.md +0 -1023
- package/node_modules/@remix-run/server-runtime/LICENSE.md +0 -22
- package/node_modules/@remix-run/server-runtime/README.md +0 -26
- package/node_modules/@remix-run/server-runtime/dist/build.d.ts +0 -39
- package/node_modules/@remix-run/server-runtime/dist/cookies.d.ts +0 -69
- package/node_modules/@remix-run/server-runtime/dist/cookies.js +0 -173
- package/node_modules/@remix-run/server-runtime/dist/crypto.d.ts +0 -2
- package/node_modules/@remix-run/server-runtime/dist/data.d.ts +0 -33
- package/node_modules/@remix-run/server-runtime/dist/data.js +0 -138
- package/node_modules/@remix-run/server-runtime/dist/deprecations.d.ts +0 -1
- package/node_modules/@remix-run/server-runtime/dist/deprecations.js +0 -19
- package/node_modules/@remix-run/server-runtime/dist/dev.d.ts +0 -10
- package/node_modules/@remix-run/server-runtime/dist/dev.js +0 -53
- package/node_modules/@remix-run/server-runtime/dist/entry.d.ts +0 -43
- package/node_modules/@remix-run/server-runtime/dist/entry.js +0 -22
- package/node_modules/@remix-run/server-runtime/dist/errors.d.ts +0 -51
- package/node_modules/@remix-run/server-runtime/dist/errors.js +0 -122
- package/node_modules/@remix-run/server-runtime/dist/esm/cookies.js +0 -168
- package/node_modules/@remix-run/server-runtime/dist/esm/data.js +0 -133
- package/node_modules/@remix-run/server-runtime/dist/esm/deprecations.js +0 -15
- package/node_modules/@remix-run/server-runtime/dist/esm/dev.js +0 -46
- package/node_modules/@remix-run/server-runtime/dist/esm/entry.js +0 -18
- package/node_modules/@remix-run/server-runtime/dist/esm/errors.js +0 -115
- package/node_modules/@remix-run/server-runtime/dist/esm/formData.js +0 -55
- package/node_modules/@remix-run/server-runtime/dist/esm/headers.js +0 -90
- package/node_modules/@remix-run/server-runtime/dist/esm/index.js +0 -21
- package/node_modules/@remix-run/server-runtime/dist/esm/invariant.js +0 -18
- package/node_modules/@remix-run/server-runtime/dist/esm/markup.js +0 -29
- package/node_modules/@remix-run/server-runtime/dist/esm/mode.js +0 -24
- package/node_modules/@remix-run/server-runtime/dist/esm/responses.js +0 -123
- package/node_modules/@remix-run/server-runtime/dist/esm/routeMatching.js +0 -23
- package/node_modules/@remix-run/server-runtime/dist/esm/routes.js +0 -81
- package/node_modules/@remix-run/server-runtime/dist/esm/server.js +0 -524
- package/node_modules/@remix-run/server-runtime/dist/esm/serverHandoff.js +0 -20
- package/node_modules/@remix-run/server-runtime/dist/esm/sessions/cookieStorage.js +0 -51
- package/node_modules/@remix-run/server-runtime/dist/esm/sessions/memoryStorage.js +0 -61
- package/node_modules/@remix-run/server-runtime/dist/esm/sessions.js +0 -145
- package/node_modules/@remix-run/server-runtime/dist/esm/single-fetch.js +0 -450
- package/node_modules/@remix-run/server-runtime/dist/esm/upload/errors.js +0 -19
- package/node_modules/@remix-run/server-runtime/dist/esm/upload/memoryUploadHandler.js +0 -50
- package/node_modules/@remix-run/server-runtime/dist/esm/warnings.js +0 -19
- package/node_modules/@remix-run/server-runtime/dist/formData.d.ts +0 -15
- package/node_modules/@remix-run/server-runtime/dist/formData.js +0 -60
- package/node_modules/@remix-run/server-runtime/dist/headers.d.ts +0 -3
- package/node_modules/@remix-run/server-runtime/dist/headers.js +0 -94
- package/node_modules/@remix-run/server-runtime/dist/index.d.ts +0 -14
- package/node_modules/@remix-run/server-runtime/dist/index.js +0 -50
- package/node_modules/@remix-run/server-runtime/dist/interface.d.ts +0 -6
- package/node_modules/@remix-run/server-runtime/dist/invariant.d.ts +0 -2
- package/node_modules/@remix-run/server-runtime/dist/invariant.js +0 -22
- package/node_modules/@remix-run/server-runtime/dist/jsonify.d.ts +0 -33
- package/node_modules/@remix-run/server-runtime/dist/links.d.ts +0 -104
- package/node_modules/@remix-run/server-runtime/dist/markup.d.ts +0 -1
- package/node_modules/@remix-run/server-runtime/dist/markup.js +0 -33
- package/node_modules/@remix-run/server-runtime/dist/mode.d.ts +0 -9
- package/node_modules/@remix-run/server-runtime/dist/mode.js +0 -29
- package/node_modules/@remix-run/server-runtime/dist/reexport.d.ts +0 -14
- package/node_modules/@remix-run/server-runtime/dist/responses.d.ts +0 -47
- package/node_modules/@remix-run/server-runtime/dist/responses.js +0 -135
- package/node_modules/@remix-run/server-runtime/dist/routeMatching.d.ts +0 -8
- package/node_modules/@remix-run/server-runtime/dist/routeMatching.js +0 -27
- package/node_modules/@remix-run/server-runtime/dist/routeModules.d.ts +0 -214
- package/node_modules/@remix-run/server-runtime/dist/routes.d.ts +0 -31
- package/node_modules/@remix-run/server-runtime/dist/routes.js +0 -86
- package/node_modules/@remix-run/server-runtime/dist/serialize.d.ts +0 -25
- package/node_modules/@remix-run/server-runtime/dist/server.d.ts +0 -5
- package/node_modules/@remix-run/server-runtime/dist/server.js +0 -528
- package/node_modules/@remix-run/server-runtime/dist/serverHandoff.d.ts +0 -12
- package/node_modules/@remix-run/server-runtime/dist/serverHandoff.js +0 -24
- package/node_modules/@remix-run/server-runtime/dist/sessions/cookieStorage.d.ts +0 -23
- package/node_modules/@remix-run/server-runtime/dist/sessions/cookieStorage.js +0 -55
- package/node_modules/@remix-run/server-runtime/dist/sessions/memoryStorage.d.ts +0 -20
- package/node_modules/@remix-run/server-runtime/dist/sessions/memoryStorage.js +0 -65
- package/node_modules/@remix-run/server-runtime/dist/sessions.d.ts +0 -143
- package/node_modules/@remix-run/server-runtime/dist/sessions.js +0 -152
- package/node_modules/@remix-run/server-runtime/dist/single-fetch.d.ts +0 -90
- package/node_modules/@remix-run/server-runtime/dist/single-fetch.js +0 -468
- package/node_modules/@remix-run/server-runtime/dist/typecheck.d.ts +0 -4
- package/node_modules/@remix-run/server-runtime/dist/upload/errors.d.ts +0 -5
- package/node_modules/@remix-run/server-runtime/dist/upload/errors.js +0 -23
- package/node_modules/@remix-run/server-runtime/dist/upload/memoryUploadHandler.d.ts +0 -21
- package/node_modules/@remix-run/server-runtime/dist/upload/memoryUploadHandler.js +0 -54
- package/node_modules/@remix-run/server-runtime/dist/warnings.d.ts +0 -1
- package/node_modules/@remix-run/server-runtime/dist/warnings.js +0 -23
- package/node_modules/@remix-run/server-runtime/package.json +0 -51
- package/node_modules/@types/cookie/LICENSE +0 -21
- package/node_modules/@types/cookie/README.md +0 -15
- package/node_modules/@types/cookie/index.d.ts +0 -154
- package/node_modules/@types/cookie/package.json +0 -30
- package/node_modules/@web3-storage/multipart-parser/README.md +0 -37
- package/node_modules/@web3-storage/multipart-parser/cjs/src/index.js +0 -218
- package/node_modules/@web3-storage/multipart-parser/cjs/src/search.js +0 -269
- package/node_modules/@web3-storage/multipart-parser/cjs/src/utils.js +0 -37
- package/node_modules/@web3-storage/multipart-parser/esm/package.json +0 -4
- package/node_modules/@web3-storage/multipart-parser/esm/src/index.js +0 -219
- package/node_modules/@web3-storage/multipart-parser/esm/src/search.js +0 -269
- package/node_modules/@web3-storage/multipart-parser/esm/src/utils.js +0 -28
- package/node_modules/@web3-storage/multipart-parser/index.js +0 -1
- package/node_modules/@web3-storage/multipart-parser/package.json +0 -44
- package/node_modules/@web3-storage/multipart-parser/src/index.js +0 -257
- package/node_modules/@web3-storage/multipart-parser/src/search.js +0 -329
- package/node_modules/@web3-storage/multipart-parser/src/utils.js +0 -43
- package/node_modules/@web3-storage/multipart-parser/test/test.spec.js +0 -65
- package/node_modules/@web3-storage/multipart-parser/tsconfig.json +0 -41
- package/node_modules/@web3-storage/multipart-parser/types/index.d.ts +0 -15
- package/node_modules/@web3-storage/multipart-parser/types/index.d.ts.map +0 -1
- package/node_modules/@web3-storage/multipart-parser/types/search.d.ts +0 -36
- package/node_modules/@web3-storage/multipart-parser/types/search.d.ts.map +0 -1
- package/node_modules/@web3-storage/multipart-parser/types/utils.d.ts +0 -18
- package/node_modules/@web3-storage/multipart-parser/types/utils.d.ts.map +0 -1
- package/node_modules/aria-hidden/LICENSE +0 -21
- package/node_modules/aria-hidden/README.md +0 -99
- package/node_modules/aria-hidden/dist/es2015/index.d.ts +0 -29
- package/node_modules/aria-hidden/dist/es2015/index.js +0 -166
- package/node_modules/aria-hidden/dist/es2019/index.d.ts +0 -29
- package/node_modules/aria-hidden/dist/es2019/index.js +0 -155
- package/node_modules/aria-hidden/dist/es5/index.d.ts +0 -29
- package/node_modules/aria-hidden/dist/es5/index.js +0 -173
- package/node_modules/aria-hidden/package.json +0 -70
- package/node_modules/assertion-error/LICENSE +0 -21
- package/node_modules/assertion-error/README.md +0 -68
- package/node_modules/assertion-error/index.d.ts +0 -27
- package/node_modules/assertion-error/index.js +0 -60
- package/node_modules/assertion-error/package.json +0 -32
- package/node_modules/chai/CODEOWNERS +0 -1
- package/node_modules/chai/CODE_OF_CONDUCT.md +0 -58
- package/node_modules/chai/CONTRIBUTING.md +0 -218
- package/node_modules/chai/History.md +0 -1059
- package/node_modules/chai/LICENSE +0 -21
- package/node_modules/chai/README.md +0 -154
- package/node_modules/chai/ReleaseNotes.md +0 -737
- package/node_modules/chai/chai.js +0 -4018
- package/node_modules/chai/eslint.config.js +0 -12
- package/node_modules/chai/index.js +0 -1
- package/node_modules/chai/lib/chai/assertion.js +0 -164
- package/node_modules/chai/lib/chai/config.js +0 -114
- package/node_modules/chai/lib/chai/core/assertions.js +0 -3933
- package/node_modules/chai/lib/chai/interface/assert.js +0 -3012
- package/node_modules/chai/lib/chai/interface/expect.js +0 -55
- package/node_modules/chai/lib/chai/interface/should.js +0 -221
- package/node_modules/chai/lib/chai/utils/addChainableMethod.js +0 -147
- package/node_modules/chai/lib/chai/utils/addLengthGuard.js +0 -60
- package/node_modules/chai/lib/chai/utils/addMethod.js +0 -67
- package/node_modules/chai/lib/chai/utils/addProperty.js +0 -71
- package/node_modules/chai/lib/chai/utils/compareByInspect.js +0 -26
- package/node_modules/chai/lib/chai/utils/expectTypes.js +0 -50
- package/node_modules/chai/lib/chai/utils/flag.js +0 -33
- package/node_modules/chai/lib/chai/utils/getActual.js +0 -20
- package/node_modules/chai/lib/chai/utils/getEnumerableProperties.js +0 -25
- package/node_modules/chai/lib/chai/utils/getMessage.js +0 -46
- package/node_modules/chai/lib/chai/utils/getOperator.js +0 -58
- package/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js +0 -24
- package/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js +0 -26
- package/node_modules/chai/lib/chai/utils/getProperties.js +0 -38
- package/node_modules/chai/lib/chai/utils/index.js +0 -107
- package/node_modules/chai/lib/chai/utils/inspect.js +0 -31
- package/node_modules/chai/lib/chai/utils/isNaN.js +0 -26
- package/node_modules/chai/lib/chai/utils/isProxyEnabled.js +0 -24
- package/node_modules/chai/lib/chai/utils/objDisplay.js +0 -46
- package/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +0 -68
- package/node_modules/chai/lib/chai/utils/overwriteMethod.js +0 -91
- package/node_modules/chai/lib/chai/utils/overwriteProperty.js +0 -90
- package/node_modules/chai/lib/chai/utils/proxify.js +0 -147
- package/node_modules/chai/lib/chai/utils/test.js +0 -24
- package/node_modules/chai/lib/chai/utils/transferFlags.js +0 -43
- package/node_modules/chai/lib/chai/utils/type-detect.js +0 -20
- package/node_modules/chai/lib/chai.js +0 -65
- package/node_modules/chai/package.json +0 -61
- package/node_modules/chai/register-assert.cjs +0 -3
- package/node_modules/chai/register-assert.js +0 -3
- package/node_modules/chai/register-expect.cjs +0 -3
- package/node_modules/chai/register-expect.js +0 -3
- package/node_modules/chai/register-should.cjs +0 -3
- package/node_modules/chai/register-should.js +0 -3
- package/node_modules/chai/web-test-runner.config.js +0 -20
- package/node_modules/chai-dom/.eslintrc +0 -22
- package/node_modules/chai-dom/.travis.yml +0 -15
- package/node_modules/chai-dom/LICENSE +0 -24
- package/node_modules/chai-dom/README.md +0 -267
- package/node_modules/chai-dom/bower.json +0 -31
- package/node_modules/chai-dom/chai-dom.js +0 -429
- package/node_modules/chai-dom/package.json +0 -44
- package/node_modules/chai-dom/test/.eslintrc +0 -12
- package/node_modules/chai-dom/test/index.html +0 -27
- package/node_modules/chai-dom/test/tests.js +0 -1124
- package/node_modules/chai-dom/testem.js +0 -31
- package/node_modules/check-error/LICENSE +0 -19
- package/node_modules/check-error/README.md +0 -144
- package/node_modules/check-error/index.js +0 -135
- package/node_modules/check-error/package.json +0 -66
- package/node_modules/clsx/clsx.d.mts +0 -6
- package/node_modules/clsx/clsx.d.ts +0 -10
- package/node_modules/clsx/dist/clsx.js +0 -1
- package/node_modules/clsx/dist/clsx.min.js +0 -1
- package/node_modules/clsx/dist/clsx.mjs +0 -1
- package/node_modules/clsx/dist/lite.js +0 -1
- package/node_modules/clsx/dist/lite.mjs +0 -1
- package/node_modules/clsx/license +0 -9
- package/node_modules/clsx/package.json +0 -60
- package/node_modules/clsx/readme.md +0 -154
- package/node_modules/cookie/HISTORY.md +0 -147
- package/node_modules/cookie/LICENSE +0 -24
- package/node_modules/cookie/README.md +0 -317
- package/node_modules/cookie/SECURITY.md +0 -25
- package/node_modules/cookie/index.js +0 -274
- package/node_modules/cookie/package.json +0 -44
- package/node_modules/deep-eql/LICENSE +0 -19
- package/node_modules/deep-eql/README.md +0 -93
- package/node_modules/deep-eql/index.js +0 -513
- package/node_modules/deep-eql/package.json +0 -73
- package/node_modules/detect-node-es/LICENSE +0 -21
- package/node_modules/detect-node-es/Readme.md +0 -39
- package/node_modules/detect-node-es/es5/browser.js +0 -2
- package/node_modules/detect-node-es/es5/node.d.ts +0 -4
- package/node_modules/detect-node-es/es5/node.js +0 -2
- package/node_modules/detect-node-es/esm/browser.js +0 -2
- package/node_modules/detect-node-es/esm/node.js +0 -2
- package/node_modules/detect-node-es/package.json +0 -29
- package/node_modules/framer-motion/LICENSE.md +0 -21
- package/node_modules/framer-motion/README.md +0 -105
- package/node_modules/framer-motion/dist/cjs/dom-entry-GDJJhIpT.js +0 -5959
- package/node_modules/framer-motion/dist/cjs/dom-entry.js +0 -53
- package/node_modules/framer-motion/dist/cjs/index.js +0 -6566
- package/node_modules/framer-motion/dist/dom-entry.d.ts +0 -964
- package/node_modules/framer-motion/dist/dom.js +0 -1
- package/node_modules/framer-motion/dist/es/animation/GroupPlaybackControls.mjs +0 -80
- package/node_modules/framer-motion/dist/es/animation/animate.mjs +0 -83
- package/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +0 -295
- package/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +0 -84
- package/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +0 -382
- package/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +0 -17
- package/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +0 -40
- package/node_modules/framer-motion/dist/es/animation/animators/waapi/easing.mjs +0 -40
- package/node_modules/framer-motion/dist/es/animation/animators/waapi/index.mjs +0 -23
- package/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -12
- package/node_modules/framer-motion/dist/es/animation/generators/inertia.mjs +0 -87
- package/node_modules/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -51
- package/node_modules/framer-motion/dist/es/animation/generators/spring/find.mjs +0 -89
- package/node_modules/framer-motion/dist/es/animation/generators/spring/index.mjs +0 -131
- package/node_modules/framer-motion/dist/es/animation/generators/utils/calc-duration.mjs +0 -17
- package/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.mjs +0 -9
- package/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs +0 -80
- package/node_modules/framer-motion/dist/es/animation/hooks/use-animate.mjs +0 -17
- package/node_modules/framer-motion/dist/es/animation/hooks/use-animated-state.mjs +0 -62
- package/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs +0 -41
- package/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs +0 -112
- package/node_modules/framer-motion/dist/es/animation/interfaces/single-value.mjs +0 -11
- package/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +0 -80
- package/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs +0 -66
- package/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs +0 -29
- package/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -6
- package/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -7
- package/node_modules/framer-motion/dist/es/animation/optimized-appear/handoff.mjs +0 -83
- package/node_modules/framer-motion/dist/es/animation/optimized-appear/start.mjs +0 -80
- package/node_modules/framer-motion/dist/es/animation/optimized-appear/store-id.mjs +0 -3
- package/node_modules/framer-motion/dist/es/animation/optimized-appear/store.mjs +0 -3
- package/node_modules/framer-motion/dist/es/animation/sequence/create.mjs +0 -230
- package/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -21
- package/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs +0 -31
- package/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -14
- package/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -32
- package/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -40
- package/node_modules/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -30
- package/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -7
- package/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -5
- package/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -5
- package/node_modules/framer-motion/dist/es/animation/utils/is-none.mjs +0 -15
- package/node_modules/framer-motion/dist/es/animation/utils/stagger.mjs +0 -26
- package/node_modules/framer-motion/dist/es/animation/utils/transitions.mjs +0 -15
- package/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs +0 -76
- package/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs +0 -57
- package/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs +0 -169
- package/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs +0 -66
- package/node_modules/framer-motion/dist/es/components/AnimateSharedLayout.mjs +0 -15
- package/node_modules/framer-motion/dist/es/components/LayoutGroup/index.mjs +0 -31
- package/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs +0 -67
- package/node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs +0 -43
- package/node_modules/framer-motion/dist/es/components/Reorder/Group.mjs +0 -52
- package/node_modules/framer-motion/dist/es/components/Reorder/Item.mjs +0 -33
- package/node_modules/framer-motion/dist/es/components/Reorder/index.mjs +0 -9
- package/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.mjs +0 -24
- package/node_modules/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs +0 -10
- package/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs +0 -5
- package/node_modules/framer-motion/dist/es/context/LazyContext.mjs +0 -5
- package/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs +0 -12
- package/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs +0 -13
- package/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs +0 -5
- package/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs +0 -17
- package/node_modules/framer-motion/dist/es/context/PresenceContext.mjs +0 -8
- package/node_modules/framer-motion/dist/es/context/ReorderContext.mjs +0 -5
- package/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs +0 -8
- package/node_modules/framer-motion/dist/es/debug/record.mjs +0 -7
- package/node_modules/framer-motion/dist/es/dom-entry.mjs +0 -25
- package/node_modules/framer-motion/dist/es/easing/anticipate.mjs +0 -5
- package/node_modules/framer-motion/dist/es/easing/back.mjs +0 -9
- package/node_modules/framer-motion/dist/es/easing/circ.mjs +0 -8
- package/node_modules/framer-motion/dist/es/easing/cubic-bezier.mjs +0 -51
- package/node_modules/framer-motion/dist/es/easing/ease.mjs +0 -7
- package/node_modules/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -5
- package/node_modules/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -5
- package/node_modules/framer-motion/dist/es/easing/utils/create-generator-easing.mjs +0 -18
- package/node_modules/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -8
- package/node_modules/framer-motion/dist/es/easing/utils/is-bezier-definition.mjs +0 -3
- package/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -5
- package/node_modules/framer-motion/dist/es/easing/utils/map.mjs +0 -37
- package/node_modules/framer-motion/dist/es/events/add-dom-event.mjs +0 -6
- package/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs +0 -8
- package/node_modules/framer-motion/dist/es/events/event-info.mjs +0 -15
- package/node_modules/framer-motion/dist/es/events/use-dom-event.mjs +0 -34
- package/node_modules/framer-motion/dist/es/events/utils/is-primary-pointer.mjs +0 -18
- package/node_modules/framer-motion/dist/es/frameloop/batcher.mjs +0 -65
- package/node_modules/framer-motion/dist/es/frameloop/frame.mjs +0 -6
- package/node_modules/framer-motion/dist/es/frameloop/index-legacy.mjs +0 -20
- package/node_modules/framer-motion/dist/es/frameloop/microtask.mjs +0 -5
- package/node_modules/framer-motion/dist/es/frameloop/render-step.mjs +0 -104
- package/node_modules/framer-motion/dist/es/frameloop/sync-time.mjs +0 -31
- package/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs +0 -484
- package/node_modules/framer-motion/dist/es/gestures/drag/index.mjs +0 -27
- package/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs +0 -88
- package/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs +0 -129
- package/node_modules/framer-motion/dist/es/gestures/drag/utils/lock.mjs +0 -53
- package/node_modules/framer-motion/dist/es/gestures/focus.mjs +0 -41
- package/node_modules/framer-motion/dist/es/gestures/hover.mjs +0 -33
- package/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs +0 -156
- package/node_modules/framer-motion/dist/es/gestures/pan/index.mjs +0 -50
- package/node_modules/framer-motion/dist/es/gestures/press.mjs +0 -130
- package/node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.mjs +0 -20
- package/node_modules/framer-motion/dist/es/index.mjs +0 -101
- package/node_modules/framer-motion/dist/es/motion/features/Feature.mjs +0 -9
- package/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs +0 -31
- package/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs +0 -41
- package/node_modules/framer-motion/dist/es/motion/features/animations.mjs +0 -13
- package/node_modules/framer-motion/dist/es/motion/features/definitions.mjs +0 -28
- package/node_modules/framer-motion/dist/es/motion/features/drag.mjs +0 -17
- package/node_modules/framer-motion/dist/es/motion/features/gestures.mjs +0 -21
- package/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs +0 -133
- package/node_modules/framer-motion/dist/es/motion/features/layout.mjs +0 -11
- package/node_modules/framer-motion/dist/es/motion/features/load-features.mjs +0 -12
- package/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs +0 -72
- package/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs +0 -49
- package/node_modules/framer-motion/dist/es/motion/index.mjs +0 -97
- package/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -11
- package/node_modules/framer-motion/dist/es/motion/utils/is-motion-component.mjs +0 -12
- package/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs +0 -3
- package/node_modules/framer-motion/dist/es/motion/utils/unwrap-motion-component.mjs +0 -17
- package/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs +0 -36
- package/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs +0 -127
- package/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs +0 -81
- package/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs +0 -57
- package/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs +0 -93
- package/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -33
- package/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs +0 -20
- package/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -122
- package/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -41
- package/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -54
- package/node_modules/framer-motion/dist/es/projection/geometry/models.mjs +0 -17
- package/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs +0 -25
- package/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -13
- package/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -27
- package/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs +0 -1562
- package/node_modules/framer-motion/dist/es/projection/node/group.mjs +0 -24
- package/node_modules/framer-motion/dist/es/projection/node/state.mjs +0 -19
- package/node_modules/framer-motion/dist/es/projection/shared/stack.mjs +0 -112
- package/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -41
- package/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -35
- package/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -6
- package/node_modules/framer-motion/dist/es/projection/styles/transform.mjs +0 -49
- package/node_modules/framer-motion/dist/es/projection/use-instant-layout-transition.mjs +0 -14
- package/node_modules/framer-motion/dist/es/projection/use-reset-projection.mjs +0 -14
- package/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -5
- package/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -26
- package/node_modules/framer-motion/dist/es/projection/utils/measure.mjs +0 -17
- package/node_modules/framer-motion/dist/es/projection-entry.mjs +0 -11
- package/node_modules/framer-motion/dist/es/render/VisualElement.mjs +0 -496
- package/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +0 -130
- package/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +0 -28
- package/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs +0 -15
- package/node_modules/framer-motion/dist/es/render/dom/features-animation.mjs +0 -14
- package/node_modules/framer-motion/dist/es/render/dom/features-max.mjs +0 -14
- package/node_modules/framer-motion/dist/es/render/dom/motion-minimal.mjs +0 -9
- package/node_modules/framer-motion/dist/es/render/dom/motion-proxy.mjs +0 -47
- package/node_modules/framer-motion/dist/es/render/dom/motion.mjs +0 -42
- package/node_modules/framer-motion/dist/es/render/dom/resize/handle-element.mjs +0 -64
- package/node_modules/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -30
- package/node_modules/framer-motion/dist/es/render/dom/resize/index.mjs +0 -8
- package/node_modules/framer-motion/dist/es/render/dom/scroll/index.mjs +0 -36
- package/node_modules/framer-motion/dist/es/render/dom/scroll/info.mjs +0 -56
- package/node_modules/framer-motion/dist/es/render/dom/scroll/observe.mjs +0 -18
- package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -45
- package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -59
- package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -45
- package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -35
- package/node_modules/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -20
- package/node_modules/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -48
- package/node_modules/framer-motion/dist/es/render/dom/scroll/supports.mjs +0 -5
- package/node_modules/framer-motion/dist/es/render/dom/scroll/track.mjs +0 -84
- package/node_modules/framer-motion/dist/es/render/dom/use-render.mjs +0 -33
- package/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -6
- package/node_modules/framer-motion/dist/es/render/dom/utils/create-config.mjs +0 -19
- package/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +0 -42
- package/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs +0 -59
- package/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -13
- package/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs +0 -30
- package/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -5
- package/node_modules/framer-motion/dist/es/render/dom/utils/resolve-element.mjs +0 -28
- package/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +0 -65
- package/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -15
- package/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -30
- package/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -15
- package/node_modules/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -15
- package/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -10
- package/node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -74
- package/node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -6
- package/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -9
- package/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -8
- package/node_modules/framer-motion/dist/es/render/dom/viewport/index.mjs +0 -43
- package/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +0 -59
- package/node_modules/framer-motion/dist/es/render/html/config-motion.mjs +0 -12
- package/node_modules/framer-motion/dist/es/render/html/use-props.mjs +0 -57
- package/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -74
- package/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -45
- package/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs +0 -8
- package/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -30
- package/node_modules/framer-motion/dist/es/render/html/utils/render.mjs +0 -9
- package/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -20
- package/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs +0 -28
- package/node_modules/framer-motion/dist/es/render/store.mjs +0 -3
- package/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +0 -47
- package/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs +0 -40
- package/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs +0 -33
- package/node_modules/framer-motion/dist/es/render/svg/use-props.mjs +0 -24
- package/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -52
- package/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -30
- package/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs +0 -8
- package/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -3
- package/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs +0 -32
- package/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs +0 -12
- package/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -19
- package/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -18
- package/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +0 -164
- package/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs +0 -328
- package/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -3
- package/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -24
- package/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -13
- package/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -8
- package/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs +0 -67
- package/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -8
- package/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -36
- package/node_modules/framer-motion/dist/es/render/utils/setters.mjs +0 -27
- package/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs +0 -12
- package/node_modules/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -6
- package/node_modules/framer-motion/dist/es/utils/array.mjs +0 -21
- package/node_modules/framer-motion/dist/es/utils/clamp.mjs +0 -9
- package/node_modules/framer-motion/dist/es/utils/delay.mjs +0 -20
- package/node_modules/framer-motion/dist/es/utils/distance.mjs +0 -9
- package/node_modules/framer-motion/dist/es/utils/errors.mjs +0 -18
- package/node_modules/framer-motion/dist/es/utils/get-context-window.mjs +0 -6
- package/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -42
- package/node_modules/framer-motion/dist/es/utils/interpolate.mjs +0 -75
- package/node_modules/framer-motion/dist/es/utils/is-browser.mjs +0 -3
- package/node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -6
- package/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs +0 -7
- package/node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -6
- package/node_modules/framer-motion/dist/es/utils/memo.mjs +0 -10
- package/node_modules/framer-motion/dist/es/utils/mix/color.mjs +0 -47
- package/node_modules/framer-motion/dist/es/utils/mix/complex.mjs +0 -94
- package/node_modules/framer-motion/dist/es/utils/mix/immediate.mjs +0 -5
- package/node_modules/framer-motion/dist/es/utils/mix/index.mjs +0 -14
- package/node_modules/framer-motion/dist/es/utils/mix/number.mjs +0 -26
- package/node_modules/framer-motion/dist/es/utils/mix/visibility.mjs +0 -16
- package/node_modules/framer-motion/dist/es/utils/noop.mjs +0 -3
- package/node_modules/framer-motion/dist/es/utils/offsets/default.mjs +0 -9
- package/node_modules/framer-motion/dist/es/utils/offsets/fill.mjs +0 -12
- package/node_modules/framer-motion/dist/es/utils/offsets/time.mjs +0 -5
- package/node_modules/framer-motion/dist/es/utils/pipe.mjs +0 -11
- package/node_modules/framer-motion/dist/es/utils/progress.mjs +0 -18
- package/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -19
- package/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -5
- package/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion-config.mjs +0 -19
- package/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs +0 -47
- package/node_modules/framer-motion/dist/es/utils/resolve-value.mjs +0 -11
- package/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs +0 -14
- package/node_modules/framer-motion/dist/es/utils/subscription-manager.mjs +0 -40
- package/node_modules/framer-motion/dist/es/utils/time-conversion.mjs +0 -10
- package/node_modules/framer-motion/dist/es/utils/transform.mjs +0 -21
- package/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs +0 -21
- package/node_modules/framer-motion/dist/es/utils/use-constant.mjs +0 -18
- package/node_modules/framer-motion/dist/es/utils/use-cycle.mjs +0 -47
- package/node_modules/framer-motion/dist/es/utils/use-force-update.mjs +0 -19
- package/node_modules/framer-motion/dist/es/utils/use-in-view.mjs +0 -23
- package/node_modules/framer-motion/dist/es/utils/use-instant-transition-state.mjs +0 -5
- package/node_modules/framer-motion/dist/es/utils/use-instant-transition.mjs +0 -41
- package/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs +0 -15
- package/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs +0 -6
- package/node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs +0 -13
- package/node_modules/framer-motion/dist/es/utils/use-unmount-effect.mjs +0 -7
- package/node_modules/framer-motion/dist/es/utils/velocity-per-second.mjs +0 -11
- package/node_modules/framer-motion/dist/es/utils/warn-once.mjs +0 -11
- package/node_modules/framer-motion/dist/es/utils/wrap.mjs +0 -6
- package/node_modules/framer-motion/dist/es/value/index.mjs +0 -319
- package/node_modules/framer-motion/dist/es/value/scroll/use-element-scroll.mjs +0 -14
- package/node_modules/framer-motion/dist/es/value/scroll/use-viewport-scroll.mjs +0 -14
- package/node_modules/framer-motion/dist/es/value/types/color/hex.mjs +0 -40
- package/node_modules/framer-motion/dist/es/value/types/color/hsla.mjs +0 -22
- package/node_modules/framer-motion/dist/es/value/types/color/index.mjs +0 -28
- package/node_modules/framer-motion/dist/es/value/types/color/rgba.mjs +0 -25
- package/node_modules/framer-motion/dist/es/value/types/color/utils.mjs +0 -23
- package/node_modules/framer-motion/dist/es/value/types/complex/filter.mjs +0 -30
- package/node_modules/framer-motion/dist/es/value/types/complex/index.mjs +0 -90
- package/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs +0 -17
- package/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs +0 -19
- package/node_modules/framer-motion/dist/es/value/types/utils.mjs +0 -15
- package/node_modules/framer-motion/dist/es/value/use-combine-values.mjs +0 -37
- package/node_modules/framer-motion/dist/es/value/use-computed.mjs +0 -19
- package/node_modules/framer-motion/dist/es/value/use-inverted-scale.mjs +0 -52
- package/node_modules/framer-motion/dist/es/value/use-motion-template.mjs +0 -45
- package/node_modules/framer-motion/dist/es/value/use-motion-value.mjs +0 -38
- package/node_modules/framer-motion/dist/es/value/use-scroll.mjs +0 -39
- package/node_modules/framer-motion/dist/es/value/use-spring.mjs +0 -80
- package/node_modules/framer-motion/dist/es/value/use-time.mjs +0 -10
- package/node_modules/framer-motion/dist/es/value/use-transform.mjs +0 -29
- package/node_modules/framer-motion/dist/es/value/use-velocity.mjs +0 -35
- package/node_modules/framer-motion/dist/es/value/use-will-change/index.mjs +0 -50
- package/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs +0 -7
- package/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -3
- package/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -16
- package/node_modules/framer-motion/dist/framer-motion.dev.js +0 -12433
- package/node_modules/framer-motion/dist/framer-motion.js +0 -1
- package/node_modules/framer-motion/dist/index.d.ts +0 -5278
- package/node_modules/framer-motion/dist/three-entry.d.ts +0 -2954
- package/node_modules/framer-motion/dom/README.md +0 -1
- package/node_modules/framer-motion/dom/package.json +0 -6
- package/node_modules/framer-motion/package.json +0 -108
- package/node_modules/get-func-name/LICENSE +0 -19
- package/node_modules/get-func-name/README.md +0 -123
- package/node_modules/get-func-name/get-func-name.js +0 -1
- package/node_modules/get-func-name/index.js +0 -52
- package/node_modules/get-func-name/package.json +0 -85
- package/node_modules/get-nonce/LICENSE +0 -21
- package/node_modules/get-nonce/README.md +0 -54
- package/node_modules/get-nonce/dist/es2015/index.d.ts +0 -2
- package/node_modules/get-nonce/dist/es2015/index.js +0 -13
- package/node_modules/get-nonce/dist/es5/index.d.ts +0 -2
- package/node_modules/get-nonce/dist/es5/index.js +0 -15
- package/node_modules/get-nonce/package.json +0 -68
- package/node_modules/invariant/LICENSE +0 -21
- package/node_modules/invariant/README.md +0 -37
- package/node_modules/invariant/browser.js +0 -49
- package/node_modules/invariant/invariant.js +0 -51
- package/node_modules/invariant/invariant.js.flow +0 -7
- package/node_modules/invariant/package.json +0 -35
- package/node_modules/js-tokens/LICENSE +0 -21
- package/node_modules/js-tokens/README.md +0 -240
- package/node_modules/js-tokens/index.js +0 -23
- package/node_modules/js-tokens/package.json +0 -30
- package/node_modules/loose-envify/LICENSE +0 -21
- package/node_modules/loose-envify/README.md +0 -45
- package/node_modules/loose-envify/cli.js +0 -16
- package/node_modules/loose-envify/custom.js +0 -4
- package/node_modules/loose-envify/index.js +0 -3
- package/node_modules/loose-envify/loose-envify.js +0 -36
- package/node_modules/loose-envify/package.json +0 -36
- package/node_modules/loose-envify/replace.js +0 -65
- package/node_modules/loupe/LICENSE +0 -9
- package/node_modules/loupe/README.md +0 -63
- package/node_modules/loupe/lib/arguments.d.ts +0 -3
- package/node_modules/loupe/lib/arguments.d.ts.map +0 -1
- package/node_modules/loupe/lib/arguments.js +0 -7
- package/node_modules/loupe/lib/array.d.ts +0 -3
- package/node_modules/loupe/lib/array.d.ts.map +0 -1
- package/node_modules/loupe/lib/array.js +0 -16
- package/node_modules/loupe/lib/bigint.d.ts +0 -3
- package/node_modules/loupe/lib/bigint.d.ts.map +0 -1
- package/node_modules/loupe/lib/bigint.js +0 -7
- package/node_modules/loupe/lib/class.d.ts +0 -5
- package/node_modules/loupe/lib/class.d.ts.map +0 -1
- package/node_modules/loupe/lib/class.js +0 -15
- package/node_modules/loupe/lib/date.d.ts +0 -3
- package/node_modules/loupe/lib/date.d.ts.map +0 -1
- package/node_modules/loupe/lib/date.js +0 -11
- package/node_modules/loupe/lib/error.d.ts +0 -3
- package/node_modules/loupe/lib/error.d.ts.map +0 -1
- package/node_modules/loupe/lib/error.js +0 -29
- package/node_modules/loupe/lib/function.d.ts +0 -7
- package/node_modules/loupe/lib/function.d.ts.map +0 -1
- package/node_modules/loupe/lib/function.js +0 -9
- package/node_modules/loupe/lib/helpers.d.ts +0 -7
- package/node_modules/loupe/lib/helpers.d.ts.map +0 -1
- package/node_modules/loupe/lib/helpers.js +0 -159
- package/node_modules/loupe/lib/html.d.ts +0 -5
- package/node_modules/loupe/lib/html.d.ts.map +0 -1
- package/node_modules/loupe/lib/html.js +0 -34
- package/node_modules/loupe/lib/index.d.ts +0 -7
- package/node_modules/loupe/lib/index.d.ts.map +0 -1
- package/node_modules/loupe/lib/index.js +0 -161
- package/node_modules/loupe/lib/map.d.ts +0 -3
- package/node_modules/loupe/lib/map.d.ts.map +0 -1
- package/node_modules/loupe/lib/map.js +0 -24
- package/node_modules/loupe/lib/number.d.ts +0 -3
- package/node_modules/loupe/lib/number.d.ts.map +0 -1
- package/node_modules/loupe/lib/number.js +0 -17
- package/node_modules/loupe/lib/object.d.ts +0 -3
- package/node_modules/loupe/lib/object.d.ts.map +0 -1
- package/node_modules/loupe/lib/object.js +0 -22
- package/node_modules/loupe/lib/promise.d.ts +0 -5
- package/node_modules/loupe/lib/promise.d.ts.map +0 -1
- package/node_modules/loupe/lib/promise.js +0 -18
- package/node_modules/loupe/lib/regexp.d.ts +0 -3
- package/node_modules/loupe/lib/regexp.d.ts.map +0 -1
- package/node_modules/loupe/lib/regexp.js +0 -7
- package/node_modules/loupe/lib/set.d.ts +0 -3
- package/node_modules/loupe/lib/set.d.ts.map +0 -1
- package/node_modules/loupe/lib/set.js +0 -15
- package/node_modules/loupe/lib/string.d.ts +0 -3
- package/node_modules/loupe/lib/string.d.ts.map +0 -1
- package/node_modules/loupe/lib/string.js +0 -24
- package/node_modules/loupe/lib/symbol.d.ts +0 -2
- package/node_modules/loupe/lib/symbol.d.ts.map +0 -1
- package/node_modules/loupe/lib/symbol.js +0 -6
- package/node_modules/loupe/lib/typedarray.d.ts +0 -5
- package/node_modules/loupe/lib/typedarray.d.ts.map +0 -1
- package/node_modules/loupe/lib/typedarray.js +0 -38
- package/node_modules/loupe/lib/types.d.ts +0 -15
- package/node_modules/loupe/lib/types.d.ts.map +0 -1
- package/node_modules/loupe/lib/types.js +0 -1
- package/node_modules/loupe/loupe.js +0 -644
- package/node_modules/loupe/package.json +0 -126
- package/node_modules/pathval/LICENSE +0 -16
- package/node_modules/pathval/README.md +0 -147
- package/node_modules/pathval/index.js +0 -292
- package/node_modules/pathval/package.json +0 -73
- package/node_modules/pathval/pathval.js +0 -1
- package/node_modules/react-remove-scroll/LICENSE +0 -21
- package/node_modules/react-remove-scroll/README.md +0 -152
- package/node_modules/react-remove-scroll/UI/UI.d.ts +0 -1
- package/node_modules/react-remove-scroll/UI/package.json +0 -8
- package/node_modules/react-remove-scroll/dist/es2015/Combination.d.ts +0 -3
- package/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -7
- package/node_modules/react-remove-scroll/dist/es2015/SideEffect.d.ts +0 -5
- package/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -157
- package/node_modules/react-remove-scroll/dist/es2015/UI.d.ts +0 -7
- package/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -36
- package/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.d.ts +0 -3
- package/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -19
- package/node_modules/react-remove-scroll/dist/es2015/handleScroll.d.ts +0 -3
- package/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -104
- package/node_modules/react-remove-scroll/dist/es2015/index.d.ts +0 -2
- package/node_modules/react-remove-scroll/dist/es2015/index.js +0 -2
- package/node_modules/react-remove-scroll/dist/es2015/medium.d.ts +0 -2
- package/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -2
- package/node_modules/react-remove-scroll/dist/es2015/pinchAndZoom.d.ts +0 -8
- package/node_modules/react-remove-scroll/dist/es2015/pinchAndZoom.js +0 -33
- package/node_modules/react-remove-scroll/dist/es2015/sidecar.d.ts +0 -2
- package/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -4
- package/node_modules/react-remove-scroll/dist/es2015/types.d.ts +0 -98
- package/node_modules/react-remove-scroll/dist/es2015/types.js +0 -1
- package/node_modules/react-remove-scroll/dist/es2019/Combination.d.ts +0 -3
- package/node_modules/react-remove-scroll/dist/es2019/Combination.js +0 -6
- package/node_modules/react-remove-scroll/dist/es2019/SideEffect.d.ts +0 -5
- package/node_modules/react-remove-scroll/dist/es2019/SideEffect.js +0 -155
- package/node_modules/react-remove-scroll/dist/es2019/UI.d.ts +0 -7
- package/node_modules/react-remove-scroll/dist/es2019/UI.js +0 -41
- package/node_modules/react-remove-scroll/dist/es2019/aggresiveCapture.d.ts +0 -3
- package/node_modules/react-remove-scroll/dist/es2019/aggresiveCapture.js +0 -19
- package/node_modules/react-remove-scroll/dist/es2019/handleScroll.d.ts +0 -3
- package/node_modules/react-remove-scroll/dist/es2019/handleScroll.js +0 -92
- package/node_modules/react-remove-scroll/dist/es2019/index.d.ts +0 -2
- package/node_modules/react-remove-scroll/dist/es2019/index.js +0 -2
- package/node_modules/react-remove-scroll/dist/es2019/medium.d.ts +0 -2
- package/node_modules/react-remove-scroll/dist/es2019/medium.js +0 -2
- package/node_modules/react-remove-scroll/dist/es2019/pinchAndZoom.d.ts +0 -8
- package/node_modules/react-remove-scroll/dist/es2019/pinchAndZoom.js +0 -33
- package/node_modules/react-remove-scroll/dist/es2019/sidecar.d.ts +0 -2
- package/node_modules/react-remove-scroll/dist/es2019/sidecar.js +0 -4
- package/node_modules/react-remove-scroll/dist/es2019/types.d.ts +0 -98
- package/node_modules/react-remove-scroll/dist/es2019/types.js +0 -1
- package/node_modules/react-remove-scroll/dist/es5/Combination.d.ts +0 -3
- package/node_modules/react-remove-scroll/dist/es5/Combination.js +0 -9
- package/node_modules/react-remove-scroll/dist/es5/SideEffect.d.ts +0 -5
- package/node_modules/react-remove-scroll/dist/es5/SideEffect.js +0 -163
- package/node_modules/react-remove-scroll/dist/es5/UI.d.ts +0 -7
- package/node_modules/react-remove-scroll/dist/es5/UI.js +0 -39
- package/node_modules/react-remove-scroll/dist/es5/aggresiveCapture.d.ts +0 -3
- package/node_modules/react-remove-scroll/dist/es5/aggresiveCapture.js +0 -22
- package/node_modules/react-remove-scroll/dist/es5/handleScroll.d.ts +0 -3
- package/node_modules/react-remove-scroll/dist/es5/handleScroll.js +0 -109
- package/node_modules/react-remove-scroll/dist/es5/index.d.ts +0 -2
- package/node_modules/react-remove-scroll/dist/es5/index.js +0 -6
- package/node_modules/react-remove-scroll/dist/es5/medium.d.ts +0 -2
- package/node_modules/react-remove-scroll/dist/es5/medium.js +0 -5
- package/node_modules/react-remove-scroll/dist/es5/pinchAndZoom.d.ts +0 -8
- package/node_modules/react-remove-scroll/dist/es5/pinchAndZoom.js +0 -37
- package/node_modules/react-remove-scroll/dist/es5/sidecar.d.ts +0 -2
- package/node_modules/react-remove-scroll/dist/es5/sidecar.js +0 -6
- package/node_modules/react-remove-scroll/dist/es5/types.d.ts +0 -98
- package/node_modules/react-remove-scroll/dist/es5/types.js +0 -2
- package/node_modules/react-remove-scroll/dist/index.js +0 -93
- package/node_modules/react-remove-scroll/package.json +0 -97
- package/node_modules/react-remove-scroll/sidecar/package.json +0 -7
- package/node_modules/react-remove-scroll/sidecar/sidecar.d.ts +0 -5
- package/node_modules/react-remove-scroll-bar/README.md +0 -52
- package/node_modules/react-remove-scroll-bar/constants/package.json +0 -8
- package/node_modules/react-remove-scroll-bar/dist/es2015/component.d.ts +0 -13
- package/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -53
- package/node_modules/react-remove-scroll-bar/dist/es2015/constants.d.ts +0 -8
- package/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -8
- package/node_modules/react-remove-scroll-bar/dist/es2015/index.d.ts +0 -4
- package/node_modules/react-remove-scroll-bar/dist/es2015/index.js +0 -4
- package/node_modules/react-remove-scroll-bar/dist/es2015/utils.d.ts +0 -14
- package/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -29
- package/node_modules/react-remove-scroll-bar/dist/es2019/component.d.ts +0 -13
- package/node_modules/react-remove-scroll-bar/dist/es2019/component.js +0 -85
- package/node_modules/react-remove-scroll-bar/dist/es2019/constants.d.ts +0 -8
- package/node_modules/react-remove-scroll-bar/dist/es2019/constants.js +0 -8
- package/node_modules/react-remove-scroll-bar/dist/es2019/index.d.ts +0 -4
- package/node_modules/react-remove-scroll-bar/dist/es2019/index.js +0 -4
- package/node_modules/react-remove-scroll-bar/dist/es2019/utils.d.ts +0 -14
- package/node_modules/react-remove-scroll-bar/dist/es2019/utils.js +0 -28
- package/node_modules/react-remove-scroll-bar/dist/es5/component.d.ts +0 -13
- package/node_modules/react-remove-scroll-bar/dist/es5/component.js +0 -59
- package/node_modules/react-remove-scroll-bar/dist/es5/constants.d.ts +0 -8
- package/node_modules/react-remove-scroll-bar/dist/es5/constants.js +0 -11
- package/node_modules/react-remove-scroll-bar/dist/es5/index.d.ts +0 -4
- package/node_modules/react-remove-scroll-bar/dist/es5/index.js +0 -12
- package/node_modules/react-remove-scroll-bar/dist/es5/utils.d.ts +0 -14
- package/node_modules/react-remove-scroll-bar/dist/es5/utils.js +0 -33
- package/node_modules/react-remove-scroll-bar/package.json +0 -85
- package/node_modules/react-router/CHANGELOG.md +0 -723
- package/node_modules/react-router/LICENSE.md +0 -23
- package/node_modules/react-router/README.md +0 -16
- package/node_modules/react-router/dist/index.d.ts +0 -29
- package/node_modules/react-router/dist/index.js +0 -1456
- package/node_modules/react-router/dist/index.js.map +0 -1
- package/node_modules/react-router/dist/lib/components.d.ts +0 -157
- package/node_modules/react-router/dist/lib/context.d.ts +0 -102
- package/node_modules/react-router/dist/lib/hooks.d.ts +0 -181
- package/node_modules/react-router/dist/main.js +0 -19
- package/node_modules/react-router/dist/react-router.development.js +0 -1352
- package/node_modules/react-router/dist/react-router.development.js.map +0 -1
- package/node_modules/react-router/dist/react-router.production.min.js +0 -12
- package/node_modules/react-router/dist/react-router.production.min.js.map +0 -1
- package/node_modules/react-router/dist/umd/react-router.development.js +0 -1574
- package/node_modules/react-router/dist/umd/react-router.development.js.map +0 -1
- package/node_modules/react-router/dist/umd/react-router.production.min.js +0 -12
- package/node_modules/react-router/dist/umd/react-router.production.min.js.map +0 -1
- package/node_modules/react-router/package.json +0 -44
- package/node_modules/react-router-dom/CHANGELOG.md +0 -866
- package/node_modules/react-router-dom/LICENSE.md +0 -23
- package/node_modules/react-router-dom/README.md +0 -5
- package/node_modules/react-router-dom/dist/dom.d.ts +0 -117
- package/node_modules/react-router-dom/dist/index.d.ts +0 -331
- package/node_modules/react-router-dom/dist/index.js +0 -1447
- package/node_modules/react-router-dom/dist/index.js.map +0 -1
- package/node_modules/react-router-dom/dist/main.js +0 -19
- package/node_modules/react-router-dom/dist/react-router-dom.development.js +0 -1514
- package/node_modules/react-router-dom/dist/react-router-dom.development.js.map +0 -1
- package/node_modules/react-router-dom/dist/react-router-dom.production.min.js +0 -12
- package/node_modules/react-router-dom/dist/react-router-dom.production.min.js.map +0 -1
- package/node_modules/react-router-dom/dist/server.d.ts +0 -31
- package/node_modules/react-router-dom/dist/server.js +0 -322
- package/node_modules/react-router-dom/dist/server.mjs +0 -297
- package/node_modules/react-router-dom/dist/umd/react-router-dom.development.js +0 -1813
- package/node_modules/react-router-dom/dist/umd/react-router-dom.development.js.map +0 -1
- package/node_modules/react-router-dom/dist/umd/react-router-dom.production.min.js +0 -12
- package/node_modules/react-router-dom/dist/umd/react-router-dom.production.min.js.map +0 -1
- package/node_modules/react-router-dom/package.json +0 -49
- package/node_modules/react-router-dom/server.d.ts +0 -31
- package/node_modules/react-router-dom/server.js +0 -322
- package/node_modules/react-router-dom/server.mjs +0 -297
- package/node_modules/react-style-singleton/README.md +0 -41
- package/node_modules/react-style-singleton/dist/es2015/component.d.ts +0 -21
- package/node_modules/react-style-singleton/dist/es2015/component.js +0 -16
- package/node_modules/react-style-singleton/dist/es2015/hook.d.ts +0 -23
- package/node_modules/react-style-singleton/dist/es2015/hook.js +0 -22
- package/node_modules/react-style-singleton/dist/es2015/index.d.ts +0 -3
- package/node_modules/react-style-singleton/dist/es2015/index.js +0 -3
- package/node_modules/react-style-singleton/dist/es2015/singleton.d.ts +0 -4
- package/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -48
- package/node_modules/react-style-singleton/dist/es2019/component.d.ts +0 -21
- package/node_modules/react-style-singleton/dist/es2019/component.js +0 -15
- package/node_modules/react-style-singleton/dist/es2019/hook.d.ts +0 -23
- package/node_modules/react-style-singleton/dist/es2019/hook.js +0 -22
- package/node_modules/react-style-singleton/dist/es2019/index.d.ts +0 -3
- package/node_modules/react-style-singleton/dist/es2019/index.js +0 -3
- package/node_modules/react-style-singleton/dist/es2019/singleton.d.ts +0 -4
- package/node_modules/react-style-singleton/dist/es2019/singleton.js +0 -48
- package/node_modules/react-style-singleton/dist/es5/component.d.ts +0 -21
- package/node_modules/react-style-singleton/dist/es5/component.js +0 -20
- package/node_modules/react-style-singleton/dist/es5/hook.d.ts +0 -23
- package/node_modules/react-style-singleton/dist/es5/hook.js +0 -27
- package/node_modules/react-style-singleton/dist/es5/index.d.ts +0 -3
- package/node_modules/react-style-singleton/dist/es5/index.js +0 -9
- package/node_modules/react-style-singleton/dist/es5/singleton.d.ts +0 -4
- package/node_modules/react-style-singleton/dist/es5/singleton.js +0 -52
- package/node_modules/react-style-singleton/dist/index.js +0 -1
- package/node_modules/react-style-singleton/package.json +0 -87
- package/node_modules/regenerator-runtime/LICENSE +0 -21
- package/node_modules/regenerator-runtime/README.md +0 -31
- package/node_modules/regenerator-runtime/package.json +0 -19
- package/node_modules/regenerator-runtime/path.js +0 -11
- package/node_modules/regenerator-runtime/runtime.js +0 -761
- package/node_modules/remix-utils/.eslintrc.cjs +0 -54
- package/node_modules/remix-utils/LICENSE +0 -21
- package/node_modules/remix-utils/README.md +0 -2149
- package/node_modules/remix-utils/build/client/cache-assets.d.ts +0 -22
- package/node_modules/remix-utils/build/client/cache-assets.js +0 -66
- package/node_modules/remix-utils/build/common/promise.d.ts +0 -87
- package/node_modules/remix-utils/build/common/promise.js +0 -112
- package/node_modules/remix-utils/build/common/timers.d.ts +0 -27
- package/node_modules/remix-utils/build/common/timers.js +0 -47
- package/node_modules/remix-utils/build/react/authenticity-token.d.ts +0 -50
- package/node_modules/remix-utils/build/react/authenticity-token.js +0 -54
- package/node_modules/remix-utils/build/react/client-only.d.ts +0 -27
- package/node_modules/remix-utils/build/react/client-only.js +0 -20
- package/node_modules/remix-utils/build/react/existing-search-params.d.ts +0 -34
- package/node_modules/remix-utils/build/react/existing-search-params.js +0 -32
- package/node_modules/remix-utils/build/react/external-scripts.d.ts +0 -91
- package/node_modules/remix-utils/build/react/external-scripts.js +0 -106
- package/node_modules/remix-utils/build/react/fetcher-type.d.ts +0 -31
- package/node_modules/remix-utils/build/react/fetcher-type.js +0 -53
- package/node_modules/remix-utils/build/react/handle-conventions.d.ts +0 -10
- package/node_modules/remix-utils/build/react/handle-conventions.js +0 -1
- package/node_modules/remix-utils/build/react/honeypot.d.ts +0 -11
- package/node_modules/remix-utils/build/react/honeypot.js +0 -16
- package/node_modules/remix-utils/build/react/server-only.d.ts +0 -25
- package/node_modules/remix-utils/build/react/server-only.js +0 -18
- package/node_modules/remix-utils/build/react/use-debounce-fetcher.d.ts +0 -28
- package/node_modules/remix-utils/build/react/use-debounce-fetcher.js +0 -27
- package/node_modules/remix-utils/build/react/use-debounce-submit.d.ts +0 -7
- package/node_modules/remix-utils/build/react/use-debounce-submit.js +0 -41
- package/node_modules/remix-utils/build/react/use-delegated-anchors.d.ts +0 -6
- package/node_modules/remix-utils/build/react/use-delegated-anchors.js +0 -69
- package/node_modules/remix-utils/build/react/use-event-source.d.ts +0 -17
- package/node_modules/remix-utils/build/react/use-event-source.js +0 -37
- package/node_modules/remix-utils/build/react/use-global-navigation-state.d.ts +0 -33
- package/node_modules/remix-utils/build/react/use-global-navigation-state.js +0 -67
- package/node_modules/remix-utils/build/react/use-hydrated.d.ts +0 -18
- package/node_modules/remix-utils/build/react/use-hydrated.js +0 -24
- package/node_modules/remix-utils/build/react/use-locales.d.ts +0 -24
- package/node_modules/remix-utils/build/react/use-locales.js +0 -56
- package/node_modules/remix-utils/build/react/use-should-hydrate.d.ts +0 -21
- package/node_modules/remix-utils/build/react/use-should-hydrate.js +0 -44
- package/node_modules/remix-utils/build/server/cors.d.ts +0 -101
- package/node_modules/remix-utils/build/server/cors.js +0 -179
- package/node_modules/remix-utils/build/server/csrf.d.ts +0 -85
- package/node_modules/remix-utils/build/server/csrf.js +0 -121
- package/node_modules/remix-utils/build/server/event-stream.d.ts +0 -27
- package/node_modules/remix-utils/build/server/event-stream.js +0 -44
- package/node_modules/remix-utils/build/server/get-client-ip-address.d.ts +0 -29
- package/node_modules/remix-utils/build/server/get-client-ip-address.js +0 -51
- package/node_modules/remix-utils/build/server/get-client-locales.d.ts +0 -18
- package/node_modules/remix-utils/build/server/get-client-locales.js +0 -18
- package/node_modules/remix-utils/build/server/get-headers.d.ts +0 -6
- package/node_modules/remix-utils/build/server/get-headers.js +0 -11
- package/node_modules/remix-utils/build/server/honeypot.d.ts +0 -32
- package/node_modules/remix-utils/build/server/honeypot.js +0 -96
- package/node_modules/remix-utils/build/server/is-prefetch.d.ts +0 -16
- package/node_modules/remix-utils/build/server/is-prefetch.js +0 -11
- package/node_modules/remix-utils/build/server/json-hash.d.ts +0 -6
- package/node_modules/remix-utils/build/server/json-hash.js +0 -16
- package/node_modules/remix-utils/build/server/named-action.d.ts +0 -19
- package/node_modules/remix-utils/build/server/named-action.js +0 -62
- package/node_modules/remix-utils/build/server/parse-accept-header.d.ts +0 -12
- package/node_modules/remix-utils/build/server/parse-accept-header.js +0 -17
- package/node_modules/remix-utils/build/server/preload-route-assets.d.ts +0 -80
- package/node_modules/remix-utils/build/server/preload-route-assets.js +0 -120
- package/node_modules/remix-utils/build/server/redirect-back.d.ts +0 -18
- package/node_modules/remix-utils/build/server/redirect-back.js +0 -29
- package/node_modules/remix-utils/build/server/respond-to.d.ts +0 -40
- package/node_modules/remix-utils/build/server/respond-to.js +0 -22
- package/node_modules/remix-utils/build/server/responses.d.ts +0 -100
- package/node_modules/remix-utils/build/server/responses.js +0 -167
- package/node_modules/remix-utils/build/server/rolling-cookie.d.ts +0 -4
- package/node_modules/remix-utils/build/server/rolling-cookie.js +0 -9
- package/node_modules/remix-utils/build/server/safe-redirect.d.ts +0 -10
- package/node_modules/remix-utils/build/server/safe-redirect.js +0 -22
- package/node_modules/remix-utils/build/server/sec-fetch.d.ts +0 -43
- package/node_modules/remix-utils/build/server/sec-fetch.js +0 -67
- package/node_modules/remix-utils/build/server/typed-cookie.d.ts +0 -17
- package/node_modules/remix-utils/build/server/typed-cookie.js +0 -58
- package/node_modules/remix-utils/build/server/typed-session.d.ts +0 -59
- package/node_modules/remix-utils/build/server/typed-session.js +0 -88
- package/node_modules/remix-utils/package.json +0 -182
- package/node_modules/remix-utils/scripts/check-pkg-exports.ts +0 -61
- package/node_modules/set-cookie-parser/LICENSE +0 -21
- package/node_modules/set-cookie-parser/README.md +0 -199
- package/node_modules/set-cookie-parser/lib/set-cookie.js +0 -226
- package/node_modules/set-cookie-parser/package.json +0 -43
- package/node_modules/source-map/LICENSE +0 -28
- package/node_modules/source-map/README.md +0 -742
- package/node_modules/source-map/dist/source-map.debug.js +0 -3234
- package/node_modules/source-map/dist/source-map.js +0 -3233
- package/node_modules/source-map/dist/source-map.min.js +0 -2
- package/node_modules/source-map/dist/source-map.min.js.map +0 -1
- package/node_modules/source-map/lib/array-set.js +0 -121
- package/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/node_modules/source-map/lib/base64.js +0 -67
- package/node_modules/source-map/lib/binary-search.js +0 -111
- package/node_modules/source-map/lib/mapping-list.js +0 -79
- package/node_modules/source-map/lib/mappings.wasm +0 -0
- package/node_modules/source-map/lib/quick-sort.js +0 -114
- package/node_modules/source-map/lib/read-wasm.js +0 -49
- package/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/node_modules/source-map/lib/source-node.js +0 -413
- package/node_modules/source-map/lib/util.js +0 -488
- package/node_modules/source-map/lib/wasm.js +0 -107
- package/node_modules/source-map/package.json +0 -73
- package/node_modules/source-map/source-map.d.ts +0 -98
- package/node_modules/source-map/source-map.js +0 -8
- package/node_modules/tailwind-merge/LICENSE.md +0 -21
- package/node_modules/tailwind-merge/README.md +0 -38
- package/node_modules/tailwind-merge/dist/bundle-cjs.js +0 -2595
- package/node_modules/tailwind-merge/dist/bundle-cjs.js.map +0 -1
- package/node_modules/tailwind-merge/dist/bundle-mjs.mjs +0 -2583
- package/node_modules/tailwind-merge/dist/bundle-mjs.mjs.map +0 -1
- package/node_modules/tailwind-merge/dist/es5/bundle-cjs.js +0 -2645
- package/node_modules/tailwind-merge/dist/es5/bundle-cjs.js.map +0 -1
- package/node_modules/tailwind-merge/dist/es5/bundle-mjs.mjs +0 -2633
- package/node_modules/tailwind-merge/dist/es5/bundle-mjs.mjs.map +0 -1
- package/node_modules/tailwind-merge/dist/types.d.ts +0 -2143
- package/node_modules/tailwind-merge/package.json +0 -95
- package/node_modules/tailwind-merge/src/index.ts +0 -14
- package/node_modules/tailwind-merge/src/lib/class-utils.ts +0 -215
- package/node_modules/tailwind-merge/src/lib/config-utils.ts +0 -14
- package/node_modules/tailwind-merge/src/lib/create-tailwind-merge.ts +0 -50
- package/node_modules/tailwind-merge/src/lib/default-config.ts +0 -1865
- package/node_modules/tailwind-merge/src/lib/extend-tailwind-merge.ts +0 -26
- package/node_modules/tailwind-merge/src/lib/from-theme.ts +0 -13
- package/node_modules/tailwind-merge/src/lib/lru-cache.ts +0 -52
- package/node_modules/tailwind-merge/src/lib/merge-classlist.ts +0 -99
- package/node_modules/tailwind-merge/src/lib/merge-configs.ts +0 -72
- package/node_modules/tailwind-merge/src/lib/modifier-utils.ts +0 -95
- package/node_modules/tailwind-merge/src/lib/tw-join.ts +0 -50
- package/node_modules/tailwind-merge/src/lib/tw-merge.ts +0 -4
- package/node_modules/tailwind-merge/src/lib/types.ts +0 -412
- package/node_modules/tailwind-merge/src/lib/validators.ts +0 -104
- package/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/tslib/README.md +0 -164
- package/node_modules/tslib/SECURITY.md +0 -41
- package/node_modules/tslib/modules/index.d.ts +0 -37
- package/node_modules/tslib/modules/index.js +0 -68
- package/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/tslib/package.json +0 -47
- package/node_modules/tslib/tslib.d.ts +0 -453
- package/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/tslib/tslib.es6.js +0 -374
- package/node_modules/tslib/tslib.es6.mjs +0 -373
- package/node_modules/tslib/tslib.html +0 -1
- package/node_modules/tslib/tslib.js +0 -424
- package/node_modules/turbo-stream/LICENSE +0 -7
- package/node_modules/turbo-stream/README.md +0 -31
- package/node_modules/turbo-stream/dist/flatten.d.ts +0 -2
- package/node_modules/turbo-stream/dist/flatten.js +0 -172
- package/node_modules/turbo-stream/dist/turbo-stream.d.ts +0 -12
- package/node_modules/turbo-stream/dist/turbo-stream.js +0 -202
- package/node_modules/turbo-stream/dist/turbo-stream.mjs +0 -530
- package/node_modules/turbo-stream/dist/unflatten.d.ts +0 -2
- package/node_modules/turbo-stream/dist/unflatten.js +0 -127
- package/node_modules/turbo-stream/dist/utils.d.ts +0 -43
- package/node_modules/turbo-stream/dist/utils.js +0 -55
- package/node_modules/turbo-stream/package.json +0 -50
- package/node_modules/type-fest/index.d.ts +0 -160
- package/node_modules/type-fest/package.json +0 -72
- package/node_modules/type-fest/readme.md +0 -992
- package/node_modules/type-fest/source/and.d.ts +0 -25
- package/node_modules/type-fest/source/array-indices.d.ts +0 -23
- package/node_modules/type-fest/source/array-slice.d.ts +0 -107
- package/node_modules/type-fest/source/array-splice.d.ts +0 -97
- package/node_modules/type-fest/source/array-values.d.ts +0 -22
- package/node_modules/type-fest/source/async-return-type.d.ts +0 -23
- package/node_modules/type-fest/source/asyncify.d.ts +0 -32
- package/node_modules/type-fest/source/basic.d.ts +0 -68
- package/node_modules/type-fest/source/camel-case.d.ts +0 -80
- package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -87
- package/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -36
- package/node_modules/type-fest/source/conditional-except.d.ts +0 -45
- package/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
- package/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -104
- package/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
- package/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
- package/node_modules/type-fest/source/delimiter-case.d.ts +0 -99
- package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -84
- package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -37
- package/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
- package/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
- package/node_modules/type-fest/source/empty-object.d.ts +0 -46
- package/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
- package/node_modules/type-fest/source/entries.d.ts +0 -62
- package/node_modules/type-fest/source/entry.d.ts +0 -65
- package/node_modules/type-fest/source/exact.d.ts +0 -63
- package/node_modules/type-fest/source/except.d.ts +0 -80
- package/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
- package/node_modules/type-fest/source/get.d.ts +0 -191
- package/node_modules/type-fest/source/global-this.d.ts +0 -21
- package/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
- package/node_modules/type-fest/source/greater-than.d.ts +0 -51
- package/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
- package/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
- package/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
- package/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
- package/node_modules/type-fest/source/if-any.d.ts +0 -24
- package/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
- package/node_modules/type-fest/source/if-never.d.ts +0 -24
- package/node_modules/type-fest/source/if-null.d.ts +0 -24
- package/node_modules/type-fest/source/if-unknown.d.ts +0 -24
- package/node_modules/type-fest/source/includes.d.ts +0 -22
- package/node_modules/type-fest/source/int-range.d.ts +0 -53
- package/node_modules/type-fest/source/internal.d.ts +0 -783
- package/node_modules/type-fest/source/invariant-of.d.ts +0 -78
- package/node_modules/type-fest/source/is-any.d.ts +0 -29
- package/node_modules/type-fest/source/is-equal.d.ts +0 -31
- package/node_modules/type-fest/source/is-float.d.ts +0 -33
- package/node_modules/type-fest/source/is-integer.d.ts +0 -48
- package/node_modules/type-fest/source/is-literal.d.ts +0 -258
- package/node_modules/type-fest/source/is-never.d.ts +0 -42
- package/node_modules/type-fest/source/is-null.d.ts +0 -20
- package/node_modules/type-fest/source/is-unknown.d.ts +0 -52
- package/node_modules/type-fest/source/iterable-element.d.ts +0 -54
- package/node_modules/type-fest/source/join.d.ts +0 -68
- package/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
- package/node_modules/type-fest/source/jsonify.d.ts +0 -121
- package/node_modules/type-fest/source/kebab-case.d.ts +0 -38
- package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -47
- package/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -30
- package/node_modules/type-fest/source/keys-of-union.d.ts +0 -40
- package/node_modules/type-fest/source/last-array-element.d.ts +0 -38
- package/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
- package/node_modules/type-fest/source/less-than.d.ts +0 -22
- package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
- package/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
- package/node_modules/type-fest/source/literal-union.d.ts +0 -35
- package/node_modules/type-fest/source/merge-deep.d.ts +0 -486
- package/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
- package/node_modules/type-fest/source/merge.d.ts +0 -48
- package/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
- package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
- package/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
- package/node_modules/type-fest/source/numeric.d.ts +0 -222
- package/node_modules/type-fest/source/observable-like.d.ts +0 -63
- package/node_modules/type-fest/source/omit-deep.d.ts +0 -140
- package/node_modules/type-fest/source/omit-index-signature.d.ts +0 -107
- package/node_modules/type-fest/source/opaque.d.ts +0 -252
- package/node_modules/type-fest/source/optional-keys-of.d.ts +0 -38
- package/node_modules/type-fest/source/or.d.ts +0 -25
- package/node_modules/type-fest/source/override-properties.d.ts +0 -36
- package/node_modules/type-fest/source/package-json.d.ts +0 -676
- package/node_modules/type-fest/source/partial-deep.d.ts +0 -109
- package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -71
- package/node_modules/type-fest/source/pascal-case.d.ts +0 -38
- package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -55
- package/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -35
- package/node_modules/type-fest/source/paths.d.ts +0 -85
- package/node_modules/type-fest/source/pick-deep.d.ts +0 -149
- package/node_modules/type-fest/source/pick-index-signature.d.ts +0 -102
- package/node_modules/type-fest/source/primitive.d.ts +0 -13
- package/node_modules/type-fest/source/promisable.d.ts +0 -25
- package/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
- package/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -29
- package/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
- package/node_modules/type-fest/source/replace.d.ts +0 -67
- package/node_modules/type-fest/source/require-all-or-none.d.ts +0 -42
- package/node_modules/type-fest/source/require-at-least-one.d.ts +0 -34
- package/node_modules/type-fest/source/require-exactly-one.d.ts +0 -34
- package/node_modules/type-fest/source/require-one-or-none.d.ts +0 -37
- package/node_modules/type-fest/source/required-deep.d.ts +0 -78
- package/node_modules/type-fest/source/required-keys-of.d.ts +0 -29
- package/node_modules/type-fest/source/schema.d.ts +0 -71
- package/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -33
- package/node_modules/type-fest/source/set-field-type.d.ts +0 -37
- package/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
- package/node_modules/type-fest/source/set-optional.d.ts +0 -35
- package/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
- package/node_modules/type-fest/source/set-readonly.d.ts +0 -38
- package/node_modules/type-fest/source/set-required.d.ts +0 -40
- package/node_modules/type-fest/source/set-return-type.d.ts +0 -29
- package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -168
- package/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
- package/node_modules/type-fest/source/simplify.d.ts +0 -58
- package/node_modules/type-fest/source/single-key-object.d.ts +0 -29
- package/node_modules/type-fest/source/snake-case.d.ts +0 -38
- package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -47
- package/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -30
- package/node_modules/type-fest/source/split-words.d.ts +0 -57
- package/node_modules/type-fest/source/split.d.ts +0 -29
- package/node_modules/type-fest/source/spread.d.ts +0 -85
- package/node_modules/type-fest/source/string-key-of.d.ts +0 -25
- package/node_modules/type-fest/source/string-slice.d.ts +0 -37
- package/node_modules/type-fest/source/stringified.d.ts +0 -23
- package/node_modules/type-fest/source/subtract.d.ts +0 -70
- package/node_modules/type-fest/source/sum.d.ts +0 -70
- package/node_modules/type-fest/source/tagged-union.d.ts +0 -51
- package/node_modules/type-fest/source/trim.d.ts +0 -27
- package/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1198
- package/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
- package/node_modules/type-fest/source/typed-array.d.ts +0 -17
- package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -81
- package/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
- package/node_modules/type-fest/source/unknown-array.d.ts +0 -25
- package/node_modules/type-fest/source/unknown-record.d.ts +0 -31
- package/node_modules/type-fest/source/value-of.d.ts +0 -42
- package/node_modules/type-fest/source/writable-deep.d.ts +0 -83
- package/node_modules/type-fest/source/writable-keys-of.d.ts +0 -30
- package/node_modules/type-fest/source/writable.d.ts +0 -68
- package/node_modules/use-callback-ref/LICENSE +0 -21
- package/node_modules/use-callback-ref/README.md +0 -170
- package/node_modules/use-callback-ref/dist/es2015/assignRef.d.ts +0 -15
- package/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -22
- package/node_modules/use-callback-ref/dist/es2015/createRef.d.ts +0 -10
- package/node_modules/use-callback-ref/dist/es2015/createRef.js +0 -23
- package/node_modules/use-callback-ref/dist/es2015/index.d.ts +0 -8
- package/node_modules/use-callback-ref/dist/es2015/index.js +0 -12
- package/node_modules/use-callback-ref/dist/es2015/mergeRef.d.ts +0 -16
- package/node_modules/use-callback-ref/dist/es2015/mergeRef.js +0 -18
- package/node_modules/use-callback-ref/dist/es2015/refToCallback.d.ts +0 -24
- package/node_modules/use-callback-ref/dist/es2015/refToCallback.js +0 -48
- package/node_modules/use-callback-ref/dist/es2015/transformRef.d.ts +0 -11
- package/node_modules/use-callback-ref/dist/es2015/transformRef.js +0 -14
- package/node_modules/use-callback-ref/dist/es2015/types.d.ts +0 -5
- package/node_modules/use-callback-ref/dist/es2015/types.js +0 -1
- package/node_modules/use-callback-ref/dist/es2015/useMergeRef.d.ts +0 -17
- package/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -45
- package/node_modules/use-callback-ref/dist/es2015/useRef.d.ts +0 -16
- package/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -39
- package/node_modules/use-callback-ref/dist/es2015/useTransformRef.d.ts +0 -15
- package/node_modules/use-callback-ref/dist/es2015/useTransformRef.js +0 -18
- package/node_modules/use-callback-ref/dist/es2019/assignRef.d.ts +0 -15
- package/node_modules/use-callback-ref/dist/es2019/assignRef.js +0 -22
- package/node_modules/use-callback-ref/dist/es2019/createRef.d.ts +0 -10
- package/node_modules/use-callback-ref/dist/es2019/createRef.js +0 -23
- package/node_modules/use-callback-ref/dist/es2019/index.d.ts +0 -8
- package/node_modules/use-callback-ref/dist/es2019/index.js +0 -12
- package/node_modules/use-callback-ref/dist/es2019/mergeRef.d.ts +0 -16
- package/node_modules/use-callback-ref/dist/es2019/mergeRef.js +0 -18
- package/node_modules/use-callback-ref/dist/es2019/refToCallback.d.ts +0 -24
- package/node_modules/use-callback-ref/dist/es2019/refToCallback.js +0 -48
- package/node_modules/use-callback-ref/dist/es2019/transformRef.d.ts +0 -11
- package/node_modules/use-callback-ref/dist/es2019/transformRef.js +0 -14
- package/node_modules/use-callback-ref/dist/es2019/types.d.ts +0 -5
- package/node_modules/use-callback-ref/dist/es2019/types.js +0 -1
- package/node_modules/use-callback-ref/dist/es2019/useMergeRef.d.ts +0 -17
- package/node_modules/use-callback-ref/dist/es2019/useMergeRef.js +0 -43
- package/node_modules/use-callback-ref/dist/es2019/useRef.d.ts +0 -16
- package/node_modules/use-callback-ref/dist/es2019/useRef.js +0 -39
- package/node_modules/use-callback-ref/dist/es2019/useTransformRef.d.ts +0 -15
- package/node_modules/use-callback-ref/dist/es2019/useTransformRef.js +0 -18
- package/node_modules/use-callback-ref/dist/es5/assignRef.d.ts +0 -15
- package/node_modules/use-callback-ref/dist/es5/assignRef.js +0 -26
- package/node_modules/use-callback-ref/dist/es5/createRef.d.ts +0 -10
- package/node_modules/use-callback-ref/dist/es5/createRef.js +0 -27
- package/node_modules/use-callback-ref/dist/es5/index.d.ts +0 -8
- package/node_modules/use-callback-ref/dist/es5/index.js +0 -24
- package/node_modules/use-callback-ref/dist/es5/mergeRef.d.ts +0 -16
- package/node_modules/use-callback-ref/dist/es5/mergeRef.js +0 -22
- package/node_modules/use-callback-ref/dist/es5/refToCallback.d.ts +0 -24
- package/node_modules/use-callback-ref/dist/es5/refToCallback.js +0 -53
- package/node_modules/use-callback-ref/dist/es5/transformRef.d.ts +0 -11
- package/node_modules/use-callback-ref/dist/es5/transformRef.js +0 -18
- package/node_modules/use-callback-ref/dist/es5/types.d.ts +0 -5
- package/node_modules/use-callback-ref/dist/es5/types.js +0 -2
- package/node_modules/use-callback-ref/dist/es5/useMergeRef.d.ts +0 -17
- package/node_modules/use-callback-ref/dist/es5/useMergeRef.js +0 -50
- package/node_modules/use-callback-ref/dist/es5/useRef.d.ts +0 -16
- package/node_modules/use-callback-ref/dist/es5/useRef.js +0 -43
- package/node_modules/use-callback-ref/dist/es5/useTransformRef.d.ts +0 -15
- package/node_modules/use-callback-ref/dist/es5/useTransformRef.js +0 -22
- package/node_modules/use-callback-ref/package.json +0 -84
- package/node_modules/use-sidecar/LICENSE +0 -21
- package/node_modules/use-sidecar/README.md +0 -349
- package/node_modules/use-sidecar/dist/es2015/config.d.ts +0 -5
- package/node_modules/use-sidecar/dist/es2015/config.js +0 -6
- package/node_modules/use-sidecar/dist/es2015/env.d.ts +0 -4
- package/node_modules/use-sidecar/dist/es2015/env.js +0 -5
- package/node_modules/use-sidecar/dist/es2015/exports.d.ts +0 -3
- package/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
- package/node_modules/use-sidecar/dist/es2015/hoc.d.ts +0 -3
- package/node_modules/use-sidecar/dist/es2015/hoc.js +0 -15
- package/node_modules/use-sidecar/dist/es2015/hook.d.ts +0 -2
- package/node_modules/use-sidecar/dist/es2015/hook.js +0 -41
- package/node_modules/use-sidecar/dist/es2015/index.d.ts +0 -7
- package/node_modules/use-sidecar/dist/es2015/index.js +0 -6
- package/node_modules/use-sidecar/dist/es2015/medium.d.ts +0 -3
- package/node_modules/use-sidecar/dist/es2015/medium.js +0 -78
- package/node_modules/use-sidecar/dist/es2015/renderProp.d.ts +0 -8
- package/node_modules/use-sidecar/dist/es2015/renderProp.js +0 -35
- package/node_modules/use-sidecar/dist/es2015/types.d.ts +0 -47
- package/node_modules/use-sidecar/dist/es2015/types.js +0 -1
- package/node_modules/use-sidecar/dist/es2019/config.d.ts +0 -5
- package/node_modules/use-sidecar/dist/es2019/config.js +0 -6
- package/node_modules/use-sidecar/dist/es2019/env.d.ts +0 -4
- package/node_modules/use-sidecar/dist/es2019/env.js +0 -5
- package/node_modules/use-sidecar/dist/es2019/exports.d.ts +0 -3
- package/node_modules/use-sidecar/dist/es2019/exports.js +0 -16
- package/node_modules/use-sidecar/dist/es2019/hoc.d.ts +0 -3
- package/node_modules/use-sidecar/dist/es2019/hoc.js +0 -14
- package/node_modules/use-sidecar/dist/es2019/hook.d.ts +0 -2
- package/node_modules/use-sidecar/dist/es2019/hook.js +0 -41
- package/node_modules/use-sidecar/dist/es2019/index.d.ts +0 -7
- package/node_modules/use-sidecar/dist/es2019/index.js +0 -6
- package/node_modules/use-sidecar/dist/es2019/medium.d.ts +0 -3
- package/node_modules/use-sidecar/dist/es2019/medium.js +0 -78
- package/node_modules/use-sidecar/dist/es2019/renderProp.d.ts +0 -8
- package/node_modules/use-sidecar/dist/es2019/renderProp.js +0 -28
- package/node_modules/use-sidecar/dist/es2019/types.d.ts +0 -47
- package/node_modules/use-sidecar/dist/es2019/types.js +0 -1
- package/node_modules/use-sidecar/dist/es5/config.d.ts +0 -5
- package/node_modules/use-sidecar/dist/es5/config.js +0 -10
- package/node_modules/use-sidecar/dist/es5/env.d.ts +0 -4
- package/node_modules/use-sidecar/dist/es5/env.js +0 -8
- package/node_modules/use-sidecar/dist/es5/exports.d.ts +0 -3
- package/node_modules/use-sidecar/dist/es5/exports.js +0 -22
- package/node_modules/use-sidecar/dist/es5/hoc.d.ts +0 -3
- package/node_modules/use-sidecar/dist/es5/hoc.js +0 -19
- package/node_modules/use-sidecar/dist/es5/hook.d.ts +0 -2
- package/node_modules/use-sidecar/dist/es5/hook.js +0 -45
- package/node_modules/use-sidecar/dist/es5/index.d.ts +0 -7
- package/node_modules/use-sidecar/dist/es5/index.js +0 -16
- package/node_modules/use-sidecar/dist/es5/medium.d.ts +0 -3
- package/node_modules/use-sidecar/dist/es5/medium.js +0 -83
- package/node_modules/use-sidecar/dist/es5/renderProp.d.ts +0 -8
- package/node_modules/use-sidecar/dist/es5/renderProp.js +0 -39
- package/node_modules/use-sidecar/dist/es5/types.d.ts +0 -47
- package/node_modules/use-sidecar/dist/es5/types.js +0 -2
- package/node_modules/use-sidecar/package.json +0 -89
- package/node_modules/zod/LICENSE +0 -21
- package/node_modules/zod/README.md +0 -2876
- package/node_modules/zod/index.d.ts +0 -2
- package/node_modules/zod/lib/ZodError.d.ts +0 -164
- package/node_modules/zod/lib/ZodError.js +0 -137
- package/node_modules/zod/lib/__tests__/Mocker.d.ts +0 -17
- package/node_modules/zod/lib/__tests__/Mocker.js +0 -57
- package/node_modules/zod/lib/benchmarks/datetime.d.ts +0 -5
- package/node_modules/zod/lib/benchmarks/datetime.js +0 -54
- package/node_modules/zod/lib/benchmarks/discriminatedUnion.d.ts +0 -5
- package/node_modules/zod/lib/benchmarks/discriminatedUnion.js +0 -79
- package/node_modules/zod/lib/benchmarks/index.d.ts +0 -1
- package/node_modules/zod/lib/benchmarks/index.js +0 -59
- package/node_modules/zod/lib/benchmarks/ipv4.d.ts +0 -5
- package/node_modules/zod/lib/benchmarks/ipv4.js +0 -54
- package/node_modules/zod/lib/benchmarks/object.d.ts +0 -5
- package/node_modules/zod/lib/benchmarks/object.js +0 -70
- package/node_modules/zod/lib/benchmarks/primitives.d.ts +0 -5
- package/node_modules/zod/lib/benchmarks/primitives.js +0 -170
- package/node_modules/zod/lib/benchmarks/realworld.d.ts +0 -5
- package/node_modules/zod/lib/benchmarks/realworld.js +0 -56
- package/node_modules/zod/lib/benchmarks/string.d.ts +0 -5
- package/node_modules/zod/lib/benchmarks/string.js +0 -55
- package/node_modules/zod/lib/benchmarks/union.d.ts +0 -5
- package/node_modules/zod/lib/benchmarks/union.js +0 -79
- package/node_modules/zod/lib/errors.d.ts +0 -5
- package/node_modules/zod/lib/errors.js +0 -17
- package/node_modules/zod/lib/external.d.ts +0 -6
- package/node_modules/zod/lib/external.js +0 -18
- package/node_modules/zod/lib/helpers/enumUtil.d.ts +0 -8
- package/node_modules/zod/lib/helpers/enumUtil.js +0 -2
- package/node_modules/zod/lib/helpers/errorUtil.d.ts +0 -9
- package/node_modules/zod/lib/helpers/errorUtil.js +0 -8
- package/node_modules/zod/lib/helpers/parseUtil.d.ts +0 -78
- package/node_modules/zod/lib/helpers/parseUtil.js +0 -125
- package/node_modules/zod/lib/helpers/partialUtil.d.ts +0 -8
- package/node_modules/zod/lib/helpers/partialUtil.js +0 -2
- package/node_modules/zod/lib/helpers/typeAliases.d.ts +0 -2
- package/node_modules/zod/lib/helpers/typeAliases.js +0 -2
- package/node_modules/zod/lib/helpers/util.d.ts +0 -82
- package/node_modules/zod/lib/helpers/util.js +0 -142
- package/node_modules/zod/lib/index.d.ts +0 -4
- package/node_modules/zod/lib/index.js +0 -29
- package/node_modules/zod/lib/index.mjs +0 -4236
- package/node_modules/zod/lib/index.umd.js +0 -4351
- package/node_modules/zod/lib/locales/en.d.ts +0 -3
- package/node_modules/zod/lib/locales/en.js +0 -129
- package/node_modules/zod/lib/types.d.ts +0 -1127
- package/node_modules/zod/lib/types.js +0 -3677
- package/node_modules/zod/package.json +0 -119
|
@@ -1,1562 +0,0 @@
|
|
|
1
|
-
import { SubscriptionManager } from '../../utils/subscription-manager.mjs';
|
|
2
|
-
import { mixValues } from '../animation/mix-values.mjs';
|
|
3
|
-
import { copyBoxInto } from '../geometry/copy.mjs';
|
|
4
|
-
import { translateAxis, transformBox, applyBoxDelta, applyTreeDeltas } from '../geometry/delta-apply.mjs';
|
|
5
|
-
import { calcRelativePosition, calcRelativeBox, calcBoxDelta, calcLength, isNear } from '../geometry/delta-calc.mjs';
|
|
6
|
-
import { removeBoxTransforms } from '../geometry/delta-remove.mjs';
|
|
7
|
-
import { createBox, createDelta } from '../geometry/models.mjs';
|
|
8
|
-
import { getValueTransition } from '../../animation/utils/transitions.mjs';
|
|
9
|
-
import { boxEqualsRounded, isDeltaZero, aspectRatio, boxEquals } from '../geometry/utils.mjs';
|
|
10
|
-
import { NodeStack } from '../shared/stack.mjs';
|
|
11
|
-
import { scaleCorrectors } from '../styles/scale-correction.mjs';
|
|
12
|
-
import { buildProjectionTransform } from '../styles/transform.mjs';
|
|
13
|
-
import { eachAxis } from '../utils/each-axis.mjs';
|
|
14
|
-
import { hasTransform, hasScale, has2DTranslate } from '../utils/has-transform.mjs';
|
|
15
|
-
import { FlatTree } from '../../render/utils/flat-tree.mjs';
|
|
16
|
-
import { resolveMotionValue } from '../../value/utils/resolve-motion-value.mjs';
|
|
17
|
-
import { globalProjectionState } from './state.mjs';
|
|
18
|
-
import { delay } from '../../utils/delay.mjs';
|
|
19
|
-
import { mixNumber } from '../../utils/mix/number.mjs';
|
|
20
|
-
import { record } from '../../debug/record.mjs';
|
|
21
|
-
import { isSVGElement } from '../../render/dom/utils/is-svg-element.mjs';
|
|
22
|
-
import { animateSingleValue } from '../../animation/interfaces/single-value.mjs';
|
|
23
|
-
import { clamp } from '../../utils/clamp.mjs';
|
|
24
|
-
import { cancelFrame, frameData, steps, frame } from '../../frameloop/frame.mjs';
|
|
25
|
-
import { noop } from '../../utils/noop.mjs';
|
|
26
|
-
import { time } from '../../frameloop/sync-time.mjs';
|
|
27
|
-
import { microtask } from '../../frameloop/microtask.mjs';
|
|
28
|
-
import { getOptimisedAppearId } from '../../animation/optimized-appear/get-appear-id.mjs';
|
|
29
|
-
|
|
30
|
-
const transformAxes = ["", "X", "Y", "Z"];
|
|
31
|
-
const hiddenVisibility = { visibility: "hidden" };
|
|
32
|
-
/**
|
|
33
|
-
* We use 1000 as the animation target as 0-1000 maps better to pixels than 0-1
|
|
34
|
-
* which has a noticeable difference in spring animations
|
|
35
|
-
*/
|
|
36
|
-
const animationTarget = 1000;
|
|
37
|
-
let id = 0;
|
|
38
|
-
/**
|
|
39
|
-
* Use a mutable data object for debug data so as to not create a new
|
|
40
|
-
* object every frame.
|
|
41
|
-
*/
|
|
42
|
-
const projectionFrameData = {
|
|
43
|
-
type: "projectionFrame",
|
|
44
|
-
totalNodes: 0,
|
|
45
|
-
resolvedTargetDeltas: 0,
|
|
46
|
-
recalculatedProjection: 0,
|
|
47
|
-
};
|
|
48
|
-
function resetDistortingTransform(key, visualElement, values, sharedAnimationValues) {
|
|
49
|
-
const { latestValues } = visualElement;
|
|
50
|
-
// Record the distorting transform and then temporarily set it to 0
|
|
51
|
-
if (latestValues[key]) {
|
|
52
|
-
values[key] = latestValues[key];
|
|
53
|
-
visualElement.setStaticValue(key, 0);
|
|
54
|
-
if (sharedAnimationValues) {
|
|
55
|
-
sharedAnimationValues[key] = 0;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
function isOptimisedAppearTree(projectionNode) {
|
|
60
|
-
projectionNode.hasCheckedOptimisedAppear = true;
|
|
61
|
-
if (projectionNode.root === projectionNode)
|
|
62
|
-
return false;
|
|
63
|
-
const { visualElement } = projectionNode.options;
|
|
64
|
-
if (!visualElement) {
|
|
65
|
-
return false;
|
|
66
|
-
}
|
|
67
|
-
else if (getOptimisedAppearId(visualElement)) {
|
|
68
|
-
return true;
|
|
69
|
-
}
|
|
70
|
-
else if (projectionNode.parent &&
|
|
71
|
-
!projectionNode.parent.hasCheckedOptimisedAppear) {
|
|
72
|
-
return isOptimisedAppearTree(projectionNode.parent);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
return false;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
function createProjectionNode({ attachResizeListener, defaultParent, measureScroll, checkIsScrollRoot, resetTransform, }) {
|
|
79
|
-
return class ProjectionNode {
|
|
80
|
-
constructor(latestValues = {}, parent = defaultParent === null || defaultParent === void 0 ? void 0 : defaultParent()) {
|
|
81
|
-
/**
|
|
82
|
-
* A unique ID generated for every projection node.
|
|
83
|
-
*/
|
|
84
|
-
this.id = id++;
|
|
85
|
-
/**
|
|
86
|
-
* An id that represents a unique session instigated by startUpdate.
|
|
87
|
-
*/
|
|
88
|
-
this.animationId = 0;
|
|
89
|
-
/**
|
|
90
|
-
* A Set containing all this component's children. This is used to iterate
|
|
91
|
-
* through the children.
|
|
92
|
-
*
|
|
93
|
-
* TODO: This could be faster to iterate as a flat array stored on the root node.
|
|
94
|
-
*/
|
|
95
|
-
this.children = new Set();
|
|
96
|
-
/**
|
|
97
|
-
* Options for the node. We use this to configure what kind of layout animations
|
|
98
|
-
* we should perform (if any).
|
|
99
|
-
*/
|
|
100
|
-
this.options = {};
|
|
101
|
-
/**
|
|
102
|
-
* We use this to detect when its safe to shut down part of a projection tree.
|
|
103
|
-
* We have to keep projecting children for scale correction and relative projection
|
|
104
|
-
* until all their parents stop performing layout animations.
|
|
105
|
-
*/
|
|
106
|
-
this.isTreeAnimating = false;
|
|
107
|
-
this.isAnimationBlocked = false;
|
|
108
|
-
/**
|
|
109
|
-
* Flag to true if we think this layout has been changed. We can't always know this,
|
|
110
|
-
* currently we set it to true every time a component renders, or if it has a layoutDependency
|
|
111
|
-
* if that has changed between renders. Additionally, components can be grouped by LayoutGroup
|
|
112
|
-
* and if one node is dirtied, they all are.
|
|
113
|
-
*/
|
|
114
|
-
this.isLayoutDirty = false;
|
|
115
|
-
/**
|
|
116
|
-
* Flag to true if we think the projection calculations for this node needs
|
|
117
|
-
* recalculating as a result of an updated transform or layout animation.
|
|
118
|
-
*/
|
|
119
|
-
this.isProjectionDirty = false;
|
|
120
|
-
/**
|
|
121
|
-
* Flag to true if the layout *or* transform has changed. This then gets propagated
|
|
122
|
-
* throughout the projection tree, forcing any element below to recalculate on the next frame.
|
|
123
|
-
*/
|
|
124
|
-
this.isSharedProjectionDirty = false;
|
|
125
|
-
/**
|
|
126
|
-
* Flag transform dirty. This gets propagated throughout the whole tree but is only
|
|
127
|
-
* respected by shared nodes.
|
|
128
|
-
*/
|
|
129
|
-
this.isTransformDirty = false;
|
|
130
|
-
/**
|
|
131
|
-
* Block layout updates for instant layout transitions throughout the tree.
|
|
132
|
-
*/
|
|
133
|
-
this.updateManuallyBlocked = false;
|
|
134
|
-
this.updateBlockedByResize = false;
|
|
135
|
-
/**
|
|
136
|
-
* Set to true between the start of the first `willUpdate` call and the end of the `didUpdate`
|
|
137
|
-
* call.
|
|
138
|
-
*/
|
|
139
|
-
this.isUpdating = false;
|
|
140
|
-
/**
|
|
141
|
-
* If this is an SVG element we currently disable projection transforms
|
|
142
|
-
*/
|
|
143
|
-
this.isSVG = false;
|
|
144
|
-
/**
|
|
145
|
-
* Flag to true (during promotion) if a node doing an instant layout transition needs to reset
|
|
146
|
-
* its projection styles.
|
|
147
|
-
*/
|
|
148
|
-
this.needsReset = false;
|
|
149
|
-
/**
|
|
150
|
-
* Flags whether this node should have its transform reset prior to measuring.
|
|
151
|
-
*/
|
|
152
|
-
this.shouldResetTransform = false;
|
|
153
|
-
/**
|
|
154
|
-
* Store whether this node has been checked for optimised appear animations. As
|
|
155
|
-
* effects fire bottom-up, and we want to look up the tree for appear animations,
|
|
156
|
-
* this makes sure we only check each path once, stopping at nodes that
|
|
157
|
-
* have already been checked.
|
|
158
|
-
*/
|
|
159
|
-
this.hasCheckedOptimisedAppear = false;
|
|
160
|
-
/**
|
|
161
|
-
* An object representing the calculated contextual/accumulated/tree scale.
|
|
162
|
-
* This will be used to scale calculcated projection transforms, as these are
|
|
163
|
-
* calculated in screen-space but need to be scaled for elements to layoutly
|
|
164
|
-
* make it to their calculated destinations.
|
|
165
|
-
*
|
|
166
|
-
* TODO: Lazy-init
|
|
167
|
-
*/
|
|
168
|
-
this.treeScale = { x: 1, y: 1 };
|
|
169
|
-
/**
|
|
170
|
-
*
|
|
171
|
-
*/
|
|
172
|
-
this.eventHandlers = new Map();
|
|
173
|
-
this.hasTreeAnimated = false;
|
|
174
|
-
// Note: Currently only running on root node
|
|
175
|
-
this.updateScheduled = false;
|
|
176
|
-
this.scheduleUpdate = () => this.update();
|
|
177
|
-
this.projectionUpdateScheduled = false;
|
|
178
|
-
this.checkUpdateFailed = () => {
|
|
179
|
-
if (this.isUpdating) {
|
|
180
|
-
this.isUpdating = false;
|
|
181
|
-
this.clearAllSnapshots();
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
/**
|
|
185
|
-
* This is a multi-step process as shared nodes might be of different depths. Nodes
|
|
186
|
-
* are sorted by depth order, so we need to resolve the entire tree before moving to
|
|
187
|
-
* the next step.
|
|
188
|
-
*/
|
|
189
|
-
this.updateProjection = () => {
|
|
190
|
-
this.projectionUpdateScheduled = false;
|
|
191
|
-
/**
|
|
192
|
-
* Reset debug counts. Manually resetting rather than creating a new
|
|
193
|
-
* object each frame.
|
|
194
|
-
*/
|
|
195
|
-
projectionFrameData.totalNodes =
|
|
196
|
-
projectionFrameData.resolvedTargetDeltas =
|
|
197
|
-
projectionFrameData.recalculatedProjection =
|
|
198
|
-
0;
|
|
199
|
-
this.nodes.forEach(propagateDirtyNodes);
|
|
200
|
-
this.nodes.forEach(resolveTargetDelta);
|
|
201
|
-
this.nodes.forEach(calcProjection);
|
|
202
|
-
this.nodes.forEach(cleanDirtyNodes);
|
|
203
|
-
record(projectionFrameData);
|
|
204
|
-
};
|
|
205
|
-
this.hasProjected = false;
|
|
206
|
-
this.isVisible = true;
|
|
207
|
-
this.animationProgress = 0;
|
|
208
|
-
/**
|
|
209
|
-
* Shared layout
|
|
210
|
-
*/
|
|
211
|
-
// TODO Only running on root node
|
|
212
|
-
this.sharedNodes = new Map();
|
|
213
|
-
this.latestValues = latestValues;
|
|
214
|
-
this.root = parent ? parent.root || parent : this;
|
|
215
|
-
this.path = parent ? [...parent.path, parent] : [];
|
|
216
|
-
this.parent = parent;
|
|
217
|
-
this.depth = parent ? parent.depth + 1 : 0;
|
|
218
|
-
for (let i = 0; i < this.path.length; i++) {
|
|
219
|
-
this.path[i].shouldResetTransform = true;
|
|
220
|
-
}
|
|
221
|
-
if (this.root === this)
|
|
222
|
-
this.nodes = new FlatTree();
|
|
223
|
-
}
|
|
224
|
-
addEventListener(name, handler) {
|
|
225
|
-
if (!this.eventHandlers.has(name)) {
|
|
226
|
-
this.eventHandlers.set(name, new SubscriptionManager());
|
|
227
|
-
}
|
|
228
|
-
return this.eventHandlers.get(name).add(handler);
|
|
229
|
-
}
|
|
230
|
-
notifyListeners(name, ...args) {
|
|
231
|
-
const subscriptionManager = this.eventHandlers.get(name);
|
|
232
|
-
subscriptionManager && subscriptionManager.notify(...args);
|
|
233
|
-
}
|
|
234
|
-
hasListeners(name) {
|
|
235
|
-
return this.eventHandlers.has(name);
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Lifecycles
|
|
239
|
-
*/
|
|
240
|
-
mount(instance, isLayoutDirty = this.root.hasTreeAnimated) {
|
|
241
|
-
if (this.instance)
|
|
242
|
-
return;
|
|
243
|
-
this.isSVG = isSVGElement(instance);
|
|
244
|
-
this.instance = instance;
|
|
245
|
-
const { layoutId, layout, visualElement } = this.options;
|
|
246
|
-
if (visualElement && !visualElement.current) {
|
|
247
|
-
visualElement.mount(instance);
|
|
248
|
-
}
|
|
249
|
-
this.root.nodes.add(this);
|
|
250
|
-
this.parent && this.parent.children.add(this);
|
|
251
|
-
if (isLayoutDirty && (layout || layoutId)) {
|
|
252
|
-
this.isLayoutDirty = true;
|
|
253
|
-
}
|
|
254
|
-
if (attachResizeListener) {
|
|
255
|
-
let cancelDelay;
|
|
256
|
-
const resizeUnblockUpdate = () => (this.root.updateBlockedByResize = false);
|
|
257
|
-
attachResizeListener(instance, () => {
|
|
258
|
-
this.root.updateBlockedByResize = true;
|
|
259
|
-
cancelDelay && cancelDelay();
|
|
260
|
-
cancelDelay = delay(resizeUnblockUpdate, 250);
|
|
261
|
-
if (globalProjectionState.hasAnimatedSinceResize) {
|
|
262
|
-
globalProjectionState.hasAnimatedSinceResize = false;
|
|
263
|
-
this.nodes.forEach(finishAnimation);
|
|
264
|
-
}
|
|
265
|
-
});
|
|
266
|
-
}
|
|
267
|
-
if (layoutId) {
|
|
268
|
-
this.root.registerSharedNode(layoutId, this);
|
|
269
|
-
}
|
|
270
|
-
// Only register the handler if it requires layout animation
|
|
271
|
-
if (this.options.animate !== false &&
|
|
272
|
-
visualElement &&
|
|
273
|
-
(layoutId || layout)) {
|
|
274
|
-
this.addEventListener("didUpdate", ({ delta, hasLayoutChanged, hasRelativeTargetChanged, layout: newLayout, }) => {
|
|
275
|
-
if (this.isTreeAnimationBlocked()) {
|
|
276
|
-
this.target = undefined;
|
|
277
|
-
this.relativeTarget = undefined;
|
|
278
|
-
return;
|
|
279
|
-
}
|
|
280
|
-
// TODO: Check here if an animation exists
|
|
281
|
-
const layoutTransition = this.options.transition ||
|
|
282
|
-
visualElement.getDefaultTransition() ||
|
|
283
|
-
defaultLayoutTransition;
|
|
284
|
-
const { onLayoutAnimationStart, onLayoutAnimationComplete, } = visualElement.getProps();
|
|
285
|
-
/**
|
|
286
|
-
* The target layout of the element might stay the same,
|
|
287
|
-
* but its position relative to its parent has changed.
|
|
288
|
-
*/
|
|
289
|
-
const targetChanged = !this.targetLayout ||
|
|
290
|
-
!boxEqualsRounded(this.targetLayout, newLayout) ||
|
|
291
|
-
hasRelativeTargetChanged;
|
|
292
|
-
/**
|
|
293
|
-
* If the layout hasn't seemed to have changed, it might be that the
|
|
294
|
-
* element is visually in the same place in the document but its position
|
|
295
|
-
* relative to its parent has indeed changed. So here we check for that.
|
|
296
|
-
*/
|
|
297
|
-
const hasOnlyRelativeTargetChanged = !hasLayoutChanged && hasRelativeTargetChanged;
|
|
298
|
-
if (this.options.layoutRoot ||
|
|
299
|
-
(this.resumeFrom && this.resumeFrom.instance) ||
|
|
300
|
-
hasOnlyRelativeTargetChanged ||
|
|
301
|
-
(hasLayoutChanged &&
|
|
302
|
-
(targetChanged || !this.currentAnimation))) {
|
|
303
|
-
if (this.resumeFrom) {
|
|
304
|
-
this.resumingFrom = this.resumeFrom;
|
|
305
|
-
this.resumingFrom.resumingFrom = undefined;
|
|
306
|
-
}
|
|
307
|
-
this.setAnimationOrigin(delta, hasOnlyRelativeTargetChanged);
|
|
308
|
-
const animationOptions = {
|
|
309
|
-
...getValueTransition(layoutTransition, "layout"),
|
|
310
|
-
onPlay: onLayoutAnimationStart,
|
|
311
|
-
onComplete: onLayoutAnimationComplete,
|
|
312
|
-
};
|
|
313
|
-
if (visualElement.shouldReduceMotion ||
|
|
314
|
-
this.options.layoutRoot) {
|
|
315
|
-
animationOptions.delay = 0;
|
|
316
|
-
animationOptions.type = false;
|
|
317
|
-
}
|
|
318
|
-
this.startAnimation(animationOptions);
|
|
319
|
-
}
|
|
320
|
-
else {
|
|
321
|
-
/**
|
|
322
|
-
* If the layout hasn't changed and we have an animation that hasn't started yet,
|
|
323
|
-
* finish it immediately. Otherwise it will be animating from a location
|
|
324
|
-
* that was probably never commited to screen and look like a jumpy box.
|
|
325
|
-
*/
|
|
326
|
-
if (!hasLayoutChanged) {
|
|
327
|
-
finishAnimation(this);
|
|
328
|
-
}
|
|
329
|
-
if (this.isLead() && this.options.onExitComplete) {
|
|
330
|
-
this.options.onExitComplete();
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
this.targetLayout = newLayout;
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
unmount() {
|
|
338
|
-
this.options.layoutId && this.willUpdate();
|
|
339
|
-
this.root.nodes.remove(this);
|
|
340
|
-
const stack = this.getStack();
|
|
341
|
-
stack && stack.remove(this);
|
|
342
|
-
this.parent && this.parent.children.delete(this);
|
|
343
|
-
this.instance = undefined;
|
|
344
|
-
cancelFrame(this.updateProjection);
|
|
345
|
-
}
|
|
346
|
-
// only on the root
|
|
347
|
-
blockUpdate() {
|
|
348
|
-
this.updateManuallyBlocked = true;
|
|
349
|
-
}
|
|
350
|
-
unblockUpdate() {
|
|
351
|
-
this.updateManuallyBlocked = false;
|
|
352
|
-
}
|
|
353
|
-
isUpdateBlocked() {
|
|
354
|
-
return this.updateManuallyBlocked || this.updateBlockedByResize;
|
|
355
|
-
}
|
|
356
|
-
isTreeAnimationBlocked() {
|
|
357
|
-
return (this.isAnimationBlocked ||
|
|
358
|
-
(this.parent && this.parent.isTreeAnimationBlocked()) ||
|
|
359
|
-
false);
|
|
360
|
-
}
|
|
361
|
-
// Note: currently only running on root node
|
|
362
|
-
startUpdate() {
|
|
363
|
-
if (this.isUpdateBlocked())
|
|
364
|
-
return;
|
|
365
|
-
this.isUpdating = true;
|
|
366
|
-
this.nodes && this.nodes.forEach(resetSkewAndRotation);
|
|
367
|
-
this.animationId++;
|
|
368
|
-
}
|
|
369
|
-
getTransformTemplate() {
|
|
370
|
-
const { visualElement } = this.options;
|
|
371
|
-
return visualElement && visualElement.getProps().transformTemplate;
|
|
372
|
-
}
|
|
373
|
-
willUpdate(shouldNotifyListeners = true) {
|
|
374
|
-
this.root.hasTreeAnimated = true;
|
|
375
|
-
if (this.root.isUpdateBlocked()) {
|
|
376
|
-
this.options.onExitComplete && this.options.onExitComplete();
|
|
377
|
-
return;
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* If we're running optimised appear animations then these must be
|
|
381
|
-
* cancelled before measuring the DOM. This is so we can measure
|
|
382
|
-
* the true layout of the element rather than the WAAPI animation
|
|
383
|
-
* which will be unaffected by the resetSkewAndRotate step.
|
|
384
|
-
*
|
|
385
|
-
* Note: This is a DOM write. Worst case scenario is this is sandwiched
|
|
386
|
-
* between other snapshot reads which will cause unnecessary style recalculations.
|
|
387
|
-
* This has to happen here though, as we don't yet know which nodes will need
|
|
388
|
-
* snapshots in startUpdate(), but we only want to cancel optimised animations
|
|
389
|
-
* if a layout animation measurement is actually going to be affected by them.
|
|
390
|
-
*/
|
|
391
|
-
if (window.HandoffCancelAllAnimations &&
|
|
392
|
-
isOptimisedAppearTree(this)) {
|
|
393
|
-
window.HandoffCancelAllAnimations();
|
|
394
|
-
}
|
|
395
|
-
!this.root.isUpdating && this.root.startUpdate();
|
|
396
|
-
if (this.isLayoutDirty)
|
|
397
|
-
return;
|
|
398
|
-
this.isLayoutDirty = true;
|
|
399
|
-
for (let i = 0; i < this.path.length; i++) {
|
|
400
|
-
const node = this.path[i];
|
|
401
|
-
node.shouldResetTransform = true;
|
|
402
|
-
node.updateScroll("snapshot");
|
|
403
|
-
if (node.options.layoutRoot) {
|
|
404
|
-
node.willUpdate(false);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
const { layoutId, layout } = this.options;
|
|
408
|
-
if (layoutId === undefined && !layout)
|
|
409
|
-
return;
|
|
410
|
-
const transformTemplate = this.getTransformTemplate();
|
|
411
|
-
this.prevTransformTemplateValue = transformTemplate
|
|
412
|
-
? transformTemplate(this.latestValues, "")
|
|
413
|
-
: undefined;
|
|
414
|
-
this.updateSnapshot();
|
|
415
|
-
shouldNotifyListeners && this.notifyListeners("willUpdate");
|
|
416
|
-
}
|
|
417
|
-
update() {
|
|
418
|
-
this.updateScheduled = false;
|
|
419
|
-
const updateWasBlocked = this.isUpdateBlocked();
|
|
420
|
-
// When doing an instant transition, we skip the layout update,
|
|
421
|
-
// but should still clean up the measurements so that the next
|
|
422
|
-
// snapshot could be taken correctly.
|
|
423
|
-
if (updateWasBlocked) {
|
|
424
|
-
this.unblockUpdate();
|
|
425
|
-
this.clearAllSnapshots();
|
|
426
|
-
this.nodes.forEach(clearMeasurements);
|
|
427
|
-
return;
|
|
428
|
-
}
|
|
429
|
-
if (!this.isUpdating) {
|
|
430
|
-
this.nodes.forEach(clearIsLayoutDirty);
|
|
431
|
-
}
|
|
432
|
-
this.isUpdating = false;
|
|
433
|
-
/**
|
|
434
|
-
* Write
|
|
435
|
-
*/
|
|
436
|
-
this.nodes.forEach(resetTransformStyle);
|
|
437
|
-
/**
|
|
438
|
-
* Read ==================
|
|
439
|
-
*/
|
|
440
|
-
// Update layout measurements of updated children
|
|
441
|
-
this.nodes.forEach(updateLayout);
|
|
442
|
-
/**
|
|
443
|
-
* Write
|
|
444
|
-
*/
|
|
445
|
-
// Notify listeners that the layout is updated
|
|
446
|
-
this.nodes.forEach(notifyLayoutUpdate);
|
|
447
|
-
this.clearAllSnapshots();
|
|
448
|
-
/**
|
|
449
|
-
* Manually flush any pending updates. Ideally
|
|
450
|
-
* we could leave this to the following requestAnimationFrame but this seems
|
|
451
|
-
* to leave a flash of incorrectly styled content.
|
|
452
|
-
*/
|
|
453
|
-
const now = time.now();
|
|
454
|
-
frameData.delta = clamp(0, 1000 / 60, now - frameData.timestamp);
|
|
455
|
-
frameData.timestamp = now;
|
|
456
|
-
frameData.isProcessing = true;
|
|
457
|
-
steps.update.process(frameData);
|
|
458
|
-
steps.preRender.process(frameData);
|
|
459
|
-
steps.render.process(frameData);
|
|
460
|
-
frameData.isProcessing = false;
|
|
461
|
-
}
|
|
462
|
-
didUpdate() {
|
|
463
|
-
if (!this.updateScheduled) {
|
|
464
|
-
this.updateScheduled = true;
|
|
465
|
-
microtask.read(this.scheduleUpdate);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
clearAllSnapshots() {
|
|
469
|
-
this.nodes.forEach(clearSnapshot);
|
|
470
|
-
this.sharedNodes.forEach(removeLeadSnapshots);
|
|
471
|
-
}
|
|
472
|
-
scheduleUpdateProjection() {
|
|
473
|
-
if (!this.projectionUpdateScheduled) {
|
|
474
|
-
this.projectionUpdateScheduled = true;
|
|
475
|
-
frame.preRender(this.updateProjection, false, true);
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
scheduleCheckAfterUnmount() {
|
|
479
|
-
/**
|
|
480
|
-
* If the unmounting node is in a layoutGroup and did trigger a willUpdate,
|
|
481
|
-
* we manually call didUpdate to give a chance to the siblings to animate.
|
|
482
|
-
* Otherwise, cleanup all snapshots to prevents future nodes from reusing them.
|
|
483
|
-
*/
|
|
484
|
-
frame.postRender(() => {
|
|
485
|
-
if (this.isLayoutDirty) {
|
|
486
|
-
this.root.didUpdate();
|
|
487
|
-
}
|
|
488
|
-
else {
|
|
489
|
-
this.root.checkUpdateFailed();
|
|
490
|
-
}
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
|
-
/**
|
|
494
|
-
* Update measurements
|
|
495
|
-
*/
|
|
496
|
-
updateSnapshot() {
|
|
497
|
-
if (this.snapshot || !this.instance)
|
|
498
|
-
return;
|
|
499
|
-
this.snapshot = this.measure();
|
|
500
|
-
}
|
|
501
|
-
updateLayout() {
|
|
502
|
-
if (!this.instance)
|
|
503
|
-
return;
|
|
504
|
-
// TODO: Incorporate into a forwarded scroll offset
|
|
505
|
-
this.updateScroll();
|
|
506
|
-
if (!(this.options.alwaysMeasureLayout && this.isLead()) &&
|
|
507
|
-
!this.isLayoutDirty) {
|
|
508
|
-
return;
|
|
509
|
-
}
|
|
510
|
-
/**
|
|
511
|
-
* When a node is mounted, it simply resumes from the prevLead's
|
|
512
|
-
* snapshot instead of taking a new one, but the ancestors scroll
|
|
513
|
-
* might have updated while the prevLead is unmounted. We need to
|
|
514
|
-
* update the scroll again to make sure the layout we measure is
|
|
515
|
-
* up to date.
|
|
516
|
-
*/
|
|
517
|
-
if (this.resumeFrom && !this.resumeFrom.instance) {
|
|
518
|
-
for (let i = 0; i < this.path.length; i++) {
|
|
519
|
-
const node = this.path[i];
|
|
520
|
-
node.updateScroll();
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
const prevLayout = this.layout;
|
|
524
|
-
this.layout = this.measure(false);
|
|
525
|
-
this.layoutCorrected = createBox();
|
|
526
|
-
this.isLayoutDirty = false;
|
|
527
|
-
this.projectionDelta = undefined;
|
|
528
|
-
this.notifyListeners("measure", this.layout.layoutBox);
|
|
529
|
-
const { visualElement } = this.options;
|
|
530
|
-
visualElement &&
|
|
531
|
-
visualElement.notify("LayoutMeasure", this.layout.layoutBox, prevLayout ? prevLayout.layoutBox : undefined);
|
|
532
|
-
}
|
|
533
|
-
updateScroll(phase = "measure") {
|
|
534
|
-
let needsMeasurement = Boolean(this.options.layoutScroll && this.instance);
|
|
535
|
-
if (this.scroll &&
|
|
536
|
-
this.scroll.animationId === this.root.animationId &&
|
|
537
|
-
this.scroll.phase === phase) {
|
|
538
|
-
needsMeasurement = false;
|
|
539
|
-
}
|
|
540
|
-
if (needsMeasurement) {
|
|
541
|
-
this.scroll = {
|
|
542
|
-
animationId: this.root.animationId,
|
|
543
|
-
phase,
|
|
544
|
-
isRoot: checkIsScrollRoot(this.instance),
|
|
545
|
-
offset: measureScroll(this.instance),
|
|
546
|
-
};
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
resetTransform() {
|
|
550
|
-
if (!resetTransform)
|
|
551
|
-
return;
|
|
552
|
-
const isResetRequested = this.isLayoutDirty ||
|
|
553
|
-
this.shouldResetTransform ||
|
|
554
|
-
this.options.alwaysMeasureLayout;
|
|
555
|
-
const hasProjection = this.projectionDelta && !isDeltaZero(this.projectionDelta);
|
|
556
|
-
const transformTemplate = this.getTransformTemplate();
|
|
557
|
-
const transformTemplateValue = transformTemplate
|
|
558
|
-
? transformTemplate(this.latestValues, "")
|
|
559
|
-
: undefined;
|
|
560
|
-
const transformTemplateHasChanged = transformTemplateValue !== this.prevTransformTemplateValue;
|
|
561
|
-
if (isResetRequested &&
|
|
562
|
-
(hasProjection ||
|
|
563
|
-
hasTransform(this.latestValues) ||
|
|
564
|
-
transformTemplateHasChanged)) {
|
|
565
|
-
resetTransform(this.instance, transformTemplateValue);
|
|
566
|
-
this.shouldResetTransform = false;
|
|
567
|
-
this.scheduleRender();
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
measure(removeTransform = true) {
|
|
571
|
-
const pageBox = this.measurePageBox();
|
|
572
|
-
let layoutBox = this.removeElementScroll(pageBox);
|
|
573
|
-
/**
|
|
574
|
-
* Measurements taken during the pre-render stage
|
|
575
|
-
* still have transforms applied so we remove them
|
|
576
|
-
* via calculation.
|
|
577
|
-
*/
|
|
578
|
-
if (removeTransform) {
|
|
579
|
-
layoutBox = this.removeTransform(layoutBox);
|
|
580
|
-
}
|
|
581
|
-
roundBox(layoutBox);
|
|
582
|
-
return {
|
|
583
|
-
animationId: this.root.animationId,
|
|
584
|
-
measuredBox: pageBox,
|
|
585
|
-
layoutBox,
|
|
586
|
-
latestValues: {},
|
|
587
|
-
source: this.id,
|
|
588
|
-
};
|
|
589
|
-
}
|
|
590
|
-
measurePageBox() {
|
|
591
|
-
const { visualElement } = this.options;
|
|
592
|
-
if (!visualElement)
|
|
593
|
-
return createBox();
|
|
594
|
-
const box = visualElement.measureViewportBox();
|
|
595
|
-
// Remove viewport scroll to give page-relative coordinates
|
|
596
|
-
const { scroll } = this.root;
|
|
597
|
-
if (scroll) {
|
|
598
|
-
translateAxis(box.x, scroll.offset.x);
|
|
599
|
-
translateAxis(box.y, scroll.offset.y);
|
|
600
|
-
}
|
|
601
|
-
return box;
|
|
602
|
-
}
|
|
603
|
-
removeElementScroll(box) {
|
|
604
|
-
const boxWithoutScroll = createBox();
|
|
605
|
-
copyBoxInto(boxWithoutScroll, box);
|
|
606
|
-
/**
|
|
607
|
-
* Performance TODO: Keep a cumulative scroll offset down the tree
|
|
608
|
-
* rather than loop back up the path.
|
|
609
|
-
*/
|
|
610
|
-
for (let i = 0; i < this.path.length; i++) {
|
|
611
|
-
const node = this.path[i];
|
|
612
|
-
const { scroll, options } = node;
|
|
613
|
-
if (node !== this.root && scroll && options.layoutScroll) {
|
|
614
|
-
/**
|
|
615
|
-
* If this is a new scroll root, we want to remove all previous scrolls
|
|
616
|
-
* from the viewport box.
|
|
617
|
-
*/
|
|
618
|
-
if (scroll.isRoot) {
|
|
619
|
-
copyBoxInto(boxWithoutScroll, box);
|
|
620
|
-
const { scroll: rootScroll } = this.root;
|
|
621
|
-
/**
|
|
622
|
-
* Undo the application of page scroll that was originally added
|
|
623
|
-
* to the measured bounding box.
|
|
624
|
-
*/
|
|
625
|
-
if (rootScroll) {
|
|
626
|
-
translateAxis(boxWithoutScroll.x, -rootScroll.offset.x);
|
|
627
|
-
translateAxis(boxWithoutScroll.y, -rootScroll.offset.y);
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
translateAxis(boxWithoutScroll.x, scroll.offset.x);
|
|
631
|
-
translateAxis(boxWithoutScroll.y, scroll.offset.y);
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
return boxWithoutScroll;
|
|
635
|
-
}
|
|
636
|
-
applyTransform(box, transformOnly = false) {
|
|
637
|
-
const withTransforms = createBox();
|
|
638
|
-
copyBoxInto(withTransforms, box);
|
|
639
|
-
for (let i = 0; i < this.path.length; i++) {
|
|
640
|
-
const node = this.path[i];
|
|
641
|
-
if (!transformOnly &&
|
|
642
|
-
node.options.layoutScroll &&
|
|
643
|
-
node.scroll &&
|
|
644
|
-
node !== node.root) {
|
|
645
|
-
transformBox(withTransforms, {
|
|
646
|
-
x: -node.scroll.offset.x,
|
|
647
|
-
y: -node.scroll.offset.y,
|
|
648
|
-
});
|
|
649
|
-
}
|
|
650
|
-
if (!hasTransform(node.latestValues))
|
|
651
|
-
continue;
|
|
652
|
-
transformBox(withTransforms, node.latestValues);
|
|
653
|
-
}
|
|
654
|
-
if (hasTransform(this.latestValues)) {
|
|
655
|
-
transformBox(withTransforms, this.latestValues);
|
|
656
|
-
}
|
|
657
|
-
return withTransforms;
|
|
658
|
-
}
|
|
659
|
-
removeTransform(box) {
|
|
660
|
-
const boxWithoutTransform = createBox();
|
|
661
|
-
copyBoxInto(boxWithoutTransform, box);
|
|
662
|
-
for (let i = 0; i < this.path.length; i++) {
|
|
663
|
-
const node = this.path[i];
|
|
664
|
-
if (!node.instance)
|
|
665
|
-
continue;
|
|
666
|
-
if (!hasTransform(node.latestValues))
|
|
667
|
-
continue;
|
|
668
|
-
hasScale(node.latestValues) && node.updateSnapshot();
|
|
669
|
-
const sourceBox = createBox();
|
|
670
|
-
const nodeBox = node.measurePageBox();
|
|
671
|
-
copyBoxInto(sourceBox, nodeBox);
|
|
672
|
-
removeBoxTransforms(boxWithoutTransform, node.latestValues, node.snapshot ? node.snapshot.layoutBox : undefined, sourceBox);
|
|
673
|
-
}
|
|
674
|
-
if (hasTransform(this.latestValues)) {
|
|
675
|
-
removeBoxTransforms(boxWithoutTransform, this.latestValues);
|
|
676
|
-
}
|
|
677
|
-
return boxWithoutTransform;
|
|
678
|
-
}
|
|
679
|
-
setTargetDelta(delta) {
|
|
680
|
-
this.targetDelta = delta;
|
|
681
|
-
this.root.scheduleUpdateProjection();
|
|
682
|
-
this.isProjectionDirty = true;
|
|
683
|
-
}
|
|
684
|
-
setOptions(options) {
|
|
685
|
-
this.options = {
|
|
686
|
-
...this.options,
|
|
687
|
-
...options,
|
|
688
|
-
crossfade: options.crossfade !== undefined ? options.crossfade : true,
|
|
689
|
-
};
|
|
690
|
-
}
|
|
691
|
-
clearMeasurements() {
|
|
692
|
-
this.scroll = undefined;
|
|
693
|
-
this.layout = undefined;
|
|
694
|
-
this.snapshot = undefined;
|
|
695
|
-
this.prevTransformTemplateValue = undefined;
|
|
696
|
-
this.targetDelta = undefined;
|
|
697
|
-
this.target = undefined;
|
|
698
|
-
this.isLayoutDirty = false;
|
|
699
|
-
}
|
|
700
|
-
forceRelativeParentToResolveTarget() {
|
|
701
|
-
if (!this.relativeParent)
|
|
702
|
-
return;
|
|
703
|
-
/**
|
|
704
|
-
* If the parent target isn't up-to-date, force it to update.
|
|
705
|
-
* This is an unfortunate de-optimisation as it means any updating relative
|
|
706
|
-
* projection will cause all the relative parents to recalculate back
|
|
707
|
-
* up the tree.
|
|
708
|
-
*/
|
|
709
|
-
if (this.relativeParent.resolvedRelativeTargetAt !==
|
|
710
|
-
frameData.timestamp) {
|
|
711
|
-
this.relativeParent.resolveTargetDelta(true);
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
resolveTargetDelta(forceRecalculation = false) {
|
|
715
|
-
var _a;
|
|
716
|
-
/**
|
|
717
|
-
* Once the dirty status of nodes has been spread through the tree, we also
|
|
718
|
-
* need to check if we have a shared node of a different depth that has itself
|
|
719
|
-
* been dirtied.
|
|
720
|
-
*/
|
|
721
|
-
const lead = this.getLead();
|
|
722
|
-
this.isProjectionDirty || (this.isProjectionDirty = lead.isProjectionDirty);
|
|
723
|
-
this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty);
|
|
724
|
-
this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty);
|
|
725
|
-
const isShared = Boolean(this.resumingFrom) || this !== lead;
|
|
726
|
-
/**
|
|
727
|
-
* We don't use transform for this step of processing so we don't
|
|
728
|
-
* need to check whether any nodes have changed transform.
|
|
729
|
-
*/
|
|
730
|
-
const canSkip = !(forceRecalculation ||
|
|
731
|
-
(isShared && this.isSharedProjectionDirty) ||
|
|
732
|
-
this.isProjectionDirty ||
|
|
733
|
-
((_a = this.parent) === null || _a === void 0 ? void 0 : _a.isProjectionDirty) ||
|
|
734
|
-
this.attemptToResolveRelativeTarget);
|
|
735
|
-
if (canSkip)
|
|
736
|
-
return;
|
|
737
|
-
const { layout, layoutId } = this.options;
|
|
738
|
-
/**
|
|
739
|
-
* If we have no layout, we can't perform projection, so early return
|
|
740
|
-
*/
|
|
741
|
-
if (!this.layout || !(layout || layoutId))
|
|
742
|
-
return;
|
|
743
|
-
this.resolvedRelativeTargetAt = frameData.timestamp;
|
|
744
|
-
/**
|
|
745
|
-
* If we don't have a targetDelta but do have a layout, we can attempt to resolve
|
|
746
|
-
* a relativeParent. This will allow a component to perform scale correction
|
|
747
|
-
* even if no animation has started.
|
|
748
|
-
*/
|
|
749
|
-
if (!this.targetDelta && !this.relativeTarget) {
|
|
750
|
-
const relativeParent = this.getClosestProjectingParent();
|
|
751
|
-
if (relativeParent &&
|
|
752
|
-
relativeParent.layout &&
|
|
753
|
-
this.animationProgress !== 1) {
|
|
754
|
-
this.relativeParent = relativeParent;
|
|
755
|
-
this.forceRelativeParentToResolveTarget();
|
|
756
|
-
this.relativeTarget = createBox();
|
|
757
|
-
this.relativeTargetOrigin = createBox();
|
|
758
|
-
calcRelativePosition(this.relativeTargetOrigin, this.layout.layoutBox, relativeParent.layout.layoutBox);
|
|
759
|
-
copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);
|
|
760
|
-
}
|
|
761
|
-
else {
|
|
762
|
-
this.relativeParent = this.relativeTarget = undefined;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
/**
|
|
766
|
-
* If we have no relative target or no target delta our target isn't valid
|
|
767
|
-
* for this frame.
|
|
768
|
-
*/
|
|
769
|
-
if (!this.relativeTarget && !this.targetDelta)
|
|
770
|
-
return;
|
|
771
|
-
/**
|
|
772
|
-
* Lazy-init target data structure
|
|
773
|
-
*/
|
|
774
|
-
if (!this.target) {
|
|
775
|
-
this.target = createBox();
|
|
776
|
-
this.targetWithTransforms = createBox();
|
|
777
|
-
}
|
|
778
|
-
/**
|
|
779
|
-
* If we've got a relative box for this component, resolve it into a target relative to the parent.
|
|
780
|
-
*/
|
|
781
|
-
if (this.relativeTarget &&
|
|
782
|
-
this.relativeTargetOrigin &&
|
|
783
|
-
this.relativeParent &&
|
|
784
|
-
this.relativeParent.target) {
|
|
785
|
-
this.forceRelativeParentToResolveTarget();
|
|
786
|
-
calcRelativeBox(this.target, this.relativeTarget, this.relativeParent.target);
|
|
787
|
-
/**
|
|
788
|
-
* If we've only got a targetDelta, resolve it into a target
|
|
789
|
-
*/
|
|
790
|
-
}
|
|
791
|
-
else if (this.targetDelta) {
|
|
792
|
-
if (Boolean(this.resumingFrom)) {
|
|
793
|
-
// TODO: This is creating a new object every frame
|
|
794
|
-
this.target = this.applyTransform(this.layout.layoutBox);
|
|
795
|
-
}
|
|
796
|
-
else {
|
|
797
|
-
copyBoxInto(this.target, this.layout.layoutBox);
|
|
798
|
-
}
|
|
799
|
-
applyBoxDelta(this.target, this.targetDelta);
|
|
800
|
-
}
|
|
801
|
-
else {
|
|
802
|
-
/**
|
|
803
|
-
* If no target, use own layout as target
|
|
804
|
-
*/
|
|
805
|
-
copyBoxInto(this.target, this.layout.layoutBox);
|
|
806
|
-
}
|
|
807
|
-
/**
|
|
808
|
-
* If we've been told to attempt to resolve a relative target, do so.
|
|
809
|
-
*/
|
|
810
|
-
if (this.attemptToResolveRelativeTarget) {
|
|
811
|
-
this.attemptToResolveRelativeTarget = false;
|
|
812
|
-
const relativeParent = this.getClosestProjectingParent();
|
|
813
|
-
if (relativeParent &&
|
|
814
|
-
Boolean(relativeParent.resumingFrom) ===
|
|
815
|
-
Boolean(this.resumingFrom) &&
|
|
816
|
-
!relativeParent.options.layoutScroll &&
|
|
817
|
-
relativeParent.target &&
|
|
818
|
-
this.animationProgress !== 1) {
|
|
819
|
-
this.relativeParent = relativeParent;
|
|
820
|
-
this.forceRelativeParentToResolveTarget();
|
|
821
|
-
this.relativeTarget = createBox();
|
|
822
|
-
this.relativeTargetOrigin = createBox();
|
|
823
|
-
calcRelativePosition(this.relativeTargetOrigin, this.target, relativeParent.target);
|
|
824
|
-
copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);
|
|
825
|
-
}
|
|
826
|
-
else {
|
|
827
|
-
this.relativeParent = this.relativeTarget = undefined;
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
/**
|
|
831
|
-
* Increase debug counter for resolved target deltas
|
|
832
|
-
*/
|
|
833
|
-
projectionFrameData.resolvedTargetDeltas++;
|
|
834
|
-
}
|
|
835
|
-
getClosestProjectingParent() {
|
|
836
|
-
if (!this.parent ||
|
|
837
|
-
hasScale(this.parent.latestValues) ||
|
|
838
|
-
has2DTranslate(this.parent.latestValues)) {
|
|
839
|
-
return undefined;
|
|
840
|
-
}
|
|
841
|
-
if (this.parent.isProjecting()) {
|
|
842
|
-
return this.parent;
|
|
843
|
-
}
|
|
844
|
-
else {
|
|
845
|
-
return this.parent.getClosestProjectingParent();
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
isProjecting() {
|
|
849
|
-
return Boolean((this.relativeTarget ||
|
|
850
|
-
this.targetDelta ||
|
|
851
|
-
this.options.layoutRoot) &&
|
|
852
|
-
this.layout);
|
|
853
|
-
}
|
|
854
|
-
calcProjection() {
|
|
855
|
-
var _a;
|
|
856
|
-
const lead = this.getLead();
|
|
857
|
-
const isShared = Boolean(this.resumingFrom) || this !== lead;
|
|
858
|
-
let canSkip = true;
|
|
859
|
-
/**
|
|
860
|
-
* If this is a normal layout animation and neither this node nor its nearest projecting
|
|
861
|
-
* is dirty then we can't skip.
|
|
862
|
-
*/
|
|
863
|
-
if (this.isProjectionDirty || ((_a = this.parent) === null || _a === void 0 ? void 0 : _a.isProjectionDirty)) {
|
|
864
|
-
canSkip = false;
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* If this is a shared layout animation and this node's shared projection is dirty then
|
|
868
|
-
* we can't skip.
|
|
869
|
-
*/
|
|
870
|
-
if (isShared &&
|
|
871
|
-
(this.isSharedProjectionDirty || this.isTransformDirty)) {
|
|
872
|
-
canSkip = false;
|
|
873
|
-
}
|
|
874
|
-
/**
|
|
875
|
-
* If we have resolved the target this frame we must recalculate the
|
|
876
|
-
* projection to ensure it visually represents the internal calculations.
|
|
877
|
-
*/
|
|
878
|
-
if (this.resolvedRelativeTargetAt === frameData.timestamp) {
|
|
879
|
-
canSkip = false;
|
|
880
|
-
}
|
|
881
|
-
if (canSkip)
|
|
882
|
-
return;
|
|
883
|
-
const { layout, layoutId } = this.options;
|
|
884
|
-
/**
|
|
885
|
-
* If this section of the tree isn't animating we can
|
|
886
|
-
* delete our target sources for the following frame.
|
|
887
|
-
*/
|
|
888
|
-
this.isTreeAnimating = Boolean((this.parent && this.parent.isTreeAnimating) ||
|
|
889
|
-
this.currentAnimation ||
|
|
890
|
-
this.pendingAnimation);
|
|
891
|
-
if (!this.isTreeAnimating) {
|
|
892
|
-
this.targetDelta = this.relativeTarget = undefined;
|
|
893
|
-
}
|
|
894
|
-
if (!this.layout || !(layout || layoutId))
|
|
895
|
-
return;
|
|
896
|
-
/**
|
|
897
|
-
* Reset the corrected box with the latest values from box, as we're then going
|
|
898
|
-
* to perform mutative operations on it.
|
|
899
|
-
*/
|
|
900
|
-
copyBoxInto(this.layoutCorrected, this.layout.layoutBox);
|
|
901
|
-
/**
|
|
902
|
-
* Record previous tree scales before updating.
|
|
903
|
-
*/
|
|
904
|
-
const prevTreeScaleX = this.treeScale.x;
|
|
905
|
-
const prevTreeScaleY = this.treeScale.y;
|
|
906
|
-
/**
|
|
907
|
-
* Apply all the parent deltas to this box to produce the corrected box. This
|
|
908
|
-
* is the layout box, as it will appear on screen as a result of the transforms of its parents.
|
|
909
|
-
*/
|
|
910
|
-
applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, isShared);
|
|
911
|
-
/**
|
|
912
|
-
* If this layer needs to perform scale correction but doesn't have a target,
|
|
913
|
-
* use the layout as the target.
|
|
914
|
-
*/
|
|
915
|
-
if (lead.layout &&
|
|
916
|
-
!lead.target &&
|
|
917
|
-
(this.treeScale.x !== 1 || this.treeScale.y !== 1)) {
|
|
918
|
-
lead.target = lead.layout.layoutBox;
|
|
919
|
-
lead.targetWithTransforms = createBox();
|
|
920
|
-
}
|
|
921
|
-
const { target } = lead;
|
|
922
|
-
if (!target) {
|
|
923
|
-
/**
|
|
924
|
-
* If we don't have a target to project into, but we were previously
|
|
925
|
-
* projecting, we want to remove the stored transform and schedule
|
|
926
|
-
* a render to ensure the elements reflect the removed transform.
|
|
927
|
-
*/
|
|
928
|
-
if (this.projectionTransform) {
|
|
929
|
-
this.projectionDelta = createDelta();
|
|
930
|
-
this.projectionTransform = "none";
|
|
931
|
-
this.scheduleRender();
|
|
932
|
-
}
|
|
933
|
-
return;
|
|
934
|
-
}
|
|
935
|
-
if (!this.projectionDelta) {
|
|
936
|
-
this.projectionDelta = createDelta();
|
|
937
|
-
this.projectionDeltaWithTransform = createDelta();
|
|
938
|
-
}
|
|
939
|
-
const prevProjectionTransform = this.projectionTransform;
|
|
940
|
-
/**
|
|
941
|
-
* Update the delta between the corrected box and the target box before user-set transforms were applied.
|
|
942
|
-
* This will allow us to calculate the corrected borderRadius and boxShadow to compensate
|
|
943
|
-
* for our layout reprojection, but still allow them to be scaled correctly by the user.
|
|
944
|
-
* It might be that to simplify this we may want to accept that user-set scale is also corrected
|
|
945
|
-
* and we wouldn't have to keep and calc both deltas, OR we could support a user setting
|
|
946
|
-
* to allow people to choose whether these styles are corrected based on just the
|
|
947
|
-
* layout reprojection or the final bounding box.
|
|
948
|
-
*/
|
|
949
|
-
calcBoxDelta(this.projectionDelta, this.layoutCorrected, target, this.latestValues);
|
|
950
|
-
this.projectionTransform = buildProjectionTransform(this.projectionDelta, this.treeScale);
|
|
951
|
-
if (this.projectionTransform !== prevProjectionTransform ||
|
|
952
|
-
this.treeScale.x !== prevTreeScaleX ||
|
|
953
|
-
this.treeScale.y !== prevTreeScaleY) {
|
|
954
|
-
this.hasProjected = true;
|
|
955
|
-
this.scheduleRender();
|
|
956
|
-
this.notifyListeners("projectionUpdate", target);
|
|
957
|
-
}
|
|
958
|
-
/**
|
|
959
|
-
* Increase debug counter for recalculated projections
|
|
960
|
-
*/
|
|
961
|
-
projectionFrameData.recalculatedProjection++;
|
|
962
|
-
}
|
|
963
|
-
hide() {
|
|
964
|
-
this.isVisible = false;
|
|
965
|
-
// TODO: Schedule render
|
|
966
|
-
}
|
|
967
|
-
show() {
|
|
968
|
-
this.isVisible = true;
|
|
969
|
-
// TODO: Schedule render
|
|
970
|
-
}
|
|
971
|
-
scheduleRender(notifyAll = true) {
|
|
972
|
-
this.options.scheduleRender && this.options.scheduleRender();
|
|
973
|
-
if (notifyAll) {
|
|
974
|
-
const stack = this.getStack();
|
|
975
|
-
stack && stack.scheduleRender();
|
|
976
|
-
}
|
|
977
|
-
if (this.resumingFrom && !this.resumingFrom.instance) {
|
|
978
|
-
this.resumingFrom = undefined;
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
setAnimationOrigin(delta, hasOnlyRelativeTargetChanged = false) {
|
|
982
|
-
const snapshot = this.snapshot;
|
|
983
|
-
const snapshotLatestValues = snapshot
|
|
984
|
-
? snapshot.latestValues
|
|
985
|
-
: {};
|
|
986
|
-
const mixedValues = { ...this.latestValues };
|
|
987
|
-
const targetDelta = createDelta();
|
|
988
|
-
if (!this.relativeParent ||
|
|
989
|
-
!this.relativeParent.options.layoutRoot) {
|
|
990
|
-
this.relativeTarget = this.relativeTargetOrigin = undefined;
|
|
991
|
-
}
|
|
992
|
-
this.attemptToResolveRelativeTarget = !hasOnlyRelativeTargetChanged;
|
|
993
|
-
const relativeLayout = createBox();
|
|
994
|
-
const snapshotSource = snapshot ? snapshot.source : undefined;
|
|
995
|
-
const layoutSource = this.layout ? this.layout.source : undefined;
|
|
996
|
-
const isSharedLayoutAnimation = snapshotSource !== layoutSource;
|
|
997
|
-
const stack = this.getStack();
|
|
998
|
-
const isOnlyMember = !stack || stack.members.length <= 1;
|
|
999
|
-
const shouldCrossfadeOpacity = Boolean(isSharedLayoutAnimation &&
|
|
1000
|
-
!isOnlyMember &&
|
|
1001
|
-
this.options.crossfade === true &&
|
|
1002
|
-
!this.path.some(hasOpacityCrossfade));
|
|
1003
|
-
this.animationProgress = 0;
|
|
1004
|
-
let prevRelativeTarget;
|
|
1005
|
-
this.mixTargetDelta = (latest) => {
|
|
1006
|
-
const progress = latest / 1000;
|
|
1007
|
-
mixAxisDelta(targetDelta.x, delta.x, progress);
|
|
1008
|
-
mixAxisDelta(targetDelta.y, delta.y, progress);
|
|
1009
|
-
this.setTargetDelta(targetDelta);
|
|
1010
|
-
if (this.relativeTarget &&
|
|
1011
|
-
this.relativeTargetOrigin &&
|
|
1012
|
-
this.layout &&
|
|
1013
|
-
this.relativeParent &&
|
|
1014
|
-
this.relativeParent.layout) {
|
|
1015
|
-
calcRelativePosition(relativeLayout, this.layout.layoutBox, this.relativeParent.layout.layoutBox);
|
|
1016
|
-
mixBox(this.relativeTarget, this.relativeTargetOrigin, relativeLayout, progress);
|
|
1017
|
-
/**
|
|
1018
|
-
* If this is an unchanged relative target we can consider the
|
|
1019
|
-
* projection not dirty.
|
|
1020
|
-
*/
|
|
1021
|
-
if (prevRelativeTarget &&
|
|
1022
|
-
boxEquals(this.relativeTarget, prevRelativeTarget)) {
|
|
1023
|
-
this.isProjectionDirty = false;
|
|
1024
|
-
}
|
|
1025
|
-
if (!prevRelativeTarget)
|
|
1026
|
-
prevRelativeTarget = createBox();
|
|
1027
|
-
copyBoxInto(prevRelativeTarget, this.relativeTarget);
|
|
1028
|
-
}
|
|
1029
|
-
if (isSharedLayoutAnimation) {
|
|
1030
|
-
this.animationValues = mixedValues;
|
|
1031
|
-
mixValues(mixedValues, snapshotLatestValues, this.latestValues, progress, shouldCrossfadeOpacity, isOnlyMember);
|
|
1032
|
-
}
|
|
1033
|
-
this.root.scheduleUpdateProjection();
|
|
1034
|
-
this.scheduleRender();
|
|
1035
|
-
this.animationProgress = progress;
|
|
1036
|
-
};
|
|
1037
|
-
this.mixTargetDelta(this.options.layoutRoot ? 1000 : 0);
|
|
1038
|
-
}
|
|
1039
|
-
startAnimation(options) {
|
|
1040
|
-
this.notifyListeners("animationStart");
|
|
1041
|
-
this.currentAnimation && this.currentAnimation.stop();
|
|
1042
|
-
if (this.resumingFrom && this.resumingFrom.currentAnimation) {
|
|
1043
|
-
this.resumingFrom.currentAnimation.stop();
|
|
1044
|
-
}
|
|
1045
|
-
if (this.pendingAnimation) {
|
|
1046
|
-
cancelFrame(this.pendingAnimation);
|
|
1047
|
-
this.pendingAnimation = undefined;
|
|
1048
|
-
}
|
|
1049
|
-
/**
|
|
1050
|
-
* Start the animation in the next frame to have a frame with progress 0,
|
|
1051
|
-
* where the target is the same as when the animation started, so we can
|
|
1052
|
-
* calculate the relative positions correctly for instant transitions.
|
|
1053
|
-
*/
|
|
1054
|
-
this.pendingAnimation = frame.update(() => {
|
|
1055
|
-
globalProjectionState.hasAnimatedSinceResize = true;
|
|
1056
|
-
this.currentAnimation = animateSingleValue(0, animationTarget, {
|
|
1057
|
-
...options,
|
|
1058
|
-
onUpdate: (latest) => {
|
|
1059
|
-
this.mixTargetDelta(latest);
|
|
1060
|
-
options.onUpdate && options.onUpdate(latest);
|
|
1061
|
-
},
|
|
1062
|
-
onComplete: () => {
|
|
1063
|
-
options.onComplete && options.onComplete();
|
|
1064
|
-
this.completeAnimation();
|
|
1065
|
-
},
|
|
1066
|
-
});
|
|
1067
|
-
if (this.resumingFrom) {
|
|
1068
|
-
this.resumingFrom.currentAnimation = this.currentAnimation;
|
|
1069
|
-
}
|
|
1070
|
-
this.pendingAnimation = undefined;
|
|
1071
|
-
});
|
|
1072
|
-
}
|
|
1073
|
-
completeAnimation() {
|
|
1074
|
-
if (this.resumingFrom) {
|
|
1075
|
-
this.resumingFrom.currentAnimation = undefined;
|
|
1076
|
-
this.resumingFrom.preserveOpacity = undefined;
|
|
1077
|
-
}
|
|
1078
|
-
const stack = this.getStack();
|
|
1079
|
-
stack && stack.exitAnimationComplete();
|
|
1080
|
-
this.resumingFrom =
|
|
1081
|
-
this.currentAnimation =
|
|
1082
|
-
this.animationValues =
|
|
1083
|
-
undefined;
|
|
1084
|
-
this.notifyListeners("animationComplete");
|
|
1085
|
-
}
|
|
1086
|
-
finishAnimation() {
|
|
1087
|
-
if (this.currentAnimation) {
|
|
1088
|
-
this.mixTargetDelta && this.mixTargetDelta(animationTarget);
|
|
1089
|
-
this.currentAnimation.stop();
|
|
1090
|
-
}
|
|
1091
|
-
this.completeAnimation();
|
|
1092
|
-
}
|
|
1093
|
-
applyTransformsToTarget() {
|
|
1094
|
-
const lead = this.getLead();
|
|
1095
|
-
let { targetWithTransforms, target, layout, latestValues } = lead;
|
|
1096
|
-
if (!targetWithTransforms || !target || !layout)
|
|
1097
|
-
return;
|
|
1098
|
-
/**
|
|
1099
|
-
* If we're only animating position, and this element isn't the lead element,
|
|
1100
|
-
* then instead of projecting into the lead box we instead want to calculate
|
|
1101
|
-
* a new target that aligns the two boxes but maintains the layout shape.
|
|
1102
|
-
*/
|
|
1103
|
-
if (this !== lead &&
|
|
1104
|
-
this.layout &&
|
|
1105
|
-
layout &&
|
|
1106
|
-
shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout.layoutBox)) {
|
|
1107
|
-
target = this.target || createBox();
|
|
1108
|
-
const xLength = calcLength(this.layout.layoutBox.x);
|
|
1109
|
-
target.x.min = lead.target.x.min;
|
|
1110
|
-
target.x.max = target.x.min + xLength;
|
|
1111
|
-
const yLength = calcLength(this.layout.layoutBox.y);
|
|
1112
|
-
target.y.min = lead.target.y.min;
|
|
1113
|
-
target.y.max = target.y.min + yLength;
|
|
1114
|
-
}
|
|
1115
|
-
copyBoxInto(targetWithTransforms, target);
|
|
1116
|
-
/**
|
|
1117
|
-
* Apply the latest user-set transforms to the targetBox to produce the targetBoxFinal.
|
|
1118
|
-
* This is the final box that we will then project into by calculating a transform delta and
|
|
1119
|
-
* applying it to the corrected box.
|
|
1120
|
-
*/
|
|
1121
|
-
transformBox(targetWithTransforms, latestValues);
|
|
1122
|
-
/**
|
|
1123
|
-
* Update the delta between the corrected box and the final target box, after
|
|
1124
|
-
* user-set transforms are applied to it. This will be used by the renderer to
|
|
1125
|
-
* create a transform style that will reproject the element from its layout layout
|
|
1126
|
-
* into the desired bounding box.
|
|
1127
|
-
*/
|
|
1128
|
-
calcBoxDelta(this.projectionDeltaWithTransform, this.layoutCorrected, targetWithTransforms, latestValues);
|
|
1129
|
-
}
|
|
1130
|
-
registerSharedNode(layoutId, node) {
|
|
1131
|
-
if (!this.sharedNodes.has(layoutId)) {
|
|
1132
|
-
this.sharedNodes.set(layoutId, new NodeStack());
|
|
1133
|
-
}
|
|
1134
|
-
const stack = this.sharedNodes.get(layoutId);
|
|
1135
|
-
stack.add(node);
|
|
1136
|
-
const config = node.options.initialPromotionConfig;
|
|
1137
|
-
node.promote({
|
|
1138
|
-
transition: config ? config.transition : undefined,
|
|
1139
|
-
preserveFollowOpacity: config && config.shouldPreserveFollowOpacity
|
|
1140
|
-
? config.shouldPreserveFollowOpacity(node)
|
|
1141
|
-
: undefined,
|
|
1142
|
-
});
|
|
1143
|
-
}
|
|
1144
|
-
isLead() {
|
|
1145
|
-
const stack = this.getStack();
|
|
1146
|
-
return stack ? stack.lead === this : true;
|
|
1147
|
-
}
|
|
1148
|
-
getLead() {
|
|
1149
|
-
var _a;
|
|
1150
|
-
const { layoutId } = this.options;
|
|
1151
|
-
return layoutId ? ((_a = this.getStack()) === null || _a === void 0 ? void 0 : _a.lead) || this : this;
|
|
1152
|
-
}
|
|
1153
|
-
getPrevLead() {
|
|
1154
|
-
var _a;
|
|
1155
|
-
const { layoutId } = this.options;
|
|
1156
|
-
return layoutId ? (_a = this.getStack()) === null || _a === void 0 ? void 0 : _a.prevLead : undefined;
|
|
1157
|
-
}
|
|
1158
|
-
getStack() {
|
|
1159
|
-
const { layoutId } = this.options;
|
|
1160
|
-
if (layoutId)
|
|
1161
|
-
return this.root.sharedNodes.get(layoutId);
|
|
1162
|
-
}
|
|
1163
|
-
promote({ needsReset, transition, preserveFollowOpacity, } = {}) {
|
|
1164
|
-
const stack = this.getStack();
|
|
1165
|
-
if (stack)
|
|
1166
|
-
stack.promote(this, preserveFollowOpacity);
|
|
1167
|
-
if (needsReset) {
|
|
1168
|
-
this.projectionDelta = undefined;
|
|
1169
|
-
this.needsReset = true;
|
|
1170
|
-
}
|
|
1171
|
-
if (transition)
|
|
1172
|
-
this.setOptions({ transition });
|
|
1173
|
-
}
|
|
1174
|
-
relegate() {
|
|
1175
|
-
const stack = this.getStack();
|
|
1176
|
-
if (stack) {
|
|
1177
|
-
return stack.relegate(this);
|
|
1178
|
-
}
|
|
1179
|
-
else {
|
|
1180
|
-
return false;
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
resetSkewAndRotation() {
|
|
1184
|
-
const { visualElement } = this.options;
|
|
1185
|
-
if (!visualElement)
|
|
1186
|
-
return;
|
|
1187
|
-
// If there's no detected skew or rotation values, we can early return without a forced render.
|
|
1188
|
-
let hasDistortingTransform = false;
|
|
1189
|
-
/**
|
|
1190
|
-
* An unrolled check for rotation values. Most elements don't have any rotation and
|
|
1191
|
-
* skipping the nested loop and new object creation is 50% faster.
|
|
1192
|
-
*/
|
|
1193
|
-
const { latestValues } = visualElement;
|
|
1194
|
-
if (latestValues.z ||
|
|
1195
|
-
latestValues.rotate ||
|
|
1196
|
-
latestValues.rotateX ||
|
|
1197
|
-
latestValues.rotateY ||
|
|
1198
|
-
latestValues.rotateZ ||
|
|
1199
|
-
latestValues.skewX ||
|
|
1200
|
-
latestValues.skewY) {
|
|
1201
|
-
hasDistortingTransform = true;
|
|
1202
|
-
}
|
|
1203
|
-
// If there's no distorting values, we don't need to do any more.
|
|
1204
|
-
if (!hasDistortingTransform)
|
|
1205
|
-
return;
|
|
1206
|
-
const resetValues = {};
|
|
1207
|
-
if (latestValues.z) {
|
|
1208
|
-
resetDistortingTransform("z", visualElement, resetValues, this.animationValues);
|
|
1209
|
-
}
|
|
1210
|
-
// Check the skew and rotate value of all axes and reset to 0
|
|
1211
|
-
for (let i = 0; i < transformAxes.length; i++) {
|
|
1212
|
-
resetDistortingTransform(`rotate${transformAxes[i]}`, visualElement, resetValues, this.animationValues);
|
|
1213
|
-
resetDistortingTransform(`skew${transformAxes[i]}`, visualElement, resetValues, this.animationValues);
|
|
1214
|
-
}
|
|
1215
|
-
// Force a render of this element to apply the transform with all skews and rotations
|
|
1216
|
-
// set to 0.
|
|
1217
|
-
visualElement.render();
|
|
1218
|
-
// Put back all the values we reset
|
|
1219
|
-
for (const key in resetValues) {
|
|
1220
|
-
visualElement.setStaticValue(key, resetValues[key]);
|
|
1221
|
-
if (this.animationValues) {
|
|
1222
|
-
this.animationValues[key] = resetValues[key];
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
// Schedule a render for the next frame. This ensures we won't visually
|
|
1226
|
-
// see the element with the reset rotate value applied.
|
|
1227
|
-
visualElement.scheduleRender();
|
|
1228
|
-
}
|
|
1229
|
-
getProjectionStyles(styleProp) {
|
|
1230
|
-
var _a, _b;
|
|
1231
|
-
if (!this.instance || this.isSVG)
|
|
1232
|
-
return undefined;
|
|
1233
|
-
if (!this.isVisible) {
|
|
1234
|
-
return hiddenVisibility;
|
|
1235
|
-
}
|
|
1236
|
-
const styles = {
|
|
1237
|
-
visibility: "",
|
|
1238
|
-
};
|
|
1239
|
-
const transformTemplate = this.getTransformTemplate();
|
|
1240
|
-
if (this.needsReset) {
|
|
1241
|
-
this.needsReset = false;
|
|
1242
|
-
styles.opacity = "";
|
|
1243
|
-
styles.pointerEvents =
|
|
1244
|
-
resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "";
|
|
1245
|
-
styles.transform = transformTemplate
|
|
1246
|
-
? transformTemplate(this.latestValues, "")
|
|
1247
|
-
: "none";
|
|
1248
|
-
return styles;
|
|
1249
|
-
}
|
|
1250
|
-
const lead = this.getLead();
|
|
1251
|
-
if (!this.projectionDelta || !this.layout || !lead.target) {
|
|
1252
|
-
const emptyStyles = {};
|
|
1253
|
-
if (this.options.layoutId) {
|
|
1254
|
-
emptyStyles.opacity =
|
|
1255
|
-
this.latestValues.opacity !== undefined
|
|
1256
|
-
? this.latestValues.opacity
|
|
1257
|
-
: 1;
|
|
1258
|
-
emptyStyles.pointerEvents =
|
|
1259
|
-
resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "";
|
|
1260
|
-
}
|
|
1261
|
-
if (this.hasProjected && !hasTransform(this.latestValues)) {
|
|
1262
|
-
emptyStyles.transform = transformTemplate
|
|
1263
|
-
? transformTemplate({}, "")
|
|
1264
|
-
: "none";
|
|
1265
|
-
this.hasProjected = false;
|
|
1266
|
-
}
|
|
1267
|
-
return emptyStyles;
|
|
1268
|
-
}
|
|
1269
|
-
const valuesToRender = lead.animationValues || lead.latestValues;
|
|
1270
|
-
this.applyTransformsToTarget();
|
|
1271
|
-
styles.transform = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, valuesToRender);
|
|
1272
|
-
if (transformTemplate) {
|
|
1273
|
-
styles.transform = transformTemplate(valuesToRender, styles.transform);
|
|
1274
|
-
}
|
|
1275
|
-
const { x, y } = this.projectionDelta;
|
|
1276
|
-
styles.transformOrigin = `${x.origin * 100}% ${y.origin * 100}% 0`;
|
|
1277
|
-
if (lead.animationValues) {
|
|
1278
|
-
/**
|
|
1279
|
-
* If the lead component is animating, assign this either the entering/leaving
|
|
1280
|
-
* opacity
|
|
1281
|
-
*/
|
|
1282
|
-
styles.opacity =
|
|
1283
|
-
lead === this
|
|
1284
|
-
? (_b = (_a = valuesToRender.opacity) !== null && _a !== void 0 ? _a : this.latestValues.opacity) !== null && _b !== void 0 ? _b : 1
|
|
1285
|
-
: this.preserveOpacity
|
|
1286
|
-
? this.latestValues.opacity
|
|
1287
|
-
: valuesToRender.opacityExit;
|
|
1288
|
-
}
|
|
1289
|
-
else {
|
|
1290
|
-
/**
|
|
1291
|
-
* Or we're not animating at all, set the lead component to its layout
|
|
1292
|
-
* opacity and other components to hidden.
|
|
1293
|
-
*/
|
|
1294
|
-
styles.opacity =
|
|
1295
|
-
lead === this
|
|
1296
|
-
? valuesToRender.opacity !== undefined
|
|
1297
|
-
? valuesToRender.opacity
|
|
1298
|
-
: ""
|
|
1299
|
-
: valuesToRender.opacityExit !== undefined
|
|
1300
|
-
? valuesToRender.opacityExit
|
|
1301
|
-
: 0;
|
|
1302
|
-
}
|
|
1303
|
-
/**
|
|
1304
|
-
* Apply scale correction
|
|
1305
|
-
*/
|
|
1306
|
-
for (const key in scaleCorrectors) {
|
|
1307
|
-
if (valuesToRender[key] === undefined)
|
|
1308
|
-
continue;
|
|
1309
|
-
const { correct, applyTo } = scaleCorrectors[key];
|
|
1310
|
-
/**
|
|
1311
|
-
* Only apply scale correction to the value if we have an
|
|
1312
|
-
* active projection transform. Otherwise these values become
|
|
1313
|
-
* vulnerable to distortion if the element changes size without
|
|
1314
|
-
* a corresponding layout animation.
|
|
1315
|
-
*/
|
|
1316
|
-
const corrected = styles.transform === "none"
|
|
1317
|
-
? valuesToRender[key]
|
|
1318
|
-
: correct(valuesToRender[key], lead);
|
|
1319
|
-
if (applyTo) {
|
|
1320
|
-
const num = applyTo.length;
|
|
1321
|
-
for (let i = 0; i < num; i++) {
|
|
1322
|
-
styles[applyTo[i]] = corrected;
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
else {
|
|
1326
|
-
styles[key] = corrected;
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
|
-
/**
|
|
1330
|
-
* Disable pointer events on follow components. This is to ensure
|
|
1331
|
-
* that if a follow component covers a lead component it doesn't block
|
|
1332
|
-
* pointer events on the lead.
|
|
1333
|
-
*/
|
|
1334
|
-
if (this.options.layoutId) {
|
|
1335
|
-
styles.pointerEvents =
|
|
1336
|
-
lead === this
|
|
1337
|
-
? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || ""
|
|
1338
|
-
: "none";
|
|
1339
|
-
}
|
|
1340
|
-
return styles;
|
|
1341
|
-
}
|
|
1342
|
-
clearSnapshot() {
|
|
1343
|
-
this.resumeFrom = this.snapshot = undefined;
|
|
1344
|
-
}
|
|
1345
|
-
// Only run on root
|
|
1346
|
-
resetTree() {
|
|
1347
|
-
this.root.nodes.forEach((node) => { var _a; return (_a = node.currentAnimation) === null || _a === void 0 ? void 0 : _a.stop(); });
|
|
1348
|
-
this.root.nodes.forEach(clearMeasurements);
|
|
1349
|
-
this.root.sharedNodes.clear();
|
|
1350
|
-
}
|
|
1351
|
-
};
|
|
1352
|
-
}
|
|
1353
|
-
function updateLayout(node) {
|
|
1354
|
-
node.updateLayout();
|
|
1355
|
-
}
|
|
1356
|
-
function notifyLayoutUpdate(node) {
|
|
1357
|
-
var _a;
|
|
1358
|
-
const snapshot = ((_a = node.resumeFrom) === null || _a === void 0 ? void 0 : _a.snapshot) || node.snapshot;
|
|
1359
|
-
if (node.isLead() &&
|
|
1360
|
-
node.layout &&
|
|
1361
|
-
snapshot &&
|
|
1362
|
-
node.hasListeners("didUpdate")) {
|
|
1363
|
-
const { layoutBox: layout, measuredBox: measuredLayout } = node.layout;
|
|
1364
|
-
const { animationType } = node.options;
|
|
1365
|
-
const isShared = snapshot.source !== node.layout.source;
|
|
1366
|
-
// TODO Maybe we want to also resize the layout snapshot so we don't trigger
|
|
1367
|
-
// animations for instance if layout="size" and an element has only changed position
|
|
1368
|
-
if (animationType === "size") {
|
|
1369
|
-
eachAxis((axis) => {
|
|
1370
|
-
const axisSnapshot = isShared
|
|
1371
|
-
? snapshot.measuredBox[axis]
|
|
1372
|
-
: snapshot.layoutBox[axis];
|
|
1373
|
-
const length = calcLength(axisSnapshot);
|
|
1374
|
-
axisSnapshot.min = layout[axis].min;
|
|
1375
|
-
axisSnapshot.max = axisSnapshot.min + length;
|
|
1376
|
-
});
|
|
1377
|
-
}
|
|
1378
|
-
else if (shouldAnimatePositionOnly(animationType, snapshot.layoutBox, layout)) {
|
|
1379
|
-
eachAxis((axis) => {
|
|
1380
|
-
const axisSnapshot = isShared
|
|
1381
|
-
? snapshot.measuredBox[axis]
|
|
1382
|
-
: snapshot.layoutBox[axis];
|
|
1383
|
-
const length = calcLength(layout[axis]);
|
|
1384
|
-
axisSnapshot.max = axisSnapshot.min + length;
|
|
1385
|
-
/**
|
|
1386
|
-
* Ensure relative target gets resized and rerendererd
|
|
1387
|
-
*/
|
|
1388
|
-
if (node.relativeTarget && !node.currentAnimation) {
|
|
1389
|
-
node.isProjectionDirty = true;
|
|
1390
|
-
node.relativeTarget[axis].max =
|
|
1391
|
-
node.relativeTarget[axis].min + length;
|
|
1392
|
-
}
|
|
1393
|
-
});
|
|
1394
|
-
}
|
|
1395
|
-
const layoutDelta = createDelta();
|
|
1396
|
-
calcBoxDelta(layoutDelta, layout, snapshot.layoutBox);
|
|
1397
|
-
const visualDelta = createDelta();
|
|
1398
|
-
if (isShared) {
|
|
1399
|
-
calcBoxDelta(visualDelta, node.applyTransform(measuredLayout, true), snapshot.measuredBox);
|
|
1400
|
-
}
|
|
1401
|
-
else {
|
|
1402
|
-
calcBoxDelta(visualDelta, layout, snapshot.layoutBox);
|
|
1403
|
-
}
|
|
1404
|
-
const hasLayoutChanged = !isDeltaZero(layoutDelta);
|
|
1405
|
-
let hasRelativeTargetChanged = false;
|
|
1406
|
-
if (!node.resumeFrom) {
|
|
1407
|
-
const relativeParent = node.getClosestProjectingParent();
|
|
1408
|
-
/**
|
|
1409
|
-
* If the relativeParent is itself resuming from a different element then
|
|
1410
|
-
* the relative snapshot is not relavent
|
|
1411
|
-
*/
|
|
1412
|
-
if (relativeParent && !relativeParent.resumeFrom) {
|
|
1413
|
-
const { snapshot: parentSnapshot, layout: parentLayout } = relativeParent;
|
|
1414
|
-
if (parentSnapshot && parentLayout) {
|
|
1415
|
-
const relativeSnapshot = createBox();
|
|
1416
|
-
calcRelativePosition(relativeSnapshot, snapshot.layoutBox, parentSnapshot.layoutBox);
|
|
1417
|
-
const relativeLayout = createBox();
|
|
1418
|
-
calcRelativePosition(relativeLayout, layout, parentLayout.layoutBox);
|
|
1419
|
-
if (!boxEqualsRounded(relativeSnapshot, relativeLayout)) {
|
|
1420
|
-
hasRelativeTargetChanged = true;
|
|
1421
|
-
}
|
|
1422
|
-
if (relativeParent.options.layoutRoot) {
|
|
1423
|
-
node.relativeTarget = relativeLayout;
|
|
1424
|
-
node.relativeTargetOrigin = relativeSnapshot;
|
|
1425
|
-
node.relativeParent = relativeParent;
|
|
1426
|
-
}
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
node.notifyListeners("didUpdate", {
|
|
1431
|
-
layout,
|
|
1432
|
-
snapshot,
|
|
1433
|
-
delta: visualDelta,
|
|
1434
|
-
layoutDelta,
|
|
1435
|
-
hasLayoutChanged,
|
|
1436
|
-
hasRelativeTargetChanged,
|
|
1437
|
-
});
|
|
1438
|
-
}
|
|
1439
|
-
else if (node.isLead()) {
|
|
1440
|
-
const { onExitComplete } = node.options;
|
|
1441
|
-
onExitComplete && onExitComplete();
|
|
1442
|
-
}
|
|
1443
|
-
/**
|
|
1444
|
-
* Clearing transition
|
|
1445
|
-
* TODO: Investigate why this transition is being passed in as {type: false } from Framer
|
|
1446
|
-
* and why we need it at all
|
|
1447
|
-
*/
|
|
1448
|
-
node.options.transition = undefined;
|
|
1449
|
-
}
|
|
1450
|
-
function propagateDirtyNodes(node) {
|
|
1451
|
-
/**
|
|
1452
|
-
* Increase debug counter for nodes encountered this frame
|
|
1453
|
-
*/
|
|
1454
|
-
projectionFrameData.totalNodes++;
|
|
1455
|
-
if (!node.parent)
|
|
1456
|
-
return;
|
|
1457
|
-
/**
|
|
1458
|
-
* If this node isn't projecting, propagate isProjectionDirty. It will have
|
|
1459
|
-
* no performance impact but it will allow the next child that *is* projecting
|
|
1460
|
-
* but *isn't* dirty to just check its parent to see if *any* ancestor needs
|
|
1461
|
-
* correcting.
|
|
1462
|
-
*/
|
|
1463
|
-
if (!node.isProjecting()) {
|
|
1464
|
-
node.isProjectionDirty = node.parent.isProjectionDirty;
|
|
1465
|
-
}
|
|
1466
|
-
/**
|
|
1467
|
-
* Propagate isSharedProjectionDirty and isTransformDirty
|
|
1468
|
-
* throughout the whole tree. A future revision can take another look at
|
|
1469
|
-
* this but for safety we still recalcualte shared nodes.
|
|
1470
|
-
*/
|
|
1471
|
-
node.isSharedProjectionDirty || (node.isSharedProjectionDirty = Boolean(node.isProjectionDirty ||
|
|
1472
|
-
node.parent.isProjectionDirty ||
|
|
1473
|
-
node.parent.isSharedProjectionDirty));
|
|
1474
|
-
node.isTransformDirty || (node.isTransformDirty = node.parent.isTransformDirty);
|
|
1475
|
-
}
|
|
1476
|
-
function cleanDirtyNodes(node) {
|
|
1477
|
-
node.isProjectionDirty =
|
|
1478
|
-
node.isSharedProjectionDirty =
|
|
1479
|
-
node.isTransformDirty =
|
|
1480
|
-
false;
|
|
1481
|
-
}
|
|
1482
|
-
function clearSnapshot(node) {
|
|
1483
|
-
node.clearSnapshot();
|
|
1484
|
-
}
|
|
1485
|
-
function clearMeasurements(node) {
|
|
1486
|
-
node.clearMeasurements();
|
|
1487
|
-
}
|
|
1488
|
-
function clearIsLayoutDirty(node) {
|
|
1489
|
-
node.isLayoutDirty = false;
|
|
1490
|
-
}
|
|
1491
|
-
function resetTransformStyle(node) {
|
|
1492
|
-
const { visualElement } = node.options;
|
|
1493
|
-
if (visualElement && visualElement.getProps().onBeforeLayoutMeasure) {
|
|
1494
|
-
visualElement.notify("BeforeLayoutMeasure");
|
|
1495
|
-
}
|
|
1496
|
-
node.resetTransform();
|
|
1497
|
-
}
|
|
1498
|
-
function finishAnimation(node) {
|
|
1499
|
-
node.finishAnimation();
|
|
1500
|
-
node.targetDelta = node.relativeTarget = node.target = undefined;
|
|
1501
|
-
node.isProjectionDirty = true;
|
|
1502
|
-
}
|
|
1503
|
-
function resolveTargetDelta(node) {
|
|
1504
|
-
node.resolveTargetDelta();
|
|
1505
|
-
}
|
|
1506
|
-
function calcProjection(node) {
|
|
1507
|
-
node.calcProjection();
|
|
1508
|
-
}
|
|
1509
|
-
function resetSkewAndRotation(node) {
|
|
1510
|
-
node.resetSkewAndRotation();
|
|
1511
|
-
}
|
|
1512
|
-
function removeLeadSnapshots(stack) {
|
|
1513
|
-
stack.removeLeadSnapshot();
|
|
1514
|
-
}
|
|
1515
|
-
function mixAxisDelta(output, delta, p) {
|
|
1516
|
-
output.translate = mixNumber(delta.translate, 0, p);
|
|
1517
|
-
output.scale = mixNumber(delta.scale, 1, p);
|
|
1518
|
-
output.origin = delta.origin;
|
|
1519
|
-
output.originPoint = delta.originPoint;
|
|
1520
|
-
}
|
|
1521
|
-
function mixAxis(output, from, to, p) {
|
|
1522
|
-
output.min = mixNumber(from.min, to.min, p);
|
|
1523
|
-
output.max = mixNumber(from.max, to.max, p);
|
|
1524
|
-
}
|
|
1525
|
-
function mixBox(output, from, to, p) {
|
|
1526
|
-
mixAxis(output.x, from.x, to.x, p);
|
|
1527
|
-
mixAxis(output.y, from.y, to.y, p);
|
|
1528
|
-
}
|
|
1529
|
-
function hasOpacityCrossfade(node) {
|
|
1530
|
-
return (node.animationValues && node.animationValues.opacityExit !== undefined);
|
|
1531
|
-
}
|
|
1532
|
-
const defaultLayoutTransition = {
|
|
1533
|
-
duration: 0.45,
|
|
1534
|
-
ease: [0.4, 0, 0.1, 1],
|
|
1535
|
-
};
|
|
1536
|
-
const userAgentContains = (string) => typeof navigator !== "undefined" &&
|
|
1537
|
-
navigator.userAgent &&
|
|
1538
|
-
navigator.userAgent.toLowerCase().includes(string);
|
|
1539
|
-
/**
|
|
1540
|
-
* Measured bounding boxes must be rounded in Safari and
|
|
1541
|
-
* left untouched in Chrome, otherwise non-integer layouts within scaled-up elements
|
|
1542
|
-
* can appear to jump.
|
|
1543
|
-
*/
|
|
1544
|
-
const roundPoint = userAgentContains("applewebkit/") && !userAgentContains("chrome/")
|
|
1545
|
-
? Math.round
|
|
1546
|
-
: noop;
|
|
1547
|
-
function roundAxis(axis) {
|
|
1548
|
-
// Round to the nearest .5 pixels to support subpixel layouts
|
|
1549
|
-
axis.min = roundPoint(axis.min);
|
|
1550
|
-
axis.max = roundPoint(axis.max);
|
|
1551
|
-
}
|
|
1552
|
-
function roundBox(box) {
|
|
1553
|
-
roundAxis(box.x);
|
|
1554
|
-
roundAxis(box.y);
|
|
1555
|
-
}
|
|
1556
|
-
function shouldAnimatePositionOnly(animationType, snapshot, layout) {
|
|
1557
|
-
return (animationType === "position" ||
|
|
1558
|
-
(animationType === "preserve-aspect" &&
|
|
1559
|
-
!isNear(aspectRatio(snapshot), aspectRatio(layout), 0.2)));
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
export { cleanDirtyNodes, createProjectionNode, mixAxis, mixAxisDelta, mixBox, propagateDirtyNodes };
|