@uni-design-system/uni-angular 8.0.0 → 8.1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uni-design-system/uni-angular",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@angular/core": "^21.2.0",
|
|
23
23
|
"@angular/forms": "^21.2.0",
|
|
24
24
|
"@emotion/css": "^11.0.0",
|
|
25
|
-
"@uni-design-system/uni-core": "^8.
|
|
25
|
+
"@uni-design-system/uni-core": "^8.1.0"
|
|
26
26
|
},
|
|
27
27
|
"module": "fesm2022/uni-design-system-uni-angular.mjs",
|
|
28
28
|
"typings": "types/uni-design-system-uni-angular.d.ts",
|
|
@@ -977,12 +977,15 @@ var buildComponents = (c) => ({
|
|
|
977
977
|
} },
|
|
978
978
|
checkbox: { options: {
|
|
979
979
|
size: 20,
|
|
980
|
-
boxColor: "surface"
|
|
980
|
+
boxColor: "surface",
|
|
981
|
+
borderRadius: 2,
|
|
982
|
+
focusRingGap: 2
|
|
981
983
|
} },
|
|
982
984
|
radio: { options: {
|
|
983
985
|
size: 20,
|
|
984
986
|
ringColor: "outline",
|
|
985
|
-
fillColor: "surface"
|
|
987
|
+
fillColor: "surface",
|
|
988
|
+
transitionSpeed: .3
|
|
986
989
|
} },
|
|
987
990
|
dialog: { options: {
|
|
988
991
|
borderRadius: "lg",
|
|
@@ -1173,6 +1176,56 @@ var buildComponents = (c) => ({
|
|
|
1173
1176
|
listBorderRadius: "xs",
|
|
1174
1177
|
maxSuggestions: 8
|
|
1175
1178
|
} },
|
|
1179
|
+
calendar: {
|
|
1180
|
+
options: {
|
|
1181
|
+
dayBorderRadius: "max",
|
|
1182
|
+
typeface: "label",
|
|
1183
|
+
gap: "xxs",
|
|
1184
|
+
navPrevSymbol: "chevron_left",
|
|
1185
|
+
navNextSymbol: "chevron_right",
|
|
1186
|
+
weekdayFormat: "short",
|
|
1187
|
+
showOutsideDays: false,
|
|
1188
|
+
todayStyle: "outline"
|
|
1189
|
+
},
|
|
1190
|
+
fixed: {
|
|
1191
|
+
display: "inline-block",
|
|
1192
|
+
userSelect: "none"
|
|
1193
|
+
},
|
|
1194
|
+
sizes: {
|
|
1195
|
+
sm: {
|
|
1196
|
+
width: 28,
|
|
1197
|
+
height: 28,
|
|
1198
|
+
fontSize: 12
|
|
1199
|
+
},
|
|
1200
|
+
md: {
|
|
1201
|
+
width: 34,
|
|
1202
|
+
height: 34,
|
|
1203
|
+
fontSize: 13
|
|
1204
|
+
},
|
|
1205
|
+
lg: {
|
|
1206
|
+
width: 40,
|
|
1207
|
+
height: 40,
|
|
1208
|
+
fontSize: 15
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
dateInput: { options: {
|
|
1213
|
+
toggleSymbol: "calendar_month",
|
|
1214
|
+
popupShadow: "menu",
|
|
1215
|
+
popupBorderRadius: "xs",
|
|
1216
|
+
popupColor: "primary-surface"
|
|
1217
|
+
} },
|
|
1218
|
+
timeInput: { options: {
|
|
1219
|
+
toggleSymbol: "schedule",
|
|
1220
|
+
listColor: "primary-surface",
|
|
1221
|
+
listShadow: "menu",
|
|
1222
|
+
listBorderRadius: "xs",
|
|
1223
|
+
maxVisibleOptions: 7
|
|
1224
|
+
} },
|
|
1225
|
+
dateTimeInput: { options: {
|
|
1226
|
+
partGap: "sm",
|
|
1227
|
+
dividerColor: "outline"
|
|
1228
|
+
} },
|
|
1176
1229
|
button: {
|
|
1177
1230
|
options: {
|
|
1178
1231
|
borderRadius: "max",
|
|
@@ -1483,7 +1536,7 @@ var deepMerge = (base, override) => {
|
|
|
1483
1536
|
for (const [key, value] of Object.entries(override)) out[key] = isRecord$1(value) && isRecord$1(out[key]) ? deepMerge(out[key], value) : value;
|
|
1484
1537
|
return out;
|
|
1485
1538
|
};
|
|
1486
|
-
var createTheme = ({ id, name, colors, icons = {}, radii = BaseRadii, shadows = BaseShadows, borders, components }) => ({
|
|
1539
|
+
var createTheme = ({ id, name, colors, icons = {}, radii = BaseRadii, shadows = BaseShadows, borders, thicknesses, components }) => ({
|
|
1487
1540
|
id,
|
|
1488
1541
|
name,
|
|
1489
1542
|
colors,
|
|
@@ -1492,7 +1545,10 @@ var createTheme = ({ id, name, colors, icons = {}, radii = BaseRadii, shadows =
|
|
|
1492
1545
|
radii,
|
|
1493
1546
|
shadows,
|
|
1494
1547
|
spacing: BaseSpacing,
|
|
1495
|
-
thicknesses:
|
|
1548
|
+
thicknesses: {
|
|
1549
|
+
...BaseThicknesses,
|
|
1550
|
+
...thicknesses
|
|
1551
|
+
},
|
|
1496
1552
|
icons: {
|
|
1497
1553
|
...BaseIcons,
|
|
1498
1554
|
...icons
|
|
@@ -1868,7 +1924,7 @@ var UniThemes = {
|
|
|
1868
1924
|
Object.keys(UniThemes)[0];
|
|
1869
1925
|
//#endregion
|
|
1870
1926
|
//#region package.json
|
|
1871
|
-
var version = "8.
|
|
1927
|
+
var version = "8.1.0";
|
|
1872
1928
|
//#endregion
|
|
1873
1929
|
//#region schematics-src/ng-add/transforms.ts
|
|
1874
1930
|
var addDependencies = (packageJsonText, deps) => {
|