oolib 2.227.4 → 2.227.6

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.
@@ -149,6 +149,7 @@ function SimpleTable(_a) {
149
149
  RichTextEditor: RichTextEditor,
150
150
  DropdownSingle: DropdownSingle_1.DropdownSingle,
151
151
  NumberInput: TextInputs_1.NumberInput,
152
+ TextInput: TextInputs_1.TextInput,
152
153
  };
153
154
  var CellContentBlockDefaultProps = {
154
155
  RichTextEditor: {
@@ -169,7 +170,12 @@ function SimpleTable(_a) {
169
170
  selectStyleOverride: {
170
171
  backgroundColor: themes_1.colors.none,
171
172
  },
172
- }
173
+ },
174
+ TextInput: {
175
+ selectStyleOverride: {
176
+ backgroundColor: themes_1.colors.none,
177
+ },
178
+ },
173
179
  };
174
180
  var CellValueGetters = {
175
181
  RichTextEditor: function (v) { return (convertToRichText ? convertToRichText(v) : v); },
@@ -204,7 +210,9 @@ function SimpleTable(_a) {
204
210
  ;
205
211
  var cellCompName = cell.comp || 'RichTextEditor';
206
212
  var NoCompPlaceholder = function () { return react_1.default.createElement("div", null, "No comp exists"); };
213
+ console.log({ cellCompName: cellCompName, CellContentBlocks: CellContentBlocks });
207
214
  var CellComp = CellContentBlocks[cellCompName] || NoCompPlaceholder;
215
+ console.log({ CellComp: CellComp });
208
216
  var cellProps = CellContentBlockDefaultProps[cellCompName] ? __assign(__assign({}, CellContentBlockDefaultProps[cellCompName]), (cell.props || {})) : {};
209
217
  var cellValue = CellValueGetters[cellCompName] ? CellValueGetters[cellCompName](cell.value) : cell.value;
210
218
  var cellWidth = value.colWidthConfig["col_".concat(cellIdx)] || defaultColWidth + 'px'; //cuz when pre-fixed column is applied via config.rowHeaderData, no colWidthConfig will be there for it in value.colWidthConfig
@@ -158,6 +158,7 @@ export namespace icons {
158
158
  export { Note };
159
159
  export { Clipboard };
160
160
  export { Robot };
161
+ export { Textbox };
161
162
  export { OkeGoogleIcon };
162
163
  export { LetterH };
163
164
  export { IndexIcon };
@@ -386,6 +387,7 @@ import { FunctionIcon as Function } from "@phosphor-icons/react";
386
387
  import { NoteIcon as Note } from "@phosphor-icons/react";
387
388
  import { ClipboardIcon as Clipboard } from "@phosphor-icons/react";
388
389
  import { RobotIcon as Robot } from "@phosphor-icons/react";
390
+ import { TextboxIcon as Textbox } from "@phosphor-icons/react";
389
391
  import { OkeGoogleIcon } from "./custom";
390
392
  import { LetterH } from "./custom";
391
393
  import { IndexIcon } from "./custom";
@@ -163,6 +163,7 @@ exports.icons = {
163
163
  Note: react_1.NoteIcon,
164
164
  Clipboard: react_1.ClipboardIcon,
165
165
  Robot: react_1.RobotIcon,
166
+ Textbox: react_1.TextboxIcon,
166
167
  //custom icons
167
168
  OkeGoogleIcon: custom_1.OkeGoogleIcon,
168
169
  LetterH: custom_1.LetterH,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.227.4",
3
+ "version": "2.227.6",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",