blue-react 8.3.1 → 8.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/LICENSE +164 -164
  2. package/README.md +59 -59
  3. package/dist/components/ActionMenu.js +2 -2
  4. package/dist/components/ActionMenuSwitch.js +2 -2
  5. package/dist/components/Body.js +2 -2
  6. package/dist/components/BodyRounded.js +2 -2
  7. package/dist/components/Caret.js +2 -2
  8. package/dist/components/DocumentView.js +2 -2
  9. package/dist/components/Grid.js +287 -287
  10. package/dist/components/Header.js +2 -2
  11. package/dist/components/HeaderTitle.js +3 -3
  12. package/dist/components/Intro.js +2 -2
  13. package/dist/components/Layout.js +19 -19
  14. package/dist/components/MenuItem.js +11 -3
  15. package/dist/components/Modal.js +5 -5
  16. package/dist/components/Outside.js +6 -6
  17. package/dist/components/Page.js +2 -2
  18. package/dist/components/Search.js +9 -5
  19. package/dist/components/SidebarMenu.js +2 -2
  20. package/dist/components/Switch.js +2 -2
  21. package/dist/components/Utilities.js +2 -2
  22. package/dist/style.css +4973 -8707
  23. package/dist/style.min.css +12 -10
  24. package/dist/style.scss +28 -28
  25. package/dist/styles/_action-menu.scss +81 -81
  26. package/dist/styles/_bootstrap-mixins_overwritten.scss +106 -106
  27. package/dist/styles/_bootstrap-optimizations.scss +13 -13
  28. package/dist/styles/_bootstrap-variables.scss +15 -15
  29. package/dist/styles/_bootstrap.scss +56 -56
  30. package/dist/styles/_caret.scss +50 -50
  31. package/dist/styles/_document-view.scss +6 -6
  32. package/dist/styles/_general.scss +177 -177
  33. package/dist/styles/_grid.scss +381 -381
  34. package/dist/styles/_hover.scss +42 -42
  35. package/dist/styles/_keyframes.scss +73 -73
  36. package/dist/styles/_mixins.scss +6 -6
  37. package/dist/styles/_router.scss +18 -18
  38. package/dist/styles/_search.scss +61 -61
  39. package/dist/styles/_status.scss +149 -149
  40. package/dist/styles/_switch.scss +21 -21
  41. package/dist/styles/_tooltips.scss +189 -189
  42. package/dist/styles/_variables.scss +97 -97
  43. package/dist/styles/mixins/_action-menu.scss +68 -68
  44. package/dist/styles/mixins/_custom-property.scss +10 -10
  45. package/dist/styles/mixins/_misc.scss +33 -33
  46. package/dist/styles/mixins/_scroll-shadow.scss +9 -9
  47. package/dist/styles/mixins/_sidebar.scss +156 -156
  48. package/dist/styles/mixins/_switch.scss +85 -85
  49. package/dist/types/components/ActionMenu.d.ts +22 -22
  50. package/dist/types/components/ActionMenuSwitch.d.ts +11 -11
  51. package/dist/types/components/Body.d.ts +21 -21
  52. package/dist/types/components/BodyRounded.d.ts +10 -10
  53. package/dist/types/components/Caret.d.ts +16 -16
  54. package/dist/types/components/DocumentView.d.ts +23 -23
  55. package/dist/types/components/Grid.d.ts +110 -110
  56. package/dist/types/components/Header.d.ts +8 -8
  57. package/dist/types/components/HeaderTitle.d.ts +29 -29
  58. package/dist/types/components/Intro.d.ts +23 -23
  59. package/dist/types/components/Layout.d.ts +120 -120
  60. package/dist/types/components/MenuItem.d.ts +101 -69
  61. package/dist/types/components/Modal.d.ts +25 -25
  62. package/dist/types/components/ModalProvider.d.ts +11 -11
  63. package/dist/types/components/Outside.d.ts +14 -14
  64. package/dist/types/components/Page.d.ts +12 -12
  65. package/dist/types/components/Search.d.ts +32 -30
  66. package/dist/types/components/SidebarMenu.d.ts +32 -32
  67. package/dist/types/components/Status.d.ts +12 -12
  68. package/dist/types/components/StatusProvider.d.ts +15 -15
  69. package/dist/types/components/Switch.d.ts +21 -21
  70. package/dist/types/components/Utilities.d.ts +17 -17
  71. package/dist/types/components/shared.d.ts +15 -15
  72. package/index.d.ts +65 -65
  73. package/index.js +27 -27
  74. package/package.json +88 -88
