@k3-universe/react-kit 0.0.37 → 0.0.39
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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3163 -889
- package/dist/kit/components/keyboard/Keyboard.d.ts +28 -0
- package/dist/kit/components/keyboard/Keyboard.d.ts.map +1 -0
- package/dist/kit/components/keyboard/index.d.ts +5 -0
- package/dist/kit/components/keyboard/index.d.ts.map +1 -0
- package/dist/kit/components/numpad/Numpad.d.ts +26 -0
- package/dist/kit/components/numpad/Numpad.d.ts.map +1 -0
- package/dist/kit/components/numpad/index.d.ts +5 -0
- package/dist/kit/components/numpad/index.d.ts.map +1 -0
- package/dist/kit/themes/base.css +1 -1
- package/dist/kit/themes/clean-slate.css +161 -1
- package/dist/kit/themes/default.css +161 -1
- package/dist/kit/themes/minimal-modern.css +161 -1
- package/dist/kit/themes/spotify.css +161 -1
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/kit/components/keyboard/Keyboard.tsx +916 -0
- package/src/kit/components/keyboard/index.ts +4 -0
- package/src/kit/components/numpad/Numpad.tsx +377 -0
- package/src/kit/components/numpad/index.ts +4 -0
- package/src/shadcn/ui/calendar.tsx +1 -1
- package/src/stories/kit/components/Keyboard.stories.tsx +263 -0
- package/src/stories/kit/components/Numpad.stories.tsx +195 -0
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties {
|
|
3
3
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
4
4
|
*, :before, :after, ::backdrop {
|
|
5
5
|
--tw-translate-x: 0;
|
|
6
6
|
--tw-translate-y: 0;
|
|
7
7
|
--tw-translate-z: 0;
|
|
8
|
+
--tw-scale-x: 1;
|
|
9
|
+
--tw-scale-y: 1;
|
|
10
|
+
--tw-scale-z: 1;
|
|
8
11
|
--tw-rotate-x: initial;
|
|
9
12
|
--tw-rotate-y: initial;
|
|
10
13
|
--tw-rotate-z: initial;
|
|
@@ -88,14 +91,24 @@
|
|
|
88
91
|
--font-serif: var(--font-serif);
|
|
89
92
|
--font-mono: var(--font-mono);
|
|
90
93
|
--color-red-500: oklch(63.7% .237 25.331);
|
|
94
|
+
--color-red-600: oklch(57.7% .245 27.325);
|
|
95
|
+
--color-red-700: oklch(50.5% .213 27.518);
|
|
96
|
+
--color-green-400: oklch(79.2% .209 151.711);
|
|
91
97
|
--color-green-500: oklch(72.3% .219 149.579);
|
|
98
|
+
--color-green-600: oklch(62.7% .194 149.214);
|
|
92
99
|
--color-teal-50: oklch(98.4% .014 180.72);
|
|
100
|
+
--color-teal-100: oklch(95.3% .051 180.801);
|
|
101
|
+
--color-teal-200: oklch(91% .096 180.426);
|
|
102
|
+
--color-teal-400: oklch(77.7% .152 181.912);
|
|
103
|
+
--color-teal-600: oklch(60% .118 184.704);
|
|
93
104
|
--color-teal-700: oklch(51.1% .096 186.391);
|
|
105
|
+
--color-teal-900: oklch(38.6% .063 188.416);
|
|
94
106
|
--color-blue-50: oklch(97% .014 254.604);
|
|
95
107
|
--color-blue-200: oklch(88.2% .059 254.128);
|
|
96
108
|
--color-blue-800: oklch(42.4% .199 265.638);
|
|
97
109
|
--color-blue-900: oklch(37.9% .146 265.522);
|
|
98
110
|
--color-gray-600: oklch(44.6% .03 256.802);
|
|
111
|
+
--color-gray-800: oklch(27.8% .033 256.848);
|
|
99
112
|
--color-gray-900: oklch(21% .034 264.665);
|
|
100
113
|
--color-black: #000;
|
|
101
114
|
--color-white: #fff;
|
|
@@ -649,6 +662,10 @@
|
|
|
649
662
|
grid-row: span 2 / span 2;
|
|
650
663
|
}
|
|
651
664
|
|
|
665
|
+
.row-span-3 {
|
|
666
|
+
grid-row: span 3 / span 3;
|
|
667
|
+
}
|
|
668
|
+
|
|
652
669
|
.row-start-1 {
|
|
653
670
|
grid-row-start: 1;
|
|
654
671
|
}
|
|
@@ -1037,6 +1054,10 @@
|
|
|
1037
1054
|
height: 1px;
|
|
1038
1055
|
}
|
|
1039
1056
|
|
|
1057
|
+
.h-screen {
|
|
1058
|
+
height: 100vh;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1040
1061
|
.h-svh {
|
|
1041
1062
|
height: 100svh;
|
|
1042
1063
|
}
|
|
@@ -1077,6 +1098,10 @@
|
|
|
1077
1098
|
min-height: calc(var(--spacing) * 16);
|
|
1078
1099
|
}
|
|
1079
1100
|
|
|
1101
|
+
.min-h-\[60px\] {
|
|
1102
|
+
min-height: 60px;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1080
1105
|
.min-h-dvh {
|
|
1081
1106
|
min-height: 100dvh;
|
|
1082
1107
|
}
|
|
@@ -1305,10 +1330,22 @@
|
|
|
1305
1330
|
max-width: var(--container-6xl);
|
|
1306
1331
|
}
|
|
1307
1332
|
|
|
1333
|
+
.max-w-\[80px\] {
|
|
1334
|
+
max-width: 80px;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
.max-w-\[88px\] {
|
|
1338
|
+
max-width: 88px;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1308
1341
|
.max-w-\[150px\] {
|
|
1309
1342
|
max-width: 150px;
|
|
1310
1343
|
}
|
|
1311
1344
|
|
|
1345
|
+
.max-w-\[630px\] {
|
|
1346
|
+
max-width: 630px;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1312
1349
|
.max-w-\[calc\(100\%-2rem\)\] {
|
|
1313
1350
|
max-width: calc(100% - 2rem);
|
|
1314
1351
|
}
|
|
@@ -1377,6 +1414,10 @@
|
|
|
1377
1414
|
min-width: 12rem;
|
|
1378
1415
|
}
|
|
1379
1416
|
|
|
1417
|
+
.min-w-\[80px\] {
|
|
1418
|
+
min-width: 80px;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1380
1421
|
.min-w-\[120px\] {
|
|
1381
1422
|
min-width: 120px;
|
|
1382
1423
|
}
|
|
@@ -1393,6 +1434,10 @@
|
|
|
1393
1434
|
min-width: 400px;
|
|
1394
1435
|
}
|
|
1395
1436
|
|
|
1437
|
+
.min-w-\[630px\] {
|
|
1438
|
+
min-width: 630px;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1396
1441
|
.min-w-\[900px\] {
|
|
1397
1442
|
min-width: 900px;
|
|
1398
1443
|
}
|
|
@@ -1497,6 +1542,13 @@
|
|
|
1497
1542
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1498
1543
|
}
|
|
1499
1544
|
|
|
1545
|
+
.scale-95 {
|
|
1546
|
+
--tw-scale-x: 95%;
|
|
1547
|
+
--tw-scale-y: 95%;
|
|
1548
|
+
--tw-scale-z: 95%;
|
|
1549
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1500
1552
|
.rotate-45 {
|
|
1501
1553
|
rotate: 45deg;
|
|
1502
1554
|
}
|
|
@@ -1505,6 +1557,10 @@
|
|
|
1505
1557
|
rotate: 90deg;
|
|
1506
1558
|
}
|
|
1507
1559
|
|
|
1560
|
+
.rotate-180 {
|
|
1561
|
+
rotate: 180deg;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1508
1564
|
.transform {
|
|
1509
1565
|
transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
|
|
1510
1566
|
}
|
|
@@ -1878,6 +1934,11 @@
|
|
|
1878
1934
|
border-width: 1px;
|
|
1879
1935
|
}
|
|
1880
1936
|
|
|
1937
|
+
.border-2 {
|
|
1938
|
+
border-style: var(--tw-border-style);
|
|
1939
|
+
border-width: 2px;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1881
1942
|
.border-\[1\.5px\] {
|
|
1882
1943
|
border-style: var(--tw-border-style);
|
|
1883
1944
|
border-width: 1.5px;
|
|
@@ -1957,6 +2018,18 @@
|
|
|
1957
2018
|
border-color: var(--sidebar-border);
|
|
1958
2019
|
}
|
|
1959
2020
|
|
|
2021
|
+
.border-teal-200 {
|
|
2022
|
+
border-color: var(--color-teal-200);
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
.border-teal-400 {
|
|
2026
|
+
border-color: var(--color-teal-400);
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
.border-teal-600 {
|
|
2030
|
+
border-color: var(--color-teal-600);
|
|
2031
|
+
}
|
|
2032
|
+
|
|
1960
2033
|
.border-transparent {
|
|
1961
2034
|
border-color: #0000;
|
|
1962
2035
|
}
|
|
@@ -2047,6 +2120,14 @@
|
|
|
2047
2120
|
background-color: var(--foreground);
|
|
2048
2121
|
}
|
|
2049
2122
|
|
|
2123
|
+
.bg-green-400 {
|
|
2124
|
+
background-color: var(--color-green-400);
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
.bg-green-500 {
|
|
2128
|
+
background-color: var(--color-green-500);
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2050
2131
|
.bg-muted, .bg-muted\/40 {
|
|
2051
2132
|
background-color: var(--muted);
|
|
2052
2133
|
}
|
|
@@ -2091,6 +2172,10 @@
|
|
|
2091
2172
|
}
|
|
2092
2173
|
}
|
|
2093
2174
|
|
|
2175
|
+
.bg-red-600 {
|
|
2176
|
+
background-color: var(--color-red-600);
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2094
2179
|
.bg-secondary {
|
|
2095
2180
|
background-color: var(--secondary);
|
|
2096
2181
|
}
|
|
@@ -2107,6 +2192,14 @@
|
|
|
2107
2192
|
background-color: var(--color-teal-50);
|
|
2108
2193
|
}
|
|
2109
2194
|
|
|
2195
|
+
.bg-teal-100 {
|
|
2196
|
+
background-color: var(--color-teal-100);
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
.bg-teal-600 {
|
|
2200
|
+
background-color: var(--color-teal-600);
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2110
2203
|
.bg-teal-700 {
|
|
2111
2204
|
background-color: var(--color-teal-700);
|
|
2112
2205
|
}
|
|
@@ -2115,6 +2208,10 @@
|
|
|
2115
2208
|
background-color: #0000;
|
|
2116
2209
|
}
|
|
2117
2210
|
|
|
2211
|
+
.bg-white {
|
|
2212
|
+
background-color: var(--color-white);
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2118
2215
|
.fill-current {
|
|
2119
2216
|
fill: currentColor;
|
|
2120
2217
|
}
|
|
@@ -2255,6 +2352,10 @@
|
|
|
2255
2352
|
padding-top: calc(var(--spacing) * 6);
|
|
2256
2353
|
}
|
|
2257
2354
|
|
|
2355
|
+
.pt-40 {
|
|
2356
|
+
padding-top: calc(var(--spacing) * 40);
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2258
2359
|
.pr-1 {
|
|
2259
2360
|
padding-right: calc(var(--spacing) * 1);
|
|
2260
2361
|
}
|
|
@@ -2283,6 +2384,10 @@
|
|
|
2283
2384
|
padding-bottom: calc(var(--spacing) * 8);
|
|
2284
2385
|
}
|
|
2285
2386
|
|
|
2387
|
+
.pb-96 {
|
|
2388
|
+
padding-bottom: calc(var(--spacing) * 96);
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2286
2391
|
.pl-2 {
|
|
2287
2392
|
padding-left: calc(var(--spacing) * 2);
|
|
2288
2393
|
}
|
|
@@ -2478,6 +2583,10 @@
|
|
|
2478
2583
|
color: var(--color-gray-600);
|
|
2479
2584
|
}
|
|
2480
2585
|
|
|
2586
|
+
.text-gray-800 {
|
|
2587
|
+
color: var(--color-gray-800);
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2481
2590
|
.text-gray-900 {
|
|
2482
2591
|
color: var(--color-gray-900);
|
|
2483
2592
|
}
|
|
@@ -2520,6 +2629,10 @@
|
|
|
2520
2629
|
}
|
|
2521
2630
|
}
|
|
2522
2631
|
|
|
2632
|
+
.text-teal-600 {
|
|
2633
|
+
color: var(--color-teal-600);
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2523
2636
|
.text-white {
|
|
2524
2637
|
color: var(--color-white);
|
|
2525
2638
|
}
|
|
@@ -2742,6 +2855,11 @@
|
|
|
2742
2855
|
transition-property: none;
|
|
2743
2856
|
}
|
|
2744
2857
|
|
|
2858
|
+
.duration-150 {
|
|
2859
|
+
--tw-duration: .15s;
|
|
2860
|
+
transition-duration: .15s;
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2745
2863
|
.duration-200 {
|
|
2746
2864
|
--tw-duration: .2s;
|
|
2747
2865
|
transition-duration: .2s;
|
|
@@ -3261,6 +3379,14 @@
|
|
|
3261
3379
|
}
|
|
3262
3380
|
}
|
|
3263
3381
|
|
|
3382
|
+
.hover\:bg-green-500:hover {
|
|
3383
|
+
background-color: var(--color-green-500);
|
|
3384
|
+
}
|
|
3385
|
+
|
|
3386
|
+
.hover\:bg-green-600:hover {
|
|
3387
|
+
background-color: var(--color-green-600);
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3264
3390
|
.hover\:bg-muted:hover, .hover\:bg-muted\/50:hover {
|
|
3265
3391
|
background-color: var(--muted);
|
|
3266
3392
|
}
|
|
@@ -3281,6 +3407,10 @@
|
|
|
3281
3407
|
}
|
|
3282
3408
|
}
|
|
3283
3409
|
|
|
3410
|
+
.hover\:bg-red-700:hover {
|
|
3411
|
+
background-color: var(--color-red-700);
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3284
3414
|
.hover\:bg-secondary\/80:hover {
|
|
3285
3415
|
background-color: var(--secondary);
|
|
3286
3416
|
}
|
|
@@ -3301,6 +3431,14 @@
|
|
|
3301
3431
|
}
|
|
3302
3432
|
}
|
|
3303
3433
|
|
|
3434
|
+
.hover\:bg-teal-50:hover {
|
|
3435
|
+
background-color: var(--color-teal-50);
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
.hover\:bg-teal-700:hover {
|
|
3439
|
+
background-color: var(--color-teal-700);
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3304
3442
|
.hover\:text-accent-foreground:hover {
|
|
3305
3443
|
color: var(--accent-foreground);
|
|
3306
3444
|
}
|
|
@@ -3317,6 +3455,10 @@
|
|
|
3317
3455
|
color: var(--sidebar-accent-foreground);
|
|
3318
3456
|
}
|
|
3319
3457
|
|
|
3458
|
+
.hover\:text-teal-900:hover {
|
|
3459
|
+
color: var(--color-teal-900);
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3320
3462
|
.hover\:underline:hover {
|
|
3321
3463
|
text-decoration-line: underline;
|
|
3322
3464
|
}
|
|
@@ -5569,6 +5711,24 @@
|
|
|
5569
5711
|
initial-value: 0;
|
|
5570
5712
|
}
|
|
5571
5713
|
|
|
5714
|
+
@property --tw-scale-x {
|
|
5715
|
+
syntax: "*";
|
|
5716
|
+
inherits: false;
|
|
5717
|
+
initial-value: 1;
|
|
5718
|
+
}
|
|
5719
|
+
|
|
5720
|
+
@property --tw-scale-y {
|
|
5721
|
+
syntax: "*";
|
|
5722
|
+
inherits: false;
|
|
5723
|
+
initial-value: 1;
|
|
5724
|
+
}
|
|
5725
|
+
|
|
5726
|
+
@property --tw-scale-z {
|
|
5727
|
+
syntax: "*";
|
|
5728
|
+
inherits: false;
|
|
5729
|
+
initial-value: 1;
|
|
5730
|
+
}
|
|
5731
|
+
|
|
5572
5732
|
@property --tw-rotate-x {
|
|
5573
5733
|
syntax: "*";
|
|
5574
5734
|
inherits: false
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -20,6 +20,8 @@ export * from './kit/components/forminfo';
|
|
|
20
20
|
// Ensure default export for Login at root
|
|
21
21
|
export { default as Login } from './kit/components/login/Login';
|
|
22
22
|
export * from './kit/components/fileuploader';
|
|
23
|
+
export * from './kit/components/numpad';
|
|
24
|
+
export * from './kit/components/keyboard';
|
|
23
25
|
|
|
24
26
|
// -----------------------------
|
|
25
27
|
// KIT: layouts (admin)
|