@manuscripts/style-guide 1.1.16-LEAN-2669-v7 → 1.1.16-LEAN-2669-v8

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.
@@ -83,6 +83,11 @@ const FileReference = ({ attachment, handleReplace, handleDownload, handleUpdate
83
83
  attachment.modelId &&
84
84
  handleDetachFile(attachment.id, attachment.modelId), downloadAttachmentHandler: handleDownload, attachmentId: attachment.id, fileName: attachment.name, publicUrl: attachment.link, hideActionList: toggleOpen, dispatch: dispatch, dropDownClassName: 'ref_item_dropdown' }))))));
85
85
  };
86
+ exports.FileDateContainer = styled_components_1.default.div `
87
+ line-height: 40px;
88
+ overflow: hidden;
89
+ display: none;
90
+ `;
86
91
  const ElementItem = (0, styled_components_1.default)(FileSectionItem_1.Item) `
87
92
  display: flex;
88
93
  // this will allow us to select the previous sibling node,
@@ -97,6 +102,9 @@ const ElementItem = (0, styled_components_1.default)(FileSectionItem_1.Item) `
97
102
  .refItems:hover ~ .element {
98
103
  background: white !important;
99
104
  }
105
+ &:hover ${exports.FileDateContainer} {
106
+ display: flex;
107
+ }
100
108
 
101
109
  .refItems:hover {
102
110
  background: white !important;
@@ -111,18 +119,9 @@ const ElementItem = (0, styled_components_1.default)(FileSectionItem_1.Item) `
111
119
  const Container = styled_components_1.default.div `
112
120
  display: flex;
113
121
  `;
114
- exports.FileDateContainer = styled_components_1.default.div `
115
- line-height: 40px;
116
- overflow: hidden;
117
- display: none;
118
- `;
119
122
  const Element = styled_components_1.default.div `
120
123
  display: flex;
121
124
  padding: 20px 15px;
122
-
123
- &:hover ${exports.FileDateContainer} {
124
- display: flex;
125
- }
126
125
  `;
127
126
  const FileReferences = styled_components_1.default.div `
128
127
  display: flex;
@@ -53,6 +53,11 @@ const FileReference = ({ attachment, handleReplace, handleDownload, handleUpdate
53
53
  attachment.modelId &&
54
54
  handleDetachFile(attachment.id, attachment.modelId), downloadAttachmentHandler: handleDownload, attachmentId: attachment.id, fileName: attachment.name, publicUrl: attachment.link, hideActionList: toggleOpen, dispatch: dispatch, dropDownClassName: 'ref_item_dropdown' }))))));
55
55
  };
56
+ export const FileDateContainer = styled.div `
57
+ line-height: 40px;
58
+ overflow: hidden;
59
+ display: none;
60
+ `;
56
61
  const ElementItem = styled(Item) `
57
62
  display: flex;
58
63
  // this will allow us to select the previous sibling node,
@@ -67,6 +72,9 @@ const ElementItem = styled(Item) `
67
72
  .refItems:hover ~ .element {
68
73
  background: white !important;
69
74
  }
75
+ &:hover ${FileDateContainer} {
76
+ display: flex;
77
+ }
70
78
 
71
79
  .refItems:hover {
72
80
  background: white !important;
@@ -81,18 +89,9 @@ const ElementItem = styled(Item) `
81
89
  const Container = styled.div `
82
90
  display: flex;
83
91
  `;
84
- export const FileDateContainer = styled.div `
85
- line-height: 40px;
86
- overflow: hidden;
87
- display: none;
88
- `;
89
92
  const Element = styled.div `
90
93
  display: flex;
91
94
  padding: 20px 15px;
92
-
93
- &:hover ${FileDateContainer} {
94
- display: flex;
95
- }
96
95
  `;
97
96
  const FileReferences = styled.div `
98
97
  display: flex;
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": "1.1.16-LEAN-2669-v7",
4
+ "version": "1.1.16-LEAN-2669-v8",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-style-guide",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",