@equisoft/design-elements-react 10.2.1-snapshot.20260526132515 → 10.3.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/bundle.js +574 -507
- package/dist/components/global-header/global-header.d.ts +1 -1
- package/dist/components/global-header/index.d.ts +0 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/logo/index.d.ts +2 -0
- package/dist/components/{global-header → logo}/logo.d.ts +8 -6
- package/dist/components/promotional-banner/colors.d.ts +2 -0
- package/dist/components/promotional-banner/index.d.ts +2 -0
- package/dist/components/promotional-banner/promotional-banner.d.ts +9 -0
- package/dist/components/promotional-button/colors.d.ts +6 -0
- package/dist/components/promotional-button/index.d.ts +2 -0
- package/dist/components/promotional-button/promotional-button.d.ts +8 -0
- package/dist/i18n/translations.d.ts +6 -0
- package/dist/themes/equisoft.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import { type LogoName } from '../logo';
|
|
2
3
|
import { type SkipLinkProps } from '../skip-link';
|
|
3
|
-
import { LogoName } from './logo';
|
|
4
4
|
export interface GlobalHeaderProps {
|
|
5
5
|
/** Set the app name to get the proper logos */
|
|
6
6
|
appName?: LogoName;
|
|
@@ -32,6 +32,7 @@ export * from './icon';
|
|
|
32
32
|
export * from './label';
|
|
33
33
|
export * from './link';
|
|
34
34
|
export * from './listbox';
|
|
35
|
+
export * from './logo';
|
|
35
36
|
export * from './lozenge';
|
|
36
37
|
export * from './menu';
|
|
37
38
|
export * from './menu-button';
|
|
@@ -46,6 +47,8 @@ export * from './phone-input';
|
|
|
46
47
|
export * from './progress-circular';
|
|
47
48
|
export * from './progress-indicator';
|
|
48
49
|
export * from './progress-tracker';
|
|
50
|
+
export * from './promotional-banner';
|
|
51
|
+
export * from './promotional-button';
|
|
49
52
|
export * from './radio-button';
|
|
50
53
|
export * from './radio-button-group';
|
|
51
54
|
export * from './radio-card-group';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
declare const logoMapping: {
|
|
3
3
|
default: {
|
|
4
4
|
desktop: any;
|
|
@@ -28,6 +28,10 @@ declare const logoMapping: {
|
|
|
28
28
|
desktop: any;
|
|
29
29
|
mobile: any;
|
|
30
30
|
};
|
|
31
|
+
lifeguide: {
|
|
32
|
+
desktop: any;
|
|
33
|
+
mobile: any;
|
|
34
|
+
};
|
|
31
35
|
manage: {
|
|
32
36
|
desktop: any;
|
|
33
37
|
mobile: any;
|
|
@@ -38,12 +42,10 @@ declare const logoMapping: {
|
|
|
38
42
|
};
|
|
39
43
|
};
|
|
40
44
|
export type LogoName = keyof typeof logoMapping;
|
|
41
|
-
interface LogoProps {
|
|
45
|
+
export interface LogoProps {
|
|
46
|
+
className?: string;
|
|
42
47
|
name?: LogoName;
|
|
43
48
|
mobile?: boolean;
|
|
44
49
|
}
|
|
45
|
-
export declare const Logo:
|
|
46
|
-
({ name, mobile }: LogoProps): ReactElement | null;
|
|
47
|
-
displayName: string;
|
|
48
|
-
};
|
|
50
|
+
export declare const Logo: FC<LogoProps>;
|
|
49
51
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { type LogoName } from '../logo';
|
|
3
|
+
import { type PromotionalButtonProps } from '../promotional-button';
|
|
4
|
+
export interface PromotionalBannerProps {
|
|
5
|
+
button: PromotionalButtonProps;
|
|
6
|
+
logo: LogoName;
|
|
7
|
+
onDismiss?(): void;
|
|
8
|
+
}
|
|
9
|
+
export declare const PromotionalBanner: FC<PropsWithChildren<PromotionalBannerProps>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const gradientStart = "#cd2c23";
|
|
2
|
+
export declare const gradientStartHover = "#7b1a15";
|
|
3
|
+
export declare const gradientStartLoading = "#f99d99";
|
|
4
|
+
export declare const gradientEnd = "#006296";
|
|
5
|
+
export declare const gradientEndHover = "#003a5a";
|
|
6
|
+
export declare const gradientEndLoading = "#84c6ea";
|
|
@@ -100,6 +100,9 @@ export declare const Translations: {
|
|
|
100
100
|
completedAriaLabel: string;
|
|
101
101
|
uncompletedAriaLabel: string;
|
|
102
102
|
};
|
|
103
|
+
'promotional-banner': {
|
|
104
|
+
close: string;
|
|
105
|
+
};
|
|
103
106
|
'search-input': {
|
|
104
107
|
label: string;
|
|
105
108
|
};
|
|
@@ -248,6 +251,9 @@ export declare const Translations: {
|
|
|
248
251
|
completedAriaLabel: string;
|
|
249
252
|
uncompletedAriaLabel: string;
|
|
250
253
|
};
|
|
254
|
+
'promotional-banner': {
|
|
255
|
+
close: string;
|
|
256
|
+
};
|
|
251
257
|
'search-input': {
|
|
252
258
|
label: string;
|
|
253
259
|
};
|
package/package.json
CHANGED