@lokalise/harmony 4.5.0 → 4.5.2
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/harmony.cjs +3 -0
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +4 -1
- package/dist/harmony101.cjs +2 -2
- package/dist/harmony101.mjs +2 -2
- package/dist/harmony110.cjs +2 -2
- package/dist/harmony110.mjs +2 -2
- package/dist/harmony111.cjs +1 -1
- package/dist/harmony111.mjs +1 -1
- package/dist/harmony112.cjs +1 -1
- package/dist/harmony112.mjs +1 -1
- package/dist/harmony115.cjs +1 -1
- package/dist/harmony115.mjs +1 -1
- package/dist/harmony116.cjs +12 -12
- package/dist/harmony116.mjs +12 -12
- package/dist/harmony119.cjs +1 -1
- package/dist/harmony119.mjs +1 -1
- package/dist/harmony120.cjs +1 -1
- package/dist/harmony120.mjs +1 -1
- package/dist/harmony122.cjs +10 -9
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +12 -11
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +11 -20
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +11 -20
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +9 -10
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +11 -12
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +20 -11
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +20 -11
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +20 -99
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +20 -82
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +87 -20
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +87 -20
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +30 -8
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +30 -8
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +21 -8
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +21 -8
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +7 -18
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +7 -18
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +8 -21
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +8 -21
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +18 -86
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +18 -86
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +98 -29
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +81 -29
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +9 -5
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +9 -5
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +13 -6
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +12 -5
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +15 -9
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +14 -8
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +11 -4
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +14 -7
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +7 -12
- package/dist/harmony138.cjs.map +1 -1
- package/dist/harmony138.mjs +9 -14
- package/dist/harmony138.mjs.map +1 -1
- package/dist/harmony139.cjs +18 -11
- package/dist/harmony139.cjs.map +1 -1
- package/dist/harmony139.mjs +21 -14
- package/dist/harmony139.mjs.map +1 -1
- package/dist/harmony140.cjs +9 -7
- package/dist/harmony140.cjs.map +1 -1
- package/dist/harmony140.mjs +11 -9
- package/dist/harmony140.mjs.map +1 -1
- package/dist/harmony141.cjs +29 -17
- package/dist/harmony141.cjs.map +1 -1
- package/dist/harmony141.mjs +31 -19
- package/dist/harmony141.mjs.map +1 -1
- package/dist/harmony142.cjs +4 -4
- package/dist/harmony142.cjs.map +1 -1
- package/dist/harmony142.mjs +5 -5
- package/dist/harmony142.mjs.map +1 -1
- package/dist/harmony143.cjs +12 -28
- package/dist/harmony143.cjs.map +1 -1
- package/dist/harmony143.mjs +13 -29
- package/dist/harmony143.mjs.map +1 -1
- package/dist/harmony144.cjs +29 -5
- package/dist/harmony144.cjs.map +1 -1
- package/dist/harmony144.mjs +31 -7
- package/dist/harmony144.mjs.map +1 -1
- package/dist/harmony145.cjs +21 -22
- package/dist/harmony145.cjs.map +1 -1
- package/dist/harmony145.mjs +20 -21
- package/dist/harmony145.mjs.map +1 -1
- package/dist/harmony146.cjs +15 -30
- package/dist/harmony146.cjs.map +1 -1
- package/dist/harmony146.mjs +17 -32
- package/dist/harmony146.mjs.map +1 -1
- package/dist/harmony147.cjs +3 -18
- package/dist/harmony147.cjs.map +1 -1
- package/dist/harmony147.mjs +3 -18
- package/dist/harmony147.mjs.map +1 -1
- package/dist/harmony148.cjs +15 -21
- package/dist/harmony148.cjs.map +1 -1
- package/dist/harmony148.mjs +14 -20
- package/dist/harmony148.mjs.map +1 -1
- package/dist/harmony149.cjs +10 -6
- package/dist/harmony149.cjs.map +1 -1
- package/dist/harmony149.mjs +9 -5
- package/dist/harmony149.mjs.map +1 -1
- package/dist/harmony150.cjs +5 -15
- package/dist/harmony150.cjs.map +1 -1
- package/dist/harmony150.mjs +5 -15
- package/dist/harmony150.mjs.map +1 -1
- package/dist/harmony151.cjs +6 -9
- package/dist/harmony151.cjs.map +1 -1
- package/dist/harmony151.mjs +5 -8
- package/dist/harmony151.mjs.map +1 -1
- package/dist/harmony152.cjs +8 -2
- package/dist/harmony152.cjs.map +1 -1
- package/dist/harmony152.mjs +8 -2
- package/dist/harmony152.mjs.map +1 -1
- package/dist/harmony153.cjs +2 -3
- package/dist/harmony153.cjs.map +1 -1
- package/dist/harmony153.mjs +2 -3
- package/dist/harmony153.mjs.map +1 -1
- package/dist/harmony154.cjs +3 -3
- package/dist/harmony154.cjs.map +1 -1
- package/dist/harmony154.mjs +3 -3
- package/dist/harmony154.mjs.map +1 -1
- package/dist/harmony155.cjs +3 -3
- package/dist/harmony155.cjs.map +1 -1
- package/dist/harmony155.mjs +3 -3
- package/dist/harmony155.mjs.map +1 -1
- package/dist/harmony156.cjs +3 -14
- package/dist/harmony156.cjs.map +1 -1
- package/dist/harmony156.mjs +3 -14
- package/dist/harmony156.mjs.map +1 -1
- package/dist/harmony157.cjs +14 -3
- package/dist/harmony157.cjs.map +1 -1
- package/dist/harmony157.mjs +14 -3
- package/dist/harmony157.mjs.map +1 -1
- package/dist/harmony158.cjs +3 -14
- package/dist/harmony158.cjs.map +1 -1
- package/dist/harmony158.mjs +3 -14
- package/dist/harmony158.mjs.map +1 -1
- package/dist/harmony159.cjs +14 -10
- package/dist/harmony159.cjs.map +1 -1
- package/dist/harmony159.mjs +14 -10
- package/dist/harmony159.mjs.map +1 -1
- package/dist/harmony160.cjs +10 -97
- package/dist/harmony160.cjs.map +1 -1
- package/dist/harmony160.mjs +9 -96
- package/dist/harmony160.mjs.map +1 -1
- package/dist/harmony161.cjs +7 -14
- package/dist/harmony161.cjs.map +1 -1
- package/dist/harmony161.mjs +6 -13
- package/dist/harmony161.mjs.map +1 -1
- package/dist/harmony162.cjs +10 -15
- package/dist/harmony162.cjs.map +1 -1
- package/dist/harmony162.mjs +9 -14
- package/dist/harmony162.mjs.map +1 -1
- package/dist/harmony163.cjs +25 -37
- package/dist/harmony163.cjs.map +1 -1
- package/dist/harmony163.mjs +24 -36
- package/dist/harmony163.mjs.map +1 -1
- package/dist/harmony164.cjs +7 -29
- package/dist/harmony164.cjs.map +1 -1
- package/dist/harmony164.mjs +6 -28
- package/dist/harmony164.mjs.map +1 -1
- package/dist/harmony165.cjs +12 -32
- package/dist/harmony165.cjs.map +1 -1
- package/dist/harmony165.mjs +11 -31
- package/dist/harmony165.mjs.map +1 -1
- package/dist/harmony166.cjs +3 -6
- package/dist/harmony166.cjs.map +1 -1
- package/dist/harmony166.mjs +3 -6
- package/dist/harmony166.mjs.map +1 -1
- package/dist/harmony167.cjs +97 -7
- package/dist/harmony167.cjs.map +1 -1
- package/dist/harmony167.mjs +96 -6
- package/dist/harmony167.mjs.map +1 -1
- package/dist/harmony168.cjs +14 -10
- package/dist/harmony168.cjs.map +1 -1
- package/dist/harmony168.mjs +13 -9
- package/dist/harmony168.mjs.map +1 -1
- package/dist/harmony169.cjs +15 -25
- package/dist/harmony169.cjs.map +1 -1
- package/dist/harmony169.mjs +14 -24
- package/dist/harmony169.mjs.map +1 -1
- package/dist/harmony170.cjs +37 -7
- package/dist/harmony170.cjs.map +1 -1
- package/dist/harmony170.mjs +36 -6
- package/dist/harmony170.mjs.map +1 -1
- package/dist/harmony171.cjs +29 -13
- package/dist/harmony171.cjs.map +1 -1
- package/dist/harmony171.mjs +28 -12
- package/dist/harmony171.mjs.map +1 -1
- package/dist/harmony172.cjs +32 -6
- package/dist/harmony172.cjs.map +1 -1
- package/dist/harmony172.mjs +31 -5
- package/dist/harmony172.mjs.map +1 -1
- package/dist/harmony173.cjs +1 -1
- package/dist/harmony173.mjs +1 -1
- package/dist/harmony174.cjs +1 -1
- package/dist/harmony174.mjs +1 -1
- package/dist/harmony175.cjs +2 -2
- package/dist/harmony175.mjs +2 -2
- package/dist/harmony176.cjs +11 -4
- package/dist/harmony176.cjs.map +1 -1
- package/dist/harmony176.mjs +11 -4
- package/dist/harmony176.mjs.map +1 -1
- package/dist/harmony177.cjs +15 -10
- package/dist/harmony177.cjs.map +1 -1
- package/dist/harmony177.mjs +15 -10
- package/dist/harmony177.mjs.map +1 -1
- package/dist/harmony178.cjs +18 -13
- package/dist/harmony178.cjs.map +1 -1
- package/dist/harmony178.mjs +18 -13
- package/dist/harmony178.mjs.map +1 -1
- package/dist/harmony179.cjs +10 -19
- package/dist/harmony179.cjs.map +1 -1
- package/dist/harmony179.mjs +10 -19
- package/dist/harmony179.mjs.map +1 -1
- package/dist/harmony180.cjs +4 -12
- package/dist/harmony180.cjs.map +1 -1
- package/dist/harmony180.mjs +4 -12
- package/dist/harmony180.mjs.map +1 -1
- package/dist/harmony20.cjs +1 -1
- package/dist/harmony20.mjs +1 -1
- package/dist/harmony41.cjs +1 -1
- package/dist/harmony41.mjs +1 -1
- package/dist/harmony42.cjs +1 -1
- package/dist/harmony42.mjs +1 -1
- package/dist/harmony43.cjs +1 -1
- package/dist/harmony43.mjs +1 -1
- package/dist/harmony46.cjs +1 -1
- package/dist/harmony46.cjs.map +1 -1
- package/dist/harmony46.mjs +1 -1
- package/dist/harmony46.mjs.map +1 -1
- package/dist/harmony60.cjs +1 -1
- package/dist/harmony60.mjs +1 -1
- package/dist/harmony70.cjs +1 -1
- package/dist/harmony70.mjs +1 -1
- package/dist/harmony89.cjs +13 -2
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +13 -2
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony99.cjs +1 -1
- package/dist/harmony99.mjs +1 -1
- package/dist/types/src/features/permissions/types/projectPermissionTypes.d.ts +2 -2
- package/dist/types/src/features/publicApi/projects.d.ts +12 -0
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +36 -0
- package/package.json +1 -1
package/dist/harmony.cjs
CHANGED
|
@@ -283,6 +283,9 @@ exports.PERMISSION_TEMPLATE_SCHEMA = permissionTemplateTypes.PERMISSION_TEMPLATE
|
|
|
283
283
|
exports.PERMISSION_DETAILS_SCHEMA = permissionTypes.PERMISSION_DETAILS_SCHEMA;
|
|
284
284
|
exports.PERMISSION_ID_SCHEMA = permissionTypes.PERMISSION_ID_SCHEMA;
|
|
285
285
|
exports.PERMISSION_SCOPE_SCHEMA = permissionTypes.PERMISSION_SCOPE_SCHEMA;
|
|
286
|
+
exports.AVAILABILITY_DISABLED_REASONS = projectTypes.AVAILABILITY_DISABLED_REASONS;
|
|
287
|
+
exports.AVAILABILITY_DISABLED_REASON_SCHEMA = projectTypes.AVAILABILITY_DISABLED_REASON_SCHEMA;
|
|
288
|
+
exports.AVAILABILITY_SCHEMA = projectTypes.AVAILABILITY_SCHEMA;
|
|
286
289
|
exports.CREATE_PROJECT_REQUEST_BODY_SCHEMA = projectTypes.CREATE_PROJECT_REQUEST_BODY_SCHEMA;
|
|
287
290
|
exports.DELETE_PROJECT_RESPONSE_SCHEMA = projectTypes.DELETE_PROJECT_RESPONSE_SCHEMA;
|
|
288
291
|
exports.GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA = projectTypes.GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA;
|
package/dist/harmony.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony.mjs
CHANGED
|
@@ -85,7 +85,7 @@ import { ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA, ADD_LANGUAGES_TO_PROJECT_R
|
|
|
85
85
|
import { PAGINATION_QUERY_PARAMS_SCHEMA } from "./harmony86.mjs";
|
|
86
86
|
import { LIST_PERMISSION_TEMPLATES_PATH_PARAMS, LIST_PERMISSION_TEMPLATES_RESPONSE, PERMISSION_TEMPLATE_SCHEMA } from "./harmony87.mjs";
|
|
87
87
|
import { PERMISSION_DETAILS_SCHEMA, PERMISSION_ID_SCHEMA, PERMISSION_SCOPE_SCHEMA } from "./harmony88.mjs";
|
|
88
|
-
import { CREATE_PROJECT_REQUEST_BODY_SCHEMA, DELETE_PROJECT_RESPONSE_SCHEMA, GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA, LIST_PROJECTS_REQUEST_QUERY_SCHEMA, LIST_PROJECTS_SUCCESS_RESPONSE_BODY, PROJECT_API_BASE_HEADERS_SCHEMA, PROJECT_ID_OR_UUID_SCHEMA, PROJECT_ID_PATH_PARAM_SCHEMA, PROJECT_ID_SCHEMA, PROJECT_QA_ISSUES_SCHEMA, PROJECT_SCHEMA, PROJECT_SETTINGS_SCHEMA, PROJECT_STATISTICS_SCHEMA, PROJECT_TYPE_SCHEMA, UPDATE_PROJECT_REQUEST_BODY_SCHEMA } from "./harmony89.mjs";
|
|
88
|
+
import { AVAILABILITY_DISABLED_REASONS, AVAILABILITY_DISABLED_REASON_SCHEMA, AVAILABILITY_SCHEMA, CREATE_PROJECT_REQUEST_BODY_SCHEMA, DELETE_PROJECT_RESPONSE_SCHEMA, GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA, LIST_PROJECTS_REQUEST_QUERY_SCHEMA, LIST_PROJECTS_SUCCESS_RESPONSE_BODY, PROJECT_API_BASE_HEADERS_SCHEMA, PROJECT_ID_OR_UUID_SCHEMA, PROJECT_ID_PATH_PARAM_SCHEMA, PROJECT_ID_SCHEMA, PROJECT_QA_ISSUES_SCHEMA, PROJECT_SCHEMA, PROJECT_SETTINGS_SCHEMA, PROJECT_STATISTICS_SCHEMA, PROJECT_TYPE_SCHEMA, UPDATE_PROJECT_REQUEST_BODY_SCHEMA } from "./harmony89.mjs";
|
|
89
89
|
import { CREATE_SCORE_REQUEST_BODY_SCHEMA, CREATE_SCORE_RESPONSE_SCHEMA, DELETE_SCORE_RESPONSE_SCHEMA, GET_SCORE_RESPONSE_SCHEMA, ISSUE_SCHEMA, SCORE_REQUEST_QUERY_SCHEMA, SEVERITY_ENUM } from "./harmony90.mjs";
|
|
90
90
|
import { API_PLUGIN_HEADER_SCHEMA, APU_TOKEN_AUTH_HEADER_SCHEMA, AUTHENTICATION_HEADERS_SCHEMA, AUTHORIZATION_HEADER_SCHEMA, BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony91.mjs";
|
|
91
91
|
import { LIST_TEAMS_QUERY_SCHEMA, LIST_TEAMS_RESPONSE_SCHEMA, RETRIEVE_TEAM_PATH_PARAMS_SCHEMA, RETRIEVE_TEAM_RESPONSE_SCHEMA, TEAMS_QUOTA_ALLOWED_SCHEMA, TEAMS_QUOTA_METRICS, TEAMS_QUOTA_METRICS_SCHEMA, TEAMS_QUOTA_USAGE_SCHEMA, TEAM_API_BASE_HEADERS_SCHEMA, TEAM_QUOTA_ALLOWED_SCHEMA, TEAM_QUOTA_METRICS_SCHEMA, TEAM_QUOTA_USAGE_SCHEMA } from "./harmony92.mjs";
|
|
@@ -111,6 +111,9 @@ export {
|
|
|
111
111
|
AUTHORIZATION_HEADER_SCHEMA,
|
|
112
112
|
AUTOPILOT_FEATURE_FLAGS,
|
|
113
113
|
AUTOPILOT_FEATURE_FLAGS_SCHEMA,
|
|
114
|
+
AVAILABILITY_DISABLED_REASONS,
|
|
115
|
+
AVAILABILITY_DISABLED_REASON_SCHEMA,
|
|
116
|
+
AVAILABILITY_SCHEMA,
|
|
114
117
|
ActionResolverContextProvider,
|
|
115
118
|
AppSidebar,
|
|
116
119
|
BASE_API_ENDPOINT_HEADER_SCHEMA,
|
package/dist/harmony101.cjs
CHANGED
|
@@ -4,8 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const louis = require("@lokalise/louis");
|
|
5
5
|
const clsx = require("./harmony97.cjs");
|
|
6
6
|
const React = require("react");
|
|
7
|
-
const NavItemContents = require("./
|
|
8
|
-
const styles_module = require("./
|
|
7
|
+
const NavItemContents = require("./harmony124.cjs");
|
|
8
|
+
const styles_module = require("./harmony125.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/harmony101.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Tooltip } from "@lokalise/louis";
|
|
3
3
|
import { clsx } from "./harmony97.mjs";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
|
-
import { NavItemContents } from "./
|
|
6
|
-
import classes from "./
|
|
5
|
+
import { NavItemContents } from "./harmony124.mjs";
|
|
6
|
+
import classes from "./harmony125.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/harmony110.cjs
CHANGED
|
@@ -4,8 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const louis = require("@lokalise/louis");
|
|
5
5
|
const reactTable = require("@tanstack/react-table");
|
|
6
6
|
const clsx = require("./harmony97.cjs");
|
|
7
|
-
const SortingIcon = require("./
|
|
8
|
-
const TableHeaderCell_module = require("./
|
|
7
|
+
const SortingIcon = require("./harmony122.cjs");
|
|
8
|
+
const TableHeaderCell_module = require("./harmony123.cjs");
|
|
9
9
|
const TableHeaderCell = ({
|
|
10
10
|
header,
|
|
11
11
|
align = "left",
|
package/dist/harmony110.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { TableHeaderCell as TableHeaderCell$1 } from "@lokalise/louis";
|
|
3
3
|
import { flexRender } from "@tanstack/react-table";
|
|
4
4
|
import { clsx } from "./harmony97.mjs";
|
|
5
|
-
import { SortingIcon } from "./
|
|
6
|
-
import styles from "./
|
|
5
|
+
import { SortingIcon } from "./harmony122.mjs";
|
|
6
|
+
import styles from "./harmony123.mjs";
|
|
7
7
|
const TableHeaderCell = ({
|
|
8
8
|
header,
|
|
9
9
|
align = "left",
|
package/dist/harmony111.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const NavigationClientProvider = require("./harmony16.cjs");
|
|
5
|
-
const toolbarVisibility = require("./
|
|
5
|
+
const toolbarVisibility = require("./harmony127.cjs");
|
|
6
6
|
const useExpertNavigation = (enabled, project, contributor) => {
|
|
7
7
|
const adminRights = (contributor == null ? void 0 : contributor.admin_rights) || [];
|
|
8
8
|
const marketingSupportProjectSelectedAppSlug = "selected-app-slug";
|
package/dist/harmony111.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useNavigationClient } from "./harmony16.mjs";
|
|
3
|
-
import { getProjectNavigationVisibilityMap } from "./
|
|
3
|
+
import { getProjectNavigationVisibilityMap } from "./harmony127.mjs";
|
|
4
4
|
const useExpertNavigation = (enabled, project, contributor) => {
|
|
5
5
|
const adminRights = (contributor == null ? void 0 : contributor.admin_rights) || [];
|
|
6
6
|
const marketingSupportProjectSelectedAppSlug = "selected-app-slug";
|
package/dist/harmony112.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const NavigationClientProvider = require("./harmony16.cjs");
|
|
5
|
-
const navigationSchema = require("./
|
|
5
|
+
const navigationSchema = require("./harmony128.cjs");
|
|
6
6
|
const useNextgenNavigation = (activeKey, enabled, project, contributor) => {
|
|
7
7
|
const navigationClient = NavigationClientProvider.useNavigationClient();
|
|
8
8
|
const nextgenUrl = navigationClient.getNextgenUrl();
|
package/dist/harmony112.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback, useMemo } from "react";
|
|
2
2
|
import { useNavigationClient } from "./harmony16.mjs";
|
|
3
|
-
import { navigationItems } from "./
|
|
3
|
+
import { navigationItems } from "./harmony128.mjs";
|
|
4
4
|
const useNextgenNavigation = (activeKey, enabled, project, contributor) => {
|
|
5
5
|
const navigationClient = useNavigationClient();
|
|
6
6
|
const nextgenUrl = navigationClient.getNextgenUrl();
|
package/dist/harmony115.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("./harmony97.cjs");
|
|
6
|
-
const IconLink_module = require("./
|
|
6
|
+
const IconLink_module = require("./harmony134.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/harmony115.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 "./harmony97.mjs";
|
|
4
|
-
import styles from "./
|
|
4
|
+
import styles from "./harmony134.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/harmony116.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const BillingMenuItem = require("./
|
|
5
|
-
const CreateNewTeam = require("./
|
|
6
|
-
const CreateNewTeamPlaceholder = require("./
|
|
7
|
-
const DarkModeToggle = require("./
|
|
8
|
-
const ProfileSettingsMenuItem = require("./
|
|
9
|
-
const ProviderMenuItem = require("./
|
|
10
|
-
const TeamMenuItem = require("./
|
|
11
|
-
const TeamSettingsMenuItem = require("./
|
|
12
|
-
const TeamSwitch = require("./
|
|
13
|
-
const UpgradeMenuItem = require("./
|
|
4
|
+
const BillingMenuItem = require("./harmony135.cjs");
|
|
5
|
+
const CreateNewTeam = require("./harmony136.cjs");
|
|
6
|
+
const CreateNewTeamPlaceholder = require("./harmony137.cjs");
|
|
7
|
+
const DarkModeToggle = require("./harmony138.cjs");
|
|
8
|
+
const ProfileSettingsMenuItem = require("./harmony139.cjs");
|
|
9
|
+
const ProviderMenuItem = require("./harmony140.cjs");
|
|
10
|
+
const TeamMenuItem = require("./harmony141.cjs");
|
|
11
|
+
const TeamSettingsMenuItem = require("./harmony142.cjs");
|
|
12
|
+
const TeamSwitch = require("./harmony143.cjs");
|
|
13
|
+
const UpgradeMenuItem = require("./harmony144.cjs");
|
|
14
14
|
const useSidebar = require("./harmony117.cjs");
|
|
15
15
|
const louis = require("@lokalise/louis");
|
|
16
16
|
const permissions = require("./harmony118.cjs");
|
|
17
17
|
const clsx = require("./harmony97.cjs");
|
|
18
|
-
const ProfileMenu_module = require("./
|
|
19
|
-
const UpgradeIcon = require("./
|
|
18
|
+
const ProfileMenu_module = require("./harmony145.cjs");
|
|
19
|
+
const UpgradeIcon = require("./harmony146.cjs");
|
|
20
20
|
const ProfileMenu = ({ config }) => {
|
|
21
21
|
const {
|
|
22
22
|
jwt,
|
package/dist/harmony116.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { BillingMenuItem } from "./
|
|
3
|
-
import { CreateNewTeam } from "./
|
|
4
|
-
import { CreateNewTeamPlaceholder } from "./
|
|
5
|
-
import { DarkModeToggle } from "./
|
|
6
|
-
import { ProfileSettingsMenuItem } from "./
|
|
7
|
-
import { ProviderMenuItem } from "./
|
|
8
|
-
import { TeamMenuItem } from "./
|
|
9
|
-
import { TeamSettingsMenuItem } from "./
|
|
10
|
-
import { TeamSwitch } from "./
|
|
11
|
-
import { UpgradeMenuItem } from "./
|
|
2
|
+
import { BillingMenuItem } from "./harmony135.mjs";
|
|
3
|
+
import { CreateNewTeam } from "./harmony136.mjs";
|
|
4
|
+
import { CreateNewTeamPlaceholder } from "./harmony137.mjs";
|
|
5
|
+
import { DarkModeToggle } from "./harmony138.mjs";
|
|
6
|
+
import { ProfileSettingsMenuItem } from "./harmony139.mjs";
|
|
7
|
+
import { ProviderMenuItem } from "./harmony140.mjs";
|
|
8
|
+
import { TeamMenuItem } from "./harmony141.mjs";
|
|
9
|
+
import { TeamSettingsMenuItem } from "./harmony142.mjs";
|
|
10
|
+
import { TeamSwitch } from "./harmony143.mjs";
|
|
11
|
+
import { UpgradeMenuItem } from "./harmony144.mjs";
|
|
12
12
|
import { useSidebar } from "./harmony117.mjs";
|
|
13
13
|
import { Menu, MenuList, MenuDivider, MenuItem, UserIcon } from "@lokalise/louis";
|
|
14
14
|
import { canAccessProfileSettings, canUpgradePlan } from "./harmony118.mjs";
|
|
15
15
|
import { clsx } from "./harmony97.mjs";
|
|
16
|
-
import styles from "./
|
|
17
|
-
import { UpgradeIcon } from "./
|
|
16
|
+
import styles from "./harmony145.mjs";
|
|
17
|
+
import { UpgradeIcon } from "./harmony146.mjs";
|
|
18
18
|
const ProfileMenu = ({ config }) => {
|
|
19
19
|
const {
|
|
20
20
|
jwt,
|
package/dist/harmony119.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("./harmony147.cjs");
|
|
5
5
|
const Avatar = ({
|
|
6
6
|
src,
|
|
7
7
|
href = "/",
|
package/dist/harmony119.mjs
CHANGED
package/dist/harmony120.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("./harmony97.cjs");
|
|
6
|
-
const HelpMenu_module = require("./
|
|
6
|
+
const HelpMenu_module = require("./harmony148.cjs");
|
|
7
7
|
const HelpMenu = ({ contactSupport, keyboardShortcuts }) => {
|
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
9
|
louis.Menu,
|
package/dist/harmony120.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Menu, MenuList, MenuItem, MenuDivider, Tooltip, HelpCenterIcon } from "@lokalise/louis";
|
|
3
3
|
import { clsx } from "./harmony97.mjs";
|
|
4
|
-
import styles from "./
|
|
4
|
+
import styles from "./harmony148.mjs";
|
|
5
5
|
const HelpMenu = ({ contactSupport, keyboardShortcuts }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx(
|
|
7
7
|
Menu,
|
package/dist/harmony122.cjs
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
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
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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" });
|
|
13
|
+
};
|
|
14
|
+
exports.SortingIcon = SortingIcon;
|
|
14
15
|
//# sourceMappingURL=harmony122.cjs.map
|
package/dist/harmony122.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony122.cjs","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"harmony122.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/harmony122.mjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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" });
|
|
11
|
+
};
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
+
SortingIcon
|
|
13
14
|
};
|
|
14
15
|
//# sourceMappingURL=harmony122.mjs.map
|
package/dist/harmony122.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony122.mjs","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"harmony122.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/harmony123.cjs
CHANGED
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
badge,
|
|
11
|
-
tag,
|
|
12
|
-
withNavLinkStyle,
|
|
13
|
-
disabled,
|
|
14
|
-
projectNavigationItem,
|
|
15
|
-
projectNavigationItemDisabled
|
|
3
|
+
const headerSortButton = "_headerSortButton_b5tlh_1";
|
|
4
|
+
const centeredCell = "_centeredCell_b5tlh_15";
|
|
5
|
+
const rightAlignedCell = "_rightAlignedCell_b5tlh_19";
|
|
6
|
+
const styles = {
|
|
7
|
+
headerSortButton,
|
|
8
|
+
centeredCell,
|
|
9
|
+
rightAlignedCell
|
|
16
10
|
};
|
|
17
|
-
exports.
|
|
18
|
-
exports.default =
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.projectNavigationItemDisabled = projectNavigationItemDisabled;
|
|
22
|
-
exports.tag = tag;
|
|
23
|
-
exports.withNavLinkStyle = withNavLinkStyle;
|
|
11
|
+
exports.centeredCell = centeredCell;
|
|
12
|
+
exports.default = styles;
|
|
13
|
+
exports.headerSortButton = headerSortButton;
|
|
14
|
+
exports.rightAlignedCell = rightAlignedCell;
|
|
24
15
|
//# sourceMappingURL=harmony123.cjs.map
|
package/dist/harmony123.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony123.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony123.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/harmony123.mjs
CHANGED
|
@@ -1,24 +1,15 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
badge,
|
|
9
|
-
tag,
|
|
10
|
-
withNavLinkStyle,
|
|
11
|
-
disabled,
|
|
12
|
-
projectNavigationItem,
|
|
13
|
-
projectNavigationItemDisabled
|
|
1
|
+
const headerSortButton = "_headerSortButton_b5tlh_1";
|
|
2
|
+
const centeredCell = "_centeredCell_b5tlh_15";
|
|
3
|
+
const rightAlignedCell = "_rightAlignedCell_b5tlh_19";
|
|
4
|
+
const styles = {
|
|
5
|
+
headerSortButton,
|
|
6
|
+
centeredCell,
|
|
7
|
+
rightAlignedCell
|
|
14
8
|
};
|
|
15
9
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
projectNavigationItemDisabled,
|
|
21
|
-
tag,
|
|
22
|
-
withNavLinkStyle
|
|
10
|
+
centeredCell,
|
|
11
|
+
styles as default,
|
|
12
|
+
headerSortButton,
|
|
13
|
+
rightAlignedCell
|
|
23
14
|
};
|
|
24
15
|
//# sourceMappingURL=harmony123.mjs.map
|
package/dist/harmony123.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony123.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony123.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony124.cjs
CHANGED
|
@@ -2,14 +2,13 @@
|
|
|
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
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
exports.SortingIcon = SortingIcon;
|
|
5
|
+
const styles_module = require("./harmony125.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;
|
|
15
14
|
//# sourceMappingURL=harmony124.cjs.map
|
package/dist/harmony124.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony124.cjs","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"harmony124.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/harmony124.mjs
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
};
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Tag } from "@lokalise/louis";
|
|
3
|
+
import classes from "./harmony125.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
|
+
] });
|
|
12
11
|
export {
|
|
13
|
-
|
|
12
|
+
NavItemContents
|
|
14
13
|
};
|
|
15
14
|
//# sourceMappingURL=harmony124.mjs.map
|
package/dist/harmony124.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony124.mjs","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"harmony124.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/harmony125.cjs
CHANGED
|
@@ -1,15 +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
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
10
16
|
};
|
|
11
|
-
exports.
|
|
12
|
-
exports.default =
|
|
13
|
-
exports.
|
|
14
|
-
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;
|
|
15
24
|
//# sourceMappingURL=harmony125.cjs.map
|
package/dist/harmony125.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony125.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony125.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony125.mjs
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
|
8
14
|
};
|
|
9
15
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
badge,
|
|
17
|
+
classes as default,
|
|
18
|
+
disabled,
|
|
19
|
+
projectNavigationItem,
|
|
20
|
+
projectNavigationItemDisabled,
|
|
21
|
+
tag,
|
|
22
|
+
withNavLinkStyle
|
|
14
23
|
};
|
|
15
24
|
//# sourceMappingURL=harmony125.mjs.map
|
package/dist/harmony125.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony125.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony125.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|