@pingux/astro 1.2.0-alpha.11 → 1.2.0-alpha.12
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.
@@ -10,7 +10,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
10
10
|
value: true
|
11
11
|
});
|
12
12
|
|
13
|
-
exports.ControlledWithDebouncedInput = exports.
|
13
|
+
exports.ControlledWithDebouncedInput = exports.NoClearButton = exports.CustomIcon = exports.Controlled = exports.Default = exports["default"] = void 0;
|
14
14
|
|
15
15
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
|
16
16
|
|
@@ -137,20 +137,6 @@ var NoClearButton = function NoClearButton() {
|
|
137
137
|
|
138
138
|
exports.NoClearButton = NoClearButton;
|
139
139
|
|
140
|
-
var MaxLength = function MaxLength(args) {
|
141
|
-
return (0, _react2.jsx)(_index.SearchField, (0, _extends2["default"])({}, args, {
|
142
|
-
icon: _SearchIcon["default"],
|
143
|
-
"aria-label": "Search Groups",
|
144
|
-
onSubmit: function onSubmit(text) {
|
145
|
-
return alert(text);
|
146
|
-
} // eslint-disable-line no-alert
|
147
|
-
,
|
148
|
-
maxLength: 9
|
149
|
-
}));
|
150
|
-
};
|
151
|
-
|
152
|
-
exports.MaxLength = MaxLength;
|
153
|
-
|
154
140
|
var ControlledWithDebouncedInput = function ControlledWithDebouncedInput() {
|
155
141
|
var _useState3 = (0, _react.useState)(''),
|
156
142
|
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
@@ -101,17 +101,6 @@ export var NoClearButton = function NoClearButton() {
|
|
101
101
|
|
102
102
|
});
|
103
103
|
};
|
104
|
-
export var MaxLength = function MaxLength(args) {
|
105
|
-
return ___EmotionJSX(SearchField, _extends({}, args, {
|
106
|
-
icon: SearchIcon,
|
107
|
-
"aria-label": "Search Groups",
|
108
|
-
onSubmit: function onSubmit(text) {
|
109
|
-
return alert(text);
|
110
|
-
} // eslint-disable-line no-alert
|
111
|
-
,
|
112
|
-
maxLength: 9
|
113
|
-
}));
|
114
|
-
};
|
115
104
|
export var ControlledWithDebouncedInput = function ControlledWithDebouncedInput() {
|
116
105
|
var _useState3 = useState(''),
|
117
106
|
_useState4 = _slicedToArray(_useState3, 2),
|