dibk-design 1.1.9 → 2.0.0
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/dist/{fonts → assets/fonts}/Altis-Light.eot +0 -0
- package/dist/{fonts → assets/fonts}/Altis-Light.svg +0 -0
- package/dist/{fonts → assets/fonts}/Altis-Light.ttf +0 -0
- package/dist/{fonts → assets/fonts}/Altis-Light.woff +0 -0
- package/dist/{fonts → assets/fonts}/Altis.eot +0 -0
- package/dist/{fonts → assets/fonts}/Altis.svg +0 -0
- package/dist/{fonts → assets/fonts}/Altis.ttf +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300.eot +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300.svg +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300.ttf +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300.woff +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300.woff2 +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300italic.eot +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300italic.svg +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300italic.ttf +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300italic.woff +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-300italic.woff2 +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700.eot +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700.svg +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700.ttf +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700.woff +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700.woff2 +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700italic.eot +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700italic.svg +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700italic.ttf +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700italic.woff +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-700italic.woff2 +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-italic.eot +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-italic.svg +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-italic.ttf +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-italic.woff +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-italic.woff2 +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-regular.eot +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-regular.svg +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-regular.ttf +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-regular.woff +0 -0
- package/dist/{fonts → assets/fonts}/open-sans-v27-latin-ext_latin-regular.woff2 +0 -0
- package/dist/assets/png/dibk-logo.png +0 -0
- package/dist/{images → assets/svg}/dibk-logo-mobile.svg +0 -0
- package/dist/{images → assets/svg}/dibk-logo.svg +0 -0
- package/dist/{images → assets/svg}/spinner.svg +0 -0
- package/dist/components/Accordion.js +61 -92
- package/dist/components/Accordion.module.scss +40 -39
- package/dist/components/Button.js +44 -84
- package/dist/components/Button.module.scss +24 -18
- package/dist/components/CheckBoxIcon.js +20 -61
- package/dist/components/CheckBoxIcon.module.scss +52 -52
- package/dist/components/CheckBoxInput.js +25 -64
- package/dist/components/CheckBoxInput.module.scss +23 -23
- package/dist/components/CheckBoxList.js +9 -2
- package/dist/components/CheckBoxList.module.scss +14 -2
- package/dist/components/CheckBoxListItem.js +2 -6
- package/dist/components/CheckBoxListItem.module.scss +53 -53
- package/dist/components/Container.js +6 -49
- package/dist/components/Container.module.scss +1 -1
- package/dist/components/ContentBox.js +38 -77
- package/dist/components/ContentBox.module.scss +35 -35
- package/dist/components/Dialog.js +38 -106
- package/dist/components/Dialog.module.scss +14 -12
- package/dist/components/DragAndDropFileInput.js +86 -147
- package/dist/components/DragAndDropFileInput.module.scss +28 -28
- package/dist/components/ErrorBox.js +5 -11
- package/dist/components/ErrorBox.module.scss +1 -1
- package/dist/components/ErrorMessage.js +13 -54
- package/dist/components/ErrorMessage.module.scss +1 -1
- package/dist/components/Footer.js +5 -44
- package/dist/components/Footer.module.scss +1 -1
- package/dist/components/Header.js +3 -5
- package/dist/components/Header.module.scss +9 -9
- package/dist/components/InputField.js +69 -120
- package/dist/components/InputField.module.scss +69 -69
- package/dist/components/Label.js +9 -48
- package/dist/components/Label.module.scss +3 -3
- package/dist/components/List.js +1 -1
- package/dist/components/List.module.scss +17 -17
- package/dist/components/ListItem.js +1 -1
- package/dist/components/LoadingAnimation.js +6 -47
- package/dist/components/LoadingAnimation.module.scss +23 -23
- package/dist/components/NavigationBar.js +137 -190
- package/dist/components/NavigationBar.module.scss +165 -165
- package/dist/components/NavigationBarListItem.js +22 -60
- package/dist/components/Paper.js +5 -45
- package/dist/components/Paper.module.scss +14 -14
- package/dist/components/ProgressBar.js +16 -8
- package/dist/components/ProgressBar.module.scss +2 -2
- package/dist/components/RadioButtonIcon.js +15 -55
- package/dist/components/RadioButtonIcon.module.scss +36 -36
- package/dist/components/RadioButtonInput.js +24 -63
- package/dist/components/RadioButtonInput.module.scss +23 -25
- package/dist/components/RadioButtonList.js +9 -2
- package/dist/components/RadioButtonList.module.scss +14 -2
- package/dist/components/RadioButtonListItem.js +3 -6
- package/dist/components/RadioButtonListItem.module.scss +7 -7
- package/dist/components/Select.js +98 -140
- package/dist/components/Select.module.scss +76 -76
- package/dist/components/Table.js +1 -3
- package/dist/components/Table.module.scss +1 -1
- package/dist/components/Textarea.js +54 -96
- package/dist/components/Textarea.module.scss +2 -2
- package/dist/components/Theme.js +60 -106
- package/dist/components/Theme.module.scss +12 -12
- package/dist/components/WizardNavigation/Step.js +34 -80
- package/dist/components/WizardNavigation/Step.module.scss +12 -12
- package/dist/components/WizardNavigation.js +19 -63
- package/dist/components/WizardNavigation.module.scss +1 -1
- package/dist/functions/theme.js +24 -10
- package/dist/index.js +0 -2
- package/dist/style/base/_all.scss +1 -0
- package/dist/style/base/_fonts.scss +97 -0
- package/package.json +63 -28
- package/dist/components/Accordion.md +0 -15
- package/dist/components/Button.md +0 -78
- package/dist/components/CheckBoxIcon.md +0 -38
- package/dist/components/CheckBoxInput.md +0 -51
- package/dist/components/CheckBoxList.md +0 -26
- package/dist/components/CheckBoxListItem.md +0 -82
- package/dist/components/Container.md +0 -7
- package/dist/components/ContentBox.md +0 -46
- package/dist/components/Dialog.md +0 -6
- package/dist/components/DragAndDropFileInput.md +0 -13
- package/dist/components/ErrorBox.md +0 -27
- package/dist/components/ErrorMessage.md +0 -15
- package/dist/components/Footer.md +0 -7
- package/dist/components/Header.md +0 -12
- package/dist/components/InputField.md +0 -40
- package/dist/components/Label.md +0 -9
- package/dist/components/List.md +0 -71
- package/dist/components/LoadingAnimation.md +0 -5
- package/dist/components/NavigationBar.md +0 -42
- package/dist/components/NavigationBarListItem.md +0 -16
- package/dist/components/Paper.md +0 -9
- package/dist/components/ProgressBar.md +0 -13
- package/dist/components/RadioButtonIcon.md +0 -41
- package/dist/components/RadioButtonInput.md +0 -30
- package/dist/components/RadioButtonList.md +0 -28
- package/dist/components/RadioButtonListItem.md +0 -70
- package/dist/components/Select.md +0 -28
- package/dist/components/Table.md +0 -26
- package/dist/components/Textarea.md +0 -27
- package/dist/components/Theme.md +0 -12
- package/dist/components/WizardNavigation.md +0 -84
- package/dist/style/base/fonts.css +0 -95
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
@import "../style/global.scss";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
.headerContainer {
|
|
4
4
|
padding: 5px 0;
|
|
5
|
-
|
|
5
|
+
.header {
|
|
6
6
|
margin: 0;
|
|
7
7
|
font-weight: normal;
|
|
8
8
|
line-height: 1.4;
|
|
9
9
|
font-style: normal;
|
|
10
|
-
&:not(
|
|
10
|
+
&:not(.hasTheme) {
|
|
11
11
|
color: $color-primary;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
&.size-1 {
|
|
14
14
|
font-family: "Altis", sans-serif;
|
|
15
15
|
font-size: 32px;
|
|
16
16
|
font-style: normal;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@media only screen and (min-width: $screen-sm) {
|
|
20
20
|
font-size: 38px;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
&.bigHeader {
|
|
23
23
|
font-family: "Altis-Light", "Open Sans", arial, sans-serif;
|
|
24
24
|
font-size: 40px;
|
|
25
25
|
line-height: 1.2;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
&.size-2 {
|
|
34
34
|
font-family: "Altis", sans-serif;
|
|
35
35
|
font-size: 25px;
|
|
36
36
|
font-style: normal;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
font-size: 30px;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
&.size-3 {
|
|
44
44
|
font-family: $default-font;
|
|
45
45
|
font-size: 19px;
|
|
46
46
|
font-style: normal;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
font-size: 22px;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
&.size-4 {
|
|
54
54
|
font-family: $default-font;
|
|
55
55
|
font-size: 17px;
|
|
56
56
|
font-style: italic;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
font-size: 21px;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
&.size-5 {
|
|
64
64
|
font-family: $default-font;
|
|
65
65
|
font-size: 16px;
|
|
66
66
|
font-weight: normal;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
@@ -29,132 +27,83 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
29
27
|
|
|
30
28
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
31
29
|
|
|
32
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
33
|
-
|
|
34
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
35
|
-
|
|
36
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
37
|
-
|
|
38
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
39
|
-
|
|
40
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
41
|
-
|
|
42
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
43
|
-
|
|
44
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
45
|
-
|
|
46
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
47
|
-
|
|
48
|
-
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; } }
|
|
49
|
-
|
|
50
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
51
|
-
|
|
52
30
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
53
31
|
|
|
54
|
-
var InputField =
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
var _super = _createSuper(InputField);
|
|
32
|
+
var InputField = function InputField(props) {
|
|
33
|
+
var _props$width;
|
|
58
34
|
|
|
59
|
-
function
|
|
60
|
-
|
|
35
|
+
var getThemeErrorInputStyle = function getThemeErrorInputStyle(theme) {
|
|
36
|
+
return {
|
|
37
|
+
boxShadow: "0 0 3px ".concat((0, _theme.getThemePaletteBackgroundColor)(theme, "warning")),
|
|
38
|
+
borderColor: (0, _theme.getThemePaletteBackgroundColor)(theme, "warning")
|
|
39
|
+
};
|
|
40
|
+
};
|
|
61
41
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
args[_key] = arguments[_key];
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
_this = _super.call.apply(_super, [this].concat(args));
|
|
69
|
-
|
|
70
|
-
_defineProperty(_assertThisInitialized(_this), "formatDate", function (inputDate) {
|
|
71
|
-
if (!inputDate) {
|
|
72
|
-
return null;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
var date = new Date(inputDate);
|
|
76
|
-
var year = date.getFullYear();
|
|
77
|
-
var month = date.getMonth() + 1 < 10 ? "0".concat(date.getMonth() + 1) : date.getMonth() + 1;
|
|
78
|
-
var day = date.getDate() < 10 ? "0".concat(date.getDate()) : date.getDate();
|
|
79
|
-
return "".concat(day, ".").concat(month, ".").concat(year);
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
return _this;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
_createClass(InputField, [{
|
|
86
|
-
key: "getThemeErrorInputStyle",
|
|
87
|
-
value: function getThemeErrorInputStyle(theme) {
|
|
88
|
-
return {
|
|
89
|
-
boxShadow: "0 0 3px ".concat((0, _theme.getThemePaletteBackgroundColor)(theme, "warning")),
|
|
90
|
-
borderColor: (0, _theme.getThemePaletteBackgroundColor)(theme, "warning")
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
}, {
|
|
94
|
-
key: "renderValueAsText",
|
|
95
|
-
value: function renderValueAsText(value, defaultContent) {
|
|
96
|
-
return this.props.type === "date" ? value ? this.formatDate(value) : defaultContent : value ? value : defaultContent;
|
|
42
|
+
var formatDate = function formatDate(inputDate) {
|
|
43
|
+
if (!inputDate) {
|
|
44
|
+
return null;
|
|
97
45
|
}
|
|
98
|
-
}, {
|
|
99
|
-
key: "getInputElementProps",
|
|
100
|
-
value: function getInputElementProps(defaultValue, defaultKey, styleRules) {
|
|
101
|
-
var _ref;
|
|
102
|
-
|
|
103
|
-
return _ref = {
|
|
104
|
-
name: this.props.name,
|
|
105
|
-
readOnly: this.props.readOnly,
|
|
106
|
-
disabled: this.props.disabled,
|
|
107
|
-
type: this.props.type,
|
|
108
|
-
role: this.props.role,
|
|
109
|
-
id: this.props.id,
|
|
110
|
-
key: defaultKey || "".concat(this.props.id, "-").concat((0, _generators.generateRandomString)(6)),
|
|
111
|
-
min: this.props.min || null,
|
|
112
|
-
max: this.props.max || null,
|
|
113
|
-
onChange: this.props.onChange,
|
|
114
|
-
onBlur: this.props.onBlur
|
|
115
|
-
}, _defineProperty(_ref, defaultValue ? "defaultValue" : "value", defaultValue || this.props.value), _defineProperty(_ref, "placeholder", this.props.placeholder || null), _defineProperty(_ref, "className", this.props.hasErrors ? _InputFieldModule.default.hasErrors : null), _defineProperty(_ref, "aria-required", this.props.mandatory), _defineProperty(_ref, "aria-describedby", this.props["aria-describedby"] || null), _defineProperty(_ref, "style", styleRules), _ref;
|
|
116
|
-
}
|
|
117
|
-
}, {
|
|
118
|
-
key: "render",
|
|
119
|
-
value: function render() {
|
|
120
|
-
var _this$props$width,
|
|
121
|
-
_this2 = this;
|
|
122
|
-
|
|
123
|
-
var defaultValue = this.props.defaultValue ? this.props.defaultValue : this.props.value || null;
|
|
124
|
-
var defaultKey = this.props.elementKey || null;
|
|
125
|
-
|
|
126
|
-
var styleRules = _objectSpread(_objectSpread({}, this.props.hasErrors ? this.getThemeErrorInputStyle(this.props.theme) : null), ((_this$props$width = this.props.width) === null || _this$props$width === void 0 ? void 0 : _this$props$width.length) && {
|
|
127
|
-
maxWidth: this.props.width
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
131
|
-
className: "".concat(_InputFieldModule.default.inputField, " ").concat(_InputFieldModule.default[this.props.type])
|
|
132
|
-
}, /*#__PURE__*/_react.default.createElement(_Label.default, {
|
|
133
|
-
htmlFor: this.props.id
|
|
134
|
-
}, this.props.label, this.props.type === "file" ? /*#__PURE__*/_react.default.createElement("div", {
|
|
135
|
-
className: _InputFieldModule.default.fileInputContainer
|
|
136
|
-
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
137
|
-
className: _InputFieldModule.default.input
|
|
138
|
-
}, this.props.selectedFileName), this.props.buttonContent ? /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
139
|
-
color: this.props.buttonColor,
|
|
140
|
-
onClick: function onClick() {
|
|
141
|
-
document.getElementById(_this2.props.id).click();
|
|
142
|
-
},
|
|
143
|
-
content: this.props.buttonContent,
|
|
144
|
-
type: "button",
|
|
145
|
-
theme: this.props.theme
|
|
146
|
-
}) : null) : null), !this.props.contentOnly ? /*#__PURE__*/_react.default.createElement("input", this.getInputElementProps(defaultValue, defaultKey, styleRules)) : /*#__PURE__*/_react.default.createElement("span", null, this.renderValueAsText(this.props.value || this.props.defaultValue, this.props.defaultContent)), /*#__PURE__*/_react.default.createElement(_ErrorMessage.default, {
|
|
147
|
-
content: this.props.errorMessage,
|
|
148
|
-
theme: this.props.theme
|
|
149
|
-
}));
|
|
150
|
-
}
|
|
151
|
-
}]);
|
|
152
46
|
|
|
153
|
-
|
|
154
|
-
|
|
47
|
+
var date = new Date(inputDate);
|
|
48
|
+
var year = date.getFullYear();
|
|
49
|
+
var month = date.getMonth() + 1 < 10 ? "0".concat(date.getMonth() + 1) : date.getMonth() + 1;
|
|
50
|
+
var day = date.getDate() < 10 ? "0".concat(date.getDate()) : date.getDate();
|
|
51
|
+
return "".concat(day, ".").concat(month, ".").concat(year);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
var renderValueAsText = function renderValueAsText(value, defaultContent) {
|
|
55
|
+
return props.type === "date" ? value ? formatDate(value) : defaultContent : value ? value : defaultContent;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
var getInputElementProps = function getInputElementProps(defaultValue, defaultKey, styleRules) {
|
|
59
|
+
var _ref;
|
|
60
|
+
|
|
61
|
+
return _ref = {
|
|
62
|
+
name: props.name,
|
|
63
|
+
readOnly: props.readOnly,
|
|
64
|
+
disabled: props.disabled,
|
|
65
|
+
required: props.required,
|
|
66
|
+
type: props.type,
|
|
67
|
+
role: props.role,
|
|
68
|
+
id: props.id,
|
|
69
|
+
key: defaultKey || "".concat(props.id, "-").concat((0, _generators.generateRandomString)(6)),
|
|
70
|
+
min: props.min || null,
|
|
71
|
+
max: props.max || null,
|
|
72
|
+
onChange: props.onChange,
|
|
73
|
+
onBlur: props.onBlur
|
|
74
|
+
}, _defineProperty(_ref, defaultValue ? "defaultValue" : "value", defaultValue || props.value), _defineProperty(_ref, "placeholder", props.placeholder || null), _defineProperty(_ref, "className", props.hasErrors ? _InputFieldModule.default.hasErrors : null), _defineProperty(_ref, "aria-required", props.mandatory), _defineProperty(_ref, "aria-describedby", props["aria-describedby"] || null), _defineProperty(_ref, "style", styleRules), _ref;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
var defaultValue = props.defaultValue ? props.defaultValue : props.value || null;
|
|
78
|
+
var defaultKey = props.elementKey || null;
|
|
79
|
+
|
|
80
|
+
var styleRules = _objectSpread(_objectSpread({}, props.hasErrors ? getThemeErrorInputStyle(props.theme) : null), ((_props$width = props.width) === null || _props$width === void 0 ? void 0 : _props$width.length) && {
|
|
81
|
+
maxWidth: props.width
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
return _react.default.createElement("div", {
|
|
85
|
+
className: "".concat(_InputFieldModule.default.inputField, " ").concat(_InputFieldModule.default[props.type])
|
|
86
|
+
}, _react.default.createElement(_Label.default, {
|
|
87
|
+
htmlFor: props.id
|
|
88
|
+
}, props.label, props.type === "file" ? _react.default.createElement("div", {
|
|
89
|
+
className: _InputFieldModule.default.fileInputContainer
|
|
90
|
+
}, _react.default.createElement("span", {
|
|
91
|
+
className: _InputFieldModule.default.input
|
|
92
|
+
}, props.selectedFileName), props.buttonContent ? _react.default.createElement(_Button.default, {
|
|
93
|
+
color: props.buttonColor,
|
|
94
|
+
onClick: function onClick() {
|
|
95
|
+
document.getElementById(props.id).click();
|
|
96
|
+
},
|
|
97
|
+
content: props.buttonContent,
|
|
98
|
+
type: "button",
|
|
99
|
+
theme: props.theme
|
|
100
|
+
}) : null) : null), !props.contentOnly ? _react.default.createElement("input", getInputElementProps(defaultValue, defaultKey, styleRules)) : _react.default.createElement("span", null, renderValueAsText(props.value || props.defaultValue, props.defaultContent)), _react.default.createElement(_ErrorMessage.default, {
|
|
101
|
+
content: props.errorMessage,
|
|
102
|
+
theme: props.theme
|
|
103
|
+
}));
|
|
104
|
+
};
|
|
155
105
|
|
|
156
106
|
InputField.propTypes = {
|
|
157
|
-
/** Text content inside list item */
|
|
158
107
|
id: _propTypes.default.string.isRequired,
|
|
159
108
|
onChange: _propTypes.default.func.isRequired,
|
|
160
109
|
onBlur: _propTypes.default.func,
|
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
@import "../style/global.scss";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
font-size: 16px;
|
|
5
|
-
@media only screen and (min-width: $screen-sm) {
|
|
6
|
-
font-size: 19px;
|
|
7
|
-
}
|
|
8
|
-
> div {
|
|
9
|
-
display: block;
|
|
10
|
-
}
|
|
11
|
-
input,
|
|
12
|
-
&:local(.file) :local(span.input) {
|
|
13
|
-
@include appearance(none);
|
|
14
|
-
@include transition(border-color 0.15s linear, background 0.15s linear);
|
|
15
|
-
@include border-radius(0);
|
|
16
|
-
@include box-shadow(none);
|
|
17
|
-
height: 47px;
|
|
18
|
-
width: 100%;
|
|
19
|
-
display: block;
|
|
20
|
-
padding: 10px;
|
|
21
|
-
margin-bottom: 0;
|
|
22
|
-
font-weight: 300;
|
|
23
|
-
background-color: #fff;
|
|
24
|
-
box-shadow: none;
|
|
25
|
-
color: rgba(0, 0, 0, 0.75);
|
|
26
|
-
font-family: inherit;
|
|
3
|
+
.inputField {
|
|
27
4
|
font-size: 16px;
|
|
28
|
-
box-sizing: border-box;
|
|
29
|
-
border: 1px solid #afaba8;
|
|
30
5
|
@media only screen and (min-width: $screen-sm) {
|
|
31
|
-
|
|
32
|
-
height: 56px;
|
|
6
|
+
font-size: 19px;
|
|
33
7
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
border-color: $color-dark-blue;
|
|
8
|
+
> div {
|
|
9
|
+
display: block;
|
|
37
10
|
}
|
|
11
|
+
input,
|
|
12
|
+
&.file span.input {
|
|
13
|
+
@include appearance(none);
|
|
14
|
+
@include transition(border-color 0.15s linear, background 0.15s linear);
|
|
15
|
+
@include border-radius(0);
|
|
16
|
+
@include box-shadow(none);
|
|
17
|
+
height: 47px;
|
|
18
|
+
width: 100%;
|
|
19
|
+
display: block;
|
|
20
|
+
padding: 10px;
|
|
21
|
+
margin-bottom: 0;
|
|
22
|
+
font-weight: 300;
|
|
23
|
+
background-color: #fff;
|
|
24
|
+
box-shadow: none;
|
|
25
|
+
color: rgba(0, 0, 0, 0.75);
|
|
26
|
+
font-family: inherit;
|
|
27
|
+
font-size: 16px;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
border: 1px solid #afaba8;
|
|
30
|
+
@media only screen and (min-width: $screen-sm) {
|
|
31
|
+
font-size: 19px;
|
|
32
|
+
height: 56px;
|
|
33
|
+
}
|
|
38
34
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
35
|
+
&:hover {
|
|
36
|
+
border-color: $color-dark-blue;
|
|
37
|
+
}
|
|
43
38
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
39
|
+
&:focus {
|
|
40
|
+
border-color: $color-dark-blue;
|
|
41
|
+
outline-color: #54acb8;
|
|
42
|
+
}
|
|
49
43
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
input {
|
|
72
|
-
display: none;
|
|
73
|
-
}
|
|
74
|
-
:local(span.input) {
|
|
75
|
-
flex: 1;
|
|
44
|
+
&[disabled],
|
|
45
|
+
&[readonly] {
|
|
46
|
+
background-color: #ddd;
|
|
47
|
+
cursor: default;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.hasErrors {
|
|
51
|
+
border-color: $color-error;
|
|
52
|
+
&:focus {
|
|
53
|
+
border-color: $color-error;
|
|
54
|
+
outline-color: #b8565d;
|
|
55
|
+
}
|
|
56
|
+
&[disabled],
|
|
57
|
+
&[readonly] {
|
|
58
|
+
background-color: #ddd;
|
|
59
|
+
cursor: default;
|
|
60
|
+
border-color: #afaba8;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
76
63
|
}
|
|
77
|
-
|
|
78
|
-
|
|
64
|
+
&.file {
|
|
65
|
+
label {
|
|
66
|
+
.fileInputContainer {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
input {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
span.input {
|
|
75
|
+
flex: 1;
|
|
76
|
+
}
|
|
77
|
+
button {
|
|
78
|
+
margin: 0 8px;
|
|
79
|
+
}
|
|
79
80
|
}
|
|
80
|
-
}
|
|
81
81
|
}
|
package/dist/components/Label.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
@@ -23,53 +21,16 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
23
21
|
|
|
24
22
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
29
|
-
|
|
30
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
31
|
-
|
|
32
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
33
|
-
|
|
34
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
35
|
-
|
|
36
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
37
|
-
|
|
38
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
39
|
-
|
|
40
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
|
-
|
|
42
|
-
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; } }
|
|
24
|
+
var Label = function Label(props) {
|
|
25
|
+
var labelProps = _objectSpread({}, props);
|
|
43
26
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
var
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
function Label() {
|
|
52
|
-
_classCallCheck(this, Label);
|
|
53
|
-
|
|
54
|
-
return _super.apply(this, arguments);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
_createClass(Label, [{
|
|
58
|
-
key: "render",
|
|
59
|
-
value: function render() {
|
|
60
|
-
var labelProps = _objectSpread({}, this.props);
|
|
61
|
-
|
|
62
|
-
delete labelProps.inline;
|
|
63
|
-
delete labelProps.normalCursor;
|
|
64
|
-
var className = "".concat(_LabelModule.default.label, " ").concat(this.props.inline ? _LabelModule.default.inline : '', " ").concat(this.props.normalCursor ? _LabelModule.default.normalCursor : '');
|
|
65
|
-
return /*#__PURE__*/_react.default.createElement("label", _extends({}, labelProps, {
|
|
66
|
-
className: className
|
|
67
|
-
}), this.props.children);
|
|
68
|
-
}
|
|
69
|
-
}]);
|
|
70
|
-
|
|
71
|
-
return Label;
|
|
72
|
-
}(_react.default.Component);
|
|
27
|
+
delete labelProps.inline;
|
|
28
|
+
delete labelProps.normalCursor;
|
|
29
|
+
var className = "".concat(_LabelModule.default.label, " ").concat(props.inline ? _LabelModule.default.inline : "", " ").concat(props.normalCursor ? _LabelModule.default.normalCursor : "");
|
|
30
|
+
return _react.default.createElement("label", _extends({}, labelProps, {
|
|
31
|
+
className: className
|
|
32
|
+
}), props.children);
|
|
33
|
+
};
|
|
73
34
|
|
|
74
35
|
Label.propTypes = {
|
|
75
36
|
inline: _propTypes.default.bool,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../style/global.scss";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
.label {
|
|
4
4
|
color: #000;
|
|
5
5
|
display: block;
|
|
6
6
|
font-size: 1rem;
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
margin-bottom: 2px;
|
|
10
10
|
font-family: $default-font;
|
|
11
11
|
overflow-wrap: break-word;
|
|
12
|
-
|
|
12
|
+
&.inline {
|
|
13
13
|
display: inline-block;
|
|
14
14
|
}
|
|
15
|
-
&:not(
|
|
15
|
+
&:not(.normalCursor) {
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
}
|
|
18
18
|
}
|
package/dist/components/List.js
CHANGED
|
@@ -21,7 +21,7 @@ var List = function List(props) {
|
|
|
21
21
|
var defaultListStyle = props.ordered ? "decimal" : "disc";
|
|
22
22
|
var scssValueProperty = "--listStyle";
|
|
23
23
|
|
|
24
|
-
var listElement =
|
|
24
|
+
var listElement = _react.default.createElement(listType, {
|
|
25
25
|
className: "".concat(_ListModule.default.list, " ").concat(!!props.compact ? _ListModule.default.compact : ""),
|
|
26
26
|
style: _defineProperty({}, scssValueProperty, props.listStyle || defaultListStyle)
|
|
27
27
|
}, props.children);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
.list {
|
|
2
|
+
margin: 0;
|
|
3
|
+
margin-left: 20px;
|
|
4
|
+
padding: 0;
|
|
5
|
+
margin-bottom: 20px;
|
|
6
|
+
list-style-position: outside;
|
|
7
|
+
font-size: 16px;
|
|
8
|
+
list-style: var(--listStyle);
|
|
9
|
+
> li {
|
|
10
|
+
line-height: 1.6;
|
|
11
|
+
}
|
|
12
|
+
&.compact {
|
|
13
|
+
margin-left: 0px;
|
|
14
|
+
> li {
|
|
15
|
+
line-height: 1.4;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
18
|
}
|
|
@@ -15,7 +15,7 @@ var ListItem = function ListItem(props) {
|
|
|
15
15
|
var elementProps = {
|
|
16
16
|
key: props.elementKey || null
|
|
17
17
|
};
|
|
18
|
-
return
|
|
18
|
+
return _react.default.createElement("li", elementProps, props.children, props.elementKey);
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
ListItem.propTypes = {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
@@ -15,60 +13,21 @@ var _LoadingAnimationModule = _interopRequireDefault(require("./LoadingAnimation
|
|
|
15
13
|
|
|
16
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
|
-
|
|
26
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
|
-
|
|
28
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
29
|
-
|
|
30
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
|
-
|
|
32
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
|
-
|
|
34
|
-
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; } }
|
|
35
|
-
|
|
36
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
37
|
-
|
|
38
|
-
var LoadingAnimation = /*#__PURE__*/function (_React$Component) {
|
|
39
|
-
_inherits(LoadingAnimation, _React$Component);
|
|
40
|
-
|
|
41
|
-
var _super = _createSuper(LoadingAnimation);
|
|
42
|
-
|
|
43
|
-
function LoadingAnimation() {
|
|
44
|
-
_classCallCheck(this, LoadingAnimation);
|
|
45
|
-
|
|
46
|
-
return _super.apply(this, arguments);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
_createClass(LoadingAnimation, [{
|
|
50
|
-
key: "render",
|
|
51
|
-
value: function render() {
|
|
52
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
53
|
-
className: this.props.fixed ? _LoadingAnimationModule.default.loadingAnimation + ' ' + _LoadingAnimationModule.default.fixed : _LoadingAnimationModule.default.loadingAnimation
|
|
54
|
-
}, this.props.message);
|
|
55
|
-
}
|
|
56
|
-
}]);
|
|
57
|
-
|
|
58
|
-
return LoadingAnimation;
|
|
59
|
-
}(_react.default.Component);
|
|
16
|
+
var LoadingAnimation = function LoadingAnimation(props) {
|
|
17
|
+
return _react.default.createElement("div", {
|
|
18
|
+
className: props.fixed ? _LoadingAnimationModule.default.loadingAnimation + " " + _LoadingAnimationModule.default.fixed : _LoadingAnimationModule.default.loadingAnimation
|
|
19
|
+
}, props.message);
|
|
20
|
+
};
|
|
60
21
|
|
|
61
22
|
LoadingAnimation.propTypes = {
|
|
62
23
|
fixed: _propTypes.default.bool,
|
|
63
24
|
active: _propTypes.default.bool,
|
|
64
|
-
|
|
65
|
-
/** Text content inside button */
|
|
66
25
|
message: _propTypes.default.string
|
|
67
26
|
};
|
|
68
27
|
LoadingAnimation.defaultProps = {
|
|
69
28
|
fixed: false,
|
|
70
29
|
active: true,
|
|
71
|
-
message:
|
|
30
|
+
message: ""
|
|
72
31
|
};
|
|
73
32
|
var _default = LoadingAnimation;
|
|
74
33
|
exports.default = _default;
|