@atlaskit/section-message 8.12.8 → 8.12.9

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,13 @@
1
1
  # @atlaskit/section-message
2
2
 
3
+ ## 8.12.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7aef1e49e90ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7aef1e49e90ea) -
8
+ Removes redundant fallback color values via @atlaskit/theme
9
+ - Updated dependencies
10
+
3
11
  ## 8.12.8
4
12
 
5
13
  ### Patch Changes
@@ -12,34 +12,33 @@ var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-er
12
12
  var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
13
13
  var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
14
14
  var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
15
- var _colors = require("@atlaskit/theme/colors");
16
15
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
16
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
17
  var appearanceIconSchema = {
19
18
  information: {
20
- backgroundColor: "var(--ds-background-information, ".concat(_colors.B50, ")"),
19
+ backgroundColor: "var(--ds-background-information, #E9F2FE)",
21
20
  Icon: _statusInformation.default,
22
- primaryIconColor: "var(--ds-icon-information, ".concat(_colors.B500, ")")
21
+ primaryIconColor: "var(--ds-icon-information, #357DE8)"
23
22
  },
24
23
  warning: {
25
- backgroundColor: "var(--ds-background-warning, ".concat(_colors.Y50, ")"),
24
+ backgroundColor: "var(--ds-background-warning, #FFF5DB)",
26
25
  Icon: _statusWarning.default,
27
- primaryIconColor: "var(--ds-icon-warning, ".concat(_colors.Y500, ")")
26
+ primaryIconColor: "var(--ds-icon-warning, #E06C00)"
28
27
  },
29
28
  error: {
30
- backgroundColor: "var(--ds-background-danger, ".concat(_colors.R50, ")"),
29
+ backgroundColor: "var(--ds-background-danger, #FFECEB)",
31
30
  Icon: _statusError.default,
32
- primaryIconColor: "var(--ds-icon-danger, ".concat(_colors.R500, ")")
31
+ primaryIconColor: "var(--ds-icon-danger, #C9372C)"
33
32
  },
34
33
  success: {
35
- backgroundColor: "var(--ds-background-success, ".concat(_colors.G50, ")"),
34
+ backgroundColor: "var(--ds-background-success, #EFFFD6)",
36
35
  Icon: _statusSuccess.default,
37
- primaryIconColor: "var(--ds-icon-success, ".concat(_colors.G500, ")")
36
+ primaryIconColor: "var(--ds-icon-success, #6A9A23)"
38
37
  },
39
38
  discovery: {
40
- backgroundColor: "var(--ds-background-discovery, ".concat(_colors.P50, ")"),
39
+ backgroundColor: "var(--ds-background-discovery, #F8EEFE)",
41
40
  Icon: _statusDiscovery.default,
42
- primaryIconColor: "var(--ds-icon-discovery, ".concat(_colors.P500, ")")
41
+ primaryIconColor: "var(--ds-icon-discovery, #AF59E1)"
43
42
  }
44
43
  };
