@webority/mobile-ui 0.110.3 → 0.112.3

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.
Files changed (40) hide show
  1. package/dist/canvas-kit/kit.js +8106 -7940
  2. package/dist/canvas-kit/manifest.json +25 -60
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/lib/commonjs/components/Markdown/Markdown.js +1 -1
  5. package/lib/commonjs/components/MessageBubble/MessageBubble.js +1 -1
  6. package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
  7. package/lib/commonjs/components/Screen/Screen.js +1 -1
  8. package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
  9. package/lib/commonjs/components/Skeleton/Skeleton.js +1 -1
  10. package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
  11. package/lib/commonjs/components/Skeleton/SkeletonList.js +1 -1
  12. package/lib/commonjs/components/SortableList/SortableList.js +1 -1
  13. package/lib/module/components/Markdown/Markdown.js +1 -1
  14. package/lib/module/components/MessageBubble/MessageBubble.js +1 -1
  15. package/lib/module/components/NumberInput/NumberInput.js +1 -1
  16. package/lib/module/components/Screen/Screen.js +1 -1
  17. package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
  18. package/lib/module/components/Skeleton/Skeleton.js +1 -1
  19. package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
  20. package/lib/module/components/Skeleton/SkeletonList.js +1 -1
  21. package/lib/module/components/SortableList/SortableList.js +1 -1
  22. package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +17 -10
  23. package/lib/typescript/commonjs/components/MessageBubble/MessageBubble.d.ts +4 -1
  24. package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +1 -1
  25. package/lib/typescript/commonjs/components/RichTextEditor/markdownActions.d.ts +2 -2
  26. package/lib/typescript/commonjs/components/Skeleton/Skeleton.d.ts +0 -2
  27. package/lib/typescript/commonjs/components/Skeleton/SkeletonContent.d.ts +1 -3
  28. package/lib/typescript/commonjs/components/Skeleton/SkeletonList.d.ts +1 -3
  29. package/lib/typescript/module/components/Markdown/Markdown.d.ts +17 -10
  30. package/lib/typescript/module/components/MessageBubble/MessageBubble.d.ts +4 -1
  31. package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +1 -1
  32. package/lib/typescript/module/components/RichTextEditor/markdownActions.d.ts +2 -2
  33. package/lib/typescript/module/components/Skeleton/Skeleton.d.ts +0 -2
  34. package/lib/typescript/module/components/Skeleton/SkeletonContent.d.ts +1 -3
  35. package/lib/typescript/module/components/Skeleton/SkeletonList.d.ts +1 -3
  36. package/package.json +10 -7
  37. package/lib/commonjs/components/Markdown/parse.js +0 -1
  38. package/lib/module/components/Markdown/parse.js +0 -1
  39. package/lib/typescript/commonjs/components/Markdown/parse.d.ts +0 -58
  40. package/lib/typescript/module/components/Markdown/parse.d.ts +0 -58
@@ -1,58 +0,0 @@
1
- /**
2
- * A deliberately small CommonMark subset, parsed without a dependency.
3
- *
4
- * The scope is what our own content actually contains — release notes, help
5
- * text, descriptions written by people in a web editor — not a spec-complete
6
- * renderer. Nested lists, tables, footnotes, HTML blocks and reference links
7
- * are out of scope on purpose: supporting them means a parser nobody here can
8
- * maintain, and content that needs them is a sign it should not be markdown.
9
- *
10
- * Kept separate from the component so the grammar can be tested as data, with
11
- * no rendering involved.
12
- */
13
- export type InlineNode = {
14
- type: "text";
15
- value: string;
16
- } | {
17
- type: "strong";
18
- children: InlineNode[];
19
- } | {
20
- type: "em";
21
- children: InlineNode[];
22
- } | {
23
- type: "code";
24
- value: string;
25
- } | {
26
- type: "strike";
27
- children: InlineNode[];
28
- } | {
29
- type: "link";
30
- href: string;
31
- children: InlineNode[];
32
- };
33
- export type BlockNode = {
34
- type: "heading";
35
- level: 1 | 2 | 3 | 4 | 5 | 6;
36
- children: InlineNode[];
37
- } | {
38
- type: "paragraph";
39
- children: InlineNode[];
40
- } | {
41
- type: "listItem";
42
- ordered: boolean;
43
- index: number;
44
- depth: number;
45
- children: InlineNode[];
46
- } | {
47
- type: "quote";
48
- children: InlineNode[];
49
- } | {
50
- type: "codeBlock";
51
- value: string;
52
- language?: string;
53
- } | {
54
- type: "rule";
55
- };
56
- export declare const parseInline: (input: string) => InlineNode[];
57
- export declare const parseMarkdown: (source: string) => BlockNode[];
58
- //# sourceMappingURL=parse.d.ts.map