@ouroboros/mouth-mui 1.3.0 → 1.3.2

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 (41) hide show
  1. package/{build → lib}/components/pages/Templates/Template/index.d.ts +3 -3
  2. package/ouroboros-mouth-mui-1.3.2.tgz +0 -0
  3. package/package.json +10 -10
  4. package/src/components/pages/Templates/Template/index.tsx +3 -3
  5. /package/{build → lib}/components/pages/Locales.d.ts +0 -0
  6. /package/{build → lib}/components/pages/Locales.js +0 -0
  7. /package/{build → lib}/components/pages/Templates/Create.d.ts +0 -0
  8. /package/{build → lib}/components/pages/Templates/Create.js +0 -0
  9. /package/{build → lib}/components/pages/Templates/Template/Content/Create/Email.d.ts +0 -0
  10. /package/{build → lib}/components/pages/Templates/Template/Content/Create/Email.js +0 -0
  11. /package/{build → lib}/components/pages/Templates/Template/Content/Create/SMS.d.ts +0 -0
  12. /package/{build → lib}/components/pages/Templates/Template/Content/Create/SMS.js +0 -0
  13. /package/{build → lib}/components/pages/Templates/Template/Content/Create/index.d.ts +0 -0
  14. /package/{build → lib}/components/pages/Templates/Template/Content/Create/index.js +0 -0
  15. /package/{build → lib}/components/pages/Templates/Template/Content/Preview/Email.d.ts +0 -0
  16. /package/{build → lib}/components/pages/Templates/Template/Content/Preview/Email.js +0 -0
  17. /package/{build → lib}/components/pages/Templates/Template/Content/Preview/SMS.d.ts +0 -0
  18. /package/{build → lib}/components/pages/Templates/Template/Content/Preview/SMS.js +0 -0
  19. /package/{build → lib}/components/pages/Templates/Template/Content/Preview/index.d.ts +0 -0
  20. /package/{build → lib}/components/pages/Templates/Template/Content/Preview/index.js +0 -0
  21. /package/{build → lib}/components/pages/Templates/Template/Content/Update/Email.d.ts +0 -0
  22. /package/{build → lib}/components/pages/Templates/Template/Content/Update/Email.js +0 -0
  23. /package/{build → lib}/components/pages/Templates/Template/Content/Update/SMS.d.ts +0 -0
  24. /package/{build → lib}/components/pages/Templates/Template/Content/Update/SMS.js +0 -0
  25. /package/{build → lib}/components/pages/Templates/Template/Content/Update/index.d.ts +0 -0
  26. /package/{build → lib}/components/pages/Templates/Template/Content/Update/index.js +0 -0
  27. /package/{build → lib}/components/pages/Templates/Template/Content/View/Email.d.ts +0 -0
  28. /package/{build → lib}/components/pages/Templates/Template/Content/View/Email.js +0 -0
  29. /package/{build → lib}/components/pages/Templates/Template/Content/View/SMS.d.ts +0 -0
  30. /package/{build → lib}/components/pages/Templates/Template/Content/View/SMS.js +0 -0
  31. /package/{build → lib}/components/pages/Templates/Template/Content/View/index.d.ts +0 -0
  32. /package/{build → lib}/components/pages/Templates/Template/Content/View/index.js +0 -0
  33. /package/{build → lib}/components/pages/Templates/Template/Variables.d.ts +0 -0
  34. /package/{build → lib}/components/pages/Templates/Template/Variables.js +0 -0
  35. /package/{build → lib}/components/pages/Templates/Template/index.js +0 -0
  36. /package/{build → lib}/components/pages/Templates/index.d.ts +0 -0
  37. /package/{build → lib}/components/pages/Templates/index.js +0 -0
  38. /package/{build → lib}/index.d.ts +0 -0
  39. /package/{build → lib}/index.js +0 -0
  40. /package/{build → lib}/locales.d.ts +0 -0
  41. /package/{build → lib}/locales.js +0 -0
@@ -9,7 +9,7 @@
9
9
  import PropTypes from 'prop-types';
10
10
  import React from 'react';
11
11
  import { responseErrorStruct } from '@ouroboros/body';
12
- import { rightsStruct } from '@ouroboros/brain-react';
12
+ import { idStruct } from '@ouroboros/brain-react';
13
13
  export type contentStruct = {
14
14
  _id?: string;
15
15
  _created?: number;
@@ -37,8 +37,8 @@ export type TemplateProps = {
37
37
  onError: (error: responseErrorStruct) => void;
38
38
  onContent: (type: string) => void;
39
39
  rights: {
40
- template: rightsStruct;
41
- content: rightsStruct;
40
+ template: idStruct;
41
+ content: idStruct;
42
42
  };
43
43
  value: templateStruct;
44
44
  };
Binary file
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouroboros/mouth-mui",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Components for use with the Mouth service",
5
- "main": "build/index.js",
6
- "types": "build/index.d.ts",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tslint -p tsconfig.json && tsc",
9
- "clean": "rm -Rf build/*",
9
+ "clean": "rm -Rf lib/*",
10
10
  "for_local": "npm install; tslint -p tsconfig.json && tsc; rm -Rf node_modules",
11
11
  "test": "echo \"Error: no test specified.\" && exit 1"
12
12
  },
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@ouroboros/clone": "^1.1.0",
38
- "@ouroboros/define": "^1.1.0",
39
- "@ouroboros/define-mui": "^1.5.0",
38
+ "@ouroboros/define": "^1.1.2",
39
+ "@ouroboros/define-mui": "^1.5.5",
40
40
  "@ouroboros/react-radiobuttons-mui": "^1.1.0",
41
- "@ouroboros/subscribe": "^1.3.1",
42
- "@ouroboros/tools": "^0.6.1",
41
+ "@ouroboros/subscribe": "^1.3.2",
42
+ "@ouroboros/tools": "^0.7.0",
43
43
  "prop-types": "^15.8.1"
44
44
  },
45
45
  "peerDependencies": {
@@ -47,10 +47,10 @@
47
47
  "@emotion/styled": "^11.8.1",
48
48
  "@mui/material": "^5.5.1",
49
49
  "@ouroboros/body": "^1.1.2",
50
- "@ouroboros/brain-react": "^1.1.0",
50
+ "@ouroboros/brain-react": "^2.2.0",
51
51
  "@ouroboros/events": "^1.1.0",
52
52
  "@ouroboros/mouth": "^1.2.0",
53
53
  "react": "^17.0.2 || ^18.0.0",
54
54
  "react-dom": "^17.0.2 || ^18.0.0"
55
55
  }
56
- }
56
+ }
@@ -38,7 +38,7 @@ import Variables from './Variables';
38
38
 
39
39
  // Types
40
40
  import { responseErrorStruct } from '@ouroboros/body';
41
- import { rightsStruct } from '@ouroboros/brain-react';
41
+ import { idStruct } from '@ouroboros/brain-react';
42
42
  export type contentStruct = {
43
43
  _id?: string,
44
44
  _created?: number,
@@ -66,8 +66,8 @@ export type TemplateProps = {
66
66
  onError: (error: responseErrorStruct) => void,
67
67
  onContent: (type: string) => void,
68
68
  rights: {
69
- template: rightsStruct,
70
- content: rightsStruct
69
+ template: idStruct,
70
+ content: idStruct
71
71
  },
72
72
  value: templateStruct
73
73
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes