@vidispine/vdt-videojs 22.4.0 → 23.1.0-pre.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidispine/vdt-videojs",
3
- "version": "22.4.0",
3
+ "version": "23.1.0-pre.2",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -32,10 +32,10 @@
32
32
  "@rollup/plugin-commonjs": "21.1.0",
33
33
  "@rollup/plugin-json": "4.1.0",
34
34
  "@rollup/plugin-node-resolve": "13.3.0",
35
- "@vidispine/eslint-config-base": "22.4.0",
36
- "@vidispine/eslint-config-mdx": "22.4.0",
37
- "@vidispine/eslint-config-storybook": "22.4.0",
38
- "@vidispine/prettier-config": "22.4.0",
35
+ "@vidispine/eslint-config-base": "23.1.0-pre.2",
36
+ "@vidispine/eslint-config-mdx": "23.1.0-pre.2",
37
+ "@vidispine/eslint-config-storybook": "23.1.0-pre.2",
38
+ "@vidispine/prettier-config": "23.1.0-pre.2",
39
39
  "eslint": "8.28.0",
40
40
  "prettier": "2.8.0",
41
41
  "rimraf": "3.0.2",
package/rollup.config.js CHANGED
@@ -58,7 +58,7 @@ export default {
58
58
  exclude: /^(.+\/)?node_modules\/.+$/,
59
59
  presets: ['@babel/preset-env'],
60
60
  plugins: ['@babel/plugin-transform-runtime'],
61
- compact: isDevelopment ? false : 'auto',
61
+ compact: !isDevelopment,
62
62
  }),
63
63
  ...(isDevelopment ? [] : [cleanup()]),
64
64
  ],
@@ -1,16 +1,10 @@
1
1
  import { Meta } from '@storybook/addon-docs';
2
2
 
3
+ import { docsParameters } from '@vidispine/vdt-storybook';
4
+
3
5
  import pkgJson from '../package.json';
4
6
 
5
- <Meta
6
- title="vdt-videojs/Overview"
7
- parameters={{
8
- viewMode: 'docs',
9
- previewTabs: {
10
- canvas: { hidden: true },
11
- },
12
- }}
13
- />
7
+ <Meta title="vdt-videojs/Overview" parameters={docsParameters} />
14
8
 
15
9
  export const changelogMd = () => {
16
10
  let mdChangeLog = '';
@@ -1,14 +1,8 @@
1
1
  import { Meta } from '@storybook/addon-docs';
2
2
 
3
- <Meta
4
- title="vdt-videojs/Player Menu/Class Methods"
5
- parameters={{
6
- viewMode: 'docs',
7
- previewTabs: {
8
- canvas: { hidden: true },
9
- },
10
- }}
11
- />
3
+ import { docsParameters } from '@vidispine/vdt-storybook';
4
+
5
+ <Meta title="vdt-videojs/Player Menu/Class Methods" parameters={docsParameters} />
12
6
 
13
7
  ## Class Methods
14
8
 
@@ -1,14 +1,8 @@
1
1
  import { Meta } from '@storybook/addon-docs';
2
2
 
3
- <Meta
4
- title="vdt-videojs/Player Menu/Example Usage"
5
- parameters={{
6
- viewMode: 'docs',
7
- previewTabs: {
8
- canvas: { hidden: true },
9
- },
10
- }}
11
- />
3
+ import { docsParameters } from '@vidispine/vdt-storybook';
4
+
5
+ <Meta title="vdt-videojs/Player Menu/Example Usage" parameters={docsParameters} />
12
6
 
13
7
  ## Example Usage
14
8
 
@@ -1,14 +1,8 @@
1
1
  import { Meta } from '@storybook/addon-docs';
2
2
 
3
- <Meta
4
- title="vdt-videojs/Player/Class Methods"
5
- parameters={{
6
- viewMode: 'docs',
7
- previewTabs: {
8
- canvas: { hidden: true },
9
- },
10
- }}
11
- />
3
+ import { docsParameters } from '@vidispine/vdt-storybook';
4
+
5
+ <Meta title="vdt-videojs/Player/Class Methods" parameters={docsParameters} />
12
6
 
13
7
  ## Class Methods
14
8
 
@@ -1,14 +1,8 @@
1
1
  import { Meta } from '@storybook/addon-docs';
2
2
 
3
- <Meta
4
- title="vdt-videojs/Player/Example usage"
5
- parameters={{
6
- viewMode: 'docs',
7
- previewTabs: {
8
- canvas: { hidden: true },
9
- },
10
- }}
11
- />
3
+ import { docsParameters } from '@vidispine/vdt-storybook';
4
+
5
+ <Meta title="vdt-videojs/Player/Example usage" parameters={docsParameters} />
12
6
 
13
7
  ## Example Usage
14
8