@instructure/ui-text-input 8.18.0 → 8.18.1-snapshot.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.
- package/LICENSE.md +27 -0
- package/es/TextInput/index.js +42 -32
- package/es/TextInput/theme.js +21 -21
- package/lib/TextInput/index.js +42 -32
- package/lib/TextInput/theme.js +21 -21
- package/package.json +17 -16
package/LICENSE.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: The MIT License (MIT)
|
|
3
|
+
category: Getting Started
|
|
4
|
+
order: 9
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# The MIT License (MIT)
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
+
|
|
11
|
+
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions.**
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
package/es/TextInput/index.js
CHANGED
|
@@ -113,15 +113,21 @@ let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
componentDidMount() {
|
|
116
|
-
|
|
116
|
+
var _this$props$makeStyle, _this$props;
|
|
117
|
+
|
|
118
|
+
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props, this.makeStyleProps());
|
|
117
119
|
}
|
|
118
120
|
|
|
119
121
|
componentDidUpdate() {
|
|
120
|
-
|
|
122
|
+
var _this$props$makeStyle2, _this$props2;
|
|
123
|
+
|
|
124
|
+
(_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2, this.makeStyleProps());
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
focus() {
|
|
124
|
-
|
|
128
|
+
var _this$_input;
|
|
129
|
+
|
|
130
|
+
(_this$_input = this._input) === null || _this$_input === void 0 ? void 0 : _this$_input.focus();
|
|
125
131
|
}
|
|
126
132
|
|
|
127
133
|
get interaction() {
|
|
@@ -145,7 +151,9 @@ let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
145
151
|
}
|
|
146
152
|
|
|
147
153
|
get value() {
|
|
148
|
-
|
|
154
|
+
var _this$_input2;
|
|
155
|
+
|
|
156
|
+
return (_this$_input2 = this._input) === null || _this$_input2 === void 0 ? void 0 : _this$_input2.value;
|
|
149
157
|
}
|
|
150
158
|
|
|
151
159
|
get id() {
|
|
@@ -153,17 +161,19 @@ let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
153
161
|
}
|
|
154
162
|
|
|
155
163
|
renderInput() {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
var _this$props$styles;
|
|
165
|
+
|
|
166
|
+
const _this$props3 = this.props,
|
|
167
|
+
type = _this$props3.type,
|
|
168
|
+
size = _this$props3.size,
|
|
169
|
+
htmlSize = _this$props3.htmlSize,
|
|
170
|
+
display = _this$props3.display,
|
|
171
|
+
textAlign = _this$props3.textAlign,
|
|
172
|
+
placeholder = _this$props3.placeholder,
|
|
173
|
+
value = _this$props3.value,
|
|
174
|
+
defaultValue = _this$props3.defaultValue,
|
|
175
|
+
isRequired = _this$props3.isRequired,
|
|
176
|
+
rest = _objectWithoutProperties(_this$props3, _excluded);
|
|
167
177
|
|
|
168
178
|
const props = passthroughProps(rest);
|
|
169
179
|
const interaction = this.interaction;
|
|
@@ -178,7 +188,7 @@ let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
178
188
|
}
|
|
179
189
|
|
|
180
190
|
return jsx("input", Object.assign({}, props, {
|
|
181
|
-
css: this.props.styles
|
|
191
|
+
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.textInput,
|
|
182
192
|
defaultValue: defaultValue,
|
|
183
193
|
value: value,
|
|
184
194
|
placeholder: placeholder,
|
|
@@ -198,15 +208,15 @@ let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
198
208
|
}
|
|
199
209
|
|
|
200
210
|
render() {
|
|
201
|
-
const _this$
|
|
202
|
-
width = _this$
|
|
203
|
-
display = _this$
|
|
204
|
-
renderLabel = _this$
|
|
205
|
-
renderBeforeInput = _this$
|
|
206
|
-
renderAfterInput = _this$
|
|
207
|
-
messages = _this$
|
|
208
|
-
inputContainerRef = _this$
|
|
209
|
-
styles = _this$
|
|
211
|
+
const _this$props4 = this.props,
|
|
212
|
+
width = _this$props4.width,
|
|
213
|
+
display = _this$props4.display,
|
|
214
|
+
renderLabel = _this$props4.renderLabel,
|
|
215
|
+
renderBeforeInput = _this$props4.renderBeforeInput,
|
|
216
|
+
renderAfterInput = _this$props4.renderAfterInput,
|
|
217
|
+
messages = _this$props4.messages,
|
|
218
|
+
inputContainerRef = _this$props4.inputContainerRef,
|
|
219
|
+
styles = _this$props4.styles;
|
|
210
220
|
const hasBeforeElement = renderBeforeInput && callRenderProp(renderBeforeInput);
|
|
211
221
|
const hasAfterElement = renderAfterInput && callRenderProp(renderAfterInput);
|
|
212
222
|
const renderBeforeOrAfter = hasBeforeElement || hasAfterElement;
|
|
@@ -221,19 +231,19 @@ let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
221
231
|
layout: this.props.layout,
|
|
222
232
|
elementRef: this.handleRef
|
|
223
233
|
}, jsx("span", {
|
|
224
|
-
css: styles
|
|
234
|
+
css: styles === null || styles === void 0 ? void 0 : styles.facade
|
|
225
235
|
}, renderBeforeOrAfter ? jsx("div", null, jsx("span", {
|
|
226
|
-
css: styles
|
|
236
|
+
css: styles === null || styles === void 0 ? void 0 : styles.layout
|
|
227
237
|
}, hasBeforeElement && jsx("span", {
|
|
228
|
-
css: styles
|
|
238
|
+
css: styles === null || styles === void 0 ? void 0 : styles.beforeElement
|
|
229
239
|
}, callRenderProp(renderBeforeInput)), jsx("span", {
|
|
230
|
-
css: styles
|
|
240
|
+
css: styles === null || styles === void 0 ? void 0 : styles.innerWrapper
|
|
231
241
|
}, jsx("span", {
|
|
232
|
-
css: styles
|
|
242
|
+
css: styles === null || styles === void 0 ? void 0 : styles.inputLayout
|
|
233
243
|
}, jsx("span", {
|
|
234
|
-
css: styles
|
|
244
|
+
css: styles === null || styles === void 0 ? void 0 : styles.innerWrapper
|
|
235
245
|
}, this.renderInput()), hasAfterElement && jsx("span", {
|
|
236
|
-
css: styles
|
|
246
|
+
css: styles === null || styles === void 0 ? void 0 : styles.afterElement
|
|
237
247
|
}, callRenderProp(renderAfterInput)))))) :
|
|
238
248
|
/* If no prepended or appended content, don't render Flex layout */
|
|
239
249
|
this.renderInput()));
|
package/es/TextInput/theme.js
CHANGED
|
@@ -41,27 +41,27 @@ const generateComponentTheme = theme => {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
const componentVariables = {
|
|
44
|
-
fontFamily: typography
|
|
45
|
-
fontWeight: typography
|
|
46
|
-
borderWidth: borders
|
|
47
|
-
borderStyle: borders
|
|
48
|
-
borderColor: colors
|
|
49
|
-
borderRadius: borders
|
|
50
|
-
color: colors
|
|
51
|
-
background: colors
|
|
52
|
-
padding: spacing
|
|
53
|
-
focusOutlineWidth: borders
|
|
54
|
-
focusOutlineStyle: borders
|
|
55
|
-
focusOutlineColor: colors
|
|
56
|
-
errorBorderColor: colors
|
|
57
|
-
errorOutlineColor: colors
|
|
58
|
-
placeholderColor: colors
|
|
59
|
-
smallFontSize: typography
|
|
60
|
-
smallHeight: forms
|
|
61
|
-
mediumFontSize: typography
|
|
62
|
-
mediumHeight: forms
|
|
63
|
-
largeFontSize: typography
|
|
64
|
-
largeHeight: forms
|
|
44
|
+
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
|
45
|
+
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
|
46
|
+
borderWidth: borders === null || borders === void 0 ? void 0 : borders.widthSmall,
|
|
47
|
+
borderStyle: borders === null || borders === void 0 ? void 0 : borders.style,
|
|
48
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
|
49
|
+
borderRadius: borders === null || borders === void 0 ? void 0 : borders.radiusMedium,
|
|
50
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
|
51
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
|
52
|
+
padding: spacing === null || spacing === void 0 ? void 0 : spacing.small,
|
|
53
|
+
focusOutlineWidth: borders === null || borders === void 0 ? void 0 : borders.widthMedium,
|
|
54
|
+
focusOutlineStyle: borders === null || borders === void 0 ? void 0 : borders.style,
|
|
55
|
+
focusOutlineColor: colors === null || colors === void 0 ? void 0 : colors.borderBrand,
|
|
56
|
+
errorBorderColor: colors === null || colors === void 0 ? void 0 : colors.borderDanger,
|
|
57
|
+
errorOutlineColor: colors === null || colors === void 0 ? void 0 : colors.borderDanger,
|
|
58
|
+
placeholderColor: colors === null || colors === void 0 ? void 0 : colors.textDark,
|
|
59
|
+
smallFontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeSmall,
|
|
60
|
+
smallHeight: forms === null || forms === void 0 ? void 0 : forms.inputHeightSmall,
|
|
61
|
+
mediumFontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
|
62
|
+
mediumHeight: forms === null || forms === void 0 ? void 0 : forms.inputHeightMedium,
|
|
63
|
+
largeFontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeLarge,
|
|
64
|
+
largeHeight: forms === null || forms === void 0 ? void 0 : forms.inputHeightLarge
|
|
65
65
|
};
|
|
66
66
|
return { ...componentVariables,
|
|
67
67
|
...themeSpecificStyle[themeName]
|
package/lib/TextInput/index.js
CHANGED
|
@@ -114,15 +114,21 @@ let TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
componentDidMount() {
|
|
117
|
-
|
|
117
|
+
var _this$props$makeStyle, _this$props;
|
|
118
|
+
|
|
119
|
+
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props, this.makeStyleProps());
|
|
118
120
|
}
|
|
119
121
|
|
|
120
122
|
componentDidUpdate() {
|
|
121
|
-
|
|
123
|
+
var _this$props$makeStyle2, _this$props2;
|
|
124
|
+
|
|
125
|
+
(_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2, this.makeStyleProps());
|
|
122
126
|
}
|
|
123
127
|
|
|
124
128
|
focus() {
|
|
125
|
-
|
|
129
|
+
var _this$_input;
|
|
130
|
+
|
|
131
|
+
(_this$_input = this._input) === null || _this$_input === void 0 ? void 0 : _this$_input.focus();
|
|
126
132
|
}
|
|
127
133
|
|
|
128
134
|
get interaction() {
|
|
@@ -146,7 +152,9 @@ let TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
|
|
|
146
152
|
}
|
|
147
153
|
|
|
148
154
|
get value() {
|
|
149
|
-
|
|
155
|
+
var _this$_input2;
|
|
156
|
+
|
|
157
|
+
return (_this$_input2 = this._input) === null || _this$_input2 === void 0 ? void 0 : _this$_input2.value;
|
|
150
158
|
}
|
|
151
159
|
|
|
152
160
|
get id() {
|
|
@@ -154,17 +162,19 @@ let TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
|
|
|
154
162
|
}
|
|
155
163
|
|
|
156
164
|
renderInput() {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
var _this$props$styles;
|
|
166
|
+
|
|
167
|
+
const _this$props3 = this.props,
|
|
168
|
+
type = _this$props3.type,
|
|
169
|
+
size = _this$props3.size,
|
|
170
|
+
htmlSize = _this$props3.htmlSize,
|
|
171
|
+
display = _this$props3.display,
|
|
172
|
+
textAlign = _this$props3.textAlign,
|
|
173
|
+
placeholder = _this$props3.placeholder,
|
|
174
|
+
value = _this$props3.value,
|
|
175
|
+
defaultValue = _this$props3.defaultValue,
|
|
176
|
+
isRequired = _this$props3.isRequired,
|
|
177
|
+
rest = (0, _objectWithoutProperties2.default)(_this$props3, _excluded);
|
|
168
178
|
const props = (0, _passthroughProps.passthroughProps)(rest);
|
|
169
179
|
const interaction = this.interaction;
|
|
170
180
|
let descriptionIds = '';
|
|
@@ -178,7 +188,7 @@ let TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
|
|
|
178
188
|
}
|
|
179
189
|
|
|
180
190
|
return (0, _emotion.jsx)("input", Object.assign({}, props, {
|
|
181
|
-
css: this.props.styles
|
|
191
|
+
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.textInput,
|
|
182
192
|
defaultValue: defaultValue,
|
|
183
193
|
value: value,
|
|
184
194
|
placeholder: placeholder,
|
|
@@ -198,15 +208,15 @@ let TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
|
|
|
198
208
|
}
|
|
199
209
|
|
|
200
210
|
render() {
|
|
201
|
-
const _this$
|
|
202
|
-
width = _this$
|
|
203
|
-
display = _this$
|
|
204
|
-
renderLabel = _this$
|
|
205
|
-
renderBeforeInput = _this$
|
|
206
|
-
renderAfterInput = _this$
|
|
207
|
-
messages = _this$
|
|
208
|
-
inputContainerRef = _this$
|
|
209
|
-
styles = _this$
|
|
211
|
+
const _this$props4 = this.props,
|
|
212
|
+
width = _this$props4.width,
|
|
213
|
+
display = _this$props4.display,
|
|
214
|
+
renderLabel = _this$props4.renderLabel,
|
|
215
|
+
renderBeforeInput = _this$props4.renderBeforeInput,
|
|
216
|
+
renderAfterInput = _this$props4.renderAfterInput,
|
|
217
|
+
messages = _this$props4.messages,
|
|
218
|
+
inputContainerRef = _this$props4.inputContainerRef,
|
|
219
|
+
styles = _this$props4.styles;
|
|
210
220
|
const hasBeforeElement = renderBeforeInput && (0, _callRenderProp.callRenderProp)(renderBeforeInput);
|
|
211
221
|
const hasAfterElement = renderAfterInput && (0, _callRenderProp.callRenderProp)(renderAfterInput);
|
|
212
222
|
const renderBeforeOrAfter = hasBeforeElement || hasAfterElement;
|
|
@@ -221,19 +231,19 @@ let TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
|
|
|
221
231
|
layout: this.props.layout,
|
|
222
232
|
elementRef: this.handleRef
|
|
223
233
|
}, (0, _emotion.jsx)("span", {
|
|
224
|
-
css: styles
|
|
234
|
+
css: styles === null || styles === void 0 ? void 0 : styles.facade
|
|
225
235
|
}, renderBeforeOrAfter ? (0, _emotion.jsx)("div", null, (0, _emotion.jsx)("span", {
|
|
226
|
-
css: styles
|
|
236
|
+
css: styles === null || styles === void 0 ? void 0 : styles.layout
|
|
227
237
|
}, hasBeforeElement && (0, _emotion.jsx)("span", {
|
|
228
|
-
css: styles
|
|
238
|
+
css: styles === null || styles === void 0 ? void 0 : styles.beforeElement
|
|
229
239
|
}, (0, _callRenderProp.callRenderProp)(renderBeforeInput)), (0, _emotion.jsx)("span", {
|
|
230
|
-
css: styles
|
|
240
|
+
css: styles === null || styles === void 0 ? void 0 : styles.innerWrapper
|
|
231
241
|
}, (0, _emotion.jsx)("span", {
|
|
232
|
-
css: styles
|
|
242
|
+
css: styles === null || styles === void 0 ? void 0 : styles.inputLayout
|
|
233
243
|
}, (0, _emotion.jsx)("span", {
|
|
234
|
-
css: styles
|
|
244
|
+
css: styles === null || styles === void 0 ? void 0 : styles.innerWrapper
|
|
235
245
|
}, this.renderInput()), hasAfterElement && (0, _emotion.jsx)("span", {
|
|
236
|
-
css: styles
|
|
246
|
+
css: styles === null || styles === void 0 ? void 0 : styles.afterElement
|
|
237
247
|
}, (0, _callRenderProp.callRenderProp)(renderAfterInput)))))) :
|
|
238
248
|
/* If no prepended or appended content, don't render Flex layout */
|
|
239
249
|
this.renderInput()));
|
package/lib/TextInput/theme.js
CHANGED
|
@@ -48,27 +48,27 @@ const generateComponentTheme = theme => {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
const componentVariables = {
|
|
51
|
-
fontFamily: typography
|
|
52
|
-
fontWeight: typography
|
|
53
|
-
borderWidth: borders
|
|
54
|
-
borderStyle: borders
|
|
55
|
-
borderColor: colors
|
|
56
|
-
borderRadius: borders
|
|
57
|
-
color: colors
|
|
58
|
-
background: colors
|
|
59
|
-
padding: spacing
|
|
60
|
-
focusOutlineWidth: borders
|
|
61
|
-
focusOutlineStyle: borders
|
|
62
|
-
focusOutlineColor: colors
|
|
63
|
-
errorBorderColor: colors
|
|
64
|
-
errorOutlineColor: colors
|
|
65
|
-
placeholderColor: colors
|
|
66
|
-
smallFontSize: typography
|
|
67
|
-
smallHeight: forms
|
|
68
|
-
mediumFontSize: typography
|
|
69
|
-
mediumHeight: forms
|
|
70
|
-
largeFontSize: typography
|
|
71
|
-
largeHeight: forms
|
|
51
|
+
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
|
52
|
+
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
|
53
|
+
borderWidth: borders === null || borders === void 0 ? void 0 : borders.widthSmall,
|
|
54
|
+
borderStyle: borders === null || borders === void 0 ? void 0 : borders.style,
|
|
55
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
|
56
|
+
borderRadius: borders === null || borders === void 0 ? void 0 : borders.radiusMedium,
|
|
57
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
|
58
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
|
59
|
+
padding: spacing === null || spacing === void 0 ? void 0 : spacing.small,
|
|
60
|
+
focusOutlineWidth: borders === null || borders === void 0 ? void 0 : borders.widthMedium,
|
|
61
|
+
focusOutlineStyle: borders === null || borders === void 0 ? void 0 : borders.style,
|
|
62
|
+
focusOutlineColor: colors === null || colors === void 0 ? void 0 : colors.borderBrand,
|
|
63
|
+
errorBorderColor: colors === null || colors === void 0 ? void 0 : colors.borderDanger,
|
|
64
|
+
errorOutlineColor: colors === null || colors === void 0 ? void 0 : colors.borderDanger,
|
|
65
|
+
placeholderColor: colors === null || colors === void 0 ? void 0 : colors.textDark,
|
|
66
|
+
smallFontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeSmall,
|
|
67
|
+
smallHeight: forms === null || forms === void 0 ? void 0 : forms.inputHeightSmall,
|
|
68
|
+
mediumFontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
|
69
|
+
mediumHeight: forms === null || forms === void 0 ? void 0 : forms.inputHeightMedium,
|
|
70
|
+
largeFontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeLarge,
|
|
71
|
+
largeHeight: forms === null || forms === void 0 ? void 0 : forms.inputHeightLarge
|
|
72
72
|
};
|
|
73
73
|
return { ...componentVariables,
|
|
74
74
|
...themeSpecificStyle[themeName]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-text-input",
|
|
3
|
-
"version": "8.18.0",
|
|
3
|
+
"version": "8.18.1-snapshot.0+435c9ae79",
|
|
4
4
|
"description": "A styled HTML text input component.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,23 +23,23 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.18.0",
|
|
27
|
-
"@instructure/ui-badge": "8.18.0",
|
|
28
|
-
"@instructure/ui-color-utils": "8.18.0",
|
|
29
|
-
"@instructure/ui-test-utils": "8.18.0",
|
|
30
|
-
"@instructure/ui-themes": "8.18.0"
|
|
26
|
+
"@instructure/ui-babel-preset": "8.18.1-snapshot.0+435c9ae79",
|
|
27
|
+
"@instructure/ui-badge": "8.18.1-snapshot.0+435c9ae79",
|
|
28
|
+
"@instructure/ui-color-utils": "8.18.1-snapshot.0+435c9ae79",
|
|
29
|
+
"@instructure/ui-test-utils": "8.18.1-snapshot.0+435c9ae79",
|
|
30
|
+
"@instructure/ui-themes": "8.18.1-snapshot.0+435c9ae79"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.13.10",
|
|
34
|
-
"@instructure/emotion": "8.18.0",
|
|
35
|
-
"@instructure/shared-types": "8.18.0",
|
|
36
|
-
"@instructure/ui-dom-utils": "8.18.0",
|
|
37
|
-
"@instructure/ui-form-field": "8.18.0",
|
|
38
|
-
"@instructure/ui-icons": "8.18.0",
|
|
39
|
-
"@instructure/ui-prop-types": "8.18.0",
|
|
40
|
-
"@instructure/ui-react-utils": "8.18.0",
|
|
41
|
-
"@instructure/ui-tag": "8.18.0",
|
|
42
|
-
"@instructure/ui-testable": "8.18.0",
|
|
34
|
+
"@instructure/emotion": "8.18.1-snapshot.0+435c9ae79",
|
|
35
|
+
"@instructure/shared-types": "8.18.1-snapshot.0+435c9ae79",
|
|
36
|
+
"@instructure/ui-dom-utils": "8.18.1-snapshot.0+435c9ae79",
|
|
37
|
+
"@instructure/ui-form-field": "8.18.1-snapshot.0+435c9ae79",
|
|
38
|
+
"@instructure/ui-icons": "8.18.1-snapshot.0+435c9ae79",
|
|
39
|
+
"@instructure/ui-prop-types": "8.18.1-snapshot.0+435c9ae79",
|
|
40
|
+
"@instructure/ui-react-utils": "8.18.1-snapshot.0+435c9ae79",
|
|
41
|
+
"@instructure/ui-tag": "8.18.1-snapshot.0+435c9ae79",
|
|
42
|
+
"@instructure/ui-testable": "8.18.1-snapshot.0+435c9ae79",
|
|
43
43
|
"prop-types": "^15"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -48,5 +48,6 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"sideEffects": false
|
|
51
|
+
"sideEffects": false,
|
|
52
|
+
"gitHead": "435c9ae794c15e2bd103f700f8c4e946d91c1b59"
|
|
52
53
|
}
|