dozy 1.0.115 → 1.0.117
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 +9 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/assets/reset.css
CHANGED
|
@@ -90,10 +90,12 @@ html {
|
|
|
90
90
|
overflow-y: hidden; /* 防止 HTML 层滚动,通常由 Body 处理 */
|
|
91
91
|
|
|
92
92
|
line-height: 1.5; /* 1 */
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
-
|
|
96
|
-
text-size-adjust:
|
|
93
|
+
/* 项目使用固定设计宽度 + transform scale 自行缩放,必须彻底关闭浏览器文字膨胀,
|
|
94
|
+
否则手机/平板 WebView 的 text autosizing 会导致同样 16px 文本换行结果不一致 */
|
|
95
|
+
-webkit-text-size-adjust: none !important;
|
|
96
|
+
-moz-text-size-adjust: none !important;
|
|
97
|
+
-ms-text-size-adjust: none !important;
|
|
98
|
+
text-size-adjust: none !important;
|
|
97
99
|
tab-size: 4; /* 3 */
|
|
98
100
|
|
|
99
101
|
/* 字体栈 */
|
|
@@ -286,7 +288,9 @@ a {
|
|
|
286
288
|
color: inherit;
|
|
287
289
|
text-decoration: none; /* 移除下划线 */
|
|
288
290
|
-webkit-text-decoration: inherit;
|
|
289
|
-
border: 0
|
|
291
|
+
/* 用 border-width: 0 代替 border: 0 简写:简写会把 border-color 重置为 currentColor,
|
|
292
|
+
导致依赖 `* { border-color: 主题色 }` 的项目里 <a> 边框意外变成文字色 */
|
|
293
|
+
border-width: 0;
|
|
290
294
|
user-select: text;
|
|
291
295
|
cursor: pointer;
|
|
292
296
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1519,6 +1519,6 @@ declare function toRgbString(input: string | Color | any): string | undefined;
|
|
|
1519
1519
|
*/
|
|
1520
1520
|
declare function toHslString(input: string | Color | any): string | undefined;
|
|
1521
1521
|
|
|
1522
|
-
declare const DOZY = "1.0.
|
|
1522
|
+
declare const DOZY = "1.0.117";
|
|
1523
1523
|
|
|
1524
1524
|
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, $escapeXML, $fallbackCopy, $fetch, $fileToBase64, $format, $formatDate, $formatK, $formatPoints, $formatPointsWithChange, $formatWithChange, $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_BASE_MULTIPLIER, DEFAULT_XLS_MAX_ASPECT_RATIO, DEFAULT_XLS_MAX_ASPECT_RATIO_FACTOR, 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 };
|