@dhis2-ui/text-area 9.3.0-alpha.1 → 9.3.0
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = exports.WithValue = exports.TextareaTextOverflow = exports.StatusWarning = exports.StatusValid = exports.StatusLoading = exports.StatusError = exports.Rows = exports.Resize = exports.ReadOnly = exports.
|
|
6
|
+
exports.default = exports.WithValue = exports.TextareaTextOverflow = exports.StatusWarning = exports.StatusValid = exports.StatusLoading = exports.StatusError = exports.Rows = exports.Resize = exports.ReadOnly = exports.PlaceholderNoValue = exports.Focus = exports.Disabled = exports.Dense = exports.Default = exports.Autogrow = void 0;
|
|
7
7
|
|
|
8
8
|
var _uiConstants = require("@dhis2/ui-constants");
|
|
9
9
|
|
|
@@ -205,15 +205,4 @@ const Autogrow = args => /*#__PURE__*/_react.default.createElement(_react.defaul
|
|
|
205
205
|
value: ['This TextArea has a height of two rows', 'it also has autoGrow set to true so it will grow with the content.', 'See: rows is still 2...', 'And now I have 4 lines and still no scroll bar in sight.'].join('\n')
|
|
206
206
|
})));
|
|
207
207
|
|
|
208
|
-
exports.Autogrow = Autogrow;
|
|
209
|
-
|
|
210
|
-
const RTL = args => /*#__PURE__*/_react.default.createElement("div", {
|
|
211
|
-
dir: "rtl"
|
|
212
|
-
}, /*#__PURE__*/_react.default.createElement(Template, args));
|
|
213
|
-
|
|
214
|
-
exports.RTL = RTL;
|
|
215
|
-
RTL.args = {
|
|
216
|
-
valid: true,
|
|
217
|
-
value: 'This RTL text is valid'
|
|
218
|
-
};
|
|
219
|
-
RTL.storyName = 'RTL: Valid';
|
|
208
|
+
exports.Autogrow = Autogrow;
|
|
@@ -171,12 +171,4 @@ export const Autogrow = args => /*#__PURE__*/React.createElement(React.Fragment,
|
|
|
171
171
|
name: "textarea4",
|
|
172
172
|
label: "Autogrow step 4",
|
|
173
173
|
value: ['This TextArea has a height of two rows', 'it also has autoGrow set to true so it will grow with the content.', 'See: rows is still 2...', 'And now I have 4 lines and still no scroll bar in sight.'].join('\n')
|
|
174
|
-
})));
|
|
175
|
-
export const RTL = args => /*#__PURE__*/React.createElement("div", {
|
|
176
|
-
dir: "rtl"
|
|
177
|
-
}, /*#__PURE__*/React.createElement(Template, args));
|
|
178
|
-
RTL.args = {
|
|
179
|
-
valid: true,
|
|
180
|
-
value: 'This RTL text is valid'
|
|
181
|
-
};
|
|
182
|
-
RTL.storyName = 'RTL: Valid';
|
|
174
|
+
})));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/text-area",
|
|
3
|
-
"version": "9.3.0
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"description": "UI TextArea",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@dhis2/prop-types": "^3.1.2",
|
|
36
|
-
"@dhis2-ui/box": "9.3.0
|
|
37
|
-
"@dhis2-ui/field": "9.3.0
|
|
38
|
-
"@dhis2-ui/loader": "9.3.0
|
|
39
|
-
"@dhis2-ui/status-icon": "9.3.0
|
|
40
|
-
"@dhis2/ui-constants": "9.3.0
|
|
41
|
-
"@dhis2/ui-icons": "9.3.0
|
|
36
|
+
"@dhis2-ui/box": "9.3.0",
|
|
37
|
+
"@dhis2-ui/field": "9.3.0",
|
|
38
|
+
"@dhis2-ui/loader": "9.3.0",
|
|
39
|
+
"@dhis2-ui/status-icon": "9.3.0",
|
|
40
|
+
"@dhis2/ui-constants": "9.3.0",
|
|
41
|
+
"@dhis2/ui-icons": "9.3.0",
|
|
42
42
|
"classnames": "^2.3.1",
|
|
43
43
|
"prop-types": "^15.7.2"
|
|
44
44
|
},
|