@loadsmart/miranda-react 3.0.0-beta.50 → 3.0.0-beta.51

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.
@@ -1,7 +1,7 @@
1
1
  import { Table as WCTable } from '@loadsmart/miranda-wc';
2
2
  import type { EventName, WebComponentProps } from '@lit/react';
3
3
  import type { ComponentProps } from 'react';
4
- import type { TableSelectEventDetail } from '@loadsmart/miranda-wc/dist/components/table/table.types';
4
+ import type { TableSelectEventDetails } from '@loadsmart/miranda-wc/dist/components/table/table.types';
5
5
  declare global {
6
6
  namespace JSX {
7
7
  interface IntrinsicElements {
@@ -19,7 +19,7 @@ declare module 'react' {
19
19
  }
20
20
  }
21
21
  export declare const Table: import("@lit/react").ReactWebComponent<WCTable, {
22
- onSelect: EventName<CustomEvent<TableSelectEventDetail>>;
22
+ onSelect: EventName<CustomEvent<TableSelectEventDetails>>;
23
23
  }> & {
24
24
  Head: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableHead, {}>;
25
25
  Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableBody, {}>;
package/dist/index.js CHANGED
@@ -18,9 +18,9 @@ function _createForOfIteratorHelperLoose(r, e) {
18
18
  var o = 0;
19
19
  return function () {
20
20
  return o >= r.length ? {
21
- done: !0
21
+ done: true
22
22
  } : {
23
- done: !1,
23
+ done: false,
24
24
  value: r[o++]
25
25
  };
26
26
  };
@@ -94,7 +94,7 @@ var e = new Set(["children", "localName", "ref", "style", "className"]),
94
94
  }), n.useLayoutEffect(function () {
95
95
  var _d$current;
96
96
  (_d$current = d.current) == null || _d$current.removeAttribute("defer-hydration");
97
- }, []), f.suppressHydrationWarning = !0, n.createElement(o, _extends({}, f, {
97
+ }, []), f.suppressHydrationWarning = true, n.createElement(o, _extends({}, f, {
98
98
  ref: n.useCallback(function (e) {
99
99
  d.current = e, "function" == typeof r ? r(e) : null !== r && (r.current = e);
100
100
  }, [r])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/miranda-react",
3
- "version": "3.0.0-beta.50",
3
+ "version": "3.0.0-beta.51",
4
4
  "description": "React component library based on Miranda Web Components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,16 +21,13 @@
21
21
  "license": "UNLICENSED",
22
22
  "devDependencies": {
23
23
  "@loadsmart/miranda-utils": "*",
24
- "@storybook/react": "^7.4.6",
25
- "@storybook/react-webpack5": "^7.4.6",
26
- "@testing-library/cypress": "^10.0.1",
27
- "@types/react": "^17.0.79",
24
+ "@storybook/react": "^8.5.3",
25
+ "@storybook/react-vite": "^8.5.3",
28
26
  "@types/react-dom": "^17.0.25",
29
27
  "@types/react-is": "^18.3.0",
30
- "cypress": "^13.2.0",
31
- "cypress-plugin-tab": "^1.0.5",
32
- "react": "^17.0.2",
28
+ "@types/react": "^17.0.79",
33
29
  "react-dom": "^17.0.2",
30
+ "react": "^17.0.2",
34
31
  "ts-loader": "^9.4.2"
35
32
  },
36
33
  "peerDependencies": {
@@ -41,9 +38,9 @@
41
38
  "access": "public"
42
39
  },
43
40
  "dependencies": {
44
- "@loadsmart/miranda-tokens": "4.0.0-beta.50",
45
- "@loadsmart/miranda-wc": "3.0.0-beta.50",
46
41
  "@lit/react": "^1.0.5",
42
+ "@loadsmart/miranda-tokens": "4.0.0-beta.51",
43
+ "@loadsmart/miranda-wc": "3.0.0-beta.51",
47
44
  "react-is": "^18.3.1"
48
45
  },
49
46
  "directories": {