dozy 1.0.104 → 1.0.106
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/assets/reset.css +10 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/assets/reset.css
CHANGED
|
@@ -9,17 +9,19 @@
|
|
|
9
9
|
======================= */
|
|
10
10
|
@font-face {
|
|
11
11
|
font-family: 'xaiforfont';
|
|
12
|
-
src: url('https://cdn.jsdelivr.net/gh/umfe/res@main/fonts/xaiforfont.woff2')
|
|
12
|
+
src: url('https://cdn.jsdelivr.net/gh/umfe/res@main/assets/fonts/xaiforfont.woff2')
|
|
13
|
+
format('woff2');
|
|
13
14
|
font-display: swap;
|
|
14
15
|
}
|
|
15
16
|
@font-face {
|
|
16
17
|
font-family: 'xaiforcode';
|
|
17
|
-
src: url('https://cdn.jsdelivr.net/gh/umfe/res@main/fonts/xaiforcode.woff2')
|
|
18
|
+
src: url('https://cdn.jsdelivr.net/gh/umfe/res@main/assets/fonts/xaiforcode.woff2')
|
|
19
|
+
format('woff2');
|
|
18
20
|
font-display: swap;
|
|
19
21
|
}
|
|
20
22
|
@font-face {
|
|
21
23
|
font-family: 'xaifont';
|
|
22
|
-
src: url('https://cdn.jsdelivr.net/gh/umfe/res@main/fonts/xaifont.woff2') format('woff2');
|
|
24
|
+
src: url('https://cdn.jsdelivr.net/gh/umfe/res@main/assets/fonts/xaifont.woff2') format('woff2');
|
|
23
25
|
font-display: swap;
|
|
24
26
|
}
|
|
25
27
|
|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
url('your-font-file-path.woff') format('woff');
|
|
30
32
|
font-weight: normal;
|
|
31
33
|
font-style: normal;
|
|
32
|
-
}
|
|
34
|
+
}
|
|
33
35
|
*/
|
|
34
36
|
|
|
35
37
|
/* =======================
|
|
@@ -76,7 +78,7 @@
|
|
|
76
78
|
--xaifont: xaifont;
|
|
77
79
|
}
|
|
78
80
|
|
|
79
|
-
/* HTML 基础设置
|
|
81
|
+
/* HTML 基础设置
|
|
80
82
|
1. 统一行高
|
|
81
83
|
2. iOS 字体大小调整修正
|
|
82
84
|
3. 设置更易读的 Tab 宽度
|
|
@@ -379,7 +381,7 @@ img {
|
|
|
379
381
|
display: inline-block;
|
|
380
382
|
}
|
|
381
383
|
|
|
382
|
-
/* 媒体元素块级化与响应式
|
|
384
|
+
/* 媒体元素块级化与响应式
|
|
383
385
|
注意:这里的 display: block 会覆盖上面 img 的 inline-block,
|
|
384
386
|
除非有更具体的选择器。
|
|
385
387
|
*/
|
|
@@ -465,7 +467,7 @@ progress {
|
|
|
465
467
|
}
|
|
466
468
|
|
|
467
469
|
/* Placeholder (占位符) 样式
|
|
468
|
-
修复 Firefox 透明度问题,并设置颜色
|
|
470
|
+
修复 Firefox 透明度问题,并设置颜色
|
|
469
471
|
*/
|
|
470
472
|
::placeholder {
|
|
471
473
|
opacity: 1;
|
|
@@ -476,7 +478,7 @@ progress {
|
|
|
476
478
|
}
|
|
477
479
|
}
|
|
478
480
|
|
|
479
|
-
/* Webkit 表单控件特定修饰清除
|
|
481
|
+
/* Webkit 表单控件特定修饰清除
|
|
480
482
|
@media (pointer: coarse) and (hover: none) {}
|
|
481
483
|
.scrollbar::-webkit-s
|
|
482
484
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1462,6 +1462,6 @@ declare function toRgbString(input: string | Color | any): string | undefined;
|
|
|
1462
1462
|
*/
|
|
1463
1463
|
declare function toHslString(input: string | Color | any): string | undefined;
|
|
1464
1464
|
|
|
1465
|
-
declare const DOZY = "1.0.
|
|
1465
|
+
declare const DOZY = "1.0.106";
|
|
1466
1466
|
|
|
1467
1467
|
export { $Headers, $Request, $Response, $URL, $URLSearchParams, $arrayFrom, $arrayIsArray, $assign, $backgroundColor, $borderColor, $capitalize, $checkValidEmailWithUnicode, $clamp, $clearInterval, $clearTimeout, $clone, $compressImage, $compressImageBase64, $compressImageDefaultOptions, $copy, $crypto, $date, $decodeBase64ToBinary, $decodeBase64ToUnicode, $deepClone, $defineProperty, $document, $encodeUnicodeToBase64, $ensureUrl, $entries, $escapeHTML, $fallbackCopy, $fetch, $fileToBase64, $formatDate, $formatK, $formatPoints, $formatPointsWithChange, $formatWithCommas, $freeze, $genSSF, $getFileType, $getHue, $getTimeString, $hasKey, $humanizeBytes, $if, $inRange, $inRange2, $inferExtensionFormPureBase64, $inferMimeTypeFormPureBase64, $is, $isObject, $isPlainClass, $isValidEmailWithUnicode, $isValidOrBriefURL, $jsonParse, $jsonStringify, $keys, $lastIndex, $lindex, $loadOpt, $location, $log, $lplus, $magic, $math, $now, $numberIsFinite, $numberIsNaN, $oc, $open, $parseParams, $promise, $pureText, $purifyBase64, $randomByte, $replaceHolesWithUndefined, $rmvSlash, $rsValue, $rsetValue, $rvalue, $s, $sc, $setInterval, $setRange, $setTimeout, $stringFromCharCode, $stringFromCodePoint, $stringToRange, $strings, $toDataUrlFromBase64, $validName, $values, $window, type Any, type Atoa, type Coord, type Coord3, DEFAULT_XLS_MAX_ASPECT_RATIO, DOZY, type DozyConfig, type DozyConfigItem, type FileType, Gens, type Hel, type IOpt, type Items, type Null, type Nullable, RainbowGen, RepoStore, type ScaleComputer, type ScaleIniter, type ScaleResponsiveOptions, StringObfuscator, type UNumber, __GensDirectives, _res, boxShadow, dozy, enableScaler, err403, errArg, errCode, errContent, errMsg, errNotLoggedIn, errToString, getBrightness, getColorMap, isNowAroundUtcHour, isNull, isValidColor, maybeString, registerCustomColor, s, shanghaiDateFormatter, smallChance, smartParse, smartString, standardIniter, textShadow, toHexString, toHslString, toRgbString, toRgbaArray, web$enableHttpsRedirect, web$enableProdProtector, web$encodeURI, web$pathStartData, web$redirectToDomain, web$replaceHash, web$setPathTarget, xtrim };
|