@lokalise/harmony 1.29.0 → 1.29.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/harmony100.cjs +40 -12
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +39 -11
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +59 -4
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +60 -5
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +6 -39
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +6 -39
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +21 -60
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +20 -59
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +5 -6
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +5 -6
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony106.cjs +1 -1
- package/dist/harmony106.mjs +1 -1
- package/dist/harmony107.cjs +1 -1
- package/dist/harmony107.mjs +1 -1
- package/dist/harmony109.cjs +1 -1
- package/dist/harmony109.mjs +1 -1
- package/dist/harmony12.cjs +3 -2
- package/dist/harmony12.cjs.map +1 -1
- package/dist/harmony12.mjs +3 -2
- package/dist/harmony12.mjs.map +1 -1
- package/dist/harmony120.cjs +1 -1
- package/dist/harmony120.mjs +1 -1
- package/dist/harmony123.cjs +1 -1
- package/dist/harmony123.mjs +1 -1
- package/dist/harmony125.cjs +3 -3
- package/dist/harmony125.mjs +3 -3
- package/dist/harmony127.cjs +11 -5
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +11 -5
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +31 -11
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +31 -11
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +10 -28
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +10 -28
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +5 -13
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +5 -13
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +1 -1
- package/dist/harmony131.mjs +1 -1
- package/dist/harmony68.cjs +1 -1
- package/dist/harmony68.mjs +1 -1
- package/dist/harmony69.cjs +1 -1
- package/dist/harmony69.mjs +1 -1
- package/dist/harmony70.cjs +1 -1
- package/dist/harmony70.mjs +1 -1
- package/dist/harmony71.cjs +2 -2
- package/dist/harmony71.mjs +2 -2
- package/dist/harmony72.cjs +2 -2
- package/dist/harmony72.mjs +2 -2
- 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 +3 -3
- package/dist/harmony75.mjs +3 -3
- package/dist/harmony76.cjs +6 -6
- package/dist/harmony76.mjs +6 -6
- package/dist/harmony79.cjs +2 -2
- package/dist/harmony79.mjs +2 -2
- package/dist/harmony81.cjs +12 -7
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +11 -6
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +20 -8
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +20 -8
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +3 -6
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +3 -6
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +9 -57
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +8 -56
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +9 -33
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +8 -32
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +57 -5
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +57 -5
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +33 -9
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +32 -8
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +6 -25
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +5 -24
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +6 -3
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +6 -3
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +24 -21
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +23 -20
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +3 -9
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +3 -9
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +19 -9
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +21 -11
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +11 -20
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +11 -20
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony97.cjs +132 -21
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +131 -20
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +12 -6
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +11 -5
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +5 -132
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +5 -132
- package/dist/harmony99.mjs.map +1 -1
- package/package.json +1 -1
package/dist/harmony68.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
|
-
const Avatar_module = require("./
|
4
|
+
const Avatar_module = require("./harmony83.cjs");
|
5
5
|
const Avatar = ({
|
6
6
|
src,
|
7
7
|
href = "/",
|
package/dist/harmony68.mjs
CHANGED
package/dist/harmony69.cjs
CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
4
|
const louis = require("@lokalise/louis");
|
5
5
|
const clsx = require("./harmony64.cjs");
|
6
|
-
const IconLink_module = require("./
|
6
|
+
const IconLink_module = require("./harmony84.cjs");
|
7
7
|
const IconLink = ({ label, to, icon: Icon }) => {
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(louis.Tooltip, { placement: "right", tooltip: label, children: /* @__PURE__ */ jsxRuntime.jsx(
|
9
9
|
louis.Link,
|
package/dist/harmony69.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
2
|
import { Tooltip, Link } from "@lokalise/louis";
|
3
3
|
import { clsx } from "./harmony64.mjs";
|
4
|
-
import styles from "./
|
4
|
+
import styles from "./harmony84.mjs";
|
5
5
|
const IconLink = ({ label, to, icon: Icon }) => {
|
6
6
|
return /* @__PURE__ */ jsx(Tooltip, { placement: "right", tooltip: label, children: /* @__PURE__ */ jsx(
|
7
7
|
Link,
|
package/dist/harmony70.cjs
CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
4
|
const louis = require("@lokalise/louis");
|
5
5
|
const clsx = require("./harmony64.cjs");
|
6
|
-
const Menu_module = require("./
|
6
|
+
const Menu_module = require("./harmony85.cjs");
|
7
7
|
const Menu = ({ children, icon: Icon }) => {
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
9
9
|
louis.Menu,
|
package/dist/harmony70.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
2
|
import { Menu as Menu$1, MenuList, Tooltip } from "@lokalise/louis";
|
3
3
|
import { clsx } from "./harmony64.mjs";
|
4
|
-
import styles from "./
|
4
|
+
import styles from "./harmony85.mjs";
|
5
5
|
const Menu = ({ children, icon: Icon }) => {
|
6
6
|
return /* @__PURE__ */ jsx(
|
7
7
|
Menu$1,
|
package/dist/harmony71.cjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
|
-
const ProfileMenuContent = require("./
|
5
|
-
const ProfileMenuProvider = require("./
|
4
|
+
const ProfileMenuContent = require("./harmony86.cjs");
|
5
|
+
const ProfileMenuProvider = require("./harmony87.cjs");
|
6
6
|
const ProfileMenu = ({ config, children }) => /* @__PURE__ */ jsxRuntime.jsx(ProfileMenuProvider.ProfileMenuProvider, { config, children: /* @__PURE__ */ jsxRuntime.jsx(ProfileMenuContent.ProfileMenuContent, { children }) });
|
7
7
|
exports.ProfileMenu = ProfileMenu;
|
8
8
|
//# sourceMappingURL=harmony71.cjs.map
|
package/dist/harmony71.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { ProfileMenuContent } from "./
|
3
|
-
import { ProfileMenuProvider } from "./
|
2
|
+
import { ProfileMenuContent } from "./harmony86.mjs";
|
3
|
+
import { ProfileMenuProvider } from "./harmony87.mjs";
|
4
4
|
const ProfileMenu = ({ config, children }) => /* @__PURE__ */ jsx(ProfileMenuProvider, { config, children: /* @__PURE__ */ jsx(ProfileMenuContent, { children }) });
|
5
5
|
export {
|
6
6
|
ProfileMenu
|
package/dist/harmony72.cjs
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
4
|
const louis = require("@lokalise/louis");
|
5
|
-
const ProfileMenuContext = require("./
|
6
|
-
const ProfileSettingsMenuItem_module = require("./
|
5
|
+
const ProfileMenuContext = require("./harmony88.cjs");
|
6
|
+
const ProfileSettingsMenuItem_module = require("./harmony89.cjs");
|
7
7
|
const ProfileSettingsMenuItem = ({
|
8
8
|
href,
|
9
9
|
onClick,
|
package/dist/harmony72.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
2
2
|
import { MenuItem, MenuDivider } from "@lokalise/louis";
|
3
|
-
import { useProfileMenu } from "./
|
4
|
-
import styles from "./
|
3
|
+
import { useProfileMenu } from "./harmony88.mjs";
|
4
|
+
import styles from "./harmony89.mjs";
|
5
5
|
const ProfileSettingsMenuItem = ({
|
6
6
|
href,
|
7
7
|
onClick,
|
package/dist/harmony73.cjs
CHANGED
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
4
|
const louis = require("@lokalise/louis");
|
5
5
|
const plan = require("./harmony7.cjs");
|
6
|
-
const ProfileMenuContext = require("./
|
7
|
-
const TeamMenuItem_module = require("./
|
6
|
+
const ProfileMenuContext = require("./harmony88.cjs");
|
7
|
+
const TeamMenuItem_module = require("./harmony90.cjs");
|
8
8
|
const TeamMenuItem = ({ team, onClick, hidePlanLabel }) => {
|
9
9
|
const { currentTeam, planId } = ProfileMenuContext.useProfileMenu();
|
10
10
|
const contextTeam = team || currentTeam;
|
package/dist/harmony73.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
2
2
|
import { MenuItem, UserIcon } from "@lokalise/louis";
|
3
3
|
import { isFreePlan, isTrialPlan } from "./harmony7.mjs";
|
4
|
-
import { useProfileMenu } from "./
|
5
|
-
import styles from "./
|
4
|
+
import { useProfileMenu } from "./harmony88.mjs";
|
5
|
+
import styles from "./harmony90.mjs";
|
6
6
|
const TeamMenuItem = ({ team, onClick, hidePlanLabel }) => {
|
7
7
|
const { currentTeam, planId } = useProfileMenu();
|
8
8
|
const contextTeam = team || currentTeam;
|
package/dist/harmony74.cjs
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
|
-
const ProfileMenuContext = require("./
|
4
|
+
const ProfileMenuContext = require("./harmony88.cjs");
|
5
5
|
const TeamMenuItem = require("./harmony73.cjs");
|
6
|
-
const TeamSwitch_module = require("./
|
6
|
+
const TeamSwitch_module = require("./harmony91.cjs");
|
7
7
|
const TeamSwitch = ({ onSwitchTeam }) => {
|
8
8
|
const { otherTeams } = ProfileMenuContext.useProfileMenu();
|
9
9
|
if (otherTeams.length === 0) {
|
package/dist/harmony74.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { useProfileMenu } from "./
|
2
|
+
import { useProfileMenu } from "./harmony88.mjs";
|
3
3
|
import { TeamMenuItem } from "./harmony73.mjs";
|
4
|
-
import styles from "./
|
4
|
+
import styles from "./harmony91.mjs";
|
5
5
|
const TeamSwitch = ({ onSwitchTeam }) => {
|
6
6
|
const { otherTeams } = useProfileMenu();
|
7
7
|
if (otherTeams.length === 0) {
|
package/dist/harmony75.cjs
CHANGED
@@ -3,9 +3,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
4
|
const louis = require("@lokalise/louis");
|
5
5
|
const plan = require("./harmony7.cjs");
|
6
|
-
const UpgradeIcon = require("./
|
7
|
-
const ProfileMenuContext = require("./
|
8
|
-
const UpgradeMenuItem_module = require("./
|
6
|
+
const UpgradeIcon = require("./harmony92.cjs");
|
7
|
+
const ProfileMenuContext = require("./harmony88.cjs");
|
8
|
+
const UpgradeMenuItem_module = require("./harmony93.cjs");
|
9
9
|
const UpgradeMenuItem = ({ upgradeOptionHref }) => {
|
10
10
|
const { planId, trialDaysLeft, showUpgradeCta } = ProfileMenuContext.useProfileMenu();
|
11
11
|
if (!showUpgradeCta) {
|
package/dist/harmony75.mjs
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
2
2
|
import { MenuItem } from "@lokalise/louis";
|
3
3
|
import { isFreePlan } from "./harmony7.mjs";
|
4
|
-
import { UpgradeIcon } from "./
|
5
|
-
import { useProfileMenu } from "./
|
6
|
-
import styles from "./
|
4
|
+
import { UpgradeIcon } from "./harmony92.mjs";
|
5
|
+
import { useProfileMenu } from "./harmony88.mjs";
|
6
|
+
import styles from "./harmony93.mjs";
|
7
7
|
const UpgradeMenuItem = ({ upgradeOptionHref }) => {
|
8
8
|
const { planId, trialDaysLeft, showUpgradeCta } = useProfileMenu();
|
9
9
|
if (!showUpgradeCta) {
|
package/dist/harmony76.cjs
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
|
-
const floatingUi_core = require("./
|
4
|
+
const floatingUi_core = require("./harmony97.cjs");
|
5
5
|
const louis = require("@lokalise/louis");
|
6
6
|
const useEffectOnce = require("./harmony11.cjs");
|
7
7
|
const clsx = require("./harmony64.cjs");
|
8
8
|
const React = require("react");
|
9
|
-
const Tasks_module = require("./
|
10
|
-
const TasksContext = require("./
|
11
|
-
const TasksPopover = require("./
|
12
|
-
const TasksProvider = require("./
|
13
|
-
const taskEvents = require("./
|
9
|
+
const Tasks_module = require("./harmony98.cjs");
|
10
|
+
const TasksContext = require("./harmony99.cjs");
|
11
|
+
const TasksPopover = require("./harmony100.cjs");
|
12
|
+
const TasksProvider = require("./harmony101.cjs");
|
13
|
+
const taskEvents = require("./harmony102.cjs");
|
14
14
|
const Tasks = TasksProvider.withTasksContext(() => {
|
15
15
|
const [open, setOpen] = React.useState(false);
|
16
16
|
const { tasksCount } = TasksContext.useTasks();
|
package/dist/harmony76.mjs
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { shift } from "./
|
2
|
+
import { shift } from "./harmony97.mjs";
|
3
3
|
import { Tooltip, Popover, Button, JobIcon } from "@lokalise/louis";
|
4
4
|
import { useEffectOnce } from "./harmony11.mjs";
|
5
5
|
import { clsx } from "./harmony64.mjs";
|
6
6
|
import { useState } from "react";
|
7
|
-
import styles from "./
|
8
|
-
import { useTasks } from "./
|
9
|
-
import { TasksPopover } from "./
|
10
|
-
import { withTasksContext } from "./
|
11
|
-
import { TaskEvents } from "./
|
7
|
+
import styles from "./harmony98.mjs";
|
8
|
+
import { useTasks } from "./harmony99.mjs";
|
9
|
+
import { TasksPopover } from "./harmony100.mjs";
|
10
|
+
import { withTasksContext } from "./harmony101.mjs";
|
11
|
+
import { TaskEvents } from "./harmony102.mjs";
|
12
12
|
const Tasks = withTasksContext(() => {
|
13
13
|
const [open, setOpen] = useState(false);
|
14
14
|
const { tasksCount } = useTasks();
|
package/dist/harmony79.cjs
CHANGED
@@ -4,8 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const louis = require("@lokalise/louis");
|
5
5
|
const clsx = require("./harmony64.cjs");
|
6
6
|
const React = require("react");
|
7
|
-
const NavItemContents = require("./
|
8
|
-
const styles_module = require("./
|
7
|
+
const NavItemContents = require("./harmony81.cjs");
|
8
|
+
const styles_module = require("./harmony82.cjs");
|
9
9
|
const NavigationTabsItem = React.forwardRef(
|
10
10
|
({ label, href = "", disabled = false, badge, onClick, novel }, ref) => /* @__PURE__ */ jsxRuntime.jsx(louis.Tooltip, { tooltip: "You do not have access to this function", show: disabled, children: /* @__PURE__ */ jsxRuntime.jsx(
|
11
11
|
"div",
|
package/dist/harmony79.mjs
CHANGED
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip } from "@lokalise/louis";
|
3
3
|
import { clsx } from "./harmony64.mjs";
|
4
4
|
import { forwardRef } from "react";
|
5
|
-
import { NavItemContents } from "./
|
6
|
-
import classes from "./
|
5
|
+
import { NavItemContents } from "./harmony81.mjs";
|
6
|
+
import classes from "./harmony82.mjs";
|
7
7
|
const NavigationTabsItem = forwardRef(
|
8
8
|
({ label, href = "", disabled = false, badge, onClick, novel }, ref) => /* @__PURE__ */ jsx(Tooltip, { tooltip: "You do not have access to this function", show: disabled, children: /* @__PURE__ */ jsx(
|
9
9
|
"div",
|
package/dist/harmony81.cjs
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
}
|
7
|
-
|
8
|
-
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
4
|
+
const louis = require("@lokalise/louis");
|
5
|
+
const styles_module = require("./harmony82.cjs");
|
6
|
+
const NavItemContents = ({ label, badge, novel }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-1", children: [
|
7
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
8
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
|
9
|
+
!!badge && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles_module.default.badge, "aria-label": `${badge} items requiring attention`, children: badge > 9 ? "9+" : badge })
|
10
|
+
] }),
|
11
|
+
!!novel && /* @__PURE__ */ jsxRuntime.jsx(louis.Tag, { className: styles_module.default.tag, children: novel })
|
12
|
+
] });
|
13
|
+
exports.NavItemContents = NavItemContents;
|
9
14
|
//# sourceMappingURL=harmony81.cjs.map
|
package/dist/harmony81.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony81.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony81.cjs","sources":["../src/components/NavigationPanel/components/NavigationTabs/NavigationTabsItem/NavItemContents.tsx"],"sourcesContent":["import { Tag } from '@lokalise/louis'\n\nimport classes from './styles.module.css'\n\ninterface NavItemContentProps {\n\tlabel: string\n\tbadge?: number\n\tnovel?: string\n}\nexport const NavItemContents = ({ label, badge, novel }: NavItemContentProps) => (\n\t<div className=\"flex gap-1\">\n\t\t<div>\n\t\t\t<span>{label}</span>\n\t\t\t{!!badge && (\n\t\t\t\t<div className={classes.badge} aria-label={`${badge} items requiring attention`}>\n\t\t\t\t\t{badge > 9 ? '9+' : badge}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t\t{!!novel && <Tag className={classes.tag}>{novel}</Tag>}\n\t</div>\n)\n"],"names":["jsxs","jsx","classes","Tag"],"mappings":";;;;;AASa,MAAA,kBAAkB,CAAC,EAAE,OAAO,OAAO,YAC/CA,2BAAA,KAAC,OAAI,EAAA,WAAU,cACd,UAAA;AAAA,EAAAA,gCAAC,OACA,EAAA,UAAA;AAAA,IAAAC,2BAAAA,IAAC,UAAM,UAAM,MAAA,CAAA;AAAA,IACZ,CAAC,CAAC,SACFA,+BAAC,SAAI,WAAWC,cAAA,QAAQ,OAAO,cAAY,GAAG,KAAK,8BACjD,UAAQ,QAAA,IAAI,OAAO,MACrB,CAAA;AAAA,EAAA,GAEF;AAAA,EACC,CAAC,CAAC,SAASD,2BAAA,IAACE,aAAI,WAAWD,sBAAQ,KAAM,UAAM,MAAA,CAAA;AAAA,EACjD,CAAA;;"}
|
package/dist/harmony81.mjs
CHANGED
@@ -1,9 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
}
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
2
|
+
import { Tag } from "@lokalise/louis";
|
3
|
+
import classes from "./harmony82.mjs";
|
4
|
+
const NavItemContents = ({ label, badge, novel }) => /* @__PURE__ */ jsxs("div", { className: "flex gap-1", children: [
|
5
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
6
|
+
/* @__PURE__ */ jsx("span", { children: label }),
|
7
|
+
!!badge && /* @__PURE__ */ jsx("div", { className: classes.badge, "aria-label": `${badge} items requiring attention`, children: badge > 9 ? "9+" : badge })
|
8
|
+
] }),
|
9
|
+
!!novel && /* @__PURE__ */ jsx(Tag, { className: classes.tag, children: novel })
|
10
|
+
] });
|
5
11
|
export {
|
6
|
-
|
7
|
-
logoLink
|
12
|
+
NavItemContents
|
8
13
|
};
|
9
14
|
//# sourceMappingURL=harmony81.mjs.map
|
package/dist/harmony81.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony81.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony81.mjs","sources":["../src/components/NavigationPanel/components/NavigationTabs/NavigationTabsItem/NavItemContents.tsx"],"sourcesContent":["import { Tag } from '@lokalise/louis'\n\nimport classes from './styles.module.css'\n\ninterface NavItemContentProps {\n\tlabel: string\n\tbadge?: number\n\tnovel?: string\n}\nexport const NavItemContents = ({ label, badge, novel }: NavItemContentProps) => (\n\t<div className=\"flex gap-1\">\n\t\t<div>\n\t\t\t<span>{label}</span>\n\t\t\t{!!badge && (\n\t\t\t\t<div className={classes.badge} aria-label={`${badge} items requiring attention`}>\n\t\t\t\t\t{badge > 9 ? '9+' : badge}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t\t{!!novel && <Tag className={classes.tag}>{novel}</Tag>}\n\t</div>\n)\n"],"names":[],"mappings":";;;AASa,MAAA,kBAAkB,CAAC,EAAE,OAAO,OAAO,YAC/C,qBAAC,OAAI,EAAA,WAAU,cACd,UAAA;AAAA,EAAA,qBAAC,OACA,EAAA,UAAA;AAAA,IAAA,oBAAC,UAAM,UAAM,MAAA,CAAA;AAAA,IACZ,CAAC,CAAC,SACF,oBAAC,SAAI,WAAW,QAAQ,OAAO,cAAY,GAAG,KAAK,8BACjD,UAAQ,QAAA,IAAI,OAAO,MACrB,CAAA;AAAA,EAAA,GAEF;AAAA,EACC,CAAC,CAAC,SAAS,oBAAC,OAAI,WAAW,QAAQ,KAAM,UAAM,MAAA,CAAA;AAAA,EACjD,CAAA;"}
|
package/dist/harmony82.cjs
CHANGED
@@ -1,12 +1,24 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
3
|
+
const badge = "_badge_1pc1v_1";
|
4
|
+
const tag = "_tag_1pc1v_15";
|
5
|
+
const withNavLinkStyle = "_withNavLinkStyle_1pc1v_42 _withLinkStyle_1pc1v_21";
|
6
|
+
const disabled = "_disabled_1pc1v_57";
|
7
|
+
const projectNavigationItem = "_projectNavigationItem_1pc1v_61";
|
8
|
+
const projectNavigationItemDisabled = "_projectNavigationItemDisabled_1pc1v_67";
|
9
|
+
const classes = {
|
10
|
+
badge,
|
11
|
+
tag,
|
12
|
+
withNavLinkStyle,
|
13
|
+
disabled,
|
14
|
+
projectNavigationItem,
|
15
|
+
projectNavigationItemDisabled
|
8
16
|
};
|
9
|
-
exports.
|
10
|
-
exports.default =
|
11
|
-
exports.
|
17
|
+
exports.badge = badge;
|
18
|
+
exports.default = classes;
|
19
|
+
exports.disabled = disabled;
|
20
|
+
exports.projectNavigationItem = projectNavigationItem;
|
21
|
+
exports.projectNavigationItemDisabled = projectNavigationItemDisabled;
|
22
|
+
exports.tag = tag;
|
23
|
+
exports.withNavLinkStyle = withNavLinkStyle;
|
12
24
|
//# sourceMappingURL=harmony82.cjs.map
|
package/dist/harmony82.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony82.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony82.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony82.mjs
CHANGED
@@ -1,12 +1,24 @@
|
|
1
|
-
const
|
2
|
-
const
|
3
|
-
const
|
4
|
-
|
5
|
-
|
1
|
+
const badge = "_badge_1pc1v_1";
|
2
|
+
const tag = "_tag_1pc1v_15";
|
3
|
+
const withNavLinkStyle = "_withNavLinkStyle_1pc1v_42 _withLinkStyle_1pc1v_21";
|
4
|
+
const disabled = "_disabled_1pc1v_57";
|
5
|
+
const projectNavigationItem = "_projectNavigationItem_1pc1v_61";
|
6
|
+
const projectNavigationItemDisabled = "_projectNavigationItemDisabled_1pc1v_67";
|
7
|
+
const classes = {
|
8
|
+
badge,
|
9
|
+
tag,
|
10
|
+
withNavLinkStyle,
|
11
|
+
disabled,
|
12
|
+
projectNavigationItem,
|
13
|
+
projectNavigationItemDisabled
|
6
14
|
};
|
7
15
|
export {
|
8
|
-
|
9
|
-
|
10
|
-
|
16
|
+
badge,
|
17
|
+
classes as default,
|
18
|
+
disabled,
|
19
|
+
projectNavigationItem,
|
20
|
+
projectNavigationItemDisabled,
|
21
|
+
tag,
|
22
|
+
withNavLinkStyle
|
11
23
|
};
|
12
24
|
//# sourceMappingURL=harmony82.mjs.map
|
package/dist/harmony82.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony82.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony82.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/harmony83.cjs
CHANGED
@@ -1,12 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
4
|
-
const dropdownButtonActive = "_dropdownButtonActive_1naek_19";
|
3
|
+
const logoLink = "_logoLink_1baxb_1";
|
5
4
|
const styles = {
|
6
|
-
|
7
|
-
dropdownButtonActive
|
5
|
+
logoLink
|
8
6
|
};
|
9
7
|
exports.default = styles;
|
10
|
-
exports.
|
11
|
-
exports.dropdownButtonActive = dropdownButtonActive;
|
8
|
+
exports.logoLink = logoLink;
|
12
9
|
//# sourceMappingURL=harmony83.cjs.map
|
package/dist/harmony83.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony83.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony83.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony83.mjs
CHANGED
@@ -1,12 +1,9 @@
|
|
1
|
-
const
|
2
|
-
const dropdownButtonActive = "_dropdownButtonActive_1naek_19";
|
1
|
+
const logoLink = "_logoLink_1baxb_1";
|
3
2
|
const styles = {
|
4
|
-
|
5
|
-
dropdownButtonActive
|
3
|
+
logoLink
|
6
4
|
};
|
7
5
|
export {
|
8
6
|
styles as default,
|
9
|
-
|
10
|
-
dropdownButtonActive
|
7
|
+
logoLink
|
11
8
|
};
|
12
9
|
//# sourceMappingURL=harmony83.mjs.map
|
package/dist/harmony83.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony83.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony83.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony84.cjs
CHANGED
@@ -1,60 +1,12 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
const ProfileMenuContext = require("./harmony86.cjs");
|
9
|
-
const ProfileMenuContent = ({ children }) => {
|
10
|
-
const {
|
11
|
-
currentTeam,
|
12
|
-
otherTeams,
|
13
|
-
showUpgradeCta,
|
14
|
-
showBillingButton,
|
15
|
-
allowTeamCreation,
|
16
|
-
isProviderAlpha,
|
17
|
-
canAccessTeamSettings,
|
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 link = "_link_18vhx_1";
|
4
|
+
const active = "_active_18vhx_18";
|
5
|
+
const styles = {
|
6
|
+
link,
|
7
|
+
active
|
58
8
|
};
|
59
|
-
exports.
|
9
|
+
exports.active = active;
|
10
|
+
exports.default = styles;
|
11
|
+
exports.link = link;
|
60
12
|
//# sourceMappingURL=harmony84.cjs.map
|
package/dist/harmony84.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony84.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony84.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/harmony84.mjs
CHANGED
@@ -1,60 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
import { useProfileMenu } from "./harmony86.mjs";
|
7
|
-
const ProfileMenuContent = ({ children }) => {
|
8
|
-
const {
|
9
|
-
currentTeam,
|
10
|
-
otherTeams,
|
11
|
-
showUpgradeCta,
|
12
|
-
showBillingButton,
|
13
|
-
allowTeamCreation,
|
14
|
-
isProviderAlpha,
|
15
|
-
canAccessTeamSettings,
|
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 link = "_link_18vhx_1";
|
2
|
+
const active = "_active_18vhx_18";
|
3
|
+
const styles = {
|
4
|
+
link,
|
5
|
+
active
|
56
6
|
};
|
57
7
|
export {
|
58
|
-
|
8
|
+
active,
|
9
|
+
styles as default,
|
10
|
+
link
|
59
11
|
};
|
60
12
|
//# sourceMappingURL=harmony84.mjs.map
|
package/dist/harmony84.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony84.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony84.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|