@xyd-js/atlas 0.1.0-xyd.6 → 0.1.0-xyd.69
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/.storybook/index.css +1 -27
- package/.storybook/preview.ts +1 -2
- package/CHANGELOG.md +710 -0
- package/LICENSE +21 -0
- package/dist/Update-BMKoKdRb-COLbZvRj.js +4 -0
- package/dist/Update-BMKoKdRb-COLbZvRj.js.map +1 -0
- package/dist/index.css +43 -54
- package/dist/index.d.ts +30 -10
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +89 -0
- package/dist/tokens.css +60 -0
- package/dist/xydPlugin.d.ts +5 -0
- package/dist/xydPlugin.js +2 -0
- package/dist/xydPlugin.js.map +1 -0
- package/index.ts +1 -2
- package/package.json +20 -21
- package/packages/xyd-plugin/SidebarItem.tsx +27 -0
- package/packages/xyd-plugin/index.ts +20 -0
- package/rollup.config.js +56 -12
- package/src/components/ApiRef/ApiRefItem/ApiRefItem.styles.tsx +95 -63
- package/src/components/ApiRef/ApiRefItem/ApiRefItem.tsx +511 -53
- package/src/components/ApiRef/ApiRefProperties/ApiRefProperties.styles.tsx +186 -143
- package/src/components/ApiRef/ApiRefProperties/ApiRefProperties.tsx +584 -76
- package/src/components/ApiRef/ApiRefSamples/ApiRefSamples.styles.tsx +19 -23
- package/src/components/ApiRef/ApiRefSamples/ApiRefSamples.tsx +39 -24
- package/src/components/Atlas/Atlas.styles.tsx +3 -5
- package/src/components/Atlas/Atlas.tsx +34 -21
- package/src/components/Atlas/AtlasContext.tsx +47 -0
- package/src/components/Atlas/AtlasDecorator.styles.ts +22 -0
- package/src/components/Atlas/AtlasDecorator.tsx +15 -0
- package/src/components/Atlas/AtlasLazy/AtlasLazy.styles.tsx +7 -8
- package/src/components/Atlas/AtlasLazy/AtlasLazy.tsx +4 -6
- package/src/components/Atlas/AtlasPrimary.tsx +21 -0
- package/src/components/Atlas/AtlasSecondary.tsx +148 -0
- package/src/components/Atlas/index.ts +6 -2
- package/src/components/Atlas/types.ts +11 -0
- package/src/components/Code/CodeSampleButtons/CodeSampleButtons.styles.tsx +56 -65
- package/src/components/Code/CodeSampleButtons/CodeSampleButtons.tsx +19 -28
- package/src/components/Code/index.ts +0 -4
- package/src/components/Icon/index.tsx +384 -0
- package/src/docs/AtlasExample/todo-app.uniform.json +1 -1
- package/src/styles/styles.css +89 -0
- package/src/styles/tokens.css +60 -0
- package/src/utils/mdx.ts +0 -29
- package/tsconfig.json +9 -2
- package/types.d.ts +22 -0
- package/src/components/Code/CodeCopy/CodeCopy.style.tsx +0 -21
- package/src/components/Code/CodeCopy/CodeCopy.tsx +0 -32
- package/src/components/Code/CodeCopy/index.ts +0 -7
- package/src/components/Code/CodeSample/CodeSample.styles.tsx +0 -134
- package/src/components/Code/CodeSample/CodeSample.tsx +0 -149
- package/src/components/Code/CodeSample/index.ts +0 -8
- package/src/components/Code/CodeSample/withLocalStored.tsx +0 -52
- package/src/components/Code/default-theme.ts +0 -266
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
// from: https://marketplace.visualstudio.com/items?itemName=smockle.xcode-default-theme
|
|
2
|
-
|
|
3
|
-
import {Theme} from "@code-hike/lighter";
|
|
4
|
-
|
|
5
|
-
export const theme: Theme = {
|
|
6
|
-
type: "light",
|
|
7
|
-
colors: {
|
|
8
|
-
"list.focusForeground": "#FFFFFF",
|
|
9
|
-
"scrollbar.shadow": "#ffffff00",
|
|
10
|
-
"tab.activeBorder": "#ffffff",
|
|
11
|
-
"widget.shadow": "#ffffff00",
|
|
12
|
-
"activityBar.border": "#D9D7D5",
|
|
13
|
-
"editorGroup.border": "#D9D7D5",
|
|
14
|
-
"editorGroupHeader.tabsBorder": "#D9D7D5",
|
|
15
|
-
"editorWidget.border": "#D9D7D5",
|
|
16
|
-
"editorWidget.resizeBorder": "#D9D7D5",
|
|
17
|
-
"input.border": "#D9D7D5",
|
|
18
|
-
"notificationCenter.border": "#D9D7D5",
|
|
19
|
-
"notifications.border": "#D9D7D5",
|
|
20
|
-
"panel.border": "#D9D7D5",
|
|
21
|
-
"sideBar.border": "#D9D7D5",
|
|
22
|
-
"statusBar.border": "#D9D7D5",
|
|
23
|
-
"tab.border": "#D9D7D5",
|
|
24
|
-
"activityBar.background": "#ECECEC",
|
|
25
|
-
"statusBar.background": "#ECECEC",
|
|
26
|
-
"statusBar.noFolderBackground": "#ECECEC",
|
|
27
|
-
"statusBar.debuggingBackground": "#ECECEC",
|
|
28
|
-
"editorGroupHeader.tabsBackground": "#F5F5F5",
|
|
29
|
-
"editorWidget.background": "#F5F5F5",
|
|
30
|
-
"sideBar.background": "#F5F5F5",
|
|
31
|
-
"sideBarSectionHeader.background": "#F5F5F5",
|
|
32
|
-
"tab.inactiveBackground": "#F5F5F5",
|
|
33
|
-
"activityBarBadge.background": "#282828",
|
|
34
|
-
"activityBar.foreground": "#282828",
|
|
35
|
-
"statusBar.foreground": "#565456",
|
|
36
|
-
"input.placeholderForeground": "#C7C6C5",
|
|
37
|
-
"editorLineNumber.foreground": "#A6A6A6",
|
|
38
|
-
"editorLineNumber.activeForeground": "#282828",
|
|
39
|
-
foreground: "#282828",
|
|
40
|
-
"panelTitle.activeForeground": "#282828",
|
|
41
|
-
"sideBarTitle.foreground": "#282828",
|
|
42
|
-
"sideBarSectionHeader.foreground": "#282828",
|
|
43
|
-
"panelTitle.inactiveForeground": "#242424",
|
|
44
|
-
"tab.inactiveForeground": "#242424",
|
|
45
|
-
"list.highlightForeground": "#242424",
|
|
46
|
-
"editor.lineHighlightBackground": "#EEF5FE",
|
|
47
|
-
focusBorder: "#82ADF3",
|
|
48
|
-
"button.background": "#3C93FD",
|
|
49
|
-
"list.activeSelectionBackground": "#3C93FD",
|
|
50
|
-
"list.focusBackground": "#3C93FD",
|
|
51
|
-
"selection.background": "#B3D7FF",
|
|
52
|
-
"list.inactiveSelectionBackground": "#CECECE",
|
|
53
|
-
"terminal.ansiBlack": "#000000",
|
|
54
|
-
"terminal.ansiBrightBlack": "#000000",
|
|
55
|
-
"terminal.ansiRed": "#C41A16",
|
|
56
|
-
"terminal.ansiBrightRed": "#C41A16",
|
|
57
|
-
"terminal.ansiGreen": "#007400",
|
|
58
|
-
"terminal.ansiBrightGreen": "#007400",
|
|
59
|
-
"terminal.ansiYellow": "#643820",
|
|
60
|
-
"terminal.ansiBrightYellow": "#643820",
|
|
61
|
-
"terminal.ansiBlue": "#272AD8",
|
|
62
|
-
"terminal.ansiBrightBlue": "#272AD8",
|
|
63
|
-
"terminal.ansiMagenta": "#AA0D91",
|
|
64
|
-
"terminal.ansiBrightMagenta": "#AA0D91",
|
|
65
|
-
"terminal.ansiCyan": "#3F6E74",
|
|
66
|
-
"terminal.ansiBrightCyan": "#3F6E74",
|
|
67
|
-
},
|
|
68
|
-
tokenColors: [
|
|
69
|
-
{
|
|
70
|
-
scope: "new.expr entity.name",
|
|
71
|
-
settings: {
|
|
72
|
-
foreground: "#713DA9",
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
name: "Comments",
|
|
77
|
-
scope: ["comment", "comment storage.type"],
|
|
78
|
-
settings: {
|
|
79
|
-
foreground: "#536579",
|
|
80
|
-
fontStyle: "italic",
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: "CSS",
|
|
85
|
-
scope: [
|
|
86
|
-
"entity.other.attribute-name.pseudo-class.css",
|
|
87
|
-
"entity.other.attribute-name.pseudo-class.scss",
|
|
88
|
-
"entity.other.attribute-name.pseudo-element.css",
|
|
89
|
-
"entity.other.attribute-name.pseudo-element.scss",
|
|
90
|
-
"support.function.calc.css",
|
|
91
|
-
"support.function.calc.scss",
|
|
92
|
-
"support.type.property-name.css",
|
|
93
|
-
"support.type.property-name.scss",
|
|
94
|
-
"support.type.vendored.property-name.css",
|
|
95
|
-
"support.type.vendored.property-name.scss",
|
|
96
|
-
"meta.property-value.css support.constant",
|
|
97
|
-
"meta.property-value.scss support.constant",
|
|
98
|
-
"meta.property-value.css support.constant.property-value",
|
|
99
|
-
"meta.property-value.scss support.constant.property-value",
|
|
100
|
-
"support.function.transform.css",
|
|
101
|
-
"support.function.transform.scss",
|
|
102
|
-
],
|
|
103
|
-
settings: {
|
|
104
|
-
foreground: "#AA0D91",
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
name: "Decorator",
|
|
109
|
-
scope: [
|
|
110
|
-
"meta.decorator",
|
|
111
|
-
"meta.decorator punctuation.decorator",
|
|
112
|
-
"meta.decorator variable.other.readwrite",
|
|
113
|
-
"meta.decorator meta.function-call entity.name.function",
|
|
114
|
-
],
|
|
115
|
-
settings: {
|
|
116
|
-
foreground: "#643820",
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: "Doctype",
|
|
121
|
-
scope: ["meta.tag.sgml.html"],
|
|
122
|
-
settings: {
|
|
123
|
-
foreground: "#A6A6A6",
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
name: "Functions",
|
|
128
|
-
scope: ["entity.name.function", "support.function"],
|
|
129
|
-
settings: {
|
|
130
|
-
foreground: "#7051d4",
|
|
131
|
-
},
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
name: "Keys",
|
|
135
|
-
scope: [
|
|
136
|
-
"meta.property-list meta.property-name",
|
|
137
|
-
"support.type.property-name",
|
|
138
|
-
"support.type.map.key",
|
|
139
|
-
"entity.name.tag.yaml",
|
|
140
|
-
],
|
|
141
|
-
settings: {
|
|
142
|
-
foreground: "#7051d4",
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
name: "Keywords",
|
|
147
|
-
scope: [
|
|
148
|
-
"keyword.control",
|
|
149
|
-
"keyword.declaration",
|
|
150
|
-
"keyword.expressions-and-types",
|
|
151
|
-
"keyword.operator.new",
|
|
152
|
-
"keyword.reserved",
|
|
153
|
-
"keyword.statement",
|
|
154
|
-
"storage.type",
|
|
155
|
-
"storage.modifier",
|
|
156
|
-
"constant.language",
|
|
157
|
-
"variable.language.super",
|
|
158
|
-
"variable.language.this",
|
|
159
|
-
"text.html entity.name.tag",
|
|
160
|
-
"meta.tag entity.name.tag",
|
|
161
|
-
"meta.tag support.class",
|
|
162
|
-
"string.regexp keyword.other",
|
|
163
|
-
],
|
|
164
|
-
settings: {
|
|
165
|
-
foreground: "#AD3DA4",
|
|
166
|
-
fontStyle: "bold",
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
name: "Operators",
|
|
171
|
-
scope: [
|
|
172
|
-
"storage.type.function.arrow",
|
|
173
|
-
"meta.template.expression punctuation",
|
|
174
|
-
"punctuation.separator.key-value",
|
|
175
|
-
"meta.object-literal.key meta.brace.square",
|
|
176
|
-
"meta.template.expression keyword.operator",
|
|
177
|
-
"keyword.operator.or.regexp",
|
|
178
|
-
"keyword.operator.quantifier",
|
|
179
|
-
"punctuation.definition.group.regexp",
|
|
180
|
-
"punctuation.definition.character-class",
|
|
181
|
-
],
|
|
182
|
-
settings: {
|
|
183
|
-
foreground: "#000000",
|
|
184
|
-
},
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
scope: [
|
|
188
|
-
"meta.tag entity.other.attribute-name",
|
|
189
|
-
"constant.character.escape.backslash",
|
|
190
|
-
],
|
|
191
|
-
settings: {
|
|
192
|
-
foreground: "#816927",
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
name: "Numbers",
|
|
197
|
-
scope: ["constant.numeric", "keyword.other.unit", "constant.other.color"],
|
|
198
|
-
settings: {
|
|
199
|
-
foreground: "#272AD8",
|
|
200
|
-
},
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
name: "Strings",
|
|
204
|
-
scope: [
|
|
205
|
-
"string",
|
|
206
|
-
"variable.parameter.url.scss",
|
|
207
|
-
"markup.heading.markdown",
|
|
208
|
-
"beginning.punctuation.definition.list.markdown",
|
|
209
|
-
"meta.template.expression meta.embedded punctuation.definition.string.begin",
|
|
210
|
-
"meta.template.expression meta.embedded punctuation.definition.string.end",
|
|
211
|
-
],
|
|
212
|
-
settings: {
|
|
213
|
-
foreground: "#D12F1B",
|
|
214
|
-
},
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
name: "Types",
|
|
218
|
-
scope: [
|
|
219
|
-
"meta.type",
|
|
220
|
-
"meta.return.type",
|
|
221
|
-
"entity.name.type",
|
|
222
|
-
"support.type.primitive",
|
|
223
|
-
],
|
|
224
|
-
settings: {
|
|
225
|
-
foreground: "#713DA9",
|
|
226
|
-
},
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
scope: [
|
|
230
|
-
"meta.objectliteral variable.other.object",
|
|
231
|
-
"entity.name.type.module",
|
|
232
|
-
"entity.other.inherited-class",
|
|
233
|
-
"variable.scss",
|
|
234
|
-
"variable.other.bracket.shell",
|
|
235
|
-
"entity.name.function.scss",
|
|
236
|
-
],
|
|
237
|
-
settings: {
|
|
238
|
-
foreground: "#3F6E74",
|
|
239
|
-
},
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
scope: [
|
|
243
|
-
"keyword.control.at-rule",
|
|
244
|
-
"meta.import variable.other.readwrite",
|
|
245
|
-
"meta.definition.variable variable.other.readwrite",
|
|
246
|
-
"meta.definition.variable variable.other.constant",
|
|
247
|
-
"meta.template.expression variable.other.readwrite",
|
|
248
|
-
"meta.template.expression variable.other.constant",
|
|
249
|
-
"support.constant.property-value",
|
|
250
|
-
],
|
|
251
|
-
settings: {
|
|
252
|
-
foreground: "#000000",
|
|
253
|
-
},
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
scope: [
|
|
257
|
-
"variable.other.property",
|
|
258
|
-
"variable.other.object.property",
|
|
259
|
-
"support.variable.property",
|
|
260
|
-
],
|
|
261
|
-
settings: {
|
|
262
|
-
foreground: "#713DA9",
|
|
263
|
-
},
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
}
|