@atlaskit/panel 0.11.15 → 0.11.17

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,19 @@
1
1
  # @atlaskit/panel
2
2
 
3
+ ## 0.11.17
4
+
5
+ ### Patch Changes
6
+
7
+ - [`23bcc5bbc9cee`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/23bcc5bbc9cee) -
8
+ Internal changes to how border radius is applied.
9
+ - Updated dependencies
10
+
11
+ ## 0.11.16
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 0.11.15
4
18
 
5
19
  ### Patch Changes
@@ -3,9 +3,9 @@
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "composite": true,
7
6
  "outDir": "../../../../../confluence/tsDist/@atlaskit__panel",
8
- "rootDir": "../"
7
+ "rootDir": "../",
8
+ "composite": true
9
9
  },
10
10
  "include": [
11
11
  "../src/**/*.ts",
@@ -45,4 +45,4 @@
45
45
  "path": "../../../design-system/tokens/afm-cc/tsconfig.json"
46
46
  }
47
47
  ]
48
- }
48
+ }
@@ -30,6 +30,6 @@ var ButtonWrapper = exports.ButtonWrapper = _styledComponents.default.div(_templ
30
30
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
31
31
  var PanelHeader = exports.PanelHeader = (0, _reactFocusWithin.withFocusWithin)(_styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n\talign-items: center;\n\tbackground-color: ", ";\n\tborder-radius: ", ";\n\tdisplay: flex;\n\tleft: ", ";\n\tmargin-bottom: ", ";\n\tmargin-top: ", ";\n\tpadding: ", " ", " ", "\n\t\t", ";\n\tposition: relative;\n\t", ";\n\twidth: 100%;\n\n\t", " {\n\t\topacity: ", ";\n\t}\n\n\t&:hover {\n\t\tbackground-color: ", ";\n\t\tcursor: pointer;\n\n\t\t", " {\n\t\t\topacity: 1;\n\t\t}\n\t}\n"])), function (props) {
32
32
  return props.isFocused && "var(--ds-surface-hovered, ".concat(_theme.colors.N20, ")");
33
- }, "var(--ds-border-radius-100, 3px)", "var(--ds-space-negative-300, -24px)", "var(--ds-space-100, 8px)", "var(--ds-space-200, 16px)", "var(--ds-space-025, 2px)", "var(--ds-space-0, 0px)", "var(--ds-space-025, 2px)", "var(--ds-space-300, 24px)", transition, ButtonWrapper, function (props) {
33
+ }, "var(--ds-radius-small, 3px)", "var(--ds-space-negative-300, -24px)", "var(--ds-space-100, 8px)", "var(--ds-space-200, 16px)", "var(--ds-space-025, 2px)", "var(--ds-space-0, 0px)", "var(--ds-space-025, 2px)", "var(--ds-space-300, 24px)", transition, ButtonWrapper, function (props) {
34
34
  return props.isFocused && 1;
35
35
  }, "var(--ds-surface-hovered, ".concat(_theme.colors.N20, ")"), ButtonWrapper));
@@ -41,7 +41,7 @@ export const ButtonWrapper = styled.div`
41
41
  export const PanelHeader = withFocusWithin(styled.div`
42
42
  align-items: center;
43
43
  background-color: ${props => props.isFocused && `var(--ds-surface-hovered, ${colors.N20})`};
44
- border-radius: ${"var(--ds-border-radius-100, 3px)"};
44
+ border-radius: ${"var(--ds-radius-small, 3px)"};
45
45
  display: flex;
46
46
  left: ${"var(--ds-space-negative-300, -24px)"};
47
47
  margin-bottom: ${"var(--ds-space-100, 8px)"};
@@ -23,6 +23,6 @@ export var ButtonWrapper = styled.div(_templateObject3 || (_templateObject3 = _t
23
23
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
24
24
  export var PanelHeader = withFocusWithin(styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n\talign-items: center;\n\tbackground-color: ", ";\n\tborder-radius: ", ";\n\tdisplay: flex;\n\tleft: ", ";\n\tmargin-bottom: ", ";\n\tmargin-top: ", ";\n\tpadding: ", " ", " ", "\n\t\t", ";\n\tposition: relative;\n\t", ";\n\twidth: 100%;\n\n\t", " {\n\t\topacity: ", ";\n\t}\n\n\t&:hover {\n\t\tbackground-color: ", ";\n\t\tcursor: pointer;\n\n\t\t", " {\n\t\t\topacity: 1;\n\t\t}\n\t}\n"])), function (props) {
25
25
  return props.isFocused && "var(--ds-surface-hovered, ".concat(colors.N20, ")");
26
- }, "var(--ds-border-radius-100, 3px)", "var(--ds-space-negative-300, -24px)", "var(--ds-space-100, 8px)", "var(--ds-space-200, 16px)", "var(--ds-space-025, 2px)", "var(--ds-space-0, 0px)", "var(--ds-space-025, 2px)", "var(--ds-space-300, 24px)", transition, ButtonWrapper, function (props) {
26
+ }, "var(--ds-radius-small, 3px)", "var(--ds-space-negative-300, -24px)", "var(--ds-space-100, 8px)", "var(--ds-space-200, 16px)", "var(--ds-space-025, 2px)", "var(--ds-space-0, 0px)", "var(--ds-space-025, 2px)", "var(--ds-space-300, 24px)", transition, ButtonWrapper, function (props) {
27
27
  return props.isFocused && 1;
28
28
  }, "var(--ds-surface-hovered, ".concat(colors.N20, ")"), ButtonWrapper));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/panel",
3
- "version": "0.11.15",
3
+ "version": "0.11.17",
4
4
  "description": "A React component rendering a collapsible panel",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,12 +32,12 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/button": "^23.4.0",
35
- "@atlaskit/icon": "^28.0.0",
35
+ "@atlaskit/icon": "^28.1.0",
36
36
  "@atlaskit/link": "^3.2.0",
37
37
  "@atlaskit/platform-feature-flags": "^1.1.0",
38
- "@atlaskit/primitives": "^14.11.0",
39
- "@atlaskit/theme": "^19.0.0",
40
- "@atlaskit/tokens": "^6.0.0",
38
+ "@atlaskit/primitives": "^14.12.0",
39
+ "@atlaskit/theme": "^20.0.0",
40
+ "@atlaskit/tokens": "^6.1.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "react-animate-height": "^2.1.0",
43
43
  "react-focus-within": "^2.0.1",