@manuscripts/style-guide 2.0.8-LEAN-3902.0 → 2.0.8-LEAN-3902.1
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.
|
@@ -19,7 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
exports.InspectorTabPanelHeading = exports.InspectorTab = exports.InspectorTabPanel = exports.PaddedInspectorTabPanels = exports.InspectorTabPanels = exports.InspectorPanelTabList = exports.InspectorTabList = exports.InspectorTabs = exports.InspectorContainer = void 0;
|
|
22
|
-
const
|
|
22
|
+
const tabs_1 = require("@chakra-ui/tabs");
|
|
23
23
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
24
24
|
exports.InspectorContainer = styled_components_1.default.div `
|
|
25
25
|
border-left: 1px solid ${(props) => props.theme.colors.border.tertiary};
|
|
@@ -30,13 +30,13 @@ exports.InspectorContainer = styled_components_1.default.div `
|
|
|
30
30
|
height: 100%;
|
|
31
31
|
overflow: hidden;
|
|
32
32
|
`;
|
|
33
|
-
exports.InspectorTabs = (0, styled_components_1.default)(
|
|
33
|
+
exports.InspectorTabs = (0, styled_components_1.default)(tabs_1.Tabs) `
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
height: 100%;
|
|
37
37
|
overflow: hidden;
|
|
38
38
|
`;
|
|
39
|
-
exports.InspectorTabList = (0, styled_components_1.default)(
|
|
39
|
+
exports.InspectorTabList = (0, styled_components_1.default)(tabs_1.TabList) `
|
|
40
40
|
&& {
|
|
41
41
|
background: none;
|
|
42
42
|
justify-content: center;
|
|
@@ -48,21 +48,21 @@ exports.InspectorTabList = (0, styled_components_1.default)(react_1.TabList) `
|
|
|
48
48
|
exports.InspectorPanelTabList = (0, styled_components_1.default)(exports.InspectorTabList) `
|
|
49
49
|
margin-bottom: ${(props) => props.theme.grid.unit * 4}px;
|
|
50
50
|
`;
|
|
51
|
-
exports.InspectorTabPanels = (0, styled_components_1.default)(
|
|
51
|
+
exports.InspectorTabPanels = (0, styled_components_1.default)(tabs_1.TabPanels) `
|
|
52
52
|
flex: 1;
|
|
53
53
|
overflow-y: auto;
|
|
54
54
|
`;
|
|
55
55
|
exports.PaddedInspectorTabPanels = (0, styled_components_1.default)(exports.InspectorTabPanels) `
|
|
56
56
|
padding-bottom: 64px; // allow space for chat button
|
|
57
57
|
`;
|
|
58
|
-
exports.InspectorTabPanel = (0, styled_components_1.default)(
|
|
58
|
+
exports.InspectorTabPanel = (0, styled_components_1.default)(tabs_1.TabPanel) `
|
|
59
59
|
font-size: ${(props) => props.theme.font.size.normal};
|
|
60
60
|
color: ${(props) => props.theme.colors.text.secondary};
|
|
61
61
|
&:focus {
|
|
62
62
|
outline: none;
|
|
63
63
|
}
|
|
64
64
|
`;
|
|
65
|
-
exports.InspectorTab = (0, styled_components_1.default)(
|
|
65
|
+
exports.InspectorTab = (0, styled_components_1.default)(tabs_1.Tab) `
|
|
66
66
|
&& {
|
|
67
67
|
font-family: inherit;
|
|
68
68
|
background: none;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { Tab, TabList, TabPanel, TabPanels, Tabs } from '@chakra-ui/
|
|
16
|
+
import { Tab, TabList, TabPanel, TabPanels, Tabs } from '@chakra-ui/tabs';
|
|
17
17
|
import styled from 'styled-components';
|
|
18
18
|
export const InspectorContainer = styled.div `
|
|
19
19
|
border-left: 1px solid ${(props) => props.theme.colors.border.tertiary};
|
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": "2.0.8-LEAN-3902.
|
|
4
|
+
"version": "2.0.8-LEAN-3902.1",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-style-guide",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|