@dhis2-ui/input 8.13.12 → 8.13.14
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
|
@@ -25,8 +25,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
25
25
|
|
|
26
26
|
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; }
|
|
27
27
|
|
|
28
|
-
const styles = [".input.jsx-
|
|
29
|
-
styles.__hash = "
|
|
28
|
+
const styles = [".input.jsx-31445346{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;gap:".concat(_uiConstants.spacers.dp8, ";}"), "input.jsx-31445346{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:".concat(_uiConstants.colors.grey900, ";background-color:white;padding:11px 12px;max-height:40px;outline:0;border:1px solid ").concat(_uiConstants.colors.grey500, ";border-radius:3px;box-shadow:inset 0 0 1px 0 rgba(48,54,60,0.1);text-overflow:ellipsis;}"), "input.dense.jsx-31445346{max-height:32px;padding:7px 8px;}", "input.jsx-31445346:focus{outline:none;box-shadow:inset 0 0 0 2px ".concat(_uiConstants.theme.focus, ";border-color:").concat(_uiConstants.theme.focus, ";}"), "input.jsx-31445346::-webkit-input-placeholder{color:".concat(_uiConstants.colors.grey600, ";opacity:1;}"), "input.jsx-31445346::-moz-placeholder{color:".concat(_uiConstants.colors.grey600, ";opacity:1;}"), "input.jsx-31445346:-ms-input-placeholder{color:".concat(_uiConstants.colors.grey600, ";opacity:1;}"), "input.jsx-31445346::placeholder{color:".concat(_uiConstants.colors.grey600, ";opacity:1;}"), "input[type='date'].jsx-31445346::-webkit-inner-spin-button,input[type='date'].jsx-31445346::-webkit-calendar-picker-indicator,input[type='time'].jsx-31445346::-webkit-inner-spin-button,input[type='time'].jsx-31445346::-webkit-calendar-picker-indicator,input[type='datetime-local'].jsx-31445346::-webkit-inner-spin-button,input[type='datetime-local'].jsx-31445346::-webkit-calendar-picker-indicator{height:14px;padding-top:1px;padding-bottom:1px;}", "input[type='date'].jsx-31445346::-webkit-datetime-edit-fields-wrapper,input[type='datetime-local'].jsx-31445346::-webkit-datetime-edit-fields-wrapper,input[type='time'].jsx-31445346::-webkit-datetime-edit-fields-wrapper{padding:0;}", "input.warning.jsx-31445346{border-color:".concat(_uiConstants.theme.warning, ";}"), "input.error.jsx-31445346{border-color:".concat(_uiConstants.theme.error, ";}"), "input.read-only.jsx-31445346{background-color:".concat(_uiConstants.colors.grey050, ";border-color:").concat(_uiConstants.colors.grey300, ";box-shadow:none;cursor:text;}"), "input.disabled.jsx-31445346{background-color:".concat(_uiConstants.colors.grey100, ";border-color:").concat(_uiConstants.colors.grey500, ";color:").concat(_uiConstants.theme.disabled, ";cursor:not-allowed;}")];
|
|
29
|
+
styles.__hash = "31445346";
|
|
30
30
|
|
|
31
31
|
class Input extends _react.Component {
|
|
32
32
|
constructor() {
|
package/build/es/input/input.js
CHANGED
|
@@ -7,8 +7,8 @@ import { theme, colors, spacers, sharedPropTypes } from '@dhis2/ui-constants';
|
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import React, { Component } from 'react';
|
|
10
|
-
const styles = [".input.jsx-
|
|
11
|
-
styles.__hash = "
|
|
10
|
+
const styles = [".input.jsx-31445346{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;gap:".concat(spacers.dp8, ";}"), "input.jsx-31445346{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:".concat(colors.grey900, ";background-color:white;padding:11px 12px;max-height:40px;outline:0;border:1px solid ").concat(colors.grey500, ";border-radius:3px;box-shadow:inset 0 0 1px 0 rgba(48,54,60,0.1);text-overflow:ellipsis;}"), "input.dense.jsx-31445346{max-height:32px;padding:7px 8px;}", "input.jsx-31445346:focus{outline:none;box-shadow:inset 0 0 0 2px ".concat(theme.focus, ";border-color:").concat(theme.focus, ";}"), "input.jsx-31445346::-webkit-input-placeholder{color:".concat(colors.grey600, ";opacity:1;}"), "input.jsx-31445346::-moz-placeholder{color:".concat(colors.grey600, ";opacity:1;}"), "input.jsx-31445346:-ms-input-placeholder{color:".concat(colors.grey600, ";opacity:1;}"), "input.jsx-31445346::placeholder{color:".concat(colors.grey600, ";opacity:1;}"), "input[type='date'].jsx-31445346::-webkit-inner-spin-button,input[type='date'].jsx-31445346::-webkit-calendar-picker-indicator,input[type='time'].jsx-31445346::-webkit-inner-spin-button,input[type='time'].jsx-31445346::-webkit-calendar-picker-indicator,input[type='datetime-local'].jsx-31445346::-webkit-inner-spin-button,input[type='datetime-local'].jsx-31445346::-webkit-calendar-picker-indicator{height:14px;padding-top:1px;padding-bottom:1px;}", "input[type='date'].jsx-31445346::-webkit-datetime-edit-fields-wrapper,input[type='datetime-local'].jsx-31445346::-webkit-datetime-edit-fields-wrapper,input[type='time'].jsx-31445346::-webkit-datetime-edit-fields-wrapper{padding:0;}", "input.warning.jsx-31445346{border-color:".concat(theme.warning, ";}"), "input.error.jsx-31445346{border-color:".concat(theme.error, ";}"), "input.read-only.jsx-31445346{background-color:".concat(colors.grey050, ";border-color:").concat(colors.grey300, ";box-shadow:none;cursor:text;}"), "input.disabled.jsx-31445346{background-color:".concat(colors.grey100, ";border-color:").concat(colors.grey500, ";color:").concat(theme.disabled, ";cursor:not-allowed;}")];
|
|
11
|
+
styles.__hash = "31445346";
|
|
12
12
|
export class Input extends Component {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/input",
|
|
3
|
-
"version": "8.13.
|
|
3
|
+
"version": "8.13.14",
|
|
4
4
|
"description": "UI Input",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@dhis2/prop-types": "^3.1.2",
|
|
35
|
-
"@dhis2-ui/box": "8.13.
|
|
36
|
-
"@dhis2-ui/field": "8.13.
|
|
37
|
-
"@dhis2-ui/input": "8.13.
|
|
38
|
-
"@dhis2-ui/loader": "8.13.
|
|
39
|
-
"@dhis2-ui/status-icon": "8.13.
|
|
40
|
-
"@dhis2/ui-constants": "8.13.
|
|
41
|
-
"@dhis2/ui-icons": "8.13.
|
|
35
|
+
"@dhis2-ui/box": "8.13.14",
|
|
36
|
+
"@dhis2-ui/field": "8.13.14",
|
|
37
|
+
"@dhis2-ui/input": "8.13.14",
|
|
38
|
+
"@dhis2-ui/loader": "8.13.14",
|
|
39
|
+
"@dhis2-ui/status-icon": "8.13.14",
|
|
40
|
+
"@dhis2/ui-constants": "8.13.14",
|
|
41
|
+
"@dhis2/ui-icons": "8.13.14",
|
|
42
42
|
"classnames": "^2.3.1",
|
|
43
43
|
"prop-types": "^15.7.2"
|
|
44
44
|
},
|