@tdesign/site-components 0.18.0-alpha.7 → 0.18.0-alpha.8
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/README.md +0 -0
- package/lib/font/tencent-w7.ttf +0 -0
- package/lib/images/add.svg +0 -0
- package/lib/images/backtop.svg +0 -0
- package/lib/images/bulletpoint.svg +0 -0
- package/lib/images/check.svg +0 -0
- package/lib/images/chevron-right.svg +0 -0
- package/lib/images/close.svg +0 -0
- package/lib/images/cloud-logo.svg +0 -0
- package/lib/images/code.svg +0 -0
- package/lib/images/codesign-logo.svg +0 -0
- package/lib/images/copy.svg +0 -0
- package/lib/images/fake-arrow.svg +0 -0
- package/lib/images/git.svg +0 -0
- package/lib/images/info.svg +0 -0
- package/lib/images/link.svg +0 -0
- package/lib/images/logo.svg +0 -0
- package/lib/images/menu-application.svg +0 -0
- package/lib/images/menu-fold.svg +0 -0
- package/lib/images/menu-unfold.svg +0 -0
- package/lib/images/mobile.svg +0 -0
- package/lib/images/moon.svg +0 -0
- package/lib/images/more.svg +0 -0
- package/lib/images/prowork-logo.svg +0 -0
- package/lib/images/qrcode.svg +0 -0
- package/lib/images/search.svg +0 -0
- package/lib/images/sun.svg +0 -0
- package/lib/images/tdesign-logo.svg +0 -0
- package/lib/images/tencentcloud-logo.svg +0 -0
- package/lib/images/tuxiaocao-logo.svg +0 -0
- package/lib/images/tvision-logo.svg +0 -0
- package/lib/images/wenjuan-logo.svg +0 -0
- package/lib/site-components.css +1 -1
- package/lib/site.es.js +590 -569
- package/lib/site.umd.js +177 -178
- package/lib/styles/prism-theme-dark.less +0 -0
- package/lib/styles/prism-theme.less +0 -0
- package/lib/styles/style.css +9 -10
- package/package.json +8 -8
|
File without changes
|
|
File without changes
|
package/lib/styles/style.css
CHANGED
|
@@ -444,6 +444,8 @@ div[name="DOC"] *:not(pre) > code,
|
|
|
444
444
|
div[name="DEMO"] *:not(pre) > code,
|
|
445
445
|
div[name="API"] *:not(pre) > code,
|
|
446
446
|
div[name="DESIGN"] *:not(pre) > code {
|
|
447
|
+
position: relative;
|
|
448
|
+
top: -2.5px;
|
|
447
449
|
margin: 0 2px;
|
|
448
450
|
color: var(--error-8);
|
|
449
451
|
background: var(--error-1);
|
|
@@ -586,8 +588,6 @@ div[name="DESIGN"] > h2 {
|
|
|
586
588
|
font-size: 28px;
|
|
587
589
|
line-height: 36px;
|
|
588
590
|
margin: 64px 0 24px;
|
|
589
|
-
display: flex;
|
|
590
|
-
align-items: center;
|
|
591
591
|
}
|
|
592
592
|
div[name="DOC"] > h2 .tdesign-header-anchor,
|
|
593
593
|
div[name="DEMO"] > h2 .tdesign-header-anchor,
|
|
@@ -598,12 +598,13 @@ div[name="DEMO"] > h2 .header-anchor,
|
|
|
598
598
|
div[name="API"] > h2 .header-anchor,
|
|
599
599
|
div[name="DESIGN"] > h2 .header-anchor {
|
|
600
600
|
width: 32px;
|
|
601
|
-
height:
|
|
601
|
+
height: 28px;
|
|
602
602
|
background-image: url(../images/link.svg);
|
|
603
603
|
background-repeat: no-repeat;
|
|
604
604
|
background-size: 100% auto;
|
|
605
605
|
margin-left: 8px;
|
|
606
606
|
font-size: 0;
|
|
607
|
+
display: inline-block;
|
|
607
608
|
}
|
|
608
609
|
div[name="DOC"] > h2:hover a,
|
|
609
610
|
div[name="DEMO"] > h2:hover a,
|
|
@@ -619,7 +620,6 @@ div[name="DESIGN"] > h3 {
|
|
|
619
620
|
font-size: 20px;
|
|
620
621
|
line-height: 28px;
|
|
621
622
|
margin: 48px 0 8px;
|
|
622
|
-
align-items: center;
|
|
623
623
|
white-space: pre-wrap;
|
|
624
624
|
}
|
|
625
625
|
div[name="DOC"] > h3 .tdesign-header-anchor,
|
|
@@ -631,12 +631,13 @@ div[name="DEMO"] > h3 .header-anchor,
|
|
|
631
631
|
div[name="API"] > h3 .header-anchor,
|
|
632
632
|
div[name="DESIGN"] > h3 .header-anchor {
|
|
633
633
|
width: 24px;
|
|
634
|
-
height:
|
|
634
|
+
height: 20px;
|
|
635
635
|
background-image: url(../images/link.svg);
|
|
636
636
|
background-repeat: no-repeat;
|
|
637
637
|
background-size: 100% auto;
|
|
638
638
|
margin-left: 8px;
|
|
639
639
|
font-size: 0;
|
|
640
|
+
display: inline-block;
|
|
640
641
|
}
|
|
641
642
|
div[name="DOC"] > h3:hover a,
|
|
642
643
|
div[name="DEMO"] > h3:hover a,
|
|
@@ -652,8 +653,6 @@ div[name="DESIGN"] > h4 {
|
|
|
652
653
|
line-height: 24px;
|
|
653
654
|
margin: 32px 0 8px;
|
|
654
655
|
font-weight: bold;
|
|
655
|
-
display: flex;
|
|
656
|
-
align-items: center;
|
|
657
656
|
}
|
|
658
657
|
div[name="DOC"] > h4 .tdesign-header-anchor,
|
|
659
658
|
div[name="DEMO"] > h4 .tdesign-header-anchor,
|
|
@@ -664,12 +663,13 @@ div[name="DEMO"] > h4 .header-anchor,
|
|
|
664
663
|
div[name="API"] > h4 .header-anchor,
|
|
665
664
|
div[name="DESIGN"] > h4 .header-anchor {
|
|
666
665
|
width: 20px;
|
|
667
|
-
height:
|
|
666
|
+
height: 16px;
|
|
668
667
|
background-image: url(../images/link.svg);
|
|
669
668
|
background-repeat: no-repeat;
|
|
670
669
|
background-size: 100% auto;
|
|
671
670
|
margin-left: 8px;
|
|
672
671
|
font-size: 0;
|
|
672
|
+
display: inline-block;
|
|
673
673
|
}
|
|
674
674
|
div[name="DOC"] > h4:hover a,
|
|
675
675
|
div[name="DEMO"] > h4:hover a,
|
|
@@ -726,8 +726,7 @@ div[name="DESIGN"] .header-anchor {
|
|
|
726
726
|
.tdesign-toc_container {
|
|
727
727
|
width: 240px;
|
|
728
728
|
padding-right: 10px;
|
|
729
|
-
max-height:
|
|
730
|
-
max-height: min(calc(100vh - 550px), 480px);
|
|
729
|
+
max-height: calc(100vh - 214px);
|
|
731
730
|
overflow: hidden auto;
|
|
732
731
|
position: absolute;
|
|
733
732
|
right: 24px;
|
package/package.json
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tdesign/site-components",
|
|
3
|
-
"version": "0.18.0-alpha.
|
|
3
|
+
"version": "0.18.0-alpha.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/site.es.js",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"dev": "vite",
|
|
9
|
-
"watch": "vite build --watch",
|
|
10
|
-
"build": "vite build --debug",
|
|
11
|
-
"test": "jest --coverage"
|
|
12
|
-
},
|
|
13
7
|
"publishConfig": {
|
|
14
8
|
"access": "public",
|
|
15
9
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,5 +36,11 @@
|
|
|
42
36
|
"prismjs": "^1.29.0",
|
|
43
37
|
"qrcode": "^1.5.1",
|
|
44
38
|
"tdesign-icons-svg": "0.0.1"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"dev": "vite",
|
|
42
|
+
"watch": "vite build --watch",
|
|
43
|
+
"build": "vite build --debug",
|
|
44
|
+
"test": "jest --coverage"
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
}
|