@micromag/element-button 0.3.508 → 0.3.512
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 +1 -1
- package/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +4 -4
package/assets/css/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.micromag-element-button-container{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background-clip:padding-box;background-color:hsla(0,0%,100%,.1);border:0;border-radius:0;color:inherit;cursor:pointer;display:inline-block;font-family:inherit;padding:0;padding:5px 10px;position:relative}.micromag-element-button-container
|
|
1
|
+
.micromag-element-button-container{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background-clip:padding-box;background-color:hsla(0,0%,100%,.1);border:0;border-radius:0;color:inherit;cursor:pointer;display:inline-block;font-family:inherit;padding:0;padding:5px 10px;position:relative}.micromag-element-button-container:focus-visible{-webkit-box-shadow:0 0 2px 0 #fff!important;box-shadow:0 0 2px 0 #fff!important;-webkit-box-shadow:0 0 2px 0 var(--micromag-focus-color,#fff)!important;box-shadow:0 0 2px 0 var(--micromag-focus-color,#fff)!important;outline:2px solid #000!important}.micromag-element-button-container.micromag-element-button-disabled,.micromag-element-button-container:disabled{cursor:auto}.micromag-element-button-border{display:block}
|
package/es/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { PropTypes } from '@micromag/core';
|
|
|
8
8
|
import { Button as Button$2 } from '@micromag/core/components';
|
|
9
9
|
import { getStyleFromText, getStyleFromBox } from '@micromag/core/utils';
|
|
10
10
|
|
|
11
|
-
var styles = {"container":"micromag-element-button-container","
|
|
11
|
+
var styles = {"container":"micromag-element-button-container","disabled":"micromag-element-button-disabled","border":"micromag-element-button-border"};
|
|
12
12
|
|
|
13
13
|
var _excluded = ["textStyle", "buttonStyle", "type", "disabled", "focusable", "inline", "onClick", "children", "className", "withoutExternalBorder", "refButton"],
|
|
14
14
|
_excluded2 = ["body"];
|
package/lib/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var core = require('@micromag/core');
|
|
|
10
10
|
var components = require('@micromag/core/components');
|
|
11
11
|
var utils = require('@micromag/core/utils');
|
|
12
12
|
|
|
13
|
-
var styles = {"container":"micromag-element-button-container","
|
|
13
|
+
var styles = {"container":"micromag-element-button-container","disabled":"micromag-element-button-disabled","border":"micromag-element-button-border"};
|
|
14
14
|
|
|
15
15
|
var _excluded = ["textStyle", "buttonStyle", "type", "disabled", "focusable", "inline", "onClick", "children", "className", "withoutExternalBorder", "refButton"],
|
|
16
16
|
_excluded2 = ["body"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-button",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.512",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@babel/runtime": "^7.13.10",
|
|
63
|
-
"@micromag/core": "^0.3.
|
|
63
|
+
"@micromag/core": "^0.3.512",
|
|
64
64
|
"classnames": "^2.2.6",
|
|
65
65
|
"prop-types": "^15.7.2",
|
|
66
|
-
"react-intl": "^6.6.
|
|
66
|
+
"react-intl": "^6.6.4",
|
|
67
67
|
"uuid": "^9.0.0"
|
|
68
68
|
},
|
|
69
69
|
"publishConfig": {
|
|
70
70
|
"access": "public",
|
|
71
71
|
"registry": "https://registry.npmjs.org/"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "23de9c46447bade478129227281870191d4fcc94"
|
|
74
74
|
}
|