@pingux/astro 1.21.1 → 1.22.0-alpha.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/lib/cjs/components/ComboBoxField/ComboBoxField.js +6 -0
- package/lib/cjs/components/NumberField/NumberField.js +1 -0
- package/lib/cjs/components/NumberField/NumberField.stories.js +1 -0
- package/lib/cjs/styles/forms/input.js +3 -0
- package/lib/components/ComboBoxField/ComboBoxField.js +6 -0
- package/lib/components/NumberField/NumberField.js +1 -0
- package/lib/components/NumberField/NumberField.stories.js +1 -0
- package/lib/styles/forms/input.js +3 -0
- package/package.json +1 -1
- package/NOTICE.html +0 -4836
@@ -345,6 +345,12 @@ ComboBoxField.propTypes = {
|
|
345
345
|
/** Where the ComboBox menu opens relative to its trigger. */
|
346
346
|
direction: _propTypes["default"].oneOf(['top', 'right', 'bottom', 'left']),
|
347
347
|
|
348
|
+
/** Text rendered below the input. */
|
349
|
+
helperText: _propTypes["default"].node,
|
350
|
+
|
351
|
+
/** Determines the input status indicator and helper text styling. */
|
352
|
+
status: _propTypes["default"].oneOf(['default', 'success', 'warning', 'error']),
|
353
|
+
|
348
354
|
/** The initial selected key in the collection (uncontrolled). */
|
349
355
|
defaultSelectedKey: _propTypes["default"].string,
|
350
356
|
|
@@ -174,6 +174,7 @@ var NumberField = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
174
174
|
}
|
175
175
|
};
|
176
176
|
|
177
|
+
inputProps['aria-roledescription'] = null;
|
177
178
|
return (0, _react2.jsx)(_index.Box, fieldContainerProps, (0, _react2.jsx)(_index.Label, (0, _utils.mergeProps)(fieldLabelProps, labelProps)), (0, _react2.jsx)(_index.Box, (0, _extends2["default"])({
|
178
179
|
variant: "numberField.noDefaultArrows"
|
179
180
|
}, groupProps), (0, _react2.jsx)(_index.Box, {
|
@@ -299,6 +299,12 @@ ComboBoxField.propTypes = {
|
|
299
299
|
/** Where the ComboBox menu opens relative to its trigger. */
|
300
300
|
direction: PropTypes.oneOf(['top', 'right', 'bottom', 'left']),
|
301
301
|
|
302
|
+
/** Text rendered below the input. */
|
303
|
+
helperText: PropTypes.node,
|
304
|
+
|
305
|
+
/** Determines the input status indicator and helper text styling. */
|
306
|
+
status: PropTypes.oneOf(['default', 'success', 'warning', 'error']),
|
307
|
+
|
302
308
|
/** The initial selected key in the collection (uncontrolled). */
|
303
309
|
defaultSelectedKey: PropTypes.string,
|
304
310
|
|
@@ -133,6 +133,7 @@ var NumberField = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
133
133
|
}
|
134
134
|
};
|
135
135
|
|
136
|
+
inputProps['aria-roledescription'] = null;
|
136
137
|
return ___EmotionJSX(Box, fieldContainerProps, ___EmotionJSX(Label, mergeProps(fieldLabelProps, labelProps)), ___EmotionJSX(Box, _extends({
|
137
138
|
variant: "numberField.noDefaultArrows"
|
138
139
|
}, groupProps), ___EmotionJSX(Box, {
|