@servicetitan/mpa-components 0.5.0 → 0.6.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/CHANGELOG.md +11 -0
- package/lib/components/settings/result-definitions-modal/row.js +3 -3
- package/lib/components/settings/result-definitions-modal/row.js.map +1 -1
- package/package.json +7 -6
- package/src/components/settings/result-definitions-modal/row.tsx +3 -3
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.6.0](https://github.com/servicetitan/marketing/compare/@servicetitan/mpa-components@0.5.0...@servicetitan/mpa-components@0.6.0) (2022-08-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **email-components:** added email components package + email template builder components ([4055179](https://github.com/servicetitan/marketing/commit/405517928f532286e0aaa3e68283a9f27c9a1e3b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [0.5.0](https://github.com/servicetitan/marketing/compare/@servicetitan/mpa-components@0.4.0...@servicetitan/mpa-components@0.5.0) (2022-08-01)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @servicetitan/mpa-components
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Grid, Text, Tag } from '@servicetitan/design-system';
|
|
3
|
-
import tokens from '@servicetitan/tokens';
|
|
3
|
+
import { core as tokens } from '@servicetitan/tokens';
|
|
4
4
|
export var RiskType;
|
|
5
5
|
(function (RiskType) {
|
|
6
6
|
RiskType[RiskType["Medium"] = 0] = "Medium";
|
|
@@ -9,8 +9,8 @@ export var RiskType;
|
|
|
9
9
|
})(RiskType || (RiskType = {}));
|
|
10
10
|
const riskTypeToColor = new Map([
|
|
11
11
|
[RiskType.Medium, 'warning'],
|
|
12
|
-
[RiskType.High, tokens.colorRed500],
|
|
13
|
-
[RiskType.VeryHigh, tokens.colorRed600],
|
|
12
|
+
[RiskType.High, tokens.default.tokens.colorRed500],
|
|
13
|
+
[RiskType.VeryHigh, tokens.default.tokens.colorRed600],
|
|
14
14
|
]);
|
|
15
15
|
const riskTypeToText = new Map([
|
|
16
16
|
[RiskType.Medium, 'Medium'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row.js","sourceRoot":"","sources":["../../../../src/components/settings/result-definitions-modal/row.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,MAAM,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"row.js","sourceRoot":"","sources":["../../../../src/components/settings/result-definitions-modal/row.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,CAAN,IAAY,QAIX;AAJD,WAAY,QAAQ;IAChB,2CAAM,CAAA;IACN,uCAAI,CAAA;IACJ,+CAAQ,CAAA;AACZ,CAAC,EAJW,QAAQ,KAAR,QAAQ,QAInB;AAED,MAAM,eAAe,GAAG,IAAI,GAAG,CAAmB;IAC9C,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;IAC5B,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC;IAClD,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC;CACzD,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,IAAI,GAAG,CAAmB;IAC7C,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC3B,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACvB,CAAC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;CACnC,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,GAAG,GAAiB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CACnE,MAAC,IAAI,kBAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAC,OAAO,iBAC/B,KAAC,IAAI,CAAC,MAAM,cACR,KAAC,IAAI,kBAAC,IAAI,EAAE,CAAC,EAAE,IAAI,sBACd,MAAM,YACJ,WACG,EACd,KAAC,IAAI,CAAC,MAAM,cACR,KAAC,GAAG,kBAAC,KAAK,EAAE,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,sBACzC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,YACvB,WACI,EACd,KAAC,IAAI,CAAC,MAAM,cACR,KAAC,IAAI,kBAAC,IAAI,EAAE,CAAC,EAAE,IAAI,sBACd,cAAc,YACZ,WACG,aACX,CACV,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/mpa-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
7
7
|
"peerDependencies": {
|
|
8
8
|
"@servicetitan/confirm": "~21.4.1",
|
|
9
|
-
"@servicetitan/design-system": "~
|
|
10
|
-
"@servicetitan/form": "~
|
|
11
|
-
"@servicetitan/
|
|
12
|
-
"@servicetitan/
|
|
9
|
+
"@servicetitan/design-system": "~12.2.1",
|
|
10
|
+
"@servicetitan/form": "~22.4.4",
|
|
11
|
+
"@servicetitan/form-state": "~22.4.4",
|
|
12
|
+
"@servicetitan/react-ioc": "~21.10.0",
|
|
13
|
+
"@servicetitan/tokens": "~12.1.11",
|
|
13
14
|
"formstate": "~2.0.0",
|
|
14
15
|
"mobx": "~6.3.2",
|
|
15
16
|
"mobx-react": "~7.2.0",
|
|
@@ -26,5 +27,5 @@
|
|
|
26
27
|
"cli": {
|
|
27
28
|
"webpack": false
|
|
28
29
|
},
|
|
29
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "ac950b6290c35e2be23627b9fff6c1eb9f222579"
|
|
30
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
|
|
3
3
|
import { Grid, Text, Tag } from '@servicetitan/design-system';
|
|
4
|
-
import tokens from '@servicetitan/tokens';
|
|
4
|
+
import { core as tokens } from '@servicetitan/tokens';
|
|
5
5
|
|
|
6
6
|
export enum RiskType {
|
|
7
7
|
Medium,
|
|
@@ -11,8 +11,8 @@ export enum RiskType {
|
|
|
11
11
|
|
|
12
12
|
const riskTypeToColor = new Map<RiskType, string>([
|
|
13
13
|
[RiskType.Medium, 'warning'],
|
|
14
|
-
[RiskType.High, tokens.colorRed500],
|
|
15
|
-
[RiskType.VeryHigh, tokens.colorRed600],
|
|
14
|
+
[RiskType.High, tokens.default.tokens.colorRed500],
|
|
15
|
+
[RiskType.VeryHigh, tokens.default.tokens.colorRed600],
|
|
16
16
|
]);
|
|
17
17
|
|
|
18
18
|
const riskTypeToText = new Map<RiskType, string>([
|