@rio-cloud/rio-uikit 0.16.1-beta.23 → 0.16.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.
- package/ActionBarItem.d.ts +1 -1
- package/ActionBarItemList.d.ts +1 -1
- package/ActionBarItemListItem.d.ts +1 -1
- package/ActionBarItemListSeparator.d.ts +1 -1
- package/Activity.d.ts +1 -1
- package/AnimatedNumber.d.ts +1 -1
- package/AppNavigationBar.d.ts +1 -1
- package/ApplicationHeader.d.ts +1 -1
- package/ApplicationLayout.d.ts +1 -1
- package/ApplicationLayoutBodyBanner.d.ts +1 -1
- package/ApplicationLayoutBodyBottomBar.d.ts +1 -1
- package/ApplicationLayoutBodyNavigation.d.ts +1 -1
- package/Area.d.ts +1 -1
- package/AreaChart.d.ts +1 -1
- package/AreaGradient.d.ts +1 -1
- package/AssetTree.d.ts +1 -1
- package/AutoSuggest.d.ts +6 -5
- package/Bar.d.ts +5 -2
- package/BarChart.d.ts +1 -1
- package/BottomSheet.d.ts +1 -1
- package/BrowserWarning.d.ts +1 -1
- package/Button.d.ts +24 -2
- package/ButtonDropdown.d.ts +1 -1
- package/Carousel.d.ts +3 -1
- package/ChartNeedle.d.ts +1 -1
- package/ChartTooltip.d.ts +1 -1
- package/Checkbox.d.ts +1 -1
- package/Circle.d.ts +1 -1
- package/ClearableInput.d.ts +1 -1
- package/ClusterLayer.d.ts +1 -1
- package/ClusterMapMarker.d.ts +1 -1
- package/ClusterUtils.d.ts +1 -1
- package/Collapse.d.ts +1 -1
- package/Colors.d.ts +1 -1
- package/ConfirmationDialog.d.ts +9 -2
- package/ContentLoader.d.ts +5 -2
- package/ContextMenu.d.ts +1 -1
- package/ContextMenuItem.d.ts +1 -1
- package/CustomState.d.ts +1 -1
- package/DataTab.d.ts +1 -1
- package/DataTabs.d.ts +1 -1
- package/DatePicker.d.ts +1 -1
- package/DateRangePicker.d.ts +1 -1
- package/DeviceUtils.d.ts +1 -1
- package/Dialog.d.ts +1 -1
- package/DomMarker.d.ts +1 -1
- package/DropdownSubmenu.d.ts +1 -1
- package/EmptyState.d.ts +1 -1
- package/EnhancedMapEvent.d.ts +1 -1
- package/ErrorState.d.ts +1 -1
- package/EventUtils.d.ts +1 -1
- package/ExpanderList.d.ts +5 -5
- package/ExpanderPanel.d.ts +1 -1
- package/Fade.d.ts +11 -2
- package/FilePicker.d.ts +6 -2
- package/ForbiddenState.d.ts +1 -1
- package/ImagePreloader.d.ts +1 -1
- package/IncidentsLayer.d.ts +1 -1
- package/InfoDialog.d.ts +1 -1
- package/Legend.d.ts +1 -1
- package/Line.d.ts +1 -1
- package/LineChart.d.ts +1 -1
- package/ListMenu.d.ts +6 -5
- package/LoadMoreButton.d.ts +1 -1
- package/MaintenanceState.d.ts +1 -1
- package/Map.d.ts +10 -7
- package/MapBoundingBoxButton.d.ts +1 -1
- package/MapCenterMarkerButton.d.ts +1 -1
- package/MapClusterSettings.d.ts +1 -1
- package/MapCustomerPoiSettingsItem.d.ts +1 -1
- package/MapLayerGroup.d.ts +1 -1
- package/MapLayerIncidentsItem.d.ts +1 -1
- package/MapLayerRoadRestrictionsItem.d.ts +1 -1
- package/MapLayerSettings.d.ts +1 -1
- package/MapLayerTrafficItem.d.ts +1 -1
- package/MapLockMarkerButton.d.ts +1 -1
- package/MapSettings.d.ts +1 -1
- package/MapSettingsItem.d.ts +1 -1
- package/MapSettingsPanel.d.ts +1 -1
- package/MapSettingsTile.d.ts +1 -1
- package/MapTypeSettings.d.ts +1 -1
- package/MapWorkshopPoiSettingsItem.d.ts +1 -1
- package/Marker.d.ts +1 -1
- package/MarkerLayer.d.ts +1 -1
- package/MediaDialog.d.ts +8 -4
- package/MenuItem.d.ts +2 -2
- package/Multiselect.d.ts +11 -4
- package/NoData.d.ts +1 -1
- package/NotBookedState.d.ts +1 -1
- package/NotFoundState.d.ts +1 -1
- package/Notification.d.ts +1 -1
- package/NotificationsContainer.d.ts +1 -1
- package/NumberControl.d.ts +5 -2
- package/NumberInput.d.ts +5 -2
- package/OnboardingTip.d.ts +27 -2
- package/OverlayTrigger.d.ts +26 -2
- package/Pager.d.ts +1 -1
- package/PieChart.d.ts +1 -1
- package/Polygon.d.ts +1 -1
- package/Polyline.d.ts +1 -1
- package/Popover.d.ts +8 -2
- package/Position.d.ts +1 -1
- package/PositionUtils.d.ts +1 -1
- package/RadialBarChart.d.ts +1 -1
- package/RadioButton.d.ts +1 -1
- package/RangeSlider.d.ts +1 -1
- package/ReleaseNotes.d.ts +1 -1
- package/ReleaseNotesDialog.d.ts +1 -1
- package/Resizer.d.ts +10 -2
- package/ResponsiveVideo.d.ts +5 -2
- package/Route.d.ts +1 -1
- package/RuleConnector.d.ts +9 -0
- package/RuleConnector.js +2 -0
- package/RuleContainer.d.ts +5 -0
- package/RuleContainer.js +2 -0
- package/RulesWrapper.d.ts +5 -0
- package/RulesWrapper.js +2 -0
- package/SaveDialog.d.ts +9 -2
- package/Select.d.ts +5 -5
- package/Sidebar.d.ts +8 -2
- package/SimpleButtonDropdown.d.ts +1 -1
- package/SimpleClusterLayer.d.ts +1 -1
- package/SimpleDialog.d.ts +9 -2
- package/SimpleTooltip.d.ts +26 -2
- package/SingleButtonDropdown.d.ts +1 -1
- package/SingleMapMarker.d.ts +1 -1
- package/Slider.d.ts +1 -1
- package/SortArrowDown.d.ts +1 -1
- package/SortArrowUp.d.ts +1 -1
- package/SortArrows.d.ts +1 -1
- package/SortDirection.d.ts +1 -1
- package/SortUtils.d.ts +1 -1
- package/Spinner.d.ts +1 -1
- package/SplitButtonDropdown.d.ts +1 -1
- package/SplitDialog.d.ts +9 -2
- package/StatsWidget.d.ts +1 -1
- package/StatsWidgetNumber.d.ts +1 -1
- package/StatsWidgetSpacer.d.ts +1 -1
- package/StatsWidgets.d.ts +1 -1
- package/StatusBar.d.ts +1 -1
- package/SteppedProgressBar.d.ts +6 -2
- package/SubNavigation.d.ts +1 -1
- package/Switch.d.ts +5 -2
- package/TableCardsSorting.d.ts +1 -1
- package/TableSearch.d.ts +1 -1
- package/TableSettingsDialog.d.ts +1 -1
- package/TableToolbar.d.ts +1 -1
- package/TableViewToggles.d.ts +1 -1
- package/Tag.d.ts +1 -1
- package/TagList.d.ts +1 -1
- package/TagManager.d.ts +5 -5
- package/Teaser.d.ts +1 -1
- package/TeaserContainer.d.ts +1 -1
- package/TextMarker.d.ts +1 -1
- package/TimePicker.d.ts +1 -1
- package/ToggleButton.d.ts +1 -1
- package/Tooltip.d.ts +29 -2
- package/TrafficLayer.d.ts +1 -1
- package/Tree.d.ts +1 -1
- package/TreeCategory.d.ts +1 -1
- package/TreeOption.d.ts +1 -1
- package/TreeSearch.d.ts +1 -1
- package/TreeSummary.d.ts +1 -1
- package/TruckLayer.d.ts +1 -1
- package/TypeCounter.d.ts +1 -1
- package/VolkswagenApplicationHeader.d.ts +1 -1
- package/components/button/Button.js +6 -3
- package/components/datepicker/DatePicker.js +5 -2
- package/components/dialog/SplitDialog.js +5 -2
- package/components/dropdown/ButtonDropdown.js +9 -3
- package/components/map/components/Map.js +24 -1
- package/components/overlay/OverlayTrigger.js +2 -1
- package/components/rules/RuleConnector.js +76 -0
- package/components/rules/RuleContainer.js +68 -0
- package/components/rules/RulesWrapper.js +17 -0
- package/components/selects/BaseDropdownMenu.js +40 -26
- package/components/selects/Multiselect.js +5 -3
- package/components/selects/Select.js +7 -5
- package/framer-motion.d.ts +1 -0
- package/index.d.ts +7 -1
- package/index.js +6 -0
- package/lib/es/AutoSuggest.d.ts +6 -5
- package/lib/es/Bar.d.ts +4 -1
- package/lib/es/Button.d.ts +23 -1
- package/lib/es/Carousel.d.ts +2 -0
- package/lib/es/ConfirmationDialog.d.ts +8 -1
- package/lib/es/ContentLoader.d.ts +4 -1
- package/lib/es/ExpanderList.d.ts +5 -5
- package/lib/es/Fade.d.ts +10 -1
- package/lib/es/FilePicker.d.ts +5 -1
- package/lib/es/ListMenu.d.ts +6 -5
- package/lib/es/Map.d.ts +10 -7
- package/lib/es/MediaDialog.d.ts +8 -4
- package/lib/es/MenuItem.d.ts +1 -1
- package/lib/es/Multiselect.d.ts +11 -4
- package/lib/es/NumberControl.d.ts +4 -1
- package/lib/es/NumberInput.d.ts +4 -1
- package/lib/es/OnboardingTip.d.ts +26 -1
- package/lib/es/OverlayTrigger.d.ts +25 -1
- package/lib/es/Popover.d.ts +7 -1
- package/lib/es/Resizer.d.ts +9 -1
- package/lib/es/ResponsiveVideo.d.ts +4 -1
- package/lib/es/RuleConnector.d.ts +9 -0
- package/lib/es/RuleConnector.js +13 -0
- package/lib/es/RuleContainer.d.ts +5 -0
- package/lib/es/RuleContainer.js +13 -0
- package/lib/es/RulesWrapper.d.ts +5 -0
- package/lib/es/RulesWrapper.js +13 -0
- package/lib/es/SaveDialog.d.ts +8 -1
- package/lib/es/Select.d.ts +5 -5
- package/lib/es/Sidebar.d.ts +7 -1
- package/lib/es/SimpleDialog.d.ts +8 -1
- package/lib/es/SimpleTooltip.d.ts +25 -1
- package/lib/es/SplitDialog.d.ts +8 -1
- package/lib/es/SteppedProgressBar.d.ts +5 -1
- package/lib/es/Switch.d.ts +4 -1
- package/lib/es/TagManager.d.ts +5 -5
- package/lib/es/Tooltip.d.ts +28 -1
- package/lib/es/components/button/Button.js +6 -3
- package/lib/es/components/datepicker/DatePicker.js +3 -3
- package/lib/es/components/dialog/SplitDialog.js +5 -2
- package/lib/es/components/dropdown/ButtonDropdown.js +9 -3
- package/lib/es/components/map/components/Map.js +24 -1
- package/lib/es/components/overlay/OverlayTrigger.js +2 -1
- package/lib/es/components/rules/RuleConnector.js +84 -0
- package/lib/es/components/rules/RuleContainer.js +76 -0
- package/lib/es/components/rules/RulesWrapper.js +25 -0
- package/lib/es/components/selects/BaseDropdownMenu.js +40 -26
- package/lib/es/components/selects/Multiselect.js +5 -3
- package/lib/es/components/selects/Select.js +7 -5
- package/lib/es/framer-motion.d.ts +1 -0
- package/lib/es/index.d.ts +8 -2
- package/lib/es/index.js +24 -0
- package/lib/es/styles/components/Dialog.less +10 -0
- package/lib/es/styles/components/Dropdown.less +11 -2
- package/lib/es/styles/components/Select.less +5 -6
- package/lib/es/styles/design/box-sizing.less +8 -0
- package/lib/es/styles/design/fonts.less +23 -23
- package/lib/es/styles/design/normalize.less +0 -2
- package/lib/es/styles/design/responsive/flexgrid.less +4 -6
- package/lib/es/styles/design/responsive/sizing.less +3 -0
- package/lib/es/styles/design/tables.less +5 -0
- package/lib/es/styles/mixins/panels.less +3 -3
- package/lib/es/styles/print/print.less +36 -4
- package/lib/es/styles/rio-uikit-core.less +2 -1
- package/lib/es/styles/rio-uikit-print-utilities.less +1 -0
- package/lib/es/themes/Website/styles/rio-website.less +2 -2
- package/lib/es/types.ts +40 -16
- package/lib/es/utils/init.js +1 -1
- package/lib/es/version.json +1 -1
- package/package.json +13 -11
- package/styles/components/Dialog.less +10 -0
- package/styles/components/Dropdown.less +11 -2
- package/styles/components/Select.less +5 -6
- package/styles/design/box-sizing.less +8 -0
- package/styles/design/fonts.less +23 -23
- package/styles/design/normalize.less +0 -2
- package/styles/design/responsive/flexgrid.less +4 -6
- package/styles/design/responsive/sizing.less +3 -0
- package/styles/design/tables.less +5 -0
- package/styles/mixins/panels.less +3 -3
- package/styles/print/print.less +36 -4
- package/styles/rio-uikit-core.less +2 -1
- package/styles/rio-uikit-print-utilities.less +1 -0
- package/themes/Website/styles/rio-website.less +2 -2
- package/types.ts +40 -16
- package/useAfterMount.d.ts +1 -1
- package/useClickOutside.d.ts +1 -1
- package/useClipboard.d.ts +1 -1
- package/useDebugInfo.d.ts +1 -1
- package/useEffectOnce.d.ts +1 -1
- package/useElementSize.d.ts +1 -1
- package/useEsc.d.ts +1 -1
- package/useEvent.d.ts +1 -1
- package/useFullscreen.d.ts +1 -1
- package/useInterval.d.ts +1 -1
- package/useKey.d.ts +1 -1
- package/useLocalStorage.d.ts +1 -1
- package/useOnScreen.d.ts +1 -1
- package/useOnlineStatus.d.ts +1 -1
- package/useRenderCount.d.ts +1 -1
- package/useResizeObserver.d.ts +1 -1
- package/useSessionStorage.d.ts +1 -1
- package/useStateWithValidation.d.ts +1 -1
- package/useTimeout.d.ts +1 -1
- package/useWindowResize.d.ts +1 -1
- package/utils/init.js +1 -1
- package/version.json +1 -1
- package/.DS_Store +0 -0
- package/components/.DS_Store +0 -0
- package/components/map/.DS_Store +0 -0
- package/lib/.DS_Store +0 -0
- package/lib/es/.DS_Store +0 -0
- package/lib/es/components/.DS_Store +0 -0
- package/lib/es/styles/.DS_Store +0 -0
- package/lib/es/themes/.DS_Store +0 -0
- package/styles/.DS_Store +0 -0
- package/themes/.DS_Store +0 -0
- package/themes/Volkswagen/.DS_Store +0 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
var _framerMotion = require("framer-motion");
|
|
14
|
+
var _RuleConnector = _interopRequireDefault(require("./RuleConnector"));
|
|
15
|
+
var _excluded = ["show", "unchecked", "background", "borderColor", "hideConnector", "customConnector", "className", "children"];
|
|
16
|
+
var RuleContainer = function RuleContainer(props) {
|
|
17
|
+
var show = props.show,
|
|
18
|
+
unchecked = props.unchecked,
|
|
19
|
+
background = props.background,
|
|
20
|
+
borderColor = props.borderColor,
|
|
21
|
+
hideConnector = props.hideConnector,
|
|
22
|
+
customConnector = props.customConnector,
|
|
23
|
+
className = props.className,
|
|
24
|
+
children = props.children,
|
|
25
|
+
remainingProps = (0, _objectWithoutProperties2["default"])(props, _excluded);
|
|
26
|
+
if (!show) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
var boxClassNames = (0, _classnames["default"])('RuleContainerBox', 'position-relative', 'rounded padding-20', background, unchecked && "border border-width border-style-dashed ".concat(borderColor), className);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("div", (0, _extends2["default"])({
|
|
31
|
+
className: "RuleContainer"
|
|
32
|
+
}, remainingProps), /*#__PURE__*/_react["default"].createElement("div", {
|
|
33
|
+
className: boxClassNames,
|
|
34
|
+
"data-testid": "ruleContainerBox"
|
|
35
|
+
}, /*#__PURE__*/_react["default"].createElement(_framerMotion.AnimatePresence, {
|
|
36
|
+
exitBeforeEnter: true
|
|
37
|
+
}, _react["default"].Children.map(children, function (child) {
|
|
38
|
+
var _child$type;
|
|
39
|
+
// In case there are multiple children of RuleContainer, use the
|
|
40
|
+
// type name or the type itself as a key to animate between the two children
|
|
41
|
+
return /*#__PURE__*/_react["default"].createElement(_framerMotion.motion.div, {
|
|
42
|
+
key: ((_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.name) || child.type,
|
|
43
|
+
initial: {
|
|
44
|
+
opacity: 0
|
|
45
|
+
},
|
|
46
|
+
animate: {
|
|
47
|
+
opacity: 1
|
|
48
|
+
},
|
|
49
|
+
exit: {
|
|
50
|
+
opacity: 0
|
|
51
|
+
}
|
|
52
|
+
// transition={{ delay: 1, duration: 2 }}
|
|
53
|
+
}, child);
|
|
54
|
+
}))), customConnector ? customConnector : /*#__PURE__*/_react["default"].createElement(_RuleConnector["default"], {
|
|
55
|
+
hidden: unchecked || hideConnector
|
|
56
|
+
}));
|
|
57
|
+
};
|
|
58
|
+
RuleContainer.defaultProps = {
|
|
59
|
+
show: true,
|
|
60
|
+
unchecked: false,
|
|
61
|
+
background: 'bg-lightest',
|
|
62
|
+
borderColor: '',
|
|
63
|
+
hideConnector: false,
|
|
64
|
+
className: ''
|
|
65
|
+
};
|
|
66
|
+
RuleContainer.propTypes = {
|
|
67
|
+
show: _propTypes["default"].bool,
|
|
68
|
+
unchecked: _propTypes["default"].bool,
|
|
69
|
+
background: _propTypes["default"].string,
|
|
70
|
+
borderColor: _propTypes["default"].string,
|
|
71
|
+
hideConnector: _propTypes["default"].bool,
|
|
72
|
+
customConnector: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].node]),
|
|
73
|
+
className: _propTypes["default"].string
|
|
74
|
+
};
|
|
75
|
+
var _default = RuleContainer;
|
|
76
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _framerMotion = require("framer-motion");
|
|
12
|
+
var _excluded = ["children"];
|
|
13
|
+
var RuleWrapper = function RuleWrapper(_ref) {
|
|
14
|
+
var children = _ref.children,
|
|
15
|
+
remainigProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
16
|
+
return /*#__PURE__*/_react["default"].createElement(_framerMotion.motion.div, (0, _extends2["default"])({
|
|
17
|
+
initial: false,
|
|
18
|
+
layout: true
|
|
19
|
+
}, remainigProps), /*#__PURE__*/_react["default"].createElement(_framerMotion.AnimatePresence, null, /*#__PURE__*/_react["default"].createElement(_framerMotion.motion.div, {
|
|
20
|
+
layout: "position"
|
|
21
|
+
}, children)));
|
|
22
|
+
};
|
|
23
|
+
RuleWrapper.defaultProps = {};
|
|
24
|
+
var _default = RuleWrapper;
|
|
25
|
+
exports["default"] = _default;
|
|
@@ -110,33 +110,43 @@ var BaseDropdownMenu = /*#__PURE__*/function (_Component) {
|
|
|
110
110
|
value: function handleKeydown(event) {
|
|
111
111
|
switch (event.keyCode) {
|
|
112
112
|
case 27:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
{
|
|
114
|
+
// close on esc key or on tab
|
|
115
|
+
this.closeMenu();
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
116
118
|
case 9:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
119
|
+
{
|
|
120
|
+
// close on tab
|
|
121
|
+
this.closeMenu();
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
120
124
|
case 13:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
125
|
+
{
|
|
126
|
+
// select on enter
|
|
127
|
+
this.selectOptionOnEnter(event);
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
124
130
|
case 38:
|
|
125
|
-
|
|
126
|
-
|
|
131
|
+
{
|
|
132
|
+
// prevent scrolling the page when dropdown menu is open
|
|
133
|
+
event.preventDefault();
|
|
127
134
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
135
|
+
// select above on arrow up key
|
|
136
|
+
this.focusOption(_scrollItemIntoView.UP);
|
|
137
|
+
(0, _scrollItemIntoView["default"])(_scrollItemIntoView.UP, this.getDropdownDOMNode(), this.getFocusedOptionNode());
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
132
140
|
case 40:
|
|
133
|
-
|
|
134
|
-
|
|
141
|
+
{
|
|
142
|
+
// prevent scrolling the page when dropdown menu is open
|
|
143
|
+
event.preventDefault();
|
|
135
144
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
145
|
+
// select below on arrow down key
|
|
146
|
+
this.focusOption(_scrollItemIntoView.DOWN);
|
|
147
|
+
(0, _scrollItemIntoView["default"])(_scrollItemIntoView.DOWN, this.getDropdownDOMNode(), this.getFocusedOptionNode());
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
140
150
|
default:
|
|
141
151
|
break;
|
|
142
152
|
}
|
|
@@ -148,11 +158,15 @@ var BaseDropdownMenu = /*#__PURE__*/function (_Component) {
|
|
|
148
158
|
var focusedItemIndex = this.state.focusedItemIndex;
|
|
149
159
|
switch (direction) {
|
|
150
160
|
case _scrollItemIntoView.UP:
|
|
151
|
-
|
|
152
|
-
|
|
161
|
+
{
|
|
162
|
+
nextFocusedItem = focusedItemIndex === 0 ? focusedItemIndex : focusedItemIndex - 1;
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
153
165
|
case _scrollItemIntoView.DOWN:
|
|
154
|
-
|
|
155
|
-
|
|
166
|
+
{
|
|
167
|
+
nextFocusedItem = focusedItemIndex === this.props.options.length - 1 ? focusedItemIndex : focusedItemIndex + 1;
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
156
170
|
default:
|
|
157
171
|
break;
|
|
158
172
|
}
|
|
@@ -342,7 +356,7 @@ BaseDropdownMenu.defaultProps = {
|
|
|
342
356
|
onSelect: function onSelect() {},
|
|
343
357
|
onClose: function onClose() {},
|
|
344
358
|
options: [],
|
|
345
|
-
autoDropDirection:
|
|
359
|
+
autoDropDirection: false,
|
|
346
360
|
pullRight: false,
|
|
347
361
|
useActiveClass: false,
|
|
348
362
|
keyboardUsed: false,
|
|
@@ -18,11 +18,15 @@ var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
|
18
18
|
var _reactOnclickoutside = _interopRequireDefault(require("react-onclickoutside"));
|
|
19
19
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
20
20
|
var _isEqual = _interopRequireDefault(require("lodash/fp/isEqual"));
|
|
21
|
+
var _logDeprecatedWarnings = _interopRequireDefault(require("../../utils/logDeprecatedWarnings"));
|
|
21
22
|
var _BaseDropdownMenu = require("./BaseDropdownMenu");
|
|
22
23
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
24
25
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
25
26
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
27
|
+
var warningProps = [{
|
|
28
|
+
prop: 'autoDropDirection'
|
|
29
|
+
}];
|
|
26
30
|
var Multiselect = /*#__PURE__*/function (_Component) {
|
|
27
31
|
(0, _inherits2["default"])(Multiselect, _Component);
|
|
28
32
|
var _super = _createSuper(Multiselect);
|
|
@@ -217,6 +221,7 @@ var Multiselect = /*#__PURE__*/function (_Component) {
|
|
|
217
221
|
placeholder = _this$props4.placeholder,
|
|
218
222
|
counterMessage = _this$props4.counterMessage,
|
|
219
223
|
renderCounterMessage = _this$props4.renderCounterMessage;
|
|
224
|
+
(0, _logDeprecatedWarnings["default"])(warningProps, this.props, 'Multiselect');
|
|
220
225
|
var classnames = (0, _classnames["default"])('dropdown-toggle', 'form-control', 'text-left', bsSize === 'large' && 'input-lg',
|
|
221
226
|
// TODO: deprecte since it's not consistent
|
|
222
227
|
bsSize === 'small' && 'input-sm',
|
|
@@ -250,7 +255,6 @@ var Multiselect = /*#__PURE__*/function (_Component) {
|
|
|
250
255
|
var _this6 = this;
|
|
251
256
|
var _this$props5 = this.props,
|
|
252
257
|
pullRight = _this$props5.pullRight,
|
|
253
|
-
autoDropDirection = _this$props5.autoDropDirection,
|
|
254
258
|
noItemMessage = _this$props5.noItemMessage;
|
|
255
259
|
var options = this.state.filteredOptions.map(function (option) {
|
|
256
260
|
option.selected = _this6.state.selectedItems.indexOf(option.id) !== -1;
|
|
@@ -265,7 +269,6 @@ var Multiselect = /*#__PURE__*/function (_Component) {
|
|
|
265
269
|
onSelect: this.onOptionChange,
|
|
266
270
|
onClose: this.closeMenu,
|
|
267
271
|
noItemMessage: noItemMessage,
|
|
268
|
-
autoDropDirection: autoDropDirection,
|
|
269
272
|
pullRight: pullRight,
|
|
270
273
|
useActiveClass: true
|
|
271
274
|
});
|
|
@@ -447,7 +450,6 @@ Multiselect.defaultProps = {
|
|
|
447
450
|
options: [],
|
|
448
451
|
selectedItems: [],
|
|
449
452
|
disabled: false,
|
|
450
|
-
autoDropDirection: true,
|
|
451
453
|
pullRight: false,
|
|
452
454
|
hasError: false,
|
|
453
455
|
useFilter: false,
|
|
@@ -19,6 +19,7 @@ var _reactOnclickoutside = _interopRequireDefault(require("react-onclickoutside"
|
|
|
19
19
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
20
20
|
var _isEqual = _interopRequireDefault(require("lodash/fp/isEqual"));
|
|
21
21
|
var _logPropError = _interopRequireDefault(require("../../utils/logPropError"));
|
|
22
|
+
var _logDeprecatedWarnings = _interopRequireDefault(require("../../utils/logDeprecatedWarnings"));
|
|
22
23
|
var _isNil = _interopRequireDefault(require("lodash/fp/isNil"));
|
|
23
24
|
var _BaseDropdownMenu = require("./BaseDropdownMenu");
|
|
24
25
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -29,6 +30,9 @@ var errorProps = [{
|
|
|
29
30
|
prop: 'toggleButtonLabel',
|
|
30
31
|
replacement: 'selectedOptionText'
|
|
31
32
|
}];
|
|
33
|
+
var warningProps = [{
|
|
34
|
+
prop: 'autoDropDirection'
|
|
35
|
+
}];
|
|
32
36
|
var DEFAULT_FOCUSED_ITEM_INDEX = -1;
|
|
33
37
|
var Select = /*#__PURE__*/function (_Component) {
|
|
34
38
|
(0, _inherits2["default"])(Select, _Component);
|
|
@@ -114,8 +118,8 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
114
118
|
var _this2 = this;
|
|
115
119
|
var _this$props = this.props,
|
|
116
120
|
className = _this$props.className,
|
|
117
|
-
hasError = _this$props.hasError
|
|
118
|
-
|
|
121
|
+
hasError = _this$props.hasError,
|
|
122
|
+
dropup = _this$props.dropup;
|
|
119
123
|
var classes = (0, _classnames["default"])('select', dropup && 'dropup', 'dropdown', hasError && 'has-error', this.state.isOpen && 'open', className && className);
|
|
120
124
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
121
125
|
className: classes,
|
|
@@ -195,6 +199,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
195
199
|
id = _this$props3$id === void 0 ? name : _this$props3$id,
|
|
196
200
|
selectedOptionText = _this$props3.selectedOptionText;
|
|
197
201
|
(0, _logPropError["default"])(errorProps, this.props, 'Select');
|
|
202
|
+
(0, _logDeprecatedWarnings["default"])(warningProps, this.props, 'Select');
|
|
198
203
|
var _this$state = this.state,
|
|
199
204
|
isOpen = _this$state.isOpen,
|
|
200
205
|
selectedItem = _this$state.selectedItem;
|
|
@@ -233,7 +238,6 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
233
238
|
|
|
234
239
|
var _this$props4 = this.props,
|
|
235
240
|
pullRight = _this$props4.pullRight,
|
|
236
|
-
autoDropDirection = _this$props4.autoDropDirection,
|
|
237
241
|
noItemMessage = _this$props4.noItemMessage,
|
|
238
242
|
dropdownClassName = _this$props4.dropdownClassName;
|
|
239
243
|
|
|
@@ -260,7 +264,6 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
260
264
|
onSelect: this.onOptionChange,
|
|
261
265
|
onClose: this.closeMenu,
|
|
262
266
|
noItemMessage: noItemMessage,
|
|
263
|
-
autoDropDirection: autoDropDirection,
|
|
264
267
|
pullRight: pullRight,
|
|
265
268
|
dropdownClassName: dropdownClassName,
|
|
266
269
|
requestItemDOMValues: this.state.requestItemDOMValues
|
|
@@ -400,7 +403,6 @@ Select.defaultProps = {
|
|
|
400
403
|
onChange: function onChange() {},
|
|
401
404
|
options: [],
|
|
402
405
|
disabled: false,
|
|
403
|
-
autoDropDirection: true,
|
|
404
406
|
pullRight: false,
|
|
405
407
|
dropup: false,
|
|
406
408
|
hasError: false,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'framer-motion';
|
package/lib/es/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit' {
|
|
1
|
+
declare module '@rio-cloud/lib/es/rio-uikit' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import {
|
|
4
4
|
ActionBarItemProps,
|
|
@@ -74,6 +74,9 @@ declare module '@rio-cloud/rio-uikit' {
|
|
|
74
74
|
ReleaseNotesDialogProps,
|
|
75
75
|
ResizerProps,
|
|
76
76
|
ResponsiveVideoProps,
|
|
77
|
+
RulesWrapperProps,
|
|
78
|
+
RuleContainerProps,
|
|
79
|
+
RuleConnectorProps,
|
|
77
80
|
SaveDialogProps,
|
|
78
81
|
SelectProps,
|
|
79
82
|
SidebarProps,
|
|
@@ -201,6 +204,9 @@ declare module '@rio-cloud/rio-uikit' {
|
|
|
201
204
|
export class ReleaseNotesDialog extends React.Component<ReleaseNotesDialogProps> {}
|
|
202
205
|
export class Resizer extends React.Component<ResizerProps> {}
|
|
203
206
|
export class ResponsiveVideo extends React.Component<ResponsiveVideoProps> {}
|
|
207
|
+
export class RulesWrapper extends React.Component<RulesWrapperProps> {}
|
|
208
|
+
export class RuleContainer extends React.Component<RuleContainerProps> {}
|
|
209
|
+
export class RuleConnector extends React.Component<RuleConnectorProps> {}
|
|
204
210
|
export class SaveDialog extends React.Component<SaveDialogProps> {}
|
|
205
211
|
export class Select extends React.Component<SelectProps> {}
|
|
206
212
|
export class Sidebar extends React.Component<SidebarProps> {}
|
|
@@ -261,5 +267,5 @@ declare module '@rio-cloud/rio-uikit' {
|
|
|
261
267
|
ResizerPosition,
|
|
262
268
|
SortDirection,
|
|
263
269
|
TableViewTogglesValues,
|
|
264
|
-
}
|
|
270
|
+
};
|
|
265
271
|
}
|
package/lib/es/index.js
CHANGED
|
@@ -122,6 +122,9 @@ var _exportNames = {
|
|
|
122
122
|
TagManager: true,
|
|
123
123
|
BrowserWarning: true,
|
|
124
124
|
Pager: true,
|
|
125
|
+
RuleConnector: true,
|
|
126
|
+
RuleContainer: true,
|
|
127
|
+
RulesWrapper: true,
|
|
125
128
|
toggleSupportMarker: true,
|
|
126
129
|
enableSupportMarker: true,
|
|
127
130
|
SUPPORT_MARKER_CLASS: true,
|
|
@@ -543,6 +546,24 @@ Object.defineProperty(exports, "ResponsiveVideo", {
|
|
|
543
546
|
return _ResponsiveVideo2["default"];
|
|
544
547
|
}
|
|
545
548
|
});
|
|
549
|
+
Object.defineProperty(exports, "RuleConnector", {
|
|
550
|
+
enumerable: true,
|
|
551
|
+
get: function get() {
|
|
552
|
+
return _RuleConnector2["default"];
|
|
553
|
+
}
|
|
554
|
+
});
|
|
555
|
+
Object.defineProperty(exports, "RuleContainer", {
|
|
556
|
+
enumerable: true,
|
|
557
|
+
get: function get() {
|
|
558
|
+
return _RuleContainer2["default"];
|
|
559
|
+
}
|
|
560
|
+
});
|
|
561
|
+
Object.defineProperty(exports, "RulesWrapper", {
|
|
562
|
+
enumerable: true,
|
|
563
|
+
get: function get() {
|
|
564
|
+
return _RulesWrapper2["default"];
|
|
565
|
+
}
|
|
566
|
+
});
|
|
546
567
|
Object.defineProperty(exports, "SUPPORT_MARKER_CLASS", {
|
|
547
568
|
enumerable: true,
|
|
548
569
|
get: function get() {
|
|
@@ -1066,6 +1087,9 @@ var _StatsWidgetSpacer2 = _interopRequireDefault(require("./components/statsWidg
|
|
|
1066
1087
|
var _TagManager2 = _interopRequireDefault(require("./components/tagManager/TagManager"));
|
|
1067
1088
|
var _BrowserWarning2 = _interopRequireDefault(require("./components/browserWarning/BrowserWarning"));
|
|
1068
1089
|
var _Pager2 = _interopRequireDefault(require("./components/pager/Pager"));
|
|
1090
|
+
var _RuleConnector2 = _interopRequireDefault(require("./components/rules/RuleConnector"));
|
|
1091
|
+
var _RuleContainer2 = _interopRequireDefault(require("./components/rules/RuleContainer"));
|
|
1092
|
+
var _RulesWrapper2 = _interopRequireDefault(require("./components/rules/RulesWrapper"));
|
|
1069
1093
|
var _toggleSupportMarker2 = require("./components/supportMarker/toggleSupportMarker");
|
|
1070
1094
|
var _Carousel2 = _interopRequireDefault(require("./components/carousel/Carousel"));
|
|
1071
1095
|
var _LoadMoreButton2 = _interopRequireDefault(require("./components/loadMore/LoadMoreButton"));
|
|
@@ -212,6 +212,16 @@ body {
|
|
|
212
212
|
.modal-body {
|
|
213
213
|
position: relative;
|
|
214
214
|
padding: @modal-inner-padding;
|
|
215
|
+
|
|
216
|
+
&:first-child {
|
|
217
|
+
border-top-left-radius: @border-radius-lg;
|
|
218
|
+
border-top-right-radius: @border-radius-lg;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&:last-child {
|
|
222
|
+
border-bottom-left-radius: @border-radius-lg;
|
|
223
|
+
border-bottom-right-radius: @border-radius-lg;
|
|
224
|
+
}
|
|
215
225
|
}
|
|
216
226
|
|
|
217
227
|
.modal-footer {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@dropdown-max-height: 211px; // Used for Select and AutoSuggest components
|
|
2
2
|
|
|
3
|
-
.btn-group
|
|
4
|
-
|
|
3
|
+
.btn-group {
|
|
4
|
+
&.open .dropdown-toggle {
|
|
5
|
+
box-shadow: none !important;
|
|
6
|
+
}
|
|
5
7
|
}
|
|
6
8
|
|
|
7
9
|
.dropdown {
|
|
@@ -18,6 +20,7 @@
|
|
|
18
20
|
padding: 0;
|
|
19
21
|
position: absolute;
|
|
20
22
|
text-align: left;
|
|
23
|
+
//width: 100%;
|
|
21
24
|
z-index: @zindex-dropdown;
|
|
22
25
|
|
|
23
26
|
// closed by default
|
|
@@ -28,6 +31,12 @@
|
|
|
28
31
|
display: block;
|
|
29
32
|
}
|
|
30
33
|
|
|
34
|
+
.AutoSuggest &,
|
|
35
|
+
.select &,
|
|
36
|
+
.multiselect & {
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
31
40
|
// portal style
|
|
32
41
|
#uikit-root > & {
|
|
33
42
|
display: block;
|
|
@@ -162,13 +162,17 @@
|
|
|
162
162
|
.dropdown-menu {
|
|
163
163
|
max-height: @dropdown-max-height;
|
|
164
164
|
overflow-x: hidden;
|
|
165
|
-
width: 100%; // not on dropdowns, only on selects
|
|
166
165
|
|
|
167
166
|
svg {
|
|
168
167
|
margin-right: 0.5em;
|
|
169
168
|
vertical-align: middle;
|
|
170
169
|
}
|
|
171
170
|
|
|
171
|
+
&.pull-right {
|
|
172
|
+
left: auto !important;
|
|
173
|
+
right: 0 !important;
|
|
174
|
+
}
|
|
175
|
+
|
|
172
176
|
> li {
|
|
173
177
|
> a.focus {
|
|
174
178
|
text-decoration: none;
|
|
@@ -189,11 +193,6 @@
|
|
|
189
193
|
}
|
|
190
194
|
}
|
|
191
195
|
|
|
192
|
-
&.pull-right {
|
|
193
|
-
left: auto !important;
|
|
194
|
-
right: 0 !important;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
196
|
&.dropup.open .dropdown-menu {
|
|
198
197
|
bottom: 0;
|
|
199
198
|
left: 0;
|
|
@@ -164,141 +164,141 @@
|
|
|
164
164
|
|
|
165
165
|
// SCANIA FONT
|
|
166
166
|
& when (@font-scania = true) {
|
|
167
|
-
@fontSCANIA: '
|
|
167
|
+
@fontSCANIA: 'cdn.digitaldesign.scania.com/fonts/scania-sans/1.0.0';
|
|
168
168
|
|
|
169
169
|
@font-face {
|
|
170
170
|
font-family: 'Scania Sans';
|
|
171
171
|
font-weight: bold;
|
|
172
172
|
unicode-range: U+0400-04FF;
|
|
173
|
-
src: url('
|
|
173
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCY-Bold.woff') format('woff')
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
@font-face {
|
|
177
177
|
font-family: 'Scania Sans';
|
|
178
178
|
font-style: italic;
|
|
179
179
|
unicode-range: U+0400-04FF;
|
|
180
|
-
src: url('
|
|
180
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCY-Italic.woff') format('woff')
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
@font-face {
|
|
184
184
|
font-family: 'Scania Sans';
|
|
185
185
|
unicode-range: U+0400-04FF;
|
|
186
|
-
src: url('
|
|
186
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCY-Regular.woff') format('woff')
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
@font-face {
|
|
190
190
|
font-family: 'Scania Sans Condensed';
|
|
191
191
|
font-weight: bold;
|
|
192
192
|
unicode-range: U+0400-04FF;
|
|
193
|
-
src: url('
|
|
193
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCYCondensed-Bold.woff') format('woff')
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
@font-face {
|
|
197
197
|
font-family: 'Scania Sans Condensed';
|
|
198
198
|
font-style: italic;
|
|
199
199
|
unicode-range: U+0400-04FF;
|
|
200
|
-
src: url('
|
|
200
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCYCondensed-Italic.woff') format('woff')
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
@font-face {
|
|
204
204
|
font-family: 'Scania Sans Condensed';
|
|
205
205
|
unicode-range: U+0400-04FF;
|
|
206
|
-
src: url('
|
|
206
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCYCondensed-Regular.woff') format('woff')
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
@font-face {
|
|
210
210
|
font-family: 'Scania Sans Headline';
|
|
211
211
|
font-weight: bold;
|
|
212
212
|
unicode-range: U+0400-04FF;
|
|
213
|
-
src: url('
|
|
213
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCYHeadline-Bold.woff') format('woff')
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
@font-face {
|
|
217
217
|
font-family: 'Scania Sans Headline';
|
|
218
218
|
unicode-range: U+0400-04FF;
|
|
219
|
-
src: url('
|
|
219
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCYHeadline-Regular.woff') format('woff')
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
@font-face {
|
|
223
223
|
font-family: 'Scania Sans Semi Condensed';
|
|
224
224
|
font-weight: bold;
|
|
225
225
|
unicode-range: U+0400-04FF;
|
|
226
|
-
src: url('
|
|
226
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCYSemiCondensed-Bold.woff') format('woff')
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
@font-face {
|
|
230
230
|
font-family: 'Scania Sans Semi Condensed';
|
|
231
231
|
font-style: italic;
|
|
232
232
|
unicode-range: U+0400-04FF;
|
|
233
|
-
src: url('
|
|
233
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCYSemiCondensed-Italic.woff') format('woff')
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
@font-face {
|
|
237
237
|
font-family: 'Scania Sans Semi Condensed';
|
|
238
238
|
unicode-range: U+0400-04FF;
|
|
239
|
-
src: url('
|
|
239
|
+
src: url('https://@{fontSCANIA}/cyrillic/ScaniaSansCYSemiCondensed-Regular.woff') format('woff')
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
@font-face {
|
|
243
243
|
font-family: 'Scania Sans';
|
|
244
244
|
font-weight: bold;
|
|
245
|
-
src: url('
|
|
245
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSans-Bold.woff') format('woff')
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
@font-face {
|
|
249
249
|
font-family: 'Scania Sans';
|
|
250
250
|
font-style: italic;
|
|
251
|
-
src: url('
|
|
251
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSans-Italic.woff') format('woff')
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
@font-face {
|
|
255
255
|
font-family: 'Scania Sans';
|
|
256
|
-
src: url('
|
|
256
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSans-Regular.woff') format('woff')
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
@font-face {
|
|
260
260
|
font-family: 'Scania Sans Condensed';
|
|
261
261
|
font-weight: bold;
|
|
262
|
-
src: url('
|
|
262
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSansCondensed-Bold.woff') format('woff')
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
@font-face {
|
|
266
266
|
font-family: 'Scania Sans Condensed';
|
|
267
267
|
font-style: italic;
|
|
268
|
-
src: url('
|
|
268
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSansCondensed-Italic.woff') format('woff')
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
@font-face {
|
|
272
272
|
font-family: 'Scania Sans Condensed';
|
|
273
|
-
src: url('
|
|
273
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSansCondensed-Regular.woff') format('woff')
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
@font-face {
|
|
277
277
|
font-family: 'Scania Sans Headline';
|
|
278
278
|
font-weight: bold;
|
|
279
|
-
src: url('
|
|
279
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSansHeadline-Bold.woff') format('woff')
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
@font-face {
|
|
283
283
|
font-family: 'Scania Sans Headline';
|
|
284
|
-
src: url('
|
|
284
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSansHeadline-Regular.woff') format('woff')
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
@font-face {
|
|
288
288
|
font-family: 'Scania Sans Semi Condensed';
|
|
289
289
|
font-weight: bold;
|
|
290
|
-
src: url('
|
|
290
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSansSemiCondensed-Bold.woff') format('woff')
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
@font-face {
|
|
294
294
|
font-family: 'Scania Sans Semi Condensed';
|
|
295
295
|
font-style: italic;
|
|
296
|
-
src: url('
|
|
296
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSansSemiCondensed-Italic.woff') format('woff')
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
@font-face {
|
|
300
300
|
font-family: 'Scania Sans Semi Condensed';
|
|
301
|
-
src: url('
|
|
301
|
+
src: url('https://@{fontSCANIA}/latin/ScaniaSansSemiCondensed-Regular.woff') format('woff')
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
|