@apolitical/component-library 4.5.8 → 4.5.9
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/index.js +3 -3
- package/index.mjs +22 -4
- package/package.json +1 -1
- package/style.css +1 -1
package/index.mjs
CHANGED
|
@@ -1077,7 +1077,7 @@ const xn = {
|
|
|
1077
1077
|
activitiesFeed_sorting_label: "Choose feed sorting method",
|
|
1078
1078
|
activitiesFeed_rankingMethod_recent: "Recent",
|
|
1079
1079
|
activitiesFeed_rankingMethod_popular: "Popular",
|
|
1080
|
-
activitiesFeed_rankingMethod_internalTesting: "
|
|
1080
|
+
activitiesFeed_rankingMethod_internalTesting: "Testing",
|
|
1081
1081
|
communityDetails_members: "Members",
|
|
1082
1082
|
communityDetails_viewAll: "View all",
|
|
1083
1083
|
communityDetails_invite: "Invite colleagues",
|
|
@@ -3918,7 +3918,17 @@ const Am = ({
|
|
|
3918
3918
|
},
|
|
3919
3919
|
hidden: !h,
|
|
3920
3920
|
...x,
|
|
3921
|
-
children: t == null ? void 0 : t.map((T) => /* @__PURE__ */ d.jsx(
|
|
3921
|
+
children: t == null ? void 0 : t.map((T) => /* @__PURE__ */ d.jsx(
|
|
3922
|
+
"option",
|
|
3923
|
+
{
|
|
3924
|
+
value: T.id,
|
|
3925
|
+
className: "gtm-trackable",
|
|
3926
|
+
"data-gtm-event-type": `${T.id}-click`,
|
|
3927
|
+
"data-gtm-event-context": i,
|
|
3928
|
+
children: T.label
|
|
3929
|
+
},
|
|
3930
|
+
T.id
|
|
3931
|
+
))
|
|
3922
3932
|
}
|
|
3923
3933
|
),
|
|
3924
3934
|
/* @__PURE__ */ d.jsxs(
|
|
@@ -3939,6 +3949,8 @@ const Am = ({
|
|
|
3939
3949
|
size: "small",
|
|
3940
3950
|
onClick: () => F("all"),
|
|
3941
3951
|
className: "gtm-trackable",
|
|
3952
|
+
"data-gtm-event-type": "all-click",
|
|
3953
|
+
"data-gtm-event-context": i,
|
|
3942
3954
|
children: c.formatMessage({ id: "dropdown_menu_multiselect_all" })
|
|
3943
3955
|
}
|
|
3944
3956
|
) }),
|
|
@@ -3949,6 +3961,8 @@ const Am = ({
|
|
|
3949
3961
|
size: "small",
|
|
3950
3962
|
onClick: () => F("none"),
|
|
3951
3963
|
className: "gtm-trackable",
|
|
3964
|
+
"data-gtm-event-type": "none-click",
|
|
3965
|
+
"data-gtm-event-context": i,
|
|
3952
3966
|
children: c.formatMessage({ id: "dropdown_menu_multiselect_none" })
|
|
3953
3967
|
}
|
|
3954
3968
|
) })
|
|
@@ -3963,7 +3977,7 @@ const Am = ({
|
|
|
3963
3977
|
selected: z,
|
|
3964
3978
|
"selected-single": z && !o
|
|
3965
3979
|
}),
|
|
3966
|
-
"data-gtm-event-type": `${T}-click`,
|
|
3980
|
+
"data-gtm-event-type": `${T.id}-click`,
|
|
3967
3981
|
"data-gtm-event-context": i,
|
|
3968
3982
|
onClick: (P) => {
|
|
3969
3983
|
P.preventDefault(), P.stopPropagation(), E(T);
|
|
@@ -22288,7 +22302,7 @@ function Zw({
|
|
|
22288
22302
|
queryKey: t,
|
|
22289
22303
|
queryFn: e,
|
|
22290
22304
|
initialPageParam: `ranking=${n}`,
|
|
22291
|
-
getNextPageParam: (l) => `${l == null ? void 0 : l.next}&ranking=${n}`
|
|
22305
|
+
getNextPageParam: (l) => l != null && l.next ? `${l == null ? void 0 : l.next}&ranking=${n}` : null
|
|
22292
22306
|
});
|
|
22293
22307
|
return {
|
|
22294
22308
|
activities: Jw(r),
|
|
@@ -22442,6 +22456,10 @@ const y_ = ({
|
|
|
22442
22456
|
initialValue: u,
|
|
22443
22457
|
functions: {
|
|
22444
22458
|
onChange: (M) => c(M)
|
|
22459
|
+
},
|
|
22460
|
+
gtm: {
|
|
22461
|
+
context: "Community Sorting",
|
|
22462
|
+
event: "community-sorting-click"
|
|
22445
22463
|
}
|
|
22446
22464
|
}
|
|
22447
22465
|
],
|