stream-engine-widgets 0.3.14 → 0.3.16

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 (41) hide show
  1. package/README.md +70 -66
  2. package/dist/{ArrowForwardIosRounded-Bug0UD4Z.js → ArrowForwardIosRounded-BHHWNUfB.js} +2 -2
  3. package/dist/ArrowForwardIosRounded-BHHWNUfB.js.map +1 -0
  4. package/dist/{PlayArrowRounded-DDn8lR83.js → PlayArrowRounded-D1FELNJx.js} +2 -2
  5. package/dist/PlayArrowRounded-D1FELNJx.js.map +1 -0
  6. package/dist/blaze-BOFmpQ80.js +528 -0
  7. package/dist/blaze-BOFmpQ80.js.map +1 -0
  8. package/dist/{gallery-Bj7HaEKS.js → gallery-GRnjldyr.js} +3 -3
  9. package/dist/{gallery-Bj7HaEKS.js.map → gallery-GRnjldyr.js.map} +1 -1
  10. package/dist/{index-DRXk8TB6.js → index-BkAInKCv.js} +894 -156
  11. package/dist/index-BkAInKCv.js.map +1 -0
  12. package/dist/{matchItem-Dbtm7f0H.js → matchItem-CL87EJ7i.js} +2 -2
  13. package/dist/{matchItem-Dbtm7f0H.js.map → matchItem-CL87EJ7i.js.map} +1 -1
  14. package/dist/{matches-BYGBQOdB.js → matches-CCFg5Xd1.js} +4 -4
  15. package/dist/{matches-BYGBQOdB.js.map → matches-CCFg5Xd1.js.map} +1 -1
  16. package/dist/{matchesStandalone-fkyfgYtI.js → matchesStandalone-K-T-YXDH.js} +234 -10
  17. package/dist/matchesStandalone-K-T-YXDH.js.map +1 -0
  18. package/dist/{player-BpFZSk7h.js → player-BkFsXlEi.js} +3 -3
  19. package/dist/{player-BpFZSk7h.js.map → player-BkFsXlEi.js.map} +1 -1
  20. package/dist/{poster-gBj_BEdS.js → poster-BFthK88T.js} +3 -3
  21. package/dist/{poster-gBj_BEdS.js.map → poster-BFthK88T.js.map} +1 -1
  22. package/dist/{posterItem-COVgC8zh.js → posterItem-BojAdnBI.js} +4 -4
  23. package/dist/{posterItem-COVgC8zh.js.map → posterItem-BojAdnBI.js.map} +1 -1
  24. package/dist/{scroll-DcdnfMG4.js → scroll-Cm_Q9RJ9.js} +4 -4
  25. package/dist/{scroll-DcdnfMG4.js.map → scroll-Cm_Q9RJ9.js.map} +1 -1
  26. package/dist/{stateTimeIndicator-CpCIHbFB.js → stateTimeIndicator-BY_OhJJ6.js} +2 -2
  27. package/dist/{stateTimeIndicator-CpCIHbFB.js.map → stateTimeIndicator-BY_OhJJ6.js.map} +1 -1
  28. package/dist/{story-CH4qV2PF.js → story-BbKazkAh.js} +4 -4
  29. package/dist/story-BbKazkAh.js.map +1 -0
  30. package/dist/stream-engine-widgets.css +0 -708
  31. package/dist/stream-engine-widgets.js +1 -1
  32. package/dist/{useMediaQuery-C8rqxnyT.js → useMediaQuery-Bh9Ciip_.js} +4 -4
  33. package/dist/{useMediaQuery-C8rqxnyT.js.map → useMediaQuery-Bh9Ciip_.js.map} +1 -1
  34. package/package.json +1 -5
  35. package/dist/ArrowForwardIosRounded-Bug0UD4Z.js.map +0 -1
  36. package/dist/PlayArrowRounded-DDn8lR83.js.map +0 -1
  37. package/dist/blaze-widget-COvQjzxN.js +0 -536
  38. package/dist/blaze-widget-COvQjzxN.js.map +0 -1
  39. package/dist/index-DRXk8TB6.js.map +0 -1
  40. package/dist/matchesStandalone-fkyfgYtI.js.map +0 -1
  41. package/dist/story-CH4qV2PF.js.map +0 -1
