@rankingcoach/vanguard 1.7.0 → 1.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/dist/avatarIcons/listings/user.svg +5 -0
- package/dist/icons/Icon-document-active-1.svg +4 -0
- package/dist/icons/Icon-document-active.svg +4 -0
- package/dist/icons/Icon-list-active-1.svg +3 -0
- package/dist/icons/Icon-list-active.svg +3 -0
- package/dist/icons/Icon-manage-projects-active-1.svg +5 -0
- package/dist/icons/Icon-manage-projects-active.svg +5 -0
- package/dist/icons/Icon-rec-1.svg +3 -0
- package/dist/icons/Icon-save-active-1.svg +4 -0
- package/dist/icons/Icon-save-active.svg +4 -0
- package/dist/icons/Icon-sepa-active-1.svg +6 -0
- package/dist/icons/Icon-sepa-active.svg +5 -0
- package/dist/icons/Icon-user-active-1.svg +4 -0
- package/dist/icons/Icon-user-active.svg +4 -0
- package/dist/index-Avatar.enum.js +3 -1
- package/dist/index-Avatar.js +18 -19
- package/dist/index-DateInput.js +4 -4
- package/dist/index-Icon-document-active-1.svg.js +4 -0
- package/dist/index-Icon-document-active.svg.js +4 -0
- package/dist/index-Icon-list-active-1.svg.js +4 -0
- package/dist/index-Icon-list-active.svg.js +4 -0
- package/dist/index-Icon-manage-projects-active-1.svg.js +4 -0
- package/dist/index-Icon-manage-projects-active.svg.js +4 -0
- package/dist/index-Icon-rec-1.svg.js +4 -0
- package/dist/index-Icon-save-active-1.svg.js +4 -0
- package/dist/index-Icon-save-active.svg.js +4 -0
- package/dist/index-Icon-sepa-active-1.svg.js +4 -0
- package/dist/index-Icon-sepa-active.svg.js +4 -0
- package/dist/index-Icon-user-active-1.svg.js +4 -0
- package/dist/index-Icon-user-active.svg.js +4 -0
- package/dist/index-IconNames.js +1 -1
- package/dist/index-InputRangeField.js +1 -1
- package/dist/index-MenuItem.js +31 -29
- package/dist/index-Month.js +2 -2
- package/dist/index-TabsCustomScroll.js +16 -16
- package/dist/index-TabsCustomScroll.module.scss.js +4 -2
- package/dist/index-_virtual69.js +2 -2
- package/dist/index-_virtual70.js +2 -4
- package/dist/index-_virtual71.js +4 -2
- package/dist/index-_virtual72.js +2 -4
- package/dist/index-_virtual73.js +1 -1
- package/dist/index-_virtual74.js +1 -1
- package/dist/index-_virtual75.js +4 -2
- package/dist/index-_virtual76.js +2 -2
- package/dist/index-accessibility.js +1 -1
- package/dist/index-cjs.js +1 -1
- package/dist/index-lib5.js +1 -1
- package/dist/index-use-dynamic-import.js +17 -3
- package/dist/index-user.svg.js +4 -0
- package/dist/types/core/Avatar/Avatar.d.ts +1 -6
- package/dist/types/core/Avatar/stories/WithIconThenImage.story.d.ts +2 -0
- package/dist/types/core/Avatar/stories/WithUserIcon.story.d.ts +2 -0
- package/dist/types/core/Icon/IconNames.d.ts +6 -0
- package/dist/types/core/MenuItem/MenuItem.d.ts +2 -1
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist/vanguard.css +1 -1
- package/dist-wordpress/Icon-document-active-1-BNbAelSx.mjs +4 -0
- package/dist-wordpress/Icon-document-active-C1Pow12T.mjs +4 -0
- package/dist-wordpress/Icon-list-active-1-CMWBBljn.mjs +4 -0
- package/dist-wordpress/Icon-list-active-DLyP-KM_.mjs +4 -0
- package/dist-wordpress/Icon-manage-projects-active-1-5GrLM5Rt.mjs +4 -0
- package/dist-wordpress/Icon-manage-projects-active-jzJITd2J.mjs +4 -0
- package/dist-wordpress/Icon-rec-1-BmhIaa9j.mjs +4 -0
- package/dist-wordpress/Icon-save-active-1-BXIn4M60.mjs +4 -0
- package/dist-wordpress/Icon-save-active-sukwIFSJ.mjs +4 -0
- package/dist-wordpress/Icon-sepa-active-1-CQz_LpKA.mjs +4 -0
- package/dist-wordpress/Icon-sepa-active-BcmATS7C.mjs +4 -0
- package/dist-wordpress/Icon-user-active-1-CB2diJDq.mjs +4 -0
- package/dist-wordpress/Icon-user-active-BX075VMi.mjs +4 -0
- package/dist-wordpress/index.js +1084 -1069
- package/dist-wordpress/vanguard.css +1 -1
- package/package.json +44 -44
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState as p, useEffect as d } from "react";
|
|
2
2
|
import { of as l } from "./index-of.js";
|
|
3
|
-
import { catchError as
|
|
4
|
-
import { shareReplay as
|
|
3
|
+
import { catchError as c } from "./index-catchError.js";
|
|
4
|
+
import { shareReplay as f } from "./index-shareReplay.js";
|
|
5
5
|
const r = /* @__PURE__ */ Object.assign({
|
|
6
6
|
"./assets/Icon-slide-h.svg": () => import("./index-Icon-slide-h.svg.js").then((s) => s.default),
|
|
7
7
|
"./assets/QuoteMarks.svg": () => import("./index-QuoteMarks.svg.js").then((s) => s.default),
|
|
@@ -326,6 +326,7 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
326
326
|
"./assets/avatarIcons/listings/unternehmensauskunft_com.svg": () => import("./index-unternehmensauskunft_com.svg.js").then((s) => s.default),
|
|
327
327
|
"./assets/avatarIcons/listings/us_info_com.svg": () => import("./index-us_info_com.svg.js").then((s) => s.default),
|
|
328
328
|
"./assets/avatarIcons/listings/uscity.svg": () => import("./index-uscity.svg.js").then((s) => s.default),
|
|
329
|
+
"./assets/avatarIcons/listings/user.svg": () => import("./index-user.svg.js").then((s) => s.default),
|
|
329
330
|
"./assets/avatarIcons/listings/virgilio.svg": () => import("./index-virgilio.svg.js").then((s) => s.default),
|
|
330
331
|
"./assets/avatarIcons/listings/vitals.svg": () => import("./index-vitals.svg.js").then((s) => s.default),
|
|
331
332
|
"./assets/avatarIcons/listings/vres_gr.svg": () => import("./index-vres_gr.svg.js").then((s) => s.default),
|
|
@@ -738,6 +739,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
738
739
|
"./assets/icons/Icon-directions-1.svg": () => import("./index-Icon-directions-1.svg.js").then((s) => s.default),
|
|
739
740
|
"./assets/icons/Icon-directions.svg": () => import("./index-Icon-directions.svg.js").then((s) => s.default),
|
|
740
741
|
"./assets/icons/Icon-document-1.svg": () => import("./index-Icon-document-1.svg.js").then((s) => s.default),
|
|
742
|
+
"./assets/icons/Icon-document-active-1.svg": () => import("./index-Icon-document-active-1.svg.js").then((s) => s.default),
|
|
743
|
+
"./assets/icons/Icon-document-active.svg": () => import("./index-Icon-document-active.svg.js").then((s) => s.default),
|
|
741
744
|
"./assets/icons/Icon-document.svg": () => import("./index-Icon-document.svg.js").then((s) => s.default),
|
|
742
745
|
"./assets/icons/Icon-download-1.svg": () => import("./index-Icon-download-1.svg.js").then((s) => s.default),
|
|
743
746
|
"./assets/icons/Icon-download.svg": () => import("./index-Icon-download.svg.js").then((s) => s.default),
|
|
@@ -800,6 +803,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
800
803
|
"./assets/icons/Icon-linkedin-1.svg": () => import("./index-Icon-linkedin-1.svg.js").then((s) => s.default),
|
|
801
804
|
"./assets/icons/Icon-linkedin.svg": () => import("./index-Icon-linkedin.svg.js").then((s) => s.default),
|
|
802
805
|
"./assets/icons/Icon-list-1.svg": () => import("./index-Icon-list-1.svg.js").then((s) => s.default),
|
|
806
|
+
"./assets/icons/Icon-list-active-1.svg": () => import("./index-Icon-list-active-1.svg.js").then((s) => s.default),
|
|
807
|
+
"./assets/icons/Icon-list-active.svg": () => import("./index-Icon-list-active.svg.js").then((s) => s.default),
|
|
803
808
|
"./assets/icons/Icon-list.svg": () => import("./index-Icon-list.svg.js").then((s) => s.default),
|
|
804
809
|
"./assets/icons/Icon-location-1.svg": () => import("./index-Icon-location-1.svg.js").then((s) => s.default),
|
|
805
810
|
"./assets/icons/Icon-location.svg": () => import("./index-Icon-location.svg.js").then((s) => s.default),
|
|
@@ -816,6 +821,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
816
821
|
"./assets/icons/Icon-mail-1.svg": () => import("./index-Icon-mail-1.svg.js").then((s) => s.default),
|
|
817
822
|
"./assets/icons/Icon-mail.svg": () => import("./index-Icon-mail.svg.js").then((s) => s.default),
|
|
818
823
|
"./assets/icons/Icon-manage-projects-1.svg": () => import("./index-Icon-manage-projects-1.svg.js").then((s) => s.default),
|
|
824
|
+
"./assets/icons/Icon-manage-projects-active-1.svg": () => import("./index-Icon-manage-projects-active-1.svg.js").then((s) => s.default),
|
|
825
|
+
"./assets/icons/Icon-manage-projects-active.svg": () => import("./index-Icon-manage-projects-active.svg.js").then((s) => s.default),
|
|
819
826
|
"./assets/icons/Icon-manage-projects.svg": () => import("./index-Icon-manage-projects.svg.js").then((s) => s.default),
|
|
820
827
|
"./assets/icons/Icon-maps-1.svg": () => import("./index-Icon-maps-1.svg.js").then((s) => s.default),
|
|
821
828
|
"./assets/icons/Icon-maps.svg": () => import("./index-Icon-maps.svg.js").then((s) => s.default),
|
|
@@ -875,6 +882,7 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
875
882
|
"./assets/icons/Icon-queries-target.svg": () => import("./index-Icon-queries-target.svg.js").then((s) => s.default),
|
|
876
883
|
"./assets/icons/Icon-question-1.svg": () => import("./index-Icon-question-1.svg.js").then((s) => s.default),
|
|
877
884
|
"./assets/icons/Icon-question.svg": () => import("./index-Icon-question.svg.js").then((s) => s.default),
|
|
885
|
+
"./assets/icons/Icon-rec-1.svg": () => import("./index-Icon-rec-1.svg.js").then((s) => s.default),
|
|
878
886
|
"./assets/icons/Icon-rec.svg": () => import("./index-Icon-rec.svg.js").then((s) => s.default),
|
|
879
887
|
"./assets/icons/Icon-refresh-1.svg": () => import("./index-Icon-refresh-1.svg.js").then((s) => s.default),
|
|
880
888
|
"./assets/icons/Icon-refresh.svg": () => import("./index-Icon-refresh.svg.js").then((s) => s.default),
|
|
@@ -885,6 +893,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
885
893
|
"./assets/icons/Icon-rewrite-1.svg": () => import("./index-Icon-rewrite-1.svg.js").then((s) => s.default),
|
|
886
894
|
"./assets/icons/Icon-rewrite.svg": () => import("./index-Icon-rewrite.svg.js").then((s) => s.default),
|
|
887
895
|
"./assets/icons/Icon-save-1.svg": () => import("./index-Icon-save-1.svg.js").then((s) => s.default),
|
|
896
|
+
"./assets/icons/Icon-save-active-1.svg": () => import("./index-Icon-save-active-1.svg.js").then((s) => s.default),
|
|
897
|
+
"./assets/icons/Icon-save-active.svg": () => import("./index-Icon-save-active.svg.js").then((s) => s.default),
|
|
888
898
|
"./assets/icons/Icon-save.svg": () => import("./index-Icon-save.svg.js").then((s) => s.default),
|
|
889
899
|
"./assets/icons/Icon-search-1.svg": () => import("./index-Icon-search-1.svg.js").then((s) => s.default),
|
|
890
900
|
"./assets/icons/Icon-search-engines-1.svg": () => import("./index-Icon-search-engines-1.svg.js").then((s) => s.default),
|
|
@@ -895,6 +905,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
895
905
|
"./assets/icons/Icon-send-1.svg": () => import("./index-Icon-send-1.svg.js").then((s) => s.default),
|
|
896
906
|
"./assets/icons/Icon-send.svg": () => import("./index-Icon-send.svg.js").then((s) => s.default),
|
|
897
907
|
"./assets/icons/Icon-sepa-1.svg": () => import("./index-Icon-sepa-1.svg.js").then((s) => s.default),
|
|
908
|
+
"./assets/icons/Icon-sepa-active-1.svg": () => import("./index-Icon-sepa-active-1.svg.js").then((s) => s.default),
|
|
909
|
+
"./assets/icons/Icon-sepa-active.svg": () => import("./index-Icon-sepa-active.svg.js").then((s) => s.default),
|
|
898
910
|
"./assets/icons/Icon-sepa.svg": () => import("./index-Icon-sepa.svg.js").then((s) => s.default),
|
|
899
911
|
"./assets/icons/Icon-settings-1.svg": () => import("./index-Icon-settings-1.svg.js").then((s) => s.default),
|
|
900
912
|
"./assets/icons/Icon-settings-active-1.svg": () => import("./index-Icon-settings-active-1.svg.js").then((s) => s.default),
|
|
@@ -943,6 +955,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
943
955
|
"./assets/icons/Icon-upload-1.svg": () => import("./index-Icon-upload-1.svg.js").then((s) => s.default),
|
|
944
956
|
"./assets/icons/Icon-upload.svg": () => import("./index-Icon-upload.svg.js").then((s) => s.default),
|
|
945
957
|
"./assets/icons/Icon-user-1.svg": () => import("./index-Icon-user-1.svg.js").then((s) => s.default),
|
|
958
|
+
"./assets/icons/Icon-user-active-1.svg": () => import("./index-Icon-user-active-1.svg.js").then((s) => s.default),
|
|
959
|
+
"./assets/icons/Icon-user-active.svg": () => import("./index-Icon-user-active.svg.js").then((s) => s.default),
|
|
946
960
|
"./assets/icons/Icon-user-round-1.svg": () => import("./index-Icon-user-round-1.svg.js").then((s) => s.default),
|
|
947
961
|
"./assets/icons/Icon-user-round.svg": () => import("./index-Icon-user-round.svg.js").then((s) => s.default),
|
|
948
962
|
"./assets/icons/Icon-user.svg": () => import("./index-Icon-user.svg.js").then((s) => s.default),
|
|
@@ -989,7 +1003,7 @@ async function m(s) {
|
|
|
989
1003
|
}
|
|
990
1004
|
function v(s) {
|
|
991
1005
|
if (!o.has(s)) {
|
|
992
|
-
const t = l(s).pipe(
|
|
1006
|
+
const t = l(s).pipe(c(() => l("")), f(1));
|
|
993
1007
|
o.set(s, t);
|
|
994
1008
|
}
|
|
995
1009
|
return o.get(s);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='128'%20height='128'%20rx='64'%20fill='var(--n100)'/%3e%3cpath%20d='M85.2%2085.6C102.823%2085.6%20117%2099.7775%20117%20117.4V128H11V117.4C11%2099.7775%2025.1775%2085.6%2042.8%2085.6H85.2Z'%20fill='var(--brand-color)'/%3e%3cpath%20d='M64%2022C78.575%2022%2090.5%2033.925%2090.5%2048.5C90.5%2063.075%2078.575%2075%2064%2075C49.425%2075%2037.5%2063.075%2037.5%2048.5C37.5%2033.925%2049.425%2022%2064%2022Z'%20fill='var(--brand-color)'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -12,14 +12,9 @@ type BaseAvatarProps = {
|
|
|
12
12
|
translate?: boolean;
|
|
13
13
|
clearIcon?: string;
|
|
14
14
|
};
|
|
15
|
-
type
|
|
16
|
-
image?: null;
|
|
15
|
+
export type AvatarProps = BaseAvatarProps & {
|
|
17
16
|
icon?: AvatarIcon | string;
|
|
18
|
-
};
|
|
19
|
-
type AvatarPropsWithImage = BaseAvatarProps & {
|
|
20
|
-
icon?: null;
|
|
21
17
|
image?: string;
|
|
22
18
|
};
|
|
23
|
-
export type AvatarProps = AvatarPropsWithIcon | AvatarPropsWithImage;
|
|
24
19
|
export declare const Avatar: (props: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
20
|
export {};
|
|
@@ -11,8 +11,10 @@ export declare enum IconNames {
|
|
|
11
11
|
help = "help",
|
|
12
12
|
add = "add",
|
|
13
13
|
save = "save",
|
|
14
|
+
saveActive = "save-active",
|
|
14
15
|
login = "login",
|
|
15
16
|
user = "user",
|
|
17
|
+
userActive = "user-active",
|
|
16
18
|
settings = "settings",
|
|
17
19
|
settingsActive = "settings-active",
|
|
18
20
|
link = "link",
|
|
@@ -35,6 +37,7 @@ export declare enum IconNames {
|
|
|
35
37
|
prize = "prize",
|
|
36
38
|
bulletList = "bullet-list",
|
|
37
39
|
list = "list",
|
|
40
|
+
listActive = "list-active",
|
|
38
41
|
socialMedia = "social-media",
|
|
39
42
|
socialMediaActive = "social-media-active",
|
|
40
43
|
gAds = "g-ads",
|
|
@@ -51,6 +54,7 @@ export declare enum IconNames {
|
|
|
51
54
|
browser = "browser",
|
|
52
55
|
browserActive = "browser-active",
|
|
53
56
|
manageProjects = "manage-projects",
|
|
57
|
+
manageProjectsActive = "manage-projects-active",
|
|
54
58
|
lock = "lock",
|
|
55
59
|
lockOpen = "lock-open",
|
|
56
60
|
notification = "notification",
|
|
@@ -70,6 +74,7 @@ export declare enum IconNames {
|
|
|
70
74
|
arrowDown = "arrow-down",
|
|
71
75
|
wizard = "wizard",
|
|
72
76
|
document = "document",
|
|
77
|
+
documentActive = "document-active",
|
|
73
78
|
api = "api",
|
|
74
79
|
visibility = "visibility",
|
|
75
80
|
card = "card",
|
|
@@ -91,6 +96,7 @@ export declare enum IconNames {
|
|
|
91
96
|
bank = "bank",
|
|
92
97
|
newTab = "new-tab",
|
|
93
98
|
sepa = "sepa",
|
|
99
|
+
sepaActive = "sepa-active",
|
|
94
100
|
pause = "pause",
|
|
95
101
|
details = "details",
|
|
96
102
|
qAnalysis = "q-analysis",
|
|
@@ -10,5 +10,6 @@ export type MenuItemProps = {
|
|
|
10
10
|
icon?: IconNames;
|
|
11
11
|
iconProps?: Omit<IconProps, 'children'>;
|
|
12
12
|
iconPosition?: MenuItemIconPosition;
|
|
13
|
+
useActiveIcon?: boolean;
|
|
13
14
|
} & Omit<MuiMenuItemProps, 'className'>;
|
|
14
|
-
export declare const MenuItem: ({ testId, className, children, textType, icon, iconProps, iconPosition, ...rest }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const MenuItem: ({ testId, className, children, textType, icon, iconProps, iconPosition, useActiveIcon, ...rest }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|