@teambit/readme 0.0.169 → 0.0.171

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.
@@ -0,0 +1 @@
1
+ .circular-font_circularFont__2U4VL{font-family:"CircularXX","Gill Sans","Gill Sans MT","Helvetica Neue",Helvetica,Arial,sans-serif}@font-face{font-family:"CircularXX";src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Regular.woff2)}@font-face{font-family:"CircularXX";font-weight:700;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Bold.woff2)}@font-face{font-family:"CircularXX";font-weight:800;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Black.woff2)}@font-face{font-family:"CircularXX";font-style:italic;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Italic.woff2)}@font-face{font-family:"CircularXX";font-style:italic;font-weight:700;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-BoldItalic.woff2)}@font-face{font-family:"CircularXX";font-style:italic;font-weight:800;src:url(https://static.bit.dev/circular-xx/CirculrXXWeb-BlackItalic.woff2)}@font-face{font-family:"CircularXX";font-weight:300;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-light.woff2)}@font-face{font-family:"CircularXX";font-style:italic;font-weight:300;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-lightItalic.woff2)}@font-face{font-family:"CircularXX";font-weight:500;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-Medium.woff2)}@font-face{font-family:"CircularXX";font-style:italic;font-weight:500;src:url(https://static.bit.dev/circular-xx/CircularXXWeb-MediumItalic.woff2)}.base-theme_theme__20K5p{background:var(--background-color);color:var(--on-background-color);min-height:100%}.theme-toggler_toggler__10ZbF{background:#fff;background:var(--surface-color,#fff);border-radius:8px;cursor:pointer;padding:.5em;transition:color .18s,background-color .18s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.theme-toggler_toggler__10ZbF:hover{background:#edebfc;background:var(--surface-hover-color,#edebfc)}.theme-toggler_toggler__10ZbF:active{background:#dcd8f9;background:var(--surface-active-color,#dcd8f9)}.docs-app_compositionSection__2rAWY{margin-top:40px}.docs-app_compositionCard__2BFqj{max-height:500px;max-width:100%;overflow:hidden}.docs-app_docsMainBlock__1Vyyg{box-sizing:border-box;margin:0 0 150px;max-width:1440px;padding:20px 40px 10px;width:100%}.docs-app_docsMainBlock__1Vyyg .docs-app_heading__25cfc{margin-bottom:0}.docs-app_mdx__WbON7{font-size:16px}.heading-sizes_xxs__sqY6F{font-size:16px;font-size:var(--bit-h-xxs,16px)}.heading-sizes_xs__2vIO-{font-size:18px;font-size:var(--bit-h-xs,18px)}.heading-sizes_sm__SWCg7{font-size:24px;font-size:var(--bit-h-sm,24px)}.heading-sizes_md__1VfRy{font-size:26px;font-size:var(--bit-h-md,26px)}.heading-sizes_lg__12r2v{font-size:36px;font-size:var(--bit-h-lg,36px)}.heading-sizes_xl__18vfm{font-size:40px;font-size:var(--bit-h-xl,40px)}.heading-sizes_xxl__1XBq0{font-size:50px;font-size:var(--bit-h-xxl,50px)}.heading_h1__18YHt,.heading_h2__1ja7_,.heading_h3__3SLRc,.heading_h4__uSuLS,.heading_h5__30dq2,.heading_h6__2CGfq{font-weight:700;margin:0}.heading_h1__18YHt{margin-bottom:20px}.anchor_anchor__3Kymc{align-items:center;display:flex;text-decoration:none}.anchor_anchorIcon__osznX{color:var(--bit-text-color-light);font-size:18px}.linked-heading_linkedHeading__1exDt{align-items:center;display:flex;margin-bottom:16px;width:-moz-fit-content;width:fit-content}.linked-heading_linkedHeading__1exDt:hover .linked-heading_anchor__3xkqo{opacity:1;visibility:inherit}.linked-heading_heading__28Zmh{margin-bottom:0;margin-right:8px}.linked-heading_anchor__3xkqo{opacity:0;transform:translateY(4px);transition:visibility .3s,opacity .3s ease-in-out;visibility:hidden}.themed-text_themedText__-5NI1{color:#6c5ce7;color:var(--bit-accent-color,#6c5ce7)}.composition-card_compositionCard__1TGzH{background-color:#fff;background-color:var(--bit-bg-color,#fff);box-shadow:var(--bit-shadow-raised-low);display:flex;flex:none;flex-direction:column;min-height:122px;min-width:199px;padding:0}.composition-card_compositionCard__1TGzH:hover .composition-card_linkToComposition__uWeCP{opacity:1;visibility:visible}.composition-card_compositionContainer__1fvHN{box-sizing:border-box;margin:auto;max-width:100%;overflow:auto;padding:16px;position:relative;transform:translateZ(0)}.composition-card_title__1pxwS{align-items:center;border-top:1px solid #ededed;border-top:1px solid var(--bit-border-color-lightest,#ededed);display:flex;flex:none;font-size:.875em;justify-content:space-between;padding:8px 16px}.composition-card_title__1pxwS>span{margin-right:8px}.composition-card_linkToComposition__uWeCP{color:#2b2b2b;color:var(--bit-text-color-heavy,#2b2b2b);opacity:0;text-decoration:none;transition:opacity .3s,visibility .3s ease-in-out;visibility:hidden}.composition-card_compositionCardError__1YDP3{border-radius:4px 4px 0 0}.compositions-overview_background__1G-zc{background:#f6f6f6;background:var(--bit-bg-dent,#f6f6f6);border:1px solid #ededed;border:1px solid var(--bit-border-color-lightest,#ededed);border-radius:6px;display:flex;max-height:500px;overflow-x:auto;padding:12px}.compositions-overview_background__1G-zc>*{margin-right:16px}.compositions-overview_background__1G-zc>:last-child{margin:0}.error_error__Aedkj{color:#e62e5c;color:var(--bit-error-color,#e62e5c)}.react-playground_error__1zi13{background-color:var(--bit-bg-color);border:1px solid var(--bit-error-color);border-bottom-right-radius:6px;border-left:none;border-top-right-radius:6px;bottom:0;box-sizing:border-box;color:var(--bit-error-color);font-family:Roboto mono;font-size:11px;left:0;overflow:auto;padding:8px;position:absolute;right:0;top:0;transition:all 1s ease-in-out;width:100%}.react-playground_error__1zi13.react-playground_column__1Kovw{border:1px solid var(--bit-error-color);border-bottom:none;border-bottom-right-radius:0;border-top-left-radius:6px}.react-playground_editorWrapper__1wY8s{max-height:450px;overflow:auto!important}.react-playground_codePane__19Xda{background-color:#282c34;max-width:-moz-fit-content;max-width:fit-content;max-width:90%;min-width:150px}.react-playground_codePane__19Xda.react-playground_column__1Kovw,.react-playground_codePane__19Xda.react-playground_column__1Kovw .react-playground_editorWrapper__1wY8s{height:220px;max-width:100%}.react-playground_editor__1LFjB{border-bottom-left-radius:6px;border-top-left-radius:6px;box-sizing:border-box;font-family:Roboto mono!important;font-size:11px;min-height:100px;width:-moz-fit-content;width:fit-content}.react-playground_editor__1LFjB>textarea{outline:none;white-space:pre!important;width:100%!important}.react-playground_editor__1LFjB>pre{white-space:pre!important;width:-moz-fit-content!important;width:fit-content!important}.react-playground_splitter__R480r{background-color:#282c34}.react-playground_splitter__R480r>div{border:none;border-radius:0}.react-playground_previewPane__1Rkn-{border:1px solid var(--bit-border-color-lightest);border-bottom-right-radius:6px;border-left:none;border-top-right-radius:6px;min-height:100px;overflow:auto;position:relative}.react-playground_previewPane__1Rkn-.react-playground_column__1Kovw{border:1px solid var(--bit-border-color-lightest);border-bottom:none;border-bottom-right-radius:0;border-top-left-radius:6px;min-height:220px}.react-playground_previewPane__1Rkn-.react-playground_column__1Kovw .react-playground_editorWrapper__1wY8s{max-height:220px}.react-playground_previewBox__1quIl{bottom:0;left:0;position:absolute;right:0;top:0}.react-playground_preview__1LvFd{border-left:none;box-sizing:border-box;height:100%;width:100%}.react-playground_playground__1mVdr{border-radius:6px;display:flex;max-height:450px;overflow:hidden;width:100%}.react-playground_playground__1mVdr>div{width:100%}.examples-overview_exampleSection__1OdhX>:not(:last-child){margin-bottom:8px}
@@ -0,0 +1,460 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "Module",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ClassSchema",
18
+ "className": "ReadmeMain",
19
+ "location": {
20
+ "filePath": "readme.main.runtime.ts",
21
+ "line": 9,
22
+ "character": 1
23
+ },
24
+ "members": [
25
+ {
26
+ "__schema": "VariableLikeSchema",
27
+ "location": {
28
+ "filePath": "readme.main.runtime.ts",
29
+ "line": 10,
30
+ "character": 3
31
+ },
32
+ "name": "runtime",
33
+ "signature": "(property) ReadmeMain.runtime: RuntimeDefinition",
34
+ "isOptional": false,
35
+ "type": {
36
+ "__schema": "InferenceTypeSchema",
37
+ "location": {
38
+ "filePath": "readme.main.runtime.ts",
39
+ "line": 10,
40
+ "character": 3
41
+ },
42
+ "type": "RuntimeDefinition"
43
+ }
44
+ },
45
+ {
46
+ "__schema": "VariableLikeSchema",
47
+ "location": {
48
+ "filePath": "readme.main.runtime.ts",
49
+ "line": 11,
50
+ "character": 3
51
+ },
52
+ "name": "dependencies",
53
+ "signature": "(property) ReadmeMain.dependencies: Aspect[]",
54
+ "isOptional": false,
55
+ "type": {
56
+ "__schema": "InferenceTypeSchema",
57
+ "location": {
58
+ "filePath": "readme.main.runtime.ts",
59
+ "line": 11,
60
+ "character": 3
61
+ },
62
+ "type": "Aspect[]"
63
+ }
64
+ },
65
+ {
66
+ "__schema": "ConstructorSchema",
67
+ "location": {
68
+ "filePath": "readme.main.runtime.ts",
69
+ "line": 12,
70
+ "character": 3
71
+ },
72
+ "params": [
73
+ {
74
+ "__schema": "ParameterSchema",
75
+ "location": {
76
+ "filePath": "readme.main.runtime.ts",
77
+ "line": 12,
78
+ "character": 15
79
+ },
80
+ "name": "env",
81
+ "isOptional": false,
82
+ "type": {
83
+ "__schema": "TypeIntersectionSchema",
84
+ "location": {
85
+ "filePath": "readme.main.runtime.ts",
86
+ "line": 12,
87
+ "character": 30
88
+ },
89
+ "types": [
90
+ {
91
+ "__schema": "TypeRefSchema",
92
+ "location": {
93
+ "filePath": "readme.main.runtime.ts",
94
+ "line": 12,
95
+ "character": 30
96
+ },
97
+ "name": "ReadmeEnv"
98
+ },
99
+ {
100
+ "__schema": "TypeRefSchema",
101
+ "location": {
102
+ "filePath": "readme.main.runtime.ts",
103
+ "line": 12,
104
+ "character": 42
105
+ },
106
+ "name": "MdxEnv",
107
+ "componentId": {
108
+ "scope": "teambit.mdx",
109
+ "name": "mdx",
110
+ "version": "0.0.867"
111
+ }
112
+ }
113
+ ]
114
+ }
115
+ },
116
+ {
117
+ "__schema": "ParameterSchema",
118
+ "location": {
119
+ "filePath": "readme.main.runtime.ts",
120
+ "line": 12,
121
+ "character": 50
122
+ },
123
+ "name": "docs",
124
+ "isOptional": false,
125
+ "type": {
126
+ "__schema": "TypeRefSchema",
127
+ "location": {
128
+ "filePath": "readme.main.runtime.ts",
129
+ "line": 12,
130
+ "character": 64
131
+ },
132
+ "name": "DocsMain",
133
+ "componentId": {
134
+ "scope": "teambit.docs",
135
+ "name": "docs",
136
+ "version": "0.0.887"
137
+ }
138
+ }
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "__schema": "FunctionLikeSchema",
144
+ "location": {
145
+ "filePath": "readme.main.runtime.ts",
146
+ "line": 13,
147
+ "character": 3
148
+ },
149
+ "name": "icon",
150
+ "signature": "(method) ReadmeMain.icon(): string",
151
+ "modifiers": [],
152
+ "params": [],
153
+ "returnType": {
154
+ "__schema": "InferenceTypeSchema",
155
+ "location": {
156
+ "filePath": "readme.main.runtime.ts",
157
+ "line": 13,
158
+ "character": 3
159
+ },
160
+ "type": "string"
161
+ }
162
+ },
163
+ {
164
+ "__schema": "FunctionLikeSchema",
165
+ "location": {
166
+ "filePath": "readme.main.runtime.ts",
167
+ "line": 16,
168
+ "character": 3
169
+ },
170
+ "name": "provider",
171
+ "signature": "(method) ReadmeMain.provider([envs, mdx, docs]: [EnvsMain, MDXMain, DocsMain]): Promise<ReadmeMain>",
172
+ "modifiers": [
173
+ "static",
174
+ "async"
175
+ ],
176
+ "params": [
177
+ {
178
+ "__schema": "ParameterSchema",
179
+ "location": {
180
+ "filePath": "readme.main.runtime.ts",
181
+ "line": 16,
182
+ "character": 25
183
+ },
184
+ "name": "[ envs, mdx, docs ]",
185
+ "isOptional": false,
186
+ "type": {
187
+ "__schema": "TupleTypeSchema",
188
+ "location": {
189
+ "filePath": "readme.main.runtime.ts",
190
+ "line": 16,
191
+ "character": 44
192
+ },
193
+ "elements": [
194
+ {
195
+ "__schema": "TypeRefSchema",
196
+ "location": {
197
+ "filePath": "readme.main.runtime.ts",
198
+ "line": 16,
199
+ "character": 45
200
+ },
201
+ "name": "EnvsMain",
202
+ "componentId": {
203
+ "scope": "teambit.envs",
204
+ "name": "envs",
205
+ "version": "0.0.887"
206
+ }
207
+ },
208
+ {
209
+ "__schema": "TypeRefSchema",
210
+ "location": {
211
+ "filePath": "readme.main.runtime.ts",
212
+ "line": 16,
213
+ "character": 55
214
+ },
215
+ "name": "MDXMain",
216
+ "componentId": {
217
+ "scope": "teambit.mdx",
218
+ "name": "mdx",
219
+ "version": "0.0.867"
220
+ }
221
+ },
222
+ {
223
+ "__schema": "TypeRefSchema",
224
+ "location": {
225
+ "filePath": "readme.main.runtime.ts",
226
+ "line": 16,
227
+ "character": 64
228
+ },
229
+ "name": "DocsMain",
230
+ "componentId": {
231
+ "scope": "teambit.docs",
232
+ "name": "docs",
233
+ "version": "0.0.887"
234
+ }
235
+ }
236
+ ]
237
+ }
238
+ }
239
+ ],
240
+ "returnType": {
241
+ "__schema": "InferenceTypeSchema",
242
+ "location": {
243
+ "filePath": "readme.main.runtime.ts",
244
+ "line": 16,
245
+ "character": 3
246
+ },
247
+ "type": "Promise<ReadmeMain>"
248
+ }
249
+ }
250
+ ]
251
+ },
252
+ {
253
+ "__schema": "ClassSchema",
254
+ "className": "ReadmeEnv",
255
+ "location": {
256
+ "filePath": "readme.env.ts",
257
+ "line": 7,
258
+ "character": 1
259
+ },
260
+ "members": [
261
+ {
262
+ "__schema": "ConstructorSchema",
263
+ "location": {
264
+ "filePath": "readme.env.ts",
265
+ "line": 8,
266
+ "character": 3
267
+ },
268
+ "params": [
269
+ {
270
+ "__schema": "ParameterSchema",
271
+ "location": {
272
+ "filePath": "readme.env.ts",
273
+ "line": 8,
274
+ "character": 15
275
+ },
276
+ "name": "docs",
277
+ "isOptional": false,
278
+ "type": {
279
+ "__schema": "TypeRefSchema",
280
+ "location": {
281
+ "filePath": "readme.env.ts",
282
+ "line": 8,
283
+ "character": 29
284
+ },
285
+ "name": "DocsMain",
286
+ "componentId": {
287
+ "scope": "teambit.docs",
288
+ "name": "docs",
289
+ "version": "0.0.887"
290
+ }
291
+ }
292
+ }
293
+ ]
294
+ },
295
+ {
296
+ "__schema": "FunctionLikeSchema",
297
+ "location": {
298
+ "filePath": "readme.env.ts",
299
+ "line": 12,
300
+ "character": 3
301
+ },
302
+ "name": "getDocsDevPatterns",
303
+ "signature": "(method) ReadmeEnv.getDocsDevPatterns(component: Component): string[]",
304
+ "modifiers": [],
305
+ "params": [
306
+ {
307
+ "__schema": "ParameterSchema",
308
+ "location": {
309
+ "filePath": "readme.env.ts",
310
+ "line": 12,
311
+ "character": 22
312
+ },
313
+ "name": "component",
314
+ "isOptional": false,
315
+ "type": {
316
+ "__schema": "TypeRefSchema",
317
+ "location": {
318
+ "filePath": "readme.env.ts",
319
+ "line": 12,
320
+ "character": 33
321
+ },
322
+ "name": "Component",
323
+ "componentId": {
324
+ "scope": "teambit.component",
325
+ "name": "component",
326
+ "version": "0.0.887"
327
+ }
328
+ }
329
+ }
330
+ ],
331
+ "returnType": {
332
+ "__schema": "TypeArraySchema",
333
+ "location": {
334
+ "filePath": "readme.env.ts",
335
+ "line": 12,
336
+ "character": 45
337
+ },
338
+ "type": {
339
+ "__schema": "KeywordTypeSchema",
340
+ "location": {
341
+ "filePath": "readme.env.ts",
342
+ "line": 12,
343
+ "character": 45
344
+ },
345
+ "name": "string"
346
+ }
347
+ }
348
+ },
349
+ {
350
+ "__schema": "FunctionLikeSchema",
351
+ "location": {
352
+ "filePath": "readme.env.ts",
353
+ "line": 15,
354
+ "character": 3
355
+ },
356
+ "name": "getDevPatterns",
357
+ "signature": "(method) ReadmeEnv.getDevPatterns(component?: Component): string[]",
358
+ "modifiers": [],
359
+ "params": [
360
+ {
361
+ "__schema": "ParameterSchema",
362
+ "location": {
363
+ "filePath": "readme.env.ts",
364
+ "line": 15,
365
+ "character": 18
366
+ },
367
+ "name": "component",
368
+ "isOptional": true,
369
+ "type": {
370
+ "__schema": "TypeRefSchema",
371
+ "location": {
372
+ "filePath": "readme.env.ts",
373
+ "line": 15,
374
+ "character": 30
375
+ },
376
+ "name": "Component",
377
+ "componentId": {
378
+ "scope": "teambit.component",
379
+ "name": "component",
380
+ "version": "0.0.887"
381
+ }
382
+ }
383
+ }
384
+ ],
385
+ "returnType": {
386
+ "__schema": "TypeArraySchema",
387
+ "location": {
388
+ "filePath": "readme.env.ts",
389
+ "line": 15,
390
+ "character": 42
391
+ },
392
+ "type": {
393
+ "__schema": "KeywordTypeSchema",
394
+ "location": {
395
+ "filePath": "readme.env.ts",
396
+ "line": 15,
397
+ "character": 42
398
+ },
399
+ "name": "string"
400
+ }
401
+ }
402
+ },
403
+ {
404
+ "__schema": "FunctionLikeSchema",
405
+ "location": {
406
+ "filePath": "readme.env.ts",
407
+ "line": 18,
408
+ "character": 3
409
+ },
410
+ "name": "__getDescriptor",
411
+ "signature": "(method) ReadmeEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
412
+ "modifiers": [
413
+ "async"
414
+ ],
415
+ "params": [],
416
+ "returnType": {
417
+ "__schema": "InferenceTypeSchema",
418
+ "location": {
419
+ "filePath": "readme.env.ts",
420
+ "line": 18,
421
+ "character": 3
422
+ },
423
+ "type": "Promise<{\n type: string;\n}>"
424
+ }
425
+ }
426
+ ]
427
+ },
428
+ {
429
+ "__schema": "VariableLikeSchema",
430
+ "location": {
431
+ "filePath": "readme.aspect.ts",
432
+ "line": 3,
433
+ "character": 14
434
+ },
435
+ "name": "ReadmeAspect",
436
+ "signature": "const ReadmeAspect: Aspect",
437
+ "isOptional": false,
438
+ "type": {
439
+ "__schema": "TypeRefSchema",
440
+ "location": {
441
+ "filePath": "readme.aspect.ts",
442
+ "line": 3,
443
+ "character": 14
444
+ },
445
+ "name": "Aspect",
446
+ "componentId": {
447
+ "scope": "teambit.harmony",
448
+ "name": "harmony",
449
+ "version": "0.3.3"
450
+ }
451
+ }
452
+ }
453
+ ]
454
+ },
455
+ "componentId": {
456
+ "scope": "teambit.mdx",
457
+ "name": "readme",
458
+ "version": "0.0.171"
459
+ }
460
+ }
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@teambit/readme",
3
- "version": "0.0.169",
3
+ "version": "0.0.171",
4
4
  "homepage": "https://bit.dev/teambit/mdx/readme",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.mdx",
8
8
  "name": "readme",
9
- "version": "0.0.169"
9
+ "version": "0.0.171"
10
10
  },
11
11
  "dependencies": {
12
- "@babel/runtime": "7.12.18",
12
+ "@babel/runtime": "7.20.0",
13
13
  "core-js": "^3.0.0",
14
14
  "@teambit/harmony": "0.3.3",
15
- "@teambit/component": "0.0.885",
16
- "@teambit/docs": "0.0.885",
17
- "@teambit/envs": "0.0.885",
18
- "@teambit/cli": "0.0.593",
19
- "@teambit/mdx": "0.0.865"
15
+ "@teambit/component": "0.0.887",
16
+ "@teambit/docs": "0.0.887",
17
+ "@teambit/envs": "0.0.887",
18
+ "@teambit/cli": "0.0.595",
19
+ "@teambit/mdx": "0.0.867"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/mocha": "9.1.0",
@@ -27,7 +27,7 @@
27
27
  "@types/node": "12.20.4"
28
28
  },
29
29
  "peerDependencies": {
30
- "@teambit/legacy": "1.0.376",
30
+ "@teambit/legacy": "1.0.379",
31
31
  "react-dom": "^16.8.0 || ^17.0.0",
32
32
  "react": "^16.8.0 || ^17.0.0"
33
33
  },