@luscii-healthtech/web-ui 2.45.0 → 2.45.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.
Files changed (2) hide show
  1. package/README.md +18 -0
  2. package/package.json +7 -1
package/README.md CHANGED
@@ -80,3 +80,21 @@ We have configured at lot of magic for your convenience.
80
80
  1. Draft a github release
81
81
  2. Version bump of the package
82
82
  3. Publish new package to NPM
83
+
84
+ ---
85
+
86
+ ## IE11
87
+
88
+ This package includes [dnd-kit](https://dndkit.com) as a peer dependency. The bundle of dnd-kit contains syntax which isn't compatible with IE11, therefore any application needing to support IE11 has to transpile dnd-kit.
89
+
90
+ It should also at least include the following polyfills to make it work:
91
+
92
+ - [core-js](https://www.npmjs.com/package/core-js)
93
+ - [regenerator-runtime](https://www.npmjs.com/package/regenerator-runtime)
94
+ - [smoothscroll-polyfill](https://www.npmjs.com/package/smoothscroll-polyfill)
95
+
96
+ Optional:
97
+
98
+ - [web-animations-js](https://www.npmjs.com/package/web-animations-js)
99
+
100
+ This isn't necessary if the [drop animation is disabled](https://github.com/clauderic/dnd-kit/issues/705#issuecomment-1103056336). Check out [this ticket](https://github.com/clauderic/dnd-kit/issues/271) for more information on IE11.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.45.0",
2
+ "version": "2.45.1",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -26,6 +26,9 @@
26
26
  "prepare": "husky install"
27
27
  },
28
28
  "peerDependencies": {
29
+ "@dnd-kit/core": "^6.0.8",
30
+ "@dnd-kit/sortable": "^7.0.2",
31
+ "@dnd-kit/utilities": "^3.2.1",
29
32
  "react": ">=16",
30
33
  "react-hook-form": "6.15.8",
31
34
  "react-lazy-load-image-component": "^1.5.5",
@@ -56,6 +59,9 @@
56
59
  "@babel/core": "^7.18.5",
57
60
  "@babel/preset-env": "^7.18.2",
58
61
  "@babel/preset-react": "^7.17.12",
62
+ "@dnd-kit/core": "^6.0.8",
63
+ "@dnd-kit/sortable": "^7.0.2",
64
+ "@dnd-kit/utilities": "^3.2.1",
59
65
  "@rollup/plugin-image": "^2.1.1",
60
66
  "@storybook/addon-docs": "^6.5.16",
61
67
  "@storybook/addon-essentials": "^6.5.16",