package/LICENSE CHANGED
@@ -1,165 +1,165 @@
1
- GNU LESSER GENERAL PUBLIC LICENSE
2
- Version 3, 29 June 2007
3
-
4
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
- Everyone is permitted to copy and distribute verbatim copies
6
- of this license document, but changing it is not allowed.
7
-
8
-
9
- This version of the GNU Lesser General Public License incorporates
10
- the terms and conditions of version 3 of the GNU General Public
11
- License, supplemented by the additional permissions listed below.
12
-
13
- 0. Additional Definitions.
14
-
15
- As used herein, "this License" refers to version 3 of the GNU Lesser
16
- General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
- General Public License.
18
-
19
- "The Library" refers to a covered work governed by this License,
20
- other than an Application or a Combined Work as defined below.
21
-
22
- An "Application" is any work that makes use of an interface provided
23
- by the Library, but which is not otherwise based on the Library.
24
- Defining a subclass of a class defined by the Library is deemed a mode
25
- of using an interface provided by the Library.
26
-
27
- A "Combined Work" is a work produced by combining or linking an
28
- Application with the Library. The particular version of the Library
29
- with which the Combined Work was made is also called the "Linked
30
- Version".
31
-
32
- The "Minimal Corresponding Source" for a Combined Work means the
33
- Corresponding Source for the Combined Work, excluding any source code
34
- for portions of the Combined Work that, considered in isolation, are
35
- based on the Application, and not on the Linked Version.
36
-
37
- The "Corresponding Application Code" for a Combined Work means the
38
- object code and/or source code for the Application, including any data
39
- and utility programs needed for reproducing the Combined Work from the
40
- Application, but excluding the System Libraries of the Combined Work.
41
-
42
- 1. Exception to Section 3 of the GNU GPL.
43
-
44
- You may convey a covered work under sections 3 and 4 of this License
45
- without being bound by section 3 of the GNU GPL.
46
-
47
- 2. Conveying Modified Versions.
48
-
49
- If you modify a copy of the Library, and, in your modifications, a
50
- facility refers to a function or data to be supplied by an Application
51
- that uses the facility (other than as an argument passed when the
52
- facility is invoked), then you may convey a copy of the modified
53
- version:
54
-
55
- a) under this License, provided that you make a good faith effort to
56
- ensure that, in the event an Application does not supply the
57
- function or data, the facility still operates, and performs
58
- whatever part of its purpose remains meaningful, or
59
-
60
- b) under the GNU GPL, with none of the additional permissions of
61
- this License applicable to that copy.
62
-
63
- 3. Object Code Incorporating Material from Library Header Files.
64
-
65
- The object code form of an Application may incorporate material from
66
- a header file that is part of the Library. You may convey such object
67
- code under terms of your choice, provided that, if the incorporated
68
- material is not limited to numerical parameters, data structure
69
- layouts and accessors, or small macros, inline functions and templates
70
- (ten or fewer lines in length), you do both of the following:
71
-
72
- a) Give prominent notice with each copy of the object code that the
73
- Library is used in it and that the Library and its use are
74
- covered by this License.
75
-
76
- b) Accompany the object code with a copy of the GNU GPL and this license
77
- document.
78
-
79
- 4. Combined Works.
80
-
81
- You may convey a Combined Work under terms of your choice that,
82
- taken together, effectively do not restrict modification of the
83
- portions of the Library contained in the Combined Work and reverse
84
- engineering for debugging such modifications, if you also do each of
85
- the following:
86
-
87
- a) Give prominent notice with each copy of the Combined Work that
88
- the Library is used in it and that the Library and its use are
89
- covered by this License.
90
-
91
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
- document.
93
-
94
- c) For a Combined Work that displays copyright notices during
95
- execution, include the copyright notice for the Library among
96
- these notices, as well as a reference directing the user to the
97
- copies of the GNU GPL and this license document.
98
-
99
- d) Do one of the following:
100
-
101
- 0) Convey the Minimal Corresponding Source under the terms of this
102
- License, and the Corresponding Application Code in a form
103
- suitable for, and under terms that permit, the user to
104
- recombine or relink the Application with a modified version of
105
- the Linked Version to produce a modified Combined Work, in the
106
- manner specified by section 6 of the GNU GPL for conveying
107
- Corresponding Source.
108
-
109
- 1) Use a suitable shared library mechanism for linking with the
110
- Library. A suitable mechanism is one that (a) uses at run time
111
- a copy of the Library already present on the user's computer
112
- system, and (b) will operate properly with a modified version
113
- of the Library that is interface-compatible with the Linked
114
- Version.
115
-
116
- e) Provide Installation Information, but only if you would otherwise
117
- be required to provide such information under section 6 of the
118
- GNU GPL, and only to the extent that such information is
119
- necessary to install and execute a modified version of the
120
- Combined Work produced by recombining or relinking the
121
- Application with a modified version of the Linked Version. (If
122
- you use option 4d0, the Installation Information must accompany
123
- the Minimal Corresponding Source and Corresponding Application
124
- Code. If you use option 4d1, you must provide the Installation
125
- Information in the manner specified by section 6 of the GNU GPL
126
- for conveying Corresponding Source.)
127
-
128
- 5. Combined Libraries.
129
-
130
- You may place library facilities that are a work based on the
131
- Library side by side in a single library together with other library
132
- facilities that are not Applications and are not covered by this
133
- License, and convey such a combined library under terms of your
134
- choice, if you do both of the following:
135
-
136
- a) Accompany the combined library with a copy of the same work based
137
- on the Library, uncombined with any other library facilities,
138
- conveyed under the terms of this License.
139
-
140
- b) Give prominent notice with the combined library that part of it
141
- is a work based on the Library, and explaining where to find the
142
- accompanying uncombined form of the same work.
143
-
144
- 6. Revised Versions of the GNU Lesser General Public License.
145
-
146
- The Free Software Foundation may publish revised and/or new versions
147
- of the GNU Lesser General Public License from time to time. Such new
148
- versions will be similar in spirit to the present version, but may
149
- differ in detail to address new problems or concerns.
150
-
151
- Each version is given a distinguishing version number. If the
152
- Library as you received it specifies that a certain numbered version
153
- of the GNU Lesser General Public License "or any later version"
154
- applies to it, you have the option of following the terms and
155
- conditions either of that published version or of any later version
156
- published by the Free Software Foundation. If the Library as you
157
- received it does not specify a version number of the GNU Lesser
158
- General Public License, you may choose any version of the GNU Lesser
159
- General Public License ever published by the Free Software Foundation.
160
-
161
- If the Library as you received it specifies that a proxy can decide
162
- whether future versions of the GNU Lesser General Public License shall
163
- apply, that proxy's public statement of acceptance of any version is
164
- permanent authorization for you to choose that version for the
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
165
  Library.
