@foundationui/smart-input
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -68,5 +68,2 @@ "use strict"; | ||
} | ||
else { | ||
console.log('fetcher wanted to add suggestion, but its invalid with the current text'); | ||
} | ||
}; | ||
@@ -101,3 +98,2 @@ var initialValue = [ | ||
default: | ||
console.log('default element', p); | ||
return react_1.default.createElement(slate_react_1.DefaultElement, __assign({}, p)); | ||
@@ -104,0 +100,0 @@ } |
@@ -26,5 +26,3 @@ "use strict"; | ||
if (_this.mockSuggestion) { | ||
console.log('what the literal fuck'); | ||
var suggestion_1 = _this.mockSuggestion(text); | ||
console.log('here ye', { suggestion: suggestion_1 }); | ||
if (suggestion_1) { | ||
@@ -72,3 +70,2 @@ setTimeout(function () { | ||
}, 200); | ||
console.log({ modelId: modelId, mockSuggestion: mockSuggestion }); | ||
} | ||
@@ -75,0 +72,0 @@ return SmartInputFetcher; |
@@ -42,5 +42,2 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
else { | ||
console.log('fetcher wanted to add suggestion, but its invalid with the current text'); | ||
} | ||
}; | ||
@@ -75,3 +72,2 @@ var initialValue = [ | ||
default: | ||
console.log('default element', p); | ||
return React.createElement(DefaultElement, __assign({}, p)); | ||
@@ -78,0 +74,0 @@ } |
@@ -23,5 +23,3 @@ var SmartInputFetcher = (function () { | ||
if (_this.mockSuggestion) { | ||
console.log('what the literal fuck'); | ||
var suggestion_1 = _this.mockSuggestion(text); | ||
console.log('here ye', { suggestion: suggestion_1 }); | ||
if (suggestion_1) { | ||
@@ -69,3 +67,2 @@ setTimeout(function () { | ||
}, 200); | ||
console.log({ modelId: modelId, mockSuggestion: mockSuggestion }); | ||
} | ||
@@ -72,0 +69,0 @@ return SmartInputFetcher; |
{ | ||
"name": "@foundationui/smart-input", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Smart input/textarea component for React. Learns to provide inline, tab-completeable suggestions.", | ||
@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
58032
756