@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 @@
|
|
|
1
|
+
export declare const menuItemStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const menuItemStyles = css `
|
|
3
|
+
.Item {
|
|
4
|
+
--icon-size: var(--space-4);
|
|
5
|
+
--icon-color: var(--muted-foreground);
|
|
6
|
+
padding: var(--space-2) var(--space-3);
|
|
7
|
+
border-radius: var(--radius-sm);
|
|
8
|
+
font-size: var(--font-size-sm);
|
|
9
|
+
font-family: var(--font-sans);
|
|
10
|
+
color: var(--popover-foreground);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.Item:hover,
|
|
14
|
+
:host([data-highlighted]) .Item {
|
|
15
|
+
--icon-color: var(--foreground);
|
|
16
|
+
background: var(--secondary);
|
|
17
|
+
color: var(--foreground);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:host([variant="danger"]) .Item {
|
|
21
|
+
--icon-color: var(--destructive);
|
|
22
|
+
color: var(--destructive);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host([variant="danger"]) .Item:hover,
|
|
26
|
+
:host([variant="danger"][data-highlighted]) .Item {
|
|
27
|
+
--icon-color: var(--destructive-foreground);
|
|
28
|
+
background: var(--destructive);
|
|
29
|
+
color: var(--destructive-foreground);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([disabled]) .Item {
|
|
33
|
+
opacity: 0.5;
|
|
34
|
+
cursor: not-allowed;
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const menuStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const menubarStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const menubarStyles = css `
|
|
3
|
+
[part="root"] {
|
|
4
|
+
gap: var(--space-1);
|
|
5
|
+
border: var(--border-width-thin) solid var(--border);
|
|
6
|
+
border-radius: var(--radius-md);
|
|
7
|
+
background: var(--background);
|
|
8
|
+
padding: var(--space-1);
|
|
9
|
+
}
|
|
10
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const numberFieldStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const numberFieldStyles = css `
|
|
3
|
+
[part="root"] {
|
|
4
|
+
border: var(--border-width-thin) solid var(--border);
|
|
5
|
+
border-radius: var(--radius-md);
|
|
6
|
+
background: var(--background);
|
|
7
|
+
transition-property: border-color, box-shadow;
|
|
8
|
+
transition-duration: var(--duration-fast);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[part="root"]:focus-within {
|
|
12
|
+
border-color: var(--ring);
|
|
13
|
+
box-shadow: 0 0 0 var(--space-0_5) color-mix(in oklch, var(--ring) 25%, transparent);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[part="root"][data-disabled] {
|
|
17
|
+
opacity: 0.5;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[part="root"][data-invalid] {
|
|
21
|
+
border-color: var(--destructive);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[part="input"] {
|
|
25
|
+
height: var(--space-9);
|
|
26
|
+
width: var(--space-16);
|
|
27
|
+
font-family: var(--font-sans);
|
|
28
|
+
font-size: var(--font-size-sm);
|
|
29
|
+
color: var(--foreground);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[part="decrement"],
|
|
33
|
+
[part="increment"] {
|
|
34
|
+
width: var(--space-8);
|
|
35
|
+
height: var(--space-8);
|
|
36
|
+
color: var(--muted-foreground);
|
|
37
|
+
border-radius: var(--radius-sm);
|
|
38
|
+
font-size: var(--font-size-lg);
|
|
39
|
+
transition-property: background, color;
|
|
40
|
+
transition-duration: var(--duration-fast);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (hover: hover) {
|
|
44
|
+
[part="decrement"]:hover:not(:disabled),
|
|
45
|
+
[part="increment"]:hover:not(:disabled) {
|
|
46
|
+
background: var(--muted);
|
|
47
|
+
color: var(--foreground);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[part="decrement"]:disabled,
|
|
52
|
+
[part="increment"]:disabled {
|
|
53
|
+
opacity: 0.3;
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pageInsetStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const popoverPopupStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const popoverStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const portalStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const previewCardPopupStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const previewCardStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const progressStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const progressStyles = css `
|
|
3
|
+
:host {
|
|
4
|
+
--progress-height: var(--space-2);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[part="track"] {
|
|
8
|
+
height: var(--progress-height);
|
|
9
|
+
background: var(--muted);
|
|
10
|
+
border-radius: var(--radius-full);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[part="indicator"] {
|
|
14
|
+
background: var(--primary);
|
|
15
|
+
border-radius: var(--radius-full);
|
|
16
|
+
transition: width var(--duration-normal) var(--ease-out-3);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[part="root"][data-indeterminate] [part="indicator"] {
|
|
20
|
+
width: 40% !important;
|
|
21
|
+
animation: progress-indeterminate 1.5s ease-in-out infinite;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@keyframes progress-indeterminate {
|
|
25
|
+
0% {
|
|
26
|
+
left: -40%;
|
|
27
|
+
}
|
|
28
|
+
100% {
|
|
29
|
+
left: 100%;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const radioGroupStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const radioStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const radioStyles = css `
|
|
3
|
+
:host {
|
|
4
|
+
--radio-size: var(--space-4_5);
|
|
5
|
+
gap: var(--space-2);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[part="root"] {
|
|
9
|
+
width: var(--radio-size);
|
|
10
|
+
height: var(--radio-size);
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
transition-duration: var(--duration-fast);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[part="root"][data-unchecked] {
|
|
16
|
+
border: var(--border-width-thin) solid var(--input);
|
|
17
|
+
background: var(--input-bg);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[part="root"][data-checked] {
|
|
21
|
+
border: var(--border-width-thin) solid var(--primary);
|
|
22
|
+
background: var(--primary);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[part="root"][data-disabled] {
|
|
26
|
+
opacity: 0.5;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[part="root"]:focus-visible {
|
|
30
|
+
outline: none;
|
|
31
|
+
box-shadow:
|
|
32
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
33
|
+
0 0 0 var(--space-1) var(--ring);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[part="root"][data-invalid] {
|
|
37
|
+
border-color: color-mix(in oklch, var(--destructive) 70%, transparent);
|
|
38
|
+
background: color-mix(in oklch, var(--destructive) 15%, transparent);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[part="dot"] {
|
|
42
|
+
width: 8px;
|
|
43
|
+
height: 8px;
|
|
44
|
+
border-radius: 50%;
|
|
45
|
+
background: var(--primary-foreground);
|
|
46
|
+
}
|
|
47
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const scrollAreaStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const scrollAreaStyles = css `
|
|
3
|
+
.ScrollFade {
|
|
4
|
+
box-shadow: var(--scroll-fade-offset-x, 0) var(--scroll-fade-offset-y, 0)
|
|
5
|
+
var(--scroll-fade-blur-radius, var(--space-3))
|
|
6
|
+
var(--scroll-fade-spread-radius, var(--space-2))
|
|
7
|
+
var(--scroll-fade-color, var(--background));
|
|
8
|
+
opacity: 0;
|
|
9
|
+
transition: opacity 150ms ease;
|
|
10
|
+
|
|
11
|
+
&[data-scrolled] {
|
|
12
|
+
opacity: 1;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.Scrollbar {
|
|
17
|
+
border-radius: var(--radius-sm, 0.375rem);
|
|
18
|
+
transition: opacity 150ms;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.Scrollbar[data-orientation="vertical"] {
|
|
22
|
+
width: 0.25rem;
|
|
23
|
+
margin: 0.1rem;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.Scrollbar[data-orientation="horizontal"] {
|
|
27
|
+
height: 0.25rem;
|
|
28
|
+
margin: 0.1rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.Thumb {
|
|
32
|
+
border-radius: inherit;
|
|
33
|
+
background: var(--scroll-area-thumb-color, var(--muted-foreground));
|
|
34
|
+
opacity: 0.5;
|
|
35
|
+
transition: opacity var(--duration-fast);
|
|
36
|
+
|
|
37
|
+
&:hover {
|
|
38
|
+
opacity: 0.7;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:active {
|
|
42
|
+
opacity: 0.8;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const selectStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const selectStyles = css `
|
|
3
|
+
.Trigger {
|
|
4
|
+
height: var(--component-height-md);
|
|
5
|
+
gap: var(--space-2);
|
|
6
|
+
padding: var(--space-2) var(--space-3);
|
|
7
|
+
border: var(--border-width-thin) solid var(--input);
|
|
8
|
+
border-radius: var(--radius-md);
|
|
9
|
+
background: var(--input-bg);
|
|
10
|
+
color: var(--foreground);
|
|
11
|
+
font-family: var(--font-sans);
|
|
12
|
+
font-size: var(--font-size-sm);
|
|
13
|
+
line-height: var(--line-height-normal);
|
|
14
|
+
transition-duration: var(--duration-fast);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.Trigger:focus {
|
|
18
|
+
outline: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.Trigger: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
|
+
.Trigger[data-disabled] {
|
|
29
|
+
opacity: 0.5;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.Trigger[data-invalid] {
|
|
33
|
+
border-color: var(--destructive);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.Value[data-placeholder] {
|
|
37
|
+
color: var(--muted-foreground);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.Icon {
|
|
41
|
+
--icon-size: var(--space-4);
|
|
42
|
+
color: var(--foreground);
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const separatorStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const separatorStyles = css `
|
|
3
|
+
[part="root"] {
|
|
4
|
+
border: none;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host([orientation="horizontal"]) [part="root"] {
|
|
8
|
+
height: 0;
|
|
9
|
+
border-top: var(--border-width-thin) solid var(--border);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host([orientation="vertical"]) [part="root"] {
|
|
13
|
+
width: 0;
|
|
14
|
+
height: 100%;
|
|
15
|
+
border-left: var(--border-width-thin) solid var(--border);
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarContentStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarFooterStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarGroupLabelStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const sidebarGroupLabelStyles = css `
|
|
3
|
+
:host {
|
|
4
|
+
margin-left: var(--sidebar-group-label-inset);
|
|
5
|
+
height: var(--component-height-sm);
|
|
6
|
+
color: var(--sidebar-muted-fg);
|
|
7
|
+
font-family: var(--font-sans);
|
|
8
|
+
font-size: var(--font-size-xs);
|
|
9
|
+
font-weight: var(--font-weight-medium);
|
|
10
|
+
line-height: var(--line-height-snug);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host([data-icon-collapsed]) {
|
|
14
|
+
margin-top: calc(-1 * var(--component-height-sm));
|
|
15
|
+
transition-property: margin-top, opacity;
|
|
16
|
+
transition-duration: var(--duration-normal);
|
|
17
|
+
transition-timing-function: var(--ease-out-3);
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarGroupStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarHeaderStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarInsetStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarMenuButtonStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const sidebarMenuButtonStyles = css `
|
|
3
|
+
:host {
|
|
4
|
+
--smb-height: var(--component-height-md);
|
|
5
|
+
--smb-padding-x: var(--sidebar-button-inset);
|
|
6
|
+
--smb-gap: var(--space-2);
|
|
7
|
+
--smb-icon-size: var(--space-4);
|
|
8
|
+
--smb-font-size: var(--font-size-sm);
|
|
9
|
+
--smb-radius: var(--radius-md);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host([size="sm"]) {
|
|
13
|
+
--smb-height: var(--component-height-sm);
|
|
14
|
+
--smb-font-size: var(--font-size-xs);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host([size="lg"]) {
|
|
18
|
+
--smb-height: var(--component-height-lg);
|
|
19
|
+
--smb-font-size: var(--font-size-sm);
|
|
20
|
+
--smb-gap: var(--space-2_5);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.Row {
|
|
24
|
+
height: var(--smb-height);
|
|
25
|
+
border-radius: var(--smb-radius);
|
|
26
|
+
margin: 0 var(--space-2);
|
|
27
|
+
transition-property: background;
|
|
28
|
+
transition-duration: var(--duration-faster);
|
|
29
|
+
transition-timing-function: var(--ease-out-3);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.Row:hover {
|
|
33
|
+
background: color-mix(
|
|
34
|
+
in oklch,
|
|
35
|
+
var(--sidebar-button-bg) 100%,
|
|
36
|
+
var(--foreground) 8%
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.Row[data-active] {
|
|
41
|
+
background: color-mix(
|
|
42
|
+
in oklch,
|
|
43
|
+
var(--sidebar-button-bg) 100%,
|
|
44
|
+
var(--foreground) 12%
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.Row[data-icon-collapsed] {
|
|
49
|
+
width: var(--sidebar-width-icon);
|
|
50
|
+
margin: 0 auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.Button {
|
|
54
|
+
gap: var(--smb-gap);
|
|
55
|
+
padding: 0 var(--smb-padding-x);
|
|
56
|
+
color: var(--sidebar-button-fg);
|
|
57
|
+
font-family: var(--font-sans);
|
|
58
|
+
font-size: var(--smb-font-size);
|
|
59
|
+
font-weight: var(--font-weight-normal);
|
|
60
|
+
letter-spacing: var(--letter-spacing-tight);
|
|
61
|
+
line-height: var(--line-height-snug);
|
|
62
|
+
--icon-size: var(--smb-icon-size);
|
|
63
|
+
--icon-color: var(--sidebar-muted-fg);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.Button:focus-visible {
|
|
67
|
+
box-shadow:
|
|
68
|
+
0 0 0 var(--space-0_5) var(--background),
|
|
69
|
+
0 0 0 var(--space-1) var(--sidebar-ring);
|
|
70
|
+
border-radius: var(--smb-radius);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:host([disabled]) .Row {
|
|
74
|
+
opacity: 0.5;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:host([active]) .Button {
|
|
78
|
+
color: var(--sidebar-fg);
|
|
79
|
+
font-weight: var(--font-weight-medium);
|
|
80
|
+
--icon-color: var(--sidebar-fg);
|
|
81
|
+
}
|
|
82
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarMenuItemStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarMenuStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarProviderStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const sidebarProviderStyles = css `
|
|
3
|
+
:host {
|
|
4
|
+
--sidebar-width: var(--space-64);
|
|
5
|
+
--sidebar-width-mobile: var(--space-72);
|
|
6
|
+
--sidebar-width-icon: var(--space-12);
|
|
7
|
+
--sidebar-group-padding-y: var(--space-4);
|
|
8
|
+
--sidebar-group-label-inset: var(--space-6);
|
|
9
|
+
--sidebar-button-inset: var(--space-4);
|
|
10
|
+
--sidebar-header-content-gap: var(--space-4);
|
|
11
|
+
--sidebar-bg: color-mix(
|
|
12
|
+
in oklch,
|
|
13
|
+
var(--background) 97%,
|
|
14
|
+
var(--foreground)
|
|
15
|
+
);
|
|
16
|
+
--sidebar-fg: var(--card-foreground);
|
|
17
|
+
--sidebar-separator: color-mix(
|
|
18
|
+
in oklch,
|
|
19
|
+
var(--foreground) 10%,
|
|
20
|
+
oklch(0 0 0 / 0)
|
|
21
|
+
);
|
|
22
|
+
--sidebar-border: var(--border);
|
|
23
|
+
--sidebar-button-bg: oklch(0 0 0 / 0);
|
|
24
|
+
--sidebar-button-fg: var(--foreground);
|
|
25
|
+
--sidebar-muted-fg: var(--muted-foreground);
|
|
26
|
+
--sidebar-ring: var(--ring);
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarSeparatorStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarTriggerStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sidebarStyles: import("lit").CSSResult;
|