scoobie 14.5.4 → 14.5.6
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/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"version": "14.5.
|
|
7
|
+
"version": "14.5.6",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@capsizecss/core": "^3.0.0",
|
|
10
10
|
"@mdx-js/loader": "^1.6.22",
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@mermaid-js/mermaid-cli": "10.4.0",
|
|
33
|
-
"@storybook/addon-essentials": "7.4.
|
|
33
|
+
"@storybook/addon-essentials": "7.4.6",
|
|
34
34
|
"@storybook/storybook-deployer": "2.8.16",
|
|
35
|
-
"@types/react": "18.2.
|
|
36
|
-
"@types/react-dom": "18.2.
|
|
37
|
-
"braid-design-system": "32.12.
|
|
35
|
+
"@types/react": "18.2.25",
|
|
36
|
+
"@types/react-dom": "18.2.10",
|
|
37
|
+
"braid-design-system": "32.12.1",
|
|
38
38
|
"loki": "0.32.0",
|
|
39
39
|
"react": "18.2.0",
|
|
40
40
|
"react-dom": "18.2.0",
|
|
41
41
|
"react-helmet-async": "1.3.0",
|
|
42
|
-
"react-router-dom": "6.
|
|
43
|
-
"semantic-release": "21.1.
|
|
44
|
-
"sku": "12.4.
|
|
42
|
+
"react-router-dom": "6.16.0",
|
|
43
|
+
"semantic-release": "21.1.2",
|
|
44
|
+
"sku": "12.4.2",
|
|
45
45
|
"webpack": "5.88.2"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
@@ -132,7 +132,7 @@ const labeller = createLabeller(
|
|
|
132
132
|
* - Ensure label uniqueness
|
|
133
133
|
*/
|
|
134
134
|
export const normaliseChildren = (
|
|
135
|
-
rawChildren:
|
|
135
|
+
rawChildren: readonly CodeChildProps[],
|
|
136
136
|
trim: boolean,
|
|
137
137
|
) => {
|
|
138
138
|
const children = rawChildren.map((child) => ({
|
|
@@ -21,7 +21,7 @@ import { CopyableText } from './CopyableText';
|
|
|
21
21
|
import * as styles from './CodeBlock.css';
|
|
22
22
|
|
|
23
23
|
interface Props {
|
|
24
|
-
children:
|
|
24
|
+
children: readonly CodeChildProps[] | string;
|
|
25
25
|
graphqlPlayground?: string;
|
|
26
26
|
label?: string;
|
|
27
27
|
language?: string;
|
package/src/components/Table.tsx
CHANGED
|
@@ -13,9 +13,9 @@ import { DEFAULT_SIZE, type Size } from '../private/size';
|
|
|
13
13
|
import { TableRow } from './TableRow';
|
|
14
14
|
|
|
15
15
|
interface Props {
|
|
16
|
-
align?:
|
|
16
|
+
align?: readonly TableAlign[];
|
|
17
17
|
children: ReactNode;
|
|
18
|
-
header: ComponentProps<typeof Stack>['children'] |
|
|
18
|
+
header: ComponentProps<typeof Stack>['children'] | readonly string[];
|
|
19
19
|
size?: Size;
|
|
20
20
|
type?: TableType;
|
|
21
21
|
width?: 'full';
|
|
@@ -7,7 +7,7 @@ import { TableContext } from '../private/TableContext';
|
|
|
7
7
|
import { BaseTableRow } from '../private/TableRow';
|
|
8
8
|
|
|
9
9
|
interface Props {
|
|
10
|
-
children: ComponentProps<typeof Stack>['children'] |
|
|
10
|
+
children: ComponentProps<typeof Stack>['children'] | readonly string[];
|
|
11
11
|
selected?: boolean;
|
|
12
12
|
}
|
|
13
13
|
|
package/src/private/Prism.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { Prism } from 'prism-react-renderer';
|
|
|
2
2
|
// @ts-ignore
|
|
3
3
|
import csharpLang from 'refractor/lang/csharp';
|
|
4
4
|
// @ts-ignore
|
|
5
|
+
import diffLang from 'refractor/lang/diff';
|
|
6
|
+
// @ts-ignore
|
|
5
7
|
import httpLang from 'refractor/lang/http';
|
|
6
8
|
// @ts-ignore
|
|
7
9
|
import jsonLang from 'refractor/lang/json';
|
|
@@ -9,6 +11,7 @@ import jsonLang from 'refractor/lang/json';
|
|
|
9
11
|
import splunkSplLang from 'refractor/lang/splunk-spl';
|
|
10
12
|
|
|
11
13
|
csharpLang(Prism);
|
|
14
|
+
diffLang(Prism);
|
|
12
15
|
httpLang(Prism);
|
|
13
16
|
splunkSplLang(Prism);
|
|
14
17
|
jsonLang(Prism);
|