@performant-software/shared-components 0.5.17 → 0.5.18-beta.0

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": "@performant-software/shared-components",
3
- "version": "0.5.17",
3
+ "version": "0.5.18-beta.0",
4
4
  "description": "A package of shared, framework agnostic, components.",
5
5
  "license": "MIT",
6
6
  "main": "./build/index.js",
@@ -29,8 +29,8 @@
29
29
  "react-dom": ">= 16.13.1 < 18.0.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@performant-software/webpack-config": "^0.5.17",
32
+ "@performant-software/webpack-config": "^1.0.0",
33
33
  "react": "^17.0.2",
34
34
  "react-dom": "^17.0.2"
35
35
  }
36
- }
36
+ }
package/src/index.js CHANGED
@@ -39,3 +39,4 @@ export { default as Timer } from './utils/Timer';
39
39
  // Types
40
40
  export type { EditContainerProps as EditModalProps } from './components/EditContainer'; // Backwards compatability
41
41
  export type { EditContainerProps } from './components/EditContainer';
42
+ export type { Referrable } from './types/Referrable';
@@ -0,0 +1,7 @@
1
+ // @flow
2
+
3
+ export type Referrable = {
4
+ id: number,
5
+ key: string,
6
+ reference_code_id: string
7
+ };
@@ -39,3 +39,4 @@ export { default as Timer } from './utils/Timer';
39
39
  // Types
40
40
  export type { EditContainerProps as EditModalProps } from './components/EditContainer'; // Backwards compatability
41
41
  export type { EditContainerProps } from './components/EditContainer';
42
+ export type { Referrable } from './types/Referrable';
@@ -0,0 +1,7 @@
1
+ // @flow
2
+
3
+ export type Referrable = {
4
+ id: number,
5
+ key: string,
6
+ reference_code_id: string
7
+ };