carbon-addons-iot-react 4.2.2 → 4.2.4
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/css/carbon-addons-iot-react.css +7 -3
- package/css/carbon-addons-iot-react.css.map +1 -1
- package/es/components/DashboardEditor/DashboardEditorHeader/DashboardEditorHeader.js +1 -2
- package/lib/components/DashboardEditor/DashboardEditorHeader/DashboardEditorHeader.js +4 -5
- package/lib/css/carbon-addons-iot-react.css +7 -3
- package/lib/css/carbon-addons-iot-react.css.map +1 -1
- package/lib/scss/components/ComboBox/_combo-box.scss +1 -0
- package/lib/scss/components/PageTitleBar/_page-title-bar.scss +5 -0
- package/lib/scss/components/SideNav/_side-nav.scss +1 -0
- package/lib/scss/components/SuiteHeader/_suite-header.scss +2 -0
- package/package.json +2 -2
- package/scss/components/ComboBox/_combo-box.scss +1 -0
- package/scss/components/PageTitleBar/_page-title-bar.scss +5 -0
- package/scss/components/SideNav/_side-nav.scss +1 -0
- package/scss/components/SuiteHeader/_suite-header.scss +2 -0
- package/umd/carbon-addons-iot-react.js +4 -4
|
@@ -10,10 +10,9 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
|
10
10
|
import isEmpty from '../../../node_modules/lodash-es/isEmpty.js';
|
|
11
11
|
import React__default, { useState, useMemo, useCallback } from 'react';
|
|
12
12
|
import PropTypes from 'prop-types';
|
|
13
|
-
import { ContentSwitcher, FileUploaderButton, Tooltip, TextInput } from '@carbon/react';
|
|
13
|
+
import { ContentSwitcher, IconSwitch, FileUploaderButton, Tooltip, TextInput } from '@carbon/react';
|
|
14
14
|
import { settings } from '../../../constants/Settings.js';
|
|
15
15
|
import Button from '../../Button/Button.js';
|
|
16
|
-
import IconSwitch from '../../IconSwitch/IconSwitch.js';
|
|
17
16
|
import PageTitleBar from '../../PageTitleBar/PageTitleBar.js';
|
|
18
17
|
import { Maximize, Screen, Laptop, Tablet, DocumentImport, DocumentExport, TrashCan } from '@carbon/icons-react';
|
|
19
18
|
|
|
@@ -15,7 +15,6 @@ var PropTypes = require('prop-types');
|
|
|
15
15
|
var react = require('@carbon/react');
|
|
16
16
|
var Settings = require('../../../constants/Settings.js');
|
|
17
17
|
var Button = require('../../Button/Button.js');
|
|
18
|
-
var IconSwitch = require('../../IconSwitch/IconSwitch.js');
|
|
19
18
|
var PageTitleBar = require('../../PageTitleBar/PageTitleBar.js');
|
|
20
19
|
var iconsReact = require('@carbon/icons-react');
|
|
21
20
|
|
|
@@ -162,28 +161,28 @@ var DashboardEditorHeader = function DashboardEditorHeader(_ref) {
|
|
|
162
161
|
selectedIndex: selectedBreakpointIndex,
|
|
163
162
|
className: "".concat(baseClassName, "--bottom__switcher"),
|
|
164
163
|
"data-testid": "".concat(testId, "-breakpoint-switcher")
|
|
165
|
-
}, /*#__PURE__*/React__default.default.createElement(IconSwitch
|
|
164
|
+
}, /*#__PURE__*/React__default.default.createElement(react.IconSwitch, {
|
|
166
165
|
name: "fit-to-screen",
|
|
167
166
|
text: mergedI18n.headerFitToScreenButton,
|
|
168
167
|
renderIcon: iconsReact.Maximize,
|
|
169
168
|
index: 0,
|
|
170
169
|
testId: "".concat(testId, "-fit-to-screen-switch"),
|
|
171
170
|
tooltipPosition: "bottom"
|
|
172
|
-
}), /*#__PURE__*/React__default.default.createElement(IconSwitch
|
|
171
|
+
}), /*#__PURE__*/React__default.default.createElement(react.IconSwitch, {
|
|
173
172
|
name: "large",
|
|
174
173
|
text: mergedI18n.headerLargeButton,
|
|
175
174
|
renderIcon: iconsReact.Screen,
|
|
176
175
|
index: 1,
|
|
177
176
|
testId: "".concat(testId, "-large-switch"),
|
|
178
177
|
tooltipPosition: "bottom"
|
|
179
|
-
}), /*#__PURE__*/React__default.default.createElement(IconSwitch
|
|
178
|
+
}), /*#__PURE__*/React__default.default.createElement(react.IconSwitch, {
|
|
180
179
|
name: "medium",
|
|
181
180
|
text: mergedI18n.headerMediumButton,
|
|
182
181
|
renderIcon: iconsReact.Laptop,
|
|
183
182
|
index: 2,
|
|
184
183
|
testId: "".concat(testId, "-medium-switch"),
|
|
185
184
|
tooltipPosition: "bottom"
|
|
186
|
-
}), /*#__PURE__*/React__default.default.createElement(IconSwitch
|
|
185
|
+
}), /*#__PURE__*/React__default.default.createElement(react.IconSwitch, {
|
|
187
186
|
name: "small",
|
|
188
187
|
text: mergedI18n.headerSmallButton,
|
|
189
188
|
renderIcon: iconsReact.Tablet,
|
|
@@ -31288,6 +31288,10 @@ html[dir=rtl] .cds--number .cds--number__controls {
|
|
|
31288
31288
|
padding-right: unset;
|
|
31289
31289
|
padding-left: 2rem;
|
|
31290
31290
|
}
|
|
31291
|
+
.page-title-bar-header-right .cds--content-switcher-btn,
|
|
31292
|
+
.page-title-bar-header-right .cds--content-switcher .cds--btn--primary {
|
|
31293
|
+
margin-left: 0;
|
|
31294
|
+
}
|
|
31291
31295
|
.page-title-bar-header-right .cds--btn--primary {
|
|
31292
31296
|
margin-left: 0.5rem;
|
|
31293
31297
|
}
|
|
@@ -34730,7 +34734,7 @@ html[dir=rtl] .iot--side-nav .cds--side-nav__item.cds--side-nav__item--icon .cds
|
|
|
34730
34734
|
.iot--side-nav .cds--search {
|
|
34731
34735
|
min-width: 5rem;
|
|
34732
34736
|
margin-bottom: -1rem;
|
|
34733
|
-
z-index:
|
|
34737
|
+
z-index: 6000;
|
|
34734
34738
|
}
|
|
34735
34739
|
.iot--side-nav .cds--search-input,
|
|
34736
34740
|
.iot--side-nav .cds--search-close:hover {
|
|
@@ -34906,7 +34910,7 @@ html[dir=rtl] .iot--side-nav__item--depth-3 .cds--side-nav__link-text {
|
|
|
34906
34910
|
}
|
|
34907
34911
|
|
|
34908
34912
|
.cds--side-nav__overlay-active {
|
|
34909
|
-
z-index:
|
|
34913
|
+
z-index: 6000;
|
|
34910
34914
|
}
|
|
34911
34915
|
|
|
34912
34916
|
.iot-simple-pagination-container {
|
|
@@ -35025,7 +35029,7 @@ html[dir=rtl] .iot--side-nav__item--depth-3 .cds--side-nav__link-text {
|
|
|
35025
35029
|
right: 0;
|
|
35026
35030
|
max-width: 26.5625rem;
|
|
35027
35031
|
width: auto;
|
|
35028
|
-
z-index:
|
|
35032
|
+
z-index: 6000;
|
|
35029
35033
|
margin-inline: 0 1rem;
|
|
35030
35034
|
margin-block: 1rem 0.5rem;
|
|
35031
35035
|
}
|