nubomed-ui 2.0.228 → 2.0.232
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/css/nb-ui/index.css +1 -1
- package/fonts/demo_index.html +26 -3
- package/fonts/iconfont.css +7 -3
- package/fonts/iconfont.js +1 -1
- package/fonts/iconfont.json +7 -0
- package/fonts/iconfont.ttf +0 -0
- package/fonts/iconfont.woff +0 -0
- package/fonts/iconfont.woff2 +0 -0
- package/lang/en-US.js +1 -1
- package/lang/fr.js +1 -1
- package/lang/ja.js +1 -1
- package/lang/zh-CN.js +1 -1
- package/lang/zh-TW.js +1 -1
- package/nubomed-ui.common.js +634 -368
- package/nubomed-ui.umd.js +645 -379
- package/nubomed-ui.umd.min.js +2 -2
- package/package.json +1 -1
package/fonts/demo_index.html
CHANGED
|
@@ -54,6 +54,12 @@
|
|
|
54
54
|
<div class="content unicode" style="display: block;">
|
|
55
55
|
<ul class="icon_lists dib-box">
|
|
56
56
|
|
|
57
|
+
<li class="dib">
|
|
58
|
+
<span class="icon nubo-iconfont"></span>
|
|
59
|
+
<div class="name">语言</div>
|
|
60
|
+
<div class="code-name">&#xe778;</div>
|
|
61
|
+
</li>
|
|
62
|
+
|
|
57
63
|
<li class="dib">
|
|
58
64
|
<span class="icon nubo-iconfont"></span>
|
|
59
65
|
<div class="name">正常</div>
|
|
@@ -1308,9 +1314,9 @@
|
|
|
1308
1314
|
<pre><code class="language-css"
|
|
1309
1315
|
>@font-face {
|
|
1310
1316
|
font-family: 'nubo-iconfont';
|
|
1311
|
-
src: url('iconfont.woff2?t=
|
|
1312
|
-
url('iconfont.woff?t=
|
|
1313
|
-
url('iconfont.ttf?t=
|
|
1317
|
+
src: url('iconfont.woff2?t=1764237485215') format('woff2'),
|
|
1318
|
+
url('iconfont.woff?t=1764237485215') format('woff'),
|
|
1319
|
+
url('iconfont.ttf?t=1764237485215') format('truetype');
|
|
1314
1320
|
}
|
|
1315
1321
|
</code></pre>
|
|
1316
1322
|
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
|
|
@@ -1336,6 +1342,15 @@
|
|
|
1336
1342
|
<div class="content font-class">
|
|
1337
1343
|
<ul class="icon_lists dib-box">
|
|
1338
1344
|
|
|
1345
|
+
<li class="dib">
|
|
1346
|
+
<span class="icon nubo-iconfont icon-language"></span>
|
|
1347
|
+
<div class="name">
|
|
1348
|
+
语言
|
|
1349
|
+
</div>
|
|
1350
|
+
<div class="code-name">.icon-language
|
|
1351
|
+
</div>
|
|
1352
|
+
</li>
|
|
1353
|
+
|
|
1339
1354
|
<li class="dib">
|
|
1340
1355
|
<span class="icon nubo-iconfont icon-menu-inventory-normal"></span>
|
|
1341
1356
|
<div class="name">
|
|
@@ -3217,6 +3232,14 @@
|
|
|
3217
3232
|
<div class="content symbol">
|
|
3218
3233
|
<ul class="icon_lists dib-box">
|
|
3219
3234
|
|
|
3235
|
+
<li class="dib">
|
|
3236
|
+
<svg class="icon svg-icon" aria-hidden="true">
|
|
3237
|
+
<use xlink:href="#icon-language"></use>
|
|
3238
|
+
</svg>
|
|
3239
|
+
<div class="name">语言</div>
|
|
3240
|
+
<div class="code-name">#icon-language</div>
|
|
3241
|
+
</li>
|
|
3242
|
+
|
|
3220
3243
|
<li class="dib">
|
|
3221
3244
|
<svg class="icon svg-icon" aria-hidden="true">
|
|
3222
3245
|
<use xlink:href="#icon-menu-inventory-normal"></use>
|
package/fonts/iconfont.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "nubo-iconfont"; /* Project id 4750178 */
|
|
3
|
-
src: url('iconfont.woff2?t=
|
|
4
|
-
url('iconfont.woff?t=
|
|
5
|
-
url('iconfont.ttf?t=
|
|
3
|
+
src: url('iconfont.woff2?t=1764237485215') format('woff2'),
|
|
4
|
+
url('iconfont.woff?t=1764237485215') format('woff'),
|
|
5
|
+
url('iconfont.ttf?t=1764237485215') format('truetype');
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.nubo-iconfont {
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
-moz-osx-font-smoothing: grayscale;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.icon-language:before {
|
|
17
|
+
content: "\e778";
|
|
18
|
+
}
|
|
19
|
+
|
|
16
20
|
.icon-menu-inventory-normal:before {
|
|
17
21
|
content: "\e75d";
|
|
18
22
|
}
|