kurtosis-ui-components 1.16.6 → 1.17.4
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/build/AppLayout.js +1 -1
- package/build/CodeEditor.d.ts +0 -1
- package/build/CodeEditor.js +1 -1
- package/build/KurtosisThemeProvider.d.ts +1 -1
- package/build/KurtosisThemeProvider.js +5 -5
- package/build/Toasts.d.ts +1 -1
- package/build/catalog/KurtosisPackageCardGrid.d.ts +0 -1
- package/build/theme/formsTheme.d.ts +9 -8
- package/build/theme/tabsTheme.d.ts +2 -2
- package/build/theme/tagsTheme.d.ts +1 -1
- package/package.json +1 -1
package/build/AppLayout.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
2
2
|
import { Box, Flex } from "@chakra-ui/react";
|
|
3
3
|
import { createContext, useContext } from "react";
|
|
4
4
|
import { KurtosisBreadcrumbs } from "./KurtosisBreadcrumbs";
|
|
5
|
-
import { MAIN_APP_BOTTOM_PADDING,
|
|
5
|
+
import { MAIN_APP_BOTTOM_PADDING, MAIN_APP_LEFT_PADDING_WITH_NAV, MAIN_APP_LEFT_PADDING_WITHOUT_NAV, MAIN_APP_MAX_WIDTH, MAIN_APP_RIGHT_PADDING, MAIN_APP_TOP_PADDING, } from "./theme/constants";
|
|
6
6
|
import { isDefined } from "./utils";
|
|
7
7
|
const AppLayoutContext = createContext({ hasNavbar: true });
|
|
8
8
|
export const AppLayout = ({ children, navbar }) => {
|
package/build/CodeEditor.d.ts
CHANGED
package/build/CodeEditor.js
CHANGED
|
@@ -115,7 +115,7 @@ export const CodeEditor = forwardRef(({ text, fileName, isEditable, onTextChange
|
|
|
115
115
|
// it is unclear why this is the case.
|
|
116
116
|
resizeEditorBasedOnContent();
|
|
117
117
|
return (_jsx(Box, { width: "100%", children: _jsx(Editor, { onMount: handleMount, value: text, path: fileName, onChange: handleChange, options: {
|
|
118
|
-
automaticLayout: false,
|
|
118
|
+
automaticLayout: false, // if this is `true` a ResizeObserver is installed. This causes issues with us managing the container size outside.
|
|
119
119
|
readOnly: isReadOnly,
|
|
120
120
|
lineNumbers: showLineNumbers || (!isDefined(showLineNumbers) && !isReadOnly) ? "on" : "off",
|
|
121
121
|
minimap: { enabled: false },
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ChakraProviderProps } from "@chakra-ui/react
|
|
1
|
+
import type { ChakraProviderProps } from "@chakra-ui/react";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
3
|
export declare const KurtosisThemeProvider: ({ children, ...chakraProps }: PropsWithChildren<Omit<ChakraProviderProps, "theme">>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -30,7 +30,7 @@ const theme = extendTheme({
|
|
|
30
30
|
100: "#99f7aa",
|
|
31
31
|
200: "#66f27f",
|
|
32
32
|
300: "#33ee55",
|
|
33
|
-
400: "#00C223",
|
|
33
|
+
400: "#00C223", // The true green
|
|
34
34
|
500: "#00bb22",
|
|
35
35
|
600: "#008c19",
|
|
36
36
|
700: "#18371E",
|
|
@@ -40,18 +40,18 @@ const theme = extendTheme({
|
|
|
40
40
|
400: "#516A77",
|
|
41
41
|
},
|
|
42
42
|
gray: {
|
|
43
|
-
100: "#E3E3E3",
|
|
43
|
+
100: "#E3E3E3", // text
|
|
44
44
|
150: "#A1A3A5",
|
|
45
45
|
200: "#878787",
|
|
46
46
|
250: "#7A7A7A",
|
|
47
47
|
300: "#606770",
|
|
48
|
-
400: "#5B5B5B",
|
|
48
|
+
400: "#5B5B5B", // icon color
|
|
49
49
|
500: "#393B3E",
|
|
50
50
|
600: "#2E2E2E",
|
|
51
51
|
650: "#292929",
|
|
52
52
|
700: "#1E1E1E",
|
|
53
|
-
800: "#1D1D1D",
|
|
54
|
-
850: "#1B1B1D",
|
|
53
|
+
800: "#1D1D1D", // selected background
|
|
54
|
+
850: "#1B1B1D", // Accent background
|
|
55
55
|
900: "#111111", // ui background
|
|
56
56
|
},
|
|
57
57
|
red: {
|
package/build/Toasts.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type ToastProps = {
|
|
2
2
|
message: string;
|
|
3
3
|
};
|
|
4
|
-
export declare const SuccessToast: import("@chakra-ui/
|
|
4
|
+
export declare const SuccessToast: import("@chakra-ui/icons").ComponentWithAs<"div", ToastProps>;
|
|
5
5
|
export {};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
declare const $fg: {
|
|
2
|
+
variable: string;
|
|
3
|
+
reference: string;
|
|
4
|
+
};
|
|
1
5
|
export declare const formsTheme: {
|
|
2
6
|
baseStyle?: {
|
|
3
7
|
container: {
|
|
@@ -5,22 +9,18 @@ export declare const formsTheme: {
|
|
|
5
9
|
position: string;
|
|
6
10
|
};
|
|
7
11
|
requiredIndicator: {
|
|
8
|
-
[
|
|
9
|
-
[x: string]: string;
|
|
10
|
-
};
|
|
12
|
+
[$fg.variable]: string;
|
|
11
13
|
marginStart: string;
|
|
12
14
|
_dark: {
|
|
13
|
-
[
|
|
15
|
+
[$fg.variable]: string;
|
|
14
16
|
};
|
|
15
17
|
color: string;
|
|
16
18
|
};
|
|
17
19
|
helperText: {
|
|
18
|
-
[
|
|
19
|
-
[x: string]: string;
|
|
20
|
-
};
|
|
20
|
+
[$fg.variable]: string;
|
|
21
21
|
mt: string;
|
|
22
22
|
_dark: {
|
|
23
|
-
[
|
|
23
|
+
[$fg.variable]: string;
|
|
24
24
|
};
|
|
25
25
|
color: string;
|
|
26
26
|
lineHeight: string;
|
|
@@ -44,3 +44,4 @@ export declare const formsTheme: {
|
|
|
44
44
|
} | undefined;
|
|
45
45
|
parts: ("container" | "requiredIndicator" | "helperText")[];
|
|
46
46
|
};
|
|
47
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { StyleFunctionProps } from "@chakra-ui/react";
|
|
2
2
|
export declare const tabsTheme: {
|
|
3
|
-
baseStyle?: import("@chakra-ui/
|
|
3
|
+
baseStyle?: import("@chakra-ui/react").PartsStyleInterpolation<{
|
|
4
4
|
keys: ("tab" | "tablist" | "tabpanel" | "tabpanels" | "root" | "indicator")[];
|
|
5
5
|
}> | undefined;
|
|
6
6
|
sizes?: {
|
|
7
|
-
[key: string]: import("@chakra-ui/
|
|
7
|
+
[key: string]: import("@chakra-ui/react").PartsStyleInterpolation<{
|
|
8
8
|
keys: ("tab" | "tablist" | "tabpanel" | "tabpanels" | "root" | "indicator")[];
|
|
9
9
|
}>;
|
|
10
10
|
} | undefined;
|
|
@@ -6,7 +6,7 @@ export declare const tagTheme: {
|
|
|
6
6
|
};
|
|
7
7
|
} | undefined;
|
|
8
8
|
sizes?: {
|
|
9
|
-
[key: string]: import("@chakra-ui/
|
|
9
|
+
[key: string]: import("@chakra-ui/react").PartsStyleInterpolation<{
|
|
10
10
|
keys: ("label" | "container" | "closeButton")[];
|
|
11
11
|
}>;
|
|
12
12
|
} | undefined;
|