@tomny-dev/uzi 0.2.6 → 0.2.7-pr.23.76.1.ea6567c

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/style.css CHANGED
@@ -435,6 +435,8 @@ body {
435
435
  gap: 4px;
436
436
  }
437
437
  .uzi-modal-module__portalLayer__t7blc {
438
+ --uzi-modal-viewport-margin: 32px;
439
+
438
440
  position: fixed;
439
441
  inset: 0;
440
442
  z-index: 100;
@@ -481,8 +483,9 @@ body {
481
483
  background: var(--background);
482
484
  border: 1px solid var(--border);
483
485
  border-radius: 14px;
484
- padding: 24px;
485
- width: min(500px, 100%);
486
+ max-height: calc(100vh - var(--uzi-modal-viewport-margin));
487
+ max-height: calc(100dvh - var(--uzi-modal-viewport-margin));
488
+ overflow: hidden;
486
489
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
487
490
  display: flex;
488
491
  flex-direction: column;
@@ -490,16 +493,17 @@ body {
490
493
  }
491
494
 
492
495
  /* Size variants */
493
- .uzi-modal-module__size-sm__Uu9je { width: min(380px, 100%); }
494
- .uzi-modal-module__size-md__TiiWy { width: min(500px, 100%); }
495
- .uzi-modal-module__size-lg__BrTIO { width: min(640px, 100%); }
496
- .uzi-modal-module__size-xl__sj0mh { width: min(900px, 100%); }
496
+ .uzi-modal-module__size-sm__Uu9je { width: min(380px, calc(100vw - var(--uzi-modal-viewport-margin))); }
497
+ .uzi-modal-module__size-md__TiiWy { width: min(500px, calc(100vw - var(--uzi-modal-viewport-margin))); }
498
+ .uzi-modal-module__size-lg__BrTIO { width: min(640px, calc(100vw - var(--uzi-modal-viewport-margin))); }
499
+ .uzi-modal-module__size-xl__sj0mh { width: min(900px, calc(100vw - var(--uzi-modal-viewport-margin))); }
497
500
 
498
501
  .uzi-modal-module__header__PmCaO {
499
502
  display: flex;
500
503
  align-items: flex-start;
501
504
  justify-content: space-between;
502
505
  gap: 12px;
506
+ padding: 24px 24px 0;
503
507
  margin-bottom: 16px;
504
508
  }
505
509
 
@@ -552,11 +556,19 @@ body {
552
556
  display: flex;
553
557
  flex-direction: column;
554
558
  gap: 12px;
559
+ min-height: 0;
560
+ overflow-y: auto;
561
+ padding: 0 24px;
562
+ }
563
+
564
+ .uzi-modal-module__body__km6FQ:last-child {
565
+ padding-bottom: 24px;
555
566
  }
556
567
 
557
568
  .uzi-modal-module__footer__jWLTv {
558
569
  display: flex;
559
570
  gap: 8px;
571
+ padding: 0 24px 24px;
560
572
  margin-top: 20px;
561
573
  }
562
574
 
@@ -2023,4 +2035,399 @@ button.uzi-sidebar-nav-module__item__uMHkJ {
2023
2035
  outline: var(--focus-ring);
2024
2036
  outline-offset: var(--focus-ring-offset);
2025
2037
  }
2038
+ .uzi-auth-card-module__authLayout__GHr1j {
2039
+ display: flex;
2040
+ align-items: center;
2041
+ justify-content: center;
2042
+ min-height: 100vh;
2043
+ min-height: 100dvh;
2044
+ padding: 24px;
2045
+ background: var(--background);
2046
+ }
2047
+
2048
+ .uzi-auth-card-module__authCard__ZYYit {
2049
+ width: 100%;
2050
+ max-width: 400px;
2051
+ border-radius: var(--ts-card-radius, 12px);
2052
+ border: 1px solid var(--ts-card-border, var(--border));
2053
+ background: var(--ts-card-bg, var(--card));
2054
+ color: var(--ts-card-fg, var(--foreground));
2055
+ box-shadow: var(--ts-card-shadow, 0 16px 36px rgba(0, 0, 0, 0.28));
2056
+ padding: 20px;
2057
+ display: flex;
2058
+ flex-direction: column;
2059
+ gap: 16px;
2060
+ }
2061
+
2062
+ .uzi-auth-card-module__authBrand__ZCDVm {
2063
+ display: flex;
2064
+ justify-content: center;
2065
+ margin-bottom: 4px;
2066
+ }
2067
+
2068
+ .uzi-auth-card-module__authBrand__ZCDVm svg {
2069
+ width: 40px;
2070
+ height: 40px;
2071
+ color: var(--primary);
2072
+ }
2073
+
2074
+ .uzi-auth-card-module__authHeader__NB6UQ {
2075
+ text-align: center;
2076
+ }
2077
+
2078
+ .uzi-auth-card-module__authTitle__VtHLn {
2079
+ font-size: 1.25rem;
2080
+ font-weight: 600;
2081
+ line-height: 1.4;
2082
+ margin: 0;
2083
+ color: var(--foreground);
2084
+ }
2085
+
2086
+ .uzi-auth-card-module__authSubtitle__ZupId {
2087
+ font-size: 0.875rem;
2088
+ color: var(--muted-foreground);
2089
+ margin-top: 4px;
2090
+ margin-bottom: 0;
2091
+ line-height: 1.4;
2092
+ }
2093
+
2094
+ .uzi-auth-card-module__authBody__PTyaL {
2095
+ display: flex;
2096
+ flex-direction: column;
2097
+ gap: 14px;
2098
+ }
2099
+
2100
+ .uzi-auth-card-module__divider__D8r12 {
2101
+ border: none;
2102
+ border-top: 1px solid var(--border);
2103
+ margin: 0;
2104
+ }
2105
+
2106
+ .uzi-auth-card-module__authFooter__C5s-- {
2107
+ text-align: center;
2108
+ font-size: 0.875rem;
2109
+ color: var(--muted-foreground);
2110
+ margin: 0;
2111
+ }
2112
+
2113
+ .uzi-auth-card-module__authFooter__C5s-- a {
2114
+ color: var(--primary);
2115
+ text-decoration: none;
2116
+ font-weight: 500;
2117
+ }
2118
+
2119
+ .uzi-auth-card-module__authFooter__C5s-- a:hover {
2120
+ text-decoration: underline;
2121
+ }
2122
+ /* ── Layout ── */
2123
+ .uzi-auth-pages-module__authLayout__i-FlB {
2124
+ display: flex;
2125
+ align-items: center;
2126
+ justify-content: center;
2127
+ min-height: 100vh;
2128
+ min-height: 100dvh;
2129
+ padding: 24px;
2130
+ background: var(--background);
2131
+ }
2132
+
2133
+ .uzi-auth-pages-module__authCard__toOGS {
2134
+ width: 100%;
2135
+ max-width: 400px;
2136
+ border-radius: var(--ts-card-radius, 12px);
2137
+ border: 1px solid var(--ts-card-border, var(--border));
2138
+ background: var(--ts-card-bg, var(--card));
2139
+ color: var(--ts-card-fg, var(--foreground));
2140
+ box-shadow: var(--ts-card-shadow, 0 16px 36px rgba(0, 0, 0, 0.28));
2141
+ padding: 20px;
2142
+ display: flex;
2143
+ flex-direction: column;
2144
+ gap: 16px;
2145
+ }
2146
+
2147
+ .uzi-auth-pages-module__authBrand__7yOdw {
2148
+ display: flex;
2149
+ justify-content: center;
2150
+ margin-bottom: 4px;
2151
+ }
2152
+
2153
+ .uzi-auth-pages-module__authBrand__7yOdw svg {
2154
+ width: 40px;
2155
+ height: 40px;
2156
+ color: var(--primary);
2157
+ }
2158
+
2159
+ .uzi-auth-pages-module__authHeader__V-wcl {
2160
+ text-align: center;
2161
+ }
2162
+
2163
+ .uzi-auth-pages-module__authTitle__1bgLI {
2164
+ font-size: 1.25rem;
2165
+ font-weight: 600;
2166
+ line-height: 1.4;
2167
+ margin: 0;
2168
+ color: var(--foreground);
2169
+ }
2170
+
2171
+ .uzi-auth-pages-module__authSubtitle__sGXxg {
2172
+ font-size: 0.875rem;
2173
+ color: var(--muted-foreground);
2174
+ margin-top: 4px;
2175
+ margin-bottom: 0;
2176
+ line-height: 1.4;
2177
+ }
2178
+
2179
+ /* ── Form ── */
2180
+ .uzi-auth-pages-module__authForm__4MucP {
2181
+ display: flex;
2182
+ flex-direction: column;
2183
+ gap: 14px;
2184
+ }
2185
+
2186
+ /* ── Field ── */
2187
+ .uzi-auth-pages-module__field__Ajl6w {
2188
+ display: flex;
2189
+ flex-direction: column;
2190
+ gap: 4px;
2191
+ }
2192
+
2193
+ .uzi-auth-pages-module__label__MdsqJ {
2194
+ font-size: 0.875rem;
2195
+ font-weight: 500;
2196
+ line-height: 1.2;
2197
+ color: var(--foreground);
2198
+ }
2199
+
2200
+ .uzi-auth-pages-module__input__yijT9 {
2201
+ display: flex;
2202
+ width: 100%;
2203
+ min-height: 2.25rem;
2204
+ border-radius: 0.5rem;
2205
+ border: 1px solid var(--input);
2206
+ background: var(--background);
2207
+ color: var(--foreground);
2208
+ padding: 0.25rem 0.75rem;
2209
+ font-size: 0.875rem;
2210
+ line-height: 1.25rem;
2211
+ box-shadow: var(--ts-input-shadow, 0 1px 2px rgba(0, 0, 0, 0.04));
2212
+ transition: border-color 0.15s ease, background 0.15s ease;
2213
+ font-family: inherit;
2214
+ }
2215
+
2216
+ .uzi-auth-pages-module__input__yijT9::placeholder {
2217
+ color: var(--muted-foreground);
2218
+ }
2219
+
2220
+ .uzi-auth-pages-module__input__yijT9:focus-visible {
2221
+ outline: var(--focus-ring);
2222
+ outline-offset: var(--focus-ring-offset);
2223
+ }
2224
+
2225
+ .uzi-auth-pages-module__input__yijT9:disabled {
2226
+ cursor: not-allowed;
2227
+ opacity: 0.5;
2228
+ }
2229
+
2230
+ /* ── Error ── */
2231
+ .uzi-auth-pages-module__error__7Mhyi {
2232
+ font-size: 0.8rem;
2233
+ color: var(--destructive);
2234
+ margin-top: 2px;
2235
+ }
2236
+
2237
+ /* ── Password wrapper ── */
2238
+ .uzi-auth-pages-module__passwordWrapper__P0bez {
2239
+ position: relative;
2240
+ }
2241
+
2242
+ .uzi-auth-pages-module__passwordWrapper__P0bez .uzi-auth-pages-module__input__yijT9 {
2243
+ padding-right: 2.5rem;
2244
+ }
2245
+
2246
+ .uzi-auth-pages-module__toggle__T7HaZ {
2247
+ position: absolute;
2248
+ right: 0.5rem;
2249
+ top: 50%;
2250
+ transform: translateY(-50%);
2251
+ background: none;
2252
+ border: none;
2253
+ padding: 0.25rem;
2254
+ cursor: pointer;
2255
+ color: var(--muted-foreground);
2256
+ border-radius: 4px;
2257
+ transition: color 0.15s, background 0.15s;
2258
+ display: flex;
2259
+ align-items: center;
2260
+ justify-content: center;
2261
+ }
2262
+
2263
+ .uzi-auth-pages-module__toggle__T7HaZ:hover {
2264
+ color: var(--foreground);
2265
+ background: var(--accent);
2266
+ }
2267
+
2268
+ .uzi-auth-pages-module__toggle__T7HaZ:focus-visible {
2269
+ outline: var(--focus-ring);
2270
+ outline-offset: var(--focus-ring-offset);
2271
+ }
2272
+
2273
+ .uzi-auth-pages-module__eyeIcon__ab2Ts {
2274
+ width: 1.125rem;
2275
+ height: 1.125rem;
2276
+ }
2277
+
2278
+ /* ── Checkbox row ── */
2279
+ .uzi-auth-pages-module__checkboxRow__Rq-84 {
2280
+ display: flex;
2281
+ align-items: center;
2282
+ justify-content: space-between;
2283
+ gap: 8px;
2284
+ flex-wrap: wrap;
2285
+ }
2286
+
2287
+ .uzi-auth-pages-module__checkboxLabel__poKs- {
2288
+ display: flex;
2289
+ align-items: center;
2290
+ gap: 8px;
2291
+ font-size: 0.875rem;
2292
+ color: var(--foreground);
2293
+ cursor: pointer;
2294
+ }
2295
+
2296
+ .uzi-auth-pages-module__checkbox__KOQQe {
2297
+ width: 1rem;
2298
+ height: 1rem;
2299
+ accent-color: var(--primary);
2300
+ border-radius: 4px;
2301
+ cursor: pointer;
2302
+ }
2303
+
2304
+ .uzi-auth-pages-module__checkbox__KOQQe:focus-visible {
2305
+ outline: var(--focus-ring);
2306
+ outline-offset: var(--focus-ring-offset);
2307
+ }
2308
+
2309
+ .uzi-auth-pages-module__forgotLink__5q-vL {
2310
+ font-size: 0.875rem;
2311
+ color: var(--primary);
2312
+ text-decoration: none;
2313
+ font-weight: 500;
2314
+ }
2315
+
2316
+ .uzi-auth-pages-module__forgotLink__5q-vL:hover {
2317
+ text-decoration: underline;
2318
+ }
2319
+
2320
+ .uzi-auth-pages-module__checkboxLink__kAkKg {
2321
+ color: var(--primary);
2322
+ text-decoration: none;
2323
+ font-weight: 500;
2324
+ }
2325
+
2326
+ .uzi-auth-pages-module__checkboxLink__kAkKg:hover {
2327
+ text-decoration: underline;
2328
+ }
2329
+
2330
+ /* ── Submit button ── */
2331
+ .uzi-auth-pages-module__submitButton__mlGxT {
2332
+ display: inline-flex;
2333
+ align-items: center;
2334
+ justify-content: center;
2335
+ gap: 8px;
2336
+ font-family: inherit;
2337
+ font-weight: 600;
2338
+ border-radius: 8px;
2339
+ border: 1px solid transparent;
2340
+ cursor: pointer;
2341
+ text-decoration: none;
2342
+ transition: opacity 0.15s, border-color 0.15s, color 0.15s, background 0.15s;
2343
+ white-space: nowrap;
2344
+ line-height: 1;
2345
+ font-size: 0.95rem;
2346
+ min-height: 2.25rem;
2347
+ padding: 10px 22px;
2348
+ background: var(--primary);
2349
+ color: var(--primary-foreground);
2350
+ }
2351
+
2352
+ .uzi-auth-pages-module__submitButton__mlGxT:focus-visible {
2353
+ outline: var(--focus-ring);
2354
+ outline-offset: var(--focus-ring-offset);
2355
+ }
2356
+
2357
+ .uzi-auth-pages-module__submitButton__mlGxT:disabled {
2358
+ opacity: 0.45;
2359
+ cursor: not-allowed;
2360
+ }
2361
+
2362
+ .uzi-auth-pages-module__submitButton__mlGxT:hover:not(:disabled) {
2363
+ opacity: 0.88;
2364
+ }
2365
+
2366
+ /* ── Spinner ── */
2367
+ .uzi-auth-pages-module__spinner__seK4F {
2368
+ width: 1rem;
2369
+ height: 1rem;
2370
+ border: 2px solid rgba(255, 255, 255, 0.3);
2371
+ border-top-color: white;
2372
+ border-radius: 50%;
2373
+ animation: uzi-auth-pages-module__spin__hYpWH 0.6s linear infinite;
2374
+ }
2375
+
2376
+ @keyframes uzi-auth-pages-module__spin__hYpWH {
2377
+ to { transform: rotate(360deg); }
2378
+ }
2379
+
2380
+ /* ── Divider ── */
2381
+ .uzi-auth-pages-module__divider__Debmu {
2382
+ border: none;
2383
+ border-top: 1px solid var(--border);
2384
+ margin: 0;
2385
+ }
2386
+
2387
+ /* ── Footer ── */
2388
+ .uzi-auth-pages-module__authFooter__SEaGh {
2389
+ text-align: center;
2390
+ font-size: 0.875rem;
2391
+ color: var(--muted-foreground);
2392
+ margin: 0;
2393
+ }
2394
+
2395
+ .uzi-auth-pages-module__authFooter__SEaGh a {
2396
+ color: var(--primary);
2397
+ text-decoration: none;
2398
+ font-weight: 500;
2399
+ }
2400
+
2401
+ .uzi-auth-pages-module__authFooter__SEaGh a:hover {
2402
+ text-decoration: underline;
2403
+ }
2404
+
2405
+ /* ── Sent state ── */
2406
+ .uzi-auth-pages-module__sentMessage__vLBoY {
2407
+ text-align: center;
2408
+ display: flex;
2409
+ flex-direction: column;
2410
+ gap: 12px;
2411
+ }
2412
+
2413
+ .uzi-auth-pages-module__sentText__qyJkF {
2414
+ font-size: 0.875rem;
2415
+ color: var(--foreground);
2416
+ line-height: 1.5;
2417
+ }
2418
+
2419
+ .uzi-auth-pages-module__sentText__qyJkF strong {
2420
+ font-weight: 600;
2421
+ }
2422
+
2423
+ .uzi-auth-pages-module__backLink__ezB3X {
2424
+ font-size: 0.875rem;
2425
+ color: var(--primary);
2426
+ text-decoration: none;
2427
+ font-weight: 500;
2428
+ }
2429
+
2430
+ .uzi-auth-pages-module__backLink__ezB3X:hover {
2431
+ text-decoration: underline;
2432
+ }
2026
2433
  /*$vite$:1*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomny-dev/uzi",
3
- "version": "0.2.6",
3
+ "version": "0.2.7-pr.23.76.1.ea6567c",
4
4
  "description": "Rapid-fire React UI components. Ship faster, build more.",
5
5
  "type": "module",
6
6
  "publishConfig": {