zartd 0.0.30 → 0.0.31

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.
Files changed (153) hide show
  1. package/README.md +3 -3
  2. package/dist/index.js +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/es/a-avatar/style/index.js +2 -2
  6. package/es/a-avatar/style/index.less +3 -3
  7. package/es/a-badge/style/index.js +2 -2
  8. package/es/a-badge/style/index.less +35 -35
  9. package/es/a-button/style/index.js +2 -2
  10. package/es/a-button/style/index.less +275 -275
  11. package/es/a-carousel/style/index.js +2 -2
  12. package/es/a-carousel/style/index.less +11 -11
  13. package/es/a-cascader/style/index.js +2 -2
  14. package/es/a-cascader/style/index.less +47 -47
  15. package/es/a-checkbox/style/index.js +2 -2
  16. package/es/a-checkbox/style/index.less +65 -65
  17. package/es/a-collapse/style/index.js +2 -2
  18. package/es/a-collapse/style/index.less +47 -47
  19. package/es/a-date-picker/style/index.js +2 -2
  20. package/es/a-date-picker/style/index.less +118 -118
  21. package/es/a-description/style/index.js +2 -2
  22. package/es/a-description/style/index.less +45 -45
  23. package/es/a-dropdown/style/index.js +2 -2
  24. package/es/a-dropdown/style/index.less +72 -72
  25. package/es/a-empty/style/index.js +2 -2
  26. package/es/a-empty/style/index.less +60 -60
  27. package/es/a-form/style/index.js +2 -2
  28. package/es/a-form/style/index.less +47 -47
  29. package/es/a-input/style/index.js +2 -2
  30. package/es/a-input/style/index.less +105 -105
  31. package/es/a-input-number/style/index.js +2 -2
  32. package/es/a-input-number/style/index.less +12 -12
  33. package/es/a-menu/style/index.js +2 -2
  34. package/es/a-menu/style/index.less +117 -117
  35. package/es/a-pageheader/style/index.js +2 -2
  36. package/es/a-pageheader/style/index.less +35 -35
  37. package/es/a-pagination/style/index.js +2 -2
  38. package/es/a-pagination/style/index.less +146 -146
  39. package/es/a-radio/style/index.js +2 -2
  40. package/es/a-radio/style/index.less +65 -65
  41. package/es/a-select/style/index.js +2 -2
  42. package/es/a-select/style/index.less +88 -88
  43. package/es/a-select-tree/style/index.js +2 -2
  44. package/es/a-select-tree/style/index.less +16 -16
  45. package/es/a-spin/style/index.js +2 -2
  46. package/es/a-spin/style/index.less +3 -3
  47. package/es/a-steps/style/index.js +2 -2
  48. package/es/a-steps/style/index.less +179 -179
  49. package/es/a-switch/style/index.js +2 -2
  50. package/es/a-switch/style/index.less +32 -32
  51. package/es/a-table/style/index.js +2 -2
  52. package/es/a-table/style/index.less +49 -49
  53. package/es/a-tabs/style/index.js +2 -2
  54. package/es/a-tabs/style/index.less +160 -160
  55. package/es/a-tooltip/style/index.js +2 -2
  56. package/es/a-tooltip/style/index.less +13 -13
  57. package/es/a-transfer/style/index.js +2 -2
  58. package/es/a-transfer/style/index.less +77 -77
  59. package/es/a-tree/style/index.js +2 -2
  60. package/es/a-tree/style/index.less +100 -100
  61. package/es/a-upload/style/index.js +2 -2
  62. package/es/a-upload/style/index.less +180 -180
  63. package/es/style/color.less +85 -85
  64. package/es/style/core.less +2 -2
  65. package/es/style/fonts/harmonyos-sans/index.css +41 -41
  66. package/es/style/fonts/iconfont/zartd/iconfont.css +891 -891
  67. package/es/style/fonts/iconfont/zartd-color/iconfont.css +44 -44
  68. package/es/style/fonts/iconfont/zartd-nav/iconfont.css +1375 -1375
  69. package/es/style/fonts/index.less +11 -11
  70. package/es/style/fonts/source-han-sans/index.css +5 -5
  71. package/es/style/global.less +33 -33
  72. package/es/style/index.js +1 -1
  73. package/es/style/index.less +42 -42
  74. package/es/style/themes/dark.less +7 -7
  75. package/es/style/themes/gov.less +6 -6
  76. package/es/style/themes/index.less +129 -129
  77. package/es/style/themes/light.less +33 -33
  78. package/es/style/variable.less +283 -283
  79. package/lib/a-avatar/style/index.js +2 -2
  80. package/lib/a-avatar/style/index.less +3 -3
  81. package/lib/a-badge/style/index.js +2 -2
  82. package/lib/a-badge/style/index.less +35 -35
  83. package/lib/a-button/style/index.js +2 -2
  84. package/lib/a-button/style/index.less +275 -275
  85. package/lib/a-carousel/style/index.js +2 -2
  86. package/lib/a-carousel/style/index.less +11 -11
  87. package/lib/a-cascader/style/index.js +2 -2
  88. package/lib/a-cascader/style/index.less +47 -47
  89. package/lib/a-checkbox/style/index.js +2 -2
  90. package/lib/a-checkbox/style/index.less +65 -65
  91. package/lib/a-collapse/style/index.js +2 -2
  92. package/lib/a-collapse/style/index.less +47 -47
  93. package/lib/a-date-picker/style/index.js +2 -2
  94. package/lib/a-date-picker/style/index.less +118 -118
  95. package/lib/a-description/style/index.js +2 -2
  96. package/lib/a-description/style/index.less +45 -45
  97. package/lib/a-dropdown/style/index.js +2 -2
  98. package/lib/a-dropdown/style/index.less +72 -72
  99. package/lib/a-empty/style/index.js +2 -2
  100. package/lib/a-empty/style/index.less +60 -60
  101. package/lib/a-form/style/index.js +2 -2
  102. package/lib/a-form/style/index.less +47 -47
  103. package/lib/a-input/style/index.js +2 -2
  104. package/lib/a-input/style/index.less +105 -105
  105. package/lib/a-input-number/style/index.js +2 -2
  106. package/lib/a-input-number/style/index.less +12 -12
  107. package/lib/a-menu/style/index.js +2 -2
  108. package/lib/a-menu/style/index.less +117 -117
  109. package/lib/a-pageheader/style/index.js +2 -2
  110. package/lib/a-pageheader/style/index.less +35 -35
  111. package/lib/a-pagination/style/index.js +2 -2
  112. package/lib/a-pagination/style/index.less +146 -146
  113. package/lib/a-radio/style/index.js +2 -2
  114. package/lib/a-radio/style/index.less +65 -65
  115. package/lib/a-select/style/index.js +2 -2
  116. package/lib/a-select/style/index.less +88 -88
  117. package/lib/a-select-tree/style/index.js +2 -2
  118. package/lib/a-select-tree/style/index.less +16 -16
  119. package/lib/a-spin/style/index.js +2 -2
  120. package/lib/a-spin/style/index.less +3 -3
  121. package/lib/a-steps/style/index.js +2 -2
  122. package/lib/a-steps/style/index.less +179 -179
  123. package/lib/a-switch/style/index.js +2 -2
  124. package/lib/a-switch/style/index.less +32 -32
  125. package/lib/a-table/style/index.js +2 -2
  126. package/lib/a-table/style/index.less +49 -49
  127. package/lib/a-tabs/style/index.js +2 -2
  128. package/lib/a-tabs/style/index.less +160 -160
  129. package/lib/a-tooltip/style/index.js +2 -2
  130. package/lib/a-tooltip/style/index.less +13 -13
  131. package/lib/a-transfer/style/index.js +2 -2
  132. package/lib/a-transfer/style/index.less +77 -77
  133. package/lib/a-tree/style/index.js +2 -2
  134. package/lib/a-tree/style/index.less +100 -100
  135. package/lib/a-upload/style/index.js +2 -2
  136. package/lib/a-upload/style/index.less +180 -180
  137. package/lib/style/color.less +85 -85
  138. package/lib/style/core.less +2 -2
  139. package/lib/style/fonts/harmonyos-sans/index.css +41 -41
  140. package/lib/style/fonts/iconfont/zartd/iconfont.css +891 -891
  141. package/lib/style/fonts/iconfont/zartd-color/iconfont.css +44 -44
  142. package/lib/style/fonts/iconfont/zartd-nav/iconfont.css +1375 -1375
  143. package/lib/style/fonts/index.less +11 -11
  144. package/lib/style/fonts/source-han-sans/index.css +5 -5
  145. package/lib/style/global.less +33 -33
  146. package/lib/style/index.js +1 -1
  147. package/lib/style/index.less +42 -42
  148. package/lib/style/themes/dark.less +7 -7
  149. package/lib/style/themes/gov.less +6 -6
  150. package/lib/style/themes/index.less +129 -129
  151. package/lib/style/themes/light.less +33 -33
  152. package/lib/style/variable.less +283 -283
  153. package/package.json +1 -1
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # ZartUI Web
2
-
3
- ZartUI Web
1
+ # ZartUI Web
2
+
3
+ ZartUI Web
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! zartd v0.0.30 */
1
+ /*! zartd v0.0.31 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
package/dist/index.min.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! zartd v0.0.30 */
1
+ /*! zartd v0.0.31 */
2
2
  !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).zartd={})}(this,(function(e){"use strict";const o=[],n=e=>{var n;for(const n of o)n.install&&e.use(n);let t="-apple-system, 'BlinkMacSystemFont', 'Helvetica Neue', 'Roboto', 'Segoe UI', 'Tahoma', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Source Han Sans', 'Noto Sans CJK', 'Microsoft YaHei', sans-serif, 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";return("1"===(null==(n=window.commonSetting)?void 0:n.APP_LOW_PERFORMANCE_MODE)||window.location.href.includes("lowPerformanceMode=on"))&&(t=t.replace("'Source Han Sans', ","")),document.documentElement.style.setProperty("--zartd-font-family",t),e};var t={install:n};e.default=t,e.install=n,Object.defineProperty(e,"__esModule",{value:!0})}));
