iglooform 2.5.35 → 2.5.37
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/es/form/page/index.js +3 -1
- package/es/form/pages/index.js +6 -4
- package/es/form/section/index.js +4 -2
- package/es/form/step/index.js +3 -1
- package/es/form/steps/index.js +5 -3
- package/es/layout/footer.js +4 -2
- package/es/layout/style/index.less +6 -1
- package/lib/form/page/index.js +4 -1
- package/lib/form/pages/index.js +9 -6
- package/lib/form/section/index.js +5 -2
- package/lib/form/step/index.js +4 -1
- package/lib/form/steps/index.js +7 -4
- package/lib/layout/footer.js +4 -2
- package/lib/layout/style/index.less +6 -1
- package/package.json +1 -1
package/es/form/page/index.js
CHANGED
|
@@ -19,6 +19,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
19
19
|
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
import { useContext, useEffect, useReducer } from 'react';
|
|
22
|
+
import classnames from 'classnames';
|
|
22
23
|
import Button from '../../button';
|
|
23
24
|
import Element from '../element';
|
|
24
25
|
import { calcNamePath } from '../../utils/form-utils';
|
|
@@ -34,6 +35,7 @@ var Page = function Page(_ref) {
|
|
|
34
35
|
name = _ref$config.name,
|
|
35
36
|
getButtonDisabledState = _ref$config.getButtonDisabledState,
|
|
36
37
|
shouldRender = _ref$config.shouldRender,
|
|
38
|
+
className = _ref$config.className,
|
|
37
39
|
_ref$showFooter = _ref.showFooter,
|
|
38
40
|
showFooter = _ref$showFooter === void 0 ? true : _ref$showFooter;
|
|
39
41
|
|
|
@@ -65,7 +67,7 @@ var Page = function Page(_ref) {
|
|
|
65
67
|
}
|
|
66
68
|
}, []);
|
|
67
69
|
return _jsxs("div", {
|
|
68
|
-
className: 'igloo-page-container',
|
|
70
|
+
className: classnames('igloo-page-container', className),
|
|
69
71
|
children: [_jsx("div", {
|
|
70
72
|
className: 'igloo-page-content',
|
|
71
73
|
children: _jsx(_Row, {
|
package/es/form/pages/index.js
CHANGED
|
@@ -21,14 +21,15 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
21
21
|
|
|
22
22
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
23
|
import { useState, useContext, useReducer, useEffect } from 'react';
|
|
24
|
+
import invariant from 'invariant';
|
|
25
|
+
import classnames from 'classnames';
|
|
24
26
|
import Button from '../../button';
|
|
25
27
|
import Page from '../page';
|
|
26
28
|
import { calcNamePath } from '../../utils/form-utils';
|
|
27
29
|
import FormContext from '../../form-context';
|
|
28
30
|
import { LocaleContext } from '../../locale';
|
|
29
|
-
import './style/index.less';
|
|
30
|
-
import invariant from 'invariant';
|
|
31
31
|
import Typography from '../../typography';
|
|
32
|
+
import './style/index.less';
|
|
32
33
|
var useBreakpoint = _Grid.useBreakpoint;
|
|
33
34
|
|
|
34
35
|
var Pages = function Pages(_ref) {
|
|
@@ -37,7 +38,8 @@ var Pages = function Pages(_ref) {
|
|
|
37
38
|
name = _ref$config.name,
|
|
38
39
|
_ref$config$elements = _ref$config.elements,
|
|
39
40
|
elements = _ref$config$elements === void 0 ? [] : _ref$config$elements,
|
|
40
|
-
subscribedFields = _ref$config.subscribedFields
|
|
41
|
+
subscribedFields = _ref$config.subscribedFields,
|
|
42
|
+
className = _ref$config.className;
|
|
41
43
|
|
|
42
44
|
var _useState = useState(0),
|
|
43
45
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -168,7 +170,7 @@ var Pages = function Pages(_ref) {
|
|
|
168
170
|
var buttonDisabled = getButtonDisabledState && form && getButtonDisabledState(form);
|
|
169
171
|
var previousDisabled = getPreviousDisabledState && form && getPreviousDisabledState(form);
|
|
170
172
|
return _jsxs("div", {
|
|
171
|
-
className: 'igloo-pages-container',
|
|
173
|
+
className: classnames('igloo-pages-container', className),
|
|
172
174
|
children: [_jsx(Typography, {
|
|
173
175
|
className: "igloo-pages-page-title",
|
|
174
176
|
level: md ? 'h3b' : 'body1',
|
package/es/form/section/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import "antd/es/divider/style";
|
|
|
4
4
|
import _Divider from "antd/es/divider";
|
|
5
5
|
import "antd/es/col/style";
|
|
6
6
|
import _Col from "antd/es/col";
|
|
7
|
-
var _excluded = ["elements", "name", "label", "labelProps", "contentProps", "style", "collapsable", "defaultCollapsed"];
|
|
7
|
+
var _excluded = ["elements", "name", "label", "labelProps", "contentProps", "style", "className", "collapsable", "defaultCollapsed"];
|
|
8
8
|
|
|
9
9
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10
10
|
|
|
@@ -36,6 +36,7 @@ import StepContext from '../../form-step-context';
|
|
|
36
36
|
import { calcNamePath, calcFormItemProps } from '../../utils/form-utils';
|
|
37
37
|
import Typography from '../../typography';
|
|
38
38
|
import { ArrowDownOutlined, ArrowUpOutlined } from 'iglooicon';
|
|
39
|
+
import classnames from 'classnames';
|
|
39
40
|
import './style/index.less';
|
|
40
41
|
|
|
41
42
|
var Section = function Section(_ref) {
|
|
@@ -51,6 +52,7 @@ var Section = function Section(_ref) {
|
|
|
51
52
|
contentProps = _ref$config$contentPr === void 0 ? {} : _ref$config$contentPr,
|
|
52
53
|
_ref$config$style = _ref$config.style,
|
|
53
54
|
style = _ref$config$style === void 0 ? {} : _ref$config$style,
|
|
55
|
+
className = _ref$config.className,
|
|
54
56
|
_ref$config$collapsab = _ref$config.collapsable,
|
|
55
57
|
collapsable = _ref$config$collapsab === void 0 ? false : _ref$config$collapsab,
|
|
56
58
|
_ref$config$defaultCo = _ref$config.defaultCollapsed,
|
|
@@ -102,7 +104,7 @@ var Section = function Section(_ref) {
|
|
|
102
104
|
|
|
103
105
|
return display ? _jsxs(_Col, {
|
|
104
106
|
span: 24,
|
|
105
|
-
className: 'igloo-section',
|
|
107
|
+
className: classnames('igloo-section', className),
|
|
106
108
|
style: style,
|
|
107
109
|
children: [_jsxs("div", {
|
|
108
110
|
className: 'igloo-section-label',
|
package/es/form/step/index.js
CHANGED
|
@@ -21,6 +21,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
21
21
|
|
|
22
22
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
23
|
import { useContext, useState, useRef, useEffect } from 'react';
|
|
24
|
+
import classnames from 'classnames';
|
|
24
25
|
import { LocaleContext } from '../../locale';
|
|
25
26
|
import Button from '../../button';
|
|
26
27
|
import Element from '../element';
|
|
@@ -40,6 +41,7 @@ var Step = function Step(_ref) {
|
|
|
40
41
|
getButtonDisabledState = _ref$config.getButtonDisabledState,
|
|
41
42
|
disableEditButton = _ref$config.disableEditButton,
|
|
42
43
|
buttonText = _ref$config.buttonText,
|
|
44
|
+
className = _ref$config.className,
|
|
43
45
|
edit = _ref.edit,
|
|
44
46
|
preview = _ref.preview,
|
|
45
47
|
index = _ref.index,
|
|
@@ -97,7 +99,7 @@ var Step = function Step(_ref) {
|
|
|
97
99
|
}, [shouldScroll, edit]);
|
|
98
100
|
var displayTotal = showLastIndex ? total : total - 1;
|
|
99
101
|
return _jsxs("div", {
|
|
100
|
-
className: 'igloo-step-container',
|
|
102
|
+
className: classnames('igloo-step-container', className),
|
|
101
103
|
ref: containerRef,
|
|
102
104
|
children: [label && _jsxs("div", {
|
|
103
105
|
className: "igloo-step-label",
|
package/es/form/steps/index.js
CHANGED
|
@@ -16,12 +16,13 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
16
16
|
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
18
|
import { useState, useContext, useEffect, useReducer, useRef } from 'react';
|
|
19
|
+
import invariant from 'invariant';
|
|
20
|
+
import classnames from 'classnames';
|
|
19
21
|
import Step from '../step';
|
|
20
22
|
import { calcNamePath } from '../../utils/form-utils';
|
|
21
23
|
import FormContext from '../../form-context';
|
|
22
24
|
import StepContext from '../../form-step-context';
|
|
23
25
|
import './style/index.less';
|
|
24
|
-
import invariant from 'invariant';
|
|
25
26
|
|
|
26
27
|
var Steps = function Steps(_ref) {
|
|
27
28
|
var parentName = _ref.parentName,
|
|
@@ -34,7 +35,8 @@ var Steps = function Steps(_ref) {
|
|
|
34
35
|
_ref$config$currentSt = _ref$config.currentStep,
|
|
35
36
|
currentStep = _ref$config$currentSt === void 0 ? 0 : _ref$config$currentSt,
|
|
36
37
|
subscribedFields = _ref$config.subscribedFields,
|
|
37
|
-
onEdit = _ref$config.onEdit
|
|
38
|
+
onEdit = _ref$config.onEdit,
|
|
39
|
+
className = _ref$config.className;
|
|
38
40
|
|
|
39
41
|
var _useState = useState(0),
|
|
40
42
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -176,7 +178,7 @@ var Steps = function Steps(_ref) {
|
|
|
176
178
|
};
|
|
177
179
|
|
|
178
180
|
return _jsx("div", {
|
|
179
|
-
className: 'igloo-steps-container',
|
|
181
|
+
className: classnames('igloo-steps-container', className),
|
|
180
182
|
children: _jsx("div", {
|
|
181
183
|
className: 'igloo-steps-content',
|
|
182
184
|
children: renderElements.map(function (child, index) {
|
package/es/layout/footer.js
CHANGED
|
@@ -137,9 +137,11 @@ var LayoutFooter = function LayoutFooter(_ref) {
|
|
|
137
137
|
className: "igloo-layout-footer",
|
|
138
138
|
children: _jsxs("div", {
|
|
139
139
|
className: "footer-content",
|
|
140
|
-
children: [extraInfo && extraInfo(), !hiddenIglooIcon && _jsx("
|
|
140
|
+
children: [extraInfo && extraInfo(), !hiddenIglooIcon && (companyIcon ? _jsx("img", {
|
|
141
|
+
src: companyIcon
|
|
142
|
+
}) : _jsx("div", {
|
|
141
143
|
className: "igloo-logo"
|
|
142
|
-
}), _jsxs("div", {
|
|
144
|
+
})), _jsxs("div", {
|
|
143
145
|
className: classnames('compony-info', {
|
|
144
146
|
'compony-info-without-icon': hiddenIglooIcon
|
|
145
147
|
}),
|
|
@@ -141,7 +141,6 @@
|
|
|
141
141
|
|
|
142
142
|
& > img {
|
|
143
143
|
width: 64px;
|
|
144
|
-
height: 36px;
|
|
145
144
|
object-fit: contain;
|
|
146
145
|
margin-right: 40px;
|
|
147
146
|
}
|
|
@@ -329,6 +328,12 @@
|
|
|
329
328
|
width: 100%;
|
|
330
329
|
margin: 0 auto;
|
|
331
330
|
|
|
331
|
+
& > img {
|
|
332
|
+
width: 44px;
|
|
333
|
+
margin-bottom: 8px;
|
|
334
|
+
object-fit: contain;
|
|
335
|
+
}
|
|
336
|
+
|
|
332
337
|
.igloo-logo {
|
|
333
338
|
width: 44px;
|
|
334
339
|
height: 24px;
|
package/lib/form/page/index.js
CHANGED
|
@@ -21,6 +21,8 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
21
21
|
|
|
22
22
|
var _react = require("react");
|
|
23
23
|
|
|
24
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
25
|
+
|
|
24
26
|
var _button = _interopRequireDefault(require("../../button"));
|
|
25
27
|
|
|
26
28
|
var _element = _interopRequireDefault(require("../element"));
|
|
@@ -55,6 +57,7 @@ var Page = function Page(_ref) {
|
|
|
55
57
|
name = _ref$config.name,
|
|
56
58
|
getButtonDisabledState = _ref$config.getButtonDisabledState,
|
|
57
59
|
shouldRender = _ref$config.shouldRender,
|
|
60
|
+
className = _ref$config.className,
|
|
58
61
|
_ref$showFooter = _ref.showFooter,
|
|
59
62
|
showFooter = _ref$showFooter === void 0 ? true : _ref$showFooter;
|
|
60
63
|
|
|
@@ -86,7 +89,7 @@ var Page = function Page(_ref) {
|
|
|
86
89
|
}
|
|
87
90
|
}, []);
|
|
88
91
|
return (0, _jsxRuntime.jsxs)("div", {
|
|
89
|
-
className: 'igloo-page-container',
|
|
92
|
+
className: (0, _classnames.default)('igloo-page-container', className),
|
|
90
93
|
children: [(0, _jsxRuntime.jsx)("div", {
|
|
91
94
|
className: 'igloo-page-content',
|
|
92
95
|
children: (0, _jsxRuntime.jsx)(_row.default, {
|
package/lib/form/pages/index.js
CHANGED
|
@@ -17,6 +17,10 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
17
17
|
|
|
18
18
|
var _react = require("react");
|
|
19
19
|
|
|
20
|
+
var _invariant = _interopRequireDefault(require("invariant"));
|
|
21
|
+
|
|
22
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
23
|
+
|
|
20
24
|
var _button = _interopRequireDefault(require("../../button"));
|
|
21
25
|
|
|
22
26
|
var _page = _interopRequireDefault(require("../page"));
|
|
@@ -27,12 +31,10 @@ var _formContext = _interopRequireDefault(require("../../form-context"));
|
|
|
27
31
|
|
|
28
32
|
var _locale = require("../../locale");
|
|
29
33
|
|
|
30
|
-
require("./style/index.less");
|
|
31
|
-
|
|
32
|
-
var _invariant = _interopRequireDefault(require("invariant"));
|
|
33
|
-
|
|
34
34
|
var _typography = _interopRequireDefault(require("../../typography"));
|
|
35
35
|
|
|
36
|
+
require("./style/index.less");
|
|
37
|
+
|
|
36
38
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
37
39
|
|
|
38
40
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
@@ -59,7 +61,8 @@ var Pages = function Pages(_ref) {
|
|
|
59
61
|
name = _ref$config.name,
|
|
60
62
|
_ref$config$elements = _ref$config.elements,
|
|
61
63
|
elements = _ref$config$elements === void 0 ? [] : _ref$config$elements,
|
|
62
|
-
subscribedFields = _ref$config.subscribedFields
|
|
64
|
+
subscribedFields = _ref$config.subscribedFields,
|
|
65
|
+
className = _ref$config.className;
|
|
63
66
|
|
|
64
67
|
var _useState = (0, _react.useState)(0),
|
|
65
68
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -190,7 +193,7 @@ var Pages = function Pages(_ref) {
|
|
|
190
193
|
var buttonDisabled = getButtonDisabledState && form && getButtonDisabledState(form);
|
|
191
194
|
var previousDisabled = getPreviousDisabledState && form && getPreviousDisabledState(form);
|
|
192
195
|
return (0, _jsxRuntime.jsxs)("div", {
|
|
193
|
-
className: 'igloo-pages-container',
|
|
196
|
+
className: (0, _classnames.default)('igloo-pages-container', className),
|
|
194
197
|
children: [(0, _jsxRuntime.jsx)(_typography.default, {
|
|
195
198
|
className: "igloo-pages-page-title",
|
|
196
199
|
level: md ? 'h3b' : 'body1',
|
|
@@ -33,9 +33,11 @@ var _typography = _interopRequireDefault(require("../../typography"));
|
|
|
33
33
|
|
|
34
34
|
var _iglooicon = require("iglooicon");
|
|
35
35
|
|
|
36
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
37
|
+
|
|
36
38
|
require("./style/index.less");
|
|
37
39
|
|
|
38
|
-
var _excluded = ["elements", "name", "label", "labelProps", "contentProps", "style", "collapsable", "defaultCollapsed"];
|
|
40
|
+
var _excluded = ["elements", "name", "label", "labelProps", "contentProps", "style", "className", "collapsable", "defaultCollapsed"];
|
|
39
41
|
|
|
40
42
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
41
43
|
|
|
@@ -74,6 +76,7 @@ var Section = function Section(_ref) {
|
|
|
74
76
|
contentProps = _ref$config$contentPr === void 0 ? {} : _ref$config$contentPr,
|
|
75
77
|
_ref$config$style = _ref$config.style,
|
|
76
78
|
style = _ref$config$style === void 0 ? {} : _ref$config$style,
|
|
79
|
+
className = _ref$config.className,
|
|
77
80
|
_ref$config$collapsab = _ref$config.collapsable,
|
|
78
81
|
collapsable = _ref$config$collapsab === void 0 ? false : _ref$config$collapsab,
|
|
79
82
|
_ref$config$defaultCo = _ref$config.defaultCollapsed,
|
|
@@ -125,7 +128,7 @@ var Section = function Section(_ref) {
|
|
|
125
128
|
|
|
126
129
|
return display ? (0, _jsxRuntime.jsxs)(_col.default, {
|
|
127
130
|
span: 24,
|
|
128
|
-
className: 'igloo-section',
|
|
131
|
+
className: (0, _classnames.default)('igloo-section', className),
|
|
129
132
|
style: style,
|
|
130
133
|
children: [(0, _jsxRuntime.jsxs)("div", {
|
|
131
134
|
className: 'igloo-section-label',
|
package/lib/form/step/index.js
CHANGED
|
@@ -25,6 +25,8 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
25
25
|
|
|
26
26
|
var _react = require("react");
|
|
27
27
|
|
|
28
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
29
|
+
|
|
28
30
|
var _locale = require("../../locale");
|
|
29
31
|
|
|
30
32
|
var _button = _interopRequireDefault(require("../../button"));
|
|
@@ -64,6 +66,7 @@ var Step = function Step(_ref) {
|
|
|
64
66
|
getButtonDisabledState = _ref$config.getButtonDisabledState,
|
|
65
67
|
disableEditButton = _ref$config.disableEditButton,
|
|
66
68
|
buttonText = _ref$config.buttonText,
|
|
69
|
+
className = _ref$config.className,
|
|
67
70
|
edit = _ref.edit,
|
|
68
71
|
preview = _ref.preview,
|
|
69
72
|
index = _ref.index,
|
|
@@ -121,7 +124,7 @@ var Step = function Step(_ref) {
|
|
|
121
124
|
}, [shouldScroll, edit]);
|
|
122
125
|
var displayTotal = showLastIndex ? total : total - 1;
|
|
123
126
|
return (0, _jsxRuntime.jsxs)("div", {
|
|
124
|
-
className: 'igloo-step-container',
|
|
127
|
+
className: (0, _classnames.default)('igloo-step-container', className),
|
|
125
128
|
ref: containerRef,
|
|
126
129
|
children: [label && (0, _jsxRuntime.jsxs)("div", {
|
|
127
130
|
className: "igloo-step-label",
|
package/lib/form/steps/index.js
CHANGED
|
@@ -9,6 +9,10 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
9
9
|
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
|
|
12
|
+
var _invariant = _interopRequireDefault(require("invariant"));
|
|
13
|
+
|
|
14
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
|
+
|
|
12
16
|
var _step = _interopRequireDefault(require("../step"));
|
|
13
17
|
|
|
14
18
|
var _formUtils = require("../../utils/form-utils");
|
|
@@ -19,8 +23,6 @@ var _formStepContext = _interopRequireDefault(require("../../form-step-context")
|
|
|
19
23
|
|
|
20
24
|
require("./style/index.less");
|
|
21
25
|
|
|
22
|
-
var _invariant = _interopRequireDefault(require("invariant"));
|
|
23
|
-
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
27
|
|
|
26
28
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
@@ -50,7 +52,8 @@ var Steps = function Steps(_ref) {
|
|
|
50
52
|
_ref$config$currentSt = _ref$config.currentStep,
|
|
51
53
|
currentStep = _ref$config$currentSt === void 0 ? 0 : _ref$config$currentSt,
|
|
52
54
|
subscribedFields = _ref$config.subscribedFields,
|
|
53
|
-
onEdit = _ref$config.onEdit
|
|
55
|
+
onEdit = _ref$config.onEdit,
|
|
56
|
+
className = _ref$config.className;
|
|
54
57
|
|
|
55
58
|
var _useState = (0, _react.useState)(0),
|
|
56
59
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -192,7 +195,7 @@ var Steps = function Steps(_ref) {
|
|
|
192
195
|
};
|
|
193
196
|
|
|
194
197
|
return (0, _jsxRuntime.jsx)("div", {
|
|
195
|
-
className: 'igloo-steps-container',
|
|
198
|
+
className: (0, _classnames.default)('igloo-steps-container', className),
|
|
196
199
|
children: (0, _jsxRuntime.jsx)("div", {
|
|
197
200
|
className: 'igloo-steps-content',
|
|
198
201
|
children: renderElements.map(function (child, index) {
|
package/lib/layout/footer.js
CHANGED
|
@@ -155,9 +155,11 @@ var LayoutFooter = function LayoutFooter(_ref) {
|
|
|
155
155
|
className: "igloo-layout-footer",
|
|
156
156
|
children: (0, _jsxRuntime.jsxs)("div", {
|
|
157
157
|
className: "footer-content",
|
|
158
|
-
children: [extraInfo && extraInfo(), !hiddenIglooIcon && (0, _jsxRuntime.jsx)("
|
|
158
|
+
children: [extraInfo && extraInfo(), !hiddenIglooIcon && (companyIcon ? (0, _jsxRuntime.jsx)("img", {
|
|
159
|
+
src: companyIcon
|
|
160
|
+
}) : (0, _jsxRuntime.jsx)("div", {
|
|
159
161
|
className: "igloo-logo"
|
|
160
|
-
}), (0, _jsxRuntime.jsxs)("div", {
|
|
162
|
+
})), (0, _jsxRuntime.jsxs)("div", {
|
|
161
163
|
className: (0, _classnames.default)('compony-info', {
|
|
162
164
|
'compony-info-without-icon': hiddenIglooIcon
|
|
163
165
|
}),
|
|
@@ -141,7 +141,6 @@
|
|
|
141
141
|
|
|
142
142
|
& > img {
|
|
143
143
|
width: 64px;
|
|
144
|
-
height: 36px;
|
|
145
144
|
object-fit: contain;
|
|
146
145
|
margin-right: 40px;
|
|
147
146
|
}
|
|
@@ -329,6 +328,12 @@
|
|
|
329
328
|
width: 100%;
|
|
330
329
|
margin: 0 auto;
|
|
331
330
|
|
|
331
|
+
& > img {
|
|
332
|
+
width: 44px;
|
|
333
|
+
margin-bottom: 8px;
|
|
334
|
+
object-fit: contain;
|
|
335
|
+
}
|
|
336
|
+
|
|
332
337
|
.igloo-logo {
|
|
333
338
|
width: 44px;
|
|
334
339
|
height: 24px;
|