package/README.md CHANGED
@@ -1,59 +1,59 @@
1
- <p align="center">
2
- <img src="https://raw.githubusercontent.com/bruegmann/blue-react/master/public/blue-readme-cover.png" alt="React component library based on Bootstrap">
3
- </p>
4
-
5
- # Blue React
6
-
7
- [![npm version](https://img.shields.io/npm/v/blue-react)](https://www.npmjs.com/package/blue-react)
8
-
9
- [Checkout the docs](https://bruegmann.github.io/blue-react) to find out how to
10
- use Blue React.
11
-
12
- ## Breaking changes between v7 and v8
13
-
14
- - Removed deprecated components:
15
- - Actions (Alternative: ActionMenu)
16
- - ActionMenuItem (Alternative: MenuItem)
17
- - FluentBtn (Alternative: button, bzw. a)
18
- - HeaderActions
19
- - DropdownMenuItem (Alternative: MenuItem)
20
- - Stylesheets
21
- - Renamed all `.blue-app-*` to `.blue-*`
22
- - Renamed all `.blue-sidebar-*` to `.blue-menu-item-*`
23
- - Renamed `Grid` to `Layout`
24
- - `.blue-grid` ➡ `.blue-layout`
25
- - `Grid.tsx` ➡ `Layout.tsx`
26
- - Global `window.blueGridRef` ➡ `window.blueLayoutRef`
27
-
28
- ## Developing
29
-
30
- This project is built with [CRA](https://create-react-app.dev/). To start
31
- developing, just and install everything with `npm i` and run:
32
-
33
- ```
34
- npm start
35
- ```
36
-
37
- ## Create a new release
38
-
39
- This is how to manually create a release:\
40
- By running
41
-
42
- ```
43
- npm publish
44
- ```
45
-
46
- the missing files in `./dist` will be created, the docs will be generated and
47
- the NPM package will be released.
48
-
49
- To publish changes on the documentary, run:
50
-
51
- ```
52
- npm run deploy
53
- ```
54
-
55
- To run both of them:
56
-
57
- ```
58
- npm run release
59
- ```
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/bruegmann/blue-react/master/public/blue-readme-cover.png" alt="React component library based on Bootstrap">
3
+ </p>
4
+
5
+ # Blue React
6
+
7
+ [![npm version](https://img.shields.io/npm/v/blue-react)](https://www.npmjs.com/package/blue-react)
8
+
9
+ [Checkout the docs](https://bruegmann.github.io/blue-react) to find out how to
10
+ use Blue React.
11
+
12
+ ## Breaking changes between v7 and v8
13
+
14
+ - Removed deprecated components:
15
+ - Actions (Alternative: ActionMenu)
16
+ - ActionMenuItem (Alternative: MenuItem)
17
+ - FluentBtn (Alternative: button, bzw. a)
18
+ - HeaderActions
19
+ - DropdownMenuItem (Alternative: MenuItem)
20
+ - Stylesheets
21
+ - Renamed all `.blue-app-*` to `.blue-*`
22
+ - Renamed all `.blue-sidebar-*` to `.blue-menu-item-*`
23
+ - Renamed `Grid` to `Layout`
24
+ - `.blue-grid` ➡ `.blue-layout`
25
+ - `Grid.tsx` ➡ `Layout.tsx`
26
+ - Global `window.blueGridRef` ➡ `window.blueLayoutRef`
27
+
28
+ ## Developing
29
+
30
+ This project is built with [CRA](https://create-react-app.dev/). To start
31
+ developing, just and install everything with `npm i` and run:
32
+
33
+ ```
34
+ npm start
35
+ ```
36
+
37
+ ## Create a new release
38
+
39
+ This is how to manually create a release:\
40
+ By running
41
+
42
+ ```
43
+ npm publish
44
+ ```
45
+
46
+ the missing files in `./dist` will be created, the docs will be generated and
47
+ the NPM package will be released.
48
+
49
+ To publish changes on the documentary, run:
50
+
51
+ ```
52
+ npm run deploy
53
+ ```
54
+
55
+ To run both of them:
56
+
57
+ ```
58
+ npm run release
59
+ ```
@@ -31,8 +31,8 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
31
31
 
32
32
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
33
33
 
34
- /**
35
- * The Action Menu on the top right of a page. You can place Actions here which are in context of the current page.
34
+ /**
35
+ * The Action Menu on the top right of a page. You can place Actions here which are in context of the current page.
36
36
  */
37
37
  function ActionMenu(props) {
38
38
  var hideToggleAction = props.hideToggleAction,
@@ -13,8 +13,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
13
13
 
14
14
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
15
15
 
16
- /**
17
- * Switch for the Action Menu.
16
+ /**
17
+ * Switch for the Action Menu.
18
18
  */
19
19
  function ActionMenuSwitch(props) {
20
20
  return /*#__PURE__*/_react.default.createElement("li", {
@@ -15,8 +15,8 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
15
15
 
16
16
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
17
17
 
18
- /**
19
- * Contains the content of the page.
18
+ /**
19
+ * Contains the content of the page.
20
20
  */
21
21
  function Body(_ref) {
22
22
  var id = _ref.id,
@@ -17,8 +17,8 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
17
17
 
18
18
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
19
19
 
20
- /**
21
- * Extended variation of `Body` with rounded elements on top and bottom of the page.
20
+ /**
21
+ * Extended variation of `Body` with rounded elements on top and bottom of the page.
22
22
  */
23
23
  function BodyRounded(_ref) {
24
24
  var classNameTop = _ref.classNameTop,
@@ -9,8 +9,8 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- /**
13
- * Caret icon component.
12
+ /**
13
+ * Caret icon component.
14
14
  */
15
15
  function Caret(_ref) {
16
16
  var open = _ref.open,
@@ -17,8 +17,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
17
17
 
18
18
  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; }
19
19
 
20
- /**
21
- * Tries to display content in an iframe. When the content can't displayed in an iframe, it will show a download button instead.
20
+ /**
21
+ * Tries to display content in an iframe. When the content can't displayed in an iframe, it will show a download button instead.
22
22
  */
23
23
  function DocumentView(_ref) {
24
24
  var content = _ref.content,