@cloudflare/component-multistep-modal 1.3.133 → 3.0.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,5 +1,47 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 22f06e4533: Re-export types using `export type` syntax
8
+
9
+ ## 3.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [77059b4a95]
14
+ - @cloudflare/style-container@7.10.0
15
+ - @cloudflare/component-box@4.0.0
16
+ - @cloudflare/component-button@5.0.0
17
+ - @cloudflare/component-modal@5.0.0
18
+ - @cloudflare/component-progress@6.0.0
19
+ - @cloudflare/component-test-dummy@4.0.0
20
+
21
+ ## 2.0.0
22
+
23
+ ### Minor Changes
24
+
25
+ - e2cf563e32: Correctly list the following packages as peer dependencies:
26
+
27
+ - @cloudflare/style-const
28
+ - @cloudflare/style-container
29
+ - @cloudflare/style-provider
30
+
31
+ These packages used to install `fela` and `react-fela` as transitive dependencies, which can cause issues if the version installed by the package is different than the version that is installed by the host application.
32
+
33
+ To prevent this from happening, it is recommended that the host application specifies its own version of the `@cloudflare/style-*` packages.
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [e2cf563e32]
38
+ - @cloudflare/component-progress@5.0.0
39
+ - @cloudflare/style-container@7.9.0
40
+ - @cloudflare/component-test-dummy@3.0.0
41
+ - @cloudflare/component-box@3.0.0
42
+ - @cloudflare/component-button@4.0.0
43
+ - @cloudflare/component-modal@4.0.0
44
+
3
45
  ## 1.3.133
4
46
 
5
47
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import MultistepModal from './MultistepModal';
2
2
  export { TID } from './constants';
3
- export { IStepItem } from './types';
3
+ export type { IStepItem } from './types';
4
4
  export { MultistepModal };
package/es/index.js CHANGED
@@ -1,4 +1,3 @@
1
1
  import MultistepModal from './MultistepModal';
2
2
  export { TID } from './constants';
3
- export { IStepItem } from './types';
4
3
  export { MultistepModal };
package/lib/index.js CHANGED
@@ -3,12 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "IStepItem", {
7
- enumerable: true,
8
- get: function get() {
9
- return _types.IStepItem;
10
- }
11
- });
12
6
  Object.defineProperty(exports, "MultistepModal", {
13
7
  enumerable: true,
14
8
  get: function get() {
@@ -26,6 +20,4 @@ var _MultistepModal = _interopRequireDefault(require("./MultistepModal"));
26
20
 
27
21
  var _constants = require("./constants");
28
22
 
29
- var _types = require("./types");
30
-
31
23
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-multistep-modal",
3
3
  "description": "Multistep modal with a progress bar",
4
- "version": "1.3.133",
5
- "types": "./dist/index.d.ts",
4
+ "version": "3.0.1",
6
5
  "main": "lib/index.js",
7
6
  "module": "es/index.js",
8
7
  "author": "Vojtech Miksu <vojtech@cloudflare.com>",
@@ -10,19 +9,20 @@
10
9
  "publishConfig": {
11
10
  "access": "public",
12
11
  "main": "lib/index.js",
13
- "module": "es/index.js"
12
+ "module": "es/index.js",
13
+ "types": "./dist/index.d.ts"
14
14
  },
15
15
  "dependencies": {
16
- "@cloudflare/component-box": "^2.4.7",
17
- "@cloudflare/component-button": "^3.2.9",
18
- "@cloudflare/component-modal": "^3.1.10",
19
- "@cloudflare/component-progress": "^4.4.201",
20
- "@cloudflare/component-test-dummy": "^2.0.502",
16
+ "@cloudflare/component-box": "^4.0.0",
17
+ "@cloudflare/component-button": "^5.0.0",
18
+ "@cloudflare/component-modal": "^5.0.0",
19
+ "@cloudflare/component-progress": "^6.0.0",
20
+ "@cloudflare/component-test-dummy": "^4.0.0",
21
21
  "@cloudflare/intl-react": "^1.9.80",
22
- "@cloudflare/style-container": "^7.8.46",
23
22
  "prop-types": "^15.6.0"
24
23
  },
25
24
  "peerDependencies": {
25
+ "@cloudflare/style-container": "^7.10.0",
26
26
  "react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0"
27
27
  },
28
28
  "stratus": {
@@ -30,5 +30,6 @@
30
30
  "isStandAloneApp": false,
31
31
  "autoGeneratedReadme": true,
32
32
  "category": "structure"
33
- }
33
+ },
34
+ "types": "./dist/index.d.ts"
34
35
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import MultistepModal from './MultistepModal';
2
2
  export { TID } from './constants';
3
- export { IStepItem } from './types';
3
+ export type { IStepItem } from './types';
4
4
 
5
5
  export { MultistepModal };