@tdesign/site-components 0.0.1 → 0.17.1
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/LICENSE +1 -1
- package/README.md +45 -0
- package/lib/favicon.ico +0 -0
- package/lib/font/TCloudNumber.ttf +0 -0
- package/lib/font/tencent-w7.ttf +0 -0
- package/lib/images/add.svg +3 -0
- package/lib/images/angular-logo.svg +7 -0
- package/lib/images/backtop.svg +4 -0
- package/lib/images/bulletpoint.svg +8 -0
- package/lib/images/check.svg +3 -0
- package/lib/images/chevron-right.svg +3 -0
- package/lib/images/close.svg +5 -0
- package/lib/images/cloud-logo.svg +14 -0
- package/lib/images/code.svg +5 -0
- package/lib/images/codesign-logo.svg +20 -0
- package/lib/images/committee-logo.svg +104 -0
- package/lib/images/copy.svg +4 -0
- package/lib/images/fake-arrow.svg +3 -0
- package/lib/images/flutter-logo.svg +3 -0
- package/lib/images/git.svg +18 -0
- package/lib/images/github.svg +5 -0
- package/lib/images/groups/design-group.png +0 -0
- package/lib/images/groups/design-logo.svg +32 -0
- package/lib/images/groups/flutter-group.png +0 -0
- package/lib/images/groups/flutter-logo.svg +5 -0
- package/lib/images/groups/react-group.png +0 -0
- package/lib/images/groups/react-logo.svg +5 -0
- package/lib/images/groups/vue-logo.svg +6 -0
- package/lib/images/groups/vue2-group.png +0 -0
- package/lib/images/groups/vue3-group.png +0 -0
- package/lib/images/groups/wx-group.png +0 -0
- package/lib/images/groups/wx-logo.svg +10 -0
- package/lib/images/history.svg +6 -0
- package/lib/images/info.svg +5 -0
- package/lib/images/jump.svg +3 -0
- package/lib/images/link.svg +5 -0
- package/lib/images/logo.svg +59 -0
- package/lib/images/menu-application.svg +11 -0
- package/lib/images/menu-fold.svg +6 -0
- package/lib/images/menu-unfold.svg +6 -0
- package/lib/images/mobile.svg +4 -0
- package/lib/images/moon.svg +3 -0
- package/lib/images/more.svg +3 -0
- package/lib/images/prowork-logo.svg +22 -0
- package/lib/images/qq-logo.svg +3 -0
- package/lib/images/qrcode.svg +11 -0
- package/lib/images/react-logo.svg +3 -0
- package/lib/images/search.svg +3 -0
- package/lib/images/sun.svg +11 -0
- package/lib/images/taro-logo.png +0 -0
- package/lib/images/tdesign-logo.svg +24 -0
- package/lib/images/tdesign-qrcode.svg +60 -0
- package/lib/images/tencentcloud-logo.svg +32 -0
- package/lib/images/tips.svg +4 -0
- package/lib/images/translate.svg +3 -0
- package/lib/images/tuxiaocao-logo.svg +17 -0
- package/lib/images/tvision-logo.svg +18 -0
- package/lib/images/vue-logo.svg +4 -0
- package/lib/images/wenjuan-logo.svg +5 -0
- package/lib/images/wx-logo.svg +8 -0
- package/lib/site-components.css +1 -0
- package/lib/site.es.js +12719 -0
- package/lib/site.umd.js +1148 -0
- package/lib/styles/prism-theme-dark.less +191 -0
- package/lib/styles/prism-theme.less +188 -0
- package/lib/styles/style.css +986 -0
- package/package.json +40 -9
- package/index.js +0 -1
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
:root[theme-mode="dark"] {
|
|
2
|
+
|
|
3
|
+
code[class*="language-"],
|
|
4
|
+
pre[class*="language-"] {
|
|
5
|
+
text-align: left;
|
|
6
|
+
white-space: pre;
|
|
7
|
+
word-spacing: normal;
|
|
8
|
+
word-break: normal;
|
|
9
|
+
word-wrap: normal;
|
|
10
|
+
font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
|
|
11
|
+
font-size: 1em;
|
|
12
|
+
line-height: 1.5em;
|
|
13
|
+
tab-size: 4;
|
|
14
|
+
hyphens: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
code[class*="language-"]::selection,
|
|
18
|
+
pre[class*="language-"]::selection,
|
|
19
|
+
code[class*="language-"] ::selection,
|
|
20
|
+
pre[class*="language-"] ::selection {
|
|
21
|
+
background: #d6dbe3;
|
|
22
|
+
color: #263238;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:not(pre)>code[class*="language-"] {
|
|
26
|
+
white-space: normal;
|
|
27
|
+
border-radius: .2em;
|
|
28
|
+
padding: .1em;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
pre[class*="language-"] {
|
|
32
|
+
overflow: auto;
|
|
33
|
+
position: relative;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.language-css>code,
|
|
37
|
+
.language-sass>code,
|
|
38
|
+
.language-scss>code {
|
|
39
|
+
color: #f2995f;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[class*="language-"] .namespace {
|
|
43
|
+
opacity: .7;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.token.atrule {
|
|
47
|
+
color: #ae78f0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.token.attr-name {
|
|
51
|
+
color: #3280ff;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.token.attr-value {
|
|
55
|
+
color: #fbca25;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.token.attribute {
|
|
59
|
+
color: #fbca25;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.token.boolean {
|
|
63
|
+
color: #ae78f0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.token.builtin {
|
|
67
|
+
color: #3280ff;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.token.cdata {
|
|
71
|
+
color: #3280ff;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.token.char {
|
|
75
|
+
color: #3280ff;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.token.class {
|
|
79
|
+
color: #3280ff;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.token.class-name {
|
|
83
|
+
color: #5cc5fc;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.token.comment {
|
|
87
|
+
color: #97a3b7;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.token.constant {
|
|
91
|
+
color: #ae78f0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.token.deleted {
|
|
95
|
+
color: #48c79c;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.token.doctype {
|
|
99
|
+
color: #97a3b7;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.token.entity {
|
|
103
|
+
color: #48c79c;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.token.function {
|
|
107
|
+
color: #ae78f0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.token.hexcode {
|
|
111
|
+
color: #f2995f;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.token.id {
|
|
115
|
+
color: #ae78f0;
|
|
116
|
+
font-weight: bold;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.token.important {
|
|
120
|
+
color: #f6c;
|
|
121
|
+
font-weight: bold;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.token.inserted {
|
|
125
|
+
color: #3280ff;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.token.keyword {
|
|
129
|
+
color: #f6c;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.token.number {
|
|
133
|
+
color: #f2995f;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.token.operator {
|
|
137
|
+
color: #3280ff;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.token.prolog {
|
|
141
|
+
color: #97a3b7;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.token.property {
|
|
145
|
+
color: #3280ff;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.token.pseudo-class {
|
|
149
|
+
color: #fbca25;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.token.pseudo-element {
|
|
153
|
+
color: #fbca25;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.token.punctuation {
|
|
157
|
+
color: #3280ff;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.token.regex {
|
|
161
|
+
color: #5cc5fc;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.token.selector {
|
|
165
|
+
color: #f36d78;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.token.string {
|
|
169
|
+
color: #fbca25;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.token.symbol {
|
|
173
|
+
color: #f6c;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.token.tag {
|
|
177
|
+
color: #48c79c;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.token.unit {
|
|
181
|
+
color: #f2995f;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.token.url {
|
|
185
|
+
color: #48c79c;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.token.variable {
|
|
189
|
+
color: #48c79c;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
code[class*="language-"],
|
|
2
|
+
pre[class*="language-"] {
|
|
3
|
+
text-align: left;
|
|
4
|
+
white-space: pre;
|
|
5
|
+
word-spacing: normal;
|
|
6
|
+
word-break: normal;
|
|
7
|
+
word-wrap: normal;
|
|
8
|
+
font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
|
|
9
|
+
font-size: 1em;
|
|
10
|
+
line-height: 1.5em;
|
|
11
|
+
tab-size: 4;
|
|
12
|
+
hyphens: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
code[class*="language-"]::selection,
|
|
16
|
+
pre[class*="language-"]::selection,
|
|
17
|
+
code[class*="language-"] ::selection,
|
|
18
|
+
pre[class*="language-"] ::selection {
|
|
19
|
+
background: #d6dbe3;
|
|
20
|
+
color: #263238;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:not(pre)>code[class*="language-"] {
|
|
24
|
+
white-space: normal;
|
|
25
|
+
border-radius: .2em;
|
|
26
|
+
padding: .1em;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
pre[class*="language-"] {
|
|
30
|
+
overflow: auto;
|
|
31
|
+
position: relative;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.language-css>code,
|
|
35
|
+
.language-sass>code,
|
|
36
|
+
.language-scss>code {
|
|
37
|
+
color: #c24c08;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[class*="language-"] .namespace {
|
|
41
|
+
opacity: .7;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.token.atrule {
|
|
45
|
+
color: #6d3bac;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.token.attr-name {
|
|
49
|
+
color: #007edf;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.token.attr-value {
|
|
53
|
+
color: #d29c00;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.token.attribute {
|
|
57
|
+
color: #d29c00;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.token.boolean {
|
|
61
|
+
color: #6d3bac;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.token.builtin {
|
|
65
|
+
color: #007edf;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.token.cdata {
|
|
69
|
+
color: #007edf;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.token.char {
|
|
73
|
+
color: #007edf;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.token.class {
|
|
77
|
+
color: #007edf;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.token.class-name {
|
|
81
|
+
color: #003cbf;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.token.comment {
|
|
85
|
+
color: #97a3b7;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.token.constant {
|
|
89
|
+
color: #6d3bac;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.token.deleted {
|
|
93
|
+
color: #b01531;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.token.doctype {
|
|
97
|
+
color: #97a3b7;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.token.entity {
|
|
101
|
+
color: #b01531;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.token.function {
|
|
105
|
+
color: #6d3bac;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.token.hexcode {
|
|
109
|
+
color: #c24c08;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.token.id {
|
|
113
|
+
color: #6d3bac;
|
|
114
|
+
font-weight: bold;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.token.important {
|
|
118
|
+
color: #6d3bac;
|
|
119
|
+
font-weight: bold;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.token.inserted {
|
|
123
|
+
color: #007edf;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.token.keyword {
|
|
127
|
+
color: #6d3bac;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.token.number {
|
|
131
|
+
color: #c24c08;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.token.operator {
|
|
135
|
+
color: #007edf;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.token.prolog {
|
|
139
|
+
color: #97a3b7;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.token.property {
|
|
143
|
+
color: #007edf;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.token.pseudo-class {
|
|
147
|
+
color: #d29c00;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.token.pseudo-element {
|
|
151
|
+
color: #d29c00;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.token.punctuation {
|
|
155
|
+
color: #007edf;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.token.regex {
|
|
159
|
+
color: #003cbf;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.token.selector {
|
|
163
|
+
color: #b01531;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.token.string {
|
|
167
|
+
color: #d29c00;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.token.symbol {
|
|
171
|
+
color: #6d3bac;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.token.tag {
|
|
175
|
+
color: #b01531;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.token.unit {
|
|
179
|
+
color: #c24c08;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.token.url {
|
|
183
|
+
color: #b01531;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.token.variable {
|
|
187
|
+
color: #b01531;
|
|
188
|
+
}
|