@atlaskit/panel 0.11.16 → 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,13 @@
|
|
|
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
|
+
|
|
3
11
|
## 0.11.16
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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));
|