aquasis-fe-components 3.2.4-alpha.1 → 3.2.4-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ags-bg-video-dark.mp4 +0 -0
- package/dist/assets/ags-bg-video-light.mp4 +0 -0
- package/dist/src/assets/agsPortalBackgroundVideos.d.ts +6 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/lib/AgsPortalBackgroundMedia/index.d.ts +1 -1
- package/dist/src/types/agsPortalBackground.d.ts +1 -3
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AgsPortalBackgroundMediaVideoSources } from '../types/agsPortalBackground';
|
|
2
|
+
/**
|
|
3
|
+
* Default hero video URLs. Source files live in `src/assets/` and are copied to `dist/assets/` on build.
|
|
4
|
+
* Host apps should serve `dist/assets/*.mp4` (e.g. copy to `public/assets/`) or pass `videoSources`.
|
|
5
|
+
*/
|
|
6
|
+
export declare const DEFAULT_AGS_PORTAL_BACKGROUND_VIDEO_SOURCES: AgsPortalBackgroundMediaVideoSources;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type * from './types/whatsNews';
|
|
|
14
14
|
export type { ProfileChipChildren, ProfileChipProps, ProfileEmbeddedUserModalProps, } from './types/profileChip';
|
|
15
15
|
export type { ProfileUser } from './types/profileUser';
|
|
16
16
|
export type { AgsPortalBackgroundMediaProps, AgsPortalBackgroundMediaStrength, AgsPortalBackgroundMediaVideoSources, AgsPortalBackgroundVariant, } from './types/agsPortalBackground';
|
|
17
|
-
export { DEFAULT_AGS_PORTAL_BACKGROUND_VIDEO_SOURCES } from './
|
|
17
|
+
export { DEFAULT_AGS_PORTAL_BACKGROUND_VIDEO_SOURCES } from './assets/agsPortalBackgroundVideos';
|
|
18
18
|
export { clearAquasisApiContext, getAquasisApiContext, replaceAquasisApiContext, setAquasisApiContext, } from './config/aquasisApiContext';
|
|
19
19
|
/** @deprecated ReleaseNote will be removed in the next major version. Use WhatsNews instead. */
|
|
20
20
|
export { useGetProfileUser } from './reactQuery';
|
|
@@ -5,7 +5,7 @@ import { AgsPortalBackgroundMediaProps } from '../../types/agsPortalBackground';
|
|
|
5
5
|
* Light veils: airy sky/teal mist. Dark: deep navy veils.
|
|
6
6
|
* Shared by auth shell and dashboard. Respects reduced motion (static gradient fallback).
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* Default MP4s are bundled from `src/assets`; override `videoSources` if needed. Toggle `html.dark` / `body.dark`.
|
|
9
9
|
*/
|
|
10
10
|
export declare const AgsPortalBackgroundMedia: FC<AgsPortalBackgroundMediaProps>;
|
|
11
11
|
export default AgsPortalBackgroundMedia;
|
|
@@ -5,8 +5,6 @@ export type AgsPortalBackgroundMediaVideoSources = {
|
|
|
5
5
|
light: string;
|
|
6
6
|
dark: string;
|
|
7
7
|
};
|
|
8
|
-
/** Default public asset paths (override per app when hosting videos elsewhere). */
|
|
9
|
-
export declare const DEFAULT_AGS_PORTAL_BACKGROUND_VIDEO_SOURCES: AgsPortalBackgroundMediaVideoSources;
|
|
10
8
|
export type AgsPortalBackgroundMediaProps = {
|
|
11
9
|
/**
|
|
12
10
|
* `video` — hero MP4 (dashboard default).
|
|
@@ -18,6 +16,6 @@ export type AgsPortalBackgroundMediaProps = {
|
|
|
18
16
|
* `strong` is used on dashboard to keep the video less transparent.
|
|
19
17
|
*/
|
|
20
18
|
mediaStrength?: AgsPortalBackgroundMediaStrength;
|
|
21
|
-
/** MP4
|
|
19
|
+
/** MP4 URLs for light/dark themes (defaults to bundled `src/assets` videos; override when hosting elsewhere). */
|
|
22
20
|
videoSources?: AgsPortalBackgroundMediaVideoSources;
|
|
23
21
|
};
|