3
3
  //# sourceMappingURL=index.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.min.js","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst components: any[] = [];\n\n// install\nexport const install = (app: App) => {\n for (const component of components) {\n if (component.install) {\n app.use(component);\n }\n }\n\n // 设置系统字体\n let fontFamily = `-apple-system, 'BlinkMacSystemFont', 'Helvetica Neue', 'Roboto', 'Segoe UI', 'Tahoma', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Source Han Sans', 'Noto Sans CJK', 'Microsoft YaHei', sans-serif, 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'`;\n if (window.commonSetting?.APP_LOW_PERFORMANCE_MODE === '1' || window.location.href.includes('lowPerformanceMode=on')) {\n // 若开启低性能模式,则不加载思源黑体\n fontFamily = fontFamily.replace(`'Source Han Sans', `, '');\n }\n document.documentElement.style.setProperty('--zartd-font-family', fontFamily);\n\n return app;\n};\n\nexport default { install };\n"],"names":["components","install","app","_a","component","use","fontFamily","window","commonSetting","APP_LOW_PERFORMANCE_MODE","location","href","includes","replace","document","documentElement","style","setProperty","index"],"mappings":";6OAGA,MAAMA,EAAoB,GAGbC,EAAWC,IANxB,IAAAC,EAOI,IAAA,MAAWC,KAAaJ,EAChBI,EAAUH,SACVC,EAAIG,IAAID,GAKhB,IAAIE,EAAa,4SAOV,OANgD,OAAnD,OAAAH,EAAAI,OAAOC,oBAAP,EAAAL,EAAsBM,2BAAoCF,OAAOG,SAASC,KAAKC,SAAS,4BAE3EN,EAAAA,EAAWO,QAAQ,sBAAuB,KAE3DC,SAASC,gBAAgBC,MAAMC,YAAY,sBAAuBX,GAE3DJ,CAAA,EAGI,IAAAgB,EAAA,CAAEjB"}
