@telus-uds/components-web 2.25.0 → 2.25.1

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/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @telus-uds/components-web
2
2
 
3
- This log was last generated on Sat, 18 Nov 2023 02:25:11 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 27 Nov 2023 21:13:27 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 2.25.1
8
+
9
+ Mon, 27 Nov 2023 21:13:27 GMT
10
+
11
+ ### Patches
12
+
13
+ - TS defenitions for WebVideo (srikanthkhari@gmail.com)
14
+ - Bump @telus-uds/components-base to v1.70.0
15
+
7
16
  ## 2.25.0
8
17
 
9
- Sat, 18 Nov 2023 02:25:11 GMT
18
+ Sat, 18 Nov 2023 02:32:49 GMT
10
19
 
11
20
  ### Minor changes
12
21
 
@@ -111,8 +111,7 @@ const WaffleGrid = _ref2 => {
111
111
  (0, _jsxRuntime.jsx)(_Image.default, {
112
112
  src: child.image,
113
113
  alt: child.imageAltText,
114
- width: 96,
115
- height: 128
114
+ width: 96
116
115
  }) :
117
116
  // Otherwise it must be an arbitrary content, which we just display by itself
118
117
  child.image, /*#__PURE__*/(0, _jsxRuntime.jsx)(_componentsBase.Typography, {
@@ -104,8 +104,7 @@ const WaffleGrid = _ref2 => {
104
104
  _jsx(Image, {
105
105
  src: child.image,
106
106
  alt: child.imageAltText,
107
- width: 96,
108
- height: 128
107
+ width: 96
109
108
  }) :
110
109
  // Otherwise it must be an arbitrary content, which we just display by itself
111
110
  child.image, /*#__PURE__*/_jsx(Typography, {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  ],
6
6
  "dependencies": {
7
7
  "@gorhom/portal": "^1.0.14",
8
- "@telus-uds/components-base": "1.69.0",
8
+ "@telus-uds/components-base": "1.70.0",
9
9
  "@telus-uds/system-constants": "^1.3.0",
10
10
  "fscreen": "^1.2.0",
11
11
  "lodash.omit": "^4.5.0",
@@ -62,5 +62,5 @@
62
62
  "skip": true
63
63
  },
64
64
  "types": "types/index.d.ts",
65
- "version": "2.25.0"
65
+ "version": "2.25.1"
66
66
  }
@@ -93,7 +93,7 @@ const WaffleGrid = ({
93
93
  <Center>
94
94
  {typeof child.image === 'string' ? (
95
95
  // Assuming that string passed is the image URL
96
- <Image src={child.image} alt={child.imageAltText} width={96} height={128} />
96
+ <Image src={child.image} alt={child.imageAltText} width={96} />
97
97
  ) : (
98
98
  // Otherwise it must be an arbitrary content, which we just display by itself
99
99
  child.image
@@ -10,6 +10,9 @@ export interface WebVideoProps extends HTMLAttrs {
10
10
  videoLength: number
11
11
  copy?: 'en' | 'fr'
12
12
  onStart?: () => void
13
+ onPlay?: () => void
14
+ onEnd?: () => void
15
+ onPause?: () => void
13
16
  }
14
17
 
15
18
  declare const WebVideo: ComponentType<WebVideoProps>