@gen3/frontend 0.11.59 → 0.11.60
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/dts/features/Navigation/NavigationButton.d.ts +2 -1
- package/dist/dts/features/Navigation/NavigationButton.d.ts.map +1 -1
- package/dist/dts/features/Navigation/NavigationButton.js +2 -1
- package/dist/dts/features/Navigation/NavigationButton.js.map +1 -1
- package/dist/index/cjs/QueryPanel-wEJ2JT7q.js +24 -0
- package/dist/index/cjs/QueryPanel-wEJ2JT7q.js.map +1 -0
- package/dist/index/cjs/index-CgHkBAOj.js +30089 -0
- package/dist/index/cjs/index-CgHkBAOj.js.map +1 -0
- package/dist/index/cjs/index.js +1 -1
- package/dist/index/esm/QueryPanel-DYtqIza2.js +22 -0
- package/dist/index/esm/QueryPanel-DYtqIza2.js.map +1 -0
- package/dist/index/esm/index-QHjUgWw1.js +29848 -0
- package/dist/index/esm/index-QHjUgWw1.js.map +1 -0
- package/dist/index/esm/index.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonProps } from '@mantine/core';
|
|
3
|
-
|
|
3
|
+
import Link from 'next/link';
|
|
4
|
+
type NavigationButtonProps = ButtonProps & React.ComponentPropsWithoutRef<typeof Link> & {
|
|
4
5
|
$selected?: boolean;
|
|
5
6
|
};
|
|
6
7
|
declare const NavigationButton: ({ $selected, ...props }: NavigationButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationButton.d.ts","sourceRoot":"","sources":["../../../../src/features/Navigation/NavigationButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"NavigationButton.d.ts","sourceRoot":"","sources":["../../../../src/features/Navigation/NavigationButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,WAAW,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,KAAK,qBAAqB,GAAG,WAAW,GACtC,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAExE,QAAA,MAAM,gBAAgB,GAAI,yBAAyB,qBAAqB,4CAYvE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -22,9 +22,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { Button } from '@mantine/core';
|
|
25
|
+
import Link from 'next/link';
|
|
25
26
|
var NavigationButton = function (_a) {
|
|
26
27
|
var $selected = _a.$selected, props = __rest(_a, ["$selected"]);
|
|
27
|
-
return (_jsx(Button, __assign({}, props, { component:
|
|
28
|
+
return (_jsx(Button, __assign({}, props, { component: Link, color: $selected ? 'white' : 'gray', variant: $selected ? 'filled' : 'outline', size: "lg", role: "navigation", className: "subpixel-antialiased shadow rounded-lg text-base font-heading font-medium transition hover:bg-heal-purple hover:shadow-[0_4px_5px_0px_rgba(0,0,0,0.35)] hover:border-white hover:underline" })));
|
|
28
29
|
};
|
|
29
30
|
export default NavigationButton;
|
|
30
31
|
//# sourceMappingURL=NavigationButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationButton.js","sourceRoot":"","sources":["../../../../src/features/Navigation/NavigationButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAe,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"NavigationButton.js","sourceRoot":"","sources":["../../../../src/features/Navigation/NavigationButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,MAAM,EAAe,MAAM,eAAe,CAAC;AACpD,OAAO,IAAI,MAAM,WAAW,CAAC;AAK7B,IAAM,gBAAgB,GAAG,UAAC,EAA8C;IAA5C,IAAA,SAAS,eAAA,EAAK,KAAK,cAArB,aAAuB,CAAF;IAC7C,OAAO,CACL,KAAC,MAAM,eACD,KAAK,IACT,SAAS,EAAE,IAAI,EACf,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EACnC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EACzC,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,YAAY,EACjB,SAAS,EAAC,4LAA4L,IACtM,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
var dynamic = require('next/dynamic');
|
|
5
|
+
require('react');
|
|
6
|
+
var core = require('@mantine/core');
|
|
7
|
+
|
|
8
|
+
// Wrapper function for displaying loading element before GqlQueryEditor renders
|
|
9
|
+
const GqlQueryEditor = dynamic(()=>Promise.resolve().then(function () { return require('./index-CgHkBAOj.js'); }).then(function (n) { return n.GqlQueryEditor$1; }), {
|
|
10
|
+
loading: ()=>/*#__PURE__*/ jsxRuntime.jsx(core.LoadingOverlay, {
|
|
11
|
+
visible: true
|
|
12
|
+
}),
|
|
13
|
+
ssr: false
|
|
14
|
+
});
|
|
15
|
+
const QueryPanel = ({ graphQLEndpoint })=>{
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
return /*#__PURE__*/ jsxRuntime.jsx(GqlQueryEditor, {
|
|
19
|
+
graphQLEndpoint: graphQLEndpoint
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
exports.default = QueryPanel;
|
|
24
|
+
//# sourceMappingURL=QueryPanel-wEJ2JT7q.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryPanel-wEJ2JT7q.js","sources":["../../../src/features/Query/QueryPanel.tsx"],"sourcesContent":["import dynamic from 'next/dynamic';\nimport React from 'react';\nimport { LoadingOverlay } from '@mantine/core';\n\n// Wrapper function for displaying loading element before GqlQueryEditor renders\nconst GqlQueryEditor = dynamic(() => import('./GqlQueryEditor'), {\n loading: () => <LoadingOverlay visible={true} />,\n ssr: false,\n});\n\ninterface QueryPanelProps {\n graphQLEndpoint?: string;\n title?: string;\n}\n\nconst QueryPanel = ({\n graphQLEndpoint,\n}: QueryPanelProps) => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return <GqlQueryEditor graphQLEndpoint={graphQLEndpoint} />;\n};\n\nexport default QueryPanel;\n"],"names":["GqlQueryEditor","dynamic","loading","_jsx","LoadingOverlay","visible","ssr","QueryPanel","graphQLEndpoint"],"mappings":";;;;;;;AAIA;AACA,MAAMA,cAAAA,GAAiBC,OAAAA,CAAQ,IAAM,oDAAO,qBAAA,uDAAA,EAAqB;AAC/DC,IAAAA,OAAAA,EAAS,kBAAMC,cAAA,CAACC,mBAAAA,EAAAA;YAAeC,OAAAA,EAAS;;IACxCC,GAAAA,EAAK;AACP,CAAA,CAAA;AAOA,MAAMC,UAAAA,GAAa,CAAC,EAClBC,eAAe,EACC,GAAA;;;AAGhB,IAAA,qBAAOL,cAAA,CAACH,cAAAA,EAAAA;QAAeQ,eAAAA,EAAiBA;;AAC1C;;;;"}
|