@micromag/core 0.3.516 → 0.3.517
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/assets/css/styles.css +2 -2
- package/es/components.js +1 -7
- package/lib/components.js +1 -7
- package/package.json +2 -2
package/assets/css/styles.css
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
.micromag-core-menus-navbar-collapse{-ms-flex-preferred-size:initial;flex-basis:auto;-ms-flex-positive:initial;flex-grow:0}@media screen and (min-width:768px){.micromag-core-menus-navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1}}
|
|
9
9
|
|
|
10
10
|
.micromag-core-menus-tabs-container{display:inline-block;position:relative}
|
|
11
|
-
.micromag-core-modals-container{position:static}.micromag-core-modals-modals.micromag-core-modals-hasModals{background-color:rgba(28,28,28,.5);bottom:
|
|
11
|
+
.micromag-core-modals-container{position:static}.micromag-core-modals-modals.micromag-core-modals-hasModals{background-color:rgba(28,28,28,.5);bottom:10px;left:10px;position:fixed;right:10px;top:10px;z-index:1000}
|
|
12
12
|
.micromag-core-modals-modal-container{display:-ms-flexbox;display:flex;height:100%;left:0;overflow-y:auto;position:absolute;top:0;width:100%}.micromag-core-modals-modal-container.micromag-core-modals-modal-center>.micromag-core-modals-modal-inner{margin:auto}.micromag-core-modals-modal-container.micromag-core-modals-modal-top>.micromag-core-modals-modal-inner{margin:0 auto;padding:1.75rem 0}
|
|
13
|
-
.micromag-core-modals-dialog-container{border:1px solid #494949;border-radius:10px;display:block;
|
|
13
|
+
.micromag-core-modals-dialog-container{border:1px solid #494949;border-radius:10px;display:block;opacity:1;padding:0 5px}
|
|
14
14
|
|
|
15
15
|
.micromag-core-panels-container{position:static}
|
|
16
16
|
.micromag-core-panels-panel-container{position:static}
|
package/es/components.js
CHANGED
|
@@ -1885,7 +1885,6 @@ var propTypes$r = {
|
|
|
1885
1885
|
footer: PropTypes$1.node,
|
|
1886
1886
|
size: PropTypes$1.string,
|
|
1887
1887
|
buttons: PropTypes.buttons,
|
|
1888
|
-
// theme: PropTypes.oneOf([null, 'dark', 'light']),
|
|
1889
1888
|
onClickClose: PropTypes$1.func,
|
|
1890
1889
|
className: PropTypes$1.string,
|
|
1891
1890
|
bodyClassName: PropTypes$1.string
|
|
@@ -1897,7 +1896,6 @@ var defaultProps$r = {
|
|
|
1897
1896
|
footer: null,
|
|
1898
1897
|
size: null,
|
|
1899
1898
|
buttons: null,
|
|
1900
|
-
// theme: 'dark',
|
|
1901
1899
|
onClickClose: null,
|
|
1902
1900
|
className: null,
|
|
1903
1901
|
bodyClassName: null
|
|
@@ -1918,11 +1916,7 @@ var ModalDialog = function ModalDialog(_ref) {
|
|
|
1918
1916
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1919
1917
|
className: "modal-content"
|
|
1920
1918
|
}, header || /*#__PURE__*/React.createElement("div", {
|
|
1921
|
-
className: classNames(['modal-header', 'p-2', 'd-flex', 'justify-content-between', styles$l.header
|
|
1922
|
-
// 'bg-dark': theme === 'dark',
|
|
1923
|
-
// 'border-dark': theme === 'dark',
|
|
1924
|
-
// 'text-light': theme === 'dark',
|
|
1925
|
-
}])
|
|
1919
|
+
className: classNames(['modal-header', 'p-2', 'd-flex', 'justify-content-between', styles$l.header])
|
|
1926
1920
|
}, /*#__PURE__*/React.createElement("h5", {
|
|
1927
1921
|
className: "modal-title"
|
|
1928
1922
|
}, /*#__PURE__*/React.createElement(Label$1, null, title)), /*#__PURE__*/React.createElement("button", {
|
package/lib/components.js
CHANGED
|
@@ -2740,7 +2740,6 @@ var propTypes$r = {
|
|
|
2740
2740
|
footer: PropTypes.node,
|
|
2741
2741
|
size: PropTypes.string,
|
|
2742
2742
|
buttons: core.PropTypes.buttons,
|
|
2743
|
-
// theme: PropTypes.oneOf([null, 'dark', 'light']),
|
|
2744
2743
|
onClickClose: PropTypes.func,
|
|
2745
2744
|
className: PropTypes.string,
|
|
2746
2745
|
bodyClassName: PropTypes.string
|
|
@@ -2752,7 +2751,6 @@ var defaultProps$r = {
|
|
|
2752
2751
|
footer: null,
|
|
2753
2752
|
size: null,
|
|
2754
2753
|
buttons: null,
|
|
2755
|
-
// theme: 'dark',
|
|
2756
2754
|
onClickClose: null,
|
|
2757
2755
|
className: null,
|
|
2758
2756
|
bodyClassName: null
|
|
@@ -2773,11 +2771,7 @@ var ModalDialog = function ModalDialog(_ref) {
|
|
|
2773
2771
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2774
2772
|
className: "modal-content"
|
|
2775
2773
|
}, header || /*#__PURE__*/React.createElement("div", {
|
|
2776
|
-
className: classNames(['modal-header', 'p-2', 'd-flex', 'justify-content-between', styles$l.header
|
|
2777
|
-
// 'bg-dark': theme === 'dark',
|
|
2778
|
-
// 'border-dark': theme === 'dark',
|
|
2779
|
-
// 'text-light': theme === 'dark',
|
|
2780
|
-
}])
|
|
2774
|
+
className: classNames(['modal-header', 'p-2', 'd-flex', 'justify-content-between', styles$l.header])
|
|
2781
2775
|
}, /*#__PURE__*/React.createElement("h5", {
|
|
2782
2776
|
className: "modal-title"
|
|
2783
2777
|
}, /*#__PURE__*/React.createElement(Label$1, null, title)), /*#__PURE__*/React.createElement("button", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.517",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -145,5 +145,5 @@
|
|
|
145
145
|
"access": "public",
|
|
146
146
|
"registry": "https://registry.npmjs.org/"
|
|
147
147
|
},
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "31938e53d440266802a0c575af50a13b1e730ed8"
|
|
149
149
|
}
|