remoraid 2.14.7 → 2.19.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.
@@ -4,14 +4,12 @@
4
4
  align-items: center;
5
5
  justify-content: center;
6
6
  color: light-dark(var(--mantine-color-gray-7), var(--mantine-color-dark-0));
7
-
8
7
  &:hover {
9
8
  background-color: light-dark(
10
9
  var(--mantine-color-gray-0),
11
10
  var(--mantine-color-dark-5)
12
11
  );
13
12
  }
14
-
15
13
  &[data-active] {
16
14
  &,
17
15
  &:hover {
@@ -20,8 +18,61 @@
20
18
  }
21
19
  }
22
20
  }
23
- .remoraid-close-button {
24
- top: calc(var(--ai-size-xs) * -0.25);
25
- right: calc(var(--ai-size-xs) * -0.25);
21
+ .remoraid-controls {
26
22
  z-index: 1;
23
+ cursor: grab;
24
+ &:active {
25
+ cursor: grabbing;
26
+ }
27
+ &:not(:has(> .remoraid-controls-group > button[data-control-button="true"])) {
28
+ display: none;
29
+ }
30
+ }
31
+ .remoraid-frame-layout {
32
+ --remoraid-frame-layout-content-section-padding-top: var(
33
+ --remoraid-frame-layout-gutter
34
+ );
35
+ --remoraid-frame-layout-content-section-padding-bottom: var(
36
+ --remoraid-frame-layout-gutter
37
+ );
38
+ &:has(
39
+ > .remoraid-frame-layout-vertical-container
40
+ > .remoraid-frame-layout-top-section
41
+ > :not([data-hidden="true"])
42
+ ) {
43
+ --remoraid-frame-layout-content-section-padding-top: 0;
44
+ }
45
+ &:has(
46
+ > .remoraid-frame-layout-vertical-container
47
+ > .remoraid-frame-layout-bottom-section
48
+ > :not([data-hidden="true"])
49
+ ) {
50
+ --remoraid-frame-layout-content-section-padding-bottom: 0;
51
+ }
52
+ }
53
+ .remoraid-frame-layout-section {
54
+ padding: 0;
55
+ &:has(> :not([data-hidden="true"])) {
56
+ &:not(.remoraid-frame-layout-content-section) {
57
+ padding: var(--remoraid-frame-layout-gutter);
58
+ }
59
+ &.remoraid-frame-layout-content-section {
60
+ padding-left: var(--remoraid-frame-layout-gutter);
61
+ padding-right: var(--remoraid-frame-layout-gutter);
62
+ padding-top: var(--remoraid-frame-layout-content-section-padding-top);
63
+ padding-bottom: var(
64
+ --remoraid-frame-layout-content-section-padding-bottom
65
+ );
66
+ }
67
+ }
68
+ }
69
+ .remoraid-page-container {
70
+ &:has(> .remoraid-page) {
71
+ &:not(:has(> .remoraid-page > :not([data-hidden="true"]))) {
72
+ display: none;
73
+ }
74
+ }
75
+ }
76
+ [data-hidden="true"] {
77
+ display: none;
27
78
  }
@@ -1,15 +1,15 @@
1
- import { ContainerProps as ContainerProps3, MantineSize as MantineSize10 } from "@mantine/core";
1
+ import { ContainerProps as ContainerProps3, MantineSize as MantineSize11 } from "@mantine/core";
2
2
  interface EnvironmentShellProps {
3
3
  environment: Record<string, string | undefined>;
4
4
  message?: string;
5
- m?: MantineSize10 | number;
6
- mt?: MantineSize10 | number;
5
+ m?: MantineSize11 | number;
6
+ mt?: MantineSize11 | number;
7
7
  withContainer?: boolean;
8
8
  componentsProps?: {
9
9
  container?: ContainerProps3
10
10
  };
11
11
  }
12
- import { PropsWithChildren as PropsWithChildren22, ReactNode as ReactNode34 } from "react";
12
+ import { PropsWithChildren as PropsWithChildren23, ReactNode as ReactNode36 } from "react";
13
13
  interface ServerEnvironmentShellProps extends EnvironmentShellProps {}
14
- declare function EnvironmentShell2({ children, environment, message }: PropsWithChildren22<ServerEnvironmentShellProps>): ReactNode34;
14
+ declare function EnvironmentShell2({ children, environment, message }: PropsWithChildren23<ServerEnvironmentShellProps>): ReactNode36;
15
15
  export { ServerEnvironmentShellProps, EnvironmentShell2 as EnvironmentShell };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remoraid",
3
- "version": "2.14.7",
3
+ "version": "2.19.4",
4
4
  "author": "Konrad Goldammer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -75,6 +75,7 @@
75
75
  },
76
76
  "type": "module",
77
77
  "dependencies": {
78
+ "clsx": "^2.1.1",
78
79
  "lodash": "^4.17.21"
79
80
  }
80
81
  }