@deepfuture/dui-theme-default 0.0.1
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/base.d.ts +6 -0
- package/base.js +13 -0
- package/components/accordion-item.d.ts +1 -0
- package/components/accordion-item.js +89 -0
- package/components/accordion.d.ts +1 -0
- package/components/accordion.js +6 -0
- package/components/alert-dialog-popup.d.ts +1 -0
- package/components/alert-dialog-popup.js +72 -0
- package/components/alert-dialog.d.ts +1 -0
- package/components/alert-dialog.js +2 -0
- package/components/avatar.d.ts +1 -0
- package/components/avatar.js +22 -0
- package/components/badge.d.ts +1 -0
- package/components/badge.js +58 -0
- package/components/breadcrumb-ellipsis.d.ts +1 -0
- package/components/breadcrumb-ellipsis.js +7 -0
- package/components/breadcrumb-item.d.ts +1 -0
- package/components/breadcrumb-item.js +6 -0
- package/components/breadcrumb-link.d.ts +1 -0
- package/components/breadcrumb-link.js +16 -0
- package/components/breadcrumb-page.d.ts +1 -0
- package/components/breadcrumb-page.js +7 -0
- package/components/breadcrumb-separator.d.ts +1 -0
- package/components/breadcrumb-separator.js +7 -0
- package/components/breadcrumb.d.ts +1 -0
- package/components/breadcrumb.js +9 -0
- package/components/button.d.ts +1 -0
- package/components/button.js +137 -0
- package/components/calendar.d.ts +1 -0
- package/components/calendar.js +88 -0
- package/components/center.d.ts +1 -0
- package/components/center.js +2 -0
- package/components/checkbox-group.d.ts +1 -0
- package/components/checkbox-group.js +10 -0
- package/components/checkbox.d.ts +1 -0
- package/components/checkbox.js +53 -0
- package/components/collapsible.d.ts +1 -0
- package/components/collapsible.js +80 -0
- package/components/combobox.d.ts +1 -0
- package/components/combobox.js +99 -0
- package/components/command-empty.d.ts +1 -0
- package/components/command-empty.js +8 -0
- package/components/command-group.d.ts +1 -0
- package/components/command-group.js +13 -0
- package/components/command-input.d.ts +1 -0
- package/components/command-input.js +24 -0
- package/components/command-item.d.ts +1 -0
- package/components/command-item.js +24 -0
- package/components/command-list.d.ts +1 -0
- package/components/command-list.js +11 -0
- package/components/command-separator.d.ts +1 -0
- package/components/command-separator.js +8 -0
- package/components/command-shortcut.d.ts +1 -0
- package/components/command-shortcut.js +7 -0
- package/components/command.d.ts +1 -0
- package/components/command.js +8 -0
- package/components/data-table.d.ts +1 -0
- package/components/data-table.js +113 -0
- package/components/dialog-popup.d.ts +1 -0
- package/components/dialog-popup.js +72 -0
- package/components/dialog.d.ts +1 -0
- package/components/dialog.js +2 -0
- package/components/dropzone.d.ts +1 -0
- package/components/dropzone.js +32 -0
- package/components/hstack.d.ts +1 -0
- package/components/hstack.js +2 -0
- package/components/input.d.ts +1 -0
- package/components/input.js +53 -0
- package/components/link.d.ts +1 -0
- package/components/link.js +2 -0
- package/components/menu-item.d.ts +1 -0
- package/components/menu-item.js +36 -0
- package/components/menu.d.ts +1 -0
- package/components/menu.js +2 -0
- package/components/menubar.d.ts +1 -0
- package/components/menubar.js +10 -0
- package/components/number-field.d.ts +1 -0
- package/components/number-field.js +55 -0
- package/components/page-inset.d.ts +1 -0
- package/components/page-inset.js +2 -0
- package/components/popover-popup.d.ts +1 -0
- package/components/popover-popup.js +2 -0
- package/components/popover.d.ts +1 -0
- package/components/popover.js +2 -0
- package/components/portal.d.ts +1 -0
- package/components/portal.js +2 -0
- package/components/preview-card-popup.d.ts +1 -0
- package/components/preview-card-popup.js +2 -0
- package/components/preview-card.d.ts +1 -0
- package/components/preview-card.js +2 -0
- package/components/progress.d.ts +1 -0
- package/components/progress.js +32 -0
- package/components/radio-group.d.ts +1 -0
- package/components/radio-group.js +6 -0
- package/components/radio.d.ts +1 -0
- package/components/radio.js +47 -0
- package/components/scroll-area.d.ts +1 -0
- package/components/scroll-area.js +45 -0
- package/components/select.d.ts +1 -0
- package/components/select.js +44 -0
- package/components/separator.d.ts +1 -0
- package/components/separator.js +17 -0
- package/components/sidebar-content.d.ts +1 -0
- package/components/sidebar-content.js +2 -0
- package/components/sidebar-footer.d.ts +1 -0
- package/components/sidebar-footer.js +2 -0
- package/components/sidebar-group-label.d.ts +1 -0
- package/components/sidebar-group-label.js +19 -0
- package/components/sidebar-group.d.ts +1 -0
- package/components/sidebar-group.js +6 -0
- package/components/sidebar-header.d.ts +1 -0
- package/components/sidebar-header.js +6 -0
- package/components/sidebar-inset.d.ts +1 -0
- package/components/sidebar-inset.js +2 -0
- package/components/sidebar-menu-button.d.ts +1 -0
- package/components/sidebar-menu-button.js +82 -0
- package/components/sidebar-menu-item.d.ts +1 -0
- package/components/sidebar-menu-item.js +2 -0
- package/components/sidebar-menu.d.ts +1 -0
- package/components/sidebar-menu.js +6 -0
- package/components/sidebar-provider.d.ts +1 -0
- package/components/sidebar-provider.js +28 -0
- package/components/sidebar-separator.d.ts +1 -0
- package/components/sidebar-separator.js +8 -0
- package/components/sidebar-trigger.d.ts +1 -0
- package/components/sidebar-trigger.js +8 -0
- package/components/sidebar.d.ts +1 -0
- package/components/sidebar.js +90 -0
- package/components/slider.d.ts +1 -0
- package/components/slider.js +57 -0
- package/components/spinner.d.ts +1 -0
- package/components/spinner.js +24 -0
- package/components/switch.d.ts +1 -0
- package/components/switch.js +69 -0
- package/components/tab.d.ts +1 -0
- package/components/tab.js +34 -0
- package/components/tabs-indicator.d.ts +1 -0
- package/components/tabs-indicator.js +10 -0
- package/components/tabs-list.d.ts +1 -0
- package/components/tabs-list.js +13 -0
- package/components/tabs-panel.d.ts +1 -0
- package/components/tabs-panel.js +13 -0
- package/components/tabs.d.ts +1 -0
- package/components/tabs.js +2 -0
- package/components/textarea.d.ts +1 -0
- package/components/textarea.js +76 -0
- package/components/toggle-group.d.ts +1 -0
- package/components/toggle-group.js +9 -0
- package/components/toggle.d.ts +1 -0
- package/components/toggle.js +34 -0
- package/components/toolbar.d.ts +1 -0
- package/components/toolbar.js +49 -0
- package/components/tooltip-popup.d.ts +1 -0
- package/components/tooltip-popup.js +2 -0
- package/components/tooltip.d.ts +1 -0
- package/components/tooltip.js +2 -0
- package/components/trunc.d.ts +1 -0
- package/components/trunc.js +9 -0
- package/components/vstack.d.ts +1 -0
- package/components/vstack.js +2 -0
- package/index.d.ts +82 -0
- package/index.js +246 -0
- package/package.json +360 -0
- package/tokens-raw.d.ts +2 -0
- package/tokens-raw.js +2 -0
- package/tokens.css +338 -0
- package/tokens.d.ts +2 -0
- package/tokens.js +4 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const checkboxStyles = css `
|
|
3
|
+
:host {
|
|
4
|
+
--checkbox-size: var(--space-4_5);
|
|
5
|
+
gap: var(--space-2);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[part="root"] {
|
|
9
|
+
width: var(--checkbox-size);
|
|
10
|
+
height: var(--checkbox-size);
|
|
11
|
+
margin-block-start: calc(
|
|
12
|
+
(var(--line-height-normal) * 1em - var(--checkbox-size)) / 2
|
|
13
|
+
);
|
|
14
|
+
border-radius: var(--radius-sm);
|
|
15
|
+
transition-duration: var(--duration-fast);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[part="root"][data-unchecked] {
|
|
19
|
+
border: var(--border-width-thin) solid var(--input);
|
|
20
|
+
background: transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[part="root"][data-checked],
|
|
24
|
+
[part="root"][data-indeterminate] {
|
|
25
|
+
background: var(--primary);
|
|
26
|
+
border: var(--border-width-thin) solid var(--primary);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[part="root"][data-disabled] {
|
|
30
|
+
opacity: 0.5;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[part="root"]:focus-visible {
|
|
34
|
+
outline: none;
|
|
35
|
+
box-shadow:
|
|
36
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
37
|
+
0 0 0 var(--space-1) var(--ring);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[part="root"][data-invalid] {
|
|
41
|
+
background: color-mix(in oklch, var(--destructive) 15%, transparent);
|
|
42
|
+
border-color: color-mix(in oklch, var(--destructive) 70%, transparent);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[part="indicator"] {
|
|
46
|
+
color: var(--primary-foreground);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.Icon {
|
|
50
|
+
width: 12px;
|
|
51
|
+
height: 12px;
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const collapsibleStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const collapsibleStyles = css `
|
|
3
|
+
/* ── Trigger ── */
|
|
4
|
+
|
|
5
|
+
[part="trigger"] {
|
|
6
|
+
gap: var(--space-4);
|
|
7
|
+
padding-block: var(--space-2);
|
|
8
|
+
padding-inline: var(--space-4);
|
|
9
|
+
color: var(--foreground);
|
|
10
|
+
font-family: var(--font-sans);
|
|
11
|
+
font-weight: var(--font-weight-semibold);
|
|
12
|
+
font-size: var(--font-size-sm);
|
|
13
|
+
height: var(--component-height-md);
|
|
14
|
+
line-height: var(--line-height-normal);
|
|
15
|
+
border-radius: var(--radius-sm);
|
|
16
|
+
transition-duration: var(--duration-fast);
|
|
17
|
+
transition-timing-function: var(--ease-out-3);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (hover: hover) {
|
|
21
|
+
[part="trigger"]:hover {
|
|
22
|
+
background: color-mix(in oklch, var(--muted) 50%, transparent);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[part="trigger"]:focus-visible {
|
|
27
|
+
box-shadow:
|
|
28
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
29
|
+
0 0 0 var(--space-1) var(--ring);
|
|
30
|
+
z-index: 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[part="trigger"][data-disabled] {
|
|
34
|
+
opacity: 0.5;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* ── Indicator ── */
|
|
38
|
+
|
|
39
|
+
[part="indicator"] {
|
|
40
|
+
width: var(--space-4);
|
|
41
|
+
height: var(--space-4);
|
|
42
|
+
transition-duration: var(--duration-fast);
|
|
43
|
+
transition-timing-function: var(--ease-out-3);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[part="trigger"][data-open] [part="indicator"] {
|
|
47
|
+
transform: rotate(180deg);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* ── Panel ── */
|
|
51
|
+
|
|
52
|
+
[part="panel"] {
|
|
53
|
+
transition-duration: var(--duration-fast);
|
|
54
|
+
transition-timing-function: var(--ease-out-3);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[part="panel"][data-starting-style],
|
|
58
|
+
[part="panel"][data-ending-style] {
|
|
59
|
+
height: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[part="content"] {
|
|
63
|
+
padding: var(--space-1) var(--space-4) var(--space-3);
|
|
64
|
+
font-family: var(--font-sans);
|
|
65
|
+
font-size: var(--font-size-sm);
|
|
66
|
+
font-weight: var(--font-weight-regular);
|
|
67
|
+
line-height: var(--line-height-normal);
|
|
68
|
+
color: color-mix(in oklch, var(--foreground) 80%, transparent);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* ── Reduced motion ── */
|
|
72
|
+
|
|
73
|
+
@media (prefers-reduced-motion: reduce) {
|
|
74
|
+
[part="trigger"],
|
|
75
|
+
[part="indicator"],
|
|
76
|
+
[part="panel"] {
|
|
77
|
+
transition-duration: 0s;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const comboboxStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const comboboxStyles = css `
|
|
3
|
+
/* ---- Chips (multi-select container) ---- */
|
|
4
|
+
|
|
5
|
+
.Chips {
|
|
6
|
+
gap: var(--space-1);
|
|
7
|
+
border: var(--border-width-thin) solid var(--input);
|
|
8
|
+
border-radius: var(--radius-md);
|
|
9
|
+
padding: var(--space-1) var(--space-8) var(--space-1) var(--space-1_5);
|
|
10
|
+
min-height: var(--component-height-md);
|
|
11
|
+
background: var(--input-bg);
|
|
12
|
+
transition-property: border-color, box-shadow;
|
|
13
|
+
transition-duration: var(--duration-fast);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.Chips:focus-within:has(:focus-visible) {
|
|
17
|
+
box-shadow:
|
|
18
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
19
|
+
0 0 0 var(--space-1) var(--ring);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.Chips[data-disabled] {
|
|
23
|
+
opacity: 0.5;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* ---- Input ---- */
|
|
27
|
+
|
|
28
|
+
.Input {
|
|
29
|
+
height: var(--component-height-md);
|
|
30
|
+
color: var(--foreground);
|
|
31
|
+
font-family: var(--font-sans);
|
|
32
|
+
font-size: var(--font-size-sm);
|
|
33
|
+
line-height: var(--line-height-normal);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.Input::placeholder {
|
|
37
|
+
color: var(--muted-foreground);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Single-select input wrapper */
|
|
41
|
+
.InputWrapper .Input {
|
|
42
|
+
width: 100%;
|
|
43
|
+
min-height: var(--component-height-md);
|
|
44
|
+
padding: var(--space-2) var(--space-8) var(--space-2) var(--space-2);
|
|
45
|
+
border: var(--border-width-thin) solid var(--input);
|
|
46
|
+
border-radius: var(--radius-md);
|
|
47
|
+
transition-property: border-color, box-shadow;
|
|
48
|
+
transition-duration: var(--duration-fast);
|
|
49
|
+
background: var(--input-bg);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.InputWrapper .Input:focus-visible {
|
|
53
|
+
box-shadow:
|
|
54
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
55
|
+
0 0 0 var(--space-1) var(--ring);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.InputWrapper .Input[data-disabled] {
|
|
59
|
+
opacity: 0.5;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.Arrow {
|
|
63
|
+
--icon-size: var(--space-4);
|
|
64
|
+
right: var(--space-3);
|
|
65
|
+
color: var(--foreground);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Multi-select input (inside chips) */
|
|
69
|
+
.Chips .Input {
|
|
70
|
+
height: var(--space-6);
|
|
71
|
+
margin-left: var(--space-1_5);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* ---- Chip ---- */
|
|
75
|
+
|
|
76
|
+
.Chip {
|
|
77
|
+
gap: var(--space-1);
|
|
78
|
+
background: var(--secondary);
|
|
79
|
+
color: var(--secondary-foreground);
|
|
80
|
+
border-radius: var(--radius-sm);
|
|
81
|
+
font-size: var(--font-size-xs);
|
|
82
|
+
padding: var(--space-0_5) var(--space-0_5) var(--space-0_5) var(--space-2);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ChipRemove {
|
|
86
|
+
padding: var(--space-0_5);
|
|
87
|
+
color: inherit;
|
|
88
|
+
border-radius: var(--radius-sm);
|
|
89
|
+
--icon-size: var(--space-3_5);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ChipRemove:hover {
|
|
93
|
+
background: color-mix(
|
|
94
|
+
in oklch,
|
|
95
|
+
var(--secondary-foreground) 15%,
|
|
96
|
+
transparent
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commandEmptyStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commandGroupStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const commandGroupStyles = css `
|
|
3
|
+
.Group {
|
|
4
|
+
padding: var(--space-1_5);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.Heading {
|
|
8
|
+
padding: var(--space-1_5) var(--space-2);
|
|
9
|
+
font-size: var(--font-size-xs);
|
|
10
|
+
font-weight: var(--font-weight-medium);
|
|
11
|
+
color: var(--muted-foreground);
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commandInputStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const commandInputStyles = css `
|
|
3
|
+
.InputWrapper {
|
|
4
|
+
gap: var(--space-2);
|
|
5
|
+
border-bottom: var(--border-width-thin) solid var(--border);
|
|
6
|
+
padding-inline: var(--space-3);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.SearchIcon {
|
|
10
|
+
color: var(--muted-foreground);
|
|
11
|
+
width: var(--space-4);
|
|
12
|
+
height: var(--space-4);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.Input {
|
|
16
|
+
height: var(--component-height-lg);
|
|
17
|
+
border-radius: var(--radius-md);
|
|
18
|
+
font-size: var(--font-size-sm);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.Input::placeholder {
|
|
22
|
+
color: var(--muted-foreground);
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commandItemStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const commandItemStyles = css `
|
|
3
|
+
.Item {
|
|
4
|
+
gap: var(--space-2);
|
|
5
|
+
border-radius: var(--radius-sm);
|
|
6
|
+
padding: var(--space-1_5) var(--space-2);
|
|
7
|
+
font-size: var(--font-size-sm);
|
|
8
|
+
font-weight: var(--font-weight-medium);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.Item[data-selected] {
|
|
12
|
+
background: var(--secondary);
|
|
13
|
+
color: var(--foreground);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.Item[aria-disabled="true"] {
|
|
17
|
+
opacity: 0.5;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
::slotted(dui-icon) {
|
|
21
|
+
--icon-size: var(--space-4);
|
|
22
|
+
color: var(--muted-foreground);
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commandListStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commandSeparatorStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commandShortcutStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commandStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dataTableStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const dataTableStyles = css `
|
|
3
|
+
.DataTable {
|
|
4
|
+
gap: var(--space-2);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.TableWindow {
|
|
8
|
+
border: var(--border-width-thin) solid var(--border);
|
|
9
|
+
border-radius: var(--radius-md);
|
|
10
|
+
scrollbar-color: var(--muted-foreground) transparent;
|
|
11
|
+
scrollbar-width: thin;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
table {
|
|
15
|
+
font-family: var(--font-sans);
|
|
16
|
+
font-size: var(--font-size-sm);
|
|
17
|
+
line-height: var(--line-height-normal);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
th {
|
|
21
|
+
height: var(--component-height-lg);
|
|
22
|
+
padding: 0 var(--space-3);
|
|
23
|
+
font-weight: var(--font-weight-medium);
|
|
24
|
+
font-size: var(--font-size-xs);
|
|
25
|
+
color: var(--muted-foreground);
|
|
26
|
+
background: var(--muted);
|
|
27
|
+
border-bottom: var(--border-width-thin) solid var(--border);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
th[aria-sort]:hover {
|
|
31
|
+
color: var(--foreground);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.HeaderContent {
|
|
35
|
+
gap: var(--space-1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.SortIcon {
|
|
39
|
+
width: var(--space-3_5);
|
|
40
|
+
height: var(--space-3_5);
|
|
41
|
+
opacity: 0.4;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
th[aria-sort="ascending"] .SortIcon,
|
|
45
|
+
th[aria-sort="descending"] .SortIcon {
|
|
46
|
+
opacity: 1;
|
|
47
|
+
color: var(--foreground);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
tbody tr {
|
|
51
|
+
border-bottom: var(--border-width-thin) solid var(--border);
|
|
52
|
+
transition-duration: var(--duration-fast);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
tbody tr:last-child {
|
|
56
|
+
border-bottom: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
tbody tr:hover {
|
|
60
|
+
background: var(--muted);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
td {
|
|
64
|
+
padding: var(--space-2) var(--space-3);
|
|
65
|
+
vertical-align: middle;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.EmptyRow td {
|
|
69
|
+
height: 96px;
|
|
70
|
+
text-align: center;
|
|
71
|
+
color: var(--muted-foreground);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.Pagination {
|
|
75
|
+
padding: 0 var(--space-1);
|
|
76
|
+
font-size: var(--font-size-sm);
|
|
77
|
+
color: var(--muted-foreground);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.PageInfo {
|
|
81
|
+
gap: var(--space-1);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.PageControls {
|
|
85
|
+
gap: var(--space-1);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.PageButton {
|
|
89
|
+
width: var(--component-height-sm);
|
|
90
|
+
height: var(--component-height-sm);
|
|
91
|
+
border: var(--border-width-thin) solid var(--border);
|
|
92
|
+
border-radius: var(--radius-md);
|
|
93
|
+
color: var(--foreground);
|
|
94
|
+
font-size: var(--font-size-sm);
|
|
95
|
+
transition-property: background;
|
|
96
|
+
transition-duration: var(--duration-fast);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.PageButton:hover:not(:disabled) {
|
|
100
|
+
background: var(--muted);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.PageButton:disabled {
|
|
104
|
+
opacity: 0.3;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.PageButton:focus-visible {
|
|
108
|
+
outline: none;
|
|
109
|
+
box-shadow:
|
|
110
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
111
|
+
0 0 0 var(--space-1) var(--ring);
|
|
112
|
+
}
|
|
113
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dialogPopupStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const dialogPopupStyles = css `
|
|
3
|
+
/* ── Backdrop ── */
|
|
4
|
+
|
|
5
|
+
[part="backdrop"] {
|
|
6
|
+
background: black;
|
|
7
|
+
opacity: 0.2;
|
|
8
|
+
transition: opacity var(--duration-fast) var(--ease-out-3);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@container style(--theme: dark) {
|
|
12
|
+
[part="backdrop"] {
|
|
13
|
+
opacity: 0.7;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[part="backdrop"][data-starting-style],
|
|
18
|
+
[part="backdrop"][data-ending-style] {
|
|
19
|
+
opacity: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* ── Popup ── */
|
|
23
|
+
|
|
24
|
+
[part="popup"] {
|
|
25
|
+
margin-top: calc(-1 * var(--space-8));
|
|
26
|
+
padding: var(--space-6);
|
|
27
|
+
border-radius: var(--radius-lg);
|
|
28
|
+
border: var(--border-width-thin) solid var(--border);
|
|
29
|
+
background: var(--card);
|
|
30
|
+
color: var(--card-foreground);
|
|
31
|
+
font-family: var(--font-sans);
|
|
32
|
+
transition-duration: var(--duration-fast);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[part="popup"][data-starting-style],
|
|
36
|
+
[part="popup"][data-ending-style] {
|
|
37
|
+
opacity: 0;
|
|
38
|
+
transform: translate(-50%, -50%) scale(0.9);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* ── Title ── */
|
|
42
|
+
|
|
43
|
+
[part="title"] {
|
|
44
|
+
margin-top: calc(-1 * var(--space-1));
|
|
45
|
+
margin-bottom: var(--space-1);
|
|
46
|
+
font-family: var(--font-sans);
|
|
47
|
+
font-size: var(--font-size-lg);
|
|
48
|
+
letter-spacing: var(--letter-spacing-tighter);
|
|
49
|
+
line-height: var(--line-height-tight);
|
|
50
|
+
font-weight: var(--font-weight-medium);
|
|
51
|
+
color: var(--foreground);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* ── Description ── */
|
|
55
|
+
|
|
56
|
+
[part="description"] {
|
|
57
|
+
margin: 0 0 var(--space-6);
|
|
58
|
+
font-family: var(--font-sans);
|
|
59
|
+
font-size: var(--font-size-md);
|
|
60
|
+
line-height: var(--line-height-normal);
|
|
61
|
+
color: var(--muted-foreground);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* ── Reduced motion ── */
|
|
65
|
+
|
|
66
|
+
@media (prefers-reduced-motion: reduce) {
|
|
67
|
+
[part="backdrop"],
|
|
68
|
+
[part="popup"] {
|
|
69
|
+
transition-duration: 0s;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dialogStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dropzoneStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const dropzoneStyles = css `
|
|
3
|
+
:host([disabled]) {
|
|
4
|
+
opacity: 0.5;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[part="root"] {
|
|
8
|
+
border: 2px dashed var(--border);
|
|
9
|
+
border-radius: var(--radius-md);
|
|
10
|
+
background: var(--background);
|
|
11
|
+
color: var(--foreground);
|
|
12
|
+
padding: var(--space-4);
|
|
13
|
+
transition-duration: var(--duration-fast);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[part="root"]:hover {
|
|
17
|
+
border-color: var(--ring);
|
|
18
|
+
background: var(--muted);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[part="root"]:focus-visible {
|
|
22
|
+
outline: none;
|
|
23
|
+
box-shadow:
|
|
24
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
25
|
+
0 0 0 var(--space-1) var(--ring);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[part="root"][data-dragover] {
|
|
29
|
+
border-color: var(--ring);
|
|
30
|
+
background: var(--muted);
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const hstackStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const inputStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const inputStyles = css `
|
|
3
|
+
[part="input"] {
|
|
4
|
+
padding: var(--space-2);
|
|
5
|
+
font-family: var(--font-sans);
|
|
6
|
+
font-size: var(--font-size-sm);
|
|
7
|
+
line-height: var(--line-height-normal);
|
|
8
|
+
height: var(--component-height-md);
|
|
9
|
+
color: var(--foreground);
|
|
10
|
+
border: var(--border-width-thin) solid var(--input);
|
|
11
|
+
background: var(--input-bg);
|
|
12
|
+
border-radius: var(--radius-md);
|
|
13
|
+
transition-duration: var(--duration-fast);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[part="input"]::placeholder {
|
|
17
|
+
color: var(--muted-foreground);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[part="input"]:focus-visible {
|
|
21
|
+
box-shadow:
|
|
22
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
23
|
+
0 0 0 var(--space-1) var(--ring);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[part="input"]:disabled {
|
|
27
|
+
opacity: 0.5;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[part="input"][data-invalid] {
|
|
31
|
+
border-color: var(--destructive);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[part="input"][data-invalid]:focus-visible {
|
|
35
|
+
box-shadow:
|
|
36
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
37
|
+
0 0 0 var(--space-1) var(--ring);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Password bullets are tiny at small font sizes — bump them up */
|
|
41
|
+
[part="input"][type="password"]:not(:placeholder-shown) {
|
|
42
|
+
font-size: var(--font-size-2xl);
|
|
43
|
+
font-weight: var(--font-weight-bold);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Autofill overrides */
|
|
47
|
+
[part="input"]:-webkit-autofill,
|
|
48
|
+
[part="input"]:-webkit-autofill:hover,
|
|
49
|
+
[part="input"]:-webkit-autofill:focus {
|
|
50
|
+
-webkit-text-fill-color: var(--foreground);
|
|
51
|
+
transition: background-color 5000s ease-in-out 0s;
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const linkStyles: import("lit").CSSResult;
|