@lysaab/lysa-pep 6.1.1-0 → 6.1.1-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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lysaab/lysa-pep",
3
3
  "author": "Lysa AB",
4
- "version": "6.1.1-0",
4
+ "version": "6.1.1-1",
5
5
  "main": "./Exports.js",
6
6
  "dependencies": {
7
7
  "@lysaab/countries": "^5.0.2",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "devDependencies": {
13
13
  "@formatjs/cli": "^1.1.22",
14
- "@lysaab/ui-2": "^40.1.4-0",
14
+ "@lysaab/ui-2": "^40.1.8-1",
15
15
  "@types/jest": "24.0.20",
16
16
  "@types/luxon": "^1.15.2",
17
17
  "@types/node": "12.11.7",
@@ -32,7 +32,7 @@
32
32
  "typescript": "^4.3.4"
33
33
  },
34
34
  "peerDependencies": {
35
- "@lysaab/ui-2": "^40.1.4-0",
35
+ "@lysaab/ui-2": "^40.1.8-1",
36
36
  "react": "^17.0.1",
37
37
  "react-intl": "^5.20.2",
38
38
  "react-router-dom": "^5.2.0"
@@ -54,7 +54,8 @@
54
54
  "release:minor": "npm run build:lib && npm version minor && npm run postversioning",
55
55
  "release:major": "npm run build:lib && npm version major && npm run postversioning",
56
56
  "release:premajor": "npm run build:lib && npm version premajor && npm run postversioning",
57
- "release:prepatch": "npm run build:lib && npm version prepatch && npm run postversioning"
57
+ "release:prepatch": "npm run build:lib && npm version prepatch && npm run postversioning",
58
+ "release:prerelease": "npm run build:lib && npm version prerelease && npm run postversioning"
58
59
  },
59
60
  "eslintConfig": {
60
61
  "extends": "react-app"
@@ -56,5 +56,5 @@ export const IsPepPage = ({ next }) => {
56
56
  return (React.createElement(Form, { onSubmit: nextPage, lysaFormRef: formRef },
57
57
  React.createElement(Card, null,
58
58
  React.createElement(IsPepQuestion, { ownerName: pepContext.state.ownerName, entityType: pepContext.state.legalEntityType || EntityType.PERSON, type: pepContext.state.type, onChange: (type) => pepContext.setState({ type }) })),
59
- React.createElement(Button, { variant: "primary", label: React.createElement(FormattedMessage, { id: "pep.ispep.next" }), block: true, type: "submit" })));
59
+ React.createElement(Button, { label: React.createElement(FormattedMessage, { id: "pep.ispep.next" }), block: true, type: "submit" })));
60
60
  };
@@ -82,7 +82,7 @@ export const RelationPage = ({ next }) => {
82
82
  }, validators: [
83
83
  new RequiredValidator(intl.formatMessage(colleagueNameMessages.required)),
84
84
  ] }))) : null),
85
- React.createElement(Button, { variant: "primary", label: React.createElement(FormattedMessage, { id: "pep.relation.next" }), block: true, type: "submit" })));
85
+ React.createElement(Button, { block: true, type: "submit", label: React.createElement(FormattedMessage, { id: "pep.relation.next" }) })));
86
86
  };
87
87
  function getRelationAlternatives(intl, entityType, pepContext) {
88
88
  return [
@@ -131,7 +131,7 @@ export const RolePage = ({ language, next }) => {
131
131
  }, validators: [
132
132
  new RequiredValidator(intl.formatMessage(militaryMessages.required)),
133
133
  ] })) : null),
134
- React.createElement(Button, { variant: "primary", label: React.createElement(FormattedMessage, { id: "pep.role.next" }), block: true, type: "submit" })));
134
+ React.createElement(Button, { block: true, type: "submit", label: React.createElement(FormattedMessage, { id: "pep.role.next" }) })));
135
135
  };
136
136
  export function getRoleAlts(intl) {
137
137
  return [
@@ -73,7 +73,7 @@ export const StatusPage = ({ countryName, countryCode, language, next, }) => {
73
73
  }), validators: [
74
74
  new RequiredValidator(intl.formatMessage(countrySelectionMessages.required)),
75
75
  ], value: pepContext.state.country, omitList: [countryCode], language: language, placeholder: intl.formatMessage(countrySelectionMessages.placeholder) })) : null),
76
- React.createElement(Button, { variant: "primary", label: React.createElement(FormattedMessage, { id: "pep.status.next" }), block: true, type: "submit" }))));
76
+ React.createElement(Button, { label: React.createElement(FormattedMessage, { id: "pep.status.next" }), block: true, type: "submit" }))));
77
77
  };
78
78
  function getIsLocalCountryAlternatives(intl, countryName) {
79
79
  return [