@readme/markdown 9.2.2 → 9.3.0

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,46 @@
1
+ import React from 'react';
2
+
3
+ // We render a placeholder in this library, as the actual implemenation is
4
+ // deeply tied to the main app
5
+ const TutorialTile = () => {
6
+ const style = {
7
+ height: '50px',
8
+ border: '1px solid var(--color-border-default, rgba(black, 0.1))',
9
+ borderRadius: 'var(--border-radius-lg, 7.5px)',
10
+ minWidth: '230px',
11
+ display: 'inline-flex',
12
+ padding: '10px',
13
+ };
14
+
15
+ const placeholderStyle = {
16
+ borderRadius: 'var(--border-radius-lg, 7.5px)',
17
+ backgroundColor: 'var(--color-skeleton, #384248)',
18
+ };
19
+
20
+ const avatarStyle = {
21
+ ...placeholderStyle,
22
+ height: '30px',
23
+ width: '30px',
24
+ };
25
+
26
+ const lineStyle = {
27
+ ...placeholderStyle,
28
+ height: '12px',
29
+ width: '150px',
30
+ margin: '0 15px',
31
+ };
32
+
33
+ return (
34
+ <div>
35
+ <div style={style}>
36
+ <div style={avatarStyle} />
37
+ <div>
38
+ <div style={{ ...lineStyle, marginBottom: '6px' }} />
39
+ <div style={{ ...lineStyle, width: '75px' }} />
40
+ </div>
41
+ </div>
42
+ </div>
43
+ );
44
+ };
45
+
46
+ export default TutorialTile;
@@ -15,3 +15,4 @@ export { default as TableOfContents } from './TableOfContents';
15
15
  export { default as Tabs, Tab } from './Tabs';
16
16
  export { default as TailwindRoot } from './TailwindRoot';
17
17
  export { default as TailwindStyle } from './TailwindStyle';
18
+ export { default as TutorialTile } from './TutorialTile';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const TutorialTile: () => React.JSX.Element;
3
+ export default TutorialTile;
@@ -15,3 +15,4 @@ export { default as TableOfContents } from './TableOfContents';
15
15
  export { default as Tabs, Tab } from './Tabs';
16
16
  export { default as TailwindRoot } from './TailwindRoot';
17
17
  export { default as TailwindStyle } from './TailwindStyle';
18
+ export { default as TutorialTile } from './TutorialTile';
@@ -19,6 +19,6 @@ declare class RenderError extends React.Component<PropsWithChildren<Props>, Stat
19
19
  static componentDidCatch(error: Error, info: {
20
20
  componentStack: string;
21
21
  }): void;
22
- render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element;
22
+ render(): string | number | boolean | React.JSX.Element | Iterable<React.ReactNode>;
23
23
  }
24
24
  export default RenderError;
package/dist/main.js CHANGED
@@ -11709,7 +11709,8 @@ __webpack_require__.d(components_namespaceObject, {
11709
11709
  TableOfContents: () => (components_TableOfContents),
11710
11710
  Tabs: () => (components_Tabs),
11711
11711
  TailwindRoot: () => (components_TailwindRoot),
11712
- TailwindStyle: () => (components_TailwindStyle)
11712
+ TailwindStyle: () => (components_TailwindStyle),
11713
+ TutorialTile: () => (components_TutorialTile)
11713
11714
  });
11714
11715
 
11715
11716
  // NAMESPACE OBJECT: ./node_modules/micromark/lib/constructs.js
@@ -12569,6 +12570,43 @@ const TailwindStyle = ({ children, darkModeDataAttribute }) => {
12569
12570
  };
12570
12571
  /* harmony default export */ const components_TailwindStyle = (TailwindStyle);
12571
12572
 
