oolib 2.167.1 → 2.168.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.
@@ -67,6 +67,7 @@ var convertColHeaderConfigToRowData_1 = require("./utils/convertColHeaderConfigT
67
67
  var convertRowHeaderConfigToCellData_1 = require("./utils/convertRowHeaderConfigToCellData");
68
68
  var prepInitValueFromConfigIfNoValue_1 = require("./utils/prepInitValueFromConfigIfNoValue");
69
69
  var DropdownSingle_1 = require("../Dropdowns/DropdownSingle");
70
+ var TextInputs_1 = require("../TextInputs");
70
71
  var greyColor100 = themes_1.colors.greyColor100;
71
72
  /**
72
73
  * PENDINGS
@@ -128,7 +129,8 @@ function SimpleTable(_a) {
128
129
  }, [colResizeState]);
129
130
  var CellContentBlocks = {
130
131
  RichTextEditor: RichTextEditor,
131
- DropdownSingle: DropdownSingle_1.DropdownSingle
132
+ DropdownSingle: DropdownSingle_1.DropdownSingle,
133
+ NumberInput: TextInputs_1.NumberInput,
132
134
  };
133
135
  var CellContentBlockDefaultProps = {
134
136
  RichTextEditor: {
@@ -144,6 +146,11 @@ function SimpleTable(_a) {
144
146
  backgroundColor: themes_1.colors.none,
145
147
  },
146
148
  popOutOfOverflowHiddenParent: true,
149
+ },
150
+ NumberInput: {
151
+ selectStyleOverride: {
152
+ backgroundColor: themes_1.colors.none,
153
+ },
147
154
  }
148
155
  };
149
156
  var CellValueGetters = {
@@ -99,6 +99,7 @@ var SimpleTable = function (args) {
99
99
  ],
100
100
  disableAddRow: args.disableAddRow,
101
101
  disableRowActionsMenu: args.disableRowActionsMenu,
102
+ // blockConfig: [undefined, { comp: 'NumberInput', props: {} }, { comp: 'NumberInput', props: {} }]
102
103
  },
103
104
  defaultColWidth: args.defaultColWidth,
104
105
  value: val,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.167.1",
3
+ "version": "2.168.0",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",