@atlaskit/help 9.1.18 → 9.1.19

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/help
2
2
 
3
+ ## 9.1.19
4
+
5
+ ### Patch Changes
6
+
7
+ - [`717cc94987686`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/717cc94987686) -
8
+ Internal changes to how borders are applied.
9
+ - Updated dependencies
10
+
3
11
  ## 9.1.18
4
12
 
5
13
  ### Patch Changes
@@ -19,7 +19,7 @@ var listStyles = (0, _primitives.xcss)({
19
19
  var getStyles = function getStyles(style) {
20
20
  if (style === 'secondary') {
21
21
  return {
22
- border: "2px solid ".concat("var(--ds-border, ".concat(_colors.N30, ")")),
22
+ border: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N30, ")")),
23
23
  padding: "var(--ds-space-200, 16px)",
24
24
  marginBottom: "var(--ds-space-150, 12px)"
25
25
  };
@@ -162,7 +162,7 @@ var navigationReducer = function navigationReducer(_ref3, action) {
162
162
  newState = {
163
163
  articleId: currentArticleId,
164
164
  history: [].concat((0, _toConsumableArray2.default)(currentHistory), [getNewHistoryItem(_newArticleId.id, _newArticleId.type, _newArticleId.contentAri)]),
165
- view: getViewForArticleId(currentArticleId)
165
+ view: getViewForArticleId(_newArticleId)
166
166
  };
167
167
  } else if (action.type === 'updateHistoryItem' && action.payload) {
168
168
  var HistoryItemUpdate = action.payload;
@@ -1,7 +1,7 @@
1
1
 
2
2
  ._qtt8glyw{list-style:none}
3
3
  ._v5641tic{transition:var(--_m9bkgq)}
4
- ._x3do3yx5{border-top:var(--_1it2dty)}._16jlkb7n{flex-grow:1}
4
+ ._x3do1fvz{border-top:var(--_b3fex0)}._16jlkb7n{flex-grow:1}
5
5
  ._18m91wug{overflow-y:auto}
6
6
  ._18u0idpf{margin-left:0}
7
7
  ._19bvidpf{padding-left:0}
@@ -68,10 +68,10 @@ var HelpFooter = exports.HelpFooter = function HelpFooter(_ref6) {
68
68
  var children = _ref6.children,
69
69
  rest = (0, _objectWithoutProperties2.default)(_ref6, _excluded);
70
70
  return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, rest, {
71
- className: (0, _runtime.ax)(["_x3do3yx5 _ca0qu2gc _u5f3idpf _n3tdu2gc _19bvidpf _vchhusvi _1bsb1osq _bfhk1v7z _1bah1yb4"]),
71
+ className: (0, _runtime.ax)(["_x3do1fvz _ca0qu2gc _u5f3idpf _n3tdu2gc _19bvidpf _vchhusvi _1bsb1osq _bfhk1v7z _1bah1yb4"]),
72
72
  style: {
73
73
  "--_1xglsrh": (0, _runtime.ix)("var(--ds-background-neutral, ".concat(_colors.N10, ")")),
74
- "--_1it2dty": (0, _runtime.ix)("var(--ds-space-025, 2px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N30, ")")))
74
+ "--_b3fex0": (0, _runtime.ix)("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N30, ")")))
75
75
  }
76
76
  }), children);
77
77
  };
@@ -1,6 +1,5 @@
1
1
 
2
- ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
3
- ._2rkoyh40{border-radius:2px}._100gwk75>img{height:var(--_ys364u)}
2
+ ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}._100gwk75>img{height:var(--_ys364u)}
4
3
  ._12vemgnk{background-repeat:no-repeat}
5
4
  ._15jg1osq>img>svg{height:100%}
6
5
  ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
@@ -86,7 +86,7 @@ var WhatsNewTypeIcon = exports.WhatsNewTypeIcon = function WhatsNewTypeIcon(_ref
86
86
  }
87
87
  }, [type]);
