@brightcove/components-embed-code-modal 0.1.14 → 0.1.15

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": "@brightcove/components-embed-code-modal",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://bithub.brightcove.com/studio-ui-kit/studio-components-embed-code-modal.git"
@@ -31,6 +31,7 @@
31
31
  "@brightcove/kacl": "^0.1.11",
32
32
  "@brightcove/notify-change": "^0.1.7",
33
33
  "@brightcove/react-player-loader": "^1.4.1",
34
+ "@brightcove/studio-components": ">=6.0.0",
34
35
  "@testing-library/jest-dom": "^5.16.2",
35
36
  "@testing-library/react": "^12.1.2",
36
37
  "@types/jest": "^27.4.0",
@@ -66,7 +67,6 @@
66
67
  "dependencies": {
67
68
  "@brightcove/player-embed-code": "1.4.0",
68
69
  "@brightcove/studio-api-services": "^6.51.1",
69
- "@brightcove/studio-components": "^4.7.0",
70
70
  "@brightcove/studio-design-tokens": "1.13.0",
71
71
  "@brightcove/studio-icons": "8.6.1",
72
72
  "classnames": "^2.3.1",
@@ -80,7 +80,8 @@
80
80
  "react": ">=17.0.2",
81
81
  "react-dnd": ">=14.0.4",
82
82
  "react-dnd-html5-backend": ">=14.0.2",
83
- "react-dom": ">=17.0.2"
83
+ "react-dom": ">=17.0.2",
84
+ "@brightcove/studio-components": ">=6.0.0"
84
85
  },
85
86
  "module": "./index.js"
86
87
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedCode.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCode.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAgBzD,eAAO,MAAM,SAAS,gDAKnB,cAAc,gBAkGhB,CAAC"}
1
+ {"version":3,"file":"EmbedCode.d.ts","sourceRoot":"","sources":["../../../src/js/EmbedCode.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAgBzD,eAAO,MAAM,SAAS,gDAKnB,cAAc,gBAgGhB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { PlayerSelectItem } from '../types/players';
1
2
  /**
2
3
  * Get the studio environment as a string.
3
4
  * @returns the studio environment
@@ -16,4 +17,10 @@ export declare function isQA(): boolean;
16
17
  * Gets the correct player url base depending on environment
17
18
  */
18
19
  export declare function getUrlBase(): "https://bc-players-qa.s3.amazonaws.com/" | "https://players.brightcove.net/";
20
+ /**
21
+ *
22
+ * @param options : array of PlayerSelectItem
23
+ * @returns options ordered ascending
24
+ */
25
+ export declare function sortAsc(options: PlayerSelectItem[]): PlayerSelectItem[];
19
26
  //# sourceMappingURL=util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/util.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CAGlD;AAED;;GAEG;AACH,wBAAgB,IAAI,YAEnB;AAED;;GAEG;AACH,wBAAgB,UAAU,kFAEzB"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/js/utils/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKpD;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CAGlD;AAED;;GAEG;AACH,wBAAgB,IAAI,YAEnB;AAED;;GAEG;AACH,wBAAgB,UAAU,kFAEzB;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,EAAE,CAEvE"}