@uni-design-system/uni-mcp 4.1.0 → 4.1.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/dist/{chunk-UQRS5BYW.js → chunk-2CKFXSMH.js} +140 -99
- package/dist/chunk-2CKFXSMH.js.map +1 -0
- package/dist/http.js +1 -1
- package/dist/server.js +1 -1
- package/dist/stdio.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-UQRS5BYW.js.map +0 -1
|
@@ -7,8 +7,8 @@ import { z } from "zod";
|
|
|
7
7
|
// src/data/uni-index.json
|
|
8
8
|
var uni_index_default = {
|
|
9
9
|
meta: {
|
|
10
|
-
version: "5.
|
|
11
|
-
builtAt: "2026-07-
|
|
10
|
+
version: "5.1.0",
|
|
11
|
+
builtAt: "2026-07-23T20:25:42.150Z",
|
|
12
12
|
frameworks: [
|
|
13
13
|
"angular"
|
|
14
14
|
],
|
|
@@ -27,7 +27,7 @@ var uni_index_default = {
|
|
|
27
27
|
summary: "",
|
|
28
28
|
description: "",
|
|
29
29
|
category: "feedback",
|
|
30
|
-
version: "5.
|
|
30
|
+
version: "5.1.0",
|
|
31
31
|
bindings: {
|
|
32
32
|
angular: {
|
|
33
33
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -95,7 +95,7 @@ var uni_index_default = {
|
|
|
95
95
|
summary: "",
|
|
96
96
|
description: "",
|
|
97
97
|
category: "primitives",
|
|
98
|
-
version: "5.
|
|
98
|
+
version: "5.1.0",
|
|
99
99
|
bindings: {
|
|
100
100
|
angular: {
|
|
101
101
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -156,7 +156,7 @@ var uni_index_default = {
|
|
|
156
156
|
summary: "",
|
|
157
157
|
description: "",
|
|
158
158
|
category: "feedback",
|
|
159
|
-
version: "5.
|
|
159
|
+
version: "5.1.0",
|
|
160
160
|
bindings: {
|
|
161
161
|
angular: {
|
|
162
162
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -206,7 +206,7 @@ var uni_index_default = {
|
|
|
206
206
|
summary: "",
|
|
207
207
|
description: "",
|
|
208
208
|
category: "directives",
|
|
209
|
-
version: "5.
|
|
209
|
+
version: "5.1.0",
|
|
210
210
|
bindings: {
|
|
211
211
|
angular: {
|
|
212
212
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -230,7 +230,7 @@ var uni_index_default = {
|
|
|
230
230
|
summary: "",
|
|
231
231
|
description: "",
|
|
232
232
|
category: "layout",
|
|
233
|
-
version: "5.
|
|
233
|
+
version: "5.1.0",
|
|
234
234
|
bindings: {
|
|
235
235
|
angular: {
|
|
236
236
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -587,7 +587,7 @@ var uni_index_default = {
|
|
|
587
587
|
summary: "",
|
|
588
588
|
description: "",
|
|
589
589
|
category: "primitives",
|
|
590
|
-
version: "5.
|
|
590
|
+
version: "5.1.0",
|
|
591
591
|
bindings: {
|
|
592
592
|
angular: {
|
|
593
593
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -650,7 +650,7 @@ var uni_index_default = {
|
|
|
650
650
|
summary: "",
|
|
651
651
|
description: "",
|
|
652
652
|
category: "primitives",
|
|
653
|
-
version: "5.
|
|
653
|
+
version: "5.1.0",
|
|
654
654
|
bindings: {
|
|
655
655
|
angular: {
|
|
656
656
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -674,7 +674,7 @@ var uni_index_default = {
|
|
|
674
674
|
summary: "",
|
|
675
675
|
description: "",
|
|
676
676
|
category: "layout",
|
|
677
|
-
version: "5.
|
|
677
|
+
version: "5.1.0",
|
|
678
678
|
bindings: {
|
|
679
679
|
angular: {
|
|
680
680
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -698,7 +698,7 @@ var uni_index_default = {
|
|
|
698
698
|
summary: "",
|
|
699
699
|
description: "",
|
|
700
700
|
category: "layout",
|
|
701
|
-
version: "5.
|
|
701
|
+
version: "5.1.0",
|
|
702
702
|
bindings: {
|
|
703
703
|
angular: {
|
|
704
704
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -722,7 +722,7 @@ var uni_index_default = {
|
|
|
722
722
|
summary: "",
|
|
723
723
|
description: "",
|
|
724
724
|
category: "layout",
|
|
725
|
-
version: "5.
|
|
725
|
+
version: "5.1.0",
|
|
726
726
|
bindings: {
|
|
727
727
|
angular: {
|
|
728
728
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -763,7 +763,7 @@ var uni_index_default = {
|
|
|
763
763
|
summary: "",
|
|
764
764
|
description: "",
|
|
765
765
|
category: "layout",
|
|
766
|
-
version: "5.
|
|
766
|
+
version: "5.1.0",
|
|
767
767
|
bindings: {
|
|
768
768
|
angular: {
|
|
769
769
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -812,7 +812,7 @@ var uni_index_default = {
|
|
|
812
812
|
summary: "",
|
|
813
813
|
description: "",
|
|
814
814
|
category: "forms",
|
|
815
|
-
version: "5.
|
|
815
|
+
version: "5.1.0",
|
|
816
816
|
bindings: {
|
|
817
817
|
angular: {
|
|
818
818
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -909,7 +909,7 @@ var uni_index_default = {
|
|
|
909
909
|
summary: "",
|
|
910
910
|
description: "",
|
|
911
911
|
category: "feedback",
|
|
912
|
-
version: "5.
|
|
912
|
+
version: "5.1.0",
|
|
913
913
|
bindings: {
|
|
914
914
|
angular: {
|
|
915
915
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -956,7 +956,7 @@ var uni_index_default = {
|
|
|
956
956
|
summary: "",
|
|
957
957
|
description: "",
|
|
958
958
|
category: "forms",
|
|
959
|
-
version: "5.
|
|
959
|
+
version: "5.1.0",
|
|
960
960
|
bindings: {
|
|
961
961
|
angular: {
|
|
962
962
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1003,7 +1003,7 @@ var uni_index_default = {
|
|
|
1003
1003
|
summary: "",
|
|
1004
1004
|
description: "",
|
|
1005
1005
|
category: "data",
|
|
1006
|
-
version: "5.
|
|
1006
|
+
version: "5.1.0",
|
|
1007
1007
|
bindings: {
|
|
1008
1008
|
angular: {
|
|
1009
1009
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1079,7 +1079,7 @@ var uni_index_default = {
|
|
|
1079
1079
|
summary: "",
|
|
1080
1080
|
description: "",
|
|
1081
1081
|
category: "forms",
|
|
1082
|
-
version: "5.
|
|
1082
|
+
version: "5.1.0",
|
|
1083
1083
|
bindings: {
|
|
1084
1084
|
angular: {
|
|
1085
1085
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1133,7 +1133,7 @@ var uni_index_default = {
|
|
|
1133
1133
|
summary: "",
|
|
1134
1134
|
description: "",
|
|
1135
1135
|
category: "feedback",
|
|
1136
|
-
version: "5.
|
|
1136
|
+
version: "5.1.0",
|
|
1137
1137
|
bindings: {
|
|
1138
1138
|
angular: {
|
|
1139
1139
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1201,7 +1201,7 @@ var uni_index_default = {
|
|
|
1201
1201
|
summary: "",
|
|
1202
1202
|
description: "",
|
|
1203
1203
|
category: "feedback",
|
|
1204
|
-
version: "5.
|
|
1204
|
+
version: "5.1.0",
|
|
1205
1205
|
bindings: {
|
|
1206
1206
|
angular: {
|
|
1207
1207
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1286,7 +1286,7 @@ var uni_index_default = {
|
|
|
1286
1286
|
summary: "",
|
|
1287
1287
|
description: "",
|
|
1288
1288
|
category: "feedback",
|
|
1289
|
-
version: "5.
|
|
1289
|
+
version: "5.1.0",
|
|
1290
1290
|
bindings: {
|
|
1291
1291
|
angular: {
|
|
1292
1292
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1310,7 +1310,7 @@ var uni_index_default = {
|
|
|
1310
1310
|
summary: "",
|
|
1311
1311
|
description: "",
|
|
1312
1312
|
category: "layout",
|
|
1313
|
-
version: "5.
|
|
1313
|
+
version: "5.1.0",
|
|
1314
1314
|
bindings: {
|
|
1315
1315
|
angular: {
|
|
1316
1316
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1351,7 +1351,7 @@ var uni_index_default = {
|
|
|
1351
1351
|
summary: "",
|
|
1352
1352
|
description: "",
|
|
1353
1353
|
category: "directives",
|
|
1354
|
-
version: "5.
|
|
1354
|
+
version: "5.1.0",
|
|
1355
1355
|
bindings: {
|
|
1356
1356
|
angular: {
|
|
1357
1357
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1383,7 +1383,7 @@ var uni_index_default = {
|
|
|
1383
1383
|
summary: "",
|
|
1384
1384
|
description: "",
|
|
1385
1385
|
category: "components",
|
|
1386
|
-
version: "5.
|
|
1386
|
+
version: "5.1.0",
|
|
1387
1387
|
bindings: {
|
|
1388
1388
|
angular: {
|
|
1389
1389
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1472,7 +1472,7 @@ var uni_index_default = {
|
|
|
1472
1472
|
summary: "",
|
|
1473
1473
|
description: "",
|
|
1474
1474
|
category: "layout",
|
|
1475
|
-
version: "5.
|
|
1475
|
+
version: "5.1.0",
|
|
1476
1476
|
bindings: {
|
|
1477
1477
|
angular: {
|
|
1478
1478
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1505,7 +1505,7 @@ var uni_index_default = {
|
|
|
1505
1505
|
summary: "",
|
|
1506
1506
|
description: "",
|
|
1507
1507
|
category: "layout",
|
|
1508
|
-
version: "5.
|
|
1508
|
+
version: "5.1.0",
|
|
1509
1509
|
bindings: {
|
|
1510
1510
|
angular: {
|
|
1511
1511
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1560,7 +1560,7 @@ var uni_index_default = {
|
|
|
1560
1560
|
summary: "",
|
|
1561
1561
|
description: "",
|
|
1562
1562
|
category: "forms",
|
|
1563
|
-
version: "5.
|
|
1563
|
+
version: "5.1.0",
|
|
1564
1564
|
bindings: {
|
|
1565
1565
|
angular: {
|
|
1566
1566
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1600,7 +1600,7 @@ var uni_index_default = {
|
|
|
1600
1600
|
summary: "",
|
|
1601
1601
|
description: "",
|
|
1602
1602
|
category: "forms",
|
|
1603
|
-
version: "5.
|
|
1603
|
+
version: "5.1.0",
|
|
1604
1604
|
bindings: {
|
|
1605
1605
|
angular: {
|
|
1606
1606
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1717,7 +1717,7 @@ var uni_index_default = {
|
|
|
1717
1717
|
summary: "",
|
|
1718
1718
|
description: "",
|
|
1719
1719
|
category: "layout",
|
|
1720
|
-
version: "5.
|
|
1720
|
+
version: "5.1.0",
|
|
1721
1721
|
bindings: {
|
|
1722
1722
|
angular: {
|
|
1723
1723
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1785,7 +1785,7 @@ var uni_index_default = {
|
|
|
1785
1785
|
summary: "",
|
|
1786
1786
|
description: "",
|
|
1787
1787
|
category: "layout",
|
|
1788
|
-
version: "5.
|
|
1788
|
+
version: "5.1.0",
|
|
1789
1789
|
bindings: {
|
|
1790
1790
|
angular: {
|
|
1791
1791
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1817,7 +1817,7 @@ var uni_index_default = {
|
|
|
1817
1817
|
summary: "",
|
|
1818
1818
|
description: "",
|
|
1819
1819
|
category: "primitives",
|
|
1820
|
-
version: "5.
|
|
1820
|
+
version: "5.1.0",
|
|
1821
1821
|
bindings: {
|
|
1822
1822
|
angular: {
|
|
1823
1823
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1856,7 +1856,7 @@ var uni_index_default = {
|
|
|
1856
1856
|
summary: "",
|
|
1857
1857
|
description: "",
|
|
1858
1858
|
category: "primitives",
|
|
1859
|
-
version: "5.
|
|
1859
|
+
version: "5.1.0",
|
|
1860
1860
|
bindings: {
|
|
1861
1861
|
angular: {
|
|
1862
1862
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -1940,7 +1940,7 @@ var uni_index_default = {
|
|
|
1940
1940
|
summary: "",
|
|
1941
1941
|
description: "",
|
|
1942
1942
|
category: "forms",
|
|
1943
|
-
version: "5.
|
|
1943
|
+
version: "5.1.0",
|
|
1944
1944
|
bindings: {
|
|
1945
1945
|
angular: {
|
|
1946
1946
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2049,7 +2049,7 @@ var uni_index_default = {
|
|
|
2049
2049
|
summary: "",
|
|
2050
2050
|
description: "",
|
|
2051
2051
|
category: "forms",
|
|
2052
|
-
version: "5.
|
|
2052
|
+
version: "5.1.0",
|
|
2053
2053
|
bindings: {
|
|
2054
2054
|
angular: {
|
|
2055
2055
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2098,7 +2098,7 @@ var uni_index_default = {
|
|
|
2098
2098
|
summary: "",
|
|
2099
2099
|
description: "",
|
|
2100
2100
|
category: "components",
|
|
2101
|
-
version: "5.
|
|
2101
|
+
version: "5.1.0",
|
|
2102
2102
|
bindings: {
|
|
2103
2103
|
angular: {
|
|
2104
2104
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2162,7 +2162,7 @@ var uni_index_default = {
|
|
|
2162
2162
|
summary: "",
|
|
2163
2163
|
description: "",
|
|
2164
2164
|
category: "layout",
|
|
2165
|
-
version: "5.
|
|
2165
|
+
version: "5.1.0",
|
|
2166
2166
|
bindings: {
|
|
2167
2167
|
angular: {
|
|
2168
2168
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2216,7 +2216,7 @@ var uni_index_default = {
|
|
|
2216
2216
|
summary: "",
|
|
2217
2217
|
description: "",
|
|
2218
2218
|
category: "layout",
|
|
2219
|
-
version: "5.
|
|
2219
|
+
version: "5.1.0",
|
|
2220
2220
|
bindings: {
|
|
2221
2221
|
angular: {
|
|
2222
2222
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2332,7 +2332,7 @@ var uni_index_default = {
|
|
|
2332
2332
|
summary: "",
|
|
2333
2333
|
description: "",
|
|
2334
2334
|
category: "forms",
|
|
2335
|
-
version: "5.
|
|
2335
|
+
version: "5.1.0",
|
|
2336
2336
|
bindings: {
|
|
2337
2337
|
angular: {
|
|
2338
2338
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2396,7 +2396,7 @@ var uni_index_default = {
|
|
|
2396
2396
|
summary: "",
|
|
2397
2397
|
description: "",
|
|
2398
2398
|
category: "forms",
|
|
2399
|
-
version: "5.
|
|
2399
|
+
version: "5.1.0",
|
|
2400
2400
|
bindings: {
|
|
2401
2401
|
angular: {
|
|
2402
2402
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2491,7 +2491,7 @@ var uni_index_default = {
|
|
|
2491
2491
|
summary: "",
|
|
2492
2492
|
description: "",
|
|
2493
2493
|
category: "feedback",
|
|
2494
|
-
version: "5.
|
|
2494
|
+
version: "5.1.0",
|
|
2495
2495
|
bindings: {
|
|
2496
2496
|
angular: {
|
|
2497
2497
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2571,7 +2571,7 @@ var uni_index_default = {
|
|
|
2571
2571
|
summary: "",
|
|
2572
2572
|
description: "",
|
|
2573
2573
|
category: "feedback",
|
|
2574
|
-
version: "5.
|
|
2574
|
+
version: "5.1.0",
|
|
2575
2575
|
bindings: {
|
|
2576
2576
|
angular: {
|
|
2577
2577
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2595,7 +2595,7 @@ var uni_index_default = {
|
|
|
2595
2595
|
summary: "",
|
|
2596
2596
|
description: "",
|
|
2597
2597
|
category: "data",
|
|
2598
|
-
version: "5.
|
|
2598
|
+
version: "5.1.0",
|
|
2599
2599
|
bindings: {
|
|
2600
2600
|
angular: {
|
|
2601
2601
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2666,7 +2666,7 @@ var uni_index_default = {
|
|
|
2666
2666
|
summary: "",
|
|
2667
2667
|
description: "",
|
|
2668
2668
|
category: "layout",
|
|
2669
|
-
version: "5.
|
|
2669
|
+
version: "5.1.0",
|
|
2670
2670
|
bindings: {
|
|
2671
2671
|
angular: {
|
|
2672
2672
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2707,7 +2707,7 @@ var uni_index_default = {
|
|
|
2707
2707
|
summary: "",
|
|
2708
2708
|
description: "",
|
|
2709
2709
|
category: "feedback",
|
|
2710
|
-
version: "5.
|
|
2710
|
+
version: "5.1.0",
|
|
2711
2711
|
bindings: {
|
|
2712
2712
|
angular: {
|
|
2713
2713
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2763,7 +2763,7 @@ var uni_index_default = {
|
|
|
2763
2763
|
summary: "",
|
|
2764
2764
|
description: "",
|
|
2765
2765
|
category: "feedback",
|
|
2766
|
-
version: "5.
|
|
2766
|
+
version: "5.1.0",
|
|
2767
2767
|
bindings: {
|
|
2768
2768
|
angular: {
|
|
2769
2769
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2803,7 +2803,7 @@ var uni_index_default = {
|
|
|
2803
2803
|
summary: "",
|
|
2804
2804
|
description: "",
|
|
2805
2805
|
category: "forms",
|
|
2806
|
-
version: "5.
|
|
2806
|
+
version: "5.1.0",
|
|
2807
2807
|
bindings: {
|
|
2808
2808
|
angular: {
|
|
2809
2809
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2906,7 +2906,7 @@ var uni_index_default = {
|
|
|
2906
2906
|
summary: "",
|
|
2907
2907
|
description: "",
|
|
2908
2908
|
category: "directives",
|
|
2909
|
-
version: "5.
|
|
2909
|
+
version: "5.1.0",
|
|
2910
2910
|
bindings: {
|
|
2911
2911
|
angular: {
|
|
2912
2912
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2930,7 +2930,7 @@ var uni_index_default = {
|
|
|
2930
2930
|
summary: "",
|
|
2931
2931
|
description: "",
|
|
2932
2932
|
category: "layout",
|
|
2933
|
-
version: "5.
|
|
2933
|
+
version: "5.1.0",
|
|
2934
2934
|
bindings: {
|
|
2935
2935
|
angular: {
|
|
2936
2936
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -2979,7 +2979,7 @@ var uni_index_default = {
|
|
|
2979
2979
|
summary: "",
|
|
2980
2980
|
description: "",
|
|
2981
2981
|
category: "layout",
|
|
2982
|
-
version: "5.
|
|
2982
|
+
version: "5.1.0",
|
|
2983
2983
|
bindings: {
|
|
2984
2984
|
angular: {
|
|
2985
2985
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3120,7 +3120,7 @@ var uni_index_default = {
|
|
|
3120
3120
|
summary: "",
|
|
3121
3121
|
description: "",
|
|
3122
3122
|
category: "forms",
|
|
3123
|
-
version: "5.
|
|
3123
|
+
version: "5.1.0",
|
|
3124
3124
|
bindings: {
|
|
3125
3125
|
angular: {
|
|
3126
3126
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3174,7 +3174,7 @@ var uni_index_default = {
|
|
|
3174
3174
|
summary: "",
|
|
3175
3175
|
description: "",
|
|
3176
3176
|
category: "forms",
|
|
3177
|
-
version: "5.
|
|
3177
|
+
version: "5.1.0",
|
|
3178
3178
|
bindings: {
|
|
3179
3179
|
angular: {
|
|
3180
3180
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3276,7 +3276,7 @@ var uni_index_default = {
|
|
|
3276
3276
|
summary: "",
|
|
3277
3277
|
description: "",
|
|
3278
3278
|
category: "feedback",
|
|
3279
|
-
version: "5.
|
|
3279
|
+
version: "5.1.0",
|
|
3280
3280
|
bindings: {
|
|
3281
3281
|
angular: {
|
|
3282
3282
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3362,7 +3362,7 @@ var uni_index_default = {
|
|
|
3362
3362
|
summary: "",
|
|
3363
3363
|
description: "",
|
|
3364
3364
|
category: "data",
|
|
3365
|
-
version: "5.
|
|
3365
|
+
version: "5.1.0",
|
|
3366
3366
|
bindings: {
|
|
3367
3367
|
angular: {
|
|
3368
3368
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3401,7 +3401,7 @@ var uni_index_default = {
|
|
|
3401
3401
|
summary: "",
|
|
3402
3402
|
description: "",
|
|
3403
3403
|
category: "layout",
|
|
3404
|
-
version: "5.
|
|
3404
|
+
version: "5.1.0",
|
|
3405
3405
|
bindings: {
|
|
3406
3406
|
angular: {
|
|
3407
3407
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3450,7 +3450,7 @@ var uni_index_default = {
|
|
|
3450
3450
|
summary: "",
|
|
3451
3451
|
description: "",
|
|
3452
3452
|
category: "primitives",
|
|
3453
|
-
version: "5.
|
|
3453
|
+
version: "5.1.0",
|
|
3454
3454
|
bindings: {
|
|
3455
3455
|
angular: {
|
|
3456
3456
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3515,7 +3515,7 @@ var uni_index_default = {
|
|
|
3515
3515
|
summary: "",
|
|
3516
3516
|
description: "",
|
|
3517
3517
|
category: "data",
|
|
3518
|
-
version: "5.
|
|
3518
|
+
version: "5.1.0",
|
|
3519
3519
|
bindings: {
|
|
3520
3520
|
angular: {
|
|
3521
3521
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3561,7 +3561,7 @@ var uni_index_default = {
|
|
|
3561
3561
|
summary: "",
|
|
3562
3562
|
description: "",
|
|
3563
3563
|
category: "primitives",
|
|
3564
|
-
version: "5.
|
|
3564
|
+
version: "5.1.0",
|
|
3565
3565
|
bindings: {
|
|
3566
3566
|
angular: {
|
|
3567
3567
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3637,7 +3637,7 @@ var uni_index_default = {
|
|
|
3637
3637
|
summary: "",
|
|
3638
3638
|
description: "",
|
|
3639
3639
|
category: "primitives",
|
|
3640
|
-
version: "5.
|
|
3640
|
+
version: "5.1.0",
|
|
3641
3641
|
bindings: {
|
|
3642
3642
|
angular: {
|
|
3643
3643
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3661,7 +3661,7 @@ var uni_index_default = {
|
|
|
3661
3661
|
summary: "",
|
|
3662
3662
|
description: "",
|
|
3663
3663
|
category: "forms",
|
|
3664
|
-
version: "5.
|
|
3664
|
+
version: "5.1.0",
|
|
3665
3665
|
bindings: {
|
|
3666
3666
|
angular: {
|
|
3667
3667
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3750,7 +3750,7 @@ var uni_index_default = {
|
|
|
3750
3750
|
summary: "",
|
|
3751
3751
|
description: "",
|
|
3752
3752
|
category: "feedback",
|
|
3753
|
-
version: "5.
|
|
3753
|
+
version: "5.1.0",
|
|
3754
3754
|
bindings: {
|
|
3755
3755
|
angular: {
|
|
3756
3756
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -3819,7 +3819,7 @@ var uni_index_default = {
|
|
|
3819
3819
|
summary: "",
|
|
3820
3820
|
description: "",
|
|
3821
3821
|
category: "layout",
|
|
3822
|
-
version: "5.
|
|
3822
|
+
version: "5.1.0",
|
|
3823
3823
|
bindings: {
|
|
3824
3824
|
angular: {
|
|
3825
3825
|
importPath: "@uni-design-system/uni-angular",
|
|
@@ -4946,46 +4946,46 @@ var uni_index_default = {
|
|
|
4946
4946
|
},
|
|
4947
4947
|
{
|
|
4948
4948
|
id: "shadow.raised",
|
|
4949
|
-
value: "rgba(
|
|
4949
|
+
value: "rgba(23, 25, 43, 0.2) 0px 2px 1px -1px, rgba(23, 25, 43, 0.14) 0px 1px 1px 0px, rgba(23, 25, 43, 0.12) 0px 1px 3px 0px",
|
|
4950
4950
|
type: "shadow",
|
|
4951
4951
|
kind: "style",
|
|
4952
4952
|
target: "emotion-css",
|
|
4953
4953
|
themeValues: {
|
|
4954
|
-
LightTheme: "rgba(
|
|
4955
|
-
DarkTheme: "
|
|
4954
|
+
LightTheme: "rgba(23, 25, 43, 0.2) 0px 2px 1px -1px, rgba(23, 25, 43, 0.14) 0px 1px 1px 0px, rgba(23, 25, 43, 0.12) 0px 1px 3px 0px",
|
|
4955
|
+
DarkTheme: "none"
|
|
4956
4956
|
}
|
|
4957
4957
|
},
|
|
4958
4958
|
{
|
|
4959
4959
|
id: "shadow.menu",
|
|
4960
|
-
value: "rgba(
|
|
4960
|
+
value: "rgba(23, 25, 43, 0.2) 0px 3px 3px -2px, rgba(23, 25, 43, 0.14) 0px 3px 4px 0px, rgba(23, 25, 43, 0.12) 0px 1px 8px 0px",
|
|
4961
4961
|
type: "shadow",
|
|
4962
4962
|
kind: "style",
|
|
4963
4963
|
target: "emotion-css",
|
|
4964
4964
|
themeValues: {
|
|
4965
|
-
LightTheme: "rgba(
|
|
4966
|
-
DarkTheme: "
|
|
4965
|
+
LightTheme: "rgba(23, 25, 43, 0.2) 0px 3px 3px -2px, rgba(23, 25, 43, 0.14) 0px 3px 4px 0px, rgba(23, 25, 43, 0.12) 0px 1px 8px 0px",
|
|
4966
|
+
DarkTheme: "0px 4px 12px rgba(0, 0, 0, 0.45)"
|
|
4967
4967
|
}
|
|
4968
4968
|
},
|
|
4969
4969
|
{
|
|
4970
4970
|
id: "shadow.dialog",
|
|
4971
|
-
value: "rgba(
|
|
4971
|
+
value: "rgba(23, 25, 43, 0.2) 0px 3px 5px -1px, rgba(23, 25, 43, 0.14) 0px 6px 10px 0px, rgba(23, 25, 43, 0.12) 0px 1px 18px 0px",
|
|
4972
4972
|
type: "shadow",
|
|
4973
4973
|
kind: "style",
|
|
4974
4974
|
target: "emotion-css",
|
|
4975
4975
|
themeValues: {
|
|
4976
|
-
LightTheme: "rgba(
|
|
4977
|
-
DarkTheme: "
|
|
4976
|
+
LightTheme: "rgba(23, 25, 43, 0.2) 0px 3px 5px -1px, rgba(23, 25, 43, 0.14) 0px 6px 10px 0px, rgba(23, 25, 43, 0.12) 0px 1px 18px 0px",
|
|
4977
|
+
DarkTheme: "0px 8px 28px rgba(0, 0, 0, 0.55)"
|
|
4978
4978
|
}
|
|
4979
4979
|
},
|
|
4980
4980
|
{
|
|
4981
4981
|
id: "shadow.warn",
|
|
4982
|
-
value: "0 0 5px rgba(
|
|
4982
|
+
value: "0 0 5px rgba(204, 40, 39, 0.5), inset 0 0 5px rgba(204, 40, 39, 0.3)",
|
|
4983
4983
|
type: "shadow",
|
|
4984
4984
|
kind: "style",
|
|
4985
4985
|
target: "emotion-css",
|
|
4986
4986
|
themeValues: {
|
|
4987
|
-
LightTheme: "0 0 5px rgba(
|
|
4988
|
-
DarkTheme: "0 0 5px rgba(255,
|
|
4987
|
+
LightTheme: "0 0 5px rgba(204, 40, 39, 0.5), inset 0 0 5px rgba(204, 40, 39, 0.3)",
|
|
4988
|
+
DarkTheme: "0 0 5px rgba(255, 150, 138, 0.55), inset 0 0 5px rgba(255, 150, 138, 0.35)"
|
|
4989
4989
|
}
|
|
4990
4990
|
},
|
|
4991
4991
|
{
|
|
@@ -6506,10 +6506,10 @@ var uni_index_default = {
|
|
|
6506
6506
|
"border.light": "1px solid #7E8088",
|
|
6507
6507
|
"border.dark": "1px solid #202127",
|
|
6508
6508
|
"border.dotted": "1px dotted #202127",
|
|
6509
|
-
"shadow.raised": "rgba(
|
|
6510
|
-
"shadow.menu": "rgba(
|
|
6511
|
-
"shadow.dialog": "rgba(
|
|
6512
|
-
"shadow.warn": "0 0 5px rgba(
|
|
6509
|
+
"shadow.raised": "rgba(23, 25, 43, 0.2) 0px 2px 1px -1px, rgba(23, 25, 43, 0.14) 0px 1px 1px 0px, rgba(23, 25, 43, 0.12) 0px 1px 3px 0px",
|
|
6510
|
+
"shadow.menu": "rgba(23, 25, 43, 0.2) 0px 3px 3px -2px, rgba(23, 25, 43, 0.14) 0px 3px 4px 0px, rgba(23, 25, 43, 0.12) 0px 1px 8px 0px",
|
|
6511
|
+
"shadow.dialog": "rgba(23, 25, 43, 0.2) 0px 3px 5px -1px, rgba(23, 25, 43, 0.14) 0px 6px 10px 0px, rgba(23, 25, 43, 0.12) 0px 1px 18px 0px",
|
|
6512
|
+
"shadow.warn": "0 0 5px rgba(204, 40, 39, 0.5), inset 0 0 5px rgba(204, 40, 39, 0.3)",
|
|
6513
6513
|
"thickness.thin": 1,
|
|
6514
6514
|
"thickness.standard": 2,
|
|
6515
6515
|
"thickness.thick": 4,
|
|
@@ -6773,10 +6773,10 @@ var uni_index_default = {
|
|
|
6773
6773
|
"border.light": "1px solid #90929A",
|
|
6774
6774
|
"border.dark": "1px solid #E5E7F0",
|
|
6775
6775
|
"border.dotted": "1px dotted #E5E7F0",
|
|
6776
|
-
"shadow.raised": "
|
|
6777
|
-
"shadow.menu": "
|
|
6778
|
-
"shadow.dialog": "
|
|
6779
|
-
"shadow.warn": "0 0 5px rgba(255,
|
|
6776
|
+
"shadow.raised": "none",
|
|
6777
|
+
"shadow.menu": "0px 4px 12px rgba(0, 0, 0, 0.45)",
|
|
6778
|
+
"shadow.dialog": "0px 8px 28px rgba(0, 0, 0, 0.55)",
|
|
6779
|
+
"shadow.warn": "0 0 5px rgba(255, 150, 138, 0.55), inset 0 0 5px rgba(255, 150, 138, 0.35)",
|
|
6780
6780
|
"thickness.thin": 1,
|
|
6781
6781
|
"thickness.standard": 2,
|
|
6782
6782
|
"thickness.thick": 4,
|
|
@@ -7637,6 +7637,31 @@ var generateColors = (config) => {
|
|
|
7637
7637
|
};
|
|
7638
7638
|
};
|
|
7639
7639
|
var generatePalette = (config) => generateColors(config);
|
|
7640
|
+
var rgba = (hex, alpha) => {
|
|
7641
|
+
const { red, green, blue } = hexToRgb(hex);
|
|
7642
|
+
return `rgba(${red}, ${green}, ${blue}, ${alpha})`;
|
|
7643
|
+
};
|
|
7644
|
+
var generateShadows = (colors, mode = "light") => {
|
|
7645
|
+
const error = colors["error"] ?? "#CC2827";
|
|
7646
|
+
if (mode === "dark") return {
|
|
7647
|
+
raised: "none",
|
|
7648
|
+
menu: `0px 4px 12px ${rgba("#000000", 0.45)}`,
|
|
7649
|
+
dialog: `0px 8px 28px ${rgba("#000000", 0.55)}`,
|
|
7650
|
+
warn: `0 0 5px ${rgba(error, 0.55)}, inset 0 0 5px ${rgba(error, 0.35)}`
|
|
7651
|
+
};
|
|
7652
|
+
const { h } = hexToOklch(colors["primary"] ?? "#000000");
|
|
7653
|
+
const ink = oklchToHex({
|
|
7654
|
+
l: 0.22,
|
|
7655
|
+
c: 0.035,
|
|
7656
|
+
h
|
|
7657
|
+
});
|
|
7658
|
+
return {
|
|
7659
|
+
raised: `${rgba(ink, 0.2)} 0px 2px 1px -1px, ${rgba(ink, 0.14)} 0px 1px 1px 0px, ${rgba(ink, 0.12)} 0px 1px 3px 0px`,
|
|
7660
|
+
menu: `${rgba(ink, 0.2)} 0px 3px 3px -2px, ${rgba(ink, 0.14)} 0px 3px 4px 0px, ${rgba(ink, 0.12)} 0px 1px 8px 0px`,
|
|
7661
|
+
dialog: `${rgba(ink, 0.2)} 0px 3px 5px -1px, ${rgba(ink, 0.14)} 0px 6px 10px 0px, ${rgba(ink, 0.12)} 0px 1px 18px 0px`,
|
|
7662
|
+
warn: `0 0 5px ${rgba(error, 0.5)}, inset 0 0 5px ${rgba(error, 0.3)}`
|
|
7663
|
+
};
|
|
7664
|
+
};
|
|
7640
7665
|
var BaseTypography = {
|
|
7641
7666
|
"display-large": {
|
|
7642
7667
|
fontFamily: "Red Hat Display",
|
|
@@ -8306,6 +8331,8 @@ var generateThemes = (input) => {
|
|
|
8306
8331
|
lightColors: lightColors2,
|
|
8307
8332
|
darkColors: darkColors2,
|
|
8308
8333
|
radii: input.shape ? ShapeRadii[input.shape] : void 0,
|
|
8334
|
+
lightShadows: generateShadows(lightColors2, "light"),
|
|
8335
|
+
darkShadows: generateShadows(darkColors2, "dark"),
|
|
8309
8336
|
report: {
|
|
8310
8337
|
checks,
|
|
8311
8338
|
worstRatio,
|
|
@@ -8324,30 +8351,31 @@ var bordersLiteral = () => [
|
|
|
8324
8351
|
" * shared token picks up the change.",
|
|
8325
8352
|
" */",
|
|
8326
8353
|
"const borders = (colors: Colors): Borders => ({",
|
|
8327
|
-
" primary: `1px solid ${colors
|
|
8328
|
-
" secondary: `1px solid ${colors
|
|
8329
|
-
" tertiary: `1px solid ${colors
|
|
8330
|
-
" quaternary: `1px solid ${colors
|
|
8331
|
-
" warn: `1px solid ${colors
|
|
8332
|
-
" success: `1px solid ${colors
|
|
8333
|
-
" light: `1px solid ${colors
|
|
8354
|
+
" primary: `1px solid ${colors['primary']}`,",
|
|
8355
|
+
" secondary: `1px solid ${colors['secondary']}`,",
|
|
8356
|
+
" tertiary: `1px solid ${colors['tertiary']}`,",
|
|
8357
|
+
" quaternary: `1px solid ${colors['quaternary']}`,",
|
|
8358
|
+
" warn: `1px solid ${colors['warn']}`,",
|
|
8359
|
+
" success: `1px solid ${colors['success']}`,",
|
|
8360
|
+
" light: `1px solid ${colors['outline']}`,",
|
|
8334
8361
|
" dark: `1px solid ${colors['on-background']}`,",
|
|
8335
8362
|
" dotted: `1px dotted ${colors['on-background']}`,",
|
|
8336
8363
|
"});"
|
|
8337
8364
|
].join("\n");
|
|
8338
|
-
var themeExport = (exportName, displayName, colorsConst, radii) => [
|
|
8365
|
+
var themeExport = (exportName, displayName, colorsConst, shadowsConst, radii) => [
|
|
8339
8366
|
`export const ${exportName}: UniTheme = createTheme({`,
|
|
8340
8367
|
` id: '${exportName}',`,
|
|
8341
8368
|
` name: '${displayName}',`,
|
|
8342
8369
|
` colors: ${colorsConst},`,
|
|
8343
8370
|
` borders: borders(${colorsConst}),`,
|
|
8344
8371
|
` components: components(${colorsConst}),`,
|
|
8372
|
+
` shadows: ${shadowsConst},`,
|
|
8345
8373
|
...radii ? [" radii,"] : [],
|
|
8346
8374
|
"});"
|
|
8347
8375
|
].join("\n");
|
|
8348
8376
|
var emitThemeFile = (input) => {
|
|
8349
8377
|
const { darkMode = true, name = "Brand" } = input;
|
|
8350
|
-
const { lightColors: lightColors2, darkColors: darkColors2, radii, report } = generateThemes(input);
|
|
8378
|
+
const { lightColors: lightColors2, darkColors: darkColors2, radii, lightShadows, darkShadows, report } = generateThemes(input);
|
|
8351
8379
|
const id = name.replace(/\W+/g, "") || "Brand";
|
|
8352
8380
|
const regenerate = [
|
|
8353
8381
|
`--brand=${(Array.isArray(input.seed) ? input.seed : [input.seed]).join(",")}`,
|
|
@@ -8361,12 +8389,16 @@ var emitThemeFile = (input) => {
|
|
|
8361
8389
|
exportName: `${id}Light`,
|
|
8362
8390
|
displayName: `${name} Light`,
|
|
8363
8391
|
colorsConst: "lightColors",
|
|
8364
|
-
colors: lightColors2
|
|
8392
|
+
colors: lightColors2,
|
|
8393
|
+
shadowsConst: "lightShadows",
|
|
8394
|
+
shadows: lightShadows
|
|
8365
8395
|
}, ...darkMode ? [{
|
|
8366
8396
|
exportName: `${id}Dark`,
|
|
8367
8397
|
displayName: `${name} Dark`,
|
|
8368
8398
|
colorsConst: "darkColors",
|
|
8369
|
-
colors: darkColors2
|
|
8399
|
+
colors: darkColors2,
|
|
8400
|
+
shadowsConst: "darkShadows",
|
|
8401
|
+
shadows: darkShadows
|
|
8370
8402
|
}] : []];
|
|
8371
8403
|
return {
|
|
8372
8404
|
content: [
|
|
@@ -8383,19 +8415,25 @@ var emitThemeFile = (input) => {
|
|
|
8383
8415
|
" type Borders,",
|
|
8384
8416
|
" type Colors,",
|
|
8385
8417
|
" type ComponentThemes,",
|
|
8418
|
+
" type Shadows,",
|
|
8386
8419
|
" type UniTheme,",
|
|
8387
8420
|
"} from '@uni-design-system/uni-core';",
|
|
8388
8421
|
"",
|
|
8389
8422
|
...modes.map(({ colorsConst, colors }) => `const ${colorsConst}: Colors = {
|
|
8390
8423
|
${recordLiteral(colors, " ")}
|
|
8391
8424
|
};
|
|
8425
|
+
`),
|
|
8426
|
+
"/** Brand-tinted elevation shadows \u2014 theme-scoped, edit freely. */",
|
|
8427
|
+
...modes.map(({ shadowsConst, shadows }) => `const ${shadowsConst}: Shadows = {
|
|
8428
|
+
${recordLiteral(shadows, " ")}
|
|
8429
|
+
};
|
|
8392
8430
|
`),
|
|
8393
8431
|
bordersLiteral(),
|
|
8394
8432
|
"",
|
|
8395
8433
|
"/**",
|
|
8396
8434
|
" * Sparse component overrides, deep-merged over Uni component defaults: only",
|
|
8397
8435
|
" * what you write here changes. Point components at your own primitives, e.g.:",
|
|
8398
|
-
" * button: { variants: { secondary: { border: `2px dashed ${colors
|
|
8436
|
+
" * button: { variants: { secondary: { border: `2px dashed ${colors['tertiary']}` } } },",
|
|
8399
8437
|
" * input: { options: { borderRadius: 'max' } },",
|
|
8400
8438
|
" */",
|
|
8401
8439
|
"const components = (colors: Colors): ComponentThemes => ({});",
|
|
@@ -8407,7 +8445,7 @@ ${recordLiteral(radii, " ")}
|
|
|
8407
8445
|
};`,
|
|
8408
8446
|
""
|
|
8409
8447
|
] : [],
|
|
8410
|
-
...modes.map(({ exportName, displayName, colorsConst }) => `${themeExport(exportName, displayName, colorsConst, !!radii)}
|
|
8448
|
+
...modes.map(({ exportName, displayName, colorsConst, shadowsConst }) => `${themeExport(exportName, displayName, colorsConst, shadowsConst, !!radii)}
|
|
8411
8449
|
`),
|
|
8412
8450
|
"/** First key wins as the default theme when registered via UNI_THEMES. */",
|
|
8413
8451
|
`export const ${id}Themes = { ${modes.map((m) => m.exportName).join(", ")} };`,
|
|
@@ -8506,12 +8544,14 @@ var darkColors = generatePalette({
|
|
|
8506
8544
|
var DarkTheme = createTheme({
|
|
8507
8545
|
id: "DarkTheme",
|
|
8508
8546
|
name: "Dark Theme",
|
|
8509
|
-
colors: darkColors
|
|
8547
|
+
colors: darkColors,
|
|
8548
|
+
shadows: generateShadows(darkColors, "dark")
|
|
8510
8549
|
});
|
|
8511
8550
|
var LightTheme = createTheme({
|
|
8512
8551
|
id: "LightTheme",
|
|
8513
8552
|
name: "Light Theme",
|
|
8514
|
-
colors: lightColors
|
|
8553
|
+
colors: lightColors,
|
|
8554
|
+
shadows: generateShadows(lightColors, "light")
|
|
8515
8555
|
});
|
|
8516
8556
|
var UniThemes = {
|
|
8517
8557
|
LightTheme,
|
|
@@ -8563,8 +8603,9 @@ ${failing.map((f) => `- ${f.mode} \`${f.foreground}\` on \`${f.background}\`: ${
|
|
|
8563
8603
|
"- **Colors**: edit any token in the `lightColors`/`darkColors` maps; borders and every",
|
|
8564
8604
|
" component deriving from that token update automatically.",
|
|
8565
8605
|
"- **Borders**: add your own primitive under any name in `borders` (e.g.",
|
|
8566
|
-
" `'brush-stroke': `3px dashed ${colors
|
|
8567
|
-
" overrides \u2014 one edit restyles every component sharing the token.",
|
|
8606
|
+
" `'brush-stroke': `3px dashed ${colors['tertiary']}``) and reference it from `components`",
|
|
8607
|
+
" overrides \u2014 one edit restyles every component sharing the token. Use bracket access",
|
|
8608
|
+
" on `colors` \u2014 dot access fails under `noPropertyAccessFromIndexSignature`.",
|
|
8568
8609
|
"- **Components**: the `components` function returns sparse overrides deep-merged over",
|
|
8569
8610
|
" Uni defaults \u2014 set only what you change, e.g.",
|
|
8570
8611
|
" `button: { variants: { secondary: { border: borders(colors)['brush-stroke'] } } }`.",
|
|
@@ -8777,4 +8818,4 @@ export {
|
|
|
8777
8818
|
meta,
|
|
8778
8819
|
createUniServer
|
|
8779
8820
|
};
|
|
8780
|
-
//# sourceMappingURL=chunk-
|
|
8821
|
+
//# sourceMappingURL=chunk-2CKFXSMH.js.map
|