@onepercentio/one-ui 0.28.7 → 0.28.9
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/package.json +8 -5
- package/src/assets/img/svg/checkbox.svg +3 -0
- package/src/assets/styles/index.scss +2 -0
- package/src/assets/styles/mixins.scss +12 -0
- package/src/assets/styles/variables.scss +49 -0
- package/src/components/AdaptiveButton/AdaptiveButton.module.scss +7 -0
- package/src/components/AdaptiveButton/AdaptiveButton.tsx +26 -0
- package/src/components/AdaptiveButton/index.tsx +1 -0
- package/src/components/AdaptiveContainer/AdaptiveContainer.module.scss +53 -0
- package/src/components/AdaptiveContainer/AdaptiveContainer.tsx +200 -0
- package/src/components/AdaptiveContainer/index.tsx +1 -0
- package/src/components/AdaptiveDialog/AdaptiveDialog.module.scss +147 -0
- package/src/components/AdaptiveDialog/AdaptiveDialog.tsx +97 -0
- package/src/components/AdaptiveDialog/index.tsx +1 -0
- package/src/components/AdaptiveSidebar/AdaptiveSidebar.module.scss +49 -0
- package/src/components/AdaptiveSidebar/AdaptiveSidebar.sample.tsx +10 -0
- package/src/components/AdaptiveSidebar/AdaptiveSidebar.tsx +123 -0
- package/src/components/AdaptiveSidebar/index.tsx +1 -0
- package/src/components/AnchoredTooltip/AnchoredTooltip.module.scss +64 -0
- package/src/components/AnchoredTooltip/AnchoredTooltip.tsx +250 -0
- package/src/components/AnchoredTooltip/index.tsx +1 -0
- package/src/components/AnimatedEntrance/AnimatedEntrance.module.scss +108 -0
- package/src/components/AnimatedEntrance/AnimatedEntrance.tsx +227 -0
- package/src/components/AnimatedEntrance/index.tsx +5 -0
- package/src/components/AsyncWrapper/AsyncWrapper.tsx +38 -0
- package/src/components/AsyncWrapper/index.tsx +1 -0
- package/src/components/Avatar/Avatar.module.scss +22 -0
- package/src/components/Avatar/Avatar.tsx +31 -0
- package/src/components/Avatar/index.tsx +1 -0
- package/src/components/BucketFill/BucketFill.module.scss +36 -0
- package/src/components/BucketFill/BucketFill.tsx +65 -0
- package/src/components/BucketFill/index.tsx +1 -0
- package/src/components/Button/Button.module.scss +45 -0
- package/src/components/Button/Button.tsx +40 -0
- package/src/components/Button/index.tsx +1 -0
- package/src/components/Card/Card.module.scss +12 -0
- package/src/components/Card/Card.tsx +9 -0
- package/src/components/Card/index.tsx +1 -0
- package/src/components/Chart/Chart.e2e.ts +4 -0
- package/src/components/Chart/Chart.logic.tsx +8 -0
- package/src/components/Chart/Chart.module.scss +58 -0
- package/src/components/Chart/Chart.types.ts +35 -0
- package/src/components/Chart/Chart.view.tsx +240 -0
- package/src/components/Chart/index.tsx +1 -0
- package/src/components/CheckBox/CheckBox.module.scss +36 -0
- package/src/components/CheckBox/CheckBox.tsx +63 -0
- package/src/components/CheckBox/index.tsx +1 -0
- package/src/components/CodeInput/CodeInput.module.scss +5 -0
- package/src/components/CodeInput/CodeInput.tsx +84 -0
- package/src/components/CodeInput/index.tsx +1 -0
- package/src/components/Collapsable/Collapsable.module.scss +42 -0
- package/src/components/Collapsable/Collapsable.tsx +253 -0
- package/src/components/Collapsable/index.tsx +1 -0
- package/src/components/Countdown/Countdown.tsx +130 -0
- package/src/components/Countdown/index.tsx +1 -0
- package/src/components/CurrencyInput/CurrencyInput.hook.ts +37 -0
- package/src/components/CurrencyInput/CurrencyInput.tsx +25 -0
- package/src/components/CurrencyInput/index.tsx +1 -0
- package/src/components/Divider/Divider.module.scss +7 -0
- package/src/components/Divider/Divider.tsx +13 -0
- package/src/components/Divider/index.tsx +1 -0
- package/src/components/EmailInput/EmailInput.module.scss +0 -0
- package/src/components/EmailInput/EmailInput.tsx +51 -0
- package/src/components/EmailInput/index.tsx +1 -0
- package/src/components/FadeIn/FadeIn.module.scss +9 -0
- package/src/components/FadeIn/FadeIn.tsx +77 -0
- package/src/components/FadeIn/index.tsx +1 -0
- package/src/components/FileInput/FileInput.module.scss +6 -0
- package/src/components/FileInput/FileInput.tsx +75 -0
- package/src/components/FileInput/View/BigFactory/BigFactory.module.scss +20 -0
- package/src/components/FileInput/View/BigFactory/BigFactory.tsx +48 -0
- package/src/components/FileInput/View/BigFactory/index.tsx +1 -0
- package/src/components/FileInput/View/Compact/Compact.module.scss +68 -0
- package/src/components/FileInput/View/Compact/Compact.tsx +151 -0
- package/src/components/FileInput/View/Compact/index.tsx +1 -0
- package/src/components/FileInput/View/View.types.ts +12 -0
- package/src/components/FileInput/index.tsx +1 -0
- package/src/components/FlowController/FlowController.module.scss +47 -0
- package/src/components/FlowController/FlowController.tsx +93 -0
- package/src/components/FlowController/index.tsx +1 -0
- package/src/components/Form/Form.tsx +243 -0
- package/src/components/Form/index.ts +1 -0
- package/src/components/Form/v2/Form.hook.ts +341 -0
- package/src/components/Form/v2/Form.module.scss +0 -0
- package/src/components/Form/v2/Form.tsx +78 -0
- package/src/components/Form/v2/Form.types.ts +118 -0
- package/src/components/Form/v2/FormField/Extensions/DateField/DateField.module.scss +0 -0
- package/src/components/Form/v2/FormField/Extensions/DateField/DateField.tsx +73 -0
- package/src/components/Form/v2/FormField/Extensions/DateField/index.tsx +1 -0
- package/src/components/Form/v2/FormField/Extensions/PhoneField/PhoneField.module.scss +0 -0
- package/src/components/Form/v2/FormField/Extensions/PhoneField/PhoneField.tsx +91 -0
- package/src/components/Form/v2/FormField/Extensions/PhoneField/index.tsx +1 -0
- package/src/components/Form/v2/FormField/FormField.module.scss +0 -0
- package/src/components/Form/v2/FormField/FormField.tsx +378 -0
- package/src/components/Form/v2/FormField/FormField.types.ts +129 -0
- package/src/components/Form/v2/FormField/index.tsx +1 -0
- package/src/components/Form/v2/index.tsx +1 -0
- package/src/components/Freeze/Freeze.tsx +9 -0
- package/src/components/Freeze/index.tsx +1 -0
- package/src/components/HSForms/HSForms.tsx +57 -0
- package/src/components/HSForms/index.tsx +1 -0
- package/src/components/Header/Header.module.scss +119 -0
- package/src/components/Header/Header.tsx +138 -0
- package/src/components/Header/index.tsx +1 -0
- package/src/components/HeaderCloseBtn/HeaderCloseBtn.module.scss +44 -0
- package/src/components/HeaderCloseBtn/HeaderCloseBtn.tsx +28 -0
- package/src/components/HeaderCloseBtn/index.tsx +1 -0
- package/src/components/InfinityScroll/InfinityScroll.module.scss +30 -0
- package/src/components/InfinityScroll/InfinityScroll.tsx +187 -0
- package/src/components/InfinityScroll/index.tsx +1 -0
- package/src/components/Input/Input.module.scss +71 -0
- package/src/components/Input/Input.tsx +134 -0
- package/src/components/Input/index.tsx +1 -0
- package/src/components/InstantCounter/InstantCounter.tsx +77 -0
- package/src/components/InstantCounter/index.tsx +1 -0
- package/src/components/LavaLamp/LavaLamp.data.tsx +114 -0
- package/src/components/LavaLamp/LavaLamp.module.scss +26 -0
- package/src/components/LavaLamp/LavaLamp.tsx +131 -0
- package/src/components/LavaLamp/index.tsx +1 -0
- package/src/components/LavaLamp/v2/LavaLamp.module.scss +23 -0
- package/src/components/LavaLamp/v2/LavaLamp.tsx +197 -0
- package/src/components/LinkToId/LinkToId.module.scss +4 -0
- package/src/components/LinkToId/LinkToId.tsx +51 -0
- package/src/components/LinkToId/index.tsx +1 -0
- package/src/components/Loader/Loader.module.scss +40 -0
- package/src/components/Loader/Loader.tsx +18 -0
- package/src/components/Loader/index.tsx +1 -0
- package/src/components/LoaderDotsIndicator/LoaderDotsIndicator.tsx +34 -0
- package/src/components/LoaderDotsIndicator/index.tsx +1 -0
- package/src/components/LoopableVideo/LoopableVideo.tsx +37 -0
- package/src/components/LoopableVideo/index.tsx +1 -0
- package/src/components/MainGrid/MainGrid.module.scss +28 -0
- package/src/components/MainGrid/MainGrid.tsx +68 -0
- package/src/components/MainGrid/index.tsx +1 -0
- package/src/components/MutableHamburgerButton/MutableHamburgerButton.module.scss +220 -0
- package/src/components/MutableHamburgerButton/MutableHamburgerButton.tsx +38 -0
- package/src/components/MutableHamburgerButton/index.tsx +1 -0
- package/src/components/Notification/Notification.module.scss +25 -0
- package/src/components/Notification/Notification.tsx +13 -0
- package/src/components/Notification/index.tsx +1 -0
- package/src/components/OrderableList/OrderableList.module.scss +98 -0
- package/src/components/OrderableList/OrderableList.tsx +564 -0
- package/src/components/OrderableList/index.tsx +1 -0
- package/src/components/PaginationIndicator/PaginationIndicator.tsx +365 -0
- package/src/components/PaginationIndicator/index.tsx +1 -0
- package/src/components/Parallax/Parallax.module.scss +28 -0
- package/src/components/Parallax/Parallax.tsx +248 -0
- package/src/components/Parallax/index.tsx +1 -0
- package/src/components/Parallax/math/helpers.ts +289 -0
- package/src/components/PasswordInput/PasswordInput.module.scss +17 -0
- package/src/components/PasswordInput/PasswordInput.tsx +154 -0
- package/src/components/PasswordInput/index.tsx +1 -0
- package/src/components/PingPongText/PingPongText.module.scss +4 -0
- package/src/components/PingPongText/PingPongText.tsx +83 -0
- package/src/components/PingPongText/index.tsx +1 -0
- package/src/components/PixelatedScan/PixelatedScan.module.scss +86 -0
- package/src/components/PixelatedScan/PixelatedScan.tsx +175 -0
- package/src/components/PixelatedScan/index.tsx +1 -0
- package/src/components/Portal/Portal.module.scss +3 -0
- package/src/components/Portal/Portal.tsx +68 -0
- package/src/components/Portal/index.tsx +1 -0
- package/src/components/ProgressBar/ProgressBar.module.scss +44 -0
- package/src/components/ProgressBar/ProgressBar.tsx +124 -0
- package/src/components/ProgressBar/index.tsx +1 -0
- package/src/components/ProgressTexts/ProgressTexts.module.scss +37 -0
- package/src/components/ProgressTexts/ProgressTexts.tsx +85 -0
- package/src/components/ProgressTexts/index.tsx +1 -0
- package/src/components/Radio/Radio.module.scss +36 -0
- package/src/components/Radio/Radio.tsx +53 -0
- package/src/components/Radio/index.tsx +1 -0
- package/src/components/SectionContainer/SectionContainer.module.scss +30 -0
- package/src/components/SectionContainer/SectionContainer.tsx +49 -0
- package/src/components/SectionContainer/index.tsx +1 -0
- package/src/components/Select/Select.module.scss +58 -0
- package/src/components/Select/Select.tsx +192 -0
- package/src/components/Select/index.tsx +1 -0
- package/src/components/Skeleton/Skeleton.module.scss +21 -0
- package/src/components/Skeleton/Skeleton.tsx +29 -0
- package/src/components/Skeleton/index.tsx +1 -0
- package/src/components/Spacing/Spacing.module.scss +13 -0
- package/src/components/Spacing/Spacing.tsx +24 -0
- package/src/components/Spacing/index.tsx +1 -0
- package/src/components/StaticScroller/StaticScroller.module.scss +14 -0
- package/src/components/StaticScroller/StaticScroller.tsx +83 -0
- package/src/components/StaticScroller/index.tsx +1 -0
- package/src/components/Switch/Switch.module.scss +43 -0
- package/src/components/Switch/Switch.tsx +41 -0
- package/src/components/Switch/index.tsx +1 -0
- package/src/components/Table/Table.module.scss +76 -0
- package/src/components/Table/Table.tsx +152 -0
- package/src/components/Table/index.tsx +1 -0
- package/src/components/Tabs/Tabs.module.scss +40 -0
- package/src/components/Tabs/Tabs.tsx +104 -0
- package/src/components/Tabs/index.tsx +1 -0
- package/src/components/Text/Text.module.scss +81 -0
- package/src/components/Text/Text.tsx +42 -0
- package/src/components/Text/index.tsx +1 -0
- package/src/components/Transition/MasksFactory/DiagonalReveal.tsx +47 -0
- package/src/components/Transition/MasksFactory/DiagonalSquareToBalls.tsx +78 -0
- package/src/components/Transition/MasksFactory/PhysicsSquares.tsx +106 -0
- package/src/components/Transition/MasksFactory/SquareToBalls.tsx +66 -0
- package/src/components/Transition/MasksFactory/utils.ts +35 -0
- package/src/components/Transition/Transition.module.scss +211 -0
- package/src/components/Transition/Transition.tsx +495 -0
- package/src/components/Transition/index.tsx +1 -0
- package/src/components/UncontrolledTransition/UncontrolledTransition.ai.md +9 -0
- package/src/components/UncontrolledTransition/UncontrolledTransition.sample.tsx +34 -0
- package/src/components/UncontrolledTransition/UncontrolledTransition.tsx +143 -0
- package/src/components/UncontrolledTransition/index.tsx +2 -0
- package/src/components/WalletConnectionWrapper/WalletConnectionWrapper.tsx +212 -0
- package/src/components/WalletConnectionWrapper/index.tsx +1 -0
- package/src/components/utilitary/ScrollAndFocusLock/ScrollAndFocusLock.module.scss +5 -0
- package/src/components/utilitary/ScrollAndFocusLock/ScrollAndFocusLock.tsx +52 -0
- package/src/components/utilitary/ScrollAndFocusLock/index.tsx +1 -0
- package/src/context/AsyncProcess.tsx +107 -0
- package/src/context/ContextAsyncControl.tsx +89 -0
- package/src/context/CustomBrowserRouter.tsx +55 -0
- package/src/context/OneUIProvider.tsx +308 -0
- package/src/hooks/logs/useDependencyChangeDetection.ts +25 -0
- package/src/hooks/logs/useIsMounting.ts +7 -0
- package/src/hooks/persistence/useLocalStorage.ts +45 -0
- package/src/hooks/shims/ObjectWatchShim.ts +56 -0
- package/src/hooks/ui/useAdaptiveImage.tsx +36 -0
- package/src/hooks/ui/useAlternating.tsx +22 -0
- package/src/hooks/ui/useBreakpoint.tsx +21 -0
- package/src/hooks/ui/useCustomScrollbar.module.scss +20 -0
- package/src/hooks/ui/useCustomScrollbar.tsx +22 -0
- package/src/hooks/ui/useEffectIf.ts +11 -0
- package/src/hooks/ui/useMouseHover.tsx +26 -0
- package/src/hooks/ui/usePaginationControls.module.scss +16 -0
- package/src/hooks/ui/usePaginationControls.tsx +176 -0
- package/src/hooks/ui/useSnapToViewport.module.scss +6 -0
- package/src/hooks/ui/useSnapToViewport.ts +28 -0
- package/src/hooks/ui/useTilt.tsx +219 -0
- package/src/hooks/ui/useZoomable.module.scss +34 -0
- package/src/hooks/ui/useZoomable.tsx +144 -0
- package/src/hooks/useAsyncControl.ai.md +25 -0
- package/src/hooks/useAsyncControl.ts +101 -0
- package/src/hooks/useContainedRepositioning.ts +110 -0
- package/src/hooks/useCustomHistory.ts +14 -0
- package/src/hooks/useElementFit.ts +82 -0
- package/src/hooks/useFirestoreWatch.ts +54 -0
- package/src/hooks/useForm.ts +49 -0
- package/src/hooks/useFreeze.ts +12 -0
- package/src/hooks/useHero.module.scss +41 -0
- package/src/hooks/useHero.ts +512 -0
- package/src/hooks/useIntersection.ts +32 -0
- package/src/hooks/useMergeRefs.ts +29 -0
- package/src/hooks/useObserve.ts +24 -0
- package/src/hooks/usePagination.ts +228 -0
- package/src/hooks/usePooledOperation.ts +54 -0
- package/src/hooks/usePooling.ts +46 -0
- package/src/hooks/useRebound.ts +23 -0
- package/src/hooks/useShortIntl.ai.md +5 -0
- package/src/hooks/useShortIntl.ts +97 -0
- package/src/hooks/utility/useAsyncMemo.ts +43 -0
- package/src/hooks/utility/useDepChange.ts +11 -0
- package/src/hooks/utility/useEvents.ts +33 -0
- package/src/hooks/utility/useImmediate.ts +8 -0
- package/src/hooks/utility/useManualInit.ts +24 -0
- package/src/hooks/utility/useModule.ts +15 -0
- package/src/hooks/utility/useQuery.ts +15 -0
- package/src/hooks/utility/useUniqueEffect.ts +22 -0
- package/src/index.ts +3 -0
- package/src/models/DebugLogger.ts +7 -0
- package/src/models/GenericContract.ts +169 -0
- package/src/models/Orbs.ts +97 -0
- package/src/reac-app-env.d.ts +6 -0
- package/src/storybook/assets/video/txt-reversed.mp4 +0 -0
- package/src/storybookUtils/index.tsx +53 -0
- package/src/type-utils.ts +49 -0
- package/src/utility.d.ts +70 -0
- package/src/utils/blockchain.ts +43 -0
- package/src/utils/flatten.ts +17 -0
- package/src/utils/formatters.ts +36 -0
- package/src/utils/html.utils.ts +3 -0
- package/src/utils/ownEvent.ts +8 -0
- package/src/utils/test.ts +19 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { renderToString } from "react-dom/server";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import buildGrid, { getTime } from "./utils";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Creates an svg that transitions from a square grid to rounded corners and them shrinks the balls to reveal the content
|
|
7
|
+
* @param amountOfVerticalSquares The amount of squares vertically to be shown
|
|
8
|
+
*/
|
|
9
|
+
export default function (amountOfVerticalSquares: number = 10) {
|
|
10
|
+
return function (el: HTMLDivElement) {
|
|
11
|
+
const height = el.clientHeight;
|
|
12
|
+
const width = el.clientWidth;
|
|
13
|
+
const _ballsize = height / amountOfVerticalSquares;
|
|
14
|
+
const maximumBalls = width / _ballsize;
|
|
15
|
+
const amountOfBalls = Math.floor(maximumBalls);
|
|
16
|
+
|
|
17
|
+
const time = getTime(el);
|
|
18
|
+
|
|
19
|
+
const resultSvg = renderToString(
|
|
20
|
+
<svg xmlns="http://www.w3.org/2000/svg" id={Date.now().toString()}>
|
|
21
|
+
{buildGrid(amountOfVerticalSquares, amountOfBalls, _ballsize).map(
|
|
22
|
+
({ ballSize, x, y }) => {
|
|
23
|
+
return (
|
|
24
|
+
<rect fill="white">
|
|
25
|
+
<animate
|
|
26
|
+
attributeName="rx"
|
|
27
|
+
attributeType="XML"
|
|
28
|
+
values={`${0}px;${ballSize / 2}px;${ballSize / 2}px`}
|
|
29
|
+
dur={`${time}ms`}
|
|
30
|
+
/>
|
|
31
|
+
<animate
|
|
32
|
+
attributeName="x"
|
|
33
|
+
attributeType="XML"
|
|
34
|
+
values={`${x}px;${x}px;${x + ballSize / 2}px`}
|
|
35
|
+
dur={`${time}ms`}
|
|
36
|
+
/>
|
|
37
|
+
<animate
|
|
38
|
+
attributeName="y"
|
|
39
|
+
attributeType="XML"
|
|
40
|
+
values={`${y}px;${y}px;${y + ballSize / 2}px`}
|
|
41
|
+
dur={`${time}ms`}
|
|
42
|
+
/>
|
|
43
|
+
<animate
|
|
44
|
+
attributeName="width"
|
|
45
|
+
attributeType="XML"
|
|
46
|
+
values={`${ballSize}px;${ballSize}px;${0}px`}
|
|
47
|
+
dur={`${time}ms`}
|
|
48
|
+
/>
|
|
49
|
+
<animate
|
|
50
|
+
attributeName="height"
|
|
51
|
+
attributeType="XML"
|
|
52
|
+
values={`${ballSize}px;${ballSize}px;${0}px`}
|
|
53
|
+
dur={`${time}ms`}
|
|
54
|
+
/>
|
|
55
|
+
</rect>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
)}
|
|
59
|
+
</svg>
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
return `url('data:image/svg+xml;charset=utf8,${encodeURIComponent(
|
|
63
|
+
resultSvg
|
|
64
|
+
)}')`;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export default function buildGrid(
|
|
2
|
+
amountOfVerticalSquares: number,
|
|
3
|
+
howManyHorizontalSquare: number,
|
|
4
|
+
ballSize: number
|
|
5
|
+
) {
|
|
6
|
+
return new Array(howManyHorizontalSquare * amountOfVerticalSquares)
|
|
7
|
+
.fill(undefined)
|
|
8
|
+
.map((_, i) => {
|
|
9
|
+
const modX = Math.floor(i / howManyHorizontalSquare);
|
|
10
|
+
const modY = i - modX * howManyHorizontalSquare;
|
|
11
|
+
const ballsize = ballSize * 1.1;
|
|
12
|
+
const padding = (ballsize - ballSize) / 2;
|
|
13
|
+
const x = modY * ballSize - padding;
|
|
14
|
+
const y = modX * ballSize - padding;
|
|
15
|
+
|
|
16
|
+
return {
|
|
17
|
+
x,
|
|
18
|
+
y,
|
|
19
|
+
ballSize,
|
|
20
|
+
column: modY,
|
|
21
|
+
row: modX,
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function getTime(el: HTMLDivElement) {
|
|
27
|
+
const _time =
|
|
28
|
+
getComputedStyle(el.firstElementChild!).getPropertyValue(
|
|
29
|
+
"--animation-speed-transition"
|
|
30
|
+
) || "250ms";
|
|
31
|
+
const __time = _time.endsWith("ms")
|
|
32
|
+
? Number(_time.replace("ms", ""))
|
|
33
|
+
: Number(_time.replace("s", "")) * 1000;
|
|
34
|
+
return __time + 50;
|
|
35
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
@import "../../assets/styles/index.scss";
|
|
2
|
+
|
|
3
|
+
.section {
|
|
4
|
+
* {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
}
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: flex-start;
|
|
10
|
+
> div {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
min-height: inherit;
|
|
14
|
+
min-width: 100%;
|
|
15
|
+
animation-duration: var(--animation-speed-transition, $fast);
|
|
16
|
+
animation-timing-function: var(--animation-timing-transition, initial);
|
|
17
|
+
animation-fill-mode: forwards;
|
|
18
|
+
transform-origin: inherit;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
div.stub {
|
|
23
|
+
animation-name: stub;
|
|
24
|
+
position: absolute;
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
div.stubEntering {
|
|
29
|
+
animation-name: stub;
|
|
30
|
+
z-index: -1;
|
|
31
|
+
}
|
|
32
|
+
@keyframes stub {
|
|
33
|
+
0% {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
}
|
|
36
|
+
100% {
|
|
37
|
+
opacity: 1;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
div.entranceLeft {
|
|
42
|
+
animation-name: entranceLeft;
|
|
43
|
+
}
|
|
44
|
+
div.exitLeft {
|
|
45
|
+
animation-name: exitLeft;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@keyframes entranceLeft {
|
|
49
|
+
0% {
|
|
50
|
+
margin-left: -100%;
|
|
51
|
+
}
|
|
52
|
+
100% {
|
|
53
|
+
margin-left: 0%;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
@keyframes exitLeft {
|
|
57
|
+
0% {
|
|
58
|
+
margin-left: 0%;
|
|
59
|
+
}
|
|
60
|
+
100% {
|
|
61
|
+
margin-left: -100%;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
div.fadeOut {
|
|
66
|
+
animation-name: fadeOut;
|
|
67
|
+
position: absolute;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes fadeOut {
|
|
71
|
+
0% {
|
|
72
|
+
opacity: 1;
|
|
73
|
+
}
|
|
74
|
+
100% {
|
|
75
|
+
opacity: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
div.scaleIn {
|
|
80
|
+
animation-fill-mode: forwards;
|
|
81
|
+
animation-name: scaleIn;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@keyframes scaleIn {
|
|
85
|
+
0% {
|
|
86
|
+
transform: scale(0);
|
|
87
|
+
}
|
|
88
|
+
100% {
|
|
89
|
+
transform: scale(1);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
div.scaleOut {
|
|
94
|
+
animation-fill-mode: initial;
|
|
95
|
+
animation-name: scaleOut;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@keyframes scaleOut {
|
|
99
|
+
0% {
|
|
100
|
+
position: absolute;
|
|
101
|
+
transform: scale(1);
|
|
102
|
+
}
|
|
103
|
+
100% {
|
|
104
|
+
position: absolute;
|
|
105
|
+
transform: scale(0);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
div.fadeIn {
|
|
110
|
+
animation-name: fadeIn;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@keyframes fadeIn {
|
|
114
|
+
0% {
|
|
115
|
+
opacity: 0;
|
|
116
|
+
}
|
|
117
|
+
100% {
|
|
118
|
+
opacity: 1;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@keyframes fadeInDelayed {
|
|
123
|
+
0% {
|
|
124
|
+
opacity: 0;
|
|
125
|
+
}
|
|
126
|
+
50% {
|
|
127
|
+
opacity: 0.1;
|
|
128
|
+
}
|
|
129
|
+
100% {
|
|
130
|
+
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
@keyframes fadeOutDelayed {
|
|
134
|
+
0% {
|
|
135
|
+
opacity: 1;
|
|
136
|
+
}
|
|
137
|
+
50% {
|
|
138
|
+
opacity: 0.1;
|
|
139
|
+
}
|
|
140
|
+
100% {
|
|
141
|
+
opacity: 0;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.fadeInDelayed {
|
|
146
|
+
animation-name: fadeInDelayed;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.fadeOutAbsolute {
|
|
150
|
+
position: absolute;
|
|
151
|
+
animation-name: fadeOutDelayed;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@keyframes flip {
|
|
155
|
+
0% {
|
|
156
|
+
transform: rotateX(0deg);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
25% {
|
|
160
|
+
transform: rotateX(36deg);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
50% {
|
|
164
|
+
transform: rotateX(90deg);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
75% {
|
|
168
|
+
transform: rotateX(90deg);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
100% {
|
|
172
|
+
transform: rotateX(90deg);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
@keyframes flipIn {
|
|
176
|
+
0% {
|
|
177
|
+
transform: rotateX(0deg);
|
|
178
|
+
opacity: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
25% {
|
|
182
|
+
transform: rotateX(0deg);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
50% {
|
|
186
|
+
transform: rotateX(90deg);
|
|
187
|
+
opacity: 0;
|
|
188
|
+
}
|
|
189
|
+
51% {
|
|
190
|
+
opacity: 1;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
75% {
|
|
194
|
+
transform: rotateX(36deg);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
100% {
|
|
198
|
+
transform: rotateX(0deg);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
.flipBottomUpOut {
|
|
202
|
+
transform-origin: 50% 50% !important;
|
|
203
|
+
position: absolute !important;
|
|
204
|
+
animation-name: flip;
|
|
205
|
+
animation-timing-function: linear !important;
|
|
206
|
+
}
|
|
207
|
+
.flipBottomUpIn {
|
|
208
|
+
transform-origin: 50% 50% !important;
|
|
209
|
+
animation-name: flipIn;
|
|
210
|
+
animation-timing-function: linear !important;
|
|
211
|
+
}
|