@rankingcoach/vanguard 1.8.0 → 1.9.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/dist/index-CardMotion.config.js +159 -0
- package/dist/index-CardMotion.constants.js +23 -0
- package/dist/index-CardMotion.js +93 -0
- package/dist/index-CardMotion.module.scss.js +9 -0
- package/dist/index-ModalContext.js +37 -36
- package/dist/index-ModalTransition.js +9 -7
- package/dist/index-react-spring_animated.modern.js +6 -6
- package/dist/index-react-spring_core.modern.js +56 -54
- package/dist/index-react-spring_web.modern.js +9 -8
- package/dist/index.js +298 -296
- package/dist/types/core/CardMotion/CardMotion.config.d.ts +855 -0
- package/dist/types/core/CardMotion/CardMotion.constants.d.ts +20 -0
- package/dist/types/core/CardMotion/CardMotion.d.ts +3 -0
- package/dist/types/core/CardMotion/CardMotion.types.d.ts +60 -0
- package/dist/types/core/CardMotion/index.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/CustomMotion.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/Default.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/GlowIn.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/GlowPreset.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/Hoverable.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/StaggeredGlowGroup.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/VisibilityToggle.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/_CardMotion.default.d.ts +3 -0
- package/dist/types/core/Modal/ModalContext.d.ts +1 -0
- package/dist/types/core/Modal/stories/StackingPermutations.story.d.ts +71 -0
- package/dist/types/core/Modal/stories/TwoModalsOverlapping.story.d.ts +2 -0
- package/dist/types/core/Modal/stories/TwoModalsOverlappingDifferentAnimations.story.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist/vanguard.css +1 -1
- package/dist-wordpress/index.js +779 -773
- package/dist-wordpress/types/core/PageSection/GradientPrimaryMeshBackground.d.ts +1 -0
- package/dist-wordpress/types/core/PageSection/PageSection.d.ts +43 -0
- package/dist-wordpress/types/core/PageSection/index.d.ts +2 -0
- package/dist-wordpress/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GradientPrimaryMeshBackground: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { HeaderTypes } from '../Header';
|
|
2
|
+
import { TextReplacements } from '../Text';
|
|
3
|
+
import { default as React, RefObject } from 'react';
|
|
4
|
+
export declare enum PageSectionBackground {
|
|
5
|
+
frostedGlass = "frostedGlass",
|
|
6
|
+
functionalBg = "functionalBg",
|
|
7
|
+
transparent = "transparent",
|
|
8
|
+
gradientPrimaryMesh = "gradientPrimaryMesh",
|
|
9
|
+
gradientBgVarTop = "gradientBgVarTop",
|
|
10
|
+
gradientBgVarBottom = "gradientBgVarBottom"
|
|
11
|
+
}
|
|
12
|
+
export declare enum PageSectionRoundedEdges {
|
|
13
|
+
top = "top",
|
|
14
|
+
bottom = "bottom",
|
|
15
|
+
both = "both"
|
|
16
|
+
}
|
|
17
|
+
export type PageSectionInnerRef = RefObject<HTMLDivElement | null> | ((node?: Element | null | undefined) => void);
|
|
18
|
+
type PageSectionBaseProps = {
|
|
19
|
+
headerActionArea?: React.ReactNode;
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
testId?: string;
|
|
22
|
+
innerRef?: PageSectionInnerRef;
|
|
23
|
+
className?: string;
|
|
24
|
+
background?: PageSectionBackground;
|
|
25
|
+
roundedEdges?: PageSectionRoundedEdges;
|
|
26
|
+
noDefaultPadding?: boolean;
|
|
27
|
+
isVisible?: boolean;
|
|
28
|
+
};
|
|
29
|
+
export type PageSectionWithTitle = PageSectionBaseProps & {
|
|
30
|
+
title: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
replacements?: TextReplacements;
|
|
33
|
+
headerType?: HeaderTypes;
|
|
34
|
+
};
|
|
35
|
+
export type PageSectionWithoutTitle = PageSectionBaseProps & {
|
|
36
|
+
title?: undefined;
|
|
37
|
+
description?: never;
|
|
38
|
+
replacements?: never;
|
|
39
|
+
headerType?: never;
|
|
40
|
+
};
|
|
41
|
+
export type PageSectionProps = PageSectionWithTitle | PageSectionWithoutTitle;
|
|
42
|
+
export declare const PageSection: (props: PageSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export {};
|
|
@@ -56,6 +56,8 @@ export type { ComponentWithId, ModalOpts } from './core/Modal/ModalService.tsx';
|
|
|
56
56
|
export { ModalService } from './core/Modal/ModalService.tsx';
|
|
57
57
|
export type { PageSectionLoadingProps } from './common/PageSectionLoading/PageSectionLoading.tsx';
|
|
58
58
|
export { PageSectionLoading } from './common/PageSectionLoading/PageSectionLoading.tsx';
|
|
59
|
+
export type { PageSectionProps, PageSectionWithTitle, PageSectionWithoutTitle } from './core/PageSection';
|
|
60
|
+
export { PageSection, PageSectionBackground, PageSectionRoundedEdges } from './core/PageSection';
|
|
59
61
|
export type { PopoverPosition, PopoverProps, PopoverTheme } from './core/Popover/Popover.tsx';
|
|
60
62
|
export { Popover } from './core/Popover/Popover.tsx';
|
|
61
63
|
export type { RenderProps } from './core/Render/Render.tsx';
|