12573
+ ;// ./components/TutorialTile.tsx
12574
+
12575
+ // We render a placeholder in this library, as the actual implemenation is
12576
+ // deeply tied to the main app
12577
+ const TutorialTile = () => {
12578
+ const style = {
12579
+ height: '50px',
12580
+ border: '1px solid var(--color-border-default, rgba(black, 0.1))',
12581
+ borderRadius: 'var(--border-radius-lg, 7.5px)',
12582
+ minWidth: '230px',
12583
+ display: 'inline-flex',
12584
+ padding: '10px',
12585
+ };
12586
+ const placeholderStyle = {
12587
+ borderRadius: 'var(--border-radius-lg, 7.5px)',
12588
+ backgroundColor: 'var(--color-skeleton, #384248)',
12589
+ };
12590
+ const avatarStyle = {
12591
+ ...placeholderStyle,
12592
+ height: '30px',
12593
+ width: '30px',
12594
+ };
12595
+ const lineStyle = {
12596
+ ...placeholderStyle,
12597
+ height: '12px',
12598
+ width: '150px',
12599
+ margin: '0 15px',
12600
+ };
12601
+ return (external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", null,
12602
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", { style: style },
12603
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", { style: avatarStyle }),
12604
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", null,
12605
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", { style: { ...lineStyle, marginBottom: '6px' } }),
12606
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", { style: { ...lineStyle, width: '75px' } })))));
12607
+ };
12608
+ /* harmony default export */ const components_TutorialTile = (TutorialTile);
12609
+
12572
12610
  ;// ./components/index.ts
12573
12611
 
12574
12612
 
@@ -12588,6 +12626,7 @@ const TailwindStyle = ({ children, darkModeDataAttribute }) => {
12588
12626
 
12589
12627
 
12590
12628
 
12629
+
12591
12630
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.to-primitive.js
12592
12631
  var es_symbol_to_primitive = __webpack_require__(6611);
12593
12632
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
package/dist/main.node.js CHANGED
@@ -16152,7 +16152,8 @@ __webpack_require__.d(components_namespaceObject, {
16152
16152
  TableOfContents: () => (components_TableOfContents),
16153
16153
  Tabs: () => (components_Tabs),
16154
16154
  TailwindRoot: () => (components_TailwindRoot),
16155
- TailwindStyle: () => (components_TailwindStyle)
16155
+ TailwindStyle: () => (components_TailwindStyle),
16156
+ TutorialTile: () => (components_TutorialTile)
16156
16157
  });
16157
16158
 
16158
16159
  // NAMESPACE OBJECT: ./node_modules/micromark/lib/constructs.js
@@ -21889,6 +21890,43 @@ const TailwindStyle = ({ children, darkModeDataAttribute }) => {
21889
21890
  };
21890
21891
  /* harmony default export */ const components_TailwindStyle = (TailwindStyle);
21891
21892
 
21893
+ ;// ./components/TutorialTile.tsx
21894
+
21895
+ // We render a placeholder in this library, as the actual implemenation is
21896
+ // deeply tied to the main app
21897
+ const TutorialTile = () => {
21898
+ const style = {
21899
+ height: '50px',
21900
+ border: '1px solid var(--color-border-default, rgba(black, 0.1))',
21901
+ borderRadius: 'var(--border-radius-lg, 7.5px)',
21902
+ minWidth: '230px',
21903
+ display: 'inline-flex',
21904
+ padding: '10px',
21905
+ };
21906
+ const placeholderStyle = {
21907
+ borderRadius: 'var(--border-radius-lg, 7.5px)',
21908
+ backgroundColor: 'var(--color-skeleton, #384248)',
21909
+ };
21910
+ const avatarStyle = {
21911
+ ...placeholderStyle,
21912
+ height: '30px',
21913
+ width: '30px',
21914
+ };
21915
+ const lineStyle = {
21916
+ ...placeholderStyle,
21917
+ height: '12px',
21918
+ width: '150px',
21919
+ margin: '0 15px',
21920
+ };
21921
+ return (external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", null,
21922
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", { style: style },
21923
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", { style: avatarStyle }),
21924
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", null,
21925
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", { style: { ...lineStyle, marginBottom: '6px' } }),
21926
+ external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("div", { style: { ...lineStyle, width: '75px' } })))));
21927
+ };
21928
+ /* harmony default export */ const components_TutorialTile = (TutorialTile);
21929
+
21892
21930
  ;// ./components/index.ts
21893
21931
 
21894
21932
 
@@ -21908,6 +21946,7 @@ const TailwindStyle = ({ children, darkModeDataAttribute }) => {
21908
21946
 
21909
21947
 
21910
21948
 
21949
+
21911
21950
  ;// ./options.js
21912
21951
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21913
21952
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }