@loadsmart/miranda-react 3.0.0-beta.45 → 3.0.0-beta.46

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.
@@ -32,7 +32,7 @@ type SingleStrictProps<OptionValue extends string, TValue = OptionValue> = {
32
32
  type MultipleProps<OptionValue extends string, TValue = Array<OptionValue> | ReadonlyArray<OptionValue> | null> = {
33
33
  type?: 'multiple';
34
34
  value?: TValue;
35
- onChange?: OnChangeEvent<TValue>;
35
+ onChange?: OnChangeEvent<Extract<TValue, ReadonlyArray<OptionValue>>>;
36
36
  };
37
37
  export type OnChangeEvent<T> = (event: MirandaChangeEvent<Omit<WCToggleGroup, 'value'> & {
38
38
  value: T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/miranda-react",
3
- "version": "3.0.0-beta.45",
3
+ "version": "3.0.0-beta.46",
4
4
  "description": "React component library based on Miranda Web Components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -41,8 +41,8 @@
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@loadsmart/miranda-tokens": "4.0.0-beta.45",
45
- "@loadsmart/miranda-wc": "3.0.0-beta.45",
44
+ "@loadsmart/miranda-tokens": "4.0.0-beta.46",
45
+ "@loadsmart/miranda-wc": "3.0.0-beta.46",
46
46
  "@lit/react": "^1.0.5",
47
47
  "react-is": "^18.3.1"
48
48
  },