app-studio 0.7.18 → 0.8.0
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/README.md +11 -1
- package/dist/native/index.cjs +3360 -0
- package/dist/native/index.cjs.map +1 -0
- package/dist/native/index.d.mts +251 -0
- package/dist/native/index.d.ts +251 -0
- package/dist/native/index.js +3268 -0
- package/dist/native/index.js.map +1 -0
- package/dist/viewAnimation-B4BIoOwQ.d.mts +2246 -0
- package/dist/viewAnimation-B4BIoOwQ.d.ts +2246 -0
- package/dist/web/app-studio.umd.production.min.global.js +28 -0
- package/dist/web/app-studio.umd.production.min.global.js.map +1 -0
- package/dist/web/index.cjs +6109 -0
- package/dist/web/index.cjs.map +1 -0
- package/dist/web/index.d.mts +624 -0
- package/dist/web/index.d.ts +624 -0
- package/dist/web/index.js +6008 -0
- package/dist/web/index.js.map +1 -0
- package/docs/README.md +10 -0
- package/package.json +76 -14
- package/dist/app-studio.cjs.development.js +0 -6754
- package/dist/app-studio.cjs.development.js.map +0 -1
- package/dist/app-studio.cjs.production.min.js +0 -2
- package/dist/app-studio.cjs.production.min.js.map +0 -1
- package/dist/app-studio.esm.js +0 -6650
- package/dist/app-studio.esm.js.map +0 -1
- package/dist/app-studio.umd.development.js +0 -6757
- package/dist/app-studio.umd.development.js.map +0 -1
- package/dist/app-studio.umd.production.min.js +0 -2
- package/dist/app-studio.umd.production.min.js.map +0 -1
- package/dist/components/Form.d.ts +0 -17
- package/dist/components/Image.d.ts +0 -7
- package/dist/components/Skeleton.d.ts +0 -3
- package/dist/components/Text/Text.props.d.ts +0 -27
- package/dist/components/Text/Text.type.d.ts +0 -3
- package/dist/components/Text/Text.utils.d.ts +0 -2
- package/dist/components/Text/Text.view.d.ts +0 -20
- package/dist/components/Text.d.ts +0 -5
- package/dist/components/View.d.ts +0 -16
- package/dist/components/Wrapper.d.ts +0 -4
- package/dist/element/Animation.d.ts +0 -1164
- package/dist/element/Element.d.ts +0 -4
- package/dist/element/Element.types.d.ts +0 -123
- package/dist/element/css.d.ts +0 -50
- package/dist/element/utils.d.ts +0 -4
- package/dist/hooks/useActive.d.ts +0 -2
- package/dist/hooks/useClickOutside.d.ts +0 -6
- package/dist/hooks/useElementPosition.d.ts +0 -39
- package/dist/hooks/useFocus.d.ts +0 -2
- package/dist/hooks/useHover.d.ts +0 -2
- package/dist/hooks/useIframeStyles.d.ts +0 -41
- package/dist/hooks/useInView.d.ts +0 -11
- package/dist/hooks/useKeyPress.d.ts +0 -1
- package/dist/hooks/useMount.d.ts +0 -1
- package/dist/hooks/useOnScreen.d.ts +0 -6
- package/dist/hooks/useResponsive.d.ts +0 -59
- package/dist/hooks/useScroll.d.ts +0 -49
- package/dist/hooks/useWindowSize.d.ts +0 -4
- package/dist/index.d.ts +0 -33
- package/dist/index.js +0 -8
- package/dist/providers/Analytics.d.ts +0 -9
- package/dist/providers/Responsive.d.ts +0 -58
- package/dist/providers/StyleRegistry.d.ts +0 -32
- package/dist/providers/Theme.d.ts +0 -46
- package/dist/providers/WindowSize.d.ts +0 -11
- package/dist/stories/AnimateOn.stories.d.ts +0 -30
- package/dist/stories/Animation.stories.d.ts +0 -35
- package/dist/stories/BorderColor.stories.d.ts +0 -4
- package/dist/stories/Color.stories.d.ts +0 -4
- package/dist/stories/ColorAlpha.stories.d.ts +0 -5
- package/dist/stories/Component.stories.d.ts +0 -7
- package/dist/stories/CrossBrowserCompatibility.stories.d.ts +0 -6
- package/dist/stories/CssCascadeOrder.stories.d.ts +0 -10
- package/dist/stories/EmptyBeforeExample.stories.d.ts +0 -7
- package/dist/stories/EventHandlers.stories.d.ts +0 -6
- package/dist/stories/GradientColors.stories.d.ts +0 -6
- package/dist/stories/GroupPeer.stories.d.ts +0 -7
- package/dist/stories/Hooks.stories.d.ts +0 -17
- package/dist/stories/IframeCSSSupport.stories.d.ts +0 -28
- package/dist/stories/IframeSupport.stories.d.ts +0 -20
- package/dist/stories/Image.stories.d.ts +0 -6
- package/dist/stories/Scroll.stories.d.ts +0 -9
- package/dist/stories/ScrollAnimation.stories.d.ts +0 -36
- package/dist/stories/ScrollTimeline.stories.d.ts +0 -6
- package/dist/stories/Skeleton.stories.d.ts +0 -5
- package/dist/stories/Text.stories.d.ts +0 -18
- package/dist/stories/VendorPrefix.stories.d.ts +0 -6
- package/dist/stories/View.stories.d.ts +0 -10
- package/dist/stories/ViewAnimation.stories.d.ts +0 -33
- package/dist/test/CssVariablesTest.d.ts +0 -3
- package/dist/test/LowercaseVendorPrefixTest.d.ts +0 -3
- package/dist/test/VendorPrefixTest.d.ts +0 -3
- package/dist/test/WebkitTextStrokeTest.d.ts +0 -3
- package/dist/types/scrollAnimation.types.d.ts +0 -75
- package/dist/utils/colors.d.ts +0 -21
- package/dist/utils/constants.d.ts +0 -24
- package/dist/utils/cssProperties.d.ts +0 -8
- package/dist/utils/env.d.ts +0 -15
- package/dist/utils/hash.d.ts +0 -4
- package/dist/utils/shadow.d.ts +0 -10
- package/dist/utils/style.d.ts +0 -22
- package/dist/utils/typography.d.ts +0 -45
- package/dist/utils/vendorPrefixes.d.ts +0 -19
- package/dist/utils/viewAnimation.d.ts +0 -138
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mapping of standard CSS properties to their vendor-prefixed equivalents.
|
|
3
|
-
*
|
|
4
|
-
* Optimized for modern browsers (Chrome 100+, Safari 15+, Firefox 91+).
|
|
5
|
-
* Most properties no longer need vendor prefixes in these browsers.
|
|
6
|
-
* Only -webkit- prefixes are kept where still needed by Safari/WebKit.
|
|
7
|
-
*
|
|
8
|
-
* Removed prefixes:
|
|
9
|
-
* - -moz- (Firefox 91+ supports all standard properties unprefixed)
|
|
10
|
-
* - -ms- (IE/Edge Legacy no longer supported)
|
|
11
|
-
* - -o- (Opera uses Blink engine, same as Chrome)
|
|
12
|
-
* - -webkit- for animation, transform, transition, flexbox, boxShadow,
|
|
13
|
-
* boxSizing, columns, borderImage, backgroundSize, backgroundOrigin,
|
|
14
|
-
* perspective, hyphens (all unprefixed in Safari 15+)
|
|
15
|
-
*/
|
|
16
|
-
export declare const vendorPrefixedProperties: Record<string, string[]>;
|
|
17
|
-
export declare const camelToKebabCase: (property: string) => string;
|
|
18
|
-
export declare const getVendorPrefixedProperties: (property: string) => string[];
|
|
19
|
-
export declare const needsVendorPrefix: (property: string) => boolean;
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* View Animation Utilities
|
|
3
|
-
*
|
|
4
|
-
* Create performant CSS scroll-driven animations using view() timeline.
|
|
5
|
-
* These animations are pure CSS - no JavaScript state or IntersectionObserver needed!
|
|
6
|
-
*/
|
|
7
|
-
import { ViewAnimationConfig, ViewAnimationOptions, SlideAnimationOptions, ScaleAnimationOptions, BlurAnimationOptions, RotateAnimationOptions } from '../types/scrollAnimation.types';
|
|
8
|
-
import { AnimationProps } from './constants';
|
|
9
|
-
/**
|
|
10
|
-
* Convert ViewAnimationConfig to AnimationProps with view() timeline
|
|
11
|
-
* This enables CSS-only animations without JavaScript state
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* <View animate={createViewAnimation({
|
|
15
|
-
* keyframes: { from: { opacity: 0 }, to: { opacity: 1 } },
|
|
16
|
-
* range: 'entry'
|
|
17
|
-
* })} />
|
|
18
|
-
*/
|
|
19
|
-
export declare const createViewAnimation: (config: ViewAnimationConfig) => AnimationProps;
|
|
20
|
-
/**
|
|
21
|
-
* Create an animation that triggers when element enters viewport
|
|
22
|
-
* Uses CSS view() timeline - NO JavaScript state required!
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* <View animate={animateOnView({
|
|
26
|
-
* keyframes: { from: { opacity: 0 }, to: { opacity: 1 } },
|
|
27
|
-
* range: 'entry'
|
|
28
|
-
* })} />
|
|
29
|
-
*/
|
|
30
|
-
export declare const animateOnView: (config: ViewAnimationConfig) => AnimationProps;
|
|
31
|
-
/**
|
|
32
|
-
* Preset: Fade in when entering viewport
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* <View animate={fadeInOnView()} />
|
|
36
|
-
* <View animate={fadeInOnView({ duration: '1s' })} />
|
|
37
|
-
*/
|
|
38
|
-
export declare const fadeInOnView: (options?: ViewAnimationOptions) => AnimationProps;
|
|
39
|
-
/**
|
|
40
|
-
* Preset: Fade out when exiting viewport
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* <View animate={fadeOutOnView()} />
|
|
44
|
-
*/
|
|
45
|
-
export declare const fadeOutOnView: (options?: ViewAnimationOptions) => AnimationProps;
|
|
46
|
-
/**
|
|
47
|
-
* Preset: Slide up and fade in when entering viewport
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* <View animate={slideUpOnView()} />
|
|
51
|
-
* <View animate={slideUpOnView({ distance: '50px', duration: '0.8s' })} />
|
|
52
|
-
*/
|
|
53
|
-
export declare const slideUpOnView: (options?: SlideAnimationOptions) => AnimationProps;
|
|
54
|
-
/**
|
|
55
|
-
* Preset: Slide down and fade in when entering viewport
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* <View animate={slideDownOnView()} />
|
|
59
|
-
*/
|
|
60
|
-
export declare const slideDownOnView: (options?: SlideAnimationOptions) => AnimationProps;
|
|
61
|
-
/**
|
|
62
|
-
* Preset: Slide in from left when entering viewport
|
|
63
|
-
*
|
|
64
|
-
* @example
|
|
65
|
-
* <View animate={slideLeftOnView()} />
|
|
66
|
-
*/
|
|
67
|
-
export declare const slideLeftOnView: (options?: SlideAnimationOptions) => AnimationProps;
|
|
68
|
-
/**
|
|
69
|
-
* Preset: Slide in from right when entering viewport
|
|
70
|
-
*
|
|
71
|
-
* @example
|
|
72
|
-
* <View animate={slideRightOnView()} />
|
|
73
|
-
*/
|
|
74
|
-
export declare const slideRightOnView: (options?: SlideAnimationOptions) => AnimationProps;
|
|
75
|
-
/**
|
|
76
|
-
* Preset: Scale up when entering viewport
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* <View animate={scaleUpOnView()} />
|
|
80
|
-
* <View animate={scaleUpOnView({ scale: 0.8 })} />
|
|
81
|
-
*/
|
|
82
|
-
export declare const scaleUpOnView: (options?: ScaleAnimationOptions) => AnimationProps;
|
|
83
|
-
/**
|
|
84
|
-
* Preset: Scale down when entering viewport
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* <View animate={scaleDownOnView({ scale: 1.1 })} />
|
|
88
|
-
*/
|
|
89
|
-
export declare const scaleDownOnView: (options?: ScaleAnimationOptions) => AnimationProps;
|
|
90
|
-
/**
|
|
91
|
-
* Preset: Blur in when entering viewport
|
|
92
|
-
*
|
|
93
|
-
* @example
|
|
94
|
-
* <View animate={blurInOnView()} />
|
|
95
|
-
* <View animate={blurInOnView({ blur: '15px' })} />
|
|
96
|
-
*/
|
|
97
|
-
export declare const blurInOnView: (options?: BlurAnimationOptions) => AnimationProps;
|
|
98
|
-
/**
|
|
99
|
-
* Preset: Blur out when exiting viewport
|
|
100
|
-
*
|
|
101
|
-
* @example
|
|
102
|
-
* <View animate={blurOutOnView()} />
|
|
103
|
-
*/
|
|
104
|
-
export declare const blurOutOnView: (options?: BlurAnimationOptions) => AnimationProps;
|
|
105
|
-
/**
|
|
106
|
-
* Preset: Rotate in when entering viewport
|
|
107
|
-
*
|
|
108
|
-
* @example
|
|
109
|
-
* <View animate={rotateInOnView()} />
|
|
110
|
-
* <View animate={rotateInOnView({ angle: '-15deg' })} />
|
|
111
|
-
*/
|
|
112
|
-
export declare const rotateInOnView: (options?: RotateAnimationOptions) => AnimationProps;
|
|
113
|
-
/**
|
|
114
|
-
* Preset: Reveal with clip-path from bottom
|
|
115
|
-
*
|
|
116
|
-
* @example
|
|
117
|
-
* <View animate={revealOnView()} />
|
|
118
|
-
*/
|
|
119
|
-
export declare const revealOnView: (options?: ViewAnimationOptions) => AnimationProps;
|
|
120
|
-
/**
|
|
121
|
-
* Preset: Flip in on X axis
|
|
122
|
-
*
|
|
123
|
-
* @example
|
|
124
|
-
* <View animate={flipXOnView()} />
|
|
125
|
-
*/
|
|
126
|
-
export declare const flipXOnView: (options?: ViewAnimationOptions) => AnimationProps;
|
|
127
|
-
/**
|
|
128
|
-
* Preset: Flip in on Y axis
|
|
129
|
-
*
|
|
130
|
-
* @example
|
|
131
|
-
* <View animate={flipYOnView()} />
|
|
132
|
-
*/
|
|
133
|
-
export declare const flipYOnView: (options?: ViewAnimationOptions) => AnimationProps;
|
|
134
|
-
/**
|
|
135
|
-
* Preset JSON configurations for common view animations
|
|
136
|
-
* Use with createViewAnimation() or animateOnView()
|
|
137
|
-
*/
|
|
138
|
-
export declare const viewAnimationPresets: Record<string, ViewAnimationConfig>;
|