botframework-webchat-fluent-theme 4.17.0-main.20240506.1e6a9c3 → 4.17.1-main.20240508.bf8dbd9

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": "botframework-webchat-fluent-theme",
3
- "version": "4.17.0-main.20240506.1e6a9c3",
3
+ "version": "4.17.1-main.20240508.bf8dbd9",
4
4
  "description": "Fluent theme for Bot Framework Web Chat",
5
5
  "main": "./dist/botframework-webchat-fluent-theme.js",
6
6
  "types": "./dist/botframework-webchat-fluent-theme.d.ts",
@@ -63,19 +63,19 @@
63
63
  "devDependencies": {
64
64
  "@tsconfig/strictest": "^2.0.5",
65
65
  "@types/math-random": "^1.0.2",
66
- "@types/node": "^20.10.3",
66
+ "@types/node": "^20.12.11",
67
67
  "@types/react": "^16.14.60",
68
68
  "tsup": "^8.0.2",
69
- "typescript": "^5.3.2"
69
+ "typescript": "^5.4.5"
70
70
  },
71
71
  "dependencies": {
72
- "botframework-webchat-api": "4.17.0-main.20240506.1e6a9c3",
73
- "botframework-webchat-component": "4.17.0-main.20240506.1e6a9c3",
74
- "botframework-webchat-core": "4.17.0-main.20240506.1e6a9c3",
75
- "classnames": "^2.5.1",
76
- "inject-meta-tag": "^0.0.1",
77
- "math-random": "^2.0.1",
78
- "use-ref-from": "^0.1.0"
72
+ "botframework-webchat-api": "4.17.1-main.20240508.bf8dbd9",
73
+ "botframework-webchat-component": "4.17.1-main.20240508.bf8dbd9",
74
+ "botframework-webchat-core": "4.17.1-main.20240508.bf8dbd9",
75
+ "classnames": "2.5.1",
76
+ "inject-meta-tag": "0.0.1",
77
+ "math-random": "2.0.1",
78
+ "use-ref-from": "0.1.0"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "react": ">= 16.8.6"
@@ -15,8 +15,6 @@ type Props = Readonly<{
15
15
  }>;
16
16
 
17
17
  const Button = memo(
18
- // As we are all TypeScript, internal components do not need propTypes.
19
- // eslint-disable-next-line react/prop-types
20
18
  forwardRef(({ button, 'data-testid': dataTestId, onClick, ruby }: Props, ref: Ref<HTMLButtonElement>) => {
21
19
  const classNames = useStyles(styles);
22
20
  const onClickRef = useRefFrom(onClick);
@@ -1,7 +1,4 @@
1
1
  import { type ComponentType, type MemoExoticComponent } from 'react';
2
2
 
3
- export type PropsOf<T> = T extends ComponentType<infer P>
4
- ? P
5
- : T extends MemoExoticComponent<ComponentType<infer P>>
6
- ? P
7
- : never;
3
+ export type PropsOf<T> =
4
+ T extends ComponentType<infer P> ? P : T extends MemoExoticComponent<ComponentType<infer P>> ? P : never;