@lokalise/harmony 1.34.0 → 1.34.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 +18 -99
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +18 -82
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +14 -18
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +14 -18
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +96 -11
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +79 -11
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony105.cjs +133 -6
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +132 -5
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +12 -5
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +12 -5
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +5 -132
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +5 -132
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +40 -12
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +39 -11
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +59 -4
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +60 -5
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +6 -39
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +6 -39
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +6 -60
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +5 -59
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +6 -8
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +5 -7
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +5 -6
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +5 -6
- package/dist/harmony120.cjs +1 -1
- package/dist/harmony120.mjs +1 -1
- package/dist/harmony130.cjs +1 -1
- package/dist/harmony130.mjs +1 -1
- package/dist/harmony137.cjs +1 -1
- package/dist/harmony137.mjs +1 -1
- package/dist/harmony16.cjs +1 -1
- package/dist/harmony16.mjs +1 -1
- package/dist/harmony23.cjs +1 -1
- package/dist/harmony23.mjs +1 -1
- package/dist/harmony24.cjs +1 -1
- package/dist/harmony24.mjs +1 -1
- package/dist/harmony39.cjs +1 -0
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +1 -0
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony69.cjs +1 -1
- package/dist/harmony69.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 +1 -1
- package/dist/harmony73.mjs +1 -1
- 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 +2 -2
- package/dist/harmony77.mjs +2 -2
- package/dist/harmony78.cjs +3 -3
- package/dist/harmony78.mjs +3 -3
- package/dist/harmony79.cjs +6 -6
- package/dist/harmony79.mjs +6 -6
- package/dist/harmony84.cjs +2 -2
- package/dist/harmony84.mjs +2 -2
- package/dist/harmony87.cjs +12 -6
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +11 -5
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +9 -6
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +9 -6
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +3 -6
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +3 -6
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +9 -57
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +8 -56
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +9 -42
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +8 -41
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +57 -5
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +57 -5
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +42 -9
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +41 -8
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +6 -25
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +5 -24
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +6 -3
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +6 -3
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +24 -21
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +23 -20
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +3 -9
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +3 -9
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +18 -9
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +19 -10
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +9 -9
- package/dist/harmony99.mjs +9 -9
- package/package.json +2 -2
package/dist/harmony16.mjs
CHANGED
package/dist/harmony23.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const useGetUserTokenQuery = require("./harmony44.cjs");
|
4
4
|
const React = require("react");
|
5
|
-
const NewJwtIssuedEvent = require("./
|
5
|
+
const NewJwtIssuedEvent = require("./harmony101.cjs");
|
6
6
|
const cookieTokenUtils = require("./harmony17.cjs");
|
7
7
|
function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
|
8
8
|
const csrf = cookieTokenUtils.getCsrfTokenFromCookie();
|
package/dist/harmony23.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useGetUserTokenQuery, getUserTokenKey } from "./harmony44.mjs";
|
2
2
|
import { useRef, useEffect } from "react";
|
3
|
-
import { NewJwtIssuedEvent } from "./
|
3
|
+
import { NewJwtIssuedEvent } from "./harmony101.mjs";
|
4
4
|
import { getCsrfTokenFromCookie } from "./harmony17.mjs";
|
5
5
|
function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
|
6
6
|
const csrf = getCsrfTokenFromCookie();
|
package/dist/harmony24.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const React = require("react");
|
4
4
|
const jwtTokenPayload = require("./harmony16.cjs");
|
5
|
-
const NewJwtIssuedEvent = require("./
|
5
|
+
const NewJwtIssuedEvent = require("./harmony101.cjs");
|
6
6
|
const cookieTokenUtils = require("./harmony17.cjs");
|
7
7
|
function useAuthenticatedSessionPayload() {
|
8
8
|
const [payload, setPayload] = React.useState();
|
package/dist/harmony24.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useState, useEffect } from "react";
|
2
2
|
import { parseJwtTokenPayload } from "./harmony16.mjs";
|
3
|
-
import { NewJwtIssuedEvent } from "./
|
3
|
+
import { NewJwtIssuedEvent } from "./harmony101.mjs";
|
4
4
|
import { getJwtTokenFromCookie } from "./harmony17.mjs";
|
5
5
|
function useAuthenticatedSessionPayload() {
|
6
6
|
const [payload, setPayload] = useState();
|
package/dist/harmony39.cjs
CHANGED
@@ -17,6 +17,7 @@ function useDeleteScoreMutation(wretchClient, headers, overrides = {}) {
|
|
17
17
|
* https://github.com/TanStack/query/discussions/4964
|
18
18
|
* https://github.com/TanStack/query/discussions/6380
|
19
19
|
**/
|
20
|
+
// @ts-expect-error react-query requires non-undefined return
|
20
21
|
onSuccess: () => null
|
21
22
|
});
|
22
23
|
}
|
package/dist/harmony39.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony39.cjs","sources":["../src/features/publicApi/hooks/useDeleteScoreMutation.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport { sendByDeleteRoute } from '@lokalise/frontend-http-client'\nimport { useMutation } from '@tanstack/react-query'\nimport type { ApiMutationOverrides } from '@utils/types/apiMutationOverrides'\nimport type { Wretch } from 'wretch'\nimport { deleteScore } from '../score'\nimport type { DeleteScorePathParms, DeleteScoreResponseBody } from '../types/scoreTypes'\nimport type { BaseApiEndpointHeader } from '../types/sharedTypes'\n\n/**\n * A react-router wrapper about the deleteScore API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - Instance of the header builder for the public API.\n * @param overrides - Additional options to pass to the mutation.\n */\nexport function useDeleteScoreMutation<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<BaseApiEndpointHeader>,\n\toverrides: ApiMutationOverrides<DeleteScoreResponseBody, DeleteScorePathParms> = {},\n) {\n\treturn useMutation({\n\t\t...overrides,\n\t\tmutationFn: async (variables) =>\n\t\t\tsendByDeleteRoute(wretchClient, deleteScore, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: variables,\n\t\t\t}),\n\t\t/**\n\t\t * When the request is successful, we expect to receive a 204 with no response body (i.e undefined)\n\t\t * react-query doesn't allow for undefined to be returned, so we need to return null instead\n\t\t * See references for more information:\n\t\t * https://github.com/TanStack/query/discussions/4964\n\t\t * https://github.com/TanStack/query/discussions/6380\n\t\t **/\n\t\tonSuccess: () => null,\n\t})\n}\n"],"names":["useMutation","sendByDeleteRoute","deleteScore"],"mappings":";;;;;AAgBO,SAAS,uBACf,cACA,SACA,YAAiF,CAAA,GAChF;AACD,SAAOA,uBAAY;AAAA,IAClB,GAAG;AAAA,IACH,YAAY,OAAO,cAClBC,qCAAkB,cAAcC,MAAAA,aAAa;AAAA,MAC5C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IAAA,CACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,
|
1
|
+
{"version":3,"file":"harmony39.cjs","sources":["../src/features/publicApi/hooks/useDeleteScoreMutation.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport { sendByDeleteRoute } from '@lokalise/frontend-http-client'\nimport { useMutation } from '@tanstack/react-query'\nimport type { ApiMutationOverrides } from '@utils/types/apiMutationOverrides'\nimport type { Wretch } from 'wretch'\nimport { deleteScore } from '../score'\nimport type { DeleteScorePathParms, DeleteScoreResponseBody } from '../types/scoreTypes'\nimport type { BaseApiEndpointHeader } from '../types/sharedTypes'\n\n/**\n * A react-router wrapper about the deleteScore API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - Instance of the header builder for the public API.\n * @param overrides - Additional options to pass to the mutation.\n */\nexport function useDeleteScoreMutation<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<BaseApiEndpointHeader>,\n\toverrides: ApiMutationOverrides<DeleteScoreResponseBody, DeleteScorePathParms> = {},\n) {\n\treturn useMutation({\n\t\t...overrides,\n\t\tmutationFn: async (variables) =>\n\t\t\tsendByDeleteRoute(wretchClient, deleteScore, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: variables,\n\t\t\t}),\n\t\t/**\n\t\t * When the request is successful, we expect to receive a 204 with no response body (i.e undefined)\n\t\t * react-query doesn't allow for undefined to be returned, so we need to return null instead\n\t\t * See references for more information:\n\t\t * https://github.com/TanStack/query/discussions/4964\n\t\t * https://github.com/TanStack/query/discussions/6380\n\t\t **/\n\t\t// @ts-expect-error react-query requires non-undefined return\n\t\tonSuccess: () => null,\n\t})\n}\n"],"names":["useMutation","sendByDeleteRoute","deleteScore"],"mappings":";;;;;AAgBO,SAAS,uBACf,cACA,SACA,YAAiF,CAAA,GAChF;AACD,SAAOA,uBAAY;AAAA,IAClB,GAAG;AAAA,IACH,YAAY,OAAO,cAClBC,qCAAkB,cAAcC,MAAAA,aAAa;AAAA,MAC5C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IAAA,CACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASF,WAAW,MAAM;AAAA,EAAA,CACjB;AACF;;"}
|
package/dist/harmony39.mjs
CHANGED
@@ -15,6 +15,7 @@ function useDeleteScoreMutation(wretchClient, headers, overrides = {}) {
|
|
15
15
|
* https://github.com/TanStack/query/discussions/4964
|
16
16
|
* https://github.com/TanStack/query/discussions/6380
|
17
17
|
**/
|
18
|
+
// @ts-expect-error react-query requires non-undefined return
|
18
19
|
onSuccess: () => null
|
19
20
|
});
|
20
21
|
}
|
package/dist/harmony39.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony39.mjs","sources":["../src/features/publicApi/hooks/useDeleteScoreMutation.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport { sendByDeleteRoute } from '@lokalise/frontend-http-client'\nimport { useMutation } from '@tanstack/react-query'\nimport type { ApiMutationOverrides } from '@utils/types/apiMutationOverrides'\nimport type { Wretch } from 'wretch'\nimport { deleteScore } from '../score'\nimport type { DeleteScorePathParms, DeleteScoreResponseBody } from '../types/scoreTypes'\nimport type { BaseApiEndpointHeader } from '../types/sharedTypes'\n\n/**\n * A react-router wrapper about the deleteScore API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - Instance of the header builder for the public API.\n * @param overrides - Additional options to pass to the mutation.\n */\nexport function useDeleteScoreMutation<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<BaseApiEndpointHeader>,\n\toverrides: ApiMutationOverrides<DeleteScoreResponseBody, DeleteScorePathParms> = {},\n) {\n\treturn useMutation({\n\t\t...overrides,\n\t\tmutationFn: async (variables) =>\n\t\t\tsendByDeleteRoute(wretchClient, deleteScore, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: variables,\n\t\t\t}),\n\t\t/**\n\t\t * When the request is successful, we expect to receive a 204 with no response body (i.e undefined)\n\t\t * react-query doesn't allow for undefined to be returned, so we need to return null instead\n\t\t * See references for more information:\n\t\t * https://github.com/TanStack/query/discussions/4964\n\t\t * https://github.com/TanStack/query/discussions/6380\n\t\t **/\n\t\tonSuccess: () => null,\n\t})\n}\n"],"names":[],"mappings":";;;AAgBO,SAAS,uBACf,cACA,SACA,YAAiF,CAAA,GAChF;AACD,SAAO,YAAY;AAAA,IAClB,GAAG;AAAA,IACH,YAAY,OAAO,cAClB,kBAAkB,cAAc,aAAa;AAAA,MAC5C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IAAA,CACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,
|
1
|
+
{"version":3,"file":"harmony39.mjs","sources":["../src/features/publicApi/hooks/useDeleteScoreMutation.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport { sendByDeleteRoute } from '@lokalise/frontend-http-client'\nimport { useMutation } from '@tanstack/react-query'\nimport type { ApiMutationOverrides } from '@utils/types/apiMutationOverrides'\nimport type { Wretch } from 'wretch'\nimport { deleteScore } from '../score'\nimport type { DeleteScorePathParms, DeleteScoreResponseBody } from '../types/scoreTypes'\nimport type { BaseApiEndpointHeader } from '../types/sharedTypes'\n\n/**\n * A react-router wrapper about the deleteScore API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - Instance of the header builder for the public API.\n * @param overrides - Additional options to pass to the mutation.\n */\nexport function useDeleteScoreMutation<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<BaseApiEndpointHeader>,\n\toverrides: ApiMutationOverrides<DeleteScoreResponseBody, DeleteScorePathParms> = {},\n) {\n\treturn useMutation({\n\t\t...overrides,\n\t\tmutationFn: async (variables) =>\n\t\t\tsendByDeleteRoute(wretchClient, deleteScore, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: variables,\n\t\t\t}),\n\t\t/**\n\t\t * When the request is successful, we expect to receive a 204 with no response body (i.e undefined)\n\t\t * react-query doesn't allow for undefined to be returned, so we need to return null instead\n\t\t * See references for more information:\n\t\t * https://github.com/TanStack/query/discussions/4964\n\t\t * https://github.com/TanStack/query/discussions/6380\n\t\t **/\n\t\t// @ts-expect-error react-query requires non-undefined return\n\t\tonSuccess: () => null,\n\t})\n}\n"],"names":[],"mappings":";;;AAgBO,SAAS,uBACf,cACA,SACA,YAAiF,CAAA,GAChF;AACD,SAAO,YAAY;AAAA,IAClB,GAAG;AAAA,IACH,YAAY,OAAO,cAClB,kBAAkB,cAAc,aAAa;AAAA,MAC5C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IAAA,CACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASF,WAAW,MAAM;AAAA,EAAA,CACjB;AACF;"}
|
package/dist/harmony69.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const React = require("react");
|
4
|
-
const utils = require("./
|
4
|
+
const utils = require("./harmony102.cjs");
|
5
5
|
function useResizeDetector({ skipOnMount = false, refreshMode, refreshRate = 1e3, refreshOptions, handleWidth = true, handleHeight = true, targetRef, observerOptions, onResize } = {}) {
|
6
6
|
const skipResize = React.useRef(skipOnMount);
|
7
7
|
const onResizeRef = utils.useCallbackRef(onResize);
|
package/dist/harmony69.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useRef, useState, useCallback, useEffect } from "react";
|
2
|
-
import { useCallbackRef, useRefProxy, getDimensions, patchResizeCallback } from "./
|
2
|
+
import { useCallbackRef, useRefProxy, getDimensions, patchResizeCallback } from "./harmony102.mjs";
|
3
3
|
function useResizeDetector({ skipOnMount = false, refreshMode, refreshRate = 1e3, refreshOptions, handleWidth = true, handleHeight = true, targetRef, observerOptions, onResize } = {}) {
|
4
4
|
const skipResize = useRef(skipOnMount);
|
5
5
|
const onResizeRef = useCallbackRef(onResize);
|
package/dist/harmony71.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("./harmony89.cjs");
|
5
5
|
const Avatar = ({
|
6
6
|
src,
|
7
7
|
href = "/",
|
package/dist/harmony71.mjs
CHANGED
package/dist/harmony72.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("./harmony67.cjs");
|
6
|
-
const IconLink_module = require("./
|
6
|
+
const IconLink_module = require("./harmony90.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/harmony72.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 "./harmony67.mjs";
|
4
|
-
import styles from "./
|
4
|
+
import styles from "./harmony90.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/harmony73.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("./harmony67.cjs");
|
6
|
-
const Menu_module = require("./
|
6
|
+
const Menu_module = require("./harmony91.cjs");
|
7
7
|
const Menu = ({ children, icon: Icon }) => {
|
8
8
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
9
9
|
louis.Menu,
|
package/dist/harmony73.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 "./harmony67.mjs";
|
4
|
-
import styles from "./
|
4
|
+
import styles from "./harmony91.mjs";
|
5
5
|
const Menu = ({ children, icon: Icon }) => {
|
6
6
|
return /* @__PURE__ */ jsx(
|
7
7
|
Menu$1,
|
package/dist/harmony74.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("./harmony92.cjs");
|
5
|
+
const ProfileMenuProvider = require("./harmony93.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=harmony74.cjs.map
|
package/dist/harmony74.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 "./harmony92.mjs";
|
3
|
+
import { ProfileMenuProvider } from "./harmony93.mjs";
|
4
4
|
const ProfileMenu = ({ config, children }) => /* @__PURE__ */ jsx(ProfileMenuProvider, { config, children: /* @__PURE__ */ jsx(ProfileMenuContent, { children }) });
|
5
5
|
export {
|
6
6
|
ProfileMenu
|
package/dist/harmony75.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("./harmony94.cjs");
|
6
|
+
const ProfileSettingsMenuItem_module = require("./harmony95.cjs");
|
7
7
|
const ProfileSettingsMenuItem = ({
|
8
8
|
href,
|
9
9
|
onClick,
|
package/dist/harmony75.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 "./harmony94.mjs";
|
4
|
+
import styles from "./harmony95.mjs";
|
5
5
|
const ProfileSettingsMenuItem = ({
|
6
6
|
href,
|
7
7
|
onClick,
|
package/dist/harmony76.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("./harmony8.cjs");
|
6
|
-
const ProfileMenuContext = require("./
|
7
|
-
const TeamMenuItem_module = require("./
|
6
|
+
const ProfileMenuContext = require("./harmony94.cjs");
|
7
|
+
const TeamMenuItem_module = require("./harmony96.cjs");
|
8
8
|
const TeamMenuItem = ({ team, onClick, hidePlanLabel }) => {
|
9
9
|
const { currentTeam, planId } = ProfileMenuContext.useProfileMenu();
|
10
10
|
const contextTeam = team || currentTeam;
|
package/dist/harmony76.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 "./harmony8.mjs";
|
4
|
-
import { useProfileMenu } from "./
|
5
|
-
import styles from "./
|
4
|
+
import { useProfileMenu } from "./harmony94.mjs";
|
5
|
+
import styles from "./harmony96.mjs";
|
6
6
|
const TeamMenuItem = ({ team, onClick, hidePlanLabel }) => {
|
7
7
|
const { currentTeam, planId } = useProfileMenu();
|
8
8
|
const contextTeam = team || currentTeam;
|
package/dist/harmony77.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("./harmony94.cjs");
|
5
5
|
const TeamMenuItem = require("./harmony76.cjs");
|
6
|
-
const TeamSwitch_module = require("./
|
6
|
+
const TeamSwitch_module = require("./harmony97.cjs");
|
7
7
|
const TeamSwitch = ({ onSwitchTeam }) => {
|
8
8
|
const { otherTeams } = ProfileMenuContext.useProfileMenu();
|
9
9
|
if (otherTeams.length === 0) {
|
package/dist/harmony77.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { useProfileMenu } from "./
|
2
|
+
import { useProfileMenu } from "./harmony94.mjs";
|
3
3
|
import { TeamMenuItem } from "./harmony76.mjs";
|
4
|
-
import styles from "./
|
4
|
+
import styles from "./harmony97.mjs";
|
5
5
|
const TeamSwitch = ({ onSwitchTeam }) => {
|
6
6
|
const { otherTeams } = useProfileMenu();
|
7
7
|
if (otherTeams.length === 0) {
|
package/dist/harmony78.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("./harmony8.cjs");
|
6
|
-
const UpgradeIcon = require("./
|
7
|
-
const ProfileMenuContext = require("./
|
8
|
-
const UpgradeMenuItem_module = require("./
|
6
|
+
const UpgradeIcon = require("./harmony98.cjs");
|
7
|
+
const ProfileMenuContext = require("./harmony94.cjs");
|
8
|
+
const UpgradeMenuItem_module = require("./harmony99.cjs");
|
9
9
|
const UpgradeMenuItem = ({ upgradeOptionHref }) => {
|
10
10
|
const { planId, trialDaysLeft, showUpgradeCta } = ProfileMenuContext.useProfileMenu();
|
11
11
|
if (!showUpgradeCta) {
|
package/dist/harmony78.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 "./harmony8.mjs";
|
4
|
-
import { UpgradeIcon } from "./
|
5
|
-
import { useProfileMenu } from "./
|
6
|
-
import styles from "./
|
4
|
+
import { UpgradeIcon } from "./harmony98.mjs";
|
5
|
+
import { useProfileMenu } from "./harmony94.mjs";
|
6
|
+
import styles from "./harmony99.mjs";
|
7
7
|
const UpgradeMenuItem = ({ upgradeOptionHref }) => {
|
8
8
|
const { planId, trialDaysLeft, showUpgradeCta } = useProfileMenu();
|
9
9
|
if (!showUpgradeCta) {
|
package/dist/harmony79.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("./harmony105.cjs");
|
5
5
|
const louis = require("@lokalise/louis");
|
6
6
|
const useEffectOnce = require("./harmony12.cjs");
|
7
7
|
const clsx = require("./harmony67.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("./harmony106.cjs");
|
10
|
+
const TasksContext = require("./harmony107.cjs");
|
11
|
+
const TasksPopover = require("./harmony108.cjs");
|
12
|
+
const TasksProvider = require("./harmony109.cjs");
|
13
|
+
const taskEvents = require("./harmony110.cjs");
|
14
14
|
const Tasks = TasksProvider.withTasksContext(() => {
|
15
15
|
const [open, setOpen] = React.useState(false);
|
16
16
|
const { tasksCount } = TasksContext.useTasks();
|
package/dist/harmony79.mjs
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { shift } from "./
|
2
|
+
import { shift } from "./harmony105.mjs";
|
3
3
|
import { Tooltip, Popover, Button, JobIcon } from "@lokalise/louis";
|
4
4
|
import { useEffectOnce } from "./harmony12.mjs";
|
5
5
|
import { clsx } from "./harmony67.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 "./harmony106.mjs";
|
8
|
+
import { useTasks } from "./harmony107.mjs";
|
9
|
+
import { TasksPopover } from "./harmony108.mjs";
|
10
|
+
import { withTasksContext } from "./harmony109.mjs";
|
11
|
+
import { TaskEvents } from "./harmony110.mjs";
|
12
12
|
const Tasks = withTasksContext(() => {
|
13
13
|
const [open, setOpen] = useState(false);
|
14
14
|
const { tasksCount } = useTasks();
|
package/dist/harmony84.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("./harmony67.cjs");
|
7
|
-
const SortingIcon = require("./
|
8
|
-
const TableHeaderCell_module = require("./
|
7
|
+
const SortingIcon = require("./harmony87.cjs");
|
8
|
+
const TableHeaderCell_module = require("./harmony88.cjs");
|
9
9
|
const Cell = ({ children, align, className }) => {
|
10
10
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
11
11
|
louis.TableHeaderCell,
|
package/dist/harmony84.mjs
CHANGED
@@ -2,8 +2,8 @@ import { jsx, jsxs } 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 "./harmony67.mjs";
|
5
|
-
import { SortingIcon } from "./
|
6
|
-
import styles from "./
|
5
|
+
import { SortingIcon } from "./harmony87.mjs";
|
6
|
+
import styles from "./harmony88.mjs";
|
7
7
|
const Cell = ({ children, align, className }) => {
|
8
8
|
return /* @__PURE__ */ jsx(
|
9
9
|
TableHeaderCell$1,
|
package/dist/harmony87.cjs
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
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" });
|
6
13
|
};
|
7
|
-
exports.
|
8
|
-
exports.logoLink = logoLink;
|
14
|
+
exports.SortingIcon = SortingIcon;
|
9
15
|
//# sourceMappingURL=harmony87.cjs.map
|
package/dist/harmony87.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony87.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony87.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/harmony87.mjs
CHANGED
@@ -1,9 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
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" });
|
4
11
|
};
|
5
12
|
export {
|
6
|
-
|
7
|
-
logoLink
|
13
|
+
SortingIcon
|
8
14
|
};
|
9
15
|
//# sourceMappingURL=harmony87.mjs.map
|
package/dist/harmony87.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony87.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony87.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/harmony88.cjs
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
4
|
-
const
|
3
|
+
const headerSortButton = "_headerSortButton_b5tlh_1";
|
4
|
+
const centeredCell = "_centeredCell_b5tlh_15";
|
5
|
+
const rightAlignedCell = "_rightAlignedCell_b5tlh_19";
|
5
6
|
const styles = {
|
6
|
-
|
7
|
-
|
7
|
+
headerSortButton,
|
8
|
+
centeredCell,
|
9
|
+
rightAlignedCell
|
8
10
|
};
|
9
|
-
exports.
|
11
|
+
exports.centeredCell = centeredCell;
|
10
12
|
exports.default = styles;
|
11
|
-
exports.
|
13
|
+
exports.headerSortButton = headerSortButton;
|
14
|
+
exports.rightAlignedCell = rightAlignedCell;
|
12
15
|
//# sourceMappingURL=harmony88.cjs.map
|
package/dist/harmony88.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony88.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony88.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/harmony88.mjs
CHANGED
@@ -1,12 +1,15 @@
|
|
1
|
-
const
|
2
|
-
const
|
1
|
+
const headerSortButton = "_headerSortButton_b5tlh_1";
|
2
|
+
const centeredCell = "_centeredCell_b5tlh_15";
|
3
|
+
const rightAlignedCell = "_rightAlignedCell_b5tlh_19";
|
3
4
|
const styles = {
|
4
|
-
|
5
|
-
|
5
|
+
headerSortButton,
|
6
|
+
centeredCell,
|
7
|
+
rightAlignedCell
|
6
8
|
};
|
7
9
|
export {
|
8
|
-
|
10
|
+
centeredCell,
|
9
11
|
styles as default,
|
10
|
-
|
12
|
+
headerSortButton,
|
13
|
+
rightAlignedCell
|
11
14
|
};
|
12
15
|
//# sourceMappingURL=harmony88.mjs.map
|
package/dist/harmony88.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony88.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony88.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony89.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=harmony89.cjs.map
|
package/dist/harmony89.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony89.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony89.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony89.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=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":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony90.cjs
CHANGED
@@ -1,60 +1,12 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
const ProfileMenuContext = require("./harmony92.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=harmony90.cjs.map
|
package/dist/harmony90.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony90.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony90.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|