@yuva-devlab/ui 1.0.1 → 1.2.0
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/README.md +29 -14
- package/dist/common.css +158 -0
- package/dist/components/accordion/accordion.css +49 -0
- package/dist/components/alert/alert.css +41 -0
- package/dist/components/alert-dialog/alert-dialog.css +78 -0
- package/dist/components/avatar/avatar.css +26 -0
- package/dist/components/badge/badge.css +76 -0
- package/dist/components/breadcrumb/breadcrumb.css +63 -0
- package/dist/components/button/button.css +106 -0
- package/dist/components/card/card.css +30 -0
- package/dist/components/carousel/carousel.css +67 -0
- package/dist/components/chart/chart.css +38 -0
- package/dist/components/checkbox/checkbox.css +27 -0
- package/dist/components/command/command.css +125 -0
- package/dist/components/context-menu/context-menu.css +19 -0
- package/dist/components/date-picker/date-picker.css +30 -0
- package/dist/components/dialog/dialog.css +78 -0
- package/dist/components/drawer/drawer.css +64 -0
- package/dist/components/dropdown-menu/dropdown-menu.css +82 -0
- package/dist/components/form/form.css +17 -0
- package/dist/components/hover-card/hover-card.css +23 -0
- package/dist/components/input/input.css +89 -0
- package/dist/components/input-otp/input-otp.css +70 -0
- package/dist/components/label/label.css +9 -0
- package/dist/components/loading-state/loading-state.css +26 -0
- package/dist/components/menubar/menubar.css +36 -0
- package/dist/components/navigation-menu/navigation-menu.css +137 -0
- package/dist/components/pagination/pagination.css +43 -0
- package/dist/components/panel/panel.css +24 -0
- package/dist/components/popover/popover.css +17 -0
- package/dist/components/progress/progress.css +15 -0
- package/dist/components/radio-group/radio-group.css +37 -0
- package/dist/components/resizable/resizable.css +67 -0
- package/dist/components/scroll-area/scroll-area.css +32 -0
- package/dist/components/searchable-select/searchable-select.css +128 -0
- package/dist/components/select/select.css +97 -0
- package/dist/components/separator/separator.css +14 -0
- package/dist/components/sheet/sheet.css +83 -0
- package/dist/components/sidebar/sidebar.css +18 -0
- package/dist/components/skeleton/skeleton.css +5 -0
- package/dist/components/slider/slider.css +37 -0
- package/dist/components/sonner/sonner.css +25 -0
- package/dist/components/status-badge/status-badge.css +53 -0
- package/dist/components/status-chip/status-chip.css +44 -0
- package/dist/components/switch/switch.css +45 -0
- package/dist/components/table/table.css +46 -0
- package/dist/components/tabs/tabs.css +46 -0
- package/dist/components/textarea/textarea.css +30 -0
- package/dist/components/toggle/toggle.css +91 -0
- package/dist/components/tooltip/tooltip.css +17 -0
- package/dist/components.css +2523 -0
- package/dist/index.cjs +1606 -1963
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1805 -209
- package/dist/index.d.ts +1805 -209
- package/dist/index.js +1470 -1834
- package/dist/index.js.map +1 -1
- package/dist/preset.css +8 -0
- package/dist/root.css +1 -0
- package/dist/styles/common.css +158 -0
- package/dist/styles/components.css +2523 -0
- package/dist/styles/preset.css +8 -0
- package/dist/styles/root.css +1 -0
- package/dist/styles/styles.css +18 -0
- package/dist/styles/themes/finai.css +1 -0
- package/dist/styles/themes/orchestrai.css +1 -0
- package/dist/styles.css +18 -0
- package/dist/themes/finai.css +1 -0
- package/dist/themes/orchestrai.css +1 -0
- package/package.json +19 -6
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
.dl-input-otp-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 0.5rem;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.dl-input-otp-container:has(:disabled) {
|
|
8
|
+
opacity: 0.5;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.dl-input-otp {
|
|
12
|
+
cursor: default;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.dl-input-otp:disabled {
|
|
16
|
+
cursor: not-allowed;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.dl-input-otp-group {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.dl-input-otp-slot {
|
|
25
|
+
position: relative;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
width: 2.25rem;
|
|
30
|
+
height: 2.25rem;
|
|
31
|
+
border-top: 1px solid var(--input);
|
|
32
|
+
border-bottom: 1px solid var(--input);
|
|
33
|
+
border-right: 1px solid var(--input);
|
|
34
|
+
font-size: 0.875rem;
|
|
35
|
+
box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
|
|
36
|
+
transition: all 0.15s ease;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.dl-input-otp-slot:first-child {
|
|
40
|
+
border-top-left-radius: var(--radius-md, 0.375rem);
|
|
41
|
+
border-bottom-left-radius: var(--radius-md, 0.375rem);
|
|
42
|
+
border-left: 1px solid var(--input);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.dl-input-otp-slot:last-child {
|
|
46
|
+
border-top-right-radius: var(--radius-md, 0.375rem);
|
|
47
|
+
border-bottom-right-radius: var(--radius-md, 0.375rem);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.dl-input-otp-slot--active {
|
|
51
|
+
z-index: 10;
|
|
52
|
+
outline: 2px solid var(--ring);
|
|
53
|
+
outline-offset: -1px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.dl-input-otp-caret {
|
|
57
|
+
position: absolute;
|
|
58
|
+
inset: 0;
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
pointer-events: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.dl-input-otp-caret__line {
|
|
66
|
+
height: 1rem;
|
|
67
|
+
width: 1px;
|
|
68
|
+
background-color: var(--foreground);
|
|
69
|
+
animation: dl-pulse 1s infinite;
|
|
70
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.dl-loading {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
gap: 0.5rem;
|
|
7
|
+
padding: 2rem;
|
|
8
|
+
color: var(--muted-foreground);
|
|
9
|
+
font-size: 0.875rem;
|
|
10
|
+
}
|
|
11
|
+
.dl-loading svg {
|
|
12
|
+
animation: dl-spin 1s linear infinite;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.dl-loading-skeleton {
|
|
16
|
+
width: 100%;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 1rem;
|
|
20
|
+
padding: 0.5rem;
|
|
21
|
+
}
|
|
22
|
+
.dl-loading-skeleton__list {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
gap: 0.5rem;
|
|
26
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.dl-menubar {
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 2.25rem;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 0.25rem;
|
|
6
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
7
|
+
border: 1px solid var(--border);
|
|
8
|
+
background-color: var(--background);
|
|
9
|
+
padding: 0.25rem;
|
|
10
|
+
box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.dl-menubar-trigger {
|
|
14
|
+
display: flex;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
user-select: none;
|
|
17
|
+
align-items: center;
|
|
18
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
19
|
+
padding: 0.25rem 0.75rem;
|
|
20
|
+
font-size: 0.875rem;
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
outline: none;
|
|
23
|
+
background: transparent;
|
|
24
|
+
border: none;
|
|
25
|
+
color: inherit;
|
|
26
|
+
font-family: inherit;
|
|
27
|
+
transition:
|
|
28
|
+
background-color 0.15s ease,
|
|
29
|
+
color 0.15s ease;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dl-menubar-trigger:focus,
|
|
33
|
+
.dl-menubar-trigger[data-state="open"] {
|
|
34
|
+
background-color: var(--accent);
|
|
35
|
+
color: var(--accent-foreground);
|
|
36
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
.dl-navigation-menu {
|
|
2
|
+
position: relative;
|
|
3
|
+
z-index: 10;
|
|
4
|
+
display: flex;
|
|
5
|
+
max-width: max-content;
|
|
6
|
+
flex: 1;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.dl-navigation-menu-list {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex: 1;
|
|
14
|
+
list-style: none;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
gap: 0.25rem;
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.dl-navigation-menu-trigger {
|
|
23
|
+
display: inline-flex;
|
|
24
|
+
height: 2.25rem;
|
|
25
|
+
width: max-content;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
29
|
+
background-color: var(--background);
|
|
30
|
+
padding: 0.5rem 1rem;
|
|
31
|
+
font-size: 0.875rem;
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
border: none;
|
|
35
|
+
color: inherit;
|
|
36
|
+
font-family: inherit;
|
|
37
|
+
transition:
|
|
38
|
+
background-color 0.15s ease,
|
|
39
|
+
color 0.15s ease;
|
|
40
|
+
outline: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.dl-navigation-menu-trigger:hover,
|
|
44
|
+
.dl-navigation-menu-trigger:focus,
|
|
45
|
+
.dl-navigation-menu-trigger[data-state="open"] {
|
|
46
|
+
background-color: var(--accent);
|
|
47
|
+
color: var(--accent-foreground);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.dl-navigation-menu-trigger:disabled {
|
|
51
|
+
pointer-events: none;
|
|
52
|
+
opacity: 0.5;
|
|
53
|
+
cursor: not-allowed;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.dl-navigation-menu-chevron {
|
|
57
|
+
position: relative;
|
|
58
|
+
top: 1px;
|
|
59
|
+
margin-left: 0.25rem;
|
|
60
|
+
width: 0.75rem;
|
|
61
|
+
height: 0.75rem;
|
|
62
|
+
transition: transform 0.2s ease;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.dl-navigation-menu-trigger[data-state="open"] .dl-navigation-menu-chevron {
|
|
66
|
+
transform: rotate(180deg);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.dl-navigation-menu-content {
|
|
70
|
+
left: 0;
|
|
71
|
+
top: 0;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (min-width: 768px) {
|
|
76
|
+
.dl-navigation-menu-content {
|
|
77
|
+
position: absolute;
|
|
78
|
+
width: auto;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.dl-navigation-menu-viewport-wrapper {
|
|
83
|
+
position: absolute;
|
|
84
|
+
left: 0;
|
|
85
|
+
top: 100%;
|
|
86
|
+
display: flex;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.dl-navigation-menu-viewport {
|
|
91
|
+
position: relative;
|
|
92
|
+
margin-top: 0.375rem;
|
|
93
|
+
height: var(--radix-navigation-menu-viewport-height);
|
|
94
|
+
width: 100%;
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
97
|
+
border: 1px solid var(--border);
|
|
98
|
+
background-color: var(--popover);
|
|
99
|
+
color: var(--popover-foreground);
|
|
100
|
+
box-shadow: 0 4px 20px rgb(0 0 0 / 0.12);
|
|
101
|
+
transform-origin: top center;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@media (min-width: 768px) {
|
|
105
|
+
.dl-navigation-menu-viewport {
|
|
106
|
+
width: var(--radix-navigation-menu-viewport-width);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.dl-navigation-menu-viewport[data-state="open"] {
|
|
111
|
+
animation: dl-zoom-in 150ms ease;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.dl-navigation-menu-viewport[data-state="closed"] {
|
|
115
|
+
animation: dl-zoom-out 150ms ease;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.dl-navigation-menu-indicator {
|
|
119
|
+
top: 100%;
|
|
120
|
+
z-index: 1;
|
|
121
|
+
display: flex;
|
|
122
|
+
height: 0.375rem;
|
|
123
|
+
align-items: flex-end;
|
|
124
|
+
justify-content: center;
|
|
125
|
+
overflow: hidden;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.dl-navigation-menu-indicator__arrow {
|
|
129
|
+
position: relative;
|
|
130
|
+
top: 60%;
|
|
131
|
+
width: 0.5rem;
|
|
132
|
+
height: 0.5rem;
|
|
133
|
+
transform: rotate(45deg);
|
|
134
|
+
border-top-left-radius: 0.125rem;
|
|
135
|
+
background-color: var(--border);
|
|
136
|
+
box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
|
|
137
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.dl-pagination {
|
|
2
|
+
margin-inline: auto;
|
|
3
|
+
display: flex;
|
|
4
|
+
width: 100%;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.dl-pagination-content {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: 0.25rem;
|
|
13
|
+
list-style: none;
|
|
14
|
+
margin: 0;
|
|
15
|
+
padding: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.dl-pagination-item {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.dl-pagination-prev {
|
|
23
|
+
gap: 0.25rem;
|
|
24
|
+
padding-inline-start: 0.625rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.dl-pagination-next {
|
|
28
|
+
gap: 0.25rem;
|
|
29
|
+
padding-inline-end: 0.625rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dl-pagination-ellipsis {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
width: 2.25rem;
|
|
37
|
+
height: 2.25rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.dl-pagination-ellipsis svg {
|
|
41
|
+
width: 1rem;
|
|
42
|
+
height: 1rem;
|
|
43
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.dl-panel {
|
|
2
|
+
border-radius: var(--radius-lg, 0.5rem);
|
|
3
|
+
border: 1px solid var(--border);
|
|
4
|
+
background-color: var(--card);
|
|
5
|
+
padding: 1rem;
|
|
6
|
+
}
|
|
7
|
+
.dl-panel__header {
|
|
8
|
+
margin-bottom: 0.75rem;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: 0.5rem;
|
|
12
|
+
}
|
|
13
|
+
.dl-panel__title {
|
|
14
|
+
font-family: inherit;
|
|
15
|
+
font-size: 0.875rem;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
margin: 0;
|
|
18
|
+
}
|
|
19
|
+
.dl-panel__meta {
|
|
20
|
+
margin-left: auto;
|
|
21
|
+
font-family: monospace;
|
|
22
|
+
font-size: 0.625rem;
|
|
23
|
+
color: var(--muted-foreground);
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.dl-popover {
|
|
2
|
+
z-index: 50;
|
|
3
|
+
width: 18rem;
|
|
4
|
+
border-radius: var(--radius-lg, 0.5rem);
|
|
5
|
+
border: 1px solid var(--border);
|
|
6
|
+
background-color: var(--popover);
|
|
7
|
+
color: var(--popover-foreground);
|
|
8
|
+
padding: 1rem;
|
|
9
|
+
box-shadow: 0 4px 24px rgb(0 0 0/0.12);
|
|
10
|
+
outline: none;
|
|
11
|
+
}
|
|
12
|
+
.dl-popover[data-state="open"] {
|
|
13
|
+
animation: dl-fade-in 150ms ease;
|
|
14
|
+
}
|
|
15
|
+
.dl-popover[data-state="closed"] {
|
|
16
|
+
animation: dl-fade-out 150ms ease;
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.dl-progress {
|
|
2
|
+
position: relative;
|
|
3
|
+
height: 0.5rem;
|
|
4
|
+
width: 100%;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
border-radius: 9999px;
|
|
7
|
+
background-color: var(--secondary);
|
|
8
|
+
}
|
|
9
|
+
.dl-progress__indicator {
|
|
10
|
+
height: 100%;
|
|
11
|
+
width: 100%;
|
|
12
|
+
background-color: var(--primary);
|
|
13
|
+
transition: transform 0.3s ease;
|
|
14
|
+
transform-origin: left;
|
|
15
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.dl-radio-group {
|
|
2
|
+
display: grid;
|
|
3
|
+
gap: 0.5rem;
|
|
4
|
+
}
|
|
5
|
+
.dl-radio-item {
|
|
6
|
+
aspect-ratio: 1;
|
|
7
|
+
height: 1rem;
|
|
8
|
+
width: 1rem;
|
|
9
|
+
border-radius: 9999px;
|
|
10
|
+
border: 1px solid var(--primary);
|
|
11
|
+
box-shadow: 0 1px 2px rgb(0 0 0/0.05);
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
background: transparent;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
padding: 0;
|
|
18
|
+
}
|
|
19
|
+
.dl-radio-item:focus-visible {
|
|
20
|
+
outline: 2px solid var(--ring);
|
|
21
|
+
outline-offset: 2px;
|
|
22
|
+
}
|
|
23
|
+
.dl-radio-item:disabled {
|
|
24
|
+
cursor: not-allowed;
|
|
25
|
+
opacity: 0.5;
|
|
26
|
+
}
|
|
27
|
+
.dl-radio-item__indicator {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
}
|
|
32
|
+
.dl-radio-item__indicator svg {
|
|
33
|
+
fill: var(--primary);
|
|
34
|
+
color: var(--primary);
|
|
35
|
+
width: 0.5625rem;
|
|
36
|
+
height: 0.5625rem;
|
|
37
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.dl-resizable-group {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.dl-resizable-group[data-panel-group-direction="vertical"] {
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.dl-resizable-handle {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
|
+
width: 1px;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
background-color: var(--border);
|
|
18
|
+
outline: none;
|
|
19
|
+
transition: background-color 0.15s ease;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.dl-resizable-handle::after {
|
|
23
|
+
content: "";
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset-block: 0;
|
|
26
|
+
left: 50%;
|
|
27
|
+
width: 0.25rem;
|
|
28
|
+
transform: translateX(-50%);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.dl-resizable-handle:focus-visible {
|
|
32
|
+
outline: 2px solid var(--ring);
|
|
33
|
+
outline-offset: 1px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dl-resizable-handle[data-panel-group-direction="vertical"] {
|
|
37
|
+
height: 1px;
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.dl-resizable-handle[data-panel-group-direction="vertical"]::after {
|
|
42
|
+
left: 0;
|
|
43
|
+
height: 0.25rem;
|
|
44
|
+
width: 100%;
|
|
45
|
+
transform: translateY(-50%);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.dl-resizable-handle[data-panel-group-direction="vertical"] > div {
|
|
49
|
+
transform: rotate(90deg);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.dl-resizable-grip {
|
|
53
|
+
z-index: 10;
|
|
54
|
+
display: flex;
|
|
55
|
+
height: 1rem;
|
|
56
|
+
width: 0.75rem;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
60
|
+
border: 1px solid var(--border);
|
|
61
|
+
background-color: var(--border);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.dl-resizable-grip svg {
|
|
65
|
+
width: 0.625rem;
|
|
66
|
+
height: 0.625rem;
|
|
67
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.dl-scroll-area {
|
|
2
|
+
position: relative;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
}
|
|
5
|
+
.dl-scroll-area__viewport {
|
|
6
|
+
height: 100%;
|
|
7
|
+
width: 100%;
|
|
8
|
+
border-radius: inherit;
|
|
9
|
+
}
|
|
10
|
+
.dl-scroll-area__bar {
|
|
11
|
+
display: flex;
|
|
12
|
+
touch-action: none;
|
|
13
|
+
user-select: none;
|
|
14
|
+
transition: background-color 0.2s ease;
|
|
15
|
+
padding: 1px;
|
|
16
|
+
}
|
|
17
|
+
.dl-scroll-area__bar[data-orientation="vertical"] {
|
|
18
|
+
height: 100%;
|
|
19
|
+
width: 0.625rem;
|
|
20
|
+
border-left: 1px solid transparent;
|
|
21
|
+
}
|
|
22
|
+
.dl-scroll-area__bar[data-orientation="horizontal"] {
|
|
23
|
+
height: 0.625rem;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
border-top: 1px solid transparent;
|
|
26
|
+
}
|
|
27
|
+
.dl-scroll-area__thumb {
|
|
28
|
+
position: relative;
|
|
29
|
+
flex: 1;
|
|
30
|
+
border-radius: 9999px;
|
|
31
|
+
background-color: var(--border);
|
|
32
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
.dl-searchable-select-trigger {
|
|
2
|
+
width: 100%;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
padding-inline: 0.75rem;
|
|
5
|
+
text-align: left;
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.dl-searchable-select-trigger--placeholder {
|
|
10
|
+
color: var(--muted-foreground);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.dl-searchable-select-content {
|
|
14
|
+
width: var(--radix-popover-trigger-width);
|
|
15
|
+
min-width: 14rem;
|
|
16
|
+
padding: 0;
|
|
17
|
+
box-shadow: 0 4px 20px rgb(0 0 0 / 0.15);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.dl-searchable-select-search {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
gap: 0.5rem;
|
|
24
|
+
border-bottom: 1px solid var(--border);
|
|
25
|
+
padding: 0.5rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.dl-searchable-select-search-icon {
|
|
29
|
+
width: 1rem;
|
|
30
|
+
height: 1rem;
|
|
31
|
+
flex-shrink: 0;
|
|
32
|
+
opacity: 0.5;
|
|
33
|
+
color: var(--muted-foreground);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dl-searchable-select-search-input {
|
|
37
|
+
height: 2rem;
|
|
38
|
+
border: none;
|
|
39
|
+
background: transparent;
|
|
40
|
+
padding-inline: 0.25rem;
|
|
41
|
+
font-size: 0.875rem;
|
|
42
|
+
box-shadow: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.dl-searchable-select-search-input:focus,
|
|
46
|
+
.dl-searchable-select-search-input:focus-visible {
|
|
47
|
+
outline: none;
|
|
48
|
+
box-shadow: none;
|
|
49
|
+
border-color: transparent;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.dl-searchable-select-list {
|
|
53
|
+
max-height: 15rem;
|
|
54
|
+
overflow-y: auto;
|
|
55
|
+
overscroll-behavior: contain;
|
|
56
|
+
padding: 0.25rem;
|
|
57
|
+
font-size: 0.875rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.dl-searchable-select-empty {
|
|
61
|
+
padding-block: 1.5rem;
|
|
62
|
+
text-align: center;
|
|
63
|
+
font-size: 0.75rem;
|
|
64
|
+
color: var(--muted-foreground);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.dl-searchable-select-group-header {
|
|
68
|
+
padding-inline: 0.5rem;
|
|
69
|
+
padding-block: 0.25rem;
|
|
70
|
+
font-size: 0.625rem;
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
letter-spacing: 0.05em;
|
|
73
|
+
text-transform: uppercase;
|
|
74
|
+
color: color-mix(in oklch, var(--muted-foreground) 70%, transparent);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.dl-searchable-select-item {
|
|
78
|
+
position: relative;
|
|
79
|
+
display: flex;
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
align-items: center;
|
|
82
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
83
|
+
padding: 0.375rem 0.625rem;
|
|
84
|
+
font-size: 0.875rem;
|
|
85
|
+
user-select: none;
|
|
86
|
+
outline: none;
|
|
87
|
+
transition:
|
|
88
|
+
background-color 0.15s ease,
|
|
89
|
+
color 0.15s ease;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.dl-searchable-select-item--highlighted {
|
|
93
|
+
background-color: var(--accent);
|
|
94
|
+
color: var(--accent-foreground);
|
|
95
|
+
font-weight: 500;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.dl-searchable-select-item--selected {
|
|
99
|
+
background-color: color-mix(in oklch, var(--accent) 40%, transparent);
|
|
100
|
+
color: var(--accent-foreground);
|
|
101
|
+
font-weight: 500;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.dl-searchable-select-add {
|
|
105
|
+
border-top: 1px solid var(--border);
|
|
106
|
+
background-color: color-mix(in oklch, var(--muted) 30%, transparent);
|
|
107
|
+
padding: 0.25rem;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.dl-searchable-select-add-btn {
|
|
111
|
+
display: flex;
|
|
112
|
+
width: 100%;
|
|
113
|
+
align-items: center;
|
|
114
|
+
gap: 0.5rem;
|
|
115
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
116
|
+
padding: 0.5rem 0.625rem;
|
|
117
|
+
font-size: 0.75rem;
|
|
118
|
+
font-weight: 600;
|
|
119
|
+
color: var(--primary);
|
|
120
|
+
background: transparent;
|
|
121
|
+
border: none;
|
|
122
|
+
cursor: pointer;
|
|
123
|
+
transition: background-color 0.15s ease;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.dl-searchable-select-add-btn:hover {
|
|
127
|
+
background-color: color-mix(in oklch, var(--primary) 10%, transparent);
|
|
128
|
+
}
|