@dhis2-ui/input 7.11.3 → 7.12.2
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/build/cjs/input/input.js
CHANGED
|
@@ -74,8 +74,8 @@ StatusIcon.propTypes = {
|
|
|
74
74
|
valid: _propTypes.default.bool,
|
|
75
75
|
warning: _propTypes.default.bool
|
|
76
76
|
};
|
|
77
|
-
const styles = [".input.jsx-
|
|
78
|
-
styles.__hash = "
|
|
77
|
+
const styles = [".input.jsx-288547973{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", `input.jsx-288547973{box-sizing:border-box;font-size:14px;line-height:16px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:${_uiConstants.colors.grey900};background-color:white;padding:12px 11px 10px;outline:0;border:1px solid ${_uiConstants.colors.grey500};border-radius:3px;box-shadow:inset 0 1px 2px 0 rgba(48,54,60,0.1);text-overflow:ellipsis;}`, "input.dense.jsx-288547973{padding:8px 11px 6px;}", `input.jsx-288547973:focus{outline:none;box-shadow:inset 0 0 0 2px ${_uiConstants.theme.focus};border-color:${_uiConstants.theme.focus};}`, "input[type='date'].jsx-288547973::-webkit-inner-spin-button,input[type='date'].jsx-288547973::-webkit-calendar-picker-indicator,input[type='time'].jsx-288547973::-webkit-inner-spin-button,input[type='time'].jsx-288547973::-webkit-calendar-picker-indicator,input[type='datetime-local'].jsx-288547973::-webkit-inner-spin-button,input[type='datetime-local'].jsx-288547973::-webkit-calendar-picker-indicator{height:14px;padding-top:1px;padding-bottom:1px;}", "input[type='date'].jsx-288547973::-webkit-datetime-edit-fields-wrapper,input[type='datetime-local'].jsx-288547973::-webkit-datetime-edit-fields-wrapper,input[type='time'].jsx-288547973::-webkit-datetime-edit-fields-wrapper{padding:0;}", `input.warning.jsx-288547973{border-color:${_uiConstants.theme.warning};}`, `input.error.jsx-288547973{border-color:${_uiConstants.theme.error};}`, `input.read-only.jsx-288547973{background-color:${_uiConstants.colors.grey050};border-color:${_uiConstants.colors.grey300};box-shadow:none;cursor:text;}`, `input.disabled.jsx-288547973{background-color:${_uiConstants.colors.grey100};border-color:${_uiConstants.colors.grey500};color:${_uiConstants.theme.disabled};cursor:not-allowed;}`, `.status-icon.jsx-288547973{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-left:${_uiConstants.spacers.dp8};}`];
|
|
78
|
+
styles.__hash = "288547973";
|
|
79
79
|
|
|
80
80
|
class Input extends _react.Component {
|
|
81
81
|
constructor(...args) {
|
package/build/es/input/input.js
CHANGED
|
@@ -56,8 +56,8 @@ StatusIcon.propTypes = {
|
|
|
56
56
|
valid: PropTypes.bool,
|
|
57
57
|
warning: PropTypes.bool
|
|
58
58
|
};
|
|
59
|
-
const styles = [".input.jsx-
|
|
60
|
-
styles.__hash = "
|
|
59
|
+
const styles = [".input.jsx-288547973{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", `input.jsx-288547973{box-sizing:border-box;font-size:14px;line-height:16px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:${colors.grey900};background-color:white;padding:12px 11px 10px;outline:0;border:1px solid ${colors.grey500};border-radius:3px;box-shadow:inset 0 1px 2px 0 rgba(48,54,60,0.1);text-overflow:ellipsis;}`, "input.dense.jsx-288547973{padding:8px 11px 6px;}", `input.jsx-288547973:focus{outline:none;box-shadow:inset 0 0 0 2px ${theme.focus};border-color:${theme.focus};}`, "input[type='date'].jsx-288547973::-webkit-inner-spin-button,input[type='date'].jsx-288547973::-webkit-calendar-picker-indicator,input[type='time'].jsx-288547973::-webkit-inner-spin-button,input[type='time'].jsx-288547973::-webkit-calendar-picker-indicator,input[type='datetime-local'].jsx-288547973::-webkit-inner-spin-button,input[type='datetime-local'].jsx-288547973::-webkit-calendar-picker-indicator{height:14px;padding-top:1px;padding-bottom:1px;}", "input[type='date'].jsx-288547973::-webkit-datetime-edit-fields-wrapper,input[type='datetime-local'].jsx-288547973::-webkit-datetime-edit-fields-wrapper,input[type='time'].jsx-288547973::-webkit-datetime-edit-fields-wrapper{padding:0;}", `input.warning.jsx-288547973{border-color:${theme.warning};}`, `input.error.jsx-288547973{border-color:${theme.error};}`, `input.read-only.jsx-288547973{background-color:${colors.grey050};border-color:${colors.grey300};box-shadow:none;cursor:text;}`, `input.disabled.jsx-288547973{background-color:${colors.grey100};border-color:${colors.grey500};color:${theme.disabled};cursor:not-allowed;}`, `.status-icon.jsx-288547973{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-left:${spacers.dp8};}`];
|
|
60
|
+
styles.__hash = "288547973";
|
|
61
61
|
export class Input extends Component {
|
|
62
62
|
constructor(...args) {
|
|
63
63
|
super(...args);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/input",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.12.2",
|
|
4
4
|
"description": "UI Input",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@dhis2/prop-types": "^3.0.0-beta.1",
|
|
35
|
-
"@dhis2-ui/box": "7.
|
|
36
|
-
"@dhis2-ui/field": "7.
|
|
37
|
-
"@dhis2-ui/input": "7.
|
|
38
|
-
"@dhis2-ui/loader": "7.
|
|
39
|
-
"@dhis2/ui-constants": "7.
|
|
40
|
-
"@dhis2/ui-icons": "7.
|
|
35
|
+
"@dhis2-ui/box": "7.12.2",
|
|
36
|
+
"@dhis2-ui/field": "7.12.2",
|
|
37
|
+
"@dhis2-ui/input": "7.12.2",
|
|
38
|
+
"@dhis2-ui/loader": "7.12.2",
|
|
39
|
+
"@dhis2/ui-constants": "7.12.2",
|
|
40
|
+
"@dhis2/ui-icons": "7.12.2",
|
|
41
41
|
"classnames": "^2.3.1",
|
|
42
42
|
"prop-types": "^15.7.2"
|
|
43
43
|
},
|