@yuva-devlab/ui 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button/button.css +5 -5
- package/dist/components/input/input.css +1 -1
- package/dist/components/input-otp/input-otp.css +2 -2
- package/dist/components/select/select.css +39 -11
- package/dist/components.css +47 -19
- package/dist/index.cjs +1 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/dist/styles/components.css +47 -19
- package/package.json +1 -1
|
@@ -416,21 +416,21 @@
|
|
|
416
416
|
|
|
417
417
|
/* Sizes */
|
|
418
418
|
.dl-btn--sm {
|
|
419
|
-
height: 2rem;
|
|
419
|
+
height: var(--control-height-sm, 2rem);
|
|
420
420
|
padding: 0 0.75rem;
|
|
421
421
|
font-size: 0.75rem;
|
|
422
422
|
}
|
|
423
423
|
.dl-btn--md {
|
|
424
|
-
height: 2.25rem;
|
|
424
|
+
height: var(--control-height-md, 2.25rem);
|
|
425
425
|
padding: 0 1rem;
|
|
426
426
|
}
|
|
427
427
|
.dl-btn--lg {
|
|
428
|
-
height: 2.5rem;
|
|
428
|
+
height: var(--control-height-lg, 2.5rem);
|
|
429
429
|
padding: 0 2rem;
|
|
430
430
|
}
|
|
431
431
|
.dl-btn--icon {
|
|
432
|
-
width: 2.25rem;
|
|
433
|
-
height: 2.25rem;
|
|
432
|
+
width: var(--control-height-md, 2.25rem);
|
|
433
|
+
height: var(--control-height-md, 2.25rem);
|
|
434
434
|
padding: 0;
|
|
435
435
|
}
|
|
436
436
|
|
|
@@ -1247,7 +1247,7 @@
|
|
|
1247
1247
|
.dl-input {
|
|
1248
1248
|
display: block;
|
|
1249
1249
|
width: 100%;
|
|
1250
|
-
height: 2.25rem;
|
|
1250
|
+
height: var(--control-height-md, 2.25rem);
|
|
1251
1251
|
border-radius: var(--radius-md, 0.375rem);
|
|
1252
1252
|
border: 1px solid var(--input);
|
|
1253
1253
|
background-color: transparent;
|
|
@@ -1332,8 +1332,8 @@
|
|
|
1332
1332
|
display: flex;
|
|
1333
1333
|
align-items: center;
|
|
1334
1334
|
justify-content: center;
|
|
1335
|
-
width: 2.25rem;
|
|
1336
|
-
height: 2.25rem;
|
|
1335
|
+
width: var(--control-height-md, 2.25rem);
|
|
1336
|
+
height: var(--control-height-md, 2.25rem);
|
|
1337
1337
|
border-top: 1px solid var(--input);
|
|
1338
1338
|
border-bottom: 1px solid var(--input);
|
|
1339
1339
|
border-right: 1px solid var(--input);
|
|
@@ -2086,19 +2086,26 @@
|
|
|
2086
2086
|
/* ── select ── */
|
|
2087
2087
|
.dl-select-trigger {
|
|
2088
2088
|
display: inline-flex;
|
|
2089
|
-
|
|
2089
|
+
width: 100%;
|
|
2090
|
+
height: var(--control-height-md, 2.25rem);
|
|
2091
|
+
min-height: var(--control-height-md, 2.25rem);
|
|
2090
2092
|
align-items: center;
|
|
2091
2093
|
justify-content: space-between;
|
|
2092
2094
|
white-space: nowrap;
|
|
2093
2095
|
border-radius: var(--radius-md, 0.375rem);
|
|
2094
2096
|
border: 1px solid var(--input);
|
|
2095
2097
|
background-color: transparent;
|
|
2096
|
-
padding: 0 0.
|
|
2097
|
-
font-size: 0.
|
|
2098
|
+
padding: 0 0.75rem;
|
|
2099
|
+
font-size: 0.875rem;
|
|
2100
|
+
line-height: 1.25rem;
|
|
2098
2101
|
font-family: inherit;
|
|
2102
|
+
font-weight: 400;
|
|
2099
2103
|
cursor: pointer;
|
|
2100
2104
|
color: var(--foreground);
|
|
2101
2105
|
box-shadow: 0 1px 2px rgb(0 0 0/0.05);
|
|
2106
|
+
transition:
|
|
2107
|
+
border-color 0.15s ease,
|
|
2108
|
+
box-shadow 0.15s ease;
|
|
2102
2109
|
}
|
|
2103
2110
|
.dl-select-trigger[data-placeholder] {
|
|
2104
2111
|
color: var(--muted-foreground);
|
|
@@ -2113,16 +2120,32 @@
|
|
|
2113
2120
|
}
|
|
2114
2121
|
.dl-select-trigger > svg {
|
|
2115
2122
|
opacity: 0.5;
|
|
2116
|
-
width:
|
|
2117
|
-
height:
|
|
2123
|
+
width: 1rem;
|
|
2124
|
+
height: 1rem;
|
|
2118
2125
|
flex-shrink: 0;
|
|
2119
2126
|
}
|
|
2120
2127
|
|
|
2128
|
+
/* Sizes */
|
|
2129
|
+
.dl-select-trigger--sm {
|
|
2130
|
+
height: var(--control-height-sm, 2rem);
|
|
2131
|
+
min-height: var(--control-height-sm, 2rem);
|
|
2132
|
+
padding: 0 0.5rem;
|
|
2133
|
+
font-size: 0.75rem;
|
|
2134
|
+
}
|
|
2135
|
+
.dl-select-trigger--lg {
|
|
2136
|
+
height: var(--control-height-lg, 2.5rem);
|
|
2137
|
+
min-height: var(--control-height-lg, 2.5rem);
|
|
2138
|
+
padding: 0 1rem;
|
|
2139
|
+
font-size: 1rem;
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2121
2142
|
.dl-select-content {
|
|
2122
2143
|
position: relative;
|
|
2123
2144
|
z-index: 50;
|
|
2124
2145
|
max-height: 24rem;
|
|
2125
|
-
min-width: 8rem;
|
|
2146
|
+
min-width: var(--radix-select-trigger-width, 8rem);
|
|
2147
|
+
width: var(--radix-select-trigger-width, max-content);
|
|
2148
|
+
max-width: var(--radix-select-content-available-width, 100vw);
|
|
2126
2149
|
overflow: hidden;
|
|
2127
2150
|
border-radius: var(--radius-md, 0.375rem);
|
|
2128
2151
|
border: 1px solid var(--border);
|
|
@@ -2137,6 +2160,8 @@
|
|
|
2137
2160
|
animation: dl-fade-out 100ms ease;
|
|
2138
2161
|
}
|
|
2139
2162
|
.dl-select-viewport {
|
|
2163
|
+
width: 100%;
|
|
2164
|
+
min-width: var(--radix-select-trigger-width, 8rem);
|
|
2140
2165
|
padding: 0.25rem;
|
|
2141
2166
|
}
|
|
2142
2167
|
|
|
@@ -2147,10 +2172,13 @@
|
|
|
2147
2172
|
cursor: pointer;
|
|
2148
2173
|
align-items: center;
|
|
2149
2174
|
border-radius: var(--radius-sm, 0.25rem);
|
|
2150
|
-
padding: 0.
|
|
2151
|
-
font-size: 0.
|
|
2175
|
+
padding: 0.375rem 0.625rem 0.375rem 2rem;
|
|
2176
|
+
font-size: 0.875rem;
|
|
2152
2177
|
outline: none;
|
|
2153
2178
|
user-select: none;
|
|
2179
|
+
transition:
|
|
2180
|
+
background-color 0.15s ease,
|
|
2181
|
+
color 0.15s ease;
|
|
2154
2182
|
}
|
|
2155
2183
|
.dl-select-item:focus,
|
|
2156
2184
|
.dl-select-item[data-highlighted] {
|
|
@@ -2163,12 +2191,12 @@
|
|
|
2163
2191
|
}
|
|
2164
2192
|
.dl-select-item__indicator {
|
|
2165
2193
|
position: absolute;
|
|
2166
|
-
left: 0.
|
|
2194
|
+
left: 0.625rem;
|
|
2167
2195
|
display: flex;
|
|
2168
2196
|
align-items: center;
|
|
2169
2197
|
justify-content: center;
|
|
2170
|
-
width: 0.
|
|
2171
|
-
height: 0.
|
|
2198
|
+
width: 0.875rem;
|
|
2199
|
+
height: 0.875rem;
|
|
2172
2200
|
}
|
|
2173
2201
|
.dl-select-label {
|
|
2174
2202
|
padding: 0.25rem 0.5rem;
|