@solidjs/start 2.0.3 → 2.0.5
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/CHANGELOG.md +19 -0
- package/dist/config/fs-router.js +24 -28
- package/dist/shared/dev-toolbar/error-viewer/CodeView.jsx +9 -4
- package/dist/shared/dev-toolbar/error-viewer/create-stack-frame.d.ts +2 -1
- package/dist/shared/dev-toolbar/error-viewer/create-stack-frame.js +29 -19
- package/dist/shared/dev-toolbar/error-viewer/get-source-map.d.ts +2 -2
- package/dist/shared/dev-toolbar/error-viewer/get-source-map.js +3 -2
- package/dist/shared/dev-toolbar/error-viewer/index.jsx +52 -35
- package/dist/shared/dev-toolbar/error-viewer/styles.css +91 -43
- package/dist/shared/dev-toolbar/functions/BlobViewer.css +50 -2
- package/dist/shared/dev-toolbar/functions/BlobViewer.jsx +23 -4
- package/dist/shared/dev-toolbar/functions/FormDataViewer.jsx +9 -6
- package/dist/shared/dev-toolbar/functions/HeadersViewer.css +0 -4
- package/dist/shared/dev-toolbar/functions/HeadersViewer.jsx +9 -7
- package/dist/shared/dev-toolbar/functions/HexViewer.css +36 -17
- package/dist/shared/dev-toolbar/functions/HexViewer.jsx +7 -6
- package/dist/shared/dev-toolbar/functions/SerovalValue.css +21 -0
- package/dist/shared/dev-toolbar/functions/SerovalValue.d.ts +1 -0
- package/dist/shared/dev-toolbar/functions/SerovalValue.jsx +4 -2
- package/dist/shared/dev-toolbar/functions/SerovalViewer.css +98 -36
- package/dist/shared/dev-toolbar/functions/SerovalViewer.jsx +268 -279
- package/dist/shared/dev-toolbar/functions/URLSearchParamsViewer.jsx +9 -6
- package/dist/shared/dev-toolbar/functions/index.jsx +96 -69
- package/dist/shared/dev-toolbar/functions/styles.css +143 -10
- package/dist/shared/dev-toolbar/index.css +54 -14
- package/dist/shared/dev-toolbar/index.jsx +8 -1
- package/dist/shared/ui/Badge.css +21 -10
- package/dist/shared/ui/Button.css +7 -6
- package/dist/shared/ui/IconButton.css +16 -10
- package/dist/shared/ui/Placeholder.css +2 -0
- package/dist/shared/ui/Section.css +42 -3
- package/dist/shared/ui/Section.d.ts +3 -1
- package/dist/shared/ui/Section.jsx +14 -6
- package/dist/shared/ui/Select.css +11 -4
- package/dist/shared/ui/Tabs.css +30 -16
- package/package.json +5 -5
- package/dist/shared/ui/Cascade.css +0 -29
- package/dist/shared/ui/Cascade.d.ts +0 -4
- package/dist/shared/ui/Cascade.jsx +0 -4
- package/dist/shared/ui/Dialog.css +0 -25
- package/dist/shared/ui/Dialog.d.ts +0 -5
- package/dist/shared/ui/Dialog.jsx +0 -5
- package/dist/shared/ui/Table.css +0 -22
- package/dist/shared/ui/Table.d.ts +0 -11
- package/dist/shared/ui/Table.jsx +0 -13
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
border-radius: 0.5rem;
|
|
9
9
|
|
|
10
|
-
color: oklch(97% 0.014 254.604);
|
|
10
|
+
color: var(--start-dt-text, oklch(97% 0.014 254.604));
|
|
11
11
|
|
|
12
|
-
background-color: rgb(17 24 39);
|
|
13
|
-
padding: 0.25rem 0.
|
|
12
|
+
background-color: var(--start-dt-surface, rgb(17 24 39));
|
|
13
|
+
padding: 0.25rem 0.625rem;
|
|
14
14
|
font-size: 0.875rem;
|
|
15
15
|
line-height: 1.25rem;
|
|
16
|
-
border:
|
|
16
|
+
border: 1px var(--start-dt-border, transparent) solid;
|
|
17
17
|
outline: none;
|
|
18
18
|
|
|
19
19
|
transition-property: color, background-color, border-color, box-shadow;
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
[data-start-button][tc-selected],
|
|
28
28
|
[data-start-button]:hover,
|
|
29
29
|
[data-start-button]:focus {
|
|
30
|
-
color: rgb(219 234 254);
|
|
31
|
-
background-color: rgb(30 58 138);
|
|
30
|
+
color: var(--start-dt-text, rgb(219 234 254));
|
|
31
|
+
background-color: var(--start-dt-surface-hover, rgb(30 58 138));
|
|
32
|
+
border-color: var(--start-dt-accent, transparent);
|
|
32
33
|
}
|
|
@@ -1,36 +1,42 @@
|
|
|
1
1
|
[data-start-icon-button] {
|
|
2
2
|
display: flex;
|
|
3
|
-
padding: 0.
|
|
4
|
-
border-radius:
|
|
3
|
+
padding: 0.375rem;
|
|
4
|
+
border-radius: 0.5rem;
|
|
5
5
|
border-width: 0px;
|
|
6
6
|
align-items: center;
|
|
7
7
|
justify-content: center;
|
|
8
8
|
cursor: pointer;
|
|
9
|
-
color: rgb(249 250 251);
|
|
9
|
+
color: var(--start-dt-text, rgb(249 250 251));
|
|
10
10
|
background: none;
|
|
11
|
-
transition-property: color, background-color, border-color, box-shadow;
|
|
11
|
+
transition-property: color, background-color, border-color, box-shadow, opacity;
|
|
12
12
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
13
13
|
transition-duration: 150ms;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
[data-start-icon-button]:hover {
|
|
17
|
-
color: rgb(229 231 235);
|
|
18
|
-
background-color: rgb(55 65 81);
|
|
17
|
+
color: var(--start-dt-text, rgb(229 231 235));
|
|
18
|
+
background-color: var(--start-dt-surface-hover, rgb(55 65 81));
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
[data-start-icon-button]:focus {
|
|
22
22
|
outline: 2px solid transparent;
|
|
23
|
-
outline-color: rgb(249 250 251);
|
|
23
|
+
outline-color: var(--start-dt-accent, rgb(249 250 251));
|
|
24
24
|
outline-offset: 2px;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-start-icon-button]:focus-visible {
|
|
28
|
-
box-shadow: 0 0 0
|
|
28
|
+
box-shadow: 0 0 0 2px var(--start-dt-accent, rgb(17 24 39 / 0.75));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-start-icon-button]:active {
|
|
32
|
-
color: rgb(243 244 246);
|
|
33
|
-
background-color: rgb(31 41 55);
|
|
32
|
+
color: var(--start-dt-accent, rgb(243 244 246));
|
|
33
|
+
background-color: var(--start-dt-surface-active, rgb(31 41 55));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-start-icon-button]:disabled {
|
|
37
|
+
opacity: 0.35;
|
|
38
|
+
cursor: default;
|
|
39
|
+
pointer-events: none;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
[data-start-icon-button] > svg {
|
|
@@ -1,16 +1,55 @@
|
|
|
1
1
|
[data-start-section] {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
+
gap: 0.375rem;
|
|
4
5
|
}
|
|
5
6
|
|
|
6
7
|
[data-start-section-title] {
|
|
7
8
|
text-transform: uppercase;
|
|
9
|
+
letter-spacing: 0.06em;
|
|
10
|
+
color: var(--start-dt-text-muted, inherit);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* collapsible variant */
|
|
14
|
+
summary[data-start-section-title] {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 0.375rem;
|
|
18
|
+
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
list-style: none;
|
|
21
|
+
user-select: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
summary[data-start-section-title]::-webkit-details-marker {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
summary[data-start-section-title]::before {
|
|
29
|
+
content: "";
|
|
30
|
+
|
|
31
|
+
width: 0.375rem;
|
|
32
|
+
height: 0.375rem;
|
|
33
|
+
|
|
34
|
+
border-right: 1.5px currentColor solid;
|
|
35
|
+
border-bottom: 1.5px currentColor solid;
|
|
36
|
+
|
|
37
|
+
transform: rotate(-45deg);
|
|
38
|
+
transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
details[open] > summary[data-start-section-title]::before {
|
|
42
|
+
transform: rotate(45deg);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
summary[data-start-section-title]:hover {
|
|
46
|
+
color: var(--start-dt-text, inherit);
|
|
8
47
|
}
|
|
9
48
|
|
|
10
49
|
[data-start-section-content] {
|
|
11
|
-
margin-left: 0.
|
|
12
|
-
padding-left: 0.
|
|
13
|
-
border-left:
|
|
50
|
+
margin-left: 0.25rem;
|
|
51
|
+
padding-left: 0.625rem;
|
|
52
|
+
border-left: 2px var(--start-dt-border-soft, oklch(87% 0.065 274.039)) solid;
|
|
14
53
|
|
|
15
54
|
width: calc(100% - 2rem);
|
|
16
55
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
2
|
import { type TextProps } from "./Text.tsx";
|
|
3
3
|
import "./Section.css";
|
|
4
4
|
export interface SectionProps {
|
|
5
5
|
title: string;
|
|
6
6
|
options?: TextProps<"span">["options"];
|
|
7
|
+
collapsible?: boolean;
|
|
8
|
+
defaultOpen?: boolean;
|
|
7
9
|
children: JSX.Element;
|
|
8
10
|
}
|
|
9
11
|
export declare function Section(props: SectionProps): JSX.Element;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
+
import { Show } from "solid-js";
|
|
1
2
|
import { Text } from "./Text.jsx";
|
|
2
3
|
import "./Section.css";
|
|
3
4
|
export function Section(props) {
|
|
4
|
-
return (<div data-start-section>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
return (<Show when={props.collapsible} fallback={<div data-start-section>
|
|
6
|
+
<Text data-start-section-title options={{ weight: "bold", font: "sans", ...props.options }}>
|
|
7
|
+
{props.title}
|
|
8
|
+
</Text>
|
|
9
|
+
<div data-start-section-content>{props.children}</div>
|
|
10
|
+
</div>}>
|
|
11
|
+
<details data-start-section open={props.defaultOpen ?? true}>
|
|
12
|
+
<summary data-start-section-title>
|
|
13
|
+
<Text options={{ weight: "bold", font: "sans", ...props.options }}>{props.title}</Text>
|
|
14
|
+
</summary>
|
|
15
|
+
<div data-start-section-content>{props.children}</div>
|
|
16
|
+
</details>
|
|
17
|
+
</Show>);
|
|
10
18
|
}
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
[data-start-select] > * + * {
|
|
11
|
-
border-top: 1px oklch(87% 0.065 274.039) solid;
|
|
11
|
+
border-top: 1px var(--start-dt-border-soft, oklch(87% 0.065 274.039)) solid;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
[data-start-select-option] {
|
|
15
|
-
color: rgb(249 250 251);
|
|
15
|
+
color: var(--start-dt-text, rgb(249 250 251));
|
|
16
16
|
padding-top: 0.5rem;
|
|
17
17
|
padding-bottom: 0.5rem;
|
|
18
18
|
padding-left: 1rem;
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
outline: none;
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
|
|
25
|
+
border-left: 2px solid transparent;
|
|
26
|
+
|
|
25
27
|
transition-property: color, background-color, border-color, box-shadow;
|
|
26
28
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
27
29
|
transition-duration: 150ms;
|
|
@@ -29,9 +31,14 @@
|
|
|
29
31
|
white-space: nowrap;
|
|
30
32
|
}
|
|
31
33
|
|
|
34
|
+
[data-start-select-option]:hover {
|
|
35
|
+
background-color: var(--start-dt-surface-hover, rgb(55 65 81));
|
|
36
|
+
}
|
|
37
|
+
|
|
32
38
|
[data-start-select-option][tc-active],
|
|
33
39
|
[data-start-select-option][tc-selected],
|
|
34
40
|
[data-start-select-option]:focus {
|
|
35
|
-
color: rgb(229 231 235);
|
|
36
|
-
background-color: rgb(55 65 81);
|
|
41
|
+
color: var(--start-dt-text, rgb(229 231 235));
|
|
42
|
+
background-color: var(--start-dt-accent-soft, rgb(55 65 81));
|
|
43
|
+
border-left-color: var(--start-dt-accent, transparent);
|
|
37
44
|
}
|
package/dist/shared/ui/Tabs.css
CHANGED
|
@@ -3,49 +3,63 @@
|
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
|
|
6
|
-
border-radius: 0.
|
|
6
|
+
border-radius: 0.375rem;
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
|
|
9
|
-
padding-top: 0.
|
|
10
|
-
padding-bottom: 0.
|
|
11
|
-
padding-left:
|
|
12
|
-
padding-right:
|
|
13
|
-
font-size: 0.
|
|
9
|
+
padding-top: 0.25rem;
|
|
10
|
+
padding-bottom: 0.25rem;
|
|
11
|
+
padding-left: 0.875rem;
|
|
12
|
+
padding-right: 0.875rem;
|
|
13
|
+
font-size: 0.8125rem;
|
|
14
14
|
line-height: 1.25rem;
|
|
15
|
+
font-weight: 500;
|
|
15
16
|
border: none;
|
|
16
17
|
outline: none;
|
|
17
18
|
|
|
19
|
+
color: var(--start-dt-text-muted, rgb(229 231 235));
|
|
20
|
+
background: none;
|
|
21
|
+
|
|
18
22
|
transition-property: color, background-color, border-color, box-shadow;
|
|
19
23
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
20
24
|
transition-duration: 150ms;
|
|
21
25
|
}
|
|
22
26
|
|
|
23
|
-
[data-start-tab][tc-active],
|
|
24
|
-
[data-start-tab][tc-selected],
|
|
25
27
|
[data-start-tab]:hover,
|
|
26
28
|
[data-start-tab]:focus {
|
|
27
|
-
color: rgb(229 231 235);
|
|
28
|
-
|
|
29
|
+
color: var(--start-dt-text, rgb(229 231 235));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-start-tab][tc-active],
|
|
33
|
+
[data-start-tab][tc-selected] {
|
|
34
|
+
color: var(--start-dt-text, rgb(229 231 235));
|
|
35
|
+
background-color: var(--start-dt-surface-hover, rgb(55 65 81));
|
|
36
|
+
box-shadow: 0 1px 2px oklch(0 0 0 / 0.25);
|
|
29
37
|
}
|
|
30
38
|
|
|
31
39
|
[data-start-tab-group] {
|
|
32
40
|
}
|
|
33
41
|
|
|
34
42
|
[data-start-tab-list] {
|
|
35
|
-
display: flex;
|
|
36
|
-
gap: 0.
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
gap: 0.25rem;
|
|
37
45
|
margin: 0.5rem;
|
|
46
|
+
padding: 0.25rem;
|
|
47
|
+
|
|
48
|
+
border-radius: 0.5rem;
|
|
49
|
+
background-color: var(--start-dt-surface, rgb(17 24 39));
|
|
50
|
+
align-self: flex-start;
|
|
38
51
|
}
|
|
39
52
|
|
|
40
53
|
[data-start-tab-panel] {
|
|
41
|
-
|
|
54
|
+
flex: 1 1 0%;
|
|
55
|
+
min-height: 0;
|
|
42
56
|
|
|
43
57
|
overflow: auto;
|
|
44
58
|
|
|
45
59
|
display: flex;
|
|
46
60
|
flex-direction: column;
|
|
47
|
-
gap: 0.
|
|
48
|
-
padding: 0.
|
|
61
|
+
gap: 0.75rem;
|
|
62
|
+
padding: 0.75rem;
|
|
49
63
|
|
|
50
|
-
border-top: oklch(87% 0.065 274.039) 1px solid;
|
|
64
|
+
border-top: var(--start-dt-border-soft, oklch(87% 0.065 274.039)) 1px solid;
|
|
51
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidjs/start",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/solidjs/solid-start.git",
|
|
@@ -34,12 +34,13 @@
|
|
|
34
34
|
"@babel/core": "^7.29.7",
|
|
35
35
|
"@babel/traverse": "^7.29.7",
|
|
36
36
|
"@babel/types": "^7.29.7",
|
|
37
|
+
"@jridgewell/trace-mapping": "^0.3.31",
|
|
37
38
|
"@solidjs/meta": "^0.29.4",
|
|
38
39
|
"@types/babel__traverse": "^7.28.0",
|
|
39
40
|
"@types/micromatch": "^4.0.10",
|
|
40
41
|
"cookie-es": "^3.1.1",
|
|
41
42
|
"defu": "^6.1.7",
|
|
42
|
-
"error-stack-parser": "^2.1
|
|
43
|
+
"error-stack-parser-es": "^2.0.1",
|
|
43
44
|
"fast-glob": "^3.3.3",
|
|
44
45
|
"h3": "^2.0.1-rc.26",
|
|
45
46
|
"html-to-image": "^1.11.13",
|
|
@@ -51,10 +52,9 @@
|
|
|
51
52
|
"seroval": "^1.6.0",
|
|
52
53
|
"seroval-plugins": "^1.6.0",
|
|
53
54
|
"shiki": "^4.3.1",
|
|
54
|
-
"solid-js": "^1.9.
|
|
55
|
-
"source-map-js": "^1.2.1",
|
|
55
|
+
"solid-js": "^1.9.15",
|
|
56
56
|
"srvx": "^0.12.4",
|
|
57
|
-
"terracotta": "^1.
|
|
57
|
+
"terracotta": "^1.2.4",
|
|
58
58
|
"vite-plugin-solid": "^2.11.13"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
[data-start-cascade] {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
margin: 0;
|
|
5
|
-
margin-block: 0;
|
|
6
|
-
list-style-type: none;
|
|
7
|
-
padding-inline: 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
[data-start-cascade-option] {
|
|
11
|
-
border-radius: 0.25rem;
|
|
12
|
-
font-size: 0.875rem;
|
|
13
|
-
line-height: 1.25rem;
|
|
14
|
-
outline: none;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
|
|
17
|
-
transition-property: color, background-color, border-color, box-shadow;
|
|
18
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
19
|
-
transition-duration: 150ms;
|
|
20
|
-
|
|
21
|
-
white-space: nowrap;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
[data-start-cascade-option][tc-active],
|
|
25
|
-
[data-start-cascade-option][tc-selected],
|
|
26
|
-
[data-start-cascade-option]:focus {
|
|
27
|
-
background-color: rgb(219 234 254);
|
|
28
|
-
color: rgb(30 58 138);
|
|
29
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Select as BaseSelect, SelectOption as BaseSelectOption } from "terracotta";
|
|
2
|
-
import "./Cascade.css";
|
|
3
|
-
export const Cascade = props => <BaseSelect data-start-cascade {...props}/>;
|
|
4
|
-
export const CascadeOption = props => (<BaseSelectOption data-start-cascade-option {...props}/>);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[data-start-dialog] {
|
|
2
|
-
position: fixed;
|
|
3
|
-
inset: 0px;
|
|
4
|
-
z-index: 50;
|
|
5
|
-
overflow-y: auto;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
[data-start-dialog] > div {
|
|
9
|
-
position: relative;
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
min-height: 100vh;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
[data-start-dialog-overlay] {
|
|
17
|
-
position: absolute;
|
|
18
|
-
inset: 0px;
|
|
19
|
-
background-color: rgb(17 24 39 / 0.5);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
[data-start-dialog-panel] {
|
|
23
|
-
margin: 2rem;
|
|
24
|
-
z-index: 10;
|
|
25
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Dialog as BaseDialog, DialogOverlay as BaseDialogOverlay, DialogPanel as BaseDialogPanel } from "terracotta";
|
|
2
|
-
import "./Dialog.css";
|
|
3
|
-
export declare const Dialog: typeof BaseDialog;
|
|
4
|
-
export declare const DialogOverlay: typeof BaseDialogOverlay;
|
|
5
|
-
export declare const DialogPanel: typeof BaseDialogPanel;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Dialog as BaseDialog, DialogOverlay as BaseDialogOverlay, DialogPanel as BaseDialogPanel, } from "terracotta";
|
|
2
|
-
import "./Dialog.css";
|
|
3
|
-
export const Dialog = props => <BaseDialog data-start-dialog {...props}/>;
|
|
4
|
-
export const DialogOverlay = props => (<BaseDialogOverlay data-start-dialog-overlay {...props}/>);
|
|
5
|
-
export const DialogPanel = props => (<BaseDialogPanel data-start-dialog-panel {...props}/>);
|
package/dist/shared/ui/Table.css
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
[data-start-table] {
|
|
2
|
-
border: 1px oklch(70.7% 0.165 254.624) solid;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
[data-start-table-header] {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
background-color: oklch(93.2% 0.032 255.585);
|
|
9
|
-
font-weight: 600;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
[data-start-table-row] {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
border-top: 1px oklch(70.7% 0.165 254.624) solid;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
[data-start-table-cell] {
|
|
19
|
-
flex: 1;
|
|
20
|
-
padding: 0.5rem 1rem;
|
|
21
|
-
overflow: auto;
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps, JSX } from "solid-js";
|
|
2
|
-
import "./Table.css";
|
|
3
|
-
type TableProps = ComponentProps<"div">;
|
|
4
|
-
export declare function Table(props: TableProps): JSX.Element;
|
|
5
|
-
type TableHeaderProps = ComponentProps<"div">;
|
|
6
|
-
export declare function TableHeader(props: TableHeaderProps): JSX.Element;
|
|
7
|
-
type TableRowProps = ComponentProps<"div">;
|
|
8
|
-
export declare function TableRow(props: TableRowProps): JSX.Element;
|
|
9
|
-
type TableCellProps = ComponentProps<"div">;
|
|
10
|
-
export declare function TableCell(props: TableCellProps): JSX.Element;
|
|
11
|
-
export {};
|
package/dist/shared/ui/Table.jsx
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "./Table.css";
|
|
2
|
-
export function Table(props) {
|
|
3
|
-
return <div data-start-table {...props}/>;
|
|
4
|
-
}
|
|
5
|
-
export function TableHeader(props) {
|
|
6
|
-
return <div data-start-table-header {...props}/>;
|
|
7
|
-
}
|
|
8
|
-
export function TableRow(props) {
|
|
9
|
-
return <div data-start-table-row {...props}/>;
|
|
10
|
-
}
|
|
11
|
-
export function TableCell(props) {
|
|
12
|
-
return <div data-start-table-cell {...props}/>;
|
|
13
|
-
}
|