88
88
  return /*#__PURE__*/_react.default.createElement("div", {
89
- className: (0, _runtime.ax)(["_2rkoyh40 _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1xwk75 _100gwk75 _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"]),
89
+ className: (0, _runtime.ax)(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1xwk75 _100gwk75 _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"]),
90
90
  style: {
91
91
  backgroundColor: backgroundColor,
92
92
  "--_ys364u": (0, _runtime.ix)("calc(100% - ".concat("var(--ds-space-050, 4px)", ")"))
@@ -11,7 +11,7 @@ const listStyles = xcss({
11
11
  const getStyles = style => {
12
12
  if (style === 'secondary') {
13
13
  return {
14
- border: `2px solid ${`var(--ds-border, ${N30})`}`,
14
+ border: `${"var(--ds-border-width-selected, 2px)"} solid ${`var(--ds-border, ${N30})`}`,
15
15
  padding: "var(--ds-space-200, 16px)",
16
16
  marginBottom: "var(--ds-space-150, 12px)"
17
17
  };
@@ -146,7 +146,7 @@ const navigationReducer = ({
146
146
  newState = {
147
147
  articleId: currentArticleId,
148
148
  history: [...currentHistory, getNewHistoryItem(newArticleId.id, newArticleId.type, newArticleId.contentAri)],
149
- view: getViewForArticleId(currentArticleId)
149
+ view: getViewForArticleId(newArticleId)
150
150
  };
151
151
  } else if (action.type === 'updateHistoryItem' && action.payload) {
152
152
  const {
@@ -1,7 +1,7 @@
1
1
 
2
2
  ._qtt8glyw{list-style:none}
3
3
  ._v5641kd4{transition:left .22s,opacity .22s}
4
- ._x3domfkj{border-top:var(--ds-space-025,2px) solid var(--ds-border,#ebecf0)}._16jlkb7n{flex-grow:1}
4
+ ._x3do1mqz{border-top:var(--ds-border-width-selected,2px) solid var(--ds-border,#ebecf0)}._16jlkb7n{flex-grow:1}
5
5
  ._18m91wug{overflow-y:auto}
6
6
  ._18u0idpf{margin-left:0}
7
7
  ._19bvidpf{padding-left:0}
@@ -51,7 +51,7 @@ export const HelpFooter = ({
51
51
  children,
52
52
  ...rest
53
53
  }) => /*#__PURE__*/React.createElement("div", _extends({}, rest, {
54
- className: ax(["_x3domfkj _ca0qu2gc _u5f3idpf _n3tdu2gc _19bvidpf _vchhusvi _1bsb1osq _bfhk1gi7 _1bah1yb4"])
54
+ className: ax(["_x3do1mqz _ca0qu2gc _u5f3idpf _n3tdu2gc _19bvidpf _vchhusvi _1bsb1osq _bfhk1gi7 _1bah1yb4"])
55
55
  }), children);
56
56
  export const BACK_BUTTON_CONTAINER_TRANSITION_DURATION_MS = 220;
57
57
  const backButtonContainerStyles = null;
@@ -1,6 +1,5 @@
1
1
 
2
- ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
3
- ._2rkoyh40{border-radius:2px}._100g1wgc>img{height:calc(100% - var(--ds-space-050, 4px))}
2
+ ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}._100g1wgc>img{height:calc(100% - var(--ds-space-050, 4px))}
4
3
  ._12vemgnk{background-repeat:no-repeat}
5
4
  ._15jg1osq>img>svg{height:100%}
6
5
  ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
@@ -64,6 +64,6 @@ export const WhatsNewTypeIcon = ({
64
64
  style: {
65
65
  backgroundColor
66
66
  },
67
- className: ax(["_2rkoyh40 _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1x1wgc _100g1wgc _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"])
67
+ className: ax(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1x1wgc _100g1wgc _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"])
68
68
  }, children);
69
69
  };
@@ -11,7 +11,7 @@ var listStyles = xcss({
11
11
  var getStyles = function getStyles(style) {
12
12
  if (style === 'secondary') {
13
13
  return {
14
- border: "2px solid ".concat("var(--ds-border, ".concat(N30, ")")),
14
+ border: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")),
15
15
  padding: "var(--ds-space-200, 16px)",
16
16
  marginBottom: "var(--ds-space-150, 12px)"
17
17
  };
@@ -154,7 +154,7 @@ var navigationReducer = function navigationReducer(_ref3, action) {
154
154
  newState = {
155
155
  articleId: currentArticleId,
156
156
  history: [].concat(_toConsumableArray(currentHistory), [getNewHistoryItem(_newArticleId.id, _newArticleId.type, _newArticleId.contentAri)]),
157
- view: getViewForArticleId(currentArticleId)
157
+ view: getViewForArticleId(_newArticleId)
158
158
  };
159
159
  } else if (action.type === 'updateHistoryItem' && action.payload) {
160
160
  var HistoryItemUpdate = action.payload;
@@ -1,7 +1,7 @@
1
1
 
2
2
  ._qtt8glyw{list-style:none}
3
3
  ._v5641tic{transition:var(--_m9bkgq)}
4
- ._x3do3yx5{border-top:var(--_1it2dty)}._16jlkb7n{flex-grow:1}
4
+ ._x3do1fvz{border-top:var(--_b3fex0)}._16jlkb7n{flex-grow:1}
5
5
  ._18m91wug{overflow-y:auto}
6
6
  ._18u0idpf{margin-left:0}
7
7
  ._19bvidpf{padding-left:0}
@@ -61,10 +61,10 @@ export var HelpFooter = function HelpFooter(_ref6) {
61
61
  var children = _ref6.children,
62
62
  rest = _objectWithoutProperties(_ref6, _excluded);
63
63
  return /*#__PURE__*/React.createElement("div", _extends({}, rest, {
64
- className: ax(["_x3do3yx5 _ca0qu2gc _u5f3idpf _n3tdu2gc _19bvidpf _vchhusvi _1bsb1osq _bfhk1v7z _1bah1yb4"]),
64
+ className: ax(["_x3do1fvz _ca0qu2gc _u5f3idpf _n3tdu2gc _19bvidpf _vchhusvi _1bsb1osq _bfhk1v7z _1bah1yb4"]),
65
65
  style: {
66
66
  "--_1xglsrh": ix("var(--ds-background-neutral, ".concat(N10, ")")),
67
- "--_1it2dty": ix("var(--ds-space-025, 2px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")))
67
+ "--_b3fex0": ix("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")))
68
68
  }
69
69
  }), children);
70
70
  };
@@ -1,6 +1,5 @@
1
1
 
2
- ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
3
- ._2rkoyh40{border-radius:2px}._100gwk75>img{height:var(--_ys364u)}
2
+ ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}._100gwk75>img{height:var(--_ys364u)}
4
3
  ._12vemgnk{background-repeat:no-repeat}
5
4
  ._15jg1osq>img>svg{height:100%}
6
5
  ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
@@ -77,7 +77,7 @@ export var WhatsNewTypeIcon = function WhatsNewTypeIcon(_ref3) {
77
77
  }
78
78
  }, [type]);
79
79
  return /*#__PURE__*/React.createElement("div", {
80
- className: ax(["_2rkoyh40 _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1xwk75 _100gwk75 _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"]),
80
+ className: ax(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1xwk75 _100gwk75 _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"]),
81
81
  style: {
82
82
  backgroundColor: backgroundColor,
83
83
  "--_ys364u": ix("calc(100% - ".concat("var(--ds-space-050, 4px)", ")"))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help",
3
- "version": "9.1.18",
3
+ "version": "9.1.19",
4
4
  "description": "A cross-product help component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,11 +24,6 @@
24
24
  "**/*.compiled.css"
25
25
  ],
26
26
  "atlaskit:src": "src/index.ts",
27
- "af:exports": {
28
- ".": "./src/index.ts",
29
- "./analytics": "./src/analytics.ts",
30
- "./messages": "./src/messages.ts"
31
- },
32
27
  "atlassian": {
33
28
  "team": "Self-Help Experiences",
34
29
  "website": {
@@ -39,11 +34,11 @@
39
34
  "@atlaskit/analytics-next": "^11.1.0",
40
35
  "@atlaskit/button": "^23.4.0",
41
36
  "@atlaskit/checkbox": "^17.1.0",
42
- "@atlaskit/form": "^12.5.0",
37
+ "@atlaskit/form": "^12.6.0",
43
38
  "@atlaskit/heading": "^5.2.0",
44
39
  "@atlaskit/help-article": "^6.0.0",
45
40
  "@atlaskit/help-layout": "^6.3.0",
46
- "@atlaskit/icon": "^28.1.0",
41
+ "@atlaskit/icon": "^28.2.0",
47
42
  "@atlaskit/legacy-custom-icons": "^0.22.0",
48
43
  "@atlaskit/notification-indicator": "^10.0.0",
49
44
  "@atlaskit/notification-log-client": "^6.2.0",
@@ -51,7 +46,7 @@
51
46
  "@atlaskit/primitives": "^14.14.0",
52
47
  "@atlaskit/radio": "^8.3.0",
53
48
  "@atlaskit/section-message": "^8.7.0",
54
- "@atlaskit/select": "^21.2.0",
49
+ "@atlaskit/select": "^21.3.0",
55
50
  "@atlaskit/spinner": "^19.0.0",
56
51
  "@atlaskit/textarea": "^8.0.0",
57
52
  "@atlaskit/textfield": "^8.0.0",