@wallarm-org/design-system 2.3.2 → 2.3.3
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/components/Page/PageContent.js +1 -1
- package/dist/components/Page/PageDescription.d.ts +5 -0
- package/dist/components/{SettingsHeader/SettingsHeaderDescription.js → Page/PageDescription.js} +4 -4
- package/dist/components/Page/PageHeaderGroup.d.ts +6 -0
- package/dist/components/{SettingsHeader/SettingsHeaderFilters.js → Page/PageHeaderGroup.js} +6 -6
- package/dist/components/Page/PageToolbar.d.ts +6 -0
- package/dist/components/{SettingsHeader/SettingsHeaderBreadcrumbs.js → Page/PageToolbar.js} +6 -6
- package/dist/components/Page/index.d.ts +3 -0
- package/dist/components/Page/index.js +3 -0
- package/dist/components/RemoteShell/RemoteShell.js +1 -1
- package/dist/components/Table/TableMasterCellActions.js +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/metadata/components.json +1225 -2346
- package/package.json +1 -1
- package/dist/components/SettingsHeader/SettingsHeader.d.ts +0 -7
- package/dist/components/SettingsHeader/SettingsHeader.js +0 -63
- package/dist/components/SettingsHeader/SettingsHeaderActions.d.ts +0 -6
- package/dist/components/SettingsHeader/SettingsHeaderActions.js +0 -51
- package/dist/components/SettingsHeader/SettingsHeaderBreadcrumbs.d.ts +0 -6
- package/dist/components/SettingsHeader/SettingsHeaderDescription.d.ts +0 -5
- package/dist/components/SettingsHeader/SettingsHeaderFilters.d.ts +0 -6
- package/dist/components/SettingsHeader/SettingsHeaderHeading.d.ts +0 -6
- package/dist/components/SettingsHeader/SettingsHeaderHeading.js +0 -51
- package/dist/components/SettingsHeader/SettingsHeaderTitle.d.ts +0 -5
- package/dist/components/SettingsHeader/SettingsHeaderTitle.js +0 -51
- package/dist/components/SettingsHeader/index.d.ts +0 -7
- package/dist/components/SettingsHeader/index.js +0 -7
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
|
|
2
|
-
import { type TestableProps } from '../../utils/testId.js';
|
|
3
|
-
export interface SettingsHeaderProps extends HTMLAttributes<HTMLDivElement>, TestableProps {
|
|
4
|
-
ref?: Ref<HTMLDivElement>;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const SettingsHeader: FC<SettingsHeaderProps>;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
|
-
import { cn } from "../../utils/cn.js";
|
|
4
|
-
import { TestIdProvider } from "../../utils/testId.js";
|
|
5
|
-
const SettingsHeader = (t0)=>{
|
|
6
|
-
const $ = c(17);
|
|
7
|
-
let children;
|
|
8
|
-
let className;
|
|
9
|
-
let props;
|
|
10
|
-
let ref;
|
|
11
|
-
let testId;
|
|
12
|
-
if ($[0] !== t0) {
|
|
13
|
-
({ ref, className, children, "data-testid": testId, ...props } = t0);
|
|
14
|
-
$[0] = t0;
|
|
15
|
-
$[1] = children;
|
|
16
|
-
$[2] = className;
|
|
17
|
-
$[3] = props;
|
|
18
|
-
$[4] = ref;
|
|
19
|
-
$[5] = testId;
|
|
20
|
-
} else {
|
|
21
|
-
children = $[1];
|
|
22
|
-
className = $[2];
|
|
23
|
-
props = $[3];
|
|
24
|
-
ref = $[4];
|
|
25
|
-
testId = $[5];
|
|
26
|
-
}
|
|
27
|
-
let t1;
|
|
28
|
-
if ($[6] !== className) {
|
|
29
|
-
t1 = cn("flex flex-col gap-6 pb-12 pt-8 px-24 has-[+[data-slot=page-content]]:pb-6", className);
|
|
30
|
-
$[6] = className;
|
|
31
|
-
$[7] = t1;
|
|
32
|
-
} else t1 = $[7];
|
|
33
|
-
let t2;
|
|
34
|
-
if ($[8] !== children || $[9] !== props || $[10] !== ref || $[11] !== t1 || $[12] !== testId) {
|
|
35
|
-
t2 = /*#__PURE__*/ jsx("div", {
|
|
36
|
-
...props,
|
|
37
|
-
ref: ref,
|
|
38
|
-
"data-testid": testId,
|
|
39
|
-
"data-slot": "settings-header",
|
|
40
|
-
className: t1,
|
|
41
|
-
children: children
|
|
42
|
-
});
|
|
43
|
-
$[8] = children;
|
|
44
|
-
$[9] = props;
|
|
45
|
-
$[10] = ref;
|
|
46
|
-
$[11] = t1;
|
|
47
|
-
$[12] = testId;
|
|
48
|
-
$[13] = t2;
|
|
49
|
-
} else t2 = $[13];
|
|
50
|
-
let t3;
|
|
51
|
-
if ($[14] !== t2 || $[15] !== testId) {
|
|
52
|
-
t3 = /*#__PURE__*/ jsx(TestIdProvider, {
|
|
53
|
-
value: testId,
|
|
54
|
-
children: t2
|
|
55
|
-
});
|
|
56
|
-
$[14] = t2;
|
|
57
|
-
$[15] = testId;
|
|
58
|
-
$[16] = t3;
|
|
59
|
-
} else t3 = $[16];
|
|
60
|
-
return t3;
|
|
61
|
-
};
|
|
62
|
-
SettingsHeader.displayName = "SettingsHeader";
|
|
63
|
-
export { SettingsHeader };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
|
|
2
|
-
export interface SettingsHeaderActionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
ref?: Ref<HTMLDivElement>;
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const SettingsHeaderActions: FC<SettingsHeaderActionsProps>;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
|
-
import { cn } from "../../utils/cn.js";
|
|
4
|
-
import { useTestId } from "../../utils/testId.js";
|
|
5
|
-
const SettingsHeaderActions = (t0)=>{
|
|
6
|
-
const $ = c(13);
|
|
7
|
-
let children;
|
|
8
|
-
let className;
|
|
9
|
-
let props;
|
|
10
|
-
let ref;
|
|
11
|
-
if ($[0] !== t0) {
|
|
12
|
-
({ ref, children, className, ...props } = t0);
|
|
13
|
-
$[0] = t0;
|
|
14
|
-
$[1] = children;
|
|
15
|
-
$[2] = className;
|
|
16
|
-
$[3] = props;
|
|
17
|
-
$[4] = ref;
|
|
18
|
-
} else {
|
|
19
|
-
children = $[1];
|
|
20
|
-
className = $[2];
|
|
21
|
-
props = $[3];
|
|
22
|
-
ref = $[4];
|
|
23
|
-
}
|
|
24
|
-
const testId = useTestId("actions");
|
|
25
|
-
let t1;
|
|
26
|
-
if ($[5] !== className) {
|
|
27
|
-
t1 = cn("flex items-center gap-8 shrink-0 ml-auto", className);
|
|
28
|
-
$[5] = className;
|
|
29
|
-
$[6] = t1;
|
|
30
|
-
} else t1 = $[6];
|
|
31
|
-
let t2;
|
|
32
|
-
if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1 || $[11] !== testId) {
|
|
33
|
-
t2 = /*#__PURE__*/ jsx("div", {
|
|
34
|
-
...props,
|
|
35
|
-
ref: ref,
|
|
36
|
-
"data-testid": testId,
|
|
37
|
-
"data-slot": "settings-header-actions",
|
|
38
|
-
className: t1,
|
|
39
|
-
children: children
|
|
40
|
-
});
|
|
41
|
-
$[7] = children;
|
|
42
|
-
$[8] = props;
|
|
43
|
-
$[9] = ref;
|
|
44
|
-
$[10] = t1;
|
|
45
|
-
$[11] = testId;
|
|
46
|
-
$[12] = t2;
|
|
47
|
-
} else t2 = $[12];
|
|
48
|
-
return t2;
|
|
49
|
-
};
|
|
50
|
-
SettingsHeaderActions.displayName = "SettingsHeaderActions";
|
|
51
|
-
export { SettingsHeaderActions };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
|
|
2
|
-
export interface SettingsHeaderBreadcrumbsProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
ref?: Ref<HTMLDivElement>;
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const SettingsHeaderBreadcrumbs: FC<SettingsHeaderBreadcrumbsProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { FC, HTMLAttributes, Ref } from 'react';
|
|
2
|
-
export interface SettingsHeaderDescriptionProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
3
|
-
ref?: Ref<HTMLParagraphElement>;
|
|
4
|
-
}
|
|
5
|
-
export declare const SettingsHeaderDescription: FC<SettingsHeaderDescriptionProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
|
|
2
|
-
export interface SettingsHeaderFiltersProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
ref?: Ref<HTMLDivElement>;
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const SettingsHeaderFilters: FC<SettingsHeaderFiltersProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { FC, HTMLAttributes, ReactNode, Ref } from 'react';
|
|
2
|
-
export interface SettingsHeaderHeadingProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
ref?: Ref<HTMLDivElement>;
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const SettingsHeaderHeading: FC<SettingsHeaderHeadingProps>;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
|
-
import { cn } from "../../utils/cn.js";
|
|
4
|
-
import { useTestId } from "../../utils/testId.js";
|
|
5
|
-
const SettingsHeaderHeading = (t0)=>{
|
|
6
|
-
const $ = c(13);
|
|
7
|
-
let children;
|
|
8
|
-
let className;
|
|
9
|
-
let props;
|
|
10
|
-
let ref;
|
|
11
|
-
if ($[0] !== t0) {
|
|
12
|
-
({ ref, children, className, ...props } = t0);
|
|
13
|
-
$[0] = t0;
|
|
14
|
-
$[1] = children;
|
|
15
|
-
$[2] = className;
|
|
16
|
-
$[3] = props;
|
|
17
|
-
$[4] = ref;
|
|
18
|
-
} else {
|
|
19
|
-
children = $[1];
|
|
20
|
-
className = $[2];
|
|
21
|
-
props = $[3];
|
|
22
|
-
ref = $[4];
|
|
23
|
-
}
|
|
24
|
-
const testId = useTestId("heading");
|
|
25
|
-
let t1;
|
|
26
|
-
if ($[5] !== className) {
|
|
27
|
-
t1 = cn("flex items-center justify-between gap-16 w-full", className);
|
|
28
|
-
$[5] = className;
|
|
29
|
-
$[6] = t1;
|
|
30
|
-
} else t1 = $[6];
|
|
31
|
-
let t2;
|
|
32
|
-
if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1 || $[11] !== testId) {
|
|
33
|
-
t2 = /*#__PURE__*/ jsx("div", {
|
|
34
|
-
...props,
|
|
35
|
-
ref: ref,
|
|
36
|
-
"data-testid": testId,
|
|
37
|
-
"data-slot": "settings-header-heading",
|
|
38
|
-
className: t1,
|
|
39
|
-
children: children
|
|
40
|
-
});
|
|
41
|
-
$[7] = children;
|
|
42
|
-
$[8] = props;
|
|
43
|
-
$[9] = ref;
|
|
44
|
-
$[10] = t1;
|
|
45
|
-
$[11] = testId;
|
|
46
|
-
$[12] = t2;
|
|
47
|
-
} else t2 = $[12];
|
|
48
|
-
return t2;
|
|
49
|
-
};
|
|
50
|
-
SettingsHeaderHeading.displayName = "SettingsHeaderHeading";
|
|
51
|
-
export { SettingsHeaderHeading };
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
|
-
import { cn } from "../../utils/cn.js";
|
|
4
|
-
import { useTestId } from "../../utils/testId.js";
|
|
5
|
-
const SettingsHeaderTitle = (t0)=>{
|
|
6
|
-
const $ = c(13);
|
|
7
|
-
let children;
|
|
8
|
-
let className;
|
|
9
|
-
let props;
|
|
10
|
-
let ref;
|
|
11
|
-
if ($[0] !== t0) {
|
|
12
|
-
({ ref, children, className, ...props } = t0);
|
|
13
|
-
$[0] = t0;
|
|
14
|
-
$[1] = children;
|
|
15
|
-
$[2] = className;
|
|
16
|
-
$[3] = props;
|
|
17
|
-
$[4] = ref;
|
|
18
|
-
} else {
|
|
19
|
-
children = $[1];
|
|
20
|
-
className = $[2];
|
|
21
|
-
props = $[3];
|
|
22
|
-
ref = $[4];
|
|
23
|
-
}
|
|
24
|
-
const testId = useTestId("title");
|
|
25
|
-
let t1;
|
|
26
|
-
if ($[5] !== className) {
|
|
27
|
-
t1 = cn("font-sans-display text-xl font-medium leading-28 text-text-primary truncate", className);
|
|
28
|
-
$[5] = className;
|
|
29
|
-
$[6] = t1;
|
|
30
|
-
} else t1 = $[6];
|
|
31
|
-
let t2;
|
|
32
|
-
if ($[7] !== children || $[8] !== props || $[9] !== ref || $[10] !== t1 || $[11] !== testId) {
|
|
33
|
-
t2 = /*#__PURE__*/ jsx("h1", {
|
|
34
|
-
...props,
|
|
35
|
-
ref: ref,
|
|
36
|
-
"data-testid": testId,
|
|
37
|
-
"data-slot": "settings-header-title",
|
|
38
|
-
className: t1,
|
|
39
|
-
children: children
|
|
40
|
-
});
|
|
41
|
-
$[7] = children;
|
|
42
|
-
$[8] = props;
|
|
43
|
-
$[9] = ref;
|
|
44
|
-
$[10] = t1;
|
|
45
|
-
$[11] = testId;
|
|
46
|
-
$[12] = t2;
|
|
47
|
-
} else t2 = $[12];
|
|
48
|
-
return t2;
|
|
49
|
-
};
|
|
50
|
-
SettingsHeaderTitle.displayName = "SettingsHeaderTitle";
|
|
51
|
-
export { SettingsHeaderTitle };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { SettingsHeader, type SettingsHeaderProps } from './SettingsHeader.js';
|
|
2
|
-
export { SettingsHeaderActions, type SettingsHeaderActionsProps, } from './SettingsHeaderActions.js';
|
|
3
|
-
export { SettingsHeaderBreadcrumbs, type SettingsHeaderBreadcrumbsProps, } from './SettingsHeaderBreadcrumbs.js';
|
|
4
|
-
export { SettingsHeaderDescription, type SettingsHeaderDescriptionProps, } from './SettingsHeaderDescription.js';
|
|
5
|
-
export { SettingsHeaderFilters, type SettingsHeaderFiltersProps, } from './SettingsHeaderFilters.js';
|
|
6
|
-
export { SettingsHeaderHeading, type SettingsHeaderHeadingProps, } from './SettingsHeaderHeading.js';
|
|
7
|
-
export { SettingsHeaderTitle, type SettingsHeaderTitleProps, } from './SettingsHeaderTitle.js';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { SettingsHeader } from "./SettingsHeader.js";
|
|
2
|
-
export { SettingsHeaderActions } from "./SettingsHeaderActions.js";
|
|
3
|
-
export { SettingsHeaderBreadcrumbs } from "./SettingsHeaderBreadcrumbs.js";
|
|
4
|
-
export { SettingsHeaderDescription } from "./SettingsHeaderDescription.js";
|
|
5
|
-
export { SettingsHeaderFilters } from "./SettingsHeaderFilters.js";
|
|
6
|
-
export { SettingsHeaderHeading } from "./SettingsHeaderHeading.js";
|
|
7
|
-
export { SettingsHeaderTitle } from "./SettingsHeaderTitle.js";
|