45
44
  function getAppearanceIconStyles(appearance, icon) {
@@ -4,32 +4,31 @@ import ErrorIcon from '@atlaskit/icon/core/status-error';
4
4
  import InfoIcon from '@atlaskit/icon/core/status-information';
5
5
  import SuccessIcon from '@atlaskit/icon/core/status-success';
6
6
  import WarningIcon from '@atlaskit/icon/core/status-warning';
7
- import { B50, B500, G50, G500, P50, P500, R50, R500, Y50, Y500 } from '@atlaskit/theme/colors';
8
7
  const appearanceIconSchema = {
9
8
  information: {
10
- backgroundColor: `var(--ds-background-information, ${B50})`,
9
+ backgroundColor: "var(--ds-background-information, #E9F2FE)",
11
10
  Icon: InfoIcon,
12
- primaryIconColor: `var(--ds-icon-information, ${B500})`
11
+ primaryIconColor: "var(--ds-icon-information, #357DE8)"
13
12
  },
14
13
  warning: {
15
- backgroundColor: `var(--ds-background-warning, ${Y50})`,
14
+ backgroundColor: "var(--ds-background-warning, #FFF5DB)",
16
15
  Icon: WarningIcon,
17
- primaryIconColor: `var(--ds-icon-warning, ${Y500})`
16
+ primaryIconColor: "var(--ds-icon-warning, #E06C00)"
18
17
  },
19
18
  error: {
20
- backgroundColor: `var(--ds-background-danger, ${R50})`,
19
+ backgroundColor: "var(--ds-background-danger, #FFECEB)",
21
20
  Icon: ErrorIcon,
22
- primaryIconColor: `var(--ds-icon-danger, ${R500})`
21
+ primaryIconColor: "var(--ds-icon-danger, #C9372C)"
23
22
  },
24
23
  success: {
25
- backgroundColor: `var(--ds-background-success, ${G50})`,
24
+ backgroundColor: "var(--ds-background-success, #EFFFD6)",
26
25
  Icon: SuccessIcon,
27
- primaryIconColor: `var(--ds-icon-success, ${G500})`
26
+ primaryIconColor: "var(--ds-icon-success, #6A9A23)"
28
27
  },
29
28
  discovery: {
30
- backgroundColor: `var(--ds-background-discovery, ${P50})`,
29
+ backgroundColor: "var(--ds-background-discovery, #F8EEFE)",
31
30
  Icon: StatusDiscoveryIcon,
32
- primaryIconColor: `var(--ds-icon-discovery, ${P500})`
31
+ primaryIconColor: "var(--ds-icon-discovery, #AF59E1)"
33
32
  }
34
33
  };
35
34
  export function getAppearanceIconStyles(appearance, icon) {
@@ -7,32 +7,31 @@ import ErrorIcon from '@atlaskit/icon/core/status-error';
7
7
  import InfoIcon from '@atlaskit/icon/core/status-information';
8
8
  import SuccessIcon from '@atlaskit/icon/core/status-success';
9
9
  import WarningIcon from '@atlaskit/icon/core/status-warning';
10
- import { B50, B500, G50, G500, P50, P500, R50, R500, Y50, Y500 } from '@atlaskit/theme/colors';
11
10
  var appearanceIconSchema = {
12
11
  information: {
13
- backgroundColor: "var(--ds-background-information, ".concat(B50, ")"),
12
+ backgroundColor: "var(--ds-background-information, #E9F2FE)",
14
13
  Icon: InfoIcon,
15
- primaryIconColor: "var(--ds-icon-information, ".concat(B500, ")")
14
+ primaryIconColor: "var(--ds-icon-information, #357DE8)"
16
15
  },
17
16
  warning: {
18
- backgroundColor: "var(--ds-background-warning, ".concat(Y50, ")"),
17
+ backgroundColor: "var(--ds-background-warning, #FFF5DB)",
19
18
  Icon: WarningIcon,
20
- primaryIconColor: "var(--ds-icon-warning, ".concat(Y500, ")")
19
+ primaryIconColor: "var(--ds-icon-warning, #E06C00)"
21
20
  },
22
21
  error: {
23
- backgroundColor: "var(--ds-background-danger, ".concat(R50, ")"),
22
+ backgroundColor: "var(--ds-background-danger, #FFECEB)",
24
23
  Icon: ErrorIcon,
25
- primaryIconColor: "var(--ds-icon-danger, ".concat(R500, ")")
24
+ primaryIconColor: "var(--ds-icon-danger, #C9372C)"
26
25
  },
27
26
  success: {
28
- backgroundColor: "var(--ds-background-success, ".concat(G50, ")"),
27
+ backgroundColor: "var(--ds-background-success, #EFFFD6)",
29
28
  Icon: SuccessIcon,
30
- primaryIconColor: "var(--ds-icon-success, ".concat(G500, ")")
29
+ primaryIconColor: "var(--ds-icon-success, #6A9A23)"
31
30
  },
32
31
  discovery: {
33
- backgroundColor: "var(--ds-background-discovery, ".concat(P50, ")"),
32
+ backgroundColor: "var(--ds-background-discovery, #F8EEFE)",
34
33
  Icon: StatusDiscoveryIcon,
35
- primaryIconColor: "var(--ds-icon-discovery, ".concat(P500, ")")
34
+ primaryIconColor: "var(--ds-icon-discovery, #AF59E1)"
36
35
  }
37
36
  };
38
37
  export function getAppearanceIconStyles(appearance, icon) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "8.12.8",
3
+ "version": "8.12.9",
4
4
  "description": "A section message is used to alert users to a particular section of the screen.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,12 +35,11 @@
35
35
  "@atlaskit/button": "^23.10.0",
36
36
  "@atlaskit/css": "^0.19.0",
37
37
  "@atlaskit/heading": "^5.3.0",
38
- "@atlaskit/icon": "^33.0.0",
38
+ "@atlaskit/icon": "^33.1.0",
39
39
  "@atlaskit/link": "^3.3.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/primitives": "^18.0.0",
42
- "@atlaskit/theme": "^22.0.0",
43
- "@atlaskit/tokens": "^11.1.0",
41
+ "@atlaskit/primitives": "^18.1.0",
42
+ "@atlaskit/tokens": "^11.4.0",
44
43
  "@babel/runtime": "^7.0.0"
45
44
  },
46
45
  "peerDependencies": {
@@ -50,11 +49,11 @@
50
49
  "@af/accessibility-testing": "workspace:^",
51
50
  "@af/integration-testing": "workspace:^",
52
51
  "@af/visual-regression": "workspace:^",
53
- "@atlaskit/analytics-next": "^11.1.0",
52
+ "@atlaskit/analytics-next": "^11.2.0",
54
53
  "@atlaskit/code": "^17.4.0",
55
54
  "@atlaskit/docs": "^11.7.0",
56
55
  "@atlaskit/ds-lib": "^6.0.0",
57
- "@atlaskit/form": "^15.4.0",
56
+ "@atlaskit/form": "^15.5.0",
58
57
  "@atlaskit/range": "^10.0.0",
59
58
  "@atlassian/ssr-tests": "workspace:^",
60
59
  "@atlassian/structured-docs-types": "workspace:^",