@lokalise/harmony 1.32.1 → 1.33.0-exp-louis-27.0.0.1
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/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony58.cjs +1 -18
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +1 -18
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony70.cjs +1 -1
- package/dist/harmony70.mjs +1 -1
- package/dist/harmony71.cjs +1 -1
- package/dist/harmony71.mjs +1 -1
- package/dist/harmony72.cjs +1 -1
- package/dist/harmony72.mjs +1 -1
- package/dist/harmony73.cjs +2 -2
- package/dist/harmony73.mjs +2 -2
- package/dist/harmony74.cjs +2 -2
- package/dist/harmony74.mjs +2 -2
- package/dist/harmony75.cjs +2 -2
- package/dist/harmony75.mjs +2 -2
- package/dist/harmony76.cjs +2 -2
- package/dist/harmony76.mjs +2 -2
- package/dist/harmony77.cjs +3 -3
- package/dist/harmony77.mjs +3 -3
- package/dist/harmony81.cjs +2 -2
- package/dist/harmony81.mjs +2 -2
- package/dist/harmony83.cjs +2 -2
- package/dist/harmony83.mjs +2 -2
- package/dist/harmony84.cjs +6 -12
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +5 -11
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +6 -9
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +6 -9
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +10 -12
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +9 -11
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +57 -21
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +56 -20
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +42 -6
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +41 -5
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +6 -10
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +5 -9
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +6 -6
- package/dist/harmony90.mjs +6 -6
- package/dist/harmony91.cjs +24 -57
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +23 -56
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +6 -42
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +5 -41
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +21 -5
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +21 -5
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +7 -4
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +7 -4
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +12 -24
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +11 -23
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +9 -3
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +9 -3
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +9 -19
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +11 -21
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +20 -11
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +20 -11
- package/dist/harmony98.mjs.map +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +3 -3
- package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -1
- package/dist/types/src/features/publicApi/permissionTemplates.d.ts +5 -5
- package/dist/types/src/features/publicApi/projects.d.ts +15 -15
- package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +8 -8
- package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +4 -4
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +15 -15
- package/package.json +2 -2
package/dist/harmony89.mjs
CHANGED
@@ -1,12 +1,8 @@
|
|
1
|
-
|
2
|
-
const
|
3
|
-
const
|
4
|
-
link,
|
5
|
-
active
|
6
|
-
};
|
1
|
+
import { useContext, createContext } from "react";
|
2
|
+
const ProfileMenuContext = createContext({});
|
3
|
+
const useProfileMenu = () => useContext(ProfileMenuContext);
|
7
4
|
export {
|
8
|
-
|
9
|
-
|
10
|
-
link
|
5
|
+
ProfileMenuContext,
|
6
|
+
useProfileMenu
|
11
7
|
};
|
12
8
|
//# sourceMappingURL=harmony89.mjs.map
|
package/dist/harmony89.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony89.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony89.mjs","sources":["../src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContext.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { SidebarProfileMenuContextProps } from './types'\n\nexport const ProfileMenuContext = createContext({} as SidebarProfileMenuContextProps)\n\nexport const useProfileMenu = () => useContext(ProfileMenuContext)\n"],"names":[],"mappings":";AAGa,MAAA,qBAAqB,cAAc,CAAoC,CAAA;AAEvE,MAAA,iBAAiB,MAAM,WAAW,kBAAkB;"}
|
package/dist/harmony90.cjs
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
4
|
-
const
|
3
|
+
const container = "_container_q5pot_1";
|
4
|
+
const profileEmail = "_profileEmail_q5pot_5";
|
5
5
|
const styles = {
|
6
|
-
|
7
|
-
|
6
|
+
container,
|
7
|
+
profileEmail
|
8
8
|
};
|
9
|
+
exports.container = container;
|
9
10
|
exports.default = styles;
|
10
|
-
exports.
|
11
|
-
exports.dropdownButtonActive = dropdownButtonActive;
|
11
|
+
exports.profileEmail = profileEmail;
|
12
12
|
//# sourceMappingURL=harmony90.cjs.map
|
package/dist/harmony90.mjs
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
const
|
2
|
-
const
|
1
|
+
const container = "_container_q5pot_1";
|
2
|
+
const profileEmail = "_profileEmail_q5pot_5";
|
3
3
|
const styles = {
|
4
|
-
|
5
|
-
|
4
|
+
container,
|
5
|
+
profileEmail
|
6
6
|
};
|
7
7
|
export {
|
8
|
+
container,
|
8
9
|
styles as default,
|
9
|
-
|
10
|
-
dropdownButtonActive
|
10
|
+
profileEmail
|
11
11
|
};
|
12
12
|
//# sourceMappingURL=harmony90.mjs.map
|
package/dist/harmony91.cjs
CHANGED
@@ -1,60 +1,27 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
const
|
7
|
-
const
|
8
|
-
const
|
9
|
-
const
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
isEndOfTrialActive,
|
19
|
-
isTeamSuspended,
|
20
|
-
isFullyAuthenticated
|
21
|
-
} = ProfileMenuContext.useProfileMenu();
|
22
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
23
|
-
louis.Menu,
|
24
|
-
{
|
25
|
-
menuButton: () => /* @__PURE__ */ jsxRuntime.jsxs("button", { className: ProfileMenuContent_module.default.profileButton, "aria-label": "Profile menu", type: "button", children: [
|
26
|
-
(currentTeam == null ? void 0 : currentTeam.logoUrl) ? /* @__PURE__ */ jsxRuntime.jsx(
|
27
|
-
"img",
|
28
|
-
{
|
29
|
-
src: currentTeam.logoUrl,
|
30
|
-
className: clsx.clsx(ProfileMenuContent_module.default.profileImage, {
|
31
|
-
[ProfileMenuContent_module.default.profileImageHighlight]: showUpgradeCta
|
32
|
-
}),
|
33
|
-
alt: "Team Logo"
|
34
|
-
}
|
35
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
36
|
-
"div",
|
37
|
-
{
|
38
|
-
className: clsx.clsx(ProfileMenuContent_module.default.userIconWrapper, "flex-row", "align-center", "items-center", {
|
39
|
-
[ProfileMenuContent_module.default.profileImageHighlight]: showUpgradeCta
|
40
|
-
}),
|
41
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(louis.UserIcon, { size: "25px" })
|
42
|
-
}
|
43
|
-
),
|
44
|
-
showUpgradeCta && /* @__PURE__ */ jsxRuntime.jsx(UpgradeIcon.UpgradeIcon, { className: ProfileMenuContent_module.default.profileImageUpgradeIcon })
|
45
|
-
] }),
|
46
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(louis.MenuList, { placement: "right-end", className: ProfileMenuContent_module.default.menuContainer, children: children({
|
47
|
-
allowTeamCreation,
|
48
|
-
otherTeams,
|
49
|
-
canAccessTeamSettings,
|
50
|
-
isEndOfTrialActive,
|
51
|
-
isTeamSuspended,
|
52
|
-
showBillingButton,
|
53
|
-
isProviderAlpha,
|
54
|
-
isFullyAuthenticated
|
55
|
-
}) })
|
56
|
-
}
|
57
|
-
);
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const wrapper = "_wrapper_1in7x_5";
|
4
|
+
const profileImage = "_profileImage_1in7x_11";
|
5
|
+
const teamDetails = "_teamDetails_1in7x_19";
|
6
|
+
const planWrapper = "_planWrapper_1in7x_28";
|
7
|
+
const teamName = "_teamName_1in7x_36";
|
8
|
+
const membership = "_membership_1in7x_53";
|
9
|
+
const defaultProfileImage = "_defaultProfileImage_1in7x_59";
|
10
|
+
const styles = {
|
11
|
+
wrapper,
|
12
|
+
profileImage,
|
13
|
+
teamDetails,
|
14
|
+
planWrapper,
|
15
|
+
teamName,
|
16
|
+
membership,
|
17
|
+
defaultProfileImage
|
58
18
|
};
|
59
|
-
exports.
|
19
|
+
exports.default = styles;
|
20
|
+
exports.defaultProfileImage = defaultProfileImage;
|
21
|
+
exports.membership = membership;
|
22
|
+
exports.planWrapper = planWrapper;
|
23
|
+
exports.profileImage = profileImage;
|
24
|
+
exports.teamDetails = teamDetails;
|
25
|
+
exports.teamName = teamName;
|
26
|
+
exports.wrapper = wrapper;
|
60
27
|
//# sourceMappingURL=harmony91.cjs.map
|
package/dist/harmony91.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony91.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony91.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony91.mjs
CHANGED
@@ -1,60 +1,27 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
const
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
isEndOfTrialActive,
|
17
|
-
isTeamSuspended,
|
18
|
-
isFullyAuthenticated
|
19
|
-
} = useProfileMenu();
|
20
|
-
return /* @__PURE__ */ jsx(
|
21
|
-
Menu,
|
22
|
-
{
|
23
|
-
menuButton: () => /* @__PURE__ */ jsxs("button", { className: styles.profileButton, "aria-label": "Profile menu", type: "button", children: [
|
24
|
-
(currentTeam == null ? void 0 : currentTeam.logoUrl) ? /* @__PURE__ */ jsx(
|
25
|
-
"img",
|
26
|
-
{
|
27
|
-
src: currentTeam.logoUrl,
|
28
|
-
className: clsx(styles.profileImage, {
|
29
|
-
[styles.profileImageHighlight]: showUpgradeCta
|
30
|
-
}),
|
31
|
-
alt: "Team Logo"
|
32
|
-
}
|
33
|
-
) : /* @__PURE__ */ jsx(
|
34
|
-
"div",
|
35
|
-
{
|
36
|
-
className: clsx(styles.userIconWrapper, "flex-row", "align-center", "items-center", {
|
37
|
-
[styles.profileImageHighlight]: showUpgradeCta
|
38
|
-
}),
|
39
|
-
children: /* @__PURE__ */ jsx(UserIcon, { size: "25px" })
|
40
|
-
}
|
41
|
-
),
|
42
|
-
showUpgradeCta && /* @__PURE__ */ jsx(UpgradeIcon, { className: styles.profileImageUpgradeIcon })
|
43
|
-
] }),
|
44
|
-
children: /* @__PURE__ */ jsx(MenuList, { placement: "right-end", className: styles.menuContainer, children: children({
|
45
|
-
allowTeamCreation,
|
46
|
-
otherTeams,
|
47
|
-
canAccessTeamSettings,
|
48
|
-
isEndOfTrialActive,
|
49
|
-
isTeamSuspended,
|
50
|
-
showBillingButton,
|
51
|
-
isProviderAlpha,
|
52
|
-
isFullyAuthenticated
|
53
|
-
}) })
|
54
|
-
}
|
55
|
-
);
|
1
|
+
const wrapper = "_wrapper_1in7x_5";
|
2
|
+
const profileImage = "_profileImage_1in7x_11";
|
3
|
+
const teamDetails = "_teamDetails_1in7x_19";
|
4
|
+
const planWrapper = "_planWrapper_1in7x_28";
|
5
|
+
const teamName = "_teamName_1in7x_36";
|
6
|
+
const membership = "_membership_1in7x_53";
|
7
|
+
const defaultProfileImage = "_defaultProfileImage_1in7x_59";
|
8
|
+
const styles = {
|
9
|
+
wrapper,
|
10
|
+
profileImage,
|
11
|
+
teamDetails,
|
12
|
+
planWrapper,
|
13
|
+
teamName,
|
14
|
+
membership,
|
15
|
+
defaultProfileImage
|
56
16
|
};
|
57
17
|
export {
|
58
|
-
|
18
|
+
styles as default,
|
19
|
+
defaultProfileImage,
|
20
|
+
membership,
|
21
|
+
planWrapper,
|
22
|
+
profileImage,
|
23
|
+
teamDetails,
|
24
|
+
teamName,
|
25
|
+
wrapper
|
59
26
|
};
|
60
27
|
//# sourceMappingURL=harmony91.mjs.map
|
package/dist/harmony91.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony91.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony91.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
package/dist/harmony92.cjs
CHANGED
@@ -1,45 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
const ProfileMenuContext = require("./harmony93.cjs");
|
7
|
-
const billingRoles = [
|
8
|
-
types.SidebarTeamRoles.biller,
|
9
|
-
types.SidebarTeamRoles.owner,
|
10
|
-
types.SidebarTeamRoles.admin
|
11
|
-
];
|
12
|
-
const teamSettingsRoles = [
|
13
|
-
types.SidebarTeamRoles.biller,
|
14
|
-
types.SidebarTeamRoles.owner,
|
15
|
-
types.SidebarTeamRoles.admin
|
16
|
-
];
|
17
|
-
const upgradeCtaRoles = [
|
18
|
-
types.SidebarTeamRoles.biller,
|
19
|
-
types.SidebarTeamRoles.owner
|
20
|
-
];
|
21
|
-
const ProfileMenuProvider = ({ children, config }) => {
|
22
|
-
const { teams, currentTeamId, planId, isEndOfTrialActive, isFullyAuthenticated, userTeamRole } = config;
|
23
|
-
const currentTeam = teams.find((t) => t.id === currentTeamId);
|
24
|
-
const otherTeams = teams.filter((t) => t.id !== currentTeamId);
|
25
|
-
const canChangeBilling = billingRoles.includes(userTeamRole);
|
26
|
-
const canAccessTeamSettings = teamSettingsRoles.includes(userTeamRole);
|
27
|
-
const isOnFreeOrTrialPlan = plan.isFreePlan(planId) || plan.isTrialPlan(planId);
|
28
|
-
const showUpgradeCta = isFullyAuthenticated && isOnFreeOrTrialPlan && upgradeCtaRoles.includes(userTeamRole);
|
29
|
-
const showBillingButton = isFullyAuthenticated && canAccessTeamSettings && canChangeBilling;
|
30
|
-
const allowTeamCreation = isFullyAuthenticated && !isEndOfTrialActive;
|
31
|
-
const providerValue = {
|
32
|
-
...config,
|
33
|
-
currentTeam,
|
34
|
-
otherTeams,
|
35
|
-
canChangeBilling,
|
36
|
-
canAccessTeamSettings,
|
37
|
-
isOnFreeOrTrialPlan,
|
38
|
-
showUpgradeCta,
|
39
|
-
showBillingButton,
|
40
|
-
allowTeamCreation
|
41
|
-
};
|
42
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ProfileMenuContext.ProfileMenuContext.Provider, { value: providerValue, children });
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const teamsContainer = "_teamsContainer_1ncrr_5";
|
4
|
+
const styles = {
|
5
|
+
teamsContainer
|
43
6
|
};
|
44
|
-
exports.
|
7
|
+
exports.default = styles;
|
8
|
+
exports.teamsContainer = teamsContainer;
|
45
9
|
//# sourceMappingURL=harmony92.cjs.map
|
package/dist/harmony92.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony92.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony92.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony92.mjs
CHANGED
@@ -1,45 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
import { ProfileMenuContext } from "./harmony93.mjs";
|
5
|
-
const billingRoles = [
|
6
|
-
SidebarTeamRoles.biller,
|
7
|
-
SidebarTeamRoles.owner,
|
8
|
-
SidebarTeamRoles.admin
|
9
|
-
];
|
10
|
-
const teamSettingsRoles = [
|
11
|
-
SidebarTeamRoles.biller,
|
12
|
-
SidebarTeamRoles.owner,
|
13
|
-
SidebarTeamRoles.admin
|
14
|
-
];
|
15
|
-
const upgradeCtaRoles = [
|
16
|
-
SidebarTeamRoles.biller,
|
17
|
-
SidebarTeamRoles.owner
|
18
|
-
];
|
19
|
-
const ProfileMenuProvider = ({ children, config }) => {
|
20
|
-
const { teams, currentTeamId, planId, isEndOfTrialActive, isFullyAuthenticated, userTeamRole } = config;
|
21
|
-
const currentTeam = teams.find((t) => t.id === currentTeamId);
|
22
|
-
const otherTeams = teams.filter((t) => t.id !== currentTeamId);
|
23
|
-
const canChangeBilling = billingRoles.includes(userTeamRole);
|
24
|
-
const canAccessTeamSettings = teamSettingsRoles.includes(userTeamRole);
|
25
|
-
const isOnFreeOrTrialPlan = isFreePlan(planId) || isTrialPlan(planId);
|
26
|
-
const showUpgradeCta = isFullyAuthenticated && isOnFreeOrTrialPlan && upgradeCtaRoles.includes(userTeamRole);
|
27
|
-
const showBillingButton = isFullyAuthenticated && canAccessTeamSettings && canChangeBilling;
|
28
|
-
const allowTeamCreation = isFullyAuthenticated && !isEndOfTrialActive;
|
29
|
-
const providerValue = {
|
30
|
-
...config,
|
31
|
-
currentTeam,
|
32
|
-
otherTeams,
|
33
|
-
canChangeBilling,
|
34
|
-
canAccessTeamSettings,
|
35
|
-
isOnFreeOrTrialPlan,
|
36
|
-
showUpgradeCta,
|
37
|
-
showBillingButton,
|
38
|
-
allowTeamCreation
|
39
|
-
};
|
40
|
-
return /* @__PURE__ */ jsx(ProfileMenuContext.Provider, { value: providerValue, children });
|
1
|
+
const teamsContainer = "_teamsContainer_1ncrr_5";
|
2
|
+
const styles = {
|
3
|
+
teamsContainer
|
41
4
|
};
|
42
5
|
export {
|
43
|
-
|
6
|
+
styles as default,
|
7
|
+
teamsContainer
|
44
8
|
};
|
45
9
|
//# sourceMappingURL=harmony92.mjs.map
|
package/dist/harmony92.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony92.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony92.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony93.cjs
CHANGED
@@ -1,8 +1,24 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
4
|
+
const louis = require("@lokalise/louis");
|
5
|
+
const clsx = require("./harmony66.cjs");
|
6
|
+
const UpgradeIcon_module = require("./harmony110.cjs");
|
7
|
+
const UpgradeIcon = ({ className = "" }) => {
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
9
|
+
"div",
|
10
|
+
{
|
11
|
+
"aria-label": "Upgrade Icon",
|
12
|
+
className: clsx.clsx(
|
13
|
+
UpgradeIcon_module.default.iconContainer,
|
14
|
+
"flex-row",
|
15
|
+
"items-center",
|
16
|
+
"justify-center",
|
17
|
+
className
|
18
|
+
),
|
19
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(louis.CaretUpIcon, {})
|
20
|
+
}
|
21
|
+
);
|
22
|
+
};
|
23
|
+
exports.UpgradeIcon = UpgradeIcon;
|
8
24
|
//# sourceMappingURL=harmony93.cjs.map
|
package/dist/harmony93.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony93.cjs","sources":["../src/components/Sidebar/
|
1
|
+
{"version":3,"file":"harmony93.cjs","sources":["../src/components/Sidebar/UpgradeIcon/UpgradeIcon.tsx"],"sourcesContent":["import { CaretUpIcon } from '@lokalise/louis'\nimport clsx from 'clsx'\nimport styles from './UpgradeIcon.module.css'\n\ntype UpgradeIconProps = {\n\tclassName?: string\n}\n\nexport const UpgradeIcon = ({ className = '' }: UpgradeIconProps) => {\n\treturn (\n\t\t<div\n\t\t\taria-label={'Upgrade Icon'}\n\t\t\tclassName={clsx(\n\t\t\t\tstyles.iconContainer,\n\t\t\t\t'flex-row',\n\t\t\t\t'items-center',\n\t\t\t\t'justify-center',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t<CaretUpIcon />\n\t\t</div>\n\t)\n}\n"],"names":["jsx","clsx","styles","CaretUpIcon"],"mappings":";;;;;;AAQO,MAAM,cAAc,CAAC,EAAE,YAAY,SAA2B;AAEnE,SAAAA,2BAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,cAAY;AAAA,MACZ,WAAWC,KAAA;AAAA,QACVC,mBAAAA,QAAO;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACD;AAAA,MAEA,yCAACC,MAAAA,aAAY,CAAA,CAAA;AAAA,IAAA;AAAA,EACd;AAEF;;"}
|
package/dist/harmony93.mjs
CHANGED
@@ -1,8 +1,24 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
2
|
+
import { CaretUpIcon } from "@lokalise/louis";
|
3
|
+
import { clsx } from "./harmony66.mjs";
|
4
|
+
import styles from "./harmony110.mjs";
|
5
|
+
const UpgradeIcon = ({ className = "" }) => {
|
6
|
+
return /* @__PURE__ */ jsx(
|
7
|
+
"div",
|
8
|
+
{
|
9
|
+
"aria-label": "Upgrade Icon",
|
10
|
+
className: clsx(
|
11
|
+
styles.iconContainer,
|
12
|
+
"flex-row",
|
13
|
+
"items-center",
|
14
|
+
"justify-center",
|
15
|
+
className
|
16
|
+
),
|
17
|
+
children: /* @__PURE__ */ jsx(CaretUpIcon, {})
|
18
|
+
}
|
19
|
+
);
|
20
|
+
};
|
4
21
|
export {
|
5
|
-
|
6
|
-
useProfileMenu
|
22
|
+
UpgradeIcon
|
7
23
|
};
|
8
24
|
//# sourceMappingURL=harmony93.mjs.map
|
package/dist/harmony93.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony93.mjs","sources":["../src/components/Sidebar/
|
1
|
+
{"version":3,"file":"harmony93.mjs","sources":["../src/components/Sidebar/UpgradeIcon/UpgradeIcon.tsx"],"sourcesContent":["import { CaretUpIcon } from '@lokalise/louis'\nimport clsx from 'clsx'\nimport styles from './UpgradeIcon.module.css'\n\ntype UpgradeIconProps = {\n\tclassName?: string\n}\n\nexport const UpgradeIcon = ({ className = '' }: UpgradeIconProps) => {\n\treturn (\n\t\t<div\n\t\t\taria-label={'Upgrade Icon'}\n\t\t\tclassName={clsx(\n\t\t\t\tstyles.iconContainer,\n\t\t\t\t'flex-row',\n\t\t\t\t'items-center',\n\t\t\t\t'justify-center',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t<CaretUpIcon />\n\t\t</div>\n\t)\n}\n"],"names":[],"mappings":";;;;AAQO,MAAM,cAAc,CAAC,EAAE,YAAY,SAA2B;AAEnE,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,cAAY;AAAA,MACZ,WAAW;AAAA,QACV,OAAO;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACD;AAAA,MAEA,8BAAC,aAAY,CAAA,CAAA;AAAA,IAAA;AAAA,EACd;AAEF;"}
|
package/dist/harmony94.cjs
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const container = "
|
4
|
-
const
|
3
|
+
const container = "_container_1u995_1";
|
4
|
+
const planCta = "_planCta_1u995_15";
|
5
|
+
const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
|
5
6
|
const styles = {
|
6
7
|
container,
|
7
|
-
|
8
|
+
planCta,
|
9
|
+
upgradeIconWrapper
|
8
10
|
};
|
9
11
|
exports.container = container;
|
10
12
|
exports.default = styles;
|
11
|
-
exports.
|
13
|
+
exports.planCta = planCta;
|
14
|
+
exports.upgradeIconWrapper = upgradeIconWrapper;
|
12
15
|
//# sourceMappingURL=harmony94.cjs.map
|
package/dist/harmony94.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony94.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony94.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/harmony94.mjs
CHANGED
@@ -1,12 +1,15 @@
|
|
1
|
-
const container = "
|
2
|
-
const
|
1
|
+
const container = "_container_1u995_1";
|
2
|
+
const planCta = "_planCta_1u995_15";
|
3
|
+
const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
|
3
4
|
const styles = {
|
4
5
|
container,
|
5
|
-
|
6
|
+
planCta,
|
7
|
+
upgradeIconWrapper
|
6
8
|
};
|
7
9
|
export {
|
8
10
|
container,
|
9
11
|
styles as default,
|
10
|
-
|
12
|
+
planCta,
|
13
|
+
upgradeIconWrapper
|
11
14
|
};
|
12
15
|
//# sourceMappingURL=harmony94.mjs.map
|
package/dist/harmony94.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony94.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony94.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony95.cjs
CHANGED
@@ -1,27 +1,15 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
teamDetails,
|
14
|
-
planWrapper,
|
15
|
-
teamName,
|
16
|
-
membership,
|
17
|
-
defaultProfileImage
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
4
|
+
const louis = require("@lokalise/louis");
|
5
|
+
const SortingIcon = ({ direction }) => {
|
6
|
+
if (direction === "asc") {
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(louis.SortAscendingIcon, { ariaLabel: "ascending sorting" });
|
8
|
+
}
|
9
|
+
if (direction === "desc") {
|
10
|
+
return /* @__PURE__ */ jsxRuntime.jsx(louis.SortDescendingIcon, { ariaLabel: "descending sorting" });
|
11
|
+
}
|
12
|
+
return /* @__PURE__ */ jsxRuntime.jsx(louis.SortIcon, { ariaLabel: "sorting" });
|
18
13
|
};
|
19
|
-
exports.
|
20
|
-
exports.defaultProfileImage = defaultProfileImage;
|
21
|
-
exports.membership = membership;
|
22
|
-
exports.planWrapper = planWrapper;
|
23
|
-
exports.profileImage = profileImage;
|
24
|
-
exports.teamDetails = teamDetails;
|
25
|
-
exports.teamName = teamName;
|
26
|
-
exports.wrapper = wrapper;
|
14
|
+
exports.SortingIcon = SortingIcon;
|
27
15
|
//# sourceMappingURL=harmony95.cjs.map
|
package/dist/harmony95.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony95.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony95.cjs","sources":["../src/components/Table/components/SortingIcon.tsx"],"sourcesContent":["import { SortAscendingIcon, SortDescendingIcon, SortIcon } from '@lokalise/louis'\nimport type { SortDirection } from '@tanstack/react-table'\n\ntype SortingIconProps = {\n\tdirection: SortDirection | false\n}\n\nexport const SortingIcon = ({ direction }: SortingIconProps) => {\n\tif (direction === 'asc') {\n\t\treturn <SortAscendingIcon ariaLabel=\"ascending sorting\" />\n\t}\n\tif (direction === 'desc') {\n\t\treturn <SortDescendingIcon ariaLabel=\"descending sorting\" />\n\t}\n\treturn <SortIcon ariaLabel=\"sorting\" />\n}\n"],"names":["jsx","SortAscendingIcon","SortDescendingIcon","SortIcon"],"mappings":";;;;AAOO,MAAM,cAAc,CAAC,EAAE,gBAAkC;AAC/D,MAAI,cAAc,OAAO;AACjB,WAAAA,2BAAA,IAACC,MAAkB,mBAAA,EAAA,WAAU,oBAAoB,CAAA;AAAA,EAAA;AAEzD,MAAI,cAAc,QAAQ;AAClB,WAAAD,2BAAA,IAACE,MAAmB,oBAAA,EAAA,WAAU,qBAAqB,CAAA;AAAA,EAAA;AAEpD,SAAAF,2BAAA,IAACG,MAAS,UAAA,EAAA,WAAU,UAAU,CAAA;AACtC;;"}
|
package/dist/harmony95.mjs
CHANGED
@@ -1,27 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
teamDetails,
|
12
|
-
planWrapper,
|
13
|
-
teamName,
|
14
|
-
membership,
|
15
|
-
defaultProfileImage
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
2
|
+
import { SortAscendingIcon, SortDescendingIcon, SortIcon } from "@lokalise/louis";
|
3
|
+
const SortingIcon = ({ direction }) => {
|
4
|
+
if (direction === "asc") {
|
5
|
+
return /* @__PURE__ */ jsx(SortAscendingIcon, { ariaLabel: "ascending sorting" });
|
6
|
+
}
|
7
|
+
if (direction === "desc") {
|
8
|
+
return /* @__PURE__ */ jsx(SortDescendingIcon, { ariaLabel: "descending sorting" });
|
9
|
+
}
|
10
|
+
return /* @__PURE__ */ jsx(SortIcon, { ariaLabel: "sorting" });
|
16
11
|
};
|
17
12
|
export {
|
18
|
-
|
19
|
-
defaultProfileImage,
|
20
|
-
membership,
|
21
|
-
planWrapper,
|
22
|
-
profileImage,
|
23
|
-
teamDetails,
|
24
|
-
teamName,
|
25
|
-
wrapper
|
13
|
+
SortingIcon
|
26
14
|
};
|
27
15
|
//# sourceMappingURL=harmony95.mjs.map
|
package/dist/harmony95.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony95.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony95.mjs","sources":["../src/components/Table/components/SortingIcon.tsx"],"sourcesContent":["import { SortAscendingIcon, SortDescendingIcon, SortIcon } from '@lokalise/louis'\nimport type { SortDirection } from '@tanstack/react-table'\n\ntype SortingIconProps = {\n\tdirection: SortDirection | false\n}\n\nexport const SortingIcon = ({ direction }: SortingIconProps) => {\n\tif (direction === 'asc') {\n\t\treturn <SortAscendingIcon ariaLabel=\"ascending sorting\" />\n\t}\n\tif (direction === 'desc') {\n\t\treturn <SortDescendingIcon ariaLabel=\"descending sorting\" />\n\t}\n\treturn <SortIcon ariaLabel=\"sorting\" />\n}\n"],"names":[],"mappings":";;AAOO,MAAM,cAAc,CAAC,EAAE,gBAAkC;AAC/D,MAAI,cAAc,OAAO;AACjB,WAAA,oBAAC,mBAAkB,EAAA,WAAU,oBAAoB,CAAA;AAAA,EAAA;AAEzD,MAAI,cAAc,QAAQ;AAClB,WAAA,oBAAC,oBAAmB,EAAA,WAAU,qBAAqB,CAAA;AAAA,EAAA;AAEpD,SAAA,oBAAC,UAAS,EAAA,WAAU,UAAU,CAAA;AACtC;"}
|
package/dist/harmony96.cjs
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
3
|
+
const headerSortButton = "_headerSortButton_b5tlh_1";
|
4
|
+
const centeredCell = "_centeredCell_b5tlh_15";
|
5
|
+
const rightAlignedCell = "_rightAlignedCell_b5tlh_19";
|
4
6
|
const styles = {
|
5
|
-
|
7
|
+
headerSortButton,
|
8
|
+
centeredCell,
|
9
|
+
rightAlignedCell
|
6
10
|
};
|
11
|
+
exports.centeredCell = centeredCell;
|
7
12
|
exports.default = styles;
|
8
|
-
exports.
|
13
|
+
exports.headerSortButton = headerSortButton;
|
14
|
+
exports.rightAlignedCell = rightAlignedCell;
|
9
15
|
//# sourceMappingURL=harmony96.cjs.map
|
package/dist/harmony96.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony96.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony96.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|