@atlaskit/section-message 6.1.8 → 6.1.11

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,25 @@
1
1
  # @atlaskit/section-message
2
2
 
3
+ ## 6.1.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
8
+ - Updated dependencies
9
+
10
+ ## 6.1.10
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
16
+ ## 6.1.9
17
+
18
+ ### Patch Changes
19
+
20
+ - [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
21
+ - Updated dependencies
22
+
3
23
  ## 6.1.8
4
24
 
5
25
  ### Patch Changes
@@ -28,9 +28,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
28
28
 
29
29
  var appearanceIconSchema = {
30
30
  information: {
31
- backgroundColor: "var(--ds-background-brand, ".concat(_colors.B50, ")"),
31
+ backgroundColor: "var(--ds-background-information, ".concat(_colors.B50, ")"),
32
32
  Icon: _info.default,
33
- primaryIconColor: "var(--ds-icon-brand, ".concat(_colors.B500, ")")
33
+ primaryIconColor: "var(--ds-icon-information, ".concat(_colors.B500, ")")
34
34
  },
35
35
  warning: {
36
36
  backgroundColor: "var(--ds-background-warning, ".concat(_colors.Y50, ")"),
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.1.8",
3
+ "version": "6.1.11",
4
4
  "sideEffects": false
5
5
  }
@@ -6,9 +6,9 @@ import WarningIcon from '@atlaskit/icon/glyph/warning';
6
6
  import { B50, B500, G50, G500, P50, P500, R50, R500, Y50, Y500 } from '@atlaskit/theme/colors';
7
7
  export const appearanceIconSchema = {
8
8
  information: {
9
- backgroundColor: `var(--ds-background-brand, ${B50})`,
9
+ backgroundColor: `var(--ds-background-information, ${B50})`,
10
10
  Icon: InfoIcon,
11
- primaryIconColor: `var(--ds-icon-brand, ${B500})`
11
+ primaryIconColor: `var(--ds-icon-information, ${B500})`
12
12
  },
13
13
  warning: {
14
14
  backgroundColor: `var(--ds-background-warning, ${Y50})`,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.1.8",
3
+ "version": "6.1.11",
4
4
  "sideEffects": false
5
5
  }
@@ -12,9 +12,9 @@ import WarningIcon from '@atlaskit/icon/glyph/warning';
12
12
  import { B50, B500, G50, G500, P50, P500, R50, R500, Y50, Y500 } from '@atlaskit/theme/colors';
13
13
  export var appearanceIconSchema = {
14
14
  information: {
15
- backgroundColor: "var(--ds-background-brand, ".concat(B50, ")"),
15
+ backgroundColor: "var(--ds-background-information, ".concat(B50, ")"),
16
16
  Icon: InfoIcon,
17
- primaryIconColor: "var(--ds-icon-brand, ".concat(B500, ")")
17
+ primaryIconColor: "var(--ds-icon-information, ".concat(B500, ")")
18
18
  },
19
19
  warning: {
20
20
  backgroundColor: "var(--ds-background-warning, ".concat(Y50, ")"),
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.1.8",
3
+ "version": "6.1.11",
4
4
  "sideEffects": false
5
5
  }
@@ -9,7 +9,7 @@ export declare const appearanceIconSchema: {
9
9
  [key in Appearance]: AppearanceIconSchema;
10
10
  };
11
11
  export declare function getAppearanceIconStyles(appearance: Appearance, icon: SectionMessageProps['icon']): {
12
- Icon: import("react").ElementType<any>;
12
+ Icon: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any>;
13
13
  backgroundColor: string;
14
14
  primaryIconColor: string;
15
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.1.8",
3
+ "version": "6.1.11",
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/"
@@ -28,11 +28,11 @@
28
28
  ".": "./src/index.ts"
29
29
  },
30
30
  "dependencies": {
31
- "@atlaskit/button": "^16.2.0",
32
- "@atlaskit/codemod-utils": "^3.4.0",
31
+ "@atlaskit/button": "^16.3.0",
32
+ "@atlaskit/codemod-utils": "^4.0.0",
33
33
  "@atlaskit/icon": "^21.10.0",
34
34
  "@atlaskit/theme": "^12.1.0",
35
- "@atlaskit/tokens": "^0.7.0",
35
+ "@atlaskit/tokens": "^0.9.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@emotion/core": "^10.0.9"
38
38
  },
@@ -55,7 +55,7 @@
55
55
  "react-dom": "^16.8.0",
56
56
  "react-test-renderer": "^16.8.0",
57
57
  "storybook-addon-performance": "^0.16.0",
58
- "typescript": "3.9.6"
58
+ "typescript": "4.2.4"
59
59
  },
60
60
  "techstack": {
61
61
  "@atlassian/frontend": {