package/README.md CHANGED
@@ -1,66 +1,70 @@
1
- # Stream Engine Widgets
2
-
3
- This package contains web components for the Stream Engine platform, including the Blaze widget integration.
4
-
5
- ## Local Development
6
-
7
- ### Setup for Local Development
8
-
9
- 1. **Build in Watch Mode**
10
- ```bash
11
- cd packages/widgets
12
- npm run build:watch
13
- ```
14
- This will build the widgets and watch for changes, rebuilding automatically when files are modified.
15
-
16
- 2. **Serve the Built Files**
17
- In a separate terminal:
18
- ```bash
19
- cd packages/widgets
20
- npx serve dist -p 5173 --cors
21
- ```
22
- This serves the built files with CORS enabled, making them available at `http://localhost:5173`.
23
-
24
- ### Using in Channel Front
25
-
26
- In your channel front application, configure the widget source to use the local build:
27
-
28
- ```javascript
29
- // In SectionContent.js or similar
30
- <script
31
- type="module"
32
- src={process.env.NODE_ENV === 'development'
33
- ? "http://localhost:5173/stream-engine-widgets.js"
34
- : `https://cdn.jsdelivr.net/npm/stream-engine-widgets@${process.env.NEXT_PUBLIC_VF_WIDGET_VERSION || "latest"}/dist/stream-engine-widgets.js`}
35
- ></script>
36
- <link
37
- type="text/css"
38
- rel="stylesheet"
39
- href={process.env.NODE_ENV === 'development'
40
- ? "http://localhost:5173/stream-engine-widgets.css"
41
- : `https://cdn.jsdelivr.net/npm/stream-engine-widgets@${process.env.NEXT_PUBLIC_VF_WIDGET_VERSION || "latest"}/dist/stream-engine-widgets.css`}
42
- ></link>
43
- ```
44
-
45
- ### Development Workflow
46
-
47
- 1. Start the build watch mode
48
- 2. Start the file server
49
- 3. Run your channel front application
50
- 4. Make changes to widget code
51
- 5. Changes will automatically rebuild and be available in your app
52
-
53
- ### Debugging
54
-
55
- - Check the browser console for any loading errors
56
- - Ensure both the build watch and server are running
57
- - Verify the correct URLs are being used in development mode
58
- - Use browser dev tools to inspect the web component
59
-
60
- ### Production Build
61
-
62
- For production builds:
63
- ```bash
64
- npm run build
65
- ```
66
- This will create optimized builds in the `dist` directory.
1
+ # Getting Started with Create React App
2
+
3
+ This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4
+
5
+ ## Available Scripts
6
+
7
+ In the project directory, you can run:
8
+
9
+ ### `npm start`
10
+
11
+ Runs the app in the development mode.\
12
+ Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
13
+
14
+ The page will reload when you make changes.\
15
+ You may also see any lint errors in the console.
16
+
17
+ ### `npm test`
18
+
19
+ Launches the test runner in the interactive watch mode.\
20
+ See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21
+
22
+ ### `npm run build`
23
+
24
+ Builds the app for production to the `build` folder.\
25
+ It correctly bundles React in production mode and optimizes the build for the best performance.
26
+
27
+ The build is minified and the filenames include the hashes.\
28
+ Your app is ready to be deployed!
29
+
30
+ See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31
+
32
+ ### `npm run eject`
33
+
34
+ **Note: this is a one-way operation. Once you `eject`, you can't go back!**
35
+
36
+ If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37
+
38
+ Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
39
+
40
+ You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
41
+
42
+ ## Learn More
43
+
44
+ You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45
+
46
+ To learn React, check out the [React documentation](https://reactjs.org/).
47
+
48
+ ### Code Splitting
49
+
50
+ This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51
+
52
+ ### Analyzing the Bundle Size
53
+
54
+ This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55
+
56
+ ### Making a Progressive Web App
57
+
58
+ This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59
+
60
+ ### Advanced Configuration
61
+
62
+ This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63
+
64
+ ### Deployment
65
+
66
+ This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67
+
68
+ ### `npm run build` fails to minify
69
+
70
+ This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
@@ -1,4 +1,4 @@
1
- import { c as createSvgIcon, j as jsxRuntimeExports } from './index-DRXk8TB6.js';
1
+ import { c as createSvgIcon, j as jsxRuntimeExports } from './index-BkAInKCv.js';
2
2
 
3
3
  const ArrowBackIosRounded = createSvgIcon( /*#__PURE__*/jsxRuntimeExports.jsx("path", {
4
4
  d: "M16.62 2.99c-.49-.49-1.28-.49-1.77 0L6.54 11.3c-.39.39-.39 1.02 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76"
@@ -9,4 +9,4 @@ const ArrowForwardIosRounded = createSvgIcon( /*#__PURE__*/jsxRuntimeExports.jsx
9
9
  }), 'ArrowForwardIosRounded');
10
10
 
11
11
  export { ArrowBackIosRounded as A, ArrowForwardIosRounded as a };
12
- //# sourceMappingURL=ArrowForwardIosRounded-Bug0UD4Z.js.map
12
+ //# sourceMappingURL=ArrowForwardIosRounded-BHHWNUfB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrowForwardIosRounded-BHHWNUfB.js","sources":["../../../node_modules/.pnpm/@mui+icons-material@5.16.7_@mui+material@5.16.7_@emotion+react@11.13.3_@types+react@18.3.12_r_bva3t7jamy6igxt5xwrmenu4bi/node_modules/@mui/icons-material/esm/ArrowBackIosRounded.js","../../../node_modules/.pnpm/@mui+icons-material@5.16.7_@mui+material@5.16.7_@emotion+react@11.13.3_@types+react@18.3.12_r_bva3t7jamy6igxt5xwrmenu4bi/node_modules/@mui/icons-material/esm/ArrowForwardIosRounded.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M16.62 2.99c-.49-.49-1.28-.49-1.77 0L6.54 11.3c-.39.39-.39 1.02 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76\"\n}), 'ArrowBackIosRounded');","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M7.38 21.01c.49.49 1.28.49 1.77 0l8.31-8.31c.39-.39.39-1.02 0-1.41L9.15 2.98c-.49-.49-1.28-.49-1.77 0s-.49 1.28 0 1.77L14.62 12l-7.25 7.25c-.48.48-.48 1.28.01 1.76\"\n}), 'ArrowForwardIosRounded');"],"names":["_jsx"],"mappings":";;AAIA,4BAAe,aAAa,eAAeA,qBAAI,CAAC,MAAM,EAAE;AACxD,EAAE,CAAC,EAAE;AACL,CAAC,CAAC,EAAE,qBAAqB,CAAC;;ACF1B,+BAAe,aAAa,eAAeA,qBAAI,CAAC,MAAM,EAAE;AACxD,EAAE,CAAC,EAAE;AACL,CAAC,CAAC,EAAE,wBAAwB,CAAC;;;;","x_google_ignoreList":[0,1]}
@@ -1,8 +1,8 @@
1
- import { c as createSvgIcon, j as jsxRuntimeExports } from './index-DRXk8TB6.js';
1
+ import { c as createSvgIcon, j as jsxRuntimeExports } from './index-BkAInKCv.js';
2
2
 
3
3
  const PlayArrowRounded = createSvgIcon( /*#__PURE__*/jsxRuntimeExports.jsx("path", {
4
4
  d: "M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82"
5
5
  }), 'PlayArrowRounded');
6
6
 
7
7
  export { PlayArrowRounded as P };
8
- //# sourceMappingURL=PlayArrowRounded-DDn8lR83.js.map
8
+ //# sourceMappingURL=PlayArrowRounded-D1FELNJx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlayArrowRounded-D1FELNJx.js","sources":["../../../node_modules/.pnpm/@mui+icons-material@5.16.7_@mui+material@5.16.7_@emotion+react@11.13.3_@types+react@18.3.12_r_bva3t7jamy6igxt5xwrmenu4bi/node_modules/@mui/icons-material/esm/PlayArrowRounded.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82\"\n}), 'PlayArrowRounded');"],"names":["_jsx"],"mappings":";;AAIA,yBAAe,aAAa,eAAeA,qBAAI,CAAC,MAAM,EAAE;AACxD,EAAE,CAAC,EAAE;AACL,CAAC,CAAC,EAAE,kBAAkB,CAAC;;;;","x_google_ignoreList":[0]}