1
+ {"version":3,"file":"index.min.js","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue';\r\n\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nconst components: any[] = [];\r\n\r\n// install\r\nexport const install = (app: App) => {\r\n for (const component of components) {\r\n if (component.install) {\r\n app.use(component);\r\n }\r\n }\r\n\r\n // 设置系统字体\r\n let fontFamily = `-apple-system, 'BlinkMacSystemFont', 'Helvetica Neue', 'Roboto', 'Segoe UI', 'Tahoma', 'Arial', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Source Han Sans', 'Noto Sans CJK', 'Microsoft YaHei', sans-serif, 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'`;\r\n if (window.commonSetting?.APP_LOW_PERFORMANCE_MODE === '1' || window.location.href.includes('lowPerformanceMode=on')) {\r\n // 若开启低性能模式,则不加载思源黑体\r\n fontFamily = fontFamily.replace(`'Source Han Sans', `, '');\r\n }\r\n document.documentElement.style.setProperty('--zartd-font-family', fontFamily);\r\n\r\n return app;\r\n};\r\n\r\nexport default { install };\r\n"],"names":["components","install","app","_a","component","use","fontFamily","window","commonSetting","APP_LOW_PERFORMANCE_MODE","location","href","includes","replace","document","documentElement","style","setProperty","index"],"mappings":";6OAGA,MAAMA,EAAoB,GAGbC,EAAWC,IANxB,IAAAC,EAOI,IAAA,MAAWC,KAAaJ,EAChBI,EAAUH,SACVC,EAAIG,IAAID,GAKhB,IAAIE,EAAa,4SAOV,OANgD,OAAnD,OAAAH,EAAAI,OAAOC,oBAAP,EAAAL,EAAsBM,2BAAoCF,OAAOG,SAASC,KAAKC,SAAS,4BAE3EN,EAAAA,EAAWO,QAAQ,sBAAuB,KAE3DC,SAASC,gBAAgBC,MAAMC,YAAY,sBAAuBX,GAE3DJ,CAAA,EAGI,IAAAgB,EAAA,CAAEjB"}
@@ -1,2 +1,2 @@
1
- import '../../style/core.less';
2
- import './index.less';
1
+ import '../../style/core.less';
2
+ import './index.less';
@@ -1,3 +1,3 @@
1
- .ant-avatar-lg {
2
- font-size: 18px !important;
3
- }
1
+ .ant-avatar-lg {
2
+ font-size: 18px !important;
3
+ }
@@ -1,2 +1,2 @@
1
- import '../../style/core.less';
2
- import './index.less';
1
+ import '../../style/core.less';
2
+ import './index.less';
@@ -1,35 +1,35 @@
1
- .ant-badge {
2
- .ant-badge-count {
3
- min-width: 24px;
4
- height: 17px;
5
- line-height: 17px;
6
- border-radius: 8.5px;
7
-
8
- > span {
9
- height: inherit;
10
-
11
- > p {
12
- height: inherit;
13
- line-height: 17px;
14
- }
15
- }
16
- }
17
-
18
- .ant-avatar-circle + .anticon {
19
- font-size: 16px;
20
- transform: translate(25%, -25%);
21
- }
22
-
23
- .ant-avatar-circle + .ant-badge-dot {
24
- top: 4px;
25
- right: 4px;
26
- min-width: 12px;
27
- min-height: 12px;
28
- }
29
-
30
- .ant-avatar-square + .ant-badge-dot {
31
- width: 12px;
32
- min-width: 12px;
33
- height: 12px;
34
- }
35
- }
1
+ .ant-badge {
2
+ .ant-badge-count {
3
+ min-width: 24px;
4
+ height: 17px;
5
+ line-height: 17px;
6
+ border-radius: 8.5px;
7
+
8
+ > span {
9
+ height: inherit;
10
+
11
+ > p {
12
+ height: inherit;
13
+ line-height: 17px;
14
+ }
15
+ }
16
+ }
17
+
18
+ .ant-avatar-circle + .anticon {
19
+ font-size: 16px;
20
+ transform: translate(25%, -25%);
21
+ }
22
+
23
+ .ant-avatar-circle + .ant-badge-dot {
24
+ top: 4px;
25
+ right: 4px;
26
+ min-width: 12px;
27
+ min-height: 12px;
28
+ }
29
+
30
+ .ant-avatar-square + .ant-badge-dot {
31
+ width: 12px;
32
+ min-width: 12px;
33
+ height: 12px;
34
+ }
35
+ }
@@ -1,2 +1,2 @@
1
- import '../../style/core.less';
2
- import './index.less';
1
+ import '../../style/core.less';
2
+ import './index.less';