@manuscripts/style-guide 0.31.27 → 0.31.28

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.
@@ -143,6 +143,8 @@ exports.NoteBodyContainer = styled_components_1.default.div `
143
143
  ${(props) => borderStyle(props.theme.colors.border.secondary)};
144
144
  ${(props) => (props.isNew || props.isSelected) &&
145
145
  borderStyle(props.theme.colors.border.primary)}
146
+ ${(props) => props.isSelected &&
147
+ `background: ${props.theme.colors.background.selected};`}
146
148
 
147
149
  .tooltip {
148
150
  border-radius: 6px;
@@ -118,6 +118,8 @@ export const NoteBodyContainer = styled.div `
118
118
  ${(props) => borderStyle(props.theme.colors.border.secondary)};
119
119
  ${(props) => (props.isNew || props.isSelected) &&
120
120
  borderStyle(props.theme.colors.border.primary)}
121
+ ${(props) => props.isSelected &&
122
+ `background: ${props.theme.colors.background.selected};`}
121
123
 
122
124
  .tooltip {
123
125
  border-radius: 6px;
@@ -75,6 +75,7 @@ interface Variations {
75
75
  }
76
76
  interface Background {
77
77
  dark: string;
78
+ selected: string;
78
79
  }
79
80
  interface Border {
80
81
  field: States;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/style-guide",
3
3
  "description": "Shared components for Manuscripts applications",
4
- "version": "0.31.27",
4
+ "version": "0.31.28",
5
5
  "repository": "gitlab:atypon-opensource/manuscripts